PageSourceSearch

https://cvapp.de/assets/chunk/491.bdc384601427087e.js

js cvapp.de collected 2026-09-30 19:57:51 UTC 3,892,094 bytes, 8,400 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"v1.2790.0"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="07b6081a-8243-49b1-8e01-077835a5c53f",e._sentryDebugIdIdentifier="sentry-dbid-07b6081a-8243-49b1-8e01-077835a5c53f")}catch(e){}}(),(self.webpackChunkresume_io_frontend=self.webpackChunkresume_io_frontend||[]).push([["491"],{83165:function(e,t,i){var r={"./bokeh1.jpg":"5367","./bokeh2.jpg":"79379","./pattern1.png":"95203","./pattern10.png":"14379","./pattern11.png":"23874","./pattern12.png":"6809","./pattern2.png":"9928","./pattern3.png":"7793","./pattern4.png":"66782","./pattern5.png":"85095","./pattern6.png":"65036","./pattern7.png":"34133","./pattern8.png":"4978","./pattern9.png":"2843","./photo1.jpg":"11449","./photo2.jpg":"12782","./photo3.jpg":"8619","./photo4.jpg":"5016","./photo5.jpg":"49845","./photo6.jpg":"25706"};function n(e){return i(o(e))}function o(e){if(!i.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}n.keys=function(){return Object.keys(r)},n.resolve=o,e.exports=n,n.id=83165},35841:function(e,t,i){var r={"./monster_board.png":"88572","./recruit_robin.png":"59032","./resume_library.png":"69858","./vacaturebank.png":"64080","./werkzeken.png":"2087","./zip_recruiter.png":"56516"};function n(e){return i(o(e))}function o(e){if(!i.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}n.keys=function(){return Object.keys(r)},n.resolve=o,e.exports=n,n.id=35841},44760:function(e,t,i){var r={"./section-activities-gray.svg":"29041","./section-activities.svg":"47187","./section-affiliations-gray.svg":"92791","./section-affiliations.svg":"22749","./section-awards-gray.svg":"74786","./section-awards.svg":"35914","./section-conferences-gray.svg":"31031","./section-conferences.svg":"76349","./section-courses-gray.svg":"81318","./section-courses.svg":"92886","./section-custom-advanced.svg":"61920","./section-custom-gray.svg":"64035","./section-custom-simple.svg":"57560","./section-custom.svg":"5745","./section-hobbies-gray.svg":"13228","./section-hobbies.svg":"69992","./section-internships-gray.svg":"30895","./section-internships.svg":"99749","./section-languages-gray.svg":"9491","./section-languages.svg":"15233","./section-licensesAndCertifications-gray.svg":"7370","./section-licensesAndCertifications.svg":"32994","./section-metadata-gray.svg":"49517","./section-metadata.svg":"51687","./section-powerStatement-gray.svg":"35662","./section-powerStatement.svg":"78446","./section-publications-gray.svg":"95459","./section-publications.svg":"32721","./section-references-gray.svg":"11310","./section-references.svg":"41006","./section-volunteerings-gray.svg":"63783","./section-volunteerings.svg":"23149"};function n(e){return i(o(e))}function o(e){if(!i.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}n.keys=function(){return Object.keys(r)},n.resolve=o,e.exports=n,n.id=44760},19327:function(e,t,i){var r={"./ChangeCareers":"5976","./ChangeCareers.tsx":"5976","./CoverLetterCrafting":"7482","./CoverLetterCrafting.tsx":"7482","./First90DaysPlan":"20280","./First90DaysPlan.tsx":"20280","./GetPromotion":"32030","./GetPromotion.tsx":"32030","./InterviewStrategy":"42047","./InterviewStrategy.tsx":"42047","./InterviewsPassed":"10046","./InterviewsPassed.tsx":"10046","./InterviewsPracticed":"1224","./InterviewsPracticed.tsx":"1224","./JobSearchStrategy":"79791","./JobSearchStrategy.tsx":"79791","./JobsApplied":"93994","./JobsApplied.tsx":"93994","./LoadingIcon":"70810","./LoadingIcon.tsx":"70810","./QuestionsPracticed":"6509","./QuestionsPracticed.tsx":"6509","./ResumeCrafting":"96262","./ResumeCrafting.tsx":"96262","./ResumeDistribution":"41050","./ResumeDistribution.tsx":"41050","./ResumeTailoring":"92025","./ResumeTailoring.tsx":"92025","./Upskill":"50507","./Upskill.tsx":"50507"};function n(e){return i(o(e))}function o(e){if(!i.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}n.keys=function(){return Object.keys(r)},n.resolve=o,e.exports=n,n.id=19327},95117:function(e,t,i){"use strict";e.exports=i.p+"media/Alert470c90b0cdb22437.svg"},65144:function(e,t,i){"use strict";e.exports=i.p+"media/Logo06afdf0d137183d2.gif"},16003:function(e,t,i){"use strict";e.exports=i.p+"media/Mobile_Logob4523f888724acfb.gif"},81759:function(e,t,i){"use strict";e.exports=i.p+"media/Status_Offerc3699ab4efd07d05.png"},65297:function(e,t,i){"use strict";e.exports=i.p+"media/banner_broken5389d479c5e00821.gif"},34225:function(e,t,i){"use strict";e.exports=i.p+"media/career_foundation_loadere457208fabad3eba.gif"},51014:function(e,t,i){"use strict";e.exports=i.p+"media/empty_resume5cd7d3d78792b9ef.svg"},21509:function(e,t,i){"use strict";e.exports=i.p+"media/discount-visual51deb02f78fd364e.svg"},88011:function(e,t,i){"use strict";e.exports=i.p+"media/header-icondb60f15d1758aa80.svg"},88709:function(e,t,i){"use strict";e.exports=i.p+"media/spinner7faa09954bcb1c7c.svg"},15533:function(e,t,i){"use strict";e.exports=i.p+"media/updated_successfully1e6c4e173b01e6f0.svg"},68895:function(e,t,i){"use strict";e.exports=i.p+"media/processing-animationb9f4432fdd3218cb.gif"},5367:function(e,t,i){"use strict";e.exports=i.p+"media/bokeh1fe809ea80646465e.jpg"},79379:function(e,t,i){"use strict";e.exports=i.p+"media/bokeh238def4d4e7cb9a31.jpg"},95203:function(e,t,i){"use strict";e.exports=i.p+"media/pattern1cff502af31f7ae26.png"},14379:function(e,t,i){"use strict";e.exports=i.p+"media/pattern10e857a25877d854ca.png"},23874:function(e,t,i){"use strict";e.exports=i.p+"media/pattern1191cf33f8844858c1.png"},6809:function(e,t,i){"use strict";e.exports=i.p+"media/pattern121828f9e89422910c.png"},9928:function(e,t,i){"use strict";e.exports=i.p+"media/pattern2b379edfde1afd784.png"},7793:function(e,t,i){"use strict";e.exports=i.p+"media/pattern3142f7caff9d54ca5.png"},66782:function(e,t,i){"use strict";e.exports=i.p+"media/pattern46a570003783902c7.png"},85095:function(e,t,i){"use strict";e.exports=i.p+"media/pattern5b487d77292234d5a.png"},65036:function(e,t,i){"use strict";e.exports=i.p+"media/pattern67c98f197080e6e99.png"},34133:function(e,t,i){"use strict";e.exports=i.p+"media/pattern71ad505a0fa0b5240.png"},4978:function(e,t,i){"use strict";e.exports=i.p+"media/pattern89b50940ad24bcec6.png"},2843:function(e,t,i){"use strict";e.exports=i.p+"media/pattern9ca4bb2e421e5056e.png"},11449:function(e,t,i){"use strict";e.exports=i.p+"media/photo14c6a34be80168f2f.jpg"},12782:function(e,t,i){"use strict";e.exports=i.p+"media/photo2ac5cd0c2ff93fbfa.jpg"},8619:function(e,t,i){"use strict";e.exports=i.p+"media/photo39fcba6d0d5fd8809.jpg"},5016:function(e,t,i){"use strict";e.exports=i.p+"media/photo419778ff2e67f44f2.jpg"},49845:function(e,t,i){"use strict";
1e.exports=i.p+"media/photo53fd314f3fe2bd15f.jpg"},25706:function(e,t,i){"use strict";e.exports=i.p+"media/photo6e2ff9ab9a69bf1aa.jpg"},39640:function(e,t,i){"use strict";e.exports=i.p+"media/dropzone-border264a51056ac42a0f.svg"},89789:function(e,t,i){"use strict";e.exports=i.p+"media/dropzone-icon9dff3a9b832c1846.svg"},24085:function(e,t,i){"use strict";e.exports=i.p+"media/rotate-left5c7c09f584f0c674.svg"},4899:function(e,t,i){"use strict";e.exports=i.p+"media/rotate-slider-bgc120d88ce5d84a3c.svg"},80579:function(e,t,i){"use strict";e.exports=i.p+"media/spinnerc4731925b831e3fa.svg"},25535:function(e,t,i){"use strict";e.exports=i.p+"media/uploadebbd44f30c876ecd.svg"},7888:function(e,t,i){"use strict";e.exports=i.p+"media/vertical-zoom-slider-bg1e0e7431b14c60c5.svg"},99924:function(e,t,i){"use strict";e.exports=i.p+"media/preview-visual079e719c972398f2.svg"},88572:function(e,t,i){"use strict";e.exports=i.p+"media/monster_board23a1e86d266ca7cc.png"},59032:function(e,t,i){"use strict";e.exports=i.p+"media/recruit_robin396e9ab2dc16b04c.png"},69858:function(e,t,i){"use strict";e.exports=i.p+"media/resume_library8dc4872df6c7e290.png"},64080:function(e,t,i){"use strict";e.exports=i.p+"media/vacaturebank0582ee1c27e8d0dd.png"},2087:function(e,t,i){"use strict";e.exports=i.p+"media/werkzekene140e3fcc757fe1d.png"},56516:function(e,t,i){"use strict";e.exports=i.p+"media/zip_recruiter0c632a3e800b9dc7.png"},66835:function(e,t,i){"use strict";e.exports=i.p+"media/no-letters29927e300345c3ab.png"},39684:function(e,t,i){"use strict";e.exports=i.p+"media/no-resumesc0f85a61ea76f0ed.png"},85393:function(e,t,i){"use strict";e.exports=i.p+"media/spinner-dark411a7ee217dfaea1.svg"},32211:function(e,t,i){"use strict";e.exports=i.p+"media/upload-illustratione94b9b640dbe28ae.png"},55402:function(e,t,i){"use strict";e.exports=i.p+"media/placeholder8b24822f73008abe.svg"},89831:function(e,t,i){"use strict";e.exports=i.p+"media/recruit_robined522acb4972a3d3.png"},21255:function(e,t,i){"use strict";e.exports=i.p+"media/resumerabbit61b753e25af34185.png"},15114:function(e,t,i){"use strict";e.exports=i.p+"media/topcv3040669bd33fc9fe.png"},51136:function(e,t,i){"use strict";e.exports=i.p+"media/topresume8070bdb6d4d35f0f.png"},33749:function(e,t,i){"use strict";e.exports=i.p+"media/empty_card09c4582702ef83b5.svg"},39282:function(e,t,i){"use strict";e.exports=i.p+"media/photo-1981a24070e82d115.jpg"},93437:function(e,t,i){"use strict";e.exports=i.p+"media/photo-25eaac4a9c11d280f.jpg"},61379:function(e,t,i){"use strict";e.exports=i.p+"media/logo9afd901a77c0167e.svg"},71578:function(e,t,i){"use strict";e.exports=i.p+"media/subphraseaa567252821bd704.svg"},52097:function(e,t,i){"use strict";e.exports=i.p+"media/offline-sync4f67634d8dd11b94.svg"},25167:function(e,t,i){"use strict";e.exports=i.p+"media/poweredByTopResumee2ed361d3ee75971.svg"},34209:function(e,t,i){"use strict";e.exports=i.p+"media/resume-loaderbb45d2576bc856e3.svg"},29041:function(e,t,i){"use strict";e.exports=i.p+"media/section-activities-grayfbd304c2a5e1d1cb.svg"},47187:function(e,t,i){"use strict";e.exports=i.p+"media/section-activitiesed89cb592e0a8342.svg"},92791:function(e,t,i){"use strict";e.exports=i.p+"media/section-affiliations-gray8f22cbd4fe564abc.svg"},22749:function(e,t,i){"use strict";e.exports=i.p+"media/section-affiliations810d20eb1ef391b0.svg"},74786:function(e,t,i){"use strict";e.exports=i.p+"media/section-awards-gray91e1710e6cb79b20.svg"},35914:function(e,t,i){"use strict";e.exports=i.p+"media/section-awards1cb37447c94c6ca2.svg"},31031:function(e,t,i){"use strict";e.exports=i.p+"media/section-conferences-grayacb4ae28b2aee858.svg"},76349:function(e,t,i){"use strict";e.exports=i.p+"media/section-conferences8109728c0269c649.svg"},81318:function(e,t,i){"use strict";e.exports=i.p+"media/section-courses-grayfb8ed5487ed51dc9.svg"},92886:function(e,t,i){"use strict";e.exports=i.p+"media/section-coursesac8c0b578c7d9f4b.svg"},61920:function(e,t,i){"use strict";e.exports=i.p+"media/section-custom-advanced8195a61cef3aa259.svg"},64035:function(e,t,i){"use strict";e.exports=i.p+"media/section-custom-gray72702466b0978ccc.svg"},57560:function(e,t,i){"use strict";e.exports=i.p+"media/section-custom-simple8195a61cef3aa259.svg"},5745:function(e,t,i){"use strict";e.exports=i.p+"media/section-custom8195a61cef3aa259.svg"},13228:function(e,t,i){"use strict";e.exports=i.p+"media/section-hobbies-grayba1aef65361b85e5.svg"},69992:function(e,t,i){"use strict";e.exports=i.p+"media/section-hobbies5241665afa0a979e.svg"},30895:function(e,t,i){"use strict";e.exports=i.p+"media/section-internships-gray0f70a5bb87cbfc93.svg"},99749:function(e,t,i){"use strict";e.exports=i.p+"media/section-internshipsfc3fe3d6b7b46d62.svg"},9491:function(e,t,i){"use strict";e.exports=i.p+"media/section-languages-grayff181d634ac5d412.svg"},15233:function(e,t,i){"use strict";e.exports=i.p+"media/section-languagesc7210131a69b401f.svg"},7370:function(e,t,i){"use strict";e.exports=i.p+"media/section-licensesAndCertifications-grayfb8ed5487ed51dc9.svg"},32994:function(e,t,i){"use strict";e.exports=i.p+"media/section-licensesAndCertificationsac8c0b578c7d9f4b.svg"},49517:function(e,t,i){"use strict";e.exports=i.p+"media/section-metadata-gray78774b4ebea6ea73.svg"},51687:function(e,t,i){"use strict";e.exports=i.p+"media/section-metadatadfd994decea2a126.svg"},35662:function(e,t,i){"use strict";e.exports=i.p+"media/section-powerStatement-grayb77ee618e751ce01.svg"},78446:function(e,t,i){"use strict";e.exports=i.p+"media/section-powerStatemente3a82544a6be731a.svg"},95459:function(e,t,i){"use strict";e.exports=i.p+"media/section-publications-graye3a82544a6be731a.svg"},32721:function(e,t,i){"use strict";e.exports=i.p+"media/section-publicationse3a82544a6be731a.svg"},11310:function(e,t,i){"use strict";e.exports=i.p+"media/section-references-grayacb4ae28b2aee858.svg"},41006:function(e,t,i){"use strict";e.exports=i.p+"media/section-referencesc7a6d189c6eaf1be.svg"},63783:function(e,t,i){"use strict";e.exports=i.p+"media/section-volunteerings-gray131749b6864ab723.svg"},23149:function(e,t,i){"use strict";e.exports=i.p+"media/section-volunteeringsbca2b501472d7594.svg"},16737:function(e,t,i){"use strict";e.exports=i.p+"media/rating_tiles1e235d5d3eb00be3.png"},37190:function(e,t,i){"use strict";e.exports=i.p+"media/blurred-history7f2ed603ee0cf5b5.png"},44913:function(e,t,i){"use strict";e.exports=i.p+"media/empty2a19981b059b3814.svg"},47952:function(e,t,i){"use strict";e.exports=i.p+"media/locked9a5d729deba242a0.svg"},91878:function(e,t,i){"use strict";e.exports=i.p+"media/flagsb1d654ecf33c1112.png"},63441:function(e,t,i){"use strict";e.exports=i.p+"media/unknownf0685269e71c6055.png"},95309:function(e,t,i){"use strict";e.exports=i.p+"media/crowndd62f08a8cc5a8bc.svg"},80622:function(e,t,i){"use strict";e.exports=i.p+"media/sign-up-1e866b72577358f06.png"},99397:function(e,t,i){"use strict";e.exports=i.p+"media/sign-up-27e4471f4ef435ec1.png"},65532:function(e,t,i){"use strict";e.exports=i.p+"media/sign-up-3e21ab6e77b628aa7.png"},89827:function(e,t,i){"use strict";e.exports=i.p+"media/tick4c081dbe75ac746a.svg"},83400:function(e,t,i){"use strict";e.exports=i.p+"media/faces_spritec606aac91e2912a1.png"},77967:function(e,t,i){"use strict";e.exports=i.p+"media/logoc7b2297c854d9461.svg"},56102:function(e,t,i){"use strict";e.exports=i.p+"media/cio-logo5b7f6c7ab6e7c7e8.svg"},28200:function(e,t,i){"use strict";e.exports=i.p+"media/erroraa1bb3600c0d2a3a.svg"},21083:function(e,t,i){"use strict";e.exports=i.p+"media/cover-letter-modal-bg2d3a2d8d6dac5149.svg"},86525:function(e,t,i){"use strict";e.exports=i.p+"media/resumee70cfbc3349ce84e.jpg"},29947:function(e,t,i){"use strict";e.exports=i.p+"media/cio_promo_modalfe8ecb66d4d6f2b4.gif"},40669:function(e,t,i){"use strict";e.exports=i.p+"media/AceInterview1559dd1785e144fb.svg"},12531:function(e,t,i){"use strict";e.exports=i.p+"media/AddIcon185555ae7b705302.svg"},82412:function(e,t,i){"use strict";e.exports=i.p+"media/AmazonIcon50d0755c9a078875.svg"},93278:function(e,t,i){"use strict";e.exports=i.p+"media/AppleIconcee42a4f2702957b.svg"},57920:function(e,t,i){"use strict";e.exports=i.p+"media/Cards746fe15302c921df.svg"},46294:function(e,t,i){"use strict";e.exports=i.p+"media/Coach-1e1ab7c28a1a3c46d.png"},36973:function(e,t,i){"use strict";e.exports=i.p+"media/Coach-2e60162505d1dfd47.png"},10820:function(e,t,i){"use strict";e.exports=i.p+"media/Coach-3b4ac4b4a7b822d2d.png"},16340:function(e,t,i){"use strict";e.exports=i.p+"media/CoachGroupf40b5ca30964f1a7.svg"},40270:function(e,t,i){"use strict";e.exports=i.p+"media/CoachImage45291d290c1e5587.svg"},54103:function(e,t,i){"use strict";e.exports=i.p+"media/Critiquedf587245c7236975.svg"},41164:function(e,t,i){"use strict";e.exports=i.p+"media/Crown048ee5f066ff5047.svg"},80486:function(e,t,i){"use strict";e.exports=i.p+"media/ExpertHelp4a3b262542ef0e9d.svg"},69865:function(e,t,i){"use strict";e.exports=i.p+"media/ExploreCareers6a9831da244b05ff.svg"},64825:function(e,t,i){"use strict";e.exports=i.p+"media/ExploreCareersNew2a454a87c9d98c91.svg"},93788:function(e,t,i){"use strict";e.exports=i.p+"media/ExploreCareersNewModal3b96fa380c189838.svg"},74712:function(e,t,i){"use strict";e.exports=i.p+"media/ExploreCreersc44db4a32c97eff0.svg"},1533:function(e,t,i){"use strict";e.exports=i.p+"media/First90Daysd40c7b539c94142c.svg"},63499:function(e,t,i){"use strict";e.exports=i.p+"media/GetResumeCritiqueModal49ac91ed0eef4dc5.svg"},62125:function(e,t,i){"use strict";
1e.exports=i.p+"media/GetaPromotioncbde07f082a5f6d2.svg"},51149:function(e,t,i){"use strict";e.exports=i.p+"media/GoogleIcon55ae7aa420159dc9.svg"},47577:function(e,t,i){"use strict";e.exports=i.p+"media/JobInterview119454ece73aaf63.svg"},44740:function(e,t,i){"use strict";e.exports=i.p+"media/JobSearch3e1e09168d81cedf.svg"},96939:function(e,t,i){"use strict";e.exports=i.p+"media/JobSearchImage359e1aa9204d64f0.svg"},53121:function(e,t,i){"use strict";e.exports=i.p+"media/KnowYourWorthd69c133fe64cb895.svg"},36026:function(e,t,i){"use strict";e.exports=i.p+"media/Plan0e68dac56658b111.svg"},49269:function(e,t,i){"use strict";e.exports=i.p+"media/Playb47b7913639bf3f5.svg"},41794:function(e,t,i){"use strict";e.exports=i.p+"media/PlayIconc977984ab065c823.svg"},69688:function(e,t,i){"use strict";e.exports=i.p+"media/ProfessionalHeadshotbce45a4eca9c31a8.svg"},50075:function(e,t,i){"use strict";e.exports=i.p+"media/ProfessionalHeadshotModal78a5d2ae4dff8abe.svg"},47962:function(e,t,i){"use strict";e.exports=i.p+"media/Promotione56d3ff43bdf2450.svg"},10338:function(e,t,i){"use strict";e.exports=i.p+"media/Resumec0d358c692ee1a0a.svg"},85004:function(e,t,i){"use strict";e.exports=i.p+"media/ResumeDistribution236bc6147f37dcb9.svg"},12227:function(e,t,i){"use strict";e.exports=i.p+"media/SearchAdvice1b36a9ebe93a19b7.svg"},8287:function(e,t,i){"use strict";e.exports=i.p+"media/Star551bf6ed1c5e142d.svg"},5607:function(e,t,i){"use strict";e.exports=i.p+"media/Star_16867080be2ccec4c.svg"},9896:function(e,t,i){"use strict";e.exports=i.p+"media/TrackJobsccfe1c180b2049a8.svg"},72962:function(e,t,i){"use strict";e.exports=i.p+"media/TrackJobsBanner5c60d2d89a80dda9.svg"},11097:function(e,t,i){"use strict";e.exports=i.p+"media/TrackYourJobse4875b5af0b1d228.svg"},9652:function(e,t,i){"use strict";e.exports=i.p+"media/amazone-logo3f019415cb797bd9.svg"},64343:function(e,t,i){"use strict";e.exports=i.p+"media/apple-logo6b173ac0df61dda5.svg"},98574:function(e,t,i){"use strict";e.exports=i.p+"media/expertContent7af1de9f2e066d45.svg"},11572:function(e,t,i){"use strict";e.exports=i.p+"media/expertContentHover8208fd13b8d174b1.svg"},9984:function(e,t,i){"use strict";e.exports=i.p+"media/explore_careersff5e44bdd9b50ae5.svg"},42860:function(e,t,i){"use strict";e.exports=i.p+"media/getAssessment21249678ac7cab4c.png"},27342:function(e,t,i){"use strict";e.exports=i.p+"media/google-logo4c03b37fda24588c.svg"},83285:function(e,t,i){"use strict";e.exports=i.p+"media/know_your_worth670e85f431e54266.svg"},27242:function(e,t,i){"use strict";e.exports=i.p+"media/track_job_image77389fc1f3ef1d0c.svg"},64715:function(e,t,i){"use strict";e.exports=i.p+"media/welcome_modal_play_background0a677d00ffaba420.svg"},53965:function(e,t,i){"use strict";e.exports=i.p+"media/image_1c4334622a3afc09e.png"},22198:function(e,t,i){"use strict";e.exports=i.p+"media/image_2b79a9da755daffde.png"},75999:function(e,t,i){"use strict";e.exports=i.p+"media/image_35785fb9f70e538a2.png"},89869:function(e,t,i){"use strict";e.exports=i.p+"media/career_path_job_title9ee4d9b1df083602.svg"},88196:function(e,t,i){"use strict";e.exports=i.p+"media/explore_careers_job_title4271d7b6cce5014b.svg"},35600:function(e,t,i){"use strict";e.exports=i.p+"media/skills-columns-1b5a21af79ee2f12b.png"},23243:function(e,t,i){"use strict";e.exports=i.p+"media/skills-columns-2a7a2e7e2077a37fb.png"},85762:function(e,t,i){"use strict";e.exports=i.p+"media/skills-columns-3d1e017832768fe99.png"},90013:function(e,t,i){"use strict";e.exports=i.p+"media/skills-columns-465197faa497ddc05.png"},38621:function(e,t,i){"use strict";e.exports=i.p+"media/CompanyLogo422562735447b6ec.svg"},85227:function(e,t,i){"use strict";e.exports=i.p+"media/enabled11b6339227caf9ea.svg"},82159:function(e,t,i){"use strict";e.exports=i.p+"media/amazon4499effdaf390b45.png"},52563:function(e,t,i){"use strict";e.exports=i.p+"media/applece92e191bcc3ea14.png"},83758:function(e,t,i){"use strict";e.exports=i.p+"media/google4875035f193c5cc3.png"},61623:function(e,t,i){"use strict";e.exports=i.p+"media/microsoft96d2a84a560bfa8f.png"},57358:function(e,t,i){"use strict";e.exports=i.p+"media/no_location80ef1fedc2381e70.png"},33467:function(e,t,i){"use strict";e.exports=i.p+"media/StarWhite12db01d4f66f1759.svg"},21700:function(e,t,i){"use strict";e.exports=i.p+"media/circleCheckfd08cc6c3035a18a.svg"},10022:function(e,t,i){"use strict";e.exports=i.p+"media/circleClock9190bfcf4e0c5c79.svg"},51350:function(e,t,i){"use strict";e.exports=i.p+"media/circleError76bd28e7138e01a9.svg"},21742:function(e,t,i){"use strict";e.exports=i.p+"media/disabledCircleClock4161c0e002de57bf.svg"},85275:function(e,t,i){"use strict";e.exports=i.p+"media/documentc350dec702c45667.svg"},90922:function(e,t,i){"use strict";e.exports=i.p+"media/mailIcon131150de7aa925bb.svg"},26257:function(e,t,i){"use strict";e.exports=i.p+"media/Loader80d4c6d5d28ba006.gif"},1426:function(e,t,i){"use strict";
1e.exports=i.p+"media/Mobile_Reverse_Union2eac14615ab4e71c.png"},15333:function(e,t,i){"use strict";e.exports=i.p+"media/Reverse_Uniond4837a8631c8889a.png"},15398:function(e,t,i){"use strict";e.exports=i.p+"media/Unionda2b0062454f7661.png"},78676:function(e,t,i){"use strict";e.exports=i.p+"media/tick26e57fc6fe00e059.png"},89376:function(e,t,i){"use strict";e.exports=i.p+"media/welcome_button_texture4738e65633530123.svg"},92016:function(e,t,i){"use strict";e.exports=i.p+"media/CIO_Logo398f9c799e226060.svg"},20374:function(e,t,i){"use strict";e.exports=i.p+"media/DocThumbnail73afddf9598b4cdf.svg"},48383:function(e,t,i){"use strict";e.exports=i.p+"media/InboxIcon8c94d3080037ae47.svg"},765:function(e,t,i){"use strict";e.exports=i.p+"media/coach-avatar2604cf5d0569ebd7.svg"},21660:function(e,t,i){"use strict";e.exports=i.p+"media/paywall-bg168ad995f75c9947c.png"},5943:function(e,t,i){"use strict";e.exports=i.p+"media/paywall-bg298ee8d9410d53d28.png"},62926:function(e,t,i){"use strict";e.exports=i.p+"media/paywall-bg3b86e42ac590365a7.png"},36704:function(e,t,i){"use strict";e.exports=i.p+"47c33bc01dd32a39.js"},77979:function(e,t,i){"use strict";i.d(t,{E:function(){return a}});var r=i(38267),n=i(99701),o=i(64608);let a=r.Ay.div(["animation:"," 1s linear infinite;background:",";background:linear-gradient( to right,"," 5%,#eaeef6 15%,"," 25% );border-radius:2px;width:",";height:",";background-size:100vw 100vh;",""],o.D7,n.Jy.Neutral10,n.Jy.Neutral10,n.Jy.Neutral10,e=>e.width?`${e.width}px`:"100%",e=>e.height?`${e.height}px`:"100%",e=>e.marginTop&&(0,r.AH)(["margin-top:","px;"],e.marginTop))},14109:function(e,t,i){"use strict";let r;var n,o,a,l,s,d,c,u,p,h,x,m,g,y,f,b,_,v,j,A,C,w,k,S,T,P={};i.r(P),i.d(P,{Container:function(){return ee1},FlexBox:function(){return ee9},GroupControl:function(){return etn},GroupControlBody:function(){return etr},GroupControlTitle:function(){return eti},GroupControlWrapper:function(){return ett},InnerSelectControl:function(){return ee4},Label:function(){return ete},PlaceholderSpan:function(){return ee7},SelectControl:function(){return ee8},SelectControlWrapper:function(){return ee6},SelectGroup:function(){return ee2}});var J=i(74848),E=i(28363),R=i(96540),L=i(47767),N=i(33093),I=i(69326),M=i(5338),B=i(5323),D=i(68216),$=i(32606),O=i(10494),z=i(13807),F=i(85922),H=i(1261),V=i(52967),U=i(64961),W=i(28971),K=i(20023),q=i(96937),G=i(9541),Z=i(57238),X=i(69352),Q=i(71118),Y=i(49012),ee=i(71851);i(14603),i(47566),i(98721),i(18111),i(13579),i(18237);var et=((n={}).autoApply="autoApply",n.download="download",n),ei=((o={}).autoApply="AA",o.download="resume",o.other="other",o);let er=["document","document_type","document_format","document_template"],en=["","0","f","false","off"],eo=(e=window.location.search)=>{let t,i=new URLSearchParams(e);return null===(t=i.get("auto_apply"))||en.includes(t.trim().toLowerCase())?er.some(e=>!!i.get(e))?"download":null:"autoApply"},ea=(e=window.location.search)=>{let t=new URLSearchParams(e),i=eo(e);return"autoApply"===i?{auto_apply:!0}:"download"===i?er.reduce((e,i)=>{let r=t.get(i);return r&&(e[i]=r),e},{}):void 0};function*el(){try{yield(0,D.yJ)(ee.o1.setPlansLoading(!0));let{data:e}=yield(0,D.T1)(Y.uE.get,"/billing/plans",{params:ea()});yield(0,D.yJ)(ee.o1.setAvailablePlans(e.plans))}catch(e){yield(0,D.yJ)(ee.o1.setPlansError(e instanceof Error?e.message:"Failed to load plans")),E.A.log(e)}finally{yield(0,D.yJ)(ee.o1.setPlansLoading(!1))}}function*es(e){let t=null;try{let{data:e}=yield(0,D.T1)(Y.uE.get,"/billing/plans/scenario",{params:ea()});t=e.scenarioName,yield(0,D.yJ)(ee.o1.setScenarioName(t))}catch(e){E.A.log(e)}finally{(yield(0,D.KW)())||(yield(0,D.T1)(N.xP,"plans",{plans_scenario:t??"unknown",plans_page_trigger:e.payload}))}}function*ed(e){try{yield(0,D.yJ)(ee.o1.setPaymentMethodsLoading(!0));let{data:t}=yield(0,D.T1)(Y.yw.get,"/billing/charge_bee/payment_methods",{params:{plan:e.payload.plan}});yield(0,D.yJ)(ee.o1.setPaymentMethods(t))}catch(e){E.A.log(e)}finally{yield(0,D.yJ)(ee.o1.setPaymentMethodsLoading(!1))}}function*ec(){try{yield(0,D.yJ)(ee.o1.setAdyenConfigLoading(!0));let{data:e}=yield(0,D.T1)(Y.yw.get,"/billing/charge_bee/adyen_config");yield(0,D.yJ)(ee.o1.setAdyenConfig(e))}catch(e){E.A.log(e)}finally{yield(0,D.yJ)(ee.o1.setAdyenConfigLoading(!1))}}function*eu(){try{let{data:e}=yield(0,D.T1)(Y.uE.post,"/billing/plans/visit");e.redirectTo?.startsWith("/app/billing/")&&(window.location.href=e.redirectTo)}catch(e){E.A.log(e)}}let ep=function*(){yield(0,D.Q7)([(0,D.p8)(ee.o1.fetchAvailablePlans,el),(0,D.p8)(ee.o1.fetchScenario,es),(0,D.p8)(ee.o1.fetchPaymentMethods,ed),(0,D.p8)(ee.o1.fetchAdyenConfig,ec),(0,D.p8)(ee.o1.notifyPlansVisit,eu)])};var eh=i(25519),ex=i(36925),em=i(91734),eg=i(97410),ey=i(95293),ef=i(81740),eb=i(1557),e_=i(262
115),ev=i(84905),ej=i(34346),eA=i(64578),eC=i(29567),ew=i(12330),ek=i(66795);let eS="builder.virtual_coach.error_message",eT=[{role:"assistant",urlLinks:[],content:"Hello and welcome! I’m your personal AI coach. I'm here to help you set goals, stay motivated, and navigate challenges. Whether you're looking for advice, support, or just a nudge in the right direction, I’ve got your back. What’s on your mind today?"}];function*eP(e){try{let t=yield(0,D.Lt)(ek.Tp.messages);yield(0,D.yJ)(ek.o1.addUserMessage(e.payload)),(0,N.xP)("chat_send_question",{question:e.payload});let{data:i}=yield(0,D.T1)(Y.R3.post,"/ai_coach/v1/ai_coach/prompt",{prompt:e.payload,chat_history:JSON.stringify(t),database_history:!0});if(!i.success)throw Error(i.body);let r={response:i.body.response,urlLinks:i.body.url_links};yield(0,D.yJ)(ek.o1.receiveMessage(r)),(0,N.xP)("chat_answer_received",{answer:r.response})}catch(e){yield(0,D.yJ)(ek.o1.setError(eS)),(0,N.xP)("chat_error")}}function*eJ(){try{yield(0,D.yJ)(ek.o1.setLoading(!0));let e=yield(0,D.T1)(Y.R3.get,"/ai_coach/v1/ai_coach/history");yield(0,D.yJ)(ek.o1.setLoading(!1));let{data:t}=e;if(!t.success)throw Error(t.body);let i=t.body;if(i.length>0)yield(0,D.yJ)(ek.o1.hydrateMessages(i));else{let e=yield(0,D.Lt)(Z.Tp.userData);if(!e?.id)return;let t=`virtual_coach_state_${e.id}`,i=ew.D.getItem(t);if(!i)return void(yield(0,D.yJ)(ek.o1.hydrateMessages(eT)));let r=JSON.parse(i);if(!Array.isArray(r))return;yield(0,D.yJ)(ek.o1.hydrateMessages(r))}}catch(e){yield(0,D.yJ)(ek.o1.setError(eS)),yield(0,D.yJ)(ek.o1.setLoading(!1)),(0,N.xP)("chat_error")}}var eE=i(18827);let eR="builder.virtual_coach.error_message";i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(61701);let eL=new Set(["a1","a2","b1","b2","c1","c2","elementary","low_intermediate","pre_intermediate","upper_intermediate","advanced","hidden"]),eN=new Set(["hidden","novice","beginner","skillful","experienced","expert"]),eI={native:"advanced","native speaker":"advanced","mother tongue":"advanced",bilingual:"advanced",fluent:"upper_intermediate",proficient:"upper_intermediate","highly proficient":"upper_intermediate","upper intermediate":"upper_intermediate",intermediate:"low_intermediate","low intermediate":"low_intermediate","very good command":"low_intermediate",conversational:"pre_intermediate","pre intermediate":"pre_intermediate","good working knowledge":"pre_intermediate",basic:"elementary",beginner:"elementary",elementary:"elementary","working knowledge":"elementary"},eM={expert:"expert",advanced:"experienced",experienced:"experienced",proficient:"experienced",intermediate:"skillful",skillful:"skillful",competent:"skillful",basic:"beginner",beginner:"beginner",novice:"novice"},eB=e=>{let t={...e};return delete t.level,t};function*eD(){let e=yield(0,D.Lt)($.Tp.resume),t=yield(0,D.Lt)($.Tp.aiResumeReview),i=yield(0,D.Lt)(V.Tp.coverLetter),r=yield(0,D.Lt)(eE.Tp.messages),n=yield(0,D.Lt)(eE.Tp.builderType),o=yield(0,D.Lt)(X.Tp.config),a=!!o?.features?.aiReviewV2,l={conversation:r,resume:e,cover_letter:i,options:{locale:"en",debug:!0,targetRole:e?.jobTitle},builder_type:n};return a?(l.review_version="v2",l.resume_review_id=t.reviewResultV2?.id||void 0):l.resume_review=t.reviewResult||void 0,{payload:l,isV2:a}}function*e$(e){e?yield(0,D.yJ)($.o1.getLatestAiResumeReviewV2()):yield(0,D.yJ)($.o1.getLatestAiResumeReview()),yield(0,D.yJ)($.o1.setEditorPanelType("ai_review")),yield(0,D.yJ)(F.o1.toggleConversationalBuilder(!1))}function*eO(e){try{yield(0,D.yJ)(eE.o1.addUserMessage({content:e.payload.message,resumeReviewQuickAction:e.payload.resumeReviewQuickAction})),(0,N.xP)("chat_send_question",{question:e.payload.message,label:"builder"});let{payload:t,isV2:i}=yield(0,D.T1)(eD),{data:r}=yield(0,D.T1)(Y.uE.post,"/ai-copilot/chat",t);if(!r)throw Error("Error sending message");r.aiReviewSaved&&e.payload.showAiReviewTab?(yield(0,D.T1)(e$,i),yield(0,D.yJ)(eE.o1.receiveMessage({...r,changes:[]}))):yield(0,D.yJ)(eE.o1.receiveMessage(r)),(0,N.xP)("chat_answer_received",{answer:r.assistantMessage,label:"builder"})}catch(e){yield(0,D.yJ)(eE.o1.setError(eR))}}function*ez(e){try{let{payload:t,isV2:i}=yield(0,D.T1)(eD),{data:r}=yield(0,D.T1)(Y.uE.post,"/ai-copilot/chat",t);if(!r)throw Error("Error refreshing message");r.aiReviewSaved&&e.payload?.showAiReviewTab?(yield(0,D.T1)(e$,i),yield(0,D.yJ)(eE.o1.receiveMessage({...r,changes:[]}))):yield(0,D.yJ)(eE.o1.receiveMessage(r)),(0,N.xP)("chat_answer_received",{answer:r.assistantMessage,label:"builder"})}catch(e){yield(0,D.yJ)(eE.o1.setError(eR))}}function*eF(e){try{let{change:t}=e.payload,i=yield(0,D.Lt)(eE.Tp.builderType),r=((e,t)=>"languages"===e?Array.isArray(t)?t.map(e=>{let t=(e=>{if("string"!=typeof e)return;let t=e.trim();if(!t)return;let i=t.toLowerCase().replace(/[_-]+/g," ");
1if(eL.has(i))return i;let r=i.replace(/\s+/g,"_");return eL.has(r)?r:eI[i]})(e?.level);return t?{...e,level:t}:eB(e??{})}):[]:"skills"===e?Array.isArray(t)?t.map(e=>{let t=(e=>{if("string"!=typeof e)return;let t=e.trim();if(!t)return;let i=t.toLowerCase();return eN.has(i)?i:eM[i]})(e?.level);return t?{...e,level:t}:eB(e??{})}):[]:t)(t.path,t.after);"resume"===i&&(yield(0,D.yJ)($.o1.updateSimpleField({name:t.path,value:r,debounce:!1}))),"cover_letter"===i&&(yield(0,D.yJ)(V.o1.updateSimpleField({name:t.path,value:r,debounce:!1})))}catch(e){yield(0,D.yJ)(eE.o1.setError(eR))}}function*eH(){yield(0,D.Q7)([(0,X.al)(),(0,O.al)(),(0,z.al)(),(0,F.al)(),(0,H.al)(),(0,$.uK)(),(0,$.xQ)(),(0,V.al)(),(0,U.al)(),(0,W.al)(),(0,eC.al)(),(0,K.al)(),(0,q.al)(),(0,G.al)(),(0,Z.al)(),(0,Q.al)(),ep(),(0,eh.al)(),(0,ex.al)(),(0,em.al)(),(0,eg.al)(),(0,ey.al)(),(0,ef.al)(),(0,eb.al)(),(0,e_.al)(),(0,ev.al)(),(0,ej.al)(),(0,eA.al)(),function*(){yield(0,D.p8)(ek.o1.openChatBot.type,eJ),yield(0,D.p8)(ek.o1.sendMessage.type,eP)}(),function*(){yield(0,D.p8)(eE.o1.sendMessage.type,eO),yield(0,D.p8)(eE.o1.refreshLastMessage.type,ez),yield(0,D.p8)(eE.o1.applySingleChange.type,eF)}()])}var eV=i(52413),eU=i(81247),eW=i(18509);let eK=!1,eq=({children:e,premium:t})=>{let i=(0,eU.wA)(),r=(0,eW.N)(Z.Tp.premiumAccess),n=(0,eW.N)(Z.Tp.isFetched);return((0,R.useEffect)(()=>{n||i(Z.o1.fetchUserRequest())},[i,n]),(0,R.useEffect)(()=>{eK||((0,N._m)("Application","Open Builder"),eK=!0)},[i]),n)?t&&!r?(0,J.jsx)(L.C5,{replace:!0,to:"/"}):(0,J.jsx)(R.Fragment,{children:e}):null};var eG=i(57295),eZ=i(8037),eX=i(50328);let eQ=e=>{let t=(0,eU.wA)(),i=(0,eX.g)()&&!e,r=(0,eW.N)(ej.Tp.completenessFetchStatus),n=(0,eW.N)(ej.Tp.completenessPercent),o=r===eZ.Hp.loading;return(0,R.useEffect)(()=>{i&&r===eZ.Hp.notAsked&&t(ej.o1.fetchCompleteness())},[i,r,t]),{completenessPercent:n,isCareerProfileCompletenessLoading:o}};var eY=i(9673),e0=i(9888),e1=i(77378),e2=i(98640),e3=e=>{let{configScope:t=X.l1.app,i18nScope:i="builder",privateRoute:r,premiumRoute:n}=e,o=(0,e0.U)(t),{isScopeLoaded:a,isScopeLoading:l,isEditorScopeLoading:s,loadScope:d,isEditorScopeLoaded:c}=(0,e1.s)(),u=(0,eU.wA)(),{isEditPage:p,isGuestResumeEditor:h}=(0,e2.c)(),x=(0,eW.N)(Z.Tp.isFetched),m=a(i),g=l(i),y=c(i),f=s(i);return((0,R.useEffect)(()=>{!x&&r&&u(Z.o1.fetchUserRequest())},[u,x,r]),(0,R.useEffect)(()=>{o||u(X.o1.fetchConfig({scope:t}))},[o,t,u]),(0,R.useEffect)(()=>{(m||g)&&(!p||y||f)||d(i)},[i,m,d,g,p,y,f]),(0,eG.B)(p),eQ(p),(0,eY.b)(p),o&&(x||!r)&&(m||p)&&(!h||y))?r?(0,J.jsx)(eq,{premium:n,children:(0,J.jsx)(L.sv,{})}):(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(L.sv,{})}):null};i(20116);var e5=i(45588),e4=i(41193);i(22489);var e6=i(33031),e8=i.n(e6),e9=i(72603),e7=i(64673),te=i(99701),tt=i(38267),ti=i(78561),tr=i(67592);let tn=tt.Ay.div(["display:grid;padding:56px 32px;grid-gap:6px;grid-template-columns:repeat(3,1fr);"]),to=tt.Ay.div(["height:48px;border-radius:8px;background-color:",";"],e=>e.color),ta=tt.Ay.div(["position:absolute;left:80px;right:80px;top:40px;padding:16px;display:flex;align-items:center;justify-content:center;border-radius:12px;box-shadow:0px 24px 40px ",",inset 0 -1px 0 0 ",",inset 0 1px 0 0 ",";background-color:",";backdrop-filter:blur(8px);"],(0,ti.j)(te.Jy.Blue50,.24),(0,ti.j)(te.Jy.Blue70,.16),te.Jy.White,(0,ti.j)(te.Jy.Blue20,.5)),tl=tt.Ay.img(["",";width:48px;height:48px;border-radius:50%;background-color:",";"],tr.A.light.low,te.Jy.White),ts=({userPhotoUrl:e})=>(0,J.jsxs)(tn,{children:[(0,J.jsx)(to,{color:te.Jy.Green30}),(0,J.jsx)(to,{color:"transparent"}),(0,J.jsx)(to,{color:te.Jy.Indigo30}),(0,J.jsx)(to,{color:te.Jy.Green20}),(0,J.jsx)(to,{color:te.Jy.Beige20}),(0,J.jsx)(to,{color:te.Jy.Indigo20}),(0,J.jsx)(to,{color:te.Jy.Green20}),(0,J.jsx)(to,{color:te.Jy.Beige20}),(0,J.jsx)(to,{color:te.Jy.Indigo20}),(0,J.jsx)(ta,{children:(0,J.jsx)(tl,{alt:"User photo",src:e})})]});var td=i(49504);(0,ti.j)(te.Jy.Green50,.08),(0,ti.j)(te.Jy.Green70,.16),te.Jy.White,(0,ti.j)(te.Jy.Green20,.5),tr.q.light.low,te.Jy.White,td.o5.Caption,td.BO.Medium,te.Jy.Neutral80;let tc=tt.Ay.div(["position:absolute;z-index:1;left:40px;right:40px;top:48px;padding:16px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;box-shadow:0 16px 24px ",",inset 0 -1px 0 0 ",",inset 0 1px 0 0 ",";background-color:",";"],(0,ti.j)(te.Jy.Green50,.08),(0,ti.j)(te.Jy.Green70,.16),te.Jy.White,(0,ti.j)(te.Jy.Green20,.5)),tu=tt.Ay.img(["",";width:40px;height:40px;margin-bottom:12px;border-radius:50%;background-color:",";
1"],tr.q.light.low,te.Jy.White),tp=tt.Ay.div(["gap:2px;display:flex;flex-direction:column;padding-bottom:16px;"]),th=tt.Ay.div([""," ",";color:",";text-align:center;"],td.Ay.Tiny,td.BO.Medium,te.Jy.Green80),tx=tt.Ay.div(["width:100%;height:117px;position:absolute;top:46px;border-radius:16px;background:linear-gradient( to bottom,",","," 100%,"," 0% );"],(0,ti.j)(te.Jy.Neutral5,0),te.Jy.Neutral5,te.Jy.Neutral5),tm=({careerCards:e,userPhotoUrl:t})=>{let i=e[e.length-1].pathways.path1.map(e=>e.title);return(0,J.jsxs)(tc,{children:[(0,J.jsx)(tu,{alt:"User photo",src:t}),(0,J.jsx)(tp,{children:i?.map((e,t)=>(0,J.jsx)(th,{children:e},t))}),(0,J.jsx)(tx,{})]})};var tg=i(89078);let ty=tt.Ay.div(["padding:40px;"]),tf=(0,tt.Ay)(tg.A)(["border-radius:3px;"]),tb=tt.Ay.div(["position:absolute;top:24px;right:24px;width:48px;height:48px;border-radius:50%;background-color:",";box-shadow:0px 24px 40px ",",inset 0 -1px 0 0 ",",inset 0 1px 0 0 ",";backdrop-filter:blur(8px);&::before,&::after{content:'';position:absolute;top:50%;left:50%;width:16px;height:2px;transform:translate(-50%,-50%);background-color:",";}&::before{transform:translate(-50%,-50%) rotate(90deg);}"],(0,ti.j)(te.Jy.Blue20,.5),(0,ti.j)(te.Jy.Blue50,.16),(0,ti.j)(te.Jy.Blue70,.16),te.Jy.White,te.Jy.Blue50),t_=({type:e})=>{let[t,i]=(0,R.useState)(null);return(0,R.useEffect)(()=>{let t=!0,r=(0,U.dh)(e),n=e===eZ.VC.coverLetter?"boston":"stockholm";return Y.uE.get(`/${r}/templates`).then(({data:e})=>{let r=e.find(e=>e.id===n);t&&r&&i(r.thumbnail)}),()=>{t=!1}},[e]),(0,J.jsxs)(ty,{children:[(0,J.jsx)(tf,{src:t}),(0,J.jsx)(tb,{})]})};var tv=i(63967);let tj=tt.Ay.div(["padding:32px;"]),tA=(0,tt.Ay)(tg.A)(["",";border-radius:3px;"],tr.A.template.high),tC=e=>{let t=(0,tv.I)(e.document,{size:256});return(0,J.jsx)(tj,{children:(0,J.jsx)(tA,{src:t})})},tw=tt.Ay.img(["position:relative;z-index:2;display:block;width:100%;"]),tk=tt.Ay.img(["position:absolute;z-index:3;top:30px;left:50%;transform:translateX(-50%);width:52px;height:52px;border-radius:50%;border:2px solid ",";background-color:",";box-shadow:0 12px 16px ",";"],te.Jy.Indigo50,te.Jy.White,(0,ti.j)(te.Jy.Indigo50,.24));var tS=i.p+"media/illustrationea8f0052ad793399.svg";let tT=({userPhotoUrl:e})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(tw,{alt:"Job illustration",src:tS}),(0,J.jsx)(tk,{alt:"User photo",src:e})]});var tP=i(14649);let tJ=tt.Ay.img(["position:absolute;z-index:2;left:50%;bottom:24px;transform:translateX(-50%);width:154px;height:154px;border-radius:50%;background-color:",";border:3px solid ",";"],te.Jy.White,te.Jy.White),tE=tt.Ay.div(["position:absolute;z-index:3;bottom:24px;left:calc(50% - 77px);width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:",";box-shadow:0px 8px 20px ",",inset 0 -1px 0 0 ",",inset 0 1px 0 0 ",";backdrop-filter:blur(8px);color:",";"],(0,ti.j)(te.Jy.Green20,.5),(0,ti.j)(te.Jy.Green50,.12),(0,ti.j)(te.Jy.Green70,.16),te.Jy.White,te.Jy.Green70),tR=({userPhotoUrl:e})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(tJ,{alt:"User photo",src:e}),(0,J.jsx)(tE,{children:(0,J.jsx)(tP.qJ.Play,{})})]}),tL=tt.Ay.img(["display:block;width:100%;"]),tN=tt.Ay.img(["position:absolute;top:30px;left:50%;transform:translateX(-50%);width:60px;height:60px;border-radius:50%;border:2px solid ",";background-color:",";box-shadow:0 16px 24px ",";"],te.Jy.Indigo50,te.Jy.White,(0,ti.j)(te.Jy.Indigo50,.24));var tI=i.p+"media/illustrationf173d131630850e5.png";let tM=({userPhotoUrl:e})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(tL,{alt:"Offer analyzer illustration",src:tI}),(0,J.jsx)(tN,{alt:"User photo",src:e})]}),tB=tt.Ay.div(["position:absolute;left:8.96%;right:-22.39%;top:24px;bottom:88.3%;color:",";",";",";display:flex;align-items:center;"],te.Jy.Neutral40,td.Ay.Caps,td.BO.DemiBold),tD=tt.Ay.div(["position:absolute;left:8.96%;right:8.96%;top:50px;bottom:78.72%;color:",";",";",";display:flex;align-items:center;"],te.Jy.Neutral80,td.Ay.Body,td.BO.DemiBold),t$=tt.Ay.div(["position:absolute;left:8.96%;right:17.16%;top:62px;bottom:67.55%;color:",";",";",";"],te.Jy.Neutral80,td.Ay.Caption,td.BO.Regular),tO=tt.Ay.div(["position:absolute;width:268px;height:240px;left:0px;top:136px;color:",";border-bottom-left-radius:16px;border-bottom-right-radius:16px;"],te.Jy.Neutral5),tz=tt.Ay.div(["color:",";width:268px;height:240px;border-top-left-radius:16px;border-top-right-radius:16px;"],te.Jy.Neutral5),tF=tt.Ay.img(["flex-shrink:0;width:74px;height:68px;margin-left:2px;margin-top:2px;border-radius:6px;"]),tH=tt.Ay.img(["flex-shrink:0;width:120px;height:60px;margin-left:10px;margin-top:7px;"]),tV=tt.Ay.div(["width:220px;height:72px;margin-left:24px;margin-bottom:12px;display:flex;flex-direction:row;flex-grow:1;flex-shrink:0;border:none;background:",";border-radius:8px;"],te.Jy.White),tU=tt.Ay.div(["width:100%;height:172px;position:absolute;top:204px;bottom:0;left:0px;right:0;border-radius:16px;background:linear-gradient( to bottom,",","," 100%,"," 0% );"],(0,ti.j)(te.Jy.Neutral5,0),te.Jy.Neutral5,te.Jy.Neutral5),tW=tt.Ay.a([""]);var tK=i.p+"media/loader408f65c4f09e031f.png";let tq=[{Img:i(53965)},{Img:i(22198)},{Img:i(75999)}],tG=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(tW,{href:"https://career.io/career-advice",children:[(0,J.jsxs)(tz,{children:[(0,J.jsx)(tB,{children:e.t("builder.panel.resources_card.header")}),(0,J.jsx)(tD,{children:e.t("builder.panel.resources_card.new_title")}),(0,J.jsx)(t$,{children:e.t("builder.panel.resources_card.text")})]}),(0,J.jsx)(tO,{children:tq.map((e,t)=>(0,J.jsx)(R.Fragment,{children:(0,J.jsxs)(tV,{children:[(0,J.jsx)(tF,{src:e.Img}),(0,J.jsx)(tH,{src:tK})]})},t))}),(0,J.jsx)(tU,{})]})};var tZ=i.p+"media/topResume-visuala629cf72d7e5ce5a.svg",tX=i(25167),tQ=i(24833);let tY=tt.Ay.div(["padding:25px;"]),t0=tt.Ay.div(["margin-top:-14%;display:flex;justify-content:center;position:relative;bottom:27px;",";"],tQ.A.Phone`
2    bottom: 17px;
3  `),t1=tt.Ay.div(["padding:15px;
3display:flex;justify-content:center;"]),t2=tt.Ay.div(["color:",";",";",";display:flex;padding-bottom:4px;align-items:center;"],te.Jy.Neutral80,td.Ay.Body,td.BO.DemiBold),t3=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral80,td.Ay.Caption,td.BO.Regular),t5=()=>(0,J.jsxs)(tY,{children:[(0,J.jsx)(t2,{children:"Get Help With Resume"}),(0,J.jsx)(t3,{children:"You will get one-on-one support from a professional writer."}),(0,J.jsx)(t1,{children:(0,J.jsx)("img",{src:tZ})}),(0,J.jsx)(t0,{children:(0,J.jsx)("img",{src:tX})})]}),t4=()=>{let e=(0,L.Zp)(),t=(0,eU.wA)(),i=(0,e0.U)(),r=(0,eW.N)(Z.Tp.photoUrl),n=(0,eW.N)(U.Tp.documentsStatus),o=(0,eW.N)(e=>U.Tp.lastCreated(e,eZ.VC.resume)),a=(0,eW.N)(e=>U.Tp.lastCreated(e,eZ.VC.coverLetter)),l=(0,eW.N)(U.Tp.tunerResumeId),s=(0,e7.T)(l),d=(0,eW.N)(ey.Tp.allCareerCards),c=(0,eW.N)(ey.Tp.goalsStatus),u=(0,eU.d4)(e9.Tp.getInterviewUrl);return(0,R.useEffect)(()=>{n===eZ.Hp.notAsked&&t(U.o1.fetchDocuments()),c===eZ.Hp.notAsked&&t(ey.o1.fetchCareerCards())},[t,n,c]),{isLoaded:(0,R.useMemo)(()=>n===eZ.Hp.loaded&&(!l||!!s),[n,l,s]),careerTasks:(0,R.useMemo)(()=>{let n=!!d.length,l=null!==o,c=null!==a,p=[{tone:"blue",name:"resume",title:"Create Your Resume",text:"Take a first step towards success by creating a resume.",action:()=>{s?e(`/resumes/${s?.id}/edit`):t(U.o1.createDocument({type:eZ.VC.resume}))},completed:l,visual:l?(0,J.jsx)(tC,{document:o}):(0,J.jsx)(t_,{type:eZ.VC.resume})},l&&{tone:"neutral",name:"top_resume",title:"",text:"",completed:!1,action:()=>window.open("https://topresume.com/resume-writing?pt=UWYxd6Xe2VTS0&utm_source=careerio&utm_medium=cioplatformcard&utm_campaign=tr_promocard_in_ciodash&utm_content=v1","_blank"),visual:(0,J.jsx)(t5,{})},i?.features.jobSearch&&{tone:"indigo",name:"job_search",title:"Explore & Track Jobs",text:"Explore best matched jobs and add at least one to the job tracker.",action:()=>e("/job-search"),visual:(0,J.jsx)(tT,{userPhotoUrl:r})},{tone:"blue",name:"cover_letter",title:"Create a Cover Letter",text:"Use templates and custom tools to speak directly to the employer.",action:()=>t(U.o1.createDocument({type:eZ.VC.coverLetter})),completed:c,visual:c?(0,J.jsx)(tC,{document:a}):(0,J.jsx)(t_,{type:eZ.VC.coverLetter})},{tone:"green",name:"interview_prep",title:"Ace Job Interviews",text:"Prepare for at least one interview and get detailed AI feedback.",action:()=>e(u),visual:(0,J.jsx)(tR,{userPhotoUrl:r})},i?.features.salaryAnalyzer&&{tone:"indigo",name:"salary_analyzer",title:"Know Your Worth",text:"Compare your salary to compensation reported by others.",action:()=>e("/offer-analyzer"),visual:(0,J.jsx)(tM,{userPhotoUrl:r})},i?.features.careerPath&&{tone:"beige",name:"career_path",title:n?"Check Your Career Paths":"Explore Your Career Paths",text:n?"Collect the desired roles with info to your career path.":"Easily build out the path to your ideal career and salary goals.",action:()=>e("/career-path"),completed:n,visual:n?(0,J.jsx)(tm,{careerCards:d,userPhotoUrl:r}):(0,J.jsx)(ts,{userPhotoUrl:r})},i?.features.contentCard&&{tone:"neutral",name:"professional_resources",title:"",text:"",action:()=>"",visual:(0,J.jsx)(tG,{})}].filter(e=>!!e);return e8()(p,e=>!e.completed)},[d,o,a,s,r,i,t,e])}};var t6=i(348);let t8=tt.Ay.div(["position:absolute;width:465px;height:183px;left:auto;top:117px;z-index:4;"]),t9=tt.Ay.div(["position:absolute;width:465px;height:183px;left:auto;top:40px;z-index:1;"]),t7=tt.Ay.img(["position:absolute;left:-23px;"]),ie=tt.Ay.div(["position:absolute;width:187px;height:40px;left:5px;top:25px;color:",";",";",";display:flex;align-items:center;"],te.Jy.Neutral90,td.Ay.ButtonS,td.BO.DemiBold),it=tt.Ay.img(["position:absolute;width:102px;height:42px;left:215px;top:20px;border-radius:6px;"]),ii=tt.Ay.div(["position:absolute;width:187px;height:40px;left:5px;top:35px;color:",";",";",";display:flex;align-items:center;"],te.Jy.Neutral90,td.Ay.ButtonS,td.BO.DemiBold),ir=tt.Ay.img(["position:absolute;width:102px;height:42px;left:215px;top:30px;border-radius:6px;"]),io=tt.Ay.img(["position:relative;left:8px;right:20%;display:flex;top:25px;"]),ia=tt.Ay.div(["width:279px;height:32px;margin-left:30px;margin-top:11px;margin-bottom:12px;color:",";",";",";"],te.Jy.Neutral90,td.Ay.Tiny,td.BO.Regular),il=tt.Ay.div(["position:absolute;
3left:4px;top:66px;"]),is=tt.Ay.div(["float:left;width:295px;height:22px;margin-bottom:15px;"]),id=i(26257),ic=i(78676),iu=i(15398),ip=()=>{let{i18n:e}=(0,e1.s)(),t=[{data:e.t("builder.panel.card_loader_tooltip.text_line1")},{data:e.t("builder.panel.card_loader_tooltip.text_line2")}];return(0,J.jsxs)(t8,{children:[(0,J.jsx)(t7,{src:iu}),(0,J.jsx)(ie,{children:e.t("builder.panel.card_loader_tooltip.title")}),(0,J.jsx)(it,{src:id}),(0,J.jsx)(il,{children:t.map((e,t)=>(0,J.jsxs)(is,{children:[(0,J.jsx)(io,{src:ic}),(0,J.jsx)(ia,{children:e.data})]},t))})]})};var ih=i(86066),ix=i(76551),im=i(64608);let ig=tt.Ay.div(["height:28px;width:","px;margin-left:","px;top:12px;position:absolute;background:",";box-shadow:",";border-radius:30px;",""],e=>e.status?97:144,e=>e.isGoalCardSection?-10:14,te.Jy.White,e=>e.isGoalCardSection?"0px 0px 1px rgba(15, 56, 113, 0.12)":`0px 0px 1px rgba(15, 56, 113, 0.32), 0px 1px 2px rgba(15, 56, 113, 0.12),
4    0px 2px 4px rgba(15, 56, 113, 0.08)`,e=>tQ.A.Phone`
5    border-radius: 15px;
6    left: ${e.isGoalCardSection?23:-9.5}px;
7    width: 95px;
8    height: 28px;
9  `),iy=(0,tt.Ay)(tP.Ay.Spinner)(["color:",";animation:"," 0.5s infinite linear;position:absolute;left:4px;top:2px;",""],te.Jy.Indigo80,im.ni,tQ.A.Phone`
10    top: 2px;
11  `),ib=(0,tt.Ay)(tP.EK.ChevronDown)(["color:",";transform:rotate(-90deg);position:absolute;right:3px;top:4.5px;"],te.Jy.Neutral40),i_=tt.Ay.div(["position:absolute;left:","%;right:","%;top:25%;bottom:25%;",";",";display:flex;align-items:center;color:",";",""],e=>e.status?31.07:35,e=>e.status?11.65:4,td.Ay.Tiny,td.BO.Regular,te.Jy.Neutral90,tQ.A.Phone`
12    left:28px;
13  `),iv=tt.Ay.img(["width:20px;height:20px;border-radius:50%;margin-top:4px;margin-left:23px;"]),ij=tt.Ay.div(["position:absolute;width:20px;height:20px;flex-shrink:0;border-radius:50%;margin-top:4px;margin-left:4px;color:",";box-shadow:4px 0 0 0 ",";background-color:",";border-radius:50%;"],te.Jy.White,te.Jy.White,te.Jy.Indigo80),iA=(0,tt.Ay)(tP.EK.Star)(["margin-top:-5px;width:20px;height:20px;",""],tQ.A.Phone`
14    margin-top: -2px;
15  `);var iC=({isGoalCardSection:e})=>{let{isPhone:t}=(0,ih.e)(),i=(0,eU.wA)(),r=(0,eW.N)(ex.Tp.triggeredCritiqueStatus),n=r.status===ex.oV.failed||r.status===ex.oV.pending,o=(0,eW.N)(ex.Tp.isCritiquePageCount);return(ew.D.setItem("visitedBefore",o?"true":"false"),(0,R.useMemo)(()=>(0,W.fB)(r.createdAt),[r.createdAt]))?(0,J.jsx)(J.Fragment,{}):(0,J.jsxs)(ig,{status:n,isGoalCardSection:e,onClick:()=>{var e;return e=r.iframeUrl,void(r.status===ex.oV.finished&&e&&(i(ex.o1.setCritiquePageVisitedCount(!0)),window.open(`${e}${ix.Kw}`)))},children:[n?(0,J.jsx)(iy,{}):(0,J.jsxs)(R.Fragment,{children:[(0,J.jsx)(ij,{children:(0,J.jsx)(iA,{})}),!t&&(0,J.jsx)(iv,{src:r.reviewer?.photoUrl})]}),t&&!n?(0,J.jsx)(i_,{status:n,children:" Review "}):(0,J.jsx)(i_,{status:n,children:n?"In Review":"Read Review"}),!n&&(0,J.jsx)(ib,{})]})};let iw=tt.Ay.div(["position:relative;overflow:hidden;width:100%;height:212px;flex-shrink:0;border-radius:16px 16px 0 0;"]),ik=tt.Ay.div(["position:absolute;top:50%;bottom:0;left:0;right:0;background:",";"],e=>`
16    linear-gradient(
17      to bottom,
18      ${(0,ti.j)(e.bgColor,0)} 0%,
19      ${e.bgColor} 100%)
20    `),iS=tt.Ay.div(["display:flex;flex-direction:column;flex-grow:1;width:100%;padding:24px;"]),iT=tt.Ay.div(["",";",";margin-bottom:4px;"],td.o5.Body,td.BO.DemiBold),iP=tt.Ay.div(["",";flex-grow:1;margin-bottom:16px;"],td.o5.Caption),iJ=tt.Ay.div(["display:flex;justify-content:center;align-items:center;width:32px;height:32px;border-radius:8px;background-color:var(--color-tone-20);transition:background-color 0.15s,color 0.15s;"]),iE=tt.Ay.button(["display:flex;flex-direction:column;flex-grow:1;flex-shrink:0;width:268px;height:376px;padding:0;margin:0;border:none;border-radius:16px;background:var(--color-tone-10);color:var(--color-tone-80);text-align:left;cursor:",";user-select:none;"," "," ",";"],e=>e.clickable?"pointer":"default",e=>e.clickable&&(0,tt.AH)(["&:hover ","{background-color:var(--color-tone-50);color:var(--white);}"],iJ),e=>e.resourceCard&&(0,tt.AH)(["background-color:",";&:hover{background-color:",";}"],te.Jy.Neutral5,te.Jy.Neutral10),e=>e.completed&&(0,tt.AH)(["background-color:",";color:",";& ","{background:linear-gradient( to bottom,"," 0%,"," 100% );}& ","{color:",";}& ","{background-color:",";color:",";}"],te.Jy.Neutral5,te.Jy.Neutral70,ik,(0,ti.j)(te.Jy.Neutral5,0),te.Jy.Neutral5,iP,te.Jy.Neutral50,iJ,te.Jy.Green10,te.Jy.Green50)),iR=(0,tt.Ay)(tP.Ay.Spinner)(["color:",";animation:"," 0.5s infinite linear;left:4px;top:4px;"],te.Jy.Blue50,im.ni),iL=tt.Ay.div(["width:32px;height:32px;left:24px;top:320px;background:",";border-radius:8px;display:flex;justify-content:center;align-items:center;border-radius:8px;"],te.Jy.Blue20),iN=tt.Ay.div(["color:",";",";",";align-items:center;margin:8px;"],te.Jy.Blue50,td.o5.Tiny,td.BO.DemiBold),iI=tt.Ay.div(["display:flex;align-items:flex-start;"]),iM=tt.Ay.div(["position:relative;width:100%;height:212px;flex-shrink:0;border-radius:16px 16px 0 0;"]);var iB=i.p+"media/cio-icon9f99618631a45158.svg",iD=((a={}).jobTracking="job-tracking",a.jobSearch="job-search",a.interviewPrep="interview-prep",a),i$=i(91779),iO=i(23054);let iz=(0,tt.Ay)(iO.m)(["padding-top:64px;padding-bottom:24px;text-align:center;overflow:hidden;",";",";"],tQ.A.Tablet`
21    padding-top: 48px;
22  `,tQ.A.Phone`
23    padding-top: 24px;
24  `),iF=tt.Ay.img(["",";display:block;width:40px;height:40px;margin:0 auto 16px;border-radius:12px;background-color:",";"],tr.A.lightWithBorder.mid,te.Jy.White),iH=tt.Ay.div(["",";",";color:",";margin-bottom:16px;"],td.o5.L,td.BO.DemiBold,te.Jy.Neutral90),iV=tt.Ay.div(["",";display:block;margin:0 auto 24px auto;max-width:545px;b{font-weight:inherit;color:",";}"],td.BO.Medium,te.Jy.Blue50),iU=(0,tt.Ay)(i$.Ay)(["margin-bottom:16px;",";"],tQ.A.Phone`
25    width: 100%;
26  `),iW=tt.Ay.div(["",";display:block;color:",";margin:0 auto 48px auto;max-width:352px;opacity:0.4;",";"],td.o5.Tiny,te.Jy.Blue80,tQ.A.Phone`
27    margin-bottom: 32px;
28  `),iK=tt.Ay.div(["margin:0 -100vw;display:flex;justify-content:center;"]),iq=tt.Ay.div(["display:flex;transform-origin:50% 0;transform:scale(0.82835);",";"],tQ.A.Tablet`
29    transform: scale(0.8);
30  `),iG=(0,tt.Ay)(({careerTask:e,interactive:t=!0,isLoading:i,isResumeCard:r,resourceCard:n,onClick:o,...a})=>{let{visual:l,title:s,text:d,action:c,completed:u}=e,p=(0,t6.Z)(e.tone),h=t&&!u||!!n,{i18n:x}=(0,e1.s)(),m=te.Jy[`${p}10`],g=(0,L.zy)(),{status:y,resumeId:f}=(0,eW.N)(ex.Tp.triggeredCritiqueStatus),b={"--color-tone-10":m,"--color-tone-20":te.Jy[`${p}20`],"--color-tone-50":te.Jy[`${p}50`],"--color-tone-80":te.Jy[`${p}80`]},_=new URLSearchParams(g.search).get("tr_promo_banner"),v="critique"===new URLSearchParams(g.search).get("critique_review"),[j,A]=(0,R.useState)(!1),[C,w]=(0,R.useState)(null),k=(0,eW.N)(U.Tp.tunerResumeId),S=null!==y&&f===k&&r;(0,R.useEffect)(()=>{let e=setTimeout(()=>{w(k)},15e3);return()=>clearTimeout(e)},[k]);let T=!C&&v&&r&&null===k;return(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(iE,{completed:u,clickable:h,resourceCard:n,style:b,onClick:e=>{o&&o(e),t&&!i&&c()},tabIndex:h?void 0:-1,...a,children:[n?(0,J.jsx)(iM,{children:l}):(0,J.jsxs)(iw,{children:[l,(0,J.jsx)(ik,{bgColor:m})]}),(0,J.jsxs)(iS,{children:[S&&(0,J.jsx)(iC,{isGoalCardSection:!0}
30),(0,J.jsx)(iT,{children:s}),(0,J.jsx)(iP,{children:d}),!n&&(0,J.jsx)(R.Fragment,{children:i&&null!==_||T?(0,J.jsxs)(iI,{onMouseOver:()=>{A(!0)},onMouseOut:()=>{A(!1)},onTouchStart:()=>{A(!0)},onTouchCancel:()=>{A(!1)},children:[(0,J.jsx)(iL,{children:(0,J.jsx)(iR,{})}),(0,J.jsx)(iN,{children:x.t("builder.panel.loader.prefill_loader_text")})]}):(0,J.jsx)(iJ,{children:u?(0,J.jsx)(tP.EK.Tick,{}):(0,J.jsx)(tP.EK.ChevronDown,{style:{transform:"rotate(-90deg)"}})})})]}),(0,J.jsx)(J.Fragment,{children:j&&(0,J.jsx)(ip,{})})]})})})(["position:relative;top:38px;margin:0 12px;&:after{content:'';position:absolute;left:-1px;bottom:-1px;right:-1px;height:110px;background:linear-gradient( to bottom,"," 0%,"," 70px,"," 100% );}&:nth-child(3){top:0;&:after{display:none;}}"],(0,ti.j)(te.Jy.White,0),te.Jy.White,te.Jy.White),iZ={[iD.jobTracking]:{taskName:"job_search",locale:"job_tracking"},[iD.jobSearch]:{taskName:"job_search",locale:"job_search"},[iD.interviewPrep]:{taskName:"interview_prep",locale:"interview_prep"}},iX=({source:e})=>{let t=(0,eU.wA)(),{i18n:i}=(0,e1.s)(),r=(0,eW.N)(Z.Tp.superAppLoginStatus),{taskName:n,locale:o}=iZ[e],{isLoaded:a,careerTasks:l}=t4(),s=(0,R.useMemo)(()=>{let e=l.find(e=>e.name===n);if(!e)return l.slice(1,6);let t=l.filter(e=>e.name!==n&&"cover_letter"!==e.name).slice(1,5);return[...t.slice(0,2),e,...t.slice(2)]},[l,n]),d=(0,R.useMemo)(()=>i.t("builder.super_app_promotion.description",{premium_user:`<b>${i.t("builder.super_app_promotion.premium_user")}</b>`}),[i]),c=(0,R.useMemo)(()=>i.t("builder.super_app_promotion.title",{feature:i.t(`builder.navbar.${o}`)}),[i,o]);return(0,J.jsxs)(iz,{children:[(0,J.jsx)(iF,{src:iB}),(0,J.jsx)(iH,{children:c}),(0,J.jsx)(iV,{dangerouslySetInnerHTML:{__html:d}}),(0,J.jsx)(iU,{isLoading:r===eZ.Hp.loading,onClick:()=>{(0,N.xP)("click_cio_activation_button",{source:e}),t(Z.o1.loginToSuperApp())},children:i.t("builder.super_app_promotion.action")}),(0,J.jsx)(iW,{children:i.t("builder.super_app_promotion.action_description")}),(0,J.jsx)(iK,{children:a&&(0,J.jsx)(iq,{children:s.map(e=>(0,J.jsx)(iG,{careerTask:e,interactive:!1},e.name))})})]})},iQ=()=>{let{pathname:e}=(0,L.zy)(),t=(0,e0.U)(),i=(0,e4.J)(),r=t?.features.superApp,n=t?.features.international,o=t?.features.superAppPromotionType,a=!i?.hasPremiumFeatures,l=(0,R.useMemo)(()=>!r&&!n&&(o!==X.G6.old||!a)&&!!o,[r,a,o]),s=[{route:"/job-search",source:iD.jobSearch},{route:"/job-tracking",source:iD.jobTracking},{route:"/interview-preparation/dashboard",source:iD.interviewPrep}],d=s.find(({route:t})=>(0,e5.B6)(t,e))?.source;return l&&d?(0,J.jsx)(iX,{source:d}):(0,J.jsx)(L.sv,{})};var iY=i(63064);let i0=({basename:e,children:t,history:i})=>{let[r,n]=R.useState({action:i.action,location:i.location});return R.useLayoutEffect(()=>i.listen(n),[i]),(0,J.jsx)(L.Ix,{basename:e,location:r.location,navigator:i,navigationType:r.action,children:t})};var i1=i(54542),i2=i(28793),i3=i(84976),i5=i(11788),i4=i(59729),i6=i(16466),i8=i(5556),i9=i.n(i8),i7=i(20646),re=i(57119);let rt=(...e)=>(0,tt.AH)(["@media (max-width:374px){",";}"],(0,tt.AH)(...e)),ri=tt.Ay.div(["display:flex;flex-wrap:wrap;",";"],tQ.A.Tablet`
31    max-width: 416px;
32    margin: 0 auto;
33  `),rr=tt.Ay.div(["display:flex;margin-bottom:30px;",";"],tQ.A.Laptop`
34    flex-direction: column;
35    margin-bottom: -8px;
36  `),rn=tt.Ay.div(["flex-grow:1;margin-right:48px;",";",";"],tQ.A.Laptop`
37    margin-bottom: 32px;
38    margin-right: 0;
39    text-align: center;
40  `,tQ.A.Phone`
41    margin: 0 0 24px;
42  `),ro=tt.Ay.div(["",";font-weight:bold;"],td.o5.XL),ra=tt.Ay.div(["color:",";margin-top:12px;"],te.Jy.Neutral50),rl=tt.Ay.div(["flex:1;"]),rs=tt.Ay.div(["position:relative;flex-shrink:0;width:384px;pointer-events:none;margin-left:95px;",";&:before{content:'';position:absolute;z-index:1;right:29px;top:-55px;width:125px;height:62px;background-image:url(",");background-position:0 0;background-repeat:no-repeat;background-size:contain;",";}&:after{content:'';position:absolute;left:-50px;right:-50px;bottom:-49px;border-bottom:40px solid ",";height:150px;background:linear-gradient(to bottom,",",",");}"],tQ.A.Tablet`
43    width: 100%;
44  `,i(99924),tQ.A.Tablet`
45      display: none;
46    `,te.Jy.White,(0,ti.j)(te.Jy.White,0),te.Jy.White),rd=tt.Ay.div(["position:relative;overflow:hidden;border-radius:4px 4px 0 0;background-color:",";box-shadow:0 0 1px rgba(15,56,113,0.16),0 16px 64px -8px rgba(15,56,113,0.16);&:before{content:'';display:block;padding-bottom:92%;}"],te.Jy.Neutral10),rc=tt.Ay.img(["position:absolute;
46left:0;top:0;width:100%;"]),ru=tt.Ay.form(["position:relative;display:flex;",";"],tQ.A.Tablet`
47    flex-direction: column;
48  `),rp=tt.Ay.div(["flex-grow:1;"]),rh=tt.Ay.div(["",";padding:12px 16px;margin-bottom:24px;border-radius:3px;background-color:",";color:",";"],td.o5.Caption,(0,ti.j)(te.Jy.Red50,.15),te.Jy.Red50),rx=tt.Ay.div(["display:flex;margin-bottom:22px;",";"],rt`
49    margin-bottom: 0;
50    flex-direction: column;
51  `),rm=(0,tt.Ay)(re.A).attrs({inputIconPosition:"right"})(["flex-grow:1;width:50%;margin-right:12px;&:last-child{margin-right:0;}",";"],rt`
52    width: 100%;
53    margin-bottom: 20px;
54  `),rg=(0,tt.Ay)(tP.EK.SuccessCircle)(["color:",";"],te.Jy.Green50),ry=(0,tt.Ay)(tP.EK.WarningCircle)(["color:",";"],te.Jy.Red50),rf=tt.Ay.div(["display:flex;margin-top:32px;justify-content:space-between;"," ",";"],tQ.A.Laptop`
55    margin-top: 36px;
56  `,tQ.A.Phone`
57    justify-content: center;
58  `),rb=tt.Ay.div(["padding-top:10px;"]),r_=(0,tt.Ay)(i$.Ay).attrs({theme:"ghost"})(["",";"],tQ.A.Phone`
59    display: none;
60  `),rv=(0,tt.Ay)(i$.Ay)(["position:relative;",";"],e=>e.isSending&&(0,tt.AH)(["pointer-events:none;"])),rj=tt.Ay.span(["opacity:",";"],e=>+!e.isSending),rA=(0,tt.Ay)(tP.qJ.Spinner)(["position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;animation:"," 0.5s infinite linear;"],im.ni),rC=tt.Ay.div(["flex-shrink:0;padding-top:50px;margin-left:95px;background-color:",";position:relative;max-width:384px;",";",";"],te.Jy.White,tQ.A.Laptop`
61    width: 100%;
62    max-width: 100%;
63    padding-top: 0;
64    margin-left: 0;
65    margin-bottom: 32px;
66  `,tQ.A.Phone`
67    padding-top: 0;
68    margin-bottom: 30px;
69    padding-bottom: 0;
70    border-bottom: none;
71  `),rw=tt.Ay.label(["",";display:block;margin-bottom:32px;cursor:",";border-radius:6px;",";"," "," &:last-child{margin-bottom:0;}"],tr.A.light.low,e=>["connected","disabled","complete"].includes(e.state)?"default":"pointer",tQ.A.Phone`
72    margin-bottom: 24px;
73  `,e=>("card"===e.theme||"bordered"===e.theme)&&(0,tt.AH)(["background-color:",";border-radius:6px;margin-bottom:8px;",";"],te.Jy.White,tQ.A.Phone`
74        margin-bottom: 6px;
75      `),e=>"bordered"===e.theme&&(0,tt.AH)(["border:1px solid ",";"],te.Jy.Neutral20)),rk=tt.Ay.div(["position:relative;display:flex;flex-direction:column;"]),rS=tt.Ay.div(["display:flex;align-items:center;padding:24px 24px 16px 24px;",";"],rt`
76    padding: 12px;
77  `),rT=tt.Ay.div(["flex-shrink:0;width:40px;height:40px;margin-right:16px;background-size:contain;background-image:url(",");background-repeat:no-repeat;",";"],e=>i(35841)(`./${e.name}.png`),rt`
78    width: 32px;
79    height: 32px;
80    margin-right: 12px;
81  `),rP=tt.Ay.div(["flex-grow:1;"]),rJ=tt.Ay.div(["font-weight:600;",";"],rt`
82    margin-bottom: -3px;
83  `),rE=tt.Ay.span(["",";font-weight:600;color:",";&:before{content:' • ';}"],td.o5.Caption,te.Jy.Green70),rR=tt.Ay.div(["",";color:",";& a{color:",";}& a:hover{color:",";}"],td.o5.Tiny,te.Jy.Neutral50,te.Jy.Blue50,te.Jy.Blue70),rL=tt.Ay.div(["display:flex;justify-content:center;align-items:center;flex-shrink:0;position:relative;width:18px;height:18px;margin-left:16px;border:1px solid ",";border-radius:4px;color:",";",";"," "," "," ",""],te.Jy.Blue50,te.Jy.White,rt`
84    margin-left: 10px;
85  `,e=>"checked"===e.state&&(0,tt.AH)(["background-color:",";"],te.Jy.Blue50),e=>"connected"===e.state&&(0,tt.AH)(["background-color:",";border-color:",";"],te.Jy.Neutral40,te.Jy.Neutral40),e=>"complete"===e.state&&(0,tt.AH)(["width:30px;height:30px;background-color:",";border-radius:50%;border:7px solid ",";",";"],te.Jy.Green50,te.Jy.Green10,rt`
86        display: none;
87      `),e=>"disabled"===e.state&&(0,tt.AH)(["background-color:",";border-color:",";"],te.Jy.Neutral40,te.Jy.Neutral40)),rN=tt.Ay.input.attrs({type:"checkbox"})(["position:absolute;width:0;height:0;overflow:hidden;opacity:0;"]),rI=tt.Ay.div(["max-width:543px;margin:0 auto;text-align:center;"]),rM=tt.Ay.div(["margin-bottom:24px;max-width:544px;"]),rB=tt.Ay.div(["",";",";margin-bottom:11px;"],td.o5.L,td.BO.DemiBold),rD=tt.Ay.div(["margin-top:8px;color:",";"],te.Jy.Neutral50),r$=tt.Ay.div(["text-align:left;margin-bottom:8px;"]),rO=(0,tt.Ay)(i$.Ay)(["margin-top:24px;"]),rz=tt.Ay.div(["position:relative;z-index:999;width:100%;max-width:680px;background-color:",";border-radius:6px;padding:32px;"],te.Jy.White),rF=tt.Ay.div(["position:absolute;top:0;right:0;padding:16px;color:",";cursor:pointer;&:hover{color:",";}"],te.Jy.Neutral30,te.Jy.Blue50),rH=(0,tt.Ay)(tP.qJ.CloseLarge)(["display:block;"]),rV=(0,tt.Ay)(i3.N_)(["color:",";"],te.Jy.Blue50),rU=tt.Ay.ul(["display:flex;flex-direction:row;flex-wrap:wrap;padding:16px 24px 16px;border-top:1px solid ",";list-style:none;margin:0;",";"],te.Jy.Neutral15,rt`
88    padding: 12px 12px 4px 12px;
89  `),rW=tt.Ay.li(["",";display:flex;align-items:center;margin:0 8px 8px 0;padding:4px;border-radius:32px;",";"],tr.A.light.low,rt`
90    margin-right: 5px;
91  `),rK=tt.Ay.span(["width:20px;height:20px;background-size:contain;background-image:url(",");background-repeat:no-repeat;margin-right:4px;"],e=>i(35841)(`./${e.name}.png`)),rq=tt.Ay.span(["",";color:",";padding-right:12px;",";"],td.o5.Tiny,te.Jy.Neutral90,rt`
92    padding-right: 7px;
93  `),rG=({name:e,title:t,domain:i,checked:r,connected:n,theme:o="default",websites:a,onToggle:l,disabled:s,...d})=>{let c=(0,R.useMemo)(()=>n&&!l?"complete":n&&!s?"connected":r&&!s?"checked":s?"disabled":"unchecked",[r,n,s,l]),u=(0,R.useMemo)(()=>
93{if(!n)return i7.R.t(`builder.coreg.services.${e}.description`);let t=`<a href="http://${i}" target="_blank" rel="noreferrer noopener">${i}</a>`;return i7.R.t("builder.coreg.services.how_to_update",{link:t})},[i,n,e]);return(0,J.jsx)(rw,{theme:o,state:c,...d,children:(0,J.jsxs)(rk,{children:[(0,J.jsxs)(rS,{children:[(0,J.jsx)(rT,{name:e}),(0,J.jsxs)(rP,{children:[(0,J.jsxs)(rJ,{children:[t,n&&(0,J.jsx)(rE,{children:i7.R.t("builder.coreg.services.connected")})]}),(0,J.jsx)(rR,{dangerouslySetInnerHTML:{__html:u}})]}),(0,J.jsxs)(rL,{state:c,children:[!n&&!s&&(0,J.jsx)(rN,{checked:r,onChange:l}),"unchecked"!==c&&(0,J.jsx)(tP.EK.Tick,{})]})]}),a&&(0,J.jsx)(rU,{children:a.map(e=>(0,J.jsxs)(rW,{children:[(0,J.jsx)(rK,{name:e.name}),(0,J.jsx)(rq,{children:e.title})]},e.name))})]})})};rG.propTypes={name:i9().string.isRequired,title:i9().string.isRequired,domain:i9().string.isRequired,theme:i9().oneOf(["default","card","bordered"]),onToggle:i9().func,checked:i9().bool,connected:i9().bool,websites:i9().arrayOf(i9().shape({title:i9().string,name:i9().string})),disabled:i9().bool};let rZ=({services:e,itemTheme:t="card",onBack:i,...r})=>{let n=e.filter(e=>e.connected),o=n.length===e.length,a=i7.R.t(`builder.coreg.success.${o?"complete_title":"title"}`);return(0,J.jsxs)(rI,{...r,children:[(0,J.jsxs)(rM,{children:[(0,J.jsx)(rB,{children:a}),(0,J.jsx)(rD,{children:i7.R.t("builder.coreg.success.description")})]}),(0,J.jsx)(r$,{children:n.map(e=>(0,R.createElement)(rG,{...e,key:e.name,theme:t}))}),i&&(0,J.jsx)(rO,{onClick:i,children:i7.R.t("builder.coreg.success.back")})]})};rZ.propTypes={services:i9().array,itemTheme:i9().string,onBack:i9().func};var rX=()=>{let e=(0,eU.wA)(),t=(0,eU.d4)(H.Tp.isModalOpen),i=(0,eU.d4)(H.Tp.services,eU.bN),r=(0,R.useCallback)(()=>e(H.o1.toggleModal(!1)),[e]);return t?(0,J.jsx)(i6.A,{onClick:r,overlayFadeDuration:150,contentSlideDuration:150,children:(0,J.jsxs)(rz,{children:[(0,J.jsx)(rF,{onClick:r,children:(0,J.jsx)(rH,{})}),(0,J.jsx)(rZ,{services:i,itemTheme:"bordered",onBack:r})]})}):null},rQ=i(91954);let rY=(l={base:window.location.origin,defaults:{format:"auto",fit:"scale-down",dpr:eZ.Lv}},(0,rQ.FP)(l));var r0=i.p+"media/cover-letter-modal-letter058ed99648a28f9c.png",r1=i.p+"media/cover-letter-modal-resumedded7b9065c492db.png",r2=i(9421);let r3=Symbol("template thumbnails"),r5=tt.Ay.div(["position:relative;width:100%;max-width:832px;max-height:640px;padding:68px 0 72px;text-align:center;background-color:",";background-image:url(",");background-repeat:no-repeat;background-position:center;background-size:100% auto;border-radius:6px;"," ",""],te.Jy.Neutral10,i(21083),tQ.A.Tablet`
94    max-width: 640px;
95    margin: 0 44px;
96  `,tQ.A.Phone`
97    max-width: 100%;
98    max-height: 100%;
99    height: 100%;
100    padding: 0 20px;
101    background-size: auto 120%;
102    margin: 0;
103    border-radius: 0;
104  `),r4=tt.Ay.div(["max-width:540px;padding:0 60px;margin:0 auto;"," ",""],tQ.A.Tablet`
105    max-width: 440px;
106  `,tQ.A.Phone`
107    max-width: 100%;
108    width: 100%;
109    height: 100%;
110    padding: 0;
111    margin: 0;
112    display: flex;
113    flex-direction: column;
114    align-items: center;
115    justify-content: center;
116  `),r6=tt.Ay.button(["position:absolute;top:0;right:0;color:",";display:flex;padding:16px;border:none;cursor:pointer;&:focus{outline:none;}&:hover{color:",";}",""],te.Jy.Neutral30,te.Jy.Neutral40,tQ.A.Phone`
117    display: flex;
118    justify-content: center;
119    align-items: center;
120    padding: 0;
121    width: 32px;
122    height: 32px;
123    top: 20px;
124    right: 20px;
125    border-radius: 50%;
126    color: ${te.Jy.White};
127    background-color: ${te.Jy.Neutral30};
128
129    &:hover {
130      background-color: ${te.Jy.Neutral40};
131      color: ${te.Jy.White};
132    }
133  `),r8=tt.Ay.div([""," font-weight:bold;margin-bottom:8px;"],td.Ay.M),r9=tt.Ay.div([""," margin-bottom:24px;"],td.Ay.Body),r7=tt.Ay.div(["display:inline-block;position:relative;margin:0 auto 24px;width:200px;height:280px;perspective:800px;",""],tQ.A.Phone`
134    width: 166px;
135    height: 232px;
136  `),ne=(0,tt.i7)(["0%{right:-100px;opacity:0;}100%{opacity:1;right:0;}"]),nt=(0,tt.i7)(["0%{left:-100px;opacity:0;}30%{opacity:1;}100%{opacity:1;left:0;}"]),ni=tt.Ay.div(["position:absolute;top:0;width:100%;height:100%;transform-style:preserve-3d;border-radius:4px;box-shadow:0px 32px 48px rgba(38,43,51,0.12),0px 4px 16px rgba(87,117,167,0.12);transition:transform 0.1s linear;background-repeat:no-repeat;background-position:center;background-size:cover;"]),nr=(0,tt.Ay)(ni)(["background-color:",";animation:"," 2s ease;z-index:2;"],te.Jy.Neutral20,nt),nn=(0,tt.Ay)(ni)(["background-color:",";animation:"," 2s ease;z-index:1;"],te.Jy.Neutral30,ne);var no=({letterId:e})=>{let t=(0,R.useRef)(null),{i18n:i}=(0,e1.s)(),{isPhone:r}=(0,ih.e)(),n=(0,eU.wA)(),{data:o,isLoading:a}=(0,r2.I)({staleTime:1/0,queryKey:[r3,e],queryFn:async()=>{let[{data:t},{data:i}]=await Promise.all([Y.uE.get(`/cover-letters/${e}/template`),Y.uE.get("/resumes/templates")]);return{coverLetter:t.thumbnail,resume:i.find(e=>e.id===t.id)?.thumbnail||""}}}),[l,s]=(0,R.useState)({x:0,y:0}),d=(0,R.useCallback)(e=>{t.current&&s((({mousePosition:e,element:t,range:i})=>{let r=t.getBoundingClientRect(),n=r.right-r.left,o=r.bottom-r.top;return{x:Math.round(i*(e.x-r.left)*100/n/100-i/2),y:Math.round(i*(e.y-r.top)*100/o/100-i/2)}})({mousePosition:{x:e.pageX,y:e.pageY},element:t.current,range:20}))},[]),c=(0,R.useCallback)(()=>{s({x:0,y:0})},[]),u=(0,R.useCallback)(()=>{n(F.o1.closeCoverLetterModal())},[n]),p=(0,R.useCallback)(()=>{n(F.o1.closeCoverLetterModal()),n(U.o1.createDocument({type:eZ.VC.resume}))},[n]),h=rY(o?.resume||r1,{width:200}),x=rY(o?.coverLetter||r0,{width:200}),m=`
137    rotateX(${-l.y+2}deg) rotateY(${l.x+2}deg)
138    translate3d(${-10+l.x}px, -10px, 0)`,g=`
139    rotateX(${-l.y-2}deg) rotateY(${l.x-2}deg)
140    translate3d(10px, 10px, -20px)`;return(0,J.jsx)(i6.A,{fullScreen:r,onClick:u,overlayFadeDuration:150,contentSlideDuration:0,
140children:(0,J.jsx)(r5,{ref:t,onMouseMove:d,onMouseLeave:c,children:(0,J.jsxs)(r4,{children:[(0,J.jsx)(r6,{onClick:u,children:(0,J.jsx)(tP.Ay.Close,{})}),(0,J.jsx)(r7,{children:!a&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(nr,{style:{backgroundImage:`url(${h})`,transform:m}}),(0,J.jsx)(nn,{style:{backgroundImage:`url(${x})`,transform:g}})]})}),(0,J.jsx)(r8,{children:i.t("builder.cover_letter_editor.download_modal.title")}),(0,J.jsx)(r9,{children:i.t("builder.cover_letter_editor.download_modal.subtitle")}),(0,J.jsx)(i$.Ay,{onClick:p,children:i.t("builder.cover_letter_editor.download_modal.create_resume")})]})})})},na=i(35189),nl=i(93971);let ns=tt.Ay.div(["position:relative;overflow:hidden;width:100%;max-width:680px;max-height:620px;padding-top:48px;background-color:",";text-align:center;border-radius:6px;display:flex;flex-direction:column;align-items:stretch;",";"],te.Jy.Neutral10,tQ.A.Phone`
141    border-radius: 0;
142    max-width: 100%;
143    padding-top: 77px;
144    height: 100%;
145    max-height: 100%;
146  `),nd=tt.Ay.div(["",";font-weight:600;margin-bottom:12px;flex-shrink:0;",""],td.Ay.S,tQ.A.Phone`
147    margin: 0 52px 12px;
148  `),nc=tt.Ay.div(["",";max-width:400px;margin:0 auto;flex-shrink:0;",""],td.Ay.Body,tQ.A.Phone`
149    margin: 0 20px;
150    max-width: 100%;
151  `),nu=(0,tt.Ay)(i$.Ay)(["position:absolute;bottom:40px;left:50%;margin:0 auto;transform:translateX(-50%);z-index:1;",""],tQ.A.Phone`
152    ${td.Ay.Caption};
153    padding: 8px 12px;
154    bottom: 72px;
155  `),np=tt.Ay.button(["position:absolute;top:0px;right:0px;color:",";display:flex;align-items:center;justify-content:center;padding:16px;border:none;cursor:pointer;&:focus{outline:none;}&:hover{color:",";}",""],te.Jy.Neutral30,te.Jy.Neutral40,tQ.A.Phone`
156    width: 32px;
157    height: 32px;
158    top: 20px;
159    padding: 0;
160    right: 20px;
161    border-radius: 50%;
162    color: ${te.Jy.White};
163    background-color: ${te.Jy.Neutral30};
164
165    &:hover {
166      color: ${te.Jy.White};
167      background-color: ${te.Jy.Neutral40};
168    }
169  `),nh=tt.Ay.div(["height:464px;width:100%;animation:"," 0.3s ease;animation-fill-mode:forwards;"," & .swiper{position:relative;overflow:visible;}& .swiper-wrapper{display:flex;position:relative;transition-property:transform;}"],im.qG,tQ.A.Phone`
170    height: auto;
171  `),nx=tt.Ay.div(["height:464px;width:100%;",""],tQ.A.Phone`
172    height: auto;
173  `),nm=tt.Ay.div(["position:relative;overflow:hidden;"]),ng=(0,tt.Ay)(i$.jL)(["position:absolute;z-index:2;top:calc(50% + 24px);",""],tQ.A.Phone`
174    display: none;
175  `),ny=(0,tt.Ay)(ng).attrs({direction:"left"})(["left:calc(50% - 210px - 24px);",""],tQ.A.Tablet`
176    left: 24px;
177  `),nf=(0,tt.Ay)(ng)(["right:calc(50% - 210px - 24px);",""],tQ.A.Tablet`
178    right: 24px;
179  `),nb=tt.Ay.div(["width:420px;height:588px;border-radius:6px;position:relative;margin:0 20px;background:"," url(",") no-repeat center;background-size:cover;overflow:hidden;animation-fill-mode:forwards;box-shadow:0px 12px 24px rgba(15,20,31,0.04),0px 24px 40px rgba(15,20,31,0.04);& img{width:100%;}",""],te.Jy.Neutral15,i(34209),tQ.A.Phone`
180    width: 242px;
181    height: 320px;
182    margin: 0 8px;
183    margin-bottom: 32px;
184    box-shadow: 0px 8px 16px rgba(15, 20, 31, 0.04), 0px 16px 32px rgba(15, 20, 31, 0.04);
185  `),n_=tt.Ay.div(["margin:20px auto;display:flex;justify-content:center;height:4px;"]),nv=tt.Ay.div(["width:4px;height:4px;border-radius:4px;background-color:",";transition:background-color 0.3s ease;&:not(:last-child){margin-right:6px;}"],e=>e.$isActive?te.Jy.Blue50:te.Jy.Neutral30),nj=tt.Ay.div(["margin-bottom:20px;"]),nA=tt.Ay.div(["",";font-weight:600;transform:translateY(5px);opacity:0;transition:transform 0.3s ease,opacity 0.3s ease;transition-delay:0;.swiper-slide-active &{transform:translateY(0);transition-delay:0.25s;opacity:1;}"],td.Ay.Body),nC=tt.Ay.div(["",";color:",";transform:translateY(5px);opacity:0;transition:transform 0.3s ease,opacity 0.3s ease;transition-delay:0;.swiper-slide-active &{transform:translateY(0);transition-delay:0.27s;opacity:1;}"],td.Ay.Tiny,te.Jy.Neutral50);var nw=({document:e,templates:t,onChange:i})=>{let{i18n:r}=(0,e1.s)(),[n,o]=(0,R.useState)(0),a=(0,R.useMemo)(()=>e?t.map(t=>({id:t.id,name:t.name,usersChose:t.usersChose,preview:(0,tv.I)(e,{size:480,template:t.i
185d,color:t.settings.color?.default})})):[],[e,t]),l=(0,R.useRef)(null),s=(0,R.useRef)(null),d=(0,R.useCallback)(({realIndex:e})=>{o(e),i(t[e].id)},[t,i]);return(0,J.jsxs)(nm,{children:[(0,J.jsx)(ny,{ref:l,children:(0,J.jsx)(tP.Ay.Chevron,{})}),(0,J.jsx)(nf,{ref:s,children:(0,J.jsx)(tP.Ay.Chevron,{})}),(0,J.jsx)(n_,{children:t.map((e,t)=>(0,J.jsx)(nv,{$isActive:t===n},`dot-${t}`))}),a.length?(0,J.jsx)(nh,{children:(0,J.jsx)(nl.RC,{modules:[na.Vx],navigation:{prevEl:l.current,nextEl:s.current},initialSlide:n,slidesPerView:"auto",loop:!0,spaceBetween:20,centeredSlides:!0,slideToClickedSlide:!0,lazyPreloadPrevNext:1,onSlideChange:d,children:a.map(({id:e,name:t,usersChose:i,preview:n})=>(0,J.jsxs)(nl.qr,{children:[(0,J.jsxs)(nj,{children:[(0,J.jsx)(nA,{children:t}),(0,J.jsx)(nC,{children:r.t("builder.resume_editor.docx_template_select.users_chose_this_template",{number:i})})]}),(0,J.jsx)(nb,{children:(0,J.jsx)("img",{alt:`${e} template`,src:n,loading:"lazy"})})]},`template-${e}`))})}):(0,J.jsx)(nx,{})]})},nk=({documentId:e,documentType:t})=>{let{i18n:i}=(0,e1.s)(),r=(0,eU.wA)(),{isPhone:n}=(0,ih.e)(),o=(e=>{let[t,i]=(0,R.useState)([]);return(0,R.useEffect)(()=>{let t=e===eZ.VC.resume?"resumes":"cover-letters";Y.uE.get(`/${t}/templates`).then(({data:e})=>{i(e.filter(e=>e.supportedFormats.includes("docx")))})},[e]),t})(t),a=((e,t)=>{let[i,r]=(0,R.useState)();return(0,R.useEffect)(()=>{let i=t===eZ.VC.resume?"resumes":"cover-letters";Y.uE.get(`/${i}/${e}`).then(({data:e})=>{r(e)})},[e,t]),i})(e,t),l="resume"===t,s=(0,eU.d4)(Z.Tp.premiumAccess),d=!l||s,[c,u]=(0,R.useState)("stockholm"),p=(0,R.useCallback)(()=>r(F.o1.docxModalClosed()),[r]),h=(0,R.useCallback)(()=>(sessionStorage.setItem(U.U$.COVER_LETTER_TEMPLATE,c),(0,N.xP)("click_docx_upgrade_now_button"),r(F.o1.docxModalClosedDownload({template:c}))),[c,r]);return(0,J.jsx)(i6.A,{fullScreen:n,onClick:p,overlayFadeDuration:250,contentSlideDuration:250,children:(0,J.jsxs)(ns,{children:[(0,J.jsx)(np,{onClick:p,children:(0,J.jsx)(tP.Ay.CloseLarge,{})}),(0,J.jsx)(nu,{onClick:h,children:d?i.t("builder.resume_editor.docx_template_select.download"):i.t("builder.resume_editor.docx_template_select.upgrade")}),(0,J.jsx)(nd,{children:d?i.t("builder.resume_editor.docx_template_select.download_title"):i.t("builder.resume_editor.docx_template_select.upgrade_title")}),(0,J.jsx)(nc,{children:i.t("builder.resume_editor.docx_template_select.description")}),(0,J.jsx)(nw,{document:a,templates:o,onChange:u})]})})},nS=i(7309),nT=i.n(nS),nP=i(22661);let nJ=({options:e,documentId:t,label:i,onChange:r})=>{let n=e.find(e=>e.id===t),{id:o}=n||{},a=t?(0,tv.I)(n):null;return(0,J.jsxs)(nP.mc,{children:[(0,J.jsx)(nP.wF,{label:i,selected:o||null,onSelect:r,options:e}),(0,J.jsx)(nP.cG,{}),(0,J.jsxs)(nP.Ch,{children:[(0,J.jsx)(nP.lN,{children:(0,J.jsx)(tg.A,{src:a})}),(0,J.jsx)(nP.Uf,{})]})]})};nJ.propTypes={options:i9().array,documentId:i9().number,label:i9().string,onChange:i9().func};let nE=tt.Ay.div(["position:relative;width:100%;max-width:544px;background-color:",";border-radius:6px;z-index:999;padding:32px;",";"],te.Jy.White,tQ.A.Phone`
186    height: 100%;
187    max-width: none;
188    max-height: none;
189    border-radius: 0;
190    padding: 20px;
191  `),nR=tt.Ay.div(["position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer;"]),nL=(0,tt.Ay)(nR)(["top:0;right:0;padding:17px 16px;color:",";transition:color 0.15s;&:hover{color:",";}"],te.Jy.Neutral40,te.Jy.Blue50),nN=(0,tt.Ay)(nR)(["top:20px;right:20px;width:32px;height:32px;border-radius:50%;background-color:",";color:",";"],te.Jy.Neutral30,te.Jy.White),nI=tt.Ay.div(["",";font-weight:600;margin-bottom:8px;",";"],td.Ay.S,tQ.A.Phone`
192    max-width: 238px;
193  `),nM=tt.Ay.div(["margin-bottom:24px;",";"],tQ.A.Phone`
194    margin-bottom: 8px;
195  `),nB=tt.Ay.div(["width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;",";"],tQ.A.Phone`
196    flex-direction: column;
197  `),nD=tt.Ay.div(["width:100%;max-width:228px;",";"],tQ.A.Phone`
198    max-width: none;
199
200    &:first-child {
201      margin-bottom: 24px;
202    }
203  `),n$=tt.Ay.div(["display:flex;align-items:center;"]),nO=(0,tt.Ay)(i$.Ay)(["margin-right:8px;"]),nz=tt.Ay.div([""]),nF=tt.Ay.div(["",";color:",";margin-bottom:6px;"],td.Ay.Caption,te.Jy.Neutral50),nH=tt.Ay.div(["width:100%;height:191px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 24px;background-color:",";border-radius:4px;"],te.Jy.Neutral10),nV=tt.Ay.div(["color:",";margin-bottom:8px;"],te.Jy.Neutral50),nU=tt.Ay.div(["color:",";cursor:pointer;&:hover{color:",";}"],te.Jy.Blue50,te.Jy.Blue70),nW=({label:e,text:t,buttonText:i,onButtonClick:r})=>(0,J.jsxs)(nz,{children:[(0,J.jsx)(nF,{children:e}),(0,J.jsxs)(nH,{children:[(0,J.jsx)(nV,{children:t}),(0,J.jsx)(nU,{onClick:r,children:i})]})]});nW.propTypes={label:i9().string,text:i9().string,buttonText:i9().string,onButtonClick:i9().func};var nK=i(89123),nq=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)(),i=(0,eW.N)(e=>e.ui.mergeModalResumeId),r=(0,eW.N)(e=>e.ui.mergeModalCoverLetterId),{allResumes:n,coverLetters:o}=(0,nK.U)(),[a,l]=(0,R.useState)(i),[s,d]=(0,R.useState)(r);(0,R.useEffect)(()=>{!i&&n.length&&l(n[0].id)},[n,i]),(0,R.useEffect)(()=>{!r&&o.length&&d(o[0].id)},[o,r]);let c=(0,R.useCallback)(()=>{let e=nT()(n,{id:a}),i=nT()(o,{id:s});t(z.o1.downloadMergedDocuments({resume:e,coverLetter:i})),(0,N._m)("Dashboard","Download Merged Documents"),t(F.o1.closeMergeModal())},[t,o,n,s,a]),u=(0,R.useCallback)(()=>t(F.o1.closeMergeModal()),[t]),p=(0,R.useCallback)(()=>{t(U.o1.createDocument({type:eZ.VC.resume})),t(F.o1.closeMergeModal())},[t]),h=(0,R.useCallback)(()=>{t(U.o1.createDocument({type:eZ.VC.coverLetter})),t(F.o1.closeMergeModal())},[t]),{isPhone:x}=(0,ih.e)(),m=x?tP.Ay.Close:tP.Ay.CloseLarge,g=t=>t.map(t=>({...t,name:t.name||e.t("builder.dashboard.untitled")})),y=g(n),f=g(o),b=a&&s;return(0,J.jsx)(i6.A,{onClick:u,overlayFadeDuration:150*!x,contentSlideDuration:150*!x,fullScreen:x,children:(0,J.jsxs)(nE,{children:[(0,J.jsx)(x?nN:nL,{onClick:u,children:(0,J.jsx)(m,{})}),(0,J.jsx)(nI,{children:e.t("builder.merge_modal.title")}),(0,J.jsx)(nM,{children:e.t("builder.merge_modal.text")}),(0,J.jsxs)(nB,{children:[(0,J.jsx)(nD,{children:f.length?(0,J.jsx)(nJ,{options:f,documentId:s,label:e.t("builder.merge_modal.cover_letter"),onChange:d}):(0,J.jsx)(nW,{label:e.t("builder.merge_modal.cover_letter"),text:e.t("builder.merge_modal.cover_letter_placeholder_text"),buttonText:e.t("builder.merge_modal.create_cover_letter"),onButtonClick:h})}),(0,J.jsx)(nD,{children:y.length?(0,J.jsx)(nJ,{options:y,documentId:a,label:"Resume",onCh
203ange:l}):(0,J.jsx)(nW,{label:e.t("builder.merge_modal.resume"),text:e.t("builder.merge_modal.resume_placeholder_text"),buttonText:e.t("builder.merge_modal.create_new_resume"),onButtonClick:p})})]}),(0,J.jsxs)(n$,{children:[(0,J.jsx)(nO,{isDisabled:!b,onClick:c,children:e.t("builder.merge_modal.download_pdf")}),(0,J.jsx)(i$.Ay,{theme:"ghost",onClick:u,children:e.t("builder.merge_modal.cancel")})]})]})})};let nG=tt.Ay.div(["position:relative;overflow:hidden;width:100%;max-width:832px;height:calc(100vh - 64px);max-height:720px;background-color:",";border-radius:6px;"," ",";"],te.Jy.Neutral10,tQ.A.Tablet`
204    max-width: 680px;
205    height: 640px;
206  `,tQ.A.Phone`
207    border-radius: 0;
208    max-width: 100%;
209    height: 100%;
210    max-height: 100%;
211  `),nZ=tt.Ay.button(["position:absolute;top:0px;right:0px;color:",";display:flex;align-items:center;justify-content:center;padding:16px;border:none;cursor:pointer;z-index:10;&:focus,&:hover{outline:none;color:",";}",""],te.Jy.Neutral30,te.Jy.Neutral40,tQ.A.Phone`
212    width: 32px;
213    height: 32px;
214    top: 20px;
215    padding: 0;
216    right: 20px;
217    border-radius: 50%;
218    color: ${te.Jy.White};
219    background-color: ${te.Jy.Neutral30};
220
221    &:hover {
222      color: ${te.Jy.White};
223      background-color: ${te.Jy.Neutral40};
224    }
225  `);var nX=i(82351);let nQ=e=>{let t=e?.background||te.Jy.Neutral10;return(0,tt.AH)(["&::-webkit-scrollbar{width:12px;background-color:transparent;}&::-webkit-scrollbar-thumb{background-color:",";border-radius:24px;border:4px solid ",";}"],te.Jy.Neutral40,t)},nY=tt.Ay.div(["width:100%;height:100%;display:flex;flex-direction:column;align-items:stretch;background:",";"],te.Jy.Neutral10),n0=tt.Ay.div([""," overflow-y:auto;height:100%;"],nQ()),n1=tt.Ay.div(["flex-shrink:0;display:flex;align-items:center;padding:20px 24px;background:",";justify-content:space-between;border-top:1px solid ",";",""],te.Jy.White,te.Jy.Neutral10,tQ.A.Phone`
226    flex-direction: column;
227    align-items: stretch;
228    padding: 20px;
229
230    & > :first-child {
231      margin-bottom: 12px;
232    }
233  `),n2=tt.Ay.div(["display:flex;align-items:center;justify-content:flex-end;width:30%;"]),n3=tt.Ay.div(["margin-right:16px;"]),n5=(0,tt.Ay)(tP.EK.Star)(["width:20px;height:20px;fill:",";"],e=>e.disabled?te.Jy.Neutral30:te.Jy.Orange40),n4=tt.Ay.div(["",";text-align:center;line-height:32px;width:32px;height:32px;border-radius:16px;background:",";color:",";font-weight:600;"],td.Ay.Tiny,te.Jy.Indigo70,te.Jy.White),n6=(0,tt.Ay)(tP.Ay.Chevron)(["fill:",";transform:rotate(180deg);margin-right:4px;width:24px;height:24px;"],te.Jy.Blue50),n8=tt.Ay.button([""," text-align:left;border:none;display:flex;align-items:center;background:transparent;padding:0;font-weight:600;color:",";width:30%;cursor:pointer;&:focus,&:hover{outline:none;color:",";","{fill:",";}}"],td.Ay.ButtonM,te.Jy.Blue50,te.Jy.Blue70,n6,te.Jy.Blue70),n9=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;padding:48px 32px;",""],tQ.A.Phone`
234    padding: 92px 40px 32px;
235  `),n7=tt.Ay.div(["width:40px;height:40px;margin-bottom:4px;background:url(",") no-repeat center;background-size:100%;"],e=>e.url),oe=tt.Ay.div([""," letter-spacing:1.8px;color:",";margin-bottom:8px;font-weight:600;"],td.Ay.Caps,te.Jy.Blue50),ot=tt.Ay.div([""," margin-bottom:24px;font-weight:bold;",""],td.Ay.L,tQ.A.Phone`
236    text-align: center;
237  `),oi=tt.Ay.div(["width:100%;max-width:592px;border-radius:4px;overflow:hidden;position:relative;& img{position:absolute;display:block;top:0;left:0;width:100%;}&::after{content:'';display:block;width:100%;padding-bottom:141%;}"]),or=(0,tt.Ay)(i$.jL)(["position:absolute;bottom:calc(50% - 48px);",""],tQ.A.Phone`
238    width: 40px;
239    height: 40px;
240    bottom: calc(50% - 40px);
241  `),on=(0,tt.Ay)(or).attrs({direction:"left"})(["left:32px;"," ",""],tQ.A.Tablet`
242    left: 16px;
243  `,tQ.A.Phone`
244    left: 20px;
245  `),oo=(0,tt.Ay)(or)(["right:32px;"," ",""],tQ.A.Tablet`
246    right: 24px;
247  `,tQ.A.Phone`
248    right: 32px;
249  `);var oa=({example:e,category:t,onClose:i,onSelect:r,onNextClick:n,onPrevClick:o,isLast:a,isFirst:l})=>{let{i18n:s}=(0,e1.s)(),{isPhone:d}=(0,ih.e)(),[c,u]=(0,R.useState)(null);return(0,J.jsxs)(nY,{children:[(0,J.jsx)(n0,{children:(0,J.jsxs)(n9,{children:[t.iconUrl&&(0,J.jsx)(n7,{url:t.iconUrl}),(0,J.jsx)(oe,{children:t.name}),(0,J.jsx)(ot,{children:e.jobTitle}),(0,J.jsx)(oi,{children:(0,J.jsx)("img",{src:e.previewImageUrl})})]})}),!l&&(0,J.jsx)(on,{onClick:o,children:(0,J.jsx)(tP.Ay.Chevron,{})}),!a&&(0,J.jsx)(oo,{onClick:n,children:(0,J.jsx)(tP.Ay.Chevron,{})}),(0,J.jsxs)(n1,{children:[!d&&(0,J.jsxs)(n8,{onClick:i,children:[(0,J.jsx)(n6,{}),(0,J.jsx)("span",{children:s.t("builder.prefill.back_to_catalog")})]}),(0,J.jsx)(i$.Ay,{onClick:()=>u(e.id),children:s.t("builder.prefill.edit_example")}),d&&(0,J.jsx)(i$.Ay,{theme:"ghost",onClick:i,children:s.t("builder.prefill.back_to_catalog")}),!d&&(0,J.jsxs)(n2,{children:[(0,J.jsxs)(n3,{children:[(0,J.jsx)(n5,{}),(0,J.jsx)(n5,{}),(0,J.jsx)(n5,{}),(0,J.jsx)(n5,{}),(0,J.jsx)(n5,{disabled:e.ratingScore<4.5})]}),(0,J.jsx)(n4,{children:e.ratingScore})]})]}),(0,J.jsx)(nX.A,{title:s.t("builder.prefill.confirmation_title"),text:s.t("builder.prefill.confirmation_text"),primaryButtonText:s.t("builder.prefill.confirmation_decline"),secondaryButtonText:s.t("builder.prefill.confirmation_accept"),isOpen:!!c,primaryAction:()=>u(null),secondaryAction:()=>c&&r(c),closeAction:()=>u(null)})]})};let ol=tt.Ay.div(["display:flex;flex-direction:column;position:relative;z-index:1;align-items:stretch;height:100%;"]),os=tt.Ay.div(["padding:32px 32px 0px;",""],tQ.A.Phone`
250    padding: 32px 20px 0;
251  `),od=tt.Ay.div(["position:relative;height:100%;display:flex;align-items:flex-start;overflow:hidden;"]),oc=tt.Ay.div([""," margin-bottom:16px;font-weight:600;"],td.Ay.M),ou=tt.Ay.div(["width:calc((100% - 72px) / 4);height:100%;flex-shrink:0;margin-right:24px;padding-left:32px;position:relative;&::before{content:'';display:block;position:absolute;top:0;left:0;width:calc(100% - 12px);height:32px;z-index:1;background:linear-gradient(to bottom,",",",");}
251",""],te.Jy.Neutral10,(0,ti.j)(te.Jy.Neutral10,0),tQ.A.Tablet`
252    width: calc((100% - 40px) / 3);
253    margin-right: 20px;
254  `),op=tt.Ay.div([""," overflow-y:auto;display:flex;flex-direction:column;height:100%;padding:24px 0 32px;"],nQ()),oh=tt.Ay.div([""," letter-spacing:1.8px;font-weight:600;margin-bottom:8px;"],td.Ay.Caps),ox=tt.Ay.button([""," border:none;background:transparent;padding:0;color:",";transition:color 0.2s ease;cursor:pointer;text-align:left;&:not(:last-child){padding-bottom:4px;}&:focus,&:hover{outline:none;color:",";}"],td.Ay.Caption,te.Jy.Neutral60,te.Jy.Blue50),om=tt.Ay.div(["position:relative;width:100%;height:100%;&::before{content:'';display:block;position:absolute;top:0;left:0;width:calc(100% - 12px);height:32px;z-index:1;background:linear-gradient(to bottom,",",",");}",""],te.Jy.Neutral10,(0,ti.j)(te.Jy.Neutral10,0),tQ.A.Phone`
255    padding: 0 0 0 20px;
256  `),og=tt.Ay.div([""," height:100%;padding-bottom:40px;overflow-y:auto;padding-right:22px;",""],nQ(),tQ.A.Phone`
257    padding-right: 8px;
258  `),oy=tt.Ay.div(["display:grid;grid-template-columns:repeat(3,1fr);grid-gap:24px;margin-bottom:16px;padding-top:24px;"," ",""],tQ.A.Tablet`
259    grid-template-columns: repeat(2, 1fr);
260    grid-gap: 20px;
261    margin-bottom: 32px;
262  `,tQ.A.Phone`
263    grid-gap: 16px;
264    padding-top: 0;
265    margin-bottom: 0px;
266  `),of=tt.Ay.div(["padding-bottom:16px;border-bottom:1px solid ",";grid-column-start:1;grid-column-end:4;"," ",""],te.Jy.Neutral20,tQ.A.Tablet`
267    grid-column-end: 3;
268  `,tQ.A.Phone`
269    position: sticky;
270    top: 0px;
271    background: ${te.Jy.Neutral10};
272    z-index: 2;
273    padding-top: 20px;
274    padding-bottom: 12px;
275
276    &:after {
277      content: '';
278      display: block;
279      position: absolute;
280      top: calc(100% + 1px);
281      left: 0;
282      width: 100%;
283      height: 24px;
284      background: linear-gradient(
285        to bottom,
286        ${te.Jy.Neutral10},
287        ${(0,ti.j)(te.Jy.Neutral10,0)}
288      );
289    }
290  `),ob=tt.Ay.div([""," font-weight:600;"],td.Ay.Subhead),o_=tt.Ay.div([""," color:",";"],td.Ay.Caption,te.Jy.Neutral50),ov=tt.Ay.div([""," transition:color 0.2s ease;margin-top:12px;"],td.Ay.Caption),oj=tt.Ay.div(["display:flex;margin-top:4px;"]),oA=tt.Ay.div(["width:100%;position:relative;border-radius:4px;overflow:hidden;box-shadow:0 2px 4px ",";transition:box-shadow 0.2s ease;background:",";& img{display:block;position:absolute;top:0;left:0;width:100%;}&::after{content:'';display:block;padding-bottom:141%;}"],(0,ti.j)(te.Jy.Neutral30,.12),te.Jy.White),oC=tt.Ay.button(["border:none;padding:0;background:transparent;text-align:left;cursor:pointer;margin-bottom:auto;&:focus,&:hover{outline:none;","{color:",";}","{box-shadow:0 8px 16px -4px ",";}}"],ov,te.Jy.Blue50,oA,(0,ti.j)(te.Jy.Neutral50,.3)),ow=tt.Ay.div(["width:20px;height:20px;background-image:url(",");background-size:auto 20px;background-position:","px 0;&:not(:last-child){margin-right:2px;}",";"],i(16737),e=>e.disabled?-20:0,tQ.A.Phone`
291    width: 16px;
292    height: 16px;
293  `),ok=tt.Ay.div(["animation:"," 2s infinite linear;background:",";border-radius:2px;"],im.dd,te.Jy.Neutral20),oS=(0,tt.Ay)(ok)(["width:200px;height:16px;margin:4px 0 2px;"]),oT=(0,tt.Ay)(ok)(["width:70%;height:22px;margin:3px 0;"]),oP=(0,tt.Ay)(ok)(["width:100%;border-radius:4px;background:",";&::after{content:'';display:block;padding-bottom:141%;}"],te.Jy.White),oJ=(0,tt.Ay)(ok)(["width:","%;height:16px;margin:4px 0;flex-shrink:0;"],e=>e.width),oE=tt.Ay.div(["background:",";border-radius:4px;padding:0 16px;display:flex;align-items:center;position:relative;z-index:2;",""],te.Jy.White,tQ.A.Phone`
294    padding: 0 12px;
295    z-index: 10;
296  `),oR=tt.Ay.div(["margin-right:12px;width:24px;height:24px;flex-shrink:0;color:",";"],te.Jy.Blue50),oL=tt.Ay.input(["width:100%;border:none;padding:12px 0;&::placeholder{color:",";}"],te.Jy.Neutral50),oN=tt.Ay.div(["position:absolute;top:calc(100% + 8px);left:0;width:100%;border-radius:4px;background-color:",";z-index:2;overflow:hidden;box-shadow:0 2px 4px ",";&::before,&::after{content:'';display:block;position:absolute;height:24px;width:calc(100% - 16px);background:linear-gradient(to bottom,",",",");z-index:2;pointer-events:none;}&::before{top:0;}&::after{transform:scaleY(-1);bottom:0;}"],te.Jy.White,(0,ti.j)(te.Jy.Neutral30,.3),te.Jy.White,(0,ti.j)(te.Jy.White,0)),oI=tt.Ay.div([""," position:relative;max-height:250px;overflow-y:auto;z-index:1;padding:12px 0;"],nQ({background:te.Jy.White})),oM=tt.Ay.button(["border:none;text-align:left;width:100%;background:transparent;padding:12px 52px;transition:color 0.2s ease;cursor:pointer;&:not(:last-child)::after{content:'';display:block;position:relative;top:12px;width:100%;height:1px;background:",";margin:0 auto;}&:focus,&:hover{outline:none;color:",";}",""],te.Jy.Neutral10,te.Jy.Blue50,tQ.A.Phone`
297    padding: 12px 48px;
298  `),oB=()=>(0,J.jsxs)(oC,{children:[(0,J.jsx)(oP,{}),(0,J.jsxs)(oj,{children:[(0,J.jsx)(ow,{disabled:!0}),(0,J.jsx)(ow,{disabled:!0}),(0,J.jsx)(ow,{disabled:!0}),(0,J.jsx)(ow,{disabled:!0}),(0,J.jsx)(ow,{disabled:!0})]})]});var oD=()=>{let{i18n:e}=(0,e1.s)(),{isPhone:t}=(0,ih.e)();
298return(0,J.jsxs)(od,{children:[!t&&(0,J.jsx)(ou,{children:(0,J.jsxs)(op,{children:[(0,J.jsx)(oh,{children:e.t("builder.prefill.category")}),(0,J.jsx)(oJ,{width:90}),(0,J.jsx)(oJ,{width:70}),(0,J.jsx)(oJ,{width:85}),(0,J.jsx)(oJ,{width:60}),(0,J.jsx)(oJ,{width:70})]})}),(0,J.jsx)(om,{children:(0,J.jsx)(og,{children:(0,J.jsxs)(oy,{children:[(0,J.jsxs)(of,{children:[(0,J.jsx)(oT,{}),(0,J.jsx)(oS,{})]}),(0,J.jsx)(oB,{}),(0,J.jsx)(oB,{}),(0,J.jsx)(oB,{}),(0,J.jsx)(oB,{}),(0,J.jsx)(oB,{}),(0,J.jsx)(oB,{})]})})})]})},o$=i(38102),oO=i(62317);i(44114);let oz=(e,t)=>!t||!!e.jobTitle&&e.jobTitle.toLowerCase().indexOf(t.toLowerCase())>=0,oF=(e,t)=>{let i=[];for(let r=0;r<e.length;r++){let n=e[r];if(oz(n,t)&&i.push(n),i.length>=20)break}return i};var oH=({examples:e,onSelect:t})=>{let{i18n:i}=(0,e1.s)(),r=(0,R.useRef)(null),[n,o]=(0,R.useState)(""),[a,l]=(0,R.useState)([]),[s,d]=(0,R.useState)(!1);(0,oO.L)(r,()=>d(!1)),(0,o$.default)(()=>l(oF(e,n)),350,[n]);let c=(0,R.useCallback)(e=>{o(e.currentTarget.value)},[]);(0,R.useEffect)(()=>{a.length&&d(!0)},[a]);let u=(0,R.useCallback)(()=>{l(oF(e,n))},[e,n]);return(0,J.jsxs)(oE,{ref:r,children:[(0,J.jsx)(oR,{children:(0,J.jsx)(tP.Ay.Search,{})}),(0,J.jsx)(oL,{placeholder:i.t("builder.prefill.search_placeholder"),name:"search",type:"search",value:n,onInput:c,onChange:c,onFocus:u}),s&&(0,J.jsx)(oN,{children:(0,J.jsx)(oI,{children:a.map(({id:e,jobTitle:i})=>(0,J.jsx)(oM,{onClick:()=>t(e),children:i},`result-${e}`))})})]})},oV=({categoryId:e,categoryName:t,examples:i,onSelect:r})=>{let{i18n:n}=(0,e1.s)();return 0===i.length?null:(0,J.jsxs)(oy,{id:`category-${e}`,children:[(0,J.jsxs)(of,{children:[(0,J.jsx)(ob,{children:t}),(0,J.jsx)(o_,{children:n.t("builder.prefill.resumes_count",{count:i.length})})]}),i.map(({id:e,jobTitle:t,previewImageUrl:i,ratingScore:n})=>(0,J.jsxs)(oC,{onClick:()=>r(e),children:[(0,J.jsx)(oA,{children:(0,J.jsx)("img",{loading:"lazy",src:i})}),(0,J.jsx)(ov,{children:t}),(0,J.jsxs)(oj,{children:[(0,J.jsx)(ow,{}),(0,J.jsx)(ow,{}),(0,J.jsx)(ow,{}),(0,J.jsx)(ow,{}),(0,J.jsx)(ow,{disabled:n<4.5})]})]},`example-${e}`))]})},oU=({examples:e,categories:t,onExampleSelect:i})=>{let{i18n:r}=(0,e1.s)(),n=(0,ih.e)(),o=(0,R.useRef)(null),a=(0,R.useCallback)(e=>()=>{let t=o.current?.querySelector(`#category-${e}`);t?.scrollIntoView({behavior:"smooth",block:"start"})},[]);return(0,J.jsxs)(ol,{children:[(0,J.jsxs)(os,{children:[(0,J.jsx)(oc,{children:r.t("builder.prefill.catalog_title")}),(0,J.jsx)(oH,{examples:e,onSelect:i})]}),e.length&&t.length?(0,J.jsxs)(od,{children:[!n.isPhone&&(0,J.jsx)(ou,{children:(0,J.jsxs)(op,{children:[(0,J.jsx)(oh,{children:r.t("builder.prefill.category")}),t.map(({id:e,name:t})=>(0,J.jsx)(ox,{onClick:a(e),children:t},`category-${e}`))]})}),(0,J.jsx)(om,{ref:o,children:(0,J.jsx)(og,{children:t.map(({id:e,name:t,examples:r})=>(0,J.jsx)(oV,{categoryId:e,categoryName:t,examples:r,onSelect:i},`group-${e}`))})})]}):(0,J.jsx)(oD,{})]})},oW=({documentId:e})=>{let t=(0,eU.wA)(),i=(0,ih.e)(),[r,n]=(()=>{let[e,t]=(0,R.useState)([[],[]]);return(0,R.useEffect)(()=>{Y.uE.get("/examples/categories").then(({data:{categories:e}})=>{t([e,(e=>{let t=[];for(let i=0;i<e.length;i++)t=t.concat(e[i].examples);return t})(e)])})},[]),e})(),[o,a]=(0,R.useState)(null),[l,s]=(0,R.useState)(0),d=(0,R.useMemo)(()=>{let e=n.find(({id:e},t)=>e===o&&(s(t),!0)),t=r.find(({id:t})=>t===e?.exampleCategoryId);return e&&t?{example:e,category:t}:null},[n,r,o]),c=(0,R.useMemo)(()=>n.length>0&&0===l,[n,l]),u=(0,R.useMemo)(()=>n.length>0&&l===n.length-1,[n,l]),p=(0,R.useCallback)(()=>a(null),[]),h=(0,R.useCallback)(()=>{t(F.o1.setPrefillModalDocumentId(null))},[t]),x=(0,R.useCallback)(i=>{t($.o1.prefillResume({documentId:e,exampleId:i}))},[t,e]),m=(0,R.useCallback)(()=>{c||a(n[l-1].id)},[n,c,l]),g=(0,R.useCallback)(()=>{u||a(n[l+1].id)},[n,u,l]);return(0,J.jsx)(i6.A,{fullScreen:i.isPhone,onClick:h,overlayFadeDuration:250,contentSlideDuration:0,children:(0,J.jsxs)(nG,{children:[(0,J.jsx)(nZ,{onClick:h,children:(0,J.jsx)(tP.Ay.CloseLarge,{})}),d?(0,J.jsx)(oa,{...d,isLast:u,isFirst:c,onNextClick:g,onPrevClick:m,onClose:p,onSelect:x}):(0,J.jsx)(oU,{examples:n,categories:r,onExampleSelect:a})]})})};let oK=tt.Ay.div(["position:relative;overflow:hidden;display:flex;flex-direction:column;width:100%;max-width:700px;height:calc(100vh - 100px);background-color:",";border-radius:6px;",";"],te.Jy.White,tQ.A.Phone`
299    max-width: none;
300    height: 100%;
301    border-radius: 0;
302  `),oq=tt.Ay.div(["position:relative;display:flex;justify-content:space-between;align-items:center;width:100%;padding:16px;border-bottom:1px solid ",";background-color:",";",";"],te.Jy.Neutral15,te.Jy.White,tQ.A.AbovePhone`
303    padding-left: 32px;
304  `),oG=tt.Ay.div(["width:114px;
304height:28px;background:url(",") no-repeat;"],i(77967)),oZ=tt.Ay.div(["position:relative;overflow:hidden;width:100%;flex-grow:1;"]),oX=tt.Ay.iframe.attrs({frameBorder:0})(["position:absolute;left:0;top:-72px;width:100%;height:calc(100% + 72px);"]),oQ=tt.Ay.div(["position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;color:",";transition:color 0.15s;&:hover{color:",";}&:after{content:'';position:absolute;top:-12px;right:-12px;bottom:-12px;left:-12px;}"],te.Jy.Neutral40,te.Jy.Blue50),oY=({iframeUrl:e,onClose:t})=>(0,J.jsx)(i6.A,{onClick:t,children:(0,J.jsxs)(oK,{children:[(0,J.jsxs)(oq,{children:[(0,J.jsx)(oG,{}),(0,J.jsx)(oQ,{onClick:t,children:(0,J.jsx)(tP.qJ.Close,{})})]}),(0,J.jsx)(oZ,{children:(0,J.jsx)(oX,{src:e})})]})}),o0=tt.Ay.div(["position:relative;width:100%;max-width:420px;text-align:center;"]),o1=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;opacity:",";visibility:",";transition:opacity 0.2s,visibility 0.2s;"],e=>+!!e.isVisible,e=>e.isVisible?"visible":"hidden"),o2=(0,tt.Ay)(o1)([""]),o3=tt.Ay.div(["",";font-weight:600;margin-bottom:8px;"],td.Ay.S),o5=tt.Ay.div(["max-width:400px;"]),o4=tt.Ay.div(["width:100%;max-width:360px;display:flex;align-items:center;justify-content:space-between;margin:24px 0;",";"],tQ.A.Phone`
305    padding: 0 8px;
306  `),o6=tt.Ay.div(["width:40px;height:40px;transition:transform 0.1s ease;background-image:url(",");background-size:cover;background-position-x:",";",";"],i(83400),({index:e})=>`${-40*e}px`,e=>tQ.A.Phone`
307    width: 32px;
308    height: 32px;
309    background-position-x: ${-32*e.index}px;
310  `),o8=tt.Ay.div(["position:relative;display:flex;flex-direction:column;
310cursor:pointer;align-items:center;transition:opacity 0.1s ease;"," & ","{","}&:hover ","{transform:scale(1.25);}"],({isDisabled:e})=>e&&(0,tt.AH)(["opacity:0.4;"]),o6,({isActive:e})=>e&&(0,tt.AH)(["transform:scale(1.25);"]),o6),o9=tt.Ay.div(["position:absolute;bottom:-24px;min-width:80px;left:calc(50% - 40px);",";color:",";"],td.Ay.Tiny,te.Jy.Neutral50),o7=(0,tt.Ay)(o1)(["position:absolute;left:0;top:0;width:100%;height:100%;"]),ae=tt.Ay.div(["margin-bottom:20px;",";font-weight:600;"],td.Ay.Subhead),at=(0,tt.Ay)(re.l)(["width:100%;margin-bottom:24px;"]),ai=(0,tt.Ay)(i$.Ay)([""]),ar=(0,tt.Ay)(o1)(["position:absolute;left:0;top:0;width:100%;height:100%;"]),an=(0,tt.Ay)(tP.EK.Tick)(["margin-bottom:20px;width:48px;height:48px;border-radius:50%;border:4px solid ",";background-color:",";color:",";"],te.Jy.Green20,te.Jy.Green20,te.Jy.Green50),ao=()=>{let{i18n:e}=(0,e1.s)(),[t,i]=(0,R.useState)(null),[r,n]=(0,R.useState)(!1),[o,a]=(0,R.useState)(!1),[l,s]=(0,R.useState)(""),{iframeUrl:d}=(()=>{let[e,t]=(0,R.useState)(null);return(0,R.useEffect)(()=>{Y.uE.post("/feedback/trustpilot-link").then(e=>{e.data.success&&t(e.data.link)})},[]),{iframeUrl:e}})(),{isTablet:c}=(0,ih.e)(),u=(0,R.useRef)(null),p=[e.t("builder.after_sale.feedback_form.bad"),e.t("builder.after_sale.feedback_form.poor"),e.t("builder.after_sale.feedback_form.average"),e.t("builder.after_sale.feedback_form.great"),e.t("builder.after_sale.feedback_form.excellent")],h=(0,R.useMemo)(()=>r?"DONE":t&&t<=3?"FORM":"RATE",[r,t]);return(0,R.useEffect)(()=>{"FORM"===h&&setTimeout(()=>u.current?.focus(),150)},[h]),(0,J.jsxs)(o0,{children:[(0,J.jsxs)(o2,{isVisible:"RATE"===h,children:[(0,J.jsx)(o3,{children:e.t("builder.after_sale.feedback_form.how_would_you_rate")}),(0,J.jsx)(o5,{children:e.t("builder.after_sale.feedback_form.help_us_improve_service")}),(0,J.jsx)(o4,{children:p.map((e,r)=>(0,J.jsxs)(o8,{isActive:t===r+1,isDisabled:null!==t&&t!==r+1,onClick:()=>{var e;i(e=r+1),e>3&&(Y.uE.post("/feedback/save-rating",{rating:e}),n(!0),!c&&d&&a(!0))},children:[(0,J.jsx)(o6,{index:r}),(0,J.jsx)(o9,{children:e})]},r))})]}),(0,J.jsxs)(o7,{as:"form",isVisible:"FORM"===h,onSubmit:e=>{e.preventDefault(),t&&l.trim().length&&(Y.uE.post("/feedback/rate",{message:l,rating:t}),n(!0))},children:[(0,J.jsx)(ae,{children:e.t("builder.after_sale.feedback_form.what_went_wrong")}),(0,J.jsx)(at,{ref:u,value:l,placeholder:e.t("builder.after_sale.feedback_form.placeholder"),onChange:e=>{s(e.target.value)},rows:3}),(0,J.jsx)(ai,{type:"submit",children:e.t("builder.after_sale.feedback_form.send_feedback")})]}),(0,J.jsxs)(ar,{isVisible:"DONE"===h,children:[(0,J.jsx)(an,{}),(0,J.jsx)(o3,{children:e.t("builder.after_sale.feedback_form.success_title")}),(0,J.jsx)(o5,{children:e.t("builder.after_sale.feedback_form.success_text")})]}),o&&d&&(0,J.jsx)(oY,{iframeUrl:d,onClose:()=>a(!1)})]})},aa=tt.Ay.div(["position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:92px 40px;width:100%;max-width:544px;background-color:",";border-radius:6px;",";"],te.Jy.White,tQ.A.Phone`
311    max-width: none;
312    height: 100%;
313    padding: 40px 20px;
314    border-radius: 0;
315    overflow-y: auto;
316    -webkit-overflow-scrolling: touch;
317  `),al=tt.Ay.div(["display:flex;align-items:center;justify-content:center;cursor:pointer;"]),as=(0,tt.Ay)(al)(["position:absolute;top:0;right:0;padding:16px;color:",";transition:color 0.15s;&:hover{color:",";}"],te.Jy.Neutral40,te.Jy.Blue50),ad=(0,tt.Ay)(al)(["position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;background-color:",";color:",";"],te.Jy.Neutral30,te.Jy.White),ac=()=>{let e=(0,eU.wA)(),{isPhone:t}=(0,ih.e)(),i=(0,R.useCallback)(()=>e(F.o1.closeRateModal()),[e]),r=t?tP.qJ.Close:tP.qJ.CloseLarge;return(0,J.jsx)(i6.A,{onClick:i,overlayFadeDuration:350*!t,contentSlideDuration:350*!t,fullScreen:t,children:(0,J.jsxs)(aa,{children:[(0,J.jsx)(ao,{}),(0,J.jsx)(t?ad:as,{onClick:i,children:(0,J.jsx)(r,{})})]})})};var au=i(55378),ap=i.n(au),ah=i(90128),ax=i.n(ah),am=i(39204),ag=((s={}).share="share",s.stats="stats",s);let ay=(e,t)=>{var i;let r,n,o,a,l=encodeURIComponent(e),s=encodeURIComponent(i7.R.t("builder.resume_editor.share_modal.twitter_text"));i=({facebook:`https://www.facebook.com/sharer/sharer.php?u=${l}`,linkedin:`https://www.linkedin.com/shareArticle?url=${l}`,twitter:`https://twitter.com/intent/tweet?url=${l}&text=${s}`})[t],r=Math.round(window.screen.width/2-300),n=Math.round(window.screen.height/3-250),o=`
318    left=${r},
319    top=${n},
320    width=600,
321    height=500,
322    personalbar=0,
323    toolbar=0,
324    scrollbars=1,
325    resizable=1
326  `,(a=window.open(i,window.name,o))?a.focus():window.location.href=i,(0,N._m)("Sharing Modal",{facebook:"Open Facebook Dialog",linkedin:"Open LinkedIn Dialog",twitter:"Open Twitter Dialog"}[t]),(0,N.xP)("share_sharing_link",{network:t})},af=tt.Ay.div(["padding:32px;",";"],tQ.A.Phone`
327    padding: 24px 20px;
328  `),ab=tt.Ay.div(["",";font-weight:600;margin-bottom:8px;"],td.Ay.S),a_=tt.Ay.div(["margin-bottom:16px;"]),av=tt.Ay.div(["display:flex;flex-wrap:wrap;flex-direction:row-reverse;justify-content:flex-end;margin-top:32px;margin-bottom:-12px;",";"],tQ.A.Phone`
329    margin-top: 12px;
330  `),aj=tt.Ay.div(["display:flex;align-items:center;flex-grow:1;padding:12px 0;margin-right:8px;"]),aA={facebook:"#3B5998",linkedin:"#0077B5",twitter:"#1DA1F2"},aC=tt.Ay.div(["display:inline-block;padding:10px;margin-right:8px;border:1px solid ",";border-radius:50%;transition:border-color 0.2s,background-color 0.2s;cursor:pointer;&:hover{border-color:",";background-color:",";}& svg{display:block;width:20px;height:20px;}& path{transition:fill 0.2s;}
330&:hover path{fill:",";}"],te.Jy.Neutral20,e=>aA[e.network],e=>aA[e.network],te.Jy.White),aw=tt.Ay.div(["display:flex;align-items:center;padding:12px 0;"]),ak=(0,tt.Ay)(i$.Ay)(["position:relative;margin-left:24px;&:first-child{margin-left:0;}"]),aS=tt.Ay.span(["opacity:",";transition:opacity 0.2s;"],e=>+!e.isCopied),aT=tt.Ay.span(["position:absolute;width:100%;left:0;top:50%;transform:translateY(-50%);opacity:",";transition:opacity 0.2s;"],e=>+!!e.isCopied),aP=tt.Ay.a(["",";color:",";transition:color 0.2s;font-weight:600;&:hover{color:",";}"],td.Ay.ButtonM,te.Jy.Blue50,te.Jy.Blue70),aJ=tt.Ay.div(["margin-top:32px;padding-top:12px;border-top:1px solid ",";"],te.Jy.Neutral15),aE=tt.Ay.a(["display:flex;align-items:center;",";color:",";transition:color 0.2s;&:hover{color:",";}"],td.Ay.Caption,te.Jy.Neutral50,te.Jy.Blue70),aR=(0,tt.Ay)(tP.Ay.HintOutlined)(["width:20px;height:20px;color:",";margin-right:8px;"],te.Jy.Blue50),aL=tt.Ay.span([""]),aN=({url:e})=>{let{i18n:t}=(0,e1.s)(),{links:i}=(0,e0.U)(),{isPhone:r}=(0,ih.e)(),[n,o]=(0,R.useState)(!1),a=(0,R.useRef)(),l=(0,R.useRef)(),s=(0,R.useCallback)(()=>l.current.select(),[]),d=(0,R.useCallback)(()=>{s(),document.execCommand("copy"),o(!0),clearTimeout(a.current),a.current=setTimeout(()=>o(!1),1e3),(0,N._m)("Sharing Modal","Copy Link"),(0,N.xP)("copy_sharing_link")},[s]),c=(0,R.useCallback)(()=>{(0,N._m)("Sharing Modal","Open Link"),(0,N.xP)("open_sharing_link")},[]);return(0,J.jsxs)(af,{children:[(0,J.jsx)(ab,{children:t.t("builder.resume_editor.share_modal.title")}),(0,J.jsx)(a_,{children:t.t("builder.resume_editor.share_modal.description")}),(0,J.jsx)(re.A,{readOnly:!0,label:r?null:t.t("builder.resume_editor.share_modal.label"),value:e,ref:l,onClick:s,onFocus:s}),(0,J.jsxs)(av,{children:[(0,J.jsxs)(aw,{children:[!r&&(0,J.jsx)(aP,{href:e,target:"_blank",rel:"noreferrer noopener",onClick:c,children:t.t("builder.resume_editor.share_modal.open")}),(0,J.jsxs)(ak,{onClick:d,children:[(0,J.jsx)(aS,{isCopied:n,children:t.t("builder.resume_editor.share_modal.copy")}),(0,J.jsx)(aT,{isCopied:n,children:t.t("builder.resume_editor.share_modal.copied")})]})]}),(0,J.jsxs)(aj,{children:[(0,J.jsx)(aC,{network:"facebook",onClick:()=>ay(e,"facebook"),children:(0,J.jsx)(tP.Ay.Facebook,{})}),(0,J.jsx)(aC,{network:"linkedin",onClick:()=>ay(e,"linkedin"),children:(0,J.jsx)(tP.Ay.Linkedin,{})}),(0,J.jsx)(aC,{network:"twitter",onClick:()=>ay(e,"twitter"),children:(0,J.jsx)(tP.Ay.Twitter,{})})]})]}),i.howToUseSharing&&(0,J.jsx)(aJ,{children:(0,J.jsxs)(aE,{target:"_blank",rel:"noreferrer noopener",href:i.howToUseSharing,onClick:(0,N.PW)("Sharing Modal","Open FAQ Article"),children:[(0,J.jsx)(aR,{}),(0,J.jsx)(aL,{children:t.t("builder.resume_editor.share_modal.faq_link")})]})})]})};aN.propTypes={url:i9().string};var aI=i(6638),aM=i.n(aI),aB=i(45427),aD=i(300);let a$=(e,...t)=>i7.R.t(`builder.resume_editor.share_modal.stats.${e}`,...t);var aO=i(20418),az=i(69685),aF=i(85363),aH=i(25755);let aV=tt.Ay.div(["display:flex;flex-direction:column;flex-grow:1;width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;"]),aU=tt.Ay.div(["flex-shrink:0;padding:32px 40px 40px;text-align:center;",";"],tQ.A.Phone`
331    padding: 24px 20px 32px;
332  `),aW=tt.Ay.div(["",";font-weight:600;margin-bottom:8px;"],td.Ay.S),aK=tt.Ay.div(["margin-bottom:32px;",";& b{font-weight:600;}"],tQ.A.Phone`
333    margin-bottom: 24px;
334  `),aq=tt.Ay.div(["display:flex;"]),aG=tt.Ay.div(["position:relative;width:50%;&:not(:last-child):after{content:'';position:absolute;right:0;top:calc(50% - 10px);width:1px;height:20px;background-color:",";}"],te.Jy.Neutral20),aZ=tt.Ay.div(["",";",""],td.Ay.XL,e=>e.locked&&(0,tt.AH)(["background-image:url(",");background-repeat:no-repeat;background-position:50% 50%;height:40px;"],i(47952))),aX=(0,tt.Ay)(aH.Ay)(["display:inline-block;margin:1px 0 0 6px;padding:1px 6px;vertical-align:middle;border-radius:9px;background-color:",";color:",";",";font-weight:600;"," ",""],te.Jy.Neutral10,te.Jy.Neutral50,td.Ay.Tiny,e=>e.isActive&&"views"===e.stat&&(0,tt.AH)(["background-color:",";color:",";"],te.Jy.Green10,te.Jy.Green50),e=>e.isActive&&"downloads"===e.stat&&(0,tt.AH)(["background-color:",";color:",";"],te.Jy.Blue10,te.Jy.Blue50)),aQ=tt.Ay.div(["",";color:",";"],td.Ay.Caption,te.Jy.Neutral50),aY=tt.Ay.div(["flex-grow:1;padding:32px 40px 48px;background-color:",";",";",";",";"],te.Jy.Neutral5,tQ.A.Phone`
335    padding: 20px 20px 32px;
336  `,e=>[lc.paywall,lc.empty].includes(e.mode)&&(0,tt.AH)(["display:flex;flex-direction:column;justify-content:center;"]),e=>lc.paywall===e.mode&&(0,tt.AH)(["background-image:url(",");background-repeat:no-repeat;background-size:100% auto;background-position:50% 0;"],i(37190))),a0=tt.Ay.div(["display:flex;align-items:center;margin-bottom:24px;color:",";",";white-space:nowrap;",";&:before,&:after{content:'';flex-grow:1;border-top:1px dashed ",";}&:before{margin-right:16px;}&:after{margin-left:16px;}"],te.Jy.Neutral50,td.Ay.Caps,tQ.A.Phone`
337    display: none;
338  `,te.Jy.Neutral20),a1=tt.Ay.div(["width:100%;max-width:225px;margin:0 auto;color:",";text-align:center;&:before{content:'';display:block;width:40px;height:40px;margin:0 auto 8px;background-image:url(",");background-repeat:no-repeat;background-position:50% 50%;}"],te.Jy.Neutral50,i(44913)),a2=tt.Ay.div(["display:flex;align-items:center;&:not(:last-child){padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid ",";}"],te.Jy.Neutral15),a3=tt.Ay.div(["flex-shrink:0;overflow:hidden;width:44px;height:44px;margin-right:16px;border-radius:50%;background-color:",";",";",";"],te.Jy.Neutral15,e=>
338!e.loaded&&aF.A.placeholderBackground,tQ.A.Phone`
339    width: 36px;
340    height: 36px;
341    margin-right: 12px;
342  `),a5=tt.Ay.img(["display:block;width:100%;opacity:",";transition:opacity 0.15s;"],e=>+!!e.loaded),a4=tt.Ay.div(["flex-grow:1;"]),a6=tt.Ay.div(["",";"],tQ.A.Phone`
343    ${td.Ay.Caption};
344  `),a8=tt.Ay.div(["",";color:",";",";"],td.Ay.Caption,te.Jy.Neutral50,tQ.A.Phone`
345    ${td.Ay.Tiny};
346  `),a9=tt.Ay.div(["max-width:45%;margin-left:16px;flex-grow:1;text-align:right;"]),a7=tt.Ay.div(["text-align:center;"]),le=tt.Ay.div(["margin-bottom:8px;",";font-weight:600;"],td.Ay.Subhead),lt=tt.Ay.div(["margin-bottom:20px;"]),li=(0,tt.Ay)(i$.Ay).attrs({as:"a",target:"_blank",size:"small"})([""]),lr=tt.Ay.span(["display:inline-block;height:1em;width:","em;max-width:100%;border-radius:3px;",";vertical-align:middle;",";"],e=>.4*e.size,aF.A.placeholderBackground,tQ.A.Phone`
347    width: ${e=>.3*e.size}em;
348  `);var ln=i(22130),lo=()=>{let e=(0,ln.f)({upgradeURL:(0,eU.d4)(Z.Tp.getUpgradeUrl)});return(0,J.jsxs)(a7,{children:[(0,J.jsx)(le,{children:a$("paywall.title")}),(0,J.jsx)(lt,{children:a$("paywall.description")}),(0,J.jsx)(li,{href:e,onClick:(0,N.PW)("Sharing Modal","Start Upgrading"),children:a$("paywall.action")})]})};let la=({seed:e,...t})=>{let i=e?`https://headsome.resume.tools/44/${e}.svg`:null,r=(e=>{let[t,i]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{let t=!0;if(e){let r=new Image;r.onload=()=>t&&i(!0),r.src=e}return()=>t=!1},[e]),t})(i);return(0,J.jsx)(a3,{...t,loaded:r,children:i&&(0,J.jsx)(a5,{loaded:r,src:i})})};la.propTypes={seed:i9().string};var ll=(0,R.memo)(la);let ls=({view:e})=>{let t=(0,R.useMemo)(()=>{let t;return[(t=Math.round(e.duration/60))?a$("viewed_for",{minutes:t}):a$("viewed_quickly"),((e=[])=>e.length?a$("saved",{formats:e.map(e=>e.toUpperCase()).join(a$("and"))}):"")(e.downloadFormats)].filter(Boolean).join(" \xb7 ")},[e.downloadFormats,e.duration]);return(0,J.jsxs)(a2,{children:[(0,J.jsx)(ll,{seed:e.visitorId}),(0,J.jsxs)(a4,{children:[(0,J.jsx)(a6,{children:e.visitorName}),(0,J.jsx)(a8,{children:t})]}),(0,J.jsxs)(a9,{children:[(0,J.jsx)(a6,{children:(0,az.PI)(e.createdAt,{addSuffix:!0})}),(0,J.jsx)(a8,{children:e.location})]})]})};ls.propTypes={view:i9().object.isRequired};var ld=()=>(0,J.jsxs)(a2,{children:[(0,J.jsx)(ll,{}),(0,J.jsxs)(a4,{children:[(0,J.jsx)(a6,{children:(0,J.jsx)(lr,{size:20})}),(0,J.jsx)(a8,{children:(0,J.jsx)(lr,{size:30})})]}),(0,J.jsxs)(a9,{children:[(0,J.jsx)(a6,{children:(0,J.jsx)(lr,{size:15})}),(0,J.jsx)(a8,{children:(0,J.jsx)(lr,{size:10})})]})]});let lc={paywall:"paywall",loading:"loading",empty:"empty",list:"list"},lu=({resumeId:e,hasPremium:t,containerRef:i})=>{let{status:r,hasMore:n,items:o,infiniteRef:a,rootRef:l}=(({resumeId:e,hasPremium:t})=>{let[i,r]=(0,R.useState)(eZ.Hp.notAsked),[n,o]=(0,R.useState)([]),a=(0,R.useRef)(!0),[l,s]=(0,R.useState)(t);(0,R.useEffect)(()=>{s(t)},[t]),(0,R.useEffect)(()=>()=>a.current=!1,[]);let[d,{rootRef:c}]=(0,aO.A)({loading:i===eZ.Hp.loading,hasNextPage:l,onLoadMore:function(){r(eZ.Hp.loading);let t={starting_after:function(){if(!n.length)return null;let{createdAt:e}=n[n.length-1];return(0,az.Yq)(e,"t")}()};Y.uE.get(`/sharing/${e}/history`,{params:t}).then(({data:e})=>{a.current&&(r(eZ.Hp.loaded),s(e.hasMore),o(t=>t.concat(e.items)))})}});return{status:i,hasMore:l,items:n,infiniteRef:d,rootRef:c}})({resumeId:e,hasPremium:t}),s=(0,R.useMemo)(()=>t?r!==eZ.Hp.loaded&&0===o.length?lc.loading:r===eZ.Hp.loaded&&0===o.length?lc.empty:lc.list:lc.paywall,[r,t,o.length]),d=[lc.loading,lc.list].includes(s);return l.current=i.current,(0,J.jsxs)(aY,{mode:s,children:[d&&(0,J.jsx)(a0,{children:a$("history.title")}),s===lc.paywall&&(0,J.jsx)(lo,{}),s===lc.empty&&(0,J.jsx)(a1,{children:a$("history.empty")}),s===lc.loading&&aM()(3,e=>(0,J.jsx)(ld,{},e)),s===lc.list&&o.map((e,t)=>(0,J.jsx)(ls,{view:e},t)),n&&(0,J.jsx)("div",{ref:a})]})};lu.propTypes={resumeId:i9().number.isRequired,hasPremium:i9().bool,containerRef:i9().ref};let lp=({resumeId:e})=>{let t,i,r,n=(0,eU.d4)(Z.Tp.premiumAccess),{status:o,viewsLastWeek:a,viewsTotal:l,downloadsTotal:s}=(({resumeId:e})=>{let[t,i]=(0,R.useState)({status:eZ.Hp.loading});return(0,R.useEffect)(()=>{let t=!0;return Y.uE.get(`/sharing/${e}`).then(e=>{t&&i({...e.data,status:eZ.Hp.loaded})}),()=>t=!1},[e]),t})({resumeId:e}),d=o===eZ.Hp.loaded,c=(0,R.useRef)();return(0,aD.y)(c),(0,J.jsxs)(aV,{ref:c,children:[(0,J.jsxs)(aU,{children:[(0,J.jsx)(aW,{children:a$("title")}),!d&&(0,J.jsxs)(aK,{children:[(0,J.jsx)(lr,{size:45}),(0,J.jsx)("br",{}),(0,J.jsx)(lr,{size:25})]}),d&&(0,J.jsx)(aK,{dangerouslySetInnerHTML:{__html:(t=a>5?"many_recent_views":a>1&&a<=5?"few_recent_views":1===a?"one_recent_view":!a&&l?"no_recent_views":"no_views",i=a$(`description.${t}.amount`,{number:`<b>${a}</b>`}),r=a$(`description.${t}.note`),`${i}<br />${r}`)}}),n&&!d&&(0,J.jsx)(aq,{children:aM()(2,e=>(0,J.jsxs)(aG,{children:[(0,J.jsx)(aZ,{children:(0,J.jsx)(lr,{size:8})}),(0,J.jsx)(aQ,{children:(0,J.jsx)(lr,{size:8})})]},e))}),n&&d&&(0,J.jsxs)(aq,{children:[(0,J.jsxs)(aG,{children:[(0,J.jsxs)(aZ,{children:[(0,aB.g)(l),(0,J.jsxs)(aX,{stat:"views",isActive:a,value:a$("recent_views"),children:["+",a]})]}),(0,J.jsx)(aQ,{children:a$("views")})]}),(0,J.jsxs)(aG,{children:[(0,J.jsxs)(aZ,{children:[(0,aB.g)(s),(0,J.jsxs)(aX,{stat:"downloads",isActive:s,value:a$("viewers_downloaded"),children:[l?Math.round(s/l*100):0,"%"]})]}),(0,J.jsx)(aQ,{children:a$("downloads")})]})]}),!n&&(0,J.jsxs)(aq,{children:[(0,J.jsxs)(aG,{children:[(0,J.jsx)(aZ,{locked:!0}),(0,J.jsx)(aQ,{children:a$("views")})]}),(0,J.jsxs)(aG,{children:[(0,J.jsx)(aZ,{locked:!0}),(0,J.jsx)(aQ,{children:a$("downloads")})]})]})]}),(0,J.jsx)(lu,{resumeId:e,hasPremium:n,containerRef:c})]})};lp.propTypes={resumeId:i9().number.isRequired};var lh=i(85783);let lx=tt.Ay.div(["position:relative;overflow:hidden;display:flex;flex-direction:column;width:100%;max-width:540px;background-color:",";border-radius:6px;z-index:999;",";",";"],te.Jy.White,e=>
348e.activeTab===ag.stats&&(0,tt.AH)(["height:calc(100vh - 64px);max-height:640px;"]),tQ.A.Phone`
349    height: 100%;
350    max-width: none;
351    max-height: none;
352    border-radius: 0;
353  `),lm=tt.Ay.div(["position:relative;flex-shrink:0;"]),lg=(0,tt.Ay)(am.Ay)(["padding:18px 32px 0;"]),ly=(0,tt.Ay)(lh.E).attrs({variant:"blue"})(["margin-left:8px;text-transform:uppercase;"]),lf=tt.Ay.div(["position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer;"]),lb=(0,tt.Ay)(lf)(["top:0;right:0;padding:17px 16px;color:",";transition:color 0.15s;&:hover{color:",";}"],te.Jy.Neutral40,te.Jy.Blue50),l_=(0,tt.Ay)(lf)(["top:calc(50% - 16px);right:20px;width:32px;height:32px;border-radius:50%;background-color:",";color:",";"],te.Jy.Neutral30,te.Jy.White);var lv=()=>{let[e,t]=(0,R.useState)(ag.share),{isPhone:i}=(0,ih.e)(),{i18n:r}=(0,e1.s)(),n=(0,eU.wA)(),o=(0,eW.N)(e=>e.ui.sharingModalResumeId),a=(0,eW.N)(e=>e.ui.sharingModalTrDocId),l=(0,R.useCallback)(()=>n(F.o1.closeSharingModal()),[n]);(({isOpen:e,changeTab:t,isTrDoc:i=!1})=>{let r=(0,eU.wA)(),n=(0,L.Zp)(),o=(0,L.RQ)("/resumes/:id/statistics"),a=(0,L.RQ)("/documents/:id/statistics"),l=(0,R.useCallback)(e=>{i?r(F.o1.openSharingTrDocModal(e)):r(F.o1.openSharingModal(e)),t(ag.stats),i?n(`/documents/${e}/edit`,{replace:!0}):n(`/resumes/${e}/edit`,{replace:!0})},[i,r,t,n]);(0,R.useEffect)(()=>{!e&&o&&l(Number(o.params.id)),!e&&a&&l(Number(a.params.id))},[a,e,i,o,l])})({isOpen:!!o,changeTab:t,isTrDoc:!!a});let s=((e,t)=>{let[i,r]=(0,R.useState)("");return(0,R.useEffect)(()=>{let i=!0;return e&&Y.uE.post(`/sharing/${e}/activate`).then(({data:t})=>{i&&t.id===e&&r(t.publicUrl)}),t&&Y.uE.post(`/sharing/${t}/activate`).then(({data:e})=>{i&&e.id===t&&r(e.publicUrl)}),()=>{i=!1}},[e,t]),i})(o,a);if(!s||!o&&!a)return null;let d=i?tP.qJ.Close:tP.qJ.CloseLarge;return(0,J.jsx)(i6.A,{onClick:l,overlayFadeDuration:150*!i,contentSlideDuration:150*!i,fullScreen:i,children:(0,J.jsxs)(lx,{activeTab:e,children:[(0,J.jsxs)(lm,{children:[(0,J.jsx)(lg,{children:ap()(ag,i=>(0,J.jsxs)(am.oz,{isActive:i===e,onClick:()=>{t(i),(0,N._m)("Sharing Modal",`Open ${ax()(i)} Tab`),(0,N.xP)(`open_sharing_modal_${i}_tab`)},children:[r.t(`builder.resume_editor.share_modal.tabs.${i}`),i===ag.stats&&(0,J.jsx)(ly,{children:"New"})]},i))}),(0,J.jsx)(i?l_:lb,{onClick:l,children:(0,J.jsx)(d,{})})]}),e===ag.share&&(0,J.jsx)(aN,{url:s}),e===ag.stats&&(0,J.jsx)(lp,{resumeId:o})]})})},lj=i(87947);let lA=tt.Ay.div(["pointer-events:all;width:380px;display:flex;align-items:center;background-color:",";border-radius:4px;padding:12px;",";"],te.Jy.Neutral100,tQ.A.Phone`
354    width: 300px;
355  `),lC=tt.Ay.div(["",";color:",";"],td.Ay.Caption,te.Jy.White),lw=tt.Ay.div(["width:24px;height:24px;background-size:contain;margin-right:10px;flex-shrink:0;"]),lk=(0,tt.Ay)(lw)(["background-image:url(",");animation:"," 0.5s infinite linear;"],i(85393),im.ni),lS=({text:e})=>(0,J.jsxs)(lA,{children:[(0,J.jsx)(lk,{}),(0,J.jsx)(lC,{children:e})]});lS.propTypes={text:i9().string};let lT=(0,tt.i7)(["10%,90%{transform:translate3d(-1px,0,0);}20%,80%{transform:translate3d(2px,0,0);}30%,50%,70%{transform:translate3d(-4px,0,0);}40%,60%{transform:translate3d(4px,0,0);}"]),lP=tt.Ay.div(["pointer-events:all;display:flex;align-items:center;background-color:",";border-radius:4px;z-index:5;",""],te.Jy.Neutral100,({isShaking:e})=>e&&(0,tt.AH)(["animation:"," 0.82s cubic-bezier(0.36,0.07,0.19,0.97) both;"],lT)),lJ=tt.Ay.div(["",";color:",";padding:8px 12px;margin-right:4px;"],td.Ay.Caption,te.Jy.White),lE=tt.Ay.div(["display:flex;align-items:center;justify-content:center;",";font-weight:600;color:",";background-color:",";height:100%;padding:8px 14px;border-left:1px solid ",";cursor:pointer;transition:background-color 0.3s;border-radius:0 4px 4px 0;&:hover{background-color:",";}"],td.Ay.Caption,te.Jy.White,te.Jy.Neutral100,te.Jy.Neutral70,te.Jy.Neutral90),lR=({text:e,onDismiss:t=()=>{},isShaking:i})=>{let{i18n:r}=(0,e1.s)();return(0,J.jsxs)(lP,{isShaking:i,children:[(0,J.jsx)(lJ,{children:e}),(0,J.jsx)(lE,{onClick:t,children:r.t("builder.resume_editor.dismiss")})]})};lR.propTypes={text:i9().string,onDismiss:i9().func,isShaking:i9().bool};let lL=tt.Ay.div(["pointer-events:all;max-width:640px;
355display:flex;align-items:center;background-color:",";border-radius:4px;padding:12px 16px 12px 12px;",";"],te.Jy.Neutral100,tQ.A.Phone`
356    max-width: 300px;
357  `),lN=tt.Ay.div(["",";color:",";"],td.Ay.Caption,te.Jy.White),lI=(0,tt.Ay)(tP.qJ.SnackbarWarning)(["margin-right:8px;flex-shrink:0;width:24px;height:24px;"]),lM=({text:e})=>(0,J.jsxs)(lL,{children:[(0,J.jsx)(lI,{}),(0,J.jsx)(lN,{children:e})]});lM.propTypes={text:i9().string};var lB=i.p+"media/snackbar-success-iconc83e92f1206cc62c.svg";let lD=tt.Ay.div(["pointer-events:all;display:flex;justify-content:center;align-items:center;background-color:",";border-radius:4px;padding:12px;",";"],te.Jy.Neutral100,tQ.A.Phone`
358    width: 300px;
359  `),l$=tt.Ay.div(["",";color:",";margin-left:12px;"],td.Ay.Caption,te.Jy.White),lO=tt.Ay.img([""]);var lz=({text:e})=>(0,J.jsxs)(lD,{children:[(0,J.jsx)(lO,{src:lB}),(0,J.jsx)(l$,{children:e})]}),lF=i.p+"media/snackbar-failure-iconace69ca134375c56.svg";let lH=tt.Ay.div(["pointer-events:all;display:flex;justify-content:center;align-items:center;background-color:",";border-radius:8px;padding:12px;",";"],te.Jy.Neutral100,tQ.A.Phone`
360    width: 300px;
361  `),lV=tt.Ay.div(["",";color:",";margin-left:12px;"],td.Ay.Caption,te.Jy.White),lU=tt.Ay.img([""]);var lW=({text:e})=>(0,J.jsxs)(lH,{children:[(0,J.jsx)(lU,{src:lF}),(0,J.jsx)(lV,{children:e})]});let lK=tt.Ay.div(["pointer-events:all;display:flex;align-items:center;background-color:",";border-radius:8px;padding:12px 16px;",";"],te.Jy.Neutral100,tQ.A.Phone`
362    width: 300px;
363  `),lq=tt.Ay.div(["",";color:",";"],td.Ay.Caption,te.Jy.White);var lG=({text:e})=>(0,J.jsx)(lK,{children:(0,J.jsx)(lq,{children:e})});let lZ=tt.Ay.div(["pointer-events:all;box-shadow:0px 8px 20px -4px rgba(15,20,30,0.24);border-radius:8px;overflow:hidden;display:flex;z-index:5;",""],tQ.A.Phone`
364    display: block;
365  `),lX=tt.Ay.div(["padding:12px 16px;background-color:",";display:flex;gap:8px;align-items:center;"],te.Jy.Neutral90),lQ=tt.Ay.img([""]),lY=tt.Ay.div(["color:",";",";"],te.Jy.White,td.Ay.Caption),l0=tt.Ay.div(["display:flex;padding:14px 16px;background-color:",";gap:12px;border-left:1px solid ",";",";font-weight:",";color:",";cursor:pointer;word-wrap:break-word;",""],te.Jy.Neutral90,te.Jy.Neutral70,td.Ay.Caption,td.BO.DemiBold,te.Jy.White,tQ.A.Phone`
366    padding: 0 16px 12px 0;
367    border-left: 0;
368    flex-direction: row-reverse;
369  `);var l1=({text:e,onOpen:t,buttonText:i,className:r})=>(0,J.jsxs)(lZ,{className:r,children:[(0,J.jsxs)(lX,{children:[(0,J.jsx)(lQ,{src:lB,alt:"icon"}),(0,J.jsx)(lY,{children:e})]}),(0,J.jsx)(l0,{onClick:t,children:i||"Open"})]});let l2=tt.Ay.div(["position:fixed;width:720px;display:flex;justify-content:center;left:calc(50% - 360px);bottom:16px;z-index:1500;pointer-events:none;"," ",""],tQ.A.Tablet`
370    width: 100%;
371    left: 0;
372    padding: 0 32px;
373  `,tQ.A.Phone`
374    width: 100%;
375    left: 0;
376    padding: 0 20px;
377  `),l3={transform:"translateY(64px)",transition:"transform 0.3s ease"},l5={exited:{transform:"translateY(64px)"},entered:{transform:"translateY(0)"},exiting:{transform:"translateY(64px)"}};class l4 extends R.Component{static propTypes={isOpen:i9().bool,text:i9().string,type:i9().string,setCancelableSnackbarOpen:i9().func,isShaking:i9().bool,Icon:i9().func,timer:i9().number,setSnackbarShaking:i9().func,url:i9().string};transitionRef=(0,R.createRef)();componentDidUpdate(e){this.props.isShaking&&!e.isShaking&&setTimeout(()=>this.props.setSnackbarShaking(!1),300)}get currentSnackBar(){switch(this.props.type??F.pN.loading){case F.pN.cancelable:return lR;case F.pN.warning:return lM;case F.pN.success:return lz;case F.pN.failure:return lW;case F.pN.simple:return lG;case F.pN.openable:return l1;case F.pN.loading:default:return lS}}handleDismiss=()=>{this.props.setCancelableSnackbarOpen({status:!1})};handleOpen=e=>{window.open(e)};render(){let{isOpen:e,text:t,isShaking:i,url:r}=this.props,n=this.currentSnackBar;return(0,J.jsx)(lj.Ay,{in:e,timeout:{enter:100,exit:300},mountOnEnter:!0,unmountOnExit:!0,nodeRef:this.transitionRef,children:e=>(0,J.jsx)(l2,{style:{...l3,...l5[e]},ref:this.transitionRef,children:(0,J.jsx)(n,{text:t,onDismiss:this.handleDismiss,onOpen:()=>this.handleOpen(r),isShaking:i})})})}}
377let l6={setCancelableSnackbarOpen:F.o1.setCancelableSnackbarOpen,setSnackbarShaking:F.o1.setSnackbarShaking};var l8=(0,eU.Ng)(function(e){return{isOpen:e.ui.isSnackBarOpen,text:e.ui.snackBarText,type:e.ui.snackBarType,isShaking:e.ui.isSnackBarShaking,url:e.ui.snackBarUrl}},l6)(l4),l9=i(83968),l7=i(56701);let se=tt.Ay.div(["box-shadow:0px 16px 64px -8px rgba(15,20,30,0.32),0px 6px 8px -2px rgba(15,20,30,0.08);display:flex;position:relative;flex-direction:column;align-items:flex-start;width:100%;max-width:544px;background-color:",";border-radius:16px;z-index:999;",";"],te.Jy.White,tQ.A.Phone`
378    max-width: 343px;
379  `),st=tt.Ay.div(["position:absolute;width:28px;height:28px;top:32px;right:32px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";}",";"],te.Jy.Neutral30,te.Jy.White,te.Jy.Blue50,tQ.A.Phone`
380    top: 20px;
381    right: 20px;
382    padding: 2px;
383  `),si=tt.Ay.div(["display:flex;gap:24px;flex-direction:column;padding:32px;",";"],tQ.A.Phone`
384    gap: 16px;
385    padding: 20px;
386  `),sr=tt.Ay.div(["display:flex;gap:8px;flex-direction:column;align-items:flex-start;padding-right:50px;",";"],tQ.A.Phone`
387    gap: 4px;
388  `),sn=tt.Ay.div(["display:flex;gap:12px;flex-direction:column;align-items:flex-start;",";"],tQ.A.Phone`
389    gap: 8px;
390  `),so=tt.Ay.div(["",";",";padding-bottom:10px;"],td.Ay.S,td.BO.DemiBold),sa=tt.Ay.div(["color:",";"],te.Jy.Neutral50),sl=tt.Ay.div(["display:flex;justify-content:flex-end;gap:8px;"]),ss="builder.tr_builder_resume_edit_modal",sd=({id:e})=>{let{isPhone:t}=(0,ih.e)(),{i18n:i}=(0,e1.s)(),r=(0,eU.wA)(),n=(0,eW.N)(t=>t.panel.documents.find(t=>t.type===eZ.VC.resume&&t.id===e)),o=(0,eW.N)(U.Tp.copyDocumentStatus),a=o===eZ.Hp.loading,{openSnackBar:l}=(0,R.useContext)(l9.Xj),s=(0,R.useRef)(o),d=(0,R.useCallback)(()=>r(F.o1.toggleTRBuilderResumeEditModal(null)),[r]);return(0,R.useEffect)(()=>{s.current===eZ.Hp.loading&&o===eZ.Hp.failed&&(l({text:i.t(`${ss}.error`),type:l9.rK.failure}),d()),s.current=o},[o,l,d,i]),(0,J.jsx)(i6.A,{onClick:d,overlayFadeDuration:150,contentSlideDuration:150,backgroundOpacity:.4,children:(0,J.jsxs)(se,{children:[(0,J.jsx)(st,{onClick:d,children:(0,J.jsx)(tP.qJ.CloseLarge,{})}),(0,J.jsxs)(si,{children:[(0,J.jsxs)(sr,{children:[(0,J.jsx)(sn,{children:(0,J.jsx)(so,{children:i.t(`${ss}.title`)})}),(0,J.jsx)(sa,{children:i.t(`${ss}.subtitle`)})]}),(0,J.jsxs)(sl,{children:[(0,J.jsx)(i$.Ay,{theme:"ghost",onClick:d,size:t?i$.Mp.small:i$.Mp.default,isDisabled:a,children:i.t(`${ss}.cancel`)}),(0,J.jsx)(i$.Ay,{onClick:()=>{n&&r(U.o1.copyDocument({id:n.id,type:eZ.VC.resume,shouldRedirectToEditor:!0}))},size:t?i$.Mp.small:i$.Mp.default,isLoading:a,isDisabled:a,children:i.t(`${ss}.duplicate`)})]})]})]})})};var sc=i(33156),su=i(58657),sp=i(46904);let sh=(0,tt.i7)(["from{transform:translateY(0);}to{transform:translateY(-50%);}"]),sx=tt.Ay.div(["position:relative;align-self:stretch;overflow:hidden;padding:0 ",";max-width:592px;"," ",""],te.Kz.M,tQ.A.Tablet`
391    align-self: center;
392    width: 100%;
393    max-width: 588px;
394    flex: 1 1 0;
395    min-height: 0;
396    margin-bottom: 80px;
397    overflow: hidden;
398    padding: 0 ${te.Kz.M};
399  `,tQ.A.Phone`
400    max-width: none;
401    flex: 1 1 0;
402    min-height: 0;
403    margin-bottom: 80px;
404    overflow: hidden;
405    padding: 0 ${te.Kz.M};
406  `),sm=tt.Ay.div(["display:flex;flex-direction:column;gap:",";padding-bottom:",";animation:"," 40s linear infinite;will-change:transform;@media (prefers-reduced-motion:reduce){animation:none;}"," ",""],te.Kz.XS,te.Kz.XS,sh,tQ.A.Tablet`
407    animation: ${sh} 40s linear infinite;
408
409    @media (prefers-reduced-motion: reduce) {
410      animation: none;
411    }
412  `,tQ.A.Phone`
413    animation: ${sh} 40s linear infinite;
414
415    @media (prefers-reduced-motion: reduce) {
416      animation: none;
417    }
418  `),sg=tt.Ay.div(["display:flex;flex-direction:column;gap:",";padding:",";background:",";border-radius:12px;box-shadow:",";"],te.Kz.XS,te.Kz.S,te.Jy.White,te.qd.lightWithBorderShadowMid),sy=tt.Ay.div(["display:flex;justify-content:space-between;align-items:flex-start;"]),sf=tt.Ay.div(["flex-shrink:0;width:40px;height:40px;border-radius:",";border:1px solid ",";background-color:",";background-image:url(",");background-position:center;background-size:contain;background-repeat:no-repeat;"],te.Kz["2XS"],te.Jy.Neutral15,te.Jy.White,e=>`"${e.src}"`),sb=tt.Ay.div(["display:flex;flex-direction:column;gap:",";min-width:0;"],te.Kz["3XS"]),s_=tt.Ay.p(["margin:0;color:",";overflow:hidden;text-overflow:ellipsis;white-space:nowrap;",";",";"],te.Jy.Neutral90,td.Ay.Body,td.BO.DemiBold),sv=tt.Ay.p(["margin:0;color:",";",";"],te.Jy.Neutral50,td.Ay.Body),sj=tt.Ay.div(["height:1px;background:",";"],te.Jy.Neutral15),sA=tt.Ay.div(["display:flex;gap:",";"],te.Kz["2XS"]),sC=tt.Ay.div(["flex:1;display:flex;align-items:center;color:",";",";svg{flex-shrink:0;margin-right:",";}"],te.Jy.Neutral80,td.Ay.Body,te.Kz["3XS"]),sw=tt.Ay.div(["position:absolute;top:0;left:0;right:0;height:102px;background:linear-gradient( to bottom,var(--job-list-bg,","),rgba(255,255,255,0) );pointer-events:none;z-index:1;"," ",""],te.Jy.White,tQ.A.Tablet`
419    height: 60px;
420  `,tQ.A.Phone`
421    height: 60px;
422  `),sk=tt.Ay.div(["display:flex;flex-direction:column;gap:",";padding-bottom:",";",""],te.Kz.XS,te.Kz.XS,tQ.A.Phone`
423    gap: ${te.Kz["2XS"]};
424  `),sS=tt.Ay.div(["width:100%;height:174px;border-radius:6px;background:",";background:linear-gradient( to right,"," 5%,"," 15%,"," 25% );background-size:100vw 100vh;animation:"," 1.2s linear infinite;flex-shrink:0;@media (prefers-reduced-motion:reduce){animation:none;}",""],te.Jy.Neutral5,te.Jy.Neutral5,te.Jy.Neutral10,te.Jy.Neutral5,im.D7,tQ.A.Phone`
425    height: 120px;
426  `),sT=tt.Ay.div(["position:absolute;bottom:0;left:0;right:0;height:102px;background:linear-gradient(to top,var(--job-list-bg,","),rgba(255,255,255,0));pointer-events:none;z-index:1;"," ",""],te.Jy.White,tQ.A.Tablet`
427    height: 60px;
428  `,tQ.A.Phone`
429    height: 60px;
430  `),sP=({jobs:e,isLoading:t})=>{if(t)return(0,J.jsx)(sx,{"aria-hidden":"true",children:(0,J.jsx)(sk,{children:Array.from({length:4}).map((e,t)=>(0,J.jsx)(sS,{},t))})});if(0===e.length)return null;let i=e.length<10?[...e,...e]:e;return(0,J.jsxs)(sx,{children:[(0,J.jsx)(sw,{}),(0,J.jsx)(sm,{children:i.map((e,t)=>(0,J.jsxs)(sg,{children:[(0,J.jsx)(sy,{children:(0,J.jsx)(sf,{src:e.company_logo||(0,su.x)()})}),(0,J.jsxs)(sb,{children:[(0,J.jsx)(s_,{children:e.job_title}),(0,J.jsx)(sv,{children:e.company})]}),(0,J.jsx)(sj,{}),(0,J.jsxs)(sA,{children:[(0,J.jsx)(sC,{children:(0,J.jsx)(sp.aZ,{job:e})}),(0,J.jsx)(sC,{children:(0,J.jsx)(sp.eH,{job:e,clamp:{past:{days:60}}})})]})]},`${e.id}-${t}`))}),(0,J.jsx)(sT,{})]})};var sJ=i(99418);let sE=tt.Ay.h2(["margin:0;color:",";font-size:33px;line-height:36px;",";"," b{color:",";font-weight:inherit;","}"],te.Jy.Neutral90,td.BO.Medium,tQ.A.Phone`
431    font-size: 27px;
432    line-height: 30px;
433  `,te.Jy.Blue50,e=>e.$isLoading&&(0,tt.AH)(["position:relative;color:transparent;border-radius:6px;background:",";background:linear-gradient( to right,"," 5%,"," 15%,"," 25% );background-size:100vw 100vh;animation:"," 1s linear infinite;"],te.Jy.Neutral10,te.Jy.Neutral10,te.Jy.Neutral15,te.Jy.Neutral10,im.D7)),sR=({isLoading:e,title:t,as:i="h2"})=>(0,J.jsx)(sE,{as:i,$isLoading:e,dangerouslySetInnerHTML:{__html:sJ.A.sanitize(t)}}),sL=(0,tt.AH)(["--feature-icon-size:20px;--feature-item-gap:",";--feature-text-color:",";"],te.Kz["2XS"],te.Jy.Neutral80),sN=(0,tt.AH)(["--feature-icon-size:24px;--feature-item-gap:",";--feature-text-color:",";"],te.Kz.XS,te.Jy.Neutral90),sI=tt.Ay.div(["display:flex;flex-direction:column;gap:",";",";"],e=>"compact"===e.variant?te.Kz.XS:te.Kz.S,e=>"compact"===e.variant?sL:sN),sM=tt.Ay.p(["margin:0;color:",";",";",";"],te.Jy.Neutral80,td.Ay.Caps,td.BO.DemiBold),sB=tt.Ay.ul(["list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--feature-item-gap);"," ",""],e=>e.responsiveColumns&&tQ.A.Tablet`
434      display: grid;
435      grid-template-columns: 1fr 1fr;
436      column-gap: ${te.Kz.S};
437      row-gap: ${te.Kz.XS};
438    `,e=>e.responsiveColumns&&tQ.A.Phone`
439      display: flex;
440      flex-direction: column;
441      gap: ${te.Kz["2XS"]};
442    `),sD=tt.Ay.li(["display:flex;align-items:center;gap:",";color:var(--feature-text-color);",";",";"],te.Kz["2XS"],e=>"compact"===e.variant?td.Ay.Caption:td.Ay.Body,td.BO.Regular),s$=tt.Ay.span(["flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:var(--feature-icon-size);height:var(--feature-icon-size);color:",";svg{fill:currentColor;}"],te.Jy.Blue50),sO=({title:e,items:t,icon:i,variant:r="compact",responsiveColumns:n=!1})=>(0,J.jsxs)(sI,{variant:r,children:[(0,J.jsx)(sM,{children:e}),(0,J.jsx)(sB,{responsiveColumns:n,children:t.map(e=>(0,J.jsxs)(sD,{variant:r,children:[(0,J.jsx)(s$,{children:i}),e]},e))})]});var sz=i(97885),sF=i(52563),sH=i(83758),sV=i(82159);let sU=[{id:"test1",job_title:"Software Engineer",description:"Aprix<br><br>A Aprix \xe9 uma startup que desenvolve solu\xe7\xf5es de ci\xeancia de dados, principalmente voltadas para precifica\xe7\xe3o. Nossa miss\xe3o \xe9 desenvolver solu\xe7\xf5es de data science que auxiliem agentes de diferentes portes e segmentos a solucionar problemas na busca por maior efici\xeancia.<br><br>Software Engineer<br><br>Como Software Engineer, voc\xea desempenhar\xe1 um papel essencial no desenvolvimento, manuten\xe7\xe3o e otimiza\xe7\xe3o de nossos sistemas e aplicativos, tanto no back quanto no front-end. As atividades envolvem o planejamento, implementa\xe7\xe3o e desenvolvimento de testes automatizados, bem como realizar deployment de funcionalidades full-stack. Voc\xea ter\xe1 a oportunidade de colaborar em projetos desafiadores e inovadores, trabalhando em equipe e participando de todas as etapas do ciclo de vida do desenvolvimento de softw
442are. Al\xe9m disso, voc\xea ser\xe1 encorajado a expressar suas ideias, sugerir melhorias, propor solu\xe7\xf5es e contribuir ativamente para o crescimento e sucesso da empresa.<br><br>Nessa oportunidade voc\xea trabalhar\xe1 com Angular, Typescript, HTML, CSS, Node.js, Python e SQL<br><br>Cursos: Ci\xeancias da Computa\xe7\xe3o, Engenharias, ou correlatas.<br><br><strong>Benef\xedcios<br><br></strong><ul>\n<li>Bolsa aux\xedlio;</li>\n<li>Plano de carreira com trilhas de desenvolvimento;</li>\n<li>B\xf4nus trimestrais por atingimento de metas da empresa;</li>\n<li>Flexibilidade de hor\xe1rios;</li>\n<li>WellHub (antigo Gympass);</li>\n<li>Programa de sa\xfade mental;</li>\n<li>Treinamento e Desenvolvimento;</li>\n<li>E muito mais!</li>\n</ul>",company:"Netvagas",company_logo:sF,location:"Porto Alegre, Rio Grande do Sul, Brazil",posted_at:"2024-12-01T19:35:18.362+01:00",url:"https://www.netvagas.com.br/empresa/anuncios/a1072101/software-engineer/?urlHash=BkdX&utm_campaign=linkedin&utm_id=linkedin&utm_medium=referral&utm_source=linkedin",feed_name:"xverum",external_slug_id:"test1",expired_at:"2024-12-12T08:00:17.37
4427+01:00",company_id:0x57800cb,location_id:3600253,auto_apply_compatible:!0,status:"",group:void 0,enriched:!1,skills:[],description_with_html_tags:null,seniority_level:null,nice_to_have:[],requirements:[],location_details:null},{id:"test2",job_title:"software engineer",description:"<strong>Overview<br><br></strong>Languages<br><br>English<br><br>Education<br><br><ul><li> Bachelor's degree <br><br>\n</li></ul><strong>Experience<br><br></strong>7 months to less than 1 year<br><br>On site<br><br>Work must be completed at the physical location. There is no option to work remotely.<br><br><strong>Responsibilities<br><br></strong>Tasks<br><br><ul>\n<li> Lead and co-ordinate teams of information systems professionals in the development of software and integrated information systems, process control software and other embedded software control systems </li>\n<li> Consult with clients after sale to provide ongoing support </li>\n<li> Conduct tests and perform security and quality controls <br><br>\n</li>\n</ul>Additional information<br><br>Work conditions and physical capabilities<br><br><ul>\n<li> Fast-paced environment </li>\n<li> Work under pressure </li>\n<li> Tight deadlines </li>\n<li> Repetitive tasks </li>\n<li> Handling heavy loads </li>\n<li> Physically demanding </li>\n<li> Manual dexterity </li>\n<li> Attention to detail </li>\n<li> Ability to distinguish between colours </li>\n<li> Sound discrimination </li>\n<li> Sitting </li>\n<li> Combination of sitting, standing, walking </li>\n<li> Standing for extended periods </li>\n<li> Bending, crouching, kneeling <br><br>\n</li>\n</ul>Personal suitability<br><br><ul>\n<li> Accurate </li>\n<li> Client focus </li>\n<li> Efficient interpersonal skills </li>\n<li> Excellent oral communication </li>\n<li> Excellent written communication </li>\n<li> Initiative </li>\n<li> Judgement </li>\n<li> Organized </li>\n<li> Team player</li>\n</ul>",company:"Office of the Premier of Ontario",company_logo:i(61623),location:"North York, Ontario, Canada",posted_at:"2024-12-01T15:50:46.735+01:00",url:"https://www.on.jobbank.gc.ca/jobsearch/jobposting/42580912?source=searchresults&urlHash=wmtw",feed_name:"xverum",external_slug_id:"test2",expired_at:"2024-12-12T08:00:17.37
4427+01:00",company_id:0x5802526,location_id:3548704,auto_apply_compatible:!0,status:"",group:void 0,enriched:!1,skills:[],description_with_html_tags:null,seniority_level:null,nice_to_have:[],requirements:[],location_details:null},{id:"test3",job_title:"Software Engineer",description:"<p><strong>This role is with a Calyptus partner.</strong></p><p><strong>__________________________________________________________________</strong></p><p><br></p><p><strong>You will:</strong></p><ul>\n<li>Design, build, and maintain the Lumino protocol for training and fine-tuning AI models</li>\n<li>Develop the Lumino node</li>\n<li>Design and implement customer facing tools such as our CLI and web UI</li>\n<li>Research and develop frameworks to train AI models</li>\n<li>Build, test, debug, and deploy large-scale decentralized systems across thousands of nodes</li>\n<li>Own projects end-to-end, from requirements, scoping, design, to implementation, in a highly collaborative and cross-functional environment.</li>\n</ul><p><br></p><p><br></p><p><strong>Requirements:</strong></p><ul>\n<li>You have 3+ years of software engineering experience</li>\n<li>You have designed, built, and scaled production systems</li>\n<li>You have strong communication and collaboration abilities</li>\n<li>You have excellent problem-solving skills and ability to learn quickly</li>\n<li>You write high quality and well tested code</li>\n<li>You have experience working with a cloud-native tech stack (e.g AWS/GCP)</li>\n</ul><p><br></p><p><br></p><p><strong>Nice to haves:</strong></p><ul>\n<li>Previous experience in a startup environment</li>\n<li>Contributions to open source projects</li>\n<li>Experience in designing distributed systems with low latency and high availability</li>\n<li>Knowledge of blockchain systems</li>\n</ul><p><strong>__________________________________________________________________</strong></p><p><strong>Calyptus is an employment platform for engineers looking for work in Web3.</strong></p>",company:"Calyptus",company_logo:sH,location:"Oregon, United States",posted_at:"2024-12-01T09:19:14.276+01:00",url:"https://app.calyptus.co/0syZc8oi5s?urlHash=lS-r",feed_name:"xverum",external_slug_id:"test3",expired_at:"2024-12-12T08:00:17.37
4427+01:00",company_id:0x578b558,location_id:3493173,auto_apply_compatible:!0,status:"",group:void 0,enriched:!1,skills:[],description_with_html_tags:null,seniority_level:null,nice_to_have:[],requirements:[],location_details:null},{id:"test4",job_title:"Software Engineer",description:"<p><strong>Job Title:</strong> Software Engineer</p><p><br></p><p><strong>Job Type</strong>: Full-time</p><p><br></p><p><strong>Locatio</strong>n: Remote</p><p><br></p><p><strong>About US:</strong></p><p>At micro1, we’re all about connecting skilled remote professionals with some of the best companies in Silicon Valley. Our mission is to offer a stable, competitive income, along with access to top industry opportunities—all in a flexible work setting with a range of great benefits. We’re here to help you grow in your career. We're proud to work with trusted partners such as Deel, Immutable, O’Gara, and LegalSoft.</p><p><br></p><p><strong>What We Offer:</strong></p><ul>\n<li>Work from anywhere</li>\n<li>Healthcare reimbursement</li>\n<li>Wi-Fi Reimbursement</li>\n<li>Unlimited Learning: Access to Udemy courses, books, and everything you need to keep gro</li>\n<li>wingAnd So Much More: We’re not just about work—we’re about creating an environment where you’ll love to be!</li>\n</ul><p><br></p><p><strong>Job Summary:</strong></p><p><br></p><p>If you're a hard-working Software Engineer with a passion for developing innovative software solutions, we want you to join our dynamic team. You'll play a crucial role in designing, implementing, and optimizing our software applications using Python, AWS, and FastAPI technologies in a fully remote working environment.</p><p><br></p><p><strong>Key Responsibilities:</strong></p><ul>\n<li>Design, develop, and implement software applications using Python and FastAPI.</li>\n<li>Utilize AWS services for effective deployment and management of applications.</li>\n<li>Collaborate with cross-functional teams to gather requirements and deliver solutions.</li>\n<li>Participate in code reviews and ensure best practices are maintained.</li>\n<li>Continuously improve and optimize existing applications for performance and scalability.</li>\n<li>Document development processes, code changes, and feature implementations clearly and concisely.</li>\n<li>Provide mentorship and guidance to junior engineers on the team.</li>\n</ul><p><br></p><p><strong>Required Skills and Qualifications:</strong></p><ul>\n<li>Proven experience in Python programming and developing applications with FastAPI.</li>\n<li>Strong expertise in AWS and cloud-based application deployment.</li>\n<li>Excellent written and verbal communication skills.</li>\n<li>5+ years of experience in software development.</li>\n<li>Ability to write clean, maintainable, and efficient code.</li>\n<li>Experience in agile methodologies and team collaboration.</li>\n</ul><p><br></p><p><strong>Preferred Qualifications:</strong></p><ul>\n<li>Experience with CI/CD tools and practices.</li>\n<li>Familiarity with microservices architecture.</li>\n<li>Familiarity with Machine Learning principles.</li>\n</ul>",company:"micro1",company_logo:sV,location:"India",posted_at:"2024-11-30T22:15:54.435+01:00",url:"https://jobs.micro1.ai/post/6df20a80-df08-49a0-81f8-a9552d49c055/?urlHash=LWOg",feed_name:"xverum",external_slug_id:"test4",expired_at:"2024-12-11T08:00:11.095+01:00",company_id:0x579337b,location_id:3548416,auto_apply_compatible:!0,status:"",group:void 0,enriched:!1,skills:[],description_with_html_tags:null,seniority_level:null,nice_to_have:[],requirements:[],location_details:null}],sW=e=>{let t=(0,eU.wA)(),i=(0,eW.N)(ej.Tp.careerProfileData),r=(0,eW.N)(ej.Tp.fetchIsNewProfileStatus),n=i?.newProfile!==!1&&(r===eZ.Hp.notAsked||r===eZ.Hp.loading);(0,R.useEffect)(()=>{e&&i?.newProfile!==!1&&r===eZ.Hp.notAsked&&t(ej.o1.prefillProfile())},[e,r,i?.newProfile,t]);let{data:o,isLoading:a}=(0,sz.M)(e&&!n,!0),l=n?0:o?.stats.total_jobs||0,s=n?[]:o?.jobs||[],d=l>=20;return{jobs:s.length>=4?s:sU,jobsCount:d?l:12,hasRealJobsCount:d,isLoading:n||a}};var sK=i(1802),sq=i(91888);let sG=(e=!0)=>{let{i18n:t}=(0,e1.s)(),{data:i}=(0,r2.I)(["autoApplyBenefitAddon"],async()=>{let{data:e}=await Y.uE.get("/billing/plans");return e.plans??[]},{enabled:e,staleTime:1/0,useErrorBoundary:!1}),r=(i??[]).map(e=>e.autoApplyBenefitAddon).find(Boolean)??null;return{credits:r?.credits??0,period:t.t(`builder.intervals.${r?.period??"month"}`)}};var sZ=i(57298);let sX=tt.Ay.div(["position:relative;background:",";width:100vw;height:100vh;max-width:100vw;max-height:100vh;overflow:hidden;display:flex;flex-direction:column;"],te.Jy.White),sQ=tt.Ay.header(["position:relative;display:flex;align-items:center;justify-content:space-between;
442height:80px;padding:"," ",";background:",";z-index:2;",""],te.Kz.S,te.Kz.L,te.Jy.White,tQ.A.Phone`
443    height: 64px;
444    padding: ${te.Kz.XS} ${te.Kz.S};
445  `),sY=tt.Ay.div(["display:flex;align-items:center;> *{height:32px;}"]),s0=tt.Ay.button(["background:none;border:none;cursor:pointer;color:",";padding:",";display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background 0.15s ease,color 0.15s ease;&:hover{background:",";color:",";}svg{fill:currentColor;}"],te.Jy.Neutral80,te.Kz["2XS"],te.Jy.Neutral10,te.Jy.Neutral90),s1=tt.Ay.div(["position:relative;flex:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden;",""],tQ.A.Tablet`
446    display: flex;
447    flex-direction: column;
448    align-items: stretch;
449    overflow-y: auto;
450    overflow-x: hidden;
451    padding-top: 0;
452  `),s2=tt.Ay.section(["display:flex;justify-content:center;padding:calc("," + ",") ",";"," ",""],te.Kz["2XL"],te.Kz["2XS"],te.Kz.L,tQ.A.Tablet`
453    padding: ${te.Kz.S} ${te.Kz.L} ${te.Kz.L};
454  `,tQ.A.Phone`
455    padding: ${te.Kz.M} ${te.Kz.M} ${te.Kz.L};
456  `),s3=tt.Ay.div(["display:flex;flex-direction:column;gap:40px;width:100%;max-width:448px;"," ",""],tQ.A.Tablet`
457    max-width: 540px;
458    gap: ${te.Kz.L};
459  `,tQ.A.Phone`
460    gap: ${te.Kz.L};
461  `),s5=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.L),s4=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.S),s6=tt.Ay.div(["display:flex;align-items:center;gap:",";color:",";",";",";"],te.Kz["3XS"],te.Jy.Neutral90,td.Ay.Caps,td.BO.DemiBold),s8=tt.Ay.div(["display:flex;gap:",";width:100%;> *{flex:1 1 0;}",""],te.Kz.XS,tQ.A.Tablet`
462    display: none;
463  `),s9=tt.Ay.div(["display:none;",""],tQ.A.Tablet`
464    width: 100%;
465    display: flex;
466    justify-content: center;
467  `),s7=tt.Ay.div(["display:none;"," ",""],tQ.A.Tablet`
468    display: flex;
469    position: absolute;
470    justify-content: center;
471    bottom: 0;
472    width: 540px;
473    gap: ${te.Kz.XS};
474    padding: ${te.Kz.S} ${te.Kz.L};
475    background: ${te.Jy.White};
476    z-index: 1;
477
478    > * {
479      flex: 1 1 0;
480    }
481  `,tQ.A.Phone`
482    width: 100%;
483    padding: ${te.Kz.S} ${te.Kz.S};
484  `),de=(0,tt.Ay)(tP.qJ.Crown)(["color:",";width:32px;height:32px;"],te.Jy.Amber40),dt=({onClose:e,onViewMatchingJobs:t,onSetUpAutoApply:i})=>{let r=(0,sK.c)(),{i18n:n}=(0,e1.s)(),{jobs:o,jobsCount:a,hasRealJobsCount:l,isLoading:s}=sW(!0),{credits:d,period:c}=sG(!0),{isPhone:u}=(0,ih.e)();(0,R.useEffect)(()=>{(0,N.xP)("aa_post_download_screen_viewed")},[]);let p=()=>{(0,N.xP)("aa_post_download_screen_closed"),e()},h=[n.t(sq.P.postPurchaseModal.features.autoApply,{count:d,cycle:c}),r.postPurchaseModal.features.tailored,r.postPurchaseModal.features.autoSubmit,r.postPurchaseModal.features.tracking,r.postPurchaseModal.features.jobBoard],x=u?i$.Mp.small:i$.Mp.default,m=(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,size:x,onClick:()=>{(0,N.xP)("aa_post_download_screen_clicked_cta",{cta:"explore_jobs"}),t()},children:r.postPurchaseModal.viewMatchingJobs}),(0,J.jsx)(i$.JQ,{theme:i$.Ox.default,size:x,onClick:()=>{(0,N.xP)("aa_post_download_screen_clicked_cta",{cta:"set_up_auto_apply"}),i()},children:r.postPurchaseModal.setUpAutoApply})]});return(0,J.jsx)(i6.A,{fullScreen:!0,overlayFadeDuration:150,contentSlideDuration:150,onClose:p,children:(0,J.jsxs)(sX,{children:[(0,J.jsxs)(sQ,{children:[(0,J.jsx)(sY,{children:(0,J.jsx)(sc.g,{})}),(0,J.jsx)(s0,{type:"button","aria-label":r.postPurchaseModal.closeAriaLabel,onClick:p,children:(0,J.jsx)(tP.qJ.CloseBig,{})})]}),(0,J.jsxs)(s1,{children:[(0,J.jsx)(s2,{children:(0,J.jsxs)(s3,{children:[(0,J.jsxs)(s5,{children:[(0,J.jsxs)(s4,{children:[(0,J.jsxs)(s6,{children:[(0,J.jsx)(de,{}),r.postPurchaseModal.premiumBadge]}),(0,J.jsx)(sR,{as:"h1",isLoading:s,title:n.t(l?sq.P.postPurchaseModal.title:sq.P.postPurchaseModal.titleFallback,{count:a})})]}),(0,J.jsx)(sO,{title:r.postPurchaseModal.howItWorks,items:h,icon:(0,J.jsx)(tP.qJ.CareerTick,{}),variant:"comfortable",responsiveColumns:!0})]}),(0,J.jsx)(s8,{children:m})]})}),(0,J.jsx)(sP,{jobs:o,isLoading:s}),(0,J.jsx)(s9,{children:(0,J.jsx)(s7,{children:m})})]})]})})},di=()=>{let{isPostPurchaseModalOpen:e,closePostPurchaseModalToJobSearch:t,handleViewMatchingJobs:i,handleSetUpAutoApply:r}=(0,sZ.OS)();return e?(0,J.jsx)(dt,{onClose:t,onViewMatchingJobs:i,onSetUpAutoApply:r}):null},dr="aa_nm_failed_step",dn={resume_parsing:"builder.auto_apply_copilot.non_member_onboarding.errors.resume_parsing",auto_tailoring:"builder.auto_apply_copilot.non_member_onboarding.errors.auto_tailoring",copilot_setup:"builder.auto_apply_copilot.non_member_onboarding.errors.generic",profile_prefill:"builder.auto_apply_copilot.non_member_onboarding.errors.generic",job_card_setup:"builder.auto_apply_copilot.non_member_onboarding.errors.generic"},da=()=>{let e=(0,eU.wA)(),{i18n:t}=(0,e1.s)(),[i,r]=(0,i3.ok)(),n=(0,R.useRef)(!1);return(0,R.useEffect)(()=>
484{if(n.current)return;let o=i.get(dr);if(!o)return;n.current=!0,e(F.o1.setWarningSnackbarOpen({timeout:6e3,text:t.t(dn[o]??"builder.auto_apply_copilot.non_member_onboarding.errors.generic")}));let a=new URLSearchParams(i);a.delete(dr),r(a,{replace:!0})},[e,t,i,r]),null};var dl=i(36961),ds=i(26975),dd=i(86525),dc=i(37431),du=i(40271),dp=i(96230);let dh=()=>(0,dp.n)({mutationFn:async()=>Y.R3.post("/api/builder/subscription/restart_subscription")}),dx=tt.Ay.div(["background-color:",";border-radius:8px;display:flex;flex-direction:column;gap:12px;padding:24px;width:360px;"],te.Jy.White),dm=tt.Ay.div(["gap:",";display:flex;align-self:end;"],te.Kz["2XS"]),dg=tt.Ay.div(["display:flex;justify-content:space-between;"]),dy=(0,tt.Ay)(tP.EK.Close)(["color:",";border-radius:28px;width:28px;height:28px;padding:4px;background:",";cursor:pointer;&:hover{background:",";color:",";}"],te.Jy.Neutral50,te.Jy.Neutral10,te.Jy.Blue10,te.Jy.Blue50),df=tt.Ay.p(["",";font-weight:",";"],te.o5.sizes.Subhead,te.o5.weights.demibold),db=tt.Ay.p(["",";color:",";"],te.o5.sizes.Body,te.Jy.Neutral50),d_=tt.Ay.span(["font-weight:",";margin-left:4px;"],te.o5.weights.demibold),dv=()=>{let e=(0,eU.wA)(),{i18n:t}=(0,e1.s)(),i="builder.restart_subscription",r=(0,L.Zp)(),n=(0,eW.N)(Z.Tp.userData),{mutateAsync:o,isLoading:a}=dh(),l=new Date(n?.billingInfo.premiumEndsAt||""),s=(0,R.useCallback)(()=>{e(F.o1.closeRestartSubscriptionModal())},[e]),d=(0,R.useCallback)((t,i)=>{setTimeout(()=>{e(F.o1.setSnackBarOpen({status:!0,type:i?F.pN.success:F.pN.failure,text:t}))},200),setTimeout(()=>{e(F.o1.closeSnackBar())},5e3)},[e]),c=async()=>{try{let n=await o();n.data&&n.data.success?(e(Z.o1.setAccount(n.data)),d(t.t(`${i}.done_message`),!0)):d(t.t(`${i}.failed_message`),!1),r("/account"),s()}catch(e){console.error(e),d(t.t(`${i}.failed_message`),!1),r("/account"),s()}},u=t.t(`${i}.dialog_message_date_format`),p=(0,dc.default)(l,u),h=t.t(`${i}.dialog_message`);return(0,J.jsx)(i6.A,{fullScreen:!0,overlayFadeDuration:250,contentSlideDuration:0,onClick:s,children:a?(0,J.jsx)(du.Ay,{}):(0,J.jsxs)(dx,{children:[(0,J.jsxs)(dg,{children:[(0,J.jsx)(df,{children:t.t(`${i}.dialog_title`)}),(0,J.jsx)(dy,{onClick:s})]}),(0,J.jsxs)(db,{children:[h,(0,J.jsx)(d_,{children:p})]}),(0,J.jsxs)(dm,{children:[(0,J.jsx)(i$.Ay,{onClick:s,theme:i$.Ox.ghost,children:t.t(`${i}.no_button`)}),(0,J.jsx)(i$.Ay,{onClick:c,disabled:a,children:t.t(`${i}.yes_button`)})]})]})})};var dj=({children:e})=>{let t=(0,eU.wA)(),[i]=(0,ds.p)("limit_document_type"),r=(0,eW.N)(F.Tp.coverLetterModalId),n=(0,eW.N)(F.Tp.docxModalDocumentId),o=(0,eW.N)(F.Tp.docxModalDocumentType),a=(0,eW.N)(F.Tp.isRateModalOpen),l=(0,eW.N)(F.Tp.showRestartSubscriptionModal),s=(0,eW.N)(F.Tp.isMergeModalOpen),d=(0,eW.N)(F.Tp.prefillModalDocumentId),c=(0,eW.N)(F.Tp.limitModalType),u=(0,eW.N)(ej.Tp.careerInsightsStatusModalType),p=(0,eW.N)(ej.Tp.openedPaywallModalType),h=(0,eW.N)(e=>e.ui.isTREditModalOpen),x=(0,eW.N)(e=>e.ui.editModalTrDocId),m=(0,eW.N)(e=>e.ui.trBuilderResumeEditModalId),g=(0,eW.N)(eA.Tp.showUpgradeModal),[y]=(0,i3.ok)(),f=o&&n,{i18n:b}=(0,e1.s)();return(0,dl.h)(()=>{i&&t(F.o1.openLimitModal(i)),y.has(U.pn.isResumeTailor)&&(t($.o1.setEditorPanelType("tailoring")),t($.o1.startResumeOptimizerProcess()))}),(0,J.jsxs)(R.Fragment,{children:[e,(0,J.jsx)(l8,{}),(0,J.jsx)(l9.Wb,{}),(0,J.jsx)(lv,{}),f&&(0,J.jsx)(nk,{documentId:n,documentType:o}),(0,J.jsx)(rX,{}),a&&(0,J.jsx)(ac,{}),s&&(0,J.jsx)(nq,{}),r&&(0,J.jsx)(no,{letterId:r}),d&&(0,J.jsx)(oW,{documentId:d}),c&&!g&&(0,J.jsx)(i4.A,{documentType:c,cancelButton:b.t("builder.job_tracking.limit_modal.cancel"),upgradebutton:b.t("builder.job_tracking.limit_modal.upgrade"),tunerImg:dd,onClose:()=>void(t(F.o1.closeLimitModal()),sessionStorage.removeItem(U.U$.ACTION_AFTER_UPGRADING_PLAN),c&&(0,N.xP)(`close_${c}_limit_modal`))}),h&&x&&(0,J.jsx)(l7.A,{id:x}),m&&(0,J.jsx)(sd,{id:m}),u&&(0,J.jsx)(i5.jp,{type:u}),p&&(0,J.jsx)(i5.zb,{type:p}),l&&(0,J.jsx)(dv,{}),(0,J.jsx)(di,{}),(0,J.jsx)(da,{})]})},dA=i(50481);let dC=tt.Ay.div(["position:absolute;width:100%;height:100%;left:0;top:0;"]),dw=tt.Ay.div(["position:fixed;z-index:1;top:0;left:0;bottom:0;right:0;box-shadow:0 0 24px rgba(0,0,0,0.3);"]),dk=tt.Ay.div(["position:absolute;
484left:0;top:0;width:100%;height:100%;background-color:",";"],te.Jy.Neutral90),dS={transform:"translateY(1500px)",transition:"transform 0.4s ease"},dT={exited:{transform:"translateY(1500px)"},entered:{transform:"translateY(0)"},exiting:{transform:"translateY(1500px)"}},dP={opacity:0,transition:"opacity 0.4s ease"},dJ={exited:{opacity:0},entered:{opacity:.5},exiting:{opacity:0}};class dE extends R.Component{static propTypes={isOpen:i9().bool,children:i9().element};transitionRef=(0,R.createRef)();constructor(e){super(e),this.root=document.createElement("div")}componentDidMount(){document.body.appendChild(this.root)}componentWillUnmount(){document.body.removeChild(this.root)}componentDidUpdate(e){this.props.isOpen&&!e.isOpen?document.body.style.overflow="hidden":!this.props.isOpen&&e.isOpen&&(document.body.style.overflow="")}render(){let{children:e,isOpen:t}=this.props;return(0,J.jsx)(dA.A,{node:this.root,children:(0,J.jsx)(lj.Ay,{in:t,timeout:{enter:100,exit:300},mountOnEnter:!0,unmountOnExit:!0,nodeRef:this.transitionRef,children:t=>(0,J.jsxs)(dC,{ref:this.transitionRef,children:[(0,J.jsx)(dw,{style:{...dS,...dT[t]},children:e}),(0,J.jsx)(dk,{style:{...dP,...dJ[t]}})]})})})}}var dR=i(90811);let dL=({scope:e,children:t})=>{let i=(0,e0.U)(e),r=(0,eW.N)(t=>X.Tp.configFetchStatus(t,e)),n=(0,eU.wA)(),o=r===eZ.Hp.notAsked;return R.useEffect(()=>{o&&n(X.o1.fetchConfig({scope:e}))},[n,o,e]),i?t:null},dN=({children:e})=>{let t=(0,L.zy)(),i=t.state||{};return(0,R.useEffect)(()=>{i.preventScrollToTop||window.scrollTo(0,0)},[t.pathname,i.preventScrollToTop]),(0,J.jsx)(J.Fragment,{children:e})};var dI=i(91558),dM=i(16497);let dB=(0,R.createContext)({isDashboardRoute:!1}),dD=e=>{let t=(0,L.zy)(),{children:i}=e,r="/"===t.pathname;return(0,J.jsx)(dB.Provider,{value:{isDashboardRoute:r},children:i})};var d$=i(9091),dO=i(90997),dz=({children:e})=>(0,J.jsx)(i1.Ay,{children:(0,J.jsx)(eU.Kq,{store:B.M,children:(0,J.jsx)(i0,{history:dM.i,basename:"/app",children:(0,J.jsx)(iY.Ht,{client:dO.q,children:(0,J.jsx)(dL,{scope:X.l1.country,children:(0,J.jsx)(dI.y,{children:(0,J.jsx)(dR.CY,{children:(0,J.jsx)(d$._,{children:(0,J.jsx)(dj,{children:(0,J.jsxs)(dD,{children:[(0,J.jsx)(i2.nK,{}),(0,J.jsx)(dN,{children:e})]})})})})})})})})})}),dF=i(86663);let dH=tt.Ay.div(["overflow:hidden;padding-top:32px;padding-bottom:200px;",";",";"],tQ.$.Tablet`
485    padding-bottom: 80px;
486    padding-top: 20px;
487  `,tQ.$.Phone`
488    min-height: calc(100vh - 64px);
489    padding-top: 20px;
490    padding-bottom: 64px;
491  `),dV=tt.Ay.div(["margin:-57px -40px;",";"],tQ.$.Tablet` margin: 0 -20px; `),dU=tt.Ay.section(["margin-bottom:","px;margin-top:","px;"," "," &:last-child{margin-bottom:","px;}"],e=>"big"===e.margin?120:48,e=>e.marginTop?e.marginTop:0,tQ.$.Tablet`
492    margin-bottom: 24px;
493  `,tQ.$.Phone`
494    margin-bottom: 24px;
495  `,e=>(1===e.selectedIndex||2===e.selectedIndex)&&e.isPhone?80:0),dW=tt.Ay.div(["max-width:1200px;width:100%;margin:0 auto;padding:0 40px;",""],tQ.$.Tablet`
496    padding: 0 20px;
497  `),dK=tt.Ay.div(["overflow:hidden;padding-top:0px;background:",";"],te.Jy.Neutral5),dq=tt.Ay.div(["",";font-weight:600;margin-bottom:32px;",""],td.Ay.L,tQ.A.Phone`
498    margin-bottom: 16px;
499  `),dG=tt.Ay.div(["display:flex;justify-content:space-between;flex-wrap:wrap;",""],tQ.A.Tablet`
500    flex-direction: column;
501  `),dZ=tt.Ay.a(["",";width:calc(50% - 16px);padding:80px;border-radius:16px;background-color:",";text-align:center;margin-bottom:32px;transition:box-shadow 0.2s;&:hover,&:focus-visible{",";}"," ",""],tr.q.lightWithBorder.low,te.Jy.White,tr.q.lightWithBorder.mid,tQ.A.Tablet`
502    width: 100%;
503    margin-bottom: 32px;
504  `,tQ.A.Phone`
505    padding: 32px 16px;
506    margin-bottom: 24px;
507  `),dX=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;max-width:350px;margin:0 auto;",""],tQ.A.Phone`
508    padding: 0 16px;
509  `),dQ=tt.Ay.img(["display:block;width:100%;max-width:350px;margin:0 auto 32px;",""],tQ.A.Phone`
510    margin-bottom: 24px;
511  `),dY=tt.Ay.strong(["",";font-weight:600;margin-bottom:2px;",""],td.Ay.Subhead,tQ.A.Phone`
512    ${td.Ay.Body};
513    margin-bottom: 4px;
514  `),d0=tt.Ay.div(["margin-bottom:24px;",""],tQ.A.Phone`
515    margin-bottom: 20px;
516  `),d1=()=>{let e=(0,eW.N)(X.Tp.locale),{i18n:t}=(0,e1.s)(),r=(()=>{switch(e){case"de-DE":return{url:"https://topcv.de/lebenslauferstellung?pt=ZbACB82g6oMod&utm_source=resumeio&utm_medium=riowebsitemenu&utm_campaign=tr_promo_in_riomenu&utm_content=v1&utm_term=cvappde",imageUrl:i(15114)};case"de-AT":return{url:"https://topcv.de/lebenslauferstellung?pt=DGqJ2DvwvhqTS&utm_source=resumeio&utm_medium=riowebsitemenu&utm_campaign=tr_promo_in_riomenu&utm_content=v1&utm_term=lebenslaufappat",imageUrl:i(15114)};case"de-CH":return{url:"https://topcv.de/lebenslauferstellung?pt=MWfxEmMaieq5Y&utm_source=resumeio&utm_medium=riowebsitemenu&utm_campaign=tr_promo_in_riomenu&utm_content=v1&utm_term=lebenslaufappch",imageUrl:i(15114)};case"fr-FR":return{url:"https://topcv.fr/redaction-cv?pt=v056MOEaR6X6M&utm_source=resumeio&utm_medium=riowebsitemenu&utm_campaign=tr_promo_in_riomenu&utm_content=v1&utm_term=cvappfr",imageUrl:i(15114)};case"en-GB":return{url:"https://topcv.co.uk/cv-writing?pt=YBVEnUqplL1DW&utm_source=resumeio&utm_medium=riowebsitemenu&utm_campaign=tr_promo_in_riomenu&utm_content=v1&utm_term=resumeiouk",imageUrl:i(15114)};case"en-NZ":return{url:"https://nz.topcv.com/cv-writing?pt=lY1hzm8PWF8fd&utm_source=resumeio&utm_medium=riowebsitemenu&utm_campaign=tr_promo_in_riomenu&utm_content=v1&utm_term=cvappnz",imageUrl:i(15114)};case"en-IE":return{url:"https://topcv.com/cv-writing?pt=hPwrrDN8fLqd7&utm_source=resumeio&utm_medium=riowebsitemenu&utm_campaign=tr_promo_in_riomenu&utm_content=v1&utm_term=cvappie",imageUrl:i(15114)};default:return{url:"https://topresume.com/resume-writing?utm_source=resumeio&utm_medium=iocustomerdash&utm_campaign=tr-resumewritingoffer-resumeiodash&utm_content=ordernow-cta",imageUrl:i(51136)}}})(),n=(0,R.useMemo)(()=>{let n=[{name:"top_resume",url:r.url,imageUrl:r.imageUrl,title:t.t("builder.panel.partners.topresume.title"),text:t.t("builder.panel.partners.topresume.text"),action:t.t("builder.panel.partners.topresume.action")}];return"nl-NL"===e?n.push({name:"recruit_robin",url:"https://www.recruitrobin.com/",imageUrl:i(89831),title:"Deel je cv in 1 klik met 3 vacaturesites",text:"Dan kunnen duizenden bedrijven je vinden en benaderen. Helemaal gratis.",action:"Deel mijn CV"}):n.push({name:"resume_rabbit",url:"https://www.resumerabbit.com/",imageUrl:i(21255),title:t.t("builder.panel.partners.resumerabbit.title"),text:t.t("builder.panel.partners.resumerabbit.text"),action:t.t("builder.panel.partners.resumerabbit.action")}),n},[t,e,r.imageUrl,r.url]);return(0,J.jsxs)(dU,{children:[(0,J.jsx)(dq,{children:t.t("builder.panel.partners.title")}),(0,J.jsx)(dG,{children:n.map(e=>(0,J.jsxs)(dZ,{href:e.url,target:"_blank",rel:"noreferrer noopener",onClick:(0,N.OQ)("click_partner_link",{partner:e.name}),children:[(0,J.jsx)(dQ,{src:e.imageUrl,alt:e.title}),(0,J.jsxs)(dX,{children:[(0,J.jsx)(dY,{children:e.title}),(0,J.jsx)(d0,{children:e.text}),(0,J.jsx)(i$.Ay,{children:e.action})]})]},e.name))})]})};var d2=i(42692);let d3=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:450px;margin:0 auto;text-align:center;"]),d5=tt.Ay.img(["max-width:180px;width:100%;height:100%;margin-bottom:24px;",";"],tQ.A.Phone`
517    margin-bottom: 12px;
518  `),d4=tt.Ay.div(["",";font-weight:600;margin-bottom:8px;"],td.Ay.Subhead),d6=tt.Ay.div([""]),d8=(0,tt.Ay)(i$.Ay).attrs({size:i$.Mp.small})(["padding-left:4px;margin-top:32px;",";"],tQ.A.Phone`
519    display: none;
520  `),d9=(0,tt.Ay)(tP.EK.Add)(["margin-right:2px;"]),d7=i(66835),ce=i(39684),ct=({type:e,onClick:t,isButtonDisabled:i,isAutoTailored:r})=>{let{i18n:n}=(0,e1.s)(),o=e===eZ.VC.coverLetter?d7:ce;return(0,J.jsxs)(d3,{children:[(0,J.jsx)(d5,{src:o}),(0,J.jsx)(d4,{children:n.t(`builder.dashboard.empty.${e}s.title`)}),(0,J.jsx)(d6,{children:n.t(`builder.dashboard.empty.${e}s.text`)}),!r&&(0,J.jsxs)(d8,{onClick:t,isDisabled:i,children:[(0,J.jsx)(d9,{}),n.t(`builder.dashboard.create_new_${e}`)]})]})},ci=tt.Ay.svg(["display:block;max-width:100%;color:",";animation:"," 1.5s infinite linear;"],te.Jy.Neutral10,im.dd),cr={rx:6,ry:6},cn=()=>{let{isPhone:e}=(0,ih.e)();return(0,J.jsxs)(ci,{width:"536",height:"492",viewBox:"0 0 536 492",preserveAspectRatio:"xMinYMin",children:[(0,J.jsx)("rect",{x:"0",y:"0",width:"200",height:"40",...cr}),(0,J.jsx)("rect",{x:"0",y:"56",width:e?536:272,height:"32",...cr}),(0,J.jsx)("rect",{x:"0",y:"132",width:"192",height:"270",...cr}),(0,J.jsx)("rect",{x:"224",y:"132",width:"248",height:"44",...cr}),(0,J.jsx)("rect",{x:"224",y:"197",width:"145",height:"24",...cr}),(0,J.jsx)("rect",{x:"224",y:"233",width:"145",height:"24",...cr}),(0,J.jsx)("rect",{x:"224",y:"269",width:"145",height:"24",...cr})]})},co=(e,t,i=[])=>{(0,R.useEffect)(()=>{let i=setTimeout(e,t);return()=>clearTimeout(i)},[t,...i])};var ca=i(95742),cl=i(7439);let cs=i(26257),cd=i(78676),cc=i(15333),cu=i(1426),cp=()=>{let{isPhone:e}=(0,ih.e)(),{i18n:t}=(0,e1.s)(),i=[{data:t.t("builder.panel.card_loader_tooltip.text_line1")},{data:t.t("builder.panel.card_loader_tooltip.text_line2")}];return(0,J.jsxs)(t9,{children:[(0,J.jsx)(t7,{src:e?cu:cc}),(0,J.jsx)(ii,{children:t.t("builder.panel.card_loader_tooltip.title")}),(0,J.jsx)(ir,{src:cs}),(0,J.jsx)(il,{children:i.map((e,t)=>(0,J.jsxs)(is,{children:[(0,J.jsx)(io,{src:cd}),(0,J.jsx)(ia,{children:e.data})]},t))})]})};var ch=i(12922),cx=i(13974),cm=R.memo(({link:e,onChange:t,...i})=>{let{i18n:r}=(0,e1.s)(),[n,o]=(0,R.useState)(i.value),[a,l]=(0,R.useState)(!1),s=(0,R.useRef)(null),d=(0,R.useRef)(null),[c,u]=(0,R.useState)(!1);a||i.value===n||o(i.value),(0,R.useEffect)(()=>{a&&s.current&&(s.current.focus(),s.current.select())},[a]),(0,R.useEffect)(()=>{i.value.includes(r.t("builder.resume_editor.untitled"))?u(!0):u(!1)},[r,i.value]);let p=(0,R.useCallback)(e=>{l(!1),t(e.target.value.trim()||r.t("builder.dashboard.untitled"))},[r,t]),h=(0,R.useCallback)(e=>{"Enter"===e.key&&s.current&&s.current.blur()},[]);return(0,J.jsx)(cx.AE,{children:(0,J.jsxs)(cx.qh,{children:[!a&&(0,J.jsxs)(cx.LO,{children:[(0,J.jsx)(cx.o6,{to:e,children:n}),(0,J.jsx)(cx.B,{isEditIconVisible:c,children:(0,J.jsx)(aH.Ay,{value:r.t("builder.dashboard.rename"),children:(0,J.jsx)(cx.Yu,{onClick:()=>l(!0),children:(0,J.jsx)(tP.Ay.Edit,{})})})})]}),a&&(0,J.jsxs)(cx.cB,{children:[(0,J.jsx)(cx.rP,{value:n,placeholder:r.t("builder.resume_editor.untitled"),onKeyUp:h,onChange:e=>o(e.target.value),onBlur:p,ref:s}),(0,J.jsx)(cx.HM,{children:n})]}),(0,J.jsx)(lj.Ay,{in:a,timeout:100,appear:!0,nodeRef:d,children:e=>(0,J.jsx)(cx.AP,{in:e,ref:d})})]})})}),cg=i(4551),cy=i(38621),cf=i(6490);let cb=tt.Ay.div(["width:","px;height:","px;background:#1a1c6a66;border-radius:16px;position:absolute;z-index:2;cursor:pointer;backdrop-filter:blur(8px);",""],e=>e.isDocummentSection?192:268,e=>e.isDocummentSection?272:336,tQ.A.Phone`
521  width: 104px;
522  height: 146px;
523  `),c_=tt.Ay.div(["margin-top:","px;",""],e=>e.isDocummentSection?79:104,tQ.A.Phone`
524  margin-top: 10px;
525  `),cv=tt.Ay.div(["",";",";color:var(--Neutral-White,#fff);text-align:center;margin-bottom:12px;"],td.BO.Medium,e=>e.isDocummentSection?td.Ay.Caption:td.Ay.Body),cj=(0,tt.Ay)(tP.EK.Crown)(["color:var(--Neutral-White,#fff);width:40px;height:40px;margin:auto;display:block;",""],tQ.A.Phone`
526  width: var(--L, 32px);
527  height: var(--L, 32px);
528  flex-shrink: 0;
529  `),cA=(0,tt.Ay)(i$.Ay)(["position:absolute;",";background:",";color:var(--Neutral-White,#fff);left:50%;transform:translate(-50%);width:121px;height:auto;padding:8px 16px;&:hover,&:active,&:focus-visible{background:",";}",""],td.Ay.Caption,te.Jy.Indigo50,te.Jy.Indigo60,tQ.A.Phone`
530  display: flex;
531  width: 77px;
532  padding: var(--2XS, 8px) var(--S, 16px);
533  justify-content: center;
534  align-items: center;
535`);var cC=({isDocument:e})=>{let{isPhone:t}=(0,ih.e)();return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(cb,{isDocummentSection:e,children:(0,J.jsxs)(c_,{isDocummentSection:e,children:[(0,J.jsx)(cj,{}),(0,J.jsx)(cv,{isDocummentSection:e,children:i7.R.t("builder.navigation.post_premium_blur_card.title")}),(0,J.jsx)(cA,{children:t?i7.R.t("builder.navigation.post_premium_blur_card.isPhonebutton"):i7.R.t("builder.navigation.post_premium_blur_card.button")})]})})})},cw=i(53247),ck=i(85261);let cS=()=>{let e=(0,L.Zp)(),{jobCopilot:t,hasUserCompletedQuestionnaire:i}=(0,ck.J)();return{redirectToAutoApply:()=>{let r=`/auto-apply/${t?.id?`${t.id}/`:""}documents`;e(i?"/job-search?view=recommendation":r)}}};var cT=i(9849),cP=i(5807),cJ=i(21798),cE=i(9883),cR=i(33809),cL=i(81038);let cN=({critique:e})=>{let{isPhone:t}=(0,ih.e)(),{status:i,createdAt:r}=e,n=(0,W.Kn)(e),o=(0,R.useMemo)(()=>i===W.oV.failed?t?i7.R.t("builder.panel.critique_review_failed_state.document_review.phone_status"):i7.R.t("builder.panel.critique_review_failed_state.document_review.status"):i===W.oV.finished?t?i7.R.t("builder.panel.critique_review_success_state.document_review.phone_status"):i7.R.t("builder.panel.critique_review_success_state.document_review.status"):i7.R.t("builder.panel.critique_review_pending_state.document_review.status"),[t,i]),a=(0,R.useMemo)(()=>i===W.oV.failed?i7.R.t("builder.panel.critique_review_failed_state.document_review.hint"):i===W.oV.finished?i7.R.t("builder.panel.critique_review_success_state.document_review.hint",{critiqueName:e.reviewer.name}):i7.R.t("builder.panel.critique_review_pending_state.document_review.hint",{timeLeft:n}),[i,e.reviewer.name,n]);return(0,R.useMemo)(()=>(0,W.fB)(r),[r])?(0,J.jsx)(J.Fragment,{}):(0,J.jsx)(cL.PV,{onClick:()=>{i===W.oV.failed&&(0,N.xP)("click_resume_critique_error_icon",{section:"resume_preview"}),i===W.oV.finished&&(0,N.xP)("click_read_resume_critique_button",{section:"resume_preview",source:"dashboard"})},value:a,multiline:!0,textAlign:"center",children:(0,J.jsxs)(cL.ks,{to:"",status:i,onClick:t=>{t.preventDefault(),e.iframeUrl&&window.open(`${e.iframeUrl}${ix.Kw}`)},children:[(i===W.oV.finished||i===W.oV.failed)&&(0,J.jsxs)(cL.aB,{children:[(0,J.jsx)(cL.wU,{status:i,children:(0,J.jsx)(cL.N1,{as:i===W.oV.failed?tP.qJ.Close:tP.EK.Star})}),i===W.oV.finished&&!t&&(0,J.jsx)(cL.MG,{src:e.reviewer.photoUrl})]}),(0,J.jsx)(cL.Ht,{children:o}),i===W.oV.finished&&(0,J.jsx)(cL.Vr,{})]})})},cI=({id:e,type:t})=>{let i=(0,eW.N)(W.Tp.scenario),r=(0,eW.N)(t=>W.Tp.critique(t,e));return i===W.XN.embedded&&r&&t===eZ.VC.resume?(0,J.jsx)(cN,{critique:r}):null},cM=e=>{let{title:t,text:i,primaryButtonText:r,secondaryButtonText:n,primaryAction:o,secondaryAction:a,onCancel:l}=e;return(0,J.jsx)(nX.A,{title:t,text:i,primaryButtonText:r,secondaryButtonText:n,primaryAction:o,secondaryAction:a,closeAction:l,isOpen:!0})};var cB=i(94191),cD=i(20374),c$=i(31441);let cO=tt.Ay.div(["position:absolute;right:5%;top:10%;width:30%;min-width:312px;max-width:320px;border-radius:8px;box-shadow:0px 0px 1px rgb(15 56 113 / 32%),0px 2px 4px -1px rgb(15 56 113 / 8%),0px 8px 20px -4px rgb(15 56 113 / 12%);"," ",""],tQ.A.Tablet`
536    left: 148px;
537    top: 335px;
538    width:320px;
539  `,tQ.A.Phone`
540    left: 0px;
541    top: 105%;
542    z-index: 1;
543    width: 100%;
544    max-width: 400px;
545  `),cz=tt.Ay.div(["",";height:208px;background:",";border-radius:8px;& > :first-child{border-top-left-radius:8px;border-top-right-radius:8px;}& > :last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px;}",""],td.Ay.Tiny,te.Jy.White,tQ.A.Phone`
546    width: 100%;
547  `),cF=tt.Ay.div(["",";height:104px;min-width:312px;border:1px solid ",";cursor:pointer;",""],td.Ay.Tiny,te.Jy.Neutral15,tQ.A.Phone`
548    width: 100%;
549  `),cH=tt.Ay.div(["width:98%;height:96px;margin-top:3.5px;margin-left:3.8px;border-radius:4px;display:flex;",":hover &{background-color:",";}"],cF,te.Jy.Blue10),cV=tt.Ay.div(["position:relative;width:98%;height:24px;display:flex;z-index:10;margin-left:3.8px;top:-24px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;",":hover &{background:linear-gradient(180deg,rgba(234,246,255,0) 0%,"," 100%);}"],cF,te.Jy.Blue10),cU=(0,tt.Ay)(tg.A)(["width:80px;margin:8px 0px 0px 8px;border-radius:2px;border:1px solid ",";border-bottom:none;background:linear-gradient(180deg,#f7f9fc 0%,"," 100%);border-image:linear-gradient(to bottom,"," 60%,"," 100%);border-image-slice:1;"],te.Jy.Neutral15,te.Jy.White,te.Jy.Neutral15,te.Jy.White),cW=tt.Ay.di
549v(["margin:12px 0 0 16px;"]),cK=tt.Ay.div(["",";",";color:",";height:24px;width:192px;",":hover &{color:",";}"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90,cF,te.Jy.Blue50),cq=tt.Ay.div(["",";",";color:",";width:192px;height:32px;"],td.Ay.Tiny,td.BO.Regular,te.Jy.Neutral50),cG=tt.Ay.div(["height:36px;width:fit-content;display:flex;background:",";border-radius:6px;margin-bottom:20px;&:hover{background:",";}"],te.Jy.Neutral5,te.Jy.Blue10),cZ=tt.Ay.div(["display:flex;justify-content:center;align-items:center;"]),cX=tt.Ay.div(["",";",";padding:8px;max-width:236px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;",""],td.Ay.Caption,td.BO.Regular,tQ.A.Phone`
550    max-width: 123px;
551  `);te.Jy.White,tr.A.lightWithBorder.low;let cQ=tt.Ay.div(["",";",";color:",";background:green;border-radius:4px;text-align:center;height:20px;margin:8px 0px 8px 8px;padding:2px 4.5px;white-space:nowrap;background:",";&:after{content:'%';}"],td.Ay.Tiny,td.BO.DemiBold,e=>e.isFirstDocumentFree?te.Jy.Indigo60:te.Jy.White,e=>e.isFirstDocumentFree?te.Jy.Indigo20:(0,c$.Oz)(e.score)),cY=(0,tt.Ay)(tP.Ay.Lock)(["margin:-6px -4px -4px;"]);var c0=i(51189);let c1=(0,tt.Ay)(tP.EK.Hint2)(["transition:opacity 0.2s ease-out;"]),c2=(0,tt.Ay)(tP.EK.Tips)(["transition:opacity 0.2s ease-out;position:absolute;right:0;top:0;"]),c3=tt.Ay.div(["margin-left:",";",";"," border-radius:",";color:",";padding:"," 6px;background:",";display:flex;gap:",";align-items:center;white-space:nowrap;flex-wrap:nowrap;","{opacity:1;}","{opacity:0;}",""],te.Kz["2XS"],td.Ay.Tiny,td.BO.DemiBold,te.Kz["3XS"],te.Jy.Blue50,te.Kz["3XS"],te.Jy.Blue10,te.Kz["3XS"],c1,c2,tQ.A.Hover`
552    &:hover {
553      background: ${te.Jy.Blue20};
554      color: ${te.Jy.Blue60};
555      ${c1} {
556        opacity: 0;
557      }
558
559      ${c2} {
560        opacity: 1;
561      }
562    }
563  `),c5=tt.Ay.div(["position:relative;"]),c4=e=>{let{isDisabled:t,onClick:i}=e,{i18n:r}=(0,e1.s)(),{isPhone:n}=(0,ih.e)();return(0,J.jsxs)(cL.Az,{onClick:i,isDisabled:t,children:[(0,J.jsx)(cL.R8,{as:tP.Ay.IconSend}),r.t("builder.auto_tailoring.dashboard.auto_apply"),(0,J.jsx)(aH.QP,{multiline:!0,value:r.t("builder.auto_tailoring.dashboard.ready_tooltip"),width:240,children:n?(0,J.jsx)(c3,{children:r.t("builder.auto_tailoring.dashboard.ready_mobile")}):(0,J.jsxs)(c3,{children:[r.t("builder.auto_tailoring.dashboard.ready"),(0,J.jsxs)(c5,{children:[(0,J.jsx)(c1,{}),(0,J.jsx)(c2,{})]})]})})]})};var c6=i.p+"media/CheckCircle198780b757c2f384.svg";let c8=tt.Ay.img([""]),c9=tt.Ay.div(["",";",";margin:0px 8px;white-space:nowrap;"],td.Ay.Body,td.BO.Regular),c7=tt.Ay.div(["",";"," border-radius:4px;color:",";padding:4px 6px;background:",";",";"],td.Ay.Tiny,td.BO.DemiBold,te.Jy.Blue50,te.Jy.Blue10,tQ.A.Phone`
564    margin-left: 30px;
565  `),ue=tt.Ay.div(["display:flex;align-items:center;"]),ut=tt.Ay.div(["display:flex;align-items:center;margin-bottom:12px;cursor:pointer;&:hover{color:",";}","{color:",";background:",";}","{color:",";}",";"],e=>e.disabled?te.Jy.Neutral50:te.Jy.Blue50,c7,e=>e.disabled?te.Jy.Neutral50:te.Jy.Blue50,e=>e.disabled?te.Jy.Neutral10:te.Jy.Blue10,c9,e=>e.disabled&&te.Jy.Neutral50,tQ.A.Phone`
566    flex-direction: column;
567    align-items: flex-start;
568  `),ui=e=>{let{i18n:t}=(0,e1.s)();return(0,J.jsxs)(ut,{onClick:e.onClick,children:[(0,J.jsxs)(ue,{children:[(0,J.jsx)(c8,{src:c6}),(0,J.jsx)(c9,{children:t.t("builder.dashboard.critique_review.title")})]}),(0,J.jsx)(c7,{children:t.t("builder.dashboard.critique_review.expert")})]})};var ur=i(53609);let un=R.forwardRef(({isPostPremium:e,isFirstDocumentFree:t,document:i,isAutoTailored:r,...n},o)=>{let a=(0,eU.wA)(),[l]=(0,i3.ok)(),s=(0,eW.N)(e=>e.rendering.isDocumentDownloading),[d,c]=(0,R.useState)(!1),[u,p]=(0,R.useState)(!1),h=(0,eW.N)(e=>e.panel.trDocuments),x=(0,eW.N)(e=>e.panel.trDocumentsStatus),{i18n:m}=(0,e1.s)(),{isPhone:g}=(0,ih.e)(),y=(0,e0.U)(),f=y?.features.superApp,b=(0,e4.J)(),_=(0,eW.N)(Z.Tp.premiumAccess),v=(y?.features.shareResume??!1)&&_,j=y?.features.resumeOptimizer,{id:A,type:C,template:w,score:k,averageScore:S,jobTitle:T,companyName:P}=i,{data:E}=(0,cP.F)(),L=C===eZ.VC.resume&&!!E?.enabled&&E.documentType===cJ.K.resume&&E.documentId===A,I=C===eZ.VC.resume?i.aiTaskId:null,M=C===eZ.VC.resume?i.jobPostingId:null,B=(0,eW.N)(e=>W.Tp.critique(e,A)),D=B?.status,O=D===ex.oV.pending,H=D===ex.oV.finished,V=D===ex.oV.failed,K=(0,eW.N)(W.Tp.userHasAtLeastOneCritique),[q,G]=(0,R.useState)(!1),X=y?.features.critiqueEntryPoints,Q=(0,eW.N)(Z.Tp.userData),Y=Q?.billingInfo.userType===Z.ut.free,[ee,et]=(0,R.useState)(null),[ei,er]=(0,R.useState)(null),en=j&&M,eo=en?S:k,[ea,el]=(0,R.useState)(!1),es=(0,ln.f)({upgradeURL:(0,eW.N)(Z.Tp.getUpgradeUrl)}),{redirectToAutoApply:ed}=cS(),ec=(0,cT.F)(T,P),eu=i.type===eZ.VC.trDocument?i.resume_id:null,ep=!!b&&(0,cR.PI)(i)&&!!i.trOrderId&&!b.scopes?.writer,eh=(0,tv.I)(i,{size:g?104:192}),em=`/${(0,U.dh)(C)}/${A}/`,eg=C===eZ.VC.trDocument?`/${(0,U.dh)(C)}/${A}`:ep?`/${(0,U.dh)(C)}/${A}/view`:`/${(0,U.dh)(C)}/${A}/edit`;(0,R.useEffect)(()=>{!ee&&h[A]&&et({...h[A]})},[ee,h,A]),(0,R.useEffect)(()=>{er(x[A])},[x,A]),(0,R.useEffect)(()=>{let e=sessionStorage.getItem(z.$C.DOWNLOAD_WHEN_PREMIUM);if(ee&&ei===eZ.Hp.loaded&&e){let e=ee?.files?.[0]?.url,t=ee?.files?.[0]?.content_type;
568e&&(a(z.o1.download({id:Number(ee?.id),type:ee?.doc_type,format:t.endsWith("pdf")?eZ.hR.tr_pdf:eZ.hR.tr_doc,source:"tr_doc",trDocument:ee})),sessionStorage.removeItem(z.$C.DOWNLOAD_WHEN_PREMIUM),sessionStorage.removeItem(z.$C.TR_DOC_ID))}},[a,ee,ei]);let ey=(0,R.useCallback)(e=>{C===eZ.VC.trDocument?a(U.o1.renameTrDocument({id:A,type:C,title:e,slug:e})):a(U.o1.renameDocument({id:A,type:C,name:e})),(0,N.xP)(`rename_${C}`)},[a,A,C]),ef=(0,R.useCallback)(()=>{a(U.o1.copyDocument({id:A,type:C})),(0,N.xP)(`duplicate_${C}`)},[a,A,C]),eb=(0,R.useCallback)(()=>{let e=C===eZ.VC.resume?A:null,t=C===eZ.VC.resume?null:A;a(F.o1.openMergeModal({resumeId:e,coverLetterId:t})),(0,N.xP)("open_documents_merging_modal")},[a,A,C]),e_=(0,R.useCallback)(()=>{let e=i.type===eZ.VC.trDocument?i.doc_type:eZ.VC.resume;if(e===eZ.VC.resume);else if(e===eZ.VC.coverLetter)return eZ.VC.coverLetter;return eZ.VC.resume},[i]),ev=e=>e===eZ.hR.pdf?eZ.hR.tr_pdf:e===eZ.hR.docx?eZ.hR.tr_doc:void 0,ej=(0,R.useCallback)(e=>{C!==eZ.VC.trDocument?(a(z.o1.download({id:A,type:C,format:e,source:"dashboard",template:w,aiTaskId:I})),(0,N._m)("Dashboard",`Download ${(0,U.vi)(C)}`),(0,N.xP)(`click_download_${C}_button`,{format:e,source:"dashboard",template:w,...i.type===eZ.VC.resume&&{score:i?.score}})):((0,N.xP)("click_download_tr_document_button",{format:ev(e),source:"dashboard"}),a(z.o1.download({id:A,type:e_(),format:ev(e),source:"tr_doc",trDocument:ee})))},[C,w,a,A,I,i,e_,ee]),eA=(0,R.useCallback)(()=>{p(!1),a(U.o1.deleteDocument({id:A,type:C})),(0,N.xP)(`delete_${C}`)},[a,A,C]),eC=(0,R.useCallback)(()=>{a(F.o1.openSharingModal(A))},[a,A]);(0,R.useEffect)(()=>{l.has("isSharing")&&l.has("docId")&&a(F.o1.openSharingModal(Number(l.get("docId"))))},[]);let ew=(0,R.useMemo)(()=>[C===eZ.VC.trDocument?!!ee?.files?.length&&ee.files.some(e=>e?.filename?.endsWith(".docx")||e?.filename?.endsWith(".doc"))&&{text:m.t("builder.dashboard.download_docx"),icon:(0,J.jsx)(tP.Ay.FileWord,{}),iconReference:tP.Ay.FileWord,onClick:()=>ej(eZ.hR.docx)}:{text:m.t("builder.dashboard.download_docx"),icon:(0,J.jsx)(tP.Ay.FileWord,{}),iconReference:tP.Ay.FileWord,onClick:()=>ej(eZ.hR.docx)},C===eZ.VC.resume&&C!==eZ.VC.trDocument&&{text:m.t("builder.dashboard.download_txt"),icon:(0,J.jsx)(tP.Ay.FileTxt,{}),iconReference:tP.Ay.FileTxt,onClick:()=>ej(eZ.hR.txt)},C===eZ.VC.resume&&C!==eZ.VC.trDocument&&{text:m.t("builder.dashboard.duplicate"),icon:(0,J.jsx)(tP.Ay.Duplicate,{}),iconReference:tP.Ay.Duplicate,onClick:ef},C!==eZ.VC.trDocument&&{text:m.t("builder.resume_editor.combine_with"),icon:(0,J.jsx)(tP.Ay.Combine,{}),iconReference:tP.Ay.Combine,onClick:eb},C!==eZ.VC.trDocument&&!ep&&{text:m.t("builder.dashboard.delete"),icon:(0,J.jsx)(tP.Ay.Trash,{}),iconReference:tP.Ay.Trash,onClick:()=>p(!0)}],[m,C,ef,eb,ej,ee?.files,ep]),ek=(0,R.useCallback)(()=>{ep?a(F.o1.toggleTRBuilderResumeEditModal(A)):C===eZ.VC.trDocument&&a(F.o1.openTREditModal(A))},[a,A,eu,C,ep]),eS=C!==eZ.VC.trDocument||!!ee?.files?.length&&ee.files.some(e=>e?.filename?.endsWith(".pdf")),eT=C===eZ.VC.trDocument||ep,eP=["resume","cover_letter"].includes(i.doc_type)||ep,eJ=C===eZ.VC.resume&&v,eE=C!==eZ.VC.resume&&C!==eZ.VC.trDocument,eR=!r&&j&&!en,eL=r&&b?.scopes?.autoApply,eN=!K&&X,eI=[eS,eT,eE,eP,eJ,eR,eN].filter(Boolean),eM=ew.filter(e=>!!e),eB=Math.max(0,4-eI.length),eD=eM.slice(0,eB),e$=eM.slice(eB);return(0,J.jsxs)(cL.j8,{...n,ref:o,onMouseOver:()=>{setTimeout(()=>{el(!0)},200)},onMouseOut:()=>{setTimeout(()=>{el(!1)},200)},children:[(0,J.jsx)(cL.Hg,{as:i3.N_,to:t?"":eg,onClick:()=>{t&&(window.open(es,"_self"),(0,N.xP)("cta_click_post_premium_paywall"))},"data-testid":C===eZ.VC.resume?"resume-card":"document-card",children:e&&(ea||g)?(0,J.jsx)(cC,{isDocument:!0}):(0,J.jsx)(cL.mE,{showUnavailablePreview:!(C!==eZ.VC.trDocument||i?.thumbnail?.url&&i?.thumbnail?.url!==""),src:C===eZ.VC.trDocument?i?.thumbnail&&i?.thumbnail?.url!==""?i?.thumbnail?.url:cD:eh,critiqueReviewStatus:H?ex.oV.finished:V?ex.oV.failed:O?ex.oV.pending:void 0,viewResumeCritiqueReview:()=>{var e;(e=B?.iframeUrl||"")&&((0,N.xP)("click_read_resume_critique_banner",{where:"dash"}),a(ex.o1.setCritiquePageVisitedCount(!0)),window.open(`${e}${ix.Kw}`))}})}),!f&&!X&&(0,J.jsx)(cI,{id:A,type:C}),q&&(0,J.jsx)(cE.A,{onClose:()=>G(!1),redirectUrl:"/app",resumeIdToSendToCritique:A}),(0,J.jsxs)(cL.N6,{isDisabled:t,children:[(0,J.jsx)(cm,{value:C===eZ.VC.trDocument&&i?.title?i?.title:i.name||m.t("builder.dashboard.untitled"),link:eg,onChange:e
568y}),(0,J.jsxs)(cL.Ar,{children:[i.updatedAt&&(0,J.jsxs)("div",{children:[m.t("builder.dashboard.updated")," ",(0,cB.k)(i)]}),(0,J.jsx)("div",{children:m.t("builder.dashboard.created",{date:(0,cB.z)(i)})})]}),(C===eZ.VC.trDocument||ep)&&(0,J.jsx)(ur.o,{}),w&&"rirekisho"!==w.toString()&&C===eZ.VC.resume&&!ep&&(0,J.jsxs)(cL.B,{as:i3.N_,to:eg,children:[(0,J.jsxs)(cG,{onClick:()=>{eo===k?(0,N.xP)("click_resume_score",{label:"dashboard",is_tailored:!1}):(0,N.xP)("click_resume_score",{label:"dashboard",is_tailored:!0})},children:[(0,J.jsx)(cQ,{isFirstDocumentFree:t,score:eo,children:t?(0,J.jsx)(cY,{}):(0,J.jsx)(J.Fragment,{children:eo})}),en?(0,J.jsxs)(cZ,{children:[(0,J.jsx)(cf.vE,{style:{marginLeft:"8px"},size:20,src:cy}),(0,J.jsx)(cX,{children:ec})]}):(0,J.jsx)(cX,{children:m.t("builder.resume_tuner.banner.dashboard_score")})]}),eR&&(0,J.jsx)(c0.u,{onClick:()=>{a($.o1.setEditorPanelType("tailoring")),a($.o1.startResumeOptimizerProcess()),(0,N.xP)("click_tailor_to_job")}})]}),eN&&(0,J.jsx)(ui,{onClick:()=>{Y?G(!0):((0,N.xP)("click_send_resume_review",{where:"dash"}),a(W.o1.sendResumeToCritique({resumeId:A})))}}),eL&&(0,J.jsx)(c4,{onClick:()=>{ed()},isDisabled:t}),eT&&(0,J.jsxs)(cL.Az,{as:i3.N_,to:ep?eg:em,children:[(0,J.jsx)(cL.R8,{as:tP.Ay.View}),m.t("builder.resume_editor.view")]}),eP&&(0,J.jsxs)(cL.Az,{isDisabled:t,as:C===eZ.VC.trDocument||ep?"":i3.N_,to:C===eZ.VC.trDocument||ep?"":eg,onClick:ek,children:[(0,J.jsx)(cL.R8,{as:tP.Ay.Edit}),m.t("builder.dashboard.edit")]}),eJ&&(0,J.jsxs)(cL.Az,{isDisabled:t,onClick:eC,children:[(0,J.jsx)(cL.R8,{as:tP.Ay.Share}),m.t("builder.resume_editor.share")]}),eE&&(0,J.jsxs)(cL.Az,{onClick:ef,children:[(0,J.jsx)(cL.R8,{as:tP.Ay.Duplicate}),m.t("builder.dashboard.duplicate")]}),eS&&(0,J.jsxs)(cL.Az,{isDisabled:s||t,onClick:()=>ej(eZ.hR.pdf),children:[(0,J.jsx)(cL.R8,{as:tP.Ay.Download}),m.t("builder.dashboard.download")]}),eD.map(e=>(0,J.jsxs)(cL.Az,{isDisabled:s||t,onClick:e.onClick,children:[(0,J.jsx)(cL.R8,{as:e.iconReference}),e.text,e.badge&&(0,J.jsx)(cw.L7,{children:e.badge})]},e.text)),!!e$.length&&(0,J.jsxs)(cL.tQ,{children:[(0,J.jsxs)(cL.Az,{isActive:d,isDisabled:s||t,onClick:()=>c(!0),children:[(0,J.jsx)(cL.R8,{as:tP.Ay.More}),m.t("builder.dashboard.more")]}),d&&(0,J.jsx)(cg.A,{align:"left",position:"bottom",onClose:()=>c(!1),actions:e$})]})]}),u&&(0,J.jsx)(cM,{title:m.t(L?"builder.resume_editor.delete_dialog.resume.auto_apply_title":`builder.resume_editor.delete_dialog.${C}.title`),text:m.t(L?"builder.resume_editor.delete_dialog.resume.auto_apply_text":`builder.resume_editor.delete_dialog.${C}.text`),primaryButtonText:m.t("builder.resume_editor.cancel"),secondaryButtonText:m.t("builder.resume_editor.delete"),primaryAction:()=>p(!1),secondaryAction:eA,onCancel:()=>p(!1)})]})}),uo=R.forwardRef(({type:e},t)=>{let i=(0,eU.wA)(),r=(0,eW.N)(U.Tp.documents),n=r[0].id,o=r[0].renderingToken,a=r[0].version,l=(0,tv.I)({renderingToken:o,version:a}),s=[{type:"newDocument",title:i7.R.t("builder.resume_optimizer.create_resume.title"),content:i7.R.t("builder.resume_optimizer.create_resume.content")},{type:"duplicateDocument",title:i7.R.t("builder.resume_optimizer.dupicate_resume.title"),content:i7.R.t("builder.resume_optimizer.dupicate_resume.content")}],d=(0,R.useCallback)(t=>{"newDocument"===t?(i(U.o1.createDocument({type:e})),(0,N._m)("Dashboard",`Create ${(0,U.vi)(e)}`),(0,N.xP)(`create_${e}`),(0,N.xP)("click_create_new_resume")):(null!==n&&i(U.o1.copyDocument({id:n,type:e})),(0,N.xP)(`duplicate_${e}`),(0,N.xP)("click_duplicate_existing"))},[i,n,e]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(cO,{ref:t,children:(0,J.jsx)(cz,{children:s.map(e=>(0,J.jsxs)(cF,{onClick:()=>d(e.type),"data-testid":`create-new-resume-option-${e.type}`,children:[(0,J.jsxs)(cH,{children:[(0,J.jsx)(cU,{src:"newDocument"===e.type?"":l}),(0,J.jsxs)(cW,{children:[(0,J.jsx)(cK,{children:e.title}),(0,J.jsx)(cq,{children:e.content})]})]}),(0,J.jsx)(cV,{})]},e.type))})})})}),ua=R.forwardRef(({type:e,...t},i)=>{let{i18n:r}=(0,e1.s)(),n=(0,eU.wA)(),[o,a]=(0,R.useState)(!1),l="resume"===e,s=(0,R.useCallback)(()=>{n(U.o1.createDocument({type:e})),(0,N._m)("Dashboard",`Create ${(0,U.vi)(e)}`),(0,N.xP)(`create_${e}`)},[n,e]),d=(0,R.useCallback)(()=>{l?a(e=>!e):s()},[l,a,s]);return o&&(0,N.xP)("click_new_resume_card"),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(cL.p5,{onClick:d,...t,ref:i,isClicked:!!l&&o,children:[(0,J.jsx)(cL.Hg,{children:(0,J.jsx)(cL.Oo,{children:(0,J.jsx)(cL.AB,{})})}),(0,J.jsxs)(cL.N6,{children:[(0,J.jsx)(cL.cO,{children:r.t(`builder.panel.documents.new.${e}.title`)}),(0,J.jsx)(cL.Ar,{children:r.t(`builder.panel.documents.new.${e}.text`)})]})]}),o&&(0,J.jsx)(uo,{type:"resume"})]})}),ul=tt.Ay.div([""]),us=(0,tt.Ay)(ch.A)(["display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:-","px;"," ",""],56,tQ.A.Tablet`
569    margin-right: 0;
570    margin-bottom: -${32}px;
571  `,tQ.A.Phone`
572    margin-bottom: -${24}px;
573  `),ud=(0,tt.AH)(["width:calc(50% - ","px);margin-bottom:","px;"," ",""],28,56,tQ.A.Tablet`
574    width: 100%;
575    margin-bottom: ${32}px;
576  `,tQ.A.Phone`
577    margin-bottom: ${24}px;
578  `),uc=(0,tt.Ay)(un)(["",""],ud),uu=(0,tt.Ay)(ua)(["",""],ud),up=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.default})(["display:block;width:auto;margin:auto;padding:16px 24px;margin-top:48px;margin-bottom:56px;color:",";background-color:",";border-radius:12px;border:none;cursor:pointer;transition:color 0.15s;&:hover{color:",";background-color:",";}",""],te.Jy.Neutral50,te.Jy.Neutral5,te.Jy.Blue50,te.Jy.Blue10,tQ.A.Phone`
579    margin-top: 32px;
580    margin-bottom: 48px;
581  `),uh=tt.Ay.div(["height:32px;width:105px;left:77px;top:12px;position:absolute;background:",";box-shadow:0px 0px 1px rgba(15,56,113,0.32),0px 1px 2px rgba(15,56,113,0.12),0px 2px 4px rgba(15,56,113,0.08);border-radius:30px;",""],te.Jy.White,tQ.A.Phone`
582  border-radius: 15px;
583    left:3px;
584    width: 98px;
585    height: 25px;
586  `),ux=(0,tt.Ay)(tP.Ay.Spinner)(["color:",";animation:"," 0.5s infinite linear;position:absolute;
586left:4px;top:4px;",""],te.Jy.Blue50,im.ni,tQ.A.Phone`
587    top: 2px;
588  `),um=tt.Ay.div(["position:absolute;left:31.07%;right:11.65%;top:25%;bottom:25%;",";",";display:flex;align-items:center;color:",";",""],td.o5.Tiny,td.BO.DemiBold,te.Jy.Neutral90,tQ.A.Phone`
589    left:25px;
590  `),ug=R.forwardRef(({document:e,shouldShowLoaderContainer:t,setIsHovering:i,critiqueReviewLoaderVisibility:r,isSuperApp:n,documentType:o,isPostPremium:a,isFirstDocumentFree:l,isAutoTailored:s},d)=>{let{i18n:c}=(0,e1.s)();return(0,J.jsxs)(R.Fragment,{children:[(0,J.jsx)(uc,{document:e,isPostPremium:a,isFirstDocumentFree:l,ref:d,isAutoTailored:s}),t&&(0,J.jsxs)(uh,{onMouseOver:()=>{i(!0)},onMouseOut:()=>{i(!1)},onTouchStart:()=>{i(!0)},onTouchCancel:()=>{i(!1)},children:[(0,J.jsx)(ux,{}),(0,J.jsx)(um,{children:c.t("builder.panel.loader.prefill_loader_text")})]}),r&&n&&"resume"===o&&(0,J.jsx)(iC,{isGoalCardSection:!1})]})}),uy=({type:e,documents:t,critiqueReviewLoaderVisibility:i,fromDashboard:r,isAutoTailored:n,isPaginationDisabled:o=!1})=>{let a=(0,eW.N)(U.Tp.resumeStatus),l=(0,L.zy)(),{i18n:s}=(0,e1.s)(),{isPhone:d,isTablet:c}=(0,ih.e)(),u=(0,eW.N)(Z.Tp.postPremium),p=u===Z.ut.free,h=(0,R.useMemo)(()=>o?1/0:r||c?2:4,[r,c,o]),[x,m]=(0,R.useState)(h),g=(0,R.useMemo)(()=>t.slice(0,x),[t,x]),y=new URLSearchParams(l.search).get("tr_promo_banner"),f=(t?.length??0)>0,b=a===eZ.TF.skipped,_=(0,e0.U)(),v=_?.features.superApp,[j,A]=(0,R.useState)(!1),C=(0,eU.wA)();return(0,R.useEffect)(()=>{let e=sessionStorage.getItem("sendToCritique");if(e){var t;t=Number(e),p||((0,N.xP)("click_send_resume_review",{where:"dash"}),C(W.o1.sendResumeToCritique({resumeId:t}))),sessionStorage.removeItem("sendToCritique")}},[]),(0,J.jsxs)(ul,{children:[(0,J.jsxs)(us,{appearAnimation:"fade",duration:300,staggerDelayBy:50,children:[g.map((t,r)=>(0,J.jsx)(ug,{document:t,setIsHovering:A,critiqueReviewLoaderVisibility:i,shouldShowLoaderContainer:f&&b&&null!==y,isSuperApp:v,documentType:e,isPostPremium:"post_premium"===u&&(0!==r||n),isFirstDocumentFree:"post_premium"===u&&(0!==r||n),isAutoTailored:n},t.type+t.id)),1===t.length&&!d&&!n&&("resume"===e||"cover_letter"===e)&&(0,J.jsx)(uu,{type:e},`create-${e}`),(0,J.jsx)(J.Fragment,{children:j&&(0,J.jsx)(cp,{})})]}),t.length>g.length&&(0,J.jsx)(up,{onClick:()=>{r?(0,dM.o)(`/${(0,U.dh)(e,n)}`):m(1/0)},children:s.t(`builder.panel.documents.show_more.${e}`,{count:t.length-g.length})})]})};var uf=i(44086);let ub=({critique:e,onClose:t,...r})=>{let{status:n}=e,o=(0,W.Kn)(e),{isTablet:a}=(0,ih.e)();(0,R.useEffect)(()=>{(0,N.xP)("see_resume_critique_banner",{source:"dashboard",status:n})},[n]);let l=(0,R.useMemo)(()=>n===W.oV.failed?i7.R.t("builder.panel.critique_review_failed_state.t
590itle"):n===W.oV.finished?i7.R.t("builder.panel.critique_review_success_state.title"):i7.R.t("builder.panel.critique_review_pending_state.title"),[n]),s=(0,R.useMemo)(()=>n===W.oV.failed?i7.R.t("builder.panel.critique_review_failed_state.text"):n===W.oV.finished?i7.R.t("builder.panel.critique_review_success_state.text",{critiqueName:e.reviewer.name}):i7.R.t("builder.panel.critique_review_pending_state.text",{timeLeft:o}),[n,o,e.reviewer.name]);return(0,J.jsxs)(uf.g8,{...r,status:n,children:[(0,J.jsxs)(uf.BT,{children:[n===W.oV.pending&&!a&&(0,J.jsx)(uf.nn,{src:i(93437)}),n===W.oV.pending&&(0,J.jsx)(uf.nn,{src:i(39282)}),n===W.oV.finished&&(0,J.jsx)(uf.nn,{src:e.reviewer.photoUrl}),(0,J.jsx)(uf.VI,{onClick:()=>{n===W.oV.failed&&(0,N.xP)("click_resume_critique_error_icon",{section:"banner"})},status:n,children:(0,J.jsx)(uf.kW,{as:n===W.oV.failed?tP.qJ.Close:tP.EK.Star})})]}),(0,J.jsxs)(uf.XN,{children:[(0,J.jsxs)(uf.IH,{children:[(0,J.jsx)(uf.dl,{children:l}),(0,J.jsx)(uf.E3,{children:s})]}),n===W.oV.pending&&(0,J.jsx)(uf.pf,{size:i$.Mp.small,isDisabled:!0,children:i7.R.t("builder.panel.critique_review_pending_state.button",{timeLeft:o})}),n===W.oV.finished&&(0,J.jsxs)(uf.pf,{status:n,onClick:()=>{var t;return t=e.iframeUrl,void((0,N.xP)("click_read_resume_critique_button",{section:"banner",source:"dashboard"}),window.open(`${t}${ix.Kw}`))},size:i$.Mp.small,children:[i7.R.t("builder.panel.critique_review_success_state.button")," ",(0,J.jsx)(uf.Sv,{})]}),n===W.oV.failed&&(0,J.jsx)(uf.pf,{onClick:()=>{t(),(0,N.xP)("close_resume_critique_error")},theme:i$.Ox.destructive,size:i$.Mp.small,children:i7.R.t("builder.panel.critique_review_failed_state.button")})]})]})},u_=({critique:e,...t})=>{let{status:i,resumeId:r}=e,[n,o]=(0,R.useState)(!0),a=`RESUME_${r}_REVIEW_BANNER_CLOSED`,l=(0,e0.U)(),s=l?.features.critiqueEntryPoints,d=(0,R.useMemo)(()=>!(i===W.oV.failed&&ew.D.getItem(a))&&n,[i,n,a]),c=(0,R.useCallback)(()=>{o(!1),ew.D.setItem(a,"true")},[a]);return d&&!s?(0,J.jsx)(ub,{...t,critique:e,onClose:c}):null};var uv=i(17363);let uj=()=>{let e=(0,e4.J)(),t=(0,eU.wA)(),{features:i}=(0,d2.t)(),r=i?.rdPromo?.rdPromoPlan&&!e?.scopes.resumeDistribution;return{showRDUpsellPromoModal:()=>e?.isPostPremium?(t(F.o1.setTrackJobPaywall(!0)),!0):r?(t(z.o1.toggleRDUpsellPromoModal(!0)),!0):void 0,isUserRdPromotedWithoutPlan:r}},uA=tt.Ay.div(["display:absolute;height:80px;left:160px;background:",";",";",";@media (max-width:280px){height:180px;}"],te.Jy.Neutral5,tQ.A.Tablet`
591    height: 100px;
592  `,tQ.A.Phone`
593    height: 144px;
594  `),uC=tt.Ay.img(["width:48px;height:48px;position:absolute;margin-top:40px;margin-left:46px;flex-shrink:0;border-radius:50%;margin-top:16px;margin-left:16px;"]),uw=tt.Ay.div(["position:absolute;height:24px;padding-top:28px;padding-left:84px;",";",";display:flex;align-items:center;color:",";",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral80,tQ.A.Phone`
595    padding-top: 5px;
596    height: 45px;
597    ${td.Ay.Body};
598    ${td.BO.Medium};
599    margin-bottom: 4px;
600  `),uk=tt.Ay.div(["position:absolute;height:20px;padding-top:50px;padding-left:84px;",";",";display:flex;align-items:center;color:",";",";",";@media (max-width:280px){margin-top:19px;}"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral80,tQ.A.Tablet`
601    margin-top:10px;
602    width: 550px;
603  `,tQ.A.Phone`
604    width: 100%;
605    height: 85px;
606    margin-right: 4px;
607    ${td.Ay.Caption};
608    ${td.BO.Regular};
609    flex-grow: 1;
610  `),uS=tt.Ay.div(["margin-top:22px;display:flex;position:absolute;flex-direction:row;right:15px;",";@media (max-width:280px){margin-top:135px;}"],tQ.A.Phone`
611  margin-top: 98px;
612  `),uT=i(48383);var uP=()=>{let{i18n:e}=(0,e1.s)(),{isPhone:t}=(0,ih.e)(),{getHost:i}=(0,ca.Ay)(),r=(0,L.Zp)(),n=(0,d2.t)(),{showRDUpsellPromoModal:o}=uj();return n?.showResumeDistribution()?(0,J.jsxs)(uA,{children:[(0,J.jsx)(uC,{alt:"Inbox",src:uT}),(0,J.jsx)(uw,{"data-testid":"title",children:t?e.t("builder.panel.documentSectionResumeDistributionBanner.isPhoneTitle"):e.t("builder.panel.documentSectionResumeDistributionBanner.title")}),(0,J.jsx)(uk,{"data-testid":"text",children:t?e.t("builder.panel.documentSectionResumeDistributionBanner.isPhoneText"):e.t("builder.panel.documentSectionResumeDistributionBanner.text")}),(0,J.jsx)(uS,{"data-testid":"button",onClick:()=>{o()||((0,N.xP)("click_documents_resume_distribution_banner",{website_host:i}),r("/resume-distribution"))},children:(0,J.jsx)(i$.Ay,{theme:"ghost",size:"small",children:t?e.t("builder.panel.documentSectionResumeDistributionBanner.isPhoneButton"):e.t("builder.panel.documentSectionResumeDistributionBanner.button")})})]}):null};let uJ=tt.Ay.div(["position:relative;margin-bottom:48px;"," "," ",""],tQ.A.Tablet`
613    margin-bottom: 40px;
614  `,tQ.A.Phone`
615    margin-bottom: 32px;
616  `,e=>e.isNewDashHeader&&(0,tt.AH)(["padding-top:25px;"])),uE=tt.Ay.div(["",";"," margin-bottom:16px;margin-top:","px;width:fit-content;"],td.BO.DemiBold,td.o5.M,e=>e.isInternationalization&&56),uR=(0,tt.Ay)(am.Ay)([""]),uL=(0,tt.Ay)(am.oz)(["padding-bottom:8px;",""],tQ.A.Phone`
617    width: 50%;
618    margin-right: 0;
619    text-align: center;
620  `),uN=(0,tt.Ay)(i$.Ay)(["",";",";"],tQ.A.AbovePhone`
621    position: absolute;
622    top: 26px;
623    right: 0;
624    padding-left: 4px;
625  `,tQ.A.Phone`
626    margin-top: 16px;
627    width: 100%;
628  `),uI=(0,tt.Ay)(tP.EK.Add)(["margin-right:2px;"]),uM=({type:e,onTypeChange:t,title:i,fromDashboard:r,newDashHeader:n,isAutoTailored:o})=>{let[a,l]=(0,R.useState)(e),{i18n:s}=(0,e1.s)(),d=(0,eU.wA)(),{isPhone:c}=(0,ih.e)(),u=(0,e0.U)(),p=(0,e4.J)(),h=u?.features.superApp,x=(0,ca.Ay)().getHost,m=(0,eW.N)(W.Tp.critiques),g=(0,eW.N)(W.Tp.scenario),y=(0,eW.N)(U.Tp.documentsStatus),f=(0,eW.N)(ex.Tp.tunerResumeId),b=(0,eW.N)(e=>U.Tp.documentsByType(e,a,o,!0)),_=(0,eW.N)(e=>U.Tp.documentsByType(e,eZ.VC.trDocument,o)),v=(0,eW.N)(e=>U.Tp.documentsByType(e,eZ.VC.resume,!0)),{status:j,resumeId:A}=(0,eW.N)(ex.Tp.triggeredCritiqueStatus),C=null!==j&&b.some(e=>e.id===A),w=(0,eW.N)(U.Tp.resumeUpdateStatus),k=(0,d2.t)(),S=k?.features?.dashboardV2,{isAutoTailoringEnabled:T}=(0,cl.b)(),[P,E]=(0,i3.ok)(),[L,I]=(0,R.useState)(!1),M="resume"===a,B=(0,R.useRef)(null),D=(0,eW.N)(U.Tp.activeTabId),$=(0,R.useCallback)(e=>{let t=()=>{e&&setTimeout(()=>window.scrollTo({top:e?.offsetTop,behavior:"smooth"}),800)};null!==e&&sessionStorage.getItem(z.p4)&&(t(),sessionStorage.removeItem(z.p4)),e&&"documents"===P.get("scrollTo")&&(t(),E(e=>(e.delete("scrollTo"),e)))},[P,E]);(0,R.useEffect)(()=>{e===eZ.VC.trDocument&&0===_.length?l(eZ.VC.resume):l(e)},[x,b.length,a,_.length,e]),(0,R.useEffect)(()=>{"pending"!==j&&j||d(ex.o1.fetchCritiqueReviewStatus({resumeId:f}))},[d,j,f]);let[O,F]=(0,R.useState)(!1);co(()=>{F(w===U.dk.Started)},50,[w]),(0,R.useEffect)(()=>{ew.D.removeItem("SPELL_CHECKER_INCORRECT_WORDS"),ew.D.removeItem("EDITORS_WITH_SPELL_CHECK")},[]),(0,R.useEffect)(()=>{d(U.o1.fetchDocuments()),d(V.o1.resetAIGenerationState())},[d]),(0,R.useEffect)(()=>{o&&y===eZ.Hp.loaded&&!v.length&&t(e,!1)},[o,v.length,y,t,e]),(0,R.useEffect)(()=>{let e=sessionStorage.getItem(U.U$.ACTION_AFTER_UPGRADING_PLAN),i=sessionStorage.getItem(U.U$.DOCUMENT_TYPE);if("createDocument"===e)t(i,o),d(U.o1.createDocument({type:i}));else if("copyDocument"===e){t(i,o);let e=sessionStorage.getItem(U.U$.DOCUMENT_TO_COPY_ID);d(U.o1.copyDocument({id:Number(e),type:i}))}sessionStorage.removeItem(U.U$.ACTION_AFTER_UPGRADING_PLAN),sessionStorage.removeItem(U.U$.DOCUMENT_TYPE),sessionStorage.removeItem(U.U$.DOCUMENT_TO_COPY_ID)},[d,t,o]);let H=(0,R.useCallback)(()=>{d(U.o1.createDocument({type:a})),"tr_document"!==a&&(0,N.xP)(`create_${a}`)},[d,a]),K=(0,R.useCallback)(e=>{e.stopPropagation(),I(!1)},[I]),q=c&&L&&b.length>0;(0,oO.L)(B,q?K:()=>{});let G=(0,R.useMemo)(()=>!!m[0]&&(0,W.fB)(m[0].createdAt),[m]);if(y!==eZ.Hp.loaded)return(0,J.jsx)(cn,{});let Z=[{documentType:eZ.VC.resume,isAutoTailored:!1},...T&&v.length?[{documentType:eZ.VC.resume,isAutoTailored:!0}]:[],{documentType:eZ.VC.coverLetter,isAutoTailored:!1},{documentType:eZ.VC.trDocument,isAutoTailored:!1}];q&&(0,N.xP)("click_new_resume_card");let X=Z.map(e=>{let i=`${e.isAutoTailored?"auto_tailored_":""}${e.documentType}`;if(e.documentType===eZ.VC.trDocument&&!(_.length>0))return(0,J.jsx)(R.Fragment,{},i);{let r=e.documentType===a&&e.isAutoTailored===o;return(0,J.jsx)(uL,{isActive:r,onClick:()=>t(e.documentType,e.isAutoTailored),"data-testid":`document-tab-${i}`,"data-is-active":r,children:s.t(`builder.dashboard.${i}s`)},i)}});return(0,J.jsxs)(dU,{selectedIndex:D,isPhone:c,ref:$,children:[(0,J.jsxs)(uJ,{isNewDashHeader:n,children:[(0,J.jsx)(uE,{isInternationalization:S,id:"documents-section",children:i}),(0,J.jsx)(uR,{children:X}),"pending"===j&&!(g===W.XN.embedded&&m.length>0)&&!p?.scopes.resumeDistributionCandidate&&(0,J.jsx)(uP,{}),h?C&&"resume"===a&&(0,J.jsx)(uv.A,{isReviewPage:!0}):g===W.XN.embedded&&m.length>0&&!G&&(0,J.jsx)(u_,{critique:m[0]}),"tr_document"!==a&&!o&&(0,J.jsxs)(uN,{size:c?i$.Mp.default:i$.Mp.small,onClick:()=>{M&&c&&b.length>0?I(e=>!e):H()},isDisabled:O,"data-testid":"create-new-button",children:[(0,J.jsx)(uI,{}),s.t(`builder.dashboard.${c?`create_new_${a}`:"create_new"}`)]}),q&&"tr_document"!==a&&(0,J.jsx)(uo,{type:"resume",ref:B})]}),b.length>0?(0,J.jsx)(uy,{type:a,documents:b,critiqueReviewLoaderVisibility:C,fromDashboard:r,
628isAutoTailored:o,isPaginationDisabled:"tr_document"===a},a):(0,J.jsx)(ct,{type:a,onClick:H,isButtonDisabled:O,isAutoTailored:o})]})},uB=e=>{let t=(0,e0.U)(),{i18n:i}=(0,e1.s)(),r=t?.features.superApp||t?.features.international||t?.features.dashboardV2||t?.features.dashboardV3;return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(dH,{children:(0,J.jsxs)(iO.m,{children:[(0,J.jsx)(uM,{title:i.t("builder.navigation.items.documents.title"),type:e.documentType,onTypeChange:e.onDocumentTypeChange,isAutoTailored:e.isAutoTailored}),!r&&(0,J.jsx)(d1,{})]})})})};var uD=i(75874);let u$={config:uD.$W.molasses,from:{y:800,opacity:0},enter:{y:0,opacity:1},leave:{y:800,opacity:0}},uO=(0,tt.Ay)(uD.CS.div)(["",";display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;width:100%;max-width:352px;background-color:",";border-radius:12px;position:fixed;right:25px;bottom:32px;z-index:9999999999;",""],tr.A.lightWithBorder.low,te.Jy.White,tQ.A.Phone`
629    left: 0;
630    right: 0;
631    bottom: 16px;
632    margin: 0 auto;
633    padding: 20px;
634    max-width: calc(100% - 32px);
635  `),uz=tt.Ay.div(["padding:0;"]),uF=tt.Ay.div(["",";",";max-width:236px;margin-bottom:8px;",""],td.Ay.Subhead,td.BO.DemiBold,tQ.A.Phone`
636    max-width: 247px;
637  `),uH=tt.Ay.div(["",";margin-bottom:16px;color:",";",""],td.Ay.Body,te.Jy.Neutral50,tQ.A.Phone`
638    margin-bottom: 8px;
639  `),uV=tt.Ay.div(["gap:4px;display:flex;flex-direction:column;justify-content:space-between;margin-bottom:24px;",""],tQ.A.Phone`
640    margin-bottom: 20px;
641  `),uU=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;border:"," solid ",";border-radius:8px;padding:12px 15px 12px 12px;&:hover{cursor:pointer;color:",";border-color:",";}&:hover span{border-color:",";}"],e=>e.checked?"2px":"1px",e=>e.checked?te.Jy.Blue50:te.Jy.Neutral15,te.Jy.Blue50,te.Jy.Blue50,te.Jy.Blue50),uW=tt.Ay.div(["",";max-width:251px;"],td.Ay.Body),uK=tt.Ay.div(["width:100%;gap:8px;display:flex;justify-content:flex-end;"]),uq=tt.Ay.div(["position:absolute;width:28px;height:28px;top:24px;right:24px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";background-color:",";}",""],te.Jy.Neutral70,te.Jy.Neutral10,te.Jy.Blue50,te.Jy.Blue10,tQ.A.Phone`
642    top: 20px;
643    right: 20px;
644  `),uG=tt.Ay.label(["cursor:pointer;display:flex;align-items:flex-start;transition:color 0.15s;color:",";&:hover{color:",";}"],e=>e.checked?te.Jy.Neutral90:te.Jy.Neutral60,te.Jy.Neutral90),uZ=tt.Ay.span(["width:18px;height:18px;outline:none;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid ",";transition:background-color 0.1s ease,border-color 0.1s ease;",":hover &{border-color:",";}"," &:before{content:'';width:6px;height:6px;border-radius:50%;background-color:",";opacity:",";}"],te.Jy.Neutral30,uG,te.Jy.Blue50,e=>e.checked&&(0,tt.AH)(["border-width:6px;border-color:",";"],te.Jy.Blue50),te.Jy.White,e=>+!!e.checked);var uX=()=>{let e=(0,eU.wA)(),t=(0,eW.N)(em.Tp.jobStatus),i=(0,eW.N)(em.Tp.isJobStatusModalOpen),r=(0,uD.pn)(i,u$),n=()=>{e(em.o1.closeJobStatusModal())},o=i=>{i.preventDefault();let r=t.find(e=>e.checked)?.id;if(r){switch(r){case 1:e(em.o1.setStep(em.x0.WORKINGONCV));break;case 2:e(em.o1.setStep(em.x0.JOBSEARCHING));break;case 3:e(em.o1.setStep(em.x0.APPLYINGJOBS));break;case 4:e(em.o1.setStep(em.x0.INTERVIEWING));break;case 5:e(em.o1.setStep(em.x0.HIRED))}e(em.o1.closeJobStatusModal()),e(em.o1.sendUpdatedJobStatus(t)),5!==r?e(em.o1.showJobStatusProgressBar()):e(em.o1.openJobStatusHiredModal()),setTimeout(()=>{e(em.o1.hideJobStatusProgressBar())},3e3)}};return r((i,r)=>r?(0,J.jsx)(uO,{style:i,children:(0,J.jsxs)(uz,{children:[(0,J.jsx)(uq,{onClick:n,children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsx)(uF,{children:"Where are you in your job search?"}),(0,J.jsx)(uH,{children:"Please help your career rep understand where you are in your job search so they can best assist you"}),(0,J.jsx)(uV,{children:t.map(t=>{let{id:i,status:r,checked:n}=t;return(0,J.jsxs)(uU,{checked:n,onClick:()=>{let i;return e(em.o1.clearJobStatus()),i=em.m6.map(e=>e.id===t.id?{...e,checked:!0}:e),void e(em.o1.updateJobStatus(i))},children:[(0,J.jsx)(uW,{children:r}),(0,J.jsx)(uG,{checked:n,children:(0,J.jsx)(uZ,{checked:n})})]},i)})}),(0,J.jsxs)(uK,{children:[(0,J.jsx)(i$.Ay,{theme:"ghost",size:"small",onClick:n,children:"Not Now"}),(0,J.jsx)(i$.Ay,{size:"small",onClick:o,isDisabled:!t.some(e=>e.checked),children:"Submit"})]})]})}):null)};
644let uQ={config:uD.$W.molasses,from:{y:800,opacity:0},enter:{y:0,opacity:1},leave:{y:800,opacity:0}},uY=(0,tt.Ay)(uD.CS.div)(["",";width:60px;height:60px;display:flex;align-items:center;justify-content:center;border-radius:36px;position:fixed;bottom:104px;right:25px;z-index:3;background-color:",";"],tr.A.lightWithBorder.low,te.Jy.White),u0=tt.Ay.div(["border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px dashed ",";"],te.Jy.Blue20),u1=(0,tt.Ay)(tP.qJ.Tick)(["color:",";"],te.Jy.Blue50);var u2=()=>{let e=(0,eW.N)(em.Tp.showJobStatusProgressBar);return(0,uD.pn)(e,uQ)((e,t)=>t?(0,J.jsx)(uY,{style:e,children:(0,J.jsx)(u0,{children:(0,J.jsx)(u1,{})})}):null)};let u3={config:uD.$W.molasses,from:{y:800,opacity:0},enter:{y:0,opacity:1},leave:{y:800,opacity:0}},u5=(0,tt.Ay)(uD.CS.div)(["",";display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;width:100%;max-width:352px;background-color:",";border-radius:12px;position:fixed;right:25px;bottom:32px;z-index:9999999999;",""],tr.A.lightWithBorder.low,te.Jy.White,tQ.A.Phone`
645    left: 0;
646    right: 0;
647    bottom: 16px;
648    margin: 0 auto;
649    padding: 20px;
650    max-width: calc(100% - 32px);
651  `),u4=tt.Ay.div(["padding:0;"]),u6=tt.Ay.div(["",";",";max-width:236px;margin-bottom:8px;"],td.Ay.Subhead,td.BO.DemiBold),u8=tt.Ay.div(["",";margin-bottom:24px;color:",";",""],td.Ay.Body,te.Jy.Neutral50,tQ.A.Phone`
652    margin-bottom: 20px;
653  `),u9=tt.Ay.div(["width:100%;gap:8px;display:flex;justify-content:flex-end;"]),u7=tt.Ay.div(["position:absolute;width:28px;height:28px;top:24px;right:24px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";background-color:",";}",""],te.Jy.Neutral70,te.Jy.Neutral10,te.Jy.Blue50,te.Jy.Blue10,tQ.A.Phone`
654    top: 20px;
655    right: 20px;
656  `);var pe=()=>{let e=(0,eU.wA)(),t=(0,eW.N)(em.Tp.step),i=(0,eW.N)(em.Tp.jobStatus),r=(0,eW.N)(em.Tp.isJobStatusConfirmationModalOpen),n=(0,uD.pn)(r,u3),o=()=>{e(em.o1.closeJobStatusConfirmationModal())},a=()=>{let r=i.find(e=>e.checked)?.id;if(r){e(em.o1.clearJobStatus());let t=em.m6.map(e=>e.id===r+1?{...e,checked:!0}:e);e(em.o1.updateJobStatus(t))}if(e(em.o1.closeJobStatusConfirmationModal()),t===em.x0.INTERVIEWING){e(em.o1.openJobStatusHiredModal());let t=[...em.m6,{...em.m6["4"],checked:!0}];e(em.o1.sendUpdatedJobStatus(t))}else e(em.o1.openJobStatusModal())};return n((e,i)=>i?(0,J.jsx)(u5,{style:e,children:(0,J.jsxs)(u4,{children:[(0,J.jsx)(u7,{onClick:o,children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsxs)(u6,{children:["Have you ",(()=>{switch(t){case em.x0.WORKINGONCV:return"finished with your Resume/CV";case em.x0.JOBSEARCHING:return"started applying for jobs";case em.x0.APPLYINGJOBS:return"started interviewing";case em.x0.INTERVIEWING:return"landed a job"}})(),"?"]}),(0,J.jsx)(u8,{children:"Please help your career rep understand where you are in your job search so they can best assist you"}),(0,J.jsxs)(u9,{children:[(0,J.jsx)(i$.Ay,{theme:"ghost",size:"small",onClick:o,children:"Not Yet"}),(0,J.jsx)(i$.Ay,{size:"small",onClick:a,children:"Yes"})]})]})}):null)};let pt={config:uD.$W.molasses,from:{y:800,opacity:0},enter:{y:0,opacity:1},leave:{y:800,opacity:0}},pi=(0,tt.Ay)(uD.CS.div)(["",";display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px 24px;width:100%;max-width:352px;background-color:",";border-radius:12px;position:fixed;right:25px;bottom:32px;z-index:9999999999;",""],tr.A.lightWithBorder.low,te.Jy.White,tQ.A.Phone`
657    left: 0;
658    right: 0;
659    bottom: 16px;
660    margin: 0 auto;
661    padding: 24px 20px 32px;
662    max-width: calc(100% - 32px);
663  `),pr=tt.Ay.div(["padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;"]),pn=tt.Ay.img(["margin-bottom:8px;"]),po=tt.Ay.div(["",";text-align:center;margin-bottom:4px;",""],td.BO.DemiBold,tQ.A.Phone`
664    margin-bottom: 10px;
665  `),pa=tt.Ay.div(["color:",";text-align:center;margin-bottom:16px;",""],te.Jy.Neutral50,tQ.A.Phone`
666    margin-bottom: 24px;
667  `),pl=tt.Ay.div(["position:absolute;width:28px;height:28px;top:24px;right:24px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";background-color:",";}",""],te.Jy.Neutral70,te.Jy.Neutral10,te.Jy.Blue50,te.Jy.Blue10,tQ.A.Phone`
668    top: 20px;
669    right: 20px;
670  `);var ps=i.p+"media/target9e5933d962505a24.svg",pd=()=>{let e=(0,eU.wA)(),t=(0,eW.N)(em.Tp.isJobStatusHiredModalOpen),i=(0,uD.pn)(t,pt),r=()=>{e(em.o1.closeJobStatusHiredModal())};return i((e,t)=>t?(0,J.jsx)(pi,{style:e,children:(0,J.jsxs)(pr,{children:[(0,J.jsx)(pl,{children:(0,J.jsx)(tP.EK.Close,{onClick:r})}),(0,J.jsx)(pn,{src:ps}),(0,J.jsx)(po,{children:"Congratulations!"}),(0,J.jsx)(pa,{children:"You managed to complete all steps and landed your dream job
670!"}),(0,J.jsx)(i$.Ay,{size:"small",onClick:r,children:"Close My Progress"})]})}):null)},pc=i(2543);let pu="builder.dashboard.career_services",pp=({index:e,name:t})=>[{text:i7.R.t(`${pu}.job_search`),index:0,name:"find_a_job"},{text:i7.R.t(`${pu}.career_development`),index:1,name:"excel_at_your_job"},{text:i7.R.t(`${pu}.career_change`),index:2,name:"career_change"}].find(i=>i.index===e||i.name===t)||{},ph=tt.Ay.button(["position:relative;width:","px;height:56px;border:none;background:",";border-radius:63px;cursor:",";display:flex;justify-content:center;align-items:center;padding:4px;",""],e=>e.isBooked?245:221,e=>e.isHovered?te.Jy.Blue10:te.Jy.Neutral5,e=>e.isBooked?"auto":"pointer",tQ.A.Phone`
671    width: 100%;
672    margin-top: 24px;
673  `),px=tt.Ay.div(["",";",";position:absolute;left:24px;display:flex;align-items:center;text-align:right;color:",";",""],td.Ay.Body,td.BO.Medium,e=>e.isHovered?te.Jy.Blue50:te.Jy.Neutral80,tQ.A.Phone`
674    ${td.Ay.Subhead};
675  `),pm=tt.Ay.img(["position:absolute;right:0px;height:48px;width:","px;border-radius:1000px;display:flex;justify-self:flex-end;"],e=>e.isBooked?48:71),pg=tt.Ay.div(["position:absolute;left:24px;",";",";display:flex;align-items:flex-end;flex-direction:column;",""],td.Ay.Caption,td.BO.Medium,tQ.A.Phone`
676    left: 120px;
677  `),py=tt.Ay.div(["",";",";display:flex;align-items:center;text-align:right;color:",";"],td.Ay.Caption,td.BO.Medium,te.Jy.Neutral50),pf=tt.Ay.div(["",";",";color:",";display:flex;align-items:center;text-align:right;"],td.Ay.Caption,td.BO.Medium,te.Jy.Neutral90),pb=i(16340),p_=i(40270);var pv=()=>{let[e,t]=(0,R.useState)(!1),[i,r]=(0,R.useState)(!1),n=(0,eU.d4)(eg.Tp.coachBookingSlot),o=(0,eU.wA)(),{getHost:a}=(0,ca.Ay)(),l=pp({index:(0,eW.N)(U.Tp.activeTabId)});return(0,R.useEffect)(()=>{o(eg.o1.fetchCoachBookingSlot())},[o]),(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(ph,{onMouseOver:()=>{r(!0)},onMouseOut:()=>{r(!1)},onClick:()=>{(0,dM.o)("/career-coaching"),t(!0),(0,N.xP)("click_book_a_coach",{label:l?.name,website_host:a})},isBooked:e,isHovered:!e&&i,children:[e?(0,J.jsxs)(pg,{children:[(0,J.jsx)(py,{children:"Next coach session"}),(0,J.jsx)(pf,{children:n})]}):(0,J.jsx)(px,{isHovered:!e&&i,children:"Book a Coach"}),(0,J.jsx)(pm,{isBooked:e,src:e?p_:pb})]})})},pj=i(40961),pA=i(56155),pC=i(24184),pw=i(7987);let pk=tt.Ay.div(["position:fixed;z-index:1000;top:0;left:0;bottom:0;right:0;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:32px 20px;background-color:",";transition:opacity 0.2s;opacity:",";"],(0,ti.j)(te.Jy.Neutral100,.8),e=>+!!e.isMenuVisible),pS=tt.Ay.div(["padding:20px;border-radius:4px;background-color:",";opacity:",";transition-property:opacity,transform;transition-timing-function:ease-out;transition-duration:0.15s;border-radius:6px;transition-delay:0.05s;transition-duration:0.25s;transform:translateY(","px) translateZ(0);display:flex;flex-direction:column;gap:30px;"],te.Jy.White,e=>+!!e.isMenuVisible,e=>28*!e.isMenuVisible),pT=tt.Ay.div(["padding:12px;margin-top:8px;border-radius:6px;background-color:",";color:",";text-align:center;cursor:pointer;",";",";transition-property:opacity,transform;transition-timing-function:ease-out;transition-delay:0.05s;transition-duration:0.3s;opacity:",";transform:translateY(","px) translateZ(0);"],te.Jy.White,te.Jy.Blue50,td.Ay.S,td.BO.Medium,e=>+!!e.isMenuVisible,e=>28*!e.isMenuVisible),pP=tt.Ay.div(["padding:0px;cursor:pointer;"]),pJ=tt.Ay.div(["display:flex;align-items:center;white-space:nowrap;justify-content:space-between;"]);te.Jy.Blue50;let pE=tt.Ay.div(["transition:color 0.15s;color:",";",";",";",":hover &&{color:",";}"],e=>e.selected?te.Jy.Blue50:te.Jy.Neutral90,td.Ay.S,td.BO.Medium,pP,te.Jy.Blue50),pR=(0,tt.Ay)(tP.qJ.TickLarge)(["color:",";display:",";"],te.Jy.Blue50,e=>e.selected?"block":"none");var pL=({onClose:e,tabsActions:t,selectedIndex:i,handleTabClick:r})=>{let[n,o]=(0,R.useState)(!1),a=(0,pC.E)(),l=(0,R.useRef)(null),s=(0,R.useRef)(null);return(0,oO.L)(s,e),(0,pA.j)(e),(0,R.useLayoutEffect)(()=>{l.current&&(0,pw.q)(l.current),s.current&&(0,pw.q)(s.current),o(!0)},[]),(0,aD.y)(l),pj.createPortal((0,J.jsxs)(pk,{ref:l,isMenuVisible:n,children:[(0,J.jsx)(pS,{ref:s,isMenuVisible:n,children:t.map((e,t)=>(0,J.jsx)(pP,{onClick:()=>r(e.index),children:(0,J.jsxs)(pJ,{children:[(0,J.jsx)(pE,{selected:e.index===i,children:e.text}),(0,J.jsx)(pR,{selected:e.index===i})]})},t))}),(0,J.jsx)(pT,{isMenuVisible:n,children:"Cancel"})]}),a)};let pN=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;flex-direction:column;"]),pI=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;width:100%;"]),pM=tt.Ay.div(["opacity:",";transition:all 150ms ease-in;z-index:",";display:flex;justify-content:space-between;align-items:center;background:",";bottom:",";left:50%;transform:translateX(-50%);position:fixed;border-radius:30px;width:90%;height:62px;padding:0px 20px;",""],e=>+!!e.isSticky,e=>e.isSticky?549:-1,te.Jy.White,e=>e.isSticky?"42px":"0",tr.A.lightWithBorder.mid),pB=tt.Ay.span([""," ",";color:",";"],e=>e.isSticky?td.Ay.S:td.Ay.L,td.BO.Medium,te.Jy.Neutral90),pD=tt.Ay.div(["height:40px;width:40px;background-color:",";border-radius:50%;display:flex;align-items:center;justify-content:center;"],te.Jy.Blue10),p$=(0,tt.Ay)(tP.qJ.Chevron)(["color:",";"],te.Jy.Blue50);var pO=({selectedIndex:e,activeTabTitle:t,isMenuVisible:i,setIsMenuVisible:r,tabsActions:n,handleTabClick:o})=>{let{features:a}=(0,d2.t)(),[l,s]=(0,R.useState)(!1);(0,R.useEffect)(()=>{let e=(0,pc.throttle)(()=>{window.scrollY>75?s(!0):s(!1)},100);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let{isPhone:d}=(0,ih.e)(),c=()=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(pB,{isSticky:l,children:t}
677),(0,J.jsx)(pD,{children:(0,J.jsx)(p$,{})})]});return d?(0,J.jsxs)(pN,{children:[(0,J.jsx)(pI,{onClick:()=>r(!0),children:c()}),(0,J.jsx)(pM,{isSticky:l,onClick:()=>r(!0),children:c()}),i&&(0,J.jsx)(pL,{tabsActions:n,onClose:()=>r(!1),selectedIndex:e,handleTabClick:o}),a?.careerCoaching&&(0,J.jsx)(pv,{})]}):null};let pz=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;"]),pF=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;width:fit-content;position:relative;"]),pH=tt.Ay.span(["",";transition:all 0.1s ease-in;",";color:",";"],td.Ay.L,td.BO.Medium,te.Jy.Neutral90),pV=tt.Ay.div(["height:40px;width:40px;background-color:",";border-radius:50%;display:flex;align-items:center;justify-content:center;margin-left:12px;"],te.Jy.Blue10),pU=(0,tt.Ay)(tP.qJ.Chevron)(["color:",";cursor:pointer;transform:rotate(",");transition:all 0.2s ease-in;"],te.Jy.Blue50,e=>e.isVisible?"270deg":"90deg"),pW=tt.Ay.div(["padding:10px 0;border-radius:12px;background-color:",";opacity:",";transition-property:opacity,transform;transition-timing-function:ease-in-out;transition-duration:0.1s;border-radius:6px;transition-delay:0.05s;transition-duration:0.25s;position:absolute;width:259px;height:184px;top:60px;left:87.5%;background:",";z-index:500;",""],te.Jy.White,e=>+!!e.isMenuVisible,te.Jy.White,tr.A.lightWithBorder.high),pK=tt.Ay.div(["padding:6px 16px;cursor:pointer;height:56px;width:247px;"]),pq=tt.Ay.div(["display:flex;align-items:center;white-space:nowrap;justify-content:space-between;"]);te.Jy.Blue50;let pG=tt.Ay.div(["transition:color 0.15s;color:",";",";",";",":hover &&{color:",";}"],e=>e.selected?te.Jy.Blue50:te.Jy.Neutral90,td.Ay.S,td.BO.Medium,pK,te.Jy.Blue50),pZ=(0,tt.Ay)(tP.qJ.TickLarge)(["color:",";display:",";"],te.Jy.Blue50,e=>e.selected?"block":"none");var pX=({selectedIndex:e,activeTabTitle:t,isMenuVisible:i,setIsMenuVisible:r,tabsActions:n,handleTabClick:o})=>{let{features:a}=(0,d2.t)(),{isTablet:l,isPhone:s}=(0,ih.e)(),d=()=>{r(e=>!e)};return!l||s?null:(0,J.jsxs)(pz,{children:[(0,J.jsxs)(pF,{children:[(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(pH,{onClick:d,children:t}),(0,J.jsx)(pV,{onClick:d,children:(0,J.jsx)(pU,{isVisible:i})})]}),(0,J.jsx)(pW,{isMenuVisible:i,children:n.map((t,i)=>(0,J.jsx)(pK,{onClick:()=>o(t.index),children:(0,J.jsxs)(pq,{children:[(0,J.jsx)(pG,{selected:t.index===e,children:t.text}),(0,J.jsx)(pZ,{selected:t.index===e})]})},i))})]}),a?.careerCoaching&&(0,J.jsx)(pv,{})]})},pQ=i(84611);let pY=tt.Ay.div(["background:linear-gradient( to bottom,",","," 100%,"," 0% );position:absolute;bottom:0;width:54%;height:70px;",";"],(0,ti.j)(te.Jy.Blue10,0),te.Jy.Blue10,te.Jy.Blue10,tQ.A.Phone`
678    bottom: -4px;
679  `),p0=tt.Ay.div(["padding-top:32px;max-width:284px;width:100%;flex:0 0 284px;",";",";"],tQ.A.Phone`
680    flex:0 0 264px;   
681  `,tQ.A.Phone`
682    margin: 5px 0 24px 0;
683    max-height:200px;
684    height: 100%;
685  `),p1=tt.Ay.div(["width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center;position:relative;"]),p2=(0,tt.Ay)(pQ.b)(["",";border-radius:3px;max-width:151px;max-height:176px;width:100%;height:100%;"],tr.A.template.high),p3=tt.Ay.div(["display:flex;flex-direction:row;align-items:flex-start;position:absolute;top:0;right:0;display:flex;flex-direction:column;"]),p5=tt.Ay.img(["margin-bottom:8px;
685cursor:pointer;"]),p4=i(10338),p6=i(27342),p8=i(64343),p9=i(9652),p7=e=>{let{document:t}=e,i=t?(0,tv.I)(t,{size:256}):p4;return(0,J.jsx)(p0,{children:(0,J.jsxs)(p1,{children:[(0,J.jsx)(p2,{src:i}),(0,J.jsx)(pY,{}),(0,J.jsx)(p3,{children:[p6,p8,p9].map((e,t)=>(0,J.jsx)(p5,{src:e},t))})]})})},he=tt.Ay.div(["background:linear-gradient( to bottom,",","," 100%,"," 0% );position:absolute;bottom:0;width:54%;height:70px;",";"],(0,ti.j)(te.Jy.Blue10,0),te.Jy.Blue10,te.Jy.Blue10,tQ.A.Phone`
686     bottom: -4px;
687  `),ht=tt.Ay.div(["padding-top:26px;max-width:284px;width:100%;flex:0 0 284px;",";",";"],tQ.A.Phone`
688     flex:0 0 264px;   
689  `,tQ.A.Phone`
690    margin: 10px 0 24px 0;
691    max-height:200px;
692    height: 100%;
693  `),hi=tt.Ay.div(["width:100%;display:flex;justify-content:center;align-items:center;text-align:center;position:relative;",";"],tQ.A.Phone`
694     height: 100%;
695  `),hr=(0,tt.Ay)(pQ.b)(["",";border-radius:3px;max-width:151px;max-height:176px;width:100%;height:100%;"],tr.A.template.high),hn=tt.Ay.div(["display:flex;flex-direction:row;align-items:flex-start;position:absolute;top:-17px;right:47px;display:flex;flex-direction:column;background:rgba(195,229,254,0.5);border-radius:50%;cursor:pointer;height:48px;width:48px;"]),ho=tt.Ay.img([""]),ha=i(10338),hl=i(12531),hs=e=>{let{document:t}=e,i=t?(0,tv.I)(t,{size:256}):ha;return(0,J.jsx)(ht,{children:(0,J.jsxs)(hi,{children:[(0,J.jsx)(hr,{src:i}),(0,J.jsx)(he,{}),(0,J.jsx)(hn,{children:(0,J.jsx)(ho,{src:hl})})]})})},hd=tt.Ay.div(["max-width:284px;width:100%;flex:0 0 284px;",";"],tQ.A.Phone`
696    flex:0 0 264px;   
697    margin-bottom:24px;
698    max-height:200px;
699    height: 100%;
700  `),hc=tt.Ay.div(["width:100%;display:flex;justify-content:center;align-items:center;text-align:center;position:relative;height:100%;",";"],tQ.A.Phone`
701    padding-top: 45px;
702  `),hu=tt.Ay.img(["width:150px;height:150px;border-radius:50%;padding:2px;background:",";"],te.Jy.White),hp=tt.Ay.div(["position:absolute;left:54px;bottom:10px;backdrop-filter:blur(4.10271px);box-shadow:0px 16.4109px 30.7703px rgba(51,157,93,0.12);border-radius:50%;",";"],tQ.A.Phone`
703    left: 54px;
704  `),hh=tt.Ay.img(["height:50px;width:50px;"]),hx=i(41794),hm=({userPhotoUrl:e})=>(0,J.jsx)(hd,{children:(0,J.jsxs)(hc,{children:[(0,J.jsx)(hu,{src:e}),(0,J.jsx)(hp,{children:(0,J.jsx)(hh,{src:hx})})]})}),hg=tt.Ay.div(["max-width:284px;width:100%;flex:0 0 284px;",";"],tQ.A.Phone`
705    flex:0 0 264px;   
706    margin-bottom:24px;
707    max-height:200px;
708    height: 100%;
709  `),hy=tt.Ay.div(["width:100%;display:flex;justify-content:center;align-items:center;text-align:center;position:relative;height:100%;",";"],tQ.A.Phone`
710    margin-top: 20px;
711  `),hf=tt.Ay.img([""]),hb=tt.Ay.div(["position:absolute;left:32px;bottom:53px;border-radius:50%;",";"],tQ.A.Phone`
712    bottom: 75px;
713     left: 33px;
714  `),h_=tt.Ay.img(["height:50px;width:50px;padding:2px;border-radius:50%;"]),hv=i(74712),hj=({userPhotoUrl:e})=>(0,J.jsx)(hg,{children:(0,J.jsxs)(hy,{children:[(0,J.jsx)(hf,{src:hv}),(0,J.jsx)(hb,{children:(0,J.jsx)(h_,{src:e})})]})}),hA=tt.Ay.div(["max-width:284px;width:100%;flex:0 0 284px;",";"],tQ.A.Phone`
715    flex:0 0 264px;   
716    margin-bottom:24px;
717    max-height:200px;
718    height: 100%;
719  `),hC=tt.Ay.div(["width:100%;display:flex;justify-content:center;align-items:center;text-align:center;position:relative;height:100%;",";"],tQ.A.Phone`
720    padding-top: 45px;
721  `),hw=tt.Ay.img([""]),hk=tt.Ay.div(["position:absolute;left:108px;bottom:37px;border-radius:50%;",";"],tQ.A.Phone`
722    bottom: 9px;
723    left: 109px;
724  `),hS=tt.Ay.img(["height:50px;width:50px;border-radius:50%;padding:2px;"]),hT=i(72962),hP=({userPhotoUrl:e})=>(0,J.jsx)(hA,{children:(0,J.jsxs)(hC,{children:[(0,J.jsx)(hw,{src:hT}),(0,J.jsx)(hk,{children:(0,J.jsx)(hS,{src:e})})]})});var hJ=i(10338);let hE=tt.Ay.div(["background:linear-gradient( to bottom,",","," 100%,"," 0% );position:absolute;bottom:0;width:54%;height:70px;",";"],(0,ti.j)(te.Jy.Blue10,0),te.Jy.Blue10,te.Jy.Blue10,tQ.A.Phone`
725    bottom: -4px;
726  `),hR=tt.Ay.div(["padding-top:32px;max-width:284px;width:100%;flex:0 0 284px;",";",";"],tQ.A.Phone`
727    flex:0 0 264px;   
728  `,tQ.A.Phone`
729    margin: 5px 0 24px 0;
730    max-height:200px;
731    height: 100%;
732  `),hL=tt.Ay.div(["width:100%;display:flex;justify-content:center;align-items:center;text-align:center;position:relative;height:100%;"]),hN=(0,tt.Ay)(pQ.b)(["",";border-radius:3px;max-width:151px;max-height:176px;width:100%;height:100%;"],tr.A.template.high),hI=tt.Ay.div(["display:flex;flex-direction:row;align-items:flex-start;position:absolute;top:0;right:0;display:flex;flex-direction:column;"]),hM=tt.Ay.div(["min-width:42px;height:28px;",";",";display:flex;align-items:center;color:",";flex:none;order:0;flex-grow:0;background:",";border-radius:6px;padding:2px 6px;"],td.Ay.Body,td.BO.DemiBold,te.Jy.Neutral10,e=>e.bgColor),hB=tt.Ay.div(["border-radius:nullpx;",";",";display:flex;align-items:center;letter-spacing:0.3px;color:",";width:53px;text-align:left;opacity:0.6;margin-top:8px;"],td.Ay.Tiny,td.BO.DemiBold,te.Jy.Blue80),hD=e=>
732{let{document:t,optimizerScore:i}=e,r=t?(0,tv.I)(t,{size:256}):hJ,{score:n,averageScore:o,jobTitle:a}=i,l=a?o:n,s=(0,R.useMemo)(()=>l<=30?te.Jy.Red40:l>30&&l<=70?te.Jy.Amber40:te.Jy.Green40,[l]);return(0,J.jsx)(hR,{children:(0,J.jsxs)(hL,{children:[(0,J.jsx)(hN,{src:r}),(0,J.jsx)(hE,{}),(0,J.jsxs)(hI,{children:[(0,J.jsxs)(hM,{bgColor:s,children:[l,"%"]}),(0,J.jsx)(hB,{children:"Resume Score"})]})]})})},h$=e=>{let t=(0,L.Zp)(),i=(0,eU.wA)(),r=(0,eW.N)(ej.Tp.careerInsightsData),n=r?.status,o=(0,eU.d4)(ej.Tp.isDataSentDuringCurrentSession),a=()=>{e&&(0,N.xP)("click_get_started_assessment"),t("/career-profile/chat")};return o&&(n===ej.vq.success&&(a=()=>{t("/career-profile/insights")}),n===ej.vq.pending&&(a=()=>{i(ej.o1.setCareerInsightsStatusModalType("insights"))})),{actionHandler:a}};var hO=i(84635);let hz=i(8287),hF=i(5607),hH=i(98574),hV=i(11572),hU=e=>1===e?"builder.dashboard.main_banner.career_assessment_for_excel":"builder.dashboard.main_banner.career_assessment_for_find_or_change",hW=tt.Ay.div(["display:flex;padding:0 4px;border-radius:16px;position:relative;margin-bottom:","px;background:",";align-items:center;position:relative;min-height:208px;
732cursor:pointer;transition:background-color 150ms ease-out;",";",";"],e=>e.isRioJobIcon?8:56,e=>e.background,tQ.A.Tablet`
733    margin-bottom: 40px;
734  `,tQ.A.Phone`
735    flex-direction:column;
736    height: 300px;
737  `),hK=tt.Ay.div(["max-width:284px;flex:0 0 284px;width:100%;display:flex;justify-content:center;align-items:center;text-align:center;height:100%;",";"," ",""],tQ.A.Tablet`
738    max-width: 264px;
739    flex: 0 0 264px;
740    width: 100%;
741    margin-top: 25px;
742  `,tQ.A.Phone`
743    width: 100%;
744    margin-bottom:24px;
745    height: 100%;
746    height:200px;
747    margin-top: 0;
748    justify-content: center;
749    align-items:center
750  `,e=>("execute_a_job_search"===e.bannerName||"first_90_days_plan"===e.bannerName||"get_a_promotion"===e.bannerName)&&tQ.A.Phone`
751          align-items:flex-start`),hq=tt.Ay.img(["max-width:100%;max-height:100%;width:auto;height:auto;",""],e=>e.maxHeight&&`max-height: ${e.maxHeight};`),hG=tt.Ay.div(["flex:1 1 auto;max-width:592px;margin-left:39px;padding:24px 0;",";",";"],tQ.A.Tablet`
752    max-width: 380px;
753  `,tQ.A.Phone`
754    width: 100%;
755    margin-left:20px;
756  `),hZ=tt.Ay.div(["",";background-color:",";color:",";border-radius:6px;padding:2px 8px;display:inline-block;text-align:center;margin-bottom:12px;transition:background-color 150ms ease-out,color 150ms ease-out;",";"],td.Ay.Caption,e=>e.isExploreCareers?te.Jy.Beige40:te.Jy.Green40,te.Jy.White,tQ.A.Phone`
757    position: absolute;
758    background-color: ${te.Jy.Amber40};
759    top: 16px;
760    right:16px;
761  `),hX=tt.Ay.h2(["",";",";color:",";margin-bottom:8px;",";"],td.Ay.S,td.BO.Medium,e=>e.color,tQ.A.Phone`
762    position: absolute;
763    left: 20px;
764    bottom: 24px;
765    margin-bottom: 0;
766  `),hQ=tt.Ay.p(["",";",";color:",";",";"],td.Ay.Body,td.BO.Regular,e=>e.color,tQ.A.Phone`
767    width: 247px;
768  `),hY=tt.Ay.div(["margin-left:auto;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;align-self:stretch;padding:24px;width:60px;",";"],tQ.A.Phone`
769   width: 100%;
770    flex-direction: row;
771    align-items: center;
772    padding: 0 20px 24px 20px;
773  `),h0=tt.Ay.div(["width:32px;height:32px;border-radius:8px;border:none;background-color:",";margin-top:auto;transition:background-color 150ms ease-out;position:absolute;right:24px;bottom:24px;display:flex;align-items:center;justify-content:center;&:hover{cursor:pointer;}",";"],e=>e.background,tQ.A.Phone`
774   bottom: 20px;
775   right: 20px;
776  `),h1=(0,tt.Ay)(tP.EK.ChevronDown)(["transform:rotate(-90deg);color:",";transition:color 150ms ease-out;"],e=>e.color),h2=tt.Ay.div([""," ",";"],e=>e.isResumedistribution?`
777    display: inline-flex;
778    padding: var(--4XS, 2px) 8px;
779    align-items: center;
780    gap: 10px;
781    height: 28px;
782    width: max-content;
783    border-radius: 6px;
784    background: linear-gradient(94deg, #9ba1fb 0%, #4c89f3 47.53%, #54aff8 100%),
785      rgba(195, 229, 254, 0.5);
786    `:`
787  
788    display: flex;
789    flex-direction: row;
790    align-items: center;
791    padding: ${e.isAIPowerd?"2px 6px 2px 2px":"2px 8px"};
792    background-color: ${!e.isAdviceBanner&&e.color};
793    border-radius: 6px;
794    max-width: ${e.isAIPowerd?110:146}px;
795    width: max-content;
796    height: 24px;
797    transition: color 150ms ease-out, background-color 150ms ease-out;  `,tQ.A.Phone`
798    position: absolute;
799    top: 16px;
800    left: 16px;
801  `),h3=tt.Ay.div([""," ",";",";margin-left:","px;flex:none;order:0;flex-grow:0;transition:color 150ms ease-out;"],e=>e.isResumedistribution?`color: ${te.Jy.White};`:`color: ${e.textColor};`,td.Ay.Caption,td.BO.Medium,e=>e.isAIPowerd&&18),h5=tt.Ay.img(["width:25px;height:24px;opacity:0.6;"]),h4={id:0,type:"resume",secureId:"",renderingToken:"",name:"",template:"rirekisho",version:"0",updatedAt:"",createdAt:"",score:0,averageScore:0,companyName:"",jobTitle:"",aiJobStatus:U.kp.PENDING,aiTaskId:null,jobPostingId:null,autoTailored:!1,originalResumeId:null};var h6=({selectedIndex:e})=>{let{currentIndex:t,filteredData:r,isHovered:n,isPhone:o,resume:a,latestDocument:l,letter:s,hasLetter:d,userPhotoUrl:c,handleClick:u,handleMouseEnter:p,handleMouseLeave:h,onBannerClick:x}=(({selectedIndex:e})=>{let t=(0,eW.N)(Z.Tp.smartBannersOrder),{actionHandler:r}=h$(),{i18n:n}=(0,e1.s)(),o=(0,e0.U)(),a=(0,d2.t)(),l=(0,eU.d4)(e9.Tp.getInterviewUrl),s=(0,eU.d4)(e9.Tp.getInterviewDomainUrl),d=(0,R.useMemo)(()=>[{enabled:!!a?.features?.careerProfile,img:i(42860),title:n.t(`${hU(e)}.title`),text:n.t(`${hU(e)}.text`),tag:n.t(`${hU(e)}.tag`),tone10:te.Jy.Indigo10,tone15:"#EDEEFE",tone20:te.Jy.Indigo20,tone30:te.Jy.Indigo30,tone50:te.Jy.Indigo50,tone80:te.Jy.Indigo80,tone100:"#7477BC",tabIndex:[0,1,2],url:"career-profile/",bannerName:"career_assessment",eventTarget:"career_assessment",isPremiumService:!1,cioDomainUrl:"https://career.io/app/career-profile"},{enabled:!!a?.features?.resumeOptimizer,img:i(10338),title:n.t("builder.dashboard.main_banner.tailor_your_resume.title"),text:n.t("builder.dashboard.main_banner.tailor_your_resume.text"),tag:n.t("builder.dashboard.main_banner.tailor_your_resume.tag"),tagImg:hz,tagHoverImg:hF,tone10:te.Jy.Blue10,tone15:"#E0F1FE",tone20:te.Jy.Blue20,tone30:te.Jy.Blue30,tone50:te.Jy.Blue50,tone80:te.Jy.Blue80,tone100:"#5F80AA",tabIndex:[0],url:"",bannerName:"tailor_your_resume",eventTarget:"resume_tailoring",isPremiumService:!1,cioDomainUrl:"not available"},{enabled:!0,img:i(10338),title:n.t("builder.dashboard.main_banner.create_a_cover_letter.title"),text:n.t("builder.dashboard.main_banner.create_a_cover_letter.text"),tag:n.t("builder.dashboard.main_banner.create_a_cover_letter.tag"),tagImg:hz,tagHoverImg:hF,tone10:te.Jy.Blue10,tone15:"#E0F1FE",tone20:te.Jy.Blue20,tone30:te.Jy.Blue30,tone50:te.Jy.Blue50,tone80:te.Jy.Blue80,tone100:"#5F80AA",tabIndex:[0],url:"",bannerName:"create_a_cover_letter",eventTarget:"cover_letter",isPremiumService:!1,cioDomainUrl:"not available"},{enabled:!!a?.features?.careerPath,img:i(69865),title:n.t("builder.dashboard.main_banner.discover_your_next_steps.title"),text:n.t("builder.dashboard.main_banner.discover_your_next_steps.text"),tag:n.t("builder.dashboard.main_banner.discover_your_next_steps.tag"),tone10:te.Jy.Beige10,tone15:"#EFEDE8",tone20:te.Jy.Beige20,tone30:te.Jy.Beige30,tone50:te.Jy.Beige50,tone80:te.Jy.Beige80,tone100:"#927760",tabIndex:[1,2],url:"career-path",bannerName:"explore_your_next_steps",eventTarget:"explore_your_next_steps",isPremiumService:!0,cioDomainUrl:"https://career.io/app/career-path"},{enabled:!!a?.features?.salaryAnalyzer,img:i(53121),title:n.t("builder.dashboard.main_banner.know_your_worth.title"),text:n.t("builder.dashboard.main_banner.know_your_worth.text"),tag:n.t("builder.dashboard.main_banner.know_your_worth.tag"),tone10:te.Jy.Indigo10,tone15:"#EDEEFE",tone20:te.Jy.Indigo20,tone30:te.Jy.Indigo30,tone50:te.Jy.Indigo50,tone80:te.Jy.Indigo80,tone100:"#7477BC",tabIndex:[0,1,2],url:"offer-analyzer",bannerName:"know_your_worth",eventTarget:"salary_analyzer",isPremiumService:!0,cioDomainUrl:"https://career.io/app/offer-analyzer"},{enabled:!!a?.features?.careerExplorer,img:i(9984),title:n.t("builder.dashboard.main_banner.explore_careers.title"),text:n.t("builder.dashboard.main_banner.explore_careers.text"),tag:n.t("builder.dashboard.main_banner.explore_careers.tag"),flagTag:"New",tone10:te.Jy.Beige10,tone15:"#efede8",tone20:te.Jy.Beige20,tone30:te.Jy.Beige30,tone50:te.Jy.Beige50,tone80:te.Jy.Beige80,tone100:"#927760",tabIndex:[2],url:"explore-careers",bannerName:"explore_careers",eventTarget:"explore_careers",isPremiumService:!0,cioDomainUrl:"https://career.io/app/explore-careers"},{enabled:!!a?.features?.jobSearchPlan,img:i(44740),title:n.t("builder.dashboard.main_banner.master_your_job_search.title"),text:n.t("builder.dashboard.main_banner.master_your_job_search.text"),tag:n.t("builder.dashboard.main_banner.master_your_job_search.tag"),flagTag:"New",tone10:te.Jy.Green10,tone15:"#E2F1E8",tone20:te.Jy.Green20,tone30:te.Jy.Green30,tone50:te.Jy.Green50,tone80:te.Jy.Green80,tone100:"#5B856F",tabIndex:[0,2],url:"career-plans/execute-a-job-search",bannerName:"execute_a_job_search",eventTarget:"job_search_strategy",isPremiumService:!0,cioDomainUrl:"https://career.io/app/career-plans/execute-a-job-search"},{enabled:!0,img:i(47577),title:n.t("builder.dashboard.main_banner.ace_job_interview.title"),text:n.t("builder.dashboard.main_banner.ace_job_interview.text"),tag:n.t("builder.dashboard.main_banner.ace_job_interview.tag"),tone10:te.Jy.Green10,tone15:"#E2F1E8",tone20:te.Jy.Green20,tone30:te.Jy.Green30,tone50:te.Jy.Green50,tone80:te.Jy.Green80,tone100:"#5B856F",tabIndex:[0,2],url:l,bannerName:"ace_job_interview",eventTarget:"interview_prep",isPremiumService:!0,cioDomainUrl:s},{enabled:!!a?.features?.careerAdvice,img:i(12227),title:n.t("builder.dashboard.main_banner.read_job_search_advice.title"),text:n.t("builder.dashboard.main_banner.read_job_search_advice.text"),tag:n.t("builder.dashboard.main_banner.read_job_search_advice.tag"),tagImg:hH,tagHoverImg:hV,tone10:te.Jy.Neutral10,tone15:"#EFF2F9",tone20:te.Jy.Neutral20,tone30:te.Jy.Neutral30,tone50:te.Jy.Neutral50,tone80:te.Jy.Neutral80,tone100:"#7A808C",tabIndex:[0],url:"",bannerName:"read_career_advice_tab_0",eventTarget:"professional_resources",isPremiumService:!0,cioDomainUrl:"https://career.io/career-advice/"},{enabled:!!a?.features?.careerAdvice,img:i(12227),title:n.t("builder.dashboard.main_banner.read_career_advice.title"),text:n.t("builder.dashboard.main_banner.read_career_advice.text_1"),tag:n.t("builder.dashboard.main_banner.read_career_advice.tag"),tagImg:hH,tagHoverImg:hV,tone10:te.Jy.Neutral10,tone15:"#EFF2F9",tone20:te.Jy.Neutral20,tone30:te.Jy.Neutral30,tone50:te.Jy.Neutral50,tone80:te.Jy.Neutral80,tone100:"#7A808C",tabIndex:[1],url:"",bannerName:"read_career_advice_tab_1",eventTarget:"professional_resources",isPremiumService:!0,cioDomainUrl:"https://career.io/career-advice/"},{enabled:!!a?.features?.careerAdvice,img:i(12227),title:n.t("builder.dashboard.main_banner.read_career_advice.title"),text:n.t("builder.dashboard.main_banner.read_career_advice.text_2"),tag:n.t("builder.dashboard.main_banner.read_career_advice.tag"),tagImg:hH,tagHoverImg:hV,tone10:te.Jy.Neutral10,tone15:"#EFF2F9",tone20:te.Jy.Neutral20,tone30:te.Jy.Neutral30,tone50:te.Jy.Neutral50,tone80:te.Jy.Neutral80,tone100:"#7A808C",tabIndex:[2],url:"",bannerName:"read_career_advice_tab_2",eventTarget:"professional_resources",isPremiumService:!0,cioDomainUrl:"https://career.io/career-advice/"},{enabled:!!a?.features?.careerPlans,img:i(1533),title:n.t("builder.dashboard.main_banner.succeed_in_your_first_90_days.title"),text:n.t("builder.dashboard.main_banner.succeed_in_your_first_90_days.text"),tag:n.t("builder.dashboard.main_banner.succeed_in_your_first_90_days.tag"),flagTag:"New",tone10:te.Jy.Green10,tone15:"#E2F1E8",tone20:te.Jy.Green20,tone30:te.Jy.Green30,tone50:te.Jy.Green50,tone80:te.Jy.Green80,tone100:"#5B856F",tabIndex:[1],url:"career-plans/first-90-days",bannerName:"first_90_days_plan",eventTarget:"first_90_days_plan",isPremiumService:!0,cioDomainUrl:"https://career.io/app/career-plans/first-90-days"},{enabled:!!a?.features?.careerPlans,img:i(62125),title:n.t("builder.dashboard.main_banner.get_a_promotion.title"),text:n.t("builder.dashboard.main_banner.get_a_promotion.text"),tag:n.t("builder.dashboard.main_banner.get_a_promotion.tag"),flagTag:"New",tone10:te.Jy.Green10,tone15:"#E2F1E8",tone20:te.Jy.Green20,tone30:te.Jy.Green30,tone50:te.Jy.Green50,tone80:te.Jy.Green80,tone100:"#5B856F",tabIndex:[1],url:"career-plans/path-to-promotion",bannerName:"get_a_promotion",eventTarget:"plan_to_promotion",isPremiumService:!0,cioDomainUrl:"https://career.io/app/career-plans/path-to-promotion"},{enabled:a?.showResumeDistribution(),img:i(85004),title:n.t("builder.dashboard.main_banner.resume_distribution.title"),text:n.t("builder.dashboard.main_banner.resume_distribution.text"),tag:n.t("builder.dashboard.main_banner.resume_distribution.tag"),tone10:te.Jy.Blue10,tone15:"#E0F1FE",tone20:te.Jy.Blue20,tone30:te.Jy.Blue30,tone50:te.Jy.Blue50,tone80:te.Jy.Blue80,tone100:"#5F80AA",tabIndex:[0],url:"/resume-distribution",bannerName:"resume_distribution",eventTarget:"resume_distribution",isPremiumService:!0,cioDomainUrl:"https://career.io/app/resume-distribution"},{enabled:!!a?.features?.jobSearch,img:i(9896),title:n.t("builder.dashboard.main_banner.find_your_next_job.title"),text:n.t("builder.dashboard.main_banner.find_your_next_job.text"),tag:n.t("builder.dashboard.main_banner.find_your_next_job.tag"),tone10:te.Jy.Indigo10,tone15:"#EDEEFE",tone20:te.Jy.Indigo20,tone30:te.Jy.Indigo30,tone50:te.Jy.Indigo50,tone80:te.Jy.Indigo80,tone100:"#7477BC",tabIndex:[0,2],url:"job-search",bannerName:"find_your_next_job",eventTarget:"find_your_next_job",isPremiumService:!0,cioDomainUrl:"https://career.io/app/job-search?view=recommendation"},{enabled:!!a?.features?.jobTracking,img:i(11097),title:n.t("builder.dashboard.main_banner.track_your_job.title"),text:n.t("builder.dashboard.main_banner.track_your_job.text"),tag:n.t("builder.dashboard.main_banner.track_your_job.tag"),tone10:te.Jy.Indigo10,tone15:"#EDEEFE",tone20:te.Jy.Indigo20,tone30:te.Jy.Indigo30,tone50:te.Jy.Indigo50,tone80:te.Jy.Indigo80,tone100:"#7477BC",tabIndex:[0,2],url:"job-tracking",bannerName:"track_your_job",eventTarget:"track_your_job",isPremiumService:!0,cioDomainUrl:"https://career.io/app/job-tracking"}],[n,e]),[c,u]=(0,R.useState)(e),[p,h]=(0,R.useState)(d),[x,m]=(0,R.useState)(!1),g=(0,eU.wA)(),y=(0,L.Zp)(),f=pp({index:e}),{getHost:b}=(0,ca.Ay)(),_=o?.features.international,v=o?.features.superApp,j=(0,e4.J)(),{url:A="",bannerName:C="",eventTarget:w=""}=p[c],{isPhone:k}=(0,ih.e)(),S=(0,eW.N)(Z.Tp.photoUrl),T=(0,eW.N)(e=>U.Tp.lastCreated(e,eZ.VC.resume)),P=(0,eW.N)(e=>U.Tp.lastCreated(e,eZ.VC.coverLetter)),J=(0,eW.N)(U.Tp.tunerResumeId),I=T?.id,M=(0,eW.N)(U.Tp.documents)[0],B=o?.features.superApp,D=!j?.hasPremiumFeatures,O=(e,t,i)=>{let r=e.findIndex(e=>e.bannerName===t);if(-1!==r){let t=e.splice(r,1)[0];e.splice(i,0,t)}return e},z=(0,R.useCallback)(e=>{let t=[];for(let i=0;i<3;i++){let r=ew.D.getItem((0,hO.SS)(i));if(r){let n=(0,hO.SS)(i)===e?.tab?e:JSON.parse(r);t.push({tab:(0,hO.SS)(i),...n})}}
801g(Z.o1.updateSmartBannerOrderRequest(t))},[g]),H=(0,R.useCallback)(i=>{try{let r=ew.D.getItem((0,hO.SS)(e));if(r){let{idleTimeStart:t,idleBannerName:n}=JSON.parse(r);if((new Date().getTime()-new Date(t||"").getTime())/1e3>(0,hO.o4)()){let t=(i?.map(e=>e?.bannerName)).findIndex(e=>e===n),r=t===i?.length?0:t+1,o={idleBannerName:i?.[r]?.bannerName||i?.[0]?.bannerName,idleTimeStart:new Date};return ew.D.setItem((0,hO.SS)(e),JSON.stringify(o)),z({tab:(0,hO.SS)(e),...o}),i?.[r]?.bannerName}}else t&&t?.length>0?t?.map(e=>ew.D.setItem(e.tab,JSON.stringify({idleBannerName:e.idleBannerName,idleTimeStart:new Date(e.idleTimeStart)}))):(r={idleBannerName:i?.[0]?.bannerName,idleTimeStart:new Date},ew.D.setItem((0,hO.SS)(e),JSON.stringify(r)),z({tab:(0,hO.SS)(e),...r}))}catch(e){return E.A.log(e),null}},[z,e,t]);(0,R.useEffect)(()=>{u(0);let t=d.filter(t=>t.tabIndex.includes(e))||[];if(J||(t=t.filter(e=>"optimize_your_resume"!==e.bannerName&&"tailor_your_resume"!==e.bannerName)),0===e&&(B?(O(t,"resume_distribution",0),O(t,"find_your_next_job",1),O(t,"optimize_your_resume",2)):D?(O(t,"resume_distribution",0),O(t,"optimize_your_resume",1),O(t,"find_your_next_job",2)):(O(t,"resume_distribution",0),O(t,"find_your_next_job",1),O(t,"optimize_your_resume",2)),O(t,"execute_a_job_search",3),O(t,"create_a_cover_letter",3),O(t,"ace_job_interview",4),O(t,"know_your_worth",5),O(t,"read_career_advice_tab_0",6)),1===e?(O(t,"first_90_days_plan",0),O(t,"get_a_promotion",1),O(t,"explore_your_next_steps",2),O(t,"know_your_worth",3),O(t,"read_career_advice_tab_1",4),O(t,"career_assessment",0)):2===e&&(O(t,"career_assessment",0),O(t,"read_career_advice_tab_2",1),O(t,"explore_careers",2),O(t,"explore_your_next_steps",3),O(t,"know_your_worth",4),O(t,"execute_a_job_search",5),O(t,"find_your_next_job",6),O(t,"ace_job_interview",7)),a?.features?.careerProfile&&0===e){let e=-1;-1===(e=t.findIndex(e=>e.enabled&&"find_your_next_job"===e.bannerName))&&(e=t.findIndex(e=>e.enabled&&"get_expert_help"===e.bannerName)),-1===e&&(e=t.findIndex(e=>e.enabled&&"resume_distribution"===e.bannerName)),-1!==e&&O(t,"career_assessment",e+1)}h(t.filter(e=>e.enabled)),H(t);let i=ew.D.getItem((0,hO.SS)(e));if(i){let{idleBannerName:e}=JSON.parse(i);O(t,e,0)}},[d,D,B,e,J,H]);let V=e=>{let t=_?"https://career.io":window.location.origin;window.open(`${t}/${e}`,"_blank")},W=async()=>{(0,N.xP)("click_smart_banner",{label:f?.name,target:w,website_host:b});let{cioDomainUrl:e}=p[c];"career_assessment"===C?r():"read_career_advice_tab_0"===C?V("career-advice/finding-a-job"):"read_career_advice_tab_1"===C?V("career-advice/career-development"):"read_career_advice_tab_2"===C?V("career-advice/career-change"):("not available"===e&&("optimize_your_resume"===C?J?y(`/resumes/${I}/edit`):g(F.o1.openCreateResumeModal()):"create_a_cover_letter"===C?g(U.o1.createDocument({type:eZ.VC.coverLetter})):"get_expert_help"===C?(v&&window.open("https://topresume.com/resume-writing?pt=UWYxd6Xe2VTS0&utm_source=careerio&utm_medium=cioplatformcard&utm_campaign=tr_smart_banner_in_ciodash&utm_content=v1","_blank"),_&&window.open("https://topresume.com/resume-writing?pt=UWYxd6Xe2VTS0&utm_source=resumeio&utm_medium=card&utm_campaign=tr_smart_banner_in_riodash&utm_content=v1","_blank")):"tailor_your_resume"===C?J?(y(`/resumes/${I}/edit`),g($.o1.setEditorPanelType("tailoring"))):(g(F.o1.openCreateResumeModal()),g(U.o1.setTailorResume())):"resume_distribution"===C&&y("/resume-distribution")),A&&y(A))};return{currentIndex:c,filteredData:p,isHovered:x,isPhone:k,userPhotoUrl:S,resume:T,latestDocument:M,letter:P,hasLetter:null!==P,handleClick:t=>{t.stopPropagation();let i=0;c===p.length-1?u(0):u(t=>{i=t+1;let r={idleBannerName:p?.[i]?.bannerName,idleTimeStart:new Date};return ew.D.setItem((0,hO.SS)(e),JSON.stringify(r)),z({tab:(0,hO.SS)(e),...r}),i})},handleMouseEnter:()=>{m(!0)},handleMouseLeave:()=>{m(!1)},onBannerClick:W}})({selectedIndex:e}),{img:m="",title:g="",text:y="",tone10:f="",tone15:b="",tone20:_="",tone50:v="",tone80:j="",tone100:A="",tag:C="",tagImg:w="",tagHoverImg:k="",flagTag:S="",bannerName:T=""}=r[t],P=(e,t,i)=>(0,J.jsxs)(h2,{isAdviceBanner:i,isAIPowerd:t,color:n?_:`${_}7f`,textColor:n?A:j,isResumedistribution:"resume_distribution"===T,children:[w&&(0,J.jsx)(h5,{src:n?k:w}),(0,J.jsx)(h3,{isResumedistribution:"resume_distribution"===T,textColor:n?j:A,children:e})]});return(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(hW,{isJobSearch:1===t,isOptimizedResume:2===t,isExploreCareers:3===t,background:n?b:f,onMouseOver:p,onMouseOut:h,onClick:x,isRioJobIcon:0===e,children:[(()=>{switch(T){case"optimize_your_resume":return(0,J.jsx)(hD,{document:l,optimizerScore:l||h4});case"tailor_your_resume":return(0,J.jsx)(p7,{document:a});case"create_a_cover_letter":return(0,J.jsx)(hs,{document:s,hasLetter:d});case"ace_job_interview":return(0,J.jsx)(hm,{userPhotoUrl:c});case"explore_your_next_steps":return(0,J.jsx)(hj,{userPhotoUrl:c});case"find_track_jobs":return(0,J.jsx)(hP,{userPhotoUrl:c});case"career_assessment":return(0,J.jsx)(hK,{bannerName:T,children:(0,J.jsx)(hq,{src:m,maxHeight:"200px"})});default:return(0,J.jsx)(hK,{bannerName:T,children:(0,J.jsx)(hq,{src:m})})}})(),!o&&(0,J.jsxs)(hG,{children:[S&&(0,J.jsx)(hZ,{isExploreCareers:"explore_careers"===T,children:S}),(0,J.jsx)(hX,{color:j,children:g}),(0,J.jsx)(hQ,{color:j,children:y})]}),(0,J.jsxs)(hY,{children:[(e=>{if(e)switch(e){case"Recommended Step":case"Expert Content":return P(e,!1);case"AI-powered":return P(e,!0)}})(C),o&&(0,J.jsxs)(J.Fragment,{children:[S&&(0,J.jsx)(hZ,{isExploreCareers:"explore_careers"===T,children:S}),(0,J.jsx)(hX,{color:j,children:g})]}),(0,J.jsx)(h0,{background:n?v:_,onClick:u,children:(0,J.jsx)(h1,{color:n?te.Jy.Neutral10:v})})]})]})})},h8=i.p+"media/welcome_modal_play_Buttons5f4db8a97fa7f97f.svg",h9=i(34972);let h7=tt.Ay.div(["display:flex;position:relative;flex-direction:column;align-items:flex-start;width:100%;max-width:544px;background-color:",";border-radius:16px;z-index:999;",";"],te.Jy.White,tQ.A.Phone`
802    max-width: 343px;
803  `),xe=tt.Ay.div(["width:100%;height:280px;cursor:pointer;position:relative;background-image:url(",");background-position:center;background-size:cover;display:flex;justify-content:center;align-items:center;border-radius:16px 16px 0 0;",";
803"],i(64715),tQ.A.Phone`
804    height: 192px;
805  `),xt=tt.Ay.div(["width:100%;height:280px;cursor:pointer;position:relative;background-image:url(",");background-position:center;background-size:cover;display:flex;justify-content:center;align-items:center;border-radius:16px 16px 0 0;",";"],i(29947),tQ.A.Phone`
806    height: 192px;
807  `),xi=tt.Ay.img(["width:68px;height:68px;"]),xr=tt.Ay.div(["position:absolute;width:28px;height:28px;top:28px;right:28px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";}",";"],te.Jy.Neutral30,te.Jy.White,te.Jy.Blue50,tQ.A.Phone`
808    top: 20px;
809    right: 20px;
810    padding: 2px;
811  `),xn=tt.Ay.div(["display:flex;gap:24px;flex-direction:column;padding:28px 32px 32px 32px;",";"],tQ.A.Phone`
812    gap: 16px;
813    padding: 20px;
814  `),xo=tt.Ay.div(["display:flex;gap:8px;flex-direction:column;align-items:flex-start;",";"],tQ.A.Phone`
815    gap: 4px;
816  `),xa=tt.Ay.div(["display:flex;gap:12px;flex-direction:column;align-items:flex-start;",";"],tQ.A.Phone`
817    gap: 8px;
818  `),xl=tt.Ay.div(["",";",";"],td.Ay.S,td.BO.DemiBold),xs=tt.Ay.div(["color:",";margin:0px;"],te.Jy.Neutral50),xd=tt.Ay.div(["display:flex;gap:8px;flex-direction:column;",";"],tQ.A.Phone`
819    gap: 12px;
820  `),xc=tt.Ay.div(["",";",";color:",";"],td.Ay.Caps,td.BO.DemiBold,te.Jy.Neutral80),xu=tt.Ay.div(["display:flex;gap:8px;flex-wrap:wrap;padding:12px;background-color:",";justify-content:space-between;"],te.Jy.Neutral5),xp=tt.Ay.div(["display:flex;width:",";"],e=>e.isPhone?"100%":"49%"),xh=tt.Ay.div(["",";"],td.Ay.Caption),xx=tt.Ay.div(["",";color:",";margin-left:4px;"],td.Ay.Caption,te.Jy.Neutral40),xm=(0,tt.Ay)(tP.EK.Tick)(["color:",";"],te.Jy.Green40),xg=tt.Ay.div(["display:flex;justify-content:flex-end;gap:4px;",";"],tQ.A.Phone`
821    gap: 8px;
822  `),xy=(0,tt.Ay)(i$.Ay)([""]),xf=[{id:1,text:"Resume Builder"},{id:2,text:"Resume Optimizer"},{id:3,text:"Job Search"},{id:4,text:"Job Tracker"},{id:5,text:"Salary Analyzer"},{id:6,text:"Interview Prep"},{id:7,text:"Career Plans"},{id:8,text:"Career Pathways"}],xb=[{id:1,text:"Cover Letter Builder"},{id:2,text:"Job Tracker"},{id:3,text:"Interview Prep"},{id:4,text:"Career Pathways"},{id:5,text:"Job Search Strategy"},{id:6,text:"Headshots",subText:"(coming soon)"},{id:7,text:"Salary Analyzer"},{id:8,text:"Career Plans"}],x_=[{id:1,text:"Cover Letter Builder"},{id:2,text:"Interview Prep"},{id:3,text:"Job Search Strategy"}],xv=tt.Ay.div(["position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;width:650px;height:400px;border-radius:6px;background-color:",";user-select:none;"],te.Jy.White),xj=tt.Ay.div(["position:relative;z-index:5;top:-220px;right:-6px;padding:6px;display:flex;border-radius:50%;height:fit-content;color:",";background-color:",";transition:opacity 0.15s;cursor:pointer;&:hover{opacity:0.8;}"],te.Jy.White,te.Jy.Neutral80),xA=tt.Ay.iframe(["height:365px;width:615px;border-radius:2px;",""],tQ.A.Phone`
823    height: 95%;
824    width: 95%;  
825  `),xC=(0,tt.Ay)(tP.Ay.Close)([""]);var xw=({isShowVideo:e,setIsShowVideo:t})=>e?(0,J.jsx)(i6.A,{onClose:()=>t(!1),overlayFadeDuration:150,contentSlideDuration:0,children:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(xv,{children:(0,J.jsx)(xA,{title:"Career.io - Overview Video - The future of job search and career planning",allowFullScreen:!0,frameBorder:"0",src:"https://www.youtube.com/embed/_aOvXorwo_8?autoplay=1&rel=0",allow:"autoplay"})}),(0,J.jsx)(xj,{onClick:()=>t(!1),children:(0,J.jsx)(xC,{})})]})}):null;let xk=({setIsWelcomeModalOpen:e,isWelcomeModalOpen:t,getHost:i,title:r,subtitle:n,isCioRedirectOpen:o})=>{let{isPhone:a}=(0,ih.e)(),l=(0,L.Zp)(),[s,d]=(0,R.useState)(o?xb:xf),[c,u]=(0,R.useState)(!1);(0,R.useEffect)(()=>{d(o?a?x_:xb:a?xf.slice(0,4):xf)},[a,o]),(0,R.useEffect)(()=>{t&&!o&&ew.D.setItem(h9.G.IS_WELCOME_MODAL_SHOWN,"true")},[t,o]);let p=async()=>{e(!1),o&&l("/")},h=async()=>{if(e(!1),(0,N.xP)("click_cio_activation_button"),o){let{data:e}=await Y.uE.post("/career-identity/activate",{});window.open(e.loginLink,"_self")}},x=()=>{c||(0,N.xP)("click_play_video",{label:"welcome_modal",website_host:i}),u(!c)};return t?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(i6.A,{onClick:p,backgroundOpacity:.6,overlayFadeDuration:350,contentSlideDuration:350,children:(0,J.jsxs)(h7,{children:[o?(0,J.jsx)(xt,{}):(0,J.jsx)(xe,{onClick:x,children:(0,J.jsx)(xi,{src:h8})}),(0,J.jsx)(xr,{onClick:p,children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsxs)(xn,{children:[(0,J.jsxs)(xo,{children:[(0,J.jsx)(xa,{children:(0,J.jsx)(xl,{children:r||(o?"Your resume has been downloaded! But that's just the beginning.":"Welcome to the world's first complete job search and career platform!")})}),(0,J.jsx)(xs,{children:n||(o?"See how our powerful tools help you achieve your job seeking goals.":"There is everything you need to manage each step in your career all in one place.")})]}),(0,J.jsxs)(xd,{children:[(0,J.jsx)(xc,{children:"Whatever you need:"}),(0,J.jsxs)(xu,{children:[s.map(e=>(0,J.jsxs)(xp,{isPhone:a,children:[(0,J.jsx)(xm,{}),(0,J.jsx)(xh,{children:e.text}),e.subText&&(0,J.jsx)(xx,{children:e.subText})]},e.id)),a&&!o&&(0,J.jsxs)(xp,{isPhone:a,children:[(0,J.jsx)(xm,{}),(0,J.jsx)(xh,{children:"4 more services"})]})]})]}),(0,J.jsx)(xg,{children:(0,J.jsx)(xy,{onClick:o?h:p,children:o?"Try Now":"Get Started"})})]})]})}),!o&&(0,J.jsx)(xw,{isShowVideo:c,setIsShowVideo:x})]}):null},xS=tt.Ay.div(["position:relative;display:flex;justify-content:space-between;align-items:center;",""],tQ.A.Phone`
826    flex-direction: column;
827  `),xT=tt.Ay.div(["position:relative;background:",";border-radius:12px;height:68px;width:549px;"],te.Jy.Neutral5),xP=tt.Ay.button(["height:60px;width:",";position:relative;
827left:0.73%;right:67.34%;top:5.88%;cursor:pointer;bottom:5.88%;border:none;margin-right:2px;background:",";border-radius:8px;box-shadow:",";"],e=>0===e.isTabWidth?"174px":1===e.isTabWidth?"191px":2===e.isTabWidth?"172px":"174px",e=>e.isClicked?te.Jy.White:e.isHovered?te.Jy.Neutral10:te.Jy.Neutral5,e=>e.isClicked&&"0px 2px 4px 0px rgba(15, 56, 113, 0.08), 0px 1px 2px 0px rgba(15, 56, 113, 0.12)"),xJ=tt.Ay.div(["height:36px;width:0px;position:absolute;right:","%;left:","px;top:23.53%;border:2px solid #eff2f9;"],e=>e.isResonsive?30.1:67.34,e=>e.isResonsive?178:369),xE=tt.Ay.div(["",";",";color:",";"],td.Ay.Subhead,td.BO.Medium,e=>e.isClicked||e.isHovered?te.Jy.Neutral90:te.Jy.Neutral50);var xR=({onSelectedIndexChange:e,selectedIndex:t,buttons:i})=>{let{features:r}=(0,d2.t)(),{isPhone:n,isTablet:o}=(0,ih.e)(),a=(0,R.useMemo)(()=>{let e=[,,,].fill(!1);return e[t]=!0,e},[t]),[l,s]=(0,R.useState)(a),[d,c]=(0,R.useState)([,,,].fill(!1));return n||o?null:(0,J.jsxs)(xS,{children:[(0,J.jsxs)(xT,{children:[0===t&&(0,J.jsx)(xJ,{isResonsive:!1}),2===t&&(0,J.jsx)(xJ,{isResonsive:!0}),i.map(t=>(0,J.jsx)(xP,{onClick:()=>{var i;let r;return i=t.index,void((r=Array(l.length).fill(!1))[i]=!0,s(r),ew.D.setItem(h9.G.ACTIVE_TAB,JSON.stringify(i)),e(i))},isClicked:l[t.index],onMouseOver:()=>{var e;return e=t.index,void c(t=>{let i=[...t];return i[e]=!0,i})},onMouseOut:()=>{var e;return e=t.index,void c(t=>{let i=[...t];return i[e]=!1,i})},isHovered:d[t.index],isTabWidth:t.index,children:(0,J.jsx)(xE,{isHovered:d[t.index],isClicked:l[t.index],children:t.text})},t.index))]}),r?.careerCoaching&&(0,J.jsx)(pv,{})]})},xL=i(87253);let xN=tt.Ay.div(["position:relative;user-select:none;&:before,&:after{content:'';position:absolute;z-index:2;top:0;bottom:0;width:calc(50vw);background:linear-gradient( 90deg,"," 0%,"," 128px,"," 100% );}&:before{right:calc(100% + 32px);transform:scaleX(-1);}&:after{left:calc(100% + 32px);}& .swiper{position:relative;overflow:visible;}& .swiper-wrapper{display:flex;position:relative;transition-property:transform;}& .swiper-slide{display:flex;flex-direction:column;flex-shrink:0;}& .swiper-slide:not(:last-child){margin-right:16px;","}",""],(0,ti.j)(te.Jy.White,0),te.Jy.White,te.Jy.White,tQ.A.Tablet`
828      margin-right: 8px;
829    `,tQ.A.Tablet`
830    margin-top: -36px;
831    margin-bottom: 36px;
832  `),xI=tt.Ay.div(["position:relative;display:flex;justify-content:space-between;align-items:center;margin-top:-16px;margin-bottom:72px;"," "," &::-webkit-scrollbar{width:0;}"],tQ.A.Tablet`
833    margin-top: -36px;
834    margin-bottom: 28px;
835  `,tQ.A.Phone`
836    flex-direction: column;
837    overflow-x: auto; /* Add horizontal scroll for smaller screens */
838    white-space: nowrap; /* Prevent line breaks */
839    scrollbar-width: none; /* Hide the scrollbar on Firefox */
840    -ms-overflow-style: none; /* Hide the scrollbar on IE/Edge */
841  `),xM=tt.Ay.div(["position:relative;border-radius:12px;height:68px;"]),xB=tt.Ay.button(["height:112px;width:186px;position:relative;cursor:pointer;border:none;background:",";border-radius:8px;box-shadow:",";",""],e=>e.isHovered&&te.Jy.Neutral5,e=>e.isClicked&&"0px 2px 4px 0px rgba(15, 56, 113, 0.08), 0px 1px 2px 0px rgba(15, 56, 113, 0.12)",tQ.A.Phone`
842width: 140px;
843height: 80px;
844  `),xD=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90),x$=tt.Ay.img(["width:var(--M,24px);height:var(--M,24px);flex-shrink:0;top:16px;right:62px;left:100px;bottom:80;position:absolute;z-index:1;",""],tQ.A.Phone`
845    width: var(--M, 20px);
846    height: var(--M, 20px);
847    top: 4px;
848    left: 80px;
849  `),xO=i(41164);var xz=()=>{let e=(0,L.Zp)(),{isDesktop:t}=(0,ih.e)(),i=(0,eU.wA)(),r=(0,eW.N)(Z.Tp.postPremium),{i18n:n}=(0,e1.s)(),{features:o}=(0,d2.t)(),a=r===Z.ut.postPremium,{actionHandler:l}=h$(),s=(0,eU.d4)(e9.Tp.getInterviewUrl),d=(0,eU.d4)(e9.Tp.getInterviewDomainUrl),[c,u]=(0,R.useState)([,,,].fill(!1)),p=(0,e0.U)(),h=p?.features.careerProfile,x=null;x=h?{index:5,enabled:!!o.careerProfile,iconName:"CareerAssessment",name:n.t("builder.dashboard.service_links.career_insights.name"),label:"career_profile",isPremiumService:!1,cioDomainUrl:"https://career.io/app/career-profile/insights",action:l}:{index:5,enabled:!!o.salaryAnalyzer,iconName:"SalaryAnalyzer",name:n.t("builder.dashboard.service_links.salary_analyzer.name"),label:"salary_analyzer",isPremiumService:!0,isPostPremiumActive:a,cioDomainUrl:"https://career.io/app/offer-analyzer",action:()=>e("/offer-analyzer")};let m=[{index:0,enabled:!0,iconName:"Documents",name:n.t("builder.dashboard.service_links.documents.name"),label:"documents",action:()=>e("/resumes")},{index:1,enabled:!!o.jobSearch,iconName:"JobSearch",name:n.t("builder.dashboard.service_links.job_search.name"),label:"job_search",isPremiumService:!0,cioDomainUrl:"https://career.io/app/job-search?view=recommendation",action:()=>e("/job-search")},{index:2,enabled:!0,iconName:"InterviewPrep",name:n.t("builder.dashboard.service_links.interview_prep.name"),label:"interview_prep",isPremiumService:!0,isPostPremiumActive:a,cioDomainUrl:d,action:()=>e(s)},{index:3,enabled:!!o.careerPlans,iconName:"JobSearchStrategy",name:n.t("builder.dashboard.service_links.job_search_strategy.name"),label:"job_search_strategy",isPremiumService:!0,isPostPremiumActive:a,cioDomainUrl:"https://career.io/app/career-plans/execute-a-job-search",action:()=>e("/career-plans/execute-a-job-search")},{index:4,enabled:!!o.jobTracking,iconName:"JobTracker",name:n.t("builder.dashboard.service_links.job_tracker.name"),label:"job_tracking",isPremiumService:!0,isPostPremiumActive:a,cioDomainUrl:"https://career.io/app/job-tracking?view=recommendation",action:()=>e("/job-tracking")},x],g=6===m.filter(e=>e.enabled).length,y=async e=>{(0,N.xP)("click_dash_mini_app",{label:m?.[e]?.label});let t=m?.[e];t?.isPostPremiumActive?i(F.o1.setTrackJobPaywall(!0)):t.action&&t.action()},f=e=>{let t=(e=>{if(e?.isPostPremiumActive)return xO})(e);return(0,J.jsxs)(xB,{onClick:()=>y(e.index),onMouseOver:()=>{var t;return t=e.index,void u(e=>{let i=[...e];return i[t]=!0,i})},onMouseOut:()=>{var t;return t=e.index,void u(e=>{let i=[...e];return i[t]=!1,i})},isHovered:c[e.index],isTabWidth:e.index,children:[(0,J.jsx)(xL.aK,{name:e.iconName}),t&&(0,J.jsx)(x$,{src:t}),(0,J.jsx)(xD,{isHovered:c[e.index],children:e.name})]},e.index)};return t?g?(0,J.jsx)(xI,{children:(0,J.jsx)(xM,{children:m.map(e=>f(e))})}):(0,J.jsx)(J.Fragment,{}):g?(0,J.jsx)(xN,{children:(0,J.jsx)(nl.RC,{modules:[na.Vx,na.Ze,n
849a.FJ],grabCursor:!0,slidesPerView:"auto",navigation:{prevEl:".career-goal-prev-button",nextEl:".career-goal-next-button"},direction:"horizontal",scrollbar:!0,mousewheel:!0,children:m.map(e=>(0,J.jsx)(nl.qr,{children:f(e)},e.iconName))})}):(0,J.jsx)(J.Fragment,{})};let xF=tt.Ay.section(["position:relative;display:flex;flex-direction:column;gap:32px;",""],tQ.A.Phone`
850    gap: 27px;
851  `),xH="Find a New Job",xV="Excel at Your Job",xU="Change Career",xW=e=>({[xH]:{text:e?.("builder.dashboard.banner_action.find_new_job")||"",index:0},[xV]:{text:e?.("builder.dashboard.banner_action.excel_at_your_job")||"",index:1},[xU]:{text:e?.("builder.dashboard.banner_action.change_career")||"",index:2}}),xK={0:xH,1:xV,2:xU};var xq=()=>{let[e,t]=(0,R.useState)(!1),[i,r]=(0,R.useState)(!1),[n,o]=(0,R.useState)(!1),a=(0,eW.N)(Z.Tp.isUserLoggingFirstTime),l=(0,eW.N)(U.Tp.activeTabId),{i18n:s}=(0,e1.s)(),d=(0,eU.wA)(),{getHost:c}=(0,ca.Ay)(),u=new URLSearchParams(window.location.search).get("paymentSuccess"),p=(0,e0.U)(),h=p?.features.superApp,x=p?.features.international,m=p?.features.careerProfile,{features:g}=(0,d2.t)(),y=pp({index:l}),f=(0,R.useCallback)(e=>{(0,N.xP)("click_dash_tab",{label:y?.name,website_host:c}),d(U.o1.setActiveTabID({tabId:e}))},[d,c,y?.name]),b=(0,R.useCallback)(e=>{ew.D.setItem(h9.G.ACTIVE_TAB,JSON.stringify(e)),f(e),o(!1)},[f]),_=(0,R.useMemo)(()=>[xW(s.t)[xH],xW(s.t)[xV],xW(s.t)[xU]],[s]),v=ew.D.getItem("IS_CHECKED_FIRST_LOGIN"),j=ew.D.getItem(h9.G.IS_WELCOME_MODAL_SHOWN);(0,dl.h)(()=>{v||j||d(Z.o1.fetchFirstTimeLoginStatus()),g.dashboardNavigationTabs||b(0)}),(0,R.useEffect)(()=>{v||j||!a||!h||m||(t(!0),r(!1),(0,N.xP)("see_cio_welcome_modal",{website_host:c}))},[d,c,v,h,x,a,j,u,m]);let A={activeTabTitle:_.find(e=>e.index===l)?.text||"",isMenuVisible:n,setIsMenuVisible:o,tabsActions:_,selectedIndex:l,handleTabClick:b};return(0,J.jsxs)(xF,{children:[(0,J.jsx)(xk,{setIsWelcomeModalOpen:t,isWelcomeModalOpen:e,getHost:c,isCioRedirectOpen:i}),g.dashboardNavigationTabs&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(pO,{...A}),(0,J.jsx)(pX,{...A}),(0,J.jsx)(xR,{onSelectedIndexChange:f,selectedIndex:l,buttons:_})]}),(0,J.jsx)(h6,{selectedIndex:l}),(()=>{if(0===l)return g.dashboardV2&&!g.dashboardV3||x||h?(0,J.jsx)(xz,{}):(0,J.jsx)(J.Fragment,{})})()]})};let xG=tt.Ay.ul(["list-style:none;padding:0;margin:0;display:flex;"]),xZ=tt.Ay.li(["img{border-radius:100%;width:100%;border-radius:100%;border:4px solid ",";background-color:",";}position:relative;z-index:3;margin-left:-40px;cursor:pointer;&:nth-child(1){margin-left:0;}&:nth-child(2){z-index:2;}&:nth-child(3){z-index:1;}"],te.Jy.Indigo10,te.Jy.Indigo10),xX=i(46294),xQ=i(36973),xY=i(10820),x0=()=>(0,J.jsxs)(xG,{children:[(0,J.jsx)(xZ,{children:(0,J.jsx)("img",{src:xX})}),(0,J.jsx)(xZ,{children:(0,J.jsx)("img",{src:xQ})}),(0,J.jsx)(xZ,{children:(0,J.jsx)("img",{src:xY})})]}),x1=tt.Ay.div(["padding:24px;background-color:",";border-radius:16px;display:flex;align-items:center;position:relative;margin-bottom:52px;",";"],te.Jy.Indigo10,tQ.A.Tablet`
852   flex-direction:column ;
853    align-items: start;
854  `),x2=tt.Ay.div(["width:160px;"]),x3=tt.Ay.div(["margin-left:22px;width:100%;flex:1 1 auto;max-width:586px;",";"],tQ.A.Tablet`
855    margin: 24px 0 16px 0;
856  `),x5=tt.Ay.span(["",";"," color:",";margin-bottom:4px;"],td.BO.Medium,td.Ay.Subhead,te.Jy.Indigo80),x4=tt.Ay.p([""," color:",";"],td.Ay.Body,te.Jy.Indigo80),x6=tt.Ay.div(["margin-left:auto;",""],tQ.A.Tablet`
857    margin-left: 0;
858  `),x8=(0,tt.Ay)(i$.Ay)([""]),x9=["Struggling with your Job Search? Talk to a career coach!","Feeling stuck in your career? Talk to a career coach!","Feeling like it's time for a career change? Talk to a career coach!"],x7=["Our professional coaches can get you past the job search blockers, help you land interviews and achieve your career goals.","Our professional coaches will guide you through key decisions to get you unstuck and confidently taking the next steps to achieve your career goals.","Our professional coaches will guide you from unsure to fully confident and committed to your next best career path."],me=()=>{let e=(0,L.Zp)(),t=(0,eW.N)(U.Tp.activeTabId),{getHost:i}=(0,ca.Ay)(),r=pp({index:t}),n=(0,R.useCallback)(()=>x9[t],[t]),o=(0,R.useCallback)(()=>x7[t],[t]);return(0,J.jsxs)(x1,{children:[(0,J.jsx)(x2,{children:(0,J.jsx)(x0,{})}),(0,J.jsxs)(x3,{children:[(0,J.jsx)(x5,{children:n()}),(0,J.jsx)(x4,{children:o()})]}),(0,J.jsx)(x6,{children:(0,J.jsx)(x8,{onClick:()=>{e("/career-coaching"),(0,N.xP)("click_career_coaching_banner",{label:r?.name,website_host:i})},children:"Book a Coach"})})]})},mt=tt.Ay.div(["display:flex;position:relative;flex-direction:column;align-items:flex-start;width:544px;background-color:",";border-radius:16px;z-index:999;",";"],te.Jy.White,tQ.A.Phone`
859    width: 343px;
860  `),mi=tt.Ay.video(["width:100%;border-radius:16px 16px 0 0;"]),mr=tt.Ay.div(["position:absolute;width:28px;height:28px;top:32px;right:32px;z-index:10;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";}",";"],te.Jy.Neutral30,te.Jy.White,te.Jy.Blue50,tQ.A.Phone`
861    top: 20px;
862    right: 20px;
863    padding: 2px;
864  `),mn=tt.Ay.div(["display:flex;gap:24px;flex-direction:column;padding:32px;",";"],tQ.A.Phone`
865    gap: 16px;
866    padding: 20px;
867  `),mo=tt.Ay.div(["display:flex;gap:8px;flex-direction:column;align-items:flex-start;",";"],tQ.A.Phone`
868    gap: 4px;
869  `),ma=tt.Ay.div(["display:flex;gap:12px;flex-direction:column;align-items:flex-start;",";"],tQ.A.Phone`
870    gap: 8px;
871  `);td.BO.DemiBold,te.Jy.Indigo70,(0,tt.Ay)(tP.EK.Crown)(["width:24px;height:24px;color:",";"],te.Jy.Indigo70);let ml=tt.Ay.div(["",";",";"],td.Ay.S,td.BO.DemiBold),ms=tt.Ay.div(["color:",";"],te.Jy.Neutral50),md=tt.Ay.div(["display:flex;gap:8px;flex-direction:column;",";"],tQ.A.Phone`
872    gap: 12px;
873  `),mc=tt.Ay.img(["border-radius:8px;position:relative;top:-2px;height:24px;width:24px;"]),mu=tt.Ay.span(["",";color:",";"],td.BO.Medium,te.Jy.Neutral80),mp=tt.Ay.div(["",";",";color:",";"],td.Ay.Caps,td.BO.DemiBold,te.Jy.Neutral80),mh=tt.Ay.div(["display:flex;gap:8px;flex-direction:column;justify-content:start;padding:12px;width:50%;background-color:",";"],te.Jy.Neutral5),mx=tt.Ay.div(["width:100%;display:flex;gap:8px;justify-content:start;align-items:flex-start;background-color:",";"],te.Jy.Neutral5),mm=tt.Ay.div(["display:flex;gap:4px;"]),mg=tt.Ay.div(["",";"],td.Ay.Caption),my=(0,tt.Ay)(tP.EK.Tick)(["color:",";"],te.Jy.Green40),mf=tt.Ay.div(["display:flex;justify-content:flex-end;
873gap:4px;",";"],tQ.A.Phone`
874    gap: 8px;
875  `);var mb=i.p+"media/RIO-CIO3a889be189d71012.webm",m_=({handleClose:e})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(mr,{onClick:e,children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsx)(mi,{src:mb,autoPlay:!0,controls:!1,muted:!0})]}),mv=i.p+"media/ciologo045bb00a8e0a7a1f.png",mj=i.p+"media/riologo3d5741ed83ec120e.png";let mA=[{id:1,text:"Resume Tuner"},{id:2,text:"Job Search"},{id:3,text:"Job Tracker"},{id:4,text:"Interview Prep"},{id:5,text:"Salary Analyzer"},{id:6,text:"Career Planning"},{id:7,text:"Career Pathways"}];var mC=()=>{let{i18n:e}=(0,e1.s)(),t=t=>t?.slice(0,4).map(t=>(0,J.jsxs)(mm,{children:[(0,J.jsx)(my,{}),(0,J.jsx)(mg,{children:e.t(`builder.panel.cio_rio_info_modal.${t.text}`)})]},t.id));return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(mo,{children:[(0,J.jsx)(ma,{children:(0,J.jsx)(ml,{children:e.t("builder.panel.cio_rio_info_modal.title")})}),(0,J.jsxs)(ms,{children:[e.t("builder.panel.cio_rio_info_modal.text_1")," ",(0,J.jsx)(mc,{src:mj})," ",(0,J.jsx)(mu,{children:"Resume.io"})," ",e.t("builder.panel.cio_rio_info_modal.text_2")," ",(0,J.jsx)(mc,{src:mv}),(0,J.jsx)(mu,{children:"Career.io"})," ",e.t("builder.panel.cio_rio_info_modal.text_3")]})]}),(0,J.jsxs)(md,{children:[(0,J.jsxs)(mp,{children:[e.t("builder.panel.cio_rio_info_modal.unlock_text"),":"]}),(0,J.jsxs)(mx,{children:[(0,J.jsx)(mh,{children:t(mA.slice(0,4))}),(0,J.jsx)(mh,{children:t(mA.slice(4))})]})]})]})},mw=({handleClose:e})=>{let{isPhone:t}=(0,ih.e)(),{i18n:i}=(0,e1.s)();return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(mf,{children:(0,J.jsx)(i$.Ay,{size:t?i$.Mp.small:i$.Mp.default,onClick:e,children:i.t("builder.panel.cio_rio_info_modal.button")})})})},mk=()=>{let[e,t]=(0,R.useState)(!1);(0,R.useEffect)(()=>{try{let e=ew.D.getItem(G.n3.SHOW_RIO_CIO_INFO_MODAL_FLAG);(e=e?JSON.parse(e):null)&&t(!0),ew.D.removeItem(G.n3.SHOW_RIO_CIO_INFO_MODAL_FLAG)}catch(e){E.A.log(e)}},[]);let i=()=>{t(!1)};return e?(0,J.jsx)(i6.A,{overlayFadeDuration:150,contentSlideDuration:150,children:(0,J.jsxs)(mt,{children:[(0,J.jsx)(m_,{handleClose:i}),(0,J.jsxs)(mn,{children:[(0,J.jsx)(mC,{}),(0,J.jsx)(mw,{handleClose:i})]})]})}):null};let mS=tt.Ay.div(["max-width:544px;background:",";border-radius:16px;position:relative;",""],te.Jy.White,tQ.A.Phone`
876    border-radius: 12px;
877  `),mT=tt.Ay.img(["width:100%;border-radius:16px 16px 0 0;",""],tQ.A.Phone`
878    border-radius: 12px 12px 0 0;
879  `),mP=tt.Ay.div(["padding:32px;",""],tQ.A.Phone`
880    padding: 20px;
881  `),mJ=tt.Ay.div(["",";",";margin-bottom:8px;",""],td.Ay.S,td.BO.DemiBold,tQ.A.Phone`
882    margin-bottom: 4px;
883  `),mE=tt.Ay.div(["color:",";margin-bottom:24px;",""],te.Jy.Neutral50,tQ.A.Phone`
884    margin-bottom: 20px;
885  `),mR=tt.Ay.div(["width:100%;display:flex;justify-content:flex-end;gap:8px;"]),mL=(0,tt.Ay)(tP.Ay.Close)(["color:",";"],te.Jy.Neutral50),mN=tt.Ay.div(["width:28px;height:28px;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;position:absolute;top:32px;right:32px;background:",";&:hover ","{color:",";}",""],te.Jy.White,mL,te.Jy.Blue50,tQ.A.Phone`
886    top: 20px;
887    right: 20px;
888  `);var mI=i.p+"media/visual19b248eb4e1b7372.svg",mM=()=>{let e=(0,eU.wA)(),{isPhone:t}=(0,ih.e)(),i=(0,eW.N)(F.Tp.isCreateResumeOpen),r=(0,eW.N)(U.Tp.isTailorResume),n=()=>{e(U.o1.createDocument({type:eZ.VC.resume})),e(F.o1.closeCreateResumeModal()),r&&e($.o1.setEditorPanelType("tailoring"))},o=()=>{e(F.o1.closeCreateResumeModal())};return(0,J.jsx)(J.Fragment,{children:i&&(0,J.jsx)(i6.A,{onClick:n,overlayFadeDuration:150,contentSlideDuration:150,children:(0,J.jsxs)(mS,{children:[(0,J.jsx)(mN,{onClick:o,children:(0,J.jsx)(mL,{})}),(0,J.jsx)(mT,{src:mI}),(0,J.jsxs)(mP,{children:[(0,J.jsx)(mJ,{children:"First of all, you need to create a resume"}),(0,J.jsx)(mE,{children:"Craft an impressive resume by selecting one of our highly effective resume templates, significantly enhancing your chances of securing a job."}),(0,J.jsxs)(mR,{children:[(0,J.jsx)(i$.Ay,{theme:"ghost",size:"small",onClick:o,children:"Not Now"}),(0,J.jsx)(i$.Ay,{onClick:n,size:t?i$.Mp.small:i$.Mp.default,children:"Create Resume"})]})]})]})})})},mB=i.p+"media/aceJobInterviewImgf3e6d31018105924.svg",mD=i.p+"media/executeJobSearchImg0f41ebbdfa776785.svg",m$=i.p+"media/exploreNextStepsImgd614061c3dc086f2.svg",mO=i.p+"media/findTrackJobsImg7806391a05d56bb5.svg",mz=i.p+"media/firstNintyDaysPlanImg370d801e9292d674.svg",mF=i.p+"media/getPromotionImgde7e2e4e5dd4e5a5.svg",mH=i.p+"media/knowWorthImg37dda93b14b399a1.svg",mV=i.p+"media/optimizeResumeImg4e7e1fa9264ef5c6.svg",mU=i.p+"media/tailorResumeImg43e4c8619acfc42f.svg",mW=i.p+"media/career_plans4515621904819cd8.svg",mK=i.p+"media/career_advicec54d3ae14668fb87.svg",mq=[{id:"interview_prep",imgSrc:mB,redirectUrl:"/app/interview-preparation/dashboard"},{id:"job_search_strategy",imgSrc:mD,redirectUrl:"/app/career-plans/execute-a-job-search"},{id:"career_path",imgSrc:m$,redirectUrl:"/app/career-path"},{id:"explore_your_next_steps",imgSrc:m$,redirectUrl:"/app/career-path"},{id:"job_search",imgSrc:mO,redirectUrl:"/app/job-search"},{id:"first_90_days_plan",imgSrc:mz,redirectUrl:"/app/career-plans/first-90-days"},{id:"plan_to_promotion",imgSrc:mF,redirectUrl:"/app/career-plans/path-to-promotion"},{id:"salary_analyzer",imgSrc:mH,redirectUrl:"/app/offer-analyzer"},{id:"resume_optimizer",imgSrc:mV,redirectUrl:""},{id:"resume_tailoring",imgSrc:mU,redirectUrl:""},{id:"explore_careers",imgSrc:i.p+"media/explore_careerscb3e181018be8da1.svg",redirectUrl:"/app/explore-careers"},{id:"professional_resources",imgSrc:mK,redirectUrl:"/career-advice"},{id:"job_tracking",imgSrc:mO,redirectUrl:"/app/job-tracking"},{id:"career_planning",imgSrc:mW,redirectUrl:"/app/career-plans"}];let mG=tt.Ay.div(["display:flex;position:relative;flex-direction:column;align-items:flex-start;width:100%;max-width:544px;background-color:",";border-radius:16px;z-index:999;",";"],te.Jy.White,tQ.A.Phone`
889    max-width: 343px;
890  `),mZ=tt.Ay.img(["width:100%;border-radius:16px 16px 0 0;margin:0 auto;"]),mX=tt.Ay.div(["position:absolute;width:28px;height:28px;top:32px;right:32px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";}",";"],te.Jy.Neutral30,te.Jy.White,te.Jy.Blue50,tQ.A.Phone`
891    top: 20px;
892    right: 20px;
893    padding: 2px;
894  `),mQ=tt.Ay.div(["display:flex;gap:24px;flex-direction:column;padding:32px;",";"],tQ.A.Phone`
895    gap: 16px;
896    padding: 20px;
897  `),mY=tt.Ay.div(["display:flex;gap:8px;flex-direction:column;align-items:flex-start;",";"],tQ.A.Phone`
898    gap: 4px;
899  `),m0=tt.Ay.div(["display:flex;gap:12px;flex-direction:column;align-items:flex-start;",";"],tQ.A.Phone`
900    gap: 8px;
901  `),m1=tt.Ay.div(["width:218px;display:flex;justify-content:center;align-items:center;gap:4px;border-radius:40px;padding:4px 12px 4px 8px;background-color:",";",";"],te.Jy.Indigo10,tQ.A.Phone`
902    width: 191px;
903  `),m2=tt.Ay.div(["",";color:",";"],td.BO.DemiBold,te.Jy.Indigo70),m3=(0,tt.Ay)(tP.EK.Crown)(["width:24px;height:24px;color:",";"],te.Jy.Indigo70),m5=tt.Ay.div(["",";",";"],td.Ay.S,td.BO.DemiBold),m4=tt.Ay.div(["color:",";"],te.Jy.Neutral50),m6=tt.Ay.div(["display:flex;gap:8px;flex-direction:column;",";"],tQ.A.Phone`
904    gap: 12px;
905  `),m8=tt.Ay.div(["",";",";color:",";"],td.Ay.Caps,td.BO.DemiBold,te.Jy.Neutral80),m9=tt.Ay.div(["display:flex;gap:8px;flex-direction:column;padding:12px;background-color:",";"],te.Jy.Neutral5),m7=tt.Ay.div(["display:flex;gap:4px;"]),ge=tt.Ay.div(["",";"],td.Ay.Caption),gt=(0,tt.Ay)(tP.EK.Tick)(["color:",";"],te.Jy.Green40),gi=tt.Ay.div(["display:flex;justify-content:flex-end;
905gap:4px;",";"],tQ.A.Phone`
906    gap: 8px;
907  `),gr=[{id:1,text:"Access to all templates"},{id:2,text:"Unlimited resume downloads"},{id:3,text:"Unlimited cover letters"}];var gn=({source:e})=>{let{isPhone:t}=(0,ih.e)(),i=(0,eW.N)(F.Tp.showPremiumServiceModal),r=(0,eU.wA)();return((0,R.useEffect)(()=>{(0,N.xP)("see_paywall_pop_up",{service:e})},[e]),i.isOpen)?(0,J.jsx)(i6.A,{overlayFadeDuration:150,contentSlideDuration:150,children:(0,J.jsxs)(mG,{children:[(0,J.jsx)(mX,{onClick:()=>{r(F.o1.setPremiumServiceModal({isOpen:!1,serviceType:void 0}))},children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsx)(mZ,{src:mq.find(t=>t.id===e)?.imgSrc}),(0,J.jsxs)(mQ,{children:[(0,J.jsxs)(mY,{children:[(0,J.jsxs)(m0,{children:[(0,J.jsxs)(m1,{children:[(0,J.jsx)(m3,{}),(0,J.jsx)(m2,{children:"Available for Premium"})]}),(0,J.jsx)(m5,{children:"Boost Your Career"})]}),(0,J.jsx)(m4,{children:"Get access to career services, a digital platform that supports your professional freedom and success"})]}),(0,J.jsxs)(m6,{children:[(0,J.jsx)(m8,{children:"Also Unlock:"}),(0,J.jsx)(m9,{children:gr.map(e=>(0,J.jsxs)(m7,{children:[(0,J.jsx)(gt,{}),(0,J.jsx)(ge,{children:e.text})]},e.id))})]}),(0,J.jsxs)(gi,{children:[(0,J.jsx)(i$.Ay,{size:t?i$.Mp.small:i$.Mp.default,theme:"ghost",onClick:()=>{r(F.o1.setPremiumServiceModal({isOpen:!1,serviceType:void 0}))},children:"Cancel"}),(0,J.jsx)(i$.Ay,{size:t?i$.Mp.small:i$.Mp.default,onClick:()=>{r(F.o1.setPremiumServiceModal({isOpen:!1,serviceType:void 0})),(0,ln.b)({onSuccessRedirect:mq.find(t=>t.id===e)?.redirectUrl}),(0,N.xP)("click_upgrade_button")},children:"Upgrade Now"})]})]})]})}):null},go=i(36188);let ga=tt.Ay.div([""]),gl={buttonTitle:"Land your dream job",buttonDescription:"Follow the steps and be prepared",modalTitle:"Land your dream job",modalDescription:"Follow the steps below and be prepared",allStepCompletionStateTitle:"Congratulations!",allStepCompletionStateSubTitle:"Keep improving your professional level and you will have no equal"};var gs=({resumeEditor:e})=>{let t=(0,L.Zp)(),i=(0,d2.t)(),r=i?.features.jobHelper,n=(0,eW.N)(Z.Tp.premiumAccess),o=(0,eW.N)(Z.Tp.isResumeDownloaded),a=(0,eU.d4)(e9.Tp.getInterviewUrl),[l,s]=(0,R.useState)(!1),[d,c]=(0,R.useState)(!1),u=(0,eU.wA)();return((0,R.useEffect)(()=>{let e=ew.D.getItem("jobSearchHelperModalFlag");r&&o&&!e?(s(!0),c(!0),ew.D.setItem("jobSearchHelperModalFlag","1"),(0,N.xP)("helper_modal_view",{label:"resume_builder"})):c(!1)},[r,o]),(0,R.useEffect)(()=>{!d&&l&&(0,N.xP)("helper_corner_view",{label:"resume_builder"})},[l,d]),console.log("isJobHelperFeatEnabled",r),r)?(0,J.jsx)(ga,{children:(0,J.jsx)(go.A,{setModalAsCentre:c,modalAsCentre:d,labelPayload:gl,currentWidgetName:U.Kr.JOB_SEARCH,widgetFetchCondition:n,helperLabel:"resume_builder",resumeEditor:e,onStepActionClick:e=>{switch(e){case"improve_resume":t("/career-plans/execute-a-job-search?cp_top_level=2&cp_second_level=3"),(0,N.xP)("helper_cta_click",{label:"resume_builder",target:"resume_video"});break;case"apply_jobs":t("/job-search"),(0,N.xP)("helper_cta_click",{label:"resume_builder",target:"job_search"});break;case"interview_prep":t(a),(0,N.xP)("helper_cta_click",{label:"resume_builder",target:"interviews"});break;default:return null}},isHelperModalOpen:l,setIsHelperModalOpen:s,handleClose:()=>{s(!1),u(Z.o1.setIsResumeDownloaded(!1))},TrackingEvents:e=>{"improve_resume"===e.name?(0,N.xP)("helper_action_completed",{label:"resume_builder",target:"resume_video"}):"apply_jobs"===e.name?(0,N.xP)("helper_action_completed",{label:"resume_builder",target:"apply_jobs_video"}):"interview_prep"===e.name&&(0,N.xP)("helper_action_completed",{label:"resume_builder",target:"interviews"})}})}):null},gd=({totalSteps:e,completedSteps:t})=>{let i=2*Math.PI*52,r=t/e*i;return(0,J.jsxs)("svg",{width:"104",height:"104",viewBox:"-10 -10 120 120",children:[(0,J.jsx)("circle",{cx:"52",cy:"52",r:"52",fill:"none",stroke:te.Jy.Neutral15,strokeWidth:"6"}),(0,J.jsx)("circle",{cx:"52",cy:"52",r:"52",fill:"none",stroke:te.Jy.Indigo50,strokeWidth:"6",strokeDasharray:`${i} ${i}`,strokeDashoffset:i-r,transform:"rotate(-90 52 52)"}),(0,J.jsx)("text",{x:"52",y:"45",fill:"#000",fontSize:"33px",fontWeight:600,textAnchor:"middle",alignmentBaseline:"central",children:i7.R.t("builder.navigation.post_premium_modal.days_left_count",{days_left_count:t})}),(0,J.jsx)("text",{x:"52",y:"67",fill:te.Jy.Neutral50,fontSize:"16px",fontWeight:500,textAnchor:"middle",alignmentBaseline:"central",children:i7.R.t("builder.navigation.post_premium_modal.days_left")})]})};let gc=(0,tt.Ay)(uD.CS.div)(["flex-direction:column;position:fixed;right:24px;bottom:",";z-index:9999999999;opacity:",";transition:opacity 0.4s ease-in-out,bottom 0.4s ease-in-out;"," ",""],e=>e.isOpen?"24px":"-100vh",e=>e.isOpen?"100":"0",tQ.A.Phone`
908      position: fixed;
909      left: 0;
910      right: 0;
911      top: initial;
912      display: initial;
913      justify-content: initial;
914      align-items: initial; 
915  `,e=>e.isOpen?tQ.A.Phone`
916      bottom: 12px;
917    `:tQ.A.Phone`
918      bottom: -100vh;
919    `),gu=tt.Ay.div(["position:relative;display:flex;width:352px;align-items:center;justify-content:center;gap:24px;padding:24px;flex-direction:column;border-radius:12px;background:",";box-shadow:0px 16px 64px -8px rgba(15,56,113,0.18),0px 6px 8px -2px rgba(15,56,113,0.02),0px 0px 1px 0px rgba(15,56,113,0.32);",""],te.Jy.White,tQ.A.Phone`
920    max-width: 351px;
921    margin: auto;
922  `),gp=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;"]),gh=tt.Ay.div(["color:",";",";",";text-align:center;width:304px;",";"],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular,tQ.A.Phone`
923    width: 311px;
924  `),gx=tt.Ay.div(["color:",";",";",";text-align:center;width:304px;",";"],te.Jy.Neutral90,td.Ay.Subhead,td.BO.DemiBold,tQ.A.Phone`
925    width: 311px;
926  `),gm=tt.Ay.div(["display:flex;justify-content:center;align-items:center;gap:12px;"]),gg=(0,tt.Ay)(i$.Ay)(["display:flex;max-width:125px;height:48px;padding:12px 24px;justify-content:center;align-items:center;gap:4px;flex-shrink:0;border-radius:4px;background-color:",";color:",";border:1px solid ",";transition:border 0.2s ease-in-out,color 0.2s ease-in-out;&:hover{transition:border 0.2s ease-in-out,color 0.2s ease-in-out;border:1px solid ",";background-color:",";color:",";}"],te.Jy.White,te.Jy.Neutral90,te.Jy.Neutral20,te.Jy.Blue50,te.Jy.White,te.Jy.Blue50),gy=(0,tt.Ay)(i$.Ay)(["display:flex;max-width:167px;padding:12px 24px 12px 20px;justify-content:center;align-items:center;gap:4px;border-radius:4px;background:",";"],te.Jy.Indigo50),gf=(0,tt.Ay)(tP.EK.Close)(["position:absolute;top:24px;right:24px;width:20px;cursor:pointer;height:20px;background-color:",";color:",";flex-shrink:0;border-radius:50%;"],te.Jy.Neutral5,te.Jy.Neutral50),gb=(0,tt.Ay)(tP.EK.Crown)(["width:24px;height:24px;color:",";margin-bottom:-24px;transform:",";position:relative;
926left:",";top:",";"],te.Jy.Amber40,e=>e.daysLeftPremium<1?"rotate(-36.22deg)":"none",e=>e.daysLeftPremium<1?"-2rem":"none",e=>e.daysLeftPremium<1?"1rem":"none");var g_=i(84708),gv=({daysLeftPremium:e})=>{let[t,i]=(0,R.useState)(!1),r=(0,eU.wA)(),n=(0,e0.U)(),o=(0,eW.N)(Z.Tp.userData),a=(0,R.useCallback)(()=>{r(F.o1.openRestartSubscriptionModal())},[r]);(0,R.useEffect)(()=>{let t=ew.D.getItem(g_.U.lastShownTrialModal),r=ew.D.getItem("trailModalPeriod");if(r?r=parseInt(r):(r=864e5,ew.D.setItem(g_.U.trailModalPeriod,r.toString())),t){let n=new Date().getTime();n-parseInt(t)>r&&(i(!0),ew.D.setItem(g_.U.lastShownTrialModal,n.toString()),(0,N.xP)("see_counter_reminder",{premium_days_left:e}))}else i(!0),ew.D.setItem(g_.U.lastShownTrialModal,new Date().getTime().toString()),(0,N.xP)("see_counter_reminder",{premium_days_left:e})},[e]);let l=()=>{(0,N.xP)("close_counter_reminder",{premium_days_left:e}),i(!1)};return t?(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(gc,{isOpen:t,children:(0,J.jsxs)(gu,{children:[(0,J.jsx)(gf,{onClick:l}),(0,J.jsx)(gb,{daysLeftPremium:e}),(0,J.jsx)(gd,{totalSteps:7,completedSteps:e}),(0,J.jsxs)(gp,{children:[(0,J.jsx)(gx,{children:e<1?i7.R.t("builder.navigation.post_premium_modal.access_over"):i7.R.t("builder.navigation.post_premium_modal.days_left_to_pro",{days_left_count:e})}),(0,J.jsx)(gh,{children:e<1?i7.R.t("builder.navigation.post_premium_modal.access_over_text"):i7.R.t("builder.navigation.post_premium_modal.days_left_message",{days_left_count:e})})]}),(0,J.jsxs)(gm,{children:[(0,J.jsx)(gg,{onClick:l,children:i7.R.t("builder.navigation.post_premium_modal.not_now")}),(0,J.jsxs)(gy,{onClick:()=>{n?.features.reactivatePremium&&o?.billingInfo.canRestartSubscription?((0,N.xP)("click_keep_premium",{where:"reminder"}),a()):((0,N.xP)("cta_click_counter_reminder",{premium_days_left:e}),(0,ln.b)())},children:[(0,J.jsx)(tP.EK.Crown,{}),i7.R.t(e<1?"builder.navigation.post_premium_modal.renew_pro":"builder.navigation.post_premium_modal.keep_pro")]})]})]})})}):(0,J.jsx)(J.Fragment,{})},gj=i(33414);let gA="builder.job_tracking.paywall_modal",gC=()=>{let e=(0,eU.wA)(),t=(0,d2.t)(),i=(0,eW.N)(F.Tp.trackJobPaywallModal),r=(0,eW.N)(Z.Tp.getUpgradeUrl),n=`${gA}.features.feature`,o=[{id:1,enable:!0,text:i7.R.t(`${n}_1`)},{id:2,enable:!0,text:i7.R.t(`${n}_2`)},{id:3,enable:!0,text:i7.R.t(`${n}_3`)},{id:4,enable:t.features?.jobTracking,text:i7.R.t(`${n}_4`)},{id:5,enable:t.features?.salaryAnalyzer,text:i7.R.t(`${n}_5`)},{id:6,enable:!0,text:i7.R.t(`${n}_6`)},{id:7,enable:t.features?.jobSearchPlan,text:i7.R.t(`${n}_7`)},{id:8,enable:t.showResumeDistribution(),text:i7.R.t(`${n}_8`)}];return(0,R.useEffect)(()=>{i&&(0,N.xP)("see_post_premium_paywall")}),(0,J.jsx)(J.Fragment,{children:i?(0,J.jsx)(i4.A,{title:i7.R.t(`${gA}.title`),subTitle:i7.R.t(`${gA}.sub_title`),features:o.filter(e=>e.enable),text:i7.R.t(`${gA}.features_header`),cancelButton:i7.R.t(`${gA}.cancel_button`),upgradebutton:i7.R.t(`${gA}.upgrade_button`),tunerImg:dd,onClose:()=>e(F.o1.setTrackJobPaywall(!1)),isExploreJobs:!0,handleUpgrade:()=>{window.open((0,ln.f)({upgradeURL:r}),"_self"),(0,N.xP)("cta_click_post_premium_paywall")}}):null})},gw=tt.Ay.div(["display:none;",""],tQ.A.Phone`
927    display: block;
928  `),gk=tt.Ay.div(["display:flex;width:100%;padding:24px 0 4px;justify-content:center;align-items:center;background-color:white;flex-direction:column;"]),gS=tt.Ay.div(["display:flex;cursor:pointer;"]),gT=tt.Ay.p(["color:",";",";",";"],te.Jy.Blue50,td.BO.Medium,td.Ay.Subhead),gP=(0,tt.Ay)(tP.EK.ChevronDown)(["color:",";"],te.Jy.Blue50),gJ=tt.Ay.div(["padding:7px 7px 7px 16px;max-width:335px;width:100%;display:flex;align-items:center;border-radius:30px;background-color:white;position:absolute;bottom:-18px;z-index:500;left:50%;transform:translate(-50%);cursor:pointer;box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 2px 4px -1px rgba(15,56,113,0.08),0px 8px 20px -4px rgba(15,56,113,0.12);"]),gE=tt.Ay.p(["color:",";",";",";"],te.Jy.Neutral90,td.BO.Medium,td.Ay.Subhead),gR=tt.Ay.div(["margin-left:auto;background-color:",";width:40px;height:40px;border-radius:50%;display:flex;justify-content:center;align-items:center;"],te.Jy.Blue10),gL=(0,tt.Ay)(tP.qJ.ChevronRight)(["color:",";"],te.Jy.Blue50),gN=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eW.N)(U.Tp.activeTabId),[i,r]=(0,R.useState)(!1),n=(0,R.useRef)(null),o=(0,eU.wA)(),{getHost:a}=(0,ca.Ay)();(0,R.useEffect)(()=>{let e=(0,pc.throttle)(()=>{n.current&&(window.scrollY>98?(n.current.style.position="fixed",n.current.style.bottom="80px"):(n.current.style.position="absolute",n.current.style.bottom="-18px"))},20);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let l=xK[t];return(0,J.jsxs)(gw,{children:[(0,J.jsx)(gk,{children:(0,J.jsxs)(gS,{onClick:()=>r(!0),children:[(0,J.jsx)(gT,{children:"Change Career"===l?e.t("builder.navbar_v2.switch_career"):xW(e.t)[l].text}),(0,J.jsx)(gP,{})]})}),(0,J.jsxs)(gJ,{ref:n,onClick:()=>r(!0),children:[(0,J.jsx)(gE,{children:"Change Career"===l?e.t("builder.navbar_v2.switch_career"):xW(e.t)[l].text}),(0,J.jsx)(gR,{children:(0,J.jsx)(gL,{})})]}),i&&(0,J.jsx)(pL,{handleTabClick:e=>{r(!1),(0,N.xP)("click_dash_tab",{label:xK[e],website_host:a}),o(U.o1.setActiveTabID({tabId:e}))},onClose:()=>r(!1),selectedIndex:t,tabsActions:[xW(e.t)[xH],xW(e.t)[xV],{...xW(e.t)[xU],text:e.t("builder.navbar_v2.switch_career")}]})]})},gI=tt.Ay.div(["display:none;width:100%;padding:24px 0 4px;justify-content:center;align-items:center;background-color:white;flex-direction:column;"," ",""],tQ.A.Tablet`
929    display: flex;
930  `,tQ.A.Phone`
931    display: none;
932  `),gM=tt.Ay.div(["display:flex;cursor:pointer;position:relative;"]),gB=tt.Ay.p(["color:",";",";",";"],te.Jy.Blue50,td.BO.Medium,td.Ay.Subhead),gD=(0,tt.i7)(["from{transform:scale(0.5);opacity:0;}to{transform:scale(1);opacity:1;}"]),g$=tt.Ay.div(["box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 6px 8px -2px rgba(15,56,113,0.02),0px 16px 64px -8px rgba(15,56,113,0.18);position:absolute;
932left:-8px;top:calc(100% + 12px);width:352px;padding:4px;border-radius:16px;background-color:",";z-index:2;display:flex;flex-direction:column;transform-origin:100% 0;animation:"," 0.25s;animation-fill-mode:forwards;"],te.Jy.White,gD),gO=tt.Ay.div(["display:flex;align-items:center;padding:12px 16px;"]),gz=tt.Ay.p(["color:",";",";",";cursor:",";"],e=>e.isActive?te.Jy.Blue50:te.Jy.Neutral80,td.BO.Medium,td.Ay.Body,e=>e.isActive?"default":"pointer"),gF=(0,tt.Ay)(tP.qJ.TickLarge)(["color:",";margin-left:auto;"],te.Jy.Blue50),gH=(0,tt.Ay)(tP.qJ.Chevron)(["margin-top:1px;color:",";transform:rotate(90deg);"],te.Jy.Blue50),gV=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eW.N)(U.Tp.activeTabId),[i,r]=(0,R.useState)(!1),n=(0,R.useRef)(null),o=(0,eU.wA)(),{getHost:a}=(0,ca.Ay)();(0,oO.L)(n,()=>r(!1));let l=e=>{t!==e&&(r(!1),(0,N.xP)("click_dash_tab",{label:xK[e],website_host:a}),o(U.o1.setActiveTabID({tabId:e})))},s=xK[t];return(0,J.jsx)(gI,{children:(0,J.jsxs)(gM,{ref:n,onClick:()=>r(!i),children:[(0,J.jsx)(gB,{children:"Change Career"===s?e.t("builder.navbar_v2.switch_career"):xW(e.t)[s].text}),(0,J.jsx)(gH,{}),i&&(0,J.jsxs)(g$,{children:[(0,J.jsxs)(gO,{onClick:()=>l(xW(e.t)[xH].index),children:[(0,J.jsx)(gz,{isActive:s===xH,children:xW(e.t)[xH].text}),s===xH&&(0,J.jsx)(gF,{})]}),(0,J.jsxs)(gO,{onClick:()=>l(xW(e.t)[xV].index),children:[(0,J.jsx)(gz,{isActive:s===xV,children:xW(e.t)[xV].text}),s===xV&&(0,J.jsx)(gF,{})]}),(0,J.jsxs)(gO,{onClick:()=>l(xW(e.t)[xU].index),children:[(0,J.jsx)(gz,{isActive:s===xU,children:e.t("builder.navbar_v2.switch_career")}),s===xU&&(0,J.jsx)(gF,{})]})]})]})})},gU=tt.Ay.div(["width:100%;display:flex;align-items:center;margin-bottom:24px;"," ",""],({isOnboarding:e})=>e&&(0,tt.AH)(["margin-top:10px;"]),tQ.A.Tablet`
933    gap: 24px;
934    flex-direction: column;
935    margin-bottom: 10px;
936  `),gW=tt.Ay.div(["flex:1;"]),gK=tt.Ay.div(["color:",";font-size:33px;line-height:36px;",";"," ",""],te.Jy.Neutral90,td.BO.Regular,tQ.A.Tablet`
937    font-size: 39px;
938    line-height: 40px;
939    text-align: center;
940  `,tQ.A.Phone`
941    font-size: 33px;
942    line-height: 36px;
943  `),gq=tt.Ay.span(["",";"],td.BO.Medium),gG=tt.Ay.div(["color:",";font-size:19px;line-height:24px;",";",""],te.Jy.Neutral50,td.BO.Regular,tQ.A.Tablet`
944    text-align: center;
945  `),gZ=tt.Ay.div(["color:",";display:flex;align-items:center;gap:6px;font-size:19px;line-height:24px;float:right;",";",""],({success:e})=>e?te.Jy.Green50:te.Jy.Neutral50,td.BO.Medium,tQ.A.Tablet`
946    text-align: center;
947  `),gX=tt.Ay.span(["color:",";"],te.Jy.Neutral90),gQ=(0,tt.Ay)(tP.EK.StatusOffer)(["color:#25b869;"]),gY=tt.Ay.span(["cursor:pointer;"]),g0="builder.dashboard_v2.tab_switcher",g1=({showSuccessState:e,totalSteps:t,completedSteps:i,showProgress:r,showCompletedSteps:n,setShowCompletedSteps:o})=>{let a=(0,e4.J)(),{i18n:l}=(0,e1.s)(),s=(0,eW.N)(U.Tp.activeTabId),d=t===i,c=xK[s],u={[xH]:l.t(`${g0}.find_new_job`),[xV]:l.t(`${g0}.excel_at_job`),[xU]:l.t(`${g0}.change_career`)};return(0,J.jsxs)(gU,{isOnboarding:!a?.uiStates?.dashv2TourCompleted,children:[(0,J.jsxs)(gW,{children:[(0,J.jsxs)(gK,{children:[l.t(`${g0}.hi`),", ",(0,J.jsxs)(gq,{children:[a?.firstName,"!"]})]}),(0,J.jsx)(gG,{children:d&&!e&&0===s?l.t(`${g0}.find_new_job_completed`):u[c]})]}),(0,J.jsx)(gW,{children:r&&(!d||e)&&(0,J.jsxs)(gZ,{success:e,children:[e&&(0,J.jsx)(gQ,{}),(0,J.jsxs)(gX,{children:[i," ",l.t("builder.dashboard_v2.steps.progress.of")," ",t]}),(0,J.jsx)("span",{children:l.t("builder.dashboard_v2.steps.progress.completed")}),(0,J.jsx)(gY,{onClick:()=>o(!n),children:n?"Hide":"Show"})]})})]})},g2=tt.Ay.div(["display:flex;gap:13px;align-items:center;",";"],tQ.A.Tablet`
948    gap: 0;
949    justify-content: space-around;
950  `),g3=tt.Ay.div(["height:304px;width:340px;",";",";",""],tQ.A.Tablet`
951    position: absolute;
952    overflow: hidden;
953  `,tQ.A.Phone`
954    position: absolute;
955    overflow: hidden;
956  `,({position:e})=>"left"===e?(0,tt.AH)(["left:0;"]):(0,tt.AH)(["right:0;"])),g5=tt.Ay.img(["height:304px;width:340px;",";",";"," ",""],tQ.A.Tablet`
957    position: absolute;
958    height: 228px;
959    width: 254px;
960  `,tQ.A.Phone`
961    position: absolute;
962    width: 217px;
963    height: 195px;
964  `,({flip:e})=>
964e&&(0,tt.AH)(["transform:scaleX(-1);"]),({position:e})=>"left"===e?(0,tt.AH)(["",";",";"],tQ.A.Tablet`
965            left: -22px;
966          `,tQ.A.Phone`
967            top: -10px;
968            left: -60px;
969          `):(0,tt.AH)(["",";",";"],tQ.A.Tablet`
970            right: -100px;
971          `,tQ.A.Phone`
972            top: -10px;
973            right: -60px;
974          `)),g4=tt.Ay.div(["padding:13px;min-width:420px;display:flex;flex-direction:column;gap:8px;align-items:center;",";",";"],tQ.A.Tablet`
975    max-width: 420px;
976  `,tQ.A.Phone`
977    min-width: 300px;
978  `),g6=tt.Ay.img(["width:196px;height:180px;margin-bottom:4px;"]),g8=tt.Ay.div(["color:",";",";",";text-align:center;"],te.Jy.Neutral90,td.Ay.Subhead,td.BO.Medium),g9=tt.Ay.div(["color:",";",";",";text-align:center;"],te.Jy.Neutral90,td.Ay.Body,td.BO.Regular),g7=(0,tt.Ay)(i$.Ay).attrs({size:i$.Mp.small})(["margin-top:8px;"]);var ye=i.p+"media/imagec15721382a6aecde.png",yt=i.p+"media/success3ff68b41ce804166.png";let yi=()=>{let e=(0,eU.wA)(),{i18n:t}=(0,e1.s)(),i=(0,L.Zp)();return(0,R.useEffect)(()=>{e(eA.o1.updateStepperSuccessStateRequest()),(0,N.xP)("stepper_success_state")},[e]),(0,J.jsxs)(g2,{children:[(0,J.jsx)(g3,{position:"left",children:(0,J.jsx)(g5,{position:"left",flip:!0,src:ye})}),(0,J.jsxs)(g4,{children:[(0,J.jsx)(g6,{src:yt}),(0,J.jsx)(g8,{children:t.t("builder.dashboard_v2.steps.sucess_state.title")}),(0,J.jsx)(g9,{children:t.t("builder.dashboard_v2.steps.sucess_state.subtitle")}),(0,J.jsx)(g7,{onClick:()=>{i("job-search")},children:t.t("builder.dashboard_v2.steps.sucess_state.action")})]}),(0,J.jsx)(g3,{position:"right",children:(0,J.jsx)(g5,{position:"right",src:ye})})]})},yr=tt.Ay.div(["max-width:1200px;width:100%;margin:0 auto;padding:0 40px;",""],tQ.A.Tablet`
979    padding: 0 20px;
980  `),yn=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;width:100%;"]),yo={[eA.pn.RESUME_CREATION]:!1,[eA.pn.RESUME_DISTRIBUTION]:!1,[eA.pn.PERSONALIZED_JOBS]:!1,[eA.pn.JOB_TRACKER_WISHLIST]:!1,[eA.pn.APPLY_FOR_YOU]:!1,[eA.pn.CAREER_PROFILE]:!1};i(7588);let ya=tt.Ay.div(({isOpen:e})=>(0,tt.AH)(["border-radius:16px;background-color:",";display:flex;padding:16px;gap:12px;cursor:pointer;align-items:",";position:relative;overflow:hidden;&:hover{background-color:",";}",";&.selected-primary{background-color:",";padding:16px 12px 16px 16px;",";&:hover{background-color:",";.selected-icon-container{background-color:",";color:",";}}}&.selected-secondary{background-color:",";padding:16px 12px 16px 16px;",";&:hover{background-color:",";.selected-icon-container{background-color:",";color:",";}}}&.completed{cursor:default;background-color:",";padding:12px 12px 12px 16px;&:hover{background-color:",";.completed-icon-container{background-color:",";color:",";}}}"],te.Jy.Neutral5,e?"flex-start":"center",te.Jy.Neutral10,tQ.A.Phone`
981      padding: 12px 16px;
982      text-align: ${e?"center":"initial"};
983    `,te.Jy.Blue10,tQ.A.Phone`
984        padding: 180px 16px 16px;
985      `,te.Jy.Blue20,te.Jy.Blue50,te.Jy.White,te.Jy.Indigo10,tQ.A.Phone`
986        padding: 180px 16px 16px;
987      `,te.Jy.Indigo20,te.Jy.Indigo50,te.Jy.White,te.Jy.Green10,te.Jy.Green20,te.Jy.Green40,te.Jy.White)),yl=tt.Ay.p(({isOpen:e})=>(0,tt.AH)(["",";",";color:",";margin-bottom:",";&.selected-primary{color:",";}&.selected-secondary{color:",";}&.completed{opacity:0.7;color:",";text-decoration:line-through;}&.external-banner{",";",";color:",";}",";",";"],td.BO.Medium,td.Ay.Body,te.Jy.Neutral90,e?"0":"-5px",te.Jy.Blue80,te.Jy.Indigo80,te.Jy.Green80,td.BO.DemiBold,td.Ay.Subhead,te.Jy.Neutral100,tQ.A.Tablet`
988      max-width: 336px;
989    `,tQ.A.Phone`
990      ${e&&"margin: auto;"}
991    `)),ys=tt.Ay.p(({height:e,tabletHeight:t})=>(0,tt.AH)(["",";color:",";max-width:512px;min-height:","px;&.selected-primary{color:",";}&.selected-secondary{color:",";}",";",";"],td.Ay.Body,te.Jy.Neutral90,e||48,te.Jy.Blue80,te.Jy.Indigo80,tQ.A.Tablet`
992        max-width: 336px;
993        min-height: ${t||48}px;
994      `,tQ.A.Phone`
995        margin: auto;
996        min-height: unset;
997      `)),yd=tt.Ay.div(["display:flex;width:51%;transition:max-height 0.8s ease-in-out;&.visible{visibility:visible;opacity:1;max-height:1000px;}&.hidden{visibility:hidden;opacity:0;max-height:0;}",""],tQ.A.Phone`
998    width: 100%;
999  `),yc=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;width:100%;"]),yu=(0,tt.Ay)(tP.EK.StatusNew)(({$isOpen:e})=>(0,tt.AH)(["color:",";margin-top:2px;&.secondary{color:",";}",";"],te.Jy.Blue40,te.Jy.Indigo40,tQ.A.Phone`
1000      display: ${e?"none":"flex"};
1001    `)),yp=(0,tt.Ay)(tP.EK.Tick)(["color:",";"],te.Jy.White),yh=tt.Ay.div(["width:20px;height:20px;border-radius:50%;background-color:",";display:flex;justify-content:center;align-items:center;"],te.Jy.Green50),yx=(0,tt.Ay)(tP.EK.ChevronDown)(["width:24px;height:24px;color:",";margin-left:auto;"],te.Jy.Neutral90),ym=(0,tt.Ay)(tP.EK.Tick)(["&.completed-icon-container{c
1001olor:",";}"],te.Jy.Green50),yg=tt.Ay.div(["border-radius:8px;display:flex;justify-content:center;align-items:center;width:32px;height:32px;margin-left:auto;margin-top:auto;&.completed-icon-container{background-color:",";}",";"],te.Jy.Green20,tQ.A.Phone`
1002    display: none;
1003  `),yy=(0,tt.Ay)(tP.EK.ChevronDown)(["transform:rotate(-90deg);&.selected-icon-container{color:",";&.secondary{color:",";}}"],te.Jy.Blue50,te.Jy.Indigo50),yf=tt.Ay.div(["border-radius:8px;display:flex;justify-content:center;align-items:center;width:32px;height:32px;margin-left:auto;margin-top:auto;cursor:pointer;margin-bottom:-4px;z-index:2;&.selected-icon-container{background-color:",";&.secondary{background-color:",";}}",";"],te.Jy.Blue20,te.Jy.Indigo20,tQ.A.Tablet`
1004    display: none;
1005  `),yb=(0,tt.Ay)(i$.Ay)(({$isOpen:e})=>(0,tt.AH)(["display:none;margin-top:16px;",";",";border-radius:8px;&.selected-primary{background-color:",";color:",";}&.selected-secondary{background-color:",";color:",";}",";"],td.Ay.Body,td.BO.Medium,te.Jy.Blue20,te.Jy.Blue50,te.Jy.Indigo20,te.Jy.Indigo50,tQ.A.Phone`
1006      display: ${e?"flex":"none"};
1007    `)),y_=({title:e,isCompleted:t,subtitle:i,useSecondaryTheme:r=!1,isOpen:n,setIsOpen:o,handleOnClick:a,Images:l,setShowHover:s,buttonText:d,analyticsEventsParam:c,CustomText:u,customHeight:p,customTabletHeight:h,excludeAnalytics:x=!1,titleClassname:m})=>{let g=(0,ih.e)(),y="";return t?y="completed":n&&(y=r?"selected-secondary":"selected-primary"),(0,J.jsxs)(ya,{className:y,isOpen:!t&&n,onClick:()=>{t||(n?!g.isPhone&&(a&&!x&&(0,N.xP)("click_stepper_action",{target:c}),a&&a()):x||(0,N.xP)("expand_stepper_action",{target:c}),o(!n))},onMouseOver:()=>s(!0),onMouseOut:()=>s(!1),children:[!t&&(0,J.jsx)(yu,{className:r&&n?"secondary":"",$isOpen:n}),t&&(0,J.jsx)(yh,{children:(0,J.jsx)(yp,{})}),(0,J.jsxs)(yc,{children:[(0,J.jsx)(yl,{isOpen:n,className:`${y} ${m||""}`,children:e}),(0,J.jsx)(yd,{className:n?"visible":"hidden",children:n&&(0,J.jsx)(ys,{className:y,height:p,tabletHeight:h,children:i})}),(0,J.jsx)(yb,{$isOpen:n,className:y,onClick:e=>{e.stopPropagation(),a&&!x&&(0,N.xP)("click_stepper_action",{target:c}),a&&a()},children:d})]}),n&&(0,J.jsx)(yf,{className:`selected-icon-container ${r?"secondary":""}`,children:(0,J.jsx)(yy,{className:`selected-icon-container ${r?"secondary":""}`})}),u&&!n&&!t&&u,!n&&!t&&(0,J.jsx)(yx,{}),t&&(0,J.jsx)(yg,{className:"completed-icon-container",children:(0,J.jsx)(ym,{className:"completed-icon-container"})}),n&&l]})},yv=tt.Ay.div(["z-index:1;display:flex;gap:18px;position:absolute;left:52%;height:100%;"," ",";"],tQ.A.Tablet`
1008    height: 100%;
1009    left: 46%;
1010    top: 0;
1011    align-items: center;
1012  `,tQ.A.Phone`
1013    height: 50%;
1014    width: 100%;
1015    left: 0;
1016    top: 0;
1017    align-items: center;
1018    flex-direction: column-reverse;
1019  `),yj=tt.Ay.div(["position:absolute;padding-top:40px;left:25px;opacity:0.4;",";",";"],tQ.A.Tablet`
1020    left: 85px;
1021    padding-top: 68px;
1022  `,tQ.A.Phone`
1023    left: 0;
1024    width: 100%;
1025    display: flex;
1026    justify-content: center;
1027    padding-top: 0;
1028    top: 16px;
1029    height: 148px;
1030    overflow: hidden;
1031  `),yA=tt.Ay.div(["position:absolute;width:421px;height:421px;transform:translateY(-50%);border-radius:421px;opacity:0.64;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Blue20,te.Jy.Blue30,tQ.A.Tablet`
1032    width: 253px;
1033    height: 253px;
1034    border-radius: 253px;
1035  `,tQ.A.Phone`
1036    border-radius: 268px;
1037    height: 268px;
1038    width: 268px;
1039    transform: none;
1040  `),yC=tt.Ay.div(["position:absolute;width:268px;height:268px;left:75px;transform:translateY(-50%);border-radius:268px;opacity:0.6;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Blue30,te.Jy.Blue40,tQ.A.Tablet`
1041    left: 45px;
1042    width: 170px;
1043    height: 170px;
1044    border-radius: 170px;
1045  `,tQ.A.Phone`
1046    border-radius: 140px;
1047    left: unset;
1048    width: 140px;
1049    height: 140px;
1050    transform: none;
1051    top: 50px;
1052  `),yw=tt.Ay.div(["position:absolute;width:129px;
1052height:129px;left:140px;transform:translateY(-50%);border-radius:129px;opacity:0.4;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";"],te.Jy.Blue40,te.Jy.Blue50,tQ.A.Tablet`
1053    display: none;
1054  `),yk=tt.Ay.div([""]),yS=tt.Ay.img(({hasScore:e})=>(0,tt.AH)(["position:absolute;left:170px;top:",";width:136px;height:194px;border-radius:3px;z-index:2;",";",";"],e?"12px":"4px",tQ.A.Tablet`
1055    left: 170px;
1056    top: 18px;
1057    width: 97px;
1058    height: 138px;
1059  `,tQ.A.Phone`
1060    width: 126px;
1061    height: 133px;
1062    top: 36px;
1063    left: calc(50% + 2px);
1064    transform: translate(-50%);
1065    object-fit: cover;
1066    object-position: top;
1067  `)),yT=tt.Ay.div(["position:absolute;left:170px;bottom:16px;width:160px;height:12px;background:linear-gradient(0deg,"," 0%,rgba(234,246,255,0) 100%);z-index:3;&.hover{background:linear-gradient(0deg,"," 0%,rgba(234,246,255,0) 100%);}",";",";"],te.Jy.Blue10,te.Jy.Blue20,tQ.A.Tablet`
1068    left: 170px;
1069    width: 117px;
1070    bottom: 0;
1071  `,tQ.A.Phone`
1072    width: 146px;
1073    top: 157px;
1074    left: calc(50% + 2px);
1075    transform: translate(-50%);
1076  `),yP=tt.Ay.div(["position:absolute;left:280px;top:-5px;z-index:3;background-color:",";width:48px;height:48px;border-radius:50%;display:flex;justify-content:center;align-items:center;&.hover{background-color:",";}",";",";"],te.Jy.Blue20,te.Jy.Blue30,tQ.A.Tablet`
1077    left: 250px;
1078    top: 6px;
1079  `,tQ.A.Phone`
1080    width: 44px;
1081    height: 44px;
1082    top: 24px;
1083    left: calc(50% + 71px);
1084    transform: translate(-50%);
1085`),yJ=(0,tt.Ay)(tP.qJ.Add)(["color:",";&.hover{color:",";}"],te.Jy.Blue30,te.Jy.Blue40),yE=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;position:absolute;top:12px;z-index:2;left:325px;max-width:56px;text-align:start;",";",";"],tQ.A.Tablet`
1086    left: 280px;
1087    top: 18px;
1088  `,tQ.A.Phone`
1089    top: 36px;
1090    left: calc(50% + 104px);
1091    transform: translate(-50%);
1092  `),yR=tt.Ay.div(["padding:2px 6px;background-color:",";border-radius:6px;display:flex;align-items:center;width:fit-content;"],te.Jy.Amber40),yL=tt.Ay.p(["color:",";",";font-size:20px;line-height:25px;"],te.Jy.White,td.BO.DemiBold),yN=tt.Ay.p(["color:",";font-size:17px;",";line-height:21px;"],te.Jy.White,td.BO.DemiBold),yI=tt.Ay.p(["opacity:0.6;color:",";font-size:15px;",";line-height:17px;letter-spacing:0.315px;"],te.Jy.Blue80,td.BO.DemiBold);var yM=i.p+"media/resumed2452691edcd0634.png";let yB=({isCompleted:e,isOpen:t,setIsOpen:i,score:r,resumeId:n})=>{let[o,a]=(0,R.useState)(!1),l=(0,L.Zp)(),s=(0,eU.wA)(),{i18n:d}=(0,e1.s)(),c=!!n&&!!r;return(0,J.jsx)(y_,{title:d.t("builder.dashboard_v2.steps.create_resume.title"),subtitle:d.t("builder.dashboard_v2.steps.create_resume.subtitle"),isCompleted:e,isOpen:t,setIsOpen:i,handleOnClick:()=>{n?l(`/resumes/${n}/edit`):s(U.o1.createDocument({type:eZ.VC.resume}))},buttonText:d.t("builder.dashboard_v2.steps.create_resume.button_text"),analyticsEventsParam:"resume",Images:(0,J.jsxs)(yv,{children:[(0,J.jsxs)(yk,{children:[(0,J.jsx)(yS,{src:yM,hasScore:c}),(0,J.jsx)(yT,{className:o?"hover":""}),c?(0,J.jsxs)(yE,{children:[(0,J.jsxs)(yR,{children:[(0,J.jsx)(yL,{children:r}),(0,J.jsx)(yN,{children:"%"})]}),(0,J.jsx)(yI,{children:d.t("builder.dashboard_v2.steps.create_resume.resume_score")})]}):(0,J.jsx)(yP,{className:o?"hover":"",children:(0,J.jsx)(yJ,{className:o?"hover":""})})]}),(0,J.jsxs)(yj,{children:[(0,J.jsx)(yA,{className:o?"hover":""}),(0,J.jsx)(yC,{className:o?"hover":""}),(0,J.jsx)(yw,{className:o?"hover":""})]})]}),setShowHover:a})};var yD=i(93575);let y$=tt.Ay.div(["z-index:1;display:flex;gap:18px;position:absolute;left:52%;height:100%;"," ",";"],tQ.A.Tablet`
1093    height: 100%;
1094    left: 48%;
1095    top: 0;
1096    align-items: center;
1097  `,tQ.A.Phone`
1098    height: 50%;
1099    width: 100%;
1100    left: 0;
1101    top: 0;
1102    align-items: center;
1103    flex-direction: column-reverse;
1104  `),yO=tt.Ay.div(["position:absolute;padding-top:40px;left:20px;opacity:0.4;",";",";"],tQ.A.Tablet`
1105    left: 85px;
1106    padding-bottom: 50px;
1107  `,tQ.A.Phone`
1108    left: 0;
1109    width: 100%;
1110    display: flex;
1111    justify-content: center;
1112    padding-top: 0;
1113    top: 0;
1114    height: 165px;
1115    overflow: hidden;
1116  `),yz=tt.Ay.div(["position:absolute;width:606px;height:606px;transform:translateY(-50%);border-radius:606px;opacity:0.64;
1116background:radial-gradient( circle at 100%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( circle at 100%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Indigo30,te.Jy.Indigo40,tQ.A.Tablet`
1117    width: 243px;
1118    height: 243px;
1119    border-radius: 243px;
1120
1121    background: radial-gradient(
1122      1% 1%,
1123      rgba(195, 229, 254, 0) 68.75%,
1124      ${te.Jy.Indigo20} 100%
1125    );
1126
1127    &.hover {
1128      background: radial-gradient(
1129        1% 1%,
1130        rgba(195, 229, 254, 0) 68.75%,
1131        ${te.Jy.Indigo30} 100%
1132      );
1133    }
1134  `,tQ.A.Phone`
1135    width: 335px;
1136    height: 335px;
1137    border-radius: 335px;
1138    top: -55px;
1139    transform: none;
1140  `),yF=tt.Ay.div(["position:absolute;width:276px;height:276px;left:91px;transform:translateY(-50%);border-radius:276px;opacity:0.6;background:radial-gradient( circle at 100%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( circle at 100%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Indigo30,te.Jy.Indigo40,tQ.A.Tablet`
1141    left: 45px;
1142    width: 160px;
1143    height: 160px;
1144    border-radius: 160px;
1145
1146    background: radial-gradient(
1147      1% 1%,
1148      rgba(195, 229, 254, 0) 68.75%,
1149      ${te.Jy.Indigo20} 100%
1150    );
1151
1152    &.hover {
1153      background: radial-gradient(
1154        1% 1%,
1155        rgba(195, 229, 254, 0) 68.75%,
1156        ${te.Jy.Indigo30} 100%
1157      );
1158    }
1159  `,tQ.A.Phone`
1160    border-radius: 170px;
1161    left: unset;
1162    width: 170px;
1163    height: 170px;
1164    transform: none;
1165    top: 30px;
1166  `),yH=tt.Ay.div(["position:absolute;width:157px;height:157px;left:171px;transform:translateY(-50%);border-radius:157px;opacity:0.4;background:radial-gradient( circle at 100%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( circle at 100%,rgba(195,229,254,0) 68.75%,"," 100% );}",";"],te.Jy.Indigo30,te.Jy.Indigo40,tQ.A.Tablet`
1167    display: none;
1168  `),yV=tt.Ay.div(["position:relative;left:170px;top:7px;height:100%;"," ",""],tQ.A.Tablet`
1169    top: 12px;
1170    left: 113px;
1171  `,tQ.A.Phone`
1172    left: 10px;
1173    top: 3px;
1174  `),yU=tt.Ay.img(["position:absolute;left:75px;z-index:3;",";",";"],tQ.A.Tablet`
1175    left: 0;
1176  `,tQ.A.Phone`
1177    width: 250px;
1178    height: 76px;
1179    top: 48px;
1180    left: calc(50%);
1181    transform: translate(-50%);
1182  `),yW=tt.Ay.div(["position:absolute;top:-23px;left:237px;width:51px;height:108px;background:linear-gradient(270deg,"," 0%,rgba(241,242,255,0) 100%);z-index:3;&.hover{background:linear-gradient(270deg,"," 0%,rgba(241,242,255,0) 100%);}",";",";"],te.Jy.Indigo10,te.Jy.Indigo20,tQ.A.Tablet`
1183    top: -23px;
1184    left: 172px;
1185    height: 147px;
1186  `,tQ.A.Phone`
1187    display: none;
1188  `),yK=tt.Ay.div(["position:absolute;z-index:2;left:84px;top:-4px;width:204px;height:66px;border-radius:5px;background-color:",";&.hover{background-color:",";}",";",";"],te.Jy.Indigo20,te.Jy.Indigo30,tQ.A.Tablet`
1189    left: 9px;
1190    top: -4px;
1191    width: 200px;
1192  `,tQ.A.Phone`
1193    width: 217px;
1194    height: 66px;
1195    top: 38px;
1196    left: calc(50%);
1197    transform: translate(-50%);
1198  `),yq=tt.Ay.div(["position:absolute;z-index:2;left:92px;top:-9px;width:195px;height:66px;opacity:0.5;border-radius:5px;background-color:",";&.hover{background-color:",";}",";",";"],te.Jy.Indigo20,te.Jy.Indigo30,tQ.A.Tablet`
1199    left: 17px;
1200    top: -9px;
1201    width: 192px;
1202  `,tQ.A.Phone`
1203    width: 200px;
1204    height: 66px;
1205    top: 28px;
1206    left: calc(50%);
1207    transform: translate(-50%);
1208  `),yG=(0,tt.Ay)(i$.Ay)(["cursor:default;position:absolute;left:-115px;width:153px;height:27px;font-size:10px;",";z-index:2;display:flex;align-items:center;gap:4px;padding:0;",";",";"],td.BO.Medium,tQ.A.Tablet`
1209    left: 2px;
1210    top: 85px;
1211    width: 123px;
1212  `,tQ.A.Phone`
1213    top: 130px;
1214    left: calc(50% - 60px);
1215    transform: translate(-50%);
1216    width: 115px;
1217  `),yZ=(0,tt.Ay)(tP.qJ.DoubleStars)(["color:white;width:12px;height:12px;"]),yX=(0,tt.Ay)(i$.Ay)(["cursor:default;position:absolute;top:34px;left:-90px;width:153px;height:27px;font-size:10px;",";z-index:2;display:flex;align-items:center;gap:4px;color:",";background-color:",";padding:0;&:hover,&:focus-visible{background-color:",";}&:active{background-color:",";}",";",";"],td.BO.Medium,te.Jy.Neutral90,te.Jy.Blue10,te.Jy.Blue20,te.Jy.Blue20,tQ.A.Tablet`
1218    left: 130px;
1219    top: 85px;
1220    width: 123px;
1221  `,tQ.A.Phone`
1222    top: 130px;
1223    left: calc(50% + 60px);
1224    transform: translate(-50%);
1225    width: 115px;
1226  `),yQ=(0,tt.Ay)(tP.qJ.ExternalLink)(["color:",";width:12px;height:12px;"],te.Jy.Blue50);
1226var yY=i.p+"media/job-postd58f8c3aeda72b36.svg",y0=i.p+"media/job-post-phonea2998fa84fdf7529.svg";let y1=({isCompleted:e,isOpen:t,setIsOpen:i})=>{let r=(0,e4.J)(),{i18n:n}=(0,e1.s)(),o=(0,L.Zp)(),{isPhone:a}=(0,ih.e)(),{features:l}=(0,d2.t)(),{handleOpenModal:s}=(0,yD.j)(),[d,c]=(0,R.useState)(!1);return(0,J.jsx)(y_,{title:n.t("builder.dashboard_v2.steps.help_you.title"),subtitle:n.t("builder.dashboard_v2.steps.help_you.subtitle"),isCompleted:e,isOpen:t,setIsOpen:i,handleOnClick:()=>{l?.autoApply&&!r?.scopes.autoApply?s():o("/auto-apply/documents")},buttonText:n.t("builder.dashboard_v2.steps.help_you.button_text"),useSecondaryTheme:!0,analyticsEventsParam:"apply_for_me",Images:(0,J.jsxs)(y$,{children:[(0,J.jsxs)(yV,{children:[(0,J.jsx)(yU,{src:a?y0:yY}),(0,J.jsx)(yW,{className:d?"hover":""}),(0,J.jsx)(yK,{className:d?"hover":""}),(0,J.jsx)(yq,{className:d?"hover":""}),(0,J.jsxs)(yG,{children:[(0,J.jsx)(yZ,{}),n.t("builder.dashboard_v2.steps.help_you.auto_apply")]}),(0,J.jsxs)(yX,{theme:"secondary",children:[(0,J.jsx)(yQ,{}),n.t("builder.dashboard_v2.steps.help_you.apply")]})]}),(0,J.jsxs)(yO,{children:[(0,J.jsx)(yz,{className:d?"hover":""}),(0,J.jsx)(yF,{className:d?"hover":""}),(0,J.jsx)(yH,{className:d?"hover":""})]})]}),setShowHover:c})},y2=tt.Ay.div(["z-index:1;display:flex;gap:18px;position:absolute;left:52%;height:100%;"," ",";"],tQ.A.Tablet`
1227    height: 100%;
1228    left: 46%;
1229    top: 0;
1230    align-items: center;
1231  `,tQ.A.Phone`
1232    height: 50%;
1233    width: 100%;
1234    left: 0;
1235    top: 0;
1236    align-items: center;
1237    flex-direction: column-reverse;
1238  `),y3=tt.Ay.div(["position:absolute;padding-top:40px;left:25px;opacity:0.4;",";",";"],tQ.A.Tablet`
1239    left: 88px;
1240    padding-top: 66px;
1241  `,tQ.A.Phone`
1242    left: 0;
1243    width: 100%;
1244    display: flex;
1245    justify-content: center;
1246    padding-top: 0;
1247    top: 16px;
1248    height: 148px;
1249    overflow: hidden;
1250  `),y5=tt.Ay.div(["position:absolute;width:421px;height:421px;transform:translateY(-50%);border-radius:421px;opacity:0.64;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Blue20,te.Jy.Blue30,tQ.A.Tablet`
1251    width: 253px;
1252    height: 253px;
1253    border-radius: 253px;
1254  `,tQ.A.Phone`
1255    border-radius: 268px;
1256    height: 268px;
1257    width: 268px;
1258    transform: none;
1259  `),y4=tt.Ay.div(["position:absolute;width:268px;height:268px;left:75px;transform:translateY(-50%);border-radius:268px;opacity:0.6;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Blue30,te.Jy.Blue40,tQ.A.Tablet`
1260    left: 45px;
1261    width: 170px;
1262    height: 170px;
1263    border-radius: 170px;
1264  `,tQ.A.Phone`
1265    border-radius: 130px;
1266    left: unset;
1267    width: 130px;
1268    height: 130px;
1269    transform: none;
1270    top: 50px;
1271  `),y6=tt.Ay.div(["position:absolute;width:129px;height:129px;left:140px;transform:translateY(-50%);border-radius:129px;opacity:0.4;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";"],te.Jy.Blue40,te.Jy.Blue50,tQ.A.Tablet`
1272    display: none;
1273  `),y8=tt.Ay.div(["position:relative;left:170px;top:7px;height:100%;"," ",""],tQ.A.Tablet`
1274    top: 12px;
1275  `,tQ.A.Phone`
1276    left: 10px;
1277    top: 3px;
1278  `),y9=tt.Ay.img(["position:absolute;width:136px;height:194px;border-radius:3px;z-index:2;",";",";"],tQ.A.Tablet`
1279    width: 97px;
1280    height: 138px;
1281  `,tQ.A.Phone`
1282    width: 126px;
1283    height: 133px;
1284    top: 31px;
1285    left: calc(50% - 10px);
1286    transform: translate(-50%);
1287    object-fit: cover;
1288    object-position: top;
1289  `),y7=tt.Ay.div(["position:absolute;bottom:23px;width:160px;height:12px;background:linear-gradient(0deg,"," 0%,rgba(234,246,255,0) 100%);z-index:3;&.hover{background:linear-gradient(0deg,"," 0%,rgba(234,246,255,0) 100%);}",";",";"],te.Jy.Blue10,te.Jy.Blue20,tQ.A.Tablet`
1290    bottom: 12px;
1291    width: 117px;
1292  `,tQ.A.Phone`
1293    width: 146px;
1294    top: 152px;
1295    left: calc(50% - 10px);
1296    transform: translate(-50%);
1297  `),fe=tt.Ay.img(["position:absolute;width:32px;height:32px;border-radius:32px;border:2px solid ",";z-index:3;left:145px;",";",";"],te.Jy.Neutral10,tQ.A.Tablet`
1298    left: 105px;
1299  `,tQ.A.Phone`
1300    width: 42px;
1301    height: 42px;
1302    border-radius: 42px;
1303    top: 31px;
1304    left: calc(50% + 80px);
1305    transform: translate(-50%);
1306  `),ft=tt.Ay.img(["position:absolute;width:32px;height:32px;border-radius:32px;border:2px solid ",";z-index:2;top:22px;left:145px;",";",";"],te.Jy.Neutral10,tQ.A.Tablet`
1307    top: 22px;
1308    left: 105px;
1309  `,tQ.A.Phone`
1310    width: 42px;
1311    height: 42px;
1312    border-radius: 42px;
1313    top: 61px;
1314    left: calc(50% + 80px);
1315    transform: translate(-50%);
1316  `),fi=tt.Ay.img(["position:absolute;width:32px;height:32px;border-radius:32px;border:2px solid ",";z-index:1;top:44px;left:145px;",";",";"],te.Jy.Neutral10,tQ.A.Tablet`
1317    top: 44px;
1318    left: 105px;
1319  `,tQ.A.Phone`
1320    width: 42px;
1321    height: 42px;
1322    border-radius: 42px;
1323    top: 91px;
1324    left: calc(50% + 80px);
1325    transform: translate(-50%);
1326  `);var fr=i.p+"media/resumed2452691edcd0634.png",fn=i.p+"media/person-one970668ccbffe9d52.jpeg",fo=i.p+"media/person-twob580a0bcecacb957.jpeg",fa=i.p+"media/person-threee001fc8a32896b37.jpeg";let fl=({isCompleted:e,isOpen:t,setIsOpen:i})=>{let[r,n]=(0,R.useState)(!1),{i18n:o}=(0,e1.s)(),a=(0,L.Zp)(),{showRDUpsellPromoModal:l}=uj();return(0,J.jsx)(y_,{customHeight:58,customTabletHeight:64,title:o.t("builder.dashboard_v2.steps.send_resume.title"),subtitle:o.t("builder.dashboard_v2.steps.send_resume.subtitle"),isCompleted:e,isOpen:t,setIsOpen:i,handleOnClick:()=>{l()||a("/resume-distribution")},buttonText:o.t("builder.dashboard_v2.steps.send_resume.button_text"),analyticsEventsParam:"resume_distribution",Images:(0,J.jsxs)(y2,{children:[(0,J.jsxs)(y8,{children:[(0,J.jsx)(y9,{src:fr}),(0,J.jsx)(y7,{className:r?"hover":""}),(0,J.jsx)(fe,{src:fn}),(0,J.jsx)(ft,{src:fo}),(0,J.jsx)(fi,{src:fa})]}),(0,J.jsxs)(y3,{children:[(0,J.jsx)(y5,{className:r?"hover":""}),(0,J.jsx)(y4,{className:r?"hover":""}),(0,J.jsx)(y6,{className:r?"hover":""})]})]}),setShowHover:n})};var fs=i.p+"media/ibmbdbb1ed02ced0663.png",fd=i.p+"media/amazonc52441e013ce2cb3.png",fc=i.p+"media/apple621ca9cea547ffe3.png",fu=i.p+"media/google74cfe65cdc2d99cb.png",fp=i.p+"media/metacbe5e107945ee726.png",fh=i.p+"media/microsoft8ff16036d533dac7.png";let fx=tt.Ay.div(["z-index:1;display:flex;gap:18px;position:absolute;left:52%;"," ",""],tQ.A.Tablet`
1327    height: 100%;
1328    left: 59%;
1329    top: 0;
1330    align-items: center;
1331  `,tQ.A.Phone`
1332    height: 50%;
1333    width: 100%;
1334    left: 0;
1335    top: 0;
1336    align-items: center;
1337    flex-direction: column-reverse;
1338  `),fm=tt.Ay.div(["width:72px;border-radius:50%;position:relative;background:",";padding:2px;",""],({showPercentage:e,percentageColor:t})=>e&&`linear-gradient(to top, ${t.start}, ${t.end})`,tQ.A.Phone`
1339    top: -13px;
1340  `),fg=tt.Ay.div(["width:30px;text-align:center;border-radius:30px;padding:0 4px;position:absolute;left:21px;bottom:-4px;background:",";color:",";",";",";"],({percentageColor:e})=>e.start,te.Jy.White,td.Ay.Tiny,td.BO.DemiBold),fy=tt.Ay.img(["width:68px;height:68px;flex:0 0 68px;border-radius:50%;"]),ff=tt.Ay.div(["width:4px;height:4px;background-color:",";border-radius:50%;"],te.Jy.Neutral70),fb=tt.Ay.div(["display:flex;gap:2.5px;transform:rotate(-15deg);"]),f_=tt.Ay.div(["display:flex;gap:2.5px;"]),fv=tt.Ay.div(["display:flex;gap:2.5px;transform:rotate(15deg);"]),fj=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;gap:9px;"]),fA=tt.Ay.div(["display:flex;flex-direction:row;align-items:center;gap:15px;height:100%;width:100%;z-index:1;",""],tQ.A.Phone`
1341    justify-content: center;
1342  `),fC=tt.Ay.div(["padding:10px;position:relative;border-radius:50%;background-origin:content-box;background-repeat:no-repeat;background-size:contain;background-position:center;background-color:",";box-shadow:0 0 3px 0 lightgray;width:",";height:",";"],te.Jy.White,({size:e})=>`${e||40}px`,({size:e})=>`${e||40}px`),fw=(0,tt.Ay)(fC)(["background-image:",";top:-10px;left:5px;"," ",""],`url('${fu}')`,tQ.A.Tablet`
1343    left: -10px;
1344    top: -35px;
1345  `,tQ.A.Phone`
1346    left: 60px;
1347    top: 13px;
1348  `),fk=(0,tt.Ay)(fC)(["background-image:",";top:35px;left:-35px;padding:0;"," ",""],`url('${fs}')`,tQ.A.Tablet`
1349    left: -62px;
1350  `,tQ.A.Phone`
1351    left: -10px;
1352    top: 110px;
1353  `),fS=(0,tt.Ay)(fC)(["background-image:",";top:10px;left:-40px;padding:0;"," ",""],`url('${fp}')`,tQ.A.Tablet`
1354    left: -70px;
1355    top: 1px;
1356  `,tQ.A.Phone`
1357    left: 30px;
1358    top: 7px;
1359  `),fT=(0,tt.Ay)(fC)(["background-image:",";top:-13px;left:-40px;padding:4px;",";",""],`url('${fh}')`,tQ.A.Tablet`
1360    left: -68px;
1361    top: -30px;
1362  `,tQ.A.Phone`
1363    left: -135px;
1364    top: 60px;
1365  `),fP=(0,tt.Ay)(fC)(["background-image:",";top:30px;
1365left:-70px;"," ",""],`url('${fc}')`,tQ.A.Tablet`
1366    left: -120px;
1367    top: 25px;
1368  `,tQ.A.Phone`
1369    left: -30px;
1370    top: 70px;
1371  `),fJ=(0,tt.Ay)(fC)(["background-image:",";top:0;left:-70px;"," ",""],`url('${fd}')`,tQ.A.Tablet`
1372    display: none;
1373  `,tQ.A.Phone`
1374    display: none;
1375  `),fE=tt.Ay.div(["position:absolute;padding-top:40px;opacity:0.4;",";",";"],tQ.A.Tablet`
1376    padding-top: 0;
1377  `,tQ.A.Phone`
1378    position: absolute;
1379    left: 0;
1380    width: 100%;
1381    display: flex;
1382    justify-content: center;
1383    padding-top: 0;
1384    top: 0;
1385    height: 165px;
1386    overflow: hidden;
1387  `),fR=tt.Ay.div(["position:absolute;width:606px;height:606px;transform:translateY(-50%);border-radius:606px;opacity:0.64;background:radial-gradient( circle at 0% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( circle at 0% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";"],te.Jy.Indigo30,te.Jy.Indigo40,tQ.A.Tablet`
1388    display: none;
1389  `),fL=tt.Ay.div(["position:absolute;width:415px;height:415px;transform:translateY(-50%);border-radius:415px;opacity:0.64;left:60px;background:radial-gradient( circle at 0% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( circle at 0% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Indigo30,te.Jy.Indigo40,tQ.A.Tablet`
1390    width: 253px;
1391    height: 253px;
1392    border-radius: 253px;
1393  `,tQ.A.Phone`
1394    border-radius: 290px;
1395    height: 260px;
1396    width: 315px;
1397    top: -10px;
1398    left: unset;
1399    transform: none;
1400    background: radial-gradient(
1401      50% 50% at 50% 50%,
1402      rgba(195, 229, 254, 0) 68.75%,
1403      ${te.Jy.Indigo30} 100%
1404    );
1405
1406    &.hover {
1407      background: radial-gradient(
1408        50% 50% at 50% 50%,
1409        rgba(195, 229, 254, 0) 68.75%,
1410        ${te.Jy.Indigo40} 100%
1411      );
1412    }
1413  `),fN=tt.Ay.div(["position:absolute;width:276px;height:276px;left:100px;transform:translateY(-50%);border-radius:276px;opacity:0.6;background:radial-gradient( circle at 0% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( circle at 0% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Indigo30,te.Jy.Indigo40,tQ.A.Tablet`
1414    left: 45px;
1415    width: 170px;
1416    height: 170px;
1417    border-radius: 170px;
1418  `,tQ.A.Phone`
1419    border-radius: 130px;
1420    left: unset;
1421    width: 130px;
1422    height: 130px;
1423    transform: none;
1424    top: 50px;
1425
1426    background: radial-gradient(
1427      50% 50% at 50% 50%,
1428      rgba(195, 229, 254, 0) 68.75%,
1429      ${te.Jy.Indigo30} 100%
1430    );
1431
1432    &.hover {
1433      background: radial-gradient(
1434        50% 50% at 50% 50%,
1435        rgba(195, 229, 254, 0) 68.75%,
1436        ${te.Jy.Indigo40} 100%
1437      );
1438    }
1439  `),fI=tt.Ay.div(["position:absolute;width:157px;height:157px;left:140px;transform:translateY(-50%);border-radius:157px;opacity:0.4;background:radial-gradient( circle at 0% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( circle at 0% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";"],te.Jy.Indigo20,te.Jy.Indigo30,tQ.A.Tablet`
1440    display: none;
1441  `),fM=e=>e<10?{start:te.Jy.Orange50,end:te.Jy.Orange30}:e<70?{start:te.Jy.Amber50,end:te.Jy.Amber30}:{start:te.Jy.Green50,end:te.Jy.Green30},fB=({isCompleted:e,isOpen:t,setIsOpen:i})=>{let{isPhone:r}=(0,ih.e)(),[n,o]=(0,R.useState)(!1),a=(0,L.Zp)(),{i18n:l}=(0,e1.s)(),s=(0,eW.N)(Z.Tp.photoUrl),d=(0,eW.N)(ej.Tp.completenessPercent)||0;return(0,J.jsx)(y_,{title:l.t("builder.dashboard_v2.steps.explore_jobs.title"),subtitle:l.t("builder.dashboard_v2.steps.explore_jobs.subtitle"),isCompleted:e,isOpen:t,setIsOpen:i,handleOnClick:()=>a("/job-search?view=recommendation"),buttonText:l.t("builder.dashboard_v2.steps.explore_jobs.button_text"),useSecondaryTheme:!0,analyticsEventsParam:"job_recommendations",Images:(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(fx,{children:[(0,J.jsxs)(fm,{showPercentage:!e,percentageColor:fM(d),children:[(0,J.jsx)(fy,{src:s}),(0,J.jsxs)(fg,{percentageColor:fM(d),children:[d,"%"]})]}),!r&&(0,J.jsxs)(fj,{children:[(0,J.jsxs)(fb,{children:[(0,J.jsx)(ff,{}),(0,J.jsx)(ff,{})]}),(0,J.jsxs)(f_,{children:[(0,J.jsx)(ff,{}),(0,J.jsx)(ff,{})]}),(0,J.jsxs)(fv,{children:[(0,J.jsx)(ff,{}),(0,J.jsx)(ff,{})]})]}),(0,J.jsxs)(fA,{children:[(0,J.jsx)(fw,{size:40}),(0,J.jsx)(fk,{size:32}),(0,J.jsx)(fS,{size:50}),(0,J.jsx)(fT,{size:32}),(0,J.jsx)(fP,{size:40}),(0,J.jsx)(fJ,{size:56})]}),(0,J.jsxs)(fE,{children:[(0,J.jsx)(fL,{className:n?"hover":""}),(0,J.jsx)(fN,{className:n?"hover":""}),(0,J.jsx)(fI,{className:n?"hover":""}),(0,J.jsx)(fR,{className:n?"hover":""})]})]})}),setShowHover:o})},fD=tt.Ay.div(["z-index:1;display:flex;gap:18px;top:0;position:absolute;
1441left:50%;width:40%;justify-content:center;"," ",""],tQ.A.Tablet`
1442    height: 100%;
1443    left: 59%;
1444    top: 0;
1445    align-items: center;
1446  `,tQ.A.Phone`
1447    height: 50%;
1448    width: 100%;
1449    left: 0;
1450    top: 0;
1451    align-items: center;
1452    flex-direction: column-reverse;
1453  `),f$=tt.Ay.div(["z-index:2;bottom:0;position:absolute;height:41px;width:269px;left:33px;background:linear-gradient(0deg,#f1f2ff 0%,rgba(241,242,255,0) 100%);"," ",""],tQ.A.Tablet`
1454    left: unset;
1455    height: 12px;
1456    width: 220px;
1457  `,tQ.A.Phone`
1458    left: unset;
1459    height: 12px;
1460  `),fO=tt.Ay.img(["position:relative;left:25px;z-index:1;"," ",""],tQ.A.Tablet`
1461    left: -3px;
1462  `,tQ.A.Phone`
1463    left: -9px;
1464  `),fz=tt.Ay.div(["position:relative;"]),fF=tt.Ay.div(["position:relative;padding-top:40px;left:-329px;opacity:0.4;",";",";"],tQ.A.Tablet`
1465    left: -252px;
1466    padding-top: 68px;
1467  `,tQ.A.Phone`
1468    left: 0;
1469    width: 100%;
1470    display: flex;
1471    justify-content: center;
1472    padding-top: 0;
1473    top: 16px;
1474    height: 148px;
1475    overflow: hidden;
1476  `),fH=tt.Ay.div(["position:absolute;width:421px;height:421px;transform:translateY(-50%);border-radius:421px;opacity:0.64;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Indigo20,te.Jy.Indigo30,tQ.A.Tablet`
1477    width: 253px;
1478    height: 253px;
1479    border-radius: 253px;
1480  `,tQ.A.Phone`
1481    border-radius: 268px;
1482    height: 268px;
1483    width: 268px;
1484    transform: none;
1485  `),fV=tt.Ay.div(["position:absolute;width:268px;height:268px;left:75px;transform:translateY(-50%);border-radius:268px;opacity:0.6;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Indigo30,te.Jy.Indigo40,tQ.A.Tablet`
1486    display: none;
1487  `,tQ.A.Phone`
1488    border-radius: 130px;
1489    left: unset;
1490    width: 130px;
1491    height: 130px;
1492    transform: none;
1493    top: 50px;
1494  `);var fU=i.p+"media/board28c504255be92058.svg",fW=i.p+"media/board-desktope66713c7051fb30c.svg";let fK=({isCompleted:e,isOpen:t,setIsOpen:i,jobsNeeded:r})=>{let{isTablet:n,isPhone:o}=(0,ih.e)(),[a,l]=(0,R.useState)(!1),s=(0,L.Zp)(),{i18n:d}=(0,e1.s)();return(0,J.jsx)(y_,{customHeight:72,title:d.t("builder.dashboard_v2.steps.save_jobs.title",{jobsNeeded:e?5:r}),subtitle:d.t("builder.dashboard_v2.steps.save_jobs.subtitle"),isCompleted:e,isOpen:t,setIsOpen:i,handleOnClick:()=>{s("/job-tracking")},buttonText:d.t("builder.dashboard_v2.steps.save_jobs.button_text"),useSecondaryTheme:!0,analyticsEventsParam:"job_tracker",Images:(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(fD,{children:[(0,J.jsxs)(fz,{children:[(0,J.jsx)(fO,{src:n||o?fU:fW}),(0,J.jsx)(f$,{})]}),(0,J.jsxs)(fF,{children:[(0,J.jsx)(fH,{className:a?"hover":""}),(0,J.jsx)(fV,{className:a?"hover":""})]})]})}),setShowHover:l})},fq=tt.Ay.div(["z-index:1;display:flex;gap:18px;position:absolute;left:52%;"," ",""],tQ.A.Tablet`
1495    height: 100%;
1496    left: 59%;
1497    top: 0;
1498    align-items: center;
1499  `,tQ.A.Phone`
1500    height: 50%;
1501    width: 100%;
1502    left: 0;
1503    top: 0;
1504    align-items: center;
1505    flex-direction: column-reverse;
1506  `),fG=tt.Ay.div(["position:relative;padding-top:50px;left:-58px;opacity:0.4;",";",";"],tQ.A.Tablet`
1507    padding-top: 0;
1508  `,tQ.A.Phone`
1509    left: 0;
1510    width: 100%;
1511    display: flex;
1512    justify-content: center;
1513    padding-top: 0;
1514    height: 162px;
1515    top: -20px;
1516    overflow: hidden;
1517    padding-top: 90px;
1518  `),fZ=tt.Ay.div(["position:absolute;width:421px;height:421px;transform:translateY(-50%);border-radius:421px;opacity:0.64;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Indigo20,te.Jy.Indigo30,tQ.A.Tablet`
1519    width: 217px;
1520    height: 217px;
1521    border-radius: 217px;
1522  `,tQ.A.Phone`
1523    border-radius: 304px;
1524    height: 304px;
1525    width: 304px;
1526  `),fX=tt.Ay.div(["position:absolute;width:268px;height:268px;left:75px;transform:translateY(-50%);border-radius:268px;opacity:0.6;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Indigo30,te.Jy.Indigo40,tQ.A.Tablet`
1527    left: 38px;
1528    width: 150px;
1529    height: 150px;
1530    border-radius: 150px;
1531  `,tQ.A.Phone`
1532    border-radius: 202px;
1533    left: unset;
1534    width: 202px;
1535    height: 202px;
1536    top: 84px;
1537  `),fQ=tt.Ay.div(["position:absolute;width:129px;
1537height:129px;left:140px;transform:translateY(-50%);border-radius:129px;opacity:0.4;background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );&.hover{background:radial-gradient( 50% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );}",";",";"],te.Jy.Indigo40,te.Jy.Indigo50,tQ.A.Tablet`
1538    left: 74px;
1539    width: 80px;
1540    height: 80px;
1541    border-radius: 80px;
1542  `,tQ.A.Phone`
1543    border-radius: 115px;
1544    left: unset;
1545    width: 115px;
1546    height: 115px;
1547    top: 85px;
1548  `),fY=tt.Ay.div(["position:relative;left:205px;top:0;",";",";"],tQ.A.Tablet`
1549    left: 110px;
1550    top:-11px;
1551  `,tQ.A.Phone`
1552    position: absolute;
1553    left: unset;
1554    top: 1px;
1555  `),f0=tt.Ay.div(["width:80px;height:80px;border-radius:50%;position:relative;background:",";padding:3.5px;top:10px;",";",";"],({percentageColor:e})=>`linear-gradient(to top, ${e.start}, ${e.end})`,tQ.A.Tablet`
1556    width: 72px;
1557    height: 72px;
1558    padding: 4px;
1559  `,tQ.A.Phone`
1560    left: unset;
1561    top: 40px;
1562    left: calc(50%);
1563    transform: translate(-50%);
1564  `),f1=tt.Ay.img(["width:73px;height:73px;flex:0 0 73px;border-radius:50%;",";"],tQ.A.Tablet`
1565    width: 64px;
1566    height: 64px;
1567  `),f2=tt.Ay.div(["position:absolute;right:-12px;top:0;z-index:3;background-color:",";width:40px;height:40px;border-radius:50%;display:flex;justify-content:center;align-items:center;&.hover{background-color:",";}",";",";"],te.Jy.Indigo20,te.Jy.Indigo30,tQ.A.Tablet`
1568    width: 32px;
1569    height: 32px;
1570    top: 10px;
1571  `,tQ.A.Phone`
1572    left: unset;
1573    top: 44px;
1574    left: calc(50% + 30px);
1575    transform: translate(-50%);
1576  `),f3=(0,tt.Ay)(tP.qJ.Add)(["color:",";&.hover{color:",";}"],te.Jy.Indigo50,te.Jy.Indigo60),f5=tt.Ay.div(["width:30px;text-align:center;border-radius:30px;padding:0 4px;position:absolute;left:25px;bottom:-4px;background:",";color:",";",";",";"],({percentageColor:e})=>e.start,te.Jy.White,td.Ay.Tiny,td.BO.DemiBold),f4=tt.Ay.div(["position:absolute;right:50px;display:flex;color:",";",";",";align-items:center;gap:4px;",";"],te.Jy.Neutral50,td.BO.Medium,td.Ay.Caption,tQ.A.Phone`
1577    display: none;
1578  `),f6=tt.Ay.div(["z-index:4;position:absolute;display:flex;color:",";",";",";gap:4px;align-items:center;right:15px;",";",";"],te.Jy.Indigo80,td.BO.Medium,td.Ay.Caption,tQ.A.Tablet`
1579    top: 10px;
1580  `,tQ.A.Phone`
1581    display: none;
1582  `),f8=(0,tt.Ay)(tP.EK.Clock)(["svg{stroke:",";}"],e=>e.$isOpen?te.Jy.Indigo80:te.Jy.Neutral50),f9=tt.Ay.div(["height:4px;width:4px;border-radius:50%;background-color:",";"],e=>e.isOpen?te.Jy.Indigo80:te.Jy.Neutral50),f7=tt.Ay.span([""]),be=e=>e<10?{start:te.Jy.Orange50,end:te.Jy.Orange30}:e<70?{start:te.Jy.Amber50,end:te.Jy.Amber30}:{start:te.Jy.Green50,end:te.Jy.Green30},bt=({isCompleted:e,isOpen:t,setIsOpen:i,score:r})=>{let[n,o]=(0,R.useState)(!1),a=(0,L.Zp)(),{i18n:l}=(0,e1.s)(),s=(0,eW.N)(Z.Tp.photoUrl);return(0,J.jsx)(y_,{customHeight:72,title:l.t("builder.dashboard_v2.steps.career_profile.title"),subtitle:l.t("builder.dashboard_v2.steps.career_profile.subtitle"),isCompleted:e,isOpen:t,setIsOpen:i,handleOnClick:()=>a("/career-profile/insights"),buttonText:l.t("builder.dashboard_v2.steps.career_profile.button_text"),analyticsEventsParam:"career_profile",useSecondaryTheme:!0,CustomText:(0,J.jsxs)(f4,{children:[(0,J.jsx)(f8,{$isOpen:!1}),(0,J.jsxs)(f7,{children:["15 ",l.t("builder.dashboard_v2.steps.career_profile.minutes")]}),(0,J.jsx)(f9,{isOpen:!1}),(0,J.jsxs)(f7,{children:["11 ",l.t("builder.dashboard_v2.steps.career_profile.questions")]})]}),Images:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(fq,{children:[(0,J.jsxs)(fY,{children:[(0,J.jsxs)(f0,{percentageColor:be(r),children:[(0,J.jsx)(f1,{src:s}),(0,J.jsxs)(f5,{percentageColor:be(r),children:[r,"%"]})]}),(0,J.jsx)(f2,{className:n?"hover":"",children:(0,J.jsx)(f3,{className:n?"hover":""})})]}),(0,J.jsxs)(fG,{children:[(0,J.jsx)(fZ,{className:n?"hover":""}),(0,J.jsx)(fX,{className:n?"hover":""}),(0,J.jsx)(fQ,{className:n?"hover":""})]})]}),(0,J.jsxs)(f6,{children:[(0,J.jsx)(f8,{$isOpen:!0}),(0,J.jsxs)(f7,{children:["15 ",l.t("builder.dashboard_v2.steps.career_profile.minutes")]}),(0,J.jsx)(f9,{isOpen:!0}),(0,J.jsxs)(f7,{children:["11 ",l.t("builder.dashboard_v2.steps.career_profile.questions")]})]})]}),setShowHover:o})},bi=({showStepper:e})=>{let[t,i]=(0,R.useState)(yo),[r,n]=(0,R.useState)([]),o=(0,eU.wA)(),a=(0,eW.N)(eA.Tp.stepsData),l=(0,eW.N)(eA.Tp.isLoaded),s=(0,eW.N)(eA.Tp.stepperSuccessStateSeen),d=(0,d2.t)(),[c,u]=(0,R.useState)(!1),{isCareerProfileDataLoading:p}=(0,ck.J)(),{steps:h,getCompletedStepsCount:x}=(({stepsData:e,activeStep:t,handleActiveStep:i,showCompletedSteps:r,features:n,setMappedSteps:o,stepsAreLoaded:a})=>{let l=(0,e4.J)(),{isAutoApplyFeatureEnabled:s,hasUserCompletedQuestionnaire:d,isCareerProfileDataLoading:c}=(0,ck.J)(),u=(0,R.useMemo)(()=>{let o=[];return e?([{element:(0,J.jsx)(yB,{isCompleted:e.resume_creation.completed,isOpen:t[eA.pn.RESUME_CREATION],setIsOpen:()=>i(eA.pn.RESUME_CREATION),score:e.resume_creation.score,resumeId:e.resume_creation.resume_id}),isCompleted:e.resume_creation.completed,displayIfNotCompleted:!0},{element:(0,J.jsx)(y1,{isCompleted:d,isOpen:t[eA.pn.APPLY_FOR_YOU],setIsOpen:()=>i(eA.pn.APPLY_FOR_YOU)}),isCompleted:d&&s,displayIfNotCompleted:s},{element:(0,J.jsx)(fl,{isCompleted:e.resume_distribution.completed,isOpen:t[eA.pn.RESUME_DISTRIBUTION],setIsOpen:()=>i(eA.pn.RESUME_DISTRIBUTION)}),isCompleted:e.resume_distribution.completed&&!!n?.showResumeDistribution(),displayIfNotCompleted:n?.showResumeDistribution()&&n?.isUkOrUs()},{element:(0,J.jsx)(fB,{isCompleted:e.personalized_jobs.completed,isOpen:t[eA.pn.PERSONALIZED_JOBS],setIsOpen:()=>i(eA.pn.PERSONALIZED_JOBS)}),isCompleted:e.personalized_jobs.completed,displayIfNotCompleted:!0},{element:(0,J.jsx)(fK,{isCompleted:e.job_tracker_wishlist.completed,isOpen:t[eA.pn.JOB_TRACKER_WISHLIST],setIsOpen:()=>i(eA.pn.JOB_TRACKER_WISHLIST),jobsNeeded:e.job_tracker_wishlist.needed}),isCompleted:e.job_tracker_wishlist.completed&&!s,displayIfNotCompleted:!s},{element:(0,J.jsx)(bt,{isCompleted:e.career_profile.completed,score:e.career_profile.current_score||0,isOpen:t[eA.pn.CAREER_PROFILE],setIsOpen:()=>i(eA.pn.CAREER_PROFILE)}),isCompleted:e.career_profile.completed&&!!n.features.careerProfile,displayIfNotCompleted:!!n.features.careerProfile&&l?.scopes.kind!=="TR"}].sort((e,t)=>
1582Number(t.isCompleted)-Number(e.isCompleted)).forEach(({element:e,displayIfNotCompleted:t,isCompleted:i})=>{i?r&&o.push(e):t&&o.push(e)}),o.map((e,t)=>(0,J.jsx)(R.Fragment,{children:e},t))):[]},[e,t,i,d,s,r,n]),p=(0,R.useCallback)(()=>{let t={[eA.pn.RESUME_CREATION]:{enabled:!0,order:0},[eA.pn.APPLY_FOR_YOU]:{enabled:s,order:1},[eA.pn.RESUME_DISTRIBUTION]:{enabled:n?.showResumeDistribution()&&n?.isUkOrUs(),order:2},[eA.pn.PERSONALIZED_JOBS]:{enabled:!0,order:3},[eA.pn.JOB_TRACKER_WISHLIST]:{enabled:!s,order:4},[eA.pn.CAREER_PROFILE]:{enabled:!!n.features.careerProfile&&l?.scopes.kind!=="TR",order:5}};return Object.keys(e).map(i=>({id:i,...t[i],...e[i]})).filter(e=>e.enabled).sort((e,t)=>e.order-t.order)},[e]),h=(0,R.useCallback)(e=>(e.filter(e=>e.completed).length||0)+(s&&d?1:0),[s,d]),x=(0,R.useCallback)(e=>{let t=e.find(e=>e.id===eA.pn.APPLY_FOR_YOU?!d:!e.completed);t&&i(t.id)},[d]),m=(0,R.useCallback)(()=>{let e=p();x(e),h(e)!==e.length&&(0,N.xP)("see_stepper_widget"),o(e)},[h,p,x]);return(0,R.useEffect)(()=>{a&&!c&&m()},[m,a,c]),{steps:u,getCompletedStepsCount:h,initStepsData:m}})({stepsData:a,activeStep:t,handleActiveStep:e=>{i({...yo,[e]:!0})},showCompletedSteps:c,features:d,setMappedSteps:n,stepsAreLoaded:l});(0,R.useEffect)(()=>(o(eA.o1.fetchStepsDataRequest()),o(eA.o1.fetchStepperSuccessStateRequest()),()=>{n([]),o(eA.o1.setStepsLoadedStatus(!1))}),[o]);let m=!!r.length&&x(r)===r.length;return(0,J.jsx)(yr,{children:!l||p?(0,J.jsx)(du.Ay,{}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(g1,{showSuccessState:m&&!s,completedSteps:x(r),totalSteps:r.length,showProgress:!!e,showCompletedSteps:c,setShowCompletedSteps:u}),m&&!s&&(0,J.jsx)(yi,{}),e&&!m&&(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(yn,{id:"first-step-onboarding",children:h})})]})})},br=()=>{let e=(0,eU.wA)(),{isPhone:t,isTablet:i}=(0,ih.e)(),r=(0,eW.N)(K.Tp.hasInstalledExtension),n=(0,eW.N)(K.Tp.canInstallExtension),o=async()=>fetch(`chrome-extension://${K._B}/icon128.png`).then(()=>!0).catch(()=>!1),a=()=>({isChrome:/Chrome/i.test(navigator.userAgent),isEdge:/Edg/i.test(navigator.userAgent),isBrave:!!navigator.brave}),l=(0,R.useCallback)(async()=>{let{isBrave:r,isChrome:n,isEdge:l}=a(),s=(n||l||r)&&!(t||i),d=await o();e(K.o1.setHasInstalledExtension(d)),e(K.o1.setCanInstallExtension(s&&!d))},[t,i,e]);return(0,R.useEffect)(()=>
1582{l()},[l]),{isInstalled:r,canInstallExtension:n,browserType:a(),getBrowserIcon:()=>{let{isBrave:e,isChrome:t,isEdge:i}=a();return e?(0,J.jsx)(tP.EK.Brave,{}):i?(0,J.jsx)(tP.EK.Edge,{}):t?(0,J.jsx)(tP.EK.Chrome,{}):(0,J.jsx)(J.Fragment,{})}}};var bn=i(21152),bo=i(57805),ba=i(94645),bl=i(9440),bs=i(21434),bd=i(64015),bc=i(33386);let bu=e=>(0,R.memo)(t=>e?(0,J.jsx)(e,{...t,CustomContainer:bc.q1}):null);var bp=i(44206);let bh=tt.Ay.div(["a{color:",";font-weight:500;}display:flex;color:",";"," margin-top:",";"],te.Jy.Blue50,te.Jy.Neutral50,td.Ay.Body,te.Kz.S),bx=tt.Ay.div(["position:relative;"]),bm=tt.Ay.div(["display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center;background-color:",";padding:48px 0px;text-align:center;",""],te.Jy.White,tQ.A.Phone`
1583    padding: 32px 0;
1584  `),bg=tt.Ay.div(["width:268px;height:",";"],({isSliderActive:e})=>e&&"100%");var by=R.memo(()=>{let[e,t]=(0,R.useState)(!1),i=(0,L.Zp)(),{isUserOnAutoApplyPlan:r,hasUserCompletedQuestionnaire:n}=(0,ck.J)(),{i18n:o}=(0,e1.s)(),a=(0,eU.wA)(),{isDesktop:l,isLaptop:s,isTablet:d,isPhone:c}=(0,ih.e)(),u=(0,sz.M)(!0,r&&!!n),{invalidate:p}=(0,sz.R)(),{careerProfileData:h}=(0,eG.B)(),x=e=>{(0,N.xP)("recommended_jobs_click",{label:"job_post_click",term:h?.targetRoles.map(e=>e.standardTitle).join(";"),location:h?.targetLocations.map(e=>e.formattedName).join(";")}),i(`/job-search?view=recommendation&external_slug_id=${e.external_slug_id}`)};(0,R.useEffect)(()=>{!u.isLoading&&u.data&&!u.isError&&h&&(0,N.xP)("job_results",{label:"dashboard",term:h?.targetRoles.map(e=>e.standardTitle).join(";"),location:h?.targetLocations.map(e=>e.formattedName).join(";"),location_from_resume:u.data.stats.location_from_resume,target_role_from_resume:u.data.stats.target_role_from_resume,total_jobs:u.data.stats.total_jobs})},[u,h]),(0,R.useEffect)(()=>{a(K.o1.fetchJobsRequest())},[a]);let m=(0,R.useMemo)(()=>{let{isLoading:e,isError:t,data:i}=u,r=i?.jobs||[];if(t||e||!r.length)return!1;let n=r.length;return(!!l||!!s)&&!!(n>4)||!c&&!!d&&!!(n>3)||!!c&&!!(n>1)},[l,s,c,d,u]),g=(0,R.useMemo)(()=>{if(!u.isError||!u.error)return null;let e=u.error,t=e.response?.data?.missing_attributes||[];return(0,bs.H)(t)},[u.isError,u.error]),y=(0,R.useMemo)(()=>bu(g),[g]),f=(0,R.useMemo)(()=>u.error?g?sU:[]:u.data?.jobs||[],[u?.error,u?.data,g]),b=(0,R.useMemo)(()=>{let{targetLocations:e=[]}=h||{};return!e?.length&&!u.data?.stats.location_from_resume},[h,u.data?.stats]),_=()=>{if(!b||g)return null;let e=(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(bg,{isSliderActive:m,children:(0,J.jsx)(bp.l,{onClick:()=>t(!0),layout:"vertical"})})});return m?(0,J.jsx)(nl.qr,{children:e}):e};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(bn.mc,{children:[(0,J.jsxs)(bn.Y9,{children:[(0,J.jsx)(bn.DZ,{children:o.t("builder.dashboard.recommended_jobs")}),(0,J.jsxs)(bn.SS,{onClick:()=>{(0,N.xP)("recommended_jobs_click",{label:"see_all",term:h?.targetRoles.map(e=>e.standardTitle).join(";"),location:h?.targetLocations.map(e=>e.formattedName).join(";")}),i("/job-search?view=recommendation")},children:[(0,J.jsx)(i3.N_,{to:"/job-search?view=recommendation",children:o.t("builder.dashboard.see_all")}),(0,J.jsx)(bn.rb,{})]})]}),(0,J.jsxs)(bx,{children:[u.isLoading&&(0,J.jsx)(bl.A,{}),!u.isLoading&&!!f?.length&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(bn.UC,{"data-iserror":u.isError,children:m?(0,J.jsx)(ba.A,{appendSlides:_,cards:f,isSliderActive:m,handleClick:x,fromDashboard:!0}):(0,J.jsxs)(J.Fragment,{children:[_?.(),f.map((e,t)=>(0,J.jsx)(bo.A,{fromDashboard:!0,card:e,isSliderActive:m,handleClick:()=>x(e)},t))]})}),!(u.isError&&g)&&(0,J.jsxs)(bh,{children:["Based on your\xa0",(0,J.jsx)(i3.N_,{to:"/career-profile/edit?section=jobPreferences&returnUrl=/",onClick:()=>{(0,N.xP)("click_profile",{label:"recommended_jobs"})},children:o.t("builder.dashboard.career_profile")})]})]}),u.isError&&!!g&&(0,J.jsx)(y,{analyticEventsLabel:"recommended_jobs"}),!u.isLoading&&!f?.length&&!g&&(0,J.jsx)(bd.V,{CustomContainer:bm,handleSearch:()=>i("/job-search?view=search"),showExtension:!1})]})]}),e&&(0,J.jsx)(bp.L,{afterSetLocationHandler:()=>{p()},closeHandler:()=>t(!1)})]})});let bf=tt.Ay.div(["display:flex;border-radius:16px;padding:40px 0 28px;background:",";flex-direction:column;align-items:center;gap:20px;"],te.Jy.Indigo10),bb=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:8px;max-width:416px;margin:0 auto;text-align:center;"]),b_=tt.Ay.div(["",";",";color:",";"],td.Ay.S,td.BO.Medium,te.Jy.Blue80),bv=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Blue80),bj=(0,tt.Ay)(i$.Ay).attrs({size:i$.Mp.small})(["margin-top:4px;"]),bA=tt.Ay.img(["width:444.28px;height:223px;"]);var bC=i.p+"media/banner-coverafe58f183483e9d8.png";let bw="builder.dashboard.job_search_help.auto_apply.banner",bk=()=>{let e=(0,e4.J)(),{i18n:t}=(0,e1.s)(),i=(0,L.Zp)(),{getHost:r}=(0,ca.Ay)(),{features:n}=(0,d2.t)(),{handleOpenModal:o}=(0,yD.j)(),{autoApplyDataCompleted:a,jobCopilot:l}=(0,ck.J)();return(0,J.jsxs)(bf,{children:[(0,J.jsxs)(bb,{children:[(0,J.jsx)(b_,{children:t.t(`${bw}.header`)}),(0,J.jsx)(bv,{children:t.t(`${bw}.sub_header`)}),(0,J.jsx)(bj,{onClick:()=>
1584{if((0,N.xP)("job_search_help_banner_click",{website_host:r,label:"auto_apply"}),n?.autoApply&&!e?.scopes.autoApply)return e?.scopes.premium?o():(0,ln.b)({autoApply:!0,onSuccessRedirect:"/app/auto-apply/documents"});i(a?"/job-search?view=recommendation":l?.id?`/auto-apply/${l.id}/documents`:"/auto-apply/documents")},children:t.t(`${bw}.action`)})]}),(0,J.jsx)(bA,{src:bC})]})};var bS=i(19673);let bT="builder.dashboard.job_search_help.auto_apply.widget",bP=tt.Ay.div(["margin:16px;display:flex;gap:8px;"]),bJ=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:8px;"]),bE=tt.Ay.div([""]),bR=tt.Ay.p([""," "," color:",";"],td.Ay.S,td.BO.Regular,te.Jy.Neutral90);td.Ay.Caption,td.BO.Regular,te.Jy.Neutral90;let bL=tt.Ay.div(["display:flex;gap:4px;align-items:center;"]),bN=tt.Ay.p([""," "," color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral90),bI=(0,tt.Ay)(tP.EK.StatusNew)(["color:",";"],te.Jy.Blue50),bM=(0,tt.Ay)(tP.qJ.TickSuccess)([""]),bB=tt.Ay.div(["flex:1;background:",";border-radius:var(--Spacing-XS,12px);padding:40px 0;&:hover{background:",";","{color:",";}","{color:",";}}"],te.Jy.Neutral5,({$hoverColor:e})=>e||te.Jy.Neutral5,bR,te.Jy.Blue80,bN,te.Jy.Blue80),bD=({jobCopilotStats:e})=>{let{i18n:t}=(0,e1.s)(),i=[{enabled:!0,name:t.t(`${bT}.processing.sub_header`),tooltip:t.t(`${bT}.processing.tooltip`),count:e?.processing||0,hoverColor:te.Jy.Blue10,icon:(0,J.jsx)(bI,{})},{enabled:!0,name:t.t(`${bT}.auto_applied.sub_header`),tooltip:t.t(`${bT}.auto_applied.tooltip`),count:e?.autoApplied||0,hoverColor:te.Jy.Blue10,icon:(0,J.jsx)(bM,{})}];return(0,J.jsx)(bP,{children:i.map(e=>(0,J.jsx)(bB,{$hoverColor:e.hoverColor,children:(0,J.jsx)(aH.Ay,{width:250,value:e.tooltip,multiline:!0,position:"bottom",children:(0,J.jsxs)(bJ,{children:[(0,J.jsx)(bE,{children:(0,J.jsxs)(bR,{children:[e.count," "]})}),(0,J.jsxs)(bL,{children:[e.icon,(0,J.jsx)(bN,{children:e.name})]})]})})},e.name))})};var b$=i(48561),bO=i.p+"media/arrow-left10ffa84257848486.svg",bz=i.p+"media/arrow-rightf8cff41b760f9011.svg";let bF=tt.Ay.div(["&:hover{.swiper-button-prev,.swiper-rtl .swiper-button-next{display:block;}.swiper-button-next,.swiper-rtl .swiper-button-prev{display:block;}}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0 16px;height:148px;max-width:514px;z-index:1;display:flex;margin:0 15px;}.swiper-wrapper{position:relative;width:100%;z-index:1;display:flex;align-items:center;transition-property:transform;box-sizing:content-box;}.swiper-slide{flex-shrink:0;width:100%;height:148px;gap:0;position:relative;display:flex;align-items:center;transition-property:transform;}.swiper-button-prev,.swiper-button-next{position:absolute;top:35%;width:40px;height:40px;z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{display:none;}.swiper-button-prev:after,.swiper-button-next:after{width:40px;height:40px;background:",";border-radius:50%;display:flex;align-items:flex-end;border:1px solid ",";justify-content:center;box-shadow:0px 0px 1px rgba(15,56,113,0.32),0px 0px 0px rgba(15,56,113,0.12),0px 0px 1px rgba(15,56,113,0.08);}.swiper-button-prev,.swiper-rtl .swiper-button-next{display:none;left:0px;right:auto;}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:url('","');}.swiper-button-next,.swiper-rtl .swiper-button-prev{display:none;right:0px;left:auto;}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:url('","');}.swiper-button-lock{display:none;}"],te.Jy.White,te.Jy.Neutral10,bO,bz),bH=tt.Ay.div(["width:100%;"]),bV=tt.Ay.div(["background-color:",";cursor:pointer;transition:all 0.1s ease;border-radius:16px;padding:16px;display:flex;height:114px;flex-direction:column;justify-content:space-between;border:1px solid ",";"],te.Jy.White,te.Jy.Neutral15),bU=tt.Ay.div(["display:flex;justify-content:space-between;"]),bW=tt.Ay.div(["border:1px solid rgba(0,0,0,0.1);border-radius:8px;width:32px;height:32px;background-image:url(",");background-position:center center;background-size:contain;"],e=>`"${e.src}"`),bK=tt.Ay.div([""," "," color:",";overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),bq=tt.Ay.div([""," color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],td.Ay.Caption,te.Jy.Neutral50),bG=tt.Ay.div(["display:flex;align-items:center;"]),bZ=tt.Ay.div([""]),bX=({jobs:e})=>{let t=(0,L.Zp)();return(0,J.jsx)(bF,{children:(0,J.jsx)(nl.RC,{modules:[na.Vx,na.AV],virtual:!0,navigation:!0,spaceBetween:12,slidesPerView:2,pagination:{clickable:!0},children:e?.map(e=>(0,J.jsx)(nl.qr,{children:(0,J.jsx)(bH,{onClick:()=>{var i;return i=e.id,void t(`job-tracking?application_id=${i}`)}
1584,children:(0,J.jsxs)(bV,{children:[(0,J.jsx)(bU,{children:(0,J.jsx)(bG,{children:(0,J.jsx)(bW,{src:e.logo||void 0})})}),(0,J.jsxs)(bZ,{children:[(0,J.jsx)(bK,{children:e.title}),(0,J.jsx)(bq,{children:e.company})]})]})})},e.id))})})},bQ=tt.Ay.div(["position:relative;display:flex;gap:12px;margin:0 32px;height:148px;"]),bY=tt.Ay.div(["flex:1;height:148px;border-radius:16px;background:linear-gradient(180deg,#f7f9fc 0%,rgba(247,249,252,0) 100%);"]),b0=tt.Ay.div(["position:absolute;height:148px;display:flex;gap:12px;flex-direction:column;align-items:center;justify-content:flex-end;width:100%;"]),b1=tt.Ay.p(["width:304px;text-align:center;"," "," color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral90),b2=(0,tt.Ay)(i$.Ay).attrs({size:i$.Mp.small})([""]),b3=tt.Ay.div(["display:flex;gap:12px;margin:0 32px;height:200px;padding-top:36px;flex-direction:column;align-items:center;justify-content:center;"]),b5=tt.Ay.div(["display:flex;align-items:center;gap:10px;padding:4px 12px;border-radius:24px;background:",";"],te.Jy.Blue10),b4=tt.Ay.p([""," "," color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Blue80),b6=tt.Ay.p([""," "," color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Blue60),b8=()=>{let{i18n:e}=(0,e1.s)(),t=(0,L.Zp)(),{getHost:i}=(0,ca.Ay)();return(0,J.jsxs)(bQ,{children:[(0,J.jsx)(bY,{}),(0,J.jsx)(bY,{}),(0,J.jsxs)(b0,{children:[(0,J.jsx)(b1,{children:e.t(`${bT}.empty_state_header`)}),(0,J.jsx)(b2,{onClick:()=>{(0,N.xP)("aa_find_more_jobs",{website_host:i}),t("/job-search")},children:e.t(`${bT}.empty_state_button`)})]})]})},b9=({credits:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),{getHost:r}=(0,ca.Ay)();return(0,J.jsxs)(b3,{children:[(0,J.jsxs)(b5,{children:[(0,J.jsx)(b4,{children:t.t(`${bT}.credits`)}),(0,J.jsx)(b6,{children:e})]}),(0,J.jsx)(b1,{children:t.t(`${bT}.buy_state_text`)}),(0,J.jsx)(b2,{onClick:()=>{(0,N.xP)("aa_buy_more_credits",{website_host:r}),i(z.o1.showRDUpsellModal())},children:t.t(`${bT}.buy_state_button`)})]})},b7=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),_e=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;margin:0 32px;"]),_t=tt.Ay.p(["",";",";color:",";"],td.Ay.Caps,td.BO.DemiBold,te.Jy.Neutral50),_i=tt.Ay.div(["display:flex;gap:4px;padding:4px;align-items:center;"]),_r=tt.Ay.div([""]),_n=({jobs:e,creditCount:t,autoApplyCredits:i,navigateToJobTracking:r})=>{let{i18n:n}=(0,e1.s)();return(()=>{let{creditCount:e,creditCountUsed:t}=i;return 3===e&&e===t})()?(0,J.jsx)(b7,{children:(0,J.jsx)(b9,{credits:t})}):(0,J.jsxs)(b7,{children:[(0,J.jsxs)(_e,{children:[(0,J.jsx)(_t,{children:n.t(`${bT}.recent_jobs`)}),(0,J.jsx)(_i,{children:(0,J.jsx)(b$.F,{onClick:r})})]}),(0,J.jsx)(_r,{children:e?.length?(0,J.jsx)(bX,{jobs:e}):(0,J.jsx)(b8,{})})]})},_o=(0,tt.i7)(["to{background-position-x:-20%;}"]),_a=(0,tt.AH)(["background-color:",";background:linear-gradient( 100deg,rgba(239,242,249,0) 40%,rgba(239,242,249,0.6) 50%,rgba(239,242,249,0) 60% ) ",";background-size:200% 100%;background-position-x:180%;animation:1s "," ease-in-out infinite;"],te.Jy.Neutral5,te.Jy.Neutral5,_o),_l=tt.Ay.div(["margin:16px;display:flex;gap:8px;height:140px;border-radius:8px;"]),_s=tt.Ay.div(["",";width:100%;"],_a),_d=tt.Ay.div(["height:196px;display:flex;justify-content:center;align-items:center;"]),_c=tt.Ay.div(["height:36px;margin:36px 31px 31px;border-radius:8px;",";"],_a),_u=()=>(0,J.jsxs)(_l,{children:[(0,J.jsx)(_s,{}),(0,J.jsx)(_s,{})]}),_p=()=>(0,J.jsx)(_d,{children:(0,J.jsx)(du.Ay,{})}),_h=()=>(0,J.jsx)(_c,{}),_x=tt.Ay.div(["border-radius:24px;border:1px solid ",";display:flex;flex-direction:column;"],te.Jy.Neutral15),_m=tt.Ay.div(["margin:36px 31px 31px;position:relative;",""],({$isDisabled:e})=>e&&(0,tt.AH)(["margin:72px 31px 31px;"])),_g=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.ghost,size:i$.Mp.small})(["width:100%;"]),_y=()=>(0,J.jsxs)(_x,{children:[(0,J.jsx)(_u,{}),(0,J.jsx)(_p,{}),(0,J.jsx)(_h,{})]}),_f=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)(),i=(0,L.Zp)(),{getHost:r}=(0,ca.Ay)(),{getAutoApplyCredit:n,getCreditCount:o}=(0,ck.J)(),{data:a,isLoading:l}=(0,bS.i)(),s=(0,eW.N)(K.Tp.selectAutoApplyWidgetJobs),d=(0,eW.N)(K.Tp.selectFetchStatus);return((0,R.useEffect)(()=>{t(K.o1.fetchJobsRequest({per_page:5,auto_applied:!0}
1584)),t(Z.o1.fetchUserRequest({silent:!0}))},[t]),d===eZ.Hp.loading||l)?(0,J.jsx)(_y,{}):(0,J.jsxs)(_x,{children:[(0,J.jsx)(bD,{jobCopilotStats:a}),(0,J.jsx)(_n,{jobs:s.data,creditCount:o(),autoApplyCredits:n(),navigateToJobTracking:()=>{i("/job-tracking")}}),(0,J.jsx)(_m,{$isDisabled:!s.data.length,children:!!s.data.length&&!(()=>{let{creditCount:e,creditCountUsed:t}=n();return 3===e&&e===t})()&&(0,J.jsx)(_g,{onClick:()=>{(0,N.xP)("aa_find_more_jobs",{website_host:r}),i("/job-search")},children:e.t(`${bT}.action`)})})]})};var _b=R.memo(()=>{let{isUserOnAutoApplyPlan:e,hasUserCompletedQuestionnaire:t,isCareerProfileDataLoading:i}=(0,ck.J)();return i?(0,J.jsx)(_y,{}):e&&t?(0,J.jsx)(_f,{}):(0,J.jsx)(bk,{})});let __=tt.Ay.div(["display:flex;border-radius:16px;padding:40px 0 16px;background:",";flex-direction:column;align-items:center;gap:9px;"],te.Jy.Blue10),_v=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:8px;max-width:416px;margin:0 auto;text-align:center;"]),_j=tt.Ay.div(["",";",";color:",";"],td.Ay.S,td.BO.Medium,te.Jy.Blue80),_A=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Blue80),_C=(0,tt.Ay)(i$.Ay).attrs({size:i$.Mp.small})(["margin-top:4px;"]),_w=tt.Ay.img(["width:277.875px;height:247px;"]);var _k=i.p+"media/banner-cover4514696c83e6bfee.png";let _S="builder.dashboard.job_search_help.resume_distribution.banner",_T=()=>{let{i18n:e}=(0,e1.s)(),t=(0,L.Zp)(),{getHost:i}=(0,ca.Ay)(),{showRDUpsellPromoModal:r}=uj();return(0,J.jsxs)(__,{children:[(0,J.jsxs)(_v,{children:[(0,J.jsx)(_j,{children:e.t(`${_S}.header`)}),(0,J.jsx)(_A,{children:e.t(`${_S}.sub_header`)}),(0,J.jsx)(_C,{onClick:()=>{r()||((0,N.xP)("job_search_help_banner_click",{website_host:i,label:"resume_distribution"}),t("/resume-distribution"))},children:e.t(`${_S}.action`)})]}),(0,J.jsx)(_w,{src:_k})]})};var _P=i(7971);let _J=(0,tt.i7)(["to{background-position-x:-20%;}"]),_E=(0,tt.AH)(["background-color:",";background:linear-gradient( 100deg,rgba(239,242,249,0) 40%,rgba(239,242,249,0.6) 50%,rgba(239,242,249,0) 60% ) ",";background-size:200% 100%;background-position-x:180%;animation:1s "," ease-in-out infinite;"],te.Jy.Neutral5,te.Jy.Neutral5,_J),_R=tt.Ay.div(["height:177px;border-radius:8px;",";"],_E),_L=tt.Ay.div(["height:168px;display:flex;justify-content:center;align-items:center;"]),_N=tt.Ay.div(["height:36px;margin:32px 0 0;border-radius:8px;",";"],_E),_I=()=>(0,J.jsx)(_R,{}),_M=()=>(0,J.jsx)(_L,{children:(0,J.jsx)(du.Ay,{})}),_B=()=>(0,J.jsx)(_N,{}),_D="builder.dashboard.job_search_help.resume_distribution.widget",_$=tt.Ay.div(["margin-top:24px;height:219px;max-height:219px;display:flex;flex-direction:column;justify-content:space-between;"]),_O=tt.Ay.div(["margin-top:8px;"]),_z=(0,tt.Ay)(_P.tb)(["",";",";color:",";"],td.Ay.Caption,td.BO.Medium,te.Jy.Neutral90),_F=(0,tt.Ay)(_P.B7)(["",";",";color:",";"],td.Ay.Tiny,td.BO.Regular,te.Jy.Neutral50),_H=tt.Ay.div(["height:1px;background:",";"],te.Jy.Neutral15),_V=tt.Ay.div(["position:relative;"]),_U=tt.Ay.div(["position:absolute;bottom:35px;height:32px;width:100%;background:linear-gradient(360deg,#fff 16.56%,rgba(255,255,255,0) 100%);"]),_W=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.ghost,size:i$.Mp.small})(["width:100%;"]),_K=tt.Ay.div(["height:207px;display:flex;align-items:center;text-align:center;"]),_q=tt.Ay.p(["padding:0 32px;"," "," color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90),_G=({candidate:e,recruiters:t,isRecruitersLoading:i})=>{let r=(0,e4.J)(),{i18n:n}=(0,e1.s)(),o=(0,L.Zp)(),{getHost:a}=(0,ca.Ay)(),l=e.distributionStatus===ev.it.paused,s=(0,J.jsxs)(_V,{children:[(0,J.jsx)(_U,{}),(0,J.jsx)(_W,{onClick:()=>{(0,N.xP)("rd_click_view_all_recruiters",{website_host:a}),o("/resume-distribution/dashboard")},children:n.t(`${_D}.action_btn`)})]});return i?(0,J.jsxs)(_O,{children:[(0,J.jsx)(_M,{}),(0,J.jsx)(_B,{})]}):r?.hasPremiumFeatures&&l?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(_K,{children:(0,J.jsx)(_q,{children:n.t(`${_D}.pause_state`)})}),s]}):(0,J.jsxs)(_$,{children:[(0,J.jsx)(_P.B8,{children:t?.slice(0,3).map(e=>{let t;return(0,J.jsxs)(R.Fragment,{children:[(0,J.jsxs)(_P.ck,{padding:"12px 0",children:[(0,J.jsx)(_P.sH,{header:(0,J.jsx)(_z,{text:e.name}),subText:(0,J.jsx)(_F,{text:e.jobTitle})}),(0,J.jsx)(_P.sH,{header:(0,J.jsx)(_z,{text:e.company}),subText:(0,J.jsx)(_F,{text:(t=e.location,`${t.city}, ${t.state} ${t.country}`)})})]}),(0,J.jsx)(_H,{})]},e.name)})}),!!t?.length&&s]})},_Z=tt.Ay.div(["position:relative;border-radius:24px;border:1px solid ",";display:flex;flex-direction:column;"],te.Jy.Neutral15),_X=tt.Ay.div(["border-radius:12px;background:",";margin:16px 16px 0;"],te.Jy.Neutral5),_Q=tt.Ay.div(["margin:0 31px 31px;position:relative;"]),_Y=tt.Ay.div(["width:542px;height:195px;flex-shrink:0;background:rgba(255,255,255,0.2);backdrop-filter:blur(6px);position:absolute;
1584left:-31px;"]),_0=tt.Ay.div(["margin-top:8px;"]);var _1=i(92405),_2=i(17798),_3=i(53260);let _5=tt.Ay.div([""]),_4=tt.Ay.div(["height:1px;margin:0 24px;background:",";"],te.Jy.Neutral15),_6=tt.Ay.div(["padding:20px 24px;display:flex;gap:32px;align-items:center;"]),_8=tt.Ay.div(["display:flex;gap:12px;"]),_9=tt.Ay.p([""," "," color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90),_7=(0,tt.Ay)(tP.H7.Crown)(["width:50px;margin-right:-5px;color:",";"],te.Jy.Indigo50),ve=(0,tt.Ay)(i$.Ay).attrs({size:i$.Mp.small})(["background-color:",";"],te.Jy.Indigo50),vt=({candidate:e,nextDistributionDate:t,distributedRecruiterCount:i,isDistributionDatesLoading:r})=>{let n=(0,e4.J)(),{i18n:o}=(0,e1.s)(),{getHost:a}=(0,ca.Ay)(),l="one_time"===e.localSubscriptionType;return r?(0,J.jsx)(_I,{}):(0,J.jsxs)(_5,{children:[e?.localSubscriptionType==="one_time"?(0,J.jsx)(_1.d,{count:i}):(0,J.jsx)(_2.p,{isFromWidget:!0,totalRecruiters:i,distributionWeek:e?.distributionWeek||0}),(0,J.jsx)(_4,{}),n?.hasPremiumFeatures&&"one_time"!==e.localSubscriptionType?(0,J.jsx)(_3.T,{isFromWidget:!0,hideSchedule:!n?.hasPremiumFeatures,candidate:e,nextDistribution:t,isLoading:!1,action:()=>{}}):(0,J.jsxs)(_6,{children:[(0,J.jsxs)(_8,{children:["one_time"!==e.localSubscriptionType&&(0,J.jsx)(_7,{}),(0,J.jsx)(_9,{children:o.t(`${_D}.${l?"upgrade_text_campaign":"upgrade_text"}`)})]}),(0,J.jsx)(ve,{onClick:()=>{(0,N.xP)("rd_click_upgrade",{website_host:a}),(0,ln.b)({upgradeURL:n?.billingInfo.upgradeUrl})},children:o.t(`${_D}.premium_button`)})]})]})},vi=tt.Ay.div(["position:absolute;width:100%;z-index:1;transform:translateY(24px);transition:transform 0.3s ease;"]),vr=(0,tt.Ay)(l1)(["width:fit-content;margin:0 auto;","{","}","{"," ","}"],lY,td.Ay.Body,l0,td.Ay.Caption,td.BO.DemiBold),vn="DASHBOARD_RD_WIDGET_SNACK_BAR",vo=({distributedRecruiterCount:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,R.useRef)(null),r=ew.D.getItem(vn),n=e>=100&&!r,[o,a]=(0,R.useState)(!!n);return o?(0,J.jsx)(lj.Ay,{in:o,timeout:{enter:100,exit:300},mountOnEnter:!0,unmountOnExit:!0,nodeRef:i,children:(0,J.jsx)(vi,{ref:i,children:(0,J.jsx)(vr,{text:t.t(`${_D}.snackbar.header`,{count:e}),buttonText:t.t(`${_D}.snackbar.button`),onOpen:()=>{ew.D.setItem(vn,"true"),a(!1)}})})}):(0,J.jsx)(J.Fragment,{})},va=({candidate:e})=>{let t=(0,e4.J)(),{data:i,isLoading:r}=(0,r2.I)(["useGetRecruitersList"],async()=>{let{data:e}=await Y.R3.get("/resume-distribution/candidates/recruiters");return e}),n=(0,eW.N)(ev.Tp.nextDistributionDate),o=i?.pagination.totalRecords||0;return(0,J.jsxs)(_Z,{children:[!r&&(0,J.jsx)(vo,{distributedRecruiterCount:o}),(0,J.jsx)(_X,{children:(0,J.jsx)(vt,{candidate:e,nextDistributionDate:n,distributedRecruiterCount:o,isDistributionDatesLoading:r})}),(0,J.jsxs)(_Q,{children:[!t?.hasPremiumFeatures&&(0,J.jsx)(_Y,{}),(0,J.jsx)(_G,{candidate:e,recruiters:i?.data||[],isRecruitersLoading:r})]})]})},vl=()=>(0,J.jsxs)(_Z,{children:[(0,J.jsx)(_X,{children:(0,J.jsx)(_I,{})}),(0,J.jsx)(_Q,{children:(0,J.jsxs)(_0,{children:[(0,J.jsx)(_M,{}),(0,J.jsx)(_B,{})]})})]});var vs=R.memo(()=>{let e=(0,e4.J)(),t=(0,eU.wA)(),i=(0,eW.N)(ev.Tp.candidate),r=(0,eW.N)(ev.Tp.candidateFetchStatus);return((0,R.useEffect)(()=>{e?.scopes.resumeDistributionCandidate&&t(ev.o1.fetchCandidate())},[t,e?.scopes.resumeDistributionCandidate]),e?.scopes.resumeDistributionCandidate)?r===eZ.Hp.loading?(0,J.jsx)(vl,{}):i?(0,J.jsx)(va,{candidate:i}):(0,J.jsx)(_T,{}):(0,J.jsx)(_T,{})});let vd=tt.Ay.div(["margin:57px 0;"]),vc=tt.Ay.div(["padding:0 40px;max-width:1200px;width:100%;margin:57px auto;",""],tQ.A.Tablet`
1585    padding: 0 20px;
1586  `),vu=tt.Ay.div([""]),vp=(0,tt.Ay)(am.Ay)(["border-bottom:none;max-width:1200px;width:100%;margin:0 auto;padding:0 40px;",""],tQ.A.Tablet`
1587    padding: 0 20px;
1588  `),vh=(0,tt.Ay)(am.oz)(["padding:0;margin-right:32px;"," ",""],td.Ay.M,td.BO.Medium),vx=tt.Ay.span(["position:relative;padding:2px 4px;border-radius:4px;background:",";color:",";left:8px;top:-13px;",";",";"],te.Jy.Blue50,te.Jy.White,td.Ay.Caption,td.BO.Medium),vm=tt.Ay.div(["max-width:1200px;width:100%;margin:0 auto;padding:0 40px;height:fit-content;",""],tQ.A.Tablet`
1589    padding: 0 20px;
1590  `),vg=tt.Ay.div(["position:relative;max-width:1200px;margin:0 auto;padding:0 40px;height:64px;background:linear-gradient(0deg,#fff 24.09%,rgba(255,255,255,0) 100%);"]),vy=tt.Ay.div(["margin-top:16px;",""],tQ.A.Phone`
1591    padding: 0 20px;
1592  `),vf=tt.Ay.div(["margin-top:16px;height:",";overflow:hidden;display:flex;flex-direction:column;"," ",""],({withBanner:e})=>e?"590px":"530px",tQ.A.Tablet`
1593    height: 540px;
1594  `,tQ.A.Phone`
1595    height: 490px;
1596  `),vb=tt.Ay.div(["max-width:1200px;margin:0 auto;padding:0 40px;"," ",""],tQ.A.Tablet`
1597    padding: 0 20px;
1598  `,tQ.A.Phone`
1599    padding: 0;
1600  `),v_=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.default})(["display:block;width:auto;margin:auto;padding:16px 24px;color:",";background-color:",";border-radius:12px;border:none;cursor:pointer;transition:color 0.15s;width:100%;&:hover{color:",";background-color:",";}"],te.Jy.Neutral50,te.Jy.Neutral5,te.Jy.Blue50,te.Jy.Blue10),vv=tt.Ay.div(["max-width:1200px;display:flex;gap:32px;margin:40px auto;padding:0 40px;"," ",""],tQ.A.Tablet`
1601    margin: 20px 0;
1602    padding: 0 20px;
1603  `,({$reverseRow:e})=>e&&(0,tt.AH)(["flex-flow:row-reverse;"])),vj=tt.Ay.div(["flex:1;max-width:544px;"]),vA=(0,R.lazy)(()=>Promise.all([i.e("2964"),i.e("4662"),i.e("1547")]).then(i.bind(i,951))),vC="dashboard_widget_tab",vw={documents:!1,job_tracker:!1,job_search_help:!1},vk=e=>{let{i18n:t}=(0,e1.s)(),i=(0,L.Zp)(),r=(0,d2.t)(),{getHost:n}=(0,ca.Ay)(),{isAutoApplyFeatureEnabled:o}=(0,ck.J)(),{isPhone:a,isTablet:l}=(0,ih.e)(),{isInstalled:s,canInstallExtension:d}=br(),[c,u]=(0,R.useState)(vw),p=(0,eW.N)(eA.Tp.stepsData),h=(0,eW.N)(eA.Tp.isLoaded),x=r.showResumeDistribution()||o,m=[{id:"documents",name:t.t("builder.dashboard_v2.widget.documents"),enabled:!0},{id:"job_tracker",name:t.t("builder.dashboard_v2.widget.job_tracker"),enabled:!0},{id:"job_search_help",name:t.t("builder.dashboard_v2.widget.job_search_help"),label:"NEW",enabled:!a&&!l&&x}],g=e=>{(0,N.xP)("documents_section_tab_click",{website_host:n,label:e}),u({...vw,[e]:!0})},y=(0,R.useCallback)(()=>{let e=ew.D.getItem(vC);g(!e&&p[eA.pn.PERSONALIZED_JOBS].completed?"job_tracker":e||"documents")},[p]);return(0,R.useEffect)(()=>{a||l||y()},[h,y]),(0,R.useEffect)(()=>{(a||l)&&g("documents")},[a,l]),(0,J.jsxs)(vd,{children:[r.features.dashboardV3&&!r.isDashboardV4()&&(0,J.jsx)(vc,{children:(0,J.jsx)(by,{})}),(0,J.jsx)(vp,{disableSelector:!0,children:m.filter(e=>e.enabled).map(e=>(0,J.jsxs)(vh,{id:e.id,isActive:c[e.id],onClick:()=>{var t;g(t=e.id),ew.D.setItem(vC,t)},children:[e.name," ",e.label&&(0,J.jsx)(vx,{children:e.label})]},e.id))}),(0,J.jsxs)(vu,{children:[c.documents&&(0,J.jsx)(vm,{children:(0,J.jsx)(uM,{title:"",type:e.documentType,onTypeChange:e.onDocumentTypeChange,isAutoTailored:e.isAutoTailored,fromDashboard:!0,newDashHeader:!0})}),c.job_tracker&&(0,J.jsxs)(vy,{children:[(0,J.jsx)(vf,{withBanner:!s&&d,children:(0,J.jsx)(R.Suspense,{fallback:null,children:(0,J.jsx)(vA,{})})}),(0,J.jsx)(vg,{}),(0,J.jsx)(vb,{children:(0,J.jsx)(v_,{onClick:()=>{i("/job-tracking")},children:t.t("builder.dashboard_v2.job_tracker_widget.view_more")})})]}),c.job_search_help&&(0,J.jsxs)(vv,{$reverseRow:!r.showResumeDistribution(),children:[(0,J.jsx)(vj,{children:r.showResumeDistribution()&&(0,J.jsx)(vs,{})}),(0,J.jsx)(vj,{children:o&&(0,J.jsx)(_b,{})})]})]})]})};te.Jy.Blue50,te.Jy.White,te.Jy.White,td.Ay.Tiny,td.BO.DemiBold;let vS=tt.Ay.div(["width:29px;
1603height:29px;flex:0 0 29px;border-radius:6px;display:flex;align-items:center;justify-content:space-evenly;background:",";color:",";"," "," ",""],te.Jy.White,te.Jy.Neutral90,td.Ay.Caption,td.BO.DemiBold,tQ.A.Phone`
1604    background: ${te.Jy.Blue10};
1605  `),vT=tt.Ay.div(["display:flex;flex-direction:column;gap:2px;"]),vP=tt.Ay.div(["color:",";"," ",""],te.Jy.Neutral90,td.Ay.Caption,td.BO.Medium),vJ=tt.Ay.div(["color:",";"," ",""],te.Jy.Neutral50,td.Ay.Tiny,td.BO.Regular),vE=tt.Ay.div(["height:32px;width:32px;border-radius:8px;background:",";display:flex;align-items:center;justify-content:center;",""],te.Jy.Neutral10,tQ.A.Phone`
1606    background: ${te.Jy.Blue20};
1607  `),vR=(0,tt.Ay)(tP.Ay.ArrowRight)([""]),vL=tt.Ay.div(["border-right:1px solid ",";height:24px;margin:0 24px;"],te.Jy.Neutral15),vN=tt.Ay.div(["gap:12px;display:flex;padding:8px 12px;align-items:center;background:white;border-radius:16px;cursor:pointer;background:",";&:hover{background:",";","{background:",";}","{background:",";}","{color:",";}}&:active{background:",";","{background:",";}","{background:",";}","{color:",";}}",""],te.Jy.White,te.Jy.Blue10,vE,te.Jy.Blue20,vS,te.Jy.Blue10,vJ,te.Jy.Blue80,te.Jy.Blue20,vE,te.Jy.Blue20,vS,te.Jy.Blue20,vJ,te.Jy.Blue90,tQ.A.Phone`
1608    width: 100%;
1609    justify-content: space-between;
1610    background: ${te.Jy.Blue10};
1611    padding: 12px 16px;
1612  `),vI="builder.auto_apply.entry_point",vM=({hideDivider:e,...t})=>{let i,{i18n:r}=(0,e1.s)(),n=(0,L.Zp)(),o=(0,L.zy)(),{isAutoApplyFeatureEnabled:a,isUserOnAutoApplyPlan:l,hasUserCompletedQuestionnaire:s,jobCopilot:d}=(0,ck.J)(),c=d?.id?"in_progress":"not_started";if(i=ew.D.getItem("provisioning-premium-with-3-auto-apply-credits"),o.pathname.includes("auto-apply")||!l&&!i||!a||s)return(0,J.jsx)(J.Fragment,{});let u=async()=>{(0,N.xP)("tjss_nav_continue_button",{label:"total_job_search_solution",page:o.pathname}),n("/auto-apply/documents")};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(aH.QP,{width:250,position:"bottom",value:r.t(`${vI}.${c}.tooltip`),multiline:!0,children:(0,J.jsxs)(vN,{onClick:u,...t,children:[(0,J.jsxs)(vT,{children:[(0,J.jsx)(vP,{children:r.t(`${vI}.${c}.title`)}),(0,J.jsx)(vJ,{children:r.t(`${vI}.${c}.start_subtitle`)})]}),(0,J.jsx)(vE,{children:(0,J.jsx)(vR,{})})]})}),!e&&(0,J.jsx)(vL,{})]})};var vB=i.p+"media/expert_content_groupb63f0e0b07ab9d96.svg";let vD=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;padding:0px;gap:4px;position:absolute;width:145px;height:28px;left:20px;top:20px;",""],tQ.A.Phone`
1613    width: 140px;
1614  `),v$=tt.Ay.img(["width:42px;height:28px;"]),vO=tt.Ay.p(["",";",";color:",";"],td.BO.Medium,td.Ay.Caption,te.Jy.Neutral80);var vz=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(vD,{children:[(0,J.jsx)(v$,{src:vB}),(0,J.jsx)(vO,{children:e.t("builder.dashboard.service_data.tags.expert_content")})]})};let vF=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1615    width: 242px;
1616    height: 212px;
1617  `),vH=tt.Ay.div(["position:absolute;height:143px;left:20px;top:68px;z-index:1;",""],tQ.A.Phone`
1618    height: 141px;
1619  `),vV=tt.Ay.img(["width:100%;height:100%;"]);var vU=({imgUrl:e,alt:t})=>(0,J.jsxs)(vF,{children:[(0,J.jsx)(vz,{}),(0,J.jsx)(vH,{children:(0,J.jsx)(vV,{src:e,alt:t})})]});let vW=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1620    width: 242px;
1621    height: 212px;
1622  `),vK=tt.Ay.div(["position:absolute;width:183.16px;left:42px;top:42px;z-index:1;",""],tQ.A.Phone`
1623    left: 29px;
1624  `),vq=tt.Ay.img(["width:100%;height:100%;"]);var vG=({imgUrl:e,alt:t})=>(0,J.jsx)(vW,{children:(0,J.jsx)(vK,{children:(0,J.jsx)(vq,{src:e,alt:t})})}),vZ=({fillColor:e})=>(0,J.jsx)("svg",{width:"25",height:"24",viewBox:"0 1 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,J.jsx)("g",{opacity:"0.6",children:(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.4824 4.87511C7.35338 4.37496 6.64311 4.37496 6.5141 4.87511L6.25168 5.89242C6.20622 6.06862 6.06862 6.20622 5.89242 6.25168L4.87511 6.5141C4.37496 6.64312 4.37496 7.35338 4.87511 7.4824L5.89242 7.74482C6.06862 7.79028 6.20622 7.92788 6.25168 8.10408L6.5141 9.12139C6.64312 9.62154 7.35338 9.62153 7.4824 9.12139L7.74482 8.10408C7.79028 7.92788 7.92788 7.79028 8.10408 7.74482L9.12139 7.4824C9.62154 7.35338 9.62153 6.64311 9.12139 6.5141L8.10408 6.25168C7.92788 6.20622 7.79028 6.06862 7.74482 5.89242L7.4824 4.87511ZM14.6602 6.70026C14.3506 5.49991 12.6459 5.49991 12.3363 6.70026L11.3856 10.3856L7.70026 11.3363C6.49991 11.6459 6.49991 13.3506 7.70026 13.6602L11.3856 14.6109L12.3363 18.2962C12.6459 
162419.4966 14.3506 19.4966 14.6602 18.2962L15.6109 14.6109L19.2962 13.6602C20.4966 13.3506 20.4966 11.6459 19.2962 11.3363L15.6109 10.3856L14.6602 6.70026ZM12.7118 10.8495L13.4982 7.8007L14.2847 10.8495C14.3938 11.2724 14.7241 11.6027 15.1469 11.7118L18.1958 12.4982L15.1469 13.2847C14.7241 13.3938 14.3938 13.7241 14.2847 14.1469L13.4982 17.1958L12.7118 14.1469C12.6027 13.7241 12.2724 13.3938 11.8495 13.2847L8.8007 12.4982L11.8495 11.7118C12.2724 11.6027 12.6027 11.2724 12.7118 10.8495Z",fill:e})})});let vX=tt.Ay.div(["position:absolute;width:",";flex-direction:",";height:24px;left:22px;top:20px;padding:",";border-radius:6px;background:",";transition:width 0.22s;overflow:hidden;",""],e=>e.isMouseOver?"109px":"29px",e=>e.isMouseOver?"row":"row-reverse",e=>e.isMouseOver?"0 0 4px 2px":"0 0 2px 2px",e=>e.isMouseOver?e.bgColor:`${e.bgColor}7f`,tQ.A.Phone`
1625    width: 105px;
1626    flex-direction: row;
1627  `),vQ=tt.Ay.p(["",";",";padding:0 0 4px 0;color:",";display:inline;"],td.BO.Medium,td.Ay.Caption,e=>e.color);var vY=({isMouseOver:e,colorScheme:t,isCoverLetter:i})=>{let{i18n:r}=(0,e1.s)();return(0,J.jsx)(J.Fragment,{children:i?null:(0,J.jsxs)(vX,{isMouseOver:e,bgColor:t.tone20,children:[(0,J.jsx)(vZ,{fillColor:t.tone80}),(0,J.jsx)(vQ,{color:t.tone80,isMouseOver:e,children:r.t("builder.dashboard.service_data.tags.ai_powered")})]})})};let v0=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1628    width: 242px;
1629    height: 212px;
1630  `),v1=tt.Ay.div(["position:absolute;width:244px;height:212px;right:15px;top:30px;z-index:1;",""],tQ.A.Phone`
1631    right: 0px;
1632  `),v2=tt.Ay.img(["width:100%;height:100%;"]),v3=tt.Ay.img(["position:absolute;z-index:100;top:85px;width:43px;left:30px;height:43px;border-radius:50%;border:2px solid ",";"],te.Jy.White),v5=({imgUrl:e,alt:t,colorScheme:i,isMouseOver:r,userPhotoUrl:n})=>(0,J.jsxs)(v0,{children:[(0,J.jsx)(vY,{isMouseOver:r,colorScheme:i}),(0,J.jsxs)(v1,{children:[(0,J.jsx)(v2,{src:e,alt:t}),(0,J.jsx)(v3,{src:n,alt:t})]})]});var v4=i(49269);let v6=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1633    width: 242px;
1634    height: 212px;
1635  `),v8=tt.Ay.div(["position:absolute;left:72px;top:68px;width:128px;height:134px;z-index:1;border-radius:50%;",""],tQ.A.Phone`
1636    width: 130px;
1637    height: 130px;
1638    left: 54px;
1639    top: 58px;
1640  `),v9=tt.Ay.img(["position:absolute;left:65px;top:158px;z-index:1;",""],tQ.A.Phone`
1641    left: 54px;
1642    top: 148px;
1643  `),v7=tt.Ay.img(["width:100%;border:2.5px solid ",";height:100%;border-radius:50%;"],te.Jy.White);var je=({userPhotoUrl:e,alt:t,isMouseOver:i,colorScheme:r})=>(0,J.jsxs)(v6,{children:[(0,J.jsx)(vY,{isMouseOver:i,colorScheme:r}),(0,J.jsx)(v8,{children:(0,J.jsx)(v7,{src:e,alt:t})}),(0,J.jsx)(v9,{src:v4})]});let jt=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;position:absolute;width:45px;height:24px;",";",";left:20px;top:20px;background:",";border-radius:6px;color:white;"],td.BO.Medium,td.Ay.Caption,e=>e.color||te.Jy.Green40);var ji=({color:e})=>{let{i18n:t}=(0,e1.s)();return(0,J.jsx)(jt,{color:e,children:t.t("builder.dashboard.service_data.tags.new")})};let jr=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1644    width: 242px;
1645    height: 212px;
1646  `),jn=tt.Ay.div(["position:absolute;width:170px;height:165px;left:46px;top:52px;z-index:1;"]),jo=tt.Ay.img(["width:100%;height:100%;"]);var ja=({imgUrl:e,alt:t})=>(0,J.jsxs)(jr,{children:[(0,J.jsx)(ji,{}),(0,J.jsx)(jn,{children:(0,J.jsx)(jo,{src:e,alt:t})})]});let jl=[{icon:i(51149),alt:"Google"},{icon:i(93278),alt:"Apple"},{icon:i(82412),alt:"Amazon"}],js=tt.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;align-items:center;width:40px;height:136px;"]),jd=tt.Ay.div(["width:40px;height:40px;border-radius:6px;background:",";border:",";padding:4px;"],te.Jy.White,e=>e?.index===0?`2px solid ${te.Jy.Blue50}`:"none"),jc=tt.Ay.img(["width:100%;height:100%;"]);var ju=()=>(0,J.jsx)(js,{children:jl.map((e,t)=>(0,J.jsx)(jd,{index:t,children:(0,J.jsx)(jc,{src:e.icon,alt:e.alt})},e.alt))}),jp=i.p+"media/Add85f706ab67391dc0.svg";let jh=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;width:53px;height:68px;"]),jx=tt.Ay.div(["display:flex;flex-direction:row;align-items:flex-start;padding:2px 6px;
1646gap:10px;background:",";border-radius:6px;margin-bottom:8px;color:",";"],e=>e.bgColor,te.Jy.White),jm=tt.Ay.div(["height:32px;width:53px;",";",";display:flex;align-items:center;letter-spacing:0.3px;color:",";opacity:0.6;",""],td.Ay.Tiny,td.BO.DemiBold,te.Jy.Blue80,tQ.A.Phone`
1647    top: -3px;
1648    position: relative;
1649  `),jg=({document:e})=>{let{score:t,averageScore:i,jobTitle:r}=e,n=r?i:t,o=(0,R.useMemo)(()=>n<=30?te.Jy.Red40:n>30&&n<=70?te.Jy.Amber40:te.Jy.Green40,[n]);return(0,J.jsxs)(jh,{children:[(0,J.jsxs)(jx,{bgColor:o,children:[n,"%"]}),(0,J.jsx)(jm,{children:"Resume Score"})]})};var jy=i(32093);let jf=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1650    width: 242px;
1651    height: 212px;
1652  `),jb=tt.Ay.div(["position:absolute;width:129.93px;height:185px;left:",";top:60px;"," ",""],e=>e?.isCreateCoverLetter?"58px":"50px",tQ.A.Phone`
1653    left: 27px;
1654    top: 62px;
1655  `,e=>e.isCreateCoverLetter&&tQ.A.Phone`
1656        left: 55px`),j_=tt.Ay.div(["position:absolute;left:198px;top:60px;",""],tQ.A.Phone`
1657    left: 175px;
1658    top: 62px;
1659  `),jv=tt.Ay.div(["position:absolute;top:42px;left:168px;width:48px;height:48px;",""],tQ.A.Phone`
1660    top: 39px;
1661    left: 160px;
1662  `),jj=tt.Ay.img(["width:100%;height:100%;"]),jA=tt.Ay.div(["position:absolute;width:53px;height:68px;left:199px;top:60px;",""],tQ.A.Phone`
1663    left: 176px;
1664    top: 60px;
1665  `);(0,tt.Ay)(jy.w)(["flex-grow:1;border:1px solid ",";overflow:hidden;border-radius:6px;height:100%;",";"],te.Jy.Neutral15,tQ.A.Phone`
1666    border-radius: 0;
1667    border-left: none;
1668    border-right: none;
1669  `);let jC=tt.Ay.div([""]),jw=(0,tt.Ay)(tg.A)(["",";border-radius:3px;height:100%;"],tr.A.template.high);
1669var jk=e=>{let t=(0,tv.I)(e.document,{size:256});return(0,J.jsx)(jC,{children:(0,J.jsx)(jw,{src:t})})};let jS=tt.Ay.div(["height:100%;"]),jT=(0,tt.Ay)(tg.A)(["border-radius:3px;"]);(0,ti.j)(te.Jy.Blue20,.5),(0,ti.j)(te.Jy.Blue50,.16),(0,ti.j)(te.Jy.Blue70,.16),te.Jy.White,te.Jy.Blue50;var jP=({type:e})=>{let[t,i]=(0,R.useState)(null);return(0,R.useEffect)(()=>{let t=!0,r=(0,U.dh)(e),n=e===eZ.VC.coverLetter?"boston":"stockholm";return Y.uE.get(`/${r}/templates`).then(({data:e})=>{let r=e.find(e=>e.id===n);t&&r&&i(r.thumbnail)}),()=>{t=!1}},[e]),(0,J.jsx)(jS,{children:(0,J.jsx)(jT,{src:t})})},jJ=({colorScheme:e,isMouseOver:t,isShowAdd:i,isShowIcons:r,isShowScore:n,isShowResume:o,isCoverLetter:a})=>{let l=(0,eW.N)(e=>U.Tp.lastCreated(e,eZ.VC.resume)),s=(0,eW.N)(e=>U.Tp.lastCreated(e,eZ.VC.coverLetter)),d=(0,eW.N)(U.Tp.documents)[0],c=o?l:s||null;return(0,J.jsxs)(jf,{children:[(0,J.jsx)(vY,{isMouseOver:t,colorScheme:e,isCoverLetter:a}),(0,J.jsx)(jb,{isCreateCoverLetter:i,children:c?(0,J.jsx)(jk,{document:c}):(0,J.jsx)(jP,{type:o?eZ.VC.resume:eZ.VC.coverLetter})}),r&&(0,J.jsx)(j_,{children:(0,J.jsx)(ju,{})}),n&&(0,J.jsx)(jA,{children:l&&(0,J.jsx)(jg,{document:d})}),i&&(0,J.jsx)(jv,{children:(0,J.jsx)(jj,{src:jp,alt:"Add"})})]})};let jE=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1670    width: 242px;
1671    height: 212px;
1672  `),jR=tt.Ay.div(["position:absolute;width:203px;height:177.62px;left:32px;top:22.5px;z-index:1;",""],tQ.A.Phone`
1673    left: 20px;
1674  `),jL=tt.Ay.img(["width:100%;height:100%;"]),jN=tt.Ay.img(["position:absolute;z-index:100;top:117px;width:44px;left:80px;height:44px;border-radius:50%;padding:2px;"]);var jI=({userPhotoUrl:e,imgUrl:t,alt:i,colorScheme:r,isMouseOver:n})=>{let{features:o}=(0,d2.t)();return(0,J.jsxs)(jE,{children:[(o?.aiCoverLetters||o.aiResumeDraft)&&(0,J.jsx)(vY,{isMouseOver:n,colorScheme:r}),(0,J.jsxs)(jR,{children:[(0,J.jsx)(jL,{src:t,alt:i}),e&&(0,J.jsx)(jN,{src:e,alt:i})]})]})};let jM=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1675    width: 242px;
1676    height: 212px;
1677  `),jB=tt.Ay.div(["position:absolute;width:203px;height:177.62px;left:32px;top:42px;z-index:1;",""],tQ.A.Phone`
1678    left: 20px;
1679  `),jD=tt.Ay.img(["width:100%;height:100%;"]);var j$=({imgUrl:e,alt:t,isMouseOver:i,colorScheme:r})=>(0,J.jsxs)(jM,{children:[(0,J.jsx)(vY,{isMouseOver:i,colorScheme:r}),(0,J.jsx)(jB,{children:(0,J.jsx)(jD,{src:e,alt:t})})]});let jO=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;padding:2px 8px;gap:10px;position:absolute;width:auto;height:24px;left:20px;top:20px;background:",";border-radius:6px;",""],te.Jy.Neutral40,tQ.A.Phone`
1680    left: 32px;
1681  `),jz=tt.Ay.p(["text-wrap:nowrap;",";",";color:",";"],td.BO.Medium,td.Ay.Caption,te.Jy.White);var jF=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsx)(jO,{children:(0,J.jsx)(jz,{children:e.t("builder.dashboard.service_data.comming_soon")})})};let jH=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1682    width: 242px;
1683    height: 212px;
1684  `),jV=tt.Ay.div(["position:absolute;width:196px;height:133px;right:32px;top:55px;left:32px;z-index:1;",""],tQ.A.Phone`
1685      left: 16px;
1686  `),jU=tt.Ay.img(["width:100%;height:100%;"]),jW=({imgUrl:e,alt:t})=>(0,J.jsxs)(jH,{children:[(0,J.jsx)(jF,{}),(0,J.jsx)(jV,{children:(0,J.jsx)(jU,{src:e,alt:t})})]}),jK=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1687    width: 242px;
1688    height: 212px;
1689  `),jq=tt.Ay.div(["position:absolute;width:244px;height:212px;right:15px;z-index:1;",""],tQ.A.Phone`
1690    right: 0px;
1691  `),jG=tt.Ay.img(["width:100%;height:100%;"]);te.Jy.White,td.Ay.Tiny;let jZ=({imgUrl:e,alt:t})=>(0,J.jsxs)(jK,{children:[(0,J.jsx)(ji,{color:te.Jy.Beige40}),(0,J.jsx)(jq,{children:(0,J.jsx)(jG,{src:e,alt:t})})]}),jX=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1692    width: 242px;
1693    height: 212px;
1694  `),jQ=tt.Ay.div([""]),jY=tt.Ay.img(["width:100%;height:100%;"]);te.Jy.Neutral10,te.Jy.Neutral5;let j0=({imgUrl:e,alt:t})=>(0,J.jsxs)(jX,{children:[(0,J.jsx)(jF,{}
1694),(0,J.jsx)(jQ,{children:(0,J.jsx)(jY,{src:e,alt:t})})]}),j1=tt.Ay.div(["position:absolute;width:268px;height:214px;left:0px;top:0px;",""],tQ.A.Phone`
1695    width: 242px;
1696    height: 212px;
1697  `),j2=tt.Ay.img(["width:100%;height:100%;"]);var j3=({alt:e,imgUrl:t})=>(0,J.jsx)(j1,{children:(0,J.jsx)(j2,{src:t,alt:e})});let j5={Blue:"#E0F1FE",Neutral:"#E7EAF4",Green:"#E2F1E8",Indigo:"#EDEEFE",Beige:"#EFEDE8"},j4=e=>{let t=(0,eU.wA)(),r=(0,L.Zp)(),{i18n:n}=(0,e1.s)(),[o,a]=(0,R.useState)(),[l,s]=(0,R.useState)(),d=(0,d2.t)(),{actionHandler:c}=h$(),u=d?.features?.superApp,p=d?.features?.international,h=(0,eW.N)(U.Tp.documentsStatus),x=(0,eW.N)(Z.Tp.photoUrl),m=(0,eW.N)(U.Tp.resumeId),g=(0,e7.T)(m),y=(0,eW.N)(Z.Tp.postPremium),f=(0,eU.d4)(e9.Tp.getInterviewUrl),b=(0,eU.d4)(e9.Tp.getInterviewDomainUrl);(0,R.useEffect)(()=>{h===eZ.Hp.notAsked&&t(U.o1.fetchDocuments())},[t,h]);let _=(0,eW.N)(U.Tp.tunerResumeId),v=(0,eW.N)(e=>U.Tp.lastCreated(e,eZ.VC.resume)),j=v?.id,A=(0,R.useMemo)(()=>h===eZ.Hp.loaded&&(!m||!!g),[h,m,g]),C=(0,R.useMemo)(()=>{let o=d?.showResumeDistribution(),a=[{enabled:!!d?.features?.resumeWriting,targetEventName:"pro_resume_writing",imgUrl:i(80486),title:n.t("builder.dashboard.service_data.cards.get_expert_help.title"),subTitle:n.t("builder.dashboard.service_data.cards.get_expert_help.subTitle"),action:()=>{let e,t;return e={pt:"UWYxd6Xe2VTS0",utm_content:"get_expert_help"},u&&(e.utm_source="careerio",e.utm_medium="cioplatformcard",e.utm_campaign="tr_promocard_in_ciodash"),p&&(e.utm_source="resumeio",e.utm_medium="rioplatformcard",e.utm_campaign="tr_promocard_in_riodash"),t=new URLSearchParams(e),void window.open(`https://topresume.com/resume-writing?${t.toString()}`,"_blank")},colorTone:"Neutral",visual:vG,order:{0:1,1:0,2:0},cardName:"get_expert_help",isPremiumService:!1,cioDomainUrl:"https://topresume.com/resume-writing?pt=UWYxd6Xe2VTS0&utm_source=resumeio&utm_medium=rioplatformcard&utm_campaign=tr_promocard_in_riodash&utm_content=get_expert_help"},{enabled:!!d?.features?.careerProfile,targetEventName:"career_assessment",imgUrl:i(42860),title:n.t("builder.dashboard.service_data.cards.career_assessment.title"),subTitle:n.t("builder.dashboard.service_data.cards.career_assessment.subTitle"),action:c,colorTone:"Indigo",visual:j$,order:{0:2,1:1,2:1},cardName:"career_assessment",userPhotoUrl:x,isPremiumService:!1,cioDomainUrl:"https://career.io/app/career-profile/"},{enabled:!!d?.features?.careerExplorer,targetEventName:"explore_careers",imgUrl:i(64825),title:n.t("builder.dashboard.service_data.cards.explore_careers.title"),subTitle:n.t("builder.dashboard.service_data.cards.explore_careers.subTitle"),action:()=>r("/explore-careers"),colorTone:"Beige",visual:jZ,order:{0:0,1:0,2:2},isComingSoon:!0,modalVisual:i(93788),cardName:"explore_careers",modalTitle:"Explore available careers",isPremiumService:!0,cioDomainUrl:"https://career.io/app/explore-careers",modalDescription:"Uncover the demand for your desired job titles and discover the specific skills, education, and certifications required to pursue your dream career. "},{enabled:!!d?.features?.careerPath,targetEventName:"career_path",imgUrl:i(69865),title:n.t("builder.dashboard.service_data.cards.discover_your_next_steps.title"),subTitle:n.t("builder.dashboard.service_data.cards.discover_your_next_steps.subTitle"),action:()=>r("/career-path"),colorTone:"Beige",visual:v5,order:{0:0,1:3,2:3},userPhotoUrl:x,isPremiumService:!0,cioDomainUrl:"https://career.io/app/career-path"},{enabled:!!d?.features?.salaryAnalyzer,targetEventName:"salary_analyzer",imgUrl:i(83285),title:n.t("builder.dashboard.service_data.cards.know_your_worth.title"),subTitle:n.t("builder.dashboard.service_data.cards.know_your_worth.subTitle"),action:()=>r("/offer-analyzer"),colorTone:"Indigo",isPostPremiumActive:"post_premium"===y,visual:jI,order:{0:8,1:4,2:4},cardName:"know_your_worth",isPremiumService:!0,cioDomainUrl:"https://career.io/app/offer-analyzer"},{enabled:!!d?.features?.careerAdvice,targetEventName:"professional_resources",imgUrl:i(57920),title:n.t("builder.dashboard.service_data.cards.read_career_advice.title"),subTitle:n.t("builder.dashboard.service_data.cards.read_career_advice.subTitle"),action:()=>window.open("https://career.io/career-advice/career-development","_self"),colorTone:"Neutral",visual:vU,order:{0:0,1:5,2:0},cardName:"read_career_advice",isPremiumService:!1,cioDomainUrl:"https://career.io/career-advice/career-development"},{enabled:!!d?.features?.careerAdvice,targetEventName:"professional_resources",imgUrl:i(57920),title:n.t("builder.dashboard.service_data.cards.read_expert_advice.title"),subTitle:n.t("builder.dashboard.service_data.cards.read_expert_advice.subTitle"),action:()=>window.open("https://career.io/career-advice/career-change","_self"),colorTone:"Neutral",visual:vU,order:{0:0,1:0,2:1},cardName:"read_expert_advice",isPremiumService:!1,cioDomainUrl:"https://career.io/career-advice/career-change"},{enabled:!!d?.features?.careerAdvice,targetEventName:"professional_resources",imgUrl:i(57920),title:n.t("builder.dashboard.service_data.cards.read_job_search_advice.title"),subTitle:n.t("builder.dashboard.service_data.cards.read_job_search_advice.subTitle"),action:()=>window.open("https://career.io/career-advice/finding-a-job","_self"),colorTone:"Neutral",visual:vU,order:{0:9,1:0,2:0},cardName:"read_job_search_advice",isPremiumService:!0,cioDomainUrl:"https://career.io/career-advice/finding-a-job"},{enabled:!!d?.features?.jobSearchPlan,targetEventName:"job_search_strategy",imgUrl:i(96939),title:n.t("builder.dashboard.service_data.cards.execute_a_job_search.title"),subTitle:n.t("builder.dashboard.service_data.cards.execute_a_job_search.subTitle"),action:()=>r("/career-plans/execute-a-job-search"),colorTone:"Green",isPostPremiumActive:"post_premium"===y,visual:ja,order:{0:3,1:0,2:5},cardName:"execute_a_job_search",isPremiumService:!0,cioDomainUrl:"https://career.io/app/career-plans/execute-a-job-search"},{enabled:!!d?.features?.careerPlans,targetEventName:"first_90_days_plan",imgUrl:i(36026),title:n.t("builder.dashboard.service_data.cards.first_90_days_plan.title"),subTitle:n.t("builder.dashboard.service_data.cards.first_90_days_plan.subTitle"),action:()=>r("/career-plans/first-90-days"),colorTone:"Green",visual:ja,order:{0:0,1:1,2:0},cardName:"first_90_days_plan",isPremiumService:!0,cioDomainUrl:"https://career.io/app/career-plans/first-90-days"},{enabled:!!d?.features?.careerPlans,targetEventName:"plan_to_promotion",imgUrl:i(47962),title:n.t("builder.dashboard.service_data.cards.get_a_promotion.title"),subTitle:n.t("builder.dashboard.service_data.cards.get_a_promotion.subTitle"),action:()=>r("/career-plans/path-to-promotion"),colorTone:"Green",visual:ja,order:{0:0,1:2,2:0},cardName:"get_a_promotion",isPremiumService:!0,cioDomainUrl:"https://career.io/app/career-plans/path-to-promotion"},{enabled:!!d?.features?.resumeOptimizer,targetEventName:"resume_tailoring",imgUrl:i(10338),title:n.t("builder.dashboard.service_data.cards.tailor_your_resume.title"),subTitle:n.t("builder.dashboard.service_data.cards.tailor_your_resume.subTitle"),action:()=>{_?(r(`/resumes/${j}/edit`),t($.o1.setEditorPanelType("tailoring"))):(t(F.o1.openCreateResumeModal()),t(U.o1.setTailorResume()))},colorTone:"Blue",visual:jJ,isShowIcons:!0,isShowResume:!0,order:{0:5,1:0,2:0},cardName:"tailor_your_resume",isPremiumService:!1,cioDomainUrl:"not available"},{enabled:!0,targetEventName:"interview_prep",imgUrl:i(40669),title:n.t("builder.dashboard.service_data.cards.ace_job_interview.title"),subTitle:n.t("builder.dashboard.service_data.cards.ace_job_interview.subTitle"),action:()=>r(f),colorTone:"Green",isPostPremiumActive:"post_premium"===y,visual:je,order:{0:7,1:0,2:7}
1697,cardName:"ace_job_interview",userPhotoUrl:x,isPremiumService:!0,cioDomainUrl:b},{enabled:!0,targetEventName:"cover_letter",imgUrl:i(10338),title:n.t("builder.dashboard.service_data.cards.create_a_cover_letter.title"),subTitle:n.t("builder.dashboard.service_data.cards.create_a_cover_letter.subTitle"),action:()=>t(U.o1.createDocument({type:eZ.VC.coverLetter})),colorTone:"Blue",visual:jJ,isShowAdd:!0,isCoverLetter:!0,isShowCoverLetter:!0,order:{0:6,1:0,2:0},cardName:"create_a_cover_letter",isPremiumService:!1,cioDomainUrl:"not available"},{enabled:!!d?.features?.professionalHeadshot,targetEventName:"professional_headshot",imgUrl:i(69688),title:n.t("builder.dashboard.service_data.cards.professional_headshot.title"),subTitle:n.t("builder.dashboard.service_data.cards.professional_headshot.subTitle"),action:()=>r("#"),colorTone:"Neutral",visual:jW,order:{0:13,1:0,2:0},isComingSoon:!0,modalVisual:i(50075),cardName:"professional_headshot",modalTitle:"Professional Headshot",isPremiumService:!1,cioDomainUrl:"not available",modalDescription:"Always have an updated, professional headshot perfect for any social or employment profile without needing costly photography or difficult editing tools."},{enabled:!!d?.features?.resumeReview,targetEventName:"resume_review",imgUrl:i(54103),title:n.t("builder.dashboard.service_data.cards.get_resume_critique.title"),subTitle:n.t("builder.dashboard.service_data.cards.get_resume_critique.subTitle"),action:()=>r("#"),colorTone:"Neutral",visual:j0,order:{0:11,1:0,2:0},isComingSoon:!0,modalVisual:i(63499),cardName:"get_resume_critique",modalTitle:"Get a Resume Review",isPremiumService:!1,cioDomainUrl:"not available",modalDescription:"Receive a professional resume review from our expert team. We will assess readability, work experience, skills, and key information, providing you with valuable insights on how to enhance your resume."},{enabled:o,targetEventName:"resume_distribution",imgUrl:i(85004),title:n.t("builder.dashboard.service_data.cards.resume_distribution.title"),subTitle:n.t("builder.dashboard.service_data.cards.resume_distribution.subTitle"),action:()=>r("/resume-distribution"),colorTone:"Blue",visual:j3,order:{0:2},cardName:"resume_distribution",isPremiumService:!1,cioDomainUrl:"not available"},{enabled:!!d?.features?.jobSearch,targetEventName:"find_your_next_job",imgUrl:i(27242),title:n.t("builder.dashboard.service_data.cards.find_your_next_job.title"),subTitle:n.t("builder.dashboard.service_data.cards.find_your_next_job.subTitle"),action:()=>r("/job-search"),colorTone:"Indigo",visual:jI,order:{0:4,1:0,2:6},cardName:"find_your_next_job",userPhotoUrl:x,isPremiumService:!0,cioDomainUrl:"https://career.io/app/job-search?view=recommendation"},{enabled:!!d?.features?.jobTracking,targetEventName:"track_your_job",imgUrl:i(11097),title:n.t("builder.dashboard.service_data.cards.track_your_job.title"),subTitle:n.t("builder.dashboard.service_data.cards.track_your_job.subTitle"),action:()=>r("/job-tracking"),colorTone:"Indigo",visual:jI,order:{0:4,1:0,2:6},cardName:"track_your_job",userPhotoUrl:x,isPremiumService:!0,cioDomainUrl:"https://career.io/app/job-tracking"}];if(d?.features?.careerProfile){let e=a.find(e=>"career_assessment"===e.cardName),t=a.find(e=>"get_expert_help"===e.cardName),i=a.find(e=>"resume_distribution"===e.cardName);e&&(t?.enabled&&(e.order[0]=t.order[0]+1),o&&i&&(e.order[0]=i.order[0]+1))}return e>-1?a.filter(t=>t.order[`${e}`]&&t.enabled):a.filter(e=>e.enabled)},[n,x,y,d,e,_,t,r,j,u,p]),w=(0,R.useMemo)(()=>C.sort((t,i)=>t.order[`${e}`]-i.order[`${e}`]),[e,C]),k=(0,pc.uniqBy)(w,e=>e.targetEventName);return{isLoaded:A,services:k,onServiceCardClick:e=>{if(s(!l),!l&&e){let t=k.find(t=>t.cardName===e);t&&a(t)}},isComingSoonModal:l,comingSoonService:o}};var j6=i(19282);let j8=tt.Ay.header(["display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;user-select:none;",";",";"],tQ.$.Tablet`
1698    margin-bottom: 24px;
1699  `,tQ.$.Phone`
1700    margin-bottom: 16px;
1701  `),j9=tt.Ay.div(["display:flex;align-items:center;justify-content:flex-start;flex-grow:1;margin-right:32px;gap:16px;",";"],tQ.$.Phone`
1702    flex-direction: column;
1703    align-items: flex-start;
1704  `);tQ.$.Tablet`
1705    width: auto;
1706  `,tQ.$.Phone`
1707    width: 100%;
1708  `;let j7=tt.Ay.h1(["",";",";color:",";"],td.o5.M,td.BO.DemiBold,te.Jy.Neutral90);te.Jy.Indigo10,td.BO.DemiBold,te.Jy.Indigo70,te.Jy.Indigo70,td.o5.Caption,te.Jy.Neutral50,td.o5.Caption,te.Jy.Neutral90;let Ae=({title:e})=>(0,J.jsx)(j8,{children:(0,J.jsx)(j9,{children:(0,J.jsx)(j7,{children:e})})}),At=tt.Ay.div(["width:268px;height:336px;background:",";border-radius:16px;position:relative;cursor:pointer;",""],e=>e.bgColor,tQ.A.Phone`
1709    width: 242px;
1710    height: 321px;
1711  `),Ai=tt.Ay.div(["position:relative;overflow:hidden;width:100%;height:212px;flex-shrink:0;border-radius:16px 16px 0 0;"]),Ar=tt.Ay.div(["position:absolute;top:90%;bottom:0;left:0;right:0;background:",";"],e=>`
1712    linear-gradient(
1713      to bottom,
1714      ${(0,ti.j)(e.bgColor,0)} 0%,
1715      ${e.bgColor} 100%)
1716    `),An=tt.Ay.div(["width:85%;padding:10px;display:flex;flex-direction:column;align-items:flex-start;"]),Ao=tt.Ay.p(["position:absolute;
1716left:20px;top:67.26%;bottom:24.4%;color:",";",";",";margin-bottom:2px;",""],e=>e.color,td.BO.Medium,td.Ay.Subhead,tQ.A.Phone`
1717    left: 20px;
1718    top: 68.85%;
1719    bottom: 24.3%;
1720  `),Aa=tt.Ay.p(["position:absolute;left:7.46%;right:22.39%;top:76.19%;bottom:5.95%;",";",";color:",";opacity:",";margin-top:0px;"," ",";"],td.BO.Regular,td.Ay.Caption,e=>e.color,e=>e.isMouseOver?1:.6,tQ.A.Phone`
1721    left: 8.26%;
1722    right: 23.14%;
1723    top: 76.95%;
1724    bottom: 6.23%;
1725  `,e=>e.reduceLineHeight?"line-height: 1;":null),Al=tt.Ay.div(["position:absolute;width:32px;height:32px;left:216px;top:284px;background:",";border-radius:8px;display:flex;justify-content:center;align-items:center;cursor:pointer;",""],e=>e.bgColor,tQ.A.Phone`
1726    left: 190px;
1727    top: 269px;
1728  `);var As=({fillColor:e})=>(0,J.jsx)("svg",{width:"7",height:"9",viewBox:"0 0 7 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.41421 4.75736L0.585786 1.92893L2 0.514719L6.24264 4.75736L2 9L0.585786 7.58579L3.41421 4.75736Z",fill:e})}),Ad=({service:e,onClick:t})=>{let{imgUrl:i,subTitle:r,title:n,colorTone:o,isShowScore:a,isShowAdd:l,isShowIcons:s,isShowResume:d,isShowCoverLetter:c,isCoverLetter:u,visual:p,userPhotoUrl:h}=e,[x,m]=(0,R.useState)(!1),g={tone10:te.Jy[`${o}10`],tone15:j5[`${o}`],tone20:te.Jy[`${o}20`],tone30:te.Jy[`${o}30`],tone50:te.Jy[`${o}50`],tone80:te.Jy[`${o}80`]};return(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(At,{bgColor:x?g.tone15:g.tone10,onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onClick:e=>{t&&t(e)},children:[x&&e.isPostPremiumActive&&(0,J.jsx)(cC,{isDocument:!1}),(0,J.jsxs)(Ai,{children:[(0,J.jsx)(p,{imgUrl:i,alt:n,isMouseOver:x,colorScheme:g,isShowAdd:l,isShowIcons:s,isShowScore:a,isShowResume:d,isShowCoverLetter:c,userPhotoUrl:h,isCoverLetter:u}),(0,J.jsx)(Ar,{bgColor:x?g.tone15:g.tone10})]}),(0,J.jsxs)(An,{children:[(0,J.jsx)(Ao,{color:g.tone80,children:n}),(0,J.jsx)(Aa,{color:g.tone80,isMouseOver:x,reduceLineHeight:r.length>100,children:r})]}),(0,J.jsx)(Al,{bgColor:x?g.tone50:g.tone20,children:(0,J.jsx)(As,{fillColor:x?te.Jy.White:g.tone50})})]})})},Ac=i.p+"media/arrow-left10ffa84257848486.svg",Au=i.p+"media/arrow-rightf8cff41b760f9011.svg";let Ap=tt.Ay.div(["position:relative;user-select:none;&:before,&:after{content:'';position:absolute;z-index:2;top:0;bottom:0;width:calc(50vw);background:linear-gradient( 90deg,"," 0%,"," 128px,"," 100% );}&:before{right:",";transform:scaleX(-1);}&:after{left:",";}& .swiper{position:relative;overflow:visible;}& .swiper-wrapper{display:flex;position:relative;transition-property:transform;","}& .swiper-slide{display:flex;flex-direction:column;flex-shrink:0;}& .swiper-slide:not(:last-child){margin-right:16px;","}:root{--swiper-navigation-size:44px;}& .swiper-button-prev,.swiper-button-next{position:absolute;top:42%;width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;}& .swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{display:none;}& .swiper-button-prev:after,.swiper-button-next:after{width:40px;height:40px;background:",";border-radius:50%;display:flex;align-items:flex-end;border:1px solid ",";justify-content:center;box-shadow:0px 0px 1px rgba(15,56,113,0.32),0px 0px 0px rgba(15,56,113,0.12),0px 0px 1px rgba(15,56,113,0.08);}& .swiper-button-prev,.swiper-rtl .swiper-button-next{left:-20px;right:auto;}& .swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:url('","');}& .swiper-button-next,.swiper-rtl .swiper-button-prev{right:-20px;left:auto;}& .swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:url('","');}& .swiper-button-lock{display:none;}"],(0,ti.j)(te.Jy.White,0),te.Jy.White,te.Jy.White,({showShadow:e})=>`calc(100% ${e?"- 50px":"+ 32px"})`,({showShadow:e})=>`calc(100% ${e?"- 50px":"+ 32px"})`,e=>e?.marqueeEffect&&(0,tt.AH)(["transition-timing-function:linear;"]),tQ.$.Tablet`
1729      margin-right: 8px;
1730    `,te.Jy.White,te.Jy.Neutral10,Ac,Au),Ah=({services:e,onServiceCardClick:t,marqueeEffe
1730ct:i,unClickable:r,showShadow:n,showNavigationButton:o})=>{let{isPhone:a,isTablet:l}=(0,ih.e)(),s=(0,eW.N)(U.Tp.resumeStatus),d=(0,eW.N)(Z.Tp.postPremium),c=new URLSearchParams((0,L.zy)().search).get("tr_promo_banner"),u=(0,eU.wA)(),{getHost:p}=(0,ca.Ay)(),h=ca.l.includes(p),x=ew.D.getItem(h9.G.ACTIVE_TAB),m=null!==x?x:"find_a_job";return(0,J.jsx)(Ap,{showShadow:!a&&!l&&n,marqueeEffect:i,children:(0,J.jsx)(nl.RC,{modules:[na.Vx,na.Ze,na.FJ,na.Ij],grabCursor:!0,slidesPerView:"auto",navigation:!a&&!l&&o,direction:"horizontal",scrollbar:!0,mousewheel:!0,...i?{speed:2500,loop:!0,autoplay:{delay:.5,disableOnInteraction:!1}}:{},children:e.map(e=>{var i;return(0,J.jsx)(nl.qr,{children:(0,J.jsx)(Ad,{service:e,isLoading:(i=e.title,!!c&&("resume"===i||"tuner"===i)&&s===eZ.TF.skipped),onClick:async()=>{if(!r){if((0,N.xP)("click_feature_card",{target:e.targetEventName,label:m,source:"dashboard"}),e?.isComingSoon&&t(e?.cardName),!e?.isComingSoon&&h&&e?.isPremiumService&&"free"===d)return void u(F.o1.setPremiumServiceModal({isOpen:!0,serviceType:e?.targetEventName}));e?.isPostPremiumActive?u(F.o1.setTrackJobPaywall(!0)):e.action&&e.action()}}},e.title)},e.title)})})})},Ax=tt.Ay.div(["display:flex;"]),Am=tt.Ay.div(["flex-shrink:0;width:268px;height:376px;margin-right:16px;border-radius:16px;background-color:",";animation:"," 1s infinite linear;&:nth-child(1){animation-delay:-0.3s;}&:nth-child(2){animation-delay:-0.15s;}",""],te.Jy.Neutral10,im.dd,tQ.$.Tablet`
1731    margin-right: 8px;
1732  `),Ag=()=>(0,J.jsxs)(Ax,{children:[(0,J.jsx)(Am,{}),(0,J.jsx)(Am,{}),(0,J.jsx)(Am,{}),(0,J.jsx)(Am,{})]}),Ay=tt.Ay.div(["display:flex;align-items:center;justify-content:flex-end;gap:5px;width:174px;",";",";"],tQ.$.Tablet`
1733    width: auto;
1734  `,tQ.$.Phone`
1735    width: 100%;
1736    justify-content: flex-start;
1737    padding-top: 13px;
1738  `),Af=tt.Ay.img(["width:24px;height:24px;margin-bottom:-1px;"]),Ab=tt.Ay.div(["",";color:",";padding-right:4px;"],td.o5.Caption,te.Jy.Neutral50),A_=tt.Ay.div(["",";color:",";"],td.o5.Caption,te.Jy.Neutral90),Av=i(92016),Aj=()=>(0,J.jsxs)(Ay,{children:[(0,J.jsx)(Ab,{children:"Powered by"}),(0,J.jsx)(Af,{src:Av}),(0,J.jsx)(A_,{children:"Career.io"})]});te.Jy.Blue20,td.Ay.Caption,td.BO.Medium,te.Jy.Blue80;let AA=tt.Ay.div(["width:366px;height:416px;border-radius:16px;background:",";position:relative;"],te.Jy.White),AC=tt.Ay.div(["width:28px;height:28px;border-radius:50%;background-color:",";cursor:pointer;position:absolute;right:20px;top:20px;display:flex;justify-content:center;align-items:center;color:",";&:hover{color:",";}"],te.Jy.Neutral5,te.Jy.Neutral50,te.Jy.Blue50),Aw=tt.Ay.div(["width:100%;border-top-left-radius:16px;border-top-right-radius:16px;background:",";max-height:204px;"],te.Jy.White),Ak=tt.Ay.img(["border-top-left-radius:16px;border-top-right-radius:16px;"]),AS=tt.Ay.div(["background:",";border-bottom-left-radius:16px;border-bottom-right-radius:16px;"],te.Jy.White),AT=tt.Ay.div(["padding:16px 23px 24px;height:144px;"]),AP=tt.Ay.p(["",";",";color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral60),AJ=tt.Ay.p(["",";",";color:#000;margin:8px 0px;"],td.Ay.Subhead,td.BO.Medium),AE=tt.Ay.p(["",";",";color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral60),AR=tt.Ay.div(["padding:8px 24px 24px;width:100%;display:flex;justify-content:space-between;gap:16px;"]),AL=tt.Ay.div(["display:flex;justify-content:left;align-items:center;width:85px;margin-right:16px;"]),AN=tt.Ay.div(["height:8px;width:8px;border-radius:50%;background:",";transition:width 0.2s ease;margin-right:8px;"],({isActive:e})=>e?te.Jy.Blue50:te.Jy.Neutral15),AI=tt.Ay.div(["height:36px;padding:8px 12px;text-align:center;border-radius:4px;border:",";color:",";background:",";height:100%;width:217px;cursor:pointer;",";",";&:hover{border:",";color:",";background:",";}"],({isLastStep:e})=>`1px solid ${e?te.Jy.Blue50:te.Jy.Neutral20}`,({isLastStep:e})=>e?te.Jy.White:te.Jy.Neutral90,({isLastStep:e})=>e?te.Jy.Blue50:te.Jy.White,td.Ay.Caption,td.BO.Medium,({isLastStep:e})=>`1px solid ${e?te.Jy.Blue60:te.Jy.Blue50}`,({isLastStep:e})=>e?te.Jy.White:te.Jy.Blue50,({isLastStep:e})=>e?te.Jy.Blue60:te.Jy.White),AM=[{imgUrl:i.p+"media/discover4a3bc55b179bc77b.svg",title:"builder.promote_banners.job_tracking.discover.title",subt
1738itle:"builder.promote_banners.job_tracking.discover.sub_title",caption:"builder.promote_banners.job_tracking.discover.caption"},{imgUrl:i.p+"media/activatee43a038b555fb5b3.svg",title:"builder.promote_banners.job_tracking.active.title",subtitle:"",caption:"builder.promote_banners.job_tracking.active.caption"},{imgUrl:i.p+"media/relax52cfb8869de167ec.svg",title:"builder.promote_banners.job_tracking.relax.title",subtitle:"builder.promote_banners.job_tracking.relax.subtitle",caption:"builder.promote_banners.job_tracking.relax.caption"}],AB=({onClose:e,isBannerVisible:t,currentStep:i,setCurrentStep:r,steps:n=AM,lastStepClick:o})=>{let a=n[i],l=(0,R.useMemo)(()=>i===n.length-1,[i,n]);if(!t)return null;let s=""!==a.subtitle?i7.R.t(a.subtitle):a.subtitle;return(0,J.jsx)(i6.A,{contentSlideDuration:150,onClick:e,children:(0,J.jsxs)(AA,{children:[(0,J.jsx)(AC,{onClick:e,children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Aw,{children:(0,J.jsx)(Ak,{src:a.imgUrl,alt:s})}),(0,J.jsxs)(AS,{children:[(0,J.jsxs)(AT,{children:[(0,J.jsx)(AP,{children:i7.R.t(a.caption)}),(0,J.jsx)(AJ,{children:i7.R.t(a.title)}),(0,J.jsx)(AE,{children:s})]}),(0,J.jsxs)(AR,{children:[(0,J.jsx)(AL,{children:n.map((e,t)=>(0,J.jsx)(AN,{isActive:t===i},t))}),(0,J.jsx)(AI,{onClick:()=>{l?(window.open("https://chrome.google.com/webstore/detail/resumeio-job-tracker/aelljdlolpakdoeongoklpkheedfjkio","_blank"),o?.()):r(e=>e+1)},isLastStep:l,children:l?i7.R.t("builder.job_tracking.promote_banner.install"):i7.R.t("builder.job_tracking.promote_banner.next")})]})]})]})]})})};var AD=i.p+"media/chrome56ddaeca1ad85057.png",A$=i.p+"media/successa3d0fbc10da31da4.svg";let AO=tt.Ay.div(["width:100%;border-radius:12px;background-color:",";display:flex;justify-content:space-between;align-items:center;cursor:",";margin-bottom:",";&:hover{background-color:",";}"],({isChromeExtensionInstalled:e})=>e?te.Jy.Green10:te.Jy.Blue10,({isSidebar:e})=>e?"pointer":"",({componentType:e})=>"job_tracker_dashboard"===e?"16px":"",({isSidebar:e,isChromeExtensionInstalled:t})=>e&&!t?te.Jy.Blue20:""),Az=tt.Ay.div(["display:flex;margin:18px 20px;align-items:center;"]),AF=tt.Ay.div(["display:flex;flex-direction:column;margin-left:12px;"]),AH=tt.Ay.p(["",";",";color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Blue80),AV=tt.Ay.p(["",";",";color:",";"],td.Ay.Body,td.BO.Medium,({isChromeExtensionInstalled:e})=>e?te.Jy.Green50:te.Jy.Blue80),AU=tt.Ay.img(["width:32px;height:32px;"]),AW=(0,tt.Ay)(i$.$n)(["",";",";color:",";background-color:",";border:1px solid ",";height:36px;margin:16px 24px;&:hover{color:",";background-color:",";border:1px solid ",";}"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90,te.Jy.Blue10,te.Jy.Blue30,te.Jy.Blue50,te.Jy.Blue10,te.Jy.Blue50),AK=({onClick:e,isChromeExtensionInstalled:t,componentType:i})=>{let r="job_tracker_sidebar"===i,{features:n}=(0,d2.t)();(0,R.useEffect)(()=>{(0,N.xP)("view_banner_chrome",{label:"job_tracker",source:i})},[i]);let o=n.international||n.superApp?i7.R.t("builder.promote_banners.extension_promotion_banner.title_dashboard_v2"):i7.R.t("builder.promote_banners.extension_promotion_banner.title"),a=t?i7.R.t("builder.promote_banners.extension_promotion_banner.title_2"):r?i7.R.t("builder.promote_banners.extension_promotion_banner.title2"):o,l=!r&&!t,s=r&&!t;return(0,J.jsxs)(AO,{isChromeExtensionInstalled:t,onClick:r?e:void 0,isSidebar:r,componentType:i,children:[(0,J.jsxs)(Az,{children:[(0,J.jsx)(AU,{src:t?A$:AD}),(0,J.jsxs)(AF,{children:[(0,J.jsx)(AV,{isChromeExtensionInstalled:t,children:a}),s&&(0,J.jsx)(AH,{children:i7.R.t("builder.promote_banners.extension_promotion_banner.subtitle")})]})]}),l&&(0,J.jsx)(AW,{size:i$.Mp.small,onClick:r?void 0:e,children:i7.R.t("builder.promote_banners.extension_promotion_banner.button")})]})},Aq=[{imgUrl:i.p+"media/save8c041e0fe22506c5.svg",title:"builder.promote_banners.chrome_extension.save.title",subtitle:"builder.promote_banners.chrome_extension.save.subtitle",caption:"builder.promote_banners.chrome_extension.save.caption"},{imgUrl:i.p+"media/edit53fbf407290b38fe.svg",title:"builder.promote_banners.chrome_extension.edit.title",subt
1738itle:"builder.promote_banners.chrome_extension.edit.subtitle",caption:"builder.promote_banners.chrome_extension.edit.caption"},{imgUrl:i.p+"media/organize5cba65789931142c.svg",title:"builder.promote_banners.chrome_extension.organize.title",subtitle:"builder.promote_banners.chrome_extension.organize.subtitle",caption:"builder.promote_banners.chrome_extension.organize.caption"}];var AG=({showOnboarding:e,componentType:t})=>{let i="job_tracker",[r,n]=(0,R.useState)(!1),[o,a]=(0,R.useState)(0),l=(0,ih.e)(),s=(0,R.useRef)(),d=(0,eU.wA)(),{features:c}=(0,d2.t)(),u=(0,eW.N)(K.Tp.hasInstalledExtension),p=(0,eW.N)(K.Tp.canInstallExtension),h=async()=>fetch(`chrome-extension://${K._B}/icon128.png`).then(()=>!0).catch(()=>!1),x=(0,R.useCallback)(async()=>{let e=/Chrome/i.test(navigator.userAgent)&&!(l.isPhone||l.isTablet),t=await h();d(K.o1.setHasInstalledExtension(t)),d(K.o1.setCanInstallExtension(e&&!t))},[l.isPhone,l.isTablet,d]);(0,R.useEffect)(()=>{x()},[x]),(0,R.useEffect)(()=>()=>{clearInterval(s.current)},[]);let m=()=>{"job_tracker_dashboard"===t&&(0,N.xP)("click_install_chrome",{label:i,source:t}),n(!1),clearTimeout(s.current),s.current=setInterval(async()=>{let e=await h();e&&clearInterval(s.current),d(K.o1.setHasInstalledExtension(e))},4e3)};if(!p)return null;let g="job_tracker_sidebar"===t&&u;return(0,J.jsxs)(J.Fragment,{children:[!g&&c?.jobTrackerChromeExtension&&c.autoApply&&(0,J.jsx)(AK,{onClick:()=>{(0,N.xP)("click_banner_cta_chrome",{label:i,source:t}),e?(a(0),n(!0)):(window.open(K.ae,"_blank"),m())},isChromeExtensionInstalled:u,componentType:t}),(0,J.jsx)(AB,{steps:Aq,isBannerVisible:r,onClose:()=>{n(!1)},currentStep:o,setCurrentStep:a,lastStepClick:m})]})};let AZ=tt.Ay.div(["position:relative;user-select:none;display:flex;gap:16px;flex-wrap:wrap;"]),AX=({services:e,onServiceCardClick:t,tabTitle:i})=>{let r=(0,eU.wA)(),n=(0,eW.N)(U.Tp.resumeStatus),o=pp({name:i}),a=new URLSearchParams((0,L.zy)().search).get("tr_promo_banner"),{getHost:l}=(0,ca.Ay)();return(0,J.jsxs)(J.Fragment,{children:[o?.index===0&&(0,J.jsx)(AG,{showOnboarding:!0,componentType:"job_tracker_dashboard"}),(0,J.jsx)(AZ,{children:e.map(e=>{var o;return(0,J.jsx)(Ad,{service:e,isLoading:(o=e.title,!!a&&("resume"===o||"tuner"===o)&&n===eZ.TF.skipped),onClick:async()=>{(0,N.xP)("click_feature_card",{label:i,target:e.targetEventName,website_host:l,source:"dashboard"}),e?.isComingSoon&&t(e?.cardName),e?.isPostPremiumActive?r(F.o1.setTrackJobPaywall(!0)):e.action&&e.action()}},e.title)})})]})},AQ=()=>{let e=(0,eW.N)(U.Tp.activeTabId),t=(0,eU.d4)(Z.Tp.userData),i=(0,e0.U)(),r=i?.features.superApp,n=i?.features.international,o=!t?.hasPremiumFeatures&&!r&&n,{isPhone:a,isDesktopWithDash:l,isDesktop:s}=(0,ih.e)(),d=pp({index:e}),c=r||n?l:s,{isLoaded:u,services:p,onServiceCardClick:h,isComingSoonModal:x,comingSoonService:m}=j4(e);return(0,J.jsxs)(dU,{marginTop:56*(0===e),children:[x&&(0,J.jsx)(j6.A,{visual:m?.modalVisual||"",trackingLabel:"execute_a_job_search",title:m?.modalTitle||"",text:m?.modalDescription||"",onClose:h}),(0,J.jsx)(Ae,{isFreeUser:o,title:d?.text}),u?c?(0,J.jsx)(AX,{services:p,onServiceCardClick:h,tabTitle:d?.name,isSuperApp:r}):(0,J.jsx)(Ah,{showShadow:r||n,showNavigationButton:r||n,services:p,onServiceCardClick:h}):(0,J.jsx)(Ag,{}),a&&!r&&(0,J.jsx)(Aj,{})]})},AY=tt.Ay.div(["display:flex;flex-wrap:wrap;height:304px;background:",";",";"],te.Jy.Neutral5,tQ.A.Phone`
1739    height: 444px;
1740  `),A0=tt.Ay.div(["position:absolute;height:36px;top:56px;color:",";",";",";",";",";"],te.Jy.Neutral90,td.Ay.M,td.BO.DemiBold,tQ.A.Tablet`
1741    left: 20px;
1742    top: 56px;
1743  `,tQ.A.Phone`
1744    ${td.Ay.M};
1745    ${td.BO.DemiBold};
1746    top: 210px;
1747    width: 100%;
1748    padding-left:10px;
1749    margin: 0px;
1750    left: 50%;
1751    transform: translate(-50%);
1752    padding-left:25px;
1753  `),A1=tt.Ay.div(["position:absolute;width:352px;height:72px;top:104px;color:",";",";",";",";",";@media (max-width:280px){top:258px;}"],te.Jy.Neutral90,td.Ay.Body,td.BO.Regular,tQ.A.Tablet`
1754    left: 20px;
1755  `,tQ.A.Phone`
1756    ${td.Ay.Caption};
1757    top: 238px;
1758    width: 100%;
1759    height: 40px;
1760    padding:10px;
1761    left: 50%;
1762    transform: translate(-50%);
1763    padding-left:25px;
1764  `),A2=(0,tt.Ay)(i$.Ay)(["gap:10px;height:48px;top:200px;width:174px;border-radius:4px;background:",";margin:10px;",";",""],te.Jy.Blue50,tQ.A.Tablet`
1765    top: 200px;
1766  `,tQ.A.Phone`
1767    position: absolute;
1768    width: 90%;
1769    top: 308px;
1770    border-radius: 4px;
1771    left: 5%;
1772    right: 5%;
1773    margin:0px;
1774  `),A3=(0,tt.Ay)(i$.Ay)(["gap:10px;top:200px;width:114px;border:solid ",";border-radius:4px;color:",";background:",";&:hover{background:",";}",";",""],te.Jy.Neutral10,te.Jy.Neutral90,te.Jy.Neutral5,te.Jy.Neutral5,tQ.A.Tablet`
1775    top: 200px;
1776  `,tQ.A.Phone`
1777    position: absolute;
1778    width: 90%;
1779    top: 364px;
1780    border-radius: 4px;
1781    left: 5%;
1782    right: 5%;
1783  `),A5=tt.Ay.button(["width:293px;margin-right:102px;height:293px;border:solid ",";"," ",""],te.Jy.Neutral5,tQ.A.Tablet`
1784    height: 273px;
1785    position:absolute;
1786    right: 56px;
1787    margin-right:12px;
1788  `,tQ.A.Phone`
1789    position:absolute;
1790    width: 196.33px;
1791    height: 176.33px;
1792    top: 21.44px;
1793    margin: 0;
1794    left: 50%;
1795    transform: translate(-50%);
1796  `),A4=tt.Ay.img(["width:293px;margin-right:102px;margin-top:32px;max-height:293px;height:auto;"," ",""],tQ.A.Tablet`
1797    height: 253px;
1798    right: 56px;
1799    margin-top: 32px;
1800    margin-right:8px;
1801  `,tQ.A.Phone`
1802    position:absolute;
1803    width: 196.33px;
1804    height: 166.33px;
1805    top: 10.44px;
1806    margin: 0;
1807    left: 50%;
1808    transform: translate(-50%);
1809    z-index:-1;
1810  `),A6=tt.Ay.img(["position:absolute;width:40px;height:40px;margin-left:268px;top:23px;"," ",""],tQ.A.Tablet`
1811    top: 16px;
1812  `,tQ.A.Phone`
1813    top: 4px;
1814    width: 21.6px;
1815    height: 21.6px;
1816    margin-left: 84px;
1817  `);(0,ti.j)(te.Jy.Neutral5,0),te.Jy.Neutral5,te.Jy.Neutral5,tQ.A.Tablet`
1818    top: 185px;
1819    margin-right:4px;
1820  `,tQ.A.Phone`
1821    height: 71.2px;
1822    top: 95px;
1823    width: 196.33px;
1824    margin: 0;
1825    left: 50%;
1826    transform: translate(-50%);
1827  `;let A8=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;flex-grow:1;margin-right:32px;",";"],tQ.A.Phone`
1828    margin-right: 0;
1829    margin-bottom: 20px;
1830  `),A9=tt.Ay.div(["display:flex;align-items:center;",";",";"],tQ.A.Tablet`
1831    width: auto;
1832  `,tQ.A.Phone`
1833    width: 100%;
1834  `),A7=tt.Ay.div(["float:left;"]),Ce=i(65297),Ct=i(95117);var Ci=({title:e,subTitle:t,leftButton:i,rightButton:r,toggle:n,viewMyResume:o})=>(0,J.jsxs)(AY,{children:[(0,J.jsxs)(A8,{children:[(0,J.jsx)(A0,{children:e}),(0,J.jsx)(A1,{children:t}),(0,J.jsxs)(A7,{children:[(0,J.jsx)(A3,{onClick:n,children:i}),(0,J.jsx)(A2,{onClick:o,children:r})]})]}),(0,J.jsx)(A9,{children:(0,J.jsxs)(A5,{children:[(0,J.jsx)(A6,{src:Ct}),(0,J.jsx)(A4,{src:Ce})]})})]});let Cr=tt.Ay.div(["display:flex;flex-wrap:wrap;height:304px;background:",";",";"],te.Jy.Neutral5,tQ.A.Phone`
1835    height: 465px;
1836  `),Cn=tt.Ay.div(["position:absolute;height:36px;top:56px;color:",";",";",";",";",";"],te.Jy.Neutral90,td.Ay.M,td.BO.DemiBold,tQ.A.Tablet`
1837    left: 20px;
1838    top: 56px;
1839  `,tQ.A.Phone`
1840    ${td.Ay.M};
1841    ${td.BO.DemiBold};
1842    top: 210px;
1843    width: 100%;
1844    padding-left:10px;
1845    margin: 0px;
1846    left: 50%;
1847    transform: translate(-50%);
1848    padding-left:25px;
1849  `),Co=tt.Ay.div(["position:absolute;width:352px;height:72px;top:104px;color:",";",";",";",";",";"],te.Jy.Neutral90,td.Ay.Body,td.BO.Regular,tQ.A.Tablet`
1850    left: 20px;
1851  `,tQ.A.Phone`
1852    ${td.Ay.Caption};
1853    top: 238px;
1854    width: 100%;
1855    height: 40px;
1856    padding:10px;
1857    left: 50%;
1858    transform: translate(-50%);
1859    padding-left:25px;
1860  `),Ca=(0,tt.Ay)(i$.Ay)(["gap:10px;height:48px;top:200px;width:174px;border-radius:4px;background:",";margin:10px;",";",""],te.Jy.Blue50,tQ.A.Tablet`
1861    top: 200px;
1862  `,tQ.A.Phone`
1863    position: absolute;
1864    width: 90%;
1865    top: 328px;
1866    border-radius: 4px;
1867    left: 5%;
1868    right: 5%;
1869    margin:0px;
1870  `),Cl=(0,tt.Ay)(i$.Ay)(["gap:10px;top:200px;width:114px;border:solid ",";border-radius:4px;color:",";background:",";&:hover{background:",";}",";",""],te.Jy.Neutral10,te.Jy.Neutral90,te.Jy.Neutral5,te.Jy.Neutral5,tQ.A.Tablet`
1871    top: 200px;
1872  `,tQ.A.Phone`
1873    position: absolute;
1874    width: 90%;
1875    top: 384px;
1876    border-radius: 4px;
1877    left: 5%;
1878    right: 5%;
1879  `),Cs=tt.Ay.button(["box-sizing:border-box;width:293px;margin-right:102px;margin-top:32px;border:solid ",";border-width:3px 3px 0px 3px;border-radius:15px 15px 0px 0px;height:293px;"," ",""],te.Jy.Neutral10,tQ.A.Tablet`
1880    height: 273px;
1881    position:absolute;
1882    right: 56px;
1883    margin-right:12px;
1884  `,tQ.A.Phone`
1885    position:absolute;
1886    width: 196.33px;
1887    height: 176.33px;
1888    top: 21.44px;
1889    margin: 0;
1890    left: 50%;
1891    transform: translate(-50%);
1892  `);te.Jy.Neutral5,tQ.A.Tablet`
1893    height: 273px;
1894    position:absolute;
1895    right: 56px;
1896    margin-right:12px;
1897  `,tQ.A.Phone`
1898    position:absolute;
1899    width: 196.33px;
1900    height: 176.33px;
1901    top: 21.44px;
1902    margin: 0;
1903    left: 50%;
1904    transform: translate(-50%);
1905  `,tQ.A.Tablet`
1906    height: 253px;
1907    right: 56px;
1908    margin-top: 32px;
1909    margin-right:8px;
1910  `,tQ.A.Phone`
1911    position:absolute;
1912    width: 196.33px;
1913    height: 166.33px;
1914    top: 10.44px;
1915    margin: 0;
1916    left: 50%;
1917    transform: translate(-50%);
1918    z-index:-1;
1919  `,tQ.A.Tablet`
1920    height: 263px;
1921  `,tQ.A.Phone`
1922    height: 168px;
1923    width: 157px;
1924    padding-top: 10.43px;
1925    border-radius: 0px;
1926  `;let Cd=tt.Ay.img(["position:absolute;width:40px;height:40px;margin-left:123px;top:20px;"," ",""],tQ.A.Tablet`
1927    top: -20px;
1928    margin-left: 238px;
1929  `,tQ.A.Phone`
1930    top: -10px;
1931    width: 21.6px;
1932    height: 21.6px;
1933    margin-left: 164px;
1934  `);tQ.A.Tablet`
1935    top: 16px;
1936  `,tQ.A.Phone`
1937    top: 4px;
1938    width: 21.6px;
1939    height: 21.6px;
1940    margin-left: 84px;
1941  `;let Cc=tt.Ay.div(["width:293px;height:101.2px;position:absolute;top:204px;margin-left:-10px;background:linear-gradient( to bottom,",","," 100%,"," 0% );"," ",";"],(0,ti.j)(te.Jy.Neutral5,0),te.Jy.Neutral5,te.Jy.Neutral5,tQ.A.Phone`
1942    top: 130px;
1943    height: 81.2px;
1944    width: 196.33px;
1945    margin: 0;
1946    left: 50%;
1947    transform: translate(-50%);
1948  `,tQ.A.Tablet`
1949  margin-top: -35px;
1950  `);(0,ti.j)(te.Jy.Neutral5,0),te.Jy.Neutral5,te.Jy.Neutral5,tQ.A.Tablet`
1951    top: 185px;
1952    margin-right:4px;
1953  `,tQ.A.Phone`
1954    height: 71.2px;
1955    top: 95px;
1956    width: 196.33px;
1957    margin: 0;
1958    left: 50%;
1959    transform: translate(-50%);
1960  `;let Cu=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;flex-grow:1;margin-right:32px;",";"],tQ.A.Phone`
1961    margin-right: 0;
1962    margin-bottom: 20px;
1963  `),Cp=tt.Ay.div(["display:flex;align-items:center;",";",";"],tQ.A.Tablet`
1964    width: auto;
1965  `,tQ.A.Phone`
1966    width: 100%;
1967  `),Ch=tt.Ay.div(["float:left;"]),Cx=tt.Ay.div(["position:relative;width:100%;flex-shrink:0;border-radius:16px 16px 0 0;"]),Cm=i(81759);var Cg=()=>{let e=(0,L.Zp)(),t=(0,eU.wA)(),{i18n:i}=(0,e1.s)(),[r,n]=(0,R.useState)(!0),o=(0,eW.N)(U.Tp.tunerResumeId),[a,l]=(0,i3.ok)(),s=(0,eW.N)(U.Tp.resumeStatus)===eZ.TF.failed,{careerTasks:d}=t4(),{visual:c}=d[0],u=()=>{n(!r),(0,N.xP)("tr_banner_click_try_later",{label:"tr_leads_to_cio"}),ew.D.clear(),a.has("tr_promo_banner")&&(a.delete("tr_promo_banner"),l(a))},p=()=>
1967{o?e(`/resumes/${o}/edit`):t(U.o1.createDocument({type:eZ.VC.resume})),(0,N.xP)("tr_banner_click_view_my_resume",{label:"tr_leads_to_cio"}),ew.D.clear()};return(0,J.jsx)(J.Fragment,{children:s?(0,J.jsx)(Ci,{title:i.t("builder.panel.career_foundation_error_state_banner.title"),subTitle:i.t("builder.panel.career_foundation_error_state_banner.text"),leftButton:i.t("builder.panel.career_foundation_error_state_banner.dismiss_button"),rightButton:i.t("builder.panel.career_foundation_error_state_banner.build_resume_button"),toggle:u,viewMyResume:p}):(0,J.jsx)(R.Fragment,{children:r&&(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(Cr,{children:[(0,J.jsxs)(Cu,{children:[(0,J.jsx)(Cn,{children:i.t("builder.panel.career_foundation_resume_banner.title")}),(0,J.jsx)(Co,{children:i.t("builder.panel.career_foundation_resume_banner.text")}),(0,J.jsxs)(Ch,{children:[(0,J.jsx)(Cl,{onClick:u,children:i.t("builder.panel.career_foundation_resume_banner.try_later_button")}),(0,J.jsx)(Ca,{onClick:p,children:i.t("builder.panel.career_foundation_resume_banner.view_my_resume_button")})]})]}),(0,J.jsx)(Cp,{children:(0,J.jsxs)(Cs,{children:[(0,J.jsx)(Cd,{src:Cm}),(0,J.jsx)(Cx,{children:c}),(0,J.jsx)(Cc,{})]})})]})})})})};let Cy=tt.Ay.div(["display:flex;align-items:center;min-width:0;height:304px;background:",";",";"],te.Jy.Neutral5,tQ.A.Phone`
1968    height: 340px;
1969  `),Cf=tt.Ay.div(["position:absolute;width:352px;height:40px;top:90px;color:",";",";",";",";",";"],te.Jy.Neutral90,td.Ay.L,td.BO.DemiBold,tQ.A.Tablet`
1970    ${td.Ay.M};
1971    ${td.BO.DemiBold};
1972    height: 36px;
1973    left: 20px;
1974    top: 104px;
1975  `,tQ.A.Phone`
1976    ${td.Ay.M};
1977    ${td.BO.DemiBold};
1978    width: 100%;
1979    height: 30px;
1980    top: 230px;
1981    padding-left:20px;
1982    margin: 0px;
1983    left: 50%;
1984    transform: translate(-50%);
1985  `),Cb=tt.Ay.div(["position:absolute;width:352px;height:48px;top:154px;",";color:",";",";",";",";"],td.Ay.Body,te.Jy.Neutral90,td.BO.Regular,tQ.A.Tablet`
1986    left: 20px;
1987    top: 152px;
1988  `,tQ.A.Phone`
1989    ${td.Ay.Caption};
1990    width: 100%;
1991    height: 40px;
1992    top: 258px;
1993    padding-top:10px;
1994    padding-left:20px;
1995    left: 50%;
1996    transform: translate(-50%);
1997  `),C_=tt.Ay.img(["margin-right:102px;top:96px;width:260px;",";",";"],tQ.A.Tablet`
1998    right: 16px;
1999  `,tQ.A.Phone`
2000  position:absolute;
2001    margin: 0;
2002    left: 50%;
2003    transform: translate(-50%);
2004    top: 66px;
2005    height: 96px
2006    width: 200px;
2007  `),Cv=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;flex-grow:1;margin-right:32px;",";"],tQ.A.Phone`
2008    margin-right: 0;
2009    margin-bottom: 20px;
2010  `),Cj=tt.Ay.div(["display:flex;align-items:center;",";",";"],tQ.A.Tablet`
2011    width: auto;
2012  `,tQ.A.Phone`
2013    width: 100%;
2014  `);var CA=({title:e,subTitle:t,bannerImage:i})=>(0,J.jsxs)(Cy,{children:[(0,J.jsxs)(Cv,{children:[(0,J.jsx)(Cf,{children:e}),(0,J.jsx)(Cb,{children:t})]}),(0,J.jsx)(Cj,{children:(0,J.jsx)(C_,{alt:"Welcome Banner",src:i})})]});let CC=i(34225);var Cw=()=>{let e=(0,eW.N)(U.Tp.resumeStatus),{i18n:t}=(0,e1.s)();return(0,J.jsx)(R.Fragment,{children:e===eZ.TF.failed||e===eZ.TF.done?(0,J.jsx)(Cg,{}):(0,J.jsx)(CA,{title:t.t("builder.panel.career_foundation_welcome_banner.title"),subTitle:t.t("builder.panel.career_foundation_welcome_banner.text"),bannerImage:CC})})};let Ck=tt.Ay.div(["display:flex;flex-wrap:wrap;height:304px;background:",";",";"],te.Jy.Neutral5,tQ.A.Phone`
2015    height: 465px;
2016  `);te.Jy.Neutral5,tQ.A.Phone`
2017    height: 340px;
2018  `;let CS=tt.Ay.div(["position:absolute;height:36px;top:56px;color:",";",";",";",";",";"],te.Jy.Neutral90,td.Ay.M,td.BO.DemiBold,tQ.A.Tablet`
2019    left: 20px;
2020    top: 56px;
2021  `,tQ.A.Phone`
2022    ${td.Ay.M};
2023    ${td.BO.DemiBold};
2024    top: 210px;
2025    width: 100%;
2026    padding-left:10px;
2027    margin: 0px;
2028    left: 50%;
2029    transform: translate(-50%);
2030    padding-left:25px;
2031  `),CT=tt.Ay.div(["position:absolute;width:352px;height:72px;top:104px;",";",";",";",";@media (max-width:280px){top:258px;}"],td.Ay.Body,td.BO.Regular,tQ.A.Tablet`
2032    left: 20px;
2033  `,tQ.A.Phone`
2034    ${td.Ay.Caption};
2035    top: 238px;
2036    width: 100%;
2037    height: 40px;
2038    padding:10px;
2039    left: 50%;
2040    transform: translate(-50%);
2041    padding-left:25px;
2042  `),CP=(0,tt.Ay)(i$.Ay)(["gap:10px;height:48px;top:200px;width:174px;border-radius:4px;background:",";margin:10px;",";",""],te.Jy.Blue50,tQ.A.Tablet`
2043    top: 200px;
2044  `,tQ.A.Phone`
2045    position: absolute;
2046    width: 90%;
2047    top: 328px;
2048    border-radius: 4px;
2049    left: 5%;
2050    right: 5%;
2051    margin:0px;
2052  `),CJ=(0,tt.Ay)(i$.Ay)(["gap:10px;top:200px;width:114px;border:solid ",";border-radius:4px;color:",";background:",";&:hover{background:",";}",";",""],te.Jy.Neutral10,te.Jy.Neutral90,te.Jy.Neutral5,te.Jy.Neutral5,tQ.A.Tablet`
2053    top: 200px;
2054  `,tQ.A.Phone`
2055    position: absolute;
2056    width: 90%;
2057    top: 384px;
2058    border-radius: 4px;
2059    left: 5%;
2060    right: 5%;
2061  `),CE=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;flex-grow:1;margin-right:32px;",";"],tQ.A.Phone`
2062    margin-right: 0;
2063    margin-bottom: 20px;
2064  `),CR=tt.Ay.div(["display:flex;align-items:center;",";",";"],tQ.A.Tablet`
2065    width: auto;
2066  `,tQ.A.Phone`
2067    width: 100%;
2068  `),CL=tt.Ay.div(["float:left;"]),CN=tt.Ay.div(["box-sizing:border-box;width:293px;margin-right:72px;
2068height:293px;"," ",""],tQ.A.Tablet`
2069    height: 273px;
2070    position:absolute;
2071    right: 56px;
2072    margin-right:12px;
2073  `,tQ.A.Phone`
2074    position:absolute;
2075    width: 226.33px;
2076    height: 144.33px;
2077    top: 21.44px;
2078    margin: 0;
2079    left: 50%;
2080    transform: translate(-50%);
2081  `),CI=tt.Ay.img(["position:absolute;width:56px;height:56px;flex-shrink:0;border-radius:50%;margin-top:30px;margin-left:5px;"," ",""],tQ.A.Tablet`
2082  margin-left: 8px;
2083  `,tQ.A.Phone`
2084  width: 40.7px;
2085  height: 40.7px;
2086  margin-top: -5px;
2087  margin-left: 14px;
2088  `),CM=tt.Ay.div(["position:absolute;width:24px;height:24px;flex-shrink:0;border-radius:50%;margin-top:60px;margin-left:40px;color:",";box-shadow:0 0 0 4px ",";background-color:",";border-radius:50%;",""],te.Jy.White,te.Jy.Neutral5,te.Jy.Indigo80,tQ.A.Phone`
2089  width: 20.3px;
2090  height: 20.3px;
2091  margin-top: 17px;
2092  `),CB=(0,tt.Ay)(tP.EK.Star)(["width:24px;height:24px;",""],tQ.A.Phone`
2093  width: 20.3px;
2094  height: 20.3px;
2095  `),CD=tt.Ay.iframe.attrs({frameBorder:0})(["width:278px;height:196px;margin-top:100px;overflow:hidden;margin-left:5px;"," ",""],tQ.A.Tablet`
2096    height: 187px;
2097  `,tQ.A.Phone`
2098    width: 205px;
2099    height: 144.53px;
2100    margin-top: 46.43px;
2101    margin-left: 15px;
2102    border-radius: 0px;
2103  `),C$=tt.Ay.div(["width:293px;height:101.2px;position:absolute;top:204px;margin-left:-10px;background:linear-gradient( to bottom,",","," 100%,"," 0% );"," ",";"],(0,ti.j)(te.Jy.Neutral5,0),te.Jy.Neutral5,te.Jy.Neutral5,tQ.A.Phone`
2104    top: 128px;
2105    height: 81.2px;
2106    width: 206.33px;
2107    margin: 0;
2108    left: 52%;
2109    transform: translate(-50%);
2110  `,tQ.A.Tablet`
2111  margin-top: -18px;
2112  `),CO=tt.Ay.div(["position:absolute;height:24px;margin-top:40px;margin-left:76px;",";",";display:flex;align-items:center;color:",";",";"],td.Ay.Body,td.BO.DemiBold,te.Jy.Neutral80,tQ.A.Phone`
2113    margin-top: 0px;
2114    margin-left: 68px;
2115    ${td.Ay.Tiny};
2116    ${td.BO.DemiBold};
2117    margin-bottom: 4px;
2118    height: 18px;
2119    `),Cz=tt.Ay.div(["position:absolute;height:16px;margin-top:62px;margin-left:76px;",";",";display:flex;align-items:center;color:",";",";"],td.Ay.Tiny,td.BO.Regular,te.Jy.Neutral50,tQ.A.Phone`
2120    margin-top: 18px;
2121    margin-left: 68px;
2122    font-size: 10.0172px;
2123    line-height: 11px;
2124    margin-bottom: 4px;
2125    height: 12px;
2126  `);var CF=()=>{let[e,t]=(0,R.useState)(!0),i=(0,L.Zp)(),r=(0,eU.wA)(),n=(0,eW.N)(U.Tp.tunerResumeId),[o,a]=(0,i3.ok)(),l=(0,eW.N)(ex.Tp.isCritiquePageCount);ew.D.setItem("visitedBefore",l?"true":"false");let s=(0,eW.N)(ex.Tp.triggeredCritiqueStatus),d=s.status===ex.oV.finished,c=s.status===ex.oV.failed;return(0,R.useEffect)(()=>{d&&(0,N.xP)("see_the_critique_banner_critique_ready")},[d]),(0,J.jsxs)(J.Fragment,{children:[d&&(0,J.jsx)(J.Fragment,{children:e&&(0,J.jsx)(R.Fragment,{children:(0,J.jsxs)(Ck,{children:[(0,J.jsxs)(CE,{children:[(0,J.jsx)(CS,{children:"Resume review is ready!"}),(0,J.jsx)(CT,{children:"Check personalized tips by resume expert Joe Miller on how you can improve resume"}),(0,J.jsxs)(CL,{children:[(0,J.jsx)(CJ,{onClick:()=>{t(!e),o.has("critique_review")&&(o.delete("critique_review"),a(o))},children:"Not Now"}),(0,J.jsx)(CP,{onClick:()=>{var e;(e=s.iframeUrl)&&(r(ex.o1.setCritiquePageVisitedCount(!0)),window.open(`${e}${ix.Kw}`))},children:"View Resume Review"})]})]}),(0,J.jsx)(CR,{children:(0,J.jsxs)(CN,{children:[(0,J.jsx)(CI,{src:s.reviewer?.photoUrl}),(0,J.jsx)(CM,{children:(0,J.jsx)(CB,{})}),(0,J.jsx)(CO,{children:s.reviewer?.name}),(0,J.jsx)(Cz,{children:"Resume Expert, TopResume"}),(0,J.jsx)(CD,{src:s?.iframeUrl}),(0,J.jsx)(C$,{})]})})]})})}),c&&(0,J.jsx)(Ci,{title:"Oops! Something went wrong",subTitle:"We couldn't pars your resume. You can try again or create a new resume by using our winning templates",leftButton:"Try Again",rightButton:"Create Resume",toggle:()=>{window.location.reload()},viewMyResume:()=>{n?i(`/resumes/${n}/edit`):r(U.o1.createDocument({type:eZ.VC.resume})),(0,N.xP)("tr_banner_click_view_my_resume",{label:"tr_leads_to_cio"})}})]})};let CH=tt.Ay.div(["display:flex;flex-wrap:wrap;height:304px;",";",";@media (max-width:280px){height:380px;}"],tQ.A.Phone`
2127    height: 363px;
2128    width: 100%
2129  `,tQ.A.Tablet`
2130    width: 470px;
2131  `),CV=tt.Ay.div(["width:293px;margin-right:102px;height:293px;"," "," @media (max-width:280px){left:27%;transform:translate(-30%);}"],tQ.A.Tablet`
2132    height: 284px;
2133    position:absolute;
2134    margin-top: 64px;
2135    right: 0px;
2136    margin-right:5px;
2137  `,tQ.A.Phone`
2138    width: 196.33px;
2139    height: 176.33px;
2140    top: 6.44px;
2141    margin: 0;
2142    left: 25%;
2143    transform: translate(-30%);
2144  `),CU=tt.Ay.img(["bottom:69px;width:235px;height:275px;overflow:hidden;margin-top:43px;"," ",""],tQ.A.Tablet`
2145    height: 250px;
2146    margin-top: 15px ;
2147  `,tQ.A.Phone`
2148    margin-top: 3px;
2149    height: 168px;
2150    width: 157px;
2151    padding-top: 10.43px;
2152    border-radius: 0px;
2153  `),CW=tt.Ay.div(["position:relative;width:100%;flex-shrink:0;border-radius:16px 16px 0 0;height:293px;overflow:hidden;"," ",""],tQ.A.Tablet`
2154    height: 250px;
2155    margin-top: -20px ;
2156
2157  `,tQ.A.Phone`
2158    margin-top: -20px ;
2159    margin-left: -15px ;
2160    height: 188px;
2161    width: 207px;
2162    border-radius: 0px;
2163  `),CK=tt.Ay.div(["width:293px;height:101.2px;position:absolute;top:203px;margin-left:-10px;background:linear-gradient( to bottom,",","," 100%,"," 0% );",";",""],(0,ti.j)(te.Jy.Neutral5,0),te.Jy.Neutral5,te.Jy.Neutral5,tQ.A.Tablet`
2164    margin-top: -53px;
2165  `,tQ.A.Phone`
2166    top: 90px;
2167    height: 81.2px;
2168    width: 196.33px;
2169    margin: 0;
2170    left: 40%;
2171    transform: translate(-50%);
2172  `),Cq=(0,tt.Ay)(tP.Ay.Spinner)(["color:",";animation:"," 0.5s infinite linear;margin-left:-5px;margin-top:2px;height:25px;width:25px;"],te.Jy.Indigo80,im.ni),CG=tt.Ay.img(["width:20px;height:20px;margin-left:-2px;margin-top:1px;margin-right:2px;"]),CZ=tt.Ay.button(["display:flex;align-items:center;height:28px;padding-right:","px;margin-left:","px;background:",";border-radius:32px;box-shadow:0px 0px 1px rgba(15,56,113,0.32),0px 1px 2px rgba(15,56,113,0.12),0px 2px 4px rgba(15,56,113,0.08);border:none;",";",";color:",";&:not(:last-child){margin-bottom:12px;}"," "," @media (max-width:280px){margin-left:","px;}"],e=>e.checked&&14,e=>e.checked?52:80,e=>e.checked?te.Jy.White:te.Jy.Green10,td.Ay.Tiny,td.BO.Regular,e=>e.checked?te.Jy.Neutral90:te.Jy.Green50,e=>tQ.A.Tablet`
2173  margin-left: ${!e.checked?60:32}px;
2174  `,e=>tQ.A.Phone`
2175    margin-top: 13px;
2176    margin-left: ${e.checked?70:99}px;
2177  `,e=>e.checked?95:124),CX=tt.Ay.button(["display:flex;align-items:center;height:28px;margin-top:-5px;margin-left:","px;background:",";border-radius:32px;box-shadow:0px 0px 1px rgba(15,56,113,0.32),0px 1px 2px rgba(15,56,113,0.12),0px 2px 4px rgba(15,56,113,0.08);border:none;",";",";color:",";&:not(:last-child){margin-bottom:12px;}"," "," @media (max-width:280px){margin-left:","px;}"],e=>e.status?52:80,e=>e.status?te.Jy.White:te.Jy.Green10,td.Ay.Tiny,td.BO.Regular,e=>e.status?te.Jy.Neutral90:te.Jy.Green50,e=>tQ.A.Tablet`
2178  margin-left: ${!e.status?60:32}px;
2179  `,e=>tQ.A.Phone`
2180    margin-left: ${e.status?70:99}px;
2181  `,e=>e.status?95:124),CQ=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;flex-grow:1;margin-right:32px;",";"],tQ.A.Phone`
2182    margin-right: 0;
2183    margin-bottom: 20px;
2184  `),CY=tt.Ay.div(["position:absolute;height:36px;top:","px;color:",";",";",";",";",";"],e=>e.isResume?56:90,te.Jy.Neutral90,td.Ay.M,td.BO.DemiBold,e=>tQ.A.Tablet`
2185    left: 20px;
2186    top: ${e.isResume?56:90}px;
2187  `,tQ.A.Phone`
2188    ${td.Ay.S};
2189    ${td.BO.DemiBold};
2190    top: 185px;
2191    width: 100%;
2192    padding-left:10px;
2193    margin: 0px;
2194    left: 50%;
2195    transform: translate(-50%);
2196    padding-left: 25px;
2197  `),C0=tt.Ay.div(["position:absolute;width:352px;height:72px;top:","px;",";",";",";",";"],e=>e.isResume?104:142,td.Ay.Body,td.BO.Regular,tQ.A.Tablet`
2198    left: 20px;
2199  `,tQ.A.Phone`
2200    ${td.Ay.Caption};
2201    top: 206px;
2202    width: 100%;
2203    height: 40px;
2204    padding: 10px;
2205    left: 50%;
2206    transform: translate(-50%);
2207    padding-left: 25px;
2208  `),C1=(0,tt.Ay)(i$.Ay)(["gap:10px;height:48px;top:200px;width:174px;border-radius:4px;background:",";",";"," @media (max-width:280px){top:303px;}"],te.Jy.Blue50,tQ.A.Tablet`
2209    top: 200px;
2210  `,tQ.A.Phone`
2211    position: absolute;
2212    width: 90%;
2213    top: 288px;
2214    border-radius: 4px;
2215    left: 5%;
2216    right: 5%;
2217    margin: 0px;
2218  `),C2=tt.Ay.div(["display:flex;align-items:center;",";",";"],tQ.A.Tablet`
2219    width: auto;
2220  `,tQ.A.Phone`
2221    width: 100%;
2222  `),C3=tt.Ay.div(["width:105px;margin-top:43px;height:263px;"," "," @media (width:820px){margin-right:-50px;}@media (width:912px){margin-right:-130px;}"],tQ.A.AbovePhone`
2223    width: 125px;
2224    margin-top: 64px;
2225  `,tQ.A.Phone`
2226    position: absolute;
2227    width: 176.33px;
2228    height: 170.33px;
2229    top: 6.44px;
2230    margin: 0;
2231    left: 50%;
2232    transform: translate(-30%);
2233  `),C5=tt.Ay.img(["position:absolute;margin:0;left:50%;transform:translate(-50%);top:42px;height:136px;width:260px;"]),C4=tt.Ay.img(["margin-right:102px;top:96px;height:260;width:320px;",";"],tQ.A.Tablet`
2234    position: absolute;
2235    margin-right: 5px;
2236    top: 45px;
2237  `),C6=i(81759),C8=i(65144),C9=i(16003),C7=i(51014);var we=()=>{let e=(0,eW.N)(ex.Tp.triggeredCritiqueStatus),t=(0,eW.N)(U.Tp.tunerResumeId),i=(0,L.Zp)(),r=(0,eU.wA)(),{isPhone:n}=(0,ih.e)(),[o,a]=(0,R.useState)(null),[l,s]=(0,R.useState)(Boolean),d=e.status===ex.oV.failed||e.status===ex.oV.pending;(0,R.useEffect)(()=>{a(t),s(!0)},[t]);let{careerTasks:c}=t4(),{visual:u}=c[0];return(0,J.jsxs)(CH,{children:[(0,J.jsxs)(CQ,{children:[(0,J.jsx)(CY,{isResume:o,children:o?"Your resume is ready!":"Welcome to Career.io"}),(0,J.jsx)(C0,{isResume:o,children:o?"We parsed your resume to the resume builder. Choose one of our expertly designed resume templates to wow employers!":"We’re uploading your resume and preparing a review. You’ll be able to explore new insights to improve your resume in a minute."}),o&&(0,J.jsx)(C1,{onClick:()=>{t?i(`/resumes/${t}/edit`):r(U.o1.createDocument({type:eZ.VC.resume}))},children:"View My Resume"})]}),(0,J.jsx)(C2,{children:l?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(C3,{children:[(0,J.jsxs)(CZ,{checked:!o,children:[o?(0,J.jsx)(CG,{src:C6}):(0,J.jsx)(Cq,{}),o?"Done":"Prefilling"]}),(0,J.jsxs)(CX,{status:d,children:[d?(0,J.jsx)(Cq,{}):(0,J.jsx)(CG,{src:C6}),d?"Reviewing":"Done"]})]}),(0,J.jsxs)(CV,{children:[o?(0,J.jsx)(CW,{children:u}):(0,J.jsx)(CU,{src:C7}),(0,J.jsx)(CK,{})]})]}):n?(0,J.jsx)(C5,{src:C9}):(0,J.jsx)(C4,{src:C8})})]})},wt=()=>{let e=(0,eW.N)(ex.Tp.triggeredCritiqueStatus),t=e?.status===ex.oV.pending,i=(0,eW.N)(ex.Tp.critiqueStatus)===ex.oV.pending;return(0,J.jsx)(R.Fragment,{children:t&&i?(0,J.jsx)(we,{}):(0,J.jsx)(CF,{})})},wi=i(16071);i(61806);let wr=tt.Ay.div(["position:relative;display:flex;justify-content:center;align-items:center;gap:4px;padding:32px 0 40px;margin:0 auto;@media (max-width:768px){padding:12px 0;min-width:240px;}"]),wn=tt.Ay.button([""," "," display:inline-flex;align-items:center;justify-content:center;color:",";border:1px solid;border-color:",";border-radius:32px;text-align:center;padding:12px 16px;cursor:pointer;width:",";&:hover{background-color:",";border-color:",";color:",";}& svg{flex:1;}",""],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90,te.Jy.Neutral15,e=>e.width||"auto",te.Jy.Blue10,te.Jy.Blue10,te.Jy.Blue80,e=>e.isActive&&`
2238      background-color: ${te.Jy.Blue10};
2239      border-color: ${te.Jy.Blue30};
2240      color: ${te.Jy.Blue80};
2241      &:hover {
2242        border-color: ${te.Jy.Blue30}; 
2243      }
2244  `),wo=tt.Ay.div(["border-radius:1px;transition:background-color 0.2s;",""],({layout:e="horizontal",gradient:t})=>"vertical"===e?`
2245    width: 3px;
2246    height: 16px;
2247    margin: 4px 0;
2248    background: ${t?`
2249      linear-gradient(
2250        to ${"top-to-bottom"===t?"bottom":"top"},
2251        ${te.Jy.Blue30} 0%,
2252        ${te.Jy.Blue10} 100%
2253      )`:te.Jy.Neutral15};
2254  `:`
2255    height: 3px;
2256    width: 28px;
2257    margin: 0 8px;
2258    background: ${t?`
2259      linear-gradient(
2260        to ${"left-to-right"===t?"right":"left"},
2261        ${te.Jy.Blue30} 0%,
2262        ${te.Jy.Blue10} 100%
2263      )`:te.Jy.Neutral15};
2264  `);te.Jy.Blue30,te.Jy.Blue10,te.Jy.Blue80;let wa=tt.Ay.div(["position:relative;width:100%;display:flex;justify-content:center;"]);var wl=i(59075);let ws=tt.Ay.ul(["padding:0;margin-bottom:48px;margin-top:0;list-style:none;display:flex;flex-direction:column;width:100%;"]),wd=tt.Ay.li(["display:flex;flex-direction:column;align-items:center;"]),wc=tt.Ay.div(["padding:0 16px;text-align:center;"]),wu=(0,tt.Ay)(wl.K._s.Title)(["width:255px;margin:0 auto;padding:8px 20px 16px 20px;",";",";color:",";"],td.Ay.S,td.BO.Medium,te.Jy.Neutral90);
2264function wp(e){let[t,i]=R.useState(!1),{activeTab:r,setActiveTab:n}=wy(),o=e.items.find(e=>e.id===r),a=e.items.findIndex(e=>e.id===r);return(0,J.jsx)(wr,{style:{maxWidth:"180px",minWidth:"180px"},children:(0,J.jsx)(wl.A,{open:t,onClose:()=>i(!1),trigger:(0,J.jsxs)(wn,{isActive:t,onClick:()=>i(!t),children:[o?.label,t?(0,J.jsx)(tP.EK.ChevronUp,{}):(0,J.jsx)(tP.EK.ChevronDown,{})]}),children:(0,J.jsxs)(wc,{children:[(0,J.jsx)(wl.K.h7,{style:{marginTop:"8px"}}),(0,J.jsx)(wu,{children:"Where are you on your career journey today?"}),(0,J.jsx)(ws,{children:e.items.map((t,o)=>{let l=o<e.items.length-1,s=o===a;return(0,J.jsxs)(wd,{children:[(0,J.jsx)(wn,{isActive:r===t.id,width:"100%",onClick:()=>{n(t.id),i(!1)},children:t.label}),l&&(0,J.jsx)(wo,{layout:"vertical",gradient:o===a-1||s?s?"top-to-bottom":"bottom-to-top":void 0})]},t.id)})})]})})})}let wh={textAlign:"center",width:"auto",position:"relative",maxWidth:"294px",minWidth:"220px"};function wx(e){let[t,i]=R.useState(!1),{activeTab:r,setActiveTab:n}=wy(),o=e.items.find(e=>e.id===r),a=e.items.map((e,t)=>({text:e.label,onClick:()=>n(e.id),divider:0!==t,isActive:e.id===r}));return(0,J.jsx)(wr,{children:(0,J.jsxs)("div",{style:wh,children:[(0,J.jsxs)(wn,{isActive:t,onClick:()=>i(!t),children:[o?.label,t?(0,J.jsx)(tP.EK.ChevronUp,{}):(0,J.jsx)(tP.EK.ChevronDown,{})]}),t&&(0,J.jsx)(cg.A,{position:"bottom",align:"left",onClose:()=>i(!1),actions:a})]})})}function wm(e){let{activeTab:t}=wy(),i=e.items.findIndex(e=>e.id===t),r=e.items.flatMap((t,r)=>{let n=r<e.items.length-1,o=r===i-1,a=t.element;return n?[a,(0,J.jsx)(wo,{layout:"horizontal",gradient:o||r===i?o?"right-to-left":"left-to-right":void 0},`line-${r}`)]:[a]});return(0,J.jsx)(am.Ay,{Container:wr,disableSelector:!0,children:r})}i(30531);let wg=R.createContext({});function wy(){let e=R.useContext(wg);if(!e)throw Error("useCategoryTabsContext must be used within a CategoryTabsProvider");return e}function wf(e){let t=ew.D.getItem("lastCategoryTab")??e.defaultActive??"resumes",[i,r]=(0,i3.ok)(),n=i.get("categoryTab")||t,o=(0,R.useCallback)(e=>{r(t=>{let i=new URLSearchParams(t);return i.set("categoryTab",e),i},{replace:!0})},[r]);return(0,J.jsx)(wg.Provider,{value:{activeTab:n,setActiveTab:o},children:e.children})}wf.List=R.memo(({children:e,isDesktopOnly:t})=>{let{isTablet:i,isLaptop:r,isPhone:n}=(0,ih.e)(),o=R.Children.toArray(e).filter(R.isValidElement).map(e=>({id:e.props.tabId,label:"string"==typeof e.props.children?e.props.children:String(e.props.children),element:e}));return t&&(n||i)?null:n?(0,J.jsx)(wp,{items:o}):i||r?(0,J.jsx)(wx,{items:o}):(0,J.jsx)(wm,{items:o})}),wf.Item=R.memo(e=>{let{activeTab:t,setActiveTab:i}=wy();return(0,J.jsx)(wn,{isActive:t===e.tabId,onClick:()=>{(0,N.xP)("click_top_nav",{category:e.tabId}),i(e.tabId),ew.D.setItem("lastCategoryTab",e.tabId)},children:e.children})}),wf.Content=R.memo(e=>{let{activeTab:t}=wy();return t!==e.tabId?null:(0,J.jsx)(wa,{id:`${e.tabId}-content`,children:e.children})});var wb=i(96156);let w_={documents:{primary:te.Jy.Blue50,base:te.Jy.Blue40,soft:te.Jy.Blue10,muted:te.Jy.Blue20,text:te.Jy.Blue80,badge:te.Jy.Blue15,activeIcon:"#E1F2FF"},jobs:{primary:te.Jy.Indigo50,base:te.Jy.Indigo40,soft:te.Jy.Indigo10,muted:te.Jy.Indigo20,text:te.Jy.Indigo80,badge:te.Jy.Indigo15,activeIcon:"#EDEFFF"},careers:{primary:te.Jy.Green50,base:te.Jy.Green40,soft:te.Jy.Green10,muted:te.Jy.Green20,text:te.Jy.Green80,badge:te.Jy.Green15,activeIcon:"#E3F1E9"}},wv={id:"loading",title:"Loading...",widgetTipOrder:0,enabled:!0,progress:0,defaultActive:!0,icon:"LoadingIcon",component:"_",data:{},getNextActionUrl:()=>"",theme:{primary:"",base:"",soft:"",muted:"",text:"",badge:"",activeIcon:""},calculatedProgress:{formattedProgress:"",percentageProgress:0}},wj=({progress:e,scoreType:t,targetScore:i})=>({formattedProgress:"percentage"===t?`${Math.round(e)}%`:e,percentageProgress:"percentage"===t?e:e/i*100}),wA=({widgets:e,currentWidgetIndex:t,categories:i,currentCategoryIndex:r,serviceData:n})=>{let o=e[t+1];if(o)return`?categoryTab=${i[r]}&serviceId=${o.id}`;let a=i[r+1]||i[0],l=n[a][0]?.id||"";return`?categoryTab=${a}&serviceId=${l}`},wC=e=>t=>!("resume_tailoring"===t.id&&e?.[t.id]?.has_expert_resumes)&&t.enabled,ww=(e,t)=>{let i={resumes:[],jobs:[],interview:[],learning:[]};if(!t)return i;let r=Object.keys(t);for(let n of r){let o=t[n]||[],a=r.indexOf(n),l=o.filter(wC(e));for(let o of l){let s=l.indexOf(o),d=wA({widgets:l,currentWidgetIndex:s,categories:r,currentCategoryIndex:a,serviceData:t}),c=e?.[o.id];i[n].push({...o,data:c||{},widgetTipOrder:s,getNextActionUrl:()=>d,progress:c?.progress||0,calculatedProgress:wj({progress:c?.progress||0,scoreType:c?.score_type||"percentage",targetScore:c?.target_score||0})})}}return i},wk=({service:e,isActive:t,isLoading:r,...n})=>{let o=r?"LoadingIcon":e.icon,a=i(19327)(`./${o}`).default,l={color:t?e.theme.activeIcon:e.theme.soft};return(0,J.jsx)("div",{children:(0,J.jsx)(a,{...n,style:l})})},wS=tt.Ay.div(["position:relative;height:100%;"]),wT=tt.Ay.div(["background:",";color:",";display:flex;width:100%;height:332px;border-radius:12px;position:relative;overflow:hidden;box-sizing:border-box;",";"],({theme:e})=>e.background,({theme:e})=>e.color,tQ.A.Phone`
2265    flex-direction: column-reverse; 
2266    height: 336px;
2267  `),wP=(0,tt.Ay)(e=>(0,J.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"13",height:"40",viewBox:"0 0 13 40",fill:"none",children:(0,J.jsx)("path",{d:"M13 -5.54042e-07L12.9972 -5.53923e-07C12.9863 1.97419 12.933 3.14578 12.6718 4.15282C12.3808 5.27437 11.9011 6.34432 11.251 7.32168C10.5178 8.42419 9.49335 9.36095 7.44454 11.2345L3.66581 14.69C1.63992 16.5425 0.62697 17.4688 0.249143 18.5441C-0.0830465 19.4896 -0.0830464 20.5113 0.249143 21.4568C0.62697 22.5321 1.63991 23.4584 3.6658 25.3109L7.44454 28.7664C9.49335 30.6399 10.5178 31.5767 11.251 32.6792C11.9011 33.6566 12.3808 34.7265 12.6718 35.8481C12.9245 36.8221 12.9826 38.0136 12.996 40L13 40L13 -5.54042e-07Z",fill:"currentColor"})}))(["position:absolute;
2267left:-13px;color:",";top:","px;",""],({theme:e,$tipBackgroundColor:t})=>t||e.background,({$tipPosition:e})=>e,tQ.A.Laptop` left: 50%; top: -25px; transform: rotate(90deg); `),wJ=tt.Ay.div(["width:100%;height:100%;display:flex;overflow:hidden;",";"],tQ.A.Phone` 
2268    flex-direction: column-reverse; 
2269  `),wE=tt.Ay.div(["flex:1;height:100%;width:100%;position:relative;"]),wR=tt.Ay.img(["max-width:100%;height:100%;object-fit:contain;align-self:center;vertical-align:middle;display:flex;margin:auto;",";"],tQ.A.Phone` 
2270    max-height: 160px; 
2271    height: 100%;
2272    object-fit: cover; 
2273    position: absolute;
2274    top: 0;
2275    left: 50%;
2276    transform: translate(-50%, 0);
2277  `),wL=tt.Ay.button(["background:",";color:",";display:flex;align-items:center;justify-content:space-between;padding:11px;"," "," border:1px solid ",";border-radius:8px;cursor:pointer;width:100%;"],te.Jy.White,te.Jy.Neutral90,td.Ay.Body,td.BO.Regular,te.Jy.Neutral15),wN=({theme:e,tipOrder:t=0,children:i,tipBackgroundColor:r})=>(0,J.jsx)(tt.NP,{theme:e,children:(0,J.jsxs)(wS,{children:[(0,J.jsx)(wP,{$tipPosition:72+64*t,$tipBackgroundColor:r}),(0,J.jsx)(wT,{children:i})]})}),wI={color:te.Jy.Green80,background:te.Jy.Green10,badge:{color:te.Jy.Green50,background:te.Jy.Green15}},wM={color:te.Jy.Neutral10,background:te.Jy.Neutral5},wB=({service:e})=>{let t={color:e.theme.text,background:e.theme.soft,badge:{color:e.theme.primary,background:e.theme.badge}};return{initial:t,progress:t,completed:wI,loading:wM}},wD=Symbol("resume");var w$=i(17706);let wO="builder.dashboard.progress_tracker.widgets";var wz=i.p+"media/badScoreedd24a395520e393.png",wF=i.p+"media/goodScore326b2d15bbbbd060.png",wH=i.p+"media/averageScore49e1f6c0c66a3a3f.png";let wV=tt.Ay.button(["display:flex;align-items:center;justify-content:space-between;cursor:pointer;width:100%;padding:11px;border-radius:8px;border:1px solid ",";background:",";",""],te.Jy.Neutral15,te.Jy.White,({$isPhone:e})=>e&&(0,tt.AH)(["",""],tQ.A.Phone`
2278        flex-direction: row-reverse;
2279        justify-content: center;
2280        gap: 4px;
2281      `)),wU=tt.Ay.p([""," "," color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90),wW=tt.Ay.p([""," "," color:",";"],td.Ay.Body,td.BO.DemiBold,te.Jy.Green50),wK=tt.Ay.div(["height:100%;display:flex;justify-content:space-between;gap:12px;position:relative;overflow:hidden;",""],tQ.A.Phone`
2282    height: 160px;
2283  `),wq=(0,tt.Ay)(wR)([""]),wG=tt.Ay.div(["width:100%;height:100%;",""],({$isPreview:e})=>e&&(0,tt.AH)(["padding-top:40px;padding-left:32px;padding-right:96px;",""],tQ.A.Phone`
2284        padding: 0;
2285        display: flex;
2286        justify-content: center;
2287        gap: 12px;
2288        padding-top: 26px;
2289        padding-left: 64px;
2290
2291        ${wq} {
2292          width: 137px;
2293          margin: 0;
2294          position: unset;
2295          transform: none;
2296        }
2297      `)),wZ=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;width:64px;position:absolute;top:42px;right:20px;",""],tQ.A.Phone`
2298    position: unset;
2299  `),wX=tt.Ay.p([""," "," color:",";opacity:0.6;"],td.Ay.Caption,td.BO.Medium,te.Jy.Blue80),wQ=tt.Ay.div(["padding:2px 4px 2px 6px;border-radius:8px;width:fit-content;"," "," color:",";",""],td.Ay.Body,td.BO.DemiBold,te.Jy.White,({$background:e})=>(0,tt.AH)(["background:",";"],e)),wY=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;"]),w0=(0,tt.Ay)(tP.EK.ChevronRightRegular)(["color:",";"],te.Jy.Neutral80),w1=tt.Ay.div(["position:absolute;bottom:0;width:100%;height:16px;"," ",""],tQ.A.Phone`
2300    height: 48px;
2301  `,({$score:e})=>e>=70?(0,tt.AH)(["background:url(",") no-repeat;",""],wF,tQ.A.Phone`
2302          background: linear-gradient(177deg, rgba(231, 243, 255, 0.00) 2.33%, #E7F3FB 97.87%);
2303        `):e>=30?(0,tt.AH)(["background:url(",") no-repeat;",""],wH,tQ.A.Phone`
2304          background: linear-gradient(177deg, rgba(231, 243, 255, 0.00) 2.33%, #ECF3F4 97.87%);
2305        `):(0,tt.AH)(["background:url(",") no-repeat;",""],wz,tQ.A.Phone`
2306        background: linear-gradient(177deg, rgba(231, 243, 255, 0.00) 2.33%, #EDF2FC 97.87%);
2307      `)),w2=({status:e,actionText:t,suggestion:i,onClick:r})=>"completed"===e||"initial"===e?(0,J.jsxs)(wV,{"data-testid":`resume-crafting-action-button-${e}`,onClick:r,children:[(0,J.jsx)(wU,{children:t}),(0,J.jsx)(wY,{children:(0,J.jsx)(w0,{})})]}):(0,J.jsxs)(wV,{"data-testid":`resume-crafting-action-button-${e}`,onClick:r,$isPhone:!0,children:[(0,J.jsx)(wU,{children:i?.text}),(0,J.jsxs)(wW,{children:["+",i?.points,"%"]})]});var w3=i.p+"media/noResume006ef8707794b6ff.png",w5=i.p+"media/noResume-mobilec9c139d79ddad005.png";let w4=({score:e,background:t,scoreText:i,resumePreview:r,...n})=>{let{isPhone:o}=(0,ih.e)();return(0,J.jsxs)(wK,{...n,children:[(0,J.jsxs)(wG,{$isPreview:!!r,children:[(0,J.jsx)(wq,{src:r||(o?w5:w3)}
2307),!!e&&o&&(0,J.jsxs)(wZ,{"data-testid":"resume-score-progress",children:[(0,J.jsxs)(wQ,{$background:t,children:[e,"%"]}),(0,J.jsx)(wX,{children:i})]})]}),!!e&&!o&&(0,J.jsxs)(wZ,{"data-testid":"resume-score-progress",children:[(0,J.jsxs)(wQ,{$background:t,children:[e,"%"]}),(0,J.jsx)(wX,{children:i})]}),!!r&&(0,J.jsx)(w1,{$score:e})]})},w6=({service:e})=>{let t,i,r=e.data?.calculated_item_id,{isPhone:n}=(0,ih.e)(),o=wB({service:e}),{text:a,status:l,resume:s,suggestion:d,isLoading:c,resumePreview:u}=(({resumeId:e,service:t})=>{let{percentageProgress:i=0}=t.calculatedProgress,{i18n:r}=(0,e1.s)(),{isPhone:n}=(0,ih.e)(),{data:o,isFetching:a,isLoading:l}=(({id:e,cacheTime:t})=>(0,r2.I)([wD,e],async({signal:t})=>(await Y.uE.get(`/resumes/${e}`,{signal:t})).data,{enabled:!!e,useErrorBoundary:!1,cacheTime:t}))({id:i>=100||0===i?void 0:e,cacheTime:0}),{suggestions:s}=(0,w$.K)(o),d=()=>i>=100?"completed":e&&o?"progress":"initial";return{resume:o,text:(()=>{let e=d(),t=`resume_crafting.${e}`;if("progress"===e){var i;let{badScore:e,okScore:n,goodScore:a}={badScore:(i=o?.score||0)<=30,okScore:i>30&&i<=70,goodScore:i>70},l=null;return e?l="bad_score":n?l="ok_score":a&&(l="good_score"),{badge:r.t(`${wO}.${t}.${l}.badge`),header:r.t(`${wO}.${t}.${l}.header`),subHeader:r.t(`${wO}.${t}.${l}.subHeader`),actionText:r.t(`${wO}.${t}.${l}.actionText`),scoreText:r.t(`${wO}.${t}.${l}.scoreText`)}}return{badge:r.t(`${wO}.${t}.badge`),header:r.t(`${wO}.${t}.header`),subHeader:r.t(`${wO}.${t}.subHeader`),actionText:r.t(`${wO}.${t}.actionText`),scoreText:r.t(`${wO}.${t}.scoreText`)}})(),status:d(),suggestion:s?.[0],isLoading:a&&l,resumePreview:(()=>{if(e&&o)return(0,tv.I)(o,{size:n?104:192})})()}})({resumeId:r,service:e}),{handleNoResumeClick:p,handleCompletedClick:h,handleInProgressClick:x}=(t=(0,L.Zp)(),i=(0,eU.wA)(),{handleNoResumeClick:()=>{i(U.o1.createDocument({type:eZ.VC.resume}))},handleCompletedClick:()=>{t(e.getNextActionUrl())},handleInProgressClick:(e,i)=>{e&&t(`resumes/${String(e)}/edit#${i}`)}}),m=o[l],g=s?.score||0,y="initial"===l,f="completed"===l,b="progress"===l,_={badge:a.badge||"",header:a.header,subHeader:a.subHeader},v=e=>{let t=e>70,i=e>30;return{background:t?te.Jy.Green10:i?te.Jy.Amber10:te.Jy.Red10,percentage:t?te.Jy.Green40:i?te.Jy.Amber40:te.Jy.Red40}},j={...m,background:n?`linear-gradient(180deg, ${te.Jy.Blue10} 20.89%, ${v(g).background} 148.96%);`:`linear-gradient(98deg, 
2308      ${te.Jy.Blue10} 30%, 
2309      ${v(g).background} 100%), 
2310      ${te.Jy.Blue10};
2311    `};return((0,R.useEffect)(()=>{f&&(0,N.xP)("progress_score_completed",{score:e.title})},[f,e.title]),c)?(0,J.jsx)(TT,{service:e,tipOrder:e.widgetTipOrder}):(0,J.jsx)(wN,{theme:b?j:m,tipOrder:e.widgetTipOrder,tipBackgroundColor:m.background,children:(0,J.jsxs)(wJ,{children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{isCompleted:f,text:_,"data-testid":`resume-crafting-info-${l}`,children:(0,J.jsx)(w2,{status:l,actionText:a.actionText,suggestion:d,onClick:()=>(b||(0,N.xP)("progress_cta_click",{score:e.title,cta:a.actionText}),y)?p():f?h():void(b&&((0,N.xP)("progress_cta_click",{score:e.title,cta:d?.text}),x(s?.id,d?.key)))})})}),(0,J.jsx)(wE,{children:f?(0,J.jsx)(kB,{}):(0,J.jsx)(w4,{"data-testid":`resume-crafting-ilustration-box-${l}`,resumePreview:u,score:g,background:v(g).percentage,scoreText:a.scoreText})})]})})};var w8=i(30850);let w9=(0,tt.Ay)(wR)([""]);var w7=i.p+"media/illustration004d8f1e2243974b.png",ke=i.p+"media/ilustration-mobile000bc0f8e4b1971f.png";let kt=({service:e})=>{let{isPhone:t}=(0,ih.e)(),i=wB({service:e}),{text:r,status:n}=(e=>{let t,i,{i18n:r}=(0,e1.s)(),n=()=>e.calculatedProgress?.percentageProgress?"completed":"initial";return{isLoading:!1,text:(i="completed"===(t=n())?"completed":`resume_tailoring.${t}`,r.t(`${wO}.${i}`)),status:n()}})(e),{showResumeSelect:o,setShowResumeSelect:a,handleCompletedClick:l,onResumeTailoring:s}=(e=>{let t=(0,eU.wA)(),i=(0,L.Zp)(),[r,n]=(0,R.useState)(!1);return{showResumeSelect:r,setShowResumeSelect:n,handleCompletedClick:()=>{i(e.getNextActionUrl())},onResumeTailoring:e=>{i(`/resumes/${e.id}/edit`),t($.o1.setEditorPanelType("tailoring"))}}})(e),d="completed"===n;return(0,R.useEffect)(()=>{d&&(0,N.xP)("progress_score_completed",{score:e.title})},[d,e.title]),(0,J.jsxs)(wN,{theme:i[n],tipOrder:e.widgetTipOrder,children:[(0,J.jsxs)(wJ,{children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:r,isCompleted:d,handleClick:()=>
2311{if((0,N.xP)("progress_cta_click",{score:e.title,cta:r.actionText}),d)return l();a(!0)},"data-testid":`resume-tailoring-info-${n}`,actionButtonTestId:`resume-tailoring-action-button-${n}`})}),(0,J.jsx)(wE,{children:d?(0,J.jsx)(kB,{}):(0,J.jsx)(w9,{src:t?ke:w7,"data-testid":`resume-tailoring-illustration-box-${n}`})})]}),o&&pj.createPortal((0,J.jsx)(w8.A,{isDocumentLoaded:!0,title:r.modalTitle,onClose:()=>a(!1),submitSelectedResume:s,isResumeDistributionCreateAction:!1}),document.body)]})};var ki=i.p+"media/rd-icon524bf6d1551465e9.png";let kr=tt.Ay.div(["height:100%;display:flex;align-items:center;justify-content:center;",""],tQ.A.Phone`
2312    padding-top: 24px;
2313    align-items: flex-start;
2314  `),kn=(0,tt.Ay)(wR)([""]),ko=tt.Ay.div(["position:absolute;top:-5px;left:-10px;width:40px;height:34px;transform:rotate(-31.5deg);background-image:url(",");background-size:cover;background-position:center;background-repeat:no-repeat;",""],ki,tQ.A.Phone`
2315    top: -14px;
2316    left: -12px;
2317    width: 22.557px;
2318    height: 19.174px;
2319    transform: rotate(-31.597deg);
2320  `),ka=tt.Ay.div(["position:relative;width:220px;height:220px;display:flex;align-items:center;justify-content:center;border-radius:100%;background:",";box-shadow:0px 16px 64px rgba(15,56,113,0.18),0px 6px 8px rgba(15,56,113,0.02),0px 0px 1px rgba(15,56,113,0.32);",""],te.Jy.White,tQ.A.Phone`
2321    width: 187px;
2322    height: 120px;
2323    border-radius: 16px;
2324  `),kl=tt.Ay.div(["width:212px;height:212px;border-radius:100%;background:",";display:flex;align-items:center;justify-content:center;",""],te.Jy.Neutral5,tQ.A.Phone`
2325    width: 183px;
2326    height: 116px;
2327    border-radius: 16px;
2328  `),ks=tt.Ay.div(["width:142px;display:flex;flex-direction:column;align-items:center;justify-content:center;"]),kd=tt.Ay.div(["display:flex;align-items:center;gap:8px;justify-content:flex-end;width:80%;"]),kc=tt.Ay.h2([""," "," color:",";"],td.o5.L,td.BO.Medium,te.Jy.Neutral90),ku=tt.Ay.p([""," "," text-align:center;color:",";"],td.o5.Caption,td.BO.Regular,te.Jy.Neutral90),kp=tt.Ay.div(["width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:100%;background:",";"],te.Jy.Green10),kh=(0,tt.Ay)(tP.Ay.ArrowUp)(["color:",";"],te.Jy.Green50);var kx=i.p+"media/ilustrationc52b8bf7422780c1.png",km=i.p+"media/ilustration-mobile39dc1dc1c5b445a1.png";let kg=({status:e,recruitersCount:t,recruitersText:i})=>{let{isPhone:r}=(0,ih.e)();return"initial"===e?(0,J.jsx)(kr,{"data-testid":`resume-distribution-ilustration-box-${e}`,children:(0,J.jsx)(kn,{src:r?km:kx})}):(0,J.jsx)(kr,{"data-testid":`resume-distribution-ilustration-box-${e}`,children:(0,J.jsxs)(ka,{children:[(0,J.jsx)(ko,{}),(0,J.jsx)(kl,{children:(0,J.jsxs)(ks,{children:[(0,J.jsxs)(kd,{children:[(0,J.jsx)(kc,{"data-testid":"resume-distribution-recruiters-count",children:t}),(0,J.jsx)(kp,{children:(0,J.jsx)(kh,{})})]}),(0,J.jsx)(ku,{"data-testid":"resume-distribution-recruiters-text",children:i})]})})]})})},ky=({service:e,categoryId:t})=>{let i=wB({service:e}),{text:r,status:n,recruitersCount:o}=((e,t)=>{let i,r=(0,e4.J)(),{i18n:n}=(0,e1.s)(),o=!!r?.scopes.resumeDistributionCandidate,a=()=>o?"progress":e.calculatedProgress?.percentageProgress?"completed":"initial";return{text:"completed"===(i=a())?n.t(`${wO}.completed`):{badge:n.t(`${wO}.resume_distribution.${t}.${i}.badge`),header:n.t(`${wO}.resume_distribution.${t}.${i}.header`),subHeader:n.t(`${wO}.resume_distribution.${t}.${i}.subHeader`),recruiters:n.t(`${wO}.resume_distribution.${t}.${i}.recruiters`),actionText:n.t(`${wO}.resume_distribution.${t}.${i}.actionText`,{count:50})},status:a(),recruitersCount:e.progress}})(e,t),{handleInitialClick:a,handleInProgressClick:l,handleCompletedClick:s}=(({service:e})=>{let t=(0,L.Zp)();return{handleInitialClick:()=>{t("/resume-distribution")},handleInProgressClick:()=>{t("/resume-distribution/dashboard")},handleCompletedClick:i=>{t(e.getNextActionUrl({categoryId:i}))}}})({service:e}),d="completed"===n;return(0,R.useEffect)(()=>{d&&(0,N.xP)("progress_score_completed",{score:e.title})},[d,e.title]),(0,J.jsx)(wN,{tipOrder:e.widgetTipOrder,theme:i[n],children:(0,J.jsxs)(wJ,{children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:r,isCompleted:d,handleClick:()=>((0,N.xP)("progress_cta_click",{score:e.title,cta:r.actionText}),d)?s(t):"progress"===n?l():a(),"data-testid":`resume-distribution-info-${n}`,actionButtonTestId:`resume-distribution-action-button-${n}`})}),(0,J.jsx)(wE,{children:d?(0,J.jsx)(kB,{}):(0,J.jsx)(kg,{status:n,recruitersCount:o,recruitersText:r.recruiters})})]})})},kf=(0,tt.Ay)(wR)([""]);var kb=i.p+"media/ilustration63257d92ec23c688.png",k_=i.p+"media/ilustration-mobile7f156568acd32c65.png";let kv=({service:e})=>{let t,i,{isPhone:r}=(0,ih.e)(),n=wB({service:e}),{text:o,status:a}=(e=>{let t,i,{i18n:r}=(0,e1.s)(),n=()=>100===e.progress?"completed":"initial";return{text:(i="completed"===(t=n())?"completed":`cover_letter_crafting.${t}`,r.t(`${wO}.${i}`)),status:n()}})(e),{handleCreateCl:l,handleCompletedClick:s}=(t=(0,eU.wA)(),i=(0,L.Zp)(),{handleCreateCl:()=>{t(U.o1.createDocument({type:eZ.VC.coverLetter}))},handleCompletedClick:()=>{i(e.getNextActionUrl())}}),d="completed"===a;return(0,R.useEffect)(()=>{d&&(0,N.xP)("progress_score_completed",{score:e.title})},[d,e.title]),(0,J.jsx)(wN,{theme:n[a],tipOrder:e.widgetTipOrder,children:(0,J.jsxs)(wJ,{children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{isCompleted:d,text:o,handleClick:()=>
2328{if((0,N.xP)("progress_cta_click",{score:e.title,cta:o.actionText}),"completed"===a)return s();l()},"data-testid":`cover-letter-crafting-info-${a}`,actionButtonTestId:`cover-letter-crafting-action-button-${a}`})}),(0,J.jsx)(wE,{children:d?(0,J.jsx)(kB,{}):(0,J.jsx)(kf,{src:r?k_:kb,"data-testid":`cover-letter-crafting-illustration-box-${a}`})})]})})},kj=tt.Ay.div(["position:relative;display:flex;flex-direction:column;gap:12px;height:100%;padding:32px;",""],tQ.A.Phone` padding: 16px; `),kA=tt.Ay.div(["display:inline-flex;padding:4px 8px;justify-content:center;align-items:center;gap:10px;border-radius:2px;width:fit-content;visibility:",";color:",";background:",";",""],({visible:e})=>e?"visible":"hidden",({theme:e})=>e.badge.color,({theme:e})=>e.badge.background,tQ.A.Phone`
2329    display: none;
2330  `),kC=tt.Ay.p([""," ",""],td.o5.Tiny,td.BO.DemiBold),kw=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;",""],tQ.A.Phone`
2331    text-align: center;
2332  `),kk=tt.Ay.h2([""," ",""],td.o5.Subhead,td.BO.Medium),kS=tt.Ay.p([""," ",""],td.o5.Caption,td.BO.Regular),kT=tt.Ay.div(["margin-top:auto;display:flex;width:100%;"]),kP=tt.Ay.button(["width:100%;display:flex;justify-content:space-between;cursor:pointer;align-items:center;width:100%;padding:11px;border-radius:8px;border:1px solid ",";background:",";"],te.Jy.Neutral15,te.Jy.White),kJ=tt.Ay.p([""," "," color:",";"],td.o5.Body,td.BO.Regular,te.Jy.Neutral90),kE=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;"]),kR=(0,tt.Ay)(tP.EK.ChevronRightRegular)(["color:",";"],te.Jy.Neutral80),kL=({isCompleted:e,text:t,children:i,handleClick:r,actionButtonTestId:n,...o})=>(0,J.jsxs)(kj,{...o,children:[(0,J.jsx)(kA,{visible:!e,children:(0,J.jsx)(kC,{children:t.badge||"Badge"})}),(0,J.jsxs)(kw,{children:[(0,J.jsx)(kk,{children:t.header}),(0,J.jsx)(kS,{children:t.subHeader})]}),(0,J.jsx)(kT,{children:i||(0,J.jsxs)(kP,{onClick:r,"data-testid":n,children:[(0,J.jsx)(kJ,{children:t.actionText}),(0,J.jsx)(kE,{children:(0,J.jsx)(kR,{})})]})})]});te.Jy.Neutral15,te.Jy.White,td.Ay.Body,td.BO.Regular,te.Jy.Neutral90;let kN=tt.Ay.div(["width:100%;height:100%;gap:12px;display:flex;padding:36px 48px;justify-content:space-between;"]),kI=(0,tt.Ay)(wR)([""]);(0,tt.Ay)(tP.EK.ChevronRightRegular)(["color:",";"],te.Jy.Neutral80);var kM=i.p+"media/completed3ff68b41ce804166.png";let kB=()=>(0,J.jsx)(kN,{"data-testid":"dashboard-widget-success-box",children:(0,J.jsx)(kI,{src:kM})}),kD=tt.Ay.div(["display:",";flex-direction:",";gap:",";",";",";padding:",";flex:1;overflow:hidden;height:auto;& img{max-width:100%;height:auto;display:block;object-fit:contain;}",""],e=>e.display||"flex",e=>e.flexDirection||"row",e=>e.gap||"0",e=>e.justifyContent&&`justify-content: ${e.justifyContent};`,e=>e.alignItems&&`align-items: ${e.alignItems};`,e=>e.padding||"0",e=>tQ.A.Phone` flex-direction: ${e.directionOnMobile??e.flexDirection};`),k$=tt.Ay.button(["position:absolute;top:24px;right:24px;border:none;cursor:pointer;"]),kO=tt.Ay.span(["",";",";display:flex;justify-content:space-between;align-items:center;"],td.Ay.Body,td.BO.Regular),kz=(0,tt.Ay)(wL)(["",";& svg{",";}"],tQ.A.Phone` width: 100%; span { justify-content: center; } `,tQ.A.Phone` display: none; `);var kF=i.p+"media/job-recomandationd6ce5a46b8011037.png",kH=i.p+"media/job-recomandation-mobilefb13dc93e1fbcad1.png",kV=i.p+"media/banner82557766c00f06bd.png";let kU="jobs_applied_banner";function kW(e){let t=()=>{e.toggleBanner(),(0,N.xP)("progress_promo_close",{type:"auto-apply"})};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(k$,{onClick:t,children:(0,J.jsx)(tP.qJ.Close,{})}),(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:e.text,children:(0,J.jsxs)(kD,{display:"flex",gap:"12px",alignItems:"flex-end",children:[(0,J.jsx)(i$.Ay,{as:i3.N_,to:"/auto-apply/documents",theme:i$.Ox.alternative,onClick:t=>{(0,N.xP)("progress_promo_cta_click",{type:"auto-apply",cta:e.text.applyForMe}),e.handleAutoApplyClick(t)},children:e.text.applyForMe}),(0,J.jsx)(i$.Ay,{theme:i$.Ox.ghost,onClick:t,children:e.text.notNow})]})})}),(0,J.jsx)(wE,{children:(0,J.jsx)(wR,{src:kV,alt:"Banner"})})]})}function kK(e){let{isPhone:t}=(0,ih.e)(),i=t=>{(0,N.xP)("progress_cta_click",{score:e.service.title,cta:t?e.text.applyForMe:e.text.exploreJobs})};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:e.text,children:(0,J.jsxs)(kD,{display:"flex",gap:"4px",flexDirection:"column",directionOnMobile:"row",children:[(0,J.jsx)(kz,{as:i3.N_,to:"/job-search?view=recommendation",style:{background:"white",display:"block",padding:11,borderRadius:8},theme:i$.Ox.ghost,onClick:()=>i(!1),children:(0,J.jsxs)(kO,{children:[e.text.exploreJobs,(0,J.jsx)(tP.EK.ChevronRightRegular,{})]})}),e.isAutoApplyFeatureEnabled&&(0,J.jsx)(kz,{as:i3.N_,to:"/auto-apply/documents",style:{background:"white",display:"block",padding:11,borderRadius:8},theme:i$.Ox.ghost,onClick:t=>{i(!0),e.handleAutoApplyClick(t)},children:(0,J.jsxs)(kO,{children:[e.text.applyForMe,(0,J.jsx)(tP.EK.ChevronRightRegular,{})]})})]})})}),(0,J.jsx)(wE,{children:(0,J.jsx)(wR,{src:t?kH:kF,style:{margin:"auto"}})})]})}let kq=({service:e})=>{let{i18n:t}=(0,e1.s)(),{isPhone:i}=(0,ih.e)(),r=(0,L.Zp)(),n=(0,ck.J)(),o=wB({service:e}
2332),{jobsAppliedBanner:a,toggleBanner:l}=function(){let[e,t]=(0,R.useState)(()=>{let e=ew.D.getItem(kU);return!e||JSON.parse(e)});return{jobsAppliedBanner:e,toggleBanner:()=>{let i=!e;t(i),ew.D.setItem(kU,JSON.stringify(i))}}}(),s=o.initial,d=e.calculatedProgress?.percentageProgress||0,c={badge:t.t(`${wO}.job_applied.initial.badge`),header:t.t(`${wO}.job_applied.initial.header`),subHeader:t.t(`${wO}.job_applied.initial.sub_header`),applyForMe:t.t(`${wO}.job_applied.initial.apply_for_me`),notNow:t.t(`${wO}.job_applied.initial.not_now`)},u={badge:t.t(`${wO}.job_applied.progress.badge`),header:t.t(`${wO}.job_applied.progress.header`),subHeader:t.t(`${wO}.job_applied.progress.sub_header`),applyForMe:t.t(`${wO}.job_applied.progress.apply_for_me`),exploreJobs:i?t.t(`${wO}.job_applied.progress.explore_jobs_mobile`):t.t(`${wO}.job_applied.progress.explore_jobs`)},p={header:t.t(`${wO}.job_applied.completed.header`),subHeader:t.t(`${wO}.job_applied.completed.sub_header`),actionText:t.t(`${wO}.job_applied.completed.action_text`)},h=e=>{n.isUserOnAutoApplyPlan||(e.preventDefault(),n.redirectToBillingPlans()),n.isUserOnAutoApplyPlan&&n.hasUserCompletedQuestionnaire&&(e.preventDefault(),r("/job-search?view=recommendation"),l())};return d>=100?((0,N.xP)("progress_score_completed",{score:e.title}),(0,J.jsxs)(wN,{theme:o.completed,tipOrder:e.widgetTipOrder,children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:p,isCompleted:!0,children:(0,J.jsx)(kz,{as:i3.N_,to:`/${e?.getNextActionUrl()??"#"}`,children:p.actionText})})}),(0,J.jsx)(wE,{children:(0,J.jsx)(kB,{})})]})):(0,J.jsx)(wN,{theme:s,tipOrder:e.widgetTipOrder,children:a&&n.isAutoApplyFeatureEnabled?(0,J.jsx)(kW,{text:c,toggleBanner:l,handleAutoApplyClick:h}):(0,J.jsx)(kK,{service:e,handleAutoApplyClick:h,text:u,isAutoApplyFeatureEnabled:n.isAutoApplyFeatureEnabled})})};var kG=i.p+"media/initial-job-strategya974f1a31db4ee7c.png",kZ=i.p+"media/search-strategy-mobile0d8de4cd16de2c21.png",kX=i.p+"media/progress-job-strategy-10ac6bf2a385e1b36.png",kQ=i.p+"media/progress-job-strategy-214e33be3860888ff.png",kY=i.p+"media/progress-job-strategy-3a517de93d8773dd2.png",k0=i.p+"media/progress-job-strategy-468f6a798047dd54e.png";let k1=["/career-plans/execute-a-job-search?cp_top_level=3&cp_second_level=7","/career-plans/execute-a-job-search?cp_top_level=3&cp_second_level=8","/career-plans/execute-a-job-search?cp_top_level=3&cp_second_level=9","/career-plans/execute-a-job-search?cp_top_level=3&cp_second_level=10"],k2=[kX,kQ,kY,k0],k3=`${wO}.job_strategy.initial`,k5=`${wO}.job_strategy.progress`,k4=`${wO}.job_strategy.completed`,k6=({service:e})=>{let{text:t,image:i,imageAlt:r,status:n,actionLink:o}=function(e){let{i18n:t}=(0,e1.s)(),{isPhone:i}=(0,ih.e)(),{service:r}=e,n=Math.max(0,Math.min(100,r.calculatedProgress?.percentageProgress||0)),o={badge:t.t(`${k3}.badge`),header:t.t(`${k3}.header`),subHeader:t.t(`${k3}.sub_header`),actionText:t.t(`${k3}.action_text`)},a={badge:t.t(`${k5}.badge`),header:t.t(`${k5}.header`),subHeader:t.t(`${k5}.sub_header`),actionText:t.t(`${k5}.action_text`)},l={badge:void 0,header:t.t(`${k4}.header`),subHeader:t.t(`${k4}.sub_header`),actionText:t.t(`${k4}.action_text`)};if(0===n)return{text:o,status:"initial",image:i?kZ:kG,imageAlt:t.t(`${k3}.image_alt`),actionLink:"/career-plans/execute-a-job-search?cp_top_level=3&cp_second_level=7"};if(100===n)return{text:l,status:"completed",image:kM,imageAlt:t.t(`${k4}.image_alt`),actionLink:r.getNextActionUrl()??"#"};let s=Math.ceil(n/25)-1;return{text:a,status:"progress",image:k2[s],imageAlt:t.t(`${k5}.image_alt`),actionLink:k1[s]}}({service:e}),a=wB({service:e}).initial,l="completed"===n;return(0,R.useEffect)(()=>{l&&(0,N.xP)("progress_score_completed",{score:e.title})},[l,e.title]),(0,J.jsxs)(wN,{theme:a,tipOrder:e.widgetTipOrder,children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:t,isCompleted:l,children:(0,J.jsxs)(wL,{as:i3.N_,to:o,onClick:()=>{(0,N.xP)("progress_promo_cta_click",{score:e.title,cta:t.actionText})},children:[t.actionText,(0,J.jsx)(tP.EK.ChevronRightRegular,{})]})})}),(0,J.jsx)(wE,{children:l?(0,J.jsx)(kB,{}):(0,J.jsx)(wR,{src:i,alt:r})})]})};var k8=i.p+"media/initial-interview-practiced8357794dbd1b39b0.png",k9=i.p+"media/interview-practiced-mobile5e55e9b815ba3539.png";let k7=`${wO}.interviews_practiced.initial`,Se=`${wO}.interviews_practiced.progress`,St=`${wO}.interviews_practiced.completed`,Si=({service:e})=>{let{text:t,actionLink:i,image:r,status:n}=function(e){let{isPhone:t}=(0,ih.e)(),{i18n:i}=(0,e1.s)(),{service:r}=e,n={badge:i.t(`${k7}.badge`),header:i.t(`${k7}.header`),subHeader:i.t(`${k7}.sub_header`),actionText:i.t(`${k7}.action_text`),imageAlt:i.t(`${k7}.image_alt`)},o={badge:i.t(`${Se}.badge`),header:i.t(`${Se}.header`),subHeader:i.t(`${Se}.sub_header`),actionText:i.t(`${Se}.action_text`),imageAlt:i.t(`${Se}.image_alt`)},a={badge:void 0,header:i.t(`${St}.header`),subHeader:i.t(`${St}.sub_header`),actionText:i.t(`${St}.action_text`),imageAlt:i.t(`${St}.image_alt`)};return 0===r.progress?{status:"initial",text:n,actionLink:"/interview-preparation/new",image:t?k9:k8}:r.calculatedProgress?.percentageProgress&&r.calculatedProgress?.percentageProgress>=100?{status:"completed",text:a,actionLink:r.getNextActionUrl()??"#",image:kM}:{status:"progress",text:o,actionLink:"/interview-preparation/dashboard",image:t?k9:k8}}({service:e}),o=wB({service:e}).initial,a="completed"===n;return(0,R.useEffect)(()=>{a&&(0,N.xP)("progress_score_completed",{score:e.title})},[a,e.title]),(0,J.jsxs)(wN,{theme:o,tipOrder:e.widgetTipOrder,children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:t,isCompleted:a,children:(0,J.jsxs)(wL,{as:i3.N_,to:i,onClick:()=>{(0,N.xP)("progress_promo_cta_click",{score:e.title,cta:t.actionText})},children:[t.actionText,(0,J.jsx)(tP.EK.ChevronRightRegular,{})]})})}),(0,J.jsx)(wE,{children:a?(0,J.jsx)(kB,{}):(0,J.jsx)(wR,{src:r,alt:t.imageAlt})})]})};var Sr=i.p+"media/questions-practicedccdf7ab8de8edc0b.png",Sn=i.p+"media/question-praticed-mobile0c8972e9c36994f3.png";let So=`${wO}.questions_practiced.initial`,Sa=`${wO}.questions_practiced.progress`,Sl=`${wO}.questions_practiced.completed`,Ss=({service:e})=>{let{status:t,text:i,actionLink:r,image:n}=function(e){let{i18n:t}=(0,e1.s)(),{isPhone:i}=(0,ih.e)(),{service:r}=e,n={badge:t.t(`${So}.badge`),header:t.t(`${So}.header`),subHeader:t.t(`${So}.sub_header`),actionText:t.t(`${So}.action_text`),imageAlt:t.t(`${So}.image_alt`)},o={badge:t.t(`${Sa}.badge`),header:t.t(`${Sa}.header`),subHeader:t.t(`${Sa}.sub_header`),actionText:t.t(`${Sa}.action_text`),imageAlt:t.t(`${Sa}.image_alt`)},a={badge:void 0,header:t.t(`${Sl}.header`),subHeader:t.t(`${Sl}.sub_header`),actionText:t.t(`${Sl}.action_text`),imageAlt:t.t(`${Sl}.image_alt`)};return 0===r.progress?{status:"initial",text:n,actionLink:"/interview-preparation/new",image:i?Sn:Sr}:r.calculatedProgress?.percentageProgress&&r.calculatedProgress?.percentageProgress>=100?{status:"completed",text:a,actionLink:r.getNextActionUrl()??"#",image:kM}:{status:"progress",text:o,actionLink:"/interview-preparation/dashboard",image:i?Sn:Sr}}({service:e}),o=wB({service:e}).initial,a="completed"===t;return(0,R.useEffect)(()=>{a&&(0,N.xP)("progress_score_completed",{score:e.title})},[a,e.title]),(0,J.jsxs)(wN,{theme:o,tipOrder:e.widgetTipOrder,children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:i,isCompleted:a,children:(0,J.jsxs)(wL,{as:i3.N_,to:r,onClick:()=>{(0,N.xP)("progress_promo_cta_click",{score:e.title,cta:i.actionText})},children:[i.actionText,(0,J.jsx)(tP.EK.ChevronRightRegular,{})]})})}),(0,J.jsx)(wE,{children:a?(0,J.jsx)(kB,{}):(0,J.jsx)(wR,{src:n,alt:i.imageAlt})})]})};var Sd=i.p+"media/initial-interview-strategycacdd5865a40e178.png",Sc=i.p+"media/interview-strategy-134e282a561f979d7.png",Su=i.p+"media/interview-strategy-27b1c8d658a7a132d.png",Sp=i.p+"media/interview-strategy-3fa475182ae8683e2.png",Sh=i.p+"media/interview-strategy-4e687518a5b357011.png",Sx=i.p+"media/interview-strategy-mobile-128cba48834f90adc.png",Sm=i.p+"media/interview-strategy-mobile-2b1c11b9676c708af.png",Sg=i.p+"media/interview-strategy-mobile-3d50e81853d71dd5f.png",Sy=i.p+"media/interview-strategy-mobile-4e40e0e0a1de4dc86.png";let Sf=["/career-plans/execute-a-job-search?cp_top_level=4&cp_second_level=11","/career-plans/execute-a-job-search?cp_top_level=4&cp_second_level=12","/career-plans/execute-a-job-search?cp_top_level=4&cp_second_level=13","/career-plans/execute-a-job-search?cp_top_level=4&cp_second_level=14"],Sb=[Sc,Su,Sp,Sh],S_=[Sx,Sm,Sg,Sy],Sv=`${wO}.interview_strategy.initial`,Sj=`${wO}.interview_strategy.progress`,SA=`${wO}.interview_strategy.completed`,SC=({service:e})=>{let{text:t,actionLink:i,image:r,imageAlt:n,status:o}=function(e){let{i18n:t}=(0,e1.s)(),{isPhone:i}=(0,ih.e)(),{service:r}=e,n=Math.max(0,Math.min(100,r.calculatedProgress?.percentageProgress||0)),o=r.progress,a=r.data?.target_score,l={badge:t.t(`${Sv}.badge`),header:t.t(`${Sv}.header`),subHeader:t.t(`${Sv}.sub_header`),actionText:t.t(`${Sv}.action_text`)},s={badge:t.t(`${Sj}.badge`),header:t.t(`${Sj}.header`),subHeader:t.t(`${Sj}.sub_header`),actionText:t.t(`${Sj}.action_text`)},d={badge:void 0,header:t.t(`${SA}.header`),subHeader:t.t(`${SA}.sub_header`),actionText:t.t(`${SA}.action_text`)};if(0===o)return{text:l,status:"initial",image:Sd,imageAlt:t.t(`${Sv}.image_alt`),actionLink:Sf[0]};if(a&&o>=a)return{text:d,status:"completed",image:kM,imageAlt:t.t(`${SA}.image_alt`),actionLink:r.getNextActionUrl()??"#"};let c=Math.min(3,Math.floor((n-1)/25));return{text:s,status:"progress",image:i?S_[c]:Sb[c],imageAlt:t.t(`${Sj}.image_alt`),actionLink:Sf[c]}}({service:e}),a=wB({service:e}).initial,l="completed"===o;return(0,R.useEffect)(()=>{l&&(0,N.xP)("progress_score_completed",{score:e.title})},[l,e.title]),(0,J.jsxs)(wN,{theme:a,tipOrder:e.widgetTipOrder,children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:t,isCompleted:l,children:(0,J.jsxs)(wL,{as:i3.N_,to:i,onClick:()=>{(0,N.xP)("progress_promo_cta_click",{score:e.title,cta:t.actionText})},children:[t.actionText,(0,J.jsx)(tP.EK.ChevronRightRegular,{})]})})}),(0,J.jsx)(wE,{children:l?(0,J.jsx)(kB,{}):(0,J.jsx)(wR,{src:r,alt:n})})]})};var Sw=i.p+"media/interview-completedbb5ebe7eb6568af8.png",Sk=i.p+"media/interview-passed-mobile899a58d1471e75c0.png";let SS=`${wO}.interview_completed.initial`,ST=`${wO}.interview_completed.progress`,SP=`${wO}.interview_completed.completed`,SJ=({service:e})=>{let{text:t,image:i,actionLink:r,status:n}=function(e){let{isPhone:t}=(0,ih.e)(),{i18n:i}=(0,e1.s)(),{service:r}=e,n={badge:i.t(`${SS}.badge`),header:i.t(`${SS}.header`),subHeader:i.t(`${SS}.sub_header`),actionText:i.t(`${SS}.action_text`),imageAlt:i.t(`${SS}.image_alt`)},o={badge:i.t(`${ST}.badge`),header:i.t(`${ST}.header`),subHeader:i.t(`${ST}.sub_header`),actionText:i.t(`${ST}.action_text`),imageAlt:i.t(`${ST}.image_alt`)},a={badge:void 0,header:i.t(`${SP}.header`),subHeader:i.t(`${SP}.sub_header`),actionText:i.t(`${SP}.action_text`),imageAlt:i.t(`${SP}.image_alt`)};return 0===r.progress?{status:"initial",text:n,actionLink:"/interview-preparation/new",image:t?Sk:Sw}:(r.calculatedProgress?.percentageProgress||0)>=100?{status:"completed",text:a,actionLink:`/${r?.getNextActionUrl?.()??"#"} `,image:kM}:{status:"progress",text:o,actionLink:"/interview-preparation/dashboard",image:t?Sk:Sw}}({service:e}),o=wB({service:e}).initial,a="completed"===n;return(0,R.useEffect)(()=>{a&&(0,N.xP)("progress_score_completed",{score:e.title})},[a,e.title]),(0,J.jsxs)(wN,{theme:o,tipOrder:e.widgetTipOrder,children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:t,isCompleted:a,children:(0,J.jsxs)(wL,{as:i3.N_,to:r,onClick:()=>{(0,N.xP)("progress_promo_cta_click",{score:e.title,cta:t.actionText})},children:[t.actionText,(0,J.jsx)(tP.EK.ChevronRightRegular,{})]})})}),(0,J.jsx)(wE,{children:a?(0,J.jsx)(kB,{}):(0,J.jsx)(wR,{src:i,alt:t.imageAlt})})]})},SE="first_90_days_seen_modal",SR=(0,tt.Ay)(wR)([""]),SL=tt.Ay.button(["position:absolute;top:24px;right:24px;border:none;cursor:pointer;z-index:1;"]),SN=tt.Ay.div(["display:flex;gap:12px;",""],tQ.A.Phone`
2333    justify-content: center;
2334    flex-direction: row-reverse;
2335    gap: 8px;
2336  `),SI=(0,tt.Ay)(i$.Ay)(["color:",";background-color:",";"," &:hover,&:focus-visible{background-color:",";}"],te.Jy.White,te.Jy.Green50,tQ.A.Phone`
2337    width: 100%;
2338  `,te.Jy.Green60),SM=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.ghost})(["",""],tQ.A.Phone`
2339    width: 100%;
2340  `),SB=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;width:100%;",""],tQ.A.Phone`
2341    gap: 8px;
2342    flex-direction: row;
2343    justify-content: center;
2344  `),SD=tt.Ay.button(["display:flex;justify-content:space-between;cursor:pointer;padding:11px;border-radius:8px;border:1px solid ",";background:",";",""],te.Jy.Neutral15,te.Jy.White,tQ.A.Phone`
2345    width: 100%;
2346    justify-content: center;
2347  `),S$=tt.Ay.p([""," "," color:",";"],td.o5.Body,td.BO.Regular,te.Jy.Neutral90),SO=tt.Ay.p([""," "," color:",";"],td.o5.Body,td.BO.DemiBold,te.Jy.Green50),Sz=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;"]),SF=(0,tt.Ay)(tP.EK.ChevronRightRegular)(["color:",";"],te.Jy.Neutral80),SH=tt.Ay.div(["overflow:hidden;width:fit-content;height:100%;",""],tQ.A.Phone`
2348    height: 160px;
2349    margin: 0 auto;
2350  `),SV=tt.Ay.video(["width:100%;height:100%;border:none;outline:none;margin:0;padding:0;transform:scale(1.01);transform-origin:center;"]),SU=({text:e,status:t,steps:i,service:r,handleCloseModal:n})=>{let o,a,l,{isPhone:s}=(0,ih.e)(),{features:d}=(0,d2.t)(),{handleOpen90DaysPage:c,handleOpenBookCoach:u}=(o=(0,e4.J)(),a=(0,eU.wA)(),l=(0,L.Zp)(),{handleOpen90DaysPage:()=>{o?.uiStates?.first90DaysPlanSeen||(a(U.o1.setUIStatesConfigStatus({first_90_days_seen:!0})),a(Z.o1.setUIUserState({first90DaysPlanSeen:!0}))),l("/career-plans/first-90-days")},handleOpenBookCoach:()=>
2350{l("/career-coaching")}}),p=t=>{t?((0,N.xP)("progress_promo",{type:"coaching"}),(0,N.xP)("progress_promo_cta_click",{type:"coaching",cta:e.book_coach}),n()):(0,N.xP)("progress_cta_click",{score:r.title,cta:e.actions.book_coach}),u()},h=(e,t,i)=>s?null:e?(0,J.jsx)(Sz,{"data-testid":`${i}-completed-icon`,children:(0,J.jsx)(SF,{})}):(0,J.jsxs)(SO,{"data-testid":`${i}-score`,children:["+",t,"%"]});return"initial"===t?(0,J.jsxs)(SN,{children:[(0,J.jsx)(SI,{onClick:()=>p(!0),"data-testid":"first-90-days-plan-action-button-initial",children:e.book_coach}),(0,J.jsx)(SM,{onClick:n,children:e.close_modal})]}):(0,J.jsxs)(SB,{children:[(0,J.jsxs)(SD,{onClick:()=>{(0,N.xP)("progress_cta_click",{score:r.title,cta:e.actions.see_plan}),c()},"data-testid":"first-90-days-plan-action-button-progress",children:[(0,J.jsx)(S$,{children:e.actions.see_plan}),h(i.page_seen?.completed,i.page_seen?.target_score,"first-90-days-plan-page-seen")]}),d.careerCoaching&&(0,J.jsxs)(SD,{onClick:()=>p(!1),"data-testid":"first-90-days-plan-book-coach-button-progress",children:[(0,J.jsx)(S$,{children:e.actions.book_coach}),h(!i.page_seen?.completed||i.career_coaching?.completed,i.career_coaching?.target_score,"first-90-days-plan-career-coaching")]})]})};var SW=i.p+"media/coachesec3339b5ca344735.webm",SK=i.p+"media/coaches-mobile227bea922430acf0.webm",Sq=i.p+"media/ilustration0208cf748b5f1254.png",SG=i.p+"media/ilustration-mobilef9fa89fc01c2a3ec.png";let SZ=({service:e})=>{let{isPhone:t}=(0,ih.e)(),i=wB({service:e}),{text:r,status:n,steps:o,handleCloseModal:a}=(e=>{let{i18n:t}=(0,e1.s)(),{features:i}=(0,d2.t)(),[r,n]=(0,R.useState)(!ew.D.getItem(SE)&&i.careerCoaching),o=e.calculatedProgress?.percentageProgress||0,a=t=>e.data?.steps?.find(e=>e.step_name===t),l=()=>r?"initial":o>=100?"completed":"progress";return(0,R.useEffect)(()=>{r&&(0,N.xP)("progress_promo",{type:"coaching"})},[r]),{text:(()=>{let e=l(),i=a("page_seen"),r=a("career_coaching"),n=`first_90_days_plan.${e}`,o=()=>i?"career_coaching":"page_seen";if("progress"===e){let e,a;return{...t.t(`${wO}.${n}`),header:t.t(`${wO}.${n}.header.${o()}`),subHeader:t.t(`${wO}.${n}.subHeader.${o()}`),actions:(e=i?.completed?"completed":"not_completed",a=r?.completed?"completed":"not_completed",{see_plan:t.t(`${wO}.${n}.actions.page_seen.${e}`),book_coach:t.t(`${wO}.${n}.actions.career_coaching.${a}`)})}}return t.t(`${wO}.${n}`)})(),steps:{page_seen:a("page_seen"),career_coaching:a("career_coaching")},status:l(),handleCloseModal:()=>{ew.D.setItem(SE,"true"),n(!1),(0,N.xP)("progress_promo_close",{type:"coaching"})}}})(e),l="completed"===n;return(0,R.useEffect)(()=>{l&&(0,N.xP)("progress_score_completed",{score:e.title})},[l,e.title]),(0,J.jsxs)(wN,{theme:i[n],tipOrder:e.widgetTipOrder,children:["initial"===n&&(0,J.jsx)(SL,{onClick:()=>{(0,N.xP)("progress_promo_close",{type:"coaching"}),a()},"data-testid":"first-90-days-plan-close-button",children:(0,J.jsx)(tP.Ay.Close,{})}),(0,J.jsxs)(wJ,{children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:r,isCompleted:l,"data-testid":`first-90-days-plan-info-${n}`,children:l?(0,J.jsx)(wL,{as:i3.N_,to:e.getNextActionUrl(),"data-testid":"first-90-days-plan-action-button-completed",children:r.actionText}):(0,J.jsx)(SU,{steps:o,text:r,status:n,service:e,handleCloseModal:a})})}),(0,J.jsx)(wE,{children:l?(0,J.jsx)(kB,{}):"progress"===n?(0,J.jsx)(SR,{src:t?SG:Sq,"data-testid":"first-90-days-plan-image-progress"}):(0,J.jsx)(SH,{"data-testid":"first-90-days-plan-animation-container-initial",children:(0,J.jsx)(SV,{src:t?SK:SW,autoPlay:!0,muted:!0,loop:!0,playsInline:!0})})})]})]})},SX=(0,tt.Ay)(wR)([""]),SQ=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;width:100%;",""],tQ.A.Phone`
2351    gap: 8px;
2352    flex-direction: row;
2353    justify-content: center;
2354  `),SY=tt.Ay.button(["display:flex;justify-content:space-between;cursor:pointer;padding:11px;border-radius:8px;border:1px solid ",";background:",";",""],te.Jy.Neutral15,te.Jy.White,tQ.A.Phone`
2355    width: 100%;
2356    justify-content: center;
2357  `),S0=tt.Ay.p([""," ","   color:",";"],td.o5.Body,td.BO.Regular,te.Jy.Neutral90),S1=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;"]),S2=(0,tt.Ay)(tP.EK.ChevronRightRegular)(["color:",";"],te.Jy.Neutral80),S3=tt.Ay.p([""," "," color:",";"],td.o5.Body,td.BO.DemiBold,te.Jy.Green50),S5=({steps:e,text:t,service:i,status:r})=>{let n,o,a,{isPhone:l}=(0,ih.e)(),{features:s}=(0,d2.t)(),{handleGetPromotionPage:d,handleOpenBookCoach:c}=(n=(0,e4.J)(),o=(0,eU.wA)(),a=(0,L.Zp)(),{handleGetPromotionPage:()=>{n?.uiStates?.promotionPlanSeen||(o(U.o1.setUIStatesConfigStatus({promotion_plan_seen:!0})),o(Z.o1.setUIUserState({promotionPlanSeen:!0}))),a("/career-plans/path-to-promotion")},handleOpenBookCoach:()=>{a("/career-coaching")}}),u=(e,t,i)=>l?null:e?(0,J.jsx)(S1,{"data-testid":`${i}-completed-icon`,children:(0,J.jsx)(S2,{})}):(0,J.jsxs)(S3,{"data-testid":`${i}-score`,children:["+",t,"%"]});return(0,J.jsxs)(SQ,{"data-testid":`get-promotion-action-buttons-${r}`,children:[(0,J.jsxs)(SY,{"data-testid":l?"get-promotion-plan-button-mobile":`get-promotion-plan-button-${r}`,onClick:()=>{(0,N.xP)("progress_cta_click",{score:i.title,cta:t.promotion_button}),d()},children:[(0,J.jsx)(S0,{children:l?t.promotion_button_mobile:t.promotion_button}),u(e.get_promotion?.completed,e.get_promotion?.score,"get-promotion-page-seen")]}),s.careerCoaching&&(0,J.jsxs)(SY,{"data-testid":`get-promotion-book-coach-button-${r}`,onClick:()=>{(0,N.xP)("progress_cta_click",{score:i.title,cta:t.coach_button}),c()},children:[(0,J.jsx)(S0,{children:t.coach_button}),u(!e.get_promotion?.completed||e.career_coaching?.completed,e.career_coaching?.score,"get-promotion-career-coaching")]})]})};var S4=i.p+"media/ilustration947bb05c5da2302a.png",S6=i.p+"media/ilustration-mobile162febd30849a03c.png";let S8=({service:e})=>{let{isPhone:t}=(0,ih.e)(),i=wB({service:e}),{text:r,status:n,steps:o}=(e=>{let t,i,r=(0,e4.J)(),{i18n:n}=(0,e1.s)(),o=e.calculatedProgress?.percentageProgress||0,a=()=>{let t=e.data?.steps?.find(e=>"page_seen"===e.step_name),i=e.data?.steps?.find(e=>"career_coaching"===e.step_name);return{get_promotion:{completed:r?.uiStates?.promotionPlanSeen||t?.completed,score:t?.target_score},career_coaching:{completed:i?.completed,score:i?.target_score}}},l=()=>{let e=a();return e.get_promotion?.completed?o>=100?"completed":"progress":"initial"};return{text:(t=l(),i=`get_promotion.${t}`,n.t(`${wO}.${i}`)),status:l(),steps:a()}})(e);console.log("status",n);let a="completed"===n;return(0,R.useEffect)(()=>{a&&(0,N.xP)("progress_score_completed",{score:e.title})},[a,e.title]),(0,J.jsx)(wN,{theme:i[n],tipOrder:e.widgetTipOrder,children:(0,J.jsxs)(wJ,{children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:r,isCompleted:a,"data-testid":`get-promotion-info-${n}`,children:a?(0,J.jsx)(wL,{as:i3.N_,to:e.getNextActionUrl(),onClick:()=>{(0,N.xP)("progress_score_completed",{score:e.title})},"data-testid":"get-promotion-action-button-completed",children:r.actionText}):(0,J.jsx)(S5,{text:r,steps:o,status:n,service:e})})}),(0,J.jsx)(wE,{children:a?(0,J.jsx)(kB,{"data-testid":"dashboard-widget-success-box"}):(0,J.jsx)(SX,{src:t?S6:S4,alt:"Get Promotion","data-testid":t?"get-promotion-mobile-image":`get-promotion-image-${n}`})})]})})},S9=(0,tt.Ay)(wR)([""]),S7=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;width:100%;",""],tQ.A.Phone`
2358    gap: 8px;
2359    flex-direction: row;
2360    justify-content: center;
2361  `),Te=tt.Ay.button(["display:flex;justify-content:space-between;cursor:pointer;padding:11px;border-radius:8px;border:1px solid ",";background:",";",""],te.Jy.Neutral15,te.Jy.White,tQ.A.Phone`
2362    width: 100%;
2363    justify-content: center;
2364  `),Tt=tt.Ay.p([""," ","   color:",";"],td.o5.Body,td.BO.Regular,te.Jy.Neutral90),Ti=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;"]),Tr=(0,tt.Ay)(tP.EK.ChevronRightRegular)(["color:",";"],te.Jy.Neutral80),Tn=tt.Ay.p([""," "," color:",";"],td.o5.Body,td.BO.DemiBold,te.Jy.Green50),To=({text:e,steps:t,service:i})=>{let r,{isPhone:n}=(0,ih.e)(),{features:o}=(0,d2.t)(),{handleCareerPath:a,handleAssessments:l,handleOpenBookCoach:s}=(r=(0,L.Zp)(),{handleCareerPath:()=>{r("/career-path")},handleAssessments:()=>{r("/career-profile/chat")},handleOpenBookCoach:()=>{r("/career-coaching")}}),d=()=>
2364!t.assessments.completed&&e.assessmentButton?{text:n?e.assessmentButtonMobile:e.assessmentButton,score:t.assessments.score}:t.career_path.completed?{text:e.careerPathButton,score:t.career_path.score}:{text:n?e.careerPathButtonMobile:e.careerPathButton,score:t.career_path.score},c=()=>t.book_coach.completed?{text:e.bookCoachAgain,score:t.book_coach.score}:{text:e.bookCoachButton,score:0},u=(e,t)=>n?null:e?(0,J.jsx)(Ti,{children:(0,J.jsx)(Tr,{})}):(0,J.jsxs)(Tn,{children:["+",t,"%"]});return(0,J.jsxs)(S7,{"data-testid":"change-careers-action-buttons-progress",children:[(0,J.jsxs)(Te,{onClick:()=>((0,N.xP)("progress_cta_click",{score:i.title,cta:d().text}),t.assessments.completed)?a():l(),"data-testid":"change-careers-assessment-button-progress",children:[(0,J.jsx)(Tt,{children:d().text}),u(!1,d().score)]}),o.careerCoaching&&(0,J.jsxs)(Te,{onClick:()=>{(0,N.xP)("progress_cta_click",{score:i.title,cta:c().text}),s()},"data-testid":"change-careers-book-coach-button-progress",children:[(0,J.jsx)(Tt,{children:c().text}),u(!c().score,c().score)]})]})};var Ta=i.p+"media/ilustration07dbbc6a37458280.png",Tl=i.p+"media/ilustration-mobilec451a2215b9532ca.png";let Ts=({service:e})=>{let{isPhone:t}=(0,ih.e)(),i=wB({service:e}),{text:r,status:n,steps:o}=(e=>{let t,i,r,{i18n:n}=(0,e1.s)(),o=e.calculatedProgress?.percentageProgress||0,a=t=>e.data?.steps?.find(e=>e.step_name===t),l=()=>{let e=a("career_assessment_score"),t=a("build_career_path"),i=a("career_coaching");return{assessments:{completed:e?.completed,score:e?.target_score},career_path:{completed:t?.completed,score:t?.target_score},book_coach:{completed:i?.completed,score:i?.target_score}}},s=()=>o>=100?"completed":e.progress>0?"progress":"initial";return{text:(t=s(),i=l(),r=`change_careers.${t}`,"progress"===t?{...n.t(`${wO}.${r}`),header:i.career_path?.completed?n.t(`${wO}.${r}.header.v2`):n.t(`${wO}.${r}.header.v1`),subHeader:i.career_path?.completed?n.t(`${wO}.${r}.subHeader.v2`):n.t(`${wO}.${r}.subHeader.v1`)}:n.t(`${wO}.${r}`)),steps:l(),status:s()}})(e),a="completed"===n;return(0,R.useEffect)(()=>{a&&(0,N.xP)("progress_score_completed",{score:e.title})},[a,e.title]),(0,J.jsx)(wN,{theme:i[n],tipOrder:e.widgetTipOrder,children:(0,J.jsxs)(wJ,{"data-testid":`change-careers-${n}`,children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:r,isCompleted:a,"data-testid":`change-careers-info-${n}`,children:a?(0,J.jsx)(wL,{as:i3.N_,to:e.getNextActionUrl(),"data-testid":"change-careers-action-button-completed",children:r.actionText}):(0,J.jsx)(To,{steps:o,text:r,service:e})})}),(0,J.jsx)(wE,{children:a?(0,J.jsx)(kB,{"data-testid":"dashboard-widget-success-box"}):(0,J.jsx)(S9,{src:t?Tl:Ta,"data-testid":`change-careers-image-${n}`})})]})})};var Td=i(81761);let Tc=(0,tt.Ay)(wR)([""]),Tu=tt.Ay.div(["display:flex;justify-content:center;align-items:center;height:100%;position:relative;",""],tQ.$.Phone`
2365    align-items: flex-end;
2366  `),Tp=tt.Ay.div(["position:relative;width:300px;height:169px;border-radius:8px;",""],tQ.$.Phone`
2367    width: 200px;
2368    height: 112px;
2369  `),Th=tt.Ay.img(["width:100%;height:100%;border-radius:8px;object-fit:cover;"]),Tx=tt.Ay.div(["position:absolute;width:80px;height:80px;border-radius:50%;background-color:",";display:flex;justify-content:center;align-items:center;top:-22px;right:-22px;",""],te.Jy.White,tQ.$.Phone`
2370    top: -16px;
2371    right: -24px;
2372    width: 56px;
2373    height: 56px;
2374  `),Tm=tt.Ay.div(["width:76px;height:76px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(closest-side,white 79%,transparent 80% 100%),conic-gradient("," ","%,"," 0);",""],te.Jy.Green50,({percentage:e})=>e,te.Jy.Neutral10,tQ.$.Phone`
2375    width: 52px;
2376    height: 52px;
2377  `),Tg=tt.Ay.p([""," "," color:",";"],td.o5.Subhead,td.BO.Medium,te.Jy.Neutral90),Ty=({src:e,percentage:t})=>(0,J.jsx)(Tu,{"data-testid":"upskill-illustration-box-progress",children:(0,J.jsxs)(Tp,{children:[(0,J.jsx)(Th,{src:e}),(0,J.jsx)(Tx,{children:(0,J.jsx)(Tm,{percentage:t||0,children:(0,J.jsxs)(Tg,{children:[t,"%"]})})})]})});var Tf=i.p+"media/upskill50116d8fc891f9e8.png",Tb=i.p+"media/upskill-mobileea93fca108a8f2f4.png";let T_=({service:e})=>{let t=(0,L.Zp)(),{isPhone:i}=(0,ih.e)(),r=wB({service:e}),{text:n,status:o}=(e=>{let t,{i18n:i}=(0,e1.s)(),r=e.calculatedProgress?.percentageProgress||0,n=()=>r>=100?"completed":r>0?"progress":"initial";return{isLoading:!1,text:"initial"===(t=n())||"completed"===t?i.t(`${wO}.upskill.${t}`):{badge:i.t(`${wO}.upskill.${t}.badge`),header:e?.data?.last_course?.title||"",subHeader:e?.data?.last_course?.introduction||"",actionText:i.t(`${wO}.upskill.${t}.actionText`)},status:n()}})(e),{handleClickCourse:a,handleExploreCourses:l}=(()=>{let{mutateAndRedirect:e}=(0,Td.T)(),t=async t=>{e({cmsgid:t})};return{handleClickCourse:async e=>{await t(e)},handleExploreCourses:async()=>{await t()}}})(),s="progress"===o,d="completed"===o;return(0,R.useEffect)(()=>{d&&(0,N.xP)("progress_score_completed",{score:e.title})},[d,e.title]),(0,J.jsx)(wN,{theme:r[o],tipOrder:0,children:(0,J.jsxs)(wJ,{children:[(0,J.jsx)(wE,{children:(0,J.jsx)(kL,{text:n,bannerType:s?"image":"text",isCompleted:d,handleClick:()=>
2377{if((0,N.xP)("progress_cta_click",{score:e.title,cta:n.actionText}),d)t(e.getNextActionUrl());else if(s){if(!e?.data?.last_course?.cmsgid)return;a(e?.data?.last_course?.cmsgid)}else l()},src:e?.data?.last_course?.organisation?.organisation_image,"data-testid":`upskill-info-${o}`,actionButtonTestId:`upskill-action-button-${o}`})}),(0,J.jsx)(wE,{children:d?(0,J.jsx)(kB,{}):s?(0,J.jsx)(Ty,{src:e?.data?.last_course?.small_image,percentage:Math.round(e.calculatedProgress.percentageProgress??0)}):(0,J.jsx)(Tc,{src:i?Tb:Tf,"data-testid":"upskill-illustration-box-initial"})})]})})},Tv=tt.Ay.div(["display:flex;gap:16px;padding:32px;width:100%;height:100%;",""],tQ.$.Phone`
2378    padding: 16px;
2379    flex-direction: column-reverse;
2380  `),Tj=tt.Ay.div(["flex:1;"]),TA=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;height:100%;",""],tQ.$.Phone`
2381    align-items: center;
2382    justify-content: center;
2383  `),TC=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;"]),Tw=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;width:100%;",""],tQ.$.Phone`
2384    align-items: center;
2385    justify-content: center;
2386  `),Tk=tt.Ay.div(["margin-top:auto;",""],tQ.$.Phone`
2387    width: 100%;
2388  `),TS=tt.Ay.div(["border-radius:6px;animation:"," 1.5s linear infinite;background:",";background:linear-gradient( to right,"," 5%,"," 15%,"," 25% );width:",";height:",";background-size:100vw 100vh;"],im.D7,te.Jy.Neutral10,te.Jy.Neutral10,te.Jy.Neutral15,te.Jy.Neutral10,e=>e.width?`${e.width}px`:"100%",e=>e.height?`${e.height}px`:"100%"),TT=({service:e,tipOrder:t})=>{let{isPhone:i}=(0,ih.e)(),r=wB({service:e});return(0,J.jsx)(wN,{theme:r.loading,tipOrder:t,children:(0,J.jsxs)(Tv,{"data-testid":"dashboard-widget-skeleton",children:[(0,J.jsx)(Tj,{children:(0,J.jsxs)(TA,{children:[(0,J.jsxs)(TC,{children:[!i&&(0,J.jsx)(TS,{width:265,height:24}),(0,J.jsx)(TS,{width:165,height:24})]}),(0,J.jsxs)(Tw,{children:[(0,J.jsx)(TS,{width:i?void 0:265,height:12}),(0,J.jsx)(TS,{width:i?void 0:265,height:12}),(0,J.jsx)(TS,{width:165,height:12})]}),(0,J.jsx)(Tk,{children:(0,J.jsx)(TS,{width:i?void 0:300,height:i?44:48})})]})}),(0,J.jsx)(Tj,{})]})})},TP={ResumeCrafting:e=>(0,J.jsx)(w6,{...e}),ResumeTailoring:e=>(0,J.jsx)(kt,{...e}),ResumeDistribution:e=>(0,J.jsx)(ky,{...e}),CoverLetterCrafting:e=>(0,J.jsx)(kv,{...e}),JobsApplied:e=>(0,J.jsx)(kq,{...e}),JobSearchStrategy:e=>(0,J.jsx)(k6,{...e}),InterviewsPracticed:e=>(0,J.jsx)(Si,{...e}),QuestionsPracticed:e=>(0,J.jsx)(Ss,{...e}),InterviewStrategy:e=>(0,J.jsx)(SC,{...e}),InterviewsPassed:e=>(0,J.jsx)(SJ,{...e}),First90DaysPlan:e=>(0,J.jsx)(SZ,{...e}),GetPromotion:e=>(0,J.jsx)(S8,{...e}),ChangeCareers:e=>(0,J.jsx)(Ts,{...e}),Upskill:e=>(0,J.jsx)(T_,{...e}),Default:()=>(0,J.jsx)(TT,{service:wv,tipOrder:0})},TJ=tt.Ay.div(["display:flex;flex-direction:column;gap:64px;",""],tQ.A.Phone`
2389    gap: 40px;
2390  `),TE=tt.Ay.div(["display:flex;gap:24px;width:100%;background-color:transparent;",";"],tQ.A.Tablet` flex-direction: column; `),TR=tt.Ay.div(["width:32px;height:32px;border-radius:50%;background-color:",";display:none;align-items:center;justify-content:center;cursor:pointer;flex:0 0 32px;",";svg{color:",";}&:hover{background-color:",";svg{color:",";}}"],te.Jy.Neutral10,tQ.A.Laptop` 
2391    display: flex; 
2392  `,te.Jy.Neutral50,te.Jy.Blue10,te.Jy.Blue50),TL=tt.Ay.div(["flex:1;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;max-width:352px;min-width:300px;min-height:332px;",";background-color:",";&:hover{","{display:flex;}}"],tr.A.lightWithBorder.low,te.Jy.White,TR),TN=tt.Ay.div(["display:flex;align-items:center;"]),TI=tt.Ay.div(["flex:1;"]),TM=tt.Ay.h2([""," "," text-align:center;padding:22px 0 18px;flex:1;"],td.Ay.Caps,td.BO.DemiBold),TB=tt.Ay.ul(["list-style:none;padding:0;margin:0;"]),TD=tt.Ay.li(["display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;color:",";border-radius:16px;"," ",";background-color:",";"],te.Jy.Neutral90,td.Ay.Body,tr.A.lightWithBorder.low,te.Jy.White),T$=tt.Ay.li(["display:flex;align-items:center;gap:12px;height:64px;padding:8px 20px;border-right:3px solid transparent;cursor:pointer;color:",";"," ",";"],te.Jy.Neutral90,td.Ay.Body,e=>e.isActive&&`
2393    color: ${e.theme.text};
2394    background-color: ${e.theme.soft}50; 
2395    border-color: ${e.theme.base};
2396   `),TO=tt.Ay.div(["width:100%;display:flex;flex-direction:column;gap:8px;"]),Tz=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;"," "," width:100%;"],td.Ay.Body,td.BO.Regular),TF=tt.Ay.div(["width:100%;height:4px;background:","!important;border-radius:3px;overflow:hidden;"],({isActive:e,theme:t})=>e?t.muted:te.Jy.Neutral10),TH=tt.Ay.div(["height:100%;background:","!important;width:","%;transition:width 0.6s cubic-bezier(0.4,0,0.2,1);"],e=>e.theme.base,({progress:e})=>e&&0!==e?e:1),TV=tt.Ay.div(["flex:2;"]),TU=tt.Ay.div(["flex:1;display:flex;align-items:center;justify-content:flex-end;padding-right:16px;"]),TW=tt.Ay.div(["width:100%;overflow:hidden;position:relative;& .swiper-wrapper{display:flex !important;transition-property:transform !important;box-sizing:content-box;}& .swiper-slide{flex-shrink:0 !important;box-sizing:border-box;}"]),TK=tt.Ay.div(["display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;.swiper-pagination-bullet{width:6px;height:6px;background:",";border-radius:50%;opacity:1;}.swiper-pagination-bullet-active{background:",";}"],te.Jy.Neutral20,te.Jy.Blue50),Tq={width:"90%",padding:"5px",display:"flex",flexDirection:"column",gap:"24px"};function TG(e){let{data:t,setActiveServiceId:i,activeServiceId:r,isFetching:n,ProgressModalTrigger:o}=e;return(0,J.jsxs)(TW,{children:[(0,J.jsx)(nl.RC,{modules:[na.dK],loop:!0,pagination:{el:".my-custom-pagination",clickable:!0},initialSlide:t.findIndex(e=>e.id===r),centeredSlides:!0,direction:"horizontal",slidesPerView:"auto",spaceBetween:4,onSlideChange:e=>{let n=t[e.realIndex]?.id;n&&n!==r&&i(n)},children:t.map(t=>{let a=r===t.id,{formattedProgress:l="",percentageProgress:s=0}=t.calculatedProgress,d=n?TP.Default:TP[t.component];return(0,J.jsxs)(nl.qr,{style:Tq,children:[(0,J.jsx)(tt.NP,{theme:t.theme,children:(0,J.jsxs)(TD,{isActive:a,onClick:()=>i(t.id),children:[(0,J.jsx)(wk,{service:t,isActive:a,isLoading:n}),(0,J.jsxs)(TO,{children:[(0,J.jsxs)(Tz,{children:[(0,J.jsx)("span",{children:t.title}),(0,J.jsx)("span",{children:n?(0,J.jsx)(du.Ay,{$width:"24px",$height:"24px"}):l})]}),(0,J.jsx)(TF,{isActive:a,children:(0,J.jsx)(TH,{progress:s})})]}),o]})},t.id),(0,J.jsx)(TV,{children:(0,J.jsx)(d,{service:t,categoryId:e.categoryId})})]},t.id)})}),(0,J.jsx)(TK,{className:"my-custom-pagination"})]})}function TZ(e){let{data:t,setActiveServiceId:i,activeServiceId:r,isFetching:n,selectedService:o,ProgressModalTrigger:a}=e,l=n?TP.Default:TP[o.component];return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(TL,{children:[(0,J.jsxs)(TN,{children:[(0,J.jsx)(TI,{}),(0,J.jsx)(TM,{children:"PROGRESS"}),(0,J.jsx)(TU,{children:a})]}),(0,J.jsx)(TB,{children:t.map(e=>{let t=r===e.id,{formattedProgress:o="",percentageProgress:a=0}=e.calculatedProgress;return(0,J.jsx)(tt.NP,{theme:e.theme,children:(0,J.jsxs)(T$,{isActive:t,onClick:()=>i(e.id),children:[(0,J.jsx)(wk,{service:e,isActive:t,isLoading:n}),(0,J.jsxs)(TO,{children:[(0,J.jsxs)(Tz,{children:[(0,J.jsx)("span",{children:e.title}),(0,J.jsx)("span",{children:n?(0,J.jsx)(du.Ay,{$width:"24px",$height:"24px"}):o})]}),(0,J.jsx)(TF,{isActive:t,children:(0,J.jsx)(TH,{progress:a})})]})]})},e.id)})})]}),(0,J.jsx)(TV,{children:(0,J.jsx)(l,{service:o,categoryId:e.categoryId})})]})}let TX=tt.Ay.div(["overflow:hidden;width:545px;height:670px;border-radius:16px;background:",";box-shadow:0px 6px 8px -2px rgba(15,20,30,0.08),0px 16px 64px -8px rgba(15,20,30,0.32);position:relative;",""],te.Jy.White,tQ.A.Phone`
2397    width: 100%;
2398    height: calc(100vh - 72px);
2399  `),TQ=tt.Ay.div(["width:100%;height:100%;overflow-y:auto;display:flex;flex-direction:column;gap:",";padding:32px;",""],te.Kz.L,tQ.A.Phone`
2400    padding: 20px;
2401  `),TY=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;"]),T0=tt.Ay.h1([""," "," color:",";"],td.o5.M,td.BO.Medium,te.Jy.Neutral90),T1=tt.Ay.div(["width:24px;height:24px;border-radius:50%;background-color:",";display:flex;justify-content:center;align-items:center;cursor:pointer;position:absolute;right:32px;top:32px;"],te.Jy.Neutral10),T2=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.L),T3=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.M),T5=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.S),T4=tt.Ay.h2([""," "," color:",";"],td.o5.Caps,td.BO.DemiBold,te.Jy.Neutral50),T6=(0,tt.Ay)(T$).attrs({isActive:!1})(["padding:0;height:unset;cursor:default;"]),T8=(0,tt.Ay)(wl.K.h7)(["margin:8px auto 4px;background:",";"],te.Jy.Neutral30),T9=({sectionTitle:e,services:t})=>(0,J.jsxs)(T3,{children:[(0,J.jsx)(T4,{children:e}),(0,J.jsx)(T5,{children:t?.map(e=>{let{formattedProgress:t="",percentageProgress:i=0}=e.calculatedProgress;return(0,J.jsx)(tt.NP,{theme:e.theme,children:(0,J.jsxs)(T6,{children:[(0,J.jsx)(wk,{service:e,isActive:!1,isLoading:!1}),(0,J.jsxs)(TO,{children:[(0,J.jsxs)(Tz,{children:[(0,J.jsx)("span",{children:e.title}),(0,J.jsx)("span",{children:t})]}),(0,J.jsx)(TF,{isActive:!1,children:(0,J.jsx)(TH,{progress:i})})]})]})},e.id)})})]}),T7="builder.dashboard.progress_tracker.modal",Pe=({progressData:e,onClose:t,isOpen:i})=>{let{i18n:r}=(0,e1.s)();return(0,J.jsx)(wl.A,{open:i,onClose:t,children:(0,J.jsxs)(TX,{children:[(0,J.jsx)(T8,{}),(0,J.jsxs)(TQ,{children:[(0,J.jsx)(TY,{children:(0,J.jsx)(T0,{children:r.t(`${T7}.title`)})}),(0,J.jsxs)(T2,{children:[(0,J.jsx)(T9,{sectionTitle:r.t(`${T7}.resumes`),services:e?.resumes}),(0,J.jsx)(T9,{sectionTitle:r.t(`${T7}.jobs`),services:e?.jobs}),(0,J.jsx)(T9,{sectionTitle:r.t(`${T7}.interviews`),services:e?.interview}),(0,J.jsx)(T9,{sectionTitle:r.t(`${T7}.careers`),services:e?.learning})]})]})]})})},Pt="builder.dashboard.progress_tracker.modal",Pi=({progressData:e,onClose:t,isOpen:i})=>{let{i18n:r}=(0,e1.s)(),{isPhone:n}=(0,ih.e)();return n?(0,J.jsx)(Pe,{progressData:e,onClose:t,isOpen:i}):i?(0,J.jsx)(i6.A,{isOpen:i,overlayFadeDuration:300,contentSlideDuration:300,onClick:t,fullScreen:!1,children:(0,J.jsxs)(TX,{children:[(0,J.jsx)(T1,{onClick:t,children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsxs)(TQ,{children:[(0,J.jsx)(TY,{children:(0,J.jsx)(T0,{children:r.t(`${Pt}.title`)})}),(0,J.jsxs)(T2,{children:[(0,J.jsx)(T9,{sectionTitle:r.t(`${Pt}.resumes`),services:e?.resumes}),(0,J.jsx)(T9,{sectionTitle:r.t(`${Pt}.jobs`),services:e?.jobs}),(0,J.jsx)(T9,{sectionTitle:r.t(`${Pt}.interviews`),services:e?.interview}),(0,J.jsx)(T9,{sectionTitle:r.t(`${Pt}.careers`),services:e?.learning})]})]})]})}):null},Pr=(0,wb.N)(({categoryId:e})=>{let t,i,r,{isDesktop:n,isPhone:o,isTablet:a,isLaptop:l}=(0,ih.e)(),{data:s,isFetching:d}=(t=(0,d2.t)(),i={resumes:[{id:"resume_crafting",title:i7.R.t("builder.dashboard.dash_v4.resume_building"),enabled:!0,progress:0,defaultActive:!0,icon:"ResumeCrafting",component:"ResumeCrafting",theme:w_.documents,getNextActionUrl:()=>"?categoryTab=resumes&serviceId=resume_tailoring",calculatedProgress:{}},{id:"resume_tailoring",title:i7.R.t("builder.dashboard.dash_v4.resume_tailoring"),progress:0,enabled:!0,icon:"ResumeTailoring",component:"ResumeTailoring",theme:w_.documents,getNextActionUrl:()=>"?categoryTab=resumes&serviceId=resume_distribution",calculatedProgress:{}},{id:"resume_distribution",title:i7.R.t("builder.dashboard.dash_v4.resume_distribution"),enabled:t?.showResumeDistribution(),progress:0,icon:"ResumeDistribution",component:"ResumeDistribution",theme:w_.documents,getNextActionUrl:()=>"?categoryTab=resumes&serviceId=cover_letter_crafting",calculatedProgress:{}},{id:"cover_letter_crafting",title:i7.R.t("builder.dashboard.dash_v4.cover_letter_crafting"),enabled:!0,progress:0,icon:"CoverLetterCrafting",component:"CoverLetterCrafting",theme:w_.documents,getNextActionUrl:()=>"?categoryTab=jobs&serviceId=job_applications",calculatedProgress:{}}],jobs:[{id:"job_applications",title:i7.R.t("builder.dashboard.dash_v4.apply_for_jobs"),enabled:!0,progress:0,icon:"JobsApplied",component:"JobsApplied",theme:w_.jobs,getNextActionUrl:()=>"?categoryTab=jobs&serviceId=resume_distribution",calculatedProgress:{}},{id:"resume_distribution",title:i7.R.t("builder.dashboard.dash_v4.resume_distribution"),enabled:t?.showResumeDistribution(),progress:0,icon:"ResumeDistribution",component:"ResumeDistribution",theme:w_.documents,getNextActionUrl:()=>"?categoryTab=jobs&serviceId=job_search_strategy",calculatedProgress:{}},{id:"job_search_strategy",title:i7.R.t("builder.dashboard.dash_v4.job_search_strategy"),enabled:t?.features.jobSearchPlan,progress:0,icon:"JobSearchStrategy",component:"JobSearchStrategy",theme:w_.careers,getNextActionUrl:()=>"?categoryTab=interview&serviceId=interviews_started",calculatedProgress:{}}],interview:[{id:"interviews_started",title:i7.R.t("builder.dashboard.dash_v4.interviews_practiced"),enabled:!0,progress:0,icon:"InterviewsPracticed",component:"InterviewsPracticed",theme:w_.careers,getNextActionUrl:()=>"?categoryTab=interview&serviceId=interview_questions",calculatedProgress:{}},{id:"interview_questions",title:i7.R.t("builder.dashboard.dash_v4.questions_practiced"),enabled:!0,progress:0,icon:"QuestionsPracticed",component:"QuestionsPracticed",theme:w_.careers,getNextActionUrl:()=>"?categoryTab=interview&serviceId=interview_strategy",calculatedProgress:{}},{id:"interview_strategy",title:i7.R.t("builder.dashboard.dash_v4.interview_strategy"),enabled:t?.features.jobSearchPlan,progress:0,icon:"InterviewStrategy",component:"InterviewStrategy",theme:w_.careers,getNextActionUrl:()=>"?categoryTab=interview&serviceId=interviews_completed",calculatedProgress:{}},{id:"interviews_completed",title:i7.R.t("builder.dashboard.dash_v4.interviews_passed"),enabled:!0,progress:0,icon:"InterviewsPassed",component:"InterviewsPassed",theme:w_.careers,getNextActionUrl:()=>"?categoryTab=learning&serviceId=ninety_days_plan",calculatedProgress:{}}],learning:[{id:"upskill",enabled:!!t?.features?.learningHub,title:i7.R.t("builder.dashboard.dash_v4.upskill"),progress:0,icon:"Upskill",component:"Upskill",theme:w_.careers,getNextActionUrl:()=>"?categoryTab=learning&serviceId=ninety_days_plan",calculatedProgress:{}},{id:"ninety_days_plan",title:i7.R.t("builder.dashboard.dash_v4.ninety_days_plan"),enabled:t?.features?.careerCoaching,progress:0,icon:"First90DaysPlan",component:"First90DaysPlan",theme:w_.careers,getNextActionUrl:()=>"?categoryTab=learning&serviceId=promotion_plan",calculatedProgress:{}},{id:"promotion_plan",title:i7.R.t("builder.dashboard.dash_v4.get_promotion"),enabled:t?.features?.careerCoaching,progress:0,icon:"GetPromotion",component:"GetPromotion",theme:w_.careers,getNextActionUrl:()=>"?categoryTab=learning&serviceId=career_switch",calculatedProgress:{}},{id:"career_switch",title:i7.R.t("builder.dashboard.dash_v4.change_careers"),enabled:t?.features?.careerCoaching,progress:0,icon:"ChangeCareers",component:"ChangeCareers",theme:w_.careers,getNextActionUrl:()=>"?categoryTab=resumes&serviceId=resume_crafting",calculatedProgress:{}}]},r=(0,R.useMemo)(()=>ww(void 0,i),[i]),(0,r2.I)({queryKey:["progressTrackerDashboard"],queryFn:async()=>{let{data:e}=await Y.R3.get("/stepper/dashboard");return ww(e,i)},placeholderData:r,useErrorBoundary:!0,cacheTime:0})),{data:c,activeServiceId:u,setActiveServiceId:p,selectedService:h}=function(e,t){let i=ew.D.getItem(`lastServiceId:${e}`),[r]=(0,R.useMemo)(()=>[t?.[e]||[]],[e,t]),n=i??r[0]?.id??"",{value2:o,setValue2:a}=function(e,t,i,r){let[n,o]=(0,i3.ok)(),a=n.get(e)||t,l=n.get(i)||r;return(0,R.useEffect)(()=>{let t=n.get(e),r=n.get(i),s=l&&r!==l;(a&&t!==a||s)&&o(t=>{let r=new URLSearchParams(t);return a&&t.get(e)!==a&&r.set(e,a),l&&t.get(i)!==l&&r.set(i,l),r},{replace:!0})},[a,l,e,i]),{value1:a,setValue1:(0,R.useCallback)(t=>{o(i=>{let r=new URLSearchParams(i);return r.set(e,t),r},{replace:!0})},[e,o]),value2:l,setValue2:(0,R.useCallback)(e=>{o(t=>{let r=new URLSearchParams(t);return r.set(i,e),r},{replace:!0})},[i,o])}}("categoryTab",e,"serviceId",n),l=(0,R.useCallback)(e=>{let t=r.find(t=>
2401t.id===e)||r[0];a(e),(0,N.xP)("progress_score_click",{score:t?.title})},[r,a]);(0,R.useEffect)(()=>{r.length&&(r.some(e=>e.id===o)||l(n))},[r,o,n,l]);let s=r.find(e=>e.id===o)||r[0];return{data:r,activeServiceId:o,setActiveServiceId:l,selectedService:s}}(e,s),[x,m]=(0,R.useState)(!1),g=(0,J.jsx)(TR,{onClick:()=>{(0,N.xP)("progress_scores_expand"),m(!x)},children:(0,J.jsx)(tP.EK.ExpandNew,{})});return(0,J.jsxs)(TE,{id:"dashboard-progress-tracker",children:[n&&(0,J.jsx)(TZ,{data:c,setActiveServiceId:t=>{p(t),ew.D.setItem(`lastServiceId:${e}`,t)},activeServiceId:u,isFetching:d,selectedService:h,ProgressModalTrigger:g,categoryId:e}),(o||a||l)&&(0,J.jsx)(TG,{data:c,setActiveServiceId:t=>{p(t),ew.D.setItem(`lastServiceId:${e}`,t)},activeServiceId:u,isFetching:d,ProgressModalTrigger:g,categoryId:e}),(0,J.jsx)(Pi,{onClose:()=>m(!1),progressData:s,isOpen:x})]})}),Pn="recommended_jobs_viewed_jobs",Po=()=>{let e=()=>{let e=ew.D.getItem(Pn);return e?JSON.parse(e):[]};return{viewedJobs:e(),addViewedJob:t=>{let i=JSON.stringify([...e(),t]);ew.D.setItem(Pn,i)}}};var Pa=i(23104),Pl=i.p+"media/auto-apply01bf6e2a30fcf015.svg";let Ps=tt.Ay.div(["display:flex;gap:12px;padding:23px;border-radius:12px;border:1px solid ",";outline:",";cursor:pointer;&:hover{",";}",""],te.Jy.Neutral15,e=>e.$isSelected?`2px solid ${te.Jy.Blue50}`:"none",tr.A.lightWithBorder.mid,tQ.A.Phone`
2402    padding: 19px;
2403  `),Pd=tt.Ay.div(["display:flex;width:fit-content;"]),Pc=tt.Ay.div(["border:1px solid rgba(0,0,0,0.1);border-radius:8px;width:48px;height:48px;background-image:url(",");background-position:center center;background-size:contain;"],e=>`"${e.src}"`),Pu=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;",""],tQ.A.Phone`
2404    gap: 10px;
2405  `),Pp=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;"]),Ph=tt.Ay.p([""," "," color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),Px=tt.Ay.p([""," "," color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral80),Pm=tt.Ay.div(["display:flex;gap:4px;align-items:center;"]),Pg=tt.Ay.p([""," "," color:",";&::first-letter{text-transform:uppercase;}"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50),Py=tt.Ay.div(["display:flex;align-items:center;gap:8px;"]),Pf=tt.Ay.div(["width:24px;height:24px;background-image:url(",");background-size:contain;background-position:center center;background-repeat:no-repeat;"],Pl),Pb=tt.Ay.p([""," "," color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90),P_=tt.Ay.div(["display:flex;gap:12px;margin-left:auto;min-width:32px;justify-content:flex-end;"]);td.Ay.Caption,td.BO.Medium;let Pv=(0,tt.Ay)(tP.Ay.Like)(["color:",";"],te.Jy.Neutral40),Pj=(0,tt.Ay)(tP.Ay.LikeFilled)(["color:",";"],te.Jy.Red50),PA=tt.Ay.div(["width:32px;height:32px;display:flex;justify-content:center;align-items:center;cursor:pointer;position:relative;transition:all 0.1s ease;background:transparent;border-radius:8px;position:relative;top:-4px;&:hover{background:",";","{color:",";}}"],te.Jy.Neutral5,Pj,te.Jy.Red60),PC="builder.dashboard.recommended_jobs_widget.card",Pw=({card:e,viewedJobs:t,handleClick:i,isSelected:r})=>{var n;let o,a,l=(0,e4.J)(),{i18n:s}=(0,e1.s)(),{features:d}=(0,d2.t)(),{isPresent:c,handleAddJobBoard:u}=(0,Pa.$)(e,!0),p=t?.includes(e.external_slug_id);return(0,J.jsxs)(Ps,{"data-testid":"recommended-job-card","data-job-id":e.external_slug_id,onClick:()=>i(e.job_title),$isSelected:r,children:[(0,J.jsx)(Pd,{children:(0,J.jsx)(Pc,{src:e.company_logo||(0,su.x)()})}),(0,J.jsxs)(Pu,{children:[(0,J.jsxs)(Pp,{children:[(0,J.jsx)(Ph,{children:e.job_title}),(0,J.jsxs)(Px,{children:[e.company," • ",e.location]})]}),(0,J.jsxs)(Pm,{children:[(0,J.jsxs)(Pg,{children:[p&&s.t(`${PC}.viewed`)+" • "," ",(n=e.posted_at,o=(0,az.PI)(n,{addSuffix:!0}),a=s.t(`${PC}.posted`),`${a} ${o}`)]}),e.auto_apply_compatible&&d?.autoApply&&!!l?.scopes?.autoApply&&(0,J.jsx)(aH.QP,{multiline:!0,value:s.t(`${PC}.auto_apply_tooltip`),position:"top",children:(0,J.jsxs)(Py,{children:["•",(0,J.jsx)(Pf,{}),(0,J.jsx)(Pb,{children:s.t(`${PC}.auto_apply`)}
2405)]})})]})]}),(0,J.jsx)(P_,{children:(0,J.jsx)(PA,{onClick:e=>{e.stopPropagation(),u()},children:c?(0,J.jsx)(Pj,{}):(0,J.jsx)(Pv,{})})})]})};var Pk=i.p+"media/locationc6cb149e011a65df.png";let PS=(0,tt.Ay)(tP.EK.ChevronRightRegular)(["display:none;color:",";"],te.Jy.Blue60),PT=tt.Ay.a([""," "," cursor:pointer;color:",";"],td.Ay.ButtonS,td.BO.Medium,te.Jy.Blue50),PP=tt.Ay.div(["display:flex;align-items:center;gap:",";padding:",";width:100%;background-color:",";border-radius:",";&:hover{background-color:",";","{display:block;}","{color:",";}}"],te.Kz.S,te.Kz.L,te.Jy.Blue10,te.Kz["2XS"],te.Jy.Blue20,PS,PT,te.Jy.Blue60),PJ=tt.Ay.aside(["width:98px;height:72px;"]),PE=tt.Ay.div(["display:flex;align-items:center;gap:",";width:100%;justify-content:space-between;"," "," ",""],te.Kz.S,tQ.A.Laptop` flex-direction: column; align-items: flex-start; `,tQ.A.Tablet` flex-direction: row; align-items: center; `,tQ.A.Phone` flex-direction: column; align-items: flex-start; `),PR=tt.Ay.div(["display:flex;flex-direction:column;color:",";"],te.Jy.Blue80),PL=tt.Ay.span(["",";",";"],td.Ay.Body,td.BO.DemiBold),PN=tt.Ay.span(["",";",";"],td.Ay.Caption,td.BO.Regular),PI=tt.Ay.div(["min-width:130px;display:flex;"]),PM=tt.Ay.img(["width:100%;height:100%;object-fit:contain;"]),PB="builder.job_search.recommendations.missing_profile_information",PD=({onClick:e})=>{let{i18n:t}=(0,e1.s)();return(0,J.jsxs)(PP,{"data-testid":"no-location-card",children:[(0,J.jsx)(PJ,{children:(0,J.jsx)(PM,{src:Pk})}),(0,J.jsxs)(PE,{children:[(0,J.jsxs)(PR,{children:[(0,J.jsx)(PL,{children:t.t(`${PB}.no_location.title`)}),(0,J.jsx)(PN,{children:t.t(`${PB}.no_location.subtitle`)})]}),(0,J.jsxs)(PI,{children:[(0,J.jsx)(PT,{"data-testid":"no-location-card-button",onClick:e,children:t.t(`${PB}.no_location.button`)}),(0,J.jsx)(PS,{})]})]})]})},P$=tt.Ay.div(["display:flex;flex-direction:column;gap:32px;background-color:",";margin:-32px;padding:",";"," ",""],te.Jy.White,te.Kz.L,tQ.A.Tablet`
2406    margin: -24px -16px;
2407    padding: 24px 16px;
2408  `,tQ.A.Phone`
2409    gap: 24px;
2410    margin: -16px -12px;
2411    padding: 16px 12px;
2412  `),PO=tt.Ay.div(["display:flex;justify-content:space-between;",""],tQ.A.Phone`
2413    flex-direction: column;
2414    gap: 12px;
2415  `),Pz=tt.Ay.h2([""," "," color:",";"],td.Ay.M,td.BO.Medium,te.Jy.Neutral90),PF=tt.Ay.p([""," "," color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50),PH=(0,tt.Ay)(i3.N_)([""," "," cursor:pointer;color:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Blue50);te.Jy.Blue50,te.Jy.Neutral50,td.Ay.Body,te.Kz.S;let PV=tt.Ay.div(["position:relative;"]),PU=tt.Ay.div(["display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center;background-color:",";padding:48px 0px;text-align:center;",""],te.Jy.White,tQ.A.Phone`
2416    padding: 32px 0;
2417  `),PW=tt.Ay.div(["display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;"," ",""],tQ.A.Tablet`
2418    grid-template-columns: repeat(1, minmax(0, 1fr));
2419  `,tQ.A.Phone`
2420    gap: 12px;
2421  `),PK=tt.Ay.div(["display:flex;justify-content:center;",""],tQ.A.Phone`
2422    width: 100%;
2423  `),Pq=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.default})(["display:block;width:auto;margin:auto;padding:16px 24px;color:",";background-color:",";border-radius:12px;border:none;cursor:pointer;transition:color 0.15s;&:hover{color:",";background-color:",";}",""],te.Jy.Neutral50,te.Jy.Neutral5,te.Jy.Blue50,te.Jy.Blue10,tQ.A.Phone`
2424    width: 100%;
2425    margin-top: -12px;
2426  `),PG="builder.dashboard.recommended_jobs_widget";var PZ=R.memo((0,wb.N)(()=>{let[e,t]=(0,R.useState)(!1),{i18n:i}=(0,e1.s)(),r=(0,L.Zp)(),n=(0,eU.wA)(),{viewedJobs:o,addViewedJob:a}=Po(),{isTablet:l,isPhone:s}=(0,ih.e)(),{invalidate:d}=(0,sz.R)(),{careerProfileData:c}=(0,eG.B)(),{isUserOnAutoApplyPlan:u,hasUserCompletedQuestionnaire:p}=(0,ck.J)(),h=(0,sz.M)(!0,u&&!!p),x=(0,R.useMemo)(()=>{if(!h.isError||!h.error)return null;let e=h.error,t=e.response?.data?.missing_attributes||[];return(0,bs.H)(t)},[h.isError,h.error]),m=(0,R.useMemo)(()=>bu(x),[x]),g=(0,R.useMemo)(()=>[...sU,...l||s?[]:sU.slice(0,2)],[l,s]),y=(0,R.useMemo)(()=>h.error?x?g:[]:h.data?.jobs.slice(0,l?5:s?4:8)||[],[h.error,h.data?.jobs,l,s,x,g]),f=(0,R.useMemo)(()=>!c?.targetLocations?.length&&!h.data?.stats.location_from_resume,[c,h.data?.stats]);return(0,R.useEffect)(()=>{n(K.o1.fetchJobsRequest())},[n]),(0,R.useEffect)(()=>{!h.isLoading&&h.data&&!h.isError&&c&&(0,N.xP)("job_results",{label:"dashboard",term:c?.targetRoles.map(e=>e.standardTitle).join(";"),location:c?.targetLocations.map(e=>e.formattedName).join(";"),location_from_resume:h.data.stats.location_from_resume,target_role_from_resume:h.data.stats.target_role_from_resume,total_jobs:h.data.stats.total_jobs})},[h.isLoading,h.isError,h.data,c]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(P$,{id:"dashboard-recommended-jobs","data-testid":"recommended-jobs-container",children:[(0,J.jsxs)(PO,{children:[(0,J.jsx)(Pz,{"data-testid":"recommended-jobs-header",children:i.t(`${PG}.header`)}),(0,J.jsxs)(PF,{"data-testid":"recommended-jobs-info",children:[i.t(`${PG}.info`)," ",(0,J.jsx)(PH,{"data-testid":"profile-link",to:"/career-profile/profile",onClick:()=>{(0,N.xP)("click_profile",{label:"recommended_jobs_dashboard"})},children:i.t(`${PG}.profile`)})]})]}),(0,J.jsxs)(PV,{children:[h.isLoading&&(0,J.jsx)(bl.A,{"data-testid":"loader"}),!h.isLoading&&!!y?.length&&(0,J.jsx)(PW,{children:y.map((e,i)=>0===i&&h?.data?.jobs?.length&&(f||x)?(0,J.jsx)(PD,{onClick:()=>t(!0)},i):(0,J.jsx)(Pw,{card:e,viewedJobs:o,handleClick:()=>{(0,N.xP)("recommended_jobs_click",{label:"job_post_click",term:c?.targetRoles.map(e=>e.standardTitle).join(";"),location:c?.targetLocations.map(e=>e.formattedName).join(";")}),a(e.external_slug_id),r(`/job-search?view=recommendation&external_slug_id=${e.external_slug_id}`)}},i))}),h.isError&&!!x&&(0,J.jsx)(m,{"data-testid":"recommendations-error",analyticEventsLabel:"recommended_jobs_dashboard"}),!h.isLoading&&!y?.length&&!x&&(0,J.jsx)(bd.V,{CustomContainer:PU,handleSearch:()=>{r("/job-search?view=search")},showExtension:!1})]}),!h.isLoading&&!!y?.length&&!x&&(0,J.jsx)(PK,{children:(0,J.jsx)(Pq,{"data-testid":"see-all-recommendations-button",onClick:()=>{(0,N.xP)("recommended_jobs_click",{label:"see_all",term:c?.targetRoles.map(e=>e.standardTitle).join(";"),location:c?.targetLocations.map(e=>e.formattedName).join(";")}),r("/job-search?view=recommendation")},children:i.t(`${PG}.button`)})})]}),e&&(0,J.jsx)(bp.L,{afterSetLocationHandler:()=>{d()},closeHandler:()=>t(!1)})]})})),PX=i.p+"media/coachescac54398c1b8d3eb.png";let PQ=tt.Ay.div(["display:flex;flex-direction:column;width:100%;border-radius:16px;padding:4px;background:",";"],e=>e.theme.background),PY=tt.Ay.div(["width:100%;display:flex;",";"],tQ.A.Tablet` 
2427    flex-direction: column-reverse; 
2428  `),P0=tt.Ay.div(["width:100%;display:flex;border-radius:15px;padding:32px 40px;background:white;gap:32px;",";",";"],tQ.A.Tablet` 
2429    flex-direction: column; 
2430    gap: 24px;
2431    padding: 32px 28px;
2432  `,tQ.A.Phone`
2433    gap: 18px;
2434    padding: 16px;
2435  `),P1=tt.Ay.div(["flex:1;padding:44px;display:flex;flex-direction:column;gap:8px;",";",";"],tQ.A.Tablet`
2436    padding: 24px 32px;
2437  `,tQ.A.Phone`
2438    padding: 4px 16px 12px;
2439  `),P2=tt.Ay.h2([""," "," color:",";"],td.Ay.S,td.BO.Medium,e=>e.theme.text),P3=tt.Ay.p([""," "," color:",";margin:0;"],td.Ay.Body,td.BO.Regular,e=>e.theme.text),P5=tt.Ay.div(["flex:1;padding:0 32px 0 0;max-height:180px;",";"],tQ.A.Tablet`
2440    padding: 0;
2441  `),P4=tt.Ay.img(["width:100%;max-width:100%;max-height:100%;object-fit:contain;"]),P6=tt.Ay.div(["flex:1;display:flex;max-height:180px;margin:16px 32px 16px 0;overflow:hidden;",";"],tQ.A.Tablet`
2442    flex: unset;
2443    margin: 8px 0;
2444    justify-content: center;
2445  `),P8=tt.Ay.video(["width:100%;max-width:100%;max-height:100%;object-fit:cover;border:none;margin-left:-3px;",";",";"],tQ.A.Tablet`
2446    max-width: 511px;
2447    height: 180px;
2448  `,tQ.A.Phone`
2449    max-width: 335px;
2450    height: 134px;
2451  `),P9=tt.Ay.div(["display:flex;align-items:center;gap:32px;",";",";"],tQ.A.Tablet` 
2452    flex-direction: column; 
2453    align-items: flex-start;
2454    gap: 16px;
2455  `,tQ.A.Phone`
2456    gap: 8px;
2457  `),P7=tt.Ay.div(["flex:1;display:flex;gap:8px;",";",";color:",";& svg{flex-shrink:0;width:20px;height:20px;}"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral80),Je=tt.Ay.div(["",""],tQ.A.Tablet` 
2458    width: 100%; 
2459    a { 
2460      width: 100%; 
2461    } 
2462  `),Jt=e=>(0,J.jsx)(tt.NP,{theme:e.theme,children:(0,J.jsxs)(PQ,{children:[(0,J.jsxs)(PY,{children:[(0,J.jsxs)(P1,{children:[(0,J.jsx)(P2,{children:e.text.title}),(0,J.jsx)(P3,{children:e.text.description})]}),e.imageUrl.endsWith(".webm")?(0,J.jsx)(P6,{children:(0,J.jsx)(P8,{src:e.imageUrl,autoPlay:!0,muted:!0,loop:!0,playsInline:!0})}):(0,J.jsx)(P5,{children:(0,J.jsx)(P4,{src:e.imageUrl})})]}),(0,J.jsxs)(P0,{children:[(0,J.jsx)(P9,{children:e.text.items.map((e,t)=>(0,J.jsxs)(P7,{children:[(0,J.jsx)(tP.EK.Check,{color:te.Jy.Green50})," ",(0,J.jsx)("span",{children:e})]},t))}),(0,J.jsx)(Je,{children:e.action})]})]})}),Ji="builder.dashboard.resume_and_coach_banners.coach",Jr=R.memo(()=>{let{i18n:e}=(0,e1.s)(),t={title:e.t(`${Ji}.title`),description:e.t(`${Ji}.description`),items:[e.t(`${Ji}.items.item1`),e.t(`${Ji}.items.item2`),e.t(`${Ji}.items.item3`)]};return(0,R.useEffect)(()=>{(0,N.xP)("see_people_banner",{type:"coaching"})},[]),(0,J.jsx)(Jt,{text:t,imageUrl:PX,action:(0,J.jsx)(i$.Ay,{as:i3.N_,to:"/career-coaching",onClick:()=>{(0,N.xP)("people_banner_cta_click",{type:"coaching",cta:e.t(`${Ji}.action_text`)})},children:e.t(`${Ji}.action_text`)}),theme:{text:te.Jy.Green80,background:te.Jy.Green10}})});var Jn=i.p+"media/resume-bannere69027433a2bdee6.png";let Jo="builder.dashboard.resume_and_coach_banners.resume_writing",Ja=R.memo(()=>{let e,t,{i18n:i}=(0,e1.s)(),{features:r}=(0,d2.t)(),n={title:i.t(`${Jo}.title`),description:i.t(`${Jo}.description`),items:[i.t(`${Jo}.items.item1`),i.t(`${Jo}.items.item2`),i.t(`${Jo}.items.item3`)]};return(0,R.useEffect)(()=>{(0,N.xP)("see_people_banner",{type:"resume_writing"})},[]),(0,J.jsx)(Jt,{text:n,imageUrl:Jn,action:(0,J.jsx)(i$.Ay,{as:"a",target:"_blank",href:(e={pt:"UWYxd6Xe2VTS0",utm_content:"get_expert_help"},r?.superApp&&(e.utm_source="cio",e.utm_medium="ciodash",e.utm_campaign="tr_promo_in_ciodash"),r?.international&&(e.utm_source="resumeio",e.utm_medium="riodash",e.utm_campaign="tr_promo_in_riodash"),t=new URLSearchParams(e),`https://topresume.com/resume-writing?${t.toString()}`),onClick:()=>{(0,N.xP)("people_banner_cta_click",{type:"resume_writing",cta:i.t(`${Jo}.action_text`)})},children:i.t(`${Jo}.action_text`)}),theme:{text:te.Jy.Blue80,background:te.Jy.Blue10}})}),Jl=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;"]),Js=tt.Ay.h1(["",";",";text-align:center;color:",";"],td.o5.M,td.BO.Medium,te.Jy.Neutral90),Jd=tt.Ay.p(["",";",";text-align:center;color:",";"],td.o5.Body,td.BO.Regular,te.Jy.Neutral50),Jc="builder.dashboard.header",Ju=()=>{let e=(0,e4.J)(),{i18n:t}=(0,e1.s)(),{isPhone:i,isTablet:r}=(0,ih.e)(),n=e?.firstName?t.t(`${Jc}.title`,{name:e?.firstName}):t.t(`${Jc}.fallback_title`);return i||r?null:(0,J.jsxs)(Jl,{children:[(0,J.jsx)(Js,{children:n}),(0,J.jsx)(Jd,{children:t.t(`${Jc}.subtitle`)})]})},Jp=e=>(0,J.jsx)("div",{style:{marginBottom:"32px",width:"100%"},children:e.children});var Jh=e=>{let{features:t}=(0,d2.t)(),[i]=(0,i3.ok)(),r=i.get("categoryTab");return(0,R.useEffect)(()=>{r&&(0,N.xP)("visit_dashboard",{category:r})},[r]),(0,J.jsx)(iO.m,{"data-testid":"dashboard-v4-container",children:(0,J.jsxs)(wf,{children:[(0,J.jsx)(Ju,{}),(0,J.jsxs)(wf.List,{isDesktopOnly:!0,children:[(0,J.jsx)(wf.Item,{tabId:"resumes",children:i7.R.t("builder.dashboard.dash_v4.resume_building")}),(0,J.jsx)(wf.Item,{tabId:"jobs",children:i7.R.t("builder.dashboard.dash_v4.job_search")}),(0,J.jsx)(wf.Item,{tabId:"interview",children:i7.R.t("builder.dashboard.dash_v4.interview_prep")}),(0,J.jsx)(wf.Item,{tabId:"learning",children:i7.R.t("builder.dashboard.dash_v4.learning")})]}),(0,J.jsxs)(TJ,{children:[(0,J.jsx)(wf.Content,{tabId:"resumes",children:(0,J.jsx)(Pr,{categoryId:"resumes"})}),(0,J.jsx)(wf.Content,{tabId:"jobs",children:(0,J.jsx)(Pr,{categoryId:"jobs"})}),(0,J.jsx)(wf.Content,{tabId:"interview",children:(0,J.jsx)(Pr,{categoryId:"interview"})}),(0,J.jsx)(wf.Content,{tabId:"learning",children:(0,J.jsx)(Pr,{categoryId:"learning"})}),t?.learningHub&&(0,J.jsx)(wf.Content,{tabId:"learning",children:(0,J.jsx)(wi.A,{})}),(0,J.jsx)(PZ,{}),t?.learningHub&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(wf.Content,{tabId:"resumes",children:(0,J.jsx)(wi.A,{})}),(0,J.jsx)(wf.Content,{tabId:"jobs",children:(0,J.jsx)(wi.A,{})}),(0,J.jsx)(wf.Content,{tabId:"interview",children:(0,J.jsx)(wi.A,{})})]}),e.children,t?.resumeWriting&&(0,J.jsx)(wf.Content,{tabId:"resumes",children:(0,J.jsx)(Jp,{children:(0,J.jsx)(Ja,{})})}),t?.careerCoaching&&(0,J.jsx)(wf.Content,{tabId:"jobs",children:(0,J.jsx)(Jp,{children:(0,J.jsx)(Jr,{})})}),t?.careerCoaching&&(0,J.jsx)(wf.Content,{tabId:"interview",children:(0,J.jsx)(Jp,{children:(0,J.jsx)(Jr,{})})}),t?.careerCoaching&&(0,J.jsx)(wf.Content,{tabId:"learning",children:(0,J.jsx)(Jp,{children:(0,J.jsx)(Jr,{})})})]})]})})};let Jx=e=>{let t=(0,e4.J)(),{i18n:i}=(0,e1.s)(),r=(0,e0.U)(),n=(0,d2.t)(),o=(0,eU.wA)(),{isPhone:a}=(0,ih.e)(),[l,s]=(0,R.useState)(null),[d,c]=(0,R.useState)(null),u=(0,L.zy)(),p=new URLSearchParams(u.search).get("tr_promo_banner"),h=(0,eW.N)(U.Tp.tunerResumeId),x=(0,eW.N)(em.Tp.isEnterpriseUser),m=r?.features.superApp,g=r?.features.international,y=m||g||r?.features.dashboardV3&&!r?.features.dashboardV2,f=n?.isDashboardV4(),b=ew.D.getItem("DATA_LAYER_PUSH"),_=(0,eW.N)(U.Tp.activeTabId),v=(0,eW.N)(F.Tp.isCreateResumeOpen),j=(0,eW.N)(F.Tp.showPremiumServiceModal),A=(0,eW.N)(U.Tp.isWelcomeModelopen),C=ew.D.getItem("myStoryVisitFlag"),w=(0,eW.N)(ex.Tp.isTopResumeUser),k=(0,eW.N)(Z.Tp.premiumAccess);(0,R.useEffect)(()=>{o(em.o1.fetchJobStatus())},[o]),(0,R.useEffect)(()=>{t?.socialAccount&&"true"!==b&&(ew.D.setItem("DATA_LAYER_PUSH","true"),(0,N._m)("Sign up","Complete Registration"))},[t,b]),(0,R.useEffect)(()=>{ew.D.setItem("promoBanner",null==p?"":p),s(p)},[p,u]);let S=ew.D.getItem("IS_CRITIQUE_CHECKSUM");(0,R.useEffect)(()=>{"critique"===d&&h&&o(ex.o1.fetchCioCritiques({resumeId:h,checkSum:S}))}
2462,[S,d,o,h]);let T=(0,eW.N)(ex.Tp.triggeredCritiqueStatus),P=h&&T?.status===ex.oV.pending&&C&&w;(0,R.useEffect)(()=>{let e;return e=setInterval(()=>{P?o(ex.o1.fetchCritiqueReviewStatus({resumeId:h})):(T.status,ex.oV.failed,clearInterval(e))},3e3),()=>clearInterval(e)},[T.status,o,P,h]),(0,R.useEffect)(()=>{c(new URLSearchParams(u.search).get("critique_review"))},[u]);let E=(0,R.useRef)(null),I=(0,eW.N)(U.Tp.resumeStatus);(0,R.useEffect)(()=>{I===eZ.TF.done?(clearInterval(E.current),(0,N.xP)("see_tr_banner_ready",{label:"tr_leads_to_cio"}),(0,N.xP)("complete_tr_prefill",{label:"tr_leads_to_cio"})):I===eZ.TF.failed&&clearInterval(E.current)},[I]),(0,R.useEffect)(()=>{if(I===eZ.TF.skipped){let e=0;E.current=setInterval(()=>{60===(e+=1)?(o(U.o1.setResumeStatus(eZ.TF.failed)),clearInterval(E.current)):("1"===p&&o(U.o1.fetchResumeStatus({resumeId:h})),p&&(0,N.xP)("see_tr_banner_loading",{label:"tr_leads_to_cio"}))},1e3)}return()=>clearInterval(E.current)},[h,o,I,p]);let M=(0,R.useMemo)(()=>t?.billingInfo?.premiumEndsAt?(0,gj.F)(t?.billingInfo?.premiumEndsAt)+1:0,[t?.billingInfo.premiumEndsAt]),B=(0,eW.N)(ej.Tp.careerInsightsStatusModalType),D=(0,R.useMemo)(()=>M<=7&&t?.billingStatus!==Z.Xw.subscription&&t?.billingInfo.userType&&[Z.ut.premium,Z.ut.postPremium].includes(t?.billingInfo.userType)&&!B,[M,t,B]),$=()=>(0,J.jsx)(J.Fragment,{children:y||f?(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(vk,{...e})}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(uM,{title:i.t("builder.panel.documents.title"),type:e.documentType,onTypeChange:e.onDocumentTypeChange,isAutoTailored:e.isAutoTailored,fromDashboard:!0}),(0,J.jsx)(AQ,{}),n?.features.careerCoaching&&(0,J.jsx)(me,{})]})});return(0,J.jsxs)(J.Fragment,{children:[f&&(0,J.jsx)(Jh,{children:(0,J.jsx)(dV,{children:$()})}),!y&&!f&&(0,J.jsx)(gC,{}),y&&!f&&a&&(0,J.jsx)(dW,{children:(0,J.jsx)(vM,{hideDivider:!0,id:"job-search-solution"})}),y&&n.features.dashboardNavigationTabs&&!f&&(0,J.jsx)(gN,{}),y&&n.features.dashboardNavigationTabs&&!f&&(0,J.jsx)(gV,{}),v&&(0,J.jsx)(mM,{}),x&&(0,J.jsx)(uX,{}),x&&(0,J.jsx)(u2,{}),x&&(0,J.jsx)(pe,{}),x&&(0,J.jsx)(pd,{}),j.isOpen&&(0,J.jsx)(gn,{source:j?.serviceType}),(0,J.jsx)(dK,{children:(0,J.jsxs)(dW,{children:["1"===l&&(0,J.jsx)(Cw,{}),"critique"===d&&(0,J.jsx)(wt,{})]})}),y&&!f&&(0,J.jsxs)(dH,{children:[!f&&(0,J.jsx)(bi,{showStepper:0===_}),0===_&&$()]}),n?.features.welcomeModal&&(0,J.jsx)(xw,{isShowVideo:A,setIsShowVideo:()=>{o(U.o1.setOpenWelcomeModal(!1))}}),(y||f)&&(0!==_&&1!==_&&2!==_||f)?null:(0,J.jsx)(dH,{children:(0,J.jsxs)(dW,{children:[!y&&!f&&(0,J.jsx)(xq,{}),0===_&&!y&&!f&&$(),(1===_||2===_)&&!f&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(AQ,{}),n?.features.careerCoaching&&(0,J.jsx)(me,{}),(0,J.jsx)(uM,{title:i.t("builder.panel.documents.title"),type:e.documentType,onTypeChange:e.onDocumentTypeChange,isAutoTailored:e.isAutoTailored,fromDashboard:!0})]}),(0,J.jsx)(mk,{})]})}),m&&k&&(0,J.jsx)(gs,{}),D&&(0,J.jsx)(gv,{daysLeftPremium:M<0?0:M})]})};var Jm=i(90774),Jg=i(37975);let Jy=tt.Ay.div(["display:flex;flex-wrap:wrap;align-items:center;justify-content:center;position:relative;padding:14px 60px;background-color:",";color:",";",";"," ",""],te.Jy.Indigo80,te.Jy.White,td.Ay.Caption,tQ.A.Tablet`
2463    padding-left: 44px;
2464    padding-right: 44px;
2465  `,tQ.A.Phone`
2466    flex-direction: column;
2467    flex-wrap: nowrap;
2468    align-items: flex-start;
2469    padding: 12px 60px 12px 20px;
2470  `),Jf=tt.Ay.div(["width:81px;height:14px;background-image:url(",");background-size:contain;",""],i(61379),tQ.A.Tablet`
2471    display: none;
2472  `),Jb=tt.Ay.div(["margin:0 12px;width:1px;height:16px;background-color:",";opacity:0.2;",""],te.Jy.White,tQ.A.Tablet`
2473    display: none;
2474  `),J_=tt.Ay.div(["font-weight:600;margin-right:8px;",""],tQ.A.Phone`
2475    margin-right: 0;
2476  `),Jv=tt.Ay.div(["opacity:0.56;"]),Jj=(0,tt.Ay)(tP.qJ.Close)(["position:absolute;top:calc(50% - 12px);right:32px;opacity:0.32;transition:opacity 0.2s;cursor:pointer;&:hover{opacity:1;}"," ",""],tQ.A.Tablet`
2477    right: 12px;
2478  `,tQ.A.Phone`
2479    top: 12px;
2480  `),JA=()=>{let{i18n:e}=(0,e1.s)(),[t,i]=(0,R.useState)(!0);return t?(0,J.jsxs)(Jy,{children:[(0,J.jsx)(Jf,{}),(0,J.jsx)(Jb,{}),(0,J.jsx)(J_,{children:e.t("builder.panel.topresume_notification.title")}),(0,J.jsx)(Jv,{children:e.t("builder.panel.topresume_notification.text")}),(0,J.jsx)(Jj,{onClick:()=>i(!1)})]}):null};var JC=i(64377),Jw=i(48447);i(14076);let Jk=tt.Ay.div(["display:flex;flex-direction:column;width:100%;height:100%;padding:0;"]),JS=tt.Ay.div(["display:flex;align-items:center;"]),JT=tt.Ay.button(["display:flex;align-items:center;background:",";border-radius:20px;cursor:pointer;border:0;color:",";",";font-weight:",";padding:4px 16px 4px 8px;transition:all 0.2s ease;&:hover{background:",";color:",";}"],te.Jy.Neutral10,te.Jy.Neutral50,td.Ay.Caption,td.BO.DemiBold,te.Jy.Neutral20,te.Jy.Neutral90),JP=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;margin-top:18px;margin-bottom:32px;",";"],tQ.A.Phone`
2481    margin-top: 16px;
2482    margin-bottom: 24px;
2483  `),JJ=tt.Ay.span(["",";color:",";"],td.Ay.Subhead,te.Jy.Neutral90),JE=tt.Ay.span(["",";color:",";"],td.Ay.Subhead,te.Jy.Neutral90),JR=tt.Ay.div(["flex:1;overflow-y:auto;max-height:600px;padding-left:5px;padding-right:4px;"," ",";"," max-width:400px;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:",";border-radius:3px;}&::-webkit-scrollbar-thumb{background:",";border-radius:3px;&:hover{background:",";}}"],e=>e.$isLoading&&`
2484    padding: 0 140px;
2485    display: flex;
2486    align-items: center;
2487  `,tQ.A.Tablet`
2488    max-height: 500px;
2489    max-width: 100%;
2490    padding-left: 0;
2491    padding-right: 0;
2492  `,tQ.A.Phone`
2493    padding: 0;
2494    max-height: calc(100vh - 200px);
2495    max-width: 100%;
2496  `,te.Jy.Neutral10,te.Jy.Neutral40,te.Jy.Neutral50),JL=tt.Ay.div(["width:100%;min-height:400px;",";",";.adyen-checkout__dropin{background:transparent;padding:0 !important;margin:0 !important;--adyen-sdk-color-label-primary:#828ba2;--adyen-sdk-color-label-critical:#fb4458;--adyen-sdk-color-outline-critical:#fb4458;--adyen-sdk-color-background-critical-strong:#fb4458;--adyen-sdk-color-background-always-dark:#1a91f0;--adyen-sdk-color-background-always-dark-active:#10529b;--adyen-sdk-color-background-inverse-primary-hover:#1170cd;--adyen-sdk-text-subtitle-font-size:20px;--adyen-sdk-text-title-font-size:20px;}.adyen-checkout__payment-method{border:none;margin-bottom:0;padding:0;background:transparent;margin-left:0 !important;padding-left:0 !important;}.adyen-checkout__payment-method__header{padding:0;margin-left:0 !important;padding-left:0 !important;display:flex !important;align-items:center;gap:12px;}.adyen-checkout__payment-method:first-child .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method--scheme .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method[data-type='scheme'] .adyen-checkout__payment-method__radio{display:block !important;visibility:visible !important;width:20px;height:20px;border:2px solid ",";border-radius:50%;margin:0 12px 0 0 !important;padding:0 !important;flex-shrink:0;position:relative !important;left:0 !important;transform:translateX(0) !important;&:checked{border-color:",";background-color:",";}}.adyen-checkout__payment-method__name{",";font-weight:",";color:",";display:flex;align-items:center;gap:8px;}.adyen-checkout__payment-method:first-child .adyen-checkout__payment-method__name{font-size:1em !important;}.adyen-checkout__card__form{padding:0 !important;margin:0 !important;margin-left:0 !important;padding-left:0 !important;transform:translateX(0) !important;left:0 !important;position:relative !important;}.adyen-checkout__field{margin-bottom:8px;margin-left:0 !important;padding-left:0 !important;}.adyen-checkout__field--50{width:48%;display:inline-block;vertical-align:top;&:first-of-type{margin-right:4%;}}.adyen-checkout__field[data-cse='encryptedExpiryDate'],.adyen-checkout__field[data-cse='encryptedSecurityCode']{width:48%;display:inline-block;vertical-align:top;&:first-of-type{margin-right:4%;}}.adyen-checkout__card__exp-date,.adyen-checkout__card__cvc{width:48%;display:inline-block;vertical-align:top;&:first-of-type{margin-right:4%;}}.adyen-checkout__label__text{color:var(--adyen-sdk-color-label-primary,#00112c
2496);display:block;font-size:var(--adyen-sdk-text-body-font-size,0.875rem);font-weight:var(--adyen-sdk-text-body-font-weight,400);line-height:var(--adyen-sdk-text-body-line-height,20px);margin-bottom:var(--adyen-sdk-spacer-020,4px);visibility:visible !important;}.adyen-checkout-contextual-text,.adyen-checkout-contextual-text--error{align-items:center;color:var(--adyen-sdk-color-label-primary,#00112c);display:flex;font-size:var(--adyen-sdk-text-caption-font-size,0.75rem);font-weight:var(--adyen-sdk-text-body-font-weight,400);line-height:var(--adyen-sdk-text-caption-line-height,18px);margin-top:var(--adyen-sdk-spacer-020,4px);opacity:1;transition:margin 0.2s ease-out,opacity 0.2s ease-out;}.adyen-checkout__input-wrapper{background:",";border:0;border-bottom:2px solid transparent;border-radius:2px;padding:0;transition:border 0.2s ease-out,box-shadow 0.2s ease-out;}.adyen-checkout__input{background:transparent;border:none;padding:8px 16px;",";color:",";width:100%;height:40px;line-height:20px;display:flex;align-items:center;&::placeholder{color:",";font-weight:",";opacity:0.6;line-height:20px;}&:focus{outline:none;}}.adyen-checkout__input-wrapper:hover,.adyen-checkout__input-wrapper:active,.adyen-checkout__input-wrapper:active:hover,.adyen-checkout__input-wrapper:focus-within,.adyen-checkout__input-wrapper:focus-within:hover,.adyen-checkout__label--focused + .adyen-checkout__input-wrapper{box-shadow:none;border:0;border-bottom:2px solid #1a91f0;}.adyen-checkout__field--error .adyen-checkout__input-wrapper{border:0;border-bottom:2px solid var(--adyen-sdk-color-outline-critical,#fb4458);}.adyen-checkout__field--error .adyen-checkout__label__text{color:var(--adyen-sdk-color-label-critical,#fb4458) !important;}.adyen-checkout__field--error .adyen-checkout__icon,.adyen-checkout__field--error .adyen-checkout__input__icon,.adyen-checkout__field--error [class*='icon'],.adyen-checkout__field--error svg,.adyen-checkout__input-wrapper--error .adyen-checkout__icon,.adyen-checkout__input-wrapper--error svg{display:none !important;}.adyen-checkout-input__inline-validation.adyen-checkout-input__inline-validation--invalid{display:none !important;}.adyen-checkout__field__error-text,.adyen-checkout__field--error .adyen-checkout-contextual-text,.adyen-checkout__field--error .adyen-checkout-contextual-text--error,.adyen-checkout-input__inline-validation,.adyen-checkout__field--error .adyen-checkout__field__error-text,.adyen-checkout__field--error .adyen-checkout__input__inline-validation,.adyen-checkout__field--error .adyen-checkout__error-text,.adyen-checkout__field--error [class*='contextual'],.adyen-checkout__field--error [class*='error-text'],.adyen-checkout__field--error [class*='inline-validation']{color:var(--adyen-sdk-color-label-critical,#fb4458) !important;font-size:var(--adyen-sdk-text-caption-font-size,0.75rem);font-weight:var(--adyen-sdk-text-body-font-weight,400);line-height:var(--adyen-sdk-text-caption-line-height,18px);margin-top:var(--adyen-sdk-spacer-020,4px);}.adyen-checkout-form-instruction{display:none !important;}.adyen-checkout__card__brands{display:none !important;}.adyen-checkout__field[data-cse='encryptedCardNumber'] .adyen-checkout__card__brands{display:flex !important;gap:4px;position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:10;}.adyen-checkout__field[data-cse='encryptedCardNumber']{position:relative;}.adyen-checkout__field[data-cse='encryptedCardNumber'] .adyen-checkout__input{padding-right:120px;}.adyen-checkout__field--cardNumber .adyen-checkout__card__brands,.adyen-checkout__card__cardNumber__input .adyen-checkout__card__brands{display:flex !important;gap:4px;position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:10;}.adyen-checkout__button--pay{display:none !important;}.adyen-checkout__fieldset__title{color:#1e2532 !important;}.adyen-checkout-pm-details-wrapper{width:100%;}.adyen-checkout__dropin{display:block;position:static;padding:0 !important;margin:0 !important;}.adyen-checkout__dropin > *,.adyen-checkout__dropin .adyen-checkout__payment-methods,.adyen-checkout__dropin .adyen-checkout__payment-method-list{padding-left:0 !important;margin-left:0 !important;}.adyen-checkout__payment-methods-list{gap:48px;}.adyen-checkout__payment-method:not(:first-child){background:transparent;border:none;display:flex;align-items:center;cursor:pointer;}.adyen-checkout__applepay__button,.adyen-checkout__googlepay__button,.adyen-checkout__paypal__button{width:100%;border-radius:8px;height:48px;border:none;}.adyen-checkout__payment-method:not(:first-child) .adyen-checkout__payment-method__header{margin-bottom:0;padding:0;width:100%;}.adyen-checkout__payment-method:not(:first-child) .adyen-checkout__payment-method__name{",";font-weight:",";color:",";margin:0;}.adyen-checkout__payment-method--googlepay .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method[data-type='paywithgoogle'] .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method--paywithgoogle .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method--applepay .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method[data-type='applepay'] .adyen-checkout__payment-method__radio{display:block !important;visibility:visible !important;width:20px;height:20px;border:2px solid ",";border-radius:50%;margin-right:12px;flex-shrink:0;position:relative;&:checked{border-color:",";background-color:",";}}.adyen-checkout__payment-method--googlepay .adyen-checkout__payment-method__header,.adyen-checkout__payment-method[data-type='paywithgoogle'] .adyen-checkout__payment-method__header,.adyen-checkout__payment-method--paywithgoogle .adyen-checkout__payment-method__header,.adyen-checkout__payment-method--applepay .adyen-checkout__payment-method__header,.adyen-checkout__payment-method[data-type='applepay'] .adyen-checkout__payment-method__header{display:flex !important;align-items:center;gap:12px;justify-content:flex-start;padding-left:0 !important;margin-left:0 !important;}.adyen-checkout__payment-method--googlepay,.adyen-checkout__payment-method[data-type='paywithgoogle'],.adyen-checkout__payment-method--paywithgoogle,.adyen-checkout__payment-method[data-type='googlepay']{padding:0 !important;margin:0 !important;text-align:left !important;transform:translateX(0) !important;position:relative !important;left:0 !important;}.adyen-checkout__payment-method--googlepay .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method[data-type='paywithgoogle'] .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method--paywithgoogle .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method[data-type='googlepay'] .adyen-checkout__payment-method__radio{margin:0 12px 0 0 !important;padding:0 !important;position:relative !important;left:0 !important;transform:translateX(0) !important;}.adyen-checkout__payment-method--applepay .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method[data-type='applepay'] .adyen-checkout__payment-method__radio{margin:0 12px 0 0 !important;padding:0 !important;position:relative !important;left:0 !important;transform:translateX(0) !important;}.adyen-checkout__payment-method--googlepay .adyen-checkout__payment-method__header,.adyen-checkout__payment-method[data-type='paywithgoogle'] .adyen-checkout__payment-method__header,.adyen-checkout__payment-method--paywithgoogle .adyen-checkout__payment-method__header,.adyen-checkout__payment-method[data-type='googlepay'] .adyen-checkout__payment-method__header{margin:0 !important;padding:0 !important;transform:translateX(0) !important;left:0 !important;}.adyen-checkout__payment-method--googlepay .adyen-checkout__payment-method__name,.adyen-checkout__payment-method[data-type='paywithgoogle'] .adyen-checkout__payment-method__name,.adyen-checkout__payment-method--paywithgoogle .adyen-checkout__payment-method__name,.adyen-checkout__payment-method[data-type='googlepay'] .adyen-checkout__payment-method__name{margin:0 !important;padding:0 !important;transform:translateX(0) !important;}.adyen-checkout__payment-method--applepay,.adyen-checkout__payment-method[data-type='applepay'],.adyen-checkout__payment-method--paypal,.adyen-checkout__payment-method[data-type='paypal']{dis
2496play:flex !important;background:transparent;border:none;align-items:center;cursor:pointer;}.adyen-checkout__payment-method--applepay .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method[data-type='applepay'] .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method--paypal .adyen-checkout__payment-method__radio,.adyen-checkout__payment-method[data-type='paypal'] .adyen-checkout__payment-method__radio{display:block !important;visibility:visible !important;width:20px;height:20px;border:2px solid ",";border-radius:50%;margin-right:12px;flex-shrink:0;&:checked{border-color:",";background-color:",";}}.adyen-checkout__payment-method__details{padding:0 !important;}.adyen-checkout__payment-method:not(:first-child) .adyen-checkout__payment-method__details{display:none;}.adyen-checkout__payment-method:not(:first-child).adyen-checkout__payment-method--selected .adyen-checkout__payment-method__details{display:block;margin-top:16px;width:100%;}.adyen-checkout__payment-method:not(:first-child){flex-direction:column !important;align-items:flex-start !important;}"],tQ.A.Tablet`
2497    min-height: 300px;
2498  `,tQ.A.Phone`
2499    min-height: 250px;
2500  `,te.Jy.Neutral30,te.Jy.Blue50,te.Jy.Blue50,td.Ay.L,td.BO.Medium,te.Jy.Neutral90,te.Jy.Neutral10,td.Ay.Body,te.Jy.Neutral90,te.Jy.Neutral40,td.BO.Regular,td.Ay.Body,td.BO.Medium,te.Jy.Neutral90,te.Jy.Neutral30,te.Jy.Blue50,te.Jy.Blue50,te.Jy.Neutral30,te.Jy.Blue50,te.Jy.Blue50);te.Jy.White,te.Jy.Blue50,te.Jy.Neutral40,te.Jy.Blue50,te.Jy.Blue50,te.Jy.Blue50,te.Jy.White,te.Jy.Blue10,te.Jy.White,te.Jy.Neutral20,td.BO.Medium,te.Jy.Neutral70,td.BO.Bold,td.BO.Bold,td.Ay.Body,td.BO.Medium,te.Jy.Neutral90;let JN=({selectedPlan:e,planAmount:t,planData:i,onBack:r,onPaymentSuccess:n,onPaymentError:o})=>{let a=(0,eU.wA)(),[l,s]=(0,R.useState)(null),[d,c]=(0,R.useState)(""),u=(0,R.useRef)(null),p=(0,e0.U)(),h=(0,eU.d4)(ee.Tp.paymentMethods),x=(0,eU.d4)(ee.Tp.paymentMethodsLoading),m=(0,eU.d4)(ee.Tp.adyenConfig),g=(0,eU.d4)(ee.Tp.adyenConfigLoading),y=x||g;(0,R.useEffect)(()=>{a(ee.o1.fetchAdyenConfig())},[a]),(0,R.useEffect)(()=>{e&&a(ee.o1.fetchPaymentMethods({plan:e}))},[a,e]);let f=()=>p?.features?.avsStatus||"hide",b=async t=>{let r=await fetch("/app/billing/charge_bee/create_payment",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...t,plan:e,amount:((i.amount||i.recurringAmount)/100).toString(),protocol:window.location.protocol,host:window.location.host})});if(!r.ok)throw Error("Failed to create payment");return r.json()},_=(0,R.useCallback)(async()=>{if(h&&m&&!y)try{let e={...h};e.amount&&0===e.amount.value&&(e.amount.value=i.amount||i.recurringAmount);let{client_key:t,environment:r}=m,a=(e,t,i)=>{let{resultCode:r,action:a,merchantReference:l}=e;if(a)t.handleAction(a);else switch(r){case"Authorised":case"Pending":case"Received":i.resolve({resultCode:r,action:a}),n(l);break;default:i.reject(),o(e)}},l=await (0,Jw.mU)({clientKey:t,environment:r,locale:"en-US",amount:e.amount,countryCode:"US",translations:{"en-US":{"payButton.saveDetails":"Pay"}},paymentMethodsResponse:e.payment_methods,onSubmit:async(e,t,i)=>{try{let r=await b(e.data);t.props.lastMerchantReference=r.merchantReference,a(r,t,i)}catch(e){o(e)}},onAdditionalDetails:async(e,t,i)=>{try{let r={...e.data,merchant_reference:t.props.lastMerchantReference},n=await fetch("/app/billing/charge_bee/additional_payment_details",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(!n.ok)throw Error(`Additional payment details failed: ${n.status}`);let o=await n.json();a(o,t,i)}catch(e){o(e)}},onError:e=>{"CANCEL"===e.name&&e.message?.toString()==="[object Object]"||"CANCEL"===e.name&&"ApplePay UI dismissed"===e.message||"ERROR"===e.name&&"Error: Detected popup close"===e.message||"CANCEL"===e.name&&"AbortError: User closed the Payment Request UI"===e.message||("CANCEL"!==e.name||e.message?.toString().trim()!=="")&&o(e)}}),d=new Jw.Bf(l,{showRadioButton:!0,showStoredPaymentMethods:!1,disableFinalAnimation:!0,openFirstPaymentMethod:!1,onSelect:e=>{c(e?.props?.type||"")},paymentMethodsConfiguration:{card:{hasHolderName:!0,holderNameRequired:!0,enableStoreDetails:!1,showPayButton:!1,placeholders:{cardNumber:"1234 5678 9012 3456",expiryDate:"MM/YY",securityCodeThreeDigits:"123",holderName:"John Smith"},billingAddressRequired:"hide"!==f(),billingAddressMode:"hide"===f()?"none":f(),data:{billingAddress:{country:p?.features?.geoipCode||"US"}}},paywithgoogle:{buttonType:"plain",...e.payment_methods?.paymentMethods?.find(e=>"googlepay"===e.type)?.configuration||{}},applepay:{buttonType:"plain",buttonColor:"black",showPayButton:!0,...e.payment_methods?.paymentMethods?.find(e=>"applepay"===e.type)?.configuration||{merchantId:"000000000208819",merchantName:"TalentIncECOM"}},paypal:{style:{height:48},...e.payment_methods?.paymentMethods?.find(e=>"paypal"===e.type)?.configuration||{}}}});s(d);let x=()=>
2500{if(u.current)try{return d.mount(u.current),!0}catch(e){o(e)}return!1};x()||setTimeout(()=>{x()||o(Error("Failed to mount payment form - container not found"))},100)}catch(e){o(e)}},[h,m,y,e,t,n,o]);return(0,R.useEffect)(()=>{_()},[_]),(0,R.useEffect)(()=>{if(!y&&l&&"scheme"===d){let e=document.querySelector('.adyen-checkout__payment-method--scheme, .adyen-checkout__payment-method[data-type="scheme"], .adyen-checkout__payment-method--card'),i=document.getElementById("injected-pay-button");if(e&&!i){let i=document.createElement("button");i.id="injected-pay-button",i.textContent=`Pay ${t}`,i.style.cssText=`
2501          width: 100%;
2502          height: 48px;
2503          background: #1A91F0;
2504          color: white;
2505          border: none;
2506          border-radius: 4px;
2507          font-size: 1rem;
2508          font-weight: 500;
2509          cursor: pointer;
2510          transition: all 0.2s ease;
2511        `,i.addEventListener("click",()=>{try{l.submit()}catch(e){o(e)}}),i.addEventListener("mouseenter",()=>{i.style.background="#1170CD"}),i.addEventListener("mouseleave",()=>{i.style.background="#1A91F0"}),e.appendChild(i)}}else{let e=document.getElementById("injected-pay-button");e&&e.remove()}},[y,l,d,t,o]),(0,J.jsxs)(Jk,{children:[(0,J.jsx)(JS,{children:(0,J.jsxs)(JT,{onClick:r,children:[(0,J.jsx)(tP.Ay.ChevronLeft,{}),"Back"]})}),(0,J.jsxs)(JP,{children:[(0,J.jsx)(JJ,{children:"Total Due today"}),(0,J.jsx)(JE,{children:t})]}),(0,J.jsxs)(JR,{$isLoading:y,children:[y&&(0,J.jsx)(du.y$,{$width:"64px",$height:"64px"}),(0,J.jsx)(JL,{ref:u,id:"upgrade-modal-dropin-container",style:{display:y?"none":"block"}})]})]})};var JI=i.p+"media/crown763df7a99b342b93.png",JM=i.p+"media/clocke6280966eed25f46.svg",JB=i.p+"media/document48fd6cee8edff1fe.svg",JD=i.p+"media/documents686b95d7c917e25e.svg",J$=i.p+"media/groupabaa81b6fb45fcff.svg",JO=i.p+"media/money2d8c97396f696d65.svg",Jz=i.p+"media/timer7e0ad6f8c27789c0.svg",JF=i(56298);let JH=tt.Ay.div(["position:relative;display:flex;",";",";"],tQ.A.Tablet`
2512    flex-direction: column;
2513    max-width: 640px;
2514    width: 100%;
2515  `,tQ.A.Phone`
2516    flex-direction: column;
2517    width: 100%;
2518    max-width: calc(100% - 32px);
2519    margin: 16px;
2520  `),JV=(0,tt.Ay)(JF.O)(["position:absolute;top:32px;right:32px;"]),JU=tt.Ay.div(["padding:32px 40px 0;display:flex;flex-direction:column;background-color:",";border-top-left-radius:",";border-bottom-left-radius:",";",";",";"],te.Jy.Neutral5,te.Kz.S,te.Kz.S,tQ.A.Tablet`
2521    padding: 32px 40px 32px;
2522    border-top-right-radius: ${te.Kz.S};
2523    border-bottom-left-radius: 0;
2524  `,tQ.A.Phone`
2525    padding: 24px 24px 16px;
2526    border-radius: ${te.Kz.S} ${te.Kz.S} 0 0;
2527    border-bottom-left-radius: 0;
2528    flex-shrink: 0;
2529  `),JW=tt.Ay.div(["padding:",";"," background-color:",";display:flex;flex-direction:column;border-top-right-radius:",";border-bottom-right-radius:",";"," ",";",";"],e=>e.$isPayment?"32px 40px 40px":"90px 40px 40px",e=>e.$isPayment&&"min-width: 496px;",te.Jy.White,te.Kz.S,te.Kz.S,e=>e.$isLoading&&`
2530    height: 633px;
2531    align-items: center;
2532    justify-content: center;
2533    padding: 0 80px;
2534  `,tQ.A.Tablet`
2535    padding: 32px 40px 40px;
2536    min-width: unset;
2537    border-top-left-radius: 0;
2538    border-bottom-left-radius: ${te.Kz.S};
2539    border-top-right-radius: 0;
2540  `,tQ.A.Phone`
2541    padding: 24px 24px 32px;
2542    min-width: unset;
2543    border-radius: 0 0 ${te.Kz.S} ${te.Kz.S};
2544  `),JK=tt.Ay.img(["width:50px;height:32px;margin-bottom:13px;"]),Jq=tt.Ay.h1(["",";",";color:",";"],td.Ay.M,td.BO.DemiBold,te.Jy.Neutral90),JG=tt.Ay.p(["",";color:",";margin:6px 0 ",";"],td.Ay.Body,te.Jy.Neutral50,te.Kz.L),JZ=tt.Ay.ul(["gap:12px;display:flex;flex-direction:column;padding:0;margin:0;"]),JX=tt.Ay.li(["display:flex;align-items:center;gap:6px;"," ",";"],e=>!e.$hideWrap&&tQ.A.Phone`
2545    flex-wrap: wrap;
2546
2547    .bold + .email {
2548      flex-basis: 100%;
2549      margin-left: 30px;
2550      margin-top: -9px;
2551    }
2552  `,e=>e.$hideWrap&&tQ.A.Phone`
2553    .bold + .email {
2554      flex-basis: 100%;
2555      margin-left: 30px;
2556      margin-top: -9px;
2557    }
2558  `),JQ=tt.Ay.img(["width:24px;height:24px;color:",";"],te.Jy.Neutral90),JY=tt.Ay.span(["",";color:",";&.bold{",";",";}&.email{",";color:",";}"],td.Ay.Caption,te.Jy.Neutral90,td.BO.Medium,tQ.A.Phone`
2559      font-weight: ${td.BO.Regular};
2560    `,td.BO.Medium,te.Jy.Blue50),J0=tt.Ay.div(["border:2px solid ",";border-radius:16px;padding:",";margin-bottom:12px;cursor:pointer;position:relative;transition:border-color 0.2s ease;width:416px;"," &:hover{border-color:",";}",";",";"],e=>e.$selected?te.Jy.Blue50:te.Jy.Neutral15,te.Kz.S,e=>e.$marginTop&&"margin-top: 12px;",te.Jy.Blue50,tQ.A.Tablet`
2561    width: 100%;
2562    max-width: 560px;
2563  `,tQ.A.Phone`
2564    width: 100%;
2565    padding: 20px;
2566    margin-bottom: ${te.Kz["2XS"]};
2567    border-radius: 12px;
2568    min-height: 80px;
2569  `),J1=tt.Ay.div(["width:20px;height:20px;border:2px solid ",";border-radius:50%;margin-right:",";position:relative;flex-shrink:0;",""],e=>e.$selected?te.Jy.Blue50:te.Jy.Neutral30,te.Kz.S,e=>e.$selected&&`
2570    &::after {
2571      content: '';
2572      position: absolute;
2573      top: 50%;
2574      left: 50%;
2575      transform: translate(-50%, -50%);
2576      width: 8px;
2577      height: 8px;
2578      background-color: ${te.Jy.Blue50};
2579      border-radius: 50%;
2580    }
2581  `),J2=tt.Ay.div(["display:flex;"]),J3=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["2XS"]),J5=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),J4=tt.Ay.div(["",";",";color:",";"],td.Ay.S,td.BO.Medium,te.Jy.Neutral90),J6=tt.Ay.div(["position:absolute;right:16px;padding:4px 8px 4px 12px;top:-12px;text-transform:uppercase;color:white;font-size:14px;font-weight:600;line-height:16px;letter-spacing:0.3px;border-radius:4px;background:linear-gradient(94deg,#9ba1fb 0%,#4c89f3 47.53%,#54aff8 100%),#eaf6ff;"]),J8=(0,tt.Ay)(i$.Ay)(["margin-top:95px;width:100%;",";"],tQ.A.Phone`
2582    margin-top: 32px;
2583    padding: 16px;
2584    font-size: 1.1rem;
2585  `),J9=({onClose:e,onPaymentSuccess:t,onPaymentError:i})=>{let{isPhone:r}=(0,ih.e)(),n=(0,eU.wA)(),o=(0,e4.J)(),[a,l]=(0,R.useState)(""),[s,d]=(0,R.useState)("plan-selection"),c=window.location.hostname,u=(0,eU.d4)(ee.Tp.availablePlans),p=(0,eU.d4)(ee.Tp.plansLoading),h=(0,eU.d4)(ee.Tp.plansError);(0,R.useEffect)(()=>{(0,N.xP)("show_plans_modal")},[]);let x=u.find(e=>e.name===a),m=(e=>{if(!e)return{text:"",hasDiscount:!1};if(!e.isRecurring)return{text:"One-time payment",hasDiscount:!1};let t="month"===e.interval&&1===e.intervalCount||"week"===e.interval&&4===e.intervalCount,i="month"===e.interval&&3===e.intervalCount,r="year"===e.interval&&1===e.intervalCount,n=e.hasTrial&&e.trialDays&&e.trialDays>0,a=e.trialDays||0,l=e.formattedAmountBeforeDiscount||e.formattedRecurringAmount,s=e.formattedRecurringAmount,d=n&&!o?.isPostPremium?` after ${a} days`:"",c="";t?c="(billed monthly)":i?c="billed quarterly":r&&(c="(billed yearly)");
2585let u=i?"Auto-renews to ":"Auto-renews at ";return e.hasDiscount?{text:`${u}${d} ${c}`,beforePrice:u,afterPrice:`${d} ${c}`,originalPrice:l,discountedPrice:s,hasDiscount:!0}:{text:`${u}${l}${d} ${c}`,hasDiscount:!1}})(x),g={unlimited:{icon:JD,boldText:"Unlimited",text:"resumes and cover letters"},templates:{icon:JB,text:"Access 500+ professional resume templates"},recruiters:{icon:J$,text:"Match and send your resume to 50 recruiters"},pricing:{icon:JM,text:m.text,pricingData:m,hideWrap:!0},guarantee:{icon:JO,boldText:"Money Back Guarantee"},cancel:{icon:Jz,boldText:"Cancel any time online or by email",...{email:`support@${"career.io"===c||"stg.career.io"===c?"career":"resume"}.io`}}},y=[g.unlimited,g.templates,g.recruiters,g.pricing,g.guarantee,g.cancel],f=[g.pricing,g.guarantee,g.cancel],b=r?f:y;(0,R.useEffect)(()=>{n(ee.o1.fetchAvailablePlans())},[n]),(0,R.useEffect)(()=>{u.length>0&&!a&&l(u[0].name)},[u,a]);let _=u.map(e=>({id:e.name,period:(e=>{if(e.hasTrial&&e.trialDays&&e.trialDays>0){if(o?.isPostPremium){let t="month"===e.interval&&1===e.intervalCount||"week"===e.interval&&4===e.intervalCount,i="month"===e.interval&&3===e.intervalCount;if("year"===e.interval&&1===e.intervalCount)return"1 year";if(i)return"3 months";if(t)return"week"===e.interval?"4 weeks":"1 month";if(e.interval&&e.intervalCount){let t=e.intervalCount,i=e.interval;if(1===t)return`1 ${i}`;{let e=`${i}s`;return`${t} ${e}`}}return e.name}return`${e.trialDays}-day Trial`}if(e.caption&&""!==e.caption.trim())return e.caption;if(e.interval&&e.intervalCount){let t=e.intervalCount,i=e.interval;if(1===t)return`1 ${i}`;{let e=`${i}s`;return`${t} ${e}`}}return e.name})(e),amount:e.hasTrial&&e.trialDays&&e.trialDays>0&&!o?.isPostPremium?`${e.currencySymbol}${((e.amount||0)/100).toFixed(2)}`:e.formattedRecurringAmount,selected:a===e.name,badge:(e=>{if(!e.hasDiscount||!e.amountBeforeDiscount)return;let t=e.amountBeforeDiscount,i=e.isRecurring?e.recurringAmount:e.amount||e.recurringAmount;if(t<=i)return;let r=Math.round((t-i)/t*100);return`Save ${r}%`})(e)})),v=_.find(e=>e.id===a),j=()=>(0,J.jsxs)(JU,{children:[(0,J.jsx)(JK,{src:JI,alt:"Crown"}),(0,J.jsx)(Jq,{children:"Upgrade and get hired"}),(0,J.jsx)(JG,{children:"Upgrade your membership today and land a job you love sooner!"}),(0,J.jsx)(JZ,{children:b.map((e,t)=>(0,J.jsxs)(JX,{$hideWrap:!!e.hideWrap,children:[(0,J.jsx)(JQ,{src:e.icon}),e.boldText&&(0,J.jsx)(JY,{className:"bold",children:e.boldText}),e.email&&(0,J.jsx)(JY,{className:"email",children:e.email}),e.phone&&(0,J.jsx)(JY,{className:"email",children:e.phone}),e.pricingData?(0,J.jsx)(JY,{children:e.pricingData.hasDiscount?(0,J.jsxs)(J.Fragment,{children:[e.pricingData.beforePrice,(0,J.jsx)("del",{children:e.pricingData.originalPrice})," ",(0,J.jsx)("strong",{children:e.pricingData.discountedPrice}),e.pricingData.afterPrice]}):e.pricingData.text}):(0,J.jsx)(JY,{children:e.text})]},t))})]});return(0,J.jsx)(i6.A,{onClick:e,overlayFadeDuration:150,contentSlideDuration:150,fullScreen:r,children:(0,J.jsxs)(JH,{children:[(0,J.jsx)(JV,{onClick:()=>{(0,N.xP)("close_plans_modal"),e()}}),"plan-selection"===s?p?(0,J.jsxs)(J.Fragment,{children:[j(),(0,J.jsx)(JW,{$isLoading:p,$isPayment:!1,children:(0,J.jsx)(du.y$,{$width:"64px",$height:"64px"})})]}):h?(0,J.jsxs)(J.Fragment,{children:[j(),(0,J.jsx)(JW,{$isLoading:p,$isPayment:!1,children:(0,J.jsxs)("div",{children:["Error loading plans: ",h]})})]}):(0,J.jsxs)(J.Fragment,{children:[j(),(0,J.jsxs)(JW,{$isLoading:p,$isPayment:!1,children:[_.map(e=>(0,J.jsxs)(J0,{$selected:e.selected,onClick:()=>l(e.id),$marginTop:!!e.badge,children:[e.badge&&(0,J.jsx)(J6,{children:e.badge}),(0,J.jsxs)(J2,{children:[(0,J.jsx)(J1,{$selected:e.selected}),(0,J.jsxs)(J3,{children:[(0,J.jsx)(J5,{children:e.period}),(0,J.jsx)(J4,{children:e.amount})]})]})]},e.id)),(0,J.jsx)(J8,{onClick:()=>{(0,N.xP)("click_next_plans_modal"),d("payment")},theme:i$.Ox.default,disabled:!a||p,children:"Next"})]})]}):x?(0,J.jsxs)(J.Fragment,{children:[j(),(0,J.jsx)(JW,{$isLoading:p,$isPayment:!0,children:(0,J.jsx)(JN,{selectedPlan:a,planAmount:v?.amount||"$0.00",planData:x,onBack:()=>{d("plan-selection")},onPaymentSuccess:e=>{t?.(e)},onPaymentError:e=>{i?.(e)}})})]}):(0,J.jsxs)(J.Fragment,{children:[j(),(0,J.jsx)(JW,{$isLoading:p,$isPayment:!0,
2585children:(0,J.jsx)("div",{children:"Error: Plan data not found"})})]})]})})},J7=({isDocumentsPage:e,...t})=>{let i=(0,eU.wA)(),r=(0,e0.U)(),n=(0,eW.N)(W.Tp.scenario),{isVirtualCoachEnabled:o}=(0,JC.bk)(),a=(0,Jm.M)(()=>(0,dF.parse)(window.location.search,{parseNumbers:!0}).download_document_id),l=(0,eW.N)(eA.Tp.showUpgradeModal),[s,d]=(0,i3.ok)(),c="number"==typeof a&&n===W.XN.external;(0,R.useEffect)(()=>{if(s.get("payment_modal")){let{payment_modal:e,...t}=s;d(t),i(eA.o1.setShowUpgradeModal(!0))}},[s,i,d]),(0,R.useEffect)(()=>{n===W.XN.embedded&&i(W.o1.fetchCritiques())},[i,n]),(()=>{let e=(0,eU.wA)(),t=(0,L.zy)(),i=(0,L.Zp)(),r=(0,eW.N)(Jg.Tp.isResumeDownloaded),{download_document_type:n,download_document_id:o,download_document_format:a,download_document_template:l,...s}=(0,R.useMemo)(()=>(0,dF.parse)(t.search,{parseNumbers:!0}),[t.search]),d="number"==typeof o;(0,R.useEffect)(()=>{d&&(e(z.o1.download({id:o,type:n,format:a,template:l})),e(z.o1.triggerAaPostPurchaseFlow({type:n,format:a})),n!==eZ.VC.coverLetter&&e(W.o1.sendResume({resumeId:o})))},[e,a,d,o,l,n]),(0,R.useEffect)(()=>{r&&d&&i(`${t.pathname}?${(0,dF.stringify)(s)}`,{replace:!0})},[r,s,d,i,t.pathname])})();let u=()=>{sessionStorage.removeItem(U.U$.ACTION_AFTER_UPGRADING_PLAN),i(F.o1.closeLimitModal()),i(eA.o1.setShowUpgradeModal(!1))};return(0,J.jsxs)(J.Fragment,{children:[c&&(0,J.jsx)(JA,{}),e?(0,J.jsx)(uB,{...t}):r?.features.superApp||r?.features.international||r?.features.dashboardV2||r?.features.dashboardV3?(0,J.jsx)(Jx,{...t}):(0,J.jsx)(uB,{...t}),o&&(0,J.jsx)(JC.do,{layoutVariant:"default",triggerVariant:"default"}),l&&(0,J.jsx)(J9,{onPaymentSuccess:e=>{u(),window.location.href=`/app/billing/processing?pi_token=${e}`},onClose:u})]})},Ee=({defaultType:e,defaultIsAutoTailored:t=!1,...i})=>{let[r,n]=(0,R.useState)(e||eZ.VC.resume),[o,a]=(0,R.useState)(t),l=(0,L.Zp)(),s=(0,L.zy)(),[d,c]=(0,i3.ok)(),u=d.get("autotailored"),p=d.get("tab"),h=i.isDocumentsPage;(0,R.useEffect)(()=>{n(e??eZ.VC.resume)},[s.pathname,e]),(0,R.useEffect)(()=>{p&&n(p)},[p]),(0,R.useEffect)(()=>{h||a("true"===u)},[u,h]);let x=(0,R.useCallback)((e,t)=>{try{if(h){let i=(0,U.dh)(e,t);l(`/${i}`,{replace:!0,state:{preventScrollToTop:!0}})}else{let i=new URLSearchParams(s.search);i.set("tab",e),t?i.set("autotailored","true"):i.delete("autotailored"),c(i)}n(e),a(t)}catch(e){console.error("error",e)}},[h,s.search,l,c]);return(0,R.useEffect)(()=>{(0,N.xP)("visit_dashboard")},[]),(0,J.jsx)(J7,{...i,documentType:r,onDocumentTypeChange:x,isDocumentsPage:h,isAutoTailored:o})};var Et=i(35980),Ei=i(65333);let Er=tt.Ay.div(["width:278px;display:flex;padding:8px 8px 16px 8px;flex-direction:column;justify-content:center;align-items:center;gap:12px;border-radius:var(--Spacing-S,16px);background:",";box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 6px 8px -2px rgba(15,56,113,0.02),0px 16px 64px -8px rgba(15,56,113,0.18);"],te.Jy.White),En=tt.Ay.div(["height:140px;"]),Eo=tt.Ay.img(["border-radius:8px;height:140px;width:262px;object-fit:cover;align-self:stretch;"]),Ea=tt.Ay.div(["display:flex;padding:0px 8px;flex-direction:column;align-items:flex-start;gap:2px;"]),El=tt.Ay.p(["",";",";color:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),Es=tt.Ay.p(["",";",";color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50);var Ed=i.p+"media/animation1127a9f492321655.gif";let Ec=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(Er,{children:[(0,J.jsx)(En,{children:(0,J.jsx)(Eo,{src:Ed})}),(0,J.jsxs)(Ea,{children:[(0,J.jsx)(El,{children:e.t("builder.job_tracking.chrome_extension_hover_popover.header")}),(0,J.jsx)(Es,{children:e.t("builder.job_tracking.chrome_extension_hover_popover.sub_header")})]})]})};var Eu=i(72150);let Ep=tt.Ay.div(["background-color:",";position:sticky;height:100vh;top:0;bottom:0;z-index:600;display:flex;"," ",";"],te.Jy.White,tQ.A.Tablet`
2586    position: fixed;
2587    align-items: center;
2588  `,tQ.A.Phone`
2589    display: none;
2590  `),Eh=(0,tt.Ay)(Eu.A)(["scrollbar-width:none;-ms-overflow-style:none;padding-bottom:32px;height:100%;border-right:1px solid transparent;&::-webkit-scrollbar{width:0;height:0;}&:hover{border-right:1px solid ",";}",":hover &{border-right:1px solid ",";}"],te.Jy.Neutral15,Ep,te.Jy.Neutral15),Ex=(0,tt.Ay)(tP.EK.ChevronDown)(["transform:rotate(-90deg);path{fill:",";}"],te.Jy.Neutral50),Em=tt.Ay.div(["padding:2px 3px;border-radius:4px;background:",";color:",";",";",";"],te.Jy.Blue50,te.Jy.White,td.Ay.Tiny,td.BO.DemiBold);te.Jy.Blue50,te.Jy.White,td.Ay.Tiny,td.BO.DemiBold;let Eg=(0,tt.Ay)(tP.EK.ArrowLeft)(["transform:rotate(135deg);"]),Ey=tt.Ay.button(["position:absolute;right:-16px;top:50%;transform:translateY(-50%);opacity:0;height:32px;width:32px;border-radius:50% 50%;padding:1px;background-color:",";color:",";border:2px solid ",";cursor:pointer;&:hover{background:","!important;color:",";}"," ",":hover &{opacity:1;}"],te.Jy.Neutral10,te.Jy.Neutral70,te.Jy.White,te.Jy.Blue10,te.Jy.Blue50,tQ.A.Tablet` opacity: 1; `,Ep),Ef=(0,tt.Ay)(tP.qJ.ChevronLeftCurrentColor)(["",":hover{fill:","!important;color:","!important;}"],Ey,te.Jy.Blue50,te.Jy.Blue50),Eb=(0,tt.Ay)(tP.qJ.ChevronRight)(["",":hover{fill:","!important;color:","!important;}"],Ey,te.Jy.Blue50,te.Jy.Blue50),E_=(0,tt.Ay)(i3.N_).withConfig({shouldForwardProp:e=>!1===["isMenuOpen"].includes(e)})(["display:flex;transition:opacity 0.2s,visibility 0.2s;opacity:",";visibility:",";",""],e=>+!e.isMenuOpen,e=>e.isMenuOpen?"hidden":"visible",tQ.A.Phone`
2591    position: absolute;
2592    left: 50%;
2593    top: 50%;
2594    transform: translate(-50%, -50%);
2595  `),Ev=(0,tt.Ay)(sc.g)(["width:133px;
2595height:40px;"]),Ej=tt.Ay.div(["margin:0 8px 24px 8px;"]),EA="builder.side_menu",EC="builder.side_menu",Ew="builder.side_menu",Ek="builder.side_menu",ES=e=>{let t=(0,e4.J)(),{i18n:i}=(0,e1.s)(),r=(0,L.zy)(),n=(0,d2.t)(),{othersSubMenu:o}=(()=>{let{i18n:e}=(0,e1.s)(),{features:t}=(0,d2.t)();return{othersSubMenu:[{to:"/career-plans/custom-plan",text:e.t(`${EA}.others_submenu.career_plan`),eventParam:"custom_career_plan",enabled:t?.careerPlans},{to:"#",href:"https://career.io/career-advice",text:e.t(`${EA}.others_submenu.career_advice_blog`),endDecoration:(0,J.jsx)(Eg,{}),eventParam:"career_advice",enabled:t?.careerAdvice},{to:"/career-path",text:e.t(`${EA}.others_submenu.career_pathways`),eventParam:"career_path",enabled:t?.careerPath},{to:"/explore-careers",text:e.t(`${EA}.others_submenu.explore_careers`),eventParam:"explore_careers",enabled:t?.careerExplorer},{to:"/career-plans/first-90-days",text:e.t(`${EA}.others_submenu.first_90_days`),eventParam:"first_90_days",enabled:t?.careerPlans},{to:"/career-plans/path-to-promotion",text:e.t(`${EA}.others_submenu.promotions`),eventParam:"get_a_promotion",enabled:t?.careerPlans}]}})(),{documentSubMenu:a}=(()=>{let e,t,{i18n:i}=(0,e1.s)(),{features:r}=(0,d2.t)();return{documentSubMenu:[{to:"/resumes",text:i.t(`${EC}.documents_submenu.resumes`),eventParam:"resumes",enabled:!0},{to:"/cover-letters",text:i.t(`${EC}.documents_submenu.cover_letters`),eventParam:"cover_letters",enabled:!0},{to:"#",href:`https://topresume.com/resume-writing${(e={pt:"UWYxd6Xe2VTS0",utm_content:"resume_writing_services"},r?.superApp&&(e.utm_source="careerio",e.utm_medium="ciomenu",e.utm_campaign="tr_promo_in_ciomenu"),r?.international&&(e.utm_source="resumeio",e.utm_medium="riomenu",e.utm_campaign="tr_promo_in_riomenu"),t=new URLSearchParams(e),`?${t}`)}`,text:i.t(`${EC}.documents_submenu.resume_writer`),endDecoration:(0,J.jsx)(Eg,{}),eventParam:"writing_services",enabled:r?.resumeWriting}]}})(),{jobSearchSubMenu:l}=(()=>{let e=(0,e4.J)(),{i18n:t}=(0,e1.s)(),i=e?.billingInfo?.userType===Z.ut.postPremium,r=i&&(0,J.jsx)(tP.EK.Crown,{width:24,height:24,color:te.Jy.Indigo70}),n=(e,t)=>{let i=`?cp_top_level=${e}&cp_second_level=${t}`;return`/career-plans/execute-a-job-search${i}`};return{jobSearchSubMenu:[{to:n(1,1),text:t.t(`${Ew}.job_search_method_submenu.master_plan`),isPostPremium:i,endDecoration:r,eventParam:"the_master_plan"},{to:n(2,3),text:t.t(`${Ew}.job_search_method_submenu.brand_yourself`),isPostPremium:i,endDecoration:r,eventParam:"brand_yourself"},{to:n(3,7),text:t.t(`${Ew}.job_search_method_submenu.more_meetings`),isPostPremium:i,endDecoration:r,eventParam:"get_more_meetings"},{to:n(4,11),text:t.t(`${Ew}.job_search_method_submenu.interview_win`),isPostPremium:i,endDecoration:r,eventParam:"interview_and_win"},{to:n(5,12),text:t.t(`${Ew}.job_search_method_submenu.close_deal`),isPostPremium:i,endDecoration:r,eventParam:"close_the_deal"}]}})(),{isInstalled:s,canInstallExtension:d,getBrowserIcon:c}=br(),{isUserRdPromotedWithoutPlan:u,showRDUpsellPromoModal:p}=uj(),h=(0,eW.N)(X.Tp.returnButton),{mutateAndRedirect:x}=(0,Td.T)(),m=t?.isPostPremium,g=u&&!m,y=m&&(0,J.jsx)(tP.EK.Crown,{width:24,height:24,color:te.Jy.Indigo70}),f=e=>e.map(e=>e.to).includes(`${r.pathname}${r.search}`),b=e=>!(e.length<3)&&r.pathname.includes(e),_=[{to:"/",enabled:!e,text:i.t(`${Ek}.dashboard`),startDecoration:(0,J.jsx)(tP.qJ.Dashboard,{}),startDecorationActive:(0,J.jsx)(tP.qJ.DashboardActive,{}),eventParam:"dashboard"},{to:"#",text:i.t(`${Ek}.documents`),enabled:!0,subMenu:a.filter(e=>e.enabled),active:f(a),endDecoration:(0,J.jsx)(Ex,{}),startDecoration:(0,J.jsx)(tP.qJ.Documents,{}),startDecorationActive:(0,J.jsx)(tP.qJ.DocumentsActive,{}),eventParam:"documents"},{id:"recommendations",to:"/job-search?view=recommendation",text:i.t(`${Ek}.recommended_jobs`),enabled:n.features?.jobSearch,active:b("/job-search"),startDecoration:(0,J.jsx)(tP.qJ.Jobs,{}),startDecorationActive:(0,J.jsx)(tP.qJ.JobsActive,{}),eventParam:"job_search"},{id:"job-tracking-menu",to:"/job-tracking",text:i.t(`${Ek}.job_tracker`),enabled:n.features?.jobTracking,isPostPremium:m,endDecoration:m&&y,startDecoration:(0,J.jsx)(tP.qJ.NavJobTracker,{}),startDecorationActive:(0,J.jsx)(tP.qJ.NavJobTrackerActive,{}),eventParam:"job_tracking"},{id:"auto-apply",to:"/auto-apply",text:i.t(`${Ek}.apply_4_me`),enabled:!!n.features?.autoApply,active:b("/auto-apply"),startDecoration:(0,J.jsx)(tP.qJ.AutoApply,{}),startDecorationActive:(0,J.jsx)(tP.qJ.AutoApplyActive,{}),eventParam:"auto_apply"},{to:"/interview-preparation/dashboard",text:i.t(`${Ek}.interview_prep`),enabled:!0,active:b("/interview-preparation"),isPostPremium:m,endDecoration:y,startDecoration:(0,J.jsx)(tP.qJ.InterviewPrep,{}),startDecorationActive:(0,J.jsx)(tP.qJ.InterviewPrepActive,{}),eventParam:"interview_prep"},{to:"/offer-analyzer",text:i.t(`${Ek}.salary_analyzer`),enabled:n.features?.salaryAnalyzer,isPostPremium:m,endDecoration:y,startDecoration:(0,J.jsx)(tP.qJ.SalaryAnalyzer,{}),startDecorationActive:(0,J.jsx)(tP.qJ.SalaryAnalyzerActive,{}),eventParam:"salary_analyzer"},{id:"resume_distribution_menu",to:"/resume-distribution",hrefTarget:"_self",href:t?.showRdTrwlPlansPage&&t?.isFree?(0,ln.f)({referrerPage:"trwl"}):void 0,text:i.t(`${Ek}.resume_distribution`),enabled:n?.showResumeDistribution(),active:b("/resume-distribution"),isPostPremium:m,endDecoration:y||(()=>{if(!n.isUkOrUs()||t?.scopes.resumeDistributionCandidate)return;
2595let e=!(t?.isFree||t?.isPostPremium),r=t?.isTrialUser&&t?.scopes.kind==="TR",{recurring:o,count:a,productId:l}=t?.scopes.resumeDistributionAddonConfig||{},s=!1===o||6===l?a:r?50:200,d=e?i.t(`${Ek}.resume_distribution_tooltip_paid`,{count:s}):i.t(`${Ek}.resume_distribution_tooltip_free`);return(0,J.jsx)(aH.QP,{value:d,width:320,multiline:!0,children:(0,J.jsx)(Em,{children:s})})})(),startDecoration:(0,J.jsx)(tP.qJ.ResumeDistribution,{}),startDecorationActive:(0,J.jsx)(tP.qJ.ResumeDistributionActive,{}),eventParam:"resume_distribution",onClick:g?p:void 0},{to:"#",text:i.t(`${Ek}.learning_hub`),enabled:n?.features?.learningHub,startDecoration:(0,J.jsx)(tP.qJ.StudySolidIcon,{}),startDecorationActive:(0,J.jsx)(tP.qJ.StudySolidIcon,{}),onClick:()=>{x({})},eventParam:"learning_hub"},{to:"#",text:i.t(`${Ek}.job_search_method`),enabled:n.features?.jobSearchPlan,subMenu:l,active:f(l),endDecoration:(0,J.jsx)(Ex,{}),startDecoration:(0,J.jsx)(tP.qJ.JobSearchMethod,{}),startDecorationActive:(0,J.jsx)(tP.qJ.JobSearchMethodActive,{}),eventParam:"job_search_strategy"},{to:"/career-coaching",text:i.t(`${Ek}.coaching`),enabled:n.features?.careerCoaching,startDecoration:(0,J.jsx)(tP.qJ.Coaching,{}),startDecorationActive:(0,J.jsx)(tP.qJ.CoachingActive,{}),eventParam:"career_coaching"},{to:"#",text:i.t(`${Ek}.others`),enabled:!!o.filter(e=>e.enabled)?.length,subMenu:o.filter(e=>e.enabled),active:f(o),endDecoration:(0,J.jsx)(Ex,{}),startDecoration:(0,J.jsx)(tP.qJ.NavMore,{}),startDecorationActive:(0,J.jsx)(tP.qJ.NavMoreActive,{}),eventParam:"other"},{to:"#",href:h?.url||"#",text:h?.text||i.t(`${Ek}.return_button_text`),startDecoration:(0,J.jsx)("img",{src:h?.icon}),startDecorationActive:(0,J.jsx)("img",{src:h?.icon}),position:"end",enabled:h?.enabled,eventParam:"partner_redirect"},{to:"#",id:"side-menu-chrome-extenstion",href:K.ae,text:i.t(`${Ek}.chrome_extension`),enabled:!s&&d&&n.features?.autoApply&&!e,position:h?.enabled?"start":"end",startDecoration:c(),startDecorationActive:c(),eventParam:"chrome_extension",popover:(0,J.jsx)(Ec,{})}].filter(e=>e.enabled);return{isActiveSubMenu:f,menuItems:_,isActiveNestedMenu:b}},ET=tt.Ay.div(["display:flex;overflow:hidden;height:48px;"]),EP=tt.Ay.div(["width:44px;height:44px;border-radius:50%;position:relative;background:",";padding:2px;"],({percentageColor:e})=>`linear-gradient(to top, ${e.start}, ${e.end})`),EJ=tt.Ay.div(["width:30px;text-align:center;border-radius:30px;padding:0 4px;position:absolute;left:7.5px;bottom:-4px;background:",";color:",";",";",";"],({percentageColor:e})=>e.start,te.Jy.White,td.Ay.Tiny,td.BO.DemiBold),EE=tt.Ay.img(["width:40px;height:40px;flex:0 0 40px;border-radius:50%;"]),ER=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;padding-left:14px;overflow:hidden;white-space:nowrap;"]),EL=tt.Ay.div(["color:",";text-overflow:ellipsis;overflow:hidden;white-space:nowrap;",";",";",""],({active:e})=>e?te.Jy.Blue50:te.Jy.Neutral90,td.Ay.Body,td.BO.Medium,tQ.A.Phone`
2596    color: ${te.Jy.Neutral90};
2597    ${td.Ay.Subhead};
2598    ${td.BO.Medium};
2599  `),EN=tt.Ay.div(["color:",";",";",";text-overflow:ellipsis;overflow:hidden;white-space:nowrap;"],te.Jy.Neutral50,td.Ay.Caption,td.BO.Regular),EI=({active:e,showOnlyAvatar:t,...i})=>{let r=(0,e4.J)(),{i18n:n}=(0,e1.s)(),o=(0,eW.N)(Z.Tp.photoUrl),{careerProfileData:a}=(0,eG.B)(),{completenessPercent:l}=eQ(),s=100===l,d=e=>e<10?{start:te.Jy.Orange50,end:te.Jy.Orange30}:e<70?{start:te.Jy.Amber50,end:te.Jy.Amber30}:{start:te.Jy.Green50,end:te.Jy.Green30};return(0,J.jsxs)(ET,{...i,children:[(0,J.jsxs)(EP,{percentageColor:d(l||0),children:[(0,J.jsx)(EE,{src:o}),!s&&(0,J.jsxs)(EJ,{percentageColor:d(l||0),children:[l,"%"]})]}),!t&&(0,J.jsxs)(ER,{children:[(0,J.jsx)(EL,{active:e,children:r?.fullName}),(0,J.jsx)(EN,{children:a?.targetRoles?.length?a?.targetRoles[0].standardTitle:n.t("builder.side_menu.profile.blank_target_role")})]})]})},EM=tt.Ay.div(["margin:20px;height:1px;border-radius:12px;background:",";"],te.Jy.Neutral15),EB=tt.Ay.div(["font-size:15px;line-height:18px;",""],td.BO.Regular),ED=tt.Ay.div(["display:flex;flex-flow:column;gap:12px;margin:8px 20px 0 20px;"]),E$=tt.Ay.div(["color:",";"," ",""],te.Jy.Neutral50,td.Ay.Caption,td.BO.Medium),EO=(0,tt.Ay)(lh.E)(["border-radius:4px;padding:4px;"]),Ez=tt.Ay.div(["display:flex;gap:8px;align-items:center;&:hover{","{color:",";}","{color:",";background-color:",";}}"],E$,te.Jy.Neutral90,EO,te.Jy.White,te.Jy.Green50),EF="builder.side_menu.profile",EH=({items:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,L.Zp)(),r=(0,eW.N)(ej.Tp.completenessPendingItems);return(0,J.jsxs)(J.Fragment,{children:[!!r?.length&&(0,J.jsxs)(ED,{children:[(0,J.jsx)(EB,{children:t.t(`${EF}.complete`)}),r.map(e=>(0,J.jsxs)(Ez,{onClick:()=>{var t;return i("target_role"===(t=e.key)?"career-profile/edit?section=jobPreferences":"work_experience"===t?"career-profile/edit?section=workExperiences":"career_assessment"===t?"/career-profile/chat":"/career-profile/profile")},children:[(0,J.jsxs)(EO,{variant:"green",size:"medium",children:["+",e.value,"%"]}),(0,J.jsx)(E$,{children:t.t(`${EF}.${e.key}`)})]},e.key))]}),!!r?.length&&(0,J.jsx)(EM,{}),(0,J.jsx)(Et.W1,{children:e.map(e=>(0,J.jsx)(Et.Dr,{children:(0,J.jsx)(Et.sW,{to:e.to,open:!0,active:e.active,endDecoration:e.endDecoration,startDecoration:e.startDecoration,eventParam:e.eventParam,children:e.text})},e.text))})]})},EV=(0,tt.Ay)(Et.Dr)(["",";"],({styles:e})=>e),EU=tt.Ay.div(["display:flex;margin:0 4px 16px;padding:8px 3px;border-radius:12px;&:hover{background:",";}"," ",";"],({active:e})=>e?te.Jy.Blue10:te.Jy.Neutral5,({active:e})=>e&&(0,tt.AH)(["color:",";background:",";"],te.Jy.Blue50,te.Jy.Blue10),tQ.A.Phone`
2600    padding: 0;
2601    margin: 12px 0;
2602  `),EW="builder.side_menu.profile",EK=({width:e,isSubMenuActive:t,open:i=!0,styles:r=""})=>{let{i18n:n}=(0,e1.s)(),o=(0,L.zy)(),a="/career-profile/profile",l=[{to:"/career-profile/insights",text:n.t(`${EW}.career_insights`),eventParam:"insights"},{to:"/career-profile/pitch",text:n.t(`${EW}.professional_pitch`),eventParam:"pitch"},{to:"/career-profile/cover-letter",text:n.t(`${EW}.ai_cover_letter`),eventParam:"cover_letter_sample"}],s=o.pathname===a||t&&t(l);return(0,J.jsx)(EV,{width:e,styles:r,subMenu:(0,J.jsx)(EH,{items:l}),children:(0,J.jsx)(i3.N_,{to:a,onClick:()=>(0,N.xP)("click_career_profile"),children:(0,J.jsx)(EU,{active:s,children:(0,J.jsx)(EI,{id:"profile-menu-onboarding",active:s,showOnlyAvatar:!i})})})})},Eq=({items:e,onClickLink:t})=>(0,J.jsx)(Et.W1,{children:e.map(e=>(0,J.jsx)(Et.Dr,{children:(0,J.jsx)(Et.sW,{to:e.to,open:!0,href:e.href,active:e.active,isPostPremium:e.isPostPremium,endDecoration:e.endDecoration,startDecoration:e.startDecoration,eventParam:e.eventParam,onClickLink:t,children:e.text})},e.text))});var EG=R.memo(({id:e,isOpen:t,width:i,onClickLink:r,...n})=>{let{menuItems:o,isActiveSubMenu:a}=ES(),l=ew.D.getItem("promoBanner");return(0,J.jsx)(Eh,{...n,id:e,width:i,isOpen:t,children:(0,J.jsxs)(Et.W1,{children:[(0,J.jsx)(Ej,{children:(0,J.jsx)(E_,{"aria-label":"Logo",isMenuOpen:!1,to:"1"===l?"/?tr_promo_banner=1":"/",children:(0,J.jsx)(Ev,{id:Ei.hT,variant:t?"default":"small"})})}),(0,J.jsx)(EK,{width:i,open:t,isSubMenuActive:a}),o.map(e=>(0,J.jsx)(Et.Dr,{position:e.position||"start",width:i,subMenu:e?.subMenu&&(0,J.jsx)(Eq,{items:e?.
2602subMenu,onClickLink:r}),subMenuHorizontalOffset:-1,children:(0,J.jsx)(Et.sW,{...e,open:t,subMenu:!!e?.subMenu,onClickLink:r,children:e.text})},e.text))]})})}),EZ=i(83530);let EX=tt.Ay.div(["display:flex;flex-direction:column;margin-top:12px;gap:4px;padding:0 12px 12px;"]),EQ=tt.Ay.div(["display:flex;gap:8px;align-items:center;"]),EY=(0,tt.Ay)(tP.Ay.Settings2)(["color:",";"],te.Jy.Neutral90),E0=(0,tt.Ay)(tP.Ay.Info)(["color:",";"],te.Jy.Neutral90),E1=(0,tt.Ay)(tP.Ay.LogOut)(["color:",";"],te.Jy.Neutral90),E2=tt.Ay.a(["display:flex;gap:8px;border-radius:8px;align-items:center;cursor:pointer;color:",";transition:color 0.2s;cursor:pointer;border:none;background:none;margin:0;padding:0;text-align:start;width:100%;padding:8px;&:hover{background-color:",";}"],te.Jy.Neutral90,te.Jy.Neutral5),E3=({closeMenu:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,e0.U)(),r=(0,L.Zp)();return(0,J.jsxs)(EX,{children:[(0,J.jsx)(E2,{as:"button",onClick:()=>{e(),r("/account")},children:(0,J.jsxs)(EQ,{children:[(0,J.jsx)(EY,{}),t.t("builder.navbar.account_settings")]})}),i?.links.updates&&(0,J.jsx)(E2,{href:i.links.updates,target:"_blank",rel:"noreferrer noopener",children:t.t("builder.navbar.updates")}),i?.links.help&&(0,J.jsx)(E2,{href:i.links.help,target:"_blank",rel:"noreferrer noopener",children:(0,J.jsxs)(EQ,{children:[(0,J.jsx)(E0,{}),t.t("builder.navbar.faq")]})}),(0,J.jsx)(E2,{as:"button",onClick:()=>EZ.y.logout(),children:(0,J.jsxs)(EQ,{children:[(0,J.jsx)(E1,{}),t.t("builder.navbar.log_out")]})})]})},E5=tt.Ay.div(["display:flex;margin:0 8px 16px;padding:8px 12px;border-radius:12px;align-items:center;&:hover{background:",";}"],te.Jy.Neutral5),E4=(0,tt.Ay)(tP.Ay.ChevronRight)(["margin-left:auto;path{fill:",";}"],te.Jy.Neutral100),E6=e=>{let{closeMenu:t}=e;return(0,J.jsx)(i3.N_,{to:"/career-profile/profile",onClick:()=>{t?.(),(0,N.xP)("click_career_profile")},children:(0,J.jsxs)(E5,{children:[(0,J.jsx)(EI,{}),(0,J.jsx)(E4,{})]})})},E8=tt.Ay.div(["margin-bottom:48px;"]),E9=tt.Ay.div(["margin:16px 26px;height:1px;border-radius:12px;background:",";"],te.Jy.Neutral15),E7=tt.Ay.div(["display:flex;flex-flow:column;gap:12px;margin:8px 20px 16px 20px;padding:16px;border-radius:16px;background:",";"],te.Jy.Neutral5),Re=tt.Ay.div([""," ",""],td.Ay.Caption,td.BO.Regular),Rt=tt.Ay.div(["display:flex;gap:8px;align-items:center;"]),Ri=tt.Ay.div(["color:",";"," ",""],te.Jy.Neutral50,td.Ay.Caption,td.BO.Medium),Rr=(0,tt.Ay)(lh.E)(["border-radius:4px;"]),Rn=tt.Ay.div([""]),Ro=(0,tt.Ay)(Et.sW)(["padding:12px;color:",";"," ",""],te.Jy.Neutral90,td.Ay.Body,td.BO.Regular),Ra="builder.side_menu.profile",Rl=e=>{let{closeMenu:t}=e,{i18n:i}=(0,e1.s)(),r=(0,eW.N)(ej.Tp.completenessPendingItems),n=[{to:"/career-profile/insights",text:i.t(`${Ra}.career_insights`),eventParam:"insights"},{to:"/career-profile/pitch",text:i.t(`${Ra}.professional_pitch`),eventParam:"pitch"},{to:"/career-profile/cover-letter",text:i.t(`${Ra}.ai_cover_letter`),eventParam:"cover_letter_sample"}];return(0,J.jsxs)(J.Fragment,{children:[!!r?.length&&(0,J.jsxs)(E7,{children:[(0,J.jsx)(Re,{children:i.t(`${Ra}.complete`)}),r.map(e=>(0,J.jsxs)(Rt,{children:[(0,J.jsxs)(Rr,{variant:"green",size:"medium",children:["+",e.value,"%"]}),(0,J.jsx)(Ri,{children:i.t(`${Ra}.${e.key}`)})]},e.key))]}),n.map(e=>(0,J.jsx)(Rn,{onClick:t,children:(0,J.jsx)(Ro,{to:e.to,open:!0,active:e.active,endDecoration:e.endDecoration,startDecoration:e.startDecoration,eventParam:e.eventParam,children:e.text})},e.text))]})},Rs=({closeMenu:e})=>(0,J.jsxs)(E8,{children:[(0,J.jsx)(E6,{closeMenu:e}),(0,J.jsx)(Rl,{closeMenu:e}),(0,J.jsx)(E9,{}),(0,J.jsx)(E3,{closeMenu:e})]});var Rd=i(1571);let Rc=({type:e,menu:t,subMenuAction:i,mainMenuAction:r})=>(0,J.jsx)(J.Fragment,{children:t.map((t,n)=>(0,J.jsx)(Rd.Dr,{onClick:()=>(t=>{if("menu"===e)return r(t);i()})(t),children:(0,J.jsx)(Rd.po,{open:!0,...t,children:t.text})},n))}),Ru="builder.side_menu.mobile",Rp=R.forwardRef(({open:e,setOpen:t},i)=>{let{i18n:r}=(0,e1.s)(),{menuItems:n}=ES(!0),[o,a]=(0,R.useState)(),l=(0,eW.N)(ej.Tp.isMobileProfileMenuOpen),s=()=>{t(!1),a(void 0)};
2602return e?(0,J.jsx)(Rd.mc,{children:(0,J.jsxs)(Rd._s,{ref:i,children:[(0,J.jsxs)(Rd.Y9,{children:[o&&(0,J.jsx)(Rd.oq,{onClick:()=>{a(void 0)},children:(0,J.jsx)(Rd.PC,{})}),(0,J.jsx)(Rd.gY,{isCareerProfile:l,isSubMenu:!!o,children:l?r.t(`${Ru}.career_profile`):o?.parent||r.t(`${Ru}.more_menu`)}),!o&&(0,J.jsx)(Rd.uC,{onClick:()=>t(!1)})]}),(0,J.jsx)(Rd.$j,{children:l?(0,J.jsx)(Rs,{closeMenu:()=>t(!1)}):(0,J.jsx)(Rc,{type:o?.subMenu?"submenu":"menu",menu:o?.subMenu||n,subMenuAction:s,mainMenuAction:e=>{if(!e.subMenu)return s();a({parent:e.text,subMenu:e.subMenu})}})})]})}):(0,J.jsx)(J.Fragment,{})});var Rh=i(7350),Rx=i.n(Rh);let Rm=e=>{let{elementRef:t,topThreshold:i=0,bottomThreshold:r=0,throttleTime:n=200,isDisabled:o}=e||{},a=(0,eU.wA)(),[l,s]=(0,R.useState)(!0),[d,c]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{let e=t?t.current:document.scrollingElement,a=t?t.current:window;if(o||!e||!a)return;let l=Rx()(()=>{s(e.scrollTop+e.clientHeight<e.scrollHeight-r),c(e.scrollTop>i)},n,{leading:!0,trailing:!0});a.addEventListener("scroll",l),window.addEventListener("resize",l);let d=new ResizeObserver(l);return d.observe(e),l(),()=>{a.removeEventListener("scroll",l),window.removeEventListener("resize",l),d.disconnect()}},[a,t,i,r,n,o]),{canScrollBottom:l,canScrollTop:d}},Rg=tt.Ay.div([""," "," ",""],td.Ay.Subhead,td.BO.DemiBold,tQ.A.Phone`
2603    ${td.Ay.S};
2604  `),Ry=tt.Ay.div(["display:flex;flex-direction:",";margin-top:16px;",""],e=>e.$direction||"column",tQ.A.Phone`
2605    margin-top: 12px;
2606  `),Rf=tt.Ay.div([""," ",";color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral60),Rb=tt.Ay.div(["display:flex;margin-top:30px;gap:8px;justify-content:",";",""],e=>e.$justify||"space-between",tQ.A.Phone`
2607    margin-top: 14px;
2608    flex-direction: column-reverse;
2609  `),R_=(0,tt.Ay)(i$.Ay)([""," ",";"],td.Ay.Body,td.BO.Medium),Rv=tt.Ay.div(["",";",";margin-top:",";display:flex;flex-direction:column;gap:",";"],td.Ay.Caption,td.BO.Regular,te.Kz.XS,te.Kz["2XS"]),Rj=tt.Ay.div(["display:flex;gap:",";align-items:center;"],te.Kz["3XS"]),RA=(0,tt.Ay)(tP.EK.Tick)(["color:",";"],te.Jy.Green40),RC="builder.resume_optimizer.job_posting",Rw=({onContinueClick:e,onCancelClick:t,buttonSize:i})=>{let{i18n:r}=(0,e1.s)();return(0,R.useEffect)(()=>{(0,N.xP)("see_auto_tailoring_missing_info_screen")},[]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Rg,{children:r.t(`${RC}.missed_data.title`)}),(0,J.jsxs)(Ry,{"data-testid":"not-enough-data-modal-content",children:[(0,J.jsx)(Rf,{children:r.t(`${RC}.missed_data.sub_title`)}),(0,J.jsxs)(Rv,{children:[(0,J.jsxs)(Rj,{children:[(0,J.jsx)(RA,{}),r.t(`${RC}.missed_data.profile_summary`)]}),(0,J.jsxs)(Rj,{children:[(0,J.jsx)(RA,{}),r.t(`${RC}.missed_data.work_experience`)]})]})]}),(0,J.jsxs)(Rb,{$justify:"right",children:[(0,J.jsx)(R_,{size:i,theme:"ghost",onClick:t,"data-testid":"cancel-button",children:r.t(`${RC}.cancel`)}),(0,J.jsx)(R_,{size:i,onClick:e,"data-testid":"continue-button",children:r.t(`${RC}.continue`)})]})]})},Rk=tt.Ay.div(["display:flex;flex-direction:row;padding:14px 16px;color:",";gap:16px;"],te.Jy.White),RS=(0,tt.Ay)(tP.Ay.Completeness0Percent)([""]),RT=tt.Ay.div(["",";",";display:flex;align-items:center;"],td.Ay.Caption,td.BO.Regular),RP=(0,tt.Ay)(tg.A)(["width:320px;margin-top:12px;border-radius:2px;margin-left:16px;background:linear-gradient(180deg,#f7f9fc 0%,"," 100%);border-image:linear-gradient(to bottom,"," 60%,"," 100%);border-image-slice:1;",""],te.Jy.White,te.Jy.Neutral15,te.Jy.White,tQ.A.Phone`
2610    width: 246px;
2611    margin-top: 9px;
2612  `),RJ=tt.Ay.div(["height:3px;background-color:",";margin:6px 16px 6px 16px;"],te.Jy.Neutral80),RE=tt.Ay.div(["height:100%;width:0%;background-color:",";"],te.Jy.Blue50),RR=e=>{let{resumeId:t}=e,{i18n:i}=(0,e1.s)(),r=i.t("builder.resume_optimizer.job_posting.missed_data.preview_title"),n=(0,e7.T)(t||null),o=(0,R.useMemo)(()=>n?(0,tv.I)(n,{size:352}):null,[n]);return(0,J.jsxs)(cf.A9,{children:[(0,J.jsxs)(Rk,{children:[(0,J.jsx)(RS,{}),(0,J.jsx)(RT,{children:r})]}),(0,J.jsx)(RJ,{children:(0,J.jsx)(RE,{})}),(0,J.jsx)(RP,{src:o})]})},RL=e=>{let{resumeId:t}=e,i=(0,eU.wA)(),{isPhone:r}=(0,ih.e)(),n=r?i$.Mp.small:i$.Mp.default,o=(0,R.useCallback)(()=>{i($.o1.setAutoTailoringState({isNotEnoughDataModalOpen:!1}))},[i]),a=(0,R.useCallback)(()=>{i($.o1.highlightEmptyWorkExperience({title:i7.R.t("builder.auto_tailoring.work_experience.title"),content:i7.R.t("builder.auto_tailoring.work_experience.description"),buttonLabel:i7.R.t("builder.auto_tailoring.work_experience.button_text")})),(0,N.xP)("click_continue",{label:"auto_tailoring_missing_info_screen"}),o()},[i,o]);return(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,isVisible:!1,
2612children:(0,J.jsxs)(cf.J3,{"data-testid":"job-posting-modal",children:[(0,J.jsxs)(cf.jy,{children:[(0,J.jsx)(cf.Vi,{showHoverState:!0,onClick:o,"data-testid":"close-button",children:(0,J.jsx)(cf.US,{})}),(0,J.jsx)(RR,{resumeId:t}),(0,J.jsx)(cf.oV,{})]}),(0,J.jsx)(cf.hw,{children:(0,J.jsx)(Rw,{onContinueClick:a,onCancelClick:o,buttonSize:n})})]})})};var RN=i(52986);let RI=tt.Ay.div(["padding:32px 36px;display:flex;flex-direction:column;gap:12px;background-color:",";border-radius:12px;",";"],te.Jy.White,tQ.A.Phone`
2613    gap: 16px;
2614    padding: 24px 16px;
2615  `),RM=tt.Ay.div(["",";font-weight:",";color:",";"],te.o5.sizes.Subhead,te.o5.weights.medium,te.Jy.Neutral90),RB=tt.Ay.div(["",";color:",";"],te.o5.sizes.Caption,te.Jy.Neutral50),RD=tt.Ay.div(["color:",";"],te.Jy.Neutral50),R$=tt.Ay.div(["height:","px;border-radius:","px;background:",";position:relative;&:before{content:'';position:absolute;height:","px;width:","%;background:",";border-radius:","px;}"],4,2,te.Jy.Neutral10,4,e=>e.$score,e=>(0,c$.Oz)(e.$score),2),RO=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;"]),Rz=tt.Ay.div(["display:flex;align-items:center;gap:",";"],te.Kz.XS),RF=tt.Ay.div(["color:",";"],te.Jy.Blue50),RH=e=>{let{icon:t,title:i}=e;return(0,J.jsxs)(RO,{children:[(0,J.jsxs)(Rz,{children:[(0,J.jsx)(RF,{children:t}),i]}),(0,J.jsx)(R$,{$score:0})]})},RV=tt.Ay.div(["display:flex;flex-direction:column;gap:32px;"]),RU=tt.Ay.div(["display:flex;flex-direction:column;gap:24px;"]),RW=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),RK=tt.Ay.div(["display:flex;gap:8px;"]),Rq=(0,tt.Ay)(tP.Ay.Tick)(["color:",";"],te.Jy.Green40),RG="builder.resume_optimizer.job_posting_for_editor_with_tabs.no_data_step",RZ=e=>{let{children:t}=e,{i18n:i}=(0,e1.s)(),r=(0,eU.wA)();return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(RI,{children:(0,J.jsxs)(RV,{children:[(0,J.jsxs)(RU,{children:[(0,J.jsx)(RH,{title:i.t(`${RG}.status_text`),icon:(0,J.jsx)(tP.H7.ArrowTarget,{})}),(0,J.jsx)(RM,{children:i.t(`${RG}.title`)}),(0,J.jsxs)(RW,{children:[(0,J.jsxs)(RK,{children:[(0,J.jsx)(Rq,{}),i.t(`${RG}.bullet_points.profile_summary`)]}),(0,J.jsxs)(RK,{children:[(0,J.jsx)(Rq,{}),i.t(`${RG}.bullet_points.work_experience`)]})]})]}),(0,J.jsx)(i$.JQ,{onClick:()=>{r($.o1.setEditorPanelType("editor")),r($.o1.highlightEmptyWorkExperience({title:i.t("builder.auto_tailoring.work_experience.title"),content:i.t("builder.auto_tailoring.work_experience.description"),buttonLabel:i.t("builder.auto_tailoring.work_experience.button_text"),delayMs:500})),(0,N.xP)("click_continue",{label:"auto_tailoring_missing_info_screen"})},children:i.t(`${RG}.button_text`)})]})}),t]})};var RX=i(3724),RQ=i(97946);let RY=e=>{let{currentDocument:t,isFromJobTracker:i=!1,downloadClickEventSource:r,downloadActionEventSource:n}=e,o=(0,eU.wA)(),a=(0,e0.U)(),l=(0,cR.PI)(t),s=(0,eW.N)(Z.Tp.userData);return{handleDownloadDocument:(0,R.useCallback)(e=>{if(!t)return;let{format:d=eZ.hR.pdf}=e||{},{type:c,template:u}=t;if((0,N._m)("Preview Modal",`Download ${ax()(c)}`,{eventLabel:d}),(0,N.xP)(`click_download_${c}_button`,{format:d,source:r,template:u,...l&&{score:t.score}}),!s?.hasPremiumFeatures&&(0,cR.PI)(t)&&t.autoTailored){let e=`/app/resumes/${t.id}/edit`,i=new URLSearchParams({[RQ.PI]:d}),r=t.jobCardId?(i.set("card_id",String(t.jobCardId)),`/app/job-tracking?${i.toString()}`):`${e}?${i.toString()}`;(0,ln.b)({onSuccessRedirect:r,onCloseRedirect:e,tailoring:!0});return}if(window.location.pathname.includes("/resumes")&&s?.registeredAt&&((e,t)=>{if(t){let t=new Date().toUTCString(),i=ew.D.getItem(F.iD.SHOW_ABANDONMENT_MODAL_FLAG),r=new Date(e).toUTCString(),n=Math.floor((new Date(t).getTime()-new Date(r).getTime())/1e3/60);return null===i&&n<5}return!1})(s.registeredAt,a?.features.plansPageAbandonment||!1)){(0,N.xP)("show_abandonment_popup",{source:"dashboard",type:"plans"}),o($.o1.setResumeDownloadData({id:t.id,type:c,format:d,source:"builder",template:u})),o(F.o1.openPlansPageAbandonmentModal());return}o(z.o1.download({id:t.id,type:c,format:d,source:n,template:u})),i&&(o($.o1.setOpenSavingInfoBanner(!0)),(0,N.xP)("view_save_banner",{label:"optimizer"}))},[t,o,i,l,s,a,r,n])}},R0=tt.Ay.div(["box-shadow:",";
2615transition:box-shadow 0.2s ease-out;padding:",";display:flex;gap:",";flex-wrap:wrap;background-color:",";border-radius:"," "," 0 0;position:sticky;bottom:0;width:100%;z-index:10;& > *{flex:1 1 calc(50% - ",");}"],({$isFooterShadowVisible:e})=>e?te.qd.lightWithBorderShadowMid:"none",te.Kz.XS,te.Kz["2XS"],te.Jy.White,te.Kz.XS,te.Kz.XS,te.Kz["2XS"]),R1=e=>{let{isFooterShadowVisible:t,children:i}=e;return(0,J.jsx)(R0,{...e,$isFooterShadowVisible:t,children:i})};var R2=i(78247);let R3=tt.Ay.div(["display:flex;position:relative;flex-flow:column;"]),R5=(0,tt.Ay)(tP.Ay.ChevronDownV2)(["transition:transform 0.3s ease;"]),R4="builder.resume_editor.document_download",R6=(0,R.memo)(e=>{let{handleDownloadDocument:t,handleShareDocument:i,isDownloading:r,handleCombineDocuments:n,handleDownloadButtonMenuOpen:o,menuPosition:a="bottom",menuAlign:l="right",shouldShowIcon:s=!0,canDownloadTxt:d=!0,label:c,leadingIcon:u,size:p=i$.Mp.small,dataTestId:h,id:x="builder-download-button"}=e,{i18n:m}=(0,e1.s)(),[g,y]=(0,R.useState)(!1),f=(0,R.useRef)(null),b=!!i,_=!!n,v=(0,R.useCallback)(()=>{!g&&o&&o(),y(!g)},[g,o]),j=(0,R.useCallback)(({format:e=eZ.hR.pdf}={})=>{y(!1),t({format:e})},[t]),A=(0,R.useCallback)(()=>{y(!1),i&&i()},[i]),C=(0,R.useCallback)(()=>{y(!1),n&&n()},[n]),w=(0,R.useCallback)(()=>{y(!1)},[]);return(0,pA.j)(w),(0,J.jsxs)(R3,{children:[(0,J.jsx)(i$.JQ,{ref:f,size:p,id:x,"data-testid":h,leadingIcon:u,trailingIcon:s?(0,J.jsx)(R5,{style:{transform:g?"rotateX(180deg)":"rotateX(0deg)"}}):void 0,disabled:r,onClick:v,children:c??m.t(`${R4}.download_button_text`)}),g&&(0,J.jsx)(R2.Wy,{position:a,align:l,clickOutsideExceptRefs:[f],onClose:w,actions:[{text:m.t(`${R4}.options.pdf`),icon:(0,J.jsx)(tP.Ay.PdfStaticColor,{}),onClick:()=>j({format:eZ.hR.pdf})},{text:m.t(`${R4}.options.docx`),icon:(0,J.jsx)(tP.Ay.DocxStaticColor,{}),onClick:()=>j({format:eZ.hR.docx})},...d?[{text:m.t(`${R4}.options.txt`),icon:(0,J.jsx)(tP.Ay.TxtStaticColor,{}),onClick:()=>j({format:eZ.hR.txt})}]:[],..._?[{text:m.t("builder.resume_editor.combine_with"),icon:(0,J.jsx)(tP.Ay.Combine,{}),onClick:C}]:[],...b?[{text:m.t(`${R4}.options.share_resume`),icon:(0,J.jsx)(tP.Ay.Link,{}),divider:!0,onClick:A,description:m.t(`${R4}.options.share_resume_description`)}]:[]]})]})}),R8=(0,tt.Ay)(tP.Ay.Colors)(["color:",";"],te.Jy.Blue50),R9=(0,R.forwardRef)((e,t)=>{let{i18n:i}=(0,e1.s)();return(0,J.jsx)(i$.JQ,{ref:t,leadingIcon:(0,J.jsx)(R8,{}),theme:i$.Ox.ghost,size:"small","data-testid":"customization-button",id:"select-resume-template-button",...e,children:i.t("builder.resume_editor.customization")})}),R7=()=>{let{isTablet:e}=(0,ih.e)();return e?i$.Mp.small:i$.Mp.default},Le=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;",""],tQ.A.Phone`
2616    gap: 16px;
2617  `),Lt=tt.Ay.div(["display:flex;align-items:flex-start;gap:",";"],te.Kz.XS),Li=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;flex:auto;"]),Lr="builder.resume_optimizer.job_posting_for_editor_with_tabs.enter_link_step",Ln={[eZ.Hp.notAsked]:(0,J.jsx)(J.Fragment,{}),[eZ.Hp.loading]:(0,J.jsx)(cf.nU,{}),[eZ.Hp.loaded]:(0,J.jsx)(cf.gJ,{}),[eZ.Hp.failed]:(0,J.jsx)(cf.H2,{})},Lo=e=>{let{children:t,canScrollBottom:i}=e,{i18n:r}=(0,e1.s)(),n=(0,eU.wA)(),{jobPostingLinkForModal:o}=(0,eW.N)($.Tp.optimizerSection),a=(0,eW.N)($.Tp.resume),{isTablet:l}=(0,ih.e)(),{normalizeUrl:s,isValidUrl:d}=(0,RX.y3)(),[c,u]=(0,R.useState)(()=>o?d(o)?eZ.Hp.loaded:eZ.Hp.failed:null),p=c===eZ.Hp.loaded,h=c===eZ.Hp.failed,x=c&&o?Ln[c]:null,m=R7();(0,dl.h)(()=>{(0,N.xP)("see_resume_optimizer_link_screen")}),(0,R.useEffect)(()=>{o?u(eZ.Hp.loading):u(eZ.Hp.notAsked)},[o]),(0,R.useEffect)(()=>{p?(0,N.xP)("send_job_posting_link",{status:"ok",link:o}):h&&(0,N.xP)("send_job_posting_link",{status:"failed",link:o})},[p,h,o]),co(()=>{o&&u(d(o)?eZ.Hp.loaded:eZ.Hp.failed)},1e3,[o]);let g=e=>e!==eZ.Hp.failed?r.t(`${Lr}.input_label`):o?r.t(`${Lr}.error_messages.failed`):r.t(`${Lr}.error_messages.empty`),y=h?g(c):null,f=h?null:g(c),b=(0,J.jsx)(i$.JQ,{onClick:()=>{if(c!==eZ.Hp.loading){if(!o||c===eZ.Hp.failed)return void u(eZ.Hp.failed);n($.o1.checkResumeScore({jobPostingLink:o,resumeId:a?.id})),(0,N.xP)("click_continue_job_posting_link")}},size:m,disabled:!!y||c===eZ.Hp.loading,"data-testid":"start-tailoring-with-link-button",children:r.t(`${Lr}.continue`)});return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(RI,{children:(0,J.jsxs)(Le,{children:[(0,J.jsx)(RM,{children:r.t(`${Lr}.title`)}),(0,J.jsxs)(Lt,{children:[(0,J.jsxs)(Li,{children:[(0,J.jsx)(re.A,{value:o,name:"link",placeholder:r.t(`${Lr}.input_placeholder`),onChange:e=>{n($.o1.setJobPostingLinkForModal(s(e.target.value)))},inputIcon:x,inputIconPosition:"right",error:y,autoFocus:!0,"data-testid":"job-posting-link-input"}),f&&(0,J.jsx)(RB,{children:f})]}),!l&&b]})]})}),t,l&&(0,J.jsx)(R1,{isFooterShadowVisible:i,children:b})]})},La=tt.Ay.div(["display:flex;flex-direction:column;gap:24px;"]),Ll=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;"]),Ls="builder.resume_optimizer.job_posting",Ld=e=>{let{children:t}=e,{i18n:i}=(0,e1.s)();return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(RI,{children:(0,J.jsxs)(La,{children:[(0,J.jsx)(RH,{title:i.t(`${Ls}.calculating_score`),icon:(0,J.jsx)(du.Qw,{$width:"24px",$height:"24px"})}),(0,J.jsxs)(Ll,{children:[(0,J.jsx)(RM,{children:i.t(`${Ls}.loading.title`)}),(0,J.jsx)(RB,{children:i.t(`${Ls}.loading.content`)})]})]})}),t]})};var Lc=i(93982);let Lu=tt.Ay.div(["display:flex;align-items:center;gap:4px;color:",";padding-right:4px;transition:color 0.1s ease-out;cursor:pointer;white-space:nowrap;&:hover{color:",";}"],te.Jy.Blue50,te.Jy.Blue60),Lp=e=>{let{children:t,icon:i,...r}=e;return(0,J.jsxs)(Lu,{...r,children:[i,t]})},Lh=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;"]),Lx=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:12px;",""],tQ.A.Phone`
2618    gap: 16px;
2619  `),Lm=tt.Ay.div(["display:flex;flex-direction:column;gap:2px;"]),Lg=tt.Ay.div(["",";color:",";"],te.o5.sizes.Body,te.Jy.Neutral90),Ly=tt.Ay.div(["display:flex;gap:",";"],te.Kz["2XS"]),Lf=tt.Ay.div(["",";font-weight:",";color:",";padding:2px 4px;background:",";border-radius:4px;"],te.o5.sizes.Tiny,te.o5.weights.demibold,te.Jy.White,e=>(0,c$.Oz)(e.$score)),Lb=e=>{let{i18n:t}=(0,e1.s)(),{score:i=0,title:r,onChangeLink:n}=e,o=(0,R.useMemo)(()=>{let{tier:e}=(0,c$.L5)(i);return e===c$.D1.NeedsWork?t.t("builder.resume_optimizer.job_posting.poor_match.score_title"):e===c$.D1.ExcellentMatch?t.t("builder.resume_optimizer.job_posting.good_match.score_title"):t.t("builder.resume_optimizer.job_posting.normal_match.score_title")},[i,t]);return(0,J.jsxs)(Lh,{children:[(0,J.jsxs)(Lx,{children:[(0,J.jsxs)(Lm,{children:[(0,J.jsx)(Lg,{"data-testid":"job-posting-details-title",children:r}),!!i&&(0,J.jsxs)(Ly,{children:[(0,J.jsxs)(Lf,{$score:i,"data-testid":"job-posting-details-score",children:[i,"%"]}),(0,J.jsx)(RB,{"data-testid":"job-posting-score-label",children:o})]})]}),n&&(0,J.jsx)(Lp,{onClick:n,icon:(0,J.jsx)(tP.Ay.Revert,{}),children:t.t("builder.resume_optimizer.job_posting.try_again")})]}),(0,J.jsx)(R$,{$score:i})]})};var L_=i(30586);let Lv=tt.Ay.div(["display:flex;flex-direction:column;gap:24px;"]),Lj=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;",""],tQ.A.Phone`
2620    gap: 10px;
2621  `),LA=tt.Ay.div(["display:flex;align-items:center;gap:12px;"]),LC=tt.Ay.div(["padding:10px 7px;border-radius:8px;background-color:",";display:flex;align-items:center;justify-content:center;"],te.Jy.Green10),Lw=tt.Ay.div(["padding:2px;border-radius:4px;background-color:",";color:",";",";"],te.Jy.Green40,te.Jy.White,te.o5.sizes.Tiny),Lk=tt.Ay.div(["display:flex;gap:",";"],te.Kz.XS),LS=(0,tt.Ay)(i$.JQ)(["flex:auto;"]),LT=(0,tt.Ay)(L_.EK.ArrowTarget2)(["width:24px;height:24px;"]),LP=e=>{let{children:t,canScrollBottom:i}=e,{i18n:r}=(0,e1.s)(),{temporaryJobPostingAPIData:n,resumeScoreAPIData:o}=(0,eW.N)($.Tp.optimizerSection),a=(0,eW.N)($.Tp.attachJobPostingStatus),{jobTitle:l,companyName:s}=n||{}
2621,d=(0,eW.N)($.Tp.resume),c=a===eZ.Hp.loading,u=(0,cT.F)(l,s),{tryToStartAutoTailoring:p,isAutoTailoringEnabled:h}=(0,RN.G)(),x=(0,eU.wA)(),m=(0,Lc.n)(o?.score?.finalWeightedScore),{isTablet:g}=(0,ih.e)(),y=R7(),f=(0,J.jsxs)(Lk,{children:[(0,J.jsx)(LS,{theme:h?"ghost":"primary",onClick:()=>{d?.id&&(x($.o1.startManualTailoring({resumeId:d?.id})),h?(0,N.xP)("click_edit_manually_resume_optimizer_result_screen"):(0,N.xP)("click_start_improving_resume_optimizer_result_screen"))},disabled:c,size:y,"data-testid":"start-manual-tailoring-button",children:h?r.t("builder.resume_optimizer.job_posting.manually_button"):r.t("builder.resume_optimizer.job_posting.start_improving")}),h&&(0,J.jsx)(LS,{theme:i$.Ox.alternative,onClick:()=>{(0,N.xP)("click_auto_tailor_resume_optimizer_result_screen"),p()},isLoading:c,disabled:c,leadingIcon:(0,J.jsx)(LT,{}),size:y,"data-testid":"start-auto-tailoring-button",children:r.t("builder.resume_optimizer.job_posting.auto_tailor_button")})]});return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(RI,{"data-testid":"job-posting-details-container",children:(0,J.jsxs)(Lv,{children:[(0,J.jsx)(Lb,{title:u,score:m,onChangeLink:()=>{x($.o1.resetResumeOptimizerProcess()),(0,N.xP)("click_try_again_resume_optimizer_result_screen")}}),(0,J.jsxs)(Lj,{children:[(0,J.jsx)(RM,{children:(()=>{let{tier:e}=(0,c$.L5)(m);return e===c$.D1.NeedsWork?r.t("builder.resume_optimizer.job_posting.poor_match.title"):e===c$.D1.ExcellentMatch?r.t("builder.resume_optimizer.job_posting.good_match.title"):r.t("builder.resume_optimizer.job_posting.normal_match.title")})()}),(0,J.jsxs)(LA,{children:[(0,J.jsx)(LC,{children:(0,J.jsxs)(Lw,{children:["+",100-m,"%"]})}),(0,J.jsx)(RB,{children:r.t("builder.resume_optimizer.job_posting.poor_match.content")})]})]}),!g&&f]})}),t,g&&(0,J.jsx)(R1,{isFooterShadowVisible:i,children:f})]})};var LJ=i(34375);let LE=e=>{let{children:t}=e,{id:i,jobTitle:r,companyName:n}=(0,eW.N)($.Tp.attachedJobPostingAPIData)||{},o=(0,eW.N)($.Tp.resume),a=o?.averageScore||0,l=(0,cT.F)(r,n),s=(0,eU.wA)(),d=(0,eW.N)(e=>e.resumeEditor.isClickedOnDeleteJobPosting);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(RI,{children:[(0,J.jsx)(Lb,{title:l,score:a,onChangeLink:()=>{s($.o1.setIsClickedOnDeleteJobPosting(!0)),(0,N.xP)("click_clear_job_title_resume_optimizer")}}),d&&(0,J.jsx)(LJ.X,{handleDeleteJobPosting:()=>{o?.id&&i&&(s($.o1.deleteJobPosting({jobPostingId:i,resumeId:o?.id,shouldRefreshPage:!1})),s($.o1.setIsClickedOnDeleteJobPosting(!1)),(0,N.xP)("click_confirm_delete_job_title_resume_optimizer"))},handleCancelDeleteJobPosting:()=>{s($.o1.setIsClickedOnDeleteJobPosting(!1))}})]}),t]})},LR=tt.Ay.div(["display:flex;flex-direction:column;gap:24px;"]),LL=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;"]);te.Jy.Neutral50;let LN=tt.Ay.div(["display:flex;flex-direction:column;gap:24px;",""],tQ.A.Phone`
2622    gap: 12px;
2623  `),LI=(0,tt.Ay)(re.A)(["flex:auto;",""],tQ.A.Phone`
2624    flex: 1 1 100%;
2625  `),LM=tt.Ay.div(["display:flex;flex-wrap:wrap;gap:24px;",""],tQ.A.Phone`
2626    gap: 12px;
2627  `),LB=tt.Ay.div(["display:flex;gap:",";justify-content:space-between;align-items:center;"],te.Kz.XS),LD=tt.Ay.div(["display:flex;gap:",";"],te.Kz.XS),L$=(0,tt.Ay)(LB)(["justify-content:flex-start;"]),LO=(0,tt.Ay)(LD)(["flex:auto;"]),Lz=(0,tt.Ay)(i$.JQ)(["flex:1 1 50%;"]),LF=tt.Ay.div(["display:flex;justify-content:center;align-items:center;padding:0 28px;",""],tQ.A.Phone`
2628    padding: 0 8px;
2629  `),LH="builder.resume_optimizer.job_posting.no_match",LV=e=>{let{children:t,canScrollBottom:i}=e,r=(0,eU.wA)(),{i18n:n}=(0,e1.s)(),o=(0,eW.N)($.Tp.resume),{fetchScoreStatus:a,manualInput:l}=(0,eW.N)($.Tp.optimizerSection),[s,d]=(0,R.useState)({companyName:!1,jobTitle:!1,role:!1}),c=a===eZ.Hp.loading,u=n.t("builder.ai_resume_draft.linkedin.link_empty"),{isTablet:p}=(0,ih.e)(),h=R7();(0,R.useEffect)(()=>{(0,N.xP)("see_resume_optimizer_error_screen",{label:"with_manual_input"})},[]);let x=e=>{let{name:t,value:i}=e.target;r($.o1.setResumeOptimizerManualInput(e.target)),i&&s[t]&&d({...s,[t]:!1})},m=()=>{(0,N.xP)("click_try_again_resume_optimizer_error_screen",{label:"with_manual_input"}),r($.o1.setShowManualInputScreen(!1)),r($.o1.resetResumeOptimizerProcess())},g=()=>{let{companyName:e,jobTitle:t,role:i}=l;e&&t&&i?((0,N.xP)("click_continue_resume_optimizer_error_screen"),r($.o1.checkResumeScore({jobPostingManualInput:{companyName:e,jobTitle:t,description:i},resumeId:o?.id}))):d({companyName:!e,jobTitle:!t,role:!i})},y=()=>{r($.o1.setShowManualInputScreen(!1))};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(RI,{children:(0,J.jsxs)(LR,{children:[(0,J.jsxs)(LL,{children:[(0,J.jsx)(RM,{children:n.t(`${LH}.title`)}),(0,J.jsx)(RD,{children:n.t(`${LH}.content`)})]}),(0,J.jsxs)(LN,{children:[(0,J.jsxs)(LM,{children:[(0,J.jsx)(LI,{value:l.companyName,name:"companyName",onChange:x,label:n.t(`${LH}.company_name`),placeholder:n.t(`${LH}.company_name`),error:s.companyName&&u,autoFocus:!0}
2629),(0,J.jsx)(LI,{value:l.jobTitle,name:"jobTitle",onChange:x,label:n.t(`${LH}.job_title`),placeholder:n.t(`${LH}.job_title`),error:s.jobTitle&&u})]}),(0,J.jsx)(re.l,{value:l.role,name:"role",onChange:x,rows:6,label:n.t(`${LH}.role_description`),placeholder:n.t(`${LH}.role_description`),error:s.role&&u})]}),!p&&(0,J.jsxs)(LB,{children:[(0,J.jsx)(Lp,{onClick:m,icon:(0,J.jsx)(L_.qJ.Revert,{}),children:n.t(`${LH}.try_another_link`)}),(0,J.jsxs)(LD,{children:[(0,J.jsx)(i$.JQ,{onClick:y,isLoading:c,isDisabled:c,theme:"ghost",size:h,children:n.t("builder.resume_optimizer.job_posting.cancel")}),(0,J.jsx)(i$.JQ,{onClick:g,isLoading:c,isDisabled:c,size:h,children:n.t("builder.resume_optimizer.job_posting.continue")})]})]})]})}),t,p&&(0,J.jsx)(R1,{isFooterShadowVisible:i,children:(0,J.jsxs)(L$,{children:[(0,J.jsx)(LF,{children:(0,J.jsx)(Lp,{onClick:m,icon:(0,J.jsx)(L_.qJ.Revert,{}),children:n.t(`${LH}.try_another_link`)})}),(0,J.jsxs)(LO,{children:[(0,J.jsx)(Lz,{onClick:y,isLoading:c,isDisabled:c,theme:"ghost",size:h,children:n.t("builder.resume_optimizer.job_posting.cancel")}),(0,J.jsx)(Lz,{onClick:g,isLoading:c,isDisabled:c,size:h,children:n.t("builder.resume_optimizer.job_posting.continue")})]})]})})]})},LU=e=>{let{fetchScoreStatus:t,showManualInputScreen:i}=(0,eW.N)($.Tp.optimizerSection),r=(0,eW.N)($.Tp.attachedJobPostingAPIData),{isDataMissed:n}=(0,RN.G)();return n?(0,J.jsx)(RZ,{...e}):i?(0,J.jsx)(LV,{...e}):t===eZ.Hp.loading?(0,J.jsx)(Ld,{...e}):t===eZ.Hp.loaded?(0,J.jsx)(LP,{...e}):r?.id?(0,J.jsx)(LE,{...e}):(0,J.jsx)(Lo,{...e})};var LW=i(33467),LK=i(75057),Lq=i(71726);let LG=/^(https?:\/\/)?(www\.)?([^/]+).*/;var LZ=i(49646),LX=(0,R.memo)(()=>{let e=(0,eU.wA)(),{isPhone:t}=(0,ih.e)(),i=(0,eW.N)(e=>e.resumeEditor.attachedJobPostingState.attachedJobPostingAPIData),r=(0,eW.N)(e=>e.resumeEditor.resume?.id),{isClickedOnAiCVEditJobDetails:n,generateAICoverLetterStatus:o}=(0,eW.N)(e=>e.resumeEditor.AICoverLetter),{jobTitle:a,companyName:l,inputUrl:s}=i||{},[d,c]=(0,R.useState)(a),[u,p]=(0,R.useState)(l),h=t?i$.Mp.small:i$.Mp.default,x=s?s.replace(LG,"$3"):"",m=x?i7.R.t("builder.ai_cover_letter.from")+" "+x:"",g=(0,cT.F)(a,l),y=(0,R.useCallback)(()=>{e($.o1.setIsClickedOnAiCVEditJobDetails(!0)),(0,N.xP)("click_edit_job_posting",{label:"job_posting_selection_screen"})},[e]),f=(0,R.useCallback)(()=>{e($.o1.setIsClickedOnAiCVEditJobDetails(!1)),c(a),p(l)},[e,l,a]),b=(0,R.useCallback)(()=>{e($.o1.setGenerateAICoverLetterStatus(eZ.Hp.loading)),r&&e($.o1.generateTailoredAICoverLetter({resumeId:r})),(0,N.xP)("click_generate_cover_letter",{label:"job_posting_selection_screen"})},[e,r]),_=[{key:LK.g.jobTitle,label:i7.R.t("builder.resume_optimizer.edit_job_details.job_title"),value:d,onValueChange:e=>{c(e.target.value)}},{key:LK.g.companyName,label:i7.R.t("builder.resume_optimizer.edit_job_details.company_name"),value:u,onValueChange:e=>{p(e.target.value)}}];(0,R.useEffect)(()=>{c(a),p(l)},[a,l]);let v=d!==a||u!==l,j=!d||!u,A=(0,R.useCallback)(()=>{c(a),p(l),(0,N.xP)("click_revert_job_title_resume_optimizer"),e($.o1.setIsEditJobDetailsFocused(!1))},[e,l,a]),C=(0,R.useCallback)(()=>{e($.o1.editJobDetails({jobTitle:d||"",companyName:u||"",successMessage:i7.R.t("builder.resume_optimizer.edit_job_details.success_message")})),e($.o1.setIsEditJobDetailsFocused(!1)),e($.o1.setIsClickedOnAiCVEditJobDetails(!1)),(0,N.xP)("click_save_changes",{label:"job_posting_selection_screen"})},[e,u,d]),w=o===eZ.Hp.loading;return(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,children:(0,J.jsxs)(LZ.mc,{children:[(0,J.jsxs)(LZ.mO,{children:[(0,J.jsx)(LZ.hE,{children:i7.R.t("builder.ai_cover_letter.job_tailored.title")}),(0,J.jsx)(LZ.US,{showHoverState:!w,onClick:w?()=>{}:()=>{e($.o1.setGenerateAICoverLetterStatus(eZ.Hp.notAsked)),e($.o1.setIsClickedOnAiCVBanner(!1))}})]}),(0,J.jsx)(LZ.UC,{children:i7.R.t("builder.ai_cover_letter.job_tailored.content")}),(0,J.jsxs)(LZ.np,{children:[(0,J.jsx)(LZ.vE,{src:cy}),(0,J.jsxs)(LZ.MX,{children:[(0,J.jsxs)(LZ.mO,{children:[(0,J.jsx)(LZ.JP,{children:g}),!n&&!w&&(0,J.jsx)(LZ.qU,{onClick:y}),n&&v&&(0,J.jsx)(LZ.FL,{isRefresh:v,onClick:A})]}),m&&(0,J.jsx)(LZ.kV,{children:m})]})]}),n&&(0,J.jsx)(LZ.O2,{children:_.map(e=>(0,J.jsx)(LZ.FO,{label:e.label,value:e.value||"",onChange:e.onValueChange},e.key))}),(0,J.jsxs)(LZ.eM,{children:[(0,J.jsxs)(LZ.XX,{isDisabled:w,onClick:w?()=>{}:()=>{e($.o1.setOpenAICVOptimizerModal(!0)),e($.o1.setIsClickedOnAiCVBanner(!1)),e($.o1.setGenerateAICoverLetterStatus(eZ.Hp.notAsked)),(0,N.xP)("click_another_link",{label:"job_posting_selection_screen"})},children:[(0,J.jsx)(LZ.z4,{}),i7.R.t("builder.ai_cover_letter.try_another_link")]}),n?(0,J.jsxs)(LZ.AZ,{children:[(0,J.jsx)(LZ.ZD,{size:h,theme:"ghost",onClick:f,children:i7.R.t("builder.resume_optimizer.job_posting.cancel")}),(0,J.jsx)(LZ.No,{size:h,onClick:C,isDisabled:j,children:i7.R.t("builder.resume_optimizer.edit_job_details.save")})]}):(0,J.jsxs)(LZ.CJ,{onClick:b,disabled:w,children:[(0,J.jsx)(Lq.FE,{$showAnimation:w,src:LW,alt:"Star Image"}),i7.R.t(w?"builder.ai_cover_letter.generating":"builder.ai_cover_letter.generate")]})]})]})})}),LQ=i.p+"media/cio-products-logo72572222b50b4342.svg";let LY=tt.Ay.div(["background-color:",";padding:24px;border-radius:8px;z-index:5;position:sticky;bottom:16px;width:fit-content;display:flex;align-items:center;justify-content:center;margin:0 auto;"],te.Jy.White),L0=tt.Ay.div(["display:flex;"]),L1=tt.Ay.div(["margin-left:16px;width:487px;"]),L2=tt.Ay.img([""]),L3=tt.Ay.div(["",";",""],td.Ay.Body,td.BO.DemiBold),L5=tt.Ay.div(["",";",";color:",";margin-top:4px;"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50),L4=(0,tt.Ay)(i$.Ay)(["padding:0px 25px;margin-right:8px;float:right;"]),L6=(0,tt.Ay)(i$.Ay)(["padding:0px 25px;float:right;"]);var L8=({onClose:e,onOpen:t})=>((0,R.useEffect)(()=>{(0,N.xP)("see_resume_optimizer_banner")},[]),(0,J.jsx)(LY,{children:(0,J.jsxs)(L0,{children:[(0,J.jsx)(L2,{src:LQ,alt:"Product Image"}),(0,J.jsxs)(L1,{children:[(0,J.jsx)(L3,{children:i7.R.t("builder.job_tracking.saving_info_banner.title")}),(0,J.jsx)(L5,{children:i7.R.t("builder.job_tracking.saving_info_banner.subtitle")})]}),(0,J.jsx)(L4,{size:i$.Mp.small,theme:i$.Ox.ghost,onClick:e,children:i7.R.t("builder.resume_editor.prefill.modal.close")}),(0,J.jsx)(L6,{size:i$.Mp.small,onClick:t,children:i7.R.t("builder.job_tracking.saving_info_banner.open")})]})}));let L9=tt.Ay.div([""," "," ",""],td.Ay.Subhead,td.BO.DemiBold,tQ.A.Phone`
2630    ${td.Ay.S};
2631  `),L7=tt.Ay.div([""," ",";color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral60),Ne=tt.Ay.div(["margin-top:32px;display:flex;justify-content:space-between;",""],tQ.A.Phone`
2632  margin-top: 20px;
2633  `);(0,tt.Ay)(i$.Ay)(["color:",";background:",";cursor:pointer;float:right;"],te.Jy.White,te.Jy.Indigo50);var Nt=(0,R.memo)(({onTryAgainClick:e,onGenerate:t})=>{let{generateAICoverLetterStatus:i}=(0,eW.N)(e=>e.resumeEditor.AICoverLetter),r=i===eZ.Hp.loading;return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(L9,{children:i7.R.t("builder.ai_cover_letter.result_screen.title")}),(0,J.jsx)(L7,{children:i7.R.t("builder.ai_cover_letter.result_screen.content")}),(0,J.jsxs)(Ne,{children:[(0,J.jsxs)(LZ.XX,{isDisabled:r,onClick:r?()=>{}:e,children:[(0,J.jsx)(LZ.z4,{}),i7.R.t("builder.ai_cover_letter.try_another_link")]}),(0,J.jsxs)(Lq.CJ,{onClick:t,disabled:r,style:{width:"auto"},children:[(0,J.jsx)(Lq.FE,{$showAnimation:r,src:LW,alt:"Star Image"}),i7.R.t(r?"builder.ai_cover_letter.generating":"builder.ai_cover_letter.generate")]})]})]})});let Ni=tt.Ay.div(["display:flex;flex-direction:column;position:relative;width:352px;height:236px;border-radius:16px;top:60px;left:96px;padding:16px;background:",",linear-gradient(180deg,rgba(30,37,50,0.8) 0%,rgba(30,37,50,0) 100%);",""],"radial-gradient(100% 116.2% at 0% 0%, rgba(73, 81, 99, 0.2) 0%, rgba(0, 0, 0, 0) 100%)",tQ.A.Phone`
2634    width:279px;
2635    left:32px;
2636    top: 0px;
2637    z-index:1;
2638  `),Nr=tt.Ay.div(["display:flex;margin-bottom:16px;",""],tQ.A.Phone`
2639    margin-bottom: 9px;
2640  `),Nn=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;margin-left:16px;",""],tQ.A.Phone`
2641  margin-left: 12px;
2642  `),No=tt.Ay.img(["width:48px;height:48px;",";border-radius:12px;",";"],tr.A.lightWithBorder.low,tQ.A.Phone`
2643        width: 32px;
2644        height: 32px;
2645        border-radius: 4px;
2646      `),Na=tt.Ay.div([""," "," max-width:221px;height:20px;color:",";overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:8px;",";"],td.Ay.Caption,td.BO.Regular,te.Jy.White,tQ.A.Phone`
2647    max-width: 192px;  
2648    height: 16px; 
2649  `),Nl=tt.Ay.div([""," "," color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral40),Ns=tt.Ay.div(["height:3px;background-color:",";margin-top:6px;"],te.Jy.Neutral80),Nd=(0,tt.Ay)(uD.CS.div)(["height:3px;width:100%;transform-origin:left;"]),Nc=(0,tt.Ay)(tg.A)(["width:320px;margin-top:12px;border-radius:2px;background:linear-gradient(180deg,#f7f9fc 0%,"," 100%);border-image:linear-gradient(to bottom,"," 60%,"," 100%);border-image-slice:1;",""],te.Jy.White,te.Jy.Neutral15,te.Jy.White,tQ.A.Phone`
2650    width: 252px;
2651  `),Nu=tt.Ay.div(["display:flex;justify-content:space-between;gap:8px;"]),Np=(0,tt.Ay)(tP.EK.Edit)(["width:18px;height:18px;margin-left:4px;color:",";cursor:pointer;&:hover{color:",";}",""],te.Jy.Neutral30,te.Jy.Blue50,tQ.A.Phone`
2652  height: 16px;
2653  width: 16px;
2654  margin-left: 0px;
2655  `);var Nh=({resumeId:e,tailoredDesignation:t,hostName:i})=>{let r=(0,e7.T)(e),n=(0,eU.wA)(),o=(0,R.useMemo)(()=>r?(0,tv.I)(r,{size:352}):null,[r]),a=(0,R.useCallback)(()=>{n($.o1.setIsClickedOnAiCVEditModalIcon(!0)),n($.o1.setOpenAICVOptimizerModal(!1)),n($.o1.setIsClickedOnAiCVBanner(!1)),(0,N.xP)("click_edit_job_posting",{label:"job_posting_result_screen"})},[n]);return(0,J.jsxs)(Ni,{children:[(0,J.jsxs)(Nr,{children:[(0,J.jsx)(No,{src:cy}),(0,J.jsxs)(Nn,{children:[(0,J.jsxs)(Nu,{children:[(0,J.jsx)(Na,{children:t}),(0,J.jsx)(Np,{onClick:a})]}),i&&(0,J.jsx)(Nl,{children:i})]})]}),(0,J.jsx)(Ns,{children:(0,J.jsx)(Nd,{})}),(0,J.jsx)(Nc,{src:o})]})};(0,tt.Ay)(tP.EK.Tick)(["fill:",";background:",";border-radius:50%;height:16px;width:16px;position:relative;top:10px;right:10px;"],te.Jy.White,te.Jy.Green50);let Nx=tt.Ay.div(["",";"," width:480px;margin-bottom:12px;color:",";",""],td.Ay.Subhead,td.BO.DemiBold,te.Jy.Neutral90,tQ.A.Phone`
2656    ${td.Ay.S};
2657    ${td.BO.DemiBold}
2658    width: 303px;
2659    height: 48px;
2660  `),Nm=tt.Ay.div(["",";"," color:",";margin-top:4px;"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50),Ng=tt.Ay.div(["display:flex;justify-content:flex-end;width:100%;margin-top:32px;",""],tQ.A.Phone`
2661    margin-top:20px;
2662  `),Ny=(0,tt.Ay)(i$.Ay)(["margin-right:8px;"]),Nf=(0,tt.Ay)(i$.Ay)([""]);var Nb=({jobPostingLink:e,onChange:t,Icon:i,error:r,status:n,size:o,onClose:a,onContinue:l,isDisabled:s})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Nx,{children:i7.R.t("builder.resume_optimizer.job_posting.title")}),(0,J.jsx)(re.A,{value:e,name:"link",placeholder:i7.R.t("builder.resume_optimizer.job_posting.placeholder"),onChange:t,inputIcon:i,inputIconPosition:"right",error:r}),(0,J.jsx)(Nm,{children:n}),(0,J.jsxs)(Ng,{children:[(0,J.jsx)(Ny,{theme:"ghost",onClick:a,size:o,children:i7.R.t("builder.resume_optimizer.job_posting.cancel")}),(0,J.jsx)(Nf,{isDisabled:s,onClick:l,size:o,children:i7.R.t("builder.resume_optimizer.job_posting.continue")})]})]}),N_=i(25593);let Nv=tt.Ay.div(["display:flex;flex-direction:row;gap:8px;",";"],tQ.A.Phone`
2663    flex-direction: column-reverse;
2664    width: 100%;
2665  `),Nj=tt.Ay.div(["display:flex;align-items:flex-start;margin-right:4px;color:",";"],te.Jy.White),NA=(0,tt.Ay)(tP.EK.ArrowTarget2)(["width:24px;height:24px;"]),NC=e=>{let{buttonSize:t,onStartManualTailoring:i,onStartAutoTailoring:r,isSavingJobPostingData:n}=e,{i18n:o}=(0,e1.s)(),{isAutoTailoringEnabled:a}=(0,cl.b)();return a?(0,J.jsxs)(Nv,{children:[!n&&(0,J.jsx)(R_,{size:t,theme:"ghost",onClick:i,children:o.t("builder.resume_optimizer.job_posting.manually_button")}),(0,J.jsxs)(R_,{theme:N_.O.alternative,size:t,onClick:r,isLoading:n,isDisabled:n,children:[(0,J.jsx)(Nj,{children:(0,J.jsx)(NA,{})}),o.t("builder.resume_optimizer.job_posting.auto_tailor_button")]})]}):(0,J.jsx)(R_,{size:t,onClick:i,isLoading:n,isDisabled:n,children:o.t("builder.resume_optimizer.job_posting.start_improving")})},Nw=tt.Ay.div(["display:flex;justify-content:flex-end;margin-top:44px;",""],tQ.A.Phone`
2666    margin-top: 20px;
2667  `),Nk=tt.Ay.div([""," "," color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral60),NS=tt.Ay.div([""," "," margin-bottom:12px;",""],td.Ay.Subhead,td.BO.DemiBold,tQ.A.Phone`
2668  ${td.Ay.S}
2669  `),NT=(0,tt.Ay)(i$.Ay)(["float:right;width:119px;margin-top:32px;",""],tQ.A.Phone`
2670    margin-top: 20px;
2671
2672  `),NP=(0,tt.Ay)(tP.Ay.Spinner)(["color:",";animation:"," 0.5s linear infinite;"],te.Jy.White,im.ni);var NJ=({buttonSize:e})=>{let t=(0,eW.N)(e=>e.resumeEditor.isClickedOnAiCVBanner),i=(0,eW.N)(e=>e.resumeEditor.AICoverLetter.isOpenAICVOptimizerModal),r=t||i,n=r?i7.R.t("builder.ai_cover_letter.loading_screen.content"):i7.R.t("builder.resume_optimizer.job_posting.loading.content");return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(NS,{children:i7.R.t("builder.resume_optimizer.job_posting.loading.title")}),(0,J.jsx)(Nk,{children:n}),(0,J.jsx)(Nw,{children:r?(0,J.jsx)(NT,{size:e,children:(0,J.jsx)(NP,{})}):(0,J.jsx)(NC,{isSavingJobPostingData:!0,buttonSize:e})})]})},NE=i.p+"media/dots_icon21100d67118ddc96.svg",NR=i.p+"media/JobsFielde5f8650d68a80575.svg",NL=i.p+"media/Employment946ddd8b2de68f3a.svg";let NN=(0,tt.i7)(["from{transform:translateY(30%);}to{transform:translateY(0%);}"]),NI=tt.Ay.div(["display:flex;flex-direction:column;position:relative;width:352px;height:236px;border-radius:16px;top:60px;left:96px;background:",",linear-gradient(180deg,rgba(30,37,50,0.8) 0%,rgba(30,37,50,0) 100%);",""],"radial-gradient(100% 116.2% at 0% 0%, rgba(73, 81, 99, 0.2) 0%, rgba(0, 0, 0, 0) 100%)",tQ.A.Phone`
2673    width:279px;
2674    left:32px;
2675    top: 0px;
2676    z-index:1;
2677  `),NM=tt.Ay.img(["position:relative;
2677left:16px;top:4px;margin-bottom:10px;width:35px;height:23px;"]),NB=tt.Ay.div(["display:flex;"]),ND=tt.Ay.input.attrs(e=>({isSuccess:e.isSuccess||!1}))(["",";",";position:relative;left:16px;border:2px solid ",";border-radius:8px;width:320px;height:36px;padding-left:32px;background-image:url(",");background-repeat:no-repeat;background-position:8px center;animation:"," 0.5s ease-out forwards;::placeholder{color:",";width:240px;text-overflow:ellipsis;}",""],td.Ay.Caption,td.BO.Regular,e=>e.isSuccess?te.Jy.Green50:te.Jy.Blue50,NL,NN,te.Jy.White,tQ.A.Phone`
2678    width: 254px;
2679    left: 13px;
2680
2681    ::placeholder {
2682      width: 174px;
2683    }
2684
2685  `),N$=(0,tt.Ay)(tP.EK.Tick)(["fill:",";background:",";border-radius:50%;height:16px;width:16px;position:relative;top:10px;right:10px;"],te.Jy.White,te.Jy.Green50),NO=tt.Ay.img(["position:relative;left:16px;top:4px;width:320px;height:152px;animation:"," 0.5s ease-out forwards;",""],NN,tQ.A.Phone`
2686    width: 254px;
2687    top: -8px;
2688    left: 13px;
2689  `);td.Ay.Subhead,td.BO.DemiBold,te.Jy.Neutral90,tQ.A.Phone`
2690    ${td.Ay.S};
2691    ${td.BO.DemiBold}
2692    width: 303px;
2693    height: 48px;
2694  `;var Nz=({jobPostingLink:e,isValidLink:t})=>(0,J.jsxs)(NI,{children:[(0,J.jsx)(NM,{src:NE,alt:"Dots Icon"}),(0,J.jsxs)(NB,{children:[(0,J.jsx)(ND,{name:"jobPostingLink",placeholder:t?e:"jobs.com/company/position",disabled:!0,isSuccess:t}),t&&(0,J.jsx)(N$,{})]}),(0,J.jsx)(NO,{src:NR,alt:"JobsField companies"})]}),NF=i.p+"media/Spinnere759107679a4b68b.svg";let NH=tt.Ay.div(["display:flex;flex-direction:row;padding:14px 0px;"]),NV=tt.Ay.img(["color:",";animation:"," 0.5s linear infinite;margin-left:17.5px;"],te.Jy.Blue50,im.ni),NU=tt.Ay.p(["display:flex;align-items:center;text-align:left;font-size:16px;font-weight:400;line-height:20px;color:white;margin-left:17.5px;"]),NW=(0,tt.Ay)(tg.A)(["width:320px;margin-top:12px;border-radius:2px;margin-left:16px;background:linear-gradient(180deg,#f7f9fc 0%,"," 100%);border-image:linear-gradient(to bottom,"," 60%,"," 100%);border-image-slice:1;",""],te.Jy.White,te.Jy.Neutral15,te.Jy.White,tQ.A.Phone`
2695    width: 246px;
2696    margin-top: 9px;
2697  `),NK=tt.Ay.div(["height:3px;background-color:",";margin:6px 16px 6px 16px;"],te.Jy.Neutral80),Nq=tt.Ay.div(["height:100%;width:0%;background-color:",";"],te.Jy.Blue50);var NG=()=>{let e=(0,eW.N)(e=>e.resumeEditor.resume?.id),t=(0,eW.N)(e=>e.resumeEditor.isClickedOnAiCVBanner),i=(0,eW.N)(e=>e.resumeEditor.AICoverLetter.isOpenAICVOptimizerModal),r=t||i?i7.R.t("builder.ai_cover_letter.loading_screen.extracting_data"):i7.R.t("builder.resume_optimizer.job_posting.calculating_score"),n=(0,e7.T)(e||null),o=(0,R.useMemo)(()=>n?(0,tv.I)(n,{size:352}):null,[n]);return(0,J.jsxs)(cf.A9,{children:[(0,J.jsxs)(NH,{children:[(0,J.jsx)(NV,{src:NF}),(0,J.jsx)(NU,{children:r})]}),(0,J.jsx)(NK,{children:(0,J.jsx)(Nq,{})}),(0,J.jsx)(NW,{src:o})]})};let NZ=(0,tt.i7)(["from{transform:translateY(70%);}to{transform:translateY(0%);}"]),NX=tt.Ay.div(["width:544px;border-radius:16px;background:",";border:8px;padding:32px;animation:"," 0.5s ease-out forwards;",";"],te.Jy.White,NZ,tQ.A.Phone`
2698    width: 343px;
2699    padding:16px
2700  `),NQ=tt.Ay.div(["width:436px;margin-right:16px;"," ",";margin-bottom:12px;",""],td.Ay.S,td.BO.DemiBold,tQ.A.Phone`
2701    margin-bottom: 8px;
2702  `),NY=(0,tt.Ay)(tP.qJ.Add)(["background:",";fill:",";border-radius:50%;height:28px;width:28px;cursor:pointer;transform:rotate(225deg);&:hover{background:",";fill:",";}",""],te.Jy.Neutral10,te.Jy.Neutral70,te.Jy.Blue50,te.Jy.White,tQ.A.Phone`
2703    height: 23px;
2704    width: 35px;
2705  `),N0=tt.Ay.p(["color:",";"," ",";"],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular),N1=(0,tt.Ay)(i$.Ay)(["margin-top:32px;float:right;"," svg{position:unset !important;}span{margin-left:unset !important;}"],tQ.A.Phone`
2706    margin-top: 20px;
2707  `),N2=tt.Ay.div(["display:flex;"]),N3=({onClose:e,onTryAgain:t,ButtonSize:i})=>(0,J.jsxs)(NX,{children:[(0,J.jsxs)(N2,{children:[(0,J.jsx)(NQ,{children:i7.R.t("builder.resume_optimizer.job_posting.check_score_error.title")}),(0,J.jsx)(NY,{onClick:e})]}),i7.R.t("builder.resume_optimizer.job_posting.check_score_error.content").split("! ").map((e,t)=>(0,J.jsxs)(N0,{children:[e,0===t&&"!"]},t)),(0,J.jsx)(N1,{size:i,isTryAgain:!0,onClick:t,children:i7.R.t("builder.resume_optimizer.job_posting.try_again")})]}),N5=(0,tt.i7)(["from{transform:translateY(70%);}to{transform:translateY(0%);}"]),N4=tt.Ay.div(["width:544px;border-radius:16px;background:",";border:8px;padding:32px;animation:"," 0.5s ease-out forwards;",";"],te.Jy.White,N5,tQ.A.Phone`
2708    width: 343px;
2709    padding: 20px
2710  `),N6=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),N8=tt.Ay.div(["display:flex;"]),N9=tt.Ay.div(["margin-right:16px;flex-grow:1;",";"," ",";"],td.BO.DemiBold,td.Ay.Subhead,tQ.A.Phone`
2711    ${td.Ay.S}
2712  `),N7=(0,tt.Ay)(tP.qJ.Add)(["background:",";fill:",";border-radius:50%;height:28px;width:28px;cursor:pointer;transform:rotate(225deg);&:hover{background:",";fill:",";}",""],te.Jy.Neutral10,te.Jy.Neutral70,te.Jy.Blue50,te.Jy.White,tQ.A.Phone`
2713    height: 23px;
2714    width: 35px;
2715  `),Ie=tt.Ay.div(["color:",";"," ",";"],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular),It=tt.Ay.div(["display:flex;align-items:center;margin-top:32px;width:100%;justify-content:space-between;",""],tQ.A.Phone`
2716    margin-top: 20px;
2717  `),Ii=(0,tt.Ay)(tP.Ay.Revert)(["color:",";height:20px;width:20px;"],te.Jy.Blue50),Ir=tt.Ay.div([""," ",";color:",";align-items:center;cursor:pointer;display:flex;gap:9px;margin-right:10px;"],td.Ay.Caption,td.BO.DemiBold,te.Jy.Blue50),In=tt.Ay.div(["text-align:left;"]);var Io=({onClose:e})=>{let{resume:t,optimizerSection:{fetchScoreStatus:i,manualInput:r}}=(0,eW.N)(e=>e.resumeEditor),n=(0,eU.wA)(),[o,a]=(0,R.useState)({companyName:!1,jobTitle:!1,role:!1});(0,R.useEffect)(()=>{(0,N.xP)("see_resume_optimizer_error_screen",{label:"with_manual_input"})},[]);let l=i===eZ.Hp.loading,s=(0,J.jsx)(In,{children:i7.R.t("builder.ai_resume_draft.linkedin.link_empty")}),d=e=>{let{name:t,value:i}=e.target;n($.o1.setResumeOptimizerManualInput(e.target)),i&&o[t]&&a({...o,[t]:!1})};return(0,J.jsxs)(N4,{children:[(0,J.jsxs)(N6,{children:[(0,J.jsxs)(N8,{children:[(0,J.jsx)(N9,{children:i7.R.t("builder.resume_optimizer.job_posting.no_match.title")}),(0,J.jsx)(N7,{onClick:e})]}),(0,J.jsx)(Ie,{children:i7.R.t("builder.resume_optimizer.job_posting.no_match.c
2717ontent")}),(0,J.jsx)(re.A,{value:r.companyName,name:"companyName",onChange:d,placeholder:i7.R.t("builder.resume_optimizer.job_posting.no_match.company_name"),error:o.companyName&&s}),(0,J.jsx)(re.A,{value:r.jobTitle,name:"jobTitle",onChange:d,placeholder:i7.R.t("builder.resume_optimizer.job_posting.no_match.job_title"),error:o.jobTitle&&s}),(0,J.jsx)(re.l,{value:r.role,name:"role",onChange:d,rows:6,placeholder:i7.R.t("builder.resume_optimizer.job_posting.no_match.role_description"),error:o.role&&s})]}),(0,J.jsxs)(It,{children:[(0,J.jsxs)(Ir,{onClick:()=>{(0,N.xP)("click_try_again_resume_optimizer_error_screen",{label:"with_manual_input"}),n($.o1.setJobPostingLinkForModal("")),n($.o1.setShowManualInputScreen(!1))},children:[(0,J.jsx)(Ii,{}),i7.R.t("builder.resume_optimizer.job_posting.no_match.try_another_link")]}),(0,J.jsx)(i$.Ay,{onClick:()=>{let{companyName:e,jobTitle:i,role:o}=r;e&&i&&o?((0,N.xP)("click_continue_resume_optimizer_error_screen"),n($.o1.checkResumeScore({jobPostingManualInput:{companyName:e,jobTitle:i,description:o},resumeId:t?.id}))):a({companyName:!e,jobTitle:!i,role:!o})},isLoading:l,isDisabled:l,children:i7.R.t("builder.resume_optimizer.job_posting.continue")})]})]})};let Ia={[eZ.Hp.notAsked]:(0,J.jsx)(J.Fragment,{}),[eZ.Hp.loading]:(0,J.jsx)(cf.nU,{}),[eZ.Hp.loaded]:(0,J.jsx)(cf.gJ,{}),[eZ.Hp.failed]:(0,J.jsx)(cf.H2,{})},Il=e=>e===eZ.Hp.failed?i7.R.t("builder.resume_optimizer.job_posting.link_error"):i7.R.t("builder.resume_optimizer.job_posting.example"),Is=({resumeId:e})=>{let t=(0,eU.wA)(),{isPhone:i}=(0,ih.e)(),r=i?i$.Mp.small:i$.Mp.default,n=(0,eW.N)(e=>e.resumeEditor.optimizerSection),o=(0,eW.N)(e=>e.resumeEditor.AICoverLetter),a=!!(0,eW.N)($.Tp.isJobPostingAttached),l=(0,eW.N)($.Tp.attachedJobPostingAPIData),s=(0,eW.N)($.Tp.temporaryJobPostingAPIData),d=(0,eW.N)($.Tp.attachJobPostingStatus),{aICVEditedJobTitle:c,aICVEditedCompanyName:u,generateAICoverLetterStatus:p}=o,{fetchScoreStatus:h,jobPostingLinkForModal:x,manualInput:m,showManualInputScreen:g}=n,{jobTitle:y,companyName:f}=s||l||{},b=(0,eW.N)(e=>e.resumeEditor.resume),_=b?.averageScore||0,{normalizeUrl:v,isValidUrl:j}=(0,RX.y3)(),A=j(x),C=x&&!m.companyName?x.replace(LG,"$3"):"",w=C?i7.R.t("builder.ai_cover_letter.from")+" "+C:"",[k,S]=(0,R.useState)(x?A?eZ.Hp.loaded:eZ.Hp.failed:null),T=!u||0===u.length,P=!c||0===c.length,E=T&&P,L=E?[y,f].join(" "+i7.R.t("builder.resume_editor.labels.at")+" "):T?c:[c,u].join(" "+i7.R.t("builder.resume_editor.labels.at")+" ");(0,o$.default)(()=>{x&&S(j(x)?eZ.Hp.loaded:eZ.Hp.failed)},1e3,[x]);let I=(0,R.useCallback)(e=>{t($.o1.setJobPostingLinkForModal(v(e.target.value))),S(eZ.Hp.loading)},[t,v]),M=k===eZ.Hp.loaded,B=k===eZ.Hp.failed,D=(0,R.useCallback)(()=>{d!==eZ.Hp.loading&&(t($.o1.setOpenAICVOptimizerModal(!1)),t($.o1.resetResumeOptimizerProcess()),t($.o1.setIsClickedOnAiCVBanner(!1)),a&&(t($.o1.setIsClickedOnAiCVBanner(!0)),t($.o1.setIsEditJobDetailsFocused(!1)),t($.o1.setIsClickedOnAiCVEditJobDetails(!1))))},[t,a,d]),O=(0,R.useCallback)(()=>{t($.o1.checkResumeScore({jobPostingLink:x,resumeId:e})),(0,N.xP)("click_continue_job_posting_link")},[t,x,e]),z=h===eZ.Hp.failed,F=h===eZ.Hp.loaded,H=p===eZ.Hp.loading;z&&(0,N.xP)("see_resume_optimizer_error_screen");let V=(0,R.useCallback)(()=>{t($.o1.resetResumeOptimizerProcess()),z?(0,N.xP)("click_try_again_resume_optimizer_error_screen"):F&&(0,N.xP)("click_try_again_resume_optimizer_result_screen")},[t,z,F]),U=(0,R.useCallback)(()=>{t($.o1.resetResumeOptimizerProcess()),t($.o1.setOpenAICVOptimizerModal(!0)),(0,N.xP)("click_another_link",{label:"job_posting_result_screen"})},[t]);(0,R.useEffect)(()=>{M?(0,N.xP)("send_job_posting_link",{status:"ok",link:x}):B&&(0,N.xP)("send_job_posting_link",{status:"failed",link:x})},[M,B,x]),(0,R.useEffect)(()=>{h===eZ.Hp.notAsked?(0,N.xP)("see_resume_optimizer_link_screen"):h===eZ.Hp.loaded&&(0,N.xP)("see_job_posting_result_screen",{score:_})},[h,_]);let W=(0,R.useCallback)(()=>{t($.o1.setGenerateAICoverLetterStatus(eZ.Hp.loading)),t($.o1.setShowUntailoreView(!0)),E?t($.o1.generateAICVUntailored({jobTitle:y,companyName:f,resumeId:e})):t($.o1.generateAICVUntailored({jobTitle:c,companyName:u,resumeId:e})),(0,N.xP)("click_generate_cover_letter",{label:"job_posting_result_screen"})},[u,c,t,f,E,e,y]),K=(0,R.useMemo)(()=>{switch(h){case eZ.Hp.notAsked:return(0,J.jsx)(Nz,{jobPostingLink:x,isValidLink:M});case eZ.Hp.loading:return(0,J.jsx)(NG,{});case eZ.Hp.loaded:return(0,J.jsx)(Nh,{resumeId:e,tailoredDesignation:L,hostName:w})}},[h,x,M,e,L,w]),q=(0,R.useMemo)(()=>{switch(h){case eZ.Hp.notAsked:return(0,J.jsx)(Nb,{jobPostingLink:x,onChange:I,Icon:k&&x?Ia[k]:null,error:B?Il(k):"",status:B?"":Il(k),onClose:D,size:r,isDisabled:!M,onContinue:O});case eZ.Hp.loading:return(0,J.jsx)(NJ,{buttonSize:r});case eZ.Hp.loaded:return(0,J.jsx)(Nt,{ButtonSize:r,onTryAgainClick:H?()=>{}:U,onGenerate:W})}},[h,x,I,k,B,D,r,M,O,H,U,W]);return(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,children:z?(0,J.jsx)(N3,{onClose:D,onTryAgain:V,ButtonSize:r}):g?(0,J.jsx)(Io,{onClose:D}):(0,J.jsxs)(cf.J3,{children:[(0,J.jsxs)(cf.jy,{children:[(0,J.jsx)(cf.Vi,{showHoverState:d!==eZ.Hp.loading||!H,onClick:H?()=>{}:D,children:(0,J.jsx)(cf.US,{})}),K,(0,J.jsx)(cf.oV,{})]}),(0,J.jsx)(cf.hw,{children:q})]})})};var Id=i(95204),Ic=()=>{let{isPhone:e}=(0,ih.e)(),t=(0,eU.wA)(),i=(0,eW.N)(e=>e.resumeEditor.isEditJobDetails),{aICVEditedJobTitle:r,aICVEditedCompanyName:n}=(0,eW.N)(e=>e.resumeEditor.AICoverLetter),{jobTitle:o,companyName:a}=(0,eW.N)(e=>e.resumeEditor.attachedJobPostingState.attachedJobPostingAPIData)||{},l=!n||0===n.length,s=!r||0===r.length,[d,c]=(0,R.useState)(s?o:r),[u,p]=(0,R.useState)(l?a:n),h=(0,R.useCallback)(()=>{t($.o1.setAICVEditedJobTitle(d)),t($.o1.setAICVEditedCompanyName(u)),t($.o1.setIsClickedOnAiCVEditModalIcon(!1)),t($.o1.setOpenAICVOptimizerModal(!0)),(0,N.xP)("click_save_changes",{label:"job_posting_result_screen"})},[t,u,d]),x=()=>{t($.o1.setIsClickedOnAiCVEditModalIcon(!1)),t($.o1.setOpenAICVOptimizerModal(!0))};(0,R.useEffect)(()=>{i&&e?(0,N.xP)("click_edit_menu_resume_optimizer"):i&&(0,N.xP)("click_edit_job_title_resume_optimizer")},[i,e]);let m=!d||!u;return(0,J.jsx)(Id.A,{newJobTitle:d,newEmployerName:u,isSaveButtonDisabled:m,onJobTitleChange:e=>{c(e.target.value)},onCompanyNameChange:e=>{p(e.target.value)},onSaveJobDetails:h,onCancelJobDetails:x,onCancelEditJobDetails:x})};let Iu=(0,tt.i7)(["from{transform:translateY(70%);}to{transform:translateY(0%);}"]),Ip=tt.Ay.div(["width:544px;border-radius:16px;background:",";border:8px;padding:32px;animation:"," 0.5s ease-out forwards;",";"],te.Jy.White,Iu,tQ.A.Phone`
2718    width: 343px;
2719    padding:16px
2720  `),Ih=tt.Ay.div(["width:436px;margin-right:16px;"," ",";"],td.Ay.S,td.BO.DemiBold),Ix=(0,tt.Ay)(tP.qJ.Add)(["background:",";fill:",";border-radius:50%;height:28px;width:28px;cursor:pointer;transform:rotate(225deg);&:hover{background:",";fill:",";}",""],te.Jy.Neutral10,te.Jy.Neutral70,te.Jy.Blue50,te.Jy.White,tQ.A.Phone`
2721    height: 23px;
2722    width: 35px;
2723  `),Im=tt.Ay.div(["margin-top:12px;color:",";"," ",";",""],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular,tQ.A.Phone`
2724    margin-top: 8px;
2725  `),Ig=(0,tt.Ay)(i$.Ay)(["margin-top:32px;float:right;",""],tQ.A.Phone`
2726    margin-top: 20px;
2727  `),Iy=tt.Ay.div(["display:flex;"]),If=({onClose:e,onTryAgain:t,ButtonSize:i})=>(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,children:(0,J.jsxs)(Ip,{children:[(0,J.jsxs)(Iy,{children:[(0,J.jsx)(Ih,{children:i7.R.t("builder.ai_cover_letter.error_screen.title")}),(0,J.jsx)(Ix,{onClick:e})]}),(0,J.jsx)(Im,{children:i7.R.t("builder.ai_cover_letter.error_screen.content")}),(0,J.jsx)(Ig,{size:i,isTryAgain:!0,onClick:t,children:i7.R.t("builder.resume_optimizer.job_posting.try_again")})]})});var Ib=i.p+"media/feature_create_ai6828e6b0f873cb24.svg",I_=i.p+"media/feature_resume_exp5ae88bb81d96bb45.svg",Iv=i.p+"media/feature_expert_help276955f2af7a7fae.svg",Ij=i.p+"media/feature_job_adju
2727st88c0d6b691ed9004.svg",IA=i.p+"media/feature_create_ai_activateddea71b95bd393dc7.svg",IC=i.p+"media/feature_resume_exp_activated228632491084a156.svg",Iw=i.p+"media/feature_expert_help_activated5e15f8019b7f97d1.svg",Ik=i.p+"media/feature_job_adjust_activated8b3e4f4428b11091.svg",IS=i.p+"media/desc_create_aid416e680eee02708.svg",IT=i.p+"media/desc_resume_expa5ccb5038dedd913.svg",IP=i.p+"media/desc_expert_helpf37406969dbe07a9.svg",IJ=i.p+"media/desc_job_adjust8afa55c3ad87156f.svg",IE=i.p+"media/desc_job_adjust_mobile1771a2017e05c86f.svg";let IR=e=>[{id:1,serviceType:"Start Service",serviceTitle:e?.("builder.plans_page_abandonment.start_service.title"),serviceLogo:Ib,serviceLogoClicked:IA,serviceDescTitle:e?.("builder.plans_page_abandonment.start_service.description_title"),serviceDesc:e?.("builder.plans_page_abandonment.start_service.description"),serviceDescImg:IS,serviceDescImgMobile:IS,serviceRedirectBtnText:e?.("builder.plans_page_abandonment.start_service.button_text"),serviceRedirectBtnLogo:!0,seviceAdditionalComponent:!1,serviceNavigateLink:"",serviceTrackingReason:"how_to_start",serviceTrackingAcceptedReason:"try_AI",backgroundColor:`${te.Jy.Indigo10}`,borderColor:`${te.Jy.Indigo20}`,buttonColor:`${te.Jy.Indigo50}`,buttonHoverColor:`${te.Jy.Indigo100}`,noticeTextColor:`${te.Jy.Indigo90}`,phoneContentCardHeight:"336px",phoneContentHeight:"160px",phoneContentMarginTop:"24px",tabletContentMarginTop:"24px",tabletContentHeight:"184px",phoneContentImgHeight:"100px",phoneContentImgWidth:"160px",tabletContentImgHeight:"140px",tabletContentImgWidth:"224px"},{id:2,serviceType:"Resume Example",serviceTitle:e?.("builder.plans_page_abandonment.example.title"),serviceLogo:I_,serviceLogoClicked:IC,serviceDescTitle:e?.("builder.plans_page_abandonment.example.description_title"),serviceDesc:e?.("builder.plans_page_abandonment.example.description"),serviceDescImg:IT,serviceDescImgMobile:IT,serviceRedirectBtnText:e?.("builder.plans_page_abandonment.example.button_text"),serviceRedirectBtnLogo:!1,seviceAdditionalComponent:!1,serviceNavigateLink:"",serviceTrackingReason:"example",serviceTrackingAcceptedReason:"Examples",backgroundColor:`${te.Jy.Blue10}`,borderColor:`${te.Jy.Blue20}`,buttonColor:`${te.Jy.Blue50}`,buttonHoverColor:`${te.Jy.Blue60}`,noticeTextColor:`${te.Jy.Blue90}`,phoneContentCardHeight:"380px",phoneContentHeight:"204px",phoneContentMarginTop:"24px",tabletContentMarginTop:"20px",tabletContentHeight:"192px",phoneContentImgHeight:"104px",phoneContentImgWidth:"98px",tabletContentImgHeight:"148px",tabletContentImgWidth:"140px"},{id:3,serviceType:"Expert Help",serviceTitle:e?.("builder.plans_page_abandonment.expert_help.title"),serviceLogo:Iv,serviceLogoClicked:Iw,serviceDescTitle:e?.("builder.plans_page_abandonment.expert_help.description_title"),serviceDesc:e?.("builder.plans_page_abandonment.expert_help.description"),serviceDescImg:IP,serviceDescImgMobile:IP,serviceRedirectBtnText:e?.("builder.plans_page_abandonment.expert_help.button_text"),serviceRedirectBtnLogo:!1,seviceAdditionalComponent:!0,serviceNavigateLink:"https://topresume.com/resume-writing?pt=UWYxd6Xe2VTS0&utm_source=resumeio&utm_medium=rioplanspageabandonment&utm_campaign=tr_promocard_in_rioplanspageabandonment&utm_content=v1",serviceTrackingReason:"expert_help",serviceTrackingAcceptedReason:"Expert_help",backgroundColor:`${te.Jy.Green10}`,borderColor:`${te.Jy.Green20}`,buttonColor:`${te.Jy.Green50}`,buttonHoverColor:`${te.Jy.Green60}`,noticeTextColor:`${te.Jy.Green90}`,phoneContentCardHeight:"344px",phoneContentHeight:"168px",phoneContentMarginTop:"15px",tabletContentMarginTop:"24px",tabletContentHeight:"197px",phoneContentImgHeight:"115px",phoneContentImgWidth:"125px",tabletContentImgHeight:"140px",tabletContentImgWidth:"153px"},{id:4,serviceType:"Job Adjustment",serviceTitle:e?.("builder.plans_page_abandonment.job_adjustment.title"),serviceLogo:Ij,serviceLogoClicked:Ik,serviceDescTitle:e?.("builder.plans_page_abandonment.job_adjustment.description_title"),serviceDesc:e?.("builder.plans_page_abandonment.job_adjustment.description"),serviceDescImg:IJ,serviceDescImgMobile:IE,serviceRedirectBtnText:e?.("builder.plans_page_abandonment.job_adju
2727stment.button_text"),serviceRedirectBtnLogo:!0,seviceAdditionalComponent:!1,serviceNavigateLink:"",serviceTrackingReason:"adjust the CV",serviceTrackingAcceptedReason:"Tailoring",backgroundColor:`${te.Jy.Indigo10}`,borderColor:`${te.Jy.Indigo20}`,buttonColor:`${te.Jy.Indigo50}`,buttonHoverColor:`${te.Jy.Indigo100}`,noticeTextColor:`${te.Jy.Indigo90}`,phoneContentCardHeight:"324px",phoneContentHeight:"160px",phoneContentMarginTop:"8px",tabletContentMarginTop:"16px",tabletContentHeight:"192px",phoneContentImgHeight:"120px",phoneContentImgWidth:"130px",tabletContentImgHeight:"164px",tabletContentImgWidth:"180px"}],IL=(e,t)=>IR(t).find(t=>t.id===e);var IN=i.p+"media/top_resume2c9b3d4fa1863fdb.svg",II=i.p+"media/careerioe4e8784a9d91854e.svg";let IM=tt.Ay.div(["display:flex;position:relative;flex-direction:column;align-items:center;width:100%;max-width:928px;background-color:",";border-radius:16px;",";",";"],te.Jy.White,tQ.A.Tablet`
2728    max-width: 604px;
2729    height: 664px;
2730  `,tQ.A.Phone`
2731    max-width: 343px;
2732    height: 570px;
2733  `),IB=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;margin-top:42px;margin-bottom:32px;margin-left:93px;margin-right:93px;",";",";"],tQ.A.Tablet`
2734    max-width: 604px;
2735  `,tQ.A.Phone`
2736    max-width: 343px;
2737  `),ID=tt.Ay.div(["position:absolute;width:28px;height:28px;top:28px;right:28px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";z-index:999;&:hover{color:",";}",";"],te.Jy.Neutral50,te.Jy.Neutral10,te.Jy.Blue50,tQ.A.Phone`
2738    top: 20px;
2739    right: 20px;
2740    padding: 2px;
2741  `),I$=tt.Ay.div(["position:absolute;width:73px;height:28px;top:32px;left:32px;padding:4px 12px 4px 6px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";z-index:999;border-radius:20px;&:hover{color:",";}",";"],te.Jy.Neutral50,te.Jy.Neutral10,te.Jy.Blue50,tQ.A.Phone`
2742    top: 20px;
2743    left: 14px;
2744  `),IO=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;color:",";text-align:center;",";"],te.Jy.Neutral50,tQ.A.Phone`
2745    padding-left: 2px;
2746    padding-right: 2px;
2747  `),Iz=tt.Ay.div(({isCardClicked:e})=>(0,tt.AH)(["display:flex;gap:6px;flex-direction:column;align-items:center;"," ",";"],tQ.A.Tablet`
2748      gap: 24px;
2749  `,tQ.A.Phone`
2750      gap: ${e?"24px":"16px"};
2751    `)),IF=tt.Ay.div(["",";",";"," ",";"],td.Ay.S,td.BO.DemiBold,tQ.A.Tablet`
2752    text-align: center;
2753  `,tQ.A.Phone`
2754    text-align: center;
2755  `),IH=tt.Ay.div(["",";",";color:",";"],td.Ay.Caption,td.BO.DemiBold,te.Jy.Neutral50);td.Ay.Caption;let IV=tt.Ay.div(({isCardClicked:e})=>
2755(0,tt.AH)(["height:fit-content;width:fit-content;display:flex;flex-direction:column;align-items:center;"," ",""],tQ.A.Tablet`
2756      align-items: center;
2757      margin-top: 32px;
2758    `,tQ.A.Phone`
2759      min-width: 311px;
2760      margin-top:  ${e?"20px":"8px"};
2761    `)),IU=tt.Ay.div(({isCardClicked:e})=>(0,tt.AH)(["display:flex;",";border-radius:16px;margin-top:20px;& > div:nth-child(-n + 3){border-right:1px solid ",";}& > div:first-child{width:187px;border-top-left-radius:16px;border-bottom-left-radius:16px;}& > div:last-child{width:187px;border-top-right-radius:16px;border-bottom-right-radius:16px;}",";",";",""],tr.A.light.low,te.Jy.Neutral15,tQ.A.Tablet`
2762      display: grid;
2763      width: 540px;
2764      border: 1px solid ${te.Jy.Neutral15};
2765      & > div:first-child {
2766        border-bottom-left-radius: 0px;
2767      }
2768      & > div:last-child {
2769        border-bottom-left-radius: 16px;
2770      }
2771      & > div:nth-child( -n + 3) {
2772        border-right: 0px;
2773        border-bottom: 1px solid ${te.Jy.Neutral15};
2774      }
2775    `,tQ.A.Phone`
2776      display: grid;
2777      width: 311px;
2778      margin-top: 24px;
2779    `,e&&(0,tt.AH)([""," ",""],tQ.A.Tablet`
2780        display: none;
2781      `,tQ.A.Phone`
2782        display: none;
2783      `))),IW=tt.Ay.div(({activeCard:e,serviceType:t})=>{let i=IL(t),r=e===t;return(0,tt.AH)(["box-sizing:border-box;border-width:1px 1px 0px 1px;border-style:solid;border-color:",";display:flex;justify-content:center;align-items:center;cursor:pointer;width:186px;height:160px;background:",";& img{filter:",";}& > div{border-radius:16px;}&:hover{& img{filter:grayscale(0);}& > div{background-color:",";border-radius:12px;width:calc(100% - 8px);height:152px;margin:4px;}}"," ",";"],te.Jy.Neutral15,r?i?.backgroundColor:"",e&&!r?"grayscale(1)":"",i?.backgroundColor,tQ.A.Tablet`
2784      width: 540px !important;
2785      height: 88px;
2786      border: none;
2787      &:hover {
2788        & > div {
2789          background-color: inherit;
2790        }
2791      }
2792    `,tQ.A.Phone`
2793      display: grid;
2794      width: 311px !important;
2795      height: 80px;
2796      border: none;
2797      &:hover {
2798        & > div {
2799          background-color: inherit;
2800        }
2801      }
2802    `)}),IK=tt.Ay.div(({activeCard:e,serviceType:t})=>(0,tt.AH)(["box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;& img{filter:",";}"," ",""],e&&e!==t?"grayscale(1)":"",tQ.A.Tablet`
2803      flex-direction: row;
2804      margin: 0px !important;
2805      justify-content: unset;
2806      width: 540px !important;
2807      height: 88px !important;
2808    `,tQ.A.Phone`
2809      flex-direction: row;
2810      justify-content: unset;
2811      margin: 0px !important;
2812      width: 311px !important;
2813      height: 80px !important;
2814    `)),Iq=tt.Ay.img(["display:flex;justify-content:center;width:50px;height:50px;"," ",""],tQ.A.Tablet`
2815    width: 44px;
2816    height: 44px;
2817    margin: 22px 24px !important;
2818  `,tQ.A.Phone`
2819    width: 40px;
2820    height: 40px;
2821    margin: 20px 16px 20px 16px !important;
2822  `),IG=tt.Ay.img(["width:88px;height:15px;"," ",""],tQ.A.Tablet`
2823    width: 88px;
2824    height: 15px;
2825  `,tQ.A.Phone`
2826    width: 70px;
2827    height: 12px;
2828  `),IZ=tt.Ay.img(["width:138px;height:12px;"," ",""],tQ.A.Tablet`
2829    width: 138px;
2830    height: 12px;
2831  `,tQ.A.Phone`
2832    width: 138px;
2833    height: 12px;
2834  `),IX=tt.Ay.p(({isActiveCard:e,cardHover:t})=>(0,tt.AH)(["",";",";width:155px;font-size:19px;line-height:",";text-align:center;color:",";margin-top:9px;"," ",""],td.Ay.M,td.BO.Medium,24/19,e||t?te.Jy.Neutral90:te.Jy.Neutral50,tQ.A.Tablet`
2835      width: 396px;
2836      text-align: left;
2837      margin: 0px;
2838    `,tQ.A.Phone`
2839      width: 190px;
2840      font-size: 16px;
2841      line-height: ${1.25};
2842      text-align: left;
2843      margin: 0px;
2844    `)),IQ=tt.Ay.div(({activeCard:e,isNlLocale:t})=>{let i=IL(e),r=t?187+(e-1)*187:93.5+(e-1)*187;return(0,tt.AH)(["display:flex;width:742px;height:260px;background-color:",";border-radius:16px;justify-content:center;align-items:center;position:relative;"," "," ",""],i?.backgroundColor,tQ.A.AboveTablet`
2845      margin-top: 16px;
2846      &:after {
2847        content: '';
2848        position: absolute;
2849        bottom: 100%;
2850        left: ${r}px;
2851        width: 8px;
2852        margin-left: -8px;
2853        border-left: 8px solid transparent;
2854        border-right: 8px solid transparent;
2855        border-bottom: 8px solid ${i?.backgroundColor};
2856      }
2857    `,tQ.A.Tablet`
2858      width: 540px;
2859      height: 420px;
2860      flex-direction: column-reverse;
2861    `,tQ.A.Phone`
2862      width: 311px;
2863      height: ${IL(e)?.phoneContentCardHeight};
2864      flex-direction: column-reverse;
2865    `)}),IY=tt.Ay.div(["width:377px;
2865display:flex;flex-direction:column;justify-content:space-between;align-items:left;padding-left:40px;height:204px;"," ",""],tQ.A.Tablet`
2866    width: 476px;
2867    height: 436px;
2868    padding-left: unset !important;
2869    align-items: center;
2870    padding-top: 32px;
2871    padding-bottom: 32px;
2872  `,tQ.A.Phone`
2873    width: 279px;
2874    height: 396px;
2875    padding-left: unset !important;
2876    align-items: center;
2877    padding-top: 20px;
2878    padding-bottom: 20px;
2879    justify-content: center;
2880  `),I0=tt.Ay.div(["width:100%;display:flex;justify-content:center;"]),I1=tt.Ay.div(({activeCard:e})=>(0,tt.AH)(["width:476px;height:198px;display:flex;flex-direction:column;justify-content:space-between;"," ",""],tQ.A.Tablet`
2881      width: 476px;
2882      height: ${IL(e)?.tabletContentHeight};
2883      margin-top: ${IL(e)?.tabletContentMarginTop};
2884      align-items: center
2885    `,tQ.A.Phone`
2886      width: 279px;
2887      margin-top:  ${IL(e)?.phoneContentMarginTop};
2888      height: ${IL(e)?.phoneContentHeight};;
2889    `)),I2=tt.Ay.p(({activeCard:e})=>{let t=IL(e);return(0,tt.AH)(["width:408px;",";font-size:27px;line-height:",";color:",";"," ",""],td.BO.DemiBold,28/27,t?.noticeTextColor,tQ.A.Tablet`
2890        width: 476px;
2891        text-align: center;
2892    `,tQ.A.Phone`
2893        width: 279px;
2894        font-size: 23px;
2895        line-height: ${24/23};
2896        text-align: center;
2897    `)}),I3=tt.Ay.p(({activeCard:e})=>{let t=IL(e);return(0,tt.AH)(["",";font-size:19px;line-height:",";width:373px;color:",";& a{color:",";}"," ",""],td.BO.Regular,24/19,t?.noticeTextColor,te.Jy.Blue60,tQ.A.Tablet`
2898      text-align: center;
2899      width: 448px;
2900    `,tQ.A.Phone`
2901      font-size: 16px;
2902      line-height: ${1.25};
2903      text-align: center;
2904      width: 279px;
2905    `)}),I5=(0,tt.Ay)(i$.Ay)(({activeCard:e})=>{let t=IL(e);return(0,tt.AH)(["",";",";display:flex;font-size:18px;align-items:center;justify-content:center;line-height:",";color:",";background-color:",";border-radius:4px;height:48px;width:fit-content;padding-left:24px;padding-right:24px;&:hover{background-color:",";}"," ",""],td.Ay.ButtonM,td.BO.DemiBold,22/18,te.Jy.White,t?.buttonColor,t?.buttonHoverColor,tQ.A.Tablet`
2906        width: 216px;
2907        padding-left: unset !important;
2908        padding-right: unset !important;
2909    `,tQ.A.Phone`
2910        height: ${"48px"};
2911        font-size: ${"18px"};
2912        line-height: ${22/18};
2913        width: 279px;
2914        padding-left: unset !important;
2915        padding-right: unset !important;
2916    `)}),I4=tt.Ay.div(["display:flex;flex-direction:row;align-items:center;"," ",";"],tQ.A.Tablet`
2917    flex-direction: column;
2918    align-items: none;
2919  `,tQ.A.Phone`
2920    flex-direction: column;
2921    align-items: none;
2922  `),I6=tt.Ay.div(["display:flex;flex-direction:column;width:138px;height:33px;justify-content:space-between;margin-left:19px;"," ",";"],tQ.A.Tablet`
2923    flex-direction: row;
2924    width: 232px;
2925    height: 15px;
2926    justify-content: center;
2927    align-items: center;
2928    align-content: center;
2929    margin-left: 0px;
2930  `,tQ.A.Phone`
2931    flex-direction: row;
2932    width: 214px;
2933    height: 12px;
2934    justify-content: center;
2935    margin-left: 0px;
2936  `),I8=tt.Ay.div(({activeCard:e})=>{let t=(0,R.useMemo)(()=>(0,tt.AH)(["width:220px;height:184px;"," ",""],tQ.A.Tablet`
2937        width: ${IL(e)?.tabletContentImgWidth};
2938        height: ${IL(e)?.tabletContentImgHeight};
2939      `,tQ.A.Phone`
2940        width: ${IL(e)?.phoneContentImgWidth};
2941        height: ${IL(e)?.phoneContentImgHeight};
2942      `),[]);return(0,tt.AH)(["display:flex;align-items:center;justify-content:center;width:384px;"," "," & img{","}"],tQ.A.Tablet`
2943      width: 100%;
2944      height: ${IL(e)?.tabletContentImgHeight};
2945    `,tQ.A.Phone`
2946      width: 100%;
2947      height: ${IL(e)?.phoneContentImgHeight};
2948    `,t)}),I9=tt.Ay.div(["display:flex;width:100%;align-items:center;justify-content:center;margin-top:18px;"]),I7=tt.Ay.div([""," ",";color:",";align-items:center;cursor:pointer;display:flex;gap:",";",";"],td.Ay.ButtonV2M,td.BO.Medium,te.Jy.Blue50,te.Kz["2XS"],tQ.A.Phone`
2949    ${td.Ay.ButtonS}
2950  `),Me=(0,tt.Ay)(tP.Ay.RightArrow)(["color:inherit;"]);var Mt=()=>{let{isPhone:e,isTablet:t,isDesktop:i}=(0,ih.e)(),[r,n]=(0,R.useState)(0),[o,a]=(0,R.useState)(0),[l,s]=(0,R.useState)(!1),d=(0,eW.N)(U.Tp.documents),c=(0,eW.N)(X.Tp.locale),u=(0,eW.N)($.Tp.resumeDownloadData),p=(0,L.Zp)(),h=(0,eU.wA)(),x=()=>{(0,N.xP)("show_abandonment_popup",{type:"plans"}),ew.D.setItem(F.iD.SHOW_ABANDONMENT_MODAL_FLAG,"true"),h(F.o1.closePlansPageAbandonmentModal())},m=()=>{(0,N.xP)("show_abandonment_popup",{type:"plans"}),(0,N.xP)("promo_acceptance",{promo:IL(r,i7.R.t)?.serviceTrackingAcceptedReason,where:"plans_page_abandonment"}),ew.D.setItem(F.iD.SHOW_ABANDONMENT_MODAL_FLAG,"true"),h(F.o1.closePlansPageAbandonmentModal());let e=d[0];if(IL(r,i7.R.t)?.serviceType==="Start Service"){if(!e)return;p(`/resumes/${e.id}/edit?showAIResumeDraft=true`),h($.o1.resetAIResumeData()),h($.o1.setShowAIResumeModal(!0))}else if(IL(r,i7.R.t)?.serviceType==="Job Adjustment"){if(!e)return;p(`/resumes/${e.id}/edit`),h($.o1.setEditorPanelType("tailoring")),h($.o1.startResumeOptimizerProcess())}else IL(r,i7.R.t)?.serviceType==="Resume Example"?h($.o1.fetchResumeExamples()):window.open(IL(r,i7.R.t)?.serviceNavigateLink,"_blank")},g={fill:te.Jy.Blue50,marginLeft:e&&t?"12px":""},y=(e,t)=>{e&&-1!==e?(s(!0),n(e),t&&(0,N.xP)("abandonment_reason_choice",{abandonment_reason:IL(e,i7.R.t)?.serviceTrackingReason})):(s(!1),n(0))},f=e=>{r===e||-1===e?a(-1):a(e)},b=(0,R.useCallback)(()=>{s(!1),n(0)},[s,n]);i&&0===r&&y(1,!1);let _=(0,R.useCallback)(()=>{ew.D.setItem(F.iD.SHOW_ABANDONMENT_MODAL_FLAG,"true"),h(F.o1.closePlansPageAbandonmentModal()),h(z.o1.download(u)),h($.o1.resetResumeDownloadData())},[h,u]);return(0,J.jsx)(i6.A,{onClick:x,backgroundOpacity:.6,overlayFadeDuration:350,contentSlideDuration:350,children:(0,J.jsxs)(IM,{children:[(0,J.jsx)(ID,{onClick:x,children:(0,J.jsx)(tP.EK.Close,{})}),l&&(e||t)&&(0,J.jsxs)(I$,{onClick:()=>b(),children:[(0,J.jsx)(tP.qJ.ChevronLeft,{}),(0,J.jsx)(IH,{children:i7.R.t("builder.plans_page_abandonment.back")})]}),(0,J.jsxs)(IB,{children:[(0,J.jsxs)(IV,{isCardClicked:l&&(e||t),children:[(0,J.jsxs)(Iz,{isCardClicked:l&&(e||t),children:[(0,J.jsx)(IF,{children:(e||t)&&l?IL(r,i7.R.t)?.serviceTitle:i7.R.t("builder.plans_page_abandonment.title")}),(0,J.jsx)(IO,{children:!l&&(e||t)?i7.R.t("builder.plans_page_abandonment.subtitle"):l&&(e||t)?"":i7.R.t("builder.plans_page_abandonment.subtitle")})]}),(0,J.jsx)(IU,{isCardClicked:!!r,children:IR(i7.R.t).map(i=>{var n;return 3===i.id&&"nl-NL"===c?null:(0,J.jsx)(IW,{onMouseOver:()=>f(i.id),onMouseOut:()=>f(-1),activeCard:r,onClick:()=>
2950y(r===i.id?-1:i.id,!0),serviceType:i.id,children:(0,J.jsxs)(IK,{activeCard:r,serviceType:i.id,children:[(0,J.jsx)(Iq,{src:(n=i.id,l&&!(e||t)&&n===r?IL(r,i7.R.t)?.serviceLogoClicked:e||t||o===n?IL(n,i7.R.t)?.serviceLogoClicked:IL(n,i7.R.t)?.serviceLogo)}),(0,J.jsx)(IX,{isActiveCard:e||t||i.id===r,cardHover:i.id===o,children:IL(i.id,i7.R.t)?.serviceTitle}),(e||t)&&(0,J.jsx)(tP.qJ.ToggleArrow,{style:g})]})},i.id)})}),l&&(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(IQ,{activeCard:4===r&&"nl-NL"===c?3:r,isNlLocale:"nl-NL"===c,children:e||t?(0,J.jsxs)(IY,{children:[(0,J.jsx)(I8,{activeCard:r,children:(0,J.jsx)("img",{src:IL(r,i7.R.t)?.serviceDescImgMobile})}),(0,J.jsxs)(I1,{activeCard:r,children:[(0,J.jsx)(I2,{activeCard:r,children:IL(r,i7.R.t)?.serviceDescTitle}),(0,J.jsx)(I3,{activeCard:r,children:IL(r,i7.R.t)?.serviceDesc}),IL(r,i7.R.t)?.seviceAdditionalComponent&&(0,J.jsx)(I0,{children:(0,J.jsxs)(I6,{children:[(0,J.jsx)(IG,{src:IN}),(0,J.jsx)(IZ,{src:II})]})}),(0,J.jsxs)(I5,{activeCard:r,onClick:m,children:[IL(r,i7.R.t)?.serviceRedirectBtnLogo&&(0,J.jsx)(tP.qJ.DoubleStars,{style:g}),IL(r,i7.R.t)?.serviceRedirectBtnText]})]})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(IY,{children:[(0,J.jsx)(I2,{activeCard:r,children:IL(r,i7.R.t)?.serviceDescTitle}),(0,J.jsx)(I3,{activeCard:r,children:IL(r,i7.R.t)?.serviceDesc}),(0,J.jsxs)(I4,{children:[(0,J.jsxs)(I5,{activeCard:r,onClick:m,children:[IL(r,i7.R.t)?.serviceRedirectBtnLogo&&(0,J.jsx)(tP.qJ.DoubleStars,{style:g}),IL(r,i7.R.t)?.serviceRedirectBtnText]}),IL(r,i7.R.t)?.seviceAdditionalComponent&&(0,J.jsxs)(I6,{children:[(0,J.jsx)(IG,{src:IN}),(0,J.jsx)(IZ,{src:II})]})]})]}),(0,J.jsx)(I8,{activeCard:r,children:(0,J.jsx)("img",{src:IL(r,i7.R.t)?.serviceDescImg})})]})})})]}),(0,J.jsx)(I9,{onClick:_,children:(0,J.jsxs)(I7,{children:[i7.R.t("builder.plans_page_abandonment.download_resume_button"),(0,J.jsx)(Me,{})]})})]})]})})},Mi=i.p+"media/will_be_back6595512c9b541c3b.svg",Mr=i.p+"media/will_be_back_activated83d80f53b4f4fb24.svg",Mn=i.p+"media/need_guidance4448087fb7429a92.svg",Mo=i.p+"media/need_guidance_activated77e69783c98b6a58.svg",Ma=i.p+"media/dont_like_service06f49baadf3eb841.svg",Ml=i.p+"media/dont_like_service_activatedac141b74ab1a039f.svg";let Ms=e=>[{id:1,titleLineOne:e?.("builder.in_app_abandonment.will_be_back.title_line_one"),titleLineTwo:e?.("builder.in_app_abandonment.will_be_back.title_line_two"),logo:Mi,logoClicked:Mr},{id:2,titleLineOne:e?.("builder.in_app_abandonment.need_guidance.title_line_one"),titleLineTwo:e?.("builder.in_app_abandonment.need_guidance.title_line_two"),logo:Mn,logoClicked:Mo},{id:3,titleLineOne:e?.("builder.in_app_abandonment.dont_like_service.title_line_one"),titleLineTwo:e?.("builder.in_app_abandonment.dont_like_service.title_line_two"),logo:Ma,logoClicked:Ml}],Md=(e,t)=>Ms(t).find(t=>t.id===e),Mc="HAS_ABANDONMENT_RESUME_MODAL_BEEN_SHOW",Mu=tt.Ay.div(["display:flex;position:relative;flex-direction:column;align-items:center;width:100%;max-width:620px;background-color:",";border-radius:16px;padding:52px 32px 32px 32px;"],te.Jy.White),Mp=tt.Ay.div(["width:100%;display:flex;flex-direction:column;align-items:center;"]),Mh=tt.Ay.div(["position:absolute;width:28px;height:28px;top:28px;right:28px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";z-index:999;&:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Neutral10,te.Jy.Blue50),Mx=tt.Ay.div(["display:flex;gap:12px;flex-direction:column;align-items:center;"]),Mm=tt.Ay.div(["",";display:flex;flex-direction:column;"],td.BO.DemiBold),Mg=tt.Ay.p(["",";"],td.Ay.M),My=tt.Ay.div(["height:fit-content;width:100%;display:flex;flex-direction:column;align-items:center;"]),Mf=tt.Ay.div(["display:flex;width:100%;height:160px;",";border-radius:16px;margin-top:32px;& > div:nth-child(-n + 3){border-right:1px solid ",";}& > div:first-child{border-top-left-radius:16px;border-bottom-left-radius:16px;}& > div:last-child{border-top-right-radius:16px;border-bottom-right-radius:16px;}"],tr.A.light.low,te.Jy.Neutral15),Mb=tt.Ay.div(({activeCardId:e,flowId:t})=>{let i=e===t;return(0,tt.AH)(["box-sizing:border-box;border-width:1px 1px 0px 1px;border-style:solid;border-color:",";display:flex;justify-content:center;align-items:center;cursor:pointer;width:","px;height:160px;background-color:",";& img{filter:",";}& > div{border-radius:16px;}&:hover{& img{filter:grayscale(0);}& > div{background-color:",";border-radius:12px;width:calc(100% - 8px);height:152px;margin:4px;}}"],te.Jy.Neutral15,186,i?te.Jy.Blue10:"",e&&!i?"grayscale(1)":"",te.Jy.Blue10)}),M_=tt.Ay.div(({activeCardId:e,flowId:t})=>(0,tt.AH)(["box-sizing:border-box;
2950cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;& img{filter:",";}"],e&&e!==t?"grayscale(1)":"")),Mv=tt.Ay.img(["display:flex;justify-content:center;width:50px;height:50px;margin-bottom:9px;"]),Mj=tt.Ay.p(({isCardActive:e,isCardHovered:t})=>(0,tt.AH)(["",";width:155px;font-size:19px;line-height:",";text-align:center;color:",";"],td.BO.Medium,24/19,e||t?te.Jy.Neutral90:te.Jy.Neutral50)),MA=tt.Ay.div(({activeCardId:e})=>(0,tt.AH)(["display:flex;flex-direction:column;background-color:transparent;border-radius:16px;justify-content:flex-start;align-items:center;position:relative;gap:8px;width:100%;min-height:272px;",""],tQ.A.AboveTablet`
2951      margin-top: 24px;
2952      &:after {
2953        content: '';
2954        position: absolute;
2955        bottom: 100%;
2956        left: ${93+(e-1)*186}px;
2957        width: 8px;
2958        margin-left: -8px;
2959        border-left: 8px solid transparent;
2960        border-right: 8px solid transparent;
2961        border-bottom: 8px solid ${te.Jy.Indigo10};
2962      }
2963    `)),MC=tt.Ay.div(({activeCardId:e})=>(0,tt.AH)(["display:flex;flex-direction:row;height:272px;background-color:",";border-radius:16px;justify-content:center;align-items:center;position:relative;",""],te.Jy.Neutral5,tQ.A.AboveTablet`
2964      margin-top: 24px;
2965      &:after {
2966        content: '';
2967        position: absolute;
2968        bottom: 100%;
2969        left: ${93+(e-1)*186}px;
2970        width: 8px;
2971        margin-left: -8px;
2972        border-left: 8px solid transparent;
2973        border-right: 8px solid transparent;
2974        border-bottom: 8px solid ${te.Jy.Indigo10};
2975      }
2976    `)),Mw=tt.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;align-items:left;padding-left:40px;height:204px;"]),Mk=tt.Ay.p(["",";font-size:27px;line-height:",";color:",";"],td.BO.DemiBold,28/27,te.Jy.Blue90),MS=(0,tt.Ay)(i$.Ay)(["",";",";display:flex;align-items:center;justify-content:center;line-height:",";color:",";background-color:",";border-radius:4px;height:48px;width:fit-content;padding-left:24px;padding-right:24px;&:hover{background-color:",";}"],td.Ay.ButtonM,td.BO.Medium,22/18,te.Jy.White,te.Jy.Blue50,te.Jy.Blue60),MT=tt.Ay.div(["display:flex;flex-direction:row;align-items:center;"]),MP=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:384px;& img{width:220px;height:184px;}"]),MJ=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;width:100%;"]);var ME=i.p+"media/desc_will_be_back38b75bef74ab6159.svg",MR=({handleClose:e})=>(0,J.jsxs)(MC,{activeCardId:1,children:[(0,J.jsxs)(Mw,{children:[(0,J.jsx)(Mk,{children:i7.R.t("builder.in_app_abandonment.will_be_back.subtitle")}),(0,J.jsx)(MT,{children:(0,J.jsx)(MS,{onClick:e,children:i7.R.t("builder.in_app_abandonment.will_be_back.button_text")})})]}),(0,J.jsx)(MP,{children:(0,J.jsx)("img",{src:ME})})]});let ML=(e,t=!0)=>{let i=(0,eU.wA)(),r=(0,eW.N)(e=>e.resumeEditor.viewTailoringBannerEventTracked),n=(0,eW.N)($.Tp.resumeScore),o=(0,R.useCallback)(()=>{(0,N.xP)("click_resume_optimizer_banner",{score:n}),i($.o1.setEditorPanelType("tailoring"))},[i,n]);return(0,R.useEffect)(()=>{!r&&t&&(i($.o1.setTailorBannerEventTracked(!0)),(0,N.xP)("see_resume_optimizer_banner"))},[i,e,r,t]),{onBannerClick:o}},MN=tt.Ay.div(({showContent:e})=>(0,tt.AH)(["cursor:pointer;min-height:72px;display:flex;flex-direction:column;align-items:center;width:100%;background-color:",";border-radius:8px;padding:24px;",""],te.Jy.Neutral5,e?"":`
2977    &:hover {
2978      background-color: ${te.Jy.Blue10};
2979
2980      & p {
2981        color: ${te.Jy.Blue50};
2982      }
2983
2984      & svg {
2985        color: ${te.Jy.Blue60};
2986      }
2987    }
2988  `)),MI=tt.Ay.div(["display:flex;justify-content:space-between;width:100%;"]),MM=tt.Ay.p(["",";font-size:19px;line-height:24px;color:",";"],td.BO.DemiBold,te.Jy.Blue90),MB=(0,tt.Ay)(tP.EK.ChevronDown)(["cursor:pointer;color:",";width:24px;height:24px;"],te.Jy.Blue50),MD=(0,tt.Ay)(tP.EK.ChevronDown)(["cursor:pointer;color:",";width:24px;height:24px;transform:rotate(180deg);"],te.Jy.Blue50),M$=tt.Ay.div(["width:100%;transition:all 0.6s ease-in-out;> *{&:first-child{margin-top:12px;}}&.visible{visibility:visible;opacity:1;max-height:1000px;}&.hidden{visibility:hidden;opacity:0;max-height:0;}"]);var MO=({children:e,title:t,showContent:i,handleActiveAction:r})=>(0,J.jsxs)(MN,{showContent:i,onClick:r,children:[(0,J.jsxs)(MI,{children:[(0,J.jsx)(MM,{children:t}),i?(0,J.jsx)(MD,{}):(0,J.jsx)(MB,{})]}),(0,J.jsx)(M$,{className:i?"visible":"hidden",children:e})]}),Mz=i.p+"media/need_guidance_ai48960c76b06f0dd1.svg",MF=i.p+"media/need_guidance_expert8f48701a88b8fe42.svg",MH=i.p+"media/need_guidance_examples054dc5e1959a4f4d.svg",MV=i.p+"media/need_guidance_match1c6ef3ac17395cd4.svg";let MU=tt.Ay.div(({backgroundColor:e})=>(0,tt.AH)(["cursor:pointer;height:72px;display:flex;align-items:center;width:100%;background-color:",";border-radius:8px;padding:16px 29px 16px 16px;gap:16px;border:",";&:hover{background-color:",";& button{color:",";}& p{color:",";}}"],e||te.Jy.Blue10,e===te.Jy.Indigo10?`1px solid ${te.Jy.Indigo20}`:`1px solid ${te.Jy.Blue20}`,e===te.Jy.Indigo10?te.Jy.Indigo20:te.Jy.Blue20,e===te.Jy.Indigo10?te.Jy.Indigo70:te.Jy.Blue60,e===te.Jy.Indigo10?te.Jy.Indigo60:te.Jy.Blue50)),MW=tt.Ay.p(["",";font-size:16px;line-height:20px;color:",";"],td.BO.Medium,te.Jy.Neutral90),MK=tt.Ay.button(({backgroundColor:e})=>(0,tt.AH)(["cursor:pointer;color:",";margin-left:auto;font-size:16px;border:0;"],e===te.Jy.Indigo10?te.Jy.Indigo60:te.Jy.Blue50)),Mq=tt.Ay.div(["width:40px;height:40px;
2988display:flex;justify-content:center;"]);var MG=({logoSrc:e,title:t,buttonText:i,buttonOnClick:r,backgroundColor:n})=>(0,J.jsxs)(MU,{backgroundColor:n,onClick:r,children:[(0,J.jsx)(Mq,{children:(0,J.jsx)("img",{src:e})}),(0,J.jsx)(MW,{children:t}),(0,J.jsx)(MK,{backgroundColor:n,children:i})]});let MZ="HOW_TO_START",MX="REVIEW";var MQ=({handleClose:e})=>{let[t,i]=(0,R.useState)(void 0),r=(0,L.Zp)(),n=(0,eU.wA)(),o=(0,eW.N)(U.Tp.documents),{onBannerClick:a}=ML("builder"),l=(0,eW.N)(X.Tp.locale),s=e=>{i(t=>{if(!t||t!==e)return e})};return(0,J.jsxs)(MA,{activeCardId:2,children:[(0,J.jsx)(MO,{title:i7.R.t("builder.in_app_abandonment.need_guidance.how_to_start.title"),showContent:t===MZ,handleActiveAction:()=>s(MZ),children:(0,J.jsxs)(MJ,{children:[(0,J.jsx)(MG,{title:i7.R.t("builder.in_app_abandonment.need_guidance.how_to_start.ai.title"),buttonOnClick:()=>{(0,N.xP)("promo_acceptance",{promo:"try_AI",where:"in_app_abandonment"}),r(`/resumes/${o[0].id}/edit?showAIResumeDraft=true`),n($.o1.resetAIResumeData()),n($.o1.setShowAIResumeModal(!0)),e()},buttonText:i7.R.t("builder.in_app_abandonment.need_guidance.how_to_start.ai.button_text"),logoSrc:Mz,backgroundColor:te.Jy.Indigo10}),"nl-NL"!==l&&(0,J.jsx)(MG,{title:i7.R.t("builder.in_app_abandonment.need_guidance.how_to_start.expert.title"),buttonOnClick:e=>{e.stopPropagation(),(0,N.xP)("promo_acceptance",{promo:"Expert_help",where:"in_app_abandonment"}),window.open("https://topresume.com/resume-writing?pt=UWYxd6Xe2VTS0&utm_source=resumeio&utm_medium=rioappabandonment&utm_campaign=tr_promocard_in_rioappabandonment&utm_content=v1","_blank")},buttonText:i7.R.t("builder.in_app_abandonment.need_guidance.how_to_start.expert.button_text"),logoSrc:MF}),(0,J.jsx)(MG,{title:i7.R.t("builder.in_app_abandonment.need_guidance.how_to_start.examples.title"),buttonText:i7.R.t("builder.in_app_abandonment.need_guidance.how_to_start.examples.button_text"),buttonOnClick:()=>{(0,N.xP)("promo_acceptance",{promo:"Examples",where:"in_app_abandonment"}),n($.o1.fetchResumeExamples()),e()},logoSrc:MH})]})}),(0,J.jsx)(MO,{title:i7.R.t("builder.in_app_abandonment.need_guidance.review.title"),showContent:t===MX,handleActiveAction:()=>s(MX),children:(0,J.jsx)(MG,{title:i7.R.t("builder.in_app_abandonment.need_guidance.review.match.title"),buttonText:i7.R.t("builder.in_app_abandonment.need_guidance.review.match.button_text"),logoSrc:MV,backgroundColor:te.Jy.Indigo10,buttonOnClick:()=>{(0,N.xP)("promo_acceptance",{promo:"Tailoring",where:"in_app_abandonment"}),a(),e()}})})]})},MY=i.p+"media/dont_like_service_bug_discount8b468dd7a29f48fc.svg",M0=i.p+"media/dont_like_service_bug_discount_nl1c9d3da1ca5de442.svg",M1=i.p+"media/dont_like_service_limited_discount84e33a6f3b141558.svg",M2=i.p+"media/dont_like_service_ai48960c76b06f0dd1.svg",M3=i.p+"media/dont_like_service_match1c6ef3ac17395cd4.svg",M5=i.p+"media/dont_like_service_examples054dc5e1959a4f4d.svg";let M4=(0,tt.Ay)(MS)(["align-self:flex-end;"]),M6=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;width:100%;"]),M8=tt.Ay.div(["display:flex;gap:32px;"]),M9=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;"]),M7=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;max-width:296px;"]),Be=tt.Ay.img(["display:flex;justify-content:center;align-self:flex-end;"]),Bt=tt.Ay.img(["display:flex;justify-content:center;"]),Bi=tt.Ay.p(["",";",";color:",";"],td.BO.DemiBold,td.Ay.Subhead,te.Jy.Blue50),Br=tt.Ay.p(["",";",";color:",";margin-top:16px;"],td.BO.DemiBold,td.Ay.Subhead,te.Jy.Neutral80),Bn=tt.Ay.p(["",";",";color:",";"],td.BO.Regular,td.Ay.Caption,te.Jy.Neutral60),Bo=(0,tt.Ay)(MS)(["margin-top:16px;"]),Ba=(0,tt.Ay)(MS)(["margin-top:32px;"]),Bl=tt.Ay.div(["display:flex;gap:16px;"]),Bs=tt.Ay.div(["display:flex;flex-direction:column;max-width:342px;"]),Bd=tt.Ay.p(["",";",";color:",";"],td.BO.DemiBold,td.Ay.Body,te.Jy.Blue50),Bc=tt.Ay.p(["",";",";color:",";"],td.BO.Regular,td.Ay.Body,te.Jy.Neutral60),Bu=tt.Ay.div(["display:flex;width:100%;& textarea{width:100%;height:144px;background:",";}& .textAreaField{width:100%;}"],te.Jy.White),Bp="NOT_HELPFUL",Bh="FOUND_A_BUG",Bx="TOO_EXPENSIVE",Bm="FORM",Bg="DISCOUNT";var By=({handleClose:e,hasUserVisitedPlans:t,email:i,fullName:r})=>{let[n,o]=(0,R.useState)(void 0),[a,l]=(0,R.useState)(""),[s,d]=(0,R.useState)(Bm),c=(0,L.Zp)(),u=(0,eU.wA)(),p=(0,eW.N)(U.Tp.documents),{onBannerClick:h}=ML("builder"),x=(0,eW.N)(X.Tp.locale),m=(0,e0.U)(),g=m?.features?.discountPercentage||50,y=async e=>{e.preventDefault(),e.stopPropagation(),0!==a.trim().length?((0,N.xP)("promo_acceptance",{promo:"report_bug",where:"in_app_abandonment"}),u(Z.o1.submitFeedbackForSubscriptionCancellation({email:i??"",name:r??"",feedback:a,plan:"free",subject:"abandonment resume modal"})),l(""),d(Bg)):(u(F.o1.setSnackBarOpen({status:!0,type:F.pN.failure,text:i7.R.t("builder.in_app_abandonment.dont_like_service.n
2988ot_entered_feedback")})),setTimeout(()=>{u(F.o1.closeSnackBar())},3e3))},f=e=>{o(t=>{if(!t||t!==e)return e})},b=()=>{(0,N.xP)("promo_acceptance",{promo:"discount",where:"in_app_abandonment"}),u(Z.o1.getAbandonedDiscount({discountPercentage:g})),e()};return(0,J.jsxs)(MA,{activeCardId:3,children:[(0,J.jsx)(MO,{title:i7.R.t("builder.in_app_abandonment.dont_like_service.not_helpful.title"),showContent:n===Bp,handleActiveAction:()=>f(Bp),children:(0,J.jsxs)(MJ,{children:[(0,J.jsx)(MG,{title:i7.R.t("builder.in_app_abandonment.dont_like_service.not_helpful.ai.title"),buttonOnClick:()=>{(0,N.xP)("promo_acceptance",{promo:"try_AI",where:"in_app_abandonment"}),c(`/resumes/${p[0].id}/edit?showAIResumeDraft=true`),u($.o1.resetAIResumeData()),u($.o1.setShowAIResumeModal(!0)),e()},buttonText:i7.R.t("builder.in_app_abandonment.dont_like_service.not_helpful.ai.button_text"),logoSrc:M2,backgroundColor:te.Jy.Indigo10}),(0,J.jsx)(MG,{title:i7.R.t("builder.in_app_abandonment.dont_like_service.not_helpful.match.title"),buttonText:i7.R.t("builder.in_app_abandonment.dont_like_service.not_helpful.match.button_text"),logoSrc:M3,backgroundColor:te.Jy.Indigo10,buttonOnClick:()=>{(0,N.xP)("promo_acceptance",{promo:"Tailoring",where:"in_app_abandonment"}),h(),e()}}),(0,J.jsx)(MG,{title:i7.R.t("builder.in_app_abandonment.dont_like_service.not_helpful.explore.title"),buttonText:i7.R.t("builder.in_app_abandonment.dont_like_service.not_helpful.explore.button_text"),buttonOnClick:()=>{(0,N.xP)("promo_acceptance",{promo:"Examples",where:"in_app_abandonment"}),u($.o1.fetchResumeExamples()),e()},logoSrc:M5})]})}),(0,J.jsx)(MO,{title:i7.R.t("builder.in_app_abandonment.dont_like_service.bug.title"),showContent:n===Bh,handleActiveAction:()=>f(Bh),children:(0,J.jsxs)(M6,{children:[s===Bm&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Bu,{children:(0,J.jsx)(re.l,{className:"textAreaField",placeholder:i7.R.t("builder.in_app_abandonment.dont_like_service.bug.placeholder"),value:a,onChange:e=>l(e.target.value),onClick:e=>e.stopPropagation()})}),(0,J.jsx)(M4,{onClick:y,children:i7.R.t("builder.in_app_abandonment.dont_like_service.bug.button_text")})]}),s===Bg&&("nl-NL"!==x?(0,J.jsxs)(M8,{children:[(0,J.jsxs)(M7,{children:[(0,J.jsx)(Bi,{children:i7.R.t("builder.in_app_abandonment.dont_like_service.bug.discount.title")}),(0,J.jsx)(Bn,{children:i7.R.t("builder.in_app_abandonment.dont_like_service.bug.discount.description",{discount_percentage:g})}),(0,J.jsx)(Bo,{onClick:b,children:i7.R.t("builder.in_app_abandonment.dont_like_service.bug.discount.button_text")})]}),(0,J.jsx)(Be,{src:MY})]}):(0,J.jsxs)(M9,{children:[(0,J.jsx)(Bt,{src:M0}),(0,J.jsx)(Br,{children:i7.R.t("builder.in_app_abandonment.dont_like_service.bug.discount.title")}),(0,J.jsx)(Ba,{onClick:e,children:i7.R.t("builder.in_app_abandonment.dont_like_service.bug.discount.button_text_nl")})]}))]})}),t&&"nl-NL"!==x&&(0,J.jsx)(MO,{title:i7.R.t("builder.in_app_abandonment.dont_like_service.expensive.title"),showContent:n===Bx,handleActiveAction:()=>f(Bx),children:(0,J.jsxs)(Bl,{children:[(0,J.jsxs)(Bs,{children:[(0,J.jsx)(Bd,{children:i7.R.t("builder.in_app_abandonment.dont_like_service.expensive.subtitle")}),(0,J.jsx)(Bc,{children:i7.R.t("builder.in_app_abandonment.dont_like_service.expensive.description",{discount_percentage:g})}),(0,J.jsx)(Bo,{onClick:b,children:i7.R.t("builder.in_app_abandonment.dont_like_service.expensive.button_text")})]}),(0,J.jsx)(Be,{src:M1})]})})]})};let Bf={backgroundOpacity:.6,overlayFadeDuration:350,contentSlideDuration:350};var Bb=({handleClose:e,hasUserVisitedPlans:t,email:i,fullName:r})=>{let[n,o]=(0,R.useState)(1),[a,l]=(0,R.useState)(0),[s,d]=(0,R.useState)(!0),c=(0,eW.N)(X.Tp.locale);(0,R.useEffect)(()=>{ew.D.setItem(Mc,"true")},[]),(0,R.useEffect)(()=>{(0,N.xP)("show_abandonment_popup",{source:"builder",type:"in_app"})},[]);let u=t=>{t&&(0,N.xP)("close_abandonment_popup"),e()},p=(0,R.useCallback)(e=>{e&&-1!==e?(1===e?(0,N.xP)("abandonment_reason_choice",{abandonment_reason:"be_back"}):3===e?(0,N.xP)("abandonment_reason_choice",{abandonment_reason:"dont_like_service"}):2===e&&(0,N.xP)("abandonment_reason_choice",{abandonment_reason:"need_guidance"}),d(!0),o(e)):(d(!1),o(0))},[]),h=(0,R.useCallback)(e=>{n===e||-1===e?l(-1):l(e)},[n]),x=(0,R.useCallback)(e=>s&&e===n?Md(n,i7.R.t)?.logoClicked:a===e?Md(e,i7.R.t)?.logoClicked:Md(e,i7.R.t)?.logo,[s,n,a]);return(0,J.jsx)(i6.A,{onClick:()=>u(!0),...Bf,children:(0,J.jsxs)(Mu,{children:[(0,J.jsx)(Mh,{onClick:()=>u(!0),children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsx)(Mp,{children:(0,J.jsxs)(My,{children:[(0,J.jsx)(Mx,{children:(0,J.jsxs)(Mm,{children:[(0,J.jsx)(Mg,{children:i7.R.t("builder.in_app_abandonment.title")}),(0,J.jsx)(Mg,{children:i7.R.t("builder.in_app_abandonment.subtitle")})]})}),(0,J.jsx)(Mf,{children:Ms(i7.R.t).map(e=>(0,J.jsx)(Mb,{onMouseOver:()=>h(e.id),onMouseOut:()=>h(-1),activeCardId:n,onClick:()=>p(n===e.id?-1:e.id),flowId:e.id,children:(0,J.jsxs)(M_,{activeCardId:n,flowId:e.id,children:[(0,J.jsx)(Mv,{src:x(e.id)}),(0,J.jsx)(Mj,{isCardActive:e.id===n,isCardHovered:e.id===a,children:Md(e.id,i7.R.t)?.titleLineOne}),("nl-NL"!==c||2!==e.id)&&(0,J.jsx)(Mj,{isCardActive:e.id===n,isCardHovered:e.id===a,children:Md(e.id,i7.R.t)?.titleLineTwo})]})},e.id))}),1===n&&(0,J.jsx)(MR,{handleClose:u}),2===n&&(0,J.jsx)(MQ,{handleClose:u}),3===n&&(0,J.jsx)(By,{handleClose:u,hasUserVisitedPlans:t,email:i,fullName:r})]})})]})})};let B_=e=>5===e?"excellent":4===e?"good":3===e?"weak":"needs_work",Bv=e=>{switch(e){case"excellent":return te.Jy.Green50;case"good":return te.Jy.Amber50;default:return te.Jy.Orange50}};var Bj=i.p+"media/no_completeb705c0f1eb2ccec1.svg",BA=i.p+"media/all_complete9e528d20ba3bc60d.svg";let BC=tt.Ay.div(["position:relative;display:flex;flex-direction:column;gap:24px;width:544px;border-radius:",";background-color:",";padding:32px;",""],te.Kz.S,te.Jy.White,tQ.A.Phone`
2989    width: 343px;
2990    border-radius: 12px;
2991  `),Bw=tt.Ay.div(({showHoverState:e})=>(0,tt.AH)(["",""],e?"":`& svg {
2992          &:hover {
2993            background: ${te.Jy.White};
2994            fill: ${te.Jy.Neutral70};
2995            cursor: default;
2996          }
2997        }`)),Bk=(0,tt.Ay)(tP.Ay.AddSmall)(["fill:",";background:",";border-radius:50%;position:absolute;
2997left:484px;top:24px;height:28px;width:28px;cursor:pointer;transform:rotate(225deg);&:hover{background:",";fill:",";}",""],te.Jy.Neutral70,te.Jy.White,te.Jy.Blue50,te.Jy.White,tQ.A.Phone`
2998    height: 24px;
2999    width: 24px;
3000    left: 299px;
3001    top: 20px;
3002    z-index: 2;
3003  `),BS=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;flex-grow:1;"]);te.o5.sizes.S,te.o5.weights.demibold,tQ.A.Phone`
3004    margin-bottom: 8px;
3005  `;let BT=tt.Ay.p(["",";font-weight:",";color:",";margin:auto 0;"],te.o5.sizes.S,te.o5.weights.demibold,te.Jy.Neutral90),BP=tt.Ay.div(["display:flex;gap:",";"],te.Kz["2XS"]),BJ=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;"]),BE=tt.Ay.ul(["display:flex;padding:16px 20px;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch;border-radius:12px;list-style-type:none;margin-block-start:0;margin-block-end:0;"]),BR=(0,tt.Ay)(BE)(["background:",";"],te.Jy.Green10),BL=(0,tt.Ay)(BE)(["background:",";"],te.Jy.Neutral5),BN=tt.Ay.span(["color:",";font-family:'TT Talent';font-size:12px;font-style:normal;font-weight:600;line-height:16px;letter-spacing:1.8px;text-transform:uppercase;"],te.Jy.Neutral50),BI=tt.Ay.img(["width:24px;height:24px;"]),BM=tt.Ay.img(["width:24px;height:24px;"]),BB=(0,tt.Ay)(tP.EK.WarningCircle)(["width:32px;height:32px;flex-shrink:0;fill:",";"],({$mark:e})=>"needs_work"===e?te.Jy.Red50:te.Jy.Amber30),BD=(0,tt.Ay)(tP.EK.SuccessCircle)(["width:32px;height:32px;flex-shrink:0;fill:",";"],te.Jy.Green50),B$=tt.Ay.li(["display:flex;gap:8px;"]),BO=tt.Ay.div(["display:flex;gap:10px;"]);var Bz=({showModal:e,triggerAIReviewHightlight:t})=>{let i=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.reviewResult),r=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.fetchStatus),n=i?B_(i.scoreHeadline):"needs_work",o=i7.R.t(`builder.ai_review_modal.score_title.${n}`),a=(e,t)=>{if(!e)return[];let i=document.createElement("div");i.innerHTML=e;let r=i.getElementsByTagName("li");return r.length>0?Array.from(r).slice(0,t):[]},l=()=>{e(!1)};return(0,J.jsx)(J.Fragment,{children:r===eZ.Hp.loaded&&(0,J.jsx)(R2.mH,{onClose:l,children:(0,J.jsxs)(BC,{children:[(0,J.jsxs)(BS,{children:[(0,J.jsx)(BN,{children:i7.R.t("builder.ai_review_modal.ai_review_complete")}),(0,J.jsxs)(BO,{children:["good"===n||"excellent"===n?(0,J.jsx)(BD,{}):(0,J.jsx)(BB,{$mark:n}),(0,J.jsx)(BT,{children:o})]})]}),(0,J.jsxs)(BJ,{children:[i?.topStrengths&&i.topStrengths.length>0&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(BN,{children:i7.R.t("builder.ai_review_modal.you_got_it_right")}),(0,J.jsx)(BR,{children:a(i?.topStrengths,2).map((e,t)=>(0,J.jsxs)(B$,{children:[(0,J.jsx)(BM,{src:BA}),(0,J.jsx)("span",{children:e.textContent})]},t))})]}),i?.quickTips&&i.quickTips.length>0&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(BN,{children:i7.R.t("builder.ai_review_modal.how_we_will_help")}),(0,J.jsx)(BL,{children:a(i?.quickTips,3).map((e,t)=>(0,J.jsxs)(B$,{children:[(0,J.jsx)(BI,{src:Bj}),(0,J.jsx)("span",{children:e.textContent})]},t))})]})]}),(0,J.jsx)(BP,{children:(0,J.jsx)(i$.JQ,{onClick:()=>{e(!1),t()},style:{width:"100%"},children:i7.R.t("builder.ai_review_modal.cta")})}),(0,J.jsx)(Bw,{showHoverState:!0,onClick:l,children:(0,J.jsx)(Bk,{})})]})})})},BF=i(29783),BH=i(28159);let BV=()=>{let e=(0,e0.U)(),t=e?.features.aiResumeDraft,i=e?.features.startWithExamples,r=e?.features.uploadResume,n=e?.features.startWithLinkedin,o=(0,eU.wA)(),{resumeExamples:a,fetchingResumeExamples:l}=(0,eW.N)(e=>e.resumeEditor.useExample),s=!!a.length,d=(0,eW.N)($.Tp.resume),c=(0,R.useCallback)(()=>{t&&(o($.o1.resetAIResumeData()),o($.o1.setShowAIResumeModal(!0)))},[o,t]),u=(0,R.useCallback)(()=>{i&&(s?o($.o1.setShowUseExamplePopup(!0)):l||o($.o1.fetchResumeExamples()))},[o,l,s,i]),p=(0,R.useCallback)(e=>{r&&e&&(o($.o1.updateSimpleField({name:"showPrefillResumeModal",value:!0})),o($.o1.setResumeValidationStatus(eZ.fA.uploading)),o($.o1.setResumeForPrefill(e)))},[o,r]);return{hasResumeExamples:s,fetchingResumeExamples:l,handleCreateWithAi:c,handleUseExample:u,handleResumeUpload:p,handleStartWithLinkedIn:(0,R.useCallback)(()=>{n&&o($.o1.updateCreateResumeWithLinkedInState({showCreateResumeWithLinkedInModal:!0}))},[o,n]),handleCreateWithMcp:(0,R.useCallback)(()=>{o($.o1.updateSimpleField({name:"data",value:{...d?.data,selectedPrefillOption:"createWithMcpResume"},debounce:!1}))},[o,d])}},BU=(0,R.forwardRef)((e,t)=>{let{handleResumeUpload:i}=BV();return(0,J.jsx)(BH.zp,{type:"file",ref:t,onClick:e=>{e.stopPropagation()},onChange:e=>{i(e.target.files?.[0])},accept:BF.fg})});var BW=(0,R.memo)(BU),BK=(0,R.memo)(()=>{let e=(0,R.useRef)(null),t=(0,eU.wA)(),{isSavingPrefilledResume:i,resumeValidationStatus:r,selectedResume:n,resumeUploadStatus:o}=(0,eW.N)($.Tp.prefillResumeSection),a=(0,eW.N)($.Tp.resume),l=[eZ.fA.validated,eZ.fA.failed].includes(r),s=r===eZ.fA.validated&&o!==eZ.R4.failed;return(0,J.jsxs)(BH.Ef,{showDoneButton:s,children:[l&&(0,J.jsxs)(BH.i,{onClick:()=>{(0,N.xP)(eZ.x6.clickChangeFile),t($.o1.setResumeUploadStatus(eZ.R4.notStarted)),e.current&&e.current.click()},children:[(0,J.jsx)(i$.$n,{theme:"ghost",children:i7.R.t("builder.upload_resume.change_file")}),(0,J.jsx)(BW,{ref:e})]}),s&&(0,J.jsx)(i$.$n,{isLoading:i,onClick:()=>{(0,N.xP)(eZ.x6.clickDone),n&&a&&t($.o1.parseAndSavePrefilledResume({selectedResume:n,resumeId:a.id}))},children:i7.R.t("builder.upload_resume.done")})]})}),Bq=(0,R.memo)(e=>{let{onClose:t,children:i}=e,r=tP.EK.Close,n=(0,eW.N)(e=>e.resumeEditor.prefillResumeSection.resumeValidationStatus);return(0,J.jsxs)(BH.Yv,{resumeValidationStatus:n,children:[(0,J.jsx)(BH.vj,{onClick:t,children:(0,J.jsx)(r,{})}),(0,J.jsx)(BH.RL,{resumeValidationStatus:n,children:i})]})}),BG=i(56098),BZ=i(42248),BX=i(73303),BQ=({onClose:e})=>{let{resumeValidationStatus:t,resumeUploadStatus:i}=(0,eW.N)(e=>e.resumeEditor.prefillResumeSection),r=i===eZ.R4.failed?eZ.fA.failed:t;return(0,J.jsxs)(Bq,{onClose:e,children:[(()=>{switch(r){case eZ.fA.uploading:return(0,J.jsx)(BG.A,{});case eZ.fA.validated:return(0,J.jsx)(BZ.A,{});case eZ.fA.failed:return(0,J.jsx)(BX.A,{});default:return null}})(),(0,J.jsx)(BK,{})]})};let BY=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;overflow:hidden;background-color:",";border-radius:16px;z-index:30;padding:",";gap:",";",""],te.Jy.White,te.Kz.L,te.Kz.M,tQ.A.Phone`
3006    padding: 0px 20px 24px 20px;
3007    position: fixed;
3008    bottom: 0;
3009    left: 0;
3010    right: 0;
3011    border-bottom-left-radius: 0;
3012    border-bottom-right-radius: 0;
3013  `),B0=tt.Ay.div(["display:flex;align-items:center;justify-content:center;cursor:pointer;top:48px;right:48px;",""],tQ.A.Phone`
3014    top: 5px;
3015    right: 5px;
3016  `),B1=(0,tt.Ay)(tP.EK.Close)(["",";"],tQ.A.AbovePhone`
3017  color: ${te.Jy.Neutral50};
3018  border-radius: 28px;
3019  width: 28px;
3020  height: 28px;
3021  padding: 4px;
3022  background: ${te.Jy.Neutral10};
3023
3024  &:hover {
3025    background: ${te.Jy.Blue10};
3026    color: ${te.Jy.Blue50};
3027  }
3028
3029  `),B2=tt.Ay.div(["display:flex;width:100%;flex-direction:row;justify-content:space-between;gap:",";",";"],te.Kz["2XS"],tQ.A.Phone`
3030    gap: ${te.Kz["3XS"]};
3031  `),B3=tt.Ay.p(["",";font-weight:600;color:",";"],td.Ay.S,te.Jy.Neutral90);td.Ay.Body,te.Jy.Neutral50;let B5=tt.Ay.div(["display:flex;flex-direction:column;width:100%;"]),B4=tt.Ay.div(["width:25px;height:4px;border-radius:4px;background:",";margin:8px auto 12px auto;",""],te.Jy.Neutral30,tQ.A.AbovePhone`display: none`);var B6=i.p+"media/create-with-linkedin712c55b8ecb40d1b.svg";let B8=tt.Ay.div(["display:grid;grid-template-rows:",";width:520px;gap:",";",""],e=>`repeat(${e.gridCount}, 1fr)`,te.Kz["2XS"],tQ.A.Phone`
3032    width: 311px;
3033  `),B9=tt.Ay.div(["width:100%;height:100%;display:flex;flex-direction:row;align-items:center;background-color:",";border-radius:6px;padding:",";gap:",";",""],te.Jy.Neutral5,te.Kz.S,te.Kz.XS,tQ.A.AboveTablet`
3034  &:hover {
3035    cursor: pointer;
3036    background-color: ${te.Jy.Blue10};
3037  }
3038`),B7=tt.Ay.div([""]),De=tt.Ay.p([""," "," ",""],td.BO.Medium,td.Ay.Body,tQ.A.AboveTablet`
3039    ${B9}:hover & {
3040      color: ${te.Jy.Blue50};
3041    }
3042  `),Dt=(0,tt.Ay)(B9)(["",""],tQ.A.AboveTablet`
3043    &:hover {
3044      background-color: ${te.Jy.Indigo10}; // Different background color for AI resume card hover
3045    }
3046  `),Di=tt.Ay.div(["margin-left:auto;height:24px;width:24px;& > div{width:inherit;height:inherit;}"]),Dr=tt.Ay.div(["margin-left:auto;",""],tQ.A.AboveTablet`
3047    ${B9}:hover & {
3048      svg path {
3049        fill: ${te.Jy.Blue50};
3050      }
3051    }
3052  `),Dn=(0,tt.Ay)(Dr)(["",""],tQ.A.AboveTablet`
3053    ${B9}:hover & {
3054      svg path {
3055        fill: ${te.Jy.Indigo50};
3056      }
3057    }
3058  `),Do=tt.Ay.div([""]),Da=tt.Ay.img(["width:32px;height:32px;"]),Dl=(0,tt.Ay)(De)(["margin-bottom:0px;",""],tQ.A.AboveTablet`
3059    ${B9}:hover & {
3060      color: ${te.Jy.Indigo60};
3061    }
3062  `),Ds=tt.Ay.div(["display:flex;align-items:flex-start;gap:8px;"]),Dd=tt.Ay.div(["display:flex;justify-content:center;align-items:center;width:28px;height:20px;padding:0 4px;border-radius:4px;background:rgba(219,222,255,0.5);color:",";"],te.Jy.Indigo60),Dc=tt.Ay.img([""]),Du=(0,tt.Ay)(tP.Ay.ToggleArrow)(["color:",";"],te.Jy.Neutral40),Dp=({onClose:e})=>{let{i18n:t}=(0,e1.s)(),{handleStartWithLinkedIn:i}=BV();return(0,J.jsxs)(B9,{onClick:()=>
3062{(0,N.xP)(eZ.x6.clickCreateWithLiStartScreen),e(),i()},children:[(0,J.jsx)(Do,{children:(0,J.jsx)(Da,{src:B6,alt:"With Linkedin Profile"})}),(0,J.jsx)(B7,{children:(0,J.jsx)(De,{children:t.t("builder.prefill_resume.create_with_linkedin")})}),(0,J.jsx)(Dr,{children:(0,J.jsx)(Du,{})})]})};var Dh=i.p+"media/create-new-resume4eda553e32f51c6f.svg";let Dx=({onClose:e,onClick:t,customTitle:i})=>{let{i18n:r}=(0,e1.s)();return(0,J.jsxs)(B9,{onClick:()=>{(0,N.xP)(eZ.x6.clickCreateResume),t&&t(),e()},children:[(0,J.jsx)(Do,{children:(0,J.jsx)(Da,{src:Dh,alt:"Create New Resume"})}),(0,J.jsx)(B7,{children:(0,J.jsx)(De,{children:i||r.t("builder.prefill_resume.create_resume")})}),(0,J.jsx)(Dr,{children:(0,J.jsx)(Du,{})})]})};var Dm=i.p+"media/create-with-aic46985159d1b2744.svg",Dg=i.p+"media/star3f685e0024773e82.svg";let Dy=({onClose:e})=>{let{i18n:t}=(0,e1.s)(),{handleCreateWithAi:i}=BV();return(0,J.jsxs)(Dt,{onClick:()=>{(0,N.xP)(eZ._t.clickCreateWithAI),i(),e()},children:[(0,J.jsx)(Do,{children:(0,J.jsx)(Da,{src:Dm,alt:"Create with AI"})}),(0,J.jsx)(B7,{children:(0,J.jsxs)(Ds,{children:[(0,J.jsx)(Dl,{children:t.t("builder.ai_resume_draft.create_with_ai")}),(0,J.jsx)(aH.Ay,{value:t.t("builder.ai_resume_draft.ai_powered"),children:(0,J.jsx)(Dd,{children:(0,J.jsx)(Dc,{src:Dg,alt:"AI star"})})})]})}),(0,J.jsx)(Dn,{children:(0,J.jsx)(Du,{})})]})};var Df=i.p+"media/create-from-example2f4a5084ff28f3b8.svg";let Db=({onClose:e})=>{let{i18n:t}=(0,e1.s)(),{handleUseExample:i,hasResumeExamples:r,fetchingResumeExamples:n}=BV();return(0,J.jsxs)(B9,{onClick:()=>{(0,N.xP)(eZ.pn.clickUseAnExampleStartScreen),i(),r&&e()},children:[(0,J.jsx)(Do,{children:(0,J.jsx)(Da,{src:Df,alt:"Use resume example"})}),(0,J.jsx)(B7,{children:(0,J.jsx)(De,{children:t.t("builder.use_example.option.heading")})}),n?(0,J.jsx)(Di,{children:(0,J.jsx)(du.y$,{})}):(0,J.jsx)(Dr,{children:(0,J.jsx)(Du,{})})]})},D_=tt.Ay.div(["display:flex;flex-direction:column;width:520px;gap:",";",""],te.Kz["2XS"],tQ.A.Phone`
3063    width: 100%
3064  `),Dv=tt.Ay.div(["width:100%;height:100%;display:flex;flex-direction:row;align-items:center;background-color:",";border-radius:6px;padding:",";gap:",";",""],te.Jy.Neutral5,te.Kz.S,te.Kz.XS,tQ.A.AboveTablet`
3065  &:hover {
3066    cursor: pointer;
3067    background-color: ${te.Jy.Blue10};
3068  }
3069`),Dj=tt.Ay.p([""," "," ",""],td.BO.Medium,td.Ay.Body,tQ.A.AboveTablet`
3070    ${Dv}:hover & {
3071      color: ${te.Jy.Blue50};
3072    }
3073  `);(0,tt.Ay)(Dv)(["",""],tQ.A.AboveTablet`
3074    &:hover {
3075      background-color: ${te.Jy.Indigo10}; // Different background color for AI resume card hover
3076    }
3077  `);let DA=tt.Ay.div(["margin-left:auto;",""],tQ.A.AboveTablet`
3078    ${Dv}:hover & {
3079      svg path {
3080        fill: ${te.Jy.Blue50};
3081      }
3082    }
3083  `);(0,tt.Ay)(DA)(["",""],tQ.A.AboveTablet`
3084    ${Dv}:hover & {
3085      svg path {
3086        fill: ${te.Jy.Indigo50};
3087      }
3088    }
3089  `),(0,tt.Ay)(Dj)(["margin-bottom:0px;",""],tQ.A.AboveTablet`
3090    ${Dv}:hover & {
3091      color: ${te.Jy.Indigo60};
3092    }
3093  `),te.Jy.Indigo60,(0,tt.Ay)(tP.Ay.ToggleArrow)(["color:",";"],te.Jy.Neutral40);var DC=i(44706),Dw=i(32211);let Dk=tt.Ay.div(["display:flex;padding:",";flex-direction:column;align-items:center;gap:",";align-self:stretch;border-radius:8px;border:1px dashed ",";background:",";cursor:pointer;height:220px;justify-content:center;"," ",""],te.Kz.L,te.Kz.XS,({$hasError:e})=>e?te.Jy.Red50:te.Jy.Neutral30,({$isDragging:e})=>e?te.Jy.Blue10:te.Jy.White,({$hasError:e,$disableHover:t})=>!e&&!t&&(0,tt.AH)(["&:hover{border:1px solid ",";background:",";}"],te.Jy.Blue50,te.Jy.Blue10),tQ.A.Phone`
3094    height: 192px;
3095  `),DS=tt.Ay.div(["width:100%;display:flex;flex-direction:column;gap:12px;"]),DT=tt.Ay.img(["width:80px;height:80px;flex-shrink:0;",""],tQ.A.Phone`
3096    width: 60px;
3097    height: 60px;
3098
3099  `),DP=tt.Ay.div(["color:",";text-align:center;",";"," ",""],te.Jy.Neutral90,td.Ay.Body,td.BO.Medium,({$disableHover:e})=>!e&&(0,tt.AH)(["",":hover &{color:",";}"],Dk,te.Jy.Blue50)),DJ=tt.Ay.div(["color:",";text-align:center;",";",""],te.Jy.Neutral50,td.Ay.Caption,td.BO.Regular),DE=tt.Ay.div(["width:100%;height:4px;border-radius:2px;background-color:",";"],te.Jy.Neutral10),DR=tt.Ay.div(["width:",";height:inherit;border-radius:inherit;background-color:",";transition:width 0.15s ease-out;"],e=>`${e.progress}%`,te.Jy.Blue50),DL=tt.Ay.div(["text-align:center;color:",";",";",""],te.Jy.Red50,td.Ay.Caption,td.BO.Regular),DN=()=>{let{i18n:e}=(0,e1.s)(),t=(0,R.useRef)(null),i=(0,eU.wA)(),r=(0,eW.N)($.Tp.resume),[n,o]=(0,R.useState)(!1),{progress:a,startProgress:l}=((e=5e3,t=1)=>{let[i,r]=(0,R.useState)(0),[n,o]=(0,R.useState)(!1),a=(0,R.useCallback)(()=>{o(!0),r(0)},[]);return(0,R.useEffect)(()=>
3099{if(!n)return;let i=setInterval(()=>{r(e=>{let i=e+t;return i>=100?(o(!1),100):i})},e/(100/t));return()=>clearInterval(i)},[n,e,t]),{progress:i,startProgress:a}})(15e3,1),{resumeValidationStatus:s,selectedResume:d,resumeUploadStatus:c,validationError:u,errorSource:p}=(0,eW.N)($.Tp.prefillResumeSection),h=(0,R.useCallback)(t=>{t.size>BF.n9?(i($.o1.setResumeValidationStatus(eZ.fA.failed)),i($.o1.setResumeValidationError({error:e.t("builder.prefill_resume.auto_tailoring_view.upload_resume_card.file_size_error"),errorSource:eZ.zv.validation}))):BF.D9.includes(t.type)?((0,N.xP)(eZ.x6.completeResumeUpload),i($.o1.setResumeValidationStatus(eZ.fA.validated)),i($.o1.setResumeValidationError({error:null,errorSource:null}))):(i($.o1.setResumeValidationStatus(eZ.fA.failed)),i($.o1.setResumeValidationError({error:e.t("builder.prefill_resume.auto_tailoring_view.upload_resume_card.unsupported_file_type_error"),errorSource:eZ.zv.validation})))},[i,e]);(0,R.useEffect)(()=>{c===eZ.R4.failed&&i($.o1.setResumeValidationError({error:e.t("builder.prefill_resume.auto_tailoring_view.upload_resume_card.generic_error"),errorSource:eZ.zv.validation}))},[c,i,e]);let x=e=>{e&&((0,N.xP)(eZ.x6.clickUploadResume),i($.o1.setResumeValidationStatus(eZ.fA.uploading)),i($.o1.setResumeForPrefill(e)),h(e))},[m,g]=(0,R.useState)(!1);(0,R.useEffect)(()=>{p===eZ.zv.validation&&(g(!1),(0,N.xP)(eZ.x6.seeResumeUploadError,{error:u})),p===eZ.zv.parsing&&(g(!1),(0,N.xP)(eZ.x6.seeResumeParsingError))},[p,u]),(0,R.useEffect)(()=>{s===eZ.fA.validated&&d&&r&&(g(!0),l(),i($.o1.parseAndSavePrefilledResume({selectedResume:d,resumeId:r.id,keepResumeData:!0})))},[s,i,r,d,l]);let{isPhone:y}=(0,ih.e)();return s===eZ.fA.uploading||s===eZ.fA.validated||m?(0,J.jsx)(Dk,{$disableHover:!0,children:(0,J.jsxs)(DS,{children:[(0,J.jsx)(DP,{$disableHover:!0,children:e.t("builder.prefill_resume.auto_tailoring_view.upload_resume_card.uploading")}),(0,J.jsx)(DE,{children:(0,J.jsx)(DR,{progress:a})})]})}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(Dk,{onClick:()=>{t.current?.click()},$hasError:!!u,$isDragging:n,onDrop:e=>{e.preventDefault(),o(!1);let t=e.dataTransfer.files;t.length>0&&x(t[0])},onDragOver:e=>{e.preventDefault(),o(!0)},children:[(0,J.jsx)(DT,{src:Dw}),(0,J.jsxs)("div",{children:[(0,J.jsx)(DP,{children:e.t(`builder.prefill_resume.auto_tailoring_view.upload_resume_card.title${y?"_mobile":""}`)}),(0,J.jsx)(DJ,{children:e.t("builder.prefill_resume.auto_tailoring_view.upload_resume_card.description")})]}),(0,J.jsx)("input",{style:{display:"none"},type:"file",onChange:e=>{x(e.target.files?.[0]||null)},accept:DC.fg,ref:t})]}),u&&(0,J.jsx)(DL,{children:u})]})};var DI=({onClose:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,e0.U)(),{aiResumeDraft:r=!1,startWithExamples:n=!1,uploadResume:o=!1,startWithLinkedin:a=!1}=i?.features??{};return(0,J.jsxs)(D_,{children:[o&&(0,J.jsx)(DN,{}),(0,J.jsx)(Dx,{customTitle:t.t("builder.prefill_resume.create_from_scratch"),onClose:e}),a&&(0,J.jsx)(Dp,{onClose:e}),r&&(0,J.jsx)(Dy,{onClose:e}),n&&(0,J.jsx)(Db,{onClose:e})]})};let DM=({onClose:e})=>{let{i18n:t}=(0,e1.s)();return(0,R.useEffect)(()=>{(0,N.xP)(eZ.x6.seeStartScreen)},[]),(0,J.jsxs)(BY,{children:[(0,J.jsxs)(B5,{children:[(0,J.jsx)(B4,{}),(0,J.jsxs)(B2,{children:[(0,J.jsx)(B3,{children:t.t("builder.prefill_resume.auto_tailoring_view.title")}),(0,J.jsx)(B0,{onClick:()=>{(0,N.xP)(eZ.x6.clickCrossButtonStartScreen),e()},children:(0,J.jsx)(B1,{})})]})]}),(0,J.jsx)(DI,{onClose:e})]})},DB=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;overflow:hidden;background-color:",";border-radius:16px;z-index:30;padding:48px;gap:",";",""],te.Jy.White,te.Kz.M,tQ.A.Phone`
3100    padding: 32px 20px;
3101  `),DD=tt.Ay.div(["position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer;top:48px;right:48px;",""],tQ.A.Phone`
3102    top: 5px;
3103    right: 5px;
3104  `),D$=(0,tt.Ay)(tP.EK.Close)(["color:",";position:absolute;border-radius:28px;width:28px;height:28px;padding:4px;background:",";&:hover{background:",";color:",";}",";"],te.Jy.Neutral50,te.Jy.Neutral10,te.Jy.Blue10,te.Jy.Blue50,tQ.A.Phone`
3105    width: 24px;
3106    height: 24px;
3107    padding: 2px;
3108    top: 20px;
3109    right: 20px;
3110  `),DO=tt.Ay.p(["",";font-weight:600;text-align:center;color:",";"],td.Ay.S,te.Jy.Neutral90);var Dz=i.p+"media/upload-resume50f1cf63db49c387.svg";let DF=()=>{let{i18n:e}=(0,e1.s)(),t=(0,R.useRef)(null);return(0,J.jsxs)(B9,{onClick:()=>{(0,N.xP)(eZ.x6.clickUploadResume),t.current?.click()},children:[(0,J.jsx)(Do,{children:(0,J.jsx)(Da,{src:Dz,alt:"Upload Resume"})}),(0,J.jsx)(B7,{children:(0,J.jsx)(De,{children:e.t("builder.prefill_resume.upload_resume")})}),(0,J.jsx)(Dr,{children:(0,J.jsx)(Du,{})}),(0,J.jsx)(BW,{ref:t})]})};var DH=(0,R.memo)(({onClose:e})=>{let t=(0,e0.U)(),{aiResumeDraft:i=!1,startWithExamples:r=!1,uploadResume:n=!1,startWithLinkedin:o=!1}=t?.features??{}
3110,a=[i,r,n,o].filter(Boolean).length;return(0,J.jsxs)(B8,{gridCount:a,children:[(0,J.jsx)(Dx,{onClose:e}),i&&(0,J.jsx)(Dy,{onClose:e}),n&&(0,J.jsx)(DF,{}),o&&(0,J.jsx)(Dp,{onClose:e}),r&&(0,J.jsx)(Db,{onClose:e})]})});let DV=(0,tt.Ay)(DB)(["padding:",";padding-bottom:",";",""],te.Kz.L,te.Kz.XL,tQ.A.Phone`
3111    align-items: flex-start;
3112    padding: 20px;
3113    padding-bottom: ${te.Kz.XL};
3114    border-radius: 12px;
3115    gap: 20px;
3116  `),DU=tt.Ay.div(["display:contents;",""],tQ.A.Phone`
3117    display: flex;
3118    align-items: center;
3119    justify-content: space-between;
3120    width: 100%;
3121  `),DW=(0,tt.Ay)(DD)(["",""],tQ.A.Phone`
3122    position: static;
3123    flex-shrink: 0;
3124  `),DK=({onClose:e})=>{let{i18n:t}=(0,e1.s)();return(0,R.useEffect)(()=>{(0,N.xP)(eZ.x6.seeStartScreen)},[]),(0,J.jsxs)(DV,{children:[(0,J.jsxs)(DU,{children:[(0,J.jsx)(DO,{children:t.t("builder.prefill_resume.start_title")}),(0,J.jsx)(DW,{onClick:()=>{(0,N.xP)(eZ.x6.clickCrossButtonStartScreen),e()},children:(0,J.jsx)(D$,{})})]}),(0,J.jsx)(DH,{onClose:e})]})};var Dq=i(99197);let DG=(e,t)=>{let i=document.createElement("a");return i.href=t,i.target="_blank",i.rel="noreferrer noopener",i.innerText=e,i.outerHTML};var DZ=i(83773),DX=i.p+"media/upload_scan271e99bbe91ff788.webm";let{White:DQ,Neutral10:DY,Neutral15:D0,Neutral50:D1,Neutral70:D2,Neutral90:D3,Blue50:D5,Red10:D4,Red50:D6}=te.Jy,{Body:D8,Caption:D9,S:D7}=td.Ay,{Regular:$e,Medium:$t,DemiBold:$i}=td.BO,$r=tt.Ay.div(["position:relative;display:flex;flex-direction:column;gap:",";width:544px;max-width:calc(100vw - 40px);overflow:hidden;background-color:",";border-radius:",";box-shadow:",";"," ",""],te.Kz.M,DQ,te.Kz.XS,te.qd.darkShadowHigh,tQ.A.Phone`
3125    width: 100%;
3126  `,({$isLoading:e})=>!e&&(0,tt.AH)(["padding:",";",""],te.Kz.L,tQ.A.Phone`
3127        padding: ${te.Kz.M};
3128      `)),$n=(0,tt.Ay)(JF.O)(["position:absolute;top:",";right:",";",""],te.Kz.L,te.Kz.L,tQ.A.Phone`
3129    top: ${te.Kz.M};
3130    right: ${te.Kz.M};
3131  `),$o=tt.Ay.div(["display:flex;flex-direction:column;gap:",";padding-right:44px;",""],te.Kz.XS,tQ.A.Phone`
3132    gap: ${te.Kz["2XS"]};
3133  `),$a=tt.Ay.h2(["",";",";color:",";"],D7,$t,D3),$l=tt.Ay.p(["",";",";color:",";"],D8,$e,D1),$s=tt.Ay.form(["display:flex;flex-direction:column;gap:",";"],te.Kz.M),$d=tt.Ay.input(["display:none;"]),$c=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["3XS"]),$u=tt.Ay.div(["display:flex;flex-direction:column;",""],({$hasError:e})=>e&&(0,tt.AH)(["padding:",";border:2px solid ",";border-radius:",";background-color:",";"],te.Kz["2XS"],D6,te.Kz["3XS"],D4)),$p=(0,tt.Ay)(i$.JQ)(["width:100%;"]),$h=tt.Ay.div(["display:flex;align-items:center;gap:",";padding:10px ",";background-color:",";border-radius:",";"],te.Kz["2XS"],te.Kz.XS,DY,te.Kz["3XS"]),$x=tt.Ay.div(["display:flex;flex-shrink:0;"]),$m=tt.Ay.span(["",";",";flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:",";"],D8,$t,D3),$g=tt.Ay.span(["",";",";flex:0 0 auto;white-space:nowrap;color:",";"],D8,$e,D1),$y=tt.Ay.button(["display:flex;flex-shrink:0;padding:0;border:none;background:none;cursor:pointer;svg{fill:",";}"],D2),$f=tt.Ay.div(["",";",";color:",";"],D9,$e,D6),$b=tt.Ay.div(["height:1px;background-color:",";"],D0),$_=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.XS),$v=tt.Ay.div(["display:flex;flex-direction:column;gap:",";",""],te.Kz["2XS"],tQ.A.Phone`
3134    gap: ${te.Kz.M};
3135  `),$j=(0,tt.Ay)(i$.JQ)(["width:100%;"]),$A=tt.Ay.div(["",";",";padding:10px 0;color:",";a{color:",";}",""],D9,$e,D1,D5,tQ.A.Phone`
3136    padding: 2px 0;
3137  `),$C=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.M),$w=tt.Ay.video(["display:block;width:calc(100% + 2px);margin:0 -1px;aspect-ratio:832 / 700;object-fit:cover;object-position:center 32%;"]),$k=tt.Ay.div(["display:flex;flex-direction:column;gap:",";padding:0 "," ",";",""],te.Kz.XS,te.Kz.L,te.Kz.L,tQ.A.Phone`
3138    padding: 0 ${te.Kz.M} ${te.Kz.M};
3139  `),$S=tt.Ay.div(["display:flex;align-items:center;gap:",";"],te.Kz["2XS"]),$T=tt.Ay.h2(["",";",";color:",";"],D7,$i,D3),$P=tt.Ay.p(["",";",";color:",";"],D8,$e,D3),$J="builder.upload_resume.guest_modal",$E="guest-builder",$R=({onClose:e,template:t})=>{let{i18n:i}=(0,e1.s)(),r=(0,e0.U)(X.l1.signUp),n=(0,R.useRef)(null),[o,a]=(0,R.useState)(null),[l,s]=(0,R.useState)(!1),[d,c]=(0,R.useState)(""),[u,p]=(0,R.useState)(null),[h,x]=(0,R.useState)(""),[m,g]=(0,R.useState)(!1),[y,f]=(0,R.useState)(!1),b=(0,R.useMemo)(()=>r?i.t(`${$J}.terms`,{termsLink:DG(i.t("builder.sign_up.terms_of_use"),r.links.tos),privacyLink:DG(i.t("builder.sign_up.privacy_policy"),r.links.privacyPolicy)}):"",[r,i]),_=(0,R.useCallback)(()=>{(0,N.xP)("click_exit_upload_modal",{flow:$E}),e()},[e]),v=(0,R.useCallback)(()=>{(0,N.xP)(eZ.x6.clickUploadCta,{flow:$E}),n.current?.click()},[]),j=(0,R.useCallback)(e=>{let t=e.target.files?.[0];if(t){if(!BF.D9.includes(t.type)||!(t.size<=BF.n9)){a(null),s(!0),(0,N.xP)("upload_resume_error",{flow:$E,error:t.type});return}a(t),s(!1),(0,N.xP)("upload_resume_success",{flow:$E})}},[]),A=(0,R.useCallback)(()=>{a(null),s(!1),n.current&&(n.current.value="")},[]),C=(0,R.useCallback)(e=>{c(e.target.value),p(null),x("")},[]),w=(0,R.useCallback)(async()=>{try{return await Y.R3.post("/builder/resume_upload/register",{email:d}),!0}catch(r){if(!Dq.A.isAxiosError(r)||!r.response)return f(!0),E.A.log(r),!1;let{userExists:e,error:t}=r.response.data;if(e){(0,N.xP)("upload_email_error",{reason:"email already exists"});let e=`<a href="/app/auth/sign-in">${i.t("builder.sign_up.log_in")}</a>`;return p((0,J.jsx)("span",{dangerouslySetInnerHTML:{__html:i.t("builder.sign_up.email_is_taken",{logInLink:e})}})),!1}return(0,N.xP)("upload_email_error",{reason:t||"other error"}),p(i.t("builder.sign_up.invalid_email")),!1}},[d,i]),k=(0,R.useCallback)(async e=>{let i=new FormData;i.append("resume",e),i.append("email",d),i.append("flow",$E),t&&i.append("template",t),(0,N.xP)("submit_sign_up_upload",{flow:$E});let{data:r}=await Y.R3.post("/builder/resume_upload/upload_and_parse",i);return r.documentId},[d,t]),S=(0,R.useCallback)(async e=>{if((e.preventDefault(),!m)&&(p(null),s(!o),d||p(i.t("builder.sign_up.field_is_required")),o&&d)){if
3139(!h){let e=await (0,DZ.a)(d);if(e)return void x(e)}if(g(!0),!await w())return void g(!1);(0,N._m)("Sign up","Upload CTA",{eventLabel:$E});try{let e=await k(o);window.location.assign(`/app/upload-flow?id=${e}&${eZ.Tt}=true`)}catch(e){E.A.log(e),g(!1),f(!0)}}},[d,o,i,m,w,h,k]),T=u||(h?`${i.t("builder.sign_up.did_you_mean")} ${h}? ${i.t("builder.sign_up.you_made_typo")}`:void 0);return(0,J.jsx)(i6.A,{onClick:_,overlayFadeDuration:150,contentSlideDuration:150,children:(0,J.jsxs)($r,{$isLoading:m,children:[(0,J.jsx)($n,{onClick:_}),m?(0,J.jsxs)($C,{children:[(0,J.jsx)($w,{src:DX,autoPlay:!0,loop:!0,muted:!0,playsInline:!0}),(0,J.jsxs)($k,{children:[(0,J.jsxs)($S,{children:[(0,J.jsx)(du.Ml,{$width:"24px",$height:"24px"}),(0,J.jsx)($T,{children:i.t(`${$J}.loading_title`)})]}),(0,J.jsx)($P,{children:i.t(`${$J}.loading_subtitle`)})]})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)($o,{children:[(0,J.jsx)($a,{children:i.t(`${$J}.title`)}),(0,J.jsx)($l,{children:y?i.t("builder.upload_resume.generic_error"):i.t(`${$J}.subtitle`)})]}),!y&&(0,J.jsxs)($s,{onSubmit:S,children:[(0,J.jsxs)($c,{children:[(0,J.jsx)($u,{$hasError:l,children:o?(0,J.jsxs)($h,{children:[(0,J.jsx)($x,{children:"application/pdf"===o.type?(0,J.jsx)(tP.qJ.Pdf,{}):(0,J.jsx)(tP.qJ.Word,{})}),(0,J.jsx)($m,{children:o.name}),(0,J.jsx)($g,{children:`${(o.size/1024/1024).toFixed(2)} MB`}),(0,J.jsx)($y,{type:"button","aria-label":i.t(`${$J}.clear_file`),onClick:A,children:(0,J.jsx)(tP.EK.Close,{})})]}):(0,J.jsx)($p,{type:"button",leadingIcon:(0,J.jsx)(tP.EK.Upload,{}),onClick:v,children:i.t(`${$J}.browse`)})}),l&&(0,J.jsx)($f,{children:i.t(`${$J}.file_error`)})]}),(0,J.jsx)($b,{}),(0,J.jsxs)($_,{children:[(0,J.jsx)(R2.A_,{type:"email",name:"email",value:d,label:i.t(`${$J}.email_label`),placeholder:i.t(`${$J}.email_placeholder`),error:T,onChange:C}),(0,J.jsxs)($v,{children:[(0,J.jsx)($j,{type:"submit",children:i.t(`${$J}.submit`)}),(0,J.jsx)($A,{dangerouslySetInnerHTML:{__html:b}})]})]}),(0,J.jsx)($d,{ref:n,type:"file",accept:BF.fg,onChange:j})]})]})]})})},$L=(0,tt.Ay)(DB)(["padding:",";padding-bottom:",";",""],te.Kz.L,te.Kz.XL,tQ.A.Phone`
3140    padding: 20px;
3141    padding-bottom: ${te.Kz.XL};
3142    border-radius: 12px;
3143    gap: 20px;
3144  `),$N=(0,tt.Ay)(B8)(["",""],tQ.A.Phone`
3145    width: 303px;
3146  `),$I=tt.Ay.div(["display:contents;"]),$M=(0,tt.Ay)(DD)([""]),$B=(0,R.memo)(e=>{let{handleClose:t,handleDisabledItemClick:i}=e,{isPhone:r}=(0,ih.e)(),{i18n:n}=(0,e1.s)(),o=(0,R.useRef)(null),[a,l]=(0,R.useState)(!1),{resume:s}=(0,R.useContext)(dI.j),d=(0,eW.N)(e=>X.Tp.config(e,X.l1.signUp)),c=d?.features?.guidedResumeUpload??!1;return(0,dl.h)(()=>{(0,N.xP)(eZ.x6.seeStartScreen)}),a?(0,J.jsx)($R,{template:s?.template,onClose:()=>l(!1)}):(0,J.jsx)(i6.A,{onClick:t,overlayFadeDuration:150,contentSlideDuration:150,fullScreen:r,children:(0,J.jsxs)($L,{children:[(0,J.jsxs)($I,{children:[(0,J.jsx)(DO,{children:n.t("builder.prefill_resume.start_title")}),(0,J.jsx)($M,{onClick:()=>{(0,N.xP)(eZ.x6.clickCrossButtonStartScreen),t()},children:(0,J.jsx)(D$,{})})]}),(0,J.jsxs)($N,{gridCount:2,children:[(0,J.jsxs)(B9,{onClick:()=>{(0,N.xP)(eZ.x6.clickCreateResume),t()},"data-testid":"prefill-create-new-resume",children:[(0,J.jsx)(Do,{children:(0,J.jsx)(Da,{src:Dh,alt:"Create New Resume"})}),(0,J.jsx)(B7,{children:(0,J.jsx)(De,{children:n.t("builder.prefill_resume.create_resume")})}),(0,J.jsx)(Dr,{children:(0,J.jsx)(Du,{})})]}),(0,J.jsxs)(B9,{onClick:()=>{((0,N.xP)(eZ.x6.clickUploadResume),c)?l(!0):o.current?.click()},children:[(0,J.jsx)(Do,{children:(0,J.jsx)(Da,{src:Dz,alt:"Upload Resume"})}),(0,J.jsx)(B7,{children:(0,J.jsx)(De,{children:n.t("builder.prefill_resume.upload_resume")})}),(0,J.jsx)(Dr,{children:(0,J.jsx)(Du,{})})]})]}),(0,J.jsx)(BH.zp,{type:"file",ref:o,onClick:e=>{e.stopPropagation()},onChange:e=>{let t=e.target.files?.[0];t&&i("uploadResume",t)},accept:DC.fg})]})})}),$D=()=>{let[e,t]=(0,i3.ok)(),{handleCreateWithAi:i,handleUseExample:r,handleResumeUpload:n,handleStartWithLinkedIn:o,handleCreateWithMcp:a}=BV(),{fileForPrefill:l,setFileForPrefill:s}=(0,R.useContext)(dI.j);return(0,dl.h)(()=>
3146{if(e.has(DC.kR)){switch(e.get(DC.kR)){case"createWithAi":i();break;case"useExample":r();break;case"uploadResume":n(l),l&&s(null);break;case"createWithLinkedIn":o();break;case"createWithMcpResume":a()}e.delete(DC.kR),t(e,{replace:!0})}}),null},$$=[{id:"bad",from:0,fillColor:te.Jy.Red50,strokeColor:te.Jy.White},{id:"ok",from:50,fillColor:te.Jy.Amber40,strokeColor:te.Jy.White},{id:"good",from:75,fillColor:te.Jy.Green40,strokeColor:te.Jy.White}],$O=100/6,$z="divisionGradientColorful",$F="divisionGradientGrey",$H="mainArcGradient",$V="blurGradient",$U="pointerFilter",$W=(e,t)=>{let i=null===e?$F:e>=t*$O?$z:$F;return`url(#${i})`},$K=tt.Ay.div(["position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;"]),$q=(0,tt.Ay)(function(e){let{score:t,className:i,pointerConfigs:r=$$,blurGradientColor:n=te.Jy.White,archStrokeColor:o=te.Jy.White,isPointerHidden:a}=e,l=(e=>{let t=Math.max(0,Math.min(100,null===e?100:e));if(t>=100)return"";let i=Math.PI*(1-t/100),r=115+106.35*Math.cos(i),n=111-106.35*Math.sin(i),o=115+83.36*Math.cos(i),a=111-83.36*Math.sin(i),l=+(i>Math.PI);return`M221.35 111
3147    A106.35 106.35 0 ${l} 0 ${r} ${n}
3148    L${o} ${a}
3149    A83.36 83.36 0 ${l} 1 198.36 111
3150    Z`})(t),s=((e,t)=>{if(null===e)return null;let i=t.sort((e,t)=>t.from-e.from).find(t=>e>=t.from);return i?.fillColor||null})(t,r),d=(e=>{if(null===e)return null;let t=Math.PI*(1-Math.max(0,Math.min(100,e))/100);return{x:115+94.855*Math.cos(t),y:111-94.855*Math.sin(t)}})(t);return(0,J.jsxs)("svg",{viewBox:"0 0 230 111",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,children:[(0,J.jsx)("path",{d:"M114.998 2.5C143.865 2.5 171.551 13.9296 191.966 34.2764C212.381 54.6234 223.852 82.2213 223.852 111V113.5H195.856V111C195.856 89.6313 187.339 69.1359 172.177 54.0234C157.014 38.9106 136.446 30.4189 114.998 30.4189C93.5507 30.419 72.9833 38.9107 57.8203 54.0234C42.6575 69.136 34.1406 89.6313 34.1406 111V113.5H6.14551V111C6.14551 82.2213 17.6165 54.6234 38.0312 34.2764C58.4457 13.9297 86.1313 2.50009 114.998 2.5Z",fill:`url(#${$H})`,stroke:o,strokeWidth:"5"}),l&&(0,J.jsx)("path",{d:l,fill:"#EFF2F9"}),(0,J.jsx)("path",{d:"M26.7744 62.1464L27.7405 60.4801L36.6397 65.5968L35.6736 67.2631L26.7744 62.1464Z",fill:$W(t,1)}),(0,J.jsx)("path",{d:"M63.482 24.9558L65.1506 23.9964L70.3028 32.8834L68.6342 33.8428L63.482 24.9558Z",fill:$W(t,2)}),(0,J.jsx)("path",{d:"M113.939 11.0168H115.863V21.2929H113.939V11.0168Z",fill:$W(t,3)}),(0,J.jsx)("path",{d:"M160.848 34.1381L159.179 33.1787L164.331 24.2917L166 25.2511L160.848 34.1381Z",fill:$W(t,4)}),(0,J.jsx)("path",{d:"M193.647 67.4451L192.681 65.7788L201.58 60.6621L202.546 62.3284L193.647 67.4451Z",fill:$W(t,5)}),(0,J.jsx)("rect",{y:"65",width:"230",height:"46",fill:`url(#${$V})`}),s&&d&&!a&&(0,J.jsx)("g",{filter:`url(#${$U})`,children:(0,J.jsx)("circle",{cx:d.x,cy:d.y,r:"14.5",stroke:"white",fill:s,strokeWidth:"5"})}),(0,J.jsxs)("defs",{children:[(0,J.jsxs)("filter",{id:$U,x:"-33",y:"-33",width:"296",height:"177",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,J.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,J.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,J.jsx)("feMorphology",{radius:"4",operator:"erode",in:"SourceAlpha",result:"effect1_dropShadow_1_142"}),(0,J.jsx)("feOffset",{dy:"8"}),(0,J.jsx)("feGaussianBlur",{stdDeviation:"10"}),(0,J.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.219608 0 0 0 0 0.443137 0 0 0 0.12 0"}),(0,J.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1_142"}),(0,J.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,J.jsx)("feMorphology",{radius:"1",operator:"erode",in:"SourceAlpha",result:"effect2_dropShadow_1_142"}),(0,J.jsx)("feOffset",{dy:"2"}),(0,J.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,J.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0588235 0 0 0 0 0.219608 0 0 0 0 0.443137 0 0 0 0.08 0"}),(0,J.jsx)("feBlend",{mode:"normal",in2:"effect1_dropShadow_1_142",result:"effect2_dropShadow_1_142"}),(0,J.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1_142",result:"shape"})]}),(0,J.jsxs)("linearGradient",{id:$H,x1:"8.64551",y1:"57.7282",x2:"221.351",y2:"57.7282",gradientUnits:"userSpaceOnUse",children:[(0,J.jsx)("stop",{stopColor:"#FFD0D5"}),(0,J.jsx)("stop",{offset:"0.498786",stopColor:"#FDDB8C"}),(0,J.jsx)("stop",{offset:"1",stopColor:"#C6E4D2"})]}),(0,J.jsxs)("linearGradient",{id:$V,x1:"115",y1:"65",x2:"115",y2:"111",gradientUnits:"userSpaceOnUse",children:[(0,J.jsx)("stop",{stopColor:n,stopOpacity:"0"}),(0,J.jsx)("stop",{offset:"1",stopColor:n})]}),(0,J.jsxs)("linearGradient",{id:$z,x1:"26.7744",y1:"39.0863",x2:"202.546",y2:"39.0863",gradientUnits:"userSpaceOnUse",children:[(0,J.jsx)("stop",{stopColor:"#FB4458"}),(0,J.jsx)("stop",{offset:"0.498786",stopColor:"#CF760D"}),(0,J.jsx)("stop",{offset:"1",stopColor:"#339D5D"})]}),(0,J.jsxs)("linearGradient",{id:$F,x1:"26.7744",y1:"39.0863",x2:"202.546",y2:"39.0863",gradientUnits:"userSpaceOnUse",children:[(0,J.jsx)("stop",{stopColor:te.Jy.Neutral20}),(0,J.jsx)("stop",{offset:"0.498786",stopColor:te.Jy.Neutral20}),(0,J.jsx)("stop",{offset:"1",stopColor:te.Jy.Neutral20})]})]})]})})(["width:230px;"]),$G=tt.Ay.div(["position:absolute;bottom:8px;left:50%;transform:translateX(-50%);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;"]),$Z=tt.Ay.div(["",";font-weight:",";"],te.o5.sizes.L,te.o5.weights.medium),$X=tt.Ay.span(["",";font-weight:",";"],te.o5.sizes.S,te.o5.weights.medium),$Q=tt.Ay.div(["",";font-weight:",";color:",";text-align:center;white-space:nowrap;"],te.o5.sizes.Caption,te.o5.weights.medium,te.Jy.Neutral50),$Y=(0,tt.Ay)(du.Ay)(["margin-bottom:12px;"]),$0="builder.resume_editor.match_score",$1=e=>{let{score:t,isLoading:i,className:r}=e,{i18n:n}=(0,e1.s)();return(0,J.jsxs)($K,{className:r,children:[(0,J.jsx)($q,{score:i?0:t,isPointerHidden:i}),(0,J.jsxs)($G,{children:[i?(0,J.jsx)($Y,{$width:"15px",$height:"15px"}
3150):(0,J.jsxs)($Z,{children:[t,(0,J.jsx)($X,{children:"%"})]}),(0,J.jsx)($Q,{children:i?n.t(`${$0}.loading`):n.t(`${$0}.description`)})]})]})},$2=tt.Ay.div(["padding:",";background:white;border-radius:",";display:flex;flex-flow:column;width:544px;",""],te.Kz.L,te.Kz.S,tQ.$.Phone`
3151    width: 100%;
3152    position: absolute;
3153    bottom: 0;
3154    left: 0;
3155    right: 0;
3156    border-bottom-left-radius: 0;
3157    border-bottom-right-radius: 0;
3158  `),$3=tt.Ay.div(["display:flex;justify-content:flex-end;"]),$5=tt.Ay.div(["display:flex;flex-flow:column;gap:",";"],te.Kz.M),$4=tt.Ay.div(["display:flex;flex-flow:column;gap:",";"],te.Kz.L),$6=tt.Ay.div(["display:flex;flex-flow:column;gap:",";"],te.Kz.M),$8=tt.Ay.div(["display:flex;flex-flow:column;gap:",";text-align:center;"],te.Kz["3XS"]),$9=tt.Ay.div(["",";b{font-weight:",";}"],te.o5.sizes.Subhead,te.o5.weights.medium),$7=tt.Ay.div(["color:",";"],te.Jy.Neutral50),Oe=tt.Ay.div(["text-align:center;b{font-weight:",";}"],te.o5.weights.medium),Ot="builder.resume_editor.upload_score_modal",Oi=e=>{let{onClose:t,jobPostingAPIData:i,resumeScoreAPIData:r}=e,{companyName:n,jobTitle:o,currentLocation:a}=i||{},{score:l}=r||{},s=(0,Lc.n)(l?.finalWeightedScore),{i18n:d}=(0,e1.s)(),c=d.t(`${Ot}.position_at_company`,{position:o,company:n});return(0,J.jsx)(R2.mH,{onClick:t,overlayFadeDuration:150,contentSlideDuration:0,children:(0,J.jsxs)($2,{children:[(0,J.jsx)($3,{children:(0,J.jsx)(JF.O,{onClick:t})}),(0,J.jsxs)($5,{children:[(0,J.jsxs)($4,{children:[(0,J.jsxs)($6,{children:[(0,J.jsx)($1,{score:s}),(0,J.jsxs)($8,{children:[(0,J.jsx)($9,{dangerouslySetInnerHTML:{__html:c}}),a&&(0,J.jsx)($7,{children:a})]})]}),(0,J.jsx)(Oe,{dangerouslySetInnerHTML:{__html:s>=75?d.t(`${Ot}.text_by_score.good`):s>=50?d.t(`${Ot}.text_by_score.ok`):d.t(`${Ot}.text_by_score.bad`)}})]}),(0,J.jsx)(i$.JQ,{onClick:t,children:d.t(`${Ot}.continue_button_text`)})]})]})})};var Or=e=>{let{onClose:t}=e,{isPhone:i}=(0,ih.e)(),{resumeValidationStatus:r}=(0,eW.N)(e=>e.resumeEditor.prefillResumeSection),n=r===eZ.fA.notStarted,o=(0,eW.N)($.Tp.autoTailoringFromJobBoard);return(0,J.jsx)(i6.A,{onClick:t,overlayFadeDuration:150,contentSlideDuration:150,fullScreen:i,children:o.enabled?(0,J.jsx)(DM,{onClose:t}):n?(0,J.jsx)(DK,{onClose:t}):(0,J.jsx)(BQ,{onClose:t})})},On=i.p+"media/editor-loader967c48dfd468319c.svg";let{Neutral50:Oo,Neutral10:Oa,Blue50:Ol,White:Os}=te.Jy,Od=tt.Ay.div([""]),Oc=tt.Ay.div(e=>{let{isLinkedInFlow:t}=e;return(0,tt.AH)(["width:520px;border-radius:16px;padding-top:48px;padding-left:52px;padding-right:52px;background:",";display:flex;flex-direction:column;align-items:center;position:relative;",";",""],Os,t?(0,tt.AH)(["padding-bottom:48px;",""],tQ.A.Phone`
3159            padding-bottom: 0px;
3160          `):(0,tt.AH)(["min-height:792px;padding-bottom:40px;",""],tQ.A.Phone`
3161            padding-bottom: 30px;
3162          `),tQ.A.Phone`
3163    min-height: unset;
3164    border-radius: 0px;
3165    height: 100%;
3166    padding-top: 52px;
3167    padding-left: 36px;
3168    padding-right: 36px;
3169    overflow: auto;
3170  `)}),Ou=tt.Ay.div(["position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer;"]),Op=(0,tt.Ay)(Ou)(["top:32px;right:32px;width:28px;height:28px;color:",";background:",";border-radius:100%;transition:color 0.15s;",""],Oo,Oa,tQ.A.AboveTablet`
3171    &:hover {
3172      color: ${Ol};
3173    }
3174  `),Oh=tt.Ay.button(["display:inline-flex;align-items:center;"," "," border:none;border-radius:20px;color:",";background-color:",";padding:4px 12px 4px 6px;position:absolute;top:20px;left:14px;"],td.Ay.Caption,td.BO.DemiBold,Oo,Oa),Ox=(0,tt.Ay)(Op)(["top:22px;right:22px;"]),Om=tt.Ay.span(["transform:rotate(180deg);"]);var Og=i.p+"media/ai-stars1463c55b40505930.svg";let Oy=e=>{let{inputAudio:t,inputAudioDuration:i}=e,r=(0,R.useRef)(null),n=(0,R.useRef)(null),[o,a]=(0,R.useState)(i&&i>0?i:0),[l,s]=(0,R.useState)(t&&t.length>0?[...t]:[]),[d,c]=(0,R.useState)(""),[u,p]=(0,R.useState)(!1),h=()=>{u||(r.current=null,n.current=null,a(0),s([]),p(!1))},x=async()=>{if(!u)try{h();let e=await navigator.mediaDevices.getUserMedia({audio:!0}),t=await navigator.permissions.query({name:"microphone"});
3174"granted"===t.state&&(r.current=new MediaRecorder(e),r.current.ondataavailable=e=>{e.data.size>0&&s(t=>[...t,e.data])},r.current.start(),p(!0),n.current=setInterval(()=>a(e=>e+1),1e3))}catch(e){c(`${e}`)}};return(0,R.useEffect)(()=>{i&&i>0&&a(i)},[i]),(0,R.useEffect)(()=>{t&&t.length>0&&s([...t])},[t]),{audioChunks:l,duration:o,errorWhileRecording:d,isRecording:u,onClearRecording:h,onStartRecording:x,onStopRecording:()=>{u&&r.current&&(r.current.stream.getTracks().forEach(e=>{e.stop()}),r.current.stop(),p(!1),clearInterval(n.current),n.current=null)}}};var Of=i(93871),Ob=Of.Gh;let O_=tt.Ay.div(["width:100%;",""],tQ.A.Phone`
3175    margin-bottom: 110px;
3176  `),Ov=(0,R.memo)(()=>{let{desiredPosition:e}=(0,eW.N)(e=>e.resumeEditor.aiResume.questionnaireData.userInput),t=(0,eU.wA)(),{i18n:i}=(0,e1.s)();return(0,R.useEffect)(()=>{(0,N.xP)(eZ._t.seeDesiredJobStep,{label:eZ.ux.aiResume})},[]),(0,J.jsx)(O_,{children:(0,J.jsx)(re.A,{value:e,name:"desiredPosition",label:i.t("builder.ai_resume_draft.desired_job.desired_job_title"),onChange:e=>{let{value:i}=e.target;t($.o1.setAIResumeDesiredPostion(i))}})})});var Oj=i(22090),OA=Oj.V,OC=i(69208);let Ow=tt.Ay.div(["width:100%;display:flex;flex-direction:column;justify-content:center;gap:16px;"]),Ok=tt.Ay.div(["text-align:start;"]),OS=tt.Ay.span([""," "," margin-right:8px;"],td.Ay.Caption,td.BO.DemiBold),OT=tt.Ay.div(["display:inline-flex;flex-direction:row;height:24px;padding:4px 6px;margin-right:6px;margin-bottom:6px;justify-content:center;align-items:center;",""],td.Ay.Tiny),OP=(0,tt.Ay)(OT)(["background-color:",";color:",";"],te.Jy.Blue10,te.Jy.Blue50),OJ=(0,tt.Ay)(tP.EK.Close)(["opacity:0;height:0;width:0;transition:all 0.3s ease-in-out;",":hover &{opacity:1;height:auto;width:auto;transition:all 0.3s ease-in-out;}"],OP),OE=(0,R.memo)(()=>{let e=(0,eU.wA)();(0,R.useEffect)(()=>{(0,N.xP)(eZ._t.seeSkillsStep,{label:eZ.ux.aiResume})},[]);let{currentSkills:t}=(0,eW.N)(e=>e.resumeEditor.aiResume.questionnaireData.userInput),[i,r]=(0,R.useState)("");return(0,J.jsxs)(Ow,{children:[t.length>0&&(0,J.jsxs)(Ok,{"data-testid":"selected-skills",children:[(0,J.jsx)(OS,{children:i7.R.t("builder.ai_resume_draft.skills_screen.selected_skills")}),t.map((t,i)=>(0,J.jsxs)(OP,{children:[(0,J.jsxs)(Od,{children:[t," "]}),(0,J.jsx)(Od,{"data-testid":"remove-skill",onClick:()=>{e($.o1.removeFromCurrentSkills(t))},children:(0,J.jsx)(OJ,{})})]},i))]}),(0,J.jsx)(re.A,{name:"title",label:i7.R.t("builder.ai_resume_draft.skills_screen.skills"),value:i,onChange:e=>{let{value:t}=e.target;r(t)},onKeyUp:n=>{let o;"Enter"===n.key&&(""!==(o=i.trim())&&(e($.o1.updateCurrentSkills(o)),0>(0,OC.F)(t,o)&&(0,N.xP)(eZ._t.addSkill,{label:eZ.ux.skills})),r(""))}})]})}),{Neutral5:OR,Neutral90:OL,Neutral50:ON,White:OI}=te.Jy,OM=tt.Ay.div(["position:relative;display:flex;background-color:",";border-radius:12px;padding:4px;"],OR),OB=tt.Ay.div(e=>{let{isActive:t,isDisabled:i}=e;return(0,tt.AH)([""," "," transition:color 0.1s;cursor:pointer;pointer-events:",";padding:8px 12px;color:",";",""],td.Ay.Caption,td.BO.Medium,i?"none":"",t?OL:ON,t?{"border-radius":"8px","background-color":`${OI}`,"box-shadow":"0px 2px 4px 0px rgba(15, 56, 113, 0.08), 0px 1px 2px 0px rgba(15, 56, 113, 0.12)"}:{})}),OD=(0,R.memo)(({children:e,...t})=>{let i=(0,R.useRef)(null),r=(0,R.useRef)(null),n=R.Children.map(e,e=>(0,R.isValidElement)(e)&&e.props.isActive?R.cloneElement(e,{...e.props,ref:r}):e);return(0,J.jsx)(OM,{ref:i,...t,children:n})});var O$=i(71513),OO=(0,R.memo)(()=>{let e=(0,eU.wA)(),{step:t,userInput:{pastAccomplishments:i,futureGoals:r}}=(0,eW.N)(e=>e.resumeEditor.aiResume.questionnaireData),n=6===t;return(0,J.jsx)(O$.EE,{value:n?r:i,rows:6,placeholder:i7.R.t("builder.ai_resume_draft.text_voice_input.text_placeholder"),onChange:t=>e(n?$.o1.setFutureGoalsText(t.target.value):$.o1.setPastAccomplishmentsText(t.target.value))})});let Oz=e=>{let t=Math.floor(e/60),i=e%60;return`${(t<10?"0":"")+t}:${(i<10?"0":"")+i}`};var OF=i.p+"media/voice-input-not-started49e26cb2d68717aa.png",OH=i.p+"media/voice-input-animation43e02b427acb8020.gif",OV=i.p+"media/voice-input-completed3975363ae732120b.png";let OU=(0,R.memo)(e=>{let{audioChunks:t,duration:i,errorWhileRecording:r,isRecording:n,onStopRecording:o}=e,a=(0,eU.wA)(),{step:l,accomplishmentsVoiceProcessingStatus:s,accomplishmentsVoiceInputError:d,goalsVoiceProcessingStatus:c,goalsVoiceInputError:u}=(0,eW.N)(e=>e.resumeEditor.aiResume.questionnaireData),p=6===l,h=(p?c:s)===eZ.Nh.failed,x=r.includes("Permission denied"),m=r.includes("is not a valid value for enumeration PermissionName"),g=(0,R.useMemo)(()=>p?u:d,[p,u,d]);return(0,R.useEffect)(()=>{n&&i>=300&&o()}
3176,[i,n,o]),(0,R.useEffect)(()=>{if(r){let[e,t]=m?[eZ.AB.unsupportedBrowser,eZ._t.seeMicrophoneBrowserErrorScreen]:x?[eZ.AB.permissionDenied,eZ._t.seeMicrophoneAccessErrorScreen]:[eZ.AB.unknown,eZ._t.seeRecordingError];g!==e&&((0,N.xP)(t,{label:p?eZ.ux.careerGoals:eZ.ux.professionalHighlights}),o(),a(p?$.o1.setGoalsVoiceProcessingStatus(eZ.Nh.failed):$.o1.setAccomplishmentsVoiceProcessingStatus(eZ.Nh.failed)),a(p?$.o1.setGoalsVoiceInputError(e):$.o1.setAccomplishmentsVoiceInputError(e)))}},[d,g,a,r,m,p,x,u,o]),(0,J.jsxs)(J.Fragment,{children:[n?(0,J.jsx)(O$.bw,{src:OH}):0===t.length?(0,J.jsx)(O$.w0,{src:OF}):(0,J.jsx)(O$.w0,{src:OV}),h&&g&&(0,J.jsxs)(O$.Ns,{children:[(0,J.jsx)(O$.lh,{}),i7.R.t(`builder.ai_resume_draft.text_voice_input.${g===eZ.AB.unsupportedBrowser?"browser_issue":g===eZ.AB.permissionDenied?"permission_issue":"processing_failed"}`)]}),!h&&(0,J.jsxs)(O$.pZ,{children:[t.length>0&&(0,J.jsxs)(O$.Xi,{style:{color:te.Jy.Neutral90,marginRight:"4px",padding:"8px"},onClick:()=>{a($.o1.setShowAIResumeWarningModal({showModal:!0,type:eZ.cK.retake}))},children:[(0,J.jsx)(O$.e7,{style:{color:te.Jy.Neutral90}}),i7.R.t("builder.ai_resume_draft.text_voice_input.retake")]}),(0,J.jsxs)(O$.Al,{children:[Oz(i)," / ",Oz(300)]})]}),n&&(0,J.jsx)(O$.Ig,{children:i7.R.t("builder.ai_resume_draft.text_voice_input.recording")})]})}),OW=(0,R.memo)(e=>{let{activeTab:t,onTabChange:i,...r}=e,{step:n}=(0,eW.N)(e=>e.resumeEditor.aiResume.questionnaireData),o=(0,R.useMemo)(()=>{switch(t){case DC.DF.voice_input:return(0,J.jsx)(OU,{...r});case DC.DF.text_input:return(0,J.jsx)(OO,{})}},[t,r]);return(0,R.useEffect)(()=>{(0,N.xP)(5===n?eZ._t.seeProfessionalHighlightsStep:eZ._t.seeCareerGoalsStep,{label:eZ.ux.aiResume})},[n]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(OD,{children:Object.values(DC.DF).map((e,n)=>(0,J.jsx)(OB,{isActive:e===t,onClick:i,isDisabled:r.isRecording,children:i7.R.t(`builder.ai_resume_draft.text_voice_input.${e}`)},n))}),o]})});var OK=i.p+"media/no-photo-composition9f15dc75e2d97cb3.png",Oq=i(72388);let OG=/^(https?:\/\/)?(www\.)?linkedin.com\/in\/([-a-zA-Z0-9]+)/,OZ="builder.prefill_resume.create_resume_with_linkedin",OX=(e,t)=>{let{workExperience:i,desiredPosition:r,education:n,currentSkills:o,pastAccomplishments:a,futureGoals:l}=e;if(t||r||o.length||a||l)return!0;for(let e of i.cards)if(!(0,Of.IM)(e))return!0;for(let e of n.cards)if(!(0,Oj.y)(e))return!0;return!1};var OQ=(0,R.memo)(()=>{let e=(0,eU.wA)();(0,R.useEffect)(()=>{(0,N.xP)(eZ._t.seeLinkedInPrefillscreen,{label:eZ.ux.aiResume})},[]);let{linkedInData:{linkedInProfileURL:t,fetchingLinkedInProfile:i},questionnaireData:{userInput:r}}=(0,eW.N)(e=>e.resumeEditor.aiResume),n=OG.test(t.toLowerCase()),[o,a]=(0,R.useState)(eZ.Hp.notAsked),[l,s]=(0,R.useState)(null);(0,o$.default)(()=>{let e="";t&&(n?(a(eZ.Hp.loaded),s(null),e="ok"):(a(eZ.Hp.failed),s(i7.R.t("builder.ai_resume_draft.linkedin.link_incorrect")),e="failed"),(0,N.xP)(eZ._t.provideLinkedInLink,{link:t,status:e,label:eZ.ux.linkedInPrefillScreen}))},1e3,[t]),(0,R.useEffect)(()=>{t||l!==i7.R.t("builder.ai_resume_draft.linkedin.link_incorrect")||s(null)},[t,l]);let d=()=>{if((0,N.xP)(eZ._t.clickContinue,{label:eZ.ux.linkedInPrefillScreen}),!l)if(""===t)s(i7.R.t("builder.ai_resume_draft.linkedin.link_empty"));else{let i=t.toLowerCase();i=(i=i.startsWith("https")||i.startsWith("http")?i:`https://${i}`).replace(/:\/\/(?!www\.)/,"://www."),e($.o1.fetchLinkedInProfile({linkedInProfileURL:i}))}},c=()=>{(0,N.xP)(eZ._t.clickSkip,{label:eZ.ux.linkedInPrefillScreen}),e($.o1.setAIResumeFlow(eZ.Z2.Questionnaire))},u=()=>i?(0,J.jsx)(Oq.mP,{}):i7.R.t("builder.ai_resume_draft.continue");return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(Oq.xI,{children:[(0,J.jsx)(Oq._V,{src:OK,alt:"Create Resume With LinkedIn"}),(0,J.jsxs)(Oq.ZT,{children:[(0,J.jsx)(Oq.hE,{children:i7.R.t(`${OZ}.prefill_modal.title`)}),(0,J.jsx)(Oq.tK,{children:i7.R.t(`${OZ}.prefill_modal.description`)})]}),(0,J.jsx)(Oq.Dv,{children:(0,J.jsx)(re.A,{value:t,name:"linkedInURL",placeholder:i7.R.t(`${OZ}.prefill_modal.input_placeholder`),onChange:t=>{let{value:i}=t.target;(e($.o1.setLinkedInProfileURL(i)),i)?o!==eZ.Hp.loading&&a(eZ.Hp.loading):a(eZ.Hp.notAsked)},inputIcon:(e=>{switch(e){case eZ.Hp.loading:return(0,J.jsx)(Oq.nU,{});case eZ.Hp.loaded:return(0,J.jsx)(Oq.gJ,{});case eZ.Hp.failed:return(0,J.jsx)(Oq.H2,{});default:return(0,J.jsx)(J.Fragment,{})}})(o),inputIconPosition:"right",error:l})})]}),(0,J.jsxs)(Oq.aB,{children:[(0,J.jsx)(Oq.Zb,{theme:"ghost",onClick:()=>{OX(r,t)?e($.o1.setShowAIResumeWarningModal({showModal:!0,type:eZ.cK.dataLost})):(e($.o1.setShowAIResumeModal(!1)),e($.o1.setShowPrefillResumeModal(!0)))},children:i7.R.t("builder.ai_resume_draft.back")}),(0,J.jsxs)(Oq.pT,{children:[(0,J.jsx)(Oq.WD,{theme:"ghost",onClick:c,isDisabled:o===eZ.Hp.loading,children:i7.R.t("builder.ai_resume_draft.skip")}),(0,J.jsx)(Oq.c1,{onClick:d,isDisabled:o===eZ.Hp.loading,children:u()})]})]}),(0,J.jsxs)(Oq.s_,{children:[(0,J.jsx)(Oq.c1,{onClick:d,isDisabled:o===eZ.Hp.loading,children:u()}),(0,J.jsx)(Oq.WD,{theme:"ghost",onClick:c,isDisabled:o===eZ.Hp.loading,children:i7.R.t("builder.ai_resume_draft.skip")})]})]})}),OY=i.p+"media/no-photo-composition_without_avatar882e00257f03517b.svg",O0=i.p+"media/doodle077a747de5ed13ae.svg",O1=(0,R.memo)(()=>{let e=(0,eU.wA)(),t=(0,eW.N)($.Tp.resume);(0,R.useEffect)(()=>{(0,N.xP)(eZ._t.seeLinkedInProfileScreen,{label:eZ.ux.aiResume})},[]);let{linkedInProfileData:i,linkedInProfileURL:r}=(0,eW.N)(e=>e.resumeEditor.aiResume.linkedInData),{avatar:n,fullName:o,position:a}=i;return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(Oq.Ni,{children:[(0,J.jsxs)(Oq.wg,{children:[(0,J.jsx)(Oq.xW,{children:n?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Oq.JK,{src:OY,alt:"LinkedIn Avatar"}),(0,J.jsx)(Oq.Si,{src:n,alt:"User LinkedIn Avatar"}),(0,J.jsx)(Oq.jV,{src:O0,alt:"LinkedIn Avatar Doodle"})]}):(0,J.jsx)(Oq.JK,{src:OK,alt:"LinkedIn Avatar"})}),(0,J.jsxs)(Oq.qm,{children:[(0,J.jsx)(Oq.LW,{children:o}),(0,J.jsx)(Oq.yX,{children:a})]})]}),(0,J.jsxs)(Oq.Mk,{children:[(0,J.jsx)(Oq.hE,{children:i7.R.t(`${OZ}.validate_linkedin_profile_modal.title`)}),(0,J.jsx)(Oq.tK,{children:i7.R.t(`${OZ}.validate_linkedin_profile_modal.description`)})]})]}),(0,J.jsxs)(Oq.En,{children:[(0,J.jsxs)(Oq.XX,{onClick:()=>{(0,N.xP)(eZ._t.clickTryAgain,{label:eZ.ux.linkedInProfileScreen}),e($.o1.setAIResumeLinkedInStep(eZ.$R.linkedInPrefill))},children:[(0,J.jsx)(Oq.z4,{}),i7.R.t("builder.ai_resume_draft.use_another_link")]}),(0,J.jsx)(Oq.CJ,{onClick:()=>
3176{if((0,N.xP)(eZ._t.clickGenerate,{label:eZ.ux.linkedInProfileScreen}),t){let i=r.toLowerCase();i=(i=i.startsWith("https")||i.startsWith("http")?i:`https://${i}`).replace(/:\/\/(?!www\.)/,"://www."),e($.o1.generateResumeFromLinkedIn({linkedInProfileURL:i,resumeId:t.id}))}},children:i7.R.t(`${OZ}.validate_linkedin_profile_modal.continue_button_text`)})]})]})}),O2=i.p+"media/linkedin-error78fb92b5fb779f94.png",O3=(0,R.memo)(()=>{let e=(0,eU.wA)();return(0,R.useEffect)(()=>{(0,N.xP)(eZ._t.seeLinkedInProfileErrorScreen,{label:eZ.ux.aiResume})},[]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Oq.K5,{src:O2,alt:"Linkedin Profile fetch error"}),(0,J.jsx)(Oq.Vl,{children:i7.R.t("builder.ai_resume_draft.linkedin.empty_profile.title")}),(0,J.jsx)(Oq.Vz,{children:i7.R.t("builder.ai_resume_draft.linkedin.empty_profile.description")}),(0,J.jsxs)(Oq.En,{children:[(0,J.jsxs)(Oq.XX,{onClick:()=>{(0,N.xP)(eZ._t.clickAnotherLink,{label:eZ.ux.linkedInProfileErrorScreen}),e($.o1.setAIResumeLinkedInStep(eZ.$R.linkedInPrefill))},children:[(0,J.jsx)(Oq.z4,{}),i7.R.t("builder.ai_resume_draft.use_another_link")]}),(0,J.jsx)(Oq.DI,{onClick:()=>{(0,N.xP)(eZ._t.clickQuestionnaire,{label:eZ.ux.linkedInProfileErrorScreen}),e($.o1.setAIResumeFlow(eZ.Z2.Questionnaire))},children:i7.R.t("builder.ai_resume_draft.linkedin.empty_profile.go_to_questionaire")})]})]})}),O5=(0,R.memo)(()=>{let{currentStep:e}=(0,eW.N)(e=>e.resumeEditor.aiResume.linkedInData);return e===eZ.$R.linkedInPrefill?(0,J.jsx)(OQ,{}):e===eZ.$R.linkedInProfile?(0,J.jsx)(O1,{}):e===eZ.$R.linkedInError?(0,J.jsx)(O3,{}):null});let O4=tt.Ay.div(["background-color:",";margin-top:32px;text-align:start;"],te.Jy.White),O6=tt.Ay.div(["display:inline-flex;align-items:flex-start;gap:8px;margin-bottom:16px;"]),O8=tt.Ay.div(["",";color:",";"],td.BO.Medium,te.Jy.Neutral80),O9=tt.Ay.span(["",";color:",";"],td.BO.Medium,te.Jy.Neutral50),O7=tt.Ay.div(["height:4px;border-radius:2px;background-color:",";"],te.Jy.Neutral10),ze=tt.Ay.div(["width:",";height:inherit;border-radius:inherit;background-color:",";transition:width 0.15s ease-out;"],e=>`${e.progress}%`,te.Jy.Blue50),zt=(0,tt.Ay)(tP.EK.SuccessCircle)(["color:",";"],te.Jy.Green50),zi=(0,R.memo)(e=>{let{progress:t}=e;return(0,J.jsxs)(O4,{children:[(0,J.jsxs)(O6,{children:[t>0?(0,J.jsx)(zt,{"data-testid":"progress-success"}):(0,J.jsx)(tP.EK.StatusNew,{"data-testid":"progress-new"}),(0,J.jsxs)(O8,{children:[t,"%"," ",(0,J.jsx)(O9,{children:i7.R.t("builder.ai_resume_draft.completed")})]})]}),(0,J.jsx)(O7,{children:(0,J.jsx)(ze,{progress:t})})]})});var zr=(0,R.memo)(e=>{let{currentStep:t,continueButtonText:i,handleBack:r,handleContinue:n,showSkipButton:o}=e,{isPhone:a}=(0,ih.e)(),{activeAccomplishmentsTab:l,accomplishmentsVoiceProcessingStatus:s,activeGoalsTab:d,goalsVoiceProcessingStatus:c}=(0,eW.N)(e=>e.resumeEditor.aiResume.questionnaireData),u=6===t,p=u?d:l,h=(u?c:s)===eZ.Nh.processing,x=(u?c:s)===eZ.Nh.failed,m=i===i7.R.t("builder.ai_resume_draft.text_voice_input.stop_recording"),g=!(a||m),y=(0,R.useMemo)(()=>({abovePhone:[5,6].includes(t)&&p===DC.DF.voice_input?m?26:x?46:42:32,phone:[5,6].includes(t)?p===DC.DF.voice_input?m||x?24:8:24:32}),[p,t,x,m]);return(0,J.jsxs)(O$.E7,{onlyShowPrimaryButton:m,marginTop:a?y.phone:y.abovePhone,children:[g&&(0,J.jsx)(i$.Ay,{theme:"ghost",onClick:r,children:i7.R.t("builder.ai_resume_draft.back")}),(0,J.jsxs)(O$.cj,{children:[o&&(0,J.jsx)(O$.WD,{onClick:()=>n({isSkipAction:!0}),children:i7.R.t("builder.ai_resume_draft.skip")}),(0,J.jsx)(O$.c1,{onClick:()=>n({isSkipAction:!1}),isLoading:h,isDisabled:h,children:i})]})]})});let zn=(0,R.memo)(()=>{let{continueButtonText:e,step:t,header:i,handleBack:r,handleContinue:n,renderQuestionnaireStep:o,progress:a,showSkipButton:l}=zo(),{isPhone:s}=(0,ih.e)();return(0,J.jsxs)(O$.Md,{children:[(0,J.jsxs)(O$.FZ,{isStepWithTabs:[5,6].includes(t),children:[(0,J.jsx)(O$.JR,{children:i.title}),(0,J.jsx)(O$.TA,{children:i.description})]}),o,!s&&(0,J.jsx)(zr,{continueButtonText:e,currentStep:t,handleBack:r,handleContinue:n,showSkipButton:l}),(0,J.jsxs)(O$.zb,{children:[s&&(0,J.jsx)(zr,{continueButtonText:e,currentStep:t,handleBack:r,handleContinue:n,showSkipButton:l}),(0,J.jsx)(zi,{progress:a})]})]})});var zo=()=>{let e=(0,eU.wA)(),{aiResumeFlow:t,linkedInData:i,questionnaireData:{step:r,progress:n,userInput:o,activeAccomplishmentsTab:a,accomplishmentsAudio:l,accomplishmentsAudioDuration:s,accomplishmentsVoiceProcessingStatus:d,activeGoalsTab:c,goalsAudio:u,goalsAudioDuration:p,goalsVoiceProcessingStatus:h},warningModalAction:x}=(0,eW.N)(e=>e.resumeEditor.aiResume),{currentStep:m}
3176=i,{cards:g,confirmDeleteCardId:y}=o.workExperience,{cards:f}=o.education,b=Oy({inputAudio:l,inputAudioDuration:s}),_=Oy({inputAudio:u,inputAudioDuration:p}),v=d===eZ.Nh.failed,j=h===eZ.Nh.failed,A=d===eZ.Nh.finished,C=h===eZ.Nh.finished,w=6===r,{desiredPosition:k,pastAccomplishments:S,currentSkills:T,futureGoals:P}=o,{workExperience:E,education:L}=eZ.ph;(0,R.useEffect)(()=>{let t=0;switch(r){case 1:(0,Of.ZI)(g[0])&&(t=15);break;case 2:t=15,(0,pc.isEmpty)(k)||(t=30);break;case 3:t=30,(0,Oj.y)(f[0])||(t=45);break;case 4:t=45,T.length>0&&(t=60);break;case 5:t=60,(!(0,pc.isEmpty)(S)||l.length>0)&&(t=80);break;case 6:t=80,(!(0,pc.isEmpty)(P)||u.length>0)&&(t=100)}e($.o1.updateQuestionnaireProgress(t))},[l.length,g,T.length,e,f,P,u.length,S,k,r]);let I=(0,R.useCallback)(()=>{e($.o1.setQuestionnaireStep(r+1))},[e,r]),M=()=>{1===r?(e($.o1.setAIResumeLinkedInStep(eZ.$R.linkedInPrefill)),e($.o1.setAIResumeFlow(eZ.Z2.LinkedIn))):e($.o1.setQuestionnaireStep(r-1))},B=(0,R.useCallback)(()=>{e($.o1.generateResumeFromQuestionnaire())},[e]),D=(0,R.useCallback)(({isSkipAction:t})=>{let i=t?eZ._t.clickSkip:eZ._t.clickContinue,n="";switch(r){case 1:if(n=eZ.ux.workExperience,!g[0])return void e($.o1.pushEmptyWorkExpInQuestionnaire());if(!(0,Of.ZI)(g[0])){let t=(0,Of.Yl)(g[0]);e($.o1.setQuestionnaireWorkExpCardErrors(t));return}for(let t of g)(0,Of.IM)(t)&&e($.o1.deleteQuestionnaireCard({cardType:E,deleteCardId:t.id}));e($.o1.collapseQuestionnaireCards({cardType:E}));let[l,...s]=o.workExperience.cards,d=l.position,u=(0,az._U)(l.date.dateFrom||0);if(s)for(let e of s){let t=(0,az._U)(e.date.dateFrom||0),i=e.position;t>u&&i&&(u=t,d=i)}(""===k||d!==k)&&e($.o1.setAIResumeDesiredPostion(d)),I();break;case 2:n=eZ.ux.desiredJob,I();break;case 3:if(n=eZ.ux.education,1===f.length)(0,Oj.y)(f[0])||e($.o1.collapseQuestionnaireCards({cardType:L})),I();else{let t=f.length,i=0;for(let t=1;t<f.length;t++){let r=f[t];(0,Oj.y)(r)&&(e($.o1.deleteQuestionnaireCard({cardType:L,deleteC
3176ardId:r.id})),i+=1)}let r=f[0],n=(0,Oj.y)(r);i<t-1?(n&&e($.o1.deleteQuestionnaireCard({cardType:L,deleteCardId:r.id})),e($.o1.collapseQuestionnaireCards({cardType:L}))):e($.o1.collapseQuestionnaireCards({cardType:L,excludeCardsIds:n?[r.id]:[]})),I()}break;case 4:n=eZ.ux.skills,I();break;case 5:case 6:if(t){(0,N.xP)(eZ._t.clickSkip,{label:w?eZ.ux.careerGoals:eZ.ux.professionalHighlights}),w?B():I();return}if((w?c:a)===DC.DF.voice_input){let{audioChunks:t,duration:i,isRecording:r,onStartRecording:n,onStopRecording:o}=w?_:b;if(r)(0,N.xP)(eZ._t.clickStopRecording,{label:w?eZ.ux.careerGoals:eZ.ux.professionalHighlights,duration:i}),o(),e(w?$.o1.setGoalsAudioDuration(i):$.o1.setAccomplishmentsAudioDuration(i));else{let i=w?j:v,r=w?C:A;0===t.length||i?(0===t.length?(0,N.xP)(eZ._t.clickStartRecording,{label:w?eZ.ux.careerGoals:eZ.ux.professionalHighlights}):(0,N.xP)(eZ._t.clickRetakeRecording,{label:w?eZ.ux.careerGoals:eZ.ux.professionalHighlights}),e(w?$.o1.setGoalsVoiceProcessingStatus(eZ.Nh.notStarted):$.o1.setAccomplishmentsVoiceProcessingStatus(eZ.Nh.notStarted)),n()):((0,N.xP)(w?eZ._t.clickCreateResume:eZ._t.clickContinue,{label:w?eZ.ux.careerGoals:eZ.ux.professionalHighlights}),r?r&&(w?B():I()):e($.o1.extractTextFromVoiceInput({audioBlob:t})))}}else(0,N.xP)(w?eZ._t.clickCreateResume:eZ._t.clickContinue,{label:w?eZ.ux.careerGoals:eZ.ux.professionalHighlights}),w?B():I()}[5,6].includes(r)||(0,N.xP)(i,{label:n})},[a,c,g,e,L,f,_,j,C,I,w,B,b,v,A,k,r,o.workExperience.cards,E]),O=(0,R.useCallback)(()=>{switch(w?c:a){case DC.DF.text_input:w?0===S.length&&e($.o1.setActiveAccomplishmentsTab(DC.DF.voice_input)):0===P.length&&e($.o1.setActiveGoalsTab(DC.DF.voice_input));break;case DC.DF.voice_input:w?0===l.length&&e($.o1.setActiveAccomplishmentsTab(DC.DF.text_input)):0===u.length&&e($.o1.setActiveGoalsTab(DC.DF.text_input))}},[l.length,a,c,e,w,u.length,S.length,P.length]),z=(0,R.useCallback)(()=>{let{audioChunks:t}=w?_:b,i=w?c:a,r=w?P:S;i===DC.DF.text_input?r.length>0?e($.o1.setShowAIResumeWarningModal({showModal:!0,type:eZ.cK.switchToVoice})):((0,N.xP)(eZ._t.clickVoiceInput,{label:w?eZ.ux.careerGoals:eZ.ux.professionalHighlights}),e(w?$.o1.setActiveGoalsTab(DC.DF.voice_input):$.o1.setActiveAccomplishmentsTab(DC.DF.voice_input)),O()):i===DC.DF.voice_input&&(t.length>0?e($.o1.setShowAIResumeWarningModal({showModal:!0,type:eZ.cK.switchToText})):((0,N.xP)(eZ._t.clickTextInput,{label:w?eZ.ux.careerGoals:eZ.ux.professionalHighlights}),e(w?$.o1.setActiveGoalsTab(DC.DF.text_input):$.o1.setActiveAccomplishmentsTab(DC.DF.text_input)),O()))},[a,c,e,P,_,w,S,b,O]),F=(0,R.useMemo)(()=>t===eZ.Z2.LinkedIn?(0,J.jsx)(O5,{}):t===eZ.Z2.Questionnaire?(0,J.jsx)(zn,{}):void 0,[t]),H=(0,R.useMemo)(()=>{switch(r){case 1:return{title:i7.R.t("builder.ai_resume_draft.work_experience.title"),description:i7.R.t("builder.ai_resume_draft.work_experience.description")};case 2:return{title:i7.R.t("builder.ai_resume_draft.desired_job.title"),description:i7.R.t("builder.ai_resume_draft.desired_job.description")};case 3:return{title:i7.R.t("builder.ai_resume_draft.education.title"),description:i7.R.t("builder.ai_resume_draft.education.description")};case 4:return{title:i7.R.t("builder.ai_resume_draft.skills_screen.title"),description:i7.R.t("builder.ai_resume_draft.skills_screen.description")};case 5:return{title:i7.R.t("builder.ai_resume_draft.professional_highlights_screen.title"),description:i7.R.t("builder.ai_resume_draft.professional_highlights_screen.description")};case 6:return{title:i7.R.t("builder.ai_resume_draft.career_goals.title"),description:i7.R.t("builder.ai_resume_draft.career_goals.description")};default:return{title:"",description:""}}},[r]),V=(0,R.useMemo)(()=>{switch(r){case 1:return(0,J.jsx)(Ob,{});case 2:return(0,J.jsx)(Ov,{});case 3:return(0,J.jsx)(OA,{});case 4:return(0,J.jsx)(OE,{});case 5:case 6:let e=w?c:a,t=w?_:b;return(0,J.jsx)(OW,{activeTab:e,onTabChange:z,...t})}},[r,a,c,_,w,z,b]),U=(0,R.useMemo)(()=>{let e="builder.ai_resume_draft.",t=e;if(5===r||6===r){let{isRecording:i,audioChunks:r}=w?_:b,n=w?c:a,o=w?j:v;n===DC.DF.voice_input?i?t=e+"text_voice_input.stop_recording":0===r.length?t=e+"text_voice_input.start_recording":o?t=e+"text_voice_input.retake":w&&r.length>0&&(t=e+"text_voice_input.create_resume"):w&&n===DC.DF.text_input&&(t=e+"text_voice_input.create_resume")}return t===e&&(t=e+"continue"),i7.R.t(t)},[a,c,w,r,_,j,b,v]),W=(0,R.useMemo)(()=>{switch(r){case 1:return!1;case 2:return(0,pc.isEmpty)(k);case 3:return(0,Oj.y)(f[0]);case 4:return 0===T.length;
3176case 5:case 6:let{isRecording:e,audioChunks:t}=6===r?_:b,i=6===r?P:S;return!(e||t.length>0||i.length>0);default:return!0}},[b,T.length,f,P,_,S,k,r]);return(0,R.useEffect)(()=>{let{audioChunks:t}=w?_:b,i=w?u:l,r=w?c:a;0===i.length&&t.length>0&&r===DC.DF.voice_input&&e(w?$.o1.setGoalsAudio([...t]):$.o1.setAccomplishmentsAudio([...t]))},[e,w,a,c,l,b,u,_]),(0,R.useEffect)(()=>{if(x){if(x===eZ.Sw.confirmDataLost&&(e($.o1.setShowAIResumeModal(!1)),e($.o1.setShowPrefillResumeModal(!0))),x===eZ.Sw.confirmClose&&(e($.o1.setShowAIResumeModal(!1)),e($.o1.setShowPrefillResumeModal(!1)),e($.o1.resetAIResumeData())),x===eZ.Sw.removeJob&&e($.o1.deleteQuestionnaireCard({cardType:eZ.ph.workExperience,deleteCardId:y})),5===r||6===r){let t=w?c:a,i=w?_:b;switch(x){case eZ.Sw.retake:if(t===DC.DF.voice_input){let{onStartRecording:t}=i;e(w?$.o1.setGoalsVoiceProcessingStatus(eZ.Nh.notStarted):$.o1.setAccomplishmentsVoiceProcessingStatus(eZ.Nh.notStarted)),t()}break;case eZ.Sw.switchToVoice:e(w?$.o1.setActiveGoalsTab(DC.DF.voice_input):$.o1.setActiveAccomplishmentsTab(DC.DF.voice_input)),e(w?$.o1.setFutureGoalsText(""):$.o1.setPastAccomplishmentsText("")),O();break;case eZ.Sw.switchToText:let{onClearRecording:r}=i;r(),e(w?$.o1.setFutureGoalsText(""):$.o1.setPastAccomplishmentsText("")),e(w?$.o1.setGoalsAudio([]):$.o1.setAccomplishmentsAudio([])),e(w?$.o1.setGoalsAudioDuration(0):$.o1.setAccomplishmentsAudioDuration(0)),e(w?$.o1.setActiveGoalsTab(DC.DF.text_input):$.o1.setActiveAccomplishmentsTab(DC.DF.text_input)),e(w?$.o1.setGoalsVoiceProcessingStatus(eZ.Nh.notStarted):$.o1.setAccomplishmentsVoiceProcessingStatus(eZ.Nh.notStarted)),O()}}e($.o1.setAIResumeWarningModalAction(null))}},[r,c,a,e,w,x,b,_,O,y]),{continueButtonText:U,renderFlow:F,progress:n,isFutureGoalsStep:w,step:r,header:H,handleBack:M,handleMobileBack:()=>{t===eZ.Z2.Questionnaire?M():m===eZ.$R.linkedInProfile||m===eZ.$R.linkedInError?e($.o1.setAIResumeLinkedInStep(eZ.$R.linkedInPrefill)):OX(o,i.linkedInProfileURL)?e($.o1.setShowAIResumeWarningModal({showModal:!0,type:eZ.cK.dataLost})):(e($.o1.setShowAIResumeModal(!1)),e($.o1.setShowPrefillResumeModal(!0)))},handleContinue:D,handleClose:()=>{e($.o1.setShowAIResumeWarningModal({showModal:!0,type:eZ.cK.closeFlow}))},renderQuestionnaireStep:V,showSkipButton:W,currentStep:m}};let{Indigo60:za}=te.Jy,zl=tt.Ay.div(["padding:4px 8px;border-radius:4px;background:rgba(219,222,255,0.5);width:133px;white-space:nowrap;color:",";",";",";"],za,td.BO.DemiBold,td.Ay.Tiny),zs=tt.Ay.div(["gap:18px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;margin-bottom:32px;",""],tQ.A.Phone`
3177    gap: 14px;
3178  `),zd=(0,tt.Ay)(zs)(["",""],tQ.A.Phone`
3179    margin-bottom: 20px;
3180  `),zc=tt.Ay.img(["",""],tQ.A.Phone`
3181    width: 28px;
3182    height: 26px;
3183  `),zu=(0,R.memo)(()=>{let{step:e}=zo(),{aiResumeFlow:t,linkedInData:{currentStep:i}}=(0,eW.N)(e=>e.resumeEditor.aiResume);return t===eZ.Z2.LinkedIn&&i===eZ.$R.linkedInError?null:(0,J.jsxs)(1===e?zd:zs,{children:[(0,J.jsx)(zc,{src:Og}),(0,J.jsx)(zl,{children:i7.R.t("builder.ai_resume_draft.ai_assisted_resume")})]})}),zp=(0,R.memo)(()=>{let{handleMobileBack:e,handleClose:t,currentStep:i}=zo();return(0,J.jsxs)(Od,{children:[i!==eZ.$R.linkedInProfile&&(0,J.jsxs)(Oh,{onClick:e,children:[(0,J.jsx)(Om,{children:(0,J.jsx)(tP.qJ.Chevron,{})}),i7.R.t("builder.ai_resume_draft.back")]}),(0,J.jsx)(Ox,{onClick:t,children:(0,J.jsx)(tP.EK.Close,{})})]})});var zh=i(68895);let{White:zx,Neutral90:zm,Neutral50:zg}=te.Jy,zy=tt.Ay.div(["width:520px;padding:82px 86px 139px;gap:32px;background:",";display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;border-radius:16px;",""],zx,tQ.A.Phone`
3184    width: 343px;
3185    padding: 58px 20px;
3186    gap: 20px;
3187  `),zf=tt.Ay.img(["height:200px;",""],tQ.A.Phone`
3188    height: 160px;
3189  `),zb=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;"]),z_=tt.Ay.p(["",";",";color:",";"],td.Ay.M,td.BO.DemiBold,zm),zv=tt.Ay.p(["",";color:",";white-space:pre-wrap;"],td.Ay.Body,zg),zj=(0,R.memo)(()=>(0,J.jsxs)(zy,{children:[(0,J.jsx)(zf,{src:zh}),(0,J.jsxs)(zb,{children:[(0,J.jsx)(z_,{children:i7.R.t("builder.ai_resume_draft.animation_screen.title")}),(0,J.jsx)(zv,{children:i7.R.t("builder.ai_resume_draft.animation_screen.description")})]})]})),{Blue50:zA,Neutral10:zC,Neutral50:zw,Neutral70:zk,White:zS}=te.Jy,zT=(0,tt.i7)(["from{transform:translateY(70%);}to{transform:translateY(0%);}"]),zP=tt.Ay.div(["width:544px;border-radius:16px;background:",";border:8px;padding:32px;animation:"," 0.5s ease-out forwards;",";"],zS,zT,tQ.A.Phone`
3190    width: 343px;
3191    padding:16px
3192  `),zJ=tt.Ay.div(["width:436px;margin-right:16px;"," ",";"],td.Ay.S,td.BO.DemiBold);(0,tt.Ay)(tP.qJ.Add)(["background:",";fill:",";border-radius:50%;height:28px;width:28px;cursor:pointer;transform:rotate(225deg);&:hover{background:",";fill:",";}",""],zC,zk,zA,zS,tQ.A.Phone`
3193    height: 23px;
3194    width: 35px;
3195  `);let zE=tt.Ay.div(["margin-top:12px;color:",";"," ",";",""],zw,td.Ay.Body,td.BO.Regular,tQ.A.Phone`
3196    margin-top: 8px;
3197  `),zR=tt.Ay.div(["display:flex;width:100%;justify-content:flex-end;
3197gap:8px;margin-top:32px;",""],tQ.A.Phone`
3198    margin-top: 20px;
3199  `),zL=(0,tt.Ay)(i$.Ay)(["",""],tQ.A.AbovePhone`
3200    padding: 12px 24px;
3201  `),zN=tt.Ay.div(["display:flex;"]);var zI=(0,R.memo)(()=>{let e=(0,ih.e)(),t=(0,R.useRef)(null),i=(0,eU.wA)(),{warningModalType:r,questionnaireData:{step:n}}=(0,eW.N)(e=>e.resumeEditor.aiResume),o=e?i$.Mp.small:i$.Mp.default,a=6===n,l="builder.ai_resume_draft.",{title:s,content:d,primaryButtonText:c,secondaryButtonText:u,primaryButtonAction:p,secondaryButtonAction:h,eventName:x}=(0,R.useMemo)(()=>{let e="",t="",i="",n="",o=null,a=null,s=null;switch(r){case eZ.cK.closeFlow:e=l+"data_loss_screen.title",t=l+"data_loss_screen.description",i=l+"stay",n=l+"confirm",o=eZ.Sw.stay,a=eZ.Sw.confirmClose;break;case eZ.cK.dataLost:e=l+"data_loss_screen.title",t=l+"data_loss_screen.description",i=l+"stay",n=l+"confirm",o=eZ.Sw.stay,a=eZ.Sw.confirmDataLost;break;case eZ.cK.removeJob:e=l+"remove_job_screen.title",t="",i=l+"remove_job_screen.remove_job",n=l+"cancel",o=eZ.Sw.removeJob,a=eZ.Sw.stay;break;case eZ.cK.retake:e=l+"text_voice_input.warning_screens.retake.title",t=l+"text_voice_input.warning_screens.retake.description",i=l+"stay",n=l+"text_voice_input.retake",o=eZ.Sw.stay,a=eZ.Sw.retake,s=eZ._t.clickRetakeRecording;break;case eZ.cK.switchToVoice:e=l+"text_voice_input.warning_screens.switch_to_voice.title",t=l+"text_voice_input.warning_screens.switch_to_voice.description",i=l+"stay",n=l+"text_voice_input.warning_screens.switch_to_voice.switch",o=eZ.Sw.stay,a=eZ.Sw.switchToVoice,s=eZ._t.clickVoiceInput;break;case eZ.cK.switchToText:e=l+"text_voice_input.warning_screens.switch_to_text.title",t=l+"text_voice_input.warning_screens.switch_to_text.description",i=l+"stay",n=l+"text_voice_input.warning_screens.switch_to_text.switch",o=eZ.Sw.stay,a=eZ.Sw.switchToText,s=eZ._t.clickTextInput}return{title:e,content:t,eventName:s,primaryButtonText:i,secondaryButtonText:n,primaryButtonAction:o,secondaryButtonAction:a}},[r]);return(0,oO.L)(t,e=>{e.stopPropagation()}),(0,J.jsxs)(zP,{ref:t,children:[(0,J.jsx)(zN,{children:(0,J.jsx)(zJ,{children:i7.R.t(s)})}),!!d&&(0,J.jsx)(zE,{children:i7.R.t(d)}),(0,J.jsxs)(zR,{children:[(0,J.jsx)(zL,{theme:"ghost",size:o,onClick:()=>{i($.o1.setAIResumeWarningModalAction(h)),i($.o1.setShowAIResumeWarningModal({showModal:!1})),x&&(0,N.xP)(x,{label:a?eZ.ux.careerGoals:eZ.ux.professionalHighlights})},children:i7.R.t(u)}),(0,J.jsx)(zL,{size:o,onClick:()=>{i($.o1.setAIResumeWarningModalAction(p)),i($.o1.setShowAIResumeWarningModal({showModal:!1}))},children:i7.R.t(c)})]})]})}),zM=i.p+"media/generation-failed4b15eb9f9d7a6720.png";let{Neutral90:zB,Red50:zD,White:z$,Indigo50:zO}=te.Jy,zz=tt.Ay.div(["width:520px;border-radius:16px;background:",";padding:82px 74px;display:flex;flex-direction:column;align-items:center;position:relative;",";"],z$,tQ.A.Phone`
3202    width: 343px;
3203    padding: 42px 20px;
3204  `),zF=tt.Ay.div(["",";",";color:",";text-align:center;margin-bottom:12px;",""],td.Ay.M,td.BO.DemiBold,zB,tQ.A.Phone`
3205    ${td.Ay.S};
3206    margin-bottom: 8px;
3207  `),zH=tt.Ay.div(["",";color:",";text-align:center;"],td.Ay.Caption,zD),zV=tt.Ay.img(["width:178px;height:168px;margin-bottom:36px;",""],tQ.A.Phone`
3208    width: 128px;
3209    height: 121px;
3210    margin-bottom: 16px;
3211  `),zU=tt.Ay.div(["display:flex;align-items:center;margin-top:24px;",""],tQ.A.Phone`
3212    margin: 16px;
3213  `),zW=(0,tt.Ay)(i$.Ay)(["padding:12px 24px;background-color:",";",";",";&:hover{background-color:",";}"],zO,td.Ay.Body,td.BO.Medium,te.Jy.Indigo60),zK=(0,tt.Ay)(i$.Ay)(["padding:12px 24px;margin-right:16px;",";",";"],td.Ay.Body,td.BO.Medium);var zq=()=>{let e=(0,eW.N)(e=>e.resumeEditor.aiResume.aiResumeFlow),t=(0,eU.wA)(),i=(0,eW.N)($.Tp.resume),{linkedInProfileURL:r}=(0,eW.N)(e=>e.resumeEditor.aiResume.linkedInData);return(0,J.jsxs)(zz,{children:[(0,J.jsx)(Op,{onClick:()=>{t($.o1.setShowAIResumeModal(!1))},children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsx)(zV,{src:zM,alt:"AI resume generation failed"}),(0,J.jsx)(zF,{children:i7.R.t("builder.ai_resume_draft.generation_error.title")}),(0,J.jsx)(zH,{children:i7.R.t("builder.ai_resume_draft.generation_error.description")}),(0,J.jsxs)(zU,{children:[(0,J.jsx)(zK,{theme:"ghost",onClick:()=>{(0,N.xP)(eZ._t.clickStartOver,{label:eZ.ux.generateError}),e===eZ.Z2.LinkedIn?t($.o1.setAIResumeLinkedInStep(eZ.$R.linkedInPrefill)):t($.o1.setQuestionnaireStep(1)),t($.o1.setGenerateResumeStatus(eZ.bo.notStarted))},children:i7.R.t("builder.ai_resume_draft.generation_error.start_over")}),(0,J.jsx)(zW,{onClick:()=>{(0,N.xP)(eZ._t.clickTryAgain,{label:eZ.ux.generateError}),e===eZ.Z2.LinkedIn&&i?t($.o1.generateResumeFromLinkedIn({linkedInProfileURL:r,resumeId:i.id})):t($.o1.generateResumeFromQuestionnaire())},children:i7.R.t("builder.ai_resume_draft.generation_error.try_again")})]})]})},zG=(0,R.memo)(()=>{let{isPhone:e}=(0,ih.e)(),{aiResumeFlow:t,generateResumeStatus:i,showWarningModal:r}=(0,eW.N)(e=>e.resumeEditor.aiResume),{handleClose:n}=zo(),o=t===eZ.Z2.LinkedIn,a=t===eZ.Z2.Questionnaire;return(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,fullScreen:e,children:r?(0,J.jsx)(zI,{}):(0,J.jsxs)(J.Fragment,{children:[i===eZ.bo.failed&&(0,J.jsx)(zq,{}),i===eZ.bo.processing&&(0,J.jsx)(zj,{}),i===eZ.bo.notStarted&&(0,J.jsxs)(Oc,{isLinkedInFlow:o,children:[e?(0,J.jsx)(zp,{}):(0,J.jsx)(Op,{onClick:()=>{n()},children:(0,J.jsx)(tP.EK.Close,{})}),!o&&(0,J.jsx)(zu,{}),o?(0,J.jsx)(O5,{}):a?(0,J.jsx)(zn,{}):void 0]})]})})}),zZ=i(59332);let{Neutral5:zX,Neutral10:zQ,Neutral15:zY,Neutral50:z0,Neutral90:z1,Neutral100:z2,Blue10:z3,Blue50:z5,White:z4}=te.Jy,z6=(0,tt.i7)(["from{opacity:0;transform:translateY(-100%);display:none;height:0;margin-bottom:0;}to{opacity:1;transform:translateY(0);height:44px;margin-bottom:20px;}"]),z8=(0,tt.i7)(["from{opacity:1;transform:translateY(0);height:44px;margin-bottom:20px;}to{opacity:0;transform:translateY(-100%);display:none;height:0;margin-bottom:0;}"]),z9=tt.Ay.div([""]),z7=tt.Ay.span([""]),Fe=tt.Ay.div(["display:flex;flex-direction:column;background:",";height:700px;padding:34px 32px 0px 32px;border-radius:16px;position:relative;",""],e=>e.isResumePreview?zQ:z4,tQ.A.Phone`
3214    height: 100%;
3215    width: 100%;
3216    padding: 20px 16px 0px 16px;
3217    border-radius: 0px;
3218    position: static;
3219  `),Ft=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;position:absolute;
3219left:32px;right:32px;",""],tQ.A.Phone`
3220    position: static;
3221    margin-bottom: 10px;
3222  `),Fi=tt.Ay.button(["display:inline-flex;align-items:center;"," "," border:none;border-radius:20px;padding:4px 16px 4px 8px;cursor:pointer;color:",";background:",";&:hover{color:",";background:",";}"],td.Ay.Caption,td.BO.DemiBold,e=>e.isResumePreview?z5:z0,e=>e.isResumePreview?z4:zQ,z5,z3),Fr=tt.Ay.span(["transform:rotate(180deg);"]),Fn=tt.Ay.div(["display:flex;align-items:center;justify-content:center;transition:color 0.15s;border-radius:100%;width:28px;height:28px;cursor:pointer;color:",";background:",";&:hover{color:",";background:",";}",";"],z0,e=>e.isResumePreview?z4:zQ,z5,z3,tQ.A.Phone`
3223    width: 24px;
3224    height: 24px;
3225  `),Fo=tt.Ay.div(["display:flex;justify-content:center;flex-wrap:wrap;margin-bottom:24px;gap:16px;",""],tQ.A.Phone`
3226    gap: 12px 9px;
3227  `),Fa=tt.Ay.img(["position:absolute;height:46px;width:46px;left:87px;top:149px;visibility:hidden;",""],tQ.A.Phone`
3228    display: none;
3229  `),Fl=tt.Ay.button(["position:relative;border:none;cursor:pointer;background:",";border-radius:6px;padding:12px 16px 16px 16px;"," &:hover{background:",";","{visibility:visible;}}"],zX,tQ.A.Phone`
3230    padding: 12px 8px 8px 8px;
3231  `,zQ,Fa),Fs=tt.Ay.div(["color:",";text-align:left;width:188px;",";display:flex;align-items:center;height:44px;",""],z2,td.Ay.Body,tQ.A.Phone`
3232    width: 151px;
3233    ${td.Ay.Body};
3234  `),Fd=(0,tt.Ay)(e=>{let{src:t,alt:i="",className:r,rootRef:n,placeholderSrc:o}=e,[a,l]=(0,R.useState)(!1),s=(0,R.useRef)(null),d=(0,R.useRef)(null),[c,u]=(0,R.useState)(null),p=(0,R.useRef)(null);return(0,R.useEffect)(()=>(u(""),d.current=new IntersectionObserver(([e])=>{l(e.isIntersecting)},{threshold:.1,root:n?.current}),s.current&&d.current.observe(s.current),()=>{d.current?.disconnect()}),[n,t]),(0,R.useEffect)(()=>{c&&d.current&&d.current?.disconnect()},[c]),(0,R.useEffect)(()=>{if(c||!a)return;p.current=p.current||new Image,p.current.src=t||"";let e=()=>u(t||null);return p.current.addEventListener("load",e),()=>{p.current?.removeEventListener("load",e),p.current&&(p.current.src="")}},[a,c,t]),(0,J.jsx)("img",{ref:s,src:c||o||void 0,alt:i,className:r,loading:"lazy"})})(["background:",";margin-top:8px;width:","px;height:264px;",""],te.Jy.White,RQ.E,tQ.A.Phone`
3235    width: 151px;
3236    height: 212px;
3237  `),Fc=tt.Ay.div(["display:flex;justify-content:center;align-items:center;padding:"," "," ",";"],e=>e.$isFirstLoading?"100px":te.Kz.M,te.Kz.M,te.Kz.M),Fu=tt.Ay.div(["color:",";text-align:center;",";",";margin-top:18px;margin-bottom:32px;",";"],z1,td.BO.DemiBold,td.Ay.M,e=>tQ.A.Phone`
3238    ${td.Ay.S};
3239    margin-top: 0px;
3240    animation: ${!e.hide?z6:z8} 200ms forwards;
3241  `),Fp=(0,tt.Ay)(zZ.P)(["flex:1;max-width:704px;width:704px;margin-right:-12px;",""],tQ.A.Phone`
3242    max-width: unset;
3243    margin-right: unset;
3244    width: 100%;
3245    height: 100%;
3246  `),Fh=tt.Ay.div(["position:relative;display:flex;gap:12px;align-items:center;background:",";border-radius:6px;padding:12px;margin-bottom:10px;color:",";",""],zX,z5,tQ.A.Phone`
3247    padding: 10px 12px;
3248  `),Fx=tt.Ay.input(["padding:0px;background:transparent;width:100%;border:none;color:",";",";"],z1,td.Ay.Body),Fm=tt.Ay.div(["position:absolute;top:54px;left:0;right:0;background:red;border-radius:6px;background:",";box-shadow:0px 8px 20px -4px rgba(15,56,113,0.12),0px 2px 4px -1px rgba(15,56,113,0.08),0px 0px 1px 0px rgba(15,56,113,0.32);z-index:10;"],z4),Fg=(0,tt.Ay)(Fm)(["padding:12px 4px 12px 16px;"]),Fy=tt.Ay.ul(["list-style:none;padding:0;padding-right:18px;margin:0;max-height:200px;overflow:auto;"]),Ff=tt.Ay.li(["border-bottom:1px solid ",";padding-top:12px;padding-bottom:12px;cursor:pointer;",";color:",";&:hover{color:",";}&:first-child{padding-top:0;}&:last-child{border-bottom:none;padding-bottom:0;}"],zY,td.Ay.Body,z2,z5),Fb=(0,tt.Ay)(Fm)([""]),F_=tt.Ay.div(["display:flex;margin:24px;gap:8px;",""],tQ.A.Phone`
3249    margin: 20px 24px;
3250  `),Fv=tt.Ay.img([""]),Fj=tt.Ay.p(["padding:0px;margin:0px;color:",";max-width:397px;",";"],z0,td.Ay.Caption),FA=(0,tt.Ay)(i$.Ay)(["",";border:none;padding:0;color:",";box-shadow:none !important;",""],td.Ay.Caption,z5,td.BO.Regular),FC=tt.Ay.div(["background:",";display:flex;flex-wrap:wrap;align-items:baseline;margin-bottom:24px;gap:8px ","px;padding-right:12px;height:",";overflow-x:",";transition:height 0.4s ease-out;z-index:2;top:0;",";"],z4,4,e=>e.expanded?`${e.expandedHeight}px`:"39px",e=>e.expanded?"auto":"hidden",e=>tQ.A.Phone`
3251    padding-right: unset;
3252    max-width: unset;
3253    height: ${e.hide?"0px":"auto"};;
3254    overflow-x: auto;
3255    overflow-y: hidden;
3256    flex-wrap: nowrap;
3257    padding-bottom: 24px;
3258    margin-bottom: 0px;
3259    position: ${e.hide?"static":"sticky"};
3260    animation: ${!e.hide?z6:z8} 200ms forwards;
3261  `),Fw=tt.Ay.button(["border-radius:36px;padding:8px 16px;color:",";white-space:nowrap;border:",";background:",";",";"," &:hover{cursor:pointer;background:",";}"],z1,e=>e.selected?`0.8px solid ${z5}`:"none",e=>e.selected?z3:zX,td.Ay.Caption,tQ.A.Phone`
3262    padding: 6px 12px;
3263  `,z3),Fk=(0,tt.Ay)(i$.JQ)(["",";background:",";color:",";padding:0px;display:flex;align-items:center;margin-left:auto;visibility:",";&:hover{background:",";color:",";}",""],td.BO.Regular,z4,z5,e=>e.hidden?"hidden":"visible",z4,z5,tQ.A.Phone`
3264    display: none;
3265  `),FS=tt.Ay.span(["transform:",";"],e=>e.expanded?"rotate(-90deg)":"rotate(90deg)"),FT=tt.Ay.div(["width:592px;height:100%;align-self:center;text-align:center;margin:0px 50px;display:flex;flex-direction:column;min-height:0;",""],tQ.A.Phone`
3266    width: auto;
3267    margin: 0px;
3268  `),FP=tt.Ay.div(["margin-bottom:8px;color:",";",";",";",""],z1,td.BO.DemiBold,td.Ay.Subhead,tQ.A.Phone`
3269    ${td.Ay.S};
3270  `),FJ=tt.Ay.div(["color:",";",";margin-bottom:20px;"],z0,td.Ay.Caption),FE=tt.Ay.div(["overflow:auto;margin-bottom:80px;width:inherit;height:inherit;",""],tQ.A.Phone`
3271    margin-bottom: 75px;
3272  `),FR=tt.Ay.img(["width:100%;"]),FL=tt.Ay.div(["position:absolute;
3272left:0px;right:0px;bottom:0px;background:",";height:80px;display:flex;align-items:center;justify-content:center;padding:16px 22px;border-bottom-left-radius:16px;border-bottom-right-radius:16px;",""],z4,tQ.A.Phone`
3273    position: fixed;
3274    height: 75px;
3275    justify-content: space-between;
3276    border-bottom-left-radius: 0px;
3277    border-bottom-right-radius: 0px;
3278  `),FN=(0,tt.Ay)(i$.Ay)(["padding:12px 24px;",";",";",""],td.BO.Medium,td.Ay.Body,tQ.A.Phone`
3279    margin-left: 0px;
3280  `),FI=tt.Ay.div(["display:flex;align-items:center;gap:8px;",""],tQ.A.AbovePhone`
3281    position: absolute;
3282    right: 22px;
3283  `),FM=tt.Ay.div(["",";color:",";max-width:104px;text-align:end;"],td.Ay.Tiny,z0),FB=tt.Ay.div(["border-radius:100%;width:34px;height:34px;color:",";background:#222384;display:flex;justify-content:center;align-items:center;",";",";",""],z4,td.BO.DemiBold,td.Ay.Caption,tQ.A.Phone`
3284    ${td.Ay.Body};
3285  `),FD=(0,R.createContext)(null),F$=e=>{let t=(0,eU.wA)(),{selectedResumeExample:i,setSelectedResumeExample:r,children:n}=e,{fetchingResumeExamples:o,currentPage:a,totalPages:l,resumeExamples:s,categories:d,jobTitles:c,searchedTitle:u,selectedCategoryId:p}=(0,eW.N)($.Tp.useExample),h=(0,R.useCallback)(e=>{t($.o1.fetchResumeExamples({resetPage:e}))},[t]),x=(0,R.useCallback)(e=>{t($.o1.setResumeExamplesData({searchedTitle:e}))},[t]),m=(0,R.useCallback)(e=>{t($.o1.setResumeExamplesData({selectedCategoryId:e}))},[t]);return(0,J.jsx)(FD.Provider,{value:{jobTitles:c,searchedTitle:u,setSearchedTitle:x,categories:d,selectedCategoryId:p,setSelectedCategoryId:m,resumeExamples:s,selectedResumeExample:i,setSelectedResumeExample:r,fetchingResumeExamples:o,currentPage:a,totalPages:l,loadMore:h},children:n})},FO=()=>{let e=(0,R.useContext)(FD);if(!e)throw Error("No context data found");return e};var Fz=({hide:e=!1})=>{let{categories:t,selectedCategoryId:i,setSelectedCategoryId:r,loadMore:n}=FO(),[o,a]=(0,R.useState)(1/0),[l,s]=(0,R.useState)(!1),[d,c]=(0,R.useState)(0),[u,p]=(0,R.useState)(!1),h=(0,R.useRef)(null),x=(0,R.useRef)(null);(0,R.useLayoutEffect)(()=>{let e=h.current?.children||[];if(!t.length||!e.length)return;let i=(h.current?.offsetWidth||0)-(x.current?.offsetWidth||0),r=0,n=e[0].offsetWidth+4;for(;i>n&&r<e.length-1;){i-=n;let t=e[++r];n=t?t.offsetWidth+4:0}h?.current&&c(h.current.scrollHeight),t.length===r-1&&p(!0),a(r-1)},[t.length]);let{isPhone:m}=(0,ih.e)(),g=e=>{r(e),n(!0)};return(0,J.jsxs)(FC,{ref:h,expanded:l,expandedHeight:d,hide:e,children:[(0,J.jsx)(Fw,{selected:!i,onClick:()=>g(0),children:i7.R.t("builder.use_example.categories.all")}),t.map((e,t)=>m||l||t<o?(0,J.jsx)(Fw,{selected:e.id===i,onClick:()=>{(0,N.xP)(eZ.pn.clickCategory,{label:eZ.to.examplesPrefill,category:e.name}),g(e.id)},children:e.name},e.name):null),(0,J.jsxs)(Fk,{onClick:()=>s(e=>!e),hidden:u,ref:x,children:[(0,J.jsx)(z9,{children:l?i7.R.t("builder.use_example.categories.see_less"):i7.R.t("builder.use_example.categories.see_more")}),(0,J.jsx)(FS,{expanded:l,children:(0,J.jsx)(tP.qJ.Chevron,{})})]})]})},FF=i(38221),FH=i.n(FF),FV=i.p+"media/empty-searchfd1261da9c566620.svg",FU=()=>{let e=(0,eU.wA)(),{jobTitles:t,loadMore:i,searchedTitle:r,setSearchedTitle:n}=FO(),[o,a]=(0,R.useState)(t),[l,s]=(0,R.useState)(!1),d=(0,R.useRef)(null);(0,oO.L)(d,()=>s(!1)),(0,R.useEffect)(()=>{a(t.filter(e=>e.toLowerCase().includes(r.toLowerCase().trim())))},[r,t]),co(()=>{r&&!o.length&&(0,N.xP)(eZ.pn.seeEmptySearchResults,{label:eZ.to.examplesPrefill,searchQuery:r})},1e3,[r,o.length]);let c=(0,R.useMemo)(()=>FH()(()=>i(!0),500),[i]);return(0,J.jsxs)(Fh,{ref:d,children:[(0,J.jsx)(tP.qJ.Search,{}),(0,J.jsx)(Fx,{placeholder:i7.R.t("builder.use_example.job_title_placeholder"),value:r,onChange:e=>{n(e.target.value),c()},onFocus:()=>{(0,N.xP)(eZ.pn.clickSearchBar,{label:eZ.to.examplesPrefill}),s(!0)}}),l&&(0,J.jsx)(Fg,{children:(0,J.jsx)(Fy,{children:o.map((e,t)=>(0,J.jsx)(Ff,{onClick:()=>{(0,N.xP)(eZ.pn.clickSearchResult,{label:eZ.to.examplesPrefill,jobTitle:e}),n(e),s(!1),i(!0)},children:e},`${e} ${t}`))})}),r&&!o.length&&(0,J.jsx)(Fb,{children:(0,J.jsxs)(F_,{children:[(0,J.jsx)(Fv,{src:FV}),(0,J.jsxs)(Fj,{children:[i7.R.t("builder.use_example.no_results.role_not_found")," ",(0,J.jsx)(FA,{theme:"ghost",onClick:()=>{(0,N.xP)(eZ.pn.clickStartWithAnotherOption,{label:eZ.to.examplesPrefill}),e($.o1.setShowUseExamplePopup(!1)),e($.o1.setShowPrefillResumeModal(!0))},children:i7.R.t("builder.use_example.no_results.another_option")})]})]})})]})},FW=i(55402),FK=i.p+"media/view960cba30ff127340.png",Fq=()=>{let{resumeExamples:e,setSelectedResumeExample:t,fetchingResumeExamples:i,currentPage:r}=FO(),n=(0,R.useRef)(null);return(0,R.useEffect)(()=>{(0,N.xP)(eZ.pn.seeExamplesLibrary,{label:eZ.to.examplesPrefill})},[]),(0,J.jsxs)(Fo,{ref:n,children:[e.map(e=>(0,J.jsxs)(Fl,{onClick:()=>{(0,N.xP)(eZ.pn.clickExample,{label:eZ.to.examplesPrefill,jobTitle:e.jobTitle}),t(e)},children:[(0,J.jsx)(Fs,{children:e.jobTitle}),(0,J.jsx)(Fd,{src:e.compressedPreviewImageUrl||e.previewImageUrl,rootRef:n,placeholderSrc:FW}),(0,J.jsx)(Fa,{src:FK,alt:"View resume example"})]},e.id)),i&&(0,J.jsx)(Fc,{$isFirstLoading:0===r,children:(0,J.jsx)(du.Ay,{})})]})},FG=()=>{let e=i7.R.t("builder.use_example.choose_example"),[t,i]=(0,R.useState)({isSticky:!0,isInTop:!0,previousScrollPosition:0}),r=(0,R.useRef)(null),{isPhone:n}=(0,ih.e)(),{fetchingResumeExamples:o,currentPage:a,totalPages:l,loadMore:s}=FO(),d=a===l;return(0,R.useEffect)(()=>{let e=(0,pc.throttle)(()=>
3285{if(r.current){let{scrollTop:e,clientHeight:t,scrollHeight:n}=r.current;i(t=>{let i=e<=0||e<t.previousScrollPosition&&0!==e,r=e<=0;return i!==t.isSticky||r!==t.isInTop||t.previousScrollPosition!==e?{isSticky:i,isInTop:r,previousScrollPosition:e}:t}),!(e+t>=n-250)||d||o||s()}},100),t=r.current;return t?.addEventListener("scroll",e),()=>{t?.removeEventListener("scroll",e)}},[d,o,s]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Fu,{hide:!t.isInTop&&n,children:e}),(0,J.jsx)(FU,{}),(0,J.jsxs)(Fp,{ref:r,children:[(0,J.jsx)(Fz,{hide:n&&!t.isSticky}),(0,J.jsx)(Fq,{})]})]})},FZ=i(60195),FX=i(2670),FQ=i(46335);let FY=(0,tt.i7)(["0%{transform:scale(1);opacity:0.2;}100%{transform:scale(3);opacity:0;}"]),F0=(0,tt.i7)(["0%,100%{transform:scale(1);}50%{transform:scale(1.3);}"]),F1=tt.Ay.div(["position:fixed;width:54px;height:54px;display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:50%;z-index:",";",""],FQ.Mu+1,e=>e.disablePulse&&(0,tt.AH)(["width:12px;height:12px;background:none;"])),F2=tt.Ay.span(["width:12px;height:12px;background:",";border:1.4px solid ",";border-radius:50%;z-index:",";animation:"," 1.5s ease-in-out infinite;"],te.Jy.Blue50,te.Jy.White,FQ.Mu+1,F0),F3=tt.Ay.div(["position:absolute;width:18px;height:18px;border-radius:50%;background-color:",";opacity:0;z-index:1;animation:"," 2.4s infinite cubic-bezier(0.3,0,0.7,1);animation-delay:",";"],te.Jy.Blue50,FY,e=>e.delay),F5=({step:e,disablePulse:t})=>{let{isPhone:i,isTablet:r}=(0,ih.e)(),n=(0,R.useRef)(document.createElement("div")),[o,a]=(0,R.useState)(!1),[l,s]=(0,R.useState)({top:0,left:0}),d=document.querySelector(e.target),c=(0,R.useCallback)(()=>{e.data?.onClick?.()},[e.data]),u=()=>{if(!d)return{top:0,left:0};let i=d.getBoundingClientRect(),r=t?6:27,{top:n,left:o,width:a,height:l}=i,s=o+a/2-r,c=n+l/2-r;return e.placement?.includes("bottom")?{top:n+l-r,left:s}:e.placement?.includes("right")?{top:c,left:o+a-r}:e.placement?.includes("left")?{top:c,left:o-r}:{top:n-r,left:s}},p=(0,FX.Y)(()=>{s(u())},20);return((0,R.useEffect)(()=>(d&&((i||r)&&"#drag-handle-card"===e.target&&d?.style.setProperty("z-index",`${FQ.Mu+100}`),d.addEventListener("click",c),d.addEventListener("scroll",p),window.addEventListener("scroll",p),a(!0),s(u())),()=>{(i||r)&&"#drag-handle-card"===e.target&&d?.style.removeProperty("z-index"),d?.removeEventListener("click",c),d?.removeEventListener("scroll",p),window.removeEventListener("scroll",p)}),[d]),(0,R.useEffect)(()=>{let e=n.current;return document.body.appendChild(e),()=>e.remove()},[]),o&&d)?pj.createPortal((0,J.jsx)(F1,{disablePulse:t,onClick:()=>d.click(),style:{...{...l,left:t?l.left+7:l.left},...FQ.R3},children:t?(0,J.jsx)(F2,{}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(F2,{}),(0,J.jsx)(F3,{delay:"0s"}),(0,J.jsx)(F3,{delay:"0.8s"}),(0,J.jsx)(F3,{delay:"1.6s"})]})}),n.current):null};var F4=i(56075),F6=i(92944);let F8=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;padding:20px;max-width:380px;border-radius:16px;background:",";",";",""],te.Jy.White,tr.q.lightWithBorder.high,e=>e.$isDragStep?tQ.A.Phone`
3286          width: 315px;
3287        `:tQ.A.Phone` 
3288          max-width: 350px;
3289    `),F9=tt.Ay.div(["display:flex;gap:",";"],te.Kz["2XS"]),F7=tt.Ay.div(["display:flex;flex-direction:column;gap:2px;"]),He=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral90,td.Ay.Body,td.BO.Medium),Ht=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral70,td.Ay.Caption,td.BO.Regular),Hi=tt.Ay.div(["display:flex;align-items:center;gap:12px;position:absolute;top:-20px;right:16px;",""],e=>e.$isDownloadStep&&(0,tt.AH)(["left:16px;right:unset;"])),Hr=tt.Ay.div(["width:100%;border-radius:24px;border:4px solid ",";background-color:",";"],te.Jy.White,te.Jy.Blue10),Hn=tt.Ay.p(["color:",";padding:6px 12px;gap:10px;",";",";&::first-letter{text-transform:capitalize;}"],te.Jy.Blue60,td.Ay.Caption,td.BO.Medium),Ho=tt.Ay.div(["display:flex;align-items:center;"]),Ha=(0,tt.Ay)(F6.J)(["background:none;&:hover,&:focus-visible{background-color:",";}&:active{background-color:",";}"],te.Jy.Blue10,te.Jy.Blue20),Hl=({step:e,size:t,index:i,stepName:r,tooltipProps:n})=>{let{i18n:o}=(0,e1.s)(),a="download"===r,l="editor"===r&&i===F4.g.DRAG_SECTIONS;return(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(F8,{className:"tooltip__body",...n,$isDragStep:l,style:{...e.styles.tooltipContainer,textAlign:"start"},children:[(0,J.jsx)(Hi,{$isDownloadStep:a,children:(0,J.jsx)(Hr,{children:(0,J.jsx)(Hn,{children:a?r:`${r} • ${i+1} ${o.t(`${FQ.Gy}.of`)} ${t}`})})}),(0,J.jsxs)(F9,{children:[(0,J.jsxs)(F7,{children:[(0,J.jsx)(He,{className:"tooltip__title",children:e.title}),(0,J.jsx)(Ht,{className:"tooltip__content",children:e.content})]}),(0,J.jsx)(Ho,{children:e.showSkipButton&&(0,J.jsx)(Ha,{onClick:()=>e.data.onSkip?.(),size:i$.Mp.small,theme:i$.Ox.secondary,children:o.t(`${FQ.Gy}.skip`)}
3289)})]})]})})},Hs=tt.Ay.div(["position:fixed;top:32px;right:32px;z-index:",";",";"],FQ.Mu+2,tQ.A.Phone`
3290    top: 20px;
3291    right: 20px;
3292  `),Hd=(0,tt.Ay)(i$.JQ).attrs({size:i$.Mp.small,theme:i$.Ox.ghost})(["",";border-radius:24px;padding:8px 20px;background-color:",";border:none;&:hover{",";background-color:",";}",";"],tr.q.lightWithBorder.low,te.Jy.White,tr.q.lightWithBorder.mid,te.Jy.White,tQ.A.Phone`
3293    padding: 6px 16px;
3294  `),Hc=({label:e,onSkipAll:t})=>{let i=(0,R.useRef)(document.createElement("div"));return(0,R.useEffect)(()=>{let e=i.current;return document.body.appendChild(e),()=>e.remove()},[]),pj.createPortal((0,J.jsx)(Hs,{children:(0,J.jsx)(Hd,{onClick:()=>t(),children:e})}),i.current)};var Hu=i(46912);let Hp=(0,R.memo)(()=>{let{i18n:e}=(0,e1.s)(),t=(()=>{let{i18n:e}=(0,e1.s)(),{skipTourStep:t,onEndTour:i}=(0,Hu.a)(),{isTablet:r,isPhone:n}=(0,ih.e)();return[{offset:0,disableBeacon:!0,spotlightPadding:0,spotlightClicks:!0,styles:{options:{...(0,FQ.WC)()}},showSkipButton:!0,target:"#builder-download-button",placement:r||n?"top":"bottom",title:e.t(`${FQ.Gy}.download.step_1.title`),content:e.t(`${FQ.Gy}.download.step_1.content`),floaterProps:{styles:{...(0,FQ.C0)()}},data:{onSkip:()=>{var e;e=F4.g.DOWNLOAD_RESUME,(0,N.xP)("skip_rb_onboarding_hint",{category:"download",step:e+1}),t("download",e),i()},onClick:()=>{(0,N.xP)("see_rb_onboarding_hint",{category:"editor",step:F4.g.DOWNLOAD_RESUME+1}),i()}}}]})(),i=(()=>{let{i18n:e}=(0,e1.s)(),{isTablet:t,isPhone:i}=(0,ih.e)(),{toggleTour:r,toggleDelayedTour:n,toggleAllSections:o,skipTourStep:a,setAnimationStyles:l,onUpdateDragSections:s}=(0,Hu.a)(),d=(e,t)=>{(0,N.xP)("skip_rb_onboarding_hint",{category:"editor",step:e+1}),a(t,e)};return[{offset:5,disableBeacon:!0,styles:{options:{...(0,FQ.WC)()}},spotlightPadding:0,spotlightClicks:!0,target:t||i?"#mobile-modal-editor-button":"#back-to-editor-button",placement:"bottom-start",title:e.t(`${FQ.Gy}.editor.step_1.title`),content:e.t(`${FQ.Gy}.editor.step_1.content`),floaterProps:{styles:{...(0,FQ.C0)()}},data:{onClick:()=>{l(),(0,N.xP)("see_rb_onboarding_hint",{category:"editor",step:F4.g.EDIT_RESUME+1}),r({isRunning:!1,isStartModalOpen:!1,stepIndex:F4.g.DRAG_SECTIONS}),setTimeout(()=>{o(!1),n(F4.g.DRAG_SECTIONS,"editor")},500)}}},{offset:10,disableBeacon:!0,styles:{options:{...(0,FQ.WC)()}},spotlightPadding:5,spotlightClicks:!0,showSkipButton:!0,target:"#drag-handle-card",placement:"right",title:e.t(`${FQ.Gy}.editor.step_3.title`),content:e.t(`${FQ.Gy}.editor.step_3.content`),floaterProps:{styles:{...(0,FQ.C0)()}},data:{onSkip:()=>{d(F4.g.DRAG_SECTIONS,"editor"),s()},onClick:()=>{l(),(0,N.xP)("see_rb_onboarding_hint",{category:"editor",step:F4.g.DRAG_SECTIONS+1}),r({isRunning:!1,isStartModalOpen:!1,stepIndex:F4.g.PHRASES_SUGGESTIONS,stepName:"editor"})}}},{offset:0,disableBeacon:!0,styles:{options:{...(0,FQ.WC)()}},spotlightPadding:0,spotlightClicks:!0,showSkipButton:!0,disableScrolling:!1,target:"#phrases-suggestion-toggler",placement:"top",title:e.t(`${FQ.Gy}.editor.step_4.title`),content:e.t(`${FQ.Gy}.editor.step_4.content`),floaterProps:{styles:{...(0,FQ.C0)()}},data:{onSkip:()=>{l(),d(F4.g.PHRASES_SUGGESTIONS,"editor"),n(F4.g.DOWNLOAD_RESUME,"download")},onClick:()=>{l(),(0,N.xP)("see_rb_onboarding_hint",{category:"editor",step:F4.g.PHRASES_SUGGESTIONS+1}),a("download")}}}]})(),r=(()=>{let{i18n:e}=(0,e1.s)(),{isTablet:t,isPhone:i}=(0,ih.e)(),{toggleTour:r,toggleDelayedTour:n,skipTourStep:o,setAnimationStyles:a}=(0,Hu.a)(),l=e=>{(0,N.xP)("skip_rb_onboarding_hint",{category:"design",step:e}),o("design",e)};return[{offset:10,disableBeacon:!0,styles:{options:{...(0,FQ.WC)()}},spotlightPadding:0,spotlightClicks:!0,disableScrolling:!0,target:"#select-resume-template-button",placement:t||i?"top":"bottom-start",title:e.t(`${FQ.Gy}.design.step_1.title`),content:e.t(`${FQ.Gy}.design.step_1.content`),floaterProps:{styles:{...(0,FQ.C0)(!0)}},data:{onClick:()=>{var e;e=F4.J.SELECT_TEMPLATE,a(),(0,N.xP)("see_rb_onboarding_hint",{category:"design",step:e}),r({isRunning:!1,isStartModalOpen:!1,stepIndex:e}),n(e,"design")}}},{offset:10,disableBeacon:!0,styles:{options:{...(0,FQ.WC)(),zIndex:4}},spotlightPadding:0,spotlightClicks:!0,showSkipButton:!0,target:"#resume-templates-container",placement:t||i?"top":"right",title:e.t(`${FQ.Gy}.design.step_2.title${i?"_mobile":""}`),content:e.t(`${FQ.Gy}.design.step_2.content`),floaterProps:{styles:{...(0,FQ.C0)()}},data:{onSkip:()=>{a(),l(F4.J.SELECT_TEMPLATE),n(F4.g.EDIT_RESUME,"editor")},onClick:()=>{}}},{offset:10,disableBeacon:!0,styles:{options:{...(0,FQ.WC)()}},spotlightPadding:0,spotlightClicks:!0,showSkipButton:!0,target:"#color-select-2",placement:t||i?"top":"bottom",title:e.t(`${FQ.Gy}.design.step_3.title`),content:e.t(`${FQ.Gy}.design.step_3.content`),floaterProps:{styles:{...(0,FQ.C0)()}},data:{onSkip:()=>
3294{l(F4.J.SELECT_COLOR),n(F4.g.EDIT_RESUME,"editor")},onClick:()=>{r({isRunning:!1,isStartModalOpen:!1,stepIndex:0}),n(F4.g.EDIT_RESUME,"editor")}}}]})(),{stepName:n,stepIndex:o,showSkipButton:a,isTourRunning:l,skipAll:s}=(0,Hu.a)(),d={editor:i,design:r,download:t}[n||"design"],c="editor"===n,u="download"===n,p=c&&o===F4.g.DRAG_SECTIONS;return(0,J.jsxs)(J.Fragment,{children:[!u&&a&&(0,J.jsx)(Hc,{label:e.t(`${FQ.Gy}.skip_all`),onSkipAll:s}),(0,J.jsx)(FZ.Zl,{run:l,steps:d,scrollOffset:200,callback:e=>{"start"===e.action&&(0,FQ.ow)()},scrollDuration:1e3,showSkipButton:!1,disableScrollParentFix:!0,stepIndex:o,styles:{options:{zIndex:FQ.Mu,overlayColor:"rgba(0, 0, 0, 0.2)"}},customToolTip:e=>(0,J.jsx)(Hl,{...e,stepName:n||"design"})}),l&&(0,J.jsx)(F5,{disablePulse:p,step:d[o??0]})]})});var Hh=i.p+"media/init-modalafccc52071964aa4.png",Hx=i(83035);let Hm=tt.Ay.div(["","{","}","{","}"],Hx.h,tQ.A.Phone`
3295      align-items: flex-end;
3296    `,Hx.U,tQ.A.Phone`
3297        margin: unset;
3298    `),Hg=(0,tt.Ay)(i6.A).attrs({backgroundOpacity:.2,overlayFadeDuration:350,contentSlideDuration:350})([""]),Hy=tt.Ay.div(["width:352px;display:flex;padding:",";flex-direction:column;justify-content:center;align-items:flex-end;gap:",";background-color:",";border-radius:",";box-shadow:0 6px 8px -2px rgba(15,20,30,0.08),0 16px 64px -8px rgba(15,20,30,0.32);",""],te.Kz.M,te.Kz.M,te.Jy.White,te.Kz.XS,tQ.A.Phone`
3299    width: 100%;
3300    padding: 12px 16px 16px;
3301  `),Hf=tt.Ay.div(["display:flex;flex-direction:column;gap:",";",""],te.Kz.S,tQ.A.Phone`
3302    gap: ${te.Kz["2XS"]};
3303  `),Hb=tt.Ay.div(["display:flex;width:56px;height:56px;padding:0.7px 3.027px 0.7px 2.8px;justify-content:center;align-items:center;"]),H_=tt.Ay.img(["width:100%;height:100%;object-fit:cover;"]),Hv=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;gap:",";",""],te.Kz["2XS"],tQ.A.Phone`
3304    gap: ${te.Kz["3XS"]};
3305  `),Hj=tt.Ay.h1(["",";",";color:",";"],te.o5.sizes.Subhead,td.BO.Medium,te.Jy.Neutral90),HA=tt.Ay.p(["",";",";color:",";"],te.o5.sizes.Body,td.BO.Regular,te.Jy.Neutral70),HC=(0,tt.Ay)(i$.JQ)(["width:100%;"]),Hw=()=>{let{i18n:e}=(0,e1.s)(),{isStartModalOpen:t,toggleTour:i}=(0,Hu.a)();return((0,R.useEffect)(()=>{t&&(0,N.xP)("see_rb_onboarding_modal")},[t]),t)?(0,J.jsx)(Hm,{children:(0,J.jsx)(Hg,{isOpen:!0,children:(0,J.jsxs)(Hy,{children:[(0,J.jsxs)(Hf,{children:[(0,J.jsx)(Hb,{children:(0,J.jsx)(H_,{src:Hh,alt:"Init Document Tour"})}),(0,J.jsxs)(Hv,{children:[(0,J.jsx)(Hj,{children:e.t(`${FQ.Gy}.modal.title`)}),(0,J.jsx)(HA,{children:e.t(`${FQ.Gy}.modal.description`)})]})]}),(0,J.jsx)(HC,{onClick:()=>{(0,N.xP)("click_rb_onboarding_modal"),i({isRunning:!0,isStartModalOpen:!1,stepIndex:0,stepName:"design",isTourActive:!0})},children:e.t(`${FQ.Gy}.modal.action`)})]})})}):null};var Hk=()=>{let[e,t]=(0,R.useState)(!1),i=(0,eU.wA)(),{startInitTourModal:r}=(0,Hu.a)(),{selectedResumeExample:n}=FO(),{id:o,jobTitle:a,subtitle:l,ratingScore:s,ratingReviews:d}=n||{};return(0,R.useEffect)(()=>{(0,N.xP)(eZ.pn.seeExamplePreview,{label:eZ.to.examplesPrefill,jobTitle:a})},[a]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(FT,{children:[(0,J.jsx)(FP,{children:a}),(0,J.jsx)(FJ,{children:l}),(0,J.jsx)(FE,{children:(0,J.jsx)(FR,{src:n?.previewImageUrl})})]}),(0,J.jsxs)(FL,{children:[(0,J.jsx)(FN,{onClick:()=>{o&&((0,N.xP)(eZ.pn.clickUseExample,{label:eZ.to.examplesPrefill,jobTitle:a}),t(!0),i($.o1.generateResumeFromExample({exampleId:o,jobTitle:a})),r())},isLoading:e,isDisabled:e,children:i7.R.t("builder.use_example.use_example_action")}),(0,J.jsxs)(FI,{children:[d&&(0,J.jsxs)(FM,{children:[d," ",i7.R.t("builder.use_example.rating_text")]}),s&&(0,J.jsx)(FB,{children:(0,J.jsx)(z7,{children:s})})]})]})]})},HS=()=>{let e=(0,eU.wA)(),{isPhone:t}=(0,ih.e)(),[i,r]=(0,R.useState)(null),n=!!i;return(0,R.useEffect)(()=>()=>{e($.o1.setShowUseExamplePopup(!1))},[e]),(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,fullScreen:t,children:(0,J.jsxs)(Fe,{isResumePreview:n,children:[(0,J.jsxs)(Ft,{children:[(0,J.jsxs)(Fi,{isResumePreview:n,onClick:()=>{n?r(null):(e($.o1.setShowUseExamplePopup(!1)),e($.o1.setShowPrefillResumeModal(!0)))},children:[(0,J.jsx)(Fr,{children:(0,J.jsx)(tP.qJ.Chevron,{})}),i7.R.t("builder.use_example.back")]}),(0,J.jsx)(Fn,{isResumePreview:n,onClick:()=>{e($.o1.setShowUseExamplePopup(!1))},children:(0,J.jsx)(tP.EK.Close,{})})]}),(0,J.jsx)(F$,{selectedResumeExample:i,setSelectedResumeExample:r,children:n?(0,J.jsx)(Hk,{}):(0,J.jsx)(FG,{})})]})})};let HT=tt.Ay.div(["width:520px;border-radius:16px;padding:48px 52px;background:",";display:flex;flex-direction:column;align-items:center;position:relative;gap:40px;",""],te.Jy.White,tQ.A.Phone`
3306    min-height: unset;
3307    border-radius: 0px;
3308    height: 100%;
3309    padding: 76px 36px 36px;
3310    overflow: auto;
3311    justify-content: space-between;
3312  `),HP=tt.Ay.p(["",";",";color:",";text-align:center;"],td.Ay.M,td.BO.DemiBold,te.Jy.Neutral90),HJ=tt.Ay.p(["",";color:",";text-align:center;"],td.Ay.Body,te.Jy.Neutral50),HE=tt.Ay.div(["display:flex;justify-content:space-between;width:100%;"]),HR=tt.Ay.div(["width:100%;margin-bottom:8px;"]),HL=(0,tt.Ay)(tP.Ay.Spinner)(["color:",";animation:"," 0.5s linear infinite;"],te.Jy.Blue50,im.ni),HN=(0,tt.Ay)(tP.Ay.Success)(["fill:",";"],te.Jy.Green50),HI=(0,tt.Ay)(tP.EK.WarningCircle)(["color:",";width:16px;height:16px;"],te.Jy.Red50),HM=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:32px;"]),HB=(0,tt.Ay)(HM)(["gap:12px;"]),HD=(0,tt.Ay)(i$.JQ)(["",""],tQ.A.Phone`
3313    width: 100%;
3314  `),H$=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;padding:0 13px;",""],tQ.A.Phone`
3315    gap: 8px;
3316  `),HO=(0,tt.Ay)(H$)(["padding:unset;"]),Hz=(0,tt.Ay)(H$)(["padding:0 66px;"]);(0,tt.Ay)(HP)(["margin-bottom:42px;",""],tQ.A.Phone`
3317    margin-bottom: 32px;
3318  `);let HF=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;"]),HH=tt.Ay.div(["",";",";color:",";max-width:272px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),HV=tt.Ay.div(["",";color:",";max-width:272px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],td.Ay.Caption,te.Jy.Neutral50),HU=tt.Ay.div([""," ",";color:",";align-items:center;cursor:pointer;display:flex;gap:9px;"],td.Ay.Caption,td.BO.DemiBold,te.Jy.Blue50),HW=(0,tt.Ay)(tP.Ay.Revert)(["color:",";height:20px;width:20px;"],te.Jy.Blue50);(0,tt.Ay)(HJ)([""]),tQ.A.Phone`
3319    margin-top: 100px;
3320    margin-bottom: 24px;
3321  `;let HK=tt.Ay.div(["position:relative;display:flex;align-items:center;justify-content:center;margin-top:48px;"]),Hq=tt.Ay.img(["width:160px;height:100px;"]),HG=tt.Ay.img(["width:90px;height:90px;position:absolute;border-radius:50%;display:flex;align-items:center;justify-content:center;"]),HZ=tt.Ay.img(["width:160px;height:100px;position:absolute;"]),HX=tt.Ay.img(["width:24px;height:24px;position:absolute;top:-45px;left:-50px;"]),HQ=tt.Ay.img(["width:88px;height:120px;"]),HY=tt.Ay.div(["position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer;top:48px;right:48px;",""],tQ.A.Phone`
3322    top: 5px;
3323    right: 5px;
3324  `),H0=(0,tt.Ay)(tP.EK.Close)(["color:",";position:absolute;border-radius:28px;width:28px;height:28px;padding:4px;background:",";&:hover{background:",";color:",";}",";"],te.Jy.Neutral50,te.Jy.Neutral10,te.Jy.Blue10,te.Jy.Blue50,tQ.A.Phone`
3325    width: 24px;
3326    height: 24px;
3327    padding: 2px;
3328    top: 20px;
3329    right: 20px;
3330  `),H1=(0,tt.Ay)(i$.JQ)(["border-radius:20px;position:absolute;top:32px;left:24px;height:32px;background-color:",";color:",";",";&:hover{background-color:",";color:",";}",";"],te.Jy.Neutral10,te.Jy.Neutral50,td.BO.DemiBold,te.Jy.Blue10,te.Jy.Blue50,tQ.A.Phone`
3331    top: 20px;
3332    left: 20px;
3333  `),H2=tt.Ay.div(["display:flex;flex-direction:column;gap:32px;"]),H3=tt.Ay.div(["display:inline-flex;padding:16px 32px 12px;flex-direction:column;align-items:center;border-radius:8px;background:linear-gradient(180deg,rgba(255,255,255,0.72) 0%,rgba(255,255,255,0.4) 100%),rgba(26,145,240,0.1);box-shadow:0px 1.099px 5.897px 0px rgba(26,145,240,0.2) inset;margin-top:36px;"]),H5=(0,tt.Ay)(HE)(["",""],tQ.A.Phone`
3334    flex-direction: column-reverse;
3335    align-items: center;
3336    gap: ${te.Kz.M};
3337    margin-bottom: 12px;
3338  `),H4=(0,tt.Ay)(HE)(["",""],tQ.A.Phone`
3339    flex-direction: column-reverse;
3340    align-items: center;
3341    gap: ${te.Kz.M};
3342  `),H6=/^(https?:\/\/)?(\w+\.)?linkedin.com\/in\/([-a-zA-Z0-9]+)/,H8="builder.prefill_resume.create_resume_with_linkedin",H9=()=>{let e=(0,eU.wA)(),[t,i]=(0,R.useState)(null),[r,n]=(0,R.useState)(eZ.Hp.notAsked),{i18n:o}=(0,e1.s)(),{resume:a,createResumeWithLinkedIn:l}=(0,eW.N)(e=>e.resumeEditor),{linkedInProfileURL:s,fetchLinkedInProfileStatus:d,currentStep:c,linkedInProfileData:u,errorState:p,updateResumeWithLinkedInStatus:h}=l,x=(0,R.useMemo)(()=>{let e=s.toLowerCase();return(e=e.startsWith("https")||e.startsWith("http")?e:`https://${e}`).replace(/:\/\/(?!www\.)/,"://www.")},[s]),m=(0,R.useCallback)(()=>{x&&a?.id&&(e($.o1.updateResumeWithLinkedInProfile({linkedInProfileURL:x,resumeId:a?.id})),(0,N.xP)("click_yes",{label:"profile_screen_li_prefill"}))},[x,a?.id,e]),g=(0,R.useCallback)(()=>{t||(""===s?i(o.t(`${H8}.prefill_modal.input_error_empty`)):e($.o1.fetchCreateResumeWithLinkedInProfile({linkedInProfileURL:x})),(0,N.xP)("click_continue",{label:"linkedin_prefill_screen_li_prefill"}))},[e,o,t,s,x]),y=(0,R.useCallback)(()=>{e($.o1.updateCreateResumeWithLinkedInState({errorState:!1,fetchLinkedInProfileStatus:eZ.Hp.notAsked}))},[e]),f=(0,R.useCallback)(()=>{e($.o1.resetCreateResumeWithLinkedInFlow()),e($.o1.updateSimpleField({name:"showPrefillResumeModal",value:!0})),(0,N.xP)("click_return",{label:"linkedin_profile_error_screen_li_prefill"})},[e]),b=(0,R.useCallback)(()=>{e($.o1.resetCreateResumeWithLinkedInFlow()),e($.o1.updateSimpleField({name:"showPrefillResumeModal",value:!0}))},[e]),_=(0,R.useCallback)(()=>{(0,N.xP)("click_try_again",{label:"linkedin_profile_error_screen_li_prefill"}),c===$.LO.linkedInURL||c===$.LO.linkedInProfile?e($.o1.updateCreateResumeWithLinkedInState({currentStep:$.LO.linkedInURL,linkedInProfileURL:"",updateResumeWithLinkedInStatus:eZ.Hp.notAsked,linkedInProfileData:null,errorState:!1})):f()},[c,e,f]),v=H6.test(s.toLowerCase());return{linkedInProfileURL:s,fetchLinkedInProfileStatus:d,currentStep:c,handleUseAnotherLink:()=>{e($.o1.updateCreateResumeWithLinkedInState({currentStep:$.LO.linkedInURL,linkedInProfileURL:"",updateResumeWithLinkedInStatus:eZ.Hp.notAsked,linkedInProfileData:null})),(0,N.xP)("click_use_another_link",{label:"profile_screen_li_prefill"})},handleGenerateResumeWithLinkedIn:m,handleTryAgain:_,handleFetchLinkedInProfile:g,setLinkedInFetchError:i,linkedInFetchError:t,handleBack:y,isLinkValid:v,handleChangeURL:(0,R.useCallback)(t=>{let{value:i}=t.target;(e($.o1.updateCreateResumeWithLinkedInState({linkedInProfileURL:i})),i)?r!==eZ.Hp.loading&&n(eZ.Hp.loading):n(eZ.Hp.notAsked)},[e,r]),linkValidationStatus:r,setLinkValidationStatus:n,linkedInProfileData:u,handleReturnStart:f,errorState:p,updateResumeWithLinkedInStatus:h,handlePrefillBack:b,handleClose:(0,R.useCallback)(()=>{e($.o1.resetCreateResumeWithLinkedInFlow())},[e])}},H7=()=>{let{i18n:e}=(0,e1.s)(),t=(0,ih.e)(),{linkedInProfileURL:i,fetchLinkedInProfileStatus:r,handleFetchLinkedInProfile:n,setLinkedInFetchError:o,linkedInFetchError:a,isLinkValid:l,handleChangeURL:s,linkValidationStatus:d,setLinkValidationStatus:c,handlePrefillBack:u,handleClose:p}=H9();return(0,o$.default)(()=>{let t="";i&&(l?(c(eZ.Hp.loaded),o(null),t="ok"):(c(eZ.Hp.failed),o(e.t(`${H8}.prefill_modal.input_error_invalid`)),t="failed"),(0,N.xP)("provide_linkedin_link",{link:i,status:t,label:"linkedin_prefill_screen_li_prefill"}))},1e3,[i]),(0,R.useEffect)(()=>{i||a!==e.t(`${H8}.prefill_modal.input_error_invalid`)||o(null)},[i,a,e,o]),(0,R.useEffect)(()=>{(0,N.xP)("see_linkedin_prefill_screen",{label:"li_prefill"})},[]),(0,J.jsxs)(HT,{children:[(0,J.jsx)(HY,{onClick:p,children:(0,J.jsx)(H0,{})}),t.isPhone&&(0,J.jsx)(H1,{size:"small",leadingIcon:(0,J.jsx)(tP.Ay.ChevronLeftCurrentColor,{}),onClick:u,isDisabled:r===eZ.Hp.loading,children:e.t(`${H8}.prefill_modal.back_button_text`)}),(0,J.jsxs)(HM,{children:[(0,J.jsx)(Hq,{src:OK,alt:"Create Resume With LinkedIn"}),(0,J.jsxs)(H$,{children:[(0,J.jsx)(HP,{children:e.t(`${H8}.prefill_modal.title`)}),(0,J.jsx)(HJ,{children:e.t(`${H8}.prefill_modal.description`)})]}),(0,J.jsx)(HR,{children:(0,J.jsx)(re.A,{value:i,name:"linkedInURL",placeholder:e.t(`${H8}.prefill_modal.input_placeholder`),onChange:s,inputIcon:(e=>{switch(e){case eZ.Hp.loading:return(0,J.jsx)(HL,{});case eZ.Hp.loaded:return(0,J.jsx)(HN,{});case eZ.Hp.failed:return(0,J.jsx)(HI,{});default:return(0,J.jsx)(J.Fragment,{})}})(d),inputIconPosition:"right",error:a,disabled:r===eZ.Hp.loading,"data-testid":"linkedin-prefill-input",errorDataTestId:"linkedin-prefill-input-error"})})]}),(0,J.jsxs)(HE,{children:[!t.isPhone&&(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,onClick:u,isDisabled:r===eZ.Hp.loading,children:e.t(`${H8}.prefill_modal.back_button_text`)}),(0,J.jsx)(HD,{onClick:n,isLoading:r===eZ.Hp.loading,disabled:d===eZ.Hp.loading,children:e.t(`${H8}.prefill_modal.continue_button_text`)})]})]})};var Ve=i.p+"media/draft-searche4e07442b5c8ae02.png";let Vt=()=>{let{i18n:e}=(0,e1.s)(),{fetchLinkedInProfileStatus:t,handleTryAgain:i,handleReturnStart:r,handleClose:n}=H9();return(0,R.useEffect)(()=>{(0,N.xP)("see_linkedin_profile_error_screen",{label:"li_prefill"})},[]),(0,J.jsxs)(HT,{children:[(0,J.jsx)(HY,{onClick:n,children:(0,J.jsx)(H0,{})}),(0,J.jsxs)(HB,{children:[(0,J.jsx)(HQ,{src:Ve,alt:"Create Resume With LinkedIn Error"}),(0,J.jsxs)(HO,{children:[(0,J.jsx)(HP,{children:e.t(`${H8}.error_modal.title`)}),(0,J.jsx)(HJ,{children:e.t(`${H8}.error_modal.description`)})]})]}),(0,J.jsxs)(H4,{children:[(0,J.jsx)(HD,{theme:i$.Ox.ghost,onClick:r,children:e.t(`${H8}.error_modal.return_start_button_text`)}),(0,J.jsx)(HD,{onClick:i,isLoading:t===eZ.Hp.loading,children:e.t(`${H8}.error_modal.try_again_button_text`)})]})]})},Vi=()=>{let{i18n:e}=(0,e1.s)(),{linkedInProfileData:t,handleUseAnotherLink:i,handleGenerateResumeWithLinkedIn:r,updateResumeWithLinkedInStatus:n,handleClose:o}=H9();return(0,R.useEffect)(()=>{(0,N.xP)("see_linkedin_profile_screen",{label:"li_prefill"})},[]),(0,J.jsxs)(HT,{children:[(0,J.jsx)(HY,{onClick:o,children:(0,J.jsx)(H0,{})}),(0,J.jsxs)(H2,{children:[(0,J.jsxs)(HF,{children:[(0,J.jsx)(HK,{children:t?.avatar?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(HZ,{src:OY,alt:"LinkedIn Avatar"}),(0,J.jsx)(HG,{src:t?.avatar,alt:"User LinkedIn Avatar"}),(0,J.jsx)(HX,{src:O0,alt:"LinkedIn Avatar Doodle"})]}):(0,J.jsx)(HZ,{src:OK,alt:"LinkedIn Avatar"})}),(0,J.jsxs)(H3,{children:[(0,J.jsx)(HH,{children:t?.fullName}),(0,J.jsx)(HV,{children:t?.position})]})]}),(0,J.jsxs)(Hz,{children:[(0,J.jsx)(HP,{children:e.t(`${H8}.validate_linkedin_profile_modal.title`)}),(0,J.jsx)(HJ,{children:e.t(`${H8}.validate_linkedin_profile_modal.description`)})]})]}),(0,J.jsxs)(H5,{children:[(0,J.jsxs)(HU,{onClick:i,children:[(0,J.jsx)(HW,{}),e.t(`${H8}.validate_linkedin_profile_modal.use_another_link_button_text`)]}),(0,J.jsx)(HD,{onClick:r,isLoading:n===eZ.Hp.loading,children:e.t(`${H8}.validate_linkedin_profile_modal.continue_button_text`)})]})]})},Vr=()=>{let{isPhone:e}=(0,ih.e)(),{currentStep:t,errorState:i}=H9();return(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,fullScreen:e,children:i?(0,J.jsx)(Vt,{}):t===$.LO.linkedInURL?(0,J.jsx)(H7,{}):t===$.LO.linkedInProfile?(0,J.jsx)(Vi,{}):null})};var Vn=i(18503),Vo=i(97846),Va=i.p+"media/review-avatar74bacd6c7f1dc0da.png";let Vl=tt.Ay.div(["position:fixed;bottom:32px;left:50%;transform:translateX(-50%);border-radius:12px;background-color:",";box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 2px 4px -1px rgba(15,56,113,0.08),0px 8px 20px -4px rgba(15,56,113,0.12);padding:",";display:flex;z-index:999999;
3342"," "," ",""],te.Jy.Neutral90,te.Kz.M,({$hide:e})=>e&&"display: none;",tQ.A.Tablet`
3343    width: 100%;
3344    max-width: 672px;
3345  `,tQ.A.Phone`
3346    flex-direction: column;
3347    max-width: 335px;
3348  `),Vs=tt.Ay.div(["display:flex;",""],tQ.A.Phone`
3349    margin-bottom: ${te.Kz["2XS"]};
3350  `),Vd=tt.Ay.div(["width:24px;height:24px;border-radius:100%;background-color:",";border:3px solid white;display:flex;justify-content:center;align-items:center;z-index:2;margin-left:-15px;margin-top:auto;"," ",""],te.Jy.Indigo80,tQ.A.Tablet`
3351    margin-top: 25px;
3352  `,tQ.A.Phone`
3353    width: 20px;
3354    height: 20px;
3355    margin-top: 10px;
3356    margin-left: -10px;
3357  `),Vc=(0,tt.Ay)(tP.EK.Star)(["color:white;"]),Vu=tt.Ay.img(["width:48px;height:48px;border-radius:100%;",""],tQ.A.Phone`
3358    width: 32px;
3359    height: 32px;
3360  `),Vp=tt.Ay.div(["display:flex;flex-direction:column;margin-left:",";"],te.Kz["2XS"]),Vh=tt.Ay.span(["color:white;",";",";"],td.Ay.Subhead,td.BO.DemiBold),Vx=tt.Ay.span(["color:",";",";"],te.Jy.Neutral50,td.Ay.Caption),Vm=(0,tt.Ay)(i$.Ay)(["background-color:",";margin-left:",";border:1px solid ",";&:hover{background-color:",";}"," ",""],te.Jy.Neutral90,te.Kz.L,te.Jy.Neutral20,te.Jy.Neutral80,tQ.A.Tablet`
3361    margin-left: ${te.Kz["2XS"]};
3362    height: fit-content;
3363  `,tQ.A.Phone`
3364    font-size: 16px;
3365    padding: 6px 8px;
3366  `),Vg=(0,tt.Ay)(i$.Ay)(["margin-left:",";"," ",""],te.Kz["2XS"],tQ.A.Tablet`
3367    height: fit-content;
3368  `,tQ.A.Phone`
3369    font-size: 16px;
3370    padding: 6px 8px;
3371  `),Vy=tt.Ay.div(["display:flex;justify-content:flex-end;"]),Vf=({viewResumeCritiqueReview:e,reviewerName:t})=>{let[i,r]=R.useState(!1),{i18n:n}=(0,e1.s)();return R.useEffect(()=>{(0,N.xP)("see_resume_critique_banner",{where:"builder"})},[]),(0,J.jsxs)(Vl,{$hide:i,"data-testid":"critique-finished-banner",children:[(0,J.jsxs)(Vs,{children:[(0,J.jsx)(Vu,{src:Va}),(0,J.jsx)(Vd,{children:(0,J.jsx)(Vc,{})}),(0,J.jsxs)(Vp,{children:[(0,J.jsx)(Vh,{children:n.t("builder.critique_entry_points.critique_finished_banner.title")}),(0,J.jsx)(Vx,{children:n.t("builder.critique_entry_points.critique_finished_banner.subtitle",{reviewer_name:t})})]})]}),(0,J.jsxs)(Vy,{children:[(0,J.jsx)(Vm,{onClick:()=>r(!0),children:n.t("builder.critique_entry_points.critique_finished_banner.close")}),(0,J.jsx)(Vg,{onClick:e,children:n.t("builder.critique_entry_points.critique_finished_banner.read")})]})]})};var Vb=i(89486),V_=i(30647);let Vv=tt.Ay.div(["display:flex;",";",";color:",";padding:12px 16px 12px 12px;gap:12px;border-radius:8px;background-color:",";align-items:center;"],td.Ay.Caption,td.BO.Regular,te.Jy.Blue90,te.Jy.Blue10),Vj=tt.Ay.img(["margin:28px;width:29px;margin:4px;"]);var VA=i.p+"media/img792dc7c711e7f66b.svg";let VC=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(Vv,{children:[(0,J.jsx)(Vj,{src:VA}),(0,J.jsx)("span",{children:e.t("builder.prefill_resume.auto_tailoring_view.banner")})]})};var Vw=i(91973),Vk=i(77279),VS=i(33633);let VT=(0,tt.i7)(["0%{background:linear-gradient(white,white) padding-box,linear-gradient(0deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}25%{background:linear-gradient(white,white) padding-box,linear-gradient(90deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}50%{background:linear-gradient(white,white) padding-box,linear-gradient(180deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}75%{background:linear-gradient(white,white) padding-box,linear-gradient(270deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}100%{background:linear-gradient(white,white) padding-box,linear-gradient(360deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}"]),VP=(0,tt.i7)(["0%{background:linear-gradient(",",",") padding-box,linear-gradient(0deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}25%{background:linear-gradient(",",",") padding-box,linear-gradient(90deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}50%{background:linear-gradient(",",",") padding-box,linear-gradient(180deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}75%{background:linear-gradient(",",",") padding-box,linear-gradient(270deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}100%{background:linear-gradient(",",",") padding-box,linear-gradient(360deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;}"],te.Jy.Indigo10,te.Jy.Indigo10,te.Jy.Indigo10,te.Jy.Indigo10,te.Jy.Indigo10,te.Jy.Indigo10,te.Jy.Indigo10,te.Jy.Indigo10,te.Jy.Indigo10,te.Jy.Indigo10),VJ=tt.Ay.div(["flex:1;max-width:100%;height:100%;background-color:",";margin:auto;",";"],te.Jy.Neutral10,tQ.A.Phone`
3372    height: unset;
3373  `),VE=tt.Ay.div(["flex:1;max-width:100%;height:100vh;background-color:",";display:flex;flex-direction:column;",";"],te.Jy.Neutral10,tQ.A.Tablet`
3374    height: unset;
3375    min-height: 100vh;
3376  `),VR=(0,tt.Ay)(i$.Ay)(["position:sticky;bottom:24px;margin:0 auto;z-index:1000;display:flex;border-radius:32px;background:linear-gradient(white,white) padding-box,linear-gradient(135deg,#ee5e1b 0%,#87b6f7 50%,#7971b0 100%) border-box;border:2.5px solid transparent;box-shadow:0 2px 4px -1px rgba(15,56,113,0.08),0 8px 20px -4px rgba(15,56,113,0.12);gap:4px;align-items:center;",";",";color:",";animation:"," 1.6s ease-in-out infinite;&:hover{animation:"," 1.6s ease-in-out infinite;}",";",";"],td.Ay.Caption,td.BO.Medium,te.Jy.Neutral90,VT,VP,tQ.A.Tablet`
3377    bottom: 76px;
3378  `,tQ.A.Phone`
3379    bottom: 72px;
3380  `);te.Jy.Neutral20;let VL=tt.Ay.div(["animation:"," 1s linear infinite;background:",";background:linear-gradient( to right,"," 5%,#eaeef6 15%,"," 25% );background-size:100vw 100vh;height:100vh;position:relative;overflow:hidden;"],im.D7,te.Jy.Neutral10,te.Jy.Neutral10,te.Jy.Neutral10),VN=tt.Ay.img(["height:1044px;width:100%;"]),VI=tt.Ay.a(["display:flex;align-items:center;",";color:",";transition:color 0.2s;&:hover{color:",";}"],td.Ay.Caption,te.Jy.Neutral50,te.Jy.Blue70),VM=(0,tt.Ay)(tP.Ay.HintOutlined)(["width:20px;height:20px;color:",";margin-right:8px;"],te.Jy.Blue50),VB=tt.Ay.span([""]),VD=tt.Ay.div(["margin-bottom:24px;"]),V$=tt.Ay.div(["display:flex;align-items:center;padding-bottom:40px;",";"],tQ.A.Phone`
3381    flex-direction: column;
3382  `),VO=tt.Ay.div(["",";border-top-right-radius:0;border-top-left-radius:0;padding:"," ",";background-color:",";position:sticky;top:","px;z-index:5;"],Vk.Iq,te.Kz["2XS"],te.Kz.XS,te.Jy.White,e=>e.$stickyTop||0);tQ.A.Tablet`
3383    display: flex;
3384    align-items: center;
3385    justify-content: center;
3386    padding: 12px;
3387    position: sticky;
3388    top: 0;
3389    z-index: 100;
3390    background-color: ${te.Jy.White};
3391    border-bottom: 1px solid ${te.Jy.Neutral15};
3392  `;let Vz=tt.Ay.div(["background-color:",";position:fixed;top:64px;left:0;z-index:600;height:calc(100vh - 64px);border-right:1px solid ",";",";"],te.Jy.White,te.Jy.Neutral15,tQ.A.Phone`
3393    display: none;
3394  `),VF=tt.Ay.div(["position:relative;flex:1 1 auto;display:flex;flex-direction:column;"]),VH=(0,tt.Ay)(VS.D)(["border-radius:0;box-shadow:none;"]),VV=tt.Ay.div(["display:flex;align-items:center;gap:",";padding:6px "," 6px ",";background:",";border-radius:12px;cursor:pointer;white-space:nowrap;&:hover{background:",";}.tablet-top-row &{",";}.phone-abandoner-row &{",";}"],te.Kz["2XS"],te.Kz["2XS"],te.Kz.XS,te.Jy.White,te.Jy.Blue10,tQ.A.Phone`
3395      display: none;
3396    `,tQ.A.Phone`
3397      display: flex;
3398      width: 100%;
3399      background: ${te.Jy.Neutral5};
3400    `),VU=tt.Ay.div(["display:flex;flex-direction:column;"]),VW=tt.Ay.span(["color:",";",";",";",";",";"],te.Jy.Neutral90,td.Ay.Caption,td.BO.Medium,tQ.A.Laptop`
3401    overflow: hidden;
3402    white-space: nowrap;
3403    text-overflow: ellipsis;
3404    max-width: 85px;
3405
3406    ${VV}:hover & {
3407      max-width: none;
3408    }
3409  `,tQ.A.Tablet`
3410    max-width: unset;
3411  `),VK=tt.Ay.span(["color:",";",";",";",";"],te.Jy.Neutral50,td.Ay.Tiny,tQ.A.Laptop`
3412    overflow: hidden;
3413    white-space: nowrap;
3414    text-overflow: ellipsis;
3415    max-width: 85px;
3416
3417    ${VV}:hover & {
3418      max-width: none;
3419    }
3420  `,tQ.A.Tablet`
3421    max-width: unset;
3422  `),Vq=tt.Ay.div(["display:flex;border-radius:8px;background-color:",";width:32px;height:32px;justify-content:center;align-items:center;",":hover &{background-color:",";}",";"],te.Jy.Neutral10,VV,te.Jy.Blue20,tQ.A.Phone`
3423    margin-left: auto;
3424  `),VG=(0,tt.Ay)(tP.Ay.ArrowRight)(["width:20px;height:20px;color:",";"],te.Jy.Neutral70),VZ=tt.Ay.div(["display:flex;align-items:center;",";"],tQ.A.Tablet`
3425    display: none;
3426  `),VX=tt.Ay.div(["max-height:200px;display:flex;align-items:center;justify-content:center;padding:8px ",";background-color:",";border-bottom:1px solid ",";transition:all 350ms ease-in-out;gap:16px;"," ",";"],te.Kz.M,te.Jy.White,te.Jy.Neutral15,e=>
3426e.$isAiWriterOpen&&(0,tt.AH)(["max-height:0;padding:0;opacity:0;border-bottom:none;visibility:hidden;"]),tQ.A.Tablet`
3427    flex-direction: column;
3428    align-items: stretch;
3429    padding: 0;
3430  `),VQ=tt.Ay.div(["flex:1 1 33%;display:flex;align-items:center;justify-content:center;min-height:44px;"]),VY=(0,tt.Ay)(VQ)(["justify-content:flex-start;gap:6px;"]),V0=(0,tt.Ay)(VQ)(["justify-content:flex-end;gap:16px;",";"],tQ.A.Laptop`
3431    ${VV}:hover ~ ${VZ} {
3432      ${i$.C3} {
3433        max-width: 25px;
3434        overflow: hidden;
3435        white-space: nowrap;
3436        text-overflow: ellipsis;
3437        text-align: left;
3438        display: block;
3439      }
3440    }
3441  `),V1=tt.Ay.div(["display:flex;align-items:center;justify-content:center;padding:10px 16px 10px 12px;background-color:",";border-bottom:1px solid ",";border-radius:0 0 12px 12px;",";"],te.Jy.White,te.Jy.Neutral15,tQ.A.Tablet`
3442    flex-direction: column;
3443    align-items: stretch;
3444    padding: 0;
3445    border-bottom: none;
3446    margin-bottom: 4px;
3447  `),V2=tt.Ay.div(["display:none;",";"],tQ.A.Tablet`
3448    display: flex;
3449    align-items: center;
3450    justify-content: space-between;
3451    padding: 8px 16px 0;
3452    height: 48px;
3453  `),V3=tt.Ay.div(["display:none;",";"],tQ.A.Tablet`
3454    display: flex;
3455    align-items: center;
3456    justify-content: space-between;
3457    margin: ${te.Kz.M} 0 16px;
3458    position: relative;
3459    height: 50px;
3460  `),V5=tt.Ay.div(["display:none;",";"],tQ.A.Tablet`
3461    display: flex;
3462    flex-direction: column;
3463    position: absolute;
3464    left: 50%;
3465    transform: translateX(-50%);
3466    align-items: center;
3467    gap: 8px;
3468  `),V4=tt.Ay.div(["display:none;",";"],tQ.A.Tablet`
3469    display: flex;
3470    align-items: center;
3471    position: absolute;
3472    right: 16px;
3473    top: -5px;
3474  `),V6=tt.Ay.div(["display:none;",";"],tQ.A.Tablet`
3475    display: flex;
3476    align-items: center;
3477    gap: 12px;
3478  `),V8=(0,tt.Ay)(V6)(["",";"],tQ.A.Tablet`
3479    gap: 24px;
3480  `),V9=tt.Ay.div(["padding:8px;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;&:hover{background-color:",";svg{color:",";fill:",";}}svg{width:24px;height:24px;color:",";transition:color 0.2s ease;}",";"],te.Jy.Blue10,te.Jy.Blue50,te.Jy.Blue50,te.Jy.Neutral60,tQ.A.Phone`
3481    display: none;
3482  `),V7=tt.Ay.div(["display:flex;align-items:center;"]),Ue=tt.Ay.div(["display:flex;align-items:center;max-width:335px;width:100%;",':hover + div:not([data-editing="true"]){transform:translateX(16px);}',""],V7,tQ.A.Laptop`
3483    max-width: 190px;
3484
3485    ${V7}:hover + div:not([data-editing="true"]) {
3486      transform: none;
3487      opacity: 0;
3488    }
3489  `),Ut=tt.Ay.div(["display:flex;align-items:center;transition:transform 0.2s ease,opacity 0.2s ease;opacity:",";",""],e=>+!e.$isEditing,tQ.A.Laptop`
3490    transition: opacity 0.2s ease;
3491  `),Ui=tt.Ay.div(["display:flex;align-items:center;cursor:pointer;"]),Ur=tt.Ay.span(["position:relative;"]),Un=tt.Ay.span(["position:absolute;top:-8px;right:-35px;font-size:11px;background:",";color:white;padding:0 2px;border-radius:2px;font-weight:600;transform:rotate(32deg);line-height:13px;"],te.Jy.Blue50),Uo=(0,tt.Ay)(VO)(["margin-bottom:0;border-radius:12px;transition:border-radius 0.2s ease-out,box-shadow 0.2s ease-out;"," ",""],e=>(e.$isStickyState||e.$flatTop)&&(0,tt.AH)(["border-top-left-radius:0;border-top-right-radius:0;"]),e=>e.$canScrollTop&&(0,tt.AH)(["box-shadow:",";"],te.qd.lightWithBorderShadowMid)),Ua=(0,tt.Ay)(Vw.Y)(["width:100%;",""],e=>e.$isDark&&(0,tt.AH)(["background-color:",";"],te.Jy.Neutral70)),Ul=(0,tt.Ay)(Vw.f)(["min-width:103px;padding:"," ",";",";",";",""],te.Kz["2XS"],te.Kz.XS,te.o5.sizes.Caption,tQ.A.Tablet`
3492    min-width: 0;
3493    flex: 1;
3494  `,e=>e.$isDark&&(0,tt.AH)(["--color-default:",";--background-default:",";--color-hover:",";--background-hover:",";"],te.Jy.Neutral15,te.Jy.Neutral70,te.Jy.White,te.Jy.Neutral60)),Us=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:24px;background-color:",";padding:"," ",";width:100%;"],te.Jy.White,te.Kz["2XS"],te.Kz.M),Ud=tt.Ay.button(["display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:10px 12px;border:none;border-radius:12px;background-color:",";cursor:pointer;transition:background-color 0.2s ease;&:hover{background-color:",";}svg{width:20px;height:20px;color:",";}"],te.Jy.Neutral10,te.Jy.Neutral15,te.Jy.Neutral60),Uc=(0,tt.Ay)(Us)(["padding:"," 16px;"],te.Kz["2XS"]),Uu=(0,tt.Ay)(Ud)(["padding:"," ",";border-radius:",";color:",";font-weight:",";",";"],te.Kz["2XS"],te.Kz.S,te.Kz.L,te.Jy.Neutral80,te.o5.weights.regular,te.o5.sizes.ButtonV2M),Up=tt.Ay.div(["display:flex;align-items:center;gap:",";flex:1 1 auto;min-width:0;justify-content:center;"],te.Kz["3XS"]),Uh=tt.Ay.div(["display:flex;align-items:center;flex-shrink:0;"]),Ux=tt.Ay.div(["display:none;width:100%;padding:0 16px;margin-top:16px;",";"],tQ.A.Phone`
3495    display: flex;
3496  `),Um=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.secondary})(["border-radius:32px;padding:8px 16px;color:",";background-color:",";&:hover{color:",";}"],te.Jy.Neutral80,te.Jy.Neutral10,te.Jy.Blue50);var Ug=i(4124),Uy=i.n(Ug);let Uf="builder.resume_editor.step_by_step_editor",Ub="work_experience",U_="STEP_BY_STEP_FLOW_VISITED_SECTIONS_LOCAL_STORAGE_KEY",Uv=[$.Gw.details,$.Gw.workExperiences,$.Gw.educations,$.Gw.skills,$.Gw.profile,$.Gw.internships,$.Gw.courses,$.Gw.activities,$.Gw.languages,$.Gw.references,$.Gw.hobbies,$.Gw.accomplishments,$.Gw.socialProfiles],Uj=[$.Gw.details,$.Gw.workExperiences,$.Gw.educations,$.Gw.skills,$.Gw.profile,$.Gw.internships,$.Gw.courses,$.Gw.activities,$.Gw.accomplishments],UA=[$.Gw.details,$.Gw.workExperiences,$.Gw.educations,$.Gw.skills,$.Gw.powerStatement,$.Gw.profile,$.Gw.accomplishments,$.Gw.internships,$.Gw.activities,$.Gw.courses],UC=[$.Gw.details,$.Gw.workExperiences,$.Gw.educations,$.Gw.skills,$.Gw.profile,$.Gw.courses,$.Gw.activities,$.Gw.internships],Uw=()=>{let e=(0,e0.U)(),t=(0,eW.N)($.Tp.stepByStepFlowCurrentStep),{isResumeReadyShown:i}=(0,eW.N)($.Tp.stepByStepFlow),r=!!e?.features.rbpStepFlow,n=!!e?.features.resumeReady,o=n&&r&&i,a=!!t&&r||o,l=t?t===$.Gw.workExperiences?Ub:Uy()(t):null;return{isRbpStepFlowActive:a,isRbpStepFlowFeatureEnabled:r,currentStep:t,currentStepEventName:l,isResumeReadyEnabled:n,isResumeReadyStep:o}},Uk="builder.resume_editor.tab_names",US=()=>{let e=(0,eU.wA)(),t=(0,eW.N)($.Tp.editorPanelType),i=(0,eW.N)($.Tp.autoTailoringFromJobBoard),{isRbpStepFlowActive:r}=Uw(),{i18n:n}=(0,e1.s)(),{features:o}=(0,d2.t)();return{handleTabChange:t=>{e($.o1.setEditorPanelType(t)),(0,N.xP)("switch_resume_editor_tab",{tab:t})},getTabItems:()=>{let e=o.rbpAiReview&&!r&&!i.enabled,t=o.resumeOptimizer&&!r&&!i.enabled;return[{id:"editor",text:n.t(`${Uk}.editor`),dataTestId:"editor-tab-button"},{id:"customization",text:n.t(`${Uk}.customization`),dataTestId:"customization-tab-button"},...e?[{id:"ai_review",text:n.t(`${Uk}.ai_review`),dataTestId:"ai-review-tab-button"}]:[],...t?[{id:"tailoring",text:n.t(`${Uk}.tailoring`),dataTestId:"tailoring-tab-button"}]:[]]},editorPanelType:t}},UT=e=>{let{isTablet:t,isPhone:i}=e;return i,64},UP=tt.Ay.div(["height:","px;background-color:",";border-bottom:1px solid ",";position:sticky;top:0;z-index:100;display:flex;justify-content:space-between;padding:0 32px;align-items:center;flex-shrink:0;"," ",""],64,te.Jy.White,te.Jy.Neutral15,tQ.A.Tablet`
3497    height: ${64}px;
3498    padding: 0 16px;
3499  `,tQ.A.Phone`
3500    height: ${64}px;
3501  `),UJ=tt.Ay.div(["transform:rotate(180deg);"]),UE=tt.Ay.div(["position:absolute;top:0;left:0;right:0;display:flex;justify-content:center;align-items:center;height:100%;"]),UR=tt.Ay.div(["color:",";"],te.Jy.Neutral90),UL=tt.Ay.div(["color:",";"],te.Jy.Neutral50),UN=tt.Ay.div(["margin:12px 0;display:flex;gap:",";",""],te.Kz.S,tQ.A.Tablet`
3502    display: none;
3503  `),UI=tt.Ay.div(["display:flex;align-items:center;gap:4px;color:",";",";font-weight:",";cursor:pointer;padding:4px 0;z-index:1;"],te.Jy.Neutral50,te.o5.sizes.Caption,te.o5.weights.medium),UM=tt.Ay.div([""]),UB=e=>{let{isTabsVisible:t,onBackButtonClick:i,backButtonText:r,nextButtons:n,maxStepNumber:o=4,stepNumber:a,stepText:l,...s}=e,{i18n:d}=(0,e1.s)(),{handleTabChange:c,editorPanelType:u,getTabItems:p}=US(),h=p(),{isAboveTablet:x}=(0,ih.e)();return(0,J.jsxs)(UP,{"data-testid":"tailoring-from-job-board-header",...s,children:[i?(0,J.jsxs)(UI,{onClick:i,"data-testid":"back-button",children:[(0,J.jsx)(UJ,{children:(0,J.jsx)(tP.Ay.ArrowRight,{})}),x&&r]}):(0,J.jsx)(UM,{}),t?(0,J.jsx)(UE,{children:(0,J.jsx)(Vw.Y,{children:h.map(e=>(0,J.jsx)(Ul,{$isActive:u===e.id,onClick:()=>c?.(e.id),children:e.text},e.id))})}):(0,J.jsxs)(UE,{"data-testid":"center-text",children:[(0,J.jsx)(UR,{children:l}),(0,J.jsx)(UL,{dangerouslySetInnerHTML:{__html:d.t("builder.prefill_resume.auto_tailoring_view.header.step",{startStep:a,endStep:o})}})]}),(0,J.jsx)(UN,{children:n})]})},UD=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)(),{isDataMissed:i}=(0,RN.G)(),{fetchTemporaryJobPostingStatus:r,fetchScoreStatus:n}=(0,eW.N)($.Tp.optimizerSection),o=r!==eZ.Hp.loaded||n!==eZ.Hp.loaded;return(0,J.jsx)(aH.QP,{value:e.t("builder.prefill_resume.auto_tailoring_view.start_tailoring_tooltip"),multiline:!0,position:"bottom",textAlign:"center",appendTo:"parent",showOnCreate:!0,isActive:!o,children:(0,J.jsx)(i$.JQ,{leadingIcon:(0,J.jsx)(tP.Ay.ArrowTargetAutoTailoring,{}),onClick:()=>{i?t($.o1.setAutoTailoringState({isNotEnoughDataModalOpen:!0})):((0,N.xP)("click_start_tailoring"),t($.o1.startAutoTailoring()))},size:i$.Mp.small,"data-testid":"start-tailoring-button",disabled:o,children:e.t("builder.prefill_resume.auto_tailoring_view.start_tailoring")})})},U$=()=>{let e=(0,eU.wA)(),{isDataMissed:t}=(0,RN.G)();return{tryToStartAnalysis:(0,R.useCallback)(()=>{t?e($.o1.setAutoTailoringState({isNotEnoughDataModalOpen:!0})):e($.o1.setIsResumeAnalysisModalOpen(!0))},[e,t])}};var UO=i(15978),Uz=i(23699),UF=i(64667);let UH=tt.Ay.div(["display:flex;flex-direction:column;border-radius:",";background-color:",";padding:20px "," ",";gap:",";"],te.Kz.XS,te.Jy.White,te.Kz.M,te.Kz.M,te.Kz.S),UV=(0,tt.Ay)(UH)(["position:relative;flex:1;display:flex;justify-content:center;align-items:center;gap:0;"]),UU=tt.Ay.div(["position:absolute;top:",";left:",";right:",";display:flex;align-items:center;justify-content:center;gap:4px;padding:",";background:",";border-radius:8px;color:",";text-align:center;",";"],te.Kz.M,te.Kz.M,te.Kz.M,te.Kz["2XS"],te.Jy.Amber10,te.Jy.Amber80,te.o5.sizes.Caption),UW=tt.Ay.span(["b{color:",";}"],te.Jy.Amber90),UK=(0,tt.Ay)(zZ.P)(()=>{let e="56px";return(0,tt.AH)(["display:flex;flex-direction:column;margin-top:",";width:100%;height:calc(100% - ",");padding:12px 20px 20px;"],e,e)}),Uq="builder.resume_editor.ai_review_panel";var UG=i.p+"media/bannerdd4a27b8c162cd30.png";let UZ=tt.Ay.img(["width:100%;max-width:544px;",""],tQ.$.Phone`
3504    max-width: 354;
3505  `),UX=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:",";max-width:432px;margin-top:41px;"],te.Kz.M),UQ=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:8px;color:",";text-align:center;"],te.Jy.Neutral80),UY=tt.Ay.div(["",";"],te.o5.sizes.M),U0=tt.Ay.div(["",";"],te.o5.sizes.Body),U1=e=>{let{onStartReview:t,...i}=e,{i18n:r}=(0,e1.s)();return(0,J.jsxs)(UV,{"data-testid":"ai-resume-review-welcome-step",...i,children:[(0,J.jsx)(UZ,{src:UG,alt:"Banner Image"}),(0,J.jsxs)(UX,{children:[(0,J.jsxs)(UQ,{children:[(0,J.jsx)(UY,{children:r.t(`${Uq}.welcome_step.title`)}),(0,J.jsx)(U0,{children:r.t(`${Uq}.welcome_step.description`)})]}),t&&(0,J.jsx)(i$.JQ,{theme:i$.Ox.alternative,leadingIcon:(0,J.jsx)(tP.Ay.FeaturedRegular,{}),onClick:t,children:r.t(`${Uq}.welcome_step.start_button_text`)})]})]})};var U2=i.p+"media/loadingf13d287b29540919.webm";let U3=tt.Ay.video(["max-width:412px;",""],tQ.$.Phone`
3506    max-width: 300px;
3507  `),U5=tt.Ay.div(["",";color:",";display:flex;align-items:center;gap:4px;"],te.o5.sizes.Body,te.Jy.Neutral90),U4=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(UV,{"data-testid":"ai-resume-review-loader",children:[(0,J.jsx)(U3,{src:U2,autoPlay:!0,loop:!0,muted:!0,playsInl
3507ine:!0}),(0,J.jsxs)(U5,{children:[(0,J.jsx)(du.Ml,{$width:"24px",$height:"24px"}),e.t(`${Uq}.loader.description`)]})]})};var U6=i.p+"media/error88bbd4ab28ac0a11.png";let U8=tt.Ay.img(["max-width:412px;",""],tQ.$.Phone`
3508    max-width: 300px;
3509  `),U9=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:16px;"]),U7=tt.Ay.div(["",";font-weight:",";color:",";display:flex;align-items:center;gap:4px;"],te.o5.sizes.Body,te.o5.weights.medium,te.Jy.Neutral90),We=e=>{let{onRetry:t}=e,{i18n:i}=(0,e1.s)();return(0,J.jsxs)(UV,{"data-testid":"ai-resume-review-error",children:[(0,J.jsx)(U8,{src:U6,alt:"Error banner image"}),(0,J.jsxs)(U9,{children:[(0,J.jsx)(U7,{children:i.t(`${Uq}.error.description`)}),!!t&&(0,J.jsx)(i$.JQ,{size:"small",theme:i$.Ox.ghost,leadingIcon:(0,J.jsx)(tP.Ay.TurnLeftRegular,{}),onClick:t,children:i.t(`${Uq}.error.retry`)})]})]})},Wt=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;flex:1 1 100%;> *:last-child{flex:1 1 100%;}"]),Wi=(0,tt.Ay)(UH)(["gap:",";"],te.Kz.XS),Wr=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;"]),Wn=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.DemiBold,te.Jy.Neutral90),Wo=tt.Ay.div(["",";",";color:",";display:flex;flex-direction:column;gap:",";ul,ol{margin:0;padding-inline-start:20px;ul{padding-inline-start:0;list-style-type:disc;}}li::marker{color:",";}b{font-weight:unset;}mark{font-weight:unset;background-color:unset;color:unset;}i{font-style:unset;}"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90,te.Kz["2XS"],te.Jy.Neutral30),Wa=tt.Ay.div(["",";",";display:flex;align-items:center;gap:",";color:",";"],td.Ay.Subhead,td.BO.Medium,te.Kz["3XS"],({$mark:e})=>{switch(e){case"excellent":return te.Jy.Green50;case"good":return te.Jy.Amber40;case"weak":return te.Jy.Orange50;default:return te.Jy.Red50}}),Wl=tt.Ay.div(["color:",";"],te.Jy.Neutral50),Ws=e=>{let{data:{scoreContent:t,scoreHeadline:i,topStrengths:r,priorityFixes:n,quickTips:o},onRefresh:a}=e,{i18n:l}=(0,e1.s)(),s=B_(i),d=(0,R.useCallback)(()=>{a&&(a(),(0,N.xP)("click_refresh",{label:"ai_review"}))},[a]);return(0,J.jsxs)(Wt,{"data-testid":"ai-resume-review-result",children:[(0,J.jsxs)(Wi,{children:[(0,J.jsxs)(Wr,{children:[(0,J.jsx)(Wn,{children:l.t(`${Uq}.result.score`)}),!!a&&(0,J.jsx)(i$.JQ,{size:"small",theme:i$.Ox.secondary,leadingIcon:(0,J.jsx)(tP.Ay.TurnLeftRegular,{}),onClick:d,"data-testid":"ai-resume-review-result-refresh-button",children:l.t(`${Uq}.result.refresh`)})]}),(0,J.jsxs)(Wo,{children:[(0,J.jsxs)(Wa,{$mark:s,children:[(0,J.jsx)(tP.EK.Star,{}),l.t(`${Uq}.result.score_mark.${s}`)]}),(0,J.jsx)(Wl,{dangerouslySetInnerHTML:{__html:t}})]})]}),r&&(0,J.jsxs)(UH,{children:[(0,J.jsx)(Wr,{children:(0,J.jsx)(Wn,{children:l.t(`${Uq}.result.top_strengths`)})}),(0,J.jsx)(Wo,{dangerouslySetInnerHTML:{__html:r}})]}),n&&(0,J.jsxs)(UH,{children:[(0,J.jsx)(Wr,{children:(0,J.jsx)(Wn,{children:l.t(`${Uq}.result.priority_fixes`)})}),(0,J.jsx)(Wo,{dangerouslySetInnerHTML:{__html:n}})]}),o&&(0,J.jsxs)(UH,{children:[(0,J.jsx)(Wr,{children:(0,J.jsx)(Wn,{children:l.t(`${Uq}.result.quick_tips`)})}),(0,J.jsx)(Wo,{dangerouslySetInnerHTML:{__html:o}})]})]})};var Wd=i(74755);let Wc=(0,tt.Ay)(Vw.Y)(["",""],({$theme:e})=>{switch(e){case"default":return(0,tt.AH)(["background-color:",";"],te.Jy.Neutral10);case"darker":return(0,tt.AH)(["background-color:",";"],te.Jy.Neutral15);case"darkest":return(0,tt.AH)(["background-color:",";"],te.Jy.Neutral90)}}),Wu=(0,tt.Ay)(Vw.f)(["",";padding-top:",";padding-bottom:",";flex:",";",""],te.o5.sizes.Caption,te.Kz["2XS"],te.Kz["2XS"],({$isFullWidth:e})=>e?"1 1 33.33%":"auto",({$theme:e})=>{switch(e){case"default":return(0,tt.AH)(["--background-default:",";"],te.Jy.Neutral10);case"darker":return(0,tt.AH)(["--background-default:",";"],te.Jy.Neutral15);case"darkest":return(0,tt.AH)(["--background-default:",";--background-hover:",";"],te.Jy.Neutral90,te.Jy.Neutral100)}}),Wp=e=>{let{isMobileModal:t,activePanelType:i,handlePanelTypeChange:r,items:n,theme:o="default",isFullWidth:a=!0,...l}=e;return(0,J.jsx)(Wc,{$theme:o,...l,children:n.map(e=>(0,J.jsx)(Wu,{id:`mobile-${t?"modal-":""}${e.id}-button`,onClick:()=>{var t;(t=e.id)!==i&&r?.(t)},$isActive:i===e.id,"data-highlight-id":e.highlightId,$theme:o,$isFullWidth:a,"data-testid":e.dataTestId,children:e.text},e.id))})},Wh=(0,tt.Ay)(zZ.P)(["position:fixed;z-index:99;top:0;left:0;bottom:0;right:0;background-color:",";display:flex;flex-direction:column;gap:4px;",""],te.Jy.Neutral10,tQ.A.Phone`
3510    &::-webkit-scrollbar {
3511      width: 0;
3512    }
3513  `),Wx=tt.Ay.div(["position:sticky;top:0;z-index:1;background-color:",";padding:"," ",";border-radius:0 0 "," ",";box-shadow:",";transition:box-shadow 0.2s ease-out;"],te.Jy.White,te.Kz["2XS"],te.Kz.XS,te.Kz.S,te.Kz.S,({$isHeaderShadowVisible:e})=>e?te.qd.lightWithBorderShadowLow:"none"),Wm=tt.Ay.div(["position:sticky;bottom:0;z-index:1;display:flex;flex-direction:column;background-color:",";border-radius:"," "," 0 0;box-shadow:",";transition:box-shadow 0.2s ease-out;padding:",";"],te.Jy.White,te.Kz.S,te.Kz.S,({$isFooterShadowVisible:e})=>e?te.qd.lightWithBorderShadowMid:"none",te.Kz.XS),Wg=e=>{let{editorPanelType:t,handleEditorPanelTypeChange:i,mobilePanelSwitcherItems:r=[],isInModalWindow:n=!0,canScrollBottom:o}=e,a=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.reviewResult),l=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.fetchStatus),s=(0,eU.wA)(),{i18n:d}=(0,e1.s)(),c=(0,R.useRef)(null),u=R7();(0,R.useEffect)(()=>{if(!n)return;let e=c.current;if(e)return(0,Wd.disableBodyScroll)(e),()=>{(0,Wd.enableBodyScroll)(e)}},[n]);let{canScrollTop:p,canScrollBottom:h}=Rm({elementRef:c,isDisabled:!n}),x=o??h,m=()=>{(0,N.xP)("click_get_better",{label:"ai_review_tab"}),s($.o1.startAiResumeReview())},g=()=>l===eZ.Hp.loading?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(U4,{}),(0,J.jsx)(Wm,{$isFooterShadowVisible:x,children:(0,J.jsx)(i$.JQ,{theme:i$.Ox.alternative,size:u,children:(0,J.jsx)(du.b8,{$width:"24px",$height:"24px"})})})]}):l===eZ.Hp.failed?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(We,{}),(0,J.jsx)(Wm,{$isFooterShadowVisible:x,children:(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,onClick:m,size:u,children:d.t(`${Uq}.error.retry`)})})]}):a?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Ws,{data:a}),(0,J.jsx)(Wm,{$isFooterShadowVisible:x,children:(0,J.jsx)(i$.JQ,{theme:i$.Ox.secondary,onClick:()=>{m(),(0,N.xP)("click_refresh",{label:"ai_review"})},leadingIcon:(0,J.jsx)(tP.qJ.TurnLeftRegular,{}),size:u,children:d.t(`${Uq}.result.refresh`)})})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(U1,{}),(0,J.jsx)(Wm,{$isFooterShadowVisible:x,children:(0,J.jsx)(i$.JQ,{theme:i$.Ox.alternative,leadingIcon:(0,J.jsx)(tP.qJ.FeaturedRegular,{}),onClick:m,size:u,children:d.t(`${Uq}.mobile_footer.get_review`)})})]});return n?(0,J.jsxs)(Wh,{ref:c,children:[(0,J.jsx)(Wx,{$isHeaderShadowVisible:p,children:(0,J.jsx)(Wp,{activePanelType:t,handlePanelTypeChange:i,items:r})}),g()]}):g()};var Wy=i(25008),Wf=i(5505),Wb=i(33967),W_=i(46450),Wv=i(98297);let Wj=()=>{let e,t,i,{i18n:r}=(0,e1.s)(),n=(0,eU.wA)(),o=(0,e0.U)(),a=!!o?.features?.aiReviewV2,l=(0,eW.N)($.Tp.resume),s=(0,eW.N)($.Tp.stepByStepFlowCurrentStep),{shouldRedirectToAdditionalStep:d}=(0,eW.N)($.Tp.stepByStepFlow),{currentStepEventName:c,isRbpStepFlowActive:u,isResumeReadyEnabled:p}=Uw(),{suggestions:h}=(0,eW.N)($.Tp.scoreSuggestions),x=(0,eW.N)($.Tp.autoTailoringFromJobBoard),m=l?.averageScore||l?.score||0,{isAiResumeReviewFeatureActive:g}=(e=(0,e0.U)(),t=(0,eW.N)($.Tp.autoTailoringFromJobBoard),{isAiResumeReviewFeatureActive:!!e?.features?.rbpAiReview&&!t.enabled}),{isPhone:y}=(0,ih.e)(),{activeSections:f,additionalSections:b}=l?function(e,t,i){let{sectionsOrder:r,template:n,templateConfig:o}=e,a=e=>!(0,W_.Ds)({section:e.id,templateConfig:o}),l=[...n===Wv.cT.Athens?Uj:n===Wv.cT.Prague?UC:n===Wv.cT.Shanghai?UA:Uv,...r.filter(e=>e.startsWith("custom:"))],s=(0,W_.X1)(i7.R.t),d=o?.isNewTemplate,c=[{id:$.Gw.details,title:"",CardComponent:()=>null},{id:$.Gw.workExperiences,title:s($.Gw.workExperiences),customTitle:e.sectionTitles.workExperiences,addButtonText:e.workExperiences.length?i7.R.t("builder.resume_editor.work_experience_section.add_one_more"):i7.R.t("builder.resume_editor.work_experience_section.add"),CardComponent:Wy.Ay.WorkExperience,items:e.workExperiences,hintText:i7.R.t("builder.resume_editor.work_experience_section.hint"),renamable:!0,badgeComponents:[Wf.Mw]},{id:$.Gw.educations,title:s($.Gw.educations),customTitle:e.sectionTitles.educations,addButtonText:e.educations.length?i7.R.t("builder.resume_editor.educations_section.add_one_more"):i7.R.t("builder.resume_editor.educations_section.add"),CardComponent:Wy.Ay.Education,items:e.educations,hintText:i7.R.t("builder.resume_editor.educations_section.hint"),renamable:!0},...(0,Wb.DG)(e),{id:$.Gw.powerStatement,title:i7.R.t("builder.resume_editor.power_statement_section.title"),customTitle:e.sectionTitles.powerStatement,hidden:!d,CardComponent:()=>null},{id:$.Gw.profile,title:i7.R.t("builder.resume_editor.professional_summary.title"),customTitle:e.sectionTitles.profile,CardComponent:()=>null},{id:$.Gw.accomplishments,single:!0,title:s($.Gw.accomplishments),customTitle:e.sectionTitles.accomplishments,CardComponent:Wy.Ay.Accomplishments,items:[{id:"accomplishments",cid:"accomplishments",description:e.accomplishments}],renamable:!0,hidden:!d},{id:$.Gw.courses,title:s($.Gw.courses),customTitle:e.sectionTitles.courses,addButtonText:e.courses.length?i7.R.t("builder.resume_editor.courses_section.add_one_more"):i7.R.t("builder.resume_editor.courses_section.add"),CardComponent:Wy.Ay.Course,items:e.courses,renamable:!0,removable:!0,hidden:e.courses?.length===0,isAdditionalSection:!0}
3513,{id:$.Gw.internships,title:s($.Gw.internships),customTitle:e.sectionTitles.internships,addButtonText:i7.R.t("builder.resume_editor.additional_experience_section.add"),CardComponent:Wy.Ay.WorkExperience,items:e.internships,renamable:!0,removable:!0,hidden:e.internships?.length===0,isAdditionalSection:!0},{id:$.Gw.activities,title:s($.Gw.activities),customTitle:e.sectionTitles.activities,addButtonText:e.activities.length?i7.R.t("builder.resume_editor.activities_section.add_one_more"):i7.R.t("builder.resume_editor.activities_section.add"),CardComponent:Wy.Ay.Activity,items:e.activities,renamable:!0,removable:!0,hidden:e.activities?.length===0,isAdditionalSection:!0},{id:$.Gw.hobbies,title:s($.Gw.hobbies),customTitle:e.sectionTitles.hobbies,single:!0,CardComponent:Wy.Ay.Hobby,items:e.hobbies,renamable:!0,removable:!0,hidden:e.hobbies?.length===0,isAdditionalSection:!0},{id:$.Gw.languages,title:s($.Gw.languages),customTitle:e.sectionTitles.languages,addButtonText:e.languages.length?i7.R.t("builder.resume_editor.languages_section.add_one_more"):i7.R.t("builder.resume_editor.languages_section.add"),CardComponent:Wy.Ay.Language,items:e.languages,renamable:!0,removable:!0,hidden:e.languages?.length===0,isAdditionalSection:!0},{id:$.Gw.socialProfiles,title:s($.Gw.socialProfiles),customTitle:e.sectionTitles.socialProfiles,addButtonText:e.socialProfiles.length?i7.R.t("builder.resume_editor.links_section.add_one_more"):i7.R.t("builder.resume_editor.links_section.add"),CardComponent:Wy.Ay.Social,items:e.socialProfiles,renamable:!0,hintText:i7.R.t("builder.resume_editor.links_section.hint"),hidden:e.socialProfiles?.length===0,isAdditionalSection:!0},{id:$.Gw.references,title:s($.Gw.references),customTitle:e.sectionTitles.references,addButtonText:e.references.length?i7.R.t("builder.resume_editor.references_section.add_one_more"):i7.R.t("builder.resume_editor.references_section.add"),CardComponent:Wy.Ay.Reference,items:e.references,renamable:!0,removable:!0,hidden:!d||!r.includes("references")&&e.references?.length===0,isAdditionalSection:!0},{id:$.Gw.awards,title:s($.Gw.awards),customTitle:e.sectionTitles.awards,addButtonText:e.awards?.length?i7.R.t("builder.resume_editor.awards_section.add_one_more"):i7.R.t("builder.resume_editor.awards_section.add"),CardComponent:Wy.Ay.Award,items:e.awards,renamable:!0,removable:!0,isAdditionalSection:!0,hidden:!d||e.awards?.length===0},{id:$.Gw.licensesAndCertifications,title:s($.Gw.licensesAndCertifications),customTitle:e.sectionTitles.licensesAndCertifications,addButtonText:e.licensesAndCertifications?.length?i7.R.t("builder.resume_editor.licenses_and_certifications_section.add_one_more"):i7.R.t("builder.resume_editor.licenses_and_certifications_section.add"),CardComponent:Wy.Ay.LicenseAndCertification,items:e.licensesAndCertifications,renamable:!0,removable:!0,isAdditionalSection:!0,hidden:!d||e.licensesAndCertifications?.length===0},{id:$.Gw.affiliations,title:s($.Gw.affiliations),customTitle:e.sectionTitles.affiliations,addButtonText:e.affiliations?.length?i7.R.t("builder.resume_editor.affiliations_section.add_one_more"):i7.R.t("builder.resume_editor.affiliations_section.add"),CardComponent:Wy.Ay.Affiliation,items:e.affiliations,renamable:!0,removable:!0,isAdditionalSection:!0,hidden:!d||0===e.affiliations.length},{id:$.Gw.addAdditionalSection,title:i7.R.t("builder.resume_editor.step_by_step_editor.navigation_container.additional_sections"),CardComponent:()=>null},{id:"aiResumeReview",title:i7.R.t("builder.resume_editor.step_by_step_editor.navigation_container.ai_review"),CardComponent:()=>null,hidden:!t},...e.customSections.map(e=>({id:e.externalId,legacyId:e.id,title:e.title||i7.R.t("builder.resume_editor.untitled"),customTitle:e.title,addButtonText:e.items.length?i7.R.t("builder.resume_editor.add_one_more_item"):i7.R.t("builder.resume_editor.add_item"),CardComponent:"simple"===e.type?Wy.Ay.CustomSimple:Wy.Ay.CustomAdvanced,items:e.items,removable:!0,renamable:!0,isCustom:!0,sortId:`custom:${e.externalId}`}))],u=c.find(e=>e.id===$.Gw.addAdditionalSection),p=c.find(e=>"aiResumeReview"===e.id);return{activeSections:[...c.filter(e=>e.id!==$.Gw.addAdditionalSection&&!e.hidden).filter(e=>"aiResumeReview"!==e.id&&!e.hidden).filter(e=>!i||!a(e)).sort((e,t)=>
3513{let i=l.indexOf(e.sortId||e.id),r=l.indexOf(t.sortId||t.id);return(-1===i?1/0:i)-(-1===r?1/0:r)}),...u?[u]:[],...p&&!p.hidden?[p]:[]],additionalSections:c.filter(e=>!0===e.isAdditionalSection).filter(e=>!i||!a(e))}}(l,g,y):{activeSections:[],additionalSections:[]},{isAiResumeReviewSwitcherSeen:_,setIsAiResumeReviewSwitcherSeen:v}=(i=(0,eU.wA)(),{isAiResumeReviewSwitcherSeen:(0,eW.N)(e=>e.user?.data?.uiStates?.aiResumeReviewSwitcherSeen),setIsAiResumeReviewSwitcherSeen:(0,R.useCallback)(e=>{i(Z.o1.setUIUserState({aiResumeReviewSwitcherSeen:e})),i(U.o1.setUIStatesConfigStatus({ai_resume_review_switcher_seen:e}))},[i])}),j=f.find(e=>"aiResumeReview"===e.id)&&g,A=(0,R.useMemo)(()=>{let e=100-m,t=h?.find(e=>s===$.Gw.addAdditionalSection?b.some(t=>t.id===e.sectionId||t.id===e.sectionName):e.sectionId===s||e.sectionName===s);return t?{fieldId:t.fieldId,type:t.type,text:t.text,points:Math.min(t.points,e),key:t.key,sectionName:t.sectionName}:{text:"",points:0,type:"section",key:""}},[b,s,m,h]),C=(0,R.useMemo)(()=>f?f.findIndex(e=>e.id===s||e.sortId===s||e.sortId===`custom:${s}`||"number"==typeof s&&e.legacyId===s):-1,[s,f]),w=(0,R.useCallback)(e=>{n($.o1.setStepByStepFlowState({shouldRedirectToAdditionalStep:!0})),n($.o1.updateSimpleField({name:"data",value:{...l?.data,stepByStepFlow:{currentStep:e}}}))},[n,l?.data]),k=(0,R.useCallback)(()=>{if(!f)return;let e=f[C+-1]?.id;n($.o1.setStepByStepFlowState({shouldRedirectToAdditionalStep:!1})),C>0?(n($.o1.updateSimpleField({name:"data",value:{...l?.data,stepByStepFlow:{currentStep:e??s}}})),s&&(0,N.xP)("click_back",{label:"step_builder",step:c,resume_id:l?.id})):n($.o1.updateSimpleField({name:"showPrefillResumeModal",value:!0}))},[f,C,n,s,c,l?.id,l?.data]),S=(0,R.useCallback)(()=>{if(!f)return;let e=f[C+1]?.id;s===$.Gw.addAdditionalSection&&j?(n($.o1.updateSimpleField({name:"data",value:{...l?.data,stepByStepFlow:{currentStep:"aiResumeReview"}}})),n($.o1.setStepByStepFlowState({shouldRedirectToAdditionalStep:!1}))):d?(n($.o1.updateSimpleField({name:"data",value:{...l?.data,stepByStepFlow:{currentStep:$.Gw.addAdditionalSection}}})),n($.o1.setStepByStepFlowState({shouldRedirectToAdditionalStep:!1}))):e?(n($.o1.updateSimpleField({name:"data",value:{...l?.data,stepByStepFlow:{currentStep:e}}})),s&&(0,N.xP)("click_next_step",{label:"step_builder",step:c,resume_id:l?.id}),n($.o1.setStepByStepFlowState({shouldRedirectToAdditionalStep:!1}))):(n($.o1.updateSimpleField({name:"data",value:{...l?.data,stepByStepFlow:{currentStep:null}}})),n($.o1.closeAllCards()),n($.o1.setStepByStepFlowState({shouldRedirectToAdditionalStep:!1})),x.enabled||(n($.o1.setIsCustomizeModalOpen(!0)),(0,N.xP)("open_full_screen_resume_preview")),g||(0,N.xP)("click_finish",{label:"step_builder",resume_id:l?.id,score:m}))},[f,C,s,j,d,n,c,l?.id,g,m,l?.data,x.enabled]),T=(0,R.useMemo)(()=>{if(!f)return null;let e=f[C];return e||f.find(e=>e.id===$.Gw.addAdditionalSection)},[f,C]),P=(0,R.useMemo)(()=>{if(f)if(d)return r.t(`${Uf}.navigation_container.done_button_text`);else if(s===$.Gw.addAdditionalSection&&!j)return r.t(`${Uf}.navigation_container.finish_button_text`);else if(p&&f[C+1]?.id==="aiResumeReview")return`${r.t(`${Uf}.navigation_container.next_button_text`)}: ${r.t(`${Uf}.navigation_container.complete_and_review`)}`;else return`${r.t(`${Uf}.navigation_container.next_button_text`)}: ${f[C+1]?.title}`},[f,d,s,j,p,r,C]),J=(0,R.useMemo)(()=>C===f.length-1,[C,f.length]),E=(0,R.useMemo)(()=>0===C&&m>=15,[C,m]),L=(0,R.useCallback)(e=>{"simpleField"===e.type&&e.fieldId&&UO.A.focus(e.fieldId);let t=e.sectionName;if("section"===e.type&&t){let e=l&&(0,UF.oi)(t,l);if(e){let i=e.cid||e.id;n($.o1.openCard({id:i,sectionId:t})),UO.A.focus(i)}else n($.o1.addCard({sectionName:t,cardId:(0,Uz.M)(),options:{scrollIntoViewport:!1,shouldOpen:!0}}));w(t)}},[n,w,l]),I=(0,R.useCallback)(()=>{a&&!l?.position?n($.o1.setAiReviewJobTitleRequired(!0)):(_||v(!0),n(a?$.o1.startAiResumeReviewV2():$.o1.startAiResumeReview()),n($.o1.setEditorPanelType("ai_review")),(0,N.xP)("click_get_better",{label:"step_flow_ai_review"}),n($.o1.updateSimpleField({name:"data",value:{...l?.data,stepByStepFlow:{currentStep:null}}})),n($.o1.setStepByStepFlowState({shouldRedirectToAdditionalStep:!1,isResumeReadyShown:!1})))},[n,a,_,v,l?.data,l?.position]),M=(0,R.useCallback)(()=>
3513{if((0,N.xP)("click_skip",{label:"step_flow_ai_review",resume_id:l?.id,score:m}),_||v(!0),p){n($.o1.updateSimpleField({name:"data",value:{...l?.data,stepByStepFlow:{currentStep:null}},debounce:!1})),n($.o1.setStepByStepFlowState({isResumeReadyShown:!0}));return}S()},[n,S,_,p,l?.data,l?.id,m,v]);return{nextButtonText:P,currentSection:T,handleBack:k,handleNext:S,handleChangeStep:w,sections:f,currentIndex:C,isBackButtonPassive:E,scoreImprovementSuggestion:A,handleSuggestionClick:L,resumeScore:m,handleAIReview:I,handleSkipAIReview:M,isFinishStep:J,isRbpStepFlowActive:u}},WA=()=>{let{i18n:e}=(0,e1.s)(),{isRbpStepFlowActive:t}=Wj(),{tryToStartAnalysis:i}=U$();return t?null:(0,J.jsx)(aH.QP,{value:e.t("builder.prefill_resume.auto_tailoring_view.header.run_analysis_tooltip"),multiline:!0,position:"bottom",textAlign:"center",appendTo:"parent",showOnCreate:!0,children:(0,J.jsx)(i$.JQ,{leadingIcon:(0,J.jsx)(tP.Ay.AiIcon,{}),onClick:i,size:i$.Mp.small,"data-testid":"start-analysis-button",children:e.t("builder.prefill_resume.auto_tailoring_view.header.run_analysis")})})},WC=tt.Ay.div(["background-color:",";border-radius:12px;padding:",";width:100%;transition:box-shadow 0.2s ease-out;"," ",";"],te.Jy.White,te.Kz.S,({$shouldShowShadow:e})=>e&&(0,tt.AH)(["box-shadow:",";"],te.qd.lightWithBorderShadowMid),tQ.A.Tablet`
3514    border-top-left-radius: 0;
3515    border-top-right-radius: 0;
3516    position: sticky;
3517    z-index: 3; // to overflow SectionHeaderContainer
3518  `),Ww=(0,tt.Ay)(Vw.Y)(["background-color:",";width:100%;"],te.Jy.Neutral10),Wk=(0,tt.Ay)(Vw.f)(["",";flex:1 1 50%;--background-default:",";"],te.o5.sizes.Caption,te.Jy.Neutral10),WS=e=>{let{activeTabId:t,tabs:i,onTabChange:r,shouldShowShadow:n}=e,o=UT((0,ih.e)());return(0,J.jsx)(WC,{style:{top:o},$shouldShowShadow:n,children:(0,J.jsx)(Ww,{children:i.map(e=>(0,J.jsx)(Wk,{$isActive:t===e.id,onClick:()=>r?.(e.id),children:e.label},e.id))})})};var WT=i(77979);let WP=(0,tt.Ay)(zZ.r8)(["display:flex;flex-direction:column;background-color:",";border-radius:12px;padding:"," "," ",";",""],te.Jy.White,te.Kz.M,te.Kz.M,te.Kz.L,tQ.A.Tablet`
3519    overflow-y: visible;
3520  `),WJ=tt.Ay.div([""]),WE=tt.Ay.div(["height:1px;background-color:",";margin:"," 0;"],te.Jy.Neutral15,te.Kz.M),WR=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["2XS"]),WL=tt.Ay.div(["",";font-family:'TT Talent';color:",";"," h1,h2,h3,h4{",";font-weight:",";color:",";}ul{margin:0;padding-left:28px;}li{margin-bottom:",";&:last-child{margin-bottom:0;}}span[class*='highlight-']{background-color:",";border-radius:",";padding:2px 4px;margin:-2px -4px;box-decoration-break:clone;}"],te.o5.sizes.Body,te.Jy.Neutral90,({$isHTMLContent:e})=>!e&&(0,tt.AH)(["white-space:pre-line;"]),te.o5.sizes.Body,te.o5.weights.medium,te.Jy.Neutral90,te.Kz["2XS"],te.Jy.Blue10,te.Kz["3XS"]),WN=tt.Ay.div(["display:flex;flex-direction:column;gap:",";",""],te.Kz["3XS"],tQ.A.Tablet`
3521    text-align: center;
3522  `),WI=tt.Ay.div(["",";color:",";b{font-weight:",";}"],te.o5.sizes.Subhead,te.Jy.Neutral90,te.o5.weights.medium),WM=tt.Ay.div(["",";color:",";
3522"],te.o5.sizes.Body,te.Jy.Neutral90),WB=e=>{let{jobTitle:t,companyName:i,location:r,isLoading:n}=e,{i18n:o}=(0,e1.s)();return(0,J.jsx)(WN,{children:n?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(WT.E,{height:26,width:220}),(0,J.jsx)(WT.E,{height:22,width:160})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(WI,{dangerouslySetInnerHTML:{__html:o.t("builder.resume_editor.job_posting_panel.title",{jobTitle:t,companyName:i})}}),r&&(0,J.jsx)(WM,{children:r})]})})},WD=e=>{let{jobTitle:t,companyName:i,location:r,contentHtml:n,isLoading:o}=e,a=((e,t=[])=>{let i=/<\/?[a-z][\s\S]*>/i;if(0===t.length)return i.test(e);let r=RegExp(`</?(${t.join("|")})[^>]*>`,"gi");return i.test(e.replace(r,""))})(n,["span"]);return(0,J.jsx)(WP,{children:(0,J.jsxs)(WJ,{children:[(0,J.jsx)(WB,{jobTitle:t,companyName:i,location:r,isLoading:o}),(0,J.jsx)(WE,{}),o?(0,J.jsxs)(WR,{children:[(0,J.jsx)(WT.E,{height:16}),(0,J.jsx)(WT.E,{height:16}),(0,J.jsx)(WT.E,{height:16}),(0,J.jsx)(WT.E,{height:16}),(0,J.jsx)(WT.E,{height:16,width:240})]}):(0,J.jsx)(WL,{$isHTMLContent:a,dangerouslySetInnerHTML:{__html:n}})]})})};var W$=i(33451);let WO=tt.Ay.div(["display:flex;flex-direction:column;height:100%;width:100%;background-color:",";"],te.Jy.Neutral10),Wz=tt.Ay.div(["display:flex;flex-direction:column;height:100%;width:100%;overflow-y:auto;background-color:",";"],te.Jy.Neutral10),WF=tt.Ay.div(["display:flex;flex-direction:row;flex:auto;overflow:hidden;"]),WH=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;flex:auto;"]),WV=(0,tt.Ay)(zZ.r8)(["display:flex;flex-direction:column;gap:2px;padding-top:4px;padding-bottom:4px;flex:0 0 50%;"]),WU=(0,tt.Ay)(WV)(["padding-right:4px;padding-left:4px;"]),WW="builder.resume_editor.job_preview_tabs",WK=e=>{let{leftColumnTab:t,resume:i,jobPosting:r,headerProps:n,onTabChange:o,isJobParserLoading:a,containerTestId:l,renderLeftColumn:s,defaultDesktopTab:d="job_posting"}=e,{i18n:c}=(0,e1.s)(),{isTablet:u,isAboveTablet:p}=(0,ih.e)(),[h,x]=(0,R.useState)(u?t.id:d),m=(0,R.useRef)(null),{canScrollBottom:g,canScrollTop:y}=Rm({elementRef:m,isDisabled:p}),f=[...u?[t]:[],{id:"job_posting",label:c.t(`${WW}.job_posting`)},{id:"preview",label:c.t(`${WW}.your_resume`)}];(0,R.useEffect)(()=>{x(u?t.id:d)},[u,t.id,d]);let b=e=>{x(e),o(e)},_=()=>(0,J.jsx)(WS,{activeTabId:h,onTabChange:b,tabs:f,shouldShowShadow:y}),v=()=>(0,J.jsxs)(J.Fragment,{children:["job_posting"===h&&(0,J.jsx)(WD,{jobTitle:r?.jobTitle||"",companyName:r?.companyName||"",location:r?.currentLocation||"",contentHtml:r?.descriptionWithHtmlTags||"",isLoading:a}),"preview"===h&&(0,J.jsx)(W$.w,{document:i,withContainerPadding:!1})]});return(0,J.jsx)(i6.A,{fullScreen:!0,disableBodyScroll:!1,children:u?(0,J.jsxs)(Wz,{"data-testid":l,ref:m,children:[(0,J.jsx)(UB,{...n}),(0,J.jsxs)(WH,{children:[_(),h===t.id&&s(),v(),(0,J.jsx)(R1,{isFooterShadowVisible:g,children:n.nextButtons})]})]}):(0,J.jsxs)(WO,{"data-testid":l,ref:m,children:[(0,J.jsx)(UB,{...n}),(0,J.jsxs)(WF,{children:[(0,J.jsx)(WU,{children:s()}),(0,J.jsxs)(WV,{children:[_(),v()]})]})]})})};var Wq=i.p+"media/errorIllustration4639e6eb9593026d.png";let WG=tt.Ay.div(["position:relative;display:flex;flex-direction:column;align-items:center;gap:32px;padding:32px;background-color:",";width:544px;border-radius:16px;box-shadow:",";",""],te.Jy.White,te.qd.darkShadowHigh,tQ.A.Phone`
3523    width: 343px;
3524    padding: 20px;
3525    gap: 20px;
3526    border-radius: 12px;
3527  `),WZ=tt.Ay.img(["height:180px;flex-shrink:0;"]),WX=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;text-align:center;width:100%;",""],tQ.A.Phone`
3528    gap: 8px;
3529  `),WQ=tt.Ay.h2(["",";font-weight:",";color:",";margin:0;"],te.o5.sizes.S,te.o5.weights.demibold,te.Jy.Neutral90),WY=tt.Ay.p(["",";color:",";margin:0;"],te.o5.sizes.Body,te.Jy.Neutral50),W0=tt.Ay.div(["display:flex;gap:8px;width:100%;"]),W1=(0,tt.Ay)(JF.O)(["position:absolute;top:32px;right:32px;",""],tQ.A.Phone`
3530    top: 20px;
3531    right: 20px;
3532  `),W2="builder.prefill_resume.auto_tailoring_view.error_modal",W3=e=>{let{onClose:t,onBack:i,onTryAgain:r}=e,{i18n:n}=(0,e1.s)(),{isPhone:o}=(0,ih.e)(),a=o?i$.Mp.small:i$.Mp.default;return(0,J.jsx)(i6.A,{overlayFadeDuration:150,contentSlideDuration:150,onClose:t,children:(0,J.jsxs)(WG,{"data-testid":"autotailoring-error-modal",children:[(0,J.jsx)(W1,{onClick:t,"data-testid":"autotailoring-error-modal-close"}),(0,J.jsx)(WZ,{src:Wq,alt:""}),(0,J.jsxs)(WX,{children:[(0,J.jsx)(WQ,{children:n.t(`${W2}.title`)}),(0,J.jsx)(WY,{children:n.t(`${W2}.description`)})]}),(0,J.jsxs)(W0,{children:[(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,size:a,onClick:i,style:{flex:1},"data-testid":"autotailoring-error-modal-back-button",children:n.t(`${W2}.back_button`)}),(0,J.jsx)(i$.JQ,{theme:i$.Ox.default,size:a,onClick:r,leadingIcon:(0,J.jsx)(tP.qJ.Revert,{}),style:{flex:1},"data-testid":"autotailoring-error-modal-try-again-button",children:n.t(`${W2}.try_again_button`)})]})]})})},W5=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:",";padding:"," ",";border-radius:",";background-color:",";"],te.Kz["2XS"],te.Kz.S,te.Kz.M,te.Kz.XS,te.Jy.Blue10),W4=tt.Ay.div(["",";color:",";"],te.o5.sizes.Caption,te.Jy.Blue80),W6=(0,tt.Ay)(tP.EK.InfoMedium)(["color:",";flex-shrink:0;"],te.Jy.Blue50),W8=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(W5,{children:[(0,J.jsx)(W4,{children:e.t("builder.auto_tailoring.overview.dashboard_tip_banner.body_new")}),(0,J.jsx)(W6,{})]})};var W9=i(72958),W7=i(44888);function Ke(e,t){let i=0;for(let r=0;r<t.length;r++)!e.includes(t[r])&&i++;return i}var Kt=i(23265),Ki=i(7805),Kr=i(54761),Kn=i(21682);let Ko=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.XS),Ka=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.XS);tQ.A.Phone`
3533    padding: 0;
3534  `;let Kl=tt.Ay.div(["flex:0 0 ",";width:",";margin-right:40px;",";&:last-child{margin-right:0;margin-bottom:0;}"],e=>e.fullwidth?"100%":"calc(50% - 20px)",e=>e.fullwidth?"100%":"calc(50% - 20px)",tQ.A.Phone`
3535    flex: 0 0 100%;
3536    margin-right: 0;
3537    margin-bottom: 20px;
3538  `),Ks=tt.Ay.div(["display:flex;flex-flow:row wrap;"]),Kd=tt.Ay.div(["display:flex;flex-flow:column;padding:16px 20px 24px;border:1px solid ",";border-radius:4px;background-color:",";gap:24px;position:relative;"],te.Jy.Neutral15,te.Jy.White),Kc=tt.Ay.div(["display:flex;flex-flow:column;"]),Ku=tt.Ay.span(["",";",";color:",";"],td.Ay.Caption,td.BO.DemiBold,te.Jy.Neutral90),Kp=tt.Ay.span(["",";",";color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50),Kh=(0,tt.Ay)(JF.O)(["position:absolute;top:16px;right:20px;"]),Kx="expert",Km=e=>{let{resumeTailored:t,updateSimpleField:i}=e,{i18n:r}=(0,e1.s)(),n=(0,eW.N)(O.Tp.levels),[o,a]=(0,R.useState)(Kx),[l,s]=(0,R.useState)(null),[d,c]=(0,R.useState)(!1),u=(0,R.useRef)(null);(0,R.useEffect)(()=>
3538{if(d){let e=setTimeout(()=>{u.current?.scrollIntoView({behavior:"smooth"})},200);return()=>clearTimeout(e)}},[d]);let p=(0,R.useMemo)(()=>t?t.skills.length?r.t("builder.resume_editor.skills_section.add_one_more"):r.t("builder.resume_editor.skills_section.add"):null,[r,t]),h=[{translation:r.t("builder.resume_editor.skills_card.select_level"),name:"",rating:void 0},...n.skill??[]].map(e=>({id:e.name,name:e.translation,rating:e.rating})),x=(0,R.useMemo)(()=>l||r.t("builder.resume_editor.not_specified"),[r,l]),m=(0,R.useCallback)(()=>{l&&(i({name:"skills",value:[...t?.skills||[],{id:(0,Uz.M)(),skill:l,level:o}]}),a(Kx),s(null))},[l,o,t?.skills,i]),g=(0,R.useCallback)(()=>{c(!0),m()},[m]),y=(0,R.useCallback)(()=>{c(!1),m()},[m]),f=(0,R.useCallback)(e=>{"Enter"===e.key&&(c(!1),m())},[m]);return(0,J.jsxs)(Ko,{children:[(0,J.jsx)(Kn.A,{isOpen:d,duration:200,children:(0,J.jsxs)(Ka,{children:[(0,J.jsx)(Ki.R,{hideSkillLevel:!!(t&&t.hideSkillLevel),updateSimpleField:(e,t)=>i({name:e,value:t})}),(0,J.jsxs)(Kd,{ref:u,children:[(0,J.jsxs)(Kc,{children:[(0,J.jsx)(Ku,{children:x}),t&&!t.hideSkillLevel&&(0,J.jsx)(Kp,{children:o})]}),(0,J.jsxs)(Ks,{children:[(0,J.jsx)(Kl,{children:(0,J.jsx)(re.A,{autoFocus:!0,label:r.t("builder.resume_editor.skills_card.skill"),onChange:e=>{s(e.target.value)},onKeyUp:f,value:l||"",name:"skill"})}),(0,J.jsx)(Kl,{children:(0,J.jsx)(Kr.T,{label:r.t("builder.resume_editor.skills_card.level"),selected:o||void 0,options:h,onChange:e=>{a(e)},disabled:!t||t.hideSkillLevel})})]}),(0,J.jsx)(Kh,{onClick:y})]})]})}),(0,J.jsx)(Kt.A,{onAdd:g,text:p})]})},Kg=tt.Ay.div(["display:flex;gap:",";padding:"," ",";border-radius:",";background-color:",";"],te.Kz["2XS"],te.Kz.XS,te.Kz.S,te.Kz.XS,te.Jy.Neutral5),Ky=tt.Ay.div(["",";color:",";strong{font-weight:",";color:",";}"],te.o5.sizes.Caption,te.Jy.Neutral70,te.o5.weights.medium,te.Jy.Neutral90),Kf=(0,tt.Ay)(L_.qJ.Info)(["color:",";flex-shrink:0;"],te.Jy.Blue50),Kb=e=>{let{children:t}=e;return(0,J.jsxs)(Kg,{children:[(0,J.jsx)(Kf,{}),(0,J.jsx)(Ky,{dangerouslySetInnerHTML:{__html:t}})]})};var K_=i(81187);let Kv=tt.Ay.div(["",";position:relative;margin-bottom:0;"],Vk.Iq),Kj=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;width:100%;"]),KA=(0,R.forwardRef)((e,t)=>{let{title:i,rightHeaderText:r,children:n,isOpened:o,handleToggle:a}=e;return(0,J.jsxs)(Kv,{ref:t,children:[(0,J.jsx)(Vk.X3,{isOpened:o,onClick:a,children:(0,J.jsx)(K_.A,{title:i,isOpened:o,isFoldable:!0,rightText:r})}),(0,J.jsx)(Vk.Mg,{isOpened:o,children:(0,J.jsx)(Kj,{children:n})})]})}),KC="builder.auto_tailoring.overview.info_section",Kw=e=>{let{isDiscarded:t,onDiscard:i,onReapply:r,className:n}=e,{i18n:o}=(0,e1.s)(),a=t?o.t(`${KC}.reapply_changes`):o.t(`${KC}.discard_changes`),l=t?(0,J.jsx)(tP.Ay.UndoRegular,{}):(0,J.jsx)(tP.Ay.RejectRegular,{});return(0,J.jsxs)(i$.JQ,{theme:i$.Ox.ghost,size:i$.Mp.small,className:n,onClick:()=>{t?r():i()},children:[l,a]})},Kk=tt.Ay.div(["display:flex;flex-direction:column;gap:",";padding:"," "," "," ",";background-color:",";border-right:2px solid ",";"],te.Kz["2XS"],te.Kz.XS,te.Kz.S,te.Kz.XS,te.Kz.XS,te.Jy.Neutral5,te.Jy.Blue50),KS=tt.Ay.div(["display:flex;gap:",";align-items:flex-start;"],te.Kz["2XS"]),KT=(0,tt.Ay)(tP.EK.Check)(["flex-shrink:0;color:",";"],te.Jy.Green50),KP=tt.Ay.p(["",";color:",";"],te.o5.sizes.Caption,te.Jy.Neutral80),KJ=e=>{let{hints:t}=e;return(0,J.jsx)(Kk,{children:t.map((e,t)=>(0,J.jsxs)(KS,{children:[(0,J.jsx)(KT,{}),(0,J.jsx)(KP,{children:e.action})]},t))})},KE=tt.Ay.div(["color:",";"],te.Jy.Neutral50),KR=tt.Ay.div(["display:flex;flex-wrap:wrap;gap:8px;"]),KL=tt.Ay.div(["color:",";border-radius:",";padding:"," ",";background:",";"],te.Jy.Neutral80,te.Kz["3XS"],te.Kz["3XS"],te.Kz["2XS"],te.Jy.Neutral10),KN=(0,tt.Ay)(KL)(["padding-right:",";cursor:pointer;gap:10px;&:hover,&:focus-visible,&:active{background:",";color:",";}"],te.Kz["3XS"],te.Jy.Blue10,te.Jy.Blue50),KI=(0,tt.Ay)(tP.EK.Close)(["width:20px;height:20px;color:inherit;"]),KM=tt.Ay.div(["display:flex;flex-direction:column;width:100%;gap:12px;"]),KB=tt.Ay.div(["display:flex;flex-direction:column;width:100%;border:1px solid ",";border-radius:4px;padding:16px 20px;gap:",";"],te.Jy.Neutral15,e=>e.isOpen?"16px":"0"),KD=tt.Ay.div(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;cursor:pointer;"]),K$=tt.Ay.div(["display:flex;flex-direction:column;width:100%;"]),KO=tt.Ay.p(["",";font-weight:",";color:",";"],te.o5.sizes.Caption,te.o5.weights.demibold,te.Jy.Neutral90),Kz=tt.Ay.p(["",";color:",";"],te.o5.sizes.Caption,te.Jy.Neutral50),KF=(0,tt.Ay)(tP.Ay.ToggleArrow)(["color:",";transform:rotate(",");"],te.Jy.Neutral50,e=>e.$isOpen?"-90deg":"90deg"),KH=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;height:",";overflow:",";opacity:",";transition:height 200ms ease,opacity 200ms ease;"],e=>e.isOpen?"auto":"0",e=>e.isOpen?"visible":"hidden",e=>e.isOpen?"1":"0"),KV=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["3XS"]),KU=tt.Ay.div(["display:flex;flex-direction:column;gap:20px;"]),KW=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),KK=tt.Ay.div(["display:flex;flex-direction:row;gap:6px;",""],tQ.A.Phone`
3539    flex-direction: column;
3540  `),Kq=(0,tt.Ay)(KW)(["flex:1 1 40%;"]),KG=tt.Ay.div(["",";position:relative;"],te.o5.sizes.Caption),KZ=(0,tt.Ay)(tP.EK.ArrowRightRegular)(["position:relative;top:45px;",""],tQ.A.Phone`
3541    top: 0;
3542    align-self: center;
3543    transform: rotate(90deg);
3544  `),KX=(0,tt.Ay)(tP.EK.ArrowDownRegular)(["position:absolute;
3544left:50%;transform:translateX(-50%);top:0px;color:",";",""],te.Jy.Neutral50,tQ.A.Phone`
3545    top: -2px;
3546  `),KQ="builder.auto_tailoring.overview.info_section.why_we_made_changes_banners",KY=e=>{let t=(0,Uz.M)();return{...e,id:t,cid:t}},K0=e=>{let{resumeOld:t,resumeTailored:i,isLoading:r,actionsTaken:n,isBannersVisible:o=!0,handleProfileSummaryChange:a,handleJobTitleChange:l,handleDeleteSkill:s,handleWorkExperienceChange:d,updateSimpleField:c}=e,{i18n:u}=(0,e1.s)(),{profileSummaryOld:p,profileSummaryTailored:h,locale:x,skillsOld:m,skillsTailored:g,jobTitleOld:y,jobTitleTailored:f,workExperiencesTailored:b,openWorkExperienceCardIndex:_,handleWorkExperienceToggle:v,isJobTitleChanged:j,isProfileChanged:A,countSkillChanges:C,countWorkExperienceChanges:w,workExperiencesOld:k}=((e,t)=>{let[i,r]=(0,R.useState)(null),{profile:n,skills:o=[],position:a,workExperiences:l=[]}=e??{},{profile:s,locale:d,skills:c=[],position:u,workExperiences:p=[]}=t??{},h=(0,W7.$)(n||""),x=String(a).trim()!==String(u).trim(),m=String(h).trim()!==String(s).trim(),g=(0,R.useMemo)(()=>Ke(o.map(e=>e.skill?.trim()).filter(Boolean),c.map(e=>e.skill?.trim()).filter(Boolean)),[o,c]),y=(0,R.useMemo)(()=>{let e=e=>[e.title,e.description,e.employer,e.city].join("|");return Ke(l.map(e).filter(Boolean),p.map(e).filter(Boolean))},[l,p]),f=(0,R.useMemo)(()=>l.length!==p.length||l.some((e,t)=>e.title!==p[t]?.title||e.description!==p[t]?.description||e.employer!==p[t]?.employer||e.city!==p[t]?.city),[l,p]),b=(0,R.useMemo)(()=>o.length!==c.length||o.some((e,t)=>e.skill!==c[t]?.skill),[o,c]),_=(0,R.useCallback)(e=>{e===i?r(null):r(e)},[i]);return{profileSummaryOld:h,profileSummaryTailored:s,skillsOld:o,skillsTailored:c,locale:d,jobTitleOld:a,jobTitleTailored:u,workExperiencesOld:l,workExperiencesTailored:p,openWorkExperienceCardIndex:i,handleWorkExperienceToggle:_,isJobTitleChanged:x,isProfileChanged:m,isWorkExperienceChanged:f,isSkillsChanged:b,countSkillChanges:g,countWorkExperienceChanges:y}})(t,i),[S,T]=(0,R.useState)({jobTitle:!0,profile:!1,skills:!1,workExperience:!1}),[P,E]=(0,R.useState)({jobTitle:null,profile:null,skills:null,workExperience:null}),L=(0,R.useRef)(null),I=(0,R.useRef)(null),M=(0,R.useRef)(null),B=(0,R.useRef)({}),D=e=>()=>{r||T(t=>(t[e]||(0,N.xP)("open_section",{label:"results",section:e}),{...t,[e]:!t[e]}))},$=r?u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.updating"):j?u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.updated"):u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.no_change"),O=r?u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.updating"):A?u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.updated"):u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.no_change"),z=r?u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.updating"):C>=1?u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.add_n_keywords",{count:C}):u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.no_change"),F=r?u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.updating"):w>=1?u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.made_n_edits",{count:w}):u.t("builder.prefill_resume.auto_tailoring_view.tailored_resume_edit.no_change"),H="string"==typeof P.jobTitle,V="string"==typeof P.profile,U=!!P.skills,W=!!P.workExperience;return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(KA,{title:u.t("builder.auto_tailoring.sections.job_title"),isOpened:!r&&S.jobTitle,handleToggle:D("jobTitle"),rightHeaderText:$,children:[H?(0,J.jsx)(re.A,{placeholder:u.t("builder.auto_tailoring.overview.info_section.none"),value:y||"",readOnly:!0}):(0,J.jsxs)(J.Fragment,{children:[o&&(0,J.jsx)(Kb,{children:u.t(`${KQ}.job_title`)}),!!n?.position?.length&&(0,J.jsx)(KJ,{hints:n.position}),(0,J.jsx)(KU,{children:(0,J.jsxs)(KK,{children:[(0,J.jsxs)(Kq,{children:[(0,J.jsx)(KG,{children:u.t("builder.auto_tailoring.overview.info_section.before")}),(0,J.jsx)(re.A,{placeholder:u.t("builder.auto_tailoring.overview.info_section.none"),value:y||"",readOnly:!0})]}),(0,J.jsx)(KZ,{}),(0,J.jsxs)(Kq,{children:[(0,J.jsx)(KG,{children:u.t("builder.auto_tailoring.overview.info_section.after")}),(0,J.jsx)(re.A,{placeholder:u.t("builder.auto_tailoring.overview.info_section.none"),value:f||"",onChange:e=>{l(e.target.value),B.current.jobTitle||(B.current.jobTitle=!0,(0,N.xP)("change_tailoring_field_content",{label:"results",section:"position"}))}})]})]})})]}),(0,J.jsx)(Kw,{isDiscarded:H,onDiscard:()=>{E({...P,jobTitle:f}),l(y||""),S.profile||(D("profile")(),setTimeout(()=>{L.current?.scrollIntoView({behavior:"smooth"})},100)),(0,N.xP)("discard_section",{label:"results",section:"jobTitle"})},onReapply:()=>{E({...P,jobTitle:null}),l(P.jobTitle||""),(0,N.xP)("reapply_section",{label:"results",section:"jobTitle"})}})]}),(0,J.jsxs)(KA,{title:u.t("builder.auto_tailoring.sections.professional_summary"),isOpened:!r&&S.profile,handleToggle:D("profile"),rightHeaderText:O,ref:L,children:[V?(0,J.jsx)(i2.Ay,{placeholder:u.t("builder.auto_tailoring.overview.info_section.none"),value:p,onChange:()=>{},disableToolbar:!0,locale:x,readOnly:!0}):(0,J.jsxs)(J.Fragment,{children:[o&&(0,J.jsx)(Kb,{children:u.t(`${KQ}.professional_summary`)}),!!n?.profile?.length&&(0,J.jsx)(KJ,{hints:n.profile}),(0,J.jsxs)(KU,{children:[(0,J.jsxs)(KW,{children:[(0,J.jsx)(KG,{children:u.t("builder.auto_tailoring.overview.info_section.before")}),(0,J.jsx)(i2.Ay,{placeholder:u.t("builder.auto_tailoring.overview.info_section.none"),value:p,onChange:()=>{},disableToolbar:!0,locale:x,readOnly:!0})]}),(0,J.jsxs)(KW,{children:[(0,J.jsxs)(KG,{children:[u.t("builder.auto_tailoring.overview.info_section.after"),(0,J.jsx)(KX,{})]}),(0,J.jsx)(i2.Ay,{placeholder:u.t("builder.auto_tailoring.overview.info_section.none"),value:h||"",onChange:e=>{a(e),B.current.profile||(B.current.profile=!0,(0,N.xP)("change_tailoring_field_content",{label:"results",section:"profile"}))},locale:x,enableSpeechToText:!0})]})]})]}),(0,J.jsx)(Kw,{isDiscarded:V,onDiscard:()=>{E({...P,profile:h}),a(p||""),S.skills||(D("skills")(),setTimeout(()=>{I.current?.scrollIntoView({behavior:"smooth"})},100)),(0,N.xP)("discard_section",{label:"results",section:"profile"})},onReapply:()=>{E({...P,profile:null}),a(P.profile||""),(0,N.xP)("reapply_section",{label:"results",section:"profile"})}})]}),(0,J.jsxs)(KA,{title:u.t("builder.auto_tailoring.sections.skills"),isOpened:!r&&S.skills,handleToggle:D("skills"),rightHeaderText:z,ref:I,children:[U?(0,J.jsx)(KW,{children:m?.length?(0,J.jsx)(KR,{children:m.map((e,t)=>
3546(0,J.jsx)(KL,{children:e?.skill||u.t("builder.resume_editor.not_specified")},t))}):(0,J.jsx)(KE,{children:u.t("builder.auto_tailoring.overview.info_section.none")})}):(0,J.jsxs)(J.Fragment,{children:[o&&(0,J.jsx)(Kb,{children:u.t(`${KQ}.skills`)}),!!n?.skills?.length&&(0,J.jsx)(KJ,{hints:n.skills}),(0,J.jsxs)(KU,{children:[(0,J.jsxs)(KW,{children:[(0,J.jsx)(KG,{children:u.t("builder.auto_tailoring.overview.info_section.before")}),m?.length?(0,J.jsx)(KR,{children:m.map((e,t)=>(0,J.jsx)(KL,{children:e?.skill||u.t("builder.resume_editor.not_specified")},t))}):(0,J.jsx)(KE,{children:u.t("builder.auto_tailoring.overview.info_section.none")})]}),(0,J.jsxs)(KW,{children:[(0,J.jsxs)(KG,{children:[u.t("builder.auto_tailoring.overview.info_section.after"),(0,J.jsx)(KX,{})]}),(0,J.jsx)(KR,{children:g?.map((e,t)=>(0,J.jsxs)(KN,{onClick:()=>{s(t),B.current.skills||(B.current.skills=!0,(0,N.xP)("change_tailoring_field_content",{label:"results",section:"skills"}))},children:[e?.skill||u.t("builder.resume_editor.not_specified"),(0,J.jsx)(KI,{})]},t))}),(0,J.jsx)(Km,{resumeTailored:i,updateSimpleField:c})]})]})]}),(0,J.jsx)(Kw,{isDiscarded:!!P.skills,onDiscard:()=>{E({...P,skills:g}),c({name:"skills",value:m.map(KY)}),S.workExperience||(D("workExperience")(),setTimeout(()=>{M.current?.scrollIntoView({behavior:"smooth"})},100)),(0,N.xP)("discard_section",{label:"results",section:"skills"})},onReapply:()=>{E({...P,skills:null}),c({name:"skills",value:P.skills?.map(KY)||[]}),(0,N.xP)("reapply_section",{label:"results",section:"skills"})}})]}),(0,J.jsxs)(KA,{title:u.t("builder.auto_tailoring.sections.work_experience"),isOpened:!r&&S.workExperience,handleToggle:D("workExperience"),rightHeaderText:F,ref:M,children:[!W&&o&&(0,J.jsx)(Kb,{children:u.t(`${KQ}.work_experience`)}),!!n?.workExperiences?.length&&(0,J.jsx)(KJ,{hints:n.workExperiences}),(0,J.jsx)(KM,{children:b?.map((e,t)=>{let i=k[t],r=t===_;return(0,J.jsxs)(KB,{isOpen:r,children:[(0,J.jsxs)(KD,{onClick:()=>v(t),children:[(0,J.jsxs)(K$,{children:[(0,J.jsx)(KO,{children:e?.title||u.t("builder.resume_editor.not_specified")}),(0,J.jsx)(Kz,{children:e&&(0,W9.t)(e)})]}),(0,J.jsx)(KF,{$isOpen:r})]}),(0,J.jsx)(KH,{isOpen:r,children:W?(0,J.jsx)(i2.Ay,{value:i?.description||"",onChange:()=>{},locale:x,placeholder:u.t("builder.auto_tailoring.overview.info_section.none"),disableToolbar:!0,readOnly:!0,label:u.t("builder.auto_tailoring.overview.info_section.description")}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(KW,{children:[(0,J.jsx)(KG,{children:u.t("builder.auto_tailoring.overview.info_section.before")}),(0,J.jsx)(i2.Ay,{value:i?.description||"",onChange:()=>{},locale:x,placeholder:u.t("builder.auto_tailoring.overview.info_section.none"),disableToolbar:!0,readOnly:!0})]}),(0,J.jsxs)(KW,{children:[(0,J.jsx)(KG,{children:u.t("builder.auto_tailoring.overview.info_section.after")}),(0,J.jsx)(KV,{children:(0,J.jsx)(i2.Ay,{value:e.description||"",onChange:e=>{d(e,t),B.current.workExperiences||(B.current.workExperiences=!0,(0,N.xP)("change_tailoring_field_content",{label:"results",section:"workExperiences"}))},locale:x,placeholder:u.t("builder.auto_tailoring.overview.info_section.none"),label:u.t("builder.auto_tailoring.overview.info_section.description"),enableSpeechToText:!0})})]})]})})]},t)})}),(0,J.jsx)(Kw,{isDiscarded:!!P.workExperience,onDiscard:()=>{E({...P,workExperience:b}),c({name:"workExperiences",value:k.map(e=>({...KY(e),employerProfilesAttributes:null}))}),(0,N.xP)("discard_section",{label:"results",section:"workExperiences"})},onReapply:()=>{E({...P,workExperience:null}),c({name:"workExperiences",value:P.workExperience?.map(e=>({...KY(e),employerProfilesAttributes:null}))||[]}),(0,N.xP)("reapply_section",{label:"results",section:"workExperiences"})}})]})]})},K1=(0,tt.Ay)(zZ.r8)(["display:flex;flex-direction:column;width:100%;flex:auto;gap:4px;"]),K2=tt.Ay.div([""," display:flex;flex-direction:column;gap:",";padding:"," "," ",";margin-bottom:0;"],Vk.Iq,te.Kz.S,te.Kz.L,te.Kz.L,te.Kz.M),K3=tt.Ay.div(["display:flex;flex-flow:column;justify-content:space-between;align-items:center;gap:",";"],te.Kz.S),K5=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;gap:",";text-align:center;"],te.Kz["3XS"]),K4=tt.Ay.div(["",";font-weight:",";"],te.o5.sizes.S,te.o5.weights.medium),K6=tt.Ay.div(["color:",";",";"],te.Jy.Neutral50,te.o5.sizes.Caption),K8=tt.Ay.div(["display:flex;align-items:center;gap:",";"],te.Kz["3XS"]),K9=tt.Ay.div(["display:flex;background-color:",";border-radius:",";padding:",";gap:6px;"],te.Jy.Neutral5,te.Kz["2XS"],te.Kz["2XS"]),K7=tt.Ay.div(["display:flex;gap:6px;padding:",";align-items:center;",";color:",";background-color:",";border-radius:",";"],te.Kz["2XS"],te.o5.sizes.Tiny,te.Jy.Neutral90,te.Jy.Neutral5,te.Kz["2XS"]),qe=tt.Ay.div(["",";font-weight:",";color:",";background:",";border-radius:",";padding:"," ",";white-space:nowrap;"],te.o5.sizes.Tiny,te.o5.weights.demibold,te.Jy.White,e=>e.score<=30?te.Jy.Red40:e.score>30&&e.score<=70?te.Jy.Amber40:te.Jy.Green40,te.Kz["3XS"],te.Kz["4XS"],te.Kz["3XS"]),qt=(0,tt.Ay)(tP.Ay.Spinner)(["animation:"," 0.5s infinite linear;"],im.ni),qi="builder.prefill_resume.auto_tailoring_view.tailored_resume_edit",qr=e=>{let{isLoading:t,oldScore:i,newScore:r,tailoredDesignation:n,newResume:o,oldResume:a,handleProfileSummaryChange:l,handleJobTitleChange:s,handleDeleteSkill:d,handleWorkExperienceChange:c,updateSimpleField:u,isBannersVisible:p=!0,actionsTaken:h}=e,{i18n:x}=(0,e1.s)();return(0,J.jsxs)(K1,{children:[(0,J.jsxs)(K2,{children:[(0,J.jsxs)(K3,{children:[(0,J.jsxs)(K5,{children:[(0,J.jsxs)(K4,{"data-testid":"autotailoring-overview-modal-title",children:[x.t(`${qi}.title${t?"":"_complete"}`),t&&(0,J.jsx)(qt,{})]}),(0,J.jsx)(K6,{children:n})]}),(0,J.jsx)(K8,{children:t?(0,J.jsxs)(K9,{children:[(0,J.jsx)(WT.E,{width:32,height:20}),x.t(`${qi}.score`)]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(K7,{children:[(0,J.jsxs)(qe,{score:i,children:[i,"%"]}),x.t(`${qi}.previous_score`)]}),(0,J.jsx)(tP.Ay.ArrowRight,{}),(0,J.jsxs)(K7,{children:[(0,J.jsxs)(qe,{score:r,children:[r,"%"]}),x.t(`${qi}.current_score`)]})]})})]}),(0,J.jsx)(W8,{})]}),(0,J.jsx)(K0,{resumeOld:a,resumeTailored:o,isLoading:t,handleProfileSummaryChange:l,handleJobTitleChange:s,handleDeleteSkill:d,handleWorkExperienceChange:c,updateSimpleField:u,actionsTaken:h,isBannersVisible:p})]})},qn="builder.prefill_resume.auto_tailoring_view.discard_changes_modal",qo="builder.prefill_resume.auto_tailoring_view.back_modal",qa=()=>{let{openSnackBar:e}=(0,R.useContext)(d$.X),{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),{fetchStatus:r,approveTailoredResumeStatus:n,data:o}=(0,eW.N)($.Tp.autoTailoringState),{temporaryJobPostingAPIData:a,resumeScoreAPIData:l}=(0,eW.N)($.Tp.optimizerSection),s=(0,eW.N)($.Tp.attachJobPostingStatus),{updatedResume:d,resumeScore:c}=o||{},u=(0,Lc.n)(l?.score?.finalWeightedScore),p=(0,Lc.n)(c?.score?.finalWeightedScore),h=(0,eW.N)($.Tp.resume),[x,m]=(0,R.useState)(!1),g=r===eZ.Hp.loading,y=n===eZ.Hp.loading,f=s===eZ.Hp.loading,b=r!==eZ.Hp.loaded,_=(0,cT.F)(a?.jobTitle,a?.companyName),[v,j]=(0,R.useState)(!1),[A,C]=(0,R.useState)(!1),w=(0,R.useMemo)(()=>d?h?{...h,...d,customSections:h.customSections}:d:null,[h,d]);(0,R.useEffect)(()=>{r===eZ.Hp.failed&&m(!0)},[r]),(0,R.useEffect)(()=>{n===eZ.Hp.failed&&m(!0)},[n]),(0,R.useEffect)(()=>{(0,N.xP)("see_auto_tailoring_overview_screen")},[]);let k=()=>{C(!1)},S=e=>{o&&i($.o1.setAutoTailoringState({data:{...o,updatedResume:{...o.updatedResume,[e.name]:e.value}}}))},T=e=>{S({name:"profile",value:e})},P=e=>{S({name:"position",value:e})},E=e=>{o&&S({name:"skills",value:o.updatedResume.skills.filter((t,i)=>i!==e)})},L=(e,t)=>{o&&S({name:"workExperiences",value:o.updatedResume.workExperiences.map((i,r)=>r===t?{...i,description:e}:i)})},I=()=>{!f&&h?.id&&i($.o1.startManualTailoring({resumeId:h?.id}
3546))},M=()=>{i($.o1.saveAutoTailoredResume({showInBuilderSnackbar:()=>{e({text:t.t("builder.auto_tailoring.after_auto_tailoring_from_job_board_snackbar"),type:Vb.r.success,isDismissible:!0})}}))},B=()=>{m(!1)},D=()=>{j(!1)},O=()=>{B(),i($.o1.resetAutoTailoringState()),i($.o1.setIsResumeAnalysisModalOpen(!0))};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(WK,{leftColumnTab:{id:"adjustments",label:t.t("builder.resume_editor.job_preview_tabs.adjustments")},resume:w,jobPosting:a,headerProps:{stepNumber:4,stepText:t.t("builder.prefill_resume.auto_tailoring_view.header.title_tailor_resume"),nextButtons:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,size:i$.Mp.small,isLoading:f,disabled:b||y,onClick:()=>{f||(C(!0),(0,N.xP)("click_tailor_manually"))},"data-testid":"discard-changes-button",children:t.t("builder.prefill_resume.auto_tailoring_view.header.discard_changes")}),(0,J.jsx)(i$.JQ,{isLoading:y,disabled:b||f,size:i$.Mp.small,onClick:()=>{y||(M(),(0,N.xP)("click_use_tailored_resume"))},"data-testid":"use-tailored-resume-button",children:t.t("builder.prefill_resume.auto_tailoring_view.header.save_tailored_resume")})]}),onBackButtonClick:()=>{j(!0),(0,N.xP)("click_on_back_button",{label:"results"})},backButtonText:t.t("builder.prefill_resume.auto_tailoring_view.header.back")},onTabChange:e=>{(0,N.xP)("change_auto_tailoring_tab",{label:"results",tab:e})},isJobParserLoading:!1,containerTestId:"autotailoring-overview-modal",renderLeftColumn:()=>(0,J.jsx)(qr,{isLoading:g,oldScore:u,newScore:p,tailoredDesignation:_,newResume:d,oldResume:h,handleProfileSummaryChange:T,handleJobTitleChange:P,handleDeleteSkill:E,handleWorkExperienceChange:L,updateSimpleField:S,isBannersVisible:!1,actionsTaken:o?.actionsTaken}),defaultDesktopTab:"preview"}),A&&(0,J.jsx)(V_.J,{onClose:k,title:t.t(`${qn}.title`),description:t.t(`${qn}.description`),renderButtons:({size:e})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,size:e,onClick:k,disabled:f,children:t.t(`${qn}.stay_button`)}),(0,J.jsx)(i$.JQ,{theme:i$.Ox.destructive,size:e,onClick:I,isLoading:f,children:t.t(`${qn}.discard_button`)})]})}),v&&(0,J.jsx)(V_.J,{onClose:D,title:t.t(`${qo}.title`),description:t.t(`${qo}.description`),dataTestId:"back-modal",renderButtons:({size:e})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,size:e,onClick:D,"data-testid":"reject-back-button",children:t.t(`${qo}.stay_button`)}),(0,J.jsx)(i$.JQ,{theme:i$.Ox.default,size:e,onClick:O,"data-testid":"confirm-back-button",children:t.t(`${qo}.go_back_button`)})]})}),x&&(0,J.jsx)(W3,{onClose:B,onBack:O,onTryAgain:()=>{B(),r===eZ.Hp.failed?i($.o1.startAutoTailoring()):n===eZ.Hp.failed&&M()}})]})},ql=tt.Ay.div(["background-color:",";border-radius:12px;"],te.Jy.White),qs=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.M),qd=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;"]),qc=tt.Ay.div(["",";font-weight:",";"],te.o5.sizes.Body,te.o5.weights.medium),qu=tt.Ay.div(["",";color:",";"],te.o5.sizes.Caption,te.Jy.Neutral50),qp=tt.Ay.div(["display:flex;gap:8px;flex-wrap:wrap;align-items:flex-start;"]),qh=(0,tt.Ay)(tP.Ay.RejectRegular)(["color:",";"],te.Jy.Neutral50),qx=tt.Ay.div(["",";background-color:",";padding:6px ",";border-radius:",";display:flex;align-items:center;gap:",";cursor:pointer;transition:all 0.1s ease-in-out;&:hover{color:",";background-color:",";","{color:",";}}"],te.o5.sizes.Caption,te.Jy.Neutral10,te.Kz["2XS"],te.Kz["3XS"],te.Kz["3XS"],te.Jy.Blue50,te.Jy.Blue10,qh,te.Jy.Blue50),qm=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.M),qg=tt.Ay.div(["height:1px;background-color:",";"],te.Jy.Neutral15),qy=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.S),qf=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["3XS"]),qb=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["2XS"]),q_=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),qv=tt.Ay.div(["display:flex;flex-direction:column;gap:",";background-color:",";border-radius:12px;padding:20px 36px;",""],te.Kz.M,te.Jy.White,tQ.A.Phone`
3547    padding: 21px 20px;
3548  `),qj=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;gap:",";",""],te.Kz.M,tQ.A.Tablet`
3549    flex-direction: column-reverse;
3550  `),qA=(0,tt.Ay)($1)(["width:230px;"]),qC=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),qw=tt.Ay.div([""]),qk=tt.Ay.div(["display:flex;flex-direction:column;gap:2px;flex:auto;"]),qS=tt.Ay.div(["display:flex;flex-direction:column;background-color:",";border:1px solid ",";border-radius:8px;width:100%;"],te.Jy.White,te.Jy.Neutral15),qT=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:",";cursor:pointer;user-select:none;padding:",";"],te.Kz.M,te.Kz.XS),qP=tt.Ay.div(["display:flex;align-items:center;gap:",";flex:1;min-width:0;"],te.Kz["2XS"]),qJ=tt.Ay.div(["position:relative;width:24px;height:24px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;",""],e=>{switch(e.$matchType){case"full_match":return(0,tt.AH)(["background-color:",";color:",";"],te.Jy.Green10,te.Jy.Green50);case"no_match":return(0,tt.AH)(["background-color:",";color:",";"],te.Jy.Red10,te.Jy.Red50);case"partial_match":return(0,tt.AH)(["background-color:",";color:",";"],te.Jy.Amber10,te.Jy.Amber50)}}),qE=tt.Ay.p(["",";color:",";margin:0;flex:1;min-width:0;"],te.o5.sizes.Caption,te.Jy.Neutral90),qR=(0,tt.Ay)(tP.Ay.ToggleArrow)(["color:",";flex-shrink:0;transform:rotate(",");transition:transform 0.2s ease;"],te.Jy.Neutral50,e=>e.$isExpanded?"-90deg":"90deg"),qL=tt.Ay.div(["display:flex;flex-direction:column;gap:",";position:relative;padding:0 "," ",";"],te.Kz["3XS"],te.Kz.XS,te.Kz.XS),qN=tt.Ay.p(["",";color:",";margin:0;"],te.o5.sizes.Caption,te.Jy.Neutral50),qI=tt.Ay.div(["position:relative;display:flex;flex-direction:column;"]),qM=function(e){let{name:t,matchType:i,evidence:r="",placeholder:n,label:o,onEvidenceChange:a,isForceExpanded:l
3550=!1}=e,[s,d]=(0,R.useState)(l);return(0,J.jsxs)(qS,{children:[(0,J.jsxs)(qT,{onClick:()=>{d(!s)},children:[(0,J.jsxs)(qP,{children:[(0,J.jsx)(qJ,{$matchType:i,children:(()=>{switch(i){case"full_match":return(0,J.jsx)(tP.EK.Check,{});case"no_match":return(0,J.jsx)(tP.EK.RejectIcon,{});case"partial_match":return(0,J.jsx)(tP.EK.QuestionIcon,{})}})()}),(0,J.jsx)(qE,{children:t})]}),(0,J.jsx)(qR,{$isExpanded:s})]}),s&&(0,J.jsxs)(qL,{children:[o&&(0,J.jsx)(qN,{children:o}),(0,J.jsx)(qI,{children:(0,J.jsx)(i2.Ay,{value:r,onChange:e=>{a?.(e)},placeholder:n,disableToolbar:!0,enableSpeechToText:!0})})]})]})},qB="builder.resume_editor.resume_analysis_modal",qD="builder.resume_editor.resume_analysis_modal.back_modal",q$=e=>e.findIndex(e=>"no_match"===e.matchType||"partial_match"===e.matchType),qO=()=>{let e=(0,eU.wA)(),{temporaryJobPostingAPIData:t,resumeScoreAPIData:i,customEvidences:r,fetchScoreStatus:n,fetchTemporaryJobPostingStatus:o}=(0,eW.N)($.Tp.optimizerSection),{enabled:a,jobExternalSlugId:l,selectedRecommendedJob:s}=(0,eW.N)($.Tp.autoTailoringFromJobBoard),d=(0,eW.N)($.Tp.resume),{i18n:c}=(0,e1.s)(),[u,p]=(0,R.useState)(!1),[h,x]=(0,R.useState)(!0),[m,g]=(0,R.useState)(!1),[y,f]=(0,R.useState)(!1),b=n===eZ.Hp.loading,_=o===eZ.Hp.loading,v=!b&&u,j=!b&&h,A=i?.skills.filter(e=>"hard_skill"===e.type),C=i?.skills.filter(e=>"soft_skill"===e.type),w=c.t(`${qB}.requirements_section.key_requirements.placeholder`),k=c.t(`${qB}.requirements_section.evidence_label`),S=(0,R.useRef)({}),T=(0,eW.N)($.Tp.analysisContentTrackedFields),P=(0,R.useRef)(s),E=(0,R.useMemo)(()=>{let e=q$(i?.requirements||[]);if(-1!==e)return`requirement_${e}`;let t=q$(i?.niceToHave||[]);return -1!==t?`nice_to_have_${t}`:null},[i?.requirements,i?.niceToHave]);(0,R.useEffect)(()=>{(o===eZ.Hp.notAsked||n===eZ.Hp.notAsked)&&e($.o1.checkResumeScore({jobPostingId:t?.id,resumeId:d?.id,jobExternalSlugId:l,job:P.current}))},[o,n,e,t?.id,d?.id,l]),(0,R.useEffect)(()=>{o===eZ.Hp.failed&&f(!0)},[o]),(0,R.useEffect)(()=>{n===eZ.Hp.failed&&f(!0)},[n]),(0,R.useEffect)(()=>{(0,N.xP)("see_auto_tailoring_analysis_screen")},[]);let L=t=>{e($.o1.deleteResumeAnalysisSkill({name:t})),S.current.keywords||(S.current.keywords=!0,(0,N.xP)("change_tailoring_field_content",{label:"analysis",section:"keywords"}))},I=(t,i,r)=>{e($.o1.editRequirementEvidence({section:t,index:i,text:r})),S.current.requirements||(S.current.requirements=!0,(0,N.xP)("change_tailoring_field_content",{label:"analysis",section:"requirements"}));let n=`${t}_${i}`;T.includes(n)||(e($.o1.addAnalysisContentTrackedField(n)),(0,N.xP)("change_analysis_content",{label:"niceToHave"===t?"nice_to_haves":"requirements",order:i,resume_id:d?.id}))},M=()=>{g(!1)},B=()=>{f(!1)},D=()=>{B(),a?e($.o1.resetResumeScoreAPIResponse()):e($.o1.resetResumeOptimizerProcess()),e($.o1.setIsResumeAnalysisModalOpen(!1))},O=()=>{!b&&(p(!u),u||(0,N.xP)("open_section",{label:"analysis",section:"keywords"}))},z=()=>{!b&&(x(!h),h||(0,N.xP)("open_section",{label:"analysis",section:"requirements"}))};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(WK,{leftColumnTab:{id:"review",label:c.t("builder.resume_editor.job_preview_tabs.review")},resume:d,jobPosting:t,headerProps:{stepNumber:3,stepText:c.t("builder.prefill_resume.auto_tailoring_view.header.title_analyze_resume"),nextButtons:(0,J.jsx)(UD,{}),onBackButtonClick:()=>{g(!0),(0,N.xP)("click_on_back_button",{label:"analysis"})},backButtonText:c.t("builder.prefill_resume.auto_tailoring_view.header.back")},onTabChange:e=>{(0,N.xP)("change_auto_tailoring_tab",{label:"analysis",tab:e})},isJobParserLoading:_,containerTestId:"resume-analysis-modal",renderLeftColumn:()=>(0,J.jsxs)(qk,{children:[(0,J.jsxs)(qv,{children:[(0,J.jsxs)(qj,{children:[(0,J.jsx)(WB,{jobTitle:t?.jobTitle||"",companyName:t?.companyName||"",location:t?.currentLocation||"",isLoading:_}),(0,J.jsx)(qA,{score:(0,Lc.n)(i?.score?.finalWeightedScore),isLoading:b})]}),b?(0,J.jsxs)(q_,{children:[(0,J.jsx)(WT.E,{height:24,width:80}),(0,J.jsx)(WT.E,{height:16}),(0,J.jsx)(WT.E,{height:16,width:240})]}):(0,J.jsxs)(qC,{children:[(0,J.jsx)(qc,{children:c.t(`${qB}.match_summary`)}),(0,J.jsx)(qw,{children:i?.matchSummary||""})]})]}),(0,J.jsxs)(ql,{children:[(0,J.jsxs)(Vk.X3,{isOpened:v,onClick:O,children:[(0,J.jsx)(K_.A,{title:c.t(`${qB}.keywords_section.title`),isOpened:v,isLoading:b}),(0,J.jsx)(Vk.VE,{isOpened:v,children:(0,J.jsx)(Vk.ZI,{children:c.t(`${qB}.keywords_section.description`)})})]}),(!!A?.length||!!C?.length)&&(0,J.jsx)(Vk.Mg,{isOpened:v,children:(0,J.jsxs)(qs,{
3550children:[!!A?.length&&(0,J.jsxs)(qd,{children:[(0,J.jsx)(qc,{children:c.t(`${qB}.keywords_section.hard_skills`)}),(0,J.jsx)(qp,{children:A.map(e=>(0,J.jsxs)(qx,{onClick:()=>L(e.name),children:[e.name,(0,J.jsx)(qh,{})]},e.name))})]}),!!C?.length&&(0,J.jsxs)(qd,{children:[(0,J.jsx)(qc,{children:c.t(`${qB}.keywords_section.soft_skills`)}),(0,J.jsx)(qp,{children:C.map(e=>(0,J.jsxs)(qx,{onClick:()=>L(e.name),children:[e.name,(0,J.jsx)(qh,{})]},e.name))})]})]})})]}),(0,J.jsxs)(ql,{children:[(0,J.jsxs)(Vk.X3,{isOpened:j,onClick:z,children:[(0,J.jsx)(K_.A,{title:c.t(`${qB}.requirements_section.title`),isOpened:j,isLoading:b}),(0,J.jsx)(Vk.VE,{isOpened:j,children:(0,J.jsx)(Vk.ZI,{children:c.t(`${qB}.requirements_section.description`)})})]}),!!i&&(!!i.requirements.length||!!i.niceToHave.length)&&(0,J.jsx)(Vk.Mg,{isOpened:j,children:(0,J.jsxs)(qm,{children:[!!i.requirements.length&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(qg,{}),(0,J.jsxs)(qy,{children:[(0,J.jsxs)(qf,{children:[(0,J.jsx)(qc,{children:c.t(`${qB}.requirements_section.key_requirements.title`)}),(0,J.jsx)(qu,{children:c.t(`${qB}.requirements_section.key_requirements.description`)})]}),(0,J.jsx)(qb,{children:i.requirements.map((e,t)=>(0,J.jsx)(qM,{name:e.name,matchType:e.matchType,evidence:r.requirements[t],placeholder:w,label:k,onEvidenceChange:e=>I("requirements",t,e),isForceExpanded:E===`requirement_${t}`},e.name))})]})]}),!!i.niceToHave.length&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(qg,{}),(0,J.jsxs)(qy,{children:[(0,J.jsxs)(qf,{children:[(0,J.jsx)(qc,{children:c.t(`${qB}.requirements_section.nice_to_haves.title`)}),(0,J.jsx)(qu,{children:c.t(`${qB}.requirements_section.nice_to_haves.description`)})]}),(0,J.jsx)(qb,{children:i.niceToHave.map((e,t)=>(0,J.jsx)(qM,{name:e.name,matchType:e.matchType,evidence:r.niceToHave[t],placeholder:w,label:k,onEvidenceChange:e=>I("niceToHave",t,e),isForceExpanded:E===`nice_to_have_${t}`},e.name))})]})]})]})})]})]})}),m&&(0,J.jsx)(V_.J,{onClose:M,title:c.t(`${qD}.title`),description:c.t(`${qD}.description`),dataTestId:"back-modal",renderButtons:({size:e})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,size:e,onClick:M,"data-testid":"reject-back-button",children:c.t(`${qD}.stay_button`)}),(0,J.jsx)(i$.JQ,{theme:i$.Ox.default,size:e,onClick:D,"data-testid":"confirm-back-button",children:c.t(`${qD}.go_back_button`)})]})}),y&&(0,J.jsx)(W3,{onClose:B,onBack:D,onTryAgain:()=>{B(),e($.o1.checkResumeScore({jobPostingId:t?.id,resumeId:d?.id,jobExternalSlugId:l}))}})]})};var qz=i(31699),qF=i(65353);let qH=(0,tt.i7)(["from{transform:scale(0.5);opacity:0;}to{transform:scale(1);opacity:1;}"]),qV=tt.Ay.div(["display:flex;align-items:center;position:relative;"]),qU=tt.Ay.button(["position:relative;display:flex;overflow:hidden;width:32px;height:32px;margin:0;padding:0;border:none;background:none;cursor:pointer;outline:none;color:",";&:after,&:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;}"],e=>e.color?e.color:te.Jy.Neutral50),qW=(0,tt.Ay)(qF.Settings3)([""]),qK=tt.Ay.menu(["box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 6px 8px -2px rgba(15,56,113,0.02),0px 16px 64px -8px rgba(15,56,113,0.18);position:absolute;z-index:",";right:0;top:calc(100% + 12px);padding:0;margin:0;width:352px;border-radius:16px;background-color:",";transform-origin:100% 0;animation:"," 0.25s;animation-fill-mode:forwards;"],551,te.Jy.White,qH),qq=tt.Ay.div(["padding:24px 20px 0 20px;"]),qG=tt.Ay.div(["display:flex;flex-direction:column;gap:2px;padding-bottom:20px;border-bottom:1px solid ",";"],te.Jy.Neutral15),qZ=tt.Ay.div(["",";",";color:",";transition:color 0.2s;"],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral100),qX=tt.Ay.div(["",";color:",";overflow:hidden;text-overflow:ellipsis;"],td.Ay.Body,te.Jy.Neutral50),qQ=tt.Ay.div(["display:flex;flex-direction:column;margin-top:12px;gap:4px;padding:0 12px 12px;"]),qY=tt.Ay.div(["display:flex;gap:8px;padding:8px;border-radius:8px;align-items:center;cursor:pointer;&:hover{background-color:",";}"],te.Jy.Neutral5),q0=(0,tt.Ay)(tP.qJ.Settings2)(["color:",";&:hover{background-color:",";}"],te.Jy.Neutral90,te.Jy.Neutral5),q1=(0,tt.Ay)(tP.qJ.Info)(["color:",";"],te.Jy.Neutral90),q2=(0,tt.Ay)(tP.qJ.LogOut)(["color:",";"],te.Jy.Neutral90),q3=tt.Ay.p(["display:block;color:",";transition:color 0.2s;cursor:pointer;border:none;background:none;margin:0;padding:0;text-align:start;"],te.Jy.Neutral90),q5=(0,R.memo)(({user:e,isOpen:t,onToggle:i})=>{let{i18n:r}=(0,e1.s)(),n=(0,e0.U)(),o=(0,R.useRef)(null),a=(0,L.Zp)(),{isRbpStepFlowActive:l}=Uw();return(0,oO.L)(o,()=>i(!1)),(0,pA.j)(()=>i(!1)),(0,J.jsxs)(qV,{ref:o,isPremium:e.hasPremiumFeatures,"data-testid":"user-settings-container",children:[(0,J.jsx)(qU,{id:"acc-settings",isOpen:t,onClick:()=>i(!t),"data-testid":"trigger",children:(0,J.jsx)(qW,{})}),t&&(0,J.jsxs)(qK,{children:[(0,J.jsx)(qq,{children:(0,J.jsxs)(qG,{children:[(0,J.jsx)(qZ,{children:e.fullName}),(0,J.jsx)(qX,{children:e.email})]})}),(0,J.jsxs)(qQ,{children:[l&&(0,J.jsxs)(qY,{onClick:()=>{(0,N.xP)("nav_click_dashboard"),a("/")},"data-testid":"dashboard-link",children:[(0,J.jsx)(tP.Ay.Grid,{}),(0,J.jsx)(q3,{children:r.t("builder.side_menu.dashboard")})]}),(0,J.jsxs)(qY,{onClick:()=>{(0,N.xP)("click_account_settings"),a("/account")},"data-testid":"account-settings-link",children:[(0,J.jsx)(q0,{}),(0,J.jsx)(q3,{children:r.t("builder.navbar.account_settings")})]}),n?.links.help&&(0,J.jsxs)(qY,{onClick:()=>{(0,N.xP)("click_faq"),window.open(n.links.help,"_blank")},"data-testid":"faq-link",children:[(0,J.jsx)(q1,{}),(0,J.jsx)(q3,{children:r.t("builder.navbar.faq")})]}),(0,J.jsxs)(qY,{onClick:()=>{EZ.y.logout()},"data-testid":"log-out-link",children:[(0,J.jsx)(q2,{}),(0,J.jsx)(q3,{children:r.t("builder.navbar.log_out")})]})]})]})]})}),q4=tt.Ay.div(["margin-left:4px;flex:0 0 24px;width:24px;height:24px;
3550cursor:pointer;background-color:",";mask:url(",") no-repeat center;mask-size:contain;transition:background-color 0.2s ease,opacity 0.2s ease;opacity:0;",""],te.Jy.Neutral40,e=>e.$icon,tQ.A.Tablet`
3551    opacity: 1;
3552  `),q6=tt.Ay.div(["display:flex;align-items:center;position:relative;cursor:",";width:fit-content;&:hover ","{background-color:",";opacity:1;}"],e=>e.$isHovered?"pointer":"default",q4,te.Jy.Blue50),q8=tt.Ay.span(["",";color:",";transition:color 0.2s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:fit-content;max-width:335px;",""],td.o5.Body,e=>e.$isHovered?te.Jy.Blue50:te.Jy.Neutral90,tQ.A.Laptop`
3553    max-width: 190px;
3554  `),q9=tt.Ay.input(["",";color:",";border:none;border-bottom:2px solid ",";background:transparent;outline:none;padding:0 0 4px 0;margin:0;margin-bottom:-6px;max-width:335px;caret-color:",";&::placeholder{color:",";}",""],td.o5.Body,te.Jy.Neutral90,te.Jy.Blue50,te.Jy.Blue50,te.Jy.Neutral50,tQ.A.Laptop`
3555    max-width: 190px;
3556  `),q7=tt.Ay.div(["position:absolute;bottom:-24px;right:-20px;padding:"," ",";background:",";color:",";",";border-radius:4px;white-space:nowrap;z-index:1000;&::before{content:'';position:absolute;top:-4px;left:50%;transform:translateX(-50%);border:4px solid transparent;border-bottom-color:",";}"],te.Kz["3XS"],te.Kz["2XS"],te.Jy.Neutral90,te.Jy.White,td.o5.Tiny,te.Jy.Neutral90);var Ge=i.p+"media/pencil9caec15ce9053ad2.svg",Gt=({value:e,onChange:t,onEditingChange:i})=>{let[r,n]=(0,R.useState)(e),[o,a]=(0,R.useState)(!1),[l,s]=(0,R.useState)(!1),d=(0,R.useRef)(null),{i18n:c}=(0,e1.s)(),u=c.t("builder.resume_editor.untitled"),p=(0,R.useCallback)(()=>{a(!0),i?.(!0),s(!1),setTimeout(()=>{d.current&&(d.current.focus(),d.current.select())},0)},[i]),h=(0,R.useCallback)(e=>{n(e.target.value)},[]),x=(0,R.useCallback)(e=>{a(!1),i?.(!1),t(e.target.value.trim())},[t,i]),m=(0,R.useCallback)(t=>{"Enter"===t.key&&d.current&&d.current.blur(),"Escape"===t.key&&(n(e),a(!1),i?.(!1))},[e,i]),g=(0,R.useCallback)(()=>{o||s(!0)},[o]),y=(0,R.useCallback)(()=>{s(!1)},[]);return(0,J.jsx)(q6,{id:"editor-builder-top-nav-title",onMouseEnter:g,onMouseLeave:y,$isHovered:l,children:o?(0,J.jsx)(q9,{ref:d,value:r,onChange:h,onBlur:x,onKeyDown:m,placeholder:u,size:r.length}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(q8,{$isHovered:l,children:e||u}),(0,J.jsx)(q4,{id:"editor-builder-top-nav-title-pencil-icon",onClick:p,$icon:Ge}),l&&(0,J.jsx)(q7,{children:c.t("builder.dashboard.rename")})]})})},Gi=i(20001);let Gr=tt.Ay.div(["display:flex;justify-content:center;position:relative;user-select:none;"]),Gn=tt.Ay.div(["",";color:",";display:flex;align-items:center;cursor:pointer;&:hover,&:focus{color:",";}"],td.Ay.Caption,te.Jy.Neutral50,te.Jy.Blue50),Go=tt.Ay.div(["width:19px;height:12px;background-size:auto 12px;",";margin-right:8px;opacity:",";"],({locale:e})=>{let t,r;return t="en-US"===e?"en":"fr-CA"===e?"fr-FR":e,(r=["en","nl-NL","de-DE","es-ES","sv-SE","da","nb","fr-FR","pt-PT","ru","it","pl","fi","cs","pt-BR","es-MX","ro","af","he","hi","hu","zh-HK","en-GB","ko-KR","ja-JP","gr","en-NZ","de-CH","en-IE","de-AT","bg","sr","es-CL","vi","en-AU","en-CA"].findIndex(e=>e===t))<0?(0,tt.AH)(["background-image:url(",");"],i(63441)):(0,tt.AH)(["background-image:url(",");background-position:","px 0;"],i(91878),-19*r)},({isSelected:e})=>e?.5:1),Ga=(0,tt.Ay)(uD.CS.div)(["border-radius:4px;background-color:",";transform-origin:top center;"],te.Jy.Neutral100),Gl=tt.Ay.div(["white-space:nowrap;color:",";",";font-weight:600;padding:16px 20px 8px;"],te.Jy.White,td.Ay.Caption),Gs=tt.Ay.div(["width:100%;max-height:174px;overflow-y:auto;&::-webkit-scrollbar{width:12px;background-color:transparent;border-right:2px solid transparent;}&::-webkit-scrollbar-thumb{background-color:",";border:4px solid ",";border-radius:6px;&:hover{background-color:",";}}"],te.Jy.Neutral70,te.Jy.Neutral100,te.Jy.Neutral30),Gd=tt.Ay.div(["padding-bottom:8px;"]),Gc=tt.Ay.div(["",";color:",";padding:4px 0 4px 20px;cursor:pointer;display:flex;align-items:center;&:hover{color:",";}"],td.Ay.Caption,({isSelected:e})=>e?te.Jy.Neutral70:te.Jy.White,te.Jy.Blue50),Gu=["hi","he","zh-HK"];var Gp=({options:e,selected:t,onSelect:i})=>{let[r,n]=(0,R.useState)(!1),o=(0,R.useRef)(null),a={duration:140},l={opacity:0,transform:"scale(1, 0.3)"},[s,d]=(0,uD.zh)(()=>l);(0,R.useEffect)(()=>{let e=()=>{r&&n(!1)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[r]);let c=e=>{e.stopPropagation(),n(!1)};(0,oO.L)(o,()=>r&&n(!1));let u=window.location.search.includes("kr"),p=e.filter(e=>!(!u&&"ko-KR"===e.id||Gu.includes(e.id))),h=p.find(e=>e.id===t)||e.find(e=>e.id===t&&Gu.includes(e.id))||{id:"unknown",name:i7.R.t("builder.resume_editor.unknown_language")};return(0,J.jsx)(Gr,{children:(0,J.jsx)(Gi.A,{placement:"bottom",render:e=>(0,J.jsxs)(Ga,{onClick:c,style:s,...e,ref:o,children:[(0,J.jsx)(Gl,{children:i7.R.t("builder.resume_editor.resume_language")}),(0,J.jsx)(Gs,{children:(0,J.jsx)(Gd,{children:p.map(e=>(0,J.jsxs)(Gc,{isSelected:e.id===t,onClick:()=>{i(e.id),n(!1)},children:[(0,J.jsx)(Go,{locale:e.id,isSelected:e.id===t}),e.name]},e.id))})})]}),onMount:()=>{d.start({opacity:1,transform:"scale(1, 1)",config:a})},onHide:({unmount:e})=>{d.start({opacity:0,onRest:()=>{e(),d.start({...l,config:a})},config:{...a,clamp:!0}})},visible:r,interactive:!0,animation:!0,appendTo:()=>document.body,children:(0,J.jsxs)(Gn,{onClick:()=>n(!0),children:[(0,J.jsx)(Go,{locale:h.id}),h.name]})})})};let Gh=(0,tt.i7)(["from{transform:scale(0.5);opacity:0;}to{transform:scale(1);opacity:1;}"]),Gx=tt.Ay.div(["margin-right:12px;color:",";transition:color 0.1s;"],e=>e.isOpen?`${te.Jy.Blue60}`:"inherit"),Gm=tt.Ay.button(["position:relative;display:flex;overflow:hidden;width:32px;height:32px;margin:0;padding:0;border-radius:50%;cursor:pointer;outline:none;border:",";transition:border-color 0.1s ease-out;"],e=>e.isOpen?`2px solid ${te.Jy.Blue60}`:`1px solid ${(0,ti.j)(te.Jy.Neutral90,.04)}`),Gg=tt.Ay.img(["width:100%;"]),Gy=tt.Ay.div(["position:relative;transition:opacity 0.2s,visibility 0.2s;opacity:",";visibility:",";margin-left:auto;"],e=>+!e.isMenuOpen,e=>e.isMenuOpen?"hidden":"visible"),Gf=tt.Ay.div(["display:flex;align-items:center;&:hover ","{color:",";}&:hover ","{border:2px solid ",";&:after,&:focus-visible:after{opacity:1;}}&:active ","{border-color:",";}"],Gx,te.Jy.Blue60,Gm,te.Jy.Blue50,Gm,te.Jy.Blue60),Gb=tt.Ay.menu(["",";position:absolute;z-index:510;right:0;top:calc(100% + 12px);padding:0;margin:0;width:auto;border-radius:8px;background-color:",";transform-origin:100% 0;animation:"," 0.1s;animation-fill-mode:forwards;"],tr.A.lightWithBorder.mid,te.Jy.White,Gh),G_=tt.Ay.div(["padding:12px 0;"]),Gv=tt.Ay.div(["",";color:",";white-space:nowrap;display:flex;align-items:center;transition:color 0.1s;"],td.o5.Body,te.Jy.Neutral90),Gj=tt.Ay.div(["padding:6px 24px;display:flex;flex-direction:row;position:relative;&:hover ","{color:",";}"],Gv,te.Jy.Blue60),GA=tt.Ay.div(["display:flex;flex-direction:column;"]),GC=tt.Ay.div(["",";color:",";"],td.o5.Tiny,te.Jy.Neutral50),Gw=tt.Ay.div(["display:block;height:1px;width:100%;background-color:",";margin:10px 0;"],te.Jy.Neutral15),Gk=tt.Ay.div(["cursor:pointer;z-index:500;-webkit-tap-highlight-color:transparent;"," ",";"],e=>e.hasFeatures&&(0,tt.AH)(["","{padding-left:52px;}","{width:320px;}"],Gj,Gb),tQ.A.Laptop`
3557    top: 20px;
3558    right: 20px;
3559  `),GS=tt.Ay.div(["flex-shrink:0;width:24px;height:24px;color:",";position:absolute;
3559left:16px;top:14px;"],te.Jy.Blue50),GT=({hasFeatures:e=!1,hasUserName:t=!1,dashboardPath:i="/",...r})=>{let n=(0,e0.U)(),o=(0,e4.J)(),{i18n:a}=(0,e1.s)(),l=(0,R.useRef)(null),[s,d]=(0,R.useState)(!1),c=(0,eW.N)(Z.Tp.photoUrl),u=(0,R.useCallback)(()=>d(!1),[d]),p=(0,R.useCallback)(()=>d(!s),[d,s]);return(n?.features.international&&(i="/"),(0,oO.L)(l,u),(0,pA.j)(u),(0,R.useEffect)(()=>{s&&(0,N.xP)("open_account_menu")},[s]),n)?(0,J.jsx)(Gk,{ref:l,hasFeatures:e,...r,children:o&&(0,J.jsxs)(Gy,{isMenuOpen:!1,children:[(0,J.jsxs)(Gf,{onClick:p,children:[t&&(0,J.jsx)(Gx,{isOpen:s,children:o.fullName}),(0,J.jsx)(Gm,{isOpen:s,children:(0,J.jsx)(Gg,{src:c})})]}),s&&(0,J.jsx)(Gb,{children:(0,J.jsxs)(G_,{onClick:u,children:[e&&(0,J.jsxs)(R.Fragment,{children:[(0,J.jsx)(i3.N_,{to:{pathname:i},children:(0,J.jsxs)(Gj,{children:[(0,J.jsx)(GS,{children:(0,J.jsx)(tP.qJ.Home,{})}),(0,J.jsxs)(GA,{children:[(0,J.jsx)(Gv,{children:a.t("builder.navbar.dashboard")}),(0,J.jsx)(GC,{children:a.t("builder.navbar.dashboard_description")})]})]})}),(0,J.jsx)(Gw,{})]}),(0,J.jsx)(i3.N_,{to:"/account",children:(0,J.jsx)(Gj,{children:(0,J.jsx)(GA,{children:(0,J.jsx)(Gv,{children:a.t("builder.navbar.account_settings")})})})}),(0,J.jsx)("a",{href:n.links.updates||"https://updates.resume.io/",target:"_blank",rel:"noreferrer noopener",children:(0,J.jsx)(Gj,{children:(0,J.jsx)(GA,{children:(0,J.jsx)(Gv,{children:a.t("builder.navbar.updates")})})})}),(0,J.jsx)("a",{href:n.links.help,target:"_blank",rel:"noreferrer noopener",children:(0,J.jsx)(Gj,{children:(0,J.jsx)(GA,{children:(0,J.jsx)(Gv,{children:a.t("builder.navbar.faq")})})})}),(0,J.jsx)(Gj,{onClick:()=>EZ.y.logout(),children:(0,J.jsx)(GA,{children:(0,J.jsx)(Gv,{children:a.t("builder.navbar.log_out")})})})]})})]})}):null};var GP=i(24317);let GJ="builder.resume_distribution.version_3",GE=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)(),[i]=(0,i3.ok)(),r=i.get("resume-distribution-id"),n=(0,eW.N)(e=>e.resumeEditor.resume),o=(0,R.useCallback)(()=>{r&&t(ev.o1.setResumeDetails(n))},[t,r,n]);return(0,J.jsxs)(VV,{onClick:o,"data-highlight-id":GP.vK.RESUME_DISTRIBUTION,children:[(0,J.jsxs)(VU,{children:[(0,J.jsx)(VW,{children:e.t(`${GJ}.resume_distribution_action.title`)}),(0,J.jsx)(VK,{children:e.t(`${GJ}.resume_distribution_action.description`)})]}),(0,J.jsx)(Vq,{children:(0,J.jsx)(VG,{})})]})},GR=({documentType:e,type:t})=>{let i=(0,L.Zp)(),{i18n:r}=(0,e1.s)(),{id:n}=(0,L.g)(),[o]=(0,i3.ok)(),a=o.get("auto_apply_return_to"),l="job_application"===t?"builder.auto_apply_copilot.return_to_job_application_button":"builder.auto_apply_copilot.return_to_documents_button";return a?(0,J.jsxs)(VV,{onClick:()=>{if(!a)return;let t=a.includes("?")?"&":"?";i(`${a}${t}${"cover_letter"===e?"cover_letter_id":"resume_id"}=${n}`)},children:[(0,J.jsxs)(VU,{children:[(0,J.jsx)(VW,{children:r.t(`${l}.title`)}),(0,J.jsx)(VK,{children:r.t(`${l}.subtitle`)})]}),(0,J.jsx)(Vq,{children:(0,J.jsx)(VG,{})})]}):null},GL=({document:e})=>{let t=(0,eU.wA)(),{i18n:i}=(0,e1.s)(),[r]=(0,i3.ok)(),n=r.get("resume-distribution-id"),o=r.get("auto_apply_return_to"),a=r.get(GP.Mr),l=(()=>{let e=(0,L.zy)(),{isAutoApplyFeatureEnabled:t,isUserOnAutoApplyPlan:i,hasUserCompletedQuestionnaire:r}=(0,ck.J)();return()=>{let n=ew.D.getItem("provisioning-premium-with-3-auto-apply-credits");return!e.pathname.includes("auto-apply")&&(i||!!n)&&t&&!r}})(),s=o?"auto-apply-return":e&&"cover_letter"!==e.type?n&&!l()?"resume-distribution":l()?"auto-apply":null:null;return((0,R.useEffect)(()=>{if(!s)return;let e=!1,r="",n=null;"resume-distribution"===s?(e=!!ew.D.getItem(GP.jz.RESUME_DISTRIBUTION),r=GP.jz.RESUME_DISTRIBUTION,e||(n={title:i.t("builder.resume_distribution.version_3.resume_distribution_action.highlighted_element.title"),content:i.t("builder.resume_distribution.version_3.resume_distribution_action.highlighted_element.description"),target:`[data-highlight-id=${GP.vK.RESUME_DISTRIBUTION}]`})):"auto-apply"===s&&(e=!!ew.D.getItem(GP.jz.AUTO_APPLY),r=GP.jz.AUTO_APPLY,e||(n={title:i.t("builder.auto_apply.editor_bubble.header"),content:i.t("builder.auto_apply.editor_bubble.subheader"),target:`[data-highlight-id=${GP.vK.AUTO_APPLY}]`})),n&&r&&t($.o1.setHighlightedElement({...n,onClose:()=>{ew.D.setItem(r,"true")}}))},[t,i,s]),"auto-apply-return"===s)?(0,J.jsx)(GR,{documentType:e?.type,type:"job_application"===a?"job_application":void 0}):"resume-distribution"===s?(0,J.jsx)(GE,{}):null},GN=e=>{let{handleDownloadDocument:t,handleShareDocument:i,onSidebarToggle:r,isRbpStepFlowActive:n,locales:o,onLocaleSelect:a,isConversationalBuilderOpen:l,isSidebarOpen:s,editorPanelType:d,document:c,user:u,tabItems:p,handleTabChange:h,handleDocumentNameChange:x}=e,[m,g]=(0,R.useState)(!1),[y,f]=(0,R.useState)(!1),{i18n:b}=(0,e1.s)(),{features:_}=(0,d2.t)(),v=(0,eW.N)(e=>e.application.configs.country?.locale||"en"),{isResumeReadyStep:j}=Uw(),{superApp:A,international:C,dashboardV3:w,dashboardV2:k}=_,S=A||C||w&&!k;return(0,J.jsxs)(VX,{$isAiWriterOpen:l,children:[(0,J.jsxs)(VY,{children:[(!n||j)&&S&&(0,J.jsx)(V9,{onClick:()=>{r?.(!s)},"data-testid":"toggle-sidebar-navigation-button",children:s?(0,J.jsx)(tP.Ay.CloseLarge,{}):(0,J.jsx)(qz.DashboardBuilder,{})}),!n&&(0,J.jsxs)(Ue,{children:[(0,J.jsx)(V7,{children:(0,J.jsx)(Gt,{onChange:x,value:c?.name||b.t("builder.resume_editor.untitled"),onEditingChange:f})}),(0,J.jsx)(Ut,{$isEditing:y,"data-editing":y,children:(0,J.jsx)(Gp,{selected:c?.locale||v,onSelect:a,options:o})})]})]}),(0,J.jsx)(VQ,{children:!j&&(0,J.jsx)(Vw.Y,{children:p.map(e=>(0,J.jsx)(Ul,{$isActive:d===e.id,onClick:()=>h(e.id),"data-testid":e.dataTestId,"data-highlight-id":"ai_review"===e.id?GP.vK.AI_REVIEW_TAB:void 0,children:(0,J.jsxs)(Ur,{children:[e.text,"tailoring"===e.id&&(0,J.jsx)(Un,{children:"NEW"})]})},e.id))})}),(0,J.jsxs)(V0,{children:[(0,J.jsx)(GL,{document:c}),!n&&(0,J.jsx)(VZ,{children:(0,J.jsx)(R6,{handleDownloadDocument:t,handleShareDocument:i,menuPosition:"bottom",menuAlign:"right",canDownloadTxt:"resume"===c.type})}),u&&(0,J.jsx)(Ui,{children:S?(0,J.jsx)(q5,{user:u,isOpen:m,onToggle:g}):(0,J.jsx)(GT,{hasFeatures:!0})})]})]})},GI=e=>{let{onSidebarToggle:t,isSidebarOpen:i,locales:r,onLocaleSelect:n,handleDocumentNameChange:o,document:a}=e,l=(0,eU.wA)(),s=(0,L.Zp)(),d=(0,eW.N)(e=>e.user.data),c=(0,eW.N)(e=>e.application.isOnline),{i18n:u}=(0,e1.s)(),{features:p}=(0,d2.t)(),h=(0,eW.N)(e=>e.application.configs.country?.locale||"en"),{superApp:x,international:m,dashboardV3:g,dashboardV2:y}=p,[f,b]=(0,R.useState)(!1),[_,v]=(0,R.useState)(a?.name||""),j=(0,R.useRef)(null);(0,R.useEffect)(()=>{f||v(a?.name||"")},[a?.name,f]);let A=(0,R.useCallback)(()=>{b(!0),v(a?.name||""),setTimeout(()=>{j.current&&(j.current.focus(),j.current.select())},0)},[a?.name]),C=(0,R.useCallback)(e=>{v(e.target.value)},[]),w=(0,R.useCallback)(()=>{b(!1);let e=_.trim();e!==a?.name&&o(e)},[_,a?.name,o]),k=(0,R.useCallback)(e=>{"Enter"===e.key&&j.current&&j.current.blur(),"Escape"===e.key&&(v(a?.name||""),b(!1))},[a?.name]);return(0,J.jsxs)(V1,{children:[(0,J.jsxs)(V2,{className:"tablet-top-row",children:[(x||m||g&&!y)&&(0,J.jsxs)(V6,{children:[(0,J.jsx)(V9,{onClick:()=>{t?.(!i)},"data-testid":"toggle-sidebar-navigation-button",children:i?(0,J.jsx)(tP.Ay.CloseLarge,{}):(0,J.jsx)(qz.DashboardBuilder,{})}),(0,J.jsx)(Um,{onClick:()=>{s("/")},"data-testid":"navigate-to-dashboard-button",children:u.t("builder.side_menu.dashboard")})]}),(0,J.jsxs)(V8,{children:[(0,J.jsx)(GL,{document:a}),c&&d&&(0,J.jsx)(Ui,{onClick:()=>{l(ej.o1.setMobileProfileMenu(!0))},children:(0,J.jsx)(EI,{showOnlyAvatar:!0})})]})]}),(0,J.jsx)(Ux,{className:"phone-abandoner-row",children:(0,J.jsx)(GL,{document:a})}
3559),(0,J.jsxs)(V3,{children:[(0,J.jsx)(V5,{id:"editor-builder-top-nav-title",children:f?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(q9,{ref:j,value:_,onChange:C,onBlur:w,onKeyDown:k,placeholder:u.t("builder.resume_editor.untitled")}),(0,J.jsx)(Gp,{selected:a?.locale||h,onSelect:n,options:r})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(q8,{$isHovered:!1,children:a?.name||u.t("builder.resume_editor.untitled")}),(0,J.jsx)(Gp,{selected:a?.locale||h,onSelect:n,options:r})]})}),(0,J.jsx)(V4,{children:(0,J.jsx)(q4,{id:"editor-builder-top-nav-title-pencil-icon",onClick:A,$icon:Ge})})]})]})},GM=e=>{let{locales:t,onLocaleSelect:i,handleDocumentNameChange:r,document:n}=e,o=(0,L.Zp)(),{i18n:a}=(0,e1.s)(),l=(0,eW.N)(e=>e.application.configs.country?.locale||"en"),s=(0,R.useCallback)(()=>{o("/")},[o]);return(0,J.jsxs)(Us,{children:[(0,J.jsx)(Ud,{onClick:s,"aria-label":a.t("builder.side_menu.dashboard"),"data-testid":"navigate-to-dashboard-button",children:(0,J.jsx)(tP.EK.DashboardIcon,{})}),(0,J.jsx)(Up,{children:(0,J.jsx)(Gt,{value:n?.name||"",onChange:r})}),(0,J.jsx)(Uh,{children:(0,J.jsx)(Gp,{selected:n?.locale||l,onSelect:i,options:t})})]})},GB=e=>{let{isRbpStepFlowActive:t,canScrollTop:i,autotailoringHeaderHeight:r,editorPanelType:n,tabItems:o,handleTabChange:a}=e,{isAboveTablet:l}=(0,ih.e)(),s=(0,e0.U)(),d=s?.features.mobNav==="v2",c=s?.features.mobNav==="v3";return l?null:(0,J.jsx)(Uo,{$stickyTop:r,$isStickyState:i||t,$canScrollTop:i,$flatTop:c,"data-testid":"mobile-sticky-tabs",children:(0,J.jsx)(Ua,{$isDark:d,children:o.map(e=>(0,J.jsx)(Ul,{$isActive:n===e.id,$isDark:d,onClick:()=>a(e.id),"data-highlight-id":"ai_review"===e.id?GP.vK.AI_REVIEW_TAB:void 0,"data-testid":`mobile-${e.id}-tab-button`,children:(0,J.jsx)(Ur,{children:e.text})},e.id))})})};var GD=i(43623),G$=i(42039),GO=i(112),Gz=i(4166),GF=i(11431),GH=i(95319),GV=i(68997);let GU=tt.Ay.div(["position:relative;",""],Vk.Iq),GW=tt.Ay.div(["",";font-weight:600;color:",";cursor:pointer;display:inline-block;&:hover{color:",";}"],td.Ay.Caption,te.Jy.Blue50,te.Jy.Blue70),GK=tt.Ay.span(["display:inline-block;vertical-align:middle;"]),Gq=(0,tt.Ay)(tP.Ay.ToggleArrow)(["display:inline-block;vertical-align:middle;transform:rotate(90deg);&[data-open='true']{transform:translateY(2px) rotate(-90deg);}"]),GG=tt.Ay.div(["padding-bottom:24px;"]),GZ=(0,tt.Ay)(L_.qJ.Lock)(["width:24px !important;height:24px !important;color:",";margin-top:-2px;"],te.Jy.Neutral60),GX=["address","drivingLicense","birthPlace","birthDate","nationality"],GQ=e=>{let{resume:t,isStepByStepFlow:i,isFoldable:r=!0}=e,n=(0,eU.wA)(),{i18n:o}=(0,e1.s)(),a=(0,eW.N)($.Tp.templates),l=(0,eW.N)(e=>e.resumeEditor.isUploadingPhoto),s=(0,eW.N)(e=>e.application.isOnline),d=(0,eW.N)(e=>$.Tp.isSectionOpened(e,$.Gw.details)),c=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.jobTitleRequired),{invalidate:u}=(0,sz.R)(),[p,h]=(0,R.useState)(!1),[x,m]=(0,R.useState)(t.position),g=(0,R.useRef)(null),[y,f]=(0,R.useState)(!1),[b,_]=(0,R.useState)(!1),v=c&&!t.position?o.t("builder.resume_editor.ai_review_panel.welcome_step.job_title_error"):null,{locale:j,sectionTitles:A}=t,C=a.find(e=>e.id===t.template),w=!!C&&C.supportsPhoto,{isPhone:k}=(0,ih.e)();(0,R.useEffect)(()=>{p||m(t.position)},[t.position,p,x]),(0,Vk.G3)({elementRef:g,isOpened:d}),(0,R.useEffect)(()=>{let e=["position","email","phoneNumber","city","countryName"];return e.forEach(e=>UO.A.subscribe(e,()=>{let t;(t=g.current?.querySelector(`[name=${e}]`))&&t.focus()})),()=>e.forEach(e=>UO.A.unsubscribe(e))},[]);let S=(0,R.useCallback)(()=>{if(!s)return n(F.o1.setConnectionLostSnackbarOpen(!0));_(e=>!e)},[n,s]),T=(0,R.useCallback)(e=>{n($.o1.uploadPhoto(e)),(0,N.xP)("change_avatar"),_(!1)},[n]),P=(0,R.useCallback)(()=>{window.confirm(o.t("builder.resume_editor.delete_photo_confirm"))&&(n($.o1.deletePhoto()),(0,N.xP)("delete_avatar"))},[n,o]),E=(0,R.useCallback)(e=>{let{name:t,value:i}=e.target;"position"===t&&(h(!0),i&&n($.o1.setAiReviewJobTitleRequired(!1))),n($.o1.updateSimpleField({name:t,value:i})),["countryName","city","position"].includes(t)&&u()},[n]),L=(0,R.useCallback)(e=>{n($.o1.renameSection({id:$.Gw.details,value:e}))},[n]),I=(0,R.useCallback)(()=>{r&&n($.o1.setOpenedSections({[$.Gw.details]:!d}))},[n,r,d]),M=(0,R.useMemo)(()=>{let e=GX.map(e=>{switch(e){case"address":return(0,J.jsx)(GO.A,{fullWidth:!0,children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.address"),value:t.address||"",name:"address",onChange:E})},e);case"drivingLicense":return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.driving_license"),hint:o.t("builder.resume_editor.driving_license_hint"),value:t.drivingLicense||"",name:"drivingLicense",onChange:E})},e);case"nationality":return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.nationality"),hint:o.t("builder.resume_editor.nationality_hint"),value:t.nationality||"",name:"nationality",onChange:E})},e);case"birthPlace":return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.birth_place"),value:t.birthPlace||"",name:"birthPlace",onChange:E})},e);case"birthDate":return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.birth_date"),hint:o.t("builder.resume_editor.birth_date_hint"),value:t.birthDate||"",name:"birthDate",onCh
3559ange:E})},e);default:return null}}),i=[(0,J.jsx)(Gz.A,{children:e[0]},"row-address")];for(let t=1;t<e.length;t+=2)i.push((0,J.jsxs)(Gz.A,{children:[e[t],e[t+1]||null]},`row-${t}`));return i},[o,t.address,t.drivingLicense,t.nationality,t.birthPlace,t.birthDate,E]),B=!t.templateConfig?.supportsLinkedin;return(0,J.jsx)(R.Fragment,{children:(0,J.jsxs)(GU,{id:"personal-details-section",ref:g,children:[(0,J.jsxs)(Vk.X3,{isOpened:d,onClick:I,isStepByStepFlow:i,children:[(0,J.jsx)(K_.A,{title:o.t("builder.resume_editor.personal_details"),customTitle:A.details,onRename:L,renamable:!0,isOpened:d,isFoldable:!i}),i&&(0,J.jsx)(Vk.VE,{isOpened:d,children:(0,J.jsx)(Vk.ZI,{children:o.t("builder.resume_editor.personal_details_section.label")})})]}),(0,J.jsxs)(Vk.Mg,{isOpened:d,isStepByStepFlow:i,children:[(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(GD.wc,{name:"position",fetchItems:(0,GD.$Z)("job-title",{limit:4,locale:j}),value:t.position||"",onChange:E,children:({key:e,...t})=>(0,R.createElement)(re.A,{...t,key:e,placeholder:o.t("builder.resume_editor.job_title_placeholder"),label:o.t("builder.resume_editor.job_title"),hint:o.t("builder.resume_editor.job_title_hint"),error:v,badges:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(GV.IG,{type:$.jK.jobTitle}),(0,J.jsx)(GH.qz,{fieldId:"position",sectionId:"details"})]})})})}),(0,J.jsxs)(GO.A,{children:[(0,J.jsx)(GF.A,{imageUrl:t.avatar.blank?"":t.avatar.thumbUrl,isUploading:l,isLocked:!w,onUpload:T,onDelete:P,onClick:k?null:S}),b&&!k&&(0,J.jsx)(G$.A,{avatar:t.avatar,onSubmit:T,onClose:S})]})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.first_name"),value:t.firstName||"",name:"firstName",onChange:E})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.last_name"),value:t.lastName||"",name:"lastName",onChange:E})})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.email"),type:"email",value:t.email||"",name:"email",onChange:E})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.phone"),type:"phone",value:t.phoneNumber||"",name:"phoneNumber",onChange:E})})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.linkedin_url"),placeholder:o.t("builder.resume_editor.linkedin_placeholder"),value:t.linkedin||"",name:"linkedin",onChange:E,disabled:B,hint:B?o.t("builder.resume_editor.section_disabled.tooltip"):void 0,hintIcon:B?(0,J.jsx)(GZ,{}):void 0})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.postal_code"),value:t.postalCode||"",name:"postalCode",onChange:E})})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(GD.wc,{highlightedQuery:!0,fetchItems:(0,GD.$Z)("city",{locale:j,country:t.countryName||""}),name:"city",value:t.city||"",onChange:E,children:({key:e,...t})=>(0,R.createElement)(re.A,{...t,key:e,label:o.t("builder.resume_editor.city")})})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(GD.wc,{highlightedQuery:!0,name:"countryName",fetchItems:(0,GD.$Z)("country",{locale:j}),value:t.countryName||"",onChange:E,children:({key:e,...t})=>(0,R.createElement)(re.A,{...t,key:e,label:o.t("builder.resume_editor.country"),description:o.t("builder.resume_editor.country_hint")})})})]}),(0,J.jsx)(Kn.A,{isOpen:y,children:(0,J.jsx)(GG,{children:M})}),(0,J.jsxs)(GW,{"data-testid":"personal-details-show-more",onClick:()=>f(e=>!e),children:[(0,J.jsx)(GK,{children:y?o.t("builder.resume_editor.hide_details"):o.t("builder.resume_editor.show_details")}),(0,J.jsx)(Gq,{"data-open":y})]})]})]})})};i(81148);var GY=i(63045),G0=i(83864);let G1=tt.Ay.div(["position:relative;",";"],Vk.Iq),G2=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.M),G3=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:",";",""],te.Kz.S,tQ.A.Phone`
3560    align-items: stretch;
3561    flex-direction: column;
3562  `),G5=tt.Ay.div(["display:flex;overflow-x:auto;& label{width:120px;display:flex;align-items:center;gap:8px;padding:12px 16px 12px 12px;border:1px solid ",";margin-left:-1px;position:relative;white-space:nowrap;"," & span{flex:1;text-align:center;}&:first-child{margin-left:0;}&:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px;}&:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px;}&:has(input:checked){border-color:",";z-index:1;}&:has(input:disabled){background:",";cursor:not-allowed;color:",";border-color:",";}& input[type='radio']{appearance:none;width:18px;height:18px;border:2px solid ",";border-radius:50%;margin:0;cursor:pointer;position:relative;background-color:white;&:disabled{border-color:",";background-color:",";}&:checked{border-color:",";border-width:6px;}&:focus-visible{outline:2px solid ",";outline-offset:2px;}}}"],te.Jy.Neutral15,tQ.A.Phone`
3563      width: auto;
3564      flex: 1 1 25%;
3565    `,te.Jy.Blue50,te.Jy.Neutral10,te.Jy.Neutral40,te.Jy.Neutral30,te.Jy.Neutral30,te.Jy.Neutral30,te.Jy.Neutral10,te.Jy.Blue50,te.Jy.Blue50),G4=e=>{let t,i,r,n,o=e.resume,{i18n:a}=(0,e1.s)(),l=(0,eU.wA)(),{metadata:s,updateMetadata:d,cleanUpMetadata:c}=(t=(0,eU.wA)(),i=(0,R.useMemo)(()=>o?.data?.meta||{},[o]),r=(0,R.useCallback)(()=>{let e={...o?.data,meta:void 0};t($.o1.updateSimpleField({name:"data",value:e}))},[t,o?.data]),n=(0,R.useCallback)((e,r)=>{let n={...o?.data,meta:{...i,[e]:r}};t($.o1.updateSimpleField({name:"data",value:n}))},[t,i,o?.data]),{metadata:i,cleanUpMetadata:r,updateMetadata:n}
3565),u=s?.pageNumbering||"text",[p,h]=(0,R.useState)(!1),x=(0,eW.N)(e=>$.Tp.isSectionOpened(e,$.Gw.metadata)),[m,g]=(0,R.useState)(!1),{isSectionDisabled:y,disabledTooltipText:f}=(0,G0.R)({sectionsConfig:o?.templateConfig?.sectionsConfig}),b=(0,R.useCallback)(()=>l($.o1.setOpenedSections({[$.Gw.metadata]:!x})),[l,x]),_=(0,R.useCallback)(()=>{g(!1),c(),e.onDelete?.($.Gw.metadata)},[e,c]),v=(0,R.useCallback)(()=>{g(!1)},[]);return(0,J.jsxs)(G1,{"data-highlight-id":$.Gw.metadata,"data-testid":$.Gw.metadata,children:[(0,J.jsx)(nX.A,{title:a.t("builder.resume_editor.delete_section"),text:a.t("builder.resume_editor.sure_to_delete_section"),primaryButtonText:a.t("builder.resume_editor.delete"),secondaryButtonText:a.t("builder.resume_editor.cancel"),isOpen:m,primaryAction:_,secondaryAction:v,closeAction:v}),(0,J.jsx)(Vk.X3,{isOpened:x,onClick:b,isStepByStepFlow:!1,setShowDisabledTooltipOnHover:h,children:(0,J.jsx)(K_.A,{id:$.Gw.metadata,title:a.t("builder.resume_editor.metadata.header_and_footer"),customTitle:o.sectionTitles?.metadata,removable:!1,isOpened:x,disabledTooltipText:f,isDisabled:y($.Gw.metadata),showDisabledTooltipOnHover:p})}),(0,J.jsx)(Vk.Mg,{isOpened:x,children:(0,J.jsxs)(G2,{children:[(0,J.jsx)(R2.A_,{type:"text",name:"header",defaultValue:s?.header||"",label:a.t("builder.resume_editor.metadata.header.label"),placeholder:a.t("builder.resume_editor.metadata.header.placeholder"),onChange:e=>d(e.currentTarget.name,e.currentTarget.value),disabled:y($.Gw.metadata)}),(0,J.jsx)(R2.A_,{type:"text",name:"footer",defaultValue:s?.footer||"",label:a.t("builder.resume_editor.metadata.footer.label"),placeholder:a.t("builder.resume_editor.metadata.footer.placeholder"),onChange:e=>d(e.currentTarget.name,e.currentTarget.value),disabled:y($.Gw.metadata)}),(0,J.jsxs)(G3,{children:[(0,J.jsx)("p",{children:a.t("builder.resume_editor.metadata.page_numbering.label")}),(0,J.jsxs)(G5,{role:"radiogroup",children:[(0,J.jsxs)("label",{children:[(0,J.jsx)("input",{type:"radio",name:"pageNumbering",value:"none",checked:"none"===u,onChange:e=>d(e.currentTarget.name,e.currentTarget.value),disabled:y($.Gw.metadata)}),(0,J.jsx)("span",{children:a.t("builder.resume_editor.metadata.page_numbering.none")})]}),(0,J.jsxs)("label",{children:[(0,J.jsx)("input",{type:"radio",name:"pageNumbering",value:"numeric",checked:"numeric"===u,onChange:e=>d(e.currentTarget.name,e.currentTarget.value),disabled:y($.Gw.metadata)}),(0,J.jsx)("span",{children:a.t("builder.resume_editor.metadata.page_numbering.numeric")})]}),(0,J.jsxs)("label",{children:[(0,J.jsx)("input",{type:"radio",name:"pageNumbering",value:"fraction",checked:"fraction"===u,onChange:e=>d(e.currentTarget.name,e.currentTarget.value),disabled:y($.Gw.metadata)}),(0,J.jsx)("span",{children:a.t("builder.resume_editor.metadata.page_numbering.fraction")})]}),(0,J.jsxs)("label",{children:[(0,J.jsx)("input",{type:"radio",name:"pageNumbering",value:"text",checked:"text"===u,onChange:e=>d(e.currentTarget.name,e.currentTarget.value),disabled:y($.Gw.metadata)}),(0,J.jsx)("span",{children:a.t("builder.resume_editor.metadata.page_numbering.text")})]})]})]})]})})]})},G6=(0,tt.AH)(["background-color:",";border-radius:"," "," 0 0;"],te.Jy.White,te.Kz.XS,te.Kz.XS),G8=tt.Ay.div(e=>{let{noBorderRadiusOnBottom:t}=e;return(0,tt.AH)(["",";position:relative;padding:20px 36px;",";"],t?G6:Vk.Iq,tQ.A.Phone`
3566    padding: 21px 20px;
3567  `)}),G9=tt.Ay.div([""," font-weight:600;margin-bottom:12px;"],td.Ay.Subhead),G7=tt.Ay.div([""]),Ze=e=>(0,J.jsxs)(G8,{ref:e.containerRef,noBorderRadiusOnBottom:e.noBorderRadiusOnBottom,children:[e.title&&(0,J.jsx)(G9,{children:e.title}),(0,J.jsx)(G7,{children:e.children})]});Ze.propTypes={children:i9().oneOfType([i9().arrayOf(i9().node),i9().node]),title:i9().string,containerRef:i9().shape({current:i9().object}),noBorderRadiusOnBottom:i9().bool};var Zt=i(87829),Zi=i(75914),Zr=i(55588);let Zn="builder.resume_editor.keywords.improve_resume_panel.tailored_suggests",Zo=()=>{let{i18n:e}=(0,e1.s)(),{suggestions:t}=(0,eW.N)($.Tp.scoreSuggestions),{isAICoverLetterActive:i,isAIProfileWriterActive:r,handleClickCoverLetter:n,handleSuggestionClick:o,getSuggestionScore:a,handleClickAIWriteProfileSummary:l,isSuggestionsActive:s,hasSkillsToTailor:d,keywordsCount:c,isResumeOptimizerFeatureEnabled:u,showAISuggestedJobTitleButton:p,handleAddTailored:h,isLinkedToJobPosting:x,hasProfileSummary:m}=(0,Zi.A)(),g=[{id:"add_tailored_skills",name:e.t(`${Zn}.add_tailored_skills_anchor`),onClick:()=>h($.jK.skills),isActive:d},{id:"add_profile_summary_keywords",name:e.t(`${Zn}.add_profile_summary_keywords_anchor`),onClick:()=>h($.Gw.profile),isActive:c&&m},{id:"apply_ai_suggested_job_title",name:e.t(`${Zn}.apply_ai_suggested_job_title`),onClick:()=>h($.jK.jobTitle),isActive:p},{id:"add_work_experience_keywords",name:e.t(`${Zn}.add_work_experience_keywords_anchor`),onClick:()=>h($.Gw.workExperiences),isActive:c}],y=[{id:"ai_profile",text:e.t("builder.resume_editor.keywords.improve_resume_panel.ai_suggest.write_profile_summary_anchor"),onClick:l,isActive:r},{id:"ai_cover_letter",text:e.t("builder.resume_editor.keywords.improve_resume_panel.ai_suggest.create_cl_anchor"),onClick:n,isActive:i}];return(0,J.jsxs)(Zr.mc,{children:[(0,J.jsx)(Zr.Lb,{customHeaderText:e.t("builder.resume_editor.keywords.improve_resume_panel.resume_completeness")}),(0,J.jsxs)(Zr.Ao,{children:[u&&x&&g.length>0&&(0,J.jsx)(Zr.LX,{children:g.filter(e=>e.isActive).map(e=>(0,J.jsxs)(Zr.ax,{onClick:e.onClick,children:[(0,J.jsx)(Zr.ff,{children:(0,J.jsx)(L_.EK.ArrowTarget2,{})}),(0,J.jsx)(Zr.Eo,{children:e.name})]},e.id))}),(i||r)&&y.length>0&&(0,J.jsx)(Zr.LX,{children:y.filter(e=>e.isActive).map(e=>(0,J.jsxs)(Zr.ax,{onClick:e.onClick,children:[(0,J.jsx)(Zr.Sn,{}),(0,J.jsx)(Zr.Eo,{children:e.text})]},e.id))}),s&&t.length>0&&(0,J.jsx)(Zr.LX,{children:t.map(e=>(0,J.jsxs)(Zr.oR,{onClick:()=>o(e),children:[(0,J.jsxs)(Zr.U_,{children:["+",a(e)]}),(0,J.jsx)(Zr.Q5,{children:e.text})]},e.key))})]})]})};var Za=((d={}).TEXT="text",d.EMAIL="email",d.PHONE="phone",d.ASYNC="async",d);let Zl=e=>"object"==typeof e&&R.isValidElement(e),Zs=e=>
3567{let{resume:t,isStepByStepFlow:i,isFoldable:r=!0}=e,n=(0,eU.wA)(),{i18n:o}=(0,e1.s)(),a=(0,eW.N)($.Tp.templates),{isUploadingPhoto:l}=(0,eW.N)(e=>e.resumeEditor),s=(0,eW.N)(e=>e.application.isOnline),d=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.jobTitleRequired),c=(0,R.useRef)(null),[u,p]=(0,R.useState)(!1),[h,x]=(0,R.useState)(!1),m=d&&!t.position?o.t("builder.resume_editor.ai_review_panel.welcome_step.job_title_error"):null,{locale:g,sectionTitles:y}=t,f=a.find(e=>e.id===t.template),b=!!f?.supportsPhoto,{isPhone:_}=(0,ih.e)(),v=(0,eW.N)(e=>$.Tp.isSectionOpened(e,$.Gw.details));(0,Vk.G3)({elementRef:c,isOpened:v}),(0,R.useEffect)(()=>{let e=["position","email","phoneNumber","city","countryName"];return e.forEach(e=>UO.A.subscribe(e,()=>{let t;(t=c.current?.querySelector(`[name=${e}]`))&&t.focus()})),()=>e.forEach(e=>UO.A.unsubscribe(e))},[]);let j=(0,R.useCallback)(()=>{if(!s)return n(F.o1.setConnectionLostSnackbarOpen(!0));x(e=>!e)},[n,s]),A=(0,R.useCallback)(e=>{n($.o1.uploadPhoto(e)),(0,N.xP)("change_avatar"),x(!1)},[n]),C=(0,R.useCallback)(()=>{window.confirm(o.t("builder.resume_editor.delete_photo_confirm"))&&(n($.o1.deletePhoto()),(0,N.xP)("delete_avatar"))},[n,o]),w=(0,R.useCallback)(e=>{let{name:t,value:i}=e.target;"position"===t&&i&&n($.o1.setAiReviewJobTitleRequired(!1)),n($.o1.updateSimpleField({name:t,value:i}))},[n]),k=(0,R.useCallback)(e=>{n($.o1.renameSection({id:$.Gw.details,value:e}))},[n]),S=(0,R.useCallback)(()=>{r&&n($.o1.setOpenedSections({[$.Gw.details]:!v}))},[n,r,v]),T=[{index:0,items:[{label:o.t("builder.resume_editor.job_title"),name:"position",type:Za.ASYNC,value:t.position||"",placeholder:o.t("builder.resume_editor.job_title_placeholder"),hint:o.t("builder.resume_editor.job_title_hint"),error:m,badges:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(GV.IG,{type:$.jK.jobTitle}),(0,J.jsx)(GH.qz,{fieldId:"position",sectionId:"details"})]}),fetchItems:(0,GD.$Z)("job-title",{limit:4,locale:g})},(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(GF.A,{imageUrl:t.avatar.blank?"":t.avatar.thumbUrl,isUploading:l,isLocked:!b,onUpload:A,onDelete:C,onClick:_?null:j}),h&&!_&&(0,J.jsx)(G$.A,{avatar:t.avatar,onSubmit:A,onClose:j})]})]},{index:1,items:[{label:o.t("builder.resume_editor.first_name"),name:"firstName",type:Za.TEXT,value:t.firstName||""},{label:o.t("builder.resume_editor.last_name"),name:"lastName",type:Za.TEXT,value:t.lastName||""}]},{index:2,items:[{label:o.t("builder.resume_editor.email"),name:"email",type:Za.EMAIL,value:t.email||""},{label:o.t("builder.resume_editor.phone"),name:"phoneNumber",type:Za.PHONE,value:t.phoneNumber||""}]},{index:3,items:[{label:o.t("builder.resume_editor.linkedin_url"),name:"linkedin",type:Za.TEXT,value:t.linkedin||"",placeholder:o.t("builder.resume_editor.linkedin_placeholder")},{label:o.t("builder.resume_editor.postal_code"),name:"postalCode",type:Za.TEXT,value:t.postalCode||""}]},{index:4,items:[{label:o.t("builder.resume_editor.city"),name:"city",type:Za.ASYNC,value:t.city||"",fetchItems:(0,GD.$Z)("city",{locale:g,country:t.countryName||""})},{label:o.t("builder.resume_editor.country"),name:"countryName",type:Za.ASYNC,value:t.countryName||"",fetchItems:(0,GD.$Z)("country",{locale:g}),description:o.t("builder.resume_editor.country_hint")}]},{index:5,items:[{label:o.t("builder.resume_editor.address"),name:"address",type:Za.TEXT,value:t.address||""}],size:"full"},{index:6,items:[{label:o.t("builder.resume_editor.nationality"),name:"nationality",type:Za.TEXT,value:t.nationality||"",hint:o.t("builder.resume_editor.nationality_hint")},{label:o.t("builder.resume_editor.birth_place"),name:"birthPlace",type:Za.TEXT,value:t.birthPlace||""}]},{index:7,items:[{label:o.t("builder.resume_editor.driving_license"),name:"drivingLicense",type:Za.TEXT,value:t.drivingLicense||"",hint:o.t("builder.resume_editor.driving_license_hint")},{label:o.t("builder.resume_editor.birth_date"),name:"birthDate",type:Za.TEXT,value:t.birthDate||"",hint:o.t("builder.resume_editor.birth_date_hint")}]}],P=e=>{let{label:t,name:i,type:r,value:n,placeholder:o,hint:a,description:l,fetchItems:s,badges:d,error:c}=e;switch(r){case Za.TEXT:case Za.EMAIL:case Za.PHONE:return(0,J.jsx)(re.A,{label:t,type:r,value:n,name:i,onChange:w,placeholder:o,hint:a,description:l,badges:d,error:c});case Za.ASYNC:return s?(0,J.jsx)(GD.wc,{highlightedQuery:!0,name:i,fetchItems:s,value:n,onChange:w,children:({key:e,...i})=>(0,R.createElement)(re.A,{...i,key:e,label:t,placeholder:o,hint:a,description:l,badges:d,error:c})}):null}},E=({index:e,items:i,size:r})=>{let n=i[0],o=i[1]?i[1]:null,a=[];return(Zl(n)||a.push(n.name),o&&!Zl(o)&&a.push(o.name),a.some(e=>(0,W_.I)({field:e,section:$.Gw.details,templateConfig:t.templateConfig})))?(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{fullWidth:"full"===r,children:Zl(n)?n:P(n)}),o?(0,J.jsx)(GO.A,{fullWidth:"full"===r,children:Zl(o)?o:P(o)}):(0,J.jsx)(J.Fragment,{})]},e):(0,J.jsx)(R.Fragment,{},e)};return(0,J.jsx)(R.Fragment,{children:(0,J.jsxs)(GU,{id:"personal-details-section",ref:c,children:[(0,J.jsxs)(Vk.X3,{isOpened:v,onClick:S,isStepByStepFlow:i,children:[(0,J.jsx)(K_.A,{title:o.t("builder.resume_editor.personal_details"),customTitle:y.details,onRename:k,renamable:!0,isOpened:v,isFoldable:!i}),i&&(0,J.jsx)(Vk.VE,{isOpened:v,children:(0,J.jsx)(Vk.ZI,{children:o.t("builder.resume_editor.personal_details_section.label")})})]}),(0,J.jsxs)(Vk.Mg,{isOpened:v,isStepByStepFlow:i,children:[T.slice(0,5).map(e=>E(e)),(0,J.jsx)(Kn.A,{isOpen:u,children:(0,J.jsx)(GG,{children:T.slice(5).map(e=>E(e))})}),(0,J.jsxs)(GW,{"data-testid":"personal-details-show-more",onClick:()=>p(e=>!e),children:[(0,J.jsx)(GK,{children:u?o.t("builder.resume_editor.hide_details"):o.t("builder.resume_editor.show_details")}),(0,J.jsx)(Gq,{"data-open":u})]})]})]})})};function Zd(e){return(0,J.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("path",{d:"M6.51605 4.87706C6.64507 4.37692 7.35534 4.37692 7.48435 4.87706L7.74678 5.89437C7.79223 6.07058 7.92983 6.20817 8.10604 6.25363L9.12334 6.51605C9.62349 6.64507 9.62349 7.35534 9.12334 7.48435L8.10604 7.74678C7.92983 7.79223 7.79223 7.92983 7.74678 8.10604L7.48435 9.12334C7.35534 9.62349 6.64507 9.62349 6.51605 9.12334L6.25363 8.10604C6.20817 7.92983 6.07058 7.79223 5.89437 7.74678L4.87706 7.48435C4.37692 7.35534 4.37692 6.64507 4.87706 6.51605L5.89437 6.25363C6.07058 6.20817 6.20817 6.07058 6.25363 5.89437L6.51605 4.87706Z",fill:"#7A82F5"}),(0,J.jsx)("path",{d:"M13.0371 6.13379C13.2064 5.71912 13.7936 5.71912 13.9629 6.13379L15.5949 10.1311C15.6457 10.2555 15.7445 10.3543 15.8689 10.4051L19.8662 12.0371C20.2809 12.2064 20.2809 12.7936 19.8662 12.9629L15.8689 14.5949C15.7445 14.6457 15.6457 14.7445 15.5949 14.8689L13.9629 18.8662C13.7936 19.2809 13.2064 19.28
356709 13.0371 18.8662L11.4051 14.8689C11.3543 14.7445 11.2555 14.6457 11.1311 14.5949L7.13379 12.9629C6.71912 12.7936 6.71912 12.2064 7.13379 12.0371L11.1311 10.4051C11.2555 10.3543 11.3543 10.2555 11.4051 10.1311L13.0371 6.13379Z",fill:"#7A82F5",stroke:"#7A82F5",strokeWidth:"1.4"})]})}var Zc=i(75200),Zu=i.p+"media/AssistantIcon4bce80c1f176c7c1.svg",Zp=i.p+"media/ArrowUpc13938292625b993.svg",Zh=i.p+"media/ArrowRight9fff805835cac2ba.svg";let Zx={Close:function(e){return(0,J.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("g",{clipPath:"url(#clip0_903_856)",children:(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.30005 11.9998C6.30005 11.6132 6.61345 11.2998 7.00005 11.2998L17 11.2998C17.3866 11.2998 17.7 11.6132 17.7 11.9998C17.7 12.3864 17.3866 12.6998 17 12.6998L7.00005 12.6998C6.61345 12.6998 6.30005 12.3864 6.30005 11.9998Z",fill:"#495163"})}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_903_856",children:(0,J.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})},Expand:function(e){return(0,J.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("g",{clipPath:"url(#clip0_903_851)",children:(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0005 5.64355C11.6139 5.64355 11.3005 5.95696 11.3005 6.34355C11.3005 6.73015 11.6139 7.04355 12.0005 7.04355L15.9674 7.04356L14.3512 8.65976C14.3452 8.66538 14.3392 8.67113 14.3334 8.677L7.04307 15.9673L7.04307 12.0004C7.04307 11.6138 6.72967 11.3004 6.34307 11.3004C5.95647 11.3004 5.64307 11.6138 5.64307 12.0004V17.6573C5.64307 18.0439 5.95647 18.3573 6.34307 18.3573L11.9999 18.3573C12.3865 18.3573 12.6999 18.0439 12.6999 17.6573C12.6999 17.2707 12.3865 16.9573 11.9999 16.9573L8.03302 16.9573L9.64922 15.341C9.65525 15.3354 9.6612 15.3297 9.66707 15.3238L16.9574 8.0335L16.9574 12.0004C16.9574 12.387 17.2708 12.7004 17.6574 12.7004C18.044 12.7004 18.3574 12.387 18.3574 12.0004L18.3574 6.34355C18.3574 5.95696 18.044 5.64355 17.6574 5.64355H12.0005Z",fill:"currentColor"})}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_903_851",children:(0,J.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})},AiCoach:Zd,Send:function(e){return(0,J.jsx)("svg",{width:"17",height:"13",viewBox:"0 0 17 13",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,J.jsx)("path",{fill:"currentColor",d:"M16 1H1L5.5 5.5V12L16 1Z",stroke:"#828BA2",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})},Loading:function(e){return(0,J.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("circle",{cx:"6",cy:"10",r:"3.25",fill:"#7A82F5",stroke:"#D9DEEB",strokeWidth:"0.5"}),(0,J.jsx)("circle",{cx:"16",cy:"10",r:"3.25",fill:"#7A82F5",stroke:"#D9DEEB",strokeWidth:"0.5"}),(0,J.jsx)("circle",{cx:"26",cy:"10",r:"3.25",fill:"#7A82F5",stroke:"#D9DEEB",strokeWidth:"0.5"})]})},ArrowDown:(0,tt.Ay)(tP.EK.ArrowLeft)(["transform:rotate(-90deg);"]),ArrowUp:e=>(0,J.jsx)("img",{src:Zp,alt:"Send",...e}),ArrowRight:e=>(0,J.jsx)("img",{src:Zh,alt:"Send",...e}),CircleError:tP.Ay.CircleError,LinkArrow:function(e){return(0,J.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 29 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,J.jsx)("path",{d:"M17.6778 16.1811V11.4657M17.6778 11.4657H12.9624M17.6778 11.4657L10.6047 18.5388",stroke:"#828BA2",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})},Assistant:e=>(0,J.jsx)("img",{src:Zu,alt:"Assistant",...e}),Copy:function(e){return(0,J.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,J.jsx)("path",{d:"M15.0246 3.39033C15.8721 3.39044 16.5598 4.07792 16.5598 4.92549V11.6032C16.5596 12.4507 15.8721 13.1383 15.0246 13.1384H13.2199V14.9421C13.2199 15.7897 12.5323 16.4771 11.6848 16.4772H5.00702C4.15939 16.4772 3.47186 15.7897 3.47186 14.9421V8.26435C3.47189 7.41675 4.1594 6.7292 5.00702 6.7292H6.81171V4.92549C6.81171 4.07786 7.49923 3.39033 8.34686 3.39033H15.0246ZM5.00
3567702 8.12959C4.9326 8.12959 4.87228 8.18994 4.87225 8.26435V14.9421C4.87225 15.0165 4.93259 15.0769 5.00702 15.0769H11.6848C11.7591 15.0767 11.8195 15.0165 11.8195 14.9421V13.1384H8.34686C7.4993 13.1384 6.81181 12.4508 6.81171 11.6032V8.12959H5.00702ZM8.34686 4.79072C8.27243 4.79072 8.2121 4.85106 8.2121 4.92549V11.6032C8.2122 11.6776 8.2725 11.738 8.34686 11.738H15.0246C15.0989 11.7379 15.1593 11.6775 15.1594 11.6032V4.92549C15.1594 4.85112 15.0989 4.79083 15.0246 4.79072H8.34686Z",fill:"currentColor"})})},ThumbsUp:function(e){return(0,J.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5147 2.9254C10.7638 1.76287 9.8776 0.666668 8.6887 0.666668C8.25943 0.666668 7.8605 0.887801 7.63296 1.2518L4.66536 6H2.66536C1.92896 6 1.33203 6.59693 1.33203 7.33333V12.6667C1.33203 13.403 1.92896 14 2.66536 14H12.096C12.8535 14 13.546 13.572 13.8848 12.8944L15.0505 10.5631C15.2356 10.1928 15.332 9.78447 15.332 9.37049V7.33333C15.332 6.22873 14.4366 5.33333 13.332 5.33333H9.9987L10.5147 2.9254ZM4.66536 12.6667V7.33333H2.66536V12.6667H4.66536ZM8.73636 2.00207L5.9987 6.3824V12.6667H12.096C12.3485 12.6667 12.5793 12.524 12.6922 12.2981L13.8579 9.96677C13.9505 9.78163 13.9987 9.57748 13.9987 9.37049V7.33333C13.9987 6.96513 13.7002 6.66667 13.332 6.66667H9.9987C9.59604 6.66667 9.21496 6.48473 8.96183 6.1716C8.7087 5.85847 8.61056 5.44767 8.69496 5.05393L9.21096 2.646C9.27883 2.32927 9.05203 2.02973 8.73636 2.00207Z",fill:"currentColor"})})},ThumbsDown:function(e){return(0,J.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.48532 13.0746C5.23621 14.2371 6.1224 15.3333 7.3113 15.3333C7.74057 15.3333 8.1395 15.1122 8.36704 14.7482L11.3346 10H13.3346C14.071 10 14.668 9.40307 14.668 8.66667V3.33333C14.668 2.59695 14.071 2 13.3346 2H3.90404C3.1465 2 2.45397 2.42801 2.11518 3.10557L0.949495 5.43695C0.764355 5.80723 0.667969 6.21553 0.667969 6.62951V8.66667C0.667969 9.77127 1.5634 10.6667 2.66797 10.6667H6.0013L5.48532 13.0746ZM11.3346 3.33333V8.66667H13.3346V3.33333H11.3346ZM7.26364 13.9979L10.0013 9.6176V3.33333H3.90404C3.65152 3.33333 3.42068 3.476 3.30776 3.70186L2.14207 6.03323C2.0495 6.21837 2.0013 6.42252 2.0013 6.62951V8.66667C2.0013 9.03487 2.29978 9.33333 2.66797 9.33333H6.0013C6.40396 9.33333 6.78504 9.51527 7.03817 9.8284C7.2913 10.1415 7.38944 10.5523 7.30504 10.9461L6.78904 13.354C6.72117 13.6707 6.94797 13.9703 7.26364 13.9979Z",fill:"currentColor"})})},ThumbsUpFilled:function(e){return(0,J.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5147 2.9254C10.7638 1.76287 9.8776 0.666666 8.6887 0.666666C8.25943 0.666666 7.8605 0.8878 7.63296 1.2518L4.66536 6H2.66536C1.92896 6 1.33203 6.59693 1.33203 7.33333V12.6667C1.33203 13.403 1.92896 14 2.66536 14H4.66536H5.9987H12.096C12.8535 14 13.546 13.572 13.8848 12.8944L15.0505 10.5631C15.2356 10.1928 15.332 9.78447 15.332 9.37049V7.33333C15.332 6.22873 14.4366 5.33333 13.332 5.33333H9.9987L10.5147 2.9254ZM4.66536 12.6667V7.33333H2.66536V12.6667H4.66536ZM8.73636 2.00207L5.9987 6.3824V12.6667H12.096C12.3485 12.6667 12.5793 12.524 12.6922 12.2981L13.8579 9.96677C13.9505 9.78163 13.9987 9.57748 13.9987 9.37049V7.33333C13.9987 6.96513 13.7002 6.66667 13.332 6.66667H9.9987C9.59604 6.66667 9.21496 6.48473 8.96183 6.1716C8.7087 5.85847 8.61056 5.44767 8.69496 5.05393L9.21096 2.646C9.27883 2.32927 9.05203 2.02973 8.73636 2.00207Z",fill:"#EAF6FF"}),(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5147 2.9254C10.7638 1.76287 9.8776 0.666666 8.6887 0.666666C8.25943 0.666666 7.8605 0.8878 7.63296 1.2518L4.66536 6H2.66536C1.92896 6 1.33203 6.59693 1.33203 7.33333V12.6667C1.33203 13.403 1.92896 14 2.66536 14H12.096C12.8535 14 13.546 13.572 13.8848 12.8944L15.0505 10.5631C15.2356 10.1928 15.332 9.78447 15.332 9.37049V7.33333C15.332 6.22873 14.4366 5.33333 13.332 5.33333H9.9987L10.5147 2.9254Z",fill:"#1A91F0",stroke:"#EAF6FF"}),(0,J.jsx)("path",{d:"M4.66537 12.6667V7.33333V6V3H5.9987V3.86665V6.3824V12.6667V14H4.66537V12.6667Z",fill:"#EAF6FF"})]})},ThumbsDownFilled:function(e){return(0,J.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_1349_9966)",children:[(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.48531 13.0746C5.23621 14.2371 6.1224 15.3333 7.3113 15.3333C7.74057 15.3333 8.1395 15.1122 8.36703 14.7482L11.3346 10L13.3346 10C14.071 10 14.668 9.40307 14.668 8.66667L14.668 3.33333C14.668 2.59695 14.071 2 13.3346 2L11.3346 2L10.0013 2L3.90404 2C3.1465 2 2.45397 2.42801 2.11518 3.10557L0.949495 5.43695C0.764355 5.80723 0.667968 6.21553 0.667968 6.62951L0.667968 8.66667C0.667968 9.77127 1.5634 10.6667 2.66797 10.6667L6.0013 10.6667L5.48531 13.0746ZM11.3346 3.33333L11.3346 8.66667L13.3346 8.66667L13.3346 3.33333L11.3346 3.33333ZM7.26363 13.9979L10.0013 9.6176L10.0013 3.33333L3.90404 3.33333C3.65152 3.33333 3.42068 3.476 3.30776 3.70186L2.14207 6.03323C2.0495 6.21837 2.0013 6.42252 2.0013 6.62951L2.0013 8.66667C2.0013 9.03487 2.29978 9.33333 2.66797 9.33333L6.0013 9.33333C6.40396 9.33333 6.78503 9.51527 7.03817 9.8284C7.2913 10.1415 7.38944 10.5523 7.30503 10.9461L6.78903 
356713.354C6.72117 13.6707 6.94797 13.9703 7.26363 13.9979Z",fill:"#EAF6FF"}),(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.48531 13.0746C5.23621 14.2371 6.1224 15.3333 7.3113 15.3333C7.74057 15.3333 8.1395 15.1122 8.36703 14.7482L11.3346 10L13.3346 10C14.071 10 14.668 9.40307 14.668 8.66667L14.668 3.33333C14.668 2.59695 14.071 2 13.3346 2L3.90404 2C3.1465 2 2.45397 2.42801 2.11518 3.10557L0.949495 5.43695C0.764355 5.80723 0.667968 6.21553 0.667968 6.62951L0.667968 8.66667C0.667968 9.77127 1.5634 10.6667 2.66797 10.6667L6.0013 10.6667L5.48531 13.0746Z",fill:"#1A91F0",stroke:"#EAF6FF"}),(0,J.jsx)("path",{d:"M11.3346 3.33333L11.3346 8.66667L11.3346 10L11.3346 13L10.0013 13L10.0013 12.1334L10.0013 9.6176L10.0013 3.33333L10.0013 2L11.3346 2L11.3346 3.33333Z",fill:"#EAF6FF"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_1349_9966",children:(0,J.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(16 16) rotate(-180)"})})})]})},Refresh:function(e){return(0,J.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("path",{d:"M3.76331 3.75735C4.8491 2.67157 6.3491 2 8.00592 2C10.2287 2 12.1693 3.20872 13.206 5.00474V3.33339C13.206 2.9652 13.5045 2.66673 13.8727 2.66673C14.2178 2.66673 14.5017 2.92906 14.5359 3.26523C14.5382 3.28764 14.5393 3.31038 14.5393 3.33339V6.66673C14.5393 6.84353 14.4691 7.01313 14.3441 7.13813C14.2191 7.26313 14.0494 7.3334 13.8727 7.3334H10.5393C10.1711 7.3334 9.87265 7.03493 9.87265 6.66673C9.87265 6.29853 10.1711 6.00005 10.5393 6.00005L12.2236 6.00006C11.4746 4.42339 9.86758 3.33333 8.00592 3.33333C6.71732 3.33333 5.55062 3.85567 4.70612 4.70016C4.28403 5.12225 3.94242 5.62482 3.70628 6.18288C3.58739 6.46387 3.32337 6.66665 3.01827 6.66665C2.57582 6.66665 2.2468 6.25399 2.40605 5.84119C2.71025 5.0526 3.17624 4.34443 3.76331 3.75735Z",fill:"currentColor"}),(0,J.jsx)("path",{d:"M12.2601 9.92105C12.0265 10.4377 11.7015 10.9041 11.3058 11.2998C10.4613 12.1443 9.29465 12.6667 8.00598 12.6667C6.14434 12.6667 4.53732 11.5766 3.78836 9.99992H5.47266C5.84085 9.99992 6.13932 9.70145 6.13932 9.33325C6.13932 8.96505 5.84085 8.66659 5.47266 8.66659H2.13932C1.96251 8.66659 1.79294 8.73679 1.66792 8.86185C1.54289 8.98685 1.47266 9.15645 1.47266 9.33325V12.6666C1.47266 13.0118 1.73499 13.2957 2.07116 13.3298C2.09357 13.3321 2.11631 13.3333 2.13932 13.3333C2.50751 13.3333 2.80599 13.0348 2.80599 12.6666V10.9954C3.84276 12.7913 5.78321 14 8.00598 14C9.66278 14 11.1628 13.3284 12.2486 12.2426C12.8357 11.6555 13.3017 10.9474 13.6059 10.1588C13.7651 9.74599 13.4361 9.33332 12.9937 9.33332C12.6885 9.33332 12.4245 9.53612 12.3057 9.81705C12.2909 9.85199 12.2757 9.88665 12.2601 9.92105Z",fill:"currentColor"})]})}};var Zm=i(39149),Zg=i(67776),Zy=i.n(Zg);let Zf=tt.Ay.div(["background-color:white;padding:8px 56px;border-bottom:1px solid ",";display:flex;align-items:center;z-index:99999;",";"],te.Jy.Neutral15,tQ.A.AboveTablet` display: none; `),Zb=tt.Ay.div(["height:100%;overflow:auto;background-color:",";padding-top:4px;width:100%;display:flex;justify-content:center;"],te.Jy.Neutral10),Z_=(0,tt.AH)(["::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"]),Zv=(0,tt.i7)(["0%{background-color:",";}25%,75%{background-color:",";}100%{background-color:",";}"],te.Jy.Indigo50,te.Jy.Indigo10,te.Jy.Indigo50),Zj=tt.Ay.div(["position:relative;width:10px;height:10px;border-radius:5px;background-color:",";animation:"," 1s infinite linear alternate;&::before,&::after{content:'';display:inline-block;position:absolute;top:0;width:10px;height:10px;border-radius:5px;background-color:",";animation:"," 1s infinite alternate;}&::before{left:-15px;animation-delay:-0.33s;}&::after{left:15px;animation-delay:0.33s;}"],te.Jy.Indigo50,Zv,te.Jy.Indigo50,Zv),ZA=tt.Ay.div(["flex:1;max-width:100%;height:100%;background-color:",";margin:auto;display:flex;flex-direction:column;overflow:hidden;position:relative;",""],te.Jy.White,tQ.A.Tablet`
3568    position: fixed;
3569    top: 0;
3570    left: 0;
3571    right: 0;
3572    bottom: 0;
3573    width: 100%;
3574    height: 100dvh;
3575    min-height: 100dvh;
3576    min-height: -webkit-fill-available;
3577    z-index: 201;
3578
3579    &::before {
3580      content: '';
3581      position: fixed;
3582      top: 0;
3583      left: 0;
3584      right: 0;
3585      bottom: 0;
3586      background-color: ${te.Jy.White};
3587      z-index: -1;
3588      height: 100vh;
3589      height: 100dvh;
3590    }
3591  `),ZC=tt.Ay.div(["position:absolute;top:15px;right:15px;
3591display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";border-radius:100%;padding:4px;z-index:9999;&:hover{color:",";background-color:",";}",""],te.Jy.Neutral70,te.Jy.White,te.Jy.Blue50,te.Jy.Blue10,tQ.A.Tablet`
3592     z-index: 999999;
3593  `),Zw=tt.Ay.div(["display:flex;flex-direction:column;height:100%;justify-content:center;align-items:center;text-align:center;"]),Zk=tt.Ay.div(["width:100%;"]),ZS=tt.Ay.h1(["",";",";color:",";margin-top:12px;"],td.o5.Subhead,td.BO.Medium,te.Jy.Neutral90),ZT=tt.Ay.p(["",";color:",";text-align:center;max-width:368px;margin:8px auto 32px;",""],td.o5.Caption,te.Jy.Neutral50,tQ.A.Phone`
3594    max-width: unset;
3595    padding: 0 24px;  
3596  `),ZP=tt.Ay.div(["display:flex;align-items:center;padding:24px 0;justify-content:center;gap:4px;",""],tQ.A.Tablet`padding: 12px 0;`),ZJ=tt.Ay.h2(["",";color:",";",";"],td.o5.Body,te.Jy.Neutral90,td.BO.Medium),ZE=tt.Ay.div(["",";color:",";background-color:",";border:0.5px solid ",";padding:4px 8px;width:fit-content;margin:0 auto 38px;border-radius:40px;"],td.o5.Caption,te.Jy.Neutral70,te.Jy.Neutral5,te.Jy.Neutral15),ZR={user:(0,tt.AH)(["background-color:",";border-radius:16px "," 0 16px;align-items:flex-end;align-self:flex-end;"],te.Jy.Neutral10,te.Kz.S),assistant:(0,tt.AH)(["background-color:",";border-radius:16px "," "," 0;align-items:flex-start;align-self:flex-start;"],te.Jy.Indigo10,te.Kz.S,te.Kz.S)},ZL=tt.Ay.div(["width:fit-content;display:flex;flex-direction:column;gap:8px;padding:12px 16px;",";color:",";max-width:100%;",""],td.o5.Body,te.Jy.Neutral90,e=>ZR[e.role]),ZN=tt.Ay.div(["display:flex;gap:8px;align-items:center;margin-top:2px;"]),ZI=tt.Ay.div(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:8px;width:100%;"]),ZM={idle:(0,tt.AH)(["background-color:",";color:",";svg{fill:",";}&:hover{background-color:",";color:white;svg{fill:white;}}"],te.Jy.Indigo10,te.Jy.Indigo80,te.Jy.Indigo80,te.Jy.Indigo50),applied:(0,tt.AH)(["background-color:",";color:",";svg{fill:",";}&:hover{background-color:",";color:white;svg{fill:white;}}"],te.Jy.Green10,te.Jy.Green80,te.Jy.Green80,te.Jy.Green50)},ZB=tt.Ay.button(["display:flex;gap:2px;border:none;align-items:center;border-radius:8px;cursor:pointer;margin-left:auto;padding:4px 4px 4px 8px;transition:all 0.2s ease;",";",";"," &:disabled{cursor:not-allowed;opacity:0.7;}"],td.BO.Medium,td.o5.Caption,e=>ZM[e.variant]),ZD=tt.Ay.div(["display:flex;flex-direction:column;padding:24px;gap:8px;",""],tQ.A.Phone` padding: 16px;`),Z$=tt.Ay.textarea.attrs(e=>({ref:e.ref}))(["position:relative;border:1px solid ",";width:100%;min-height:80px;max-height:200px;border-radius:16px;padding:16px 52px 16px 20px;font-size:16px;resize:none;overflow-y:auto;outline:none;text-align:start;vertical-align:middle;box-shadow:0 0 1px 0 rgba(15,56,113,0.32),0 2px 4px -1px rgba(15,56,113,0.08),0 8px 20px -4px rgba(15,56,113,0.12);",";",";&:focus{border-color:",";outline:none;}&::placeholder{color:",";}&:disabled{cursor:not-allowed;background-color:",";}"],te.Jy.Neutral30,td.o5.Body,Z_,te.Jy.Blue50,te.Jy.Neutral50,te.Jy.Neutral5),ZO=tt.Ay.form(["position:relative;height:100%;width:100%;margin:0 auto;display:flex;flex-grow:1;flex-direction:column;overflow:hidden;",""],e=>e.$withPadding&&(0,tt.AH)(["",""],tQ.A.Phone`
3597            padding: 0 24px;  
3598          `)),Zz=tt.Ay.div(["position:relative;overflow-y:auto;flex:1 1 auto;min-height:0;"," -webkit-overflow-scrolling:touch;overscroll-behavior:contain;"],Z_),ZF=tt.Ay.div(["display:flex;flex-direction:column;min-height:100%;justify-content:flex-end;"]),ZH=tt.Ay.div(["display:flex;gap:26px;align-items:center;"]),ZV=tt.Ay.span(["display:flex;justify-content:center;align-items:center;width:40px;height:40px;border-radius:50%;overflow:hidden;background-color:",";flex-shrink:0;padding:5px;visibility:",";"],te.Jy.Indigo10,({visibility:e})=>e||"visible"),ZU=tt.Ay.div(["display:flex;align-items:center;gap:10px;color:",";background:",";border:1px solid ",";border-radius:16px "," "," 0;padding:16px;",";width:fit-content;"],te.Jy.Red50,te.Jy.Red10,te.Jy.Red10,te.Kz.S,te.Kz.S,td.o5.Caption),ZW=tt.Ay.span(["display:inline-block;border:none;cursor:pointer;
3598svg path{fill:currentColor;stroke:none;transition:fill 0.3s ease;}&:hover svg path{fill:",";stroke:none;}"],te.Jy.Blue50),ZK=tt.Ay.button(["position:sticky;background:white;width:32px;height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;border:1px solid ",";bottom:5px;left:50%;transform:translateX(-50%);z-index:999;",";"],te.Jy.Neutral10,tr.A.lightWithBorder.low),Zq=tt.Ay.div(["display:flex;align-items:center;justify-content:center;border-radius:8px;background-color:",";cursor:pointer;transition:all 0.2s ease;padding:4px;color:",";&:hover{color:",";background-color:",";}&:active{color:",";background-color:",";transform:scale(0.95);}"],e=>e.$selected?te.Jy.Blue10:"transparent",e=>e.$selected?te.Jy.Blue50:te.Jy.Neutral60,te.Jy.Blue50,te.Jy.Blue10,te.Jy.Blue60,te.Jy.Blue20);te.Jy.Neutral80;let ZG=tt.Ay.div(["display:flex;gap:8px;justify-content:center;margin-top:24px;flex-wrap:wrap;"]),ZZ=tt.Ay.div(["width:100%;padding:0 24px 24px 24px;position:relative;",""],tQ.A.Phone`
3599    padding: 0 12px 16px;
3600  `),ZX=tt.Ay.div(["position:relative;width:100%;"]),ZQ=tt.Ay.div(["display:flex;gap:4px;align-items:center;overflow:hidden;justify-content:flex-end;"]),ZY=tt.Ay.div(["display:flex;align-items:center;justify-content:flex-end;gap:4px;"]),Z0=tt.Ay.button(["position:relative;width:32px;height:32px;border:none;background:",";border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color 0.2s;z-index:1;&:hover{background:",";}&:active{background:",";}"],te.Jy.Blue50,te.Jy.Blue60,te.Jy.Blue70),Z1=tt.Ay.a(["color:",";",";&:hover{color:",";}"],te.Jy.Indigo50,td.BO.Medium,te.Jy.Indigo70),Z2=tt.Ay.strong(["",";"],td.BO.Medium),Z3=tt.Ay.ul(["display:flex;flex-direction:column;gap:4px;margin:0 0 0 36px;padding:0;"]),Z5=tt.Ay.h3(["margin-bottom:8px;",";"],td.BO.Medium),Z4=tt.Ay.blockquote(["padding-left:16px;margin:0;"]),Z6=tt.Ay.button(["",";color:",";background:",";border:1px solid ",";border-radius:",";padding:"," ",";cursor:pointer;transition:all 0.2s ease;white-space:nowrap;&:hover{background:",";border-color:",";}&:active{transform:scale(0.98);background:",";}"],td.o5.Caption,te.Jy.Neutral90,te.Jy.Neutral10,te.Jy.Neutral15,te.Kz["3XS"],te.Kz["3XS"],te.Kz.XS,te.Jy.Neutral20,te.Jy.Neutral30,te.Jy.Neutral30),Z8=tt.Ay.div(["width:100%;position:absolute;bottom:0;right:0;padding:5px 10px 5px 20px;"]);(0,tt.Ay)(i$.Ay)(["border:none;",";",";cursor:pointer;margin-top:4px;"],td.o5.Caption,td.BO.Medium),delete Zm.$.defaultProps;let Z9={ul:({children:e,...t})=>(0,J.jsx)(Z3,{...t,as:"ul",children:e}),ol:({children:e,...t})=>(0,J.jsx)(Z3,{...t,as:"ol",children:e}),strong:({children:e,...t})=>(0,J.jsx)(Z2,{...t,children:e}),a:({children:e,...t})=>(0,J.jsx)(Z1,{onClick:()=>{let i={name:e.toString(),url:t.href,label:"builder"};(0,N.xP)("chat_click_link",i)},target:"_blank",...t,children:e}),h1:({children:e,...t})=>(0,J.jsx)(Z5,{...t,as:"h1",children:e}),h2:({children:e,...t})=>(0,J.jsx)(Z5,{...t,as:"h2",children:e}),h3:({children:e,...t})=>(0,J.jsx)(Z5,{...t,as:"h3",children:e}),blockquote:({children:e,...t})=>(0,J.jsx)(Z4,{...t,as:"blockquote",children:e})},Z7=(0,R.memo)(({children:e})=>(0,J.jsx)(Zm.$,{remarkPlugins:[Zy()],components:Z9,children:e}),(e,t)=>e.children===t.children),Xe=(0,R.forwardRef)((e,t)=>{let{onKeyDown:i,...r}=e,n=(0,R.useRef)(null),{isPhone:o}=(0,ih.e)(),a=(0,R.useCallback)(()=>{let e=n.current;e&&(e.style.height="80px",e.style.height=`${Math.min(e.scrollHeight+30,200)}px`)},[]);(0,R.useEffect)(()=>{a()},[a,r.value]),(0,R.useEffect)(()=>{n.current&&!e.disabled&&n.current.focus()},[e.disabled]);let l=(0,R.useCallback)(e=>{"Enter"!==e.key||o||e.shiftKey||(e.preventDefault(),e.currentTarget.form?.requestSubmit()),i?.(e)},[i,o]),s=(0,R.useCallback)(e=>{n.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]);return(0,J.jsx)(Z$,{ref:s,...r,rows:1,onInput:a,onKeyDown:l})}),Xt=R.memo(({width:e,height:t})=>(0,J.jsxs)(ZQ,{children:[(0,J.jsx)(Zc.A.VoiceVisualiser,{width:e,height:t,isActive:!0}),(0,J.jsx)(Zc.A.ListeningTimer,{isActive:!0}),(0,J.jsxs)(ZY,{children:[(0,J.jsx)(Zc.A.StopButton,{}),(0,J.jsx)(Zc.A.CompleteButton,{})]})]})),Xi=e=>{let{isPhone:t}=(0,ih.e)(),i=t?300:e.voiceVisualiserWidth,r=t?32:e.voiceVisualiserHeight;return(0,J.jsx)(Z8,{children:(0,J.jsx)(Zc.A,{onTranscript:e.onTranscript,children:t=>t.isListening?(0,J.jsx)(Xt,{width:i,height:r}):(0,J.jsx)(ZY,{children:e.children})})})};function Xr(){let e=(0,eU.wA)(),t=(0,eU.d4)($.Tp.resume),i=(0,eU.d4)(V.Tp.coverLetter),r=(0,eU.d4)(eE.Tp.messages),n=(0,eU.d4)(eE.Tp.loading),o=(0,eU.d4)(eE.Tp.error),a=(0,eU.d4)($.Tp.autoTailoringFromJobBoard),{isRbpStepFlowActive:l}=Uw(),{features:s}=(0,d2.t)(),d=s.rbpAiReview&&!l&&!a.enabled,c=(0,eU.d4)(eE.Tp.builderType),u=(0,R.useCallback)(async t=>{t.preventDefault(),t.stopPropagation();let i=t.currentTarget,r=new FormData(i).get("prompt");e(eE.o1.sendMessage({message:r,showAiReviewTab:d})),i.reset()},[e]),p=(0,R.useCallback)(()=>{!r||0===r.length||r.slice().reverse().find(e=>"user"===e.role)&&e(eE.o1.refreshLastMessage({showAiReviewTab:d}))},[e,r]),h=(0,R.useCallback)((t,i,r)=>{e(eE.o1.applySingleChange({change:t,messageIndex:i,changeIndex:r}))},[e]);return{resume:t,coverLetter:i,messages:r,loading:n,error:o,builderType:c,handleSubmit:u,handleRefresh:p,handleApplySingleChange:h,sendMessage:(0,R.useCallback)(t=>{e(eE.o1.sendMessage({message:t,showAiReviewTab:d}))},[e]),setBuilderType:(0,R.useCallback)(t=>{e(eE.o1.setBuilderType(t))},[e]),addUserMessage:t=>e(eE.o1.addUserMessage({content:t})),addAssistantMessage:t=>e(eE.o1.addAssistantMessage(t)),clearMessagesByBuilderType:t=>e(eE.o1.clearMessagesByBuilderType(t))}}
3600let Xn=({isLastMessage:e})=>{let[t,i]=R.useState("idle"),{resume:r,messages:n,handleRefresh:o,builderType:a}=Xr(),l=e=>{i(e),(0,N.xP)("chat_feedback",{label:"resume"===a?"builder":"cl_builder",feedback:e})},s=e&&"like"===t,d=e&&"dislike"===t,c=e&&"idle"===t,u=n.length<=2,p=e&&r&&("resume"===a||"cover_letter"===a&&!u);return(0,J.jsxs)(ZN,{children:[p&&(0,J.jsx)(Zq,{onClick:()=>{(0,N.xP)("chat_retry",{label:"resume"===a?"builder":"cl_builder"}),o()},"data-testid":"chat-retry-button",children:(0,J.jsx)(Zx.Refresh,{})}),s&&(0,J.jsx)(Zq,{$selected:!0,style:{cursor:"default"},"data-testid":"chat-like-button-active",children:(0,J.jsx)(Zx.ThumbsUpFilled,{})}),d&&(0,J.jsx)(Zq,{$selected:!0,style:{cursor:"default"},"data-testid":"chat-dislike-button-active",children:(0,J.jsx)(Zx.ThumbsDownFilled,{})}),c&&(0,J.jsxs)(R.Fragment,{children:[(0,J.jsx)(Zq,{onClick:()=>l("like"),"data-testid":"chat-like-button",children:(0,J.jsx)(Zx.ThumbsUp,{})}),(0,J.jsx)(Zq,{onClick:()=>l("dislike"),"data-testid":"chat-dislike-button",children:(0,J.jsx)(Zx.ThumbsDown,{})})]})]})},Xo=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)(),{builderType:i,messages:r,addAssistantMessage:n}=Xr(),[o,a]=R.useState(!1);return"cover_letter"!==i||1!==r.length?null:(0,J.jsxs)(R.Fragment,{children:[(0,J.jsxs)(ZB,{variant:"idle",type:"button",onClick:()=>a(!0),children:[e.t("builder.conversational_builder.select_resume_modal.button_label"),(0,J.jsx)(tP.EK.Add,{})]}),o&&(0,J.jsx)(w8.A,{onClose:()=>a(!1),submitSelectedResume:i=>{n(e.t("builder.conversational_builder.initial_message_no_job_link")),t($.o1.fetchResumeRequest({id:i.id,keepResumeData:!1}))},title:e.t("builder.conversational_builder.select_resume_modal.title")})]})},Xa=({change:e,index:t,onApply:i,i18n:r,reactions:n})=>{let o=e.applied?"applied":"idle";return(0,J.jsxs)(R.Fragment,{children:[(0,J.jsx)(ZL,{role:"assistant",children:(0,J.jsx)(Z7,{children:e.message??""})}),(0,J.jsxs)(ZI,{children:[n??(0,J.jsx)("span",{}),(0,J.jsxs)(ZB,{type:"button",variant:o,onClick:()=>i(e,t),disabled:!!e.applied,children:["idle"===o&&r.t("builder.conversational_builder.apply_suggestion"),"applied"===o&&r.t("builder.conversational_builder.applied"),"applied"===o&&(0,J.jsx)(L_.EK.Check,{}),"idle"===o&&(0,J.jsx)(Zx.ArrowRight,{})]})]})]})},Xl=({changes:e,onApplySection:t,i18n:i,reactions:r})=>{let n=e.every(({change:e})=>e.applied),o=n?"applied":"idle",a=e.length;return(0,J.jsxs)(R.Fragment,{children:[e.map(({change:e,index:t})=>(0,J.jsx)(ZL,{role:"assistant",children:(0,J.jsx)(Z7,{children:e.message??""})},t)),(0,J.jsxs)(ZI,{children:[r??(0,J.jsx)("span",{}),(0,J.jsxs)(ZB,{type:"button",variant:o,onClick:()=>t(e),disabled:n,children:["idle"===o&&(a>1?i.t("builder.conversational_builder.apply_suggestions",{count:a}):i.t("builder.conversational_builder.apply_suggestion")),"applied"===o&&i.t("builder.conversational_builder.applied"),"applied"===o&&(0,J.jsx)(L_.EK.Check,{}),"idle"===o&&(0,J.jsx)(Zx.ArrowRight,{})]})]})]})},Xs=e=>{let{i18n:t}=(0,e1.s)(),{handleApplySingleChange:i,builderType:r}=Xr(),n=(t,n)=>{(0,N.xP)("chat_suggestions_applied",{label:"resume"===r?"builder":"cl_builder"}),i(t,e.messageIndex,n)},o=t=>{(0,N.xP)("chat_suggestions_applied",{label:"resume"===r?"builder":"cl_builder",count:t.length}),t.forEach(({change:t,index:r})=>{i(t,e.messageIndex,r)})},a=R.useMemo(()=>{var t;let i,r;return t=e.changes,i=[],r=new Set,t.forEach((e,n)=>{if(!r.has(n))if(e.section&&""!==e.section.trim()){let o=[];for(let i=n;i<t.length;i++)r.has(i)||t[i].section!==e.section||(o.push({change:t[i],index:i}),r.add(i));1===o.length?i.push({type:"single",change:o[0].change,index:o[0].index}):i.push({type:"grouped",section:e.section,changes:o})}else r.add(n),i.push({type:"single",change:e,index:n})}),i},[e.changes]);return 0===e.changes.length?null:(0,J.jsx)(R.Fragment,{children:a.map((i,r)=>{let l=r===a.length-1?e.reactions:void 0;return"single"===i.type?(0,J.jsx)(Xa,{change:i.change,index:i.index,onApply:n,i18n:t,reactions:l},`single-${i.index}`):(0,J.jsx)(Xl,{changes:i.changes,onApplySection:o,i18n:t,reactions:l},`grouped-${i.section}-${r}`)})})};var Xd=()=>{let{i18n:e}
3600=(0,e1.s)(),[t,i]=R.useState(""),{messages:r,loading:n,error:o,handleSubmit:a}=Xr(),{chatBodyRef:l,showScrollIndicator:s,trackScroll:d,scrollToBottom:c}=function(e){let[t,i]=(0,R.useState)(!1),r=(0,R.useRef)(null),n=(0,R.useCallback)(()=>{r.current&&r.current.scrollTo({top:r.current.scrollHeight,behavior:"smooth"})},[]),o=(0,R.useCallback)(()=>{if(r.current){let{scrollTop:e,scrollHeight:t,clientHeight:n}=r.current;i(!(e+n>t-100))}},[]);return(0,R.useEffect)(()=>{e.open&&r.current&&n()},[e.messages,e.open]),{chatBodyRef:r,showScrollIndicator:t,trackScroll:o,scrollToBottom:n}}({open:!0,messages:r});return(()=>{let{i18n:e}=(0,e1.s)(),{resume:t,builderType:i,messages:r,addAssistantMessage:n}=Xr();R.useEffect(()=>{"cover_letter"===i&&0===r.length&&n(e.t("builder.conversational_builder.initial_message_no_resume"))},[t,i])})(),(0,J.jsxs)(ZO,{onSubmit:e=>{a(e),i("")},children:[(0,J.jsxs)(ZP,{children:[(0,J.jsx)(Zx.AiCoach,{}),(0,J.jsx)(ZJ,{children:e.t("builder.conversational_builder.chat_title")})]}),(0,J.jsx)(Zz,{ref:l,onScroll:d,children:(0,J.jsxs)(ZF,{children:[(0,J.jsx)(ZE,{children:e.t("builder.conversational_builder.date_today")}),(0,J.jsxs)(ZD,{children:[r.map((e,t)=>{let i=t===r.length-1;return(0,J.jsxs)(R.Fragment,{children:[(0,J.jsxs)(ZL,{role:e.role,children:["assistant"===e.role&&(0,J.jsx)(Z7,{children:e.content}),"user"===e.role&&e.content]},t),"assistant"===e.role&&e.changes&&e.changes.length>0&&(0,J.jsx)(Xs,{changes:e.changes,messageIndex:t,reactions:i?(0,J.jsx)(Xn,{message:e,isLastMessage:i}):void 0}),"assistant"===e.role&&(!e.changes||0===e.changes.length)&&i&&(0,J.jsxs)(ZI,{children:[(0,J.jsx)(Xn,{message:e,isLastMessage:i}),(0,J.jsx)(Xo,{})]})]},t)}),n&&(0,J.jsxs)(ZH,{children:[(0,J.jsx)(ZV,{children:(0,J.jsx)(Zx.Assistant,{width:24,height:24})}),(0,J.jsx)(Zj,{})]}),o&&(0,J.jsxs)(ZU,{children:[(0,J.jsx)(Zx.CircleError,{})," ",e.t(o)]})]}),s&&(0,J.jsx)(ZK,{type:"button",onClick:c,children:(0,J.jsx)(ZW,{children:(0,J.jsx)(Zx.ArrowDown,{})})})]})}),(0,J.jsx)(ZZ,{children:(0,J.jsxs)(ZX,{children:[(0,J.jsx)(Xe,{name:"prompt",autoComplete:"off",autoFocus:!0,placeholder:e.t("builder.conversational_builder.ask_anything_placeholder"),disabled:n,value:t,onChange:e=>i(e.target.value),required:!0}),(0,J.jsxs)(Xi,{onTranscript:e=>i(t=>t+e),voiceVisualiserWidth:800,voiceVisualiserHeight:32,children:[(0,J.jsx)(Zc.A.StartButton,{disabled:n}),(0,J.jsx)(Z0,{type:"submit",disabled:n,"data-testid":"copilot-chat-send-button",children:(0,J.jsx)(Zx.ArrowUp,{})})]})]})})]})};let Xc=R.createContext({activeTab:"ai-writer",setActiveTab:e=>{}}),Xu=e=>{let{i18n:t}=(0,e1.s)(),[i,r]=R.useState("ai-writer"),{builderType:n}=Xr(),o=[{id:"ai-writer",text:t.t("builder.conversational_builder.tabs.writer")},{id:"preview",text:t.t("builder.conversational_builder.tabs.preview")}];return(0,J.jsxs)(Xc.Provider,{value:{activeTab:i,setActiveTab:r},children:[(0,J.jsx)(Zf,{children:(0,J.jsx)(Wp,{activePanelType:i,handlePanelTypeChange:e=>{"preview"===e?(0,N.xP)("chat_click_preview",{label:"resume"===n?"builder":"cl_builder"}):"ai-writer"===e&&(0,N.xP)("chat_click_ai_writer",{label:"resume"===n?"builder":"cl_builder"}),r(e)},items:o,style:{flex:1}})}),e.children]})};Xu.Tab=e=>{let{activeTab:t}=R.useContext(Xc);return t!==e.tab?null:e.children};let Xp=e=>{let{i18n:t}=(0,e1.s)(),[i,r]=R.useState(""),{loading:n,handleSubmit:o,sendMessage:a,messages:l,builderType:s}=Xr(),d=(!l||0===l.length)&&"resume"===s,c=[{action:t.t("builder.conversational_builder.generate_summary"),prompt:t.t("builder.conversational_builder.generate_summary_prompt")},{action:t.t("builder.conversational_builder.check_grammar"),prompt:t.t("builder.conversational_builder.check_grammar_prompt")},{action:t.t("builder.conversational_builder.polish"),prompt:t.t("builder.conversational_builder.polish_prompt")},{action:t.t("builder.conversational_builder.shorten"),prompt:t.t("builder.conversational_builder.shorten_prompt")}];return d?(0,J.jsx)(Zw,{"data-testid":"copilot-welcome-screen",children:(0,J.jsxs)(Zk,{children:[(0,J.jsx)(Zx.AiCoach,{width:40,height:40}),(0,J.jsx)(ZS,{children:t.t("builder.conversational_builder.title")}),(0,J.jsx)(ZT,{children:t.t("builder.conversational_builder.subtitle")}),(0,J.jsxs)(ZO,{onSubmit:o,$withPadding:!0,children:[(0,J.jsxs)(ZX,{style:{maxWidth:480,margin:"0 auto"},children:[(0,J.jsx)(Xe,{name:"prompt",autoComplete:"off",autoFocus:!0,placeholder:t.t("builder.conversational_builder.ask_anything_placeholder"),required:!0,disabled:n,value:i,onChange:e=>r(e.target.value)}),(0,J.jsxs)(Xi,{onTranscript:e=>r(t=>t+e),voiceVisualiserHeight:32,voiceVisualiserWidth:350,children:[(0,J.jsx)(Zc.A.StartButton,{disabled:n}),(0,J.jsx)(Z0,{type:"submit",disabled:n,"data-testid":"copilot-welcome-send-button",children:(0,J.jsx)(Zx.ArrowUp,{})})]})]}),(0,J.jsx)(ZG,{children:c.map((e,t)=>(0,J.jsx)(Z6,{type:"button",onClick:()=>{var t,i;return t=e.prompt,i=e.action,void((0,N.xP)("chat_click_quick_action",{label:"resume"===s?"builder":"cl_builder",action:i}),a(t))},children:e.action},t))})]})]})}):e.children},Xh=e=>{let t=(0,eU.wA)(),{isTablet:i}=(0,ih.e)(),r=R.useRef(null),n=(0,eW.N)(e=>e.resumeEditor.resume),o=(0,eW.N)(V.Tp.coverLetter),{error:a,setBuilderType:l,clearMessagesByBuilderType:s}=Xr(),d=e.builderType??"resume";return R.useEffect(()=>{if(!i)return;let e=document.body.style.position;return document.body.style.position="fixed",document.body.style.overflow="hidden",()=>{document.body.style.position=e,document.body.style.overflow="auto"}},[i]),R.useEffect(()=>
3600(l(d),()=>l(void 0)),[]),R.useEffect(()=>{s(d)},[d]),R.useEffect(()=>{a&&(0,N.xP)("chat_error",{label:"resume"===d?"builder":"cl_builder",error:a})},[a]),(0,J.jsxs)(ZA,{ref:r,className:e.className,"data-testid":"copilot-writer",children:[(0,J.jsx)(ZC,{"data-testid":"copilot-close-button",onClick:()=>{(0,N.xP)("chat_closed",{label:"builder"}),t(F.o1.toggleConversationalBuilder(!1))},children:(0,J.jsx)(L_.qJ.Close,{})}),(0,J.jsx)(Xp,{children:(0,J.jsxs)(Xu,{children:[(0,J.jsx)(Xu.Tab,{tab:"ai-writer",children:(0,J.jsx)(Xd,{})}),(0,J.jsx)(Xu.Tab,{tab:"preview",children:(0,J.jsxs)(Zb,{children:["cover_letter"===d&&o&&(0,J.jsx)(W$.w,{document:o,hideCustomizeButton:!0,switchToCustomizationTab:()=>{}}),"resume"===d&&n&&(0,J.jsx)(W$.w,{document:n,hideCustomizeButton:!0,switchToCustomizationTab:()=>{}})]})})]})})]})};Xh.Resume=e=>(0,J.jsx)(Xh,{...e,builderType:"resume"}),Xh.CoverLetter=e=>(0,J.jsx)(Xh,{...e,builderType:"cover_letter"}),Xh.displayName="CopilotWriter";var Xx=R.memo(Xh);let Xm=(0,tt.Ay)(VR)(["left:50%;position:absolute;transform:translate(-50%,0);transition:all 350ms ease-in-out;"," ",""],e=>e.$aiWriterOpen&&(0,tt.AH)(["visibility:hidden;opacity:0;"]),tQ.A.Tablet`position:fixed;`),Xg=(0,tt.Ay)(Xx)(["z-index:3;width:100%;position:absolute;",""],tQ.A.Tablet`
3601    top: 0;
3602    bottom: 0;
3603    left: 0;
3604    right: 0;
3605    position: fixed;
3606    z-index: 201;
3607    height: 100dvh;
3608    min-height: 100dvh;
3609    min-height: -webkit-fill-available;
3610  `),Xy=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)(),{features:i}=(0,d2.t)(),r=(0,eW.N)(F.Tp.isConversationalBuilderOpen),n=(0,eW.N)($.Tp.autoTailoringFromJobBoard);return!i.resumeBuilderAiCopilot||n.enabled?null:(0,J.jsxs)(Xm,{$aiWriterOpen:r,onClick:()=>{r||(0,N.xP)("chat_open",{label:"builder"}),t(F.o1.toggleConversationalBuilder(!r))},children:[(0,J.jsx)(Zd,{}),e.t("builder.conversational_builder.ask_ai_writer")]})},Xf=tt.Ay.div(["display:flex;flex-direction:column;position:relative;width:100%;height:100%;"]),Xb=tt.Ay.div(["display:flex;flex-direction:row;align-items:center;",""],tQ.A.AbovePhone`
3611    margin-right: 32px;
3612  `),X_=tt.Ay.div(["color:",";font-size:12px;line-height:14px;letter-spacing:0.3px;a{color:",";}a:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Blue50,te.Jy.Blue70),Xv=tt.Ay.div(["display:block;user-select:none;position:sticky;width:100%;top:","px;background-color:",";z-index:2;border-radius:",";",";&:before{right:100%;}&:after{left:100%;}"],({$top:e})=>e||0,te.Jy.White,e=>e.$isHeaderFullBorderRadius?"12px":"0px 0px 12px 12px",tQ.A.Phone`
3613    width: 100%;
3614    &:before,
3615    &:after {
3616      width: 20px;
3617    }
3618  `),Xj=tt.Ay.div(["display:flex;flex-flow:row nowrap;position:relative;height:56px;max-width:100%;overflow:hidden;padding:0 36px;justify-content:space-between;align-items:center;",";"],tQ.A.Phone`
3619    padding: 20px;
3620  `),XA=tt.Ay.div(["display:flex;flex:0 1 auto;overflow:hidden;"]),XC=tt.Ay.p(["",";color:",";display:block;max-width:180px;height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],td.Ay.Caption,te.Jy.Neutral50),Xw=tt.Ay.div(["display:flex;align-items:center;justify-content:center;gap:24px;overflow:hidden;"]),Xk=(0,tt.Ay)(uD.CS.div)(["display:inline-block;",";"," border-radius:4px;margin-right:8px;color:",";font-variant-numeric:tabular-nums;width:fit-content;height:20px;padding:2px 4.5px;"," &:after{content:'%';}"],td.Ay.Tiny,td.BO.DemiBold,te.Jy.White,({points:e})=>{switch(!0){case e>70:return`
3621          background-color: ${te.Jy.Green40};
3622        `;case e>30:return`
3623          background-color: ${te.Jy.Amber40};
3624        `;default:return`
3625          background-color: ${te.Jy.Red40};
3626        `}}),XS=tt.Ay.div(["height:3px;background-color:",";"],te.Jy.Neutral10),XT=(0,tt.Ay)(uD.CS.div)(["height:3px;width:100%;transform-origin:left;"]),XP=(0,tt.Ay)(uD.CS.div)(["display:flex;justify-content:center;align-content:center;",";font-size:14px;font-weight:400;color:",";background-color:",";font-variant-numeric:tabular-nums;border-radius:4px;min-width:32px;&:after{content:'%';}"],td.Ay.Caption,te.Jy.Green60,te.Jy.Green10),XJ=tt.Ay.div(["display:flex;gap:8px;
3626cursor:pointer;width:100%;align-items:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;",";&:hover{color:",";}&:hover ","{color:",";}"],td.Ay.Caption,te.Jy.Blue50,XP,te.Jy.Blue50),XE=e=>{let{suggestion:t,points:i,handleSuggestionClick:r,isHeaderFullBorderRadius:n,top:o,className:a}=e,l=(0,R.useRef)(null),{i18n:s}=(0,e1.s)(),[d]=(0,R.useMemo)(()=>{let e=i>70?"green":i>30?"amber":"red";return[`var(--${e}-40)`,`var(--${e}-50)`]},[i]),c=(0,uD.zh)({config:uD.$W.slow,from:{points:0},to:{points:Math.min(i,100)}});return(0,J.jsxs)(Xv,{ref:l,$top:o,$isHeaderFullBorderRadius:n,className:a,children:[(0,J.jsxs)(Xj,{children:[(0,J.jsxs)(XA,{children:[(0,J.jsx)(Xk,{points:i,children:c.points.to(e=>e.toFixed(0))}),(0,J.jsx)(XC,{children:s.t("builder.resume_tuner.banner.dashboard_score")})]}),!!t?.points&&(0,J.jsx)(Xw,{children:(0,J.jsxs)(XJ,{onClick:()=>r?.(t),children:[(0,J.jsxs)(XP,{children:["+",t.points]}),t.text]})})]}),(0,J.jsx)(XS,{children:(0,J.jsx)(XT,{style:{transform:c.points.to(e=>`scaleX(${e/100})`),backgroundColor:d}})})]})};var XR=i(73685),XL=i(90074);let XN=tt.Ay.div(["position:relative;",";"],Vk.Iq),XI=tt.Ay.div([""]);te.Kz.S;var XM=i(15237),XB=(0,R.memo)(({isStepByStepFlow:e,isFoldable:t=!0})=>{let i,{i18n:r}=(0,e1.s)(),n=(0,R.useRef)(null),o=(0,R.useRef)(null),a=(0,eU.wA)(),{updateSimpleField:l}=(0,XR.x)(),{renameSection:s}=(i=(0,eU.wA)(),{renameSection:e=>i($.o1.renameSection({...e}))}),{isKeywordsAvailable:d}=(0,Wf.wb)(),{profile:c,sectionTitles:u={},locale:p=""}=(0,eU.d4)($.Tp.resume)||{},h=u.profile||"",x=c||"",m=(0,eW.N)(e=>$.Tp.isSectionOpened(e,$.Gw.profile)),g=(0,R.useRef)(null),{shouldRenderAiWriterButton:y,...f}=(0,XM._)({editorInstanceRef:n,editorContainerRef:o,isStepByStepFlow:e});(0,R.useEffect)(()=>(UO.A.subscribe($.Gw.profile,()=>{n.current&&n.current.focusEditor()}),()=>UO.A.unsubscribe($.Gw.profile)),[]),(0,Vk.G3)({elementRef:g,isOpened:m});let b=(0,R.useCallback)(e=>l({name:"profile",value:e}),[l]),_=(0,R.useCallback)(e=>{e&&s({id:$.Gw.profile,value:e})},[s]),v={ranges:{bad:{start:1,end:100},good:{start:400,end:600}},recommendedRangeLabel:r.t("builder.resume_editor.professional_summary.length_suggestion",{count:"400-600"})},j=(0,R.useMemo)(()=>[e=>d?(0,J.jsx)(Wf.JN,{section:$.Gw.profile,...e}):null,e=>(0,J.jsx)(GH.TQ,{sectionName:"profile",...e})],[d]),A=(0,R.useCallback)(()=>{t&&a($.o1.setOpenedSections({[$.Gw.profile]:!m}))},[a,t,m]);return(0,J.jsxs)(XN,{"data-highlight-id":$.Gw.profile,ref:g,"data-testid":"profile-section",children:[(0,J.jsxs)(Vk.X3,{isOpened:m,onClick:A,isStepByStepFlow:e,children:[(0,J.jsx)(K_.A,{title:r.t("builder.resume_editor.professional_summary.title"),customTitle:h,onRename:_,renamable:!0,badgeComponents:j,isOpened:m,isFoldable:!e}),(0,J.jsx)(Vk.VE,{isOpened:m,children:(0,J.jsx)(Vk.ZI,{children:r.t("builder.resume_editor.professional_summary.label")})})]}),(0,J.jsx)(Vk.Mg,{isOpened:m,isStepByStepFlow:e,children:(0,J.jsx)(XI,{children:(0,J.jsx)(XL.Kt,{...f,children:({onEditorFocus:e})=>(0,J.jsx)(i2.Ay,{instanceRef:n,containerRef:o,placeholder:r.t("builder.resume_editor.professional_summary.placeholder"),value:x,onChange:b,locale:p,additionalToolbarActions:y?(0,J.jsx)(XL.ee,{}):null,onFocus:e,...v})})})})]})}),XD=(0,R.memo)(e=>{let{sectionId:t,isStepByStepFlow:i,isFoldable:r=!0}=e;return(0,J.jsx)(Vn.Ay,{id:t,scrollOffsetTop:70,children:(0,J.jsx)(XB,{isFoldable:r,isStepByStepFlow:i})})}),X$=i(41370),XO=i(3161),Xz=i(93807);let XF=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(UU,{children:[(0,J.jsx)(tP.Ay.WarningTriangle,{}),(0,J.jsx)(UW,{dangerouslySetInnerHTML:{__html:e.t(`${Uq}.welcome_step.job_title_banner`)}})]})},XH=tt.Ay.div(["width:335px;max-width:100%;"]),XV=e=>{let{onStartReview:t,...i}=e,{i18n:r}=(0,e1.s)(),n=(0,eU.wA)(),o=(0,eW.N)(e=>e.resumeEditor.resume?.locale),a=(0,eW.N)(e=>e.resumeEditor.resume?.position),l=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.jobTitleRequired);(0,R.useEffect)(()=>{a&&l&&n($.o1.setAiReviewJobTitleRequired(!1))},[a,l,n]);let s=(0,R.useCallback)(e=>{n($.o1.updateSimpleField({name:"position",value:e.target.value}))},[n]),d=l&&!a?r.t(`${Uq}.welcome_step.job_title_error`):void 0;return(0,J.jsxs)(UV,{"data-testid":"ai-resume-review-welcome-step",...i,children:[l&&!a&&(0,J.jsx)(XF,{}),(0,J.jsx)(UZ,{src:UG,alt:"Banner Image"}),(0,J.jsxs)(UX,{children:[(0,J.jsxs)(UQ,{children:[(0,J.jsx)(UY,{children:r.t(`${Uq}.welcome_step.title`)}),(0,J.jsx)(U0,{children:r.t(`${Uq}.welcome_step.description_v2`)})]}),(0,J.jsx)(XH,{children:(0,J.jsx)(GD.wc,{name:"position",fetchItems:(0,GD.$Z)("job-title",{limit:4,locale:o}),value:a||"",onChange:s,children:({key:e,...t})=>(0,R.createElement)(re.A,{...t,key:e,label:r.t(`${Uq}.welcome_step.job_title_label`),placeholder:r.t(`${Uq}.welcome_step.job_title_placeholder`),error:d})})}),t&&(0,J.jsx)(i$.JQ,{theme:i$.Ox.alternative,leadingIcon:(0,J.jsx)(tP.Ay.FeaturedRegular,{}),onClick:t,children:r.t(`${Uq}.welcome_step.start_button_text`)})]})]})},XU=e=>{(0,N.xP)("click_resume_ready_action",{label:e})},XW=({document:e})=>{let{i18n:t}=(0,e1.s)(),{handleDownloadDocument:i}=RY({currentDocument:e,downloadClickEventSource:"resume_ready",downloadActionEventSource:"resume_ready"});return(0,J.jsx)(R6,{id:"resume-ready-download-button",dataTestId:"resume-ready-download",size:i$.Mp.default,shouldShowIcon:!1,leadingIcon:(0,J.jsx)(tP.Ay.Download2,{}),label:t.t("builder.resume_editor.resume_ready.download_cta"),menuPosition:"top",menuAlign:"left",handleDownloadDocument:i,handleDownloadButtonMenuOpen:()=>XU("download")})};var XK=i(53404);let Xq=tt.Ay.div(["display:flex;flex-direction:column;flex:1;height:100%;width:100vw;background:",";",""],te.Jy.Neutral5,tQ.A.AbovePhone`
3627    width: 100%;
3628    gap: 16px;
3629    background: none;
3630  `),XG=tt.Ay.div(["position:relative;z-index:0;display:flex;min-height:0;cursor:pointer;width:100%;max-height:45vh;","{display:none;}&::after{content:'';position:absolute;
3630left:0;right:0;bottom:0;height:120px;z-index:1;background:linear-gradient( 180deg,"," 0%,"," 100% );pointer-events:none;}"],XK.z8,(0,ti.j)(te.Jy.Neutral5,0),te.Jy.Neutral5),XZ=tt.Ay.button(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:none;border-radius:50%;color:",";background:",";cursor:pointer;appearance:none;",";"],te.Jy.Blue50,te.Jy.White,tr.q.lightWithBorder.mid),XX=tt.Ay.div(["position:relative;z-index:1;display:flex;flex-direction:column;flex:1;padding:12px 20px 24px;background:",";",""],te.Jy.Neutral5,tQ.A.AbovePhone`
3631    gap: 16px;
3632    padding: 0;
3633    background: none;
3634  `),XQ=tt.Ay.div(["padding:12px 16px;"]),XY=tt.Ay.div(["display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid ",";border-radius:12px;background:",";"],te.Jy.Green40,te.Jy.Green10),X0=(0,tt.Ay)(tP.Ay.Tick)(["flex-shrink:0;color:",";"],te.Jy.Green60),X1=tt.Ay.h2(["margin:0;color:",";",";",";",""],te.Jy.Green70,td.o5.Subhead,td.BO.Medium,tQ.A.AbovePhone`
3635    color: ${te.Jy.Neutral90};
3636  `),X2=tt.Ay.div(["display:flex;align-items:center;gap:8px;margin-top:32px;margin-bottom:20px;color:",";",";",";text-transform:uppercase;letter-spacing:0.04em;&::before,&::after{content:'';flex:1;height:1px;background-color:",";}"],te.Jy.Neutral50,td.o5.Caption,td.BO.Medium,te.Jy.Neutral15),X3=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;flex:1;margin:0 -8px;",""],tQ.A.AbovePhone`
3637    display: grid;
3638    grid-template-columns: repeat(2, 1fr);
3639    align-content: start;
3640    gap: 16px;
3641    margin: 0;
3642    `),X5=tt.Ay.button(["display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid ",";border-radius:12px;background:",";cursor:pointer;appearance:none;text-align:left;&:active{background:",";}"," ",""],te.Jy.Neutral15,te.Jy.White,te.Jy.Neutral5,tQ.A.AbovePhone`
3643    flex-direction: column;
3644    align-items: flex-start;
3645    gap: 24px;
3646    position: relative;
3647    padding: 20px;
3648    border: none;
3649    transition: box-shadow 0.2s ease;
3650    ${tr.q.lightWithBorder.low};
3651  `,tQ.A.Hover`
3652    &:hover {
3653      ${tr.q.lightWithBorder.mid};
3654    }
3655  `),X4=tt.Ay.span(["display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:10px;color:",";background:",";svg{width:24px;height:24px;}"],({$variant:e})=>"secondary"===e?te.Jy.Blue50:te.Jy.Indigo60,({$variant:e})=>"secondary"===e?te.Jy.Blue10:te.Jy.Indigo10),X6=tt.Ay.span(["display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;",""],tQ.A.AbovePhone`
3656    flex: unset;
3657    gap: 4px;
3658  `),X8=tt.Ay.span(["color:",";",";",";"],te.Jy.Neutral90,td.o5.Body,td.BO.Medium),X9=tt.Ay.span(["color:",";",";"],te.Jy.Neutral50,td.o5.Caption),X7=(0,tt.Ay)(tP.Ay.ChevronRight)(["flex-shrink:0;color:",";transition:color 0.2s ease;"," ",""],te.Jy.Neutral40,tQ.A.AbovePhone`
3659    position: absolute;
3660    top: 20px;
3661    right: 20px;
3662    color: ${te.Jy.Neutral70};
3663  `,tQ.A.Hover`
3664    ${X5}:hover & {
3665      color: ${te.Jy.Blue50};
3666    }
3667  `),Qe=tt.Ay.div(["position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;background:",";"],te.Jy.Neutral5),Qt=tt.Ay.div(["display:flex;justify-content:flex-end;padding:12px 16px;"]),Qi=tt.Ay.button(["display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;border-radius:999px;color:",";background:",";cursor:pointer;appearance:none;svg{width:24px;height:24px;}"],te.Jy.Neutral70,te.Jy.Neutral10),Qr=tt.Ay.div(["display:flex;flex:1;min-height:0;overflow-y:auto;"]),Qn=tt.Ay.div(["position:absolute;bottom:16px;right:50%;transform:translateX(50%);display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:8px 12px;border-radius:999px;color:",";background:",";",";z-index:2;"],te.Jy.White,(0,ti.j)(te.Jy.Neutral70,.6),td.o5.Caption),Qo=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:16px;padding:48px 0 68px;"]),Qa=tt.Ay.div(["padding:10px;display:flex;align-items:center;gap:10px;background:",";color:",";border-radius:32px;"],te.Jy.Green10,te.Jy.Green50),Ql="builder.resume_editor.resume_ready",Qs=({document:e,handleTabChange:t,handleAiReview:i})=>{let{i18n:r}=(0,e1.s)(),n=(0,e0.U)()?.features,{isPhone:o}=(0,ih.e)(),[{totalPageNumber:a,currentPageNumber:l},s]=(0,R.useState)({totalPageNumber:0,currentPageNumber:1}),[d,c]=(0,R.useState)(!1);(0,R.useEffect)(()=>{(0,N.xP)("visit_resume_ready")},[]);let u=()=>{XU("preview"),c(!0)},p=()=>{XU("close_preview"),c(!1)};(0,pA.j)(()=>{d&&p()});let h=(e,i)=>()=>{XU(e),t(i)},x=[{key:"edit",icon:(0,J.jsx)(tP.Ay.EditAlt,{}),title:r.t(`${Ql}.actions.edit.title`),description:r.t(`${Ql}.actions.edit.description`),onClick:h("edit","editor"),testId:"resume-ready-action-edit",variant:"secondary"},{key:"design",icon:(0,J.jsx)(tP.Ay.Colors,{}),title:r.t(`${Ql}.actions.design.title`),description:r.t(`${Ql}.actions.design.description`),onClick:h("design","customization"),testId:"resume-ready-action-design",variant:"secondary"}];return n?.rbpAiReview&&x.push({key:"ai_review",icon:(0,J.jsx)(tP.Ay.AiIcon,{}),title:r.t(`${Ql}.actions.ai_review.title`),description:r.t(`${Ql}.actions.ai_review.description`),onClick:()=>{XU("ai_review"),i()},testId:"resume-ready-action-ai-review"}),(0,J.jsxs)(Xq,{"data-testid":"resume-ready-screen",children:[o&&(0,J.jsx)(XQ,{children:(0,J.jsxs)(XY,{"data-testid":"resume-ready-banner",children:[(0,J.jsx)(X0,{}),(0,J.jsx)(X1,{children:r.t(`${Ql}.title`)})]})}),o&&(0,J.jsxs)(XG,{onClick:u,"data-testid":"resume-ready-enlarge-preview",children:[(0,J.jsx)(W$.w,{document:e,hideCustomizeButton:!0,disableMobileZoom:!0,onPaginationChange:({currentPage:e,totalPagesCount:t})=>s({currentPageNumber:e+1,totalPageNumber:t})}),(0,J.jsx)(XZ,{type:"button",onClick:e=>{e.stopPropagation(),u()},"aria-label":r.t(`${Ql}.enlarge_label`),"data-testid":"resume-ready-expand-preview",children:(0,J.jsx)(tP.Ay.FullSize,{})}),!d&&a>0&&(0,J.jsx)(Qn,{"data-testid":"resume-ready-pages-bubble",children:r.t(`${Ql}.page_count`,{total:a,current:l})})]}
3667),(0,J.jsxs)(XX,{children:[!o&&(0,J.jsxs)(Qo,{children:[(0,J.jsx)(Qa,{children:(0,J.jsx)(tP.Ay.CheckLine,{})}),(0,J.jsx)(X1,{children:r.t(`${Ql}.title`)})]}),o&&(0,J.jsx)(XW,{document:e}),(0,J.jsx)(X2,{children:r.t(`${Ql}.section_title`)}),(0,J.jsx)(X3,{children:x.map(e=>(0,J.jsxs)(X5,{type:"button",onClick:e.onClick,"data-testid":e.testId,children:[(0,J.jsx)(X4,{$variant:e.variant??"primary",children:e.icon}),(0,J.jsxs)(X6,{children:[(0,J.jsx)(X8,{children:e.title}),(0,J.jsx)(X9,{children:e.description})]}),(0,J.jsx)(X7,{})]},e.key))})]}),d&&(0,J.jsxs)(Qe,{"data-testid":"resume-ready-preview-overlay",children:[(0,J.jsx)(Qt,{children:(0,J.jsx)(Qi,{type:"button",onClick:p,"aria-label":r.t(`${Ql}.close_preview_label`),"data-testid":"resume-ready-close-preview",children:(0,J.jsx)(tP.Ay.CloseLarge,{})})}),(0,J.jsx)(Qr,{children:(0,J.jsx)(W$.w,{document:e,hideCustomizeButton:!0})})]})]})},Qd=(0,tt.Ay)(zZ.r8)(["flex:1;width:100%;"," ",""],({$autoTailorJob:e})=>`
3668      ${tQ.A.Tablet`
3669        padding: ${e?"0":"0 0 32px"};
3670      `}
3671    `,({$isScrollDisabled:e})=>`
3672      ${e&&(0,tt.AH)(["overflow-y:visible;"])}
3673    `),Qc=tt.Ay.div(({$noPaddingPhone:e=!1})=>(0,tt.AH)(["display:flex;flex-direction:column;width:100%;padding:20px 36px;background-color:",";transition:all 200ms ease-in;padding-bottom:84px;min-height:100%;border-radius:12px 12px 0 0;",";"],te.Jy.White,tQ.A.Phone`
3674        padding: ${e?"0":"0 0 102px"};
3675      `)),Qu=e=>{let{resume:t,addCard:i,moveCard:r,deleteCard:n,updateCard:o,addCustomSection:a,deleteSection:l,renameSection:s,currentSection:d,handleChangeStep:c,handleAIReview:u,onAddCardSubItem:p,onDeleteCardSubItem:h,onSubItemMove:x}=e,{i18n:m}=(0,e1.s)(),g=(0,eU.wA)(),y=(0,e0.U)(),f=!!y?.features?.aiReviewV2,{isResumeReadyStep:b}=Uw(),{isPhone:_,isTablet:v}=(0,ih.e)(),j=(0,eW.N)($.Tp.openedCards),A=(0,R.useCallback)(e=>{g($.o1.setStepByStepFlowState({isResumeReadyShown:!1})),g($.o1.setEditorPanelType(e))},[g]),C=(0,R.useCallback)(()=>{f&&!t.position&&(A("editor"),g($.o1.setOpenedSections({[$.Gw.details]:!0})),XO.A.scrollToAnchor("position"),UO.A.focus("position")),u()},[g,u,A,f,t.position]),w=(0,Wb.a1)(t),k=!!t.templateConfig?.isAts,S=d?.id,T=!!d?.items,P=d?.items?.length||0,E=(0,eW.N)($.Tp.autoTailoringFromJobBoard),L=(d?.items?.length??0)>1&&!_,I=L&&!!d?.items?.every(e=>!!j[S]?.[e.cid||e.id||""]),M=(0,R.useCallback)((e,t)=>!!e&&!!j[t]?.[e],[j]),B=(0,R.useCallback)((e,t)=>{g($.o1.toggleCard({id:e,sectionId:t}))},[g]),D=(0,R.useCallback)((e,t)=>{i((0,Uz.M)(),e,{...t||{},shouldOpen:!0})},[i]);return(0,R.useEffect)(()=>{if(!S||!T)return;let e=JSON.parse(ew.D.getItem(`${U_}_${t.id}`)||"[]");e.includes(S)||0!==P||_||(i((0,Uz.M)(),S,{shouldOpen:!0}),ew.D.setItem(`${U_}_${t.id}`,JSON.stringify([...e,S])))},[i,S,T,P,g,_,t.id]),(0,J.jsx)(Qd,{$autoTailorJob:E.enabled,$isScrollDisabled:v,children:(0,J.jsxs)(Qc,{$noPaddingPhone:b,children:[b&&(0,J.jsx)(Qs,{document:t,handleTabChange:A,handleAiReview:C}),!b&&d&&(d.id===$.Gw.details?k?(0,J.jsx)(Zs,{resume:t,isStepByStepFlow:!0,isFoldable:!1}):(0,J.jsx)(GQ,{resume:t,isStepByStepFlow:!0,isFoldable:!1}):d.id===$.Gw.powerStatement?(0,J.jsx)(Xz.A,{sectionId:$.Gw.powerStatement,isStepByStepFlow:!0,isFoldable:!1}):"aiResumeReview"===d.id?f?(0,J.jsx)(XV,{"data-testid":"ai-resume-review-in-step-by-step-flow"}):(0,J.jsx)(U1,{"data-testid":"ai-resume-review-in-step-by-step-flow"}):d.id===$.Gw.profile?(0,J.jsx)(XD,{sectionId:$.Gw.profile,isStepByStepFlow:!0,isFoldable:!1}):d.id===$.Gw.addAdditionalSection?(0,J.jsx)(X$.a,{customTitle:m.t("builder.resume_editor.step_by_step_editor.sections.add_additional_sections_title"),customDescription:m.t("builder.resume_editor.step_by_step_editor.sections.add_additional_sections_description"),isStepByStepFlow:!0,sections:w,templateConfig:t.templateConfig,onAdd:e=>{c(e),D(e,{scrollIntoViewport:!1,shouldOpen:!0})},onAddCustom:(e,t)=>{c(`custom:${e}`),a(e,t,{scrollIntoViewport:!1})}}):(0,J.jsx)(Wb.wn,{...e,item:d,locale:t.locale,isCardOpen:M,onCardMove:r,onCardDelete:n,onCardChange:o,onCardToggle:B,onDelete:l,onRename:s,onAdd:D,isOpened:!0,isStepByStepFlow:!0,isFoldable:!1,templateConfig:t.templateConfig,position:t.position,onAddCardSubItem:p,onDeleteCardSubItem:h,onSubItemMove:x,canToggleAllCards:L,isAllCardsOpen:I,onToggleAllCards:e=>{g($.o1.toggleAllCardsInSection({sectionId:e})),(0,N.xP)(I?"click_close_all":"click_open_all",{section_id:e})}
3675,toggleAllCardsTopPosition:v?"80px":"16px"}))]})})},Qp=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:100%;"]),Qh=tt.Ay.div(["margin:20px auto;display:flex;justify-content:center;align-items:center;gap:6px;height:6px;",""],tQ.A.Phone`
3676    margin: unset;
3677  `),Qx=tt.Ay.div(["width:",";height:",";border-radius:",";background-color:",";transition:all 0.3s ease;"],e=>e.$isActive?"6px":"4px",e=>e.$isActive?"6px":"4px",e=>e.$isActive?"6px":"4px",e=>e.$isActive?te.Jy.Blue50:te.Jy.Neutral20),Qm=e=>{let{sections:t,currentIndex:i}=e;return(0,J.jsx)(Qp,{children:(0,J.jsx)(Qh,{children:t?.map((e,t)=>(0,J.jsx)(Qx,{$isActive:t===i},`dot-${t}`))})})},Qg=tt.Ay.div(["position:fixed;bottom:0;width:100%;display:flex;flex-direction:column;padding:36px 36px 16px;background-color:",";border-radius:12px 12px 0 0;justify-content:space-between;z-index:1;position:sticky;bottom:0;",""],te.Jy.White,tQ.A.Phone`
3678    padding: 36px 12px ${te.Kz.S};
3679    flex-direction: column;
3680    gap: ${te.Kz.L};
3681  `),Qy=tt.Ay.div(["display:flex;justify-content:center;align-items:center;gap:",";&:empty{display:none;}"],te.Kz.M),Qf=tt.Ay.div(["display:flex;gap:8px;",""],tQ.A.Phone`
3682    flex: 1 1 auto;
3683  `),Qb=tt.Ay.div(["display:flex;width:100%;& > *{flex:1;}"]),Q_=tt.Ay.div(["display:flex;flex-direction:row;justify-content:space-between;width:100%;",""],tQ.A.Phone`
3684    gap: ${te.Kz["2XS"]};
3685    flex-wrap: wrap;
3686  `),Qv=(0,tt.Ay)(i$.JQ)(["",""],tQ.A.Phone`
3687    width: 64px;
3688  `),Qj=(0,tt.Ay)(i$.JQ)(["",""],tQ.A.Phone`
3689    min-width: 80px;
3690  `),QA=(0,tt.Ay)(i$.JQ)(["",""],tQ.A.Phone`
3691    width: -webkit-fill-available;
3692  `),QC=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;width:100%;background-color:#eff2f9;position:absolute;top:0;left:0;"]),Qw=tt.Ay.div(["width:100%;border-bottom:12px solid white;border-radius:0 0 12px 12px;"]),Qk=tt.Ay.div(["width:100%;border-top:12px solid white;border-radius:12px 12px 0 0;"]),QS=e=>{let{handleBack:t,handleNext:i,handleSkipAIReview:r,handleAIReview:n,nextButtonText:o,currentIndex:a,sections:l=[],isBackButtonPassive:s,children:d,isNextActionInProgress:c,currentStep:u,primaryAction:p}=e,{i18n:h}=(0,e1.s)(),{isPhone:x}=(0,ih.e)(),m={currentIndex:a,sections:l},g=(0,eW.N)($.Tp.autoTailoringFromJobBoard);return(0,J.jsxs)(Qg,{children:[(0,J.jsxs)(QC,{children:[(0,J.jsx)(Qw,{}),(0,J.jsx)(Qk,{})]}),(0,J.jsxs)(Q_,{children:[(0,J.jsxs)(Qy,{children:[!s&&(0,J.jsx)(Qv,{onClick:t,size:x?i$.Mp.small:i$.Mp.default,theme:i$.Ox.ghost,children:x?(0,J.jsx)(tP.Ay.ChevronLeft,{}):h.t(`${Uf}.navigation_container.back_button_text`)}),!x&&!!l.length&&(0,J.jsx)(Qm,{...m})]}),!x&&d,p?(0,J.jsx)(Qb,{children:p}):"aiResumeReview"===u?(0,J.jsxs)(Qf,{children:[(0,J.jsx)(Qj,{size:x?i$.Mp.small:i$.Mp.default,onClick:r,theme:"ghost","data-testid":"step-by-step-skip-review-button",children:h.t(`${Uf}.navigation_container.skip`)}),(0,J.jsx)(QA,{size:x?i$.Mp.small:i$.Mp.default,onClick:n,theme:"alternative",leadingIcon:(0,J.jsx)(tP.Ay.FeaturedRegular,{}),"data-testid":"step-by-step-get-review-button",children:h.t(`${Uf}.navigation_container.get_review`)})]}):(0,J.jsx)(Qf,{children:(0,J.jsx)(QA,{size:x?i$.Mp.small:i$.Mp.default,onClick:i,isLoading:c,disabled:c,"data-testid":"step-by-step-flow-next-button",children:o})}),x&&d]}),x&&!!l.length&&(0,J.jsx)(Qm,{...m}),g.enabled&&x&&(0,J.jsx)(WA,{})]})},QT=(0,tt.Ay)(zZ.r8)(["padding-top:4px;display:flex;flex-flow:column;flex:auto;"," ",""],tQ.A.AboveTablet`
3693    > *:last-child {
3694      flex: auto;
3695    }
3696  `,tQ.A.Tablet`
3697    overflow-y: visible;
3698  `),QP=tt.Ay.div(["padding-top:4px;display:flex;height:100%;flex:auto;"]),QJ=(0,tt.Ay)(e=>{let{isHeaderFullBorderRadius:t,className:i,scorePanelTopOffsetPx:r}=e,n=(0,eW.N)($.Tp.stepByStepFlowCurrentStep),o=(0,eW.N)($.Tp.resume),a=(0,L.g)(),l=a.id&&parseInt(a.id)||0,{handleBack:s,handleNext:d,nextButtonText:c,currentIndex:u,sections:p,isBackButtonPassive:h,scoreImprovementSuggestion:x,handleSuggestionClick:m,resumeScore:g,currentSection:y,handleChangeStep:f,handleAIReview:b,handleSkipAIReview:_}=Wj(),{isRbpStepFlowActive:v,isResumeReadyStep:j}=Uw(),{isPhone:A}=(0,ih.e)();return(0,R.useEffect)(()=>{let e=n===$.Gw.workExperiences?Ub:Uy()(n);v&&n&&o?.id&&o?.id===l&&(0,N.xP)("visit_resume_editor",{resume_id:o?.id,step:e,editor:"step_by_step"})},[v,n]),(0,J.jsxs)(Xf,{"data-testid":"step-by-step-flow-container",className:i,children:[!j&&(0,J.jsx)(XE,{suggestion:x,handleSuggestionClick:m,points:g,isHeaderFullBorderRadius:t,top:r}),(0,J.jsx)(Qu,{...e,currentSection:y,handleChangeStep:f,handleAIReview:b}),j?!A&&(0,J.jsx)(QS,{currentIndex:u,isBackButtonPassive:!0,primaryAction:(0,J.jsx)(XW,{document:e.resume})}):(0,J.jsx)(QS,{handleBack:s,handleNext:d,handleSkipAIReview:_,handleAIReview:b,nextButtonText:c,currentIndex:u,sections:p,isBackButtonPassive:h,currentStep:n})]})})(["flex:auto;height:unset;"]),QE=(0,tt.Ay)(Zt.ay)(["align-self:center;position:relative;margin-top:-18px;margin-bottom:-18px;z-index:5;"]),QR=e=>{let t,i,r,n,o,a,{canScrollBottom:l,handleDownloadDocument:s,handleShareDocument:d}=e,{isRbpStepFlowActive:c}=Uw(),u=(0,eU.wA)(),p=(0,eW.N)($.Tp.autoTailoringFromJobBoard),h=(0,eW.N)(O.Tp.levels),x=(0,eW.N)($.Tp.resume),m=(0,eW.N)($.Tp.editorPanelType),{isAboveTablet:g}=(0,ih.e)(),{i18n:y}=(0,e1.s)(),{canToggleAllSections:f,areAllSectionsCollapsed:b,toggleAllSections:_}=(t=(0,eU.wA)(),i=(0,eW.N)($.Tp.resume),r=(0,eW.N)($.Tp.openedSections),o=(n=(0,R.useMemo)(()=>i?(0,GY.k9)(i):[],[i])).length>0&&n.every(e=>!1===r[e]),a=(0,R.useCallback)(()=>{t($.o1.setOpenedSections(Object.fromEntries(n.map(e=>[e,o])))),(0,N.xP)(o?"click_expand_all_sections":"click_collapse_all_sections")},[o,t,n]),{canToggleAllSections:n.length>0,areAllSectionsCollapsed:o,toggleAllSections:a}),v=!p.enabled,j=p.enabled&&!c,A=(0,R.useCallback)((e,t,i)=>{u($.o1.updateSimpleField({name:e,value:t,debounce:i}))},[u]),C=(e,t,i,r,n)=>u($.o1.updateCard({sectionId:e,cardId:t,values:i,debounce:r,isCustom:n})),w=(e,t,i)=>u($.o1.addCard({sectionName:t,cardId:e,options:i})),k=(e,t,i=!1)=>
3698u($.o1.deleteCard({sectionName:t,cardId:e,isCustom:i})),S=(e,t,i)=>u($.o1.addCustomSection({externalId:e,type:t,options:i})),T=e=>u($.o1.moveCard(e)),P=e=>u($.o1.moveSection(e)),E=(e,t)=>u($.o1.deleteSection({id:e,options:{...t}})),L=e=>u($.o1.renameSection({...e})),I=(e,t)=>u($.o1.addCardSubItem({sectionName:t,cardId:e})),M=(e,t,i)=>u($.o1.deleteCardSubItem({sectionName:t,cardId:i,subItemId:e})),B=e=>u($.o1.moveCardSubItem(e)),D=!!x?.templateConfig?.isAts;return x?c?(0,J.jsx)(QP,{"data-testid":"edit-content-step-by-step-container",children:(0,J.jsx)(QJ,{resume:x,updateCard:C,addCard:w,addCustomSection:S,deleteCard:k,moveCard:T,moveSection:P,levels:h,updateSimpleField:A,renameSection:L,deleteSection:E,onAddCardSubItem:I,onDeleteCardSubItem:M,onSubItemMove:B,isHeaderFullBorderRadius:!0})}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(QT,{"data-testid":"edit-content-container",children:[j&&(0,J.jsx)(Ze,{children:(0,J.jsx)(VC,{})}),v&&(0,J.jsx)(Zo,{}),f&&(0,J.jsxs)(QE,{onClick:_,children:[b?y.t("builder.resume_editor.expand_all_sections"):y.t("builder.resume_editor.collapse_all_sections"),(0,J.jsx)(Zt.NQ,{$isOpen:!b})]}),x.sectionsOrder.includes($.Gw.metadata)&&(0,J.jsx)(Vn.Ay,{id:$.Gw.metadata,scrollOffsetTop:70,children:(0,J.jsx)(G4,{resume:x,onDelete:E})}),(0,J.jsx)(Vn.Ay,{id:$.Gw.details,scrollOffsetTop:70,children:D?(0,J.jsx)(Zs,{resume:x}):(0,J.jsx)(GQ,{resume:x})}),(0,J.jsx)(Wb.Ay,{resume:x,updateCard:C,addCard:w,addCustomSection:S,deleteCard:k,moveCard:T,moveSection:P,levels:h,updateSimpleField:A,renameSection:L,deleteSection:E,addCardSubItem:I,deleteCardSubItem:M,moveCardSubItem:B}),!g&&(0,J.jsxs)(R1,{isFooterShadowVisible:l,children:[("editor"===m||"ai_review"===m)&&(0,J.jsx)(Xy,{}),p.enabled?(0,J.jsx)(WA,{}):(0,J.jsx)(R6,{handleDownloadDocument:s,handleShareDocument:d,shouldShowIcon:!1,menuPosition:"top"})]})]}),g&&("editor"===m||"ai_review"===m)&&(0,J.jsx)(Xy,{})]}):null},QL=tt.Ay.div(["display:flex;flex-direction:column;gap:",";background-color:",";border-radius:12px;padding:32px 36px 108px;flex:auto;",""],te.Kz.M,te.Jy.White,tQ.A.Phone`
3699    padding: 24px 16px 70px;
3700  `),QN=tt.Ay.div(["display:flex;justify-content:space-between;",""],tQ.A.Phone`
3701    flex-direction: column;
3702    gap: 12px;
3703  `),QI=tt.Ay.h2(["",";font-weight:",";color:",";"],te.o5.sizes.Subhead,te.o5.weights.medium,te.Jy.Neutral90),QM=tt.Ay.p([""," color:",";"],te.o5.sizes.Body,te.Jy.Neutral50),QB=(0,tt.Ay)(i3.N_)([""," font-weight:",";cursor:pointer;color:",";"],te.o5.sizes.Body,te.o5.weights.medium,te.Jy.Blue50);te.Jy.Blue50,te.Jy.Neutral50,te.Kz.S;let QD=tt.Ay.div(["position:relative;"]),Q$=tt.Ay.div(["display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center;background-color:",";padding:48px 0px;text-align:center;",""],te.Jy.White,tQ.A.Phone`
3704    padding: 32px 0;
3705  `),QO=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["2XS"]),Qz=tt.Ay.div(["display:flex;justify-content:center;",""],tQ.A.Phone`
3706    width: 100%;
3707  `),QF=(0,tt.Ay)(i$.JQ).attrs({theme:i$.Ox.default})(["display:block;width:auto;margin:auto;padding:16px 24px;color:",";background-color:",";border-radius:12px;border:none;cursor:pointer;transition:color 0.15s;&:hover{color:",";background-color:",";}",""],te.Jy.Neutral50,te.Jy.Neutral5,te.Jy.Blue50,te.Jy.Blue10,tQ.A.Phone`
3708    width: 100%;
3709    margin-top: -12px;
3710  `),QH=tt.Ay.div(["border-radius:12px;background:linear-gradient(180deg,"," 0%,rgba(247,249,252,0) 323.53%);height:136px;"],te.Jy.Neutral5),QV="builder.dashboard.recommended_jobs_widget",QU=R.memo(({selectedJob:e,onSelectJob:t})=>{let[i,r]=(0,R.useState)(!1),{i18n:n}=(0,e1.s)(),o=(0,L.Zp)(),a=(0,eU.wA)(),{viewedJobs:l,addViewedJob:s}=Po(),{isTablet:d,isPhone:c,isAboveTablet:u}=(0,ih.e)(),{invalidate:p}=(0,sz.R)(),{careerProfileData:h}=(0,eG.B)(),{isUserOnAutoApplyPlan:x,hasUserCompletedQuestionnaire:m}=(0,ck.J)(),g=(0,sz.M)(!0,x&&!!m),y=(0,R.useMemo)(()=>{if(!g.isError||!g.error)return null;let e=g.error,t=e.response?.data?.missing_attributes||[];return(0,bs.H)(t)},[g.isError,g.error]),f=(0,R.useMemo)(()=>bu(y),[y]),b=(0,R.useMemo)(()=>g.error&&y?[1,2,3]:[],[g.error,y]),_=(0,R.useMemo)(()=>g.error?[]:g.data?.jobs.slice(0,d?5:c?4:8)||[],[g.error,g.data?.jobs,d,c]),v=_[0],j=(0,R.useMemo)(()=>!h?.targetLocations?.length&&!g.data?.stats.location_from_resume,[h,g.data?.stats]);return(0,R.useEffect)(()=>{a(K.o1.fetchJobsRequest())},[a]),(0,R.useEffect)(()=>{!g.isLoading&&g.data&&!g.isError&&h&&(0,N.xP)("job_results",{label:"resume_editor",term:h?.targetRoles.map(e=>e.standardTitle).join(";"),location:h?.targetLocations.map(e=>e.formattedName).join(";"),location_from_resume:g.data.stats.location_from_resume,target_role_from_resume:g.data.stats.target_role_from_resume,total_jobs:g.data.stats.total_jobs})},[g.isLoading,g.isError,g.data,h]),(0,R.useEffect)(()=>{u&&t&&!e&&v&&t(v)},[v,u,t,e]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(QL,{id:"resume-editor-recommended-jobs","data-testid":"recommended-jobs-container",children:[(0,J.jsxs)(QN,{children:[(0,J.jsx)(QI,{"data-testid":"recommended-jobs-header",children:n.t("builder.resume_editor.recommended_jobs.title")}),!g.isLoading&&!y&&(0,J.jsxs)(QM,{"data-testid":"recommended-jobs-info",children:[n.t(`${QV}.info`)," ",(0,J.jsx)(QB,{"data-testid":"profile-link",to:"/career-profile/profile",onClick:()=>{(0,N.xP)("click_profile",{label:"resume_editor"})},children:n.t(`${QV}.profile`)})]})]}),(0,J.jsxs)(QD,{children:[g.isLoading&&(0,J.jsx)(bl.A,{"data-testid":"loader"}),!g.isLoading&&!!b?.length&&(0,J.jsx)(QO,{children:b.map(e=>(0,J.jsx)(QH,{},e))}),!g.isLoading&&!!_?.length&&(0,J.jsxs)(QO,{children:[!!g?.data?.jobs?.length&&(j||!!y)&&(0,J.jsx)(PD,{onClick:()=>r(!0)},"no-location"),_.map((i,r)=>(0,J.jsx)(Pw,{card:i,viewedJobs:l,handleClick:()=>{(0,N.xP)("recommended_jobs_click",{label:"job_post_click",term:h?.targetRoles.map(e=>e.standardTitle).join(";"),location:h?.targetLocations.map(e=>e.formattedName).join(";")}),s(i.external_slug_id),t?t(i):window.open(`/app/job-search?view=recommendation&external_slug_id=${i.external_slug_id}`,"_blank")},isSelected:i.external_slug_id===e?.external_slug_id},r))]}),g.isError&&!!y&&(0,J.jsx)(f,{"data-testid":"recommendations-error",analyticEventsLabel:"resume_editor"}),!g.isLoading&&!_?.length&&!y&&(0,J.jsx)(bd.V,{CustomContainer:Q$,handleSearch:()=>{o("/job-search?view=search")},showExtension:!1})]}),!g.isLoading&&!!_?.length&&!y&&(0,J.jsx)(Qz,{children:(0,J.jsx)(QF,{"data-testid":"see-all-recommendations-button",onClick:()=>{(0,N.xP)("recommended_jobs_click",{label:"see_all",term:h?.targetRoles.map(e=>e.standardTitle).join(";"),location:h?.targetLocations.map(e=>e.formattedName).join(";")}),o("/job-search?view=recommendation")},children:n.t(`${QV}.button`)})})]}),i&&(0,J.jsx)(bp.L,{afterSetLocationHandler:()=>{p()},closeHandler:()=>r(!1)})]})});var QW=i(3773),QK=i(99180);let Qq=(0,tt.Ay)(zZ.r8)(["background:",";padding:0 4px;height:100%;",""],te.Jy.Neutral10,tQ.A.Tablet`
3711    padding: 0;
3712  `),QG=tt.Ay.div(["background:",";border-radius:12px;min-height:100%;margin:4px 0;",""],te.Jy.White,tQ.A.Tablet`
3713    margin: 0;
3714  `),QZ=tt.Ay.div(["display:flex;gap:8px;margin:0 -32px;padding:"," 32px ",";background:",";z-index:1;"," & > *{flex:1 1 33.3%;}"],te.Kz.M,te.Kz.S,te.Jy.White,tQ.A.AboveTablet`
3715    position: sticky;
3716    top: 0;
3717  `),QX=({job:e,onBack:t,canScrollBottom:i})=>{let{i18n:r}=(0,e1.s)(),{isAboveTablet:n}=(0,ih.e)(),{tryToStartAnalysis:o}=U$(),a=(0,R.useCallback)(()=>{(0,QK.V)(e.url),(0,N.xP)("apply_for_job",{title:e.job_title,position:e.position,parameter:"recommendation",label:"resume_builder"})},[e]),l=(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(i$.JQ,{onClick:o,children:r.t("builder.auto_tailoring.tailor_for_this_job")}),(0,J.jsx)(i$.JQ,{theme:i$.Ox.secondary,onClick:a,children:r.t("builder.job_search.auto_apply.action_buttons.apply")})]});return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Qq,{children:(0,J.jsx)(QG,{children:(0,J.jsx)(QW.A,{job:e,goBack:t,customActionButtons:(0,J.jsx)(QZ,{children:l}),hideActionButtons:!n})})}),!n&&(0,J.jsx)(R1,{isFooterShadowVisible:i,children:l})]})},QQ=(0,tt.Ay)(zZ.r8)(["display:flex;flex-direction:column;gap:4px;flex:auto;padding-top:4px;",""],tQ.A.Tablet`
3718    overflow-y: visible;
3719  `),QY=e=>{let{canScrollBottom:t,selectedJob:i,onSelectJob:r,onBack:n}=e,{isAboveTablet:o}=(0,ih.e)();return(0,J.jsxs)(QQ,{"data-testid":"tailor-content-wrapper",children:[!
3719o&&i?(0,J.jsx)(QX,{job:i,onBack:n,canScrollBottom:t}):(0,J.jsx)(LU,{canScrollBottom:t,children:(0,J.jsx)(QU,{selectedJob:i,onSelectJob:r})}),(0,J.jsx)(Xy,{})]})};var Q0=i(17232);let Q1=tt.Ay.div(["position:sticky;top:0;background-color:",";z-index:2;"],te.Jy.White),Q2=(0,tt.Ay)(am.Ay)(["justify-content:center;padding:0 ",";","{height:3px;}"],te.Kz.L,Q0.Bq),Q3=(0,tt.Ay)(am.oz)(["align-items:center;text-align:center;margin-right:0;padding:16px 0;flex:1;",""],e=>e.isActive&&(0,tt.AH)(["font-weight:",";"],te.o5.weights.medium)),Q5=e=>{let{activeTab:t,onTabChange:i,items:r,...n}=e,{i18n:o}=(0,e1.s)();return(0,J.jsx)(Q1,{...n,children:(0,J.jsx)(Q2,{children:r.map(e=>(0,J.jsx)(Q3,{onClick:()=>{var r;(r=e.id)!==t&&i(r)},isActive:t===e.id,"data-testid":e.dataTestId,children:(0,J.jsx)("span",{children:o.t(e.translationKey)})},e.id))})})};var Q4=i(55030);let Q6=()=>{let e=(0,eW.N)(Z.Tp.userData)?.id;return(0,Q4.M)(`TEMPLATES_SELECTED_CATEGORY_${e??"GUEST"}`,$.Bh.all)},Q8=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;gap:",";padding:",";border-radius:",";background:",";"],te.Kz.XS,te.Kz.S,te.Kz["2XS"],te.Jy.Blue10),Q9=tt.Ay.div(["",";color:",";b{font-weight:",";}"],te.o5.sizes.Caption,te.Jy.Blue80,te.o5.weights.demibold),Q7=(0,tt.Ay)(i$.JQ).attrs({size:"small"})([""]),Ye="builder.resume_editor.design_tab.customizable_banner",Yt=({currentTemplate:e,onBrowseTemplates:t})=>{let{i18n:i}=(0,e1.s)(),[,r]=Q6();return!e||e.isNewTemplate?null:(0,J.jsxs)(Q8,{"data-testid":"customizable-templates-banner",children:[(0,J.jsx)(Q9,{dangerouslySetInnerHTML:{__html:sJ.A.sanitize(i.t(`${Ye}.text`))}}),(0,J.jsx)(Q7,{onClick:()=>{r($.Bh.customized),t()},"data-testid":"customizable-templates-banner-cta",children:i.t(`${Ye}.cta`)})]})};var Yi=i(86555);let Yr=(0,tt.AH)(["background-color:",";svg{fill:",";}"],te.Jy.Neutral10,te.Jy.Neutral40),Yn=tt.Ay.div(["position:absolute;z-index:1;transform:translateX(-50%);width:24px;height:32px;border-radius:8px;margin:0;padding:0;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center;background-color:",";left:",";box-shadow:",";&:hover{background-color:",";box-shadow:",";svg{fill:",";}}&:active{background-color:",";svg{fill:",";}}",""],te.Jy.White,({$position:e})=>`clamp(12px, ${e}%, calc(100% - 12px))`,te.qd.lightWithBorderShadowLow,te.Jy.Blue10,te.qd.lightWithBorderShadowMid,te.Jy.Blue50,te.Jy.Blue20,te.Jy.Blue60,({$disabled:e})=>e&&(0,tt.AH)(["cursor:not-allowed;"," &:hover{","}&:active{","}"],Yr,Yr,Yr)),Yo=(0,tt.Ay)(Yi.A)(["position:relative;height:8px;width:100%;display:flex;align-items:center;border-radius:12px 0 0 12px;& .rc-slider-rail{position:absolute;height:8px;left:0;top:50%;width:100%;margin-top:-3px;background-color:",";border-radius:3px;}& .rc-slider-track{position:absolute;left:0;top:50%;height:8px;margin-top:-3px;background-color:",";border-radius:3px;}& .rc-slider-mark{margin-top:-14px;& .rc-slider-mark-text{&:last-child{left:calc(100% - 8px) !important;}}}",""],te.Jy.Neutral15,te.Jy.Blue50,({disabled:e})=>e&&(0,tt.AH)(["& .rc-slider-track{background-color:",";}"],te.Jy.Neutral15)),Ya=tt.Ay.div(["position:absolute;cursor:pointer;width:8px;height:16px;border-radius:12px;background-color:",";"],({$isActive:e})=>e?te.Jy.Blue50:te.Jy.Neutral15),Yl=e=>{let{disabledTooltip:t,withMarks:i,showDefaultSegment:r=!0,...n}=e;return(0,J.jsx)(Yo,{...n,handleRender:(i,r)=>{let{min:o=0,max:a=100}=e,l=a===o?0:(r.value-o)/(a-o)*100,s=!!(n.disabled&&t);return(0,J.jsx)(aH.QP,{value:t,width:250,multiline:!0,position:"top",isActive:s,children:(0,J.jsx)(Yn,{...r,$position:l,$disabled:n.disabled,"data-testid":"slider-handle",children:(0,J.jsx)(tP.EK.Drag,{})})})},marks:(()=>{if(!i&&!r)return;let{min:e=0,max:t=100,step:o,value:a,defaultValue:l}=n,s={};for(let d=e;d<=t;d+=o||1){let e=!n.disabled&&d<=(a||0),t=(0,J.jsx)(Ya,{$isActive:e,"data-testid":"slider-mark"}),o=Number(d.toFixed(2))===Number(l?.toFixed(2))?t:(0,J.jsx)("span",{});s[d]={style:{position:"absolute"},label:i?t:r?o:t}}return s})()})},Ys=tt.Ay.div(["display:flex;align-items:center;gap:16px;padding:2px 0;height:36px;",""],tQ.A.Phone`
3720    gap: 0;
3721    height: unset;
3722    flex-direction: column;
3723    align-items: flex-start;
3724  `),Yd=tt.Ay.div(["max-width:193px;width:100%;"]),Yc=tt.Ay.p(["",";font-weight:",";"],te.o5.sizes.Caption,te.o5.weights.regular),Yu=tt.Ay.div(["flex:1;"]),Yp=tt.Ay.p(["",";font-weight:",";"],te.o5.sizes.Body,te.o5.weights.regular),Yh=tt.Ay.div(["width:72px;display:flex;align-items:center;justify-content:center;padding:6px 8px;border-radius:8px;background-color:",";","{color:",";}"],({disabled:e})=>e?te.Jy.Neutral15:te.Jy.Neutral10,Yp,({disabled:e})=>e?te.Jy.Neutral50:te.Jy.Neutral90),Yx=tt.Ay.div(["flex:1;display:flex;align-items:center;gap:16px;padding:2px 0;height:36px;width:100%;"]),Ym=e=>{let{name:t,unit:i,displayValue:r,onChange:n,dataTestId:o,...a}=e,l=(()=>
3724{if(r)return r;if("%"===i){let e=100+50*a.value;return`${Math.round(e)}%`}let t=a.value%1==0?a.value.toString():a.value.toFixed(e.decimalNofDigits??2);return i?`${t} ${i}`:t})();return(0,J.jsxs)(Ys,{"data-testid":o,"data-value":a.value,"data-value-prettified":l,children:[(0,J.jsx)(Yd,{children:(0,J.jsx)(Yc,{children:t})}),(0,J.jsxs)(Yx,{children:[(0,J.jsx)(Yu,{children:(0,J.jsx)(Yl,{onChange:n,...a})}),(0,J.jsx)(Yh,{disabled:a.disabled,children:(0,J.jsx)(Yp,{children:l})})]})]})};var Yg=i(48707);let Yy={fontSizePrimaryHeading:{default:14,min:7,max:21,step:1},fontSizeSecondaryHeading:{default:12,min:6,max:18,step:1},fontSizeBody:{default:10,min:5,max:15,step:1},fontSizeSectionTitles:{default:12,min:6,max:18,step:1}},Yf="builder.resume_editor.document_customization.sidebar.text_tab",Yb="builder.resume_editor.design_tab.text",Y_={primaryFontWeight:"regular",secondaryFontWeight:"regular",bodyFontWeight:"regular",sectionTitlesFontWeight:"regular"};var Yv=i(70738),Yj=i(91023);let YA=e=>{let t=(0,eW.N)(t=>O.Tp.templatesByType(t,e?.type)).find(t=>t.id===e?.template),i=t?.settings??void 0,r=t?.supportsFontSizing,n=t?.supportsSpacing,o=t?.supportsNewCustomization,a=(0,cR.PI)(e)?e?.templateSettings?.[(0,Yv.x)(e?.template)]:void 0,l=(0,cR.PI)(e)?e?.spacing:0,s=(0,R.useCallback)(e=>(Array.isArray(e)?e:Object.values(e)).map(({id:e,name:t})=>({id:e,name:t})),[]),d=(0,R.useCallback)(t=>{let r=e?.template;if(!r)return[];let n=i?.font?.[t],o=Yj.p[r]?.[t];return n?s(n):o?[o]:[]},[s,e?.template,i?.font]),c=(0,R.useCallback)(t=>{let i=e?.template;return i?"templateConfig"in e?a?.[`${t}Font`]??e.templateConfig?.settings?.[`${t}Font`]??Yj.p[i]?.[t]?.id:a?.[`${t}Font`]??Yj.p[i]?.[t]?.id:null},[a,e?.template]),u=(0,R.useMemo)(()=>d("primary"),[d]),p=(0,R.useMemo)(()=>d("secondary"),[d]),h=(0,R.useMemo)(()=>d("tertiary"),[d]),x=(0,R.useMemo)(()=>({primary:c("primary"),secondary:c("secondary"),tertiary:c("tertiary")}),[c]),m=!!(i?.font&&t?.supportsNewCustomization),g=(0,R.useCallback)(()=>{},[]),y=(0,R.useMemo)(()=>o?a?.lineSpacing||0:l||0,[l,a?.lineSpacing,o]),f=(0,R.useMemo)(()=>o&&a?.fontSize||0,[a?.fontSize,o]);return{primaryFonts:u,secondaryFonts:p,tertiaryFonts:h,isPrimaryFontCustomizationEnabled:m,isSecondaryFontCustomizationEnabled:m,isTertiaryFontCustomizationEnabled:m,supportsFontSizing:r,selectedPrimaryFont:x.primary,selectedSecondaryFont:x.secondary,selectedTertiaryFont:x.tertiary,spacing:y,handleChangeLineSpacing:g,supportsSpacing:n,size:f}},YC=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),Yw=tt.Ay.h3(["",";font-weight:",";color:",";",""],te.o5.sizes.Caps,te.o5.weights.demibold,te.Jy.Neutral50,tQ.A.Phone`
3725    text-align: center;
3726  `);te.Jy.Neutral15;let Yk=({document:e,handleSettingsFieldChange:t})=>{let{i18n:i}=(0,e1.s)(),{size:r,supportsFontSizing:n}=YA(e);return(0,J.jsx)(YC,{children:(0,J.jsx)(Ym,{withMarks:!0,min:0,max:1,step:.5,unit:"%",value:r,defaultValue:r,onChange:e=>{t?.("fontSize",e,r)},disabled:!n,displayValue:{0:"S",.5:"M",1:"L"}[r],name:i.t(`${Yb}.font_size.title`),disabledTooltip:i.t(`${Yb}.font_size.disabled_tooltip`),dataTestId:"size-slider-container"})})},YS=e=>{let{document:t,currentTemplate:i,updateTemplateSettings:r}=e,n=i?.supportsFontSizesCustomization,{i18n:o}=(0,e1.s)(),{primaryFontSize:a,secondaryFontSize:l,bodyFontSize:s,sectionTitleFontSize:d,getFontSizeLabel:c,handleSettingsFieldChange:u}=(e=>{let{document:t,updateTemplateSettings:i}=e,{i18n:r}=(0,e1.s)(),n=(e,t)=>{i({settingsName:e,value:t})},{getFontSizeField:o}=function(e,t){let{currentTemplate:i,resumeSpecificTemplateSettings:r}=(0,Yg.z)(e);return{getFontSizeField:e=>{let n=r?.[e],o=i?.settings?.[e],a=Yy[e];return{value:n??o?.default??a.default,defaultValue:o?.default??a.default,min:o?.min??a.min,max:o?.max??a.max,step:o?.step??a.step,onChange:i=>{t?.(e,i,o?.default??a.default)}}}}}(t,n),a=o("fontSizePrimaryHeading"),l=o("fontSizeSecondaryHeading"),s=o("fontSizeBody");return{primaryFontSize:a,secondaryFontSize:l,bodyFontSize:s,sectionTitleFontSize:o("fontSizeSectionTitles"),getFontSizeLabel:e=>{switch(e){case"fontSizePrimaryHeading":return r.t(`${Yf}.primary_heading_label`);case"fontSizeSecondaryHeading":return r.t(`${Yf}.secondary_heading_label`);case"fontSizeBody":return r.t(`${Yf}.body_label`);case"fontSizeSectionTitles":return r.t(`${Yf}.section_titles_label`)}},handleSettingsFieldChange:n}})({document:t,updateTemplateSettings:r});return n?(0,J.jsxs)(YC,{"data-testid":"font-size-container",children:[(0,J.jsx)(Yw,{children:o.t(`${Yb}.font_size.title`)}),[{key:"fontSizePrimaryHeading",data:a},{key:"fontSizeSecondaryHeading",data:l},{key:"fontSizeBody",data:s},{key:"fontSizeSectionTitles",data:d}].map(e=>(0,J.jsx)(Ym,{unit:"pt",disabled:!1,name:c(e.key),value:e.data.value,defaultValue:e.data.defaultValue,onChange:e.data.onChange,min:e.data.min,max:e.data.max,step:e.data.step,decimalNofDigits:1,dataTestId:`${e.key}-slider-container`},e.key))]}):(0,J.jsx)(Yk,{document:t,handleSettingsFieldChange:u})};var YT=i(19195),YP=i(33637);te.Jy.Neutral90,te.o5.sizes.Caption,td.BO.Regular;let YJ=tt.Ay.div(["flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:",";width:100%;"],te.Kz["3XS"]),YE=tt.Ay.p(["color:",";",";",";"],te.Jy.Neutral50,te.o5.sizes.Caption,td.BO.Regular),YR=(0,tt.Ay)(YP.A)(["width:100%;margin-bottom:unset;border-radius:4px;button{svg{fill:",";}&:hover{svg{fill:",";}}}"],te.Jy.Neutral50,te.Jy.Blue50),YL=e=>{let{label:t,options:i,selected:r,onSelect:n,disabledTooltip:o,dataTestId:a,...l}=e;return(0,J.jsx)(YT.Q,{value:o,width:250,multiline:!0,position:"bottom",isActive:!!o&&l.disabled,children:(0,J.jsxs)(YJ,{"data-testid":a,children:[t&&(0,J.jsx)(YE,{
3726children:t}),(0,J.jsx)(YR,{options:i,selected:r,onSelect:n,...l})]})})},YN=tt.Ay.div(["display:flex;gap:16px;align-items:center;",""],tQ.A.Phone`
3727    gap: 4px;
3728    flex-direction: column;
3729    align-items: flex-start;
3730  `),YI=tt.Ay.div(["max-width:193px;width:100%;"]),YM=tt.Ay.p(["color:",";",";",";"," ",""],te.Jy.Neutral90,te.o5.sizes.Caption,td.BO.Regular,e=>e.$isDisabled&&(0,tt.AH)(["color:",";"],te.Jy.Neutral50),tQ.A.Phone`
3731    color: ${te.Jy.Neutral50};
3732  `),YB=tt.Ay.div(["flex:1;width:100%;"]),YD=e=>{let{name:t,...i}=e;return(0,J.jsxs)(YN,{children:[(0,J.jsx)(YI,{children:(0,J.jsx)(YM,{$isDisabled:e.disabled,children:t})}),(0,J.jsx)(YB,{children:(0,J.jsx)(YL,{...i})})]})},Y$={error:{icon:te.Jy.Red50,text:te.Jy.Red80,background:te.Jy.Red10},info:{icon:te.Jy.Blue50,text:te.Jy.Blue80,background:te.Jy.Blue10},success:{icon:te.Jy.Green50,text:te.Jy.Green80,background:te.Jy.Green10},warning:{icon:te.Jy.Orange50,text:te.Jy.Orange80,background:te.Jy.Orange10}},YO=tt.Ay.div(["margin:-2px 2px 0 0;"]),Yz=tt.Ay.div([""]),YF=tt.Ay.div([""," ",""],td.Ay.Caption,td.BO.Regular),YH=(0,tt.Ay)(tP.EK.InfoRegular)(["fill:transparent;color:",";"],Y$.info.icon),YV=(0,tt.Ay)(tP.EK.Complitness)(["color:",";"],Y$.success.icon),YU=(0,tt.Ay)(tP.EK.WarningCircle)(["color:",";"],Y$.warning.icon),YW=(0,tt.Ay)(tP.EK.RejectIcon)(["color:",";"],Y$.error.icon),YK=tt.Ay.div(["display:flex;padding:16px;border-radius:8px;background:",";","{color:",";}"],({$type:e})=>Y$[e].background,YF,({$type:e})=>Y$[e].text),Yq={info:(0,J.jsx)(YH,{}),success:(0,J.jsx)(YV,{}),warning:(0,J.jsx)(YU,{}),error:(0,J.jsx)(YW,{})},YG=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),YZ=tt.Ay.h3(["",";font-weight:",";color:",";",""],te.o5.sizes.Caps,te.o5.weights.demibold,te.Jy.Neutral50,tQ.A.Phone`
3733    text-align: center;
3734  `),YX=(0,tt.Ay)(({type:e,text:t,...i})=>(0,J.jsxs)(YK,{$type:e,...i,children:[(0,J.jsx)(YO,{children:Yq[e]}),(0,J.jsx)(Yz,{children:(0,J.jsx)(YF,{children:t})})]}))(["gap:8px;margin:4px 0;padding:12px;"]),YQ=e=>{let{currentTemplate:t,resumeSpecificTemplateSettings:i,updateTemplateSettings:r}=e,{i18n:n}=(0,e1.s)(),{options:o,onSelectFontWeight:a,getFontWeightLabel:l,primarySelected:s,secondarySelected:d,bodySelected:c,sectionTitlesSelected:u}=(e=>{let{i18n:t}=(0,e1.s)(),{currentTemplate:i,resumeSpecificTemplateSettings:r,updateTemplateSettings:n}=e,o=i?.settings?.fontWeights||[],a=e=>{let t=i?.settings?.[e],n=r?.[e],o=Y_[e];return n||t||o},l=a("primaryFontWeight"),s=a("secondaryFontWeight");return{options:o,bodySelected:a("bodyFontWeight"),primarySelected:l,secondarySelected:s,sectionTitlesSelected:a("sectionTitlesFontWeight"),onSelectFontWeight:(e,t)=>{"string"!=typeof t||(a(e),n({settingsName:e,value:t}))},getFontWeightLabel:e=>{switch(e){case"primaryFontWeight":return t.t(`${Yf}.primary_heading_label`);case"secondaryFontWeight":return t.t(`${Yf}.secondary_heading_label`);case"bodyFontWeight":return t.t(`${Yf}.body_label`);case"sectionTitlesFontWeight":return t.t(`${Yf}.section_titles_label`)}}}})({currentTemplate:t,resumeSpecificTemplateSettings:i,updateTemplateSettings:r});return t?.supportsFontWeightsCustomization?(0,J.jsxs)(YG,{"data-testid":"font-weight-container",children:[(0,J.jsx)(YZ,{children:n.t(`${Yb}.font_weight.title`)}),(0,J.jsx)(YX,{type:"info",text:n.t(`${Yb}.font_weight.info_text`)}),[{key:"primaryFontWeight",selected:s},{key:"secondaryFontWeight",selected:d},{key:"bodyFontWeight",selected:c},{key:"sectionTitlesFontWeight",selected:u}].map(e=>(0,J.jsx)(YD,{name:l(e.key),options:o,selected:e.selected,onSelect:t=>a(e.key,t),dataTestId:`${e.key}-select`},e.key))]}):null},YY=tt.Ay.div(["display:flex;flex-direction:column;gap:40px;",""],tQ.A.Phone`
3735    gap: 32px;
3736  `),Y0=tt.Ay.div(["display:flex;gap:16px;justify-content:space-between;",""],tQ.A.Phone`
3737    flex-direction: column;
3738  `),Y1=tt.Ay.div([""]),Y2=e=>{let{document:t,updateTemplateSettings:i}=e,{i18n:r}=(0,e1.s)(),{primaryFonts:n,secondaryFonts:o,tertiaryFonts:a,isPrimaryFontCustomizationEnabled:l,isSecondaryFontCustomizationEnabled:s,isTertiaryFontCustomizationEnabled:d,selectedPrimaryFont:c,selectedSecondaryFont:u,selectedTertiaryFont:p,spacing:h,supportsSpacing:x}=YA(t),m=e=>t=>{i({settingsName:e,value:t})};return(0,J.jsxs)(YY,{"data-testid":"font-selection-container",children:[(0,J.jsxs)(Y0,{children:[(0,J.jsx)(YL,{label:r.t(`${Yb}.primary_font.title`),options:n,selected:c,disabled:!l,onSelect:m("primaryFont"),disabledTooltip:r.t(`${Yb}.primary_font.disabled_tooltip`),dataTestId:"primary-font-select"}),!!o.length&&(0,J.jsx)(YL,{label:r.t(`${Yb}.secondary_font.title`),options:o,selected:u,disabled:!s,onSelect:m("secondaryFont"),disabledTooltip:r.t(`${Yb}.secondary_font.disabled_tooltip`),dataTestId:"secondary-font-select"}),!!a.length&&(0,J.jsx)(YL,{label:r.t(`${Yb}.tertiary_font.title`),options:a,selected:p,disabled:!d,onSelect:m("tertiaryFont"),disabledTooltip:r.t(`${Yb}.tertiary_font.disabled_tooltip`),dataTestId:"tertiary-font-select"})]}),(0,J.jsx)(Y1,{children:(0,J.jsx)(Ym,{unit:"%",withMarks:!0,min:-1,max:1,step:.5,value:h,defaultValue:0,disabled:!x,onChange:e=>{i({settingsName:"lineSpacing",value:e,previousValue:h})},name:r.t(`${Yb}.line_height.title`),disabledTooltip:r.t(`${Yb}.line_height.disabled_tooltip`),dataTestId:"spacing-slider-container"})})]})},Y3=tt.Ay.div(["padding:40px;
3738display:flex;flex-direction:column;gap:40px;height:100%;"," ",""],tQ.A.Tablet`
3739    height: unset;
3740    padding: 32px 40px 94px;
3741  `,tQ.A.Phone`
3742    gap: 32px;
3743    padding: 24px 16px 94px;
3744  `);te.o5.sizes.Caps,te.o5.weights.demibold,te.Jy.Neutral50;let Y5=({document:e,updateTemplateSettings:t,onBrowseTemplates:i})=>{let{currentTemplate:r,resumeSpecificTemplateSettings:n}=(0,Vo.ze)(e);return(0,J.jsxs)(Y3,{"data-testid":"text-content-container",children:[(0,J.jsx)(Yt,{currentTemplate:r,onBrowseTemplates:i}),(0,J.jsx)(Y2,{document:e,updateTemplateSettings:t}),(0,J.jsx)(YS,{document:e,currentTemplate:r,updateTemplateSettings:t}),(0,J.jsx)(YQ,{currentTemplate:r,resumeSpecificTemplateSettings:n,updateTemplateSettings:t})]})},Y4={headerAlignment:"supportsHeaderAlignmentCustomization",dateAlignment:"supportsDateAlignmentCustomization",locationAlignment:"supportsLocationAlignmentCustomization"};function Y6(e,t,i){let{currentTemplate:r,resumeSpecificTemplateSettings:n}=(0,Yg.z)(t),o=r?.settings,a=Y4[e];return{value:n?.[e]||o?.[e],isDisabled:!r?.[a],onSelect:t=>{let r=t.target.name,o=t.target.value,a=n?.[e];i?.(r,o,a)}}}let Y8=i(35600),Y9=i(23243),Y7=i(85762),eee=i(90013),eet=e=>(0,J.jsxs)("svg",{height:"100%",viewBox:"0 0 93 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H90.6667C91.7712 0 92.6667 0.895431 92.6667 2V14C92.6667 15.1046 91.7712 16 90.6667 16H2C0.895429 16 0 15.1046 0 14V2Z",fill:"white",fillOpacity:"0.15"}),(0,J.jsx)("path",{d:"M0 26C0 24.8954 0.895431 24 2 24H46C47.1046 24 48 24.8954 48 26V34C48 35.1046 47.1046 36 46 36H2C0.895431 36 0 35.1046 0 34V26Z",fill:"white",fillOpacity:"0.15"})]}),eei=e=>(0,J.jsxs)("svg",{height:"100%",viewBox:"0 0 94 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("rect",{x:"0.666992",width:"92.6667",height:"16",rx:"2",fill:"white",fillOpacity:"0.15"}),(0,J.jsx)("rect",{x:"23",y:"24",width:"48",height:"12",rx:"2",fill:"white",fillOpacity:"0.15"})]}),eer=e=>(0,J.jsxs)("svg",{height:"100%",viewBox:"0 0 93 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("rect",{x:"0.333008",width:"92.6667",height:"16",rx:"2",fill:"white",fillOpacity:"0.15"}),(0,J.jsx)("rect",{x:"45",y:"24",width:"48",height:"12",rx:"2",fill:"white",fillOpacity:"0.15"})]}),een=e=>(0,J.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 190 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("path",{d:"M0 4C0 2.89543 0.895431 2 2 2H102C103.105 2 104 2.89543 104 4V16C104 17.1046 103.105 18 102 18H2C0.895432 18 0 17.1046 0 16V4Z",fill:"white",fillOpacity:"0.15"}),(0,J.jsx)("path",{d:"M110.88 12.536C110.496 12.536 110.171 12.408 109.904 12.152C109.637 11.8853 109.504 11.5547 109.504 11.16C109.504 10.7653 109.637 10.44 109.904 10.184C110.171 9.91733 110.496 9.784 110.88 9.784C111.264 9.784 111.589 9.91733 111.856 10.184C112.123 10.44 112.256 10.7653 112.256 11.16C112.256 11.5547 112.123 11.8853 111.856 12.152C111.589 12.408 111.264 12.536 110.88 12.536Z",fill:"white"}),(0,J.jsx)("path",{d:"M118 4C118 2.89543 118.895 2 120 2H188C189.105 2 190 2.89543 190 4V16C190 17.1046 189.105 18 188 18H120C118.895 18 118 17.1046 118 16V4Z",fill:"white",fillOpacity:"0.15"})]}),eeo=({divider:e,...t})=>{let i="comma"!==e,r=i?"divider":"comma";return(0,J.jsxs)("svg",{width:"192",height:"32",viewBox:"0 0 192 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,J.jsx)("path",{opacity:"0.2",d:"M0 4C0 1.79086 1.79086 0 4 0H76C78.2091 0 80 1.79086 80 4V28C80 30.2091 78.2091 32 76 32H4C1.79086 32 0 30.2091 0 28V4Z",fill:`url(#paint0_${r})`}),i?(0,J.jsx)("rect",{x:"95",width:"2",height:"32",rx:"1",fill:"#1A91F0"}):(0,J.jsx)("path",{d:"M3.46789 0C4.49541 0 5.33027 0.352593 5.97248 1.05778C6.65749 1.72148 7 2.65482 7 3.85778C7 5.97333 6.42202 7.90222 5.26605 9.64444C4.1529 11.4281 2.95413 12.88 1.66972 14L0.577982 12.5689C1.22018 11.7807 1.77676 10.9304 2.24771 10.0178C2.71865 9.10519 3.01835 8.02667 3.14679 6.78222C2.24771 6.69926 1.49847 6.34667 0.899082 5.72444C0.299694 5.06074 0 4.27259 0 3.36C0 2.40593 0.342508 1.61778 1.02752 0.995556C1.71254 0.331852 2.52599 0 3.46789 0Z",fill:"#1A91F0",transform:"translate(92.5, 9)"}),(0,J.jsx)("path",{opacity:"0.2",d:"M0 4C0 1.79086 1.79086 0 4 0H76C78.2091 0 80 1.79086 80 4V28C80 3
37440.2091 78.2091 32 76 32H4C1.79086 32 0 30.2091 0 28V4Z",fill:`url(#paint1_${r})`,transform:"translate(112, 0)"}),(0,J.jsxs)("defs",{children:[(0,J.jsxs)("linearGradient",{id:`paint0_${r}`,x1:"0",y1:"16",x2:"80",y2:"16",gradientUnits:"userSpaceOnUse",children:[(0,J.jsx)("stop",{stopColor:"#828BA2",stopOpacity:"0"}),(0,J.jsx)("stop",{offset:"1",stopColor:"#828BA2"})]}),(0,J.jsxs)("linearGradient",{id:`paint1_${r}`,x1:"0",y1:"16",x2:"80",y2:"16",gradientUnits:"userSpaceOnUse",children:[(0,J.jsx)("stop",{stopColor:"#828BA2"}),(0,J.jsx)("stop",{offset:"1",stopColor:"#828BA2",stopOpacity:"0"})]})]})]})},eea=()=>(0,J.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,J.jsx)("path",{d:"M5.5 9L10 13L14.5 9",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}),eel=e=>{let t=e.columnsCount||1;return(0,J.jsx)("img",{src:{1:Y8,2:Y9,3:Y7,4:eee}[t],alt:`${t} column layout`,style:{maxWidth:181,width:"100%",height:64,margin:"auto"}})},ees=e=>(0,J.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 71 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,J.jsx)("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H30C31.1046 0 32 0.895431 32 2V18C32 19.1046 31.1046 20 30 20H2C0.895431 20 0 19.1046 0 18V2Z",fill:"white",fillOpacity:"0.15"}),(0,J.jsx)("path",{d:"M36.024 14.723C36.392 14.723 36.691 14.8533 36.921 15.114C37.1663 15.3593 37.289 15.7043 37.289 16.149C37.289 16.931 37.082 17.644 36.668 18.288C36.2693 18.9473 35.84 19.484 35.38 19.898L34.989 19.369C35.219 19.0777 35.4183 18.7633 35.587 18.426C35.7557 18.0887 35.863 17.69 35.909 17.23C35.587 17.1993 35.3187 17.069 35.104 16.839C34.8893 16.5937 34.782 16.3023 34.782 15.965C34.782 15.6123 34.9047 15.321 35.15 15.091C35.3953 14.8457 35.6867 14.723 36.024 14.723Z",fill:"white"}),(0,J.jsx)("path",{d:"M39 2C39 0.895431 39.8954 0 41 0H69C70.1046 0 71 0.895431 71 2V18C71 19.1046 70.1046 20 69 20H41C39.8954 20 39 19.1046 39 18V2Z",fill:"white",fillOpacity:"0.15"})]}),eed=tt.Ay.div(["position:relative;display:flex;"]),eec={left:(0,tt.AH)(["border-left:1px solid ",";border-right:1px solid ",";border-top:1px solid ",";border-bottom:1px solid ",";border-radius:8px 0 0 8px;"],te.Jy.Neutral60,te.Jy.Neutral60,te.Jy.Neutral60,te.Jy.Neutral60),center:(0,tt.AH)(["border-right:1px solid ",";border-top:1px solid ",";border-bottom:1px solid ",";"],te.Jy.Neutral60,te.Jy.Neutral60,te.Jy.Neutral60),right:(0,tt.AH)(["border-right:1px solid ",";border-top:1px solid ",";border-bottom:1px solid ",";border-radius:0 8px 8px 0;"],te.Jy.Neutral60,te.Jy.Neutral60,te.Jy.Neutral60)},eeu={left:(0,tt.AH)(["border-left:1px solid white;border-right:1px solid white !important;border-top:1px solid white;border-bottom:1px solid white;border-radius:8px 0 0 8px;"]),center:(0,tt.AH)(["border-left:1px solid white;border-right:1px solid white !important;border-top:1px solid white;border-bottom:1px solid white;"]),right:(0,tt.AH)(["border-right:1px solid white;border-left:1px solid white;border-top:1px solid white;border-bottom:1px solid white;border-radius:0 8px 8px 0;"])},eep=tt.Ay.div(["display:flex;align-items:center;gap:4px;"]),eeh=tt.Ay.div(["width:100%;height:","px;padding:20px 12px;border:1px solid transparent;background:rgba(255,255,255,0.1);transition:all 0.2s ease;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;&:not(:has(input:checked)){","}&:has(input:checked){","}& input[type='radio']{display:none;}"],({$height:e})=>e??76,({position:e})=>eec[e],({position:e})=>eeu[e]),eex=tt.Ay.div(["position:relative;width:100%;display:flex;flex-direction:column;gap:4px;&:has(input:disabled){opacity:0.5;}&:not(:has(input:disabled)){label{cursor:pointer;}}label,","{color:",";svg{max-width:100%;}}&:has(input:checked){label,","{color:",";svg:not(:has(defs)) path{fill-opacity:0.5;}svg stop{stop-opacity:1;}}}"],eep,te.Jy.Neutral50,eep,te.Jy.White),eem=R.forwardRef((e,t)=>{let{position:i,$height:r,label:n,children:o,...a}=e;return(0,J.jsxs)(eex,{ref:t,...a,children:[(0,J.jsx)(eeh,{position:i,$height:r,children:o}),n&&n]})}),eeg=tt.Ay.div(["position:relative;height:'100%';width:100%;display:flex;flex-direction:",";align-items:",";justify-content:",";gap:",";"],e=>e.flexDirection||"row",e=>e.alignItems||"center",e=>e.justifyContent||"center",e=>"number"==typeof e.gap?`${e.gap}
3744px`:e.gap||"8px"),eey=tt.Ay.span(["flex:1;white-space:nowrap;color:",";text-align:",";",";"],e=>e.color?te.Jy[e.color]:"inherit",e=>e.alignText||"left",e=>te.o5.sizes[e.size||"Tiny"]),eef=tt.Ay.label(["",";white-space:nowrap;"],te.o5.sizes.Caption),eeb=tt.Ay.span(["position:absolute;inset:0;"]),ee_=tt.Ay.button(["width:20px;height:20px;border-radius:100%;box-shadow:",";font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease;border:1px solid ",";background:",";color:",";&:hover:not(:disabled){border-color:",";}&:disabled{opacity:0.3;}"],te.qd.lightWithBorderShadowLow,te.Jy.Neutral15,te.Jy.White,te.Jy.Neutral50,te.Jy.White),eev=tt.Ay.div(["",";color:",";"],te.o5.sizes.Caption,te.Jy.Neutral90),eej=tt.Ay.div(["display:flex;align-items:center;gap:8px;"]),eeA=tt.Ay.div(["display:flex;align-items:center;gap:12px;"]),eeC=tt.Ay.div(["position:relative;display:inline-flex;"]),eew=tt.Ay.button(["display:inline-flex;align-items:center;gap:2px;padding:0;border:none;outline:none;background:none;cursor:pointer;color:",";",";font-weight:500;&:hover{color:",";}&:focus-visible{outline:2px solid ",";border-radius:2px;}"],te.Jy.Blue50,te.o5.sizes.Caption,te.Jy.Blue60,te.Jy.Blue50),eek=tt.Ay.div(["position:absolute;top:calc(100% + 4px);left:0;z-index:10;width:210px;background:",";border-radius:8px;box-shadow:",";overflow:hidden;padding:0;
3744svg path{fill-opacity:1;}"],te.Jy.White,te.qd.lightWithBorderShadowMid),eeS=tt.Ay.button(["display:flex;align-items:center;width:100%;padding:4px;border:none;outline:none;background:none;cursor:pointer;& > div{display:flex;align-items:center;gap:8px;width:100%;padding:4px;border-radius:4px;background:",";}&:hover > div{background:",";}&:focus-visible{outline:2px solid ",";border-radius:4px;}"],({$isSelected:e})=>e?te.Jy.Blue10:"transparent",te.Jy.Blue10,te.Jy.Blue50),eeT=tt.Ay.span(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:",";"],({$isSelected:e})=>e?te.Jy.Blue60:te.Jy.Neutral90),eeP=tt.Ay.span(["",";color:",";"],te.o5.sizes.Body,({$isSelected:e})=>e?te.Jy.Blue60:te.Jy.Neutral100),eeJ=tt.Ay.div(["height:1px;background:",";margin:0 4px;"],te.Jy.Neutral15),eeE=tt.Ay.span(["display:inline-flex;transform:",";transition:transform 0.2s ease;"],({$isOpen:e})=>e?"rotate(180deg) translateY(-2px)":"none"),eeR={SelectGroup:eed,SelectControl:eem,Label:eef,FlexBox:eeg},eeL="builder.resume_editor.document_customization.sidebar.layout_tab",eeN=e=>{let{i18n:t}=(0,e1.s)(),{value:i,onSelect:r,isDisabled:n}=Y6("headerAlignment",e.document,e.onFieldChange),o=e.styles||eeR;return(0,J.jsx)(aH.QP,{value:t.t(`${eeL}.header_alignment_warning`),width:250,multiline:!0,position:"bottom",isActive:n,children:(0,J.jsxs)(o.SelectGroup,{children:[(0,J.jsxs)(o.SelectControl,{position:"left",label:(0,J.jsx)(eef,{htmlFor:"header-alignment-left",children:t.t(`${eeL}.left_alignment`)}),children:[(0,J.jsx)("input",{type:"radio",value:"left",name:"headerAlignment",id:"header-alignment-left","data-testid":"header-alignment-left",checked:"left"===i&&!n,disabled:n,onChange:r}),(0,J.jsxs)(o.FlexBox,{as:"label",htmlFor:"header-alignment-left",justifyContent:"flex-start",children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eet,{})]})]}),(0,J.jsxs)(o.SelectControl,{position:"center",label:(0,J.jsx)(eef,{htmlFor:"header-alignment-center",children:t.t(`${eeL}.center_alignment`)}),children:[(0,J.jsx)("input",{type:"radio",value:"center",name:"headerAlignment",id:"header-alignment-center","data-testid":"header-alignment-center",checked:"center"===i&&!n,disabled:n,onChange:r}),(0,J.jsxs)(o.FlexBox,{as:"label",htmlFor:"header-alignment-center",children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eei,{width:"100%"})]})]}),(0,J.jsxs)(o.SelectControl,{position:"right",label:(0,J.jsx)(eef,{htmlFor:"header-alignment-right",children:t.t(`${eeL}.right_alignment`)}),children:[(0,J.jsx)("input",{type:"radio",value:"right",name:"headerAlignment",id:"header-alignment-right","data-testid":"header-alignment-right",checked:"right"===i&&!n,disabled:n,onChange:r}),(0,J.jsxs)(o.FlexBox,{as:"label",htmlFor:"header-alignment-right",justifyContent:"flex-end",children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eer,{})]})]})]})})},eeI={SelectGroup:eed,SelectControl:eem,PlaceholderSpan:eey,Label:eef,FlexBox:eeg},eeM=e=>{let{i18n:t}=(0,e1.s)(),{value:i,onSelect:r,isDisabled:n}=Y6("dateAlignment",e.document,e.onFieldChange),o=e.styles||eeI,a=e.translation||"builder.resume_editor.document_customization.sidebar.layout_tab";return(0,J.jsx)(aH.QP,{value:t.t(`${a}.date_alignment_warning`),width:250,multiline:!0,position:"bottom",isActive:n,children:(0,J.jsxs)(o.SelectGroup,{children:[(0,J.jsxs)(o.SelectControl,{position:"left",label:(0,J.jsx)(o.Label,{htmlFor:"date-alignment-left",children:t.t(`${a}.left_alignment`)}),children:[(0,J.jsx)("input",{type:"radio",id:"date-alignment-left","data-testid":"date-alignment-left",name:"dateAlignment",value:"left",checked:"left"===i&&!n,onChange:r,disabled:n}),(0,J.jsxs)(o.FlexBox,{as:"label",htmlFor:"date-alignment-left",alignItems:"flex-start",justifyContent:"space-between",gap:4,children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eet,{}),(0,J.jsxs)(o.PlaceholderSpan,{children:[" • ",t.t(`${a}.date_alignment_label`)]})]})]}),(0,J.jsxs)(o.SelectControl,{position:"right",label:(0,J.jsx)(o.Label,{htmlFor:"date-alignment-right",children:t.t(`${a}.right_alignment`)}),children:[(0,J.jsx)("input",{type:"radio",id:"date-alignment-right","data-testid":"date-alignment-right",name:"dateAlignment",value:"right",checked:"right"===i&&!n,onChange:r,disabled:n}),(0,J.jsxs)(o.FlexBox,{as:"label",htmlFor:"date-alignment-right",alignItems:"flex-start",justifyContent:"space-between",gap:20,children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eet,{}),(0,J.jsx)(o.PlaceholderSpan,{alignText:"right",children:t.t(`${a}
3744.date_alignment_label`)})]})]})]})})},eeB={SelectGroup:eed,SelectControl:eem,PlaceholderSpan:eey,Label:eef,FlexBox:eeg},eeD="builder.resume_editor.document_customization.sidebar.layout_tab",ee$=e=>{let{i18n:t}=(0,e1.s)(),{value:i,onSelect:r,isDisabled:n}=Y6("locationAlignment",e.document,e.onFieldChange),o=e.styles||eeB;return(0,J.jsx)(aH.QP,{value:t.t(`${eeD}.location_alignment_warning`),width:250,multiline:!0,position:"bottom",isActive:n,children:(0,J.jsxs)(o.SelectGroup,{children:[(0,J.jsxs)(o.SelectControl,{position:"left",label:(0,J.jsx)(o.Label,{htmlFor:"location-alignment-left",children:t.t(`${eeD}.left_alignment`)}),children:[(0,J.jsx)("input",{type:"radio",id:"location-alignment-left","data-testid":"location-alignment-left",name:"locationAlignment",value:"left",checked:"left"===i&&!n,onChange:r,disabled:n}),(0,J.jsxs)(o.FlexBox,{as:"label",htmlFor:"location-alignment-left",alignItems:"flex-start",justifyContent:"space-between",gap:4,children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eet,{}),(0,J.jsxs)(o.PlaceholderSpan,{children:[" • ",t.t(`${eeD}.location_alignment_label`)]})]})]}),(0,J.jsxs)(o.SelectControl,{position:"right",label:(0,J.jsx)(o.Label,{htmlFor:"location-alignment-right",children:t.t(`${eeD}.right_alignment`)}),children:[(0,J.jsx)("input",{type:"radio",id:"location-alignment-right","data-testid":"location-alignment-right",name:"locationAlignment",value:"right",checked:"right"===i&&!n,onChange:r,disabled:n}),(0,J.jsxs)(o.FlexBox,{as:"label",htmlFor:"location-alignment-right",alignItems:"flex-start",justifyContent:"space-between",gap:20,children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eet,{}),(0,J.jsx)(o.PlaceholderSpan,{alignText:"right",children:t.t(`${eeD}.location_alignment_label`)})]})]})]})})},eeO={skillsLayout:"supportsSkillsLayouts",categorizedSkillsLayout:"supportsCategorizedSkillsLayouts",educationLayout:"supportsEducationLayouts",educationOrder:"supportsEducationOrder"};function eez(e,t,i){let{currentTemplate:r,resumeSpecificTemplateSettings:n}=(0,Yg.z)(t),o=r?.settings,a=eeO[e],l=o?.[e],s=l?.find(e=>e.isDefault);return{value:n?.[e]||s?.value,isDisabled:!r?.[a],isFieldOptionDisabled:e=>{let t=l?.find(t=>t.value===e);return t?.isDisabled||!1},onSelect:t=>{let r=t.target.name,o=t.target.value,a=n?.[e];i?.(r,o,a)}}}let eeF="builder.resume_editor.document_customization.sidebar.layout_tab",eeH=[{value:"divider",i18nKey:"skills_divider_divider",Icon:()=>(0,J.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,J.jsx)("rect",{x:"11",y:"4",width:"2",height:"16",rx:"1",fill:"currentColor"})})},{value:"comma",i18nKey:"skills_divider_comma",Icon:()=>(0,J.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,J.jsx)("path",{d:"M3.46789 0C4.49541 0 5.33027 0.352593 5.97248 1.05778C6.65749 1.72148 7 2.65482 7 3.85778C7 5.97333 6.42202 7.90222 5.26605 9.64444C4.1529 11.4281 2.95413 12.88 1.66972 14L0.577982 12.5689C1.22018 11.7807 1.77676 10.9304 2.24771 10.0178C2.71865 9.10519 3.01835 8.02667 3.14679 6.78222C2.24771 6.69926 1.49847 6.34667 0.899082 5.72444C0.299694 5.06074 0 4.27259 0 3.36C0 2.40593 0.342508 1.61778 1.02752 0.995556C1.71254 0.331852 2.52599 0 3.46789 0Z",fill:"currentColor",transform:"translate(8.5, 5)"})})}],eeV=({skillsDivider:e,onSelect:t})=>{let{i18n:i}=(0,e1.s)(),[r,n]=(0,R.useState)(!1),o=(0,R.useRef)(null);(0,oO.L)(o,()=>n(!1)),(0,pA.j)(()=>{r&&n(!1)});let a=eeH.find(t=>t.value===e);return(0,J.jsxs)(eeC,{ref:o,children:[(0,J.jsxs)(eew,{type:"button","aria-haspopup":"menu","aria-expanded":r,onClick:e=>{e.stopPropagation(),n(e=>!e)},children:[a&&i.t(`${eeF}.${a.i18nKey}`),(0,J.jsx)(eeE,{$isOpen:r,children:(0,J.jsx)(eea,{})})]}),r&&(0,J.jsx)(eek,{role:"menu",children:eeH.map((r,o)=>(0,J.jsxs)("div",{children:[o>0&&(0,J.jsx)(eeJ,{}),(0,J.jsx)(eeS,{type:"button",role:"menuitemradio","aria-checked":e===r.value,$isSelected:e===r.value,onClick:e=>{e.stopPropagation(),t(r.value),n(!1)},children:(0,J.jsxs)("div",{children:[(0,J.jsx)(eeT,{$isSelected:e===r.value,children:(0,J.jsx)(r.Icon,{})}),(0,J.jsx)(eeP,{$isSelected:e===r.value,children:i.t(`${eeF}.${r.i18nKey}`)})]})})]},r.value))})]})},eeU={SelectGroup:eed,SelectControl:eem,Label:eef,FlexBox:eeg,PlaceholderSpan:eey},eeW=e=>{let{i18n:t}=(0,e1.s)(),{value:i,onSelect:r,isFieldOptionDisabled:n,isDisabled:o}=eez("skillsLayout",e.document,e.onFieldChange),{resumeSpecificTemplateSettings:a,currentTemplate:l}=(0,Yg.z)(e.document),s=a?.skillsColumnsCount||l?.settings.skillsColumnsCount?.default||4,d=l?.settings.skillsColumnsCount?.min??1,c=l?.settings.skillsColumnsCount?.max??4,u=a?.skillsDivider||RQ.Hk.skillsDivider,p=t=>{if(o)return;let i=s+t;i>=d&&i<=c&&e.onFieldChange?.("skillsColumnsCount",i,s)},h=e.styles||eeU,x=e.translation||"builder.resume_editor.document_customization.sidebar.layout_tab",m=!!l?.settings.skillsDivider,g="comma_separated"===i&&!n("comma_separated")&&!o;return(0,J.jsx)(aH.QP,{value:t.t(`${x}.skills_layout_customization_warning`),width:250,multiline:!0,position:"bottom",isActive:o,children:(0,J.jsxs)(h.SelectGroup,{children:[(0,J.jsx)(aH.QP,{value:t.t(`${x}.skills_layout_customization_field_warning`),width:250,multiline:!0,position:"bottom",isActive:n("comma_separated")&&!o,children:(0,J.jsxs)(h.SelectControl,{position:"left",$height:120,label:(0,J.jsxs)(eep,{children:[(0,J.jsx)(h.Label,{htmlFor:"skills-block-layout-comma",children:t.t(`${x}.comma_separated`)}),g&&m&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(h.Label,{children:"•"}),(0,J.jsx)(eeV,{skillsDivider:u,onSelect:t=>{e.onFieldChange?.("skillsDivider",t,u)}})]})]}),children:[(0,J.jsx)("input",{type:"radio",id:"skills-block-layout-comma","data-testid":"skills-block-layout-comma",name:"skillsLayout",value:"comma_separated",checked:g,onChange:r,disabled:n("comma_separated")||o}),(0,J.jsxs)(h.FlexBox,{as:"label",gap:2,alignItems:"center",htmlFor:"skills-block-layout-comma",children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eeo,{divider:u})]})]})}),(0,J.jsx)(aH.QP,{value:t.t(`${x}.skills_layout_customization_field_warning`),width:250,multiline:!0,position:"bottom",isActive:n("columns")&&!o,children:(0,J.jsxs)(h.SelectControl,{position:"center",$height:120,label:(0,J.jsxs)(eeA,{children:[(0,J.jsx)(h.Label,{htmlFor:"skills-block-layout-columns",children:t.t(`${x}.columns`)}),(0,J.jsxs)(eej,{children:[(0,J.jsx)(ee_,{type:"button",onClick:e=>{e.stopPropagation(),p(-1)},disabled:o||s<=d,children:"−"}),(0,J.jsx)(eev,{children:s}),(0,J.jsx)(ee_,{type:"button",onClick:e=>{e.stopPropagation(),p(1)},disabled:o||s>=c,children:"+"})]})]}),children:[(0,J.jsx)("input",{type:"radio",id:"skills-block-layout-columns","data-testid":"skills-block-layout-columns",name:"skillsLayout",value:"columns",checked:"columns"===i&&!n("columns")&&!o,onChange:r,disabled:n("columns")||o}),(0,J.jsxs)(h.FlexBox,{as:"label",gap:2,alignItems:"flex-start",justifyContent:"space-between",htmlFor:"skills-block-layout-columns",children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eel,{columnsCount:s})]})]})})]})})},eeK={SelectGroup:eed,SelectControl:eem,Label:eef,FlexBox:eeg,PlaceholderSpan:eey},eeq=e=>{let{i18n:t}=(0,e1.s)(),{value:i,onSelect:r,isFieldOptionDisabled:n,isDisabled:o}=eez("categorizedSkillsLayout",e.document,e.onFieldChange),{currentTemplate:a,resumeSpecificTemplateSettings:l}=(0,Yg.z)(e.document),s=a?.settings?.skillsCategoryColumnWidth,d=s?.default??RQ.Hk.skillsCategoryColumnWidth,c=l?.skillsCategoryColumnWidth??d,u="categories"===i&&!o&&!n("categories")&&!!s,p=l?.skillsDivider||RQ.Hk.skillsDivider,h=!!a?.settings.skillsDivider,x="comma_separated"===i&&!n("comma_separated")&&!o,m=e.styles||eeK,g=e.translation||"builder.resume_editor.document_customization.sidebar.layout_tab";return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(aH.QP,{value:t.t(`${g}.skills_layout_customization_warning`),width:250,multiline:!0,position:"bottom",isActive:o,children:(0,J.jsxs)(m.SelectGroup,{children:[(0,J.jsx)(aH.QP,{value:t.t(`${g}.skills_layout_customization_field_warning`),width:250,multiline:!0,position:"bottom",isActive:n("comma_separated")&&!o,children:(0,J.jsxs)(m.SelectControl,{position:"left",$height:120,label:(0,J.jsxs)(eep,{children:[(0,J.jsx)(m.Label,{htmlFor:"categorized-skills-block-layout-comma",children:t.t(`${g}.comma_separated`)}),x&&h&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(m.Label,{children:"•"}),(0,J.jsx)(eeV,{skillsDivider:p,onSelect:t=>{e.onFieldChange?.("skillsDivider",t,p)}})]})]}),children:[(0,J.jsx)("input",{type:"radio",id:"categorized-skills-block-layout-comma","data-testid":"categorized-skills-block-layout-comma",name:"categorizedSkillsLayout",value:"comma_separated",checked:x,onChange:r,disabled:n("comma_separated")||o}),(0,J.jsxs)(m.FlexBox,{as:"label",gap:2,alignItems:"center",htmlFor:"categorized-skills-block-layout-comma",children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(eeo,{divider:p})]})]})}),(0,J.jsx)(aH.QP,{value:t.t(`${g}.skills_layout_customization_field_warning`),width:250,multiline:!0,position:"top",isActive:n("categories")&&!o,children:(0,J.jsxs)(m.SelectControl,{position:"right",$height:120,label:(0,J.jsx)(m.Label,{htmlFor:"categorized-skills-block-layout-categories",children:t.t(`${g}.categories`)}),children:[(0,J.jsx)("input",{title:"Disabled",type:"radio",id:"categorized-skills-block-layout-categories","data-testid":"categorized-skills-block-layout-categories",name:"categorizedSkillsLayout",value:"categories",checked:"categories"===i&&!n("categories")&&!o,onChange:r,disabled:n("categories")||o}),(0,J.jsxs)(m.FlexBox,{as:"label",gap:2,alignItems:"flex-start",justifyContent:"space-between",htmlFor:"categorized-skills-block-layout-categories",children:[(0,J.jsx)(eeb,{}),(0,J.jsx)(m.PlaceholderSpan,{size:"Caption",children:t.t(`${g}.skills_layout_categories_label1`)}),(0,J.jsx)(ees,{width:70})]}),(0,J.jsxs)(m.FlexBox,{as:"label",gap:2,alignItems:"flex-start",justifyContent:"space-between",htmlFor:"categorized-skills-block-layout-categories",children:[(0,J.jsx)(m.PlaceholderSpan,{size:"Caption",children:t.t(`${g}.skills_layout_categories_label2`)}),(0,J.jsx)(ees,{width:70})]}),(0,J.jsxs)(m.FlexBox,{as:"label",gap:2,alignItems:"flex-start",justifyContent:"space-between",htmlFor:"categorized-skills-block-layout-categories",children:[(0,J.jsx)(m.PlaceholderSpan,{size:"Caption",children:t.t(`${g}.skills_layout_categories_label3`)}),(0,J.jsx)(ees,{width:70})]})]})})]})}),u&&s&&(0,J.jsx)(Ym,{unit:"in",name:t.t(`${g}.skills_category_column_width`),value:c,defaultValue:d,min:s.min,max:s.max,step:s.step,onChange:t=>{e.onFieldChange?.("skillsCategoryColumnWidth",t,d)},decimalNofDigits:2})]})},eeG={SelectGroup:eed,SelectControl:eem,PlaceholderSpan:eey,Label:eef,FlexBox:eeg},eeZ="builder.resume_editor.document_customization.sidebar.layout_tab",eeX=e=>{let{i18n:t}=(0,e1.s)(),{value:i,onSelect:r,isDisabled:n}=eez("educationOrder",e.document,e.onFieldChange),o=e.styles||eeG;return(0,J.jsx)(aH.QP,{value:t.t(`${eeZ}.education_block_order_warning`),width:250,multiline:!0,position:"bottom",isActive:n,children:(0,J.jsxs)(o.SelectGroup,{children:[(0,J.jsxs)(o.SelectControl,{position:"left",$height:120,label:(0,J.jsx)(o.Label,{htmlFor:"education-block-order-institution",children:t.t(`${eeZ}.education_block_order_label1`)}),children:[(0,J.jsx)("input",{type:"radio",id:"education-block-order-institution","data-testid":"education-block-order-institution",name:"educationOrder",value:"institution",checked:"institution"===i&&!n,onChange:r,disabled:n}),(0,J.jsxs)(o.FlexBox,{as:"label",alignItems:"flex-start",htmlFor:"education-block-order-institution",children:[(0,J.jsx)(eeb,{}),(0,J.jsxs)(o.FlexBox,{flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",ga
3744p:"0px",children:[(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"left",children:t.t(`${eeZ}.education_block_order_label3`)}),(0,J.jsx)(o.PlaceholderSpan,{color:"Neutral50",alignText:"right",children:t.t(`${eeZ}.education_block_order_label2`)})]}),(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"right",children:"2020"})]}),(0,J.jsxs)(o.FlexBox,{as:"label",alignItems:"flex-start",htmlFor:"education-block-order-institution",children:[(0,J.jsx)(eeb,{}),(0,J.jsxs)(o.FlexBox,{flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",gap:"0px",children:[(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"left",children:t.t(`${eeZ}.education_block_order_label3`)}),(0,J.jsx)(o.PlaceholderSpan,{color:"Neutral50",alignText:"right",children:t.t(`${eeZ}.education_block_order_label2`)})]}),(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"right",children:"2020"})]})]}),(0,J.jsxs)(o.SelectControl,{position:"right",$height:120,label:(0,J.jsx)(o.Label,{htmlFor:"education-block-order-degree",children:t.t(`${eeZ}.education_block_order_label2`)}),children:[(0,J.jsx)("input",{type:"radio",id:"education-block-order-degree","data-testid":"education-block-order-degree",name:"educationOrder",value:"degree",checked:"degree"===i&&!n,onChange:r,disabled:n}),(0,J.jsxs)(o.FlexBox,{as:"label",alignItems:"flex-start",htmlFor:"education-block-order-degree",children:[(0,J.jsx)(eeb,{}),(0,J.jsxs)(o.FlexBox,{flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",gap:"0px",children:[(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"left",children:t.t(`${eeZ}.education_block_order_label2`)}),(0,J.jsx)(o.PlaceholderSpan,{color:"Neutral50",alignText:"right",children:t.t(`${eeZ}.education_block_order_label3`)})]}),(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"right",children:"2020"})]}),(0,J.jsxs)(o.FlexBox,{as:"label",alignItems:"flex-start",htmlFor:"education-block-order-degree",children:[(0,J.jsxs)(o.FlexBox,{flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",gap:"0px",children:[(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"left",children:t.t(`${eeZ}.education_block_order_label2`)}),(0,J.jsx)(o.PlaceholderSpan,{color:"Neutral50",alignText:"right",children:t.t(`${eeZ}.education_block_order_label3`)})]}),(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"right",children:"2020"})]})]})]})})},eeQ={SelectGroup:eed,SelectControl:eem,PlaceholderSpan:eey,Label:eef,FlexBox:eeg},eeY="builder.resume_editor.document_customization.sidebar.layout_tab",ee0=e=>{let{i18n:t}=(0,e1.s)(),{value:i,onSelect:r,isDisabled:n}=eez("educationLayout",e.document,e.onFieldChange),o=e.styles||eeQ;return(0,J.jsx)(aH.QP,{value:t.t(`${eeY}.education_block_layout_warning`),width:250,multiline:!0,position:"bottom",isActive:n,children:(0,J.jsxs)(o.SelectGroup,{children:[(0,J.jsxs)(o.SelectControl,{position:"left",$height:120,label:(0,J.jsx)(o.Label,{htmlFor:"education-block-layout-stacked",children:t.t(`${eeY}.education_block_layout_label1`)}),children:[(0,J.jsx)("input",{type:"radio",id:"education-block-layout-stacked","data-testid":"education-block-layout-stacked",name:"educationLayout",value:"stacked",checked:"stacked"===i&&!n,onChange:r,disabled:n}),(0,J.jsxs)(o.FlexBox,{as:"label",gap:8,flexDirection:"column",alignItems:"flex-start",htmlFor:"education-block-layout-stacked",children:[(0,J.jsx)(eeb,{}),(0,J.jsxs)(o.FlexBox,{justifyContent:"space-between",alignItems:"flex-start",children:[(0,J.jsx)(eet,{width:100}),(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"right",children:"2020"})]}),(0,J.jsxs)(o.FlexBox,{justifyContent:"space-between",alignItems:"flex-start",children:[(0,J.jsx)(eet,{width:100}),(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"right",children:"2017"})]})]})]}),(0,J.jsxs)(o.SelectControl,{position:"right",$height:120,label:(0,J.jsx)(o.Label,{htmlFor:"education-block-layout-inline",children:t.t(`${eeY}.education_block_layout_label2`)}),children:[(0,J.jsx)("input",{type:"radio",id:"education-block-layout-inline","data-testid":"education-block-layout-inline",name:"educationLayout",value:"inl
3744ine",checked:"inline"===i&&!n,onChange:r,disabled:n}),(0,J.jsxs)(o.FlexBox,{as:"label",gap:2,flexDirection:"column",alignItems:"flex-start",htmlFor:"education-block-layout-inline",children:[(0,J.jsx)(eeb,{}),(0,J.jsxs)(o.FlexBox,{justifyContent:"space-between",children:[(0,J.jsx)(een,{width:"70%"}),(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"right",children:"2014"})]}),(0,J.jsxs)(o.FlexBox,{justifyContent:"space-between",alignItems:"flex-start",children:[(0,J.jsx)(een,{width:"70%"}),(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"right",children:"2017"})]}),(0,J.jsxs)(o.FlexBox,{justifyContent:"space-between",alignItems:"flex-start",children:[(0,J.jsx)(een,{width:"70%"}),(0,J.jsx)(o.PlaceholderSpan,{size:"Caption",alignText:"right",children:"2020"})]})]})]})]})})},ee1=tt.Ay.div(["padding:40px;display:flex;flex-direction:column;gap:40px;height:100%;"," ",""],tQ.A.Tablet`
3745    height: unset;
3746    padding: 32px 40px 94px;
3747  `,tQ.A.Phone`
3748    padding: 24px 16px 94px;
3749  `),ee2=tt.Ay.div(["position:relative;display:flex;"]),ee3={left:(0,tt.AH)(["border-left:1px solid ",";border-right:1px solid ",";border-top:1px solid ",";border-bottom:1px solid ",";border-radius:8px 0 0 8px;"],te.Jy.Neutral15,te.Jy.Neutral15,te.Jy.Neutral15,te.Jy.Neutral15),center:(0,tt.AH)(["border-right:1px solid ",";border-top:1px solid ",";border-bottom:1px solid ",";"],te.Jy.Neutral15,te.Jy.Neutral15,te.Jy.Neutral15),right:(0,tt.AH)(["border-right:1px solid ",";border-top:1px solid ",";border-bottom:1px solid ",";border-radius:0 8px 8px 0;"],te.Jy.Neutral15,te.Jy.Neutral15,te.Jy.Neutral15)},ee5={left:(0,tt.AH)(["border-left:1px solid ",";border-right:1px solid "," !important;border-top:1px solid ",";border-bottom:1px solid ",";border-radius:8px 0 0 8px;"],te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20),center:(0,tt.AH)(["border-left:1px solid ",";border-right:1px solid "," !important;border-top:1px solid ",";border-bottom:1px solid ",";"],te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20),right:(0,tt.AH)(["border-right:1px solid ",";border-left:1px solid ",";border-top:1px solid ",";border-bottom:1px solid ",";border-radius:0 8px 8px 0;"],te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20)},ee4=tt.Ay.div(["width:100%;height:","px;padding:20px 24px;border:1px solid transparent;background:transparent;transition:all 0.2s ease;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;&:not(:has(input:checked)){","}&:has(input:checked){"," background:",";}&:has(input:disabled){background:",";}& input[type='radio']{display:none;}"],({$height:e})=>e??80,({position:e})=>ee3[e],({position:e})=>ee5[e],te.Jy.Blue10,te.Jy.Neutral5),ee6=tt.Ay.div(["position:relative;width:100%;display:flex;flex-direction:column;gap:4px;&:not(:has(input:disabled)){label{cursor:pointer;}}label{color:",";svg{max-height:100% !important;display:block;}svg:not(:has(defs)) rect{fill:",";fill-opacity:1;}svg:not(:has(defs)) path{fill:",";fill-opacity:1;}svg rect[opacity]{opacity:0.2;}svg path[opacity]{}svg stop{stop-color:",";}svg path[fill='white']{fill:",";}svg circle[fill='white']{fill:",";}}&:has(input:checked){label{color:",";svg:not(:has(defs)) rect{fill:",";fill-opacity:1;}svg:not(:has(defs)) path{fill:",";fill-opacity:1;}svg rect[opacity]{opacity:1;}svg path[opacity]{opacity:1;}svg stop{stop-color:",";}svg path[fill='white'],svg path[fill='","']{fill:",";}svg circle[fill='white'],svg circle[fill='","']{fill:",";}}}"],te.Jy.Neutral50,te.Jy.Neutral10,te.Jy.Neutral10,te.Jy.Neutral30,te.Jy.Neutral10,te.Jy.Neutral50,te.Jy.Neutral90,te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20,te.Jy.Neutral10,te.Jy.Blue20,te.Jy.Neutral10,te.Jy.Blue20),ee8=R.forwardRef((e,t)=>{let{position:i,$height:r,label:n,children:o,...a}=e;return(0,J.jsxs)(ee6,{ref:t,...a,children:[(0,J.jsx)(ee4,{position:i,$height:r,children:o}),n&&n]})}),ee9=tt.Ay.div(["position:relative;width:100%;height:100%;display:flex;flex-direction:",";align-items:",";justify-content:",";gap:",";"],e=>e.flexDirection||"row",e=>e.alignItems||"center",e=>e.justifyContent||"center",e=>"number"==typeof e.gap?`${e.gap}
3749px`:e.gap||"8px"),ee7=tt.Ay.span(["flex:1;white-space:nowrap;color:",";text-align:",";",";"],e=>e.color?te.Jy[e.color]:"inherit",e=>e.alignText||"left",e=>te.o5.sizes[e.size||"Tiny"]),ete=tt.Ay.label(["",";white-space:nowrap;"],te.o5.sizes.Caption),ett=tt.Ay.div(["display:flex;flex-direction:column;gap:",";color:",";"],e=>"L"===e.spacing?"24px":"16px",({color:e})=>e?te.Jy[e]:te.Jy.White),eti=tt.Ay.h2(["",";",";letter-spacing:1.8px;text-transform:uppercase;",""],e=>e.size&&td.Ay[e.size]||td.Ay.Caption,e=>e.weight&&td.BO[e.weight]||td.BO.DemiBold,tQ.A.Phone`
3750      text-align: center;
3751  `),etr=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.L),etn=e=>(0,J.jsxs)(ett,{color:e.color,spacing:e.spacing||"M",className:e.className,"data-testid":e.dataTestId,children:[(0,J.jsx)(eti,{size:e.size,weight:e.weight,children:e.title}),(0,J.jsx)(etr,{children:e.children})]}),eto="builder.resume_editor.document_customization.sidebar.layout_tab_new_design",eta=({document:e,updateTemplateSettings:t,onBrowseTemplates:i})=>{let{i18n:r}=(0,e1.s)(),{isPhone:n}=(0,ih.e)(),o=(0,Vo.ze)(e),a=function(e,t){let{letterFormatOptions:i,supportsLayoutFormats:r,selectedLayoutFormatOption:n,templateName:o}=(0,Yg.z)(e);return{letterFormatOptions:i,supportsLayoutFormats:r,selectedLayoutFormatOption:n,onButtonClick:()=>{(0,N.xP)("click_resume_page_size_menu",{template:o})},onSelect:e=>{t&&t(e)}}}(e,e=>t({settingsName:"format",value:e})),l=function(e,t){let{currentTemplate:i,resumeSpecificTemplateSettings:r}=(0,Yg.z)(e);return{value:r?.dateFormat??i?.settings?.dateFormat?.default??"LLL yyyy",isDisabled:!i?.supportsDateFormatCustomization,options:i?.settings?.dateFormat?.values||[],onSelect:e=>{"string"==typeof e&&t?.("dateFormat",e,i?.settings?.dateFormat?.default)}}}(e,(e,i)=>t({settingsName:e,value:i})),{currentTemplate:s}=o,d=o.resumeSpecificTemplateSettings,c=o.currentTemplate?.settings,u=d?.headerAndFooter??c?.headerAndFooter?.default??RQ.Hk.headerAndFooter,p=d?.verticalPageMargins??c?.verticalPageMargins?.default??RQ.Hk.verticalPageMargins,h=d?.horizontalPageMargins??c?.horizontalPageMargins?.default??RQ.Hk.horizontalPageMargins,x=d?.marginsBetweenSections??c?.marginsBetweenSections?.default??RQ.Hk.marginsBetweenSections,m=d?.marginsBetweenSectionNameAndContent??c?.marginsBetweenSectionNameAndContent?.default??RQ.Hk.marginsBetweenSectionNameAndContent,g=d?.marginsBetweenCards??c?.marginsBetweenCards?.default??RQ.Hk.marginsBetweenCards,y=d?.marginsInsideContentBlock??c?.marginsInsideContentBlock?.default??RQ.Hk.marginsInsideContentBlock;return(0,J.jsxs)(ee1,{"data-testid":"layout-content-container",children:[(0,J.jsx)(Yt,{currentTemplate:s,onBrowseTemplates:i}),(0,J.jsx)(YL,{label:r.t(`${eto}.format`),selected:a.selectedLayoutFormatOption,disabled:!a.supportsLayoutFormats,options:a.letterFormatOptions,useNativeSelectOnMobile:!1,buttonOnClick:a.onButtonClick,onSelect:a.onSelect,dataTestId:"page-format-select"}),(0,J.jsxs)(etn,{color:"Neutral50",size:"Caps",spacing:n?"M":"L",title:r.t(`${eto}.margin_and_paddings`),dataTestId:"margin-and-paddings-group",children:[(0,J.jsx)(Ym,{unit:" in",name:r.t(`${eto}.header_and_footer`),disabledTooltip:r.t(`${eto}.margin_customization_warning`),disabled:!s?.supportsHeaderAndFooter,value:u,defaultValue:c?.headerAndFooter?.default,min:c?.headerAndFooter?.min,max:c?.headerAndFooter?.max,step:c?.headerAndFooter?.step,onChange:e=>t({settingsName:"headerAndFooter",value:e}),dataTestId:"header-and-footer-slider-container"}),(0,J.jsx)(Ym,{unit:" in",name:r.t(`${eto}.vertical_page_margins`),disabledTooltip:r.t(`${eto}.margin_customization_warning`),disabled:!s?.supportsVerticalPageMargins,value:p,defaultValue:c?.verticalPageMargins?.default,min:c?.verticalPageMargins?.min,max:c?.verticalPageMargins?.max,step:c?.verticalPageMargins?.step,onChange:e=>t({settingsName:"verticalPageMargins",value:e}),dataTestId:"vertical-page-margins-slider-container"}),(0,J.jsx)(Ym,{unit:" in",name:r.t(`${eto}.horizontal_page_margins`),disabledTooltip:r.t(`${eto}.margin_customization_warning`),disabled:!s?.supportsHorizontalPageMargins,value:h,defaultValue:c?.horizontalPageMargins?.default,min:c?.horizontalPageMargins?.min,max:c?.horizontalPageMargins?.max,step:c?.horizontalPageMargins?.step,onChange:e=>t({settingsName:"horizontalPageMargins",value:e}),dataTestId:"horizontal-page-margins-slider-container"}),(0,J.jsx)(Ym,{unit:" pt",name:r.t(`${eto}.margins_between_sections`),disabledTooltip:r.t(`${eto}.margin_customization_warning`),disabled:!s?.supportsMarginsBetweenSections,value:x,defaultValue:c?.marginsBetweenSections?.default,min:c?.marginsBetweenSections?.min,max:c?.marginsBetweenSections?.max,step:c?.marginsBetweenSections?.step,onChange:e=>t({settingsName:"marginsBetweenSections",value:e}),dataTestId:"margins-between-sections-slider-container"}),(0,J.jsx)(Ym,{unit:" pt",name:r.t(`${eto}.margins_between_section_name_and_content`),disabledTooltip:r.t(`${eto}.margin_customization_warning`),disabled:!s?.supportsMarginsBetweenSectionNameAndContent,value:m,defaultValue:c?.marginsBetweenSectionNameAndContent?.default,min:c?.marginsBetweenSectionNameAndContent?.min,max:c?.marginsBetweenSectionNameAndContent?.max,step:c?.marginsBetweenSectionNameAndContent?.step,onChange:e=>t({settingsName:"marginsBetweenSectionNameAndContent",value:e}),dataTestId:"margins-between-section-name-and-content-slider-container"}),(0,J.jsx)(Ym,{unit:" pt",name:r.t(`${eto}.margins_between_cards`),disabledTooltip:r.t(`${eto}.margin_customization_warning`),disabled:!s?.supportsMarginsBetweenCards,value:g,defaultValue:c?.marginsBetweenCards?.default,min:c?.marginsBetweenCards?.min,max:c?.marginsBetweenCards?.max,step:c?.marginsBetweenCards?.step,onChange:e=>t({settingsName:"marginsBetweenCards",value:e}),dataTestId:"margins-between-cards-slider-container"}),(0,J.jsx)(Ym,{unit:" pt",name:r.t(`${eto}.margins_inside_content_block`),disabledTooltip:r.t(`${eto}.margin_customization_warning`),disabled:!s?.supportsMarginsInsideContentBlock,value:y,defaultValue:c?.marginsInsideContentBlock?.default,min:c?.marginsInsideContentBlock?.min,max:c?.marginsInsideContentBlock?.max,step:c?.marginsInsideContentBlock?.step,onChange:e=>t({settingsName:"marginsInsideContentBlock",value:e}),dataTestId:"margins-inside-content-block-slider-container"})]}),(0,J.jsx)(YD,{name:r.t(`${eto}.date_format`),options:l.options,selected:l.value,onSelect:l.onSelect,disabled:!s?.supportsD
3751ateFormatCustomization,disabledTooltip:r.t(`${eto}.date_format_warning`),dataTestId:"date-format-select"}),(0,J.jsx)(etn,{title:r.t(`${eto}.header_alignment`),color:"Neutral50",size:"Caps",dataTestId:"header-alignment-group",children:(0,J.jsx)(eeN,{document:e,styles:P,onFieldChange:(e,i)=>t({settingsName:e,value:i})})}),(0,J.jsx)(etn,{title:r.t(`${eto}.date_alignment`),color:"Neutral50",size:"Caps",dataTestId:"date-alignment-group",children:(0,J.jsx)(eeM,{document:e,styles:P,translation:eto,onFieldChange:(e,i)=>t({settingsName:e,value:i})})}),(0,J.jsx)(etn,{title:r.t(`${eto}.location_alignment`),color:"Neutral50",size:"Caps",dataTestId:"location-alignment-group",children:(0,J.jsx)(ee$,{document:e,styles:P,onFieldChange:(e,i)=>t({settingsName:e,value:i})})}),(0,J.jsx)(etn,{title:r.t(`${eto}.skills_layout`),color:"Neutral50",size:"Caps",dataTestId:"skills-layout-group",children:(0,J.jsx)(eeW,{document:e,styles:P,translation:eto,onFieldChange:(e,i)=>t({settingsName:e,value:i})})}),(0,J.jsx)(etn,{title:r.t(`${eto}.categorized_skills_layout`),color:"Neutral50",size:"Caps",dataTestId:"categorized-skills-layout-group",children:(0,J.jsx)(eeq,{document:e,styles:P,translation:eto,onFieldChange:(e,i)=>t({settingsName:e,value:i})})}),(0,J.jsx)(etn,{title:r.t(`${eto}.education_block_order`),color:"Neutral50",size:"Caps",dataTestId:"education-block-order-group",children:(0,J.jsx)(eeX,{document:e,styles:P,onFieldChange:(e,i)=>t({settingsName:e,value:i})})}),(0,J.jsx)(etn,{title:r.t(`${eto}.education_block_layout`),color:"Neutral50",size:"Caps",dataTestId:"education-block-layout-group",children:(0,J.jsx)(ee0,{document:e,styles:P,onFieldChange:(e,i)=>t({settingsName:e,value:i})})})]})};var etl=i(43400),ets=i(83640);let etd=tt.Ay.div(["display:block;"]),etc=tt.Ay.div(["display:flex;flex-flow:row nowrap;user-select:none;align-items:center;height:",";"],({$isNewBuilder:e})=>e?"unset":"46px"),etu=tt.Ay.div(["position:relative;width:","px;height:","px;margin-right:8px;display:flex;align-items:center;justify-content:center;border-radius:50%;-webkit-tap-highlight-color:transparent;color:",";&:last-child{margin-right:0;}"],({size:e})=>e,({size:e})=>e,({color:e})=>e&&(0,ets.Mj)(e).brightness()>.627?te.Jy.Neutral100:te.Jy.White),etp=(0,tt.Ay)(etu)(["background-color:",";cursor:pointer;&::before{content:'';position:absolute;top:calc(50% - 4px);left:calc(50% - 4px);width:8px;height:8px;border-radius:4px;background-color:currentColor;transition:transform 0.1s ease;transform:scale(0);}"," &:hover::before{transform:scale(",");}"],({color:e})=>e||te.Jy.Neutral100,({color:e})=>(!e||.295>(0,ets.Mj)(e).brightness())&&(0,tt.AH)(["box-shadow:0 0 0 2px "," inset;"],(0,ti.j)(te.Jy.White,.2)),({selected:e})=>+!e),eth=(0,tt.Ay)(etu)(["cursor:default;background-color:",";color:",";border:",";box-shadow:none;",";&::before{display:none;}"],({$isNewBuilder:e})=>e?te.Jy.Neutral5:te.Jy.Neutral70,({$isNewBuilder:e})=>e?te.Jy.Neutral40:te.Jy.White,({$isNewBuilder:e})=>e?`2px solid ${te.Jy.Neutral15}`:"none",tQ.A.Phone`
3752    border: ${({$isNewBuilder:e})=>e?`2px solid ${te.Jy.Neutral15}`:"none"};
3753  `),etx=(0,tt.Ay)(tP.qJ.TickLarge)(["position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transition:transform 0.1s ease;transform:scale(1);&[data-visible='false']{transform:scale(0);}"]),etm=tt.Ay.div(["position:absolute;z-index:3;width:140px;top:100%;margin-top:21px;left:50%;transform:translate(-50%,0px);padding:5px 8px;border-radius:3px;background-color:",";",";text-align:center;color:",";opacity:0;user-select:none;pointer-events:none;transition:opacity 0.2s ease,transform 0.2s ease;transition-delay:0ms;&::before{content:'';position:absolute;display:block;width:8px;height:8px;border-radius:0 0 2px 0;transform:translate(-50%,50%) rotateZ(45deg);background-color:",";bottom:100%;left:50%;}",":hover &{opacity:1;transform:translate(-50%,0px);transition-delay:0.2s;}"," ",""],te.Jy.Neutral100,td.Ay.Tiny,te.Jy.White,te.Jy.Neutral100,eth,({small:e})=>e&&(0,tt.AH)(["width:auto;white-space:nowrap;"]),tQ.A.Phone`
3754    display: none;
3755  `),etg=({onSelect:e,onAdd:t,options:i,selected:r,isNewBuilder:n,size:o=32})=>{let{i18n:a}=(0,e1.s)(),l=!!t,s=!i.includes(r);return(0,J.jsx)(etd,{children:(0,J.jsxs)(etc,{$isNewBuilder:n,children:[i.map((t,i)=>
3755(0,J.jsx)(etp,{size:o,color:t,selected:t===r,id:`color-select-${i}`,onClick:()=>e(t),children:(0,J.jsx)(etx,{"data-visible":t===r})},t)),l&&i.length>0&&(0,J.jsx)(etl.A,{color:r,active:s,size:o,onClick:t}),0===i.length&&Array(l?6:5).fill(0).map((e,t)=>0===t?(0,J.jsx)(etp,{size:o,selected:!0,children:(0,J.jsx)(etx,{})},t):(0,J.jsxs)(eth,{$isNewBuilder:n,size:o,children:[!n&&(0,J.jsx)(etm,{children:a.t("builder.resume_editor.no_color")}),(0,J.jsx)(tP.Ay.Lock,{})]},t))]})})};etg.propTypes={options:i9().array,selected:i9().any,onSelect:i9().func.isRequired,onAdd:i9().func,size:i9().number,isNewBuilder:i9().bool};var ety=(0,R.memo)(etg),etf=i(55408);let etb=(0,tt.Ay)(etf.A)(e=>{let{isVisible:t}=e;return(0,tt.AH)(["position:absolute;z-index:3;top:calc(100% + 16px);right:16px;box-shadow:0 12px 32px rgba(38,43,51,0.32);transform:translate(50%,-10px) translateZ(0);opacity:0;transition-property:opacity,transform;transition-timing-function:ease-out;transition-duration:0.15s;",""],t&&(0,tt.AH)(["transform:translate(50%,0px) translateZ(0);opacity:1;"]))}),et_=(0,R.memo)(({onClose:e,...t})=>{let[i,r]=(0,R.useState)(!1),n=(0,R.useRef)(null);return(0,R.useLayoutEffect)(()=>{n.current&&((0,pw.q)(n.current),r(!0))},[]),(0,oO.L)(n,e),(0,pA.j)(e),(0,J.jsx)(etb,{ref:n,isVisible:i,...t})}),etv=(0,R.memo)(e=>{let{size:t,selected:i,options:r,isNewBuilder:n,supportsCustomColor:o,onSelect:a,handleColorPickerOpen:l}=e,[s,d]=(0,R.useState)(!1),[c,u]=(0,R.useState)();(0,R.useEffect)(()=>{i&&u(i)},[i]),(0,o$.default)(()=>{c&&c!==i&&a(c)},350,[c]);let p=(0,R.useCallback)(e=>u(e),[]),h=(0,R.useCallback)(()=>{d(!0),l?.()},[l]),x=(0,R.useCallback)(()=>d(!1),[]);return(0,J.jsxs)(R.Fragment,{children:[(0,J.jsx)(ety,{size:t,selected:c,options:r,onSelect:a,onAdd:o?h:void 0,isNewBuilder:n}),s&&(0,J.jsx)(et_,{hex:c,onChange:p,onClose:x})]})}),etj=tt.Ay.div(["position:relative;"]),etA=e=>{let{document:t,currentTemplate:i,resumeSpecificTemplateSettings:r,updateTemplateSettings:n}=e,{supportsCustomColor:o,supportsNewCustomization:a,settings:l}=i||{},{isAboveTablet:s}=(0,ih.e)();return(0,J.jsx)(aH.QP,{value:i7.R.t("builder.resume_editor.no_color"),width:165,position:"bottom",multiline:!0,isActive:!l?.color?.values?.length,children:(0,J.jsx)(etj,{children:(0,J.jsx)(etv,{isNewBuilder:!0,size:s?32:44,options:l?.color?.values||[],selected:o&&a?r?.color||l?.color?.default||t?.color:t?.color||l?.color?.default,onSelect:e=>{n({settingsName:"color",value:e||""})},supportsCustomColor:o})})})},etC=tt.Ay.div(["background:",";"],te.Jy.Neutral5),etw=tt.Ay.div(["padding:16px 40px;display:flex;justify-content:center;align-items:center;gap:32px;",""],tQ.A.Phone`
3756    padding: 16px;
3757    overflow-x: auto;
3758  `),etk=tt.Ay.div(["position:relative;display:flex;align-items:center;gap:12px;"," ",""],tQ.A.Laptop`
3759    flex-direction: column;
3760    gap: 8px;
3761  `,tQ.A.Tablet`
3762    flex-direction: column-reverse;
3763    gap: 8px;
3764  `),etS=tt.Ay.div([""," color:",";font-weight:",";"],te.o5.sizes.Caption,te.Jy.Neutral90,te.o5.weights.regular);te.Jy.Neutral20,tQ.A.Tablet`
3765    height: 44px;
3766  `;let etT=e=>{let{i18n:t}=(0,e1.s)(),i=[{name:t.t("builder.resume_editor.design_tab.template_colors.main_color.title"),element:(0,J.jsx)(etA,{...e})}];return(0,J.jsx)(etC,{children:(0,J.jsx)(etw,{children:i.map(e=>(0,J.jsxs)(etk,{children:[e.name&&(0,J.jsx)(etS,{children:e.name}),e.element]},e.name))})})};var etP=i(24713),etJ=i.n(etP);let etE=tt.Ay.div(["display:flex;"]),etR=(0,tt.Ay)(lh.E)(["text-transform:uppercase;margin-right:4px;&:last-child{margin-right:0;}"]),etL=({badges:e=[],topic:t,...i})=>{let r="plan"===t?"indigo":"amber";return(0,J.jsx)(etE,{...i,children:e.map(e=>(0,J.jsx)(etR,{size:"small",variant:r,dark:!0,children:e},e))})};var etN=i(52097);let etI=tt.Ay.div(["width:calc(50% - 12px);margin-bottom:20px;cursor:",";",""],e=>e.isActive?"default":"pointer",tQ.A.Laptop`
3767    width: 100%;
3768    margin-bottom: 20px;
3769  `),etM=(0,tt.Ay)(etL).attrs({topic:"plan"})(["position:absolute;bottom:6px;left:6px;"]),etB=tt.Ay.div(["position:absolute;width:100%;height:100%;left:0;top:0;background-color:",";z-index:2;border-radius:inherit;background-image:url(",");background-position:50% 50%;background-repeat:no-repeat;"],te.Jy.White,etN),etD=tt.Ay.div(["color:",";margin-bottom:4px;text-align:center;"],te.Jy.White),et$=(0,tt.Ay)(etL)(["position:absolute;bottom:6px;right:6px;"]),etO=tt.Ay.div(["position:absolute;width:40px;height:40px;left:50%;
3769top:50%;margin-left:-20px;margin-top:-20px;display:flex;align-items:center;justify-content:center;background-color:",";color:",";border-radius:50%;opacity:",";"],te.Jy.Blue50,te.Jy.White,e=>+!!e.isActive),etz=tt.Ay.div(["position:relative;width:100%;border-radius:3px;background-color:",";background-size:",";background-image:",";&:before{content:'';display:block;padding-bottom:","%;}&:after{content:'';position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border-width:4px;border-style:solid;border-color:",";border-radius:7px;opacity:",";transition:opacity 0.15s;}",""],te.Jy.White,e=>e.fitStyle?e.fitStyle:"cover",e=>e.image?`url(${e.image})`:"none",1/.71*100,te.Jy.Blue50,e=>+!!e.isActive,tQ.A.Hover`
3770    ${etI}:hover &:after {
3771      opacity: 1;
3772    }
3773  `),etF=tt.Ay.div(["display:flex;flex-direction:column;gap:32px;"," ",""],tQ.A.Tablet`
3774    gap: 20px;
3775  `,tQ.A.Phone`
3776    gap: 12px;
3777  `),etH=tt.Ay.div(["height:40px;display:flex;align-items:center;justify-content:center;"]),etV=(0,tt.Ay)(du.hQ)(["width:24px;height:24px;"]),etU=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;margin-right:6px;"]),etW=tt.Ay.div(["position:relative;flex-shrink:0;color:",";white-space:nowrap;transition:color 0.2s;font-size:15px;line-height:18px;.swiper-slide-active &{color:",";}"],te.Jy.Neutral70,te.Jy.White),etK=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;margin-bottom:8px;.swiper{position:relative;overflow:visible;}.swiper-wrapper{display:flex;position:relative;transition-property:transform;align-items:flex-end;}"]),etq=tt.Ay.div(["position:relative;width:118px;height:",";background-color:",";background-image:",";background-size:cover;",""],({isActive:e})=>e?"172px":"148px",te.Jy.White,({image:e})=>e?`url(${e})`:"none",tQ.A.Hover`
3778    ${etW}:hover &:after {
3779      opacity: 1;
3780    }
3781  `),etG=(0,tt.Ay)(etL)([""]),etZ=(0,tt.Ay)(etL).attrs({topic:"plan"})([""]),etX=tt.Ay.div(["display:flex;flex-direction:row;gap:",";align-items:center;justify-content:center;"],te.Kz["3XS"]),etQ=(0,tt.Ay)(e=>{let{templates:t,selectedTemplates:i,selectedCategory:r,updateTemplate:n,currentDocument:o,...a}=e,{selectTemplate:l}=(0,Hu.a)(),s=(0,eW.N)(e=>e.application.isOnline),d=["athens","prague","shanghai"];return(0,J.jsx)(J.Fragment,{children:t.map(e=>i.length&&r!==$.Bh.all&&!i.includes(e.id)||r===$.Bh.free&&e.premium?null:(0,J.jsxs)(etI,{"data-testid":`template-${e.id}`,onClick:()=>{var i;let r;return n(i=e.id),r=t.find(e=>e.id===i),void l(!!r?.supportsCustomColor)},...a,children:[(0,J.jsx)(etD,{children:e.name}),(0,J.jsxs)(etz,{isActive:o?.template===e.id,image:rY(e.thumbnail,{width:154}),fitStyle:d.includes(e.id)?"contain":"cover",children:[(0,J.jsx)(et$,{badges:e.supportedFormats}),!e.premium&&(0,J.jsx)(etM,{badges:["Free"]}),s?(0,J.jsx)(etO,{isActive:o?.template===e.id,children:(0,J.jsx)(tP.Ay.TickLarge,{})}):(0,J.jsx)(etB,{})]})]},e.id))})})(["width:100%;","{margin-bottom:8px;color:",";}","{box-shadow:0 0 1px 0 rgba(15,56,113,0.32),0 1px 2px 0 rgba(15,56,113,0.12),0 2px 4px 0 rgba(15,56,113,0.08);}"],etD,te.Jy.Neutral80,etz),etY=tt.Ay.div(["display:grid;grid-template-columns:repeat(4,1fr);gap:16px;"]),et0=tt.Ay.div(["display:flex;flex-wrap:wrap;gap:8px;justify-content:center;"," & .swiper-wrapper{display:flex;position:relative;}"],tQ.A.Phone`
3782    display: block;
3783    padding: 8px 0;
3784  `),et1=(0,tt.Ay)(i$.JQ).attrs({size:i$.Mp.small,theme:i$.Ox.ghost})(["width:fit-content;padding:8px 16px;border-radius:24px;"," ",""],tQ.A.Phone`
3785    padding: 8px 12px;
3786
3787    span {
3788      min-height: unset;
3789    }
3790  `,({$isActive:e})=>e&&(0,tt.AH)(["color:",";background-color:",";box-shadow:"," 0px 0px 0px 1px inset;"],te.Jy.Blue50,te.Jy.Blue10,te.Jy.Blue50)),et2=(0,tt.Ay)(etW)(["color:",";.swiper-slide-active &{color:",";}"],te.Jy.Neutral50,te.Jy.Neutral90),et3=(0,tt.Ay)(etK)(["gap:8px;"]),et5=(0,tt.Ay)(etq)(["box-shadow:",";"],te.qd.lightWithBorderShadowMid),et4=tt.Ay.div(["height:100%;"]),et6=e=>{let{selectedTemplates:t,updateTemplate:i,currentTemplate:r}=e,n=(0,R.useRef)(null),o=(0,R.useRef)(null),a=(0,R.useMemo)(()=>{let e=etJ()(t,{id:r?.id});return e<0?0:e},[r,t]),l=(0,R.useCallback)(e=>{let{activeIndex:n=0}=e,o=t[n];o&&o.id!==r?.id&&i(o.id)}
3790,[t,i,r?.id]);return(0,R.useEffect)(()=>{o.current?.slideTo(a||0)},[t]),(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(et4,{ref:n,children:(0,J.jsxs)(et3,{children:[(0,J.jsx)(nl.RC,{onSwiper:e=>o.current=e,initialSlide:a,slidesPerView:"auto",spaceBetween:0,centeredSlides:!0,slideToClickedSlide:!0,onActiveIndexChange:l,children:t.map(e=>(0,J.jsx)(nl.qr,{children:(0,J.jsxs)(etU,{children:[(0,J.jsx)(et5,{isActive:r?.id===e.id,image:rY(e.thumbnail,{width:154})}),(0,J.jsx)(et2,{children:e.name})]})},e.id))}),(0,J.jsxs)(etX,{children:[!r?.premium&&(0,J.jsx)(etZ,{badges:["Free"]}),(0,J.jsx)(etG,{badges:r?.supportedFormats||[]})]})]})})})},et8=({isLoading:e,categories:t,selectedCategoryId:i,onSelectCategory:r})=>{let{isAboveTablet:n}=(0,ih.e)(),{i18n:o}=(0,e1.s)();return e?(0,J.jsx)(et0,{children:(0,J.jsx)(etH,{children:(0,J.jsx)(etV,{})})}):n?(0,J.jsx)(et0,{children:t.map(e=>(0,J.jsx)(et1,{$isActive:e.id===i,onClick:()=>r(e.id),"data-testid":e.id,children:o.t(e.translationKey)},e.id))}):(0,J.jsx)(et0,{children:(0,J.jsx)(nl.RC,{slidesPerView:"auto",spaceBetween:8,children:t.map(e=>(0,J.jsx)(nl.qr,{children:(0,J.jsx)(et1,{$isActive:e.id===i,onClick:()=>r(e.id),"data-testid":e.id,children:o.t(e.translationKey)})},e.id))})})},et9=e=>{let{isAboveTablet:t}=(0,ih.e)(),{selectedCategoryId:i,onSelectCategory:r}=e,n=$.DU.find(e=>e.id===i),o=n?.filterTemplates(e.templates)||[];return n?(0,J.jsxs)(etF,{children:[!e.isTemplateCategoriesHidden&&(0,J.jsx)(et8,{isLoading:!1,selectedCategoryId:i,onSelectCategory:r,categories:$.DU}),t?(0,J.jsx)(etY,{children:(0,J.jsx)(etQ,{...e,selectedCategory:n.id,selectedTemplates:o.map(e=>e.id)})}):(0,J.jsx)(et6,{...e,selectedTemplates:o})]}):null},et7=tt.Ay.div(["",""],tQ.A.Phone`
3791    height: 100%;
3792    display: flex;
3793    flex-direction: column;
3794  `),eie=tt.Ay.div([""]),eit=tt.Ay.div(["padding:24px ",";"," ",""],te.Kz.L,tQ.A.Tablet`
3795    padding: 24px ${te.Kz.L} 20px;
3796  `,tQ.A.Phone`
3797    padding: 4px 16px 16px;
3798  `),eii=({document:e,handleTemplateUpdate:t,updateTemplateSettings:i,isTemplateCategoriesHidden:r})=>{let{isPhone:n,isTablet:o}=(0,ih.e)(),{templates:a,currentTemplate:l,resumeSpecificTemplateSettings:s}=(0,Yg.z)(e),[d,c]=Q6();return(0,J.jsxs)(et7,{children:[!n&&!o&&(0,J.jsx)(eie,{children:(0,J.jsx)(etT,{document:e,currentTemplate:l,resumeSpecificTemplateSettings:s,updateTemplateSettings:i})}),(0,J.jsx)(eit,{children:(0,J.jsx)(et9,{templates:a,currentTemplate:l,currentDocument:e,updateTemplate:t,isTemplateCategoriesHidden:r,selectedCategoryId:d,onSelectCategory:c})}),(n||o)&&(0,J.jsx)(eie,{children:(0,J.jsx)(etT,{document:e,currentTemplate:l,resumeSpecificTemplateSettings:s,updateTemplateSettings:i})})]})},eir=tt.Ay.div(["position:sticky;top:0;background-color:",";z-index:5;padding-top:12px;"],te.Jy.White),ein=tt.Ay.div(["display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;color:",";background:",";border-radius:16px 16px 0 0;height:100vh;box-shadow:",";-webkit-overflow-scrolling:touch;scrollbar-width:none;&::-webkit-scrollbar{width:0;background-color:transparent;}&::-webkit-scrollbar-thumb{background-color:transparent;}"],te.Jy.Neutral90,te.Jy.White,tr.q.dark.high),eio=["483px",1],eia=({document:e,tab:t,tabItems:i,isVisible:r,onTabChange:n,onClose:o,updateTemplateSettings:a,handleTemplateUpdate:l,isTemplateCategoriesHidden:s})=>{let[d,c]=(0,R.useState)(eio[0]),u={text:(0,J.jsx)(Y5,{document:e,updateTemplateSettings:a,onBrowseTemplates:()=>n("templates")}),layout:(0,J.jsx)(eta,{document:e,updateTemplateSettings:a,onBrowseTemplates:()=>n("templates")}),templates:(0,J.jsx)(eii,{document:e,handleTemplateUpdate:l,updateTemplateSettings:a,isTemplateCategoriesHidden:s})};return(0,J.jsx)(wl.A,{open:r,onClose:o,snapPoints:eio,activeSnapPoint:d,setActiveSnapPoint:c,children:(0,J.jsxs)(ein,{children:[(0,J.jsx)(eir,{children:(0,J.jsx)(Q5,{activeTab:t,items:i,onTabChange:n})}),u[t]]})})},eil=tt.Ay.div(["padding-top:12px;margin-top:4px;background-color:",";border-radius:12px;"],te.Jy.White),eis=tt.Ay.div(["display:flex;flex-direction:column;flex:1;height:100%;width:100vw;"]),eid=(0,tt.Ay)(R1)(["z-index:4;"]),eic=({document:e,designTabItems:t,activeDesignTab:i,canScrollTop:r,isRbpStepFlowActive:n,onDesignTabChange:o,handleShareDocument:a,handleDownloadDocument:l,handleTabChange:s,editorPanelType:d,tabItems:c,updateTemplateSettings:u,handleTemplateUpdate:p,isAutoTailoringFromJBEnabled:h,renderPreview:x,isTemplateCategoriesHidden:m})=>{let[g,y]=(0,R.useState)(!1);return(0,J.jsxs)(eis,{"data-testid":"document-customization-tab",children:[(0,J.jsx)(GB,{canScrollTop:r,isRbpStepFlowActive:n,tabItems:c,handleTabChange:s,editorPanelType:d}),(0,J.jsx)(W$.w,{document:e,switchToCustomizationTab:()=>s("customization"),renderPreview:x}),(0,J.jsxs)(eid,{children:[(0,J.jsx)(R9,{onClick:()=>{y(!0)}}),h?(0,J.jsx)(WA,{}):(0,J.jsx)(R6,{handleDownloadDocument:l,handleShareDocument:a,handleCombineDocuments:()=>{},shouldShowIcon:!1,canDownloadTxt:"resume"===e.type})]}),g&&(0,J.jsx)(eia,{document:e,tab:i,tabItems:t,onTabChange:o,isVisible:g,onClose:()=>y(!1),updateTemplateSettings:u,handleTemplateUpdate:p,isTemplateCategoriesHidden:m})]})},eiu=e=>{let{tab:t,document:i,tabItems:r,onTabChange:n,updateTemplateSettings:o,handleTemplateUpdate:a,isTemplateCategoriesHidden:l}=e,s={templates:(0,J.jsx)(eii,{document:i,handleTemplateUpdate:a,updateTemplateSettings:o,isTemplateCategoriesHidden:l}),text:(0,J.jsx)(Y5,{document:i,updateTemplateSettings:o,onBrowseTemplates:()=>n("templates")}
3798),layout:(0,J.jsx)(eta,{document:i,updateTemplateSettings:o,onBrowseTemplates:()=>n("templates")})};return(0,J.jsxs)(eil,{"data-testid":"document-customization-tab",children:[(0,J.jsx)(Q5,{activeTab:t,items:r,onTabChange:n}),s[t]]})},eip="builder.resume_editor.design_tab",eih=[{id:"templates",translationKey:`${eip}.template_colors.tab`,dataTestId:"templates-tab-button"},{id:"text",translationKey:`${eip}.text.tab`,dataTestId:"text-tab-button"},{id:"layout",translationKey:`${eip}.layout.tab`,dataTestId:"layout-tab-button"}],eix=({document:e,canScrollTop:t,isRbpStepFlowActive:i,handleDownloadDocument:r,handleShareDocument:n,tabItems:o,designTabItems:a=eih,handleTabChange:l,autotailoringHeaderHeight:s,editorPanelType:d,updateTemplateSettings:c,handleTemplateUpdate:u,selectedPrefillOption:p,isAutoTailoringFromJBEnabled:h,renderPreview:x,isTemplateCategoriesHidden:m})=>{let{isAboveTablet:g}=(0,ih.e)(),[y,f]=(0,R.useState)("templates"),b=e=>{f(e)};return g?(0,J.jsx)(zZ.r8,{"data-testid":"design-content-container",children:(0,J.jsx)(eiu,{tab:y,document:e,tabItems:a,onTabChange:b,updateTemplateSettings:c,handleTemplateUpdate:u,isTemplateCategoriesHidden:m})}):(0,J.jsx)(eic,{document:e,designTabItems:a,activeDesignTab:y,canScrollTop:t,isRbpStepFlowActive:i,onDesignTabChange:b,handleShareDocument:n,handleDownloadDocument:r,tabItems:o,handleTabChange:l,autotailoringHeaderHeight:s,editorPanelType:d,updateTemplateSettings:c,handleTemplateUpdate:u,selectedPrefillOption:p,isAutoTailoringFromJBEnabled:h,renderPreview:x,isTemplateCategoriesHidden:m})};var eim=i(76042);let eig=tt.Ay.div(["display:flex;align-items:center;gap:2px;",""],({$isEditing:e})=>e&&(0,tt.AH)(["border-bottom:2px solid ",";margin-bottom:-2px;"],te.Jy.Blue50)),eiy=tt.Ay.span(["",";",";color:",";cursor:pointer;&:hover{color:",";}"],td.Ay.Body,td.BO.DemiBold,te.Jy.Blue50,te.Jy.Blue60),eif=tt.Ay.input(["",";",";color:",";border:none;outline:none;background:transparent;padding:0;min-width:100px;"],td.Ay.Body,td.BO.DemiBold,te.Jy.Blue50),eib=tt.Ay.div(["display:flex;align-items:center;gap:4px;"]),ei_=tt.Ay.button(["display:flex;align-items:center;justify-content:center;background:none;border:none;padding:0;cursor:pointer;color:",";flex-shrink:0;&:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Neutral90),eiv=({jobTarget:e,onConfirm:t})=>{let[i,r]=(0,R.useState)(!1),[n,o]=(0,R.useState)(e),[a,l]=(0,R.useState)(void 0),[s,d]=(0,R.useState)(void 0);(0,R.useEffect)(()=>{i||o(e)},[e,i]);let c=(0,R.useCallback)(e=>{e&&l(e.offsetWidth)},[]),u=(0,R.useCallback)(e=>{e&&d(e.offsetWidth)},[]),p=()=>{n&&n!==e&&t(n),r(!1)},h=()=>{o(e),r(!1)};return i?(0,J.jsxs)(eig,{$isEditing:!0,children:[(0,J.jsx)(eif,{value:n,onChange:e=>o(e.target.value),onKeyDown:e=>{"Enter"===e.key&&p(),"Escape"===e.key&&h()},style:{width:void 0!==a&&void 0!==s?a-s:a},autoFocus:!0}),(0,J.jsxs)(eib,{ref:u,children:[(0,J.jsx)(ei_,{onClick:p,children:(0,J.jsx)(tP.Ay.Tick,{})}),(0,J.jsx)(ei_,{onClick:h,children:(0,J.jsx)(tP.Ay.Close,{})})]})]}):(0,J.jsxs)(eig,{children:[(0,J.jsx)(eiy,{ref:c,onClick:()=>r(!0),children:e}),(0,J.jsx)(ei_,{onClick:()=>r(!0),children:(0,J.jsx)(tP.Ay.Edit,{})})]})},eij=tt.Ay.span(["",";font-weight:",";color:",";white-space:nowrap;max-width:0;padding-right:0;opacity:0;overflow:hidden;transition:max-width 0.3s ease,padding-right 0.3s ease,opacity 0.2s ease;"],te.o5.sizes.ButtonS,te.o5.weights.medium,te.Jy.White),eiA=tt.Ay.button(["display:flex;align-items:center;background:",";border:none;border-radius:16px;padding:0;height:28px;cursor:pointer;flex-shrink:0;color:",";overflow:hidden;transition:background-color 0.2s ease,box-shadow 0.2s ease;& > svg{flex-shrink:0;margin:2px;}&:hover{background:",";color:",";box-shadow:",";","{max-width:300px;padding-right:8px;opacity:1;}}&:active{background:",";}"],te.Jy.Blue10,te.Jy.Blue50,te.Jy.Blue50,te.Jy.White,te.qd.lightShadowLow,eij,te.Jy.Blue60),eiC=({onClick:e})=>{let{i18n:t}=(0,e1.s)();return(0,J.jsxs)(eiA,{onClick:t=>{t.stopPropagation(),e()},children:[(0,J.jsx)(tP.Ay.Near2,{}),(0,J.jsx)(eij,{children:t.t(`${Uq}.result.align_to_section`)})]})},eiw=tt.Ay.svg(e=>(0,tt.AH)(["cursor:help;--border-color:",";--primary-color:",";--secondary-color:",";&:hover{--primary-color:",";--secondary-color:",";}"],e.$primaryColor||te.Jy.Blue50,e.$primaryColor||te.Jy.Blue50,e.$secondaryColor||te.Jy.White,e.$primaryColor||te.Jy.White,e.$secondaryColor||te.Jy.Blue50)),eik=tt.Ay.path(["fill:var
3798(--secondary-color);stroke:var(--border-color);transition:stroke 0.15s ease-out,fill 0.15s ease-out;"]),eiS=tt.Ay.path(["fill:var(--primary-color);transition:stroke 0.15s ease-out,fill 0.15s ease-out;"]),eiT=(0,R.forwardRef)((e,t)=>{let{primaryColor:i,secondaryColor:r}=e;return(0,J.jsxs)(eiw,{ref:t,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",$primaryColor:i,$secondaryColor:r,children:[(0,J.jsx)(eik,{d:"M10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10C2 5.58172 5.58172 2 10 2Z"}),(0,J.jsx)(eiS,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.46 8.02C12.46 9.84 10.575 9.84 10.575 11.725H9.08001C9.08001 9.32 10.9 9.31999 10.9 8.15C10.9 7.565 10.51 7.175 9.86001 7.175C9.27501 7.175 8.82001 7.63 8.82001 8.41H7.26001C7.32501 6.785 8.36501 5.745 9.86001 5.745C11.485 5.745 12.46 6.72 12.46 8.02Z"}),(0,J.jsx)(eiS,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.01489 13.22C9.01489 12.765 9.40489 12.375 9.85989 12.375C10.3149 12.375 10.7049 12.765 10.7049 13.22C10.7049 13.675 10.3149 14.065 9.85989 14.065C9.40489 14.065 9.01489 13.675 9.01489 13.22Z"})]})});eiT.displayName="HintIcon";let eiP=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;"]),eiJ=tt.Ay.div(["background-color:",";border-radius:",";padding:16px 20px;display:flex;align-items:center;gap:8px;",""],te.Jy.White,te.Kz.XS,tQ.A.Phone`
3799    padding: 16px;
3800  `),eiE=tt.Ay.div(["display:flex;align-items:center;gap:6px;",""],tQ.A.Phone`
3801    flex-wrap: wrap;
3802    width: 100%;
3803  `),eiR=tt.Ay.div(["display:flex;align-items:center;",""],tQ.A.Phone`
3804    order: 3;
3805    width: 100%;
3806  `),eiL=tt.Ay.div(["display:flex;align-items:center;",""],tQ.A.Phone`
3807    order: 2;
3808    margin-left: auto;
3809  `),eiN=tt.Ay.span(["",";",";color:",";white-space:nowrap;"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral70),eiI=tt.Ay.div(["margin-left:auto;"]),eiM=tt.Ay.div(["display:flex;gap:2px;"]),eiB=tt.Ay.div(["flex:1;display:flex;flex-direction:column;justify-content:space-between;background-color:",";border-radius:",";padding:16px;height:156px;cursor:pointer;&:hover{background-color:",";}"],te.Jy.White,te.Kz.XS,te.Jy.Neutral5),eiD=tt.Ay.span(["",";",";color:",";display:flex;align-items:center;justify-content:space-between;gap:10px;"],td.Ay.Caption,td.BO.Medium,te.Jy.Neutral90),ei$=tt.Ay.span(["",";",";color:",";"],td.Ay.S,td.BO.Medium,({$color:e})=>e),eiO=tt.Ay.span(["",";",";color:",";"],td.Ay.Body,td.BO.DemiBold,({$color:e})=>e),eiz=tt.Ay.div(["background-color:",";border-radius:",";overflow:hidden;"],te.Jy.White,te.Kz.XS),eiF=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;padding:",";cursor:pointer;user-select:none;",""],te.Kz.M,tQ.A.Phone`
3810    padding: 16px;
3811  `),eiH=tt.Ay.div(["display:flex;align-items:center;gap:8px;"]),eiV=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),eiU=tt.Ay.div(["display:flex;align-items:center;color:",";transition:transform 0.2s ease;transform:",";"],te.Jy.Neutral50,({$isOpen:e})=>e?"rotate(0deg)":"rotate(180deg)"),eiW=tt.Ay.div(["padding:0 "," ",";display:flex;flex-direction:column;gap:",";",""],te.Kz.M,te.Kz.M,te.Kz.M,tQ.A.Phone`
3812    padding: 0 16px 16px;
3813  `),eiK=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.S),eiq=tt.Ay.hr(["margin:0;border:none;border-top:1px solid ",";"],te.Jy.Neutral15),eiG=tt.Ay.div(["",";",";color:",";display:flex;align-items:center;gap:4px;"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),eiZ=tt.Ay.div(["",";",";color:",";display:flex;flex-direction:column;gap:",";p{margin:0;}b{",";}i{font-style:italic;}"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90,te.Kz.S,td.BO.Medium),eiX=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.S),eiQ=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),eiY=tt.Ay.ul(["",";",";color:",";margin:0;padding-inline-start:28px;display:flex;flex-direction:column;gap:8px;li::marker{color:",";}b{",";}i{font-style:italic;}"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90,te.Jy.Neutral40,td.BO.Medium),ei0=tt.Ay.div(["display:flex;align-items:flex-start;gap:8px;background-color:",";border-radius:4px;padding:8px 12px 8px 8px;",";",";color:",";"],te.Jy.Neutral5,td.Ay.Caption,td.BO.Regular,te.Jy.Neutral90),ei1=tt.Ay.div(["display:flex;flex-shrink:0;color:",";"],te.Jy.Blue50),ei2=tt.Ay.div(["display:flex;gap:12px;flex-wrap:wrap;"]),ei3=(0,tt.Ay)(tP.EK.AiIcon)([""]),ei5=tt.Ay.button(["--bg-color:",";--bg-hover-color:",";--text-color:",";--text-hover-color:",";--icon-color:",";--icon-hover-color:",";display:flex;align-items:center;gap:2px;background:var(--bg-color);color:var(--text-color);border:none;border-radius:32px;padding:6px 16px 6px 6px;cursor:pointer;",";",";transition:all 0.2s ease-out;","{color:var(--icon-color);}&:hover{background:var(--bg-hover-color);color:var(--text-hover-color);","{color:var(--icon-hover-color);}}"],te.Jy.Blue10,te.Jy.Blue50,te.Jy.Blue60,te.Jy.White,te.Jy.Blue50,te.Jy.White,td.Ay.Caption,td.BO.Medium,ei3,ei3),ei4=(0,tt.Ay)(ei5)(["--bg-color:",";--bg-hover-color:",";--text-color:",";--icon-color:",";"],te.Jy.Indigo10,te.Jy.Indigo50,te.Jy.Indigo60,te.Jy.Indigo50),ei6=["structure","content","role"],ei8={},ei9=({data:e,resume:t})=>{let{structure:i,content:r,role:n,sections:o,missingSections:a}=e.aiResumeReview,l=e.data?.appliedActions??ei8,{i18n:s}=(0,e1.s)(),d=(0,eU.wA)(),{isPhone:c,isAboveTablet:u}=(0,ih.e)(),[p,h]=(0,R.useState)(!0),[x,m]=(0,R.useState)({}),[g,y]=(0,R.useState)(null),f={structure:i,content:r,role:n},b=e=>{let t=document.getElementById(`overview-${e}`);t?.scrollIntoView({behavior:"smooth",block:"start"})};(0,R.useEffect)(()=>{g&&p&&(b(g),y(null))},[g,p]);let _=e=>{let t=x[e];(0,N.xP)(t?"ai_review_section_expand":"ai_review_section_collapse",{section_name:e}),m(t=>({...t,[e]:!t[e]}))},v=(0,R.useRef)(new Map),j=(0,W_.X1)(s.t),A=(0,R.useCallback)(e=>t.customSections?.find(t=>t.externalId===e),[t.customSections]),C=(0,R.useCallback)(e=>{if(t.sectionTitles[e])return t.sectionTitles[e];if(e in W_.K3)return j(e);let i=A(e);return i?.title?i.title:e},[t.sectionTitles,j,A]),w=(0,R.useCallback)(e=>{let t=A(e);return t?`custom:${t.externalId}`:e},[A]),k=(0,R.useCallback)(e=>{(0,N.xP)("ai_review_align_to_section",{section_name:e});let t=v.current.get(e),i=w(e),r=document.querySelector(`[data-anchor-id="${i}"]`);if(!t||!r)return;let n=r.parentElement;for(;n;){let{overflowY:e}=getComputedStyle(n);if("auto"===e||"scroll"===e)break;n=n.parentElement}if(!n)return;let o=t.getBoundingClientRect().top,a=r.getBoundingClientRect().top;n.scrollBy({top:a-o,behavior:"smooth"})},[w]),S=(0,R.useMemo)(()=>Object.entries(o).map(([e,t])=>{let i=l[e]??[],r=i.includes("apply_all")?[]:t.suggestedActions.filter(e=>!i.includes(e)),n=C(e);return{...t,sectionId:e,title:n,remainingActions:r}}),[o,l,C]),T=(0,R.useMemo)(()=>
3813{if(!a)return[];let e=l.missingSections??[];return e.includes("apply_all")?[]:a.items.filter(t=>!e.includes(t.sectionId||t.sectionName))},[a,l]),P=(e,i)=>{let r=e?(0,Yv.x)(e):null;if(!r||!(r in t)||"customSections"===r)return void d($.o1.addCustomSection({externalId:(0,X$.r)(),type:"advanced",title:i,options:{scrollIntoViewport:!0}}));let n=t[r];if(Array.isArray(n))if(n.length>0){let e=n[0],t=e.cid||e.id;d($.o1.openCard({id:t,sectionId:r})),XO.A.scrollToAnchor(t),UO.A.focus(t)}else d($.o1.addCard({sectionName:r,options:{scrollIntoViewport:!0,shouldOpen:!0}}));else XO.A.scrollToAnchor(r),UO.A.focus(r)};return(0,J.jsxs)(eiP,{"data-testid":"ai-resume-review-result",children:[(0,J.jsxs)(eiJ,{children:[(0,J.jsxs)(eiE,{children:[(0,J.jsx)(eiN,{children:s.t(`${Uq}.result.header`)}),(0,J.jsx)(eiR,{children:(0,J.jsx)(eiv,{jobTarget:e.aiResumeReview.jobTarget,onConfirm:t=>{(0,N.xP)("ai_review_change_job_target",{old_target:e.aiResumeReview.jobTarget,new_target:t}),d($.o1.startAiResumeReviewV2({jobTarget:t}))}})}),(0,J.jsx)(eiL,{children:(0,J.jsx)(aH.QP,{value:s.t(`${Uq}.result.title_tooltip`),position:"top",width:250,multiline:!0,children:(0,J.jsx)(eiT,{})})})]}),!c&&(0,J.jsx)(eiI,{children:(0,J.jsx)(i$.JQ,{size:"small",theme:i$.Ox.secondary,leadingIcon:(0,J.jsx)(tP.Ay.TurnLeftRegular,{}),onClick:()=>{(0,N.xP)("click_refresh",{label:"ai_review"}),d($.o1.startAiResumeReviewV2({jobTarget:e.aiResumeReview.jobTarget}))},"data-testid":"ai-resume-review-result-refresh-button",children:s.t(`${Uq}.result.refresh`)})})]}),(0,J.jsx)(eiM,{children:ei6.map(e=>{let t=f[e];return(0,J.jsxs)(eiB,{onClick:()=>{(0,N.xP)("ai_review_section_click",{section_name:e}),p?b(e):(h(!0),y(e))},children:[(0,J.jsxs)(eiD,{children:[s.t(`${Uq}.result.category.${e}`),"role"===e&&u&&(0,J.jsx)(aH.QP,{value:s.t(`${Uq}.result.category.role_tooltip`),position:"top",width:250,multiline:!0,children:(0,J.jsx)(eiT,{})})]}),(0,J.jsx)(ei$,{$color:Bv(t.score),children:s.t(`${Uq}.result.rating.${t.score}`)})]},e)})}),(0,J.jsxs)(eiz,{children:[(0,J.jsxs)(eiF,{onClick:()=>{let e=!p;(0,N.xP)(e?"ai_review_section_expand":"ai_review_section_collapse",{section_name:"overview"}),h(e=>!e)},children:[(0,J.jsx)(eiV,{children:s.t(`${Uq}.result.overview`)}),(0,J.jsx)(eiU,{$isOpen:p,children:(0,J.jsx)(tP.Ay.ChevronUp2,{})})]}),p&&(0,J.jsx)(eiW,{children:ei6.map((e,t)=>{let i=f[e];return(0,J.jsxs)(R.Fragment,{children:[(0,J.jsxs)(eiK,{id:`overview-${e}`,children:[(0,J.jsxs)(eiG,{children:[s.t(`${Uq}.result.category.${e}`)," • ",(0,J.jsx)(eiO,{$color:Bv(i.score),children:s.t(`${Uq}.result.rating.${i.score}`)})]}),(0,J.jsx)(eiZ,{dangerouslySetInnerHTML:{__html:i.overview}}),i.pointsToStrengthen.length>0&&(0,J.jsxs)(eiX,{children:[(0,J.jsx)(eiQ,{children:s.t(`${Uq}.result.to_improve`)}),(0,J.jsx)(eiY,{children:i.pointsToStrengthen.map((e,t)=>(0,J.jsx)("li",{dangerouslySetInnerHTML:{__html:e}},t))})]})]}),t<ei6.length-1&&(0,J.jsx)(eiq,{})]},e)})})]}),S.map(({sectionId:e,remainingActions:t,...i})=>(0,J.jsxs)(eiz,{ref:t=>{t?v.current.set(e,t):v.current.delete(e)},children:[(0,J.jsxs)(eiF,{onClick:()=>_(e),children:[(0,J.jsxs)(eiH,{children:[(0,J.jsx)(eiV,{children:i.title}),u&&(0,J.jsx)(eiC,{onClick:()=>k(e)})]}),(0,J.jsx)(eiU,{$isOpen:!x[e],children:(0,J.jsx)(tP.Ay.ChevronUp2,{})})]}),!x[e]&&(0,J.jsxs)(eiW,{children:[(0,J.jsx)(eiZ,{dangerouslySetInnerHTML:{__html:i.overview}}),i.pointsToStrengthen.length>0&&(0,J.jsxs)(eiX,{children:[(0,J.jsx)(eiQ,{children:s.t(`${Uq}.result.to_improve_section`)}),(0,J.jsx)(eiY,{children:i.pointsToStrengthen.map((e,t)=>(0,J.jsx)("li",{dangerouslySetInnerHTML:{__html:e}},t))})]}),i.tip&&(0,J.jsxs)(ei0,{children:[(0,J.jsx)(ei1,{children:(0,J.jsx)(tP.EK.InfoRegular,{})}),(0,J.jsx)("span",{children:i.tip})]}),t.length>0&&(0,J.jsxs)(ei2,{children:[(0,J.jsxs)(ei4,{onClick:()=>{let i,r;return i=C(e),(0,N.xP)("ai_review_apply_suggestions",{suggestion_content:"apply_all",section_name:e}),r=`${i}: ${t.join(", ")}`,void(d(eim.o1.toggleConversationalBuilder(!0)),d(eE.o1.sendMessage({message:r,showAiReviewTab:!1,resumeReviewQuickAction:!0})),d($.o1.applyAiReviewAction({sectionId:e,actionId:"apply_all"})))},children:[(0,J.jsx)(ei3,{}),s.t(`${Uq}.result.apply_all`)]}),t.map((t,i)=>(0,J.jsxs)(ei5,{onClick:()=>{let i,r;return i=C(e),(0,N.xP)("ai_review_apply_suggestions",{suggestion_content:t,section_name:e}),r=`${i}: ${t}`,void(d(eim.o1.toggleConversationalBuilder(!0)),d(eE.o1.sendMessage({message:r,showAiReviewTab:!1,resumeReviewQuickAction:!0}
3813)),d($.o1.applyAiReviewAction({sectionId:e,actionId:t})))},children:[(0,J.jsx)(ei3,{}),t]},i))]})]})]},e)),a&&(0,J.jsxs)(eiz,{children:[(0,J.jsxs)(eiF,{onClick:()=>_("missing"),children:[(0,J.jsx)(eiV,{children:s.t(`${Uq}.result.missing_sections`)}),(0,J.jsx)(eiU,{$isOpen:!x.missing,children:(0,J.jsx)(tP.Ay.ChevronUp2,{})})]}),!x.missing&&(0,J.jsxs)(eiW,{children:[(0,J.jsx)(eiZ,{dangerouslySetInnerHTML:{__html:a.overview}}),a.items.length>0&&(0,J.jsxs)(eiX,{children:[(0,J.jsx)(eiQ,{children:s.t(`${Uq}.result.recommendations`)}),(0,J.jsx)(eiY,{children:a.items.map((e,t)=>(0,J.jsx)("li",{dangerouslySetInnerHTML:{__html:e.content}},t))})]}),T.length>0&&(0,J.jsxs)(ei2,{children:[(0,J.jsxs)(ei4,{onClick:()=>{u||d($.o1.setEditorPanelType("editor")),(0,N.xP)("ai_review_apply_suggestions",{suggestion_content:"apply_all",section_name:"missing_sections"}),T.forEach(e=>P(e.sectionId,e.sectionName)),d($.o1.applyAiReviewAction({sectionId:"missingSections",actionId:"apply_all"}))},children:[(0,J.jsx)(ei3,{}),s.t(`${Uq}.result.apply_all`)]}),T.map((e,t)=>(0,J.jsxs)(ei5,{onClick:()=>{let t;return u||d($.o1.setEditorPanelType("editor")),t=e.sectionId||e.sectionName,void((0,N.xP)("ai_review_apply_suggestions",{suggestion_content:e.sectionName,section_name:"missing_sections"}),P(e.sectionId,e.sectionName),d($.o1.applyAiReviewAction({sectionId:"missingSections",actionId:t})))},children:[(0,J.jsx)(ei3,{}),s.t(`${Uq}.result.add_section`,{sectionName:e.sectionName})]},t))]})]})]})]})},ei7=e=>{let{editorPanelType:t,handleEditorPanelTypeChange:i,mobilePanelSwitcherItems:r=[],isInModalWindow:n=!0,canScrollBottom:o}=e,a=(0,eW.N)(e=>e.resumeEditor.resume),l=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.reviewResultV2),s=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.fetchStatusV2),d=a?.position,c=(0,eU.wA)(),{i18n:u}=(0,e1.s)(),p=(0,R.useRef)(null),h=R7();(0,R.useEffect)(()=>{if(!n)return;let e=p.current;if(e)return(0,Wd.disableBodyScroll)(e),()=>{(0,Wd.enableBodyScroll)(e)}},[n]);let{canScrollTop:x,canScrollBottom:m}=Rm({elementRef:p,isDisabled:!n}),g=o??m,y=()=>{d?((0,N.xP)("click_get_better",{label:"ai_review_tab"}),c($.o1.startAiResumeReviewV2())):c($.o1.setAiReviewJobTitleRequired(!0))},f=()=>{l&&((0,N.xP)("click_refresh",{label:"ai_review"}),c($.o1.startAiResumeReviewV2({jobTarget:l.aiResumeReview.jobTarget})))},b=()=>s===eZ.Hp.loading?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(U4,{}),(0,J.jsx)(Wm,{$isFooterShadowVisible:g,children:(0,J.jsx)(i$.JQ,{theme:i$.Ox.alternative,size:h,children:(0,J.jsx)(du.b8,{$width:"24px",$height:"24px"})})})]}):s===eZ.Hp.failed?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(We,{onRetry:y}),(0,J.jsx)(Wm,{$isFooterShadowVisible:g,children:(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,onClick:y,size:h,children:u.t(`${Uq}.error.retry`)})})]}):l&&a?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ei9,{data:l,resume:a}),(0,J.jsx)(Wm,{$isFooterShadowVisible:g,children:(0,J.jsx)(i$.JQ,{theme:i$.Ox.secondary,onClick:f,leadingIcon:(0,J.jsx)(tP.Ay.TurnLeftRegular,{}),size:h,children:u.t(`${Uq}.result.refresh`)})})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(XV,{}),(0,J.jsx)(Wm,{$isFooterShadowVisible:g,children:(0,J.jsx)(i$.JQ,{theme:i$.Ox.alternative,leadingIcon:(0,J.jsx)(tP.Ay.FeaturedRegular,{}),onClick:y,size:h,children:u.t(`${Uq}.mobile_footer.get_review`)})})]});return n?(0,J.jsxs)(Wh,{ref:p,children:[(0,J.jsx)(Wx,{$isHeaderShadowVisible:x,children:(0,J.jsx)(Wp,{activePanelType:t,handlePanelTypeChange:i,items:r})}),b()]}):b()},ere=(0,tt.Ay)(e=>{let t=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.reviewResult),i=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.fetchStatus),r=(0,eU.wA)(),n=()=>{(0,N.xP)("click_get_better",{label:"ai_review_tab"}),r($.o1.startAiResumeReview())};return(0,J.jsx)(UK,{...e,"data-testid":"ai-resume-review-container",children:i===eZ.Hp.loading?(0,J.jsx)(U4,{}):i===eZ.Hp.failed?(0,J.jsx)(We,{onRetry:n}):t?(0,J.jsx)(Ws,{data:t,onRefresh:n}):(0,J.jsx)(U1,{onStartReview:n})})})([""," flex:auto;padding:4px;margin-top:0;"],zZ.zH),ert=(0,tt.Ay)(e=>{let t=(0,eW.N)(e=>e.resumeEditor.resume),i=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.reviewResultV2),r=(0,eW.N)(e=>e.resumeEditor.aiResumeReview.fetchStatusV2),n=t?.position,o=(0,eU.wA)(),a=()=>
3813{if(!n){o($.o1.setAiReviewJobTitleRequired(!0)),o($.o1.setOpenedSections({[$.Gw.details]:!0})),XO.A.scrollToAnchor("position"),UO.A.focus("position");return}(0,N.xP)("click_get_better",{label:"ai_review_tab"}),o($.o1.startAiResumeReviewV2())};return(0,J.jsx)(UK,{...e,"data-testid":"ai-resume-review-container",children:r===eZ.Hp.loading?(0,J.jsx)(U4,{}):r===eZ.Hp.failed?(0,J.jsx)(We,{onRetry:a}):i&&t?(0,J.jsx)(ei9,{data:i,resume:t}):(0,J.jsx)(XV,{onStartReview:a})})})([""," flex:auto;padding:4px;margin-top:0;"],zZ.zH),eri=tt.Ay.div(["padding-top:4px;display:flex;flex-direction:column;gap:4px;flex:auto;"]),err=e=>{let{canScrollBottom:t}=e,{isTablet:i}=(0,ih.e)(),r=(0,e0.U)();return r?.features?.aiReviewV2?i?(0,J.jsx)(eri,{children:(0,J.jsx)(ei7,{isInModalWindow:!1,canScrollBottom:t})}):(0,J.jsx)(ert,{}):i?(0,J.jsx)(eri,{children:(0,J.jsx)(Wg,{isInModalWindow:!1,canScrollBottom:t})}):(0,J.jsx)(ere,{})},ern=tt.Ay.div(["flex:1;display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;"]),ero=tt.Ay.div(["flex:1;display:grid;grid-template-columns:1fr 1fr;gap:0;width:100%;height:100%;overflow:hidden;"]),era=tt.Ay.div(["display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;"]),erl=(0,tt.Ay)(era)(["position:relative;"]),ers=(0,tt.Ay)(era)([""]),erd=({leftColumn:e,rightColumn:t,className:i})=>(0,J.jsx)(ern,{className:i,"data-testid":"tab-content-wrapper",children:(0,J.jsxs)(ero,{"data-testid":"tab-content",children:[(0,J.jsx)(erl,{"data-testid":"tab-content-left-column",children:e}),(0,J.jsx)(ers,{"data-testid":"tab-content-right-column",children:t})]})});var erc=i(39601);let eru=tt.Ay.div(["left:50%;bottom:24px;z-index:1000;position:fixed;transform:translateX(-50%);gap:4px;display:flex;align-items:center;padding:8px 12px 8px 8px;border-radius:32px;background:",";box-shadow:",";opacity:0;visibility:hidden;transform:translateX(-50%) translateY(20px);transition:all 500ms ease-out;",""],te.Jy.White,te.qd.lightWithBorderShadowMid,({$isSyncing:e})=>e&&(0,tt.AH)(["opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);transition:all 350ms ease-in-out;"])),erp=(0,tt.Ay)(tP.qJ.Saved)([""]),erh=(0,tt.Ay)(du.hQ)(["width:24px;height:24px;"]),erx=tt.Ay.div([""," color:",";"],td.o5.Caption,te.Jy.Neutral80),erm=({isSyncing:e})=>{let{i18n:t}=(0,e1.s)(),[i,r]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{if(e)return void r(!0);let t=setTimeout(()=>{r(!1)},500);return()=>{clearTimeout(t)}},[e]),(0,J.jsxs)(eru,{$isSyncing:i,children:[e?(0,J.jsx)(erh,{}):(0,J.jsx)(erp,{}),(0,J.jsx)(erx,{children:t.t(`builder.resume_editor.${e?"saving":"saved"}`)})]})},erg=e=>{let{settingsName:t,value:i,resume:r,previousValue:n=0}=e;"color"===t&&(0,N.xP)("change_resume_color",{template:r?.template}),("primaryFont"===t||"secondaryFont"===t||"tertiaryFont"===t)&&(0,N.xP)("change_resume_font",{label:t,new_value:i,template:r?.template}),"lineSpacing"===t&&"number"==typeof i&&"number"==typeof n&&(0,N.xP)("change_line_spacing",{label:"templates",direction:i>n?"increase":"decrease",old_value:n,new_value:i})},ery=e=>{let{children:t,canScrollBottom:i,handleDownloadDocument:r,handleCombineDocuments:n,documentType:o="resume"}=e,{isAboveTablet:a}=(0,ih.e)();return(0,J.jsxs)(QT,{children:[t,!a&&(0,J.jsx)(R1,{isFooterShadowVisible:i,children:(0,J.jsx)(R6,{handleDownloadDocument:r,handleCombineDocuments:n,shouldShowIcon:!1,menuPosition:"top",canDownloadTxt:"resume"===o})})]})};var erf=i(98668),erb=i(43627),er_=i(38552),erv=i(10818);let erj=function(e){return(0,R.memo)(t=>{let{isPhone:i}=(0,ih.e)();return(0,J.jsx)(e,{autoFocus:!i,...t})})};var erA=i(36666),erC=i(38561),erw=i(35110);let erk=e=>{let{showLabelHint:t=!0,value:i,onChange:r=()=>{},currentlyLabel:n,headingLabel:o}=e,[a,l]=(0,R.useState)(null),[s,d]=(0,R.useState)(null),[c,u]=(0,R.useState)(0),[p,h]=(0,R.useState)(!1),x=(0,R.useRef)(null),m=(0,R.useRef)(null);return(0,dl.h)(()=>{let[e,t,r]=(0,erA.Cy)(i.dateUntil,{isDatePresent:i.isDateUntilPresent,isMonthHidden:i.isMonthUntilHidden});l(e),d(t),u(r)}),(0,oO.L)(x,()=>{h(!1)}),(0,J.jsxs)(erw.mc,{onKeyDown:e=>{9===e.keyCode&&p&&h(!1)},ref:x,children:[(0,J.jsxs)(erw.JU,{children:[(0,J.jsx)(erw.ss,{children:o}),t&&(0,J.jsx)(erw.Qj,{multiline:!0,children:i7.R.t("builder.date_range_picker.hint")})]}),(0,J.jsx)(re.A,{name:"endDate",onFocus:()=>{h(!0)},onBlur:()=>{l((0,erA.K_)(s,c,{prevValue:a})),r({dateUntil:(0,erA.Yu)(s,c,{isDateHidden:(0,erA.t_)(a)}),isDateUntilPresent:(0,erA.Wo)(a),isMonthUntilHidden:(0,erA.lO)(a)})},onChange:e=>{let t=e.target.value,i={endValue:t,endMonth:(0,erA.Cq)(t),endYear:(0,erA.Rd)(t)};l(i.endValue),d(i.endMonth),u(i.endYear),r({dateUntil:(0,erA.Yu)(i.endMonth,i.endYear,{isDateHidden:(0,erA.t_)(i.endValue)}),isDateUntilPresent:(0,erA.Wo)(i.endValue),isMonthUntilHidden:(0,erA.lO)(i.endValue)})},value:a||"",active:p,placeholder:i7.R.t("builder.date_range_picker.placeholder"),autoComplete:"off"}),(0,J.jsx)(lj.Ay,{in:p,timeout:0,onEnter:()=>{},onEntering:()=>{},onExiting:()=>{},unmountOnExit:!0,appear:!0,nodeRef:m,children:(0,J.jsx)(erC.A,{month:s,year:c,onChangeYear:e=>{let t=(0,erA.K_)(s,e);u(e),l(t),r({dateUntil:(0,erA.Yu)(s,e,{isDateHidden:(0,erA.t_)(t)})})},onChoose:(e,t)=>{d(e),l((0,erA.K_)(e,t)),h(!1),r({dateUntil:(0,erA.Yu)(e,t),isMonthUntilHidden:!e})},showIsPresent:!0,isPresent:(0,erA.Wo)(a),onIsPresentToggle:e=>{l((0,erA.K_)(s,c,{isDatePresent:e})),r({isDateUntilPresent:e})}
3813,alignRight:!0,currentlyLabel:n,noActiveMonth:(0,erA.t_)(a)||(0,erA.lO)(a),containerRef:m})})]})},erS=erj((0,R.memo)(e=>{let{item:t,autoFocus:i,onChange:r,sectionId:n}=e,o=" "+i7.R.t("builder.resume_editor.labels.at")+" ",a=[t.course,t.institution].filter(e=>e).join(o)||i7.R.t("builder.resume_editor.not_specified"),l=(0,W9.t)(t);return(0,J.jsx)(Wy.C6,{title:a,subtitle:l,...e,children:(0,J.jsx)(erv.fo,{children:(0,J.jsxs)(erv.fI,{children:[(0,J.jsx)(erv.D0,{children:(0,J.jsx)(erk,{value:t,onChange:e=>{r(n,t.id,e,!0)},currentlyLabel:i7.R.t("builder.resume_editor.courses_card.currently_acquiring"),headingLabel:i7.R.t("builder.resume_editor.courses_card.acquisition_label")})}),(0,J.jsx)(erv.D0,{children:(0,J.jsx)(re.A,{autoFocus:i,label:i7.R.t("builder.resume_editor.courses_card.course"),name:"course",onChange:e=>{r(n,t.id,{[e.target.name]:e.target.value},!0)},value:t.course||""})})]})})})}));var erT=i(3587);let erP=erj((0,R.memo)(e=>{let{item:t,locale:i,autoFocus:r}=e,n=(0,W9.t)(t),o=" "+i7.R.t("builder.resume_editor.labels.at")+" ",a=[t.degree,t.school].filter(e=>e).join(o)||i7.R.t("builder.resume_editor.not_specified"),l=t=>{let{onChange:i,sectionId:r,item:n}=e;i(r,n.id,{[t.target.name]:t.target.value},!0)};return(0,J.jsx)(Wy.C6,{title:a,subtitle:n,...e,children:(0,J.jsxs)(erv.fo,{children:[(0,J.jsxs)(erv.fI,{children:[(0,J.jsx)(erv.D0,{children:(0,J.jsx)(erT.A,{value:t,onChange:t=>{let{onChange:i,sectionId:r,item:n}=e;i(r,n.id,t,!0)},currentlyLabel:i7.R.t("builder.date_range_picker.currently.study")})}),(0,J.jsx)(erv.D0,{children:(0,J.jsx)(GD.wc,{name:"school",fetchItems:(0,GD.$Z)("university",{limit:4,locale:i}),value:t.school||"",onChange:l,children:({key:e,...t})=>(0,R.createElement)(re.A,{...t,key:e,autoFocus:r,label:i7.R.t("builder.resume_editor.educations_card.school")})})})]}),(0,J.jsxs)(erv.fI,{children:[(0,J.jsx)(erv.D0,{children:(0,J.jsx)(re.A,{label:i7.R.t("builder.resume_editor.educations_card.faculty"),name:"faculty",onChange:l,value:t.faculty||""})}),(0,J.jsx)(erv.D0,{children:(0,J.jsx)(re.A,{label:i7.R.t("builder.resume_editor.educations_card.department"),name:"department",onChange:l,value:t.department||""})})]})]})})})),erJ=e=>{let{i18n:t}=(0,e1.s)(),i=t.t("builder.resume_editor.work_experiences_card.title"),{item:r,updateSimpleField:n,autoFocus:o}=e;return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(erv.D0,{children:(0,J.jsx)(re.A,{autoFocus:o,label:i,name:"title",onChange:n,value:r.title||""})})})},erE=e=>{let{value:t,onChange:i=()=>{},label:r}=e,[n,o]=(0,R.useState)(null),[a,l]=(0,R.useState)(null),[s,d]=(0,R.useState)(0),[c,u]=(0,R.useState)(!1),p=(0,R.useRef)(null),h=(0,R.useRef)(null);return(0,dl.h)(()=>{let e=t?new Date(t):new Date,i=e.toLocaleString("default",{month:"short"}),r=e.getFullYear(),n=`${i}, ${r}`,a=e.getMonth()+1,s=e.getFullYear();o(n),l(a),d(s),u(!1)}),(0,oO.L)(p,()=>{u(!1)}),(0,J.jsxs)(erw.mc,{onKeyDown:e=>{9===e.keyCode&&c&&u(!1)},ref:p,children:[(0,J.jsx)(erw.JU,{children:(0,J.jsx)(erw.ss,{children:r})}),(0,J.jsx)(re.A,{name:"startDate",onFocus:()=>{u(!0)},onBlur:()=>{o((0,erA.K_)(a,s,{prevValue:n})),i({dateFrom:(0,erA.Yu)(a,s,{isDateHidden:(0,erA.t_)(n)}),isMonthFromHidden:(0,erA.lO)(n)})},onChange:e=>{let t=e.target.value,r={startValue:t,startMonth:(0,erA.Cq)(t),startYear:(0,erA.Rd)(t)};o(r.startValue),l(r.startMonth),d(r.startYear),i({dateFrom:(0,erA.Yu)(r.startMonth,r.startYear,{isDateHidden:(0,erA.t_)(r.startValue)}),isMonthFromHidden:(0,erA.lO)(r.startValue)})},value:n||"",active:c,placeholder:i7.R.t("builder.date_range_picker.placeholder"),autoComplete:"off"}),(0,J.jsx)(lj.Ay,{in:c,timeout:0,onEnter:()=>{},onEntering:()=>{},onExiting:()=>{},unmountOnExit:!0,appear:!0,nodeRef:h,children:(0,J.jsx)(erC.A,{month:a,year:s,onChangeYear:e=>{let t=(0,erA.K_)(a,e);d(e),o(t),i({dateFrom:(0,erA.Yu)(a,e,{isDateHidden:(0,erA.t_)(t)})})},onChoose:(e,t)=>{l(e),o((0,erA.K_)(e,t)),u(!1),i({dateFrom:(0,erA.Yu)(e,t),isMonthFromHidden:!e})},noActiveMonth:(0,erA.t_)(n)||(0,erA.lO)(n),containerRef:h})})]})},erR=e=>{let{item:t,updateSimpleField:i}=e,{plannedResignationDate:r}=t,n=(0,R.useCallback)(e=>{i({target:{name:"plannedResignationDate",value:e.dateFrom}})},[i]);return(0,J.jsx)(erv.D0,{children:(0,J.jsx)(erE,{value:r||"",onChange:n,label:"Planned Resignation Date (Optional)"})})};var erL=i(7208);let erN=e=>{let{i18n:t}=(0,e1.s)(),{item:i,updateDescription:r}=e;return(0,J.jsx)(R.Fragment,{children:(0,J.jsx)(erv.D0,{fullwidth:!0,style:{zIndex:0},children:(0,J.jsx)(erL.default,{placeholder:t.t("builder.resume_editor.work_experiences_card.description_placeholder"),label:t.t("builder.resume_editor.work_experiences_card.additional_information"),value:i.description||"",onChange:r,boldButtonDisable:!0,italicButtonDisable:!0,linkButtonDisable:!0})})})},erI=e=>{let{i18n:t}=(0,e1.s)(),{item:i,updateSelect:r}=e,n=(0,R.useRef)({RETIREMENT:"involuntary_retirement",PERSONAL_REASON:"personal_reasons",NONE:null}),o=(0,R.useRef)([{id:n.current.NONE,name:"\0"},{id:n.current.RETIREMENT,name:t.t("builder.resume_editor.work_experience_section.resignation_options.involuntary_retirement")},{id:n.current.PERSONAL_REASON,name:t.t("builder.resume_editor.work_experience_section.resignation_options.personal_reasons")}]),a=i.reasonForResignation||"",l=(0,R.useCallback)(e=>{r("reasonForResignation",e||"")},[r]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(erv.D0,{children:(0,J.jsx)(YP.A,{label:t.t("builder.resume_editor.work_experience_section.reason_for_resignation"),selected:a,onSelect:l,options:o.current})})})},erM=erj(e=>
3813{let{item:t,autoFocus:i,locale:r,sectionId:n,onChange:o}=e,{i18n:a}=(0,e1.s)(),{id:l,title:s,employer:d,isDateUntilPresent:c}=t,u=(0,R.useMemo)(()=>{let e=" "+a.t("builder.resume_editor.labels.at")+" ";return[s,d].filter(Boolean).join(e)||a.t("builder.resume_editor.not_specified")},[a,d,s]),p=(0,W9.t)(t),h=(0,R.useCallback)(e=>{"target"in e&&o(n,l,{[e.target.name]:e.target.value},!0)},[o,n,l]),x=(0,R.useCallback)(e=>o(n,l,{description:e},!0),[o,n,l]),m=(0,R.useCallback)(e=>o(n,l,e,!0),[o,n,l]),g=(0,R.useCallback)((e,t)=>o(n,l,{[e]:t},!0),[o,n,l]);return(0,J.jsx)(Wy.C6,{...e,title:u,subtitle:p,children:(0,J.jsxs)(erv.fo,{children:[(0,J.jsxs)(erv.fI,{children:[(0,J.jsx)(erv.D0,{children:(0,J.jsx)(erT.A,{value:t,onChange:m,currentlyLabel:a.t("builder.date_range_picker.currently.work")})}),(0,J.jsx)(erv.D0,{children:(0,J.jsx)(re.A,{label:a.t("builder.resume_editor.work_experiences_card.employer"),name:"employer",onChange:h,value:t.employer||""})})]}),(0,J.jsxs)(erv.fI,{children:[c?(0,J.jsx)(erR,{item:t,updateSimpleField:h}):(0,J.jsx)(erI,{item:t,updateSimpleField:h,updateSelect:g}),(0,J.jsx)(erJ,{item:t,updateSimpleField:h,autoFocus:i})]}),(0,J.jsx)(erv.fI,{children:(0,J.jsx)(erN,{item:t,updateDescription:x,locale:r,autoFocus:i})})]})})}),erB=e=>{let{resume:t,levels:i}=e,{hideSkillLevel:r,locale:n,sectionsOrder:o}=t,a=[{id:$.Gw.educations,title:i7.R.t("builder.resume_editor.educations_section.title"),customTitle:t.sectionTitles.educations,addButtonText:t.educations.length?i7.R.t("builder.resume_editor.educations_section.add_one_more"):i7.R.t("builder.resume_editor.educations_section.add"),CardComponent:erP,items:t.educations,hintText:i7.R.t("builder.resume_editor.educations_section.hint"),sortable:!1},{id:$.Gw.workExperiences,title:i7.R.t("builder.resume_editor.work_experience_section.title"),customTitle:t.sectionTitles.workExperiences,addButtonText:t.workExperiences.length?i7.R.t("builder.resume_editor.work_experience_section.add_one_more"):i7.R.t("builder.resume_editor.work_experience_section.add"),CardComponent:erM,items:t.workExperiences,hintText:i7.R.t("builder.resume_editor.work_experience_section.hint"),sortable:!1},{id:$.Gw.courses,title:i7.R.t("builder.resume_editor.courses_section.title"),customTitle:t.sectionTitles.courses,addButtonText:t.courses.length?i7.R.t("builder.resume_editor.courses_section.add_one_more"):i7.R.t("builder.resume_editor.courses_section.add"),CardComponent:erS,hintText:i7.R.t("builder.resume_editor.courses_section.hint"),items:t.courses,sortable:!1,removable:!0,hidden:!1}],l=(0,Wb.fp)(a,"sortable"),s=(0,eU.wA)(),d=(0,eW.N)($.Tp.openedCards),c=(0,eW.N)($.Tp.openedSections),u=(0,R.useCallback)((e,t)=>{let i=(0,Uz.M)();s($.o1.addCard({sectionName:e,cardId:i,options:{scrollIntoViewport:t?.scrollIntoViewport??!1,shouldOpen:!0}}))},[s]),p=(0,R.useCallback)((e,t)=>!!e&&!!d[t]?.[e],[d]),h=(0,R.useCallback)((e,t)=>{s($.o1.toggleCard({id:e,sectionId:t}))},[s]),x=(0,R.useCallback)(({active:e,over:t})=>{if(!t||e.id===t.id)return;let i=e.id,r=o.indexOf(e.id),n=o.indexOf(t.id);s($.o1.moveSection({offset:n-r,sectionId:i}))},[s,o]),m=(0,R.useCallback)((e,t,i,r,n)=>{s($.o1.updateCard({sectionId:e,cardId:t,values:i,debounce:r,isCustom:n}))},[s]),g=(0,R.useCallback)((e,t,i=!1)=>{s($.o1.deleteCard({sectionName:t,cardId:e,isCustom:i}))},[s]),y=(0,R.useCallback)(e=>{s($.o1.moveCard(e))},[s]),f=(0,R.useCallback)(e=>{s($.o1.renameSection({...e}))},[s]),b=(0,R.useCallback)((e,t)=>{s($.o1.deleteSection({id:e,options:{...t}}))},[s]),_=(0,R.useCallback)(e=>{let t=c[e]??!0;s($.o1.setOpenedSections({[e]:!t}))},[s,c]),v=(0,R.useCallback)((e,t)=>{s($.o1.addCardSubItem({sectionName:t,cardId:e}))},[s]),j=(0,R.useCallback)((e,t,i)=>{s($.o1.deleteCardSubItem({sectionName:t,cardId:i,subItemId:e}))},[s]),A=(0,R.useCallback)(e=>{s($.o1.moveCardSubItem(e))},[s]);return(0,J.jsx)(er_.uO,{children:l.map((e,a)=>{let l=e.sections.map((e,o)=>(0,J.jsx)(Wb.iu,{item:e,index:o,isOpened:c[e.id]??!0,levels:i,hideSkillLevel:r,locale:n,templateConfig:t.templateConfig,onRename:f,onDelete:b,onAdd:u,isCardOpen:p,onCardChange:m,onCardDelete:g,onCardMove:y,onCardToggle:h,onToggle:_,onAddCardSubItem:v,onDeleteCardSubItem:j,onSubItemMove:A},e.id));return e.sortable?(0,J.jsx)(erf.Mp,{onDragEnd:x,collisionDetection:erf.fp,children:(0,J.jsx)(erb.gB,{items:o,strategy:erb._G,children:l})},a):(0,J.jsx)("div",{children:l},a)})})},erD=e=>{let t=(0,eU.wA)(),{label:i,value:r,name:n}=e,o=(0,R.useCallback)(e=>{let{name:i,value:r}=e.target;t($.o1.updateSimpleField({name:i,value:r}))},[t]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:i,value:r||"",name:n,onChange:o})})})},er$=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eW.N)(e=>e.resumeEditor.resume?.address);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(erD,{label:e.t("builder.resume_editor.address"),value:t||"",name:"address"})})},erO=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eW.N)(e=>e.resumeEditor.resume?.addressPronunciation);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(erD,{label:e.t("builder.resume_editor.address_pronunciation"),value:t||"",name:"addressPronunciation"})})},erz=e=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),{city:r,countryName:n,locale:o}=e,a=(0,R.useCallback)(e=>{let{value:t}=e.target;i($.o1.updateSimpleField({name:"city",value:t}))},[i]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(GD.wc,{highlightedQuery:!0,fetchItems:(0,GD.$Z)("city",{locale:o,country:n||""}),name:"city",value:r||"",onChange:a,children:({key:e,...i})=>(0,R.createElement)(re.A,{...i,key:e,label:t.t("builder.resume_editor.city")})})})})},erF=e=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),{countryName:r,locale:n}=e,o=(0,R.useCallback)(e=>{let{value:t}=e.target;i($.o1.updateSimpleField({name:"countryName",value:t}))},[i]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(GD.wc,{highlightedQuery:!0,name:"countryName",fetchItems:(0,GD.$Z)("country",{locale:n}),value:r||"",onChange:o,children:({key:e,...i})=>(0,R.createElement)(re.A,{...i,key:e,label:t.t("builder.resume_editor.country")})})})})},erH=e=>{let t=`${e.getDate()}`.padStart(2,"0"),i=`${e.getMonth()+1}`.padStart(2,"0"),r=`${e.getFullYear()}`;return`${r}.${i}.${t}`};var erV=i(59386),erU=i.n(erV),erW=i(22531),erK=((c={}).LESS_THAN_30_MINS="< 30 minutes",c.LESS_THAN_1_HOUR="< 1 hour",c.LESS_THAN_2_HOURS="< 2 hours",c.LESS_THAN_3_HOURS="< 3 hours",c.MORE_THAN_3_HOURS="> 3 hours",c.LESS_THAN_1_AND_HALF_HOURS="< 1.5 hours",c.LESS_THAN_2_AND_HALF_HOURS="< 2.5 hours",c),erq=((u
3813={}).MALE="Male",u.FEMALE="Female",u.OTHER="Other",u),erG=((p={}).DAY_MONTH_YEAR="dd.MM.yyyy",p.JAPANESE_YEAR_MONTH_DAY="PPP",p),erZ=e=>{let{value:t,onChange:i,label:r}=e,n=(0,eU.d4)(X.Tp.locale),[o,a]=(0,R.useState)(erG.DAY_MONTH_YEAR);return(0,R.useEffect)(()=>{"ja-JP"===n&&((0,erV.registerLocale)(n,erW.A),a(erG.JAPANESE_YEAR_MONTH_DAY))},[n]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(erw.JU,{children:(0,J.jsx)(erw.ss,{children:r||i7.R.t("builder.resume_editor.submission_date")})}),(0,J.jsx)(erU(),{customInput:(0,J.jsx)(re.A,{}),selected:(e=>{let t=e;if(e){/([0-9]{4}年[0-9]{1}月[0-9]{2}日)/.test(e)&&(t=`${e.substring(0,4)}.${e.substring(5,6)}.${e.substring(7,9)}`),/[0-9]{2}.[0-9]{2}.[0-9]{4}/.test(e)&&(t=+e.substring(0,2)>12?`${e.substring(3,5)}.${e.substring(0,2)}.${e.substring(6,10)}`:e),/[0-9]{2}\/[0-9]{2}\/[0-9]{4}/.test(e)&&(t=+e.substring(0,2)>12?`${e.substring(3,5)}/${e.substring(0,2)}/${e.substring(6,10)}`:e),/[0-9]{4}-[0-9]{2}-[0-9]{2}/.test(e)&&(t=e.replace(/-/g,"."));let i=new Date(t);return isNaN(i.getTime())?"":i}return""})(t),onChange:i,showMonthDropdown:!0,showYearDropdown:!0,yearDropdownItemNumber:5,calendarStartDay:1,dateFormat:o,locale:n})]})};let erX=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eW.N)(e=>e.resumeEditor.resume?.birthDate),i=(0,R.useRef)("birthDate"),{updateSimpleField:r}=$.o1,n=(0,eU.wA)(),o=(0,R.useCallback)(e=>{let t=erH(e);n(r({name:i.current,value:t}))},[n,r]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(erZ,{value:t||"",onChange:o,label:e.t("builder.resume_editor.dob")})})})},erQ=e=>{let{i18n:t}=(0,e1.s)(),{value:i,name:r}=e;return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(erD,{label:t.t("builder.resume_editor.email"),value:i||"",name:r})})},erY=e=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),{firstName:r}=e,n=(0,R.useCallback)(e=>{let{value:t}=e.target;i($.o1.updateSimpleField({name:"firstName",value:t}))},[i]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:t.t("builder.resume_editor.first_name"),value:r||"",name:"firstName",onChange:n})})})},er0=()=>{let e=(0,eW.N)(e=>e.resumeEditor.resume?.namePronunciation),t=(0,eU.wA)(),{updateSimpleField:i}=$.o1,{i18n:r}=(0,e1.s)(),n=(0,R.useCallback)(e=>{let{value:r}=e.target;t(i({name:"namePronunciation",value:r}))},[t,i]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:r.t("builder.resume_editor.name_pronunciation"),value:e||"",name:"namePronunciation",onChange:n})})})},er1=()=>{let e=(0,eW.N)(e=>e.resumeEditor.resume?.gender||""),[t,i]=(0,R.useState)(e),r=(0,eU.wA)(),{updateSimpleField:n}=$.o1,{i18n:o}=(0,e1.s)(),a=(0,R.useRef)(new Map([["male",erq.MALE],["female",erq.FEMALE],["other",erq.OTHER]])),l=[{id:erq.MALE,name:o.t("builder.resume_editor.gender_options.male")},{id:erq.FEMALE,name:o.t("builder.resume_editor.gender_options.female")},{id:erq.OTHER,name:o.t("builder.resume_editor.gender_options.other")}];(0,R.useEffect)(()=>{i(a.current.get(e)||"")},[e]);let s=(0,R.useCallback)(e=>{r(n({name:"gender",value:e.toString().toLowerCase()}))},[r,n]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(YP.A,{label:o.t("builder.resume_editor.gender"),selected:t,onSelect:s,options:l})})})},er2=e=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),{lastName:r}=e,n=(0,R.useCallback)(e=>{let{value:t}=e.target;i($.o1.updateSimpleField({name:"lastName",value:t}))},[i]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:t.t("builder.resume_editor.last_name"),value:r||"",name:"lastName",onChange:n})})})},er3=e=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),{phoneNumber:r}=e,n=R.useCallback(e=>{let{value:t}=e.target;i($.o1.updateSimpleField({name:"phoneNumber",value:t}))},[i]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:t.t("builder.resume_editor.phone"),type:"phone",value:r||"",name:"phoneNumber",onChange:n})})})},er5=e=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),{postalCode:r}=e,n=(0,R.useCallback)(e=>{let{value:t}=e.target;i($.o1.updateSimpleField({name:"postalCode",value:t}))},[i]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:t.t("builder.resume_editor.postal_code"),value:r||"",name:"postalCode",onChange:n})})})},er4=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.d4)(e=>e.resumeEditor.resume?.resumeSubmissionDate),i=(0,R.useRef)("resumeSubmissionDate"),{updateSimpleField:r}=$.o1,n=(0,eU.wA)(),o=(0,R.useCallback)(e=>{let t=erH(e);n(r({name:i.current,value:t}))},[n,r]);return(0,J.jsx)(R.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(erZ,{value:t||"",onChange:o,label:e.t("builder.resume_editor.submission_date")})})})},er6=({resume:e})=>{let t=(0,eU.wA)(),{i18n:i}=(0,e1.s)(),r=(0,eW.N)($.Tp.templates),n=(0,eW.N)(e=>e.resumeEditor.isUploadingPhoto),o=(0,eW.N)(e=>e.application.isOnline),a=(0,R.useRef)(null),[l,s]=(0,R.useState)(!1),{locale:d,sectionTitles:c}=e,u=r.find(t=>
3813t.id===e.template),p=!!u&&u.supportsPhoto,{isPhone:h}=(0,ih.e)(),x=(0,eW.N)(e=>$.Tp.isSectionOpened(e,$.Gw.details));(0,Vk.G3)({elementRef:a,isOpened:x}),(0,R.useEffect)(()=>{let e=["position","email","phoneNumber"];return e.forEach(e=>UO.A.subscribe(e,()=>{let t;(t=a.current?.querySelector(`[name=${e}]`))&&t.focus()})),()=>e.forEach(e=>UO.A.unsubscribe(e))},[]);let m=(0,R.useCallback)(()=>{if(!o)return t(F.o1.setConnectionLostSnackbarOpen(!0));s(e=>!e)},[t,o]),g=(0,R.useCallback)(e=>{t($.o1.uploadPhoto(e)),(0,N.xP)("change_avatar"),s(!1)},[t]),y=(0,R.useCallback)(()=>{window.confirm(i.t("builder.resume_editor.delete_photo_confirm"))&&(t($.o1.deletePhoto()),(0,N.xP)("delete_avatar"))},[t,i]),f=(0,R.useCallback)(()=>{t($.o1.setOpenedSections({[$.Gw.details]:!x}))},[t,x]);return(0,J.jsxs)(GU,{ref:a,children:[(0,J.jsx)(Vk.X3,{isOpened:x,onClick:f,children:(0,J.jsx)(K_.A,{title:i.t("builder.resume_editor.personal_details"),customTitle:c.details,isOpened:x})}),(0,J.jsxs)(Vk.Mg,{isOpened:x,children:[(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(er0,{}),(0,J.jsxs)(GO.A,{children:[(0,J.jsx)(GF.A,{imageUrl:e.avatar.blank?"":e.avatar.thumbUrl,isUploading:n,isLocked:!p,onUpload:g,onDelete:y,onClick:h?null:m}),l&&!h&&(0,J.jsx)(G$.A,{avatar:e.avatar,onSubmit:g,onClose:m})]})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(erY,{firstName:e.firstName}),(0,J.jsx)(er2,{lastName:e.lastName})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(erX,{}),(0,J.jsx)(er1,{})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(erO,{}),(0,J.jsx)(er$,{})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(erz,{city:e.city,countryName:e.countryName,locale:d}),(0,J.jsx)(erF,{countryName:e.countryName,locale:d})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(er5,{postalCode:e.postalCode}),(0,J.jsx)(er3,{phoneNumber:e.phoneNumber})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(erQ,{name:"email",value:e.email}),(0,J.jsx)(er4,{})]})]})]})},er8=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eW.N)(e=>e.resumeEditor.resume?.spaceForPersonalRequests),{updateSimpleField:i}=$.o1,r=(0,eU.wA)(),n=(0,eW.N)(e=>$.Tp.isSectionOpened(e,$.Gw.custom)),o=(0,R.useCallback)(e=>{r(i({name:"spaceForPersonalRequests",value:e}))},[r,i]),a=(0,R.useCallback)(()=>{r($.o1.setOpenedSections({[$.Gw.custom]:!n}))},[r,n]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(Zt.nA,{children:[(0,J.jsxs)(Vk.X3,{isOpened:n,onClick:a,children:[(0,J.jsx)(K_.A,{title:e.t("builder.resume_editor.custom_section.title"),isOpened:n}),(0,J.jsx)(Vk.VE,{isOpened:n,children:(0,J.jsx)(Vk.ZI,{children:e.t("builder.resume_editor.custom_section.hint")})})]}),(0,J.jsx)(Vk.Mg,{isOpened:n,children:(0,J.jsx)(Zt.RG,{children:(0,J.jsx)(erL.default,{value:t||"",onChange:o,disableToolbar:!0})})})]})})},er9=()=>{let{i18n:e}=(0,e1.s)(),t=(0,R.useRef)([{id:erK.LESS_THAN_30_MINS,name:e.t("builder.resume_editor.professional_summary.commute_options.less_than_thirty_minutes")},{id:erK.LESS_THAN_1_HOUR,name:e.t("builder.resume_editor.professional_summary.commute_options.less_than_one_hour")},{id:erK.LESS_THAN_1_AND_HALF_HOURS,name:e.t("builder.resume_editor.professional_summary.commute_options.less_than_one_and_half_hour")},{id:erK.LESS_THAN_2_HOURS,name:e.t("builder.resume_editor.professional_summary.commute_options.less_than_two_hours")},{id:erK.LESS_THAN_2_AND_HALF_HOURS,name:e.t("builder.resume_editor.professional_summary.commute_options.less_than_two_and_half_hours")},{id:erK.LESS_THAN_3_HOURS,name:e.t("builder.resume_editor.professional_summary.commute_options.less_than_three_hours")},{id:erK.MORE_THAN_3_HOURS,name:e.t("builder.resume_editor.professional_summary.commute_options.greater_than_three_hours")}]),{updateSimpleField:i}=$.o1,r=(0,eW.N)(e=>e.resumeEditor.resume?.commutingTime||""),n=(0,eU.wA)(),o=(0,R.useCallback)(e=>{n(i({name:"commutingTime",value:e}))},[n,i]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(YP.A,{label:e.t("builder.resume_editor.professional_summary.commute_time"),selected:r,onSelect:o,options:t.current})})})},er7=()=>{let{i18n:e}=(0,e1.s)(),{updateSimpleField:t}=$.o1,i=(0,eW.N)(e=>e.resumeEditor.resume?.numberOfDependents),r=(0,eU.wA)(),n=(0,R.useCallback)(e=>
3813{r(t({name:"numberOfDependents",value:parseInt(e.target.value)||null}))},[t,r]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:e.t("builder.resume_editor.professional_summary.dependants"),name:"numberOfDependents",type:"number",value:i||"",onChange:n,min:0})})})},ene=()=>{let{i18n:e}=(0,e1.s)(),t=(0,R.useRef)([{id:!0,name:e.t("builder.resume_editor.professional_summary.spouse_options.true")},{id:!1,name:e.t("builder.resume_editor.professional_summary.spouse_options.false")}]),i=(0,eW.N)(e=>e.resumeEditor.resume?.spouseObligation||!1),r=(0,eU.wA)(),{updateSimpleField:n}=$.o1,o=(0,R.useCallback)(e=>{r(n({name:"spouseObligation",value:e}))},[r,n]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(YP.A,{label:e.t("builder.resume_editor.professional_summary.spouse_obligation"),selected:i,onSelect:o,options:t.current})})})},ent=()=>{let{i18n:e}=(0,e1.s)(),t=(0,R.useRef)([{id:!0,name:e.t("builder.resume_editor.professional_summary.spouse_options.true")},{id:!1,name:e.t("builder.resume_editor.professional_summary.spouse_options.false")}]),{updateSimpleField:i}=$.o1,r=(0,eW.N)(e=>e.resumeEditor.resume?.married||!1),n=(0,eU.wA)(),o=(0,R.useCallback)(e=>{n(i({name:"married",value:e}))},[n,i]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(YP.A,{label:e.t("builder.resume_editor.professional_summary.spouse"),selected:r,onSelect:o,options:t.current})})})},eni=e=>{let t=(0,R.useRef)(null),{resume:i}=e,{i18n:r}=(0,e1.s)(),n=(0,R.useRef)(null),{updateSimpleField:o}=(0,XR.x)(),a=i.profile,l=i.sectionTitles.profile,s=(0,eW.N)(e=>$.Tp.isSectionOpened(e,$.Gw.profile)),d=(0,eU.wA)();(0,R.useEffect)(()=>(UO.A.subscribe($.Gw.profile,()=>{n.current&&n.current.focusEditor()}),()=>UO.A.unsubscribe($.Gw.profile)),[]),(0,Vk.G3)({elementRef:t,isOpened:s});let c=(0,R.useCallback)(e=>o({name:"profile",value:e}),[o]),u=(0,R.useCallback)(()=>{d($.o1.setOpenedSections({[$.Gw.profile]:!s}))},[d,s]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(GU,{ref:t,children:[(0,J.jsxs)(Vk.X3,{isOpened:s,onClick:u,children:[(0,J.jsx)(K_.A,{title:r.t("builder.resume_editor.professional_summary.title"),customTitle:l,isOpened:s}),(0,J.jsx)(Vk.VE,{isOpened:s,children:(0,J.jsx)(Vk.ZI,{children:r.t("builder.resume_editor.professional_summary.label")})})]}),(0,J.jsxs)(Vk.Mg,{isOpened:s,children:[(0,J.jsx)(Gz.A,{children:(0,J.jsx)(i2.Ay,{instanceRef:n,placeholder:r.t("builder.resume_editor.professional_summary.placeholder"),value:a||"",onChange:c,boldButtonDisable:!0,italicButtonDisable:!0,linkButtonDisable:!0})}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(er9,{}),(0,J.jsx)(er7,{})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(ent,{}),(0,J.jsx)(ene,{})]})]})]})})},enr=tt.Ay.div(["padding-top:20px;",""],Vk.Iq),enn=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.d4)(e=>e.resumeEditor.resume?.resumeSubmissionDate),{updateSimpleField:i}=(0,XR.x)(),r=(0,R.useCallback)(e=>{i({name:"resumeSubmissionDate",value:erH(e)})},[i]);return(0,J.jsx)(GO.A,{children:(0,J.jsx)(erZ,{value:t||"",onChange:r,label:e.t("builder.resume_editor.submission_date")})})};var eno=()=>{let e=(0,eW.N)(e=>e.resumeEditor.resume);return(0,J.jsx)(enr,{children:(0,J.jsx)(Vk.Mg,{isOpened:!0,children:(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(enn,{}),(0,J.jsx)(GO.A,{quarterWidth:!0,children:(0,J.jsx)(er2,{lastName:e?.lastName})}),(0,J.jsx)(GO.A,{quarterWidth:!0,children:(0,J.jsx)(erY,{firstName:e?.firstName})})]})})})};let ena=e=>{let t=(0,eW.N)(t=>t.resumeEditor.resume?.[e]),{updateSimpleField:i}=(0,XR.x)(),r=(0,R.useCallback)(t=>{i({name:e,value:t})},[e,i]);return{fieldName:e,fieldValue:t??"",updateField:r}},enl=()=>{let{i18n:e}=(0,e1.s)();return{i18n:t=>e.t(`builder.resume_editor.shokumukeirekisho.${t}`)}},ens=()=>{let{fieldValue:e,updateField:t}=ena("profile"),{i18n:i}=enl(),r=i("work_summary.title"),n=i("work_summary.hint"),o=i("work_summary.tip"),{isOpened:a,handleToggle:l}=(0,Vk.FF)($.Gw.profile);return(0,J.jsxs)(XN,{children:[(0,J.jsxs)(Vk.X3,{isOpened:a,onClick:l,children:[(0,J.jsx)(K_.A,{title:r,isOpened:a}),(0,J.jsx)(Vk.VE,{isOpened:a,children:(0,J.jsx)(Vk.ZI,{children:n})})]}),(0,J.jsxs)(Vk.Mg,{isOpened:a,children:[(0,J.jsx)(XI,{children:(0,J.jsx)(erL.default,{boldButtonDisable:!0,italicButtonDisable:!0,linkButtonDisable:!0,value:e,onCh
3813ange:t})}),(0,J.jsx)(Vk.ZI,{children:o})]})]})},end=tt.Ay.div(["width:100%;min-height:100vh;background-color:",";padding:60px 32px 80px 32px;",";"],te.Jy.Neutral10,tQ.A.Phone`
3814    padding: 40px 0 48px 0;
3815  `),enc=tt.Ay.div(["max-width:736px;margin:0 auto;",";"],tQ.A.Phone`
3816    width: 100%;
3817  `),enu=tt.Ay.div(["",";",";margin-left:40px;margin-bottom:20px;",";"],td.o5.M,td.BO.DemiBold,tQ.A.Phone`
3818    margin-left: 20px;
3819  `),enp=tt.Ay.div(["",";margin-left:40px;margin-bottom:8px;color:",";text-transform:uppercase;",";"],td.o5.Caps,te.Jy.Neutral50,tQ.A.Phone`
3820    margin-left: 20px;
3821  `),enh=tt.Ay.div(["display:flex;align-items:center;",";"],tQ.A.Phone`
3822  ${e=>e.isSevenDaysLeft&&(0,tt.AH)(["margin:auto;display:block;text-align:center;margin-bottom:8px;"])}
3823    `);te.Jy.Neutral90,td.o5.Subhead,td.BO.Medium,te.Jy.Neutral90,td.o5.Body,td.BO.Medium;let enx=tt.Ay.img(["width:40px;height:40px;margin-right:14px;flex-shrink:0;",";"],tQ.A.Phone`
3824  ${e=>e.isSevenDaysLeft&&(0,tt.AH)(["margin:auto;display:block;flex-shrink:1;"])}
3825    `),enm=(0,tt.Ay)(enx)([""]),eng=tt.Ay.div(["width:100%;margin-bottom:28px;"]),eny=tt.Ay.div(["width:100%;border-radius:6px;padding:32px 40px;background-color:",";",";"],te.Jy.White,tQ.A.Phone`
3826    width: 100%;
3827    border-radius: 0;
3828    padding: 20px;
3829  `),enf=(0,tt.Ay)(eny)(["display:flex;align-items:center;justify-content:space-between;padding:24px 40px;",";"],tQ.A.Phone`
3830    flex-direction: column;
3831    align-items: flex-start;
3832  `);(0,tt.Ay)(eny)(["display:flex;align-items:center;justify-content:space-between;padding:0 40px 34px 94px;",";"],tQ.A.Phone`
3833    flex-direction: column;
3834    align-items: flex-start;
3835  `);let enb=tt.Ay.div(["cursor:pointer;color:",";","};&:hover{color:",";}"],te.Jy.Blue50,({disable:e})=>e&&`
3836    color: ${te.Jy.Neutral50};
3837    pointer-events: none;
3838    cursor: unset;
3839  `,te.Jy.Blue70),en_=tt.Ay.div(["color:",";cursor:pointer;&:hover{color:",";}"],te.Jy.Red50,te.Jy.Red60);te.Jy.Blue50,te.Jy.Blue60;let env=tt.Ay.div(["display:flex;flex-direction:column;"]),enj=tt.Ay.div(["color:",";cursor:pointer;margin-right:24px;&:hover{color:",";}"],te.Jy.Blue50,te.Jy.Blue60),enA=(0,tt.Ay)(i$.$n)(["background:",";height:36px;width:141px;",";&:hover{background-color:",";}",";"],te.Jy.Indigo50,td.o5.ButtonS,te.Jy.Indigo70,tQ.A.Phone`
3840    width: 335px;
3841    max-width: 100%;
3842  `),enC=(0,tt.Ay)(tP.EK.Crown)(["margin-right:2px;"]),enw=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;",""],tQ.A.Phone`
3843    ${e=>e.isSevenDaysLeft?(0,tt.AH)(["margin:auto;display:block;flex-shrink:1;"]):(0,tt.AH)(["align-items:flex-start;"])}
3844  `),enk=(0,tt.Ay)(enw)(["align-items:center;justify-content:space-between;",";"],tQ.A.Phone`
3845    flex-direction: column;
3846    align-items: flex-start;
3847  `),enS=tt.Ay.div(["",";color:",";max-width:448px;",";"],td.o5.Caption,te.Jy.Neutral50,tQ.A.Phone`
3848  margin-bottom: 12px;
3849  ${e=>e.isSevenDaysLeft&&(0,tt.AH)(["margin:auto;display:block;text-align:center;margin-bottom:20px;"])}
3850    `),enT=tt.Ay.div(["margin-bottom:24px;display:flex;flex-flow:row wrap;&:last-child{margin-bottom:0;}",";"],tQ.A.Phone`
3851    flex-direction: column;
3852    margin-bottom: 0;
3853
3854    &:first-child {
3855      margin-bottom: 20px;
3856    }
3857  `),enP=tt.Ay.div(["flex:0 0 calc(50% - 20px);margin-right:40px;&:last-of-type{margin-right:0;margin-bottom:0;}",";"],tQ.A.Phone`
3858    width: 100%;
3859    margin-bottom: 20px;
3860    margin-right: 0;
3861
3862    &:last-of-type {
3863      margin-bottom: 0;
3864    }
3865  `),enJ=tt.Ay.div(["flex:0 0 calc(50% - 20px);display:flex;align-items:center;justify-content:flex-start;",";"],tQ.A.Phone`
3866    width: 100%;
3867    margin-bottom: 16px;
3868    margin-top: -12px;
3869  `),enE=tt.Ay.div(["",";color:",";padding-top:26px;",";"],td.o5.Caption,e=>e.error?te.Jy.Red60:te.Jy.Neutral50,tQ.A.Phone`
3870    padding-top: 0;
3871  `),enR=tt.Ay.div(["display:flex;align-items:center;justify-content:flex-end;",";"],tQ.A.Phone`
3872    justify-content: flex-start;
3873  `),enL=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid ",";&:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0;}"],te.Jy.Neutral20),enN=tt.Ay.div(["display:flex;align-items:center;justify-content:center;min-width:0;margin-right:12px;"]),enI=tt.Ay.div(["display:flex;align-items:center;justify-content:center;margin-right:8px;"]),enM=tt.Ay.div(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;& a:hover{color:",";}"],te.Jy.Blue50);td.o5.Caption,te.Jy.Neutral50,tQ.A.Phone`
3874    margin-left: 20px;
3875  `,te.Jy.Blue50;let enB=tt.Ay.div(["display:flex;align-items:center;justify-content:center;"]),enD=tt.Ay.div(["width:24px;height:24px;background-image:url(",");background-size:100% 100%;background-position:center center;animation:"," 0.5s infinite linear;"],i(88709),im.ni),en$=tt.Ay.div(["width:24px;height:24px;background-image:url(",");background-size:100% 100%;background-position:center center;"],i(15533)),enO=tt.Ay.div([""]),enz=tt.Ay.div(["",";"],tQ.A.Phone`
3876  ${e=>e.isSevenDaysLeft?(0,tt.AH)(["position:relative;
3876left:50%;margin-bottom:0px;transform:translate(-50%);"]):(0,tt.AH)(["padding-left:54px;"])}
3877      `),enF=tt.Ay.div(["display:flex;align-items:center;color:",";"],te.Jy.Neutral50),enH=tt.Ay.div(["display:inline-flex;margin:0 3px;"]),enV=()=>{let{fieldValue:e,updateField:t}=ena("skillsDescription"),{i18n:i}=enl(),r=i("skills.title"),n=i("skills.hint"),{isOpened:o,handleToggle:a}=(0,Vk.FF)($.Gw.skillsDescription);return(0,J.jsxs)(XN,{children:[(0,J.jsxs)(Vk.X3,{isOpened:o,onClick:a,children:[(0,J.jsx)(K_.A,{title:r,isOpened:o}),(0,J.jsx)(Vk.VE,{isOpened:o,children:(0,J.jsx)(Vk.ZI,{children:n})})]}),(0,J.jsx)(Vk.Mg,{isOpened:o,children:(0,J.jsx)(enw,{children:(0,J.jsx)(erL.default,{height:96,boldButtonDisable:!0,italicButtonDisable:!0,linkButtonDisable:!0,value:e,onChange:t})})})]})},enU=()=>{let{fieldValue:e,updateField:t}=ena("technicalSkills"),{i18n:i}=enl(),r=i("technical_skills.title"),n=i("technical_skills.hint"),{isOpened:o,handleToggle:a}=(0,Vk.FF)($.Gw.technicalSkills);return(0,J.jsxs)(XN,{children:[(0,J.jsxs)(Vk.X3,{isOpened:o,onClick:a,children:[(0,J.jsx)(K_.A,{title:r,isOpened:o}),(0,J.jsx)(Vk.VE,{isOpened:o,children:(0,J.jsx)(Vk.ZI,{children:n})})]}),(0,J.jsx)(Vk.Mg,{isOpened:o,children:(0,J.jsx)(XI,{children:(0,J.jsx)(erL.default,{height:96,boldButtonDisable:!0,italicButtonDisable:!0,linkButtonDisable:!0,value:e,onChange:t})})})]})},enW=()=>{let{fieldValue:e,updateField:t}=ena("qualifications"),{i18n:i}=enl(),r=i("qualifications.title"),n=i("qualifications.hint"),{isOpened:o,handleToggle:a}=(0,Vk.FF)($.Gw.qualifications);return(0,J.jsxs)(XN,{children:[(0,J.jsxs)(Vk.X3,{isOpened:o,onClick:a,children:[(0,J.jsx)(K_.A,{title:r,isOpened:o}),(0,J.jsx)(Vk.VE,{isOpened:o,children:(0,J.jsx)(Vk.ZI,{children:n})})]}),(0,J.jsx)(Vk.Mg,{isOpened:o,children:(0,J.jsx)(XI,{children:(0,J.jsx)(erL.default,{height:96,boldButtonDisable:!0,italicButtonDisable:!0,linkButtonDisable:!0,value:e,onChange:t})})})]})},enK=()=>{let{fieldValue:e,updateField:t}=ena("pr"),{i18n:i}=enl(),r=i("self_pr.title"),n=i("self_pr.hint.brief"),o=i("self_pr.hint.caution"),a=i("self_pr.hint.description"),l=i("self_pr.hint.optional"),{isOpened:s,handleToggle:d}=(0,Vk.FF)($.Gw.pr);return(0,J.jsxs)(XN,{children:[(0,J.jsxs)(Vk.X3,{isOpened:s,onClick:d,children:[(0,J.jsx)(K_.A,{title:r,isOpened:s}),(0,J.jsx)(Vk.VE,{isOpened:s,children:(0,J.jsxs)(Vk.ZI,{children:[a,(0,J.jsxs)("ul",{children:[(0,J.jsx)("li",{children:l}),(0,J.jsxs)("li",{children:[o," "]}),(0,J.jsx)("li",{children:n})]})]})})]}),(0,J.jsx)(Vk.Mg,{isOpened:s,children:(0,J.jsx)(XI,{children:(0,J.jsx)(erL.default,{height:96,boldButtonDisable:!0,italicButtonDisable:!0,linkButtonDisable:!0,value:e,onChange:t})})})]})},enq=()=>{let{fieldValue:e,updateField:t}=ena("motivation"),{i18n:i}=enl(),r=i("motivation.title"),n=i("motivation.hint"),{isOpened:o,handleToggle:a}=(0,Vk.FF)($.Gw.motivation);return(0,J.jsxs)(XN,{children:[(0,J.jsxs)(Vk.X3,{isOpened:o,onClick:a,children:[(0,J.jsx)(K_.A,{title:r,isOpened:o}),(0,J.jsx)(Vk.VE,{isOpened:o,children:(0,J.jsx)(Vk.ZI,{children:n})})]}),(0,J.jsx)(Vk.Mg,{isOpened:o,children:(0,J.jsx)(XI,{children:(0,J.jsx)(erL.default,{height:96,boldButtonDisable:!0,italicButtonDisable:!0,linkButtonDisable:!0,value:e,onChange:t})})})]})},enG=(0,R.createContext)(null),enZ=()=>{let e=(0,R.useContext)(enG);if(!e)throw Error("No context data found");return e};var enX=()=>{let{item:{employerProfilesAttributes:e},onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("work_experience.employer_details.business_type");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:r,name:"businessType",onChange:i=>{t({employerProfilesAttributes:{...e,businessType:i.target.value}})},value:e?.businessType||""})})},enQ=()=>{let{item:{employerProfilesAttributes:e},onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("work_experience.employer_details.foundation_year");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:r,name:"foundationYear",onChange:i=>{let r=i.target.value,n=new Date().getFullYear(),o=/^\d+$/.test(r)&&Number(r)<=n;(""===r||o)&&t({employerProfilesAttributes:{...e,foundationYear:i.target.value}})}
3877,value:e?.foundationYear||"",maxLength:4})})},enY=()=>{let{item:{employerProfilesAttributes:e},onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("work_experience.employer_details.capital");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:r,name:"capital",onChange:i=>{t({employerProfilesAttributes:{...e,capital:i.target.value}})},value:e?.capital||""})})},en0=()=>{let{item:{employerProfilesAttributes:e},onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("work_experience.employer_details.sales");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:r,name:"sales",onChange:i=>{t({employerProfilesAttributes:{...e,sales:i.target.value}})},value:e?.sales||""})})};let en1=[{id:"Permanent Employee",name:"正社員"},{id:"Contract Employee",name:"契約社員"},{id:"Part-time",name:"アルバイト"},{id:"Internship",name:"インターンシップ"},{id:"Temporary Worker",name:"派遣社員"}],en2=[{id:"1-50",name:"1-50"},{id:"51-100",name:"51-100"},{id:"101-500",name:"101-500"},{id:"501-1000",name:"501-1000"},{id:"1001+",name:"1001+"}];var en3=()=>{let{item:{employerProfilesAttributes:e},onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("work_experience.employer_details.employee_count");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(YP.l,{label:r,selected:e?.noOfEmployee||"",onSelect:i=>{t({employerProfilesAttributes:{...e,noOfEmployee:i}},!1)},options:en2})})},en5=()=>{let{item:{employerProfilesAttributes:e},onCardValueChange:t}=enZ(),i=(0,eW.N)(e=>e.resumeEditor.resume),{i18n:r}=(0,e1.s)(),n=r.t("builder.resume_editor.shokumukeirekisho.work_experience.employer_details.stock_listing");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(YP.l,{label:n,selected:e?.stockListing||"",options:"ja-JP"===(i?.locale||"")?[{id:"Yes",name:"はい"},{id:"No",name:"いいえ"}]:[{id:"Yes",name:"Yes"},{id:"No",name:"No"}],onSelect:i=>{t({employerProfilesAttributes:{...e,stockListing:i}},!1)}})})};let en4=()=>{let{i18n:e}=enl(),t=e("work_experience.employer_details.title"),i=e("work_experience.employer_details.hint");return(0,J.jsxs)(XN,{children:[(0,J.jsx)(Vk.X3,{children:(0,J.jsx)(K_.A,{title:t})}),(0,J.jsxs)(XI,{children:[(0,J.jsx)(Vk.ZI,{children:i}),(0,J.jsx)(VD,{}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(enX,{}),(0,J.jsx)(enQ,{})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(enY,{}),(0,J.jsx)(en0,{})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(en3,{}),(0,J.jsx)(en5,{})]})]})]})};var en6=()=>{let{item:e,onCardValueChange:t}=enZ(),{i18n:i}=(0,e1.s)();return(0,J.jsx)(GO.A,{children:(0,J.jsx)(erT.A,{value:e,onChange:e=>{t(e)},currentlyLabel:i.t("builder.date_range_picker.currently.work")})})},en8=()=>{let{item:e,onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("work_experience.employment_details.employer");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:r,name:"employer",onChange:e=>{t({employer:e.target.value})},value:e.employer||""})})},en9=()=>{let{item:e,onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("work_experience.employment_details.department");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:r,name:"department",onChange:e=>{t({department:e.target.value})},value:e.department||""})})},en7=()=>{let{item:e,onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("work_experience.employment_details.type");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(YP.l,{label:r,selected:e.employmentType,onSelect:e=>{t({employmentType:e},!1)},options:en1})})},eoe=()=>{let{item:e,onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("work_experience.employment_details.description");return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Vk.ZI,{children:r}),(0,J.jsx)(erL.default,{boldButtonDisable:!0,italicButtonDisable:!0,linkButtonDisable:!0,value:e.description||"",onChange:e=>{t({description:e})}})]})};let eot=()=>{let{i18n:e}=enl(),t=e("work_experience.employment_details.title"),i=e("work_experience.employment_details.hint.description"),r=e("work_experience.employment_details.hint.leadership"),n=e("work_experience.employment_details.hint.client_info"),o=e("work_experience.employment_details.hint.results"),a=e("work_experience.employment_details.hint.brief");return(0,J.jsxs)(XN,{children:[(0,J.jsx)(XN,{style:{marginBottom:"10px"},children:(0,J.jsx)(K_.A,{title:t})}),(0,J.jsxs)(XI,{children:[(0,J.jsxs)(Vk.ZI,{children:[i,(0,J.jsxs)("ul",{children:[(0,J.jsx)("li",{children:r}),(0,J.jsx)("li",{children:n}),(0,J.jsx)("li",{children:o}),(0,J.jsx)("li",{children:a})]})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(en6,{}),(0,J.jsx)(en8,{})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(en9,{}),(0,J.jsx)(en7,{})]}),(0,J.jsx)(Gz.A,{children:(0,J.jsx)(eoe,{})})]})]})};var eoi=erj(e=>{let{item:t,sectionId:i,onChange:r,...n}=e,{i18n:o}=(0,e1.s)(),{title:a,employer:l}=t,s=(0,R.useMemo)(()=>{let e=" "+o.t("builder.resume_editor.labels.at")+" ";
3877return[a,l].filter(Boolean).join(e)||o.t("builder.resume_editor.not_specified")},[o,l,a]),d=(0,W9.t)(t),c=(0,R.useCallback)((e,n)=>{r(i,t.id,e,n)},[r,i,t.id]);return(0,J.jsx)(Wy.C6,{title:s,subtitle:d,item:t,sectionId:i,onChange:r,...n,children:(0,J.jsx)(erv.fo,{children:(0,J.jsxs)(enG.Provider,{value:{item:t,sectionId:i,onCardValueChange:c},children:[(0,J.jsx)(eot,{}),(0,J.jsx)(en4,{})]})})})}),eor=e=>{let{item:t,onCardValueChange:i}=enZ(),{i18n:r}=(0,e1.s)(),{levels:n}=e,o=(0,R.useMemo)(()=>[{translation:r.t("builder.resume_editor.languages_card.select_level"),name:null},...n?.language??[]].map(e=>({id:e.name,name:e.translation})),[r,n?.language]),a=r.t("builder.resume_editor.shokumukeirekisho.languages.level");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(YP.l,{label:a,selected:t.level||null,onSelect:e=>{i({level:e},!1)},options:o})})},eon=()=>{let{item:e,onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("languages.certificate");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:r,name:"certificate",value:e.certificate||"",onChange:e=>{t({[e.target.name]:e.target.value})}})})},eoo=()=>{let{item:e,onCardValueChange:t}=enZ(),i={dateUntil:e.certificateAcquisitionDate},{i18n:r}=enl(),n=r("languages.certificate_date");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(erk,{value:i,onChange:e=>{t({certificateAcquisitionDate:e.dateUntil})},headingLabel:n,showLabelHint:!1})})},eoa=()=>{let{item:e,onCardValueChange:t}=enZ(),{i18n:i}=enl(),r=i("languages.language");return(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:r,value:e.language||"",name:"language",onChange:e=>{t({[e.target.name]:e.target.value})}})})};let eol=e=>{let{levels:t,item:i,sectionId:r,onChange:n,...o}=e,{language:a,level:l,id:s}=i,{i18n:d}=(0,e1.s)(),c=a||d.t("builder.resume_editor.not_specified"),u=l?d.t(`builder.resume_editor.language_level.${l}`):"",p=(0,R.useCallback)((e,t)=>{n(r,s,e,t)},[n,r,s]);return(0,J.jsx)(Wy.C6,{title:c,subtitle:u,item:i,sectionId:r,onChange:n,...o,children:(0,J.jsx)(enG.Provider,{value:{item:i,sectionId:r,onCardValueChange:p},children:(0,J.jsxs)(erv.fo,{children:[(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(eoa,{}),(0,J.jsx)(eor,{levels:t})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(eon,{}),(0,J.jsx)(eoo,{})]})]})})})};var eos=i(7773);let eod=e=>{let{sections:t,isOpened:i}=e,r=(0,eW.N)($.Tp.openedCards),n=(0,eW.N)($.Tp.resume),o=(0,eW.N)(e=>e.generalEditor.levels),a=(0,eU.wA)(),{hideSkillLevel:l,locale:s="en"}=n||{},d=(0,Wb.fp)(t,"sortable"),c=d.flatMap(e=>e.sortable?e.sections.map(e=>e.isCustom?`custom:${e.id}`:e.id):[]),u=(0,R.useCallback)((e,t,i,r,n)=>{a($.o1.updateCard({sectionId:e,cardId:t,values:i,debounce:r,isCustom:n}))},[a]),p=(0,R.useCallback)((e,t,i=!1)=>{a($.o1.deleteCard({sectionName:t,cardId:e,isCustom:i}))},[a]),h=(0,R.useCallback)(e=>{a($.o1.moveCard(e))},[a]),x=(0,R.useCallback)(e=>{a($.o1.renameSection({...e}))},[a]),m=(0,R.useCallback)((e,t)=>{a($.o1.deleteSection({id:e,options:t}))},[a]),g=(0,R.useCallback)((e,t)=>{let i=(0,Uz.M)(),{scrollIntoViewport:r=!1}=t||{};a($.o1.addCard({sectionName:e,cardId:i,options:{scrollIntoViewport:r,shouldOpen:!0}}))},[a]),y=(0,R.useCallback)((e,t)=>!!e&&!!r[t]?.[e],[r]),f=(0,R.useCallback)((e,t)=>{a($.o1.toggleCard({id:e,sectionId:t}))},[a]),b=(0,R.useCallback)(({active:e,over:t})=>{if(!t||e.id===t.id)return;let i=e.id,r=c.indexOf(e.id),n=c.indexOf(t.id);a($.o1.moveSection({offset:n-r,sectionId:i}))},[a,c]),_=(0,R.useCallback)((e,t)=>{a($.o1.addCardSubItem({sectionName:t,cardId:e}))},[a]),v=(0,R.useCallback)((e,t,i)=>{a($.o1.deleteCardSubItem({sectionName:t,cardId:i,subItemId:e}))},[a]),j=(0,R.useCallback)(e=>{a($.o1.moveCardSubItem(e))},[a]);return(0,J.jsx)(er_.uO,{children:d.map((e,t)=>{let r=e.sections.map((e,t)=>(0,J.jsx)(eos.i,{item:e,index:t,isOpened:i,levels:o,hideSkillLevel:l,locale:s,templateConfig:n?.templateConfig,onRename:x,onDelete:m,onAdd:g,isCardOpen:y,onCardChange:u,onCardDelete:p,onCardMove:h,onCardToggle:f,onAddCardSubItem:_,onDeleteCardSubItem:v,onSubItemMove:j},e.id));return e.sortable?(0,J.jsx)(erf.Mp,{onDragEnd:b,collisionDetection:erf.fp,children:(0,J.jsx)(erb.gB,{items:c,strategy:erb._G,children:r})},t):(0,J.jsx)("div",{children:r},t)})})},eoc=()=>{let e=(0,eW.N)(e=>e.resumeEditor.resume),{i18n:t}=enl(),i=t("languages.title"),r=t("languages.hint"),{isOpened:n,handleToggle:o}=(0,Vk.FF)($.Gw.languages);return(0,J.jsxs)(XN,{children:[(0,J.jsxs)(Vk.X3,{isOpened:n,onClick:o,children:[(0,J.jsx)(K_.A,{title:i,isOpened:n}),(0,J.jsx)(Vk.VE,{isOpened:n,children:(0,J.jsx)(Vk.ZI,{children:r})})]}),(0,J.jsx)(XI,{children:(0,J.jsx)(eod,{sections:e?[{id:$.Gw.languages,title:"",customTitle:e.sectionTitles.languages,addButtonText:e.languages.length?i7.R.t("builder.resume_editor.languages_section.add_one_more"):i7.R.t("builder.resume_editor.languages_section.add"),CardComponent:eol,items:e.languages,sortable:!1}]:[],isOpened:n})})]})},eou=()=>{let e=(0,eW.N)(e=>e.resumeEditor.resume),{i18n:t}=enl(),i=t("work_experience.title"),r=t("work_experience.hint"),{isOpened:n,handleToggle:o}=(0,Vk.FF)($.Gw.workExperiences);return(0,J.jsxs)(XN,{children:[(0,J.jsxs)(Vk.X3,{isOpened:n,onClick:o,children:[(0,J.jsx)(K_.A,{title:i,isOpened:n}),(0,J.jsx)(Vk.VE,{isOpened:n,children:(0,J.jsx)(Vk.ZI,{children:r})})]}),(0,J.jsx)(XI,{children:(0,J.jsx)(eod,{sections:e?[{id:$.Gw.workExperiences,title:"",customTitle:e.sectionTitles.workExperiences,addButtonText:e.workExperiences.length?i7.R.t("builder.resume_editor.work_experience_section.add_one_more"):i7.R.t("builder.resume_editor.work_experience_section.add"),CardComponent:eoi,items:e.workExperiences,sortable:!1}]:[],isOpened:n})})]})};var eop=()=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ens,{}),(0,J.jsx)(enV,{}),(0,J.jsx)(eou,{}),(0,J.jsx)(enU,{}),(0,J.jsx)(enW,{}),(0,J.jsx)(enK,{}),(0,J.jsx)(eoc,{}),(0,J.jsx)(enq,{})]}),eoh=i(62193),eox=i.n(eoh);let eom=()=>{let{i18n:e}=(0,e1.s)(),t=(0,L.Zp)(),{features:i}=(0,d2.t)(),{isRbpStepFlowActive:r}=Uw(),n=(0,eW.N)($.Tp.autoTailoringFromJobBoard);return(0,J.jsx)(UB,{nextButtons:(0,J.jsx)(WA,{}),isTabsVisible:!0,backButtonText:e.t("builder.prefill_resume.auto_tailoring_view.header.cancel_tailoring"),onBackButtonClick:r?void 0:()=>
3877{if((0,N.xP)("click_on_back_button",{label:"review_resume"}),n.mode===$.gb.fromMemberJB){let{jobExternalSlugId:e}=n;i.jobSearchV2&&e?t(`/job-search/${e}`):t("/job-search")}else t("/")}})},eog=()=>{let e=(0,L.Zp)(),{i18n:t}=(0,e1.s)(),i=(0,R.useCallback)(()=>{e("/")},[e]);return(0,J.jsxs)(Uc,{children:[(0,J.jsx)(Uu,{type:"button",onClick:i,"data-testid":"navigate-to-dashboard-button",children:t.t("builder.navbar.dashboard")}),(0,J.jsx)(EI,{showOnlyAvatar:!0})]})},eoy={rirekisho:e=>{let t=(0,eW.N)(e=>e.generalEditor.levels),i=(0,eW.N)($.Tp.resume);return i?(0,J.jsxs)(ery,{...e,children:[(0,J.jsx)(Vn.Ay,{id:$.Gw.details,scrollOffsetTop:70,children:(0,J.jsx)(er6,{resume:i})}),(0,J.jsx)(erB,{resume:i,levels:t}),(0,J.jsx)(eni,{resume:i}),(0,J.jsx)(er8,{})]}):null},shokumukeirekisho:e=>(0,eW.N)($.Tp.resume)?(0,J.jsxs)(ery,{...e,children:[(0,J.jsx)(Vn.Ay,{id:$.Gw.details,scrollOffsetTop:70,children:(0,J.jsx)(eno,{})}),(0,J.jsx)(eop,{})]}):null},eof=["editor","customization","ai_review","tailoring"],eob=e=>{let t,{resumeId:i,shouldOpenAiReview:r}=e,[n,o]=(0,i3.ok)(),a=(0,e0.U)(),[l,s]=(0,R.useState)(!1),d=(0,eW.N)(F.Tp.isConversationalBuilderOpen),{isRbpStepFlowActive:c,isResumeReadyStep:u}=Uw(),p=(0,e0.U)()?.features,{showAIResumeModal:h}=(0,eW.N)(e=>e.resumeEditor.aiResume),{showUseExampleModal:x}=(0,eW.N)(e=>e.resumeEditor.useExample),{showCreateResumeWithLinkedInModal:m}=(0,eW.N)($.Tp.createResumeWithLinkedin),g=(0,eU.wA)(),y=(0,ih.e)(),{isAboveTablet:f}=y,{i18n:b}=(0,e1.s)(),_=(0,eW.N)(ej.Tp.isMobileProfileMenuOpen),{canScrollTop:v,canScrollBottom:j}=Rm({topThreshold:100}),A=(0,eW.N)($.Tp.autoTailoringFromJobBoard),{selectedRecommendedJob:C}=A,{handleTabChange:w,getTabItems:k,editorPanelType:S}=US(),T=(0,eW.N)(Z.Tp.userData),P=(0,eW.N)(Z.Tp.premiumAccess),[E,I]=(0,R.useState)(!1),[M,B]=(0,R.useState)(!1),D=(0,eW.N)(O.Tp.resumeTemplates),z=(0,eW.N)(O.Tp.locales),V=(0,eW.N)(O.Tp.isLoaded),K=(0,eW.N)($.Tp.resume),q=(0,eW.N)($.Tp.isOpenSavingInfoBanner),{generateAICoverLetterStatus:G,isOpenAICVOptimizerModal:X,isClickedOnAiCVEditModalIcon:Q,isShowUntailoreView:Y}=(0,eW.N)($.Tp.aiCoverLetter),ee=(0,eW.N)($.Tp.isSyncing),et=(0,eW.N)($.Tp.isClickedOnAiCVBanner),ei=(0,eW.N)($.Tp.changeJobPostingLink),er=(0,eW.N)($.Tp.resumeScoreAPIData),en=(0,eW.N)($.Tp.isNotEnoughDataForAutoTailoringModalOpen),eo=(0,eW.N)($.Tp.error),ea=(0,eW.N)(e=>e.panel.documentsStatus),el=K?.showPrefillResumeModal,es=!f&&!c&&("customization"!==S||p?.mobNav==="v1"||p?.mobNav==="v3"),ed=u&&!f,ec=el&&(p?.aiResumeDraft||p?.startWithExamples||p?.uploadResume),eu=!!K&&K.id===i&&V,ep=(a?.features.shareResume??!1)&&P,eh=en&&K&&T,em=(0,eW.N)($.Tp.isJobPostingAttached),eg=et&&em&&!Y,ey=et&&!em||X||Y,ef=G===eZ.Hp.failed,eb=y.isPhone?N_.M.small:N_.M.default,e_=a?.features.inBuilderAbandonment||!1,ev=!E&&[Z.ut.free,Z.ut.postPremium].includes(T?.billingInfo.userType)&&M&&e_,eA=(0,eW.N)($.Tp.selectedPrefillOption),eC=A.enabled&&!c&&eA&&"customization"!==S,ek=(0,eW.N)(e=>e.application.isOnline),eS=(0,eW.N)($.Tp.isUploadedResumeScoreForAutoTailoringModalOpen),eT=(0,eW.N)($.Tp.temporaryJobPostingAPIData),eP=(0,eW.N)(e=>e.ui.isPlansPageAbandonmentModalOpen),eJ=(0,eW.N)($.Tp.isCustomizationPanelOpen),{isResultModalOpen:eE}=(0,eW.N)($.Tp.autoTailoringState),{isAnalysisModalOpen:eR}=(0,eW.N)($.Tp.optimizerSection),[eL,eN]=(0,R.useState)(r),eI=(0,eW.N)(e=>W.Tp.critique(e,i)),eM=eI?.status===ex.oV.finished,eB=a?.features.critiqueEntryPoints,eD=eC?UT(y):0,{handleResumeNameChange:e$}=(t=(0,eU.wA)(),{handleResumeNameChange:e=>{t($.o1.updateSimpleField({name:"name",value:e})),(0,N.xP)("rename_resume")}}),{updateTemplateSettings:eO}=(0,Vo.Gd)(K),{supportsNewCustomization:ez}=(0,Vo.ze)(K),{handleDownloadDocument:eF}=RY({currentDocument:K,downloadClickEventSource:eJ?"full_screen_resume_preview":"resume_editor",downloadActionEventSource:eJ?"builder_full_screen_preview":"builder"}),eH=k();(0,R.useEffect)(()=>{"true"===n.get("open_tailor")&&K?.id&&!c&&(g($.o1.setEditorPanelType("tailoring")),g($.o1.startResumeOptimizerProcess()),n.delete("open_tailor"),o(n,{replace:!0}))},[n,o,g,K?.id,c]),(0,R.useEffect)(()=>{let e=n.get("tab");e&&eof.includes(e)&&!c&&(g($.o1.setEditorPanelType(e)),n.delete("tab"),o(n,{replace:!0}))},[n,o,g,c]),(({isDocumentLoaded:e,handleDownloadDocument:t})=>{let[i,r]=(0,i3.ok)();(0,R.useEffect)(()=>{let n=i.get(RQ.PI);e&&n&&Object.values(eZ.hR).includes(n)&&(i.delete(RQ.PI),r(i,{replace:!0}),t({format:n}))},[i,r,e,t])})({isDocumentLoaded:eu,handleDownloadDocument:eF}),(({firstNameFromResume:e,lastNameFromResume:t})=>{let{firstName:i,lastName:r,email:n}=(0,eW.N)(Z.Tp.userData)||{},o=(0,eU.wA)(),a=(0,R.useRef)({});(0,R.useEffect)(()=>
3877{i&&r||(!i&&e&&(a.current.firstName=e),!r&&t&&(a.current.lastName=t))},[e,t,i,r]),(0,dl.h)(()=>()=>{eox()(a.current)||(o(Z.o1.updateUserRequest({email:n,firstName:i,lastName:r,...a.current})),a.current={})}),(0,R.useEffect)(()=>{let e=setTimeout(()=>{eox()(a.current)||(o(Z.o1.updateUserRequest({email:n,firstName:i,lastName:r,...a.current})),a.current={})},1e4);return()=>{clearTimeout(e)}},[e,t,o,n,i,r])})({firstNameFromResume:K?.firstName,lastNameFromResume:K?.lastName}),(e=>{let[t,i]=(0,i3.ok)(),r=(0,R.useContext)(l9.Xj),{i18n:n}=(0,e1.s)();(0,R.useEffect)(()=>{!e||t.has($.Gl)&&(t.delete($.Gl),i(t,{replace:!0}),r.openSnackBar({text:n.t("builder.resume_editor.editor_unblocked"),type:l9.rK.success,isDismissible:!0}))},[e,t,i,r,n])})(eu);let eV=(0,R.useCallback)(e=>{e.pageY<=5&&B(!1)},[]),eK=(0,R.useCallback)(()=>{if(!i)return;g($.o1.fetchResumeRequest({id:i})),g(O.o1.fetchEditorPayloadRequest()),g(H.o1.initialize());let e=ew.D.getItem("DATA_LAYER_PUSH");"true"===ew.D.getItem(Mc)&&I(!0),T?.socialAccount&&"true"!==e&&(ew.D.setItem("DATA_LAYER_PUSH","true"),(0,N._m)("Sign up","Complete Registration")),"LOADED"!==ea&&g(U.o1.fetchDocuments()),document.addEventListener("mousemove",eV)},[eV,g,ea,i,T?.socialAccount]),eq=e=>{s(e)},eG=e=>{g($.o1.updateSimpleField({name:"locale",value:e})),(0,N.xP)("change_resume_locale",{locale:e})},eX=(0,R.useCallback)(()=>{g($.o1.setIsUploadedResumeScoreForAutoTailoringModalOpen(!1))},[g]),eQ=(0,R.useMemo)(()=>{if(ep)return()=>{(0,N.xP)("click_share_button",{source:eJ?"full_screen_resume_preview":"resume_editor"}),g(F.o1.openSharingModal(i))}},[g,ep,eJ,i]),eY=(0,R.useCallback)(()=>{g($.o1.setOpenSavingInfoBanner(!1))},[g]),e2=(0,R.useCallback)(()=>{(0,dM.o)("/job-tracking"),(0,N.xP)("open_job_tracking")},[]),e3=(0,R.useCallback)(()=>{I(!0),B(!1)},[]),e5=(0,R.useCallback)(()=>{g($.o1.setGenerateAICoverLetterStatus(eZ.Hp.notAsked))},[g]),e4=(0,R.useCallback)(()=>{e5(),g($.o1.setIsClickedOnAiCVBanner(!0))},[g,e5]),e6=(0,R.useCallback)(e=>{g($.o1.setAutoTailoringFromJobBoard({selectedRecommendedJob:e})),f||window.scrollTo({top:0})},[g,f]),e8=(0,R.useCallback)(()=>{g($.o1.setAutoTailoringFromJobBoard({selectedRecommendedJob:null})),f||window.scrollTo({top:0})},[g,f]);if((0,R.useEffect)(()=>(eK(),()=>{g($.o1.setIsCustomizeModalOpen(!1))}),[i]),(e=>{let t=(0,eU.wA)(),i=(0,L.zy)(),r=(0,eW.N)($.Tp.resume)?.id,{mode:n,jobCardId:o,jobExternalSlugId:a,forceAnalysisStep:l,source:s,autoApplyReturnTo:d,autoApplyCopilotId:c,autoApplyJobId:u}=(0,R.useMemo)(()=>(0,$.x1)(i.search),[i.search]);(0,R.useEffect)(()=>()=>{t($.o1.resetAutoTailoringFromJobBoard()),t($.o1.resetAutoTailoringState()),t($.o1.resetAttachedJobPostingState()),t($.o1.resetResumeOptimizerProcess()),t($.o1.resetAnalysisContentTrackedFields())},[t,e]),(0,R.useEffect)(()=>{if(e){if(!n)return void t($.o1.resetAutoTailoringFromJobBoard());t($.o1.setAutoTailoringFromJobBoard({mode:n,enabled:!0,jobCardId:o,jobExternalSlugId:a,forceAnalysisStep:!!l,source:s||null,autoApplyReturnTo:d||null,autoApplyCopilotId:c||null,autoApplyJobId:u||null}))}},[t,e,n,o,a,l]),(0,R.useEffect)(()=>{n&&a&&r&&r===e&&t($.o1.initAutoTailoringFromJobBoard())},[t,n,a,r,e])})(i),(0,dl.h)(()=>()=>{document.removeEventListener("mousemove",eV)}),(0,R.useEffect)(()=>{g(W.o1.fetchCritiques())},[g]),(0,R.useEffect)(()=>{eg&&(0,N.xP)("see_job_posting_selection_screen")},[eg]),(0,R.useEffect)(()=>{eo&&(0,dM.o)("/resumes")},[eo]),(0,R.useEffect)(()=>{eu&&K?.trOrderId&&T&&!T.scopes?.writer&&(0,dM.o)(`/resumes/${K.id}/view`,{replace:!0})},[eu,K?.id,K?.trOrderId,T]),(0,dl.h)(()=>{let e=sessionStorage.getItem("sendToCritique");if(e){var t;t=Number(e),T?.billingInfo.userType!==Z.ut.free&&((0,N.xP)("click_send_resume_review",{where:"dash"}),g(W.o1.sendResumeToCritique({resumeId:t}))),sessionStorage.removeItem("sendToCritique")}}),(0,R.useLayoutEffect)(()=>{!c&&K?.id&&K?.id===i&&(0,N.xP)("visit_resume_editor",{resume_id:K?.id,editor:"builder"})},[c,K?.id]),!K||0===D.length)return(0,J.jsx)(VJ,{children:(0,J.jsx)(VL,{children:(0,J.jsx)(VN,{src:On})})});let e9=eoy[K.template]||QR,e7=(0,J.jsx)(e9,{handleDownloadDocument:eF,handleShareDocument:eQ,canScrollBottom:j}),te=(0,J.jsx)(eix,{document:K,canScrollTop:v,isRbpStepFlowActive:c,handleShareDocument:eQ,handleDownloadDocument:eF,tabItems:eH,handleTabChange:w,autotailoringHeaderHeight:eD,editorPanelType:S,updateTemplateSettings:e=>{erg({...e,resume:K});let{settingsName:t,value:i}=e;"color"!==t||ez||"string"!=typeof i?"lineSpacing"!==t||ez||"number"!=typeof i?eO(e):g($.o1.updateSimpleField({name:"spacing",value:(0,Vo.vp)(i),debounce:!0})):g($.o1.updateSimpleField({name:"color",value:i}))},handleTemplateUpdate:e=>{g($.o1.updateTemplate({id:e})),(0,N.xP)("change_resume_template",{template:e})},selectedPrefillOption:eA,isAutoTailoringFromJBEnabled:A.enabled}),tt=(0,J.jsx)(W$.w,{document:K,hideCustomizeButton:"customization"===S,switchToCustomizationTab:()=>{w("customization")}}),ti=(0,J.jsx)(QY,{canScrollBottom:j,selectedJob:C,onSelectJob:e6,onBack:e8}),tr={editor:{leftColumn:e7,rightColumn:null},customization:{leftColumn:te,rightColumn:null},tailoring:{leftColumn:ti,rightColumn:C?(0,J.jsx)(QX,{job:C,onBack:e8,canScrollBottom:j}):null},ai_review:{leftColumn:e7,rightColumn:(0,J.jsx)(err,{})}},tn={editor:e7,customization:te,tailoring:ti,ai_review:(0,J.jsx)(err,{canScrollBottom:j})};return(0,J.jsxs)(Vn.aJ,{type:"native",children:[eE?(0,J.jsx)(qa,{}):eR?(0,J.jsx)(qO,{}):(0,J.jsxs)(VE,{"data-testid":"resume-editor-view",children:[f&&(A.enabled?(0,J.jsx)(eom,{}):(0,J.jsx)(GN,{tabItems:eH,handleTabChange:w,editorPanelType:S,document:K,user:ek?T:null,handleDocumentNameChange:e$,isSidebarOpen:l,onSidebarToggle:eq,handleDownloadDocument:eF,handleShareDocument:eQ,isRbpStepFlowActive:c,locales:z,onLocaleSelect:eG,isConversationalBuilderOpen:d})),es&&(A.enabled?(0,J.jsx)(eom,{}):p?.mobNav==="v3"?(0,J.jsx)(GM,{handleDocumentNameChange:e$,locales:z,onLocaleSelect:eG,document:K}
3877):(0,J.jsx)(GI,{handleDocumentNameChange:e$,onSidebarToggle:eq,locales:z,onLocaleSelect:eG,isSidebarOpen:l,document:K})),ed&&(0,J.jsx)(eog,{}),l&&(0,J.jsx)(Vz,{children:(0,J.jsx)(EG,{isOpen:l,width:"236px"})}),f&&(0,J.jsx)(erd,{leftColumn:(0,J.jsxs)(R.Fragment,{children:[tr[S]?.leftColumn,d&&(0,J.jsx)(Xg,{})]}),rightColumn:tr[S]?.rightColumn||tt}),!f&&(0,J.jsxs)(VF,{children:["customization"!==S&&!u&&(0,J.jsx)(GB,{isRbpStepFlowActive:c,canScrollTop:v,editorPanelType:S,tabItems:eH,handleTabChange:w,autotailoringHeaderHeight:eD}),tn[S],d&&(0,J.jsx)(Xg,{})]}),eM&&eB&&(0,J.jsx)(Vf,{reviewerName:eI?.reviewer.name||"Joe Miller",viewResumeCritiqueReview:()=>{var e;(e=eI?.iframeUrl||"")&&((0,N.xP)("click_read_resume_critique_banner",{where:"builder"}),g(ex.o1.setCritiquePageVisitedCount(!0)),window.open(`${e}${ix.Kw}`))}})]}),eu&&(0,J.jsx)(Hw,{}),eu&&(0,J.jsx)(Hp,{}),ec&&(0,J.jsx)(Or,{onClose:()=>{g($.o1.setResumeValidationStatus(eZ.fA.notStarted)),g($.o1.setResumeUploadStatus(eZ.R4.notStarted)),g($.o1.updateSimpleField({name:"showPrefillResumeModal",value:!1}))}}),h&&(0,J.jsx)(zG,{}),x&&(0,J.jsx)(HS,{}),m&&(0,J.jsx)(Vr,{}),(0,J.jsx)(erc.b,{}),(0,J.jsx)($D,{}),(0,J.jsx)(Rp,{open:_,setOpen:e=>{g(ej.o1.setMobileProfileMenu(e))}}),f&&(0,J.jsx)(erm,{isSyncing:ee}),eg&&(0,J.jsx)(LX,{}),eh&&(0,J.jsx)(RL,{resumeId:i}),ey&&(0,J.jsx)(Is,{resumeId:i}),Q&&(0,J.jsx)(Ic,{}),q&&!y.isPhone&&!ei&&(0,J.jsx)(L8,{onClose:eY,onOpen:e2}),eP&&(0,J.jsx)(Mt,{}),ef&&(0,J.jsx)(If,{onClose:e5,onTryAgain:e4,ButtonSize:eb}),ev&&T&&(0,J.jsx)(Bb,{handleClose:e3,hasUserVisitedPlans:T.visitedPlans,email:T.email,fullName:T.fullName}
3877),eL&&K&&(0,J.jsx)(Bz,{showModal:eN,triggerAIReviewHightlight:()=>{g($.o1.setHighlightedElement({title:b.t("builder.resume_editor.element_highlight.ai_review_highlight.title"),content:b.t("builder.resume_editor.element_highlight.ai_review_highlight.content"),target:`[data-highlight-id=${GP.vK.AI_REVIEW_TAB}]`,placement:"bottom",buttonLabel:b.t("builder.resume_editor.element_highlight.ai_review_highlight.button_text"),onClose:()=>{w("ai_review")}}))}}),eS&&eT&&er&&(0,J.jsx)(Oi,{onClose:eX,jobPostingAPIData:eT,resumeScoreAPIData:er})]})},eo_=async(e,t)=>{let i=t?new AbortController:void 0,r=i?setTimeout(()=>i.abort(),t):void 0;try{let t=await fetch(`https://mcp.resume.io/api/resumes/${encodeURIComponent(e)}`,{signal:i?.signal});if(!t.ok)throw Error(`Failed to fetch MCP document: ${t.status}`);let r=await t.json();if(!r.success||!r.resume)return null;return r.resume}finally{r&&clearTimeout(r)}},eov=async e=>{let{data:t}=await Y.uE.post("/resumes",{template:e.template}),{id:i,avatar:r,type:n,...o}=e;if(await Y.uE.put(`/resumes/${t.id}`,{...o,name:`${o.firstName} ${o.lastName} Chat GPT`,showPrefillResumeModal:!1,data:{stepByStepFlow:{currentStep:null}}}),r&&r.originalUrl&&!r.blank){let e=await fetch(r.originalUrl),i=await e.blob(),n=new File([i],"avatar.jpg",{type:i.type}),o=new FormData;o.append("photo",n),o.append("transform","{}"),await Y.uE.post(`/resumes/${t.id}/photo`,o)}return{id:t.id}},eoj=async(e,t)=>{let{id:i,type:r,firstName:n,lastName:o,senderName:a,...l}=t;await Y.uE.put(`/cover-letters/${e}`,{...l,name:`${a||""} Chat GPT`.trim()})},eoA=async e=>{let{data:t}=await Y.uE.post("/cover-letters",{template:e.template});return await eoj(t.id,e),{id:t.id}};var eoC=i(82058),eow=i(27073);let eok=tt.Ay.footer(["",";width:100%;max-width:calc(544px + 80px);padding:0 40px 20px;margin:0 auto;text-align:center;color:",";"," & a{color:",";}& a:hover{color:",";}"],td.Ay.Tiny,te.Jy.Neutral50,tQ.A.Tablet`
3878    padding-left: 20px;
3879    padding-right: 20px;
3880  `,te.Jy.Blue50,te.Jy.Blue70),eoS=e=>{let{isEmailOnly:t}=e||{},{i18n:i}=(0,e1.s)(),r=(0,e0.U)(X.l1.signUp);return(0,R.useMemo)(()=>{if(!r)return"";let e=i.t("builder.sign_up.terms_of_use"),n=i.t("builder.sign_up.terms_and_conditions"),o=i.t("builder.sign_up.privacy_policy"),{links:a}=r,l=DG(e,a.tos),s=DG(o,a.privacyPolicy);if(a.topResumeTos&&a.topResumePrivacyPolicy){let e=t?"agreement_description_with_topresume_email_only":"agreement_description_with_topresume";return i.t(`builder.sign_up.${e}`,{termsLink:l,privacyLink:s,topResumeTermsLink:DG(n,a.topResumeTos),topResumePrivacyLink:DG(o,a.topResumePrivacyPolicy)})}let d=t?"agreement_description_email_only":"agreement_description";return i.t(`builder.sign_up.${d}`,{termsLink:l,privacyLink:s})},[r,i,t])},eoT=()=>{let e=eoS();return(0,J.jsx)(eok,{dangerouslySetInnerHTML:{__html:e}})},eoP=async()=>new Promise((e,t)=>{0;if(!window.grecaptcha?.enterprise)return void t(Error("grecaptcha not loaded, check initialization logic"));let i=!1,r=setTimeout(()=>{let e=i?"enterprise.execute() did not resolve":"enterprise.ready() never fired";t(Error(`grecaptcha timeout: ${e}`))},15e3);window.grecaptcha.enterprise.ready(()=>{i=!0;let n="LOGIN";window.grecaptcha.enterprise.execute("6LdFMTgrAAAAANDG62f_3VHg2L1kkLsy0Poka4gu",{action:n}).then(t=>{clearTimeout(r),e({recaptchaToken:t,recaptchaAction:n})},e=>{clearTimeout(r),t(e)})})});var eoJ=i.p+"media/email-illustration39f781f667a6fc7d.png";let eoE=tt.Ay.div(["display:flex;position:relative;",""],tQ.A.Phone`
3881    margin-top: auto;
3882  `),eoR=tt.Ay.div(["display:flex;background-color:",";border-radius:",";width:500px;max-width:calc(100vw - 40px);overflow:hidden;position:relative;"," ",""],te.Jy.White,te.Kz.S,tQ.A.Tablet`
3883    border-radius: ${te.Kz.S};
3884 `,tQ.A.Phone`
3885    display: block;
3886    width: 100%;
3887    max-width: none;
3888    max-height: calc(100vh - 68px);
3889    border-radius: ${te.Kz.S} ${te.Kz.S} 0 0;
3890    overflow: auto;
3891  `),eoL=tt.Ay.form(["display:flex;flex-direction:column;justify-content:center;padding:",";flex:0 0 100%;gap:",";"],te.Kz.L,te.Kz.L),eoN=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.M),eoI=tt.Ay.div(["display:flex;flex-direction:column;gap:",";padding-right:28px;"],te.Kz.L),eoM=tt.Ay.img(["width:97px;"]),eoB=tt.Ay.div(["",";",";"],td.Ay.S,td.BO.DemiBold),eoD=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.XS),eo$=tt.Ay.div(["color:",";"],te.Jy.Neutral50),eoO=tt.Ay.div(["display:flex;gap:",";justify-content:flex-end;"],te.Kz["2XS"]),eoz=(0,tt.Ay)(i$.Ay)(["",""],tQ.A.Phone`
3892    flex: 1 1 50%;
3893  `),eoF=tt.Ay.div(["",";color:",";a{color:",";}a:hover{color:",";}"],td.Ay.Caption,te.Jy.Neutral50,te.Jy.Blue50,te.Jy.Blue70),eoH=(0,tt.Ay)(JF.O)(["position:absolute;top:32px;right:32px;",""],tQ.A.Phone`
3894    top: 20px;
3895    right: 20px;
3896  `),eoV=e=>{let{onClose:t,prefillOption:i,resumeData:r,tailorJobUrl:n}=e,{i18n:o}=(0,e1.s)(),[a,l]=(0,R.useState)(!1),[s,d]=(0,R.useState)(!1),[c,u]=(0,R.useState)(""),[p,h]=(0,R.useState)(""),x=eoS({isEmailOnly:!0}),{isPhone:m}=(0,ih.e)(),{resetResume:g,resume:y}
3896=(0,R.useContext)(dI.j);(0,dl.h)(()=>{(0,N.xP)("show_sign_up_banner",{label:"general"})});let f=async e=>{if((0,N.xP)("click_create_resume",{label:"sign_up_banner"}),e.preventDefault(),y){if(!c)return void h(o.t("builder.sign_up.field_is_required"));d(!0);try{let{message:e}=await (0,eow.D)(c,{allowAvailableOnly:!0});if(e){d(!1),h(e);return}let{recaptchaToken:t,recaptchaAction:o}=await eoP(),{data:l}=await Y.uE.post("/sign-up/register",{recaptchaToken:t,recaptchaAction:o,signUp:{email:c,confirmEmail:a,showPrefillResumeModal:!1,template:y.template,resumeData:{stepByStepFlow:{currentStep:$.Gw.details}},funnel:"Stepper"},..."createWithMcpResume"===i&&r?{resume:{...r,id:void 0}}:{}});if(l.success){let e=new URLSearchParams;if(e.append(DC.kR,i),n&&(e.append("job_url",n),e.append("open_tailor","true")),d(!1),g(),!l.firstDocumentId)return;let t="cover_letter"===l.firstDocumentType?"cover-letters":"resumes";(0,dM.o)(`/${t}/${l.firstDocumentId}/edit?${e}`,{replace:!0}),(0,N._m)("Sign up","Complete Registration"),(0,N.xP)("submit_marketing_consent",{website_host:window.location.host,device:m?"mobile":"desktop",funnel:"stepper_popup"})}}catch(e){E.A.log(e),d(!1)}}};return(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,onClick:t,fullScreen:m,children:(0,J.jsxs)(eoE,{children:[(0,J.jsx)(eoR,{children:(0,J.jsxs)(eoL,{onSubmit:f,children:[(0,J.jsxs)(eoN,{children:[(0,J.jsxs)(eoI,{children:[(0,J.jsx)(eoM,{src:eoJ,alt:"Email illustration"}),(0,J.jsx)(eoB,{children:o.t("builder.sign_up.sign_up_guest_modal.title")})]}),(0,J.jsxs)(eoD,{children:[(0,J.jsx)(re.A,{label:o.t("builder.sign_up.email"),type:"email",value:c||"",name:"email",onChange:e=>{h(""),u(e.target.value)},error:p}),(0,J.jsx)(eo$,{children:(0,J.jsx)(eoC.A,{label:o.t("builder.sign_up.consent_checkbox_label"),checked:a,onChange:e=>l(e.target.checked),name:"confirm_email",align:"top"})})]}),(0,J.jsx)(eoF,{dangerouslySetInnerHTML:{__html:x}})]}),(0,J.jsxs)(eoO,{children:[(0,J.jsx)(eoz,{type:"button",onClick:t,theme:i$.Ox.ghost,children:o.t("builder.sign_up.sign_up_guest_modal.back_button_text")}),(0,J.jsx)(eoz,{type:"submit",isLoading:s,isDisabled:s,children:o.t("builder.sign_up.sign_up_guest_modal.button_text")})]})]})}),(0,J.jsx)(eoH,{onClick:t})]})})},eoU=(0,tt.Ay)(GO.A)(["position:relative;"]),eoW=tt.Ay.div(["width:24px;height:24px;display:flex;justify-content:center;align-items:center;"]),eoK=(0,tt.Ay)(du.Ay)(["width:14px;height:14px;"]),eoq=(0,tt.Ay)(tP.Ay.Success)(["color:",";"],te.Jy.Green50),eoG=tt.Ay.div(["padding-top:8px;color:",";"],te.Jy.Neutral50),eoZ=e=>{let{emailValidationStatus:t,backendValidationMessage:i,isConsentChecked:r,setIsConsentChecked:n}=e,{i18n:o}=(0,e1.s)(),a=(0,eW.N)($.Tp.templates),l=(0,R.useRef)(null),s=(0,R.useRef)(null),d=(0,R.useRef)(null),[c,u]=(0,R.useState)(!1),{resume:p,updateResumeFields:h,toggleEmailRequiredError:x,showEmailRequiredError:m,shouldFocusEmailField:g}=R.useContext(dI.j);if((0,R.useEffect)(()=>{let e=["position","email","phoneNumber"];return e.forEach(e=>UO.A.subscribe(e,()=>{let t;(t=l.current?.querySelector(`[name=${e}]`))&&t.focus()})),()=>e.forEach(e=>UO.A.unsubscribe(e))},[]),(0,R.useEffect)(()=>{g&&(d.current?.focus(),s.current?.scrollIntoView({behavior:"smooth",block:"center"}))},[g]),!p)return null;let{email:y,locale:f="en",template:b,firstName:_,lastName:v,phoneNumber:j,city:A,address:C,birthDate:w,birthPlace:k,postalCode:S,position:T,countryName:P,drivingLicense:E,nationality:L}=p,N=a.find(e=>e.id===b),I=!!N&&N.supportsPhoto,M=m?o.t("builder.sign_up.field_is_required"):i||"";return(0,J.jsx)(R.Fragment,{children:(0,J.jsxs)(GU,{ref:l,children:[(0,J.jsxs)(Vk.X3,{isOpened:!0,isStepByStepFlow:!0,children:[(0,J.jsx)(K_.A,{title:o.t("builder.resume_editor.personal_details"),isOpened:!0,isFoldable:!1}),(0,J.jsx)(Vk.VE,{isOpened:!0,children:(0,J.jsx)(Vk.ZI,{children:o.t("builder.resume_editor.personal_details_section.label")})})]}),(0,J.jsxs)(Vk.Mg,{isOpened:!0,isStepByStepFlow:!0,children:[(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(GD.wc,{name:"position",fetchItems:(0,GD.$Z)("job-title",{limit:4,locale:f}),value:T||"",onChange:e=>h({position:e.target.value}),children:({key:e,...t})=>(0,R.createElement)(re.A,{...t,key:e,placeholder:o.t("builder.resume_editor.job_title_placeholder"),label:o.t("builder.resume_editor.job_title"),hint:o.t("builder.resume_editor.job_title_hint"),badges:(0,J.jsx)(GV.IG,{type:$.jK.jobTitle})})})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(GF.A,{imageUrl:"",isUploading:!1,isLocked:!I,onUpload:()=>{},onDelete:()=>{},onClick:x})})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.first_name"),value:_||"",name:"firstName",onChange:e=>h({firstName:e.target.value})})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.last_name"),value:v||"",name:"lastName",onChange:e=>h({lastName:e.target.value})})})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsxs)(eoU,{elementRef:s,children:[(0,J.jsx)(re.A,{ref:d,label:`${o.t("builder.resume_editor.email")}*`,type:"email",value:y||"",name:"email",onChange:e=>{h({email:e.target.value})},error:M,inputIcon:t===eZ.Hp.loading?(0,J.jsx)(eoW,{children:(0,J.jsx)(eoK,{})}):t===eZ.Hp.loaded?(0,J.jsx)(eoq,{}):null,inputIconPosition:"right"}),(0,J.jsx)(eoG,{children:t!==eZ.Hp.notAsked&&!M&&(0,J.jsx)(eoC.A,{label:o.t("builder.sign_up.consent_checkbox_label_guest_builder"),checked:r,onChange:e=>n(e.target.checked),name:"confirm_email",align:"top"})})]}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.phone"),type:"phone",value:j||"",name:"phoneNumber",onChange:e=>h({phoneNumber:e.target.value})})})]}),(0,J.jsx)(Gz.A,{children:(0,J.jsx)(GO.A,{fullWidth:!0,children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.address"),value:C||"",name:"address",onChange:e=>h({address:e.target.value})})})}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(GD.wc,{highlightedQuery:!0,fetchItems:(0,GD.$Z)("city",{locale:f,country:P||""}),name:"city",value:A||"",onChange:e=>h({city:e.target.value}),children:({key:e,...t})=>(0,R.createElement)(re.A,{...t,key:e,label:o.t("builder.resume_editor.city")})})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(GD.wc,{highlightedQuery:!0,name:"countryName",fetchItems:(0,GD.$Z)("country",{locale:f}),value:P||"",onChange:e=>h({countryName:e.target.value}),children:({key:e,...t})=>(0,R.createElement)(re.A,{...t,key:e,label:o.t("builder.resume_editor.country")})})})]}),(0,J.jsx)(Kn.A,{isOpen:c,children:(0,J.jsxs)(GG,{children:[(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.postal_code"),value:S||"",name:"postalCode",onChange:e=>h({postalCode:e.target.value})})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.driving_license"),hint:o.t("builder.resume_editor.driving_license_hint"),value:E||"",name:"drivingLicense",onChange:e=>h({drivingLicense:e.target.value})})})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.birth_date"),hint:o.t("builder.resume_editor.birth_date_hint"),value:w||"",name:"birthDate",onCh
3896ange:e=>h({birthDate:e.target.value})})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.birth_place"),value:k||"",name:"birthPlace",onChange:e=>h({birthPlace:e.target.value})})})]}),(0,J.jsx)(Gz.A,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:o.t("builder.resume_editor.nationality"),hint:o.t("builder.resume_editor.nationality_hint"),value:L||"",name:"nationality",onChange:e=>h({nationality:e.target.value})})})})]})}),(0,J.jsxs)(GW,{onClick:()=>u(e=>!e),children:[(0,J.jsx)(GK,{children:c?o.t("builder.resume_editor.hide_details"):o.t("builder.resume_editor.show_details")}),(0,J.jsx)(Gq,{"data-open":c})]})]})]})})},eoX="Unknown error",eoQ=e=>{let{isHeaderFullBorderRadius:t}=e,{resume:i,toggleEmailRequiredError:r,setShowEmailRequiredError:n,setShouldFocusEmailField:o,resetResume:a,tailorJobUrl:l}=(0,R.useContext)(dI.j),{i18n:s}=(0,e1.s)(),d=(0,W_.X1)(s.t)($.Gw.workExperiences),c=`${s.t(`${Uf}.navigation_container.next_button_text`)}: ${d}`,{points:u,suggestions:p}=(0,w$.K)(i),h=eoS({isEmailOnly:!0}),x=(0,R.useRef)(new AbortController),[m,g]=(0,R.useState)(!1),[y,f]=(0,R.useState)(""),[b,_]=(0,R.useState)(!1),[v,j]=(0,R.useState)(eZ.Hp.notAsked),{isPhone:A}=(0,ih.e)(),C=(0,eW.N)($.Tp.autoTailoringFromJobBoard),w=(0,R.useMemo)(()=>{let e=100-u,t=p?.find(e=>e.sectionId===$.Gw.details);return t?{fieldId:t.fieldId,type:t.type,text:t.text,points:Math.min(t.points,e),key:t.key,sectionName:t.
3896sectionName}:{text:"",points:0,type:"section",key:""}},[u,p]),{mutateAsync:k}=(0,dp.n)({mutationFn:async()=>{try{if(!i?.email)return!1;j(eZ.Hp.loading);let{message:e}=await (0,eow.D)(i.email,{allowAvailableOnly:!0});return j(e?eZ.Hp.failed:eZ.Hp.loaded),f(e||""),!e}catch(e){return j(eZ.Hp.failed),f(eoX),!1}}});(0,R.useEffect)(()=>()=>x.current.abort(),[]),(0,R.useEffect)(()=>{f(""),n(0),j(i?.email?eZ.Hp.loading:eZ.Hp.notAsked)},[i?.email,n]),co(()=>(k(),()=>x.current.abort()),2e3,[i?.email]),(0,R.useEffect)(()=>{(0,N.xP)("visit_resume_editor",{step:"details",editor:"step_by_step"})},[]);let S=async()=>{if((0,N.xP)("click_next_step",{label:"step_builder",step:Uy()($.Gw.details)}),!i?.email)return void r();if([eZ.Hp.loading,eZ.Hp.notAsked,eZ.Hp.failed].includes(v))return void o(Math.random()+1);g(!0);try{let{recaptchaToken:e,recaptchaAction:t}=await eoP(),{data:r}=await Y.uE.post("/sign-up/register",{recaptchaToken:e,recaptchaAction:t,signUp:{template:i.template,firstName:i.firstName,lastName:i.lastName,email:i.email,phone:i.phoneNumber,confirmEmail:b,jobTitle:i.position,resumeName:i.name,countryName:i.countryName,city:i.city,address:i.address,postalCode:i.postalCode,drivingLicense:i.drivingLicense,birthPlace:i.birthPlace,birthDate:i.birthDate,nationality:i.nationality,showPrefillResumeModal:!1,resumeData:{stepByStepFlow:{currentStep:$.Gw.workExperiences}},templateSettings:i.templateSettings,funnel:"Stepper"}});if(r.success){a();let e=new URLSearchParams($.Gl);if(l&&(e.append("job_url",l),e.append("open_tailor","true")),!r.firstDocumentId)return;let t="cover_letter"===r.firstDocumentType?"cover-letters":"resumes";(0,dM.o)(`/${t}/${r.firstDocumentId}/edit?${e.toString()}`,{replace:!0}),(0,N._m)("Sign up","Complete Registration"),(0,N.xP)("submit_marketing_consent",{website_host:window.location.host,device:A?"mobile":"desktop",funnel:"stepper"})}else g(!1),f(eoX)}catch(e){E.A.log(e),g(!1),f(eoX)}};return(0,J.jsxs)(Xf,{children:[(0,J.jsx)(XE,{isHeaderFullBorderRadius:t,points:u,suggestion:w,handleSuggestionClick:e=>{"simpleField"===e.type&&e.fieldId&&UO.A.focus(e.fieldId)}}),(0,J.jsx)(Qd,{$autoTailorJob:C.enabled,children:(0,J.jsx)(Qc,{children:(0,J.jsx)(eoZ,{backendValidationMessage:y,emailValidationStatus:v,isConsentChecked:b,setIsConsentChecked:_})})}),(0,J.jsx)(QS,{currentIndex:0,nextButtonText:c,isBackButtonPassive:!0,handleNext:S,isNextActionInProgress:m,children:(0,J.jsx)(Xb,{children:(0,J.jsx)(X_,{dangerouslySetInnerHTML:{__html:h}})})})]})},eoY=()=>{let e=(0,eW.N)(F.Tp.isConversationalBuilderOpen),t=(0,eU.wA)(),[i]=(0,i3.ok)(),{isAboveTablet:r}=(0,ih.e)(),{canScrollTop:n}=Rm({topThreshold:100}),[o,a]=(0,R.useState)(!1),{resume:l,updateResumeFields:s,toggleEmailRequiredError:d,setFileForPrefill:c,tailorJobUrl:u,setTailorJobUrl:p}=(0,R.useContext)(dI.j),[h,x]=(0,R.useState)("editor"),m=(0,eW.N)(O.Tp.resumeTemplates),g=(0,eW.N)(O.Tp.locales),{i18n:y}=(0,e1.s)(),{supportsNewCustomization:f,templatesSettings:b}=(0,Vo.ze)(l),_=[{id:"editor",text:y.t("builder.resume_editor.tab_names.editor"),dataTestId:"editor-tab-button"},{id:"customization",text:y.t("builder.resume_editor.tab_names.customization"),dataTestId:"customization-tab-button"}],v=i.get("mcp_resume_id"),j=!!v,[A,C]=(0,R.useState)(!1),[w,k]=(0,R.useState)(!1);(0,R.useEffect)(()=>{let e=i.get("tailor_job_url");e&&!u&&p(e)},[i,u,p]);let[S,T]=(0,R.useState)(j?"createWithMcpResume":null),[P,E]=(0,R.useState)(!j&&(l?.showPrefillResumeModal??!0)),L=(0,R.useRef)(!0);(0,R.useEffect)(()=>{t(O.o1.fetchEditorPayloadRequest())},[t]),(0,R.useEffect)(()=>{if(L.current){L.current=!1;return}a(!0);let e=setTimeout(()=>{a(!1)},500);return()=>{clearTimeout(e)}},[l]),(0,R.useEffect)(()=>{!v||A||((async()=>{try{let e,t=await fetch(`https://mcp.resume.io/api/resumes/${v}`);if(!t.ok)throw Error(`Failed to fetch MCP resume: ${t.status}`);let i=await t.json();i.success&&i.resume&&(e=i.resume,"resume"===e.type)&&s({...i.resume,showPrefillResumeModal:!1})}catch(e){s({showPrefillResumeModal:!1})}})(),C(!0))},[v,A,s]);let I=e=>{x(e)},M=()=>{x("editor"),d()},B=()=>{j?k(!1):d()};if(!l||0===m.length)return(0,J.jsx)(VJ,{"data-testid":"guest-editor-loader",children:(0,J.jsx)(VL,{children:(0,J.jsx)(VN,{src:On})})});let D=e=>(0,J.jsx)(VH,{...e,currentDocument:l,handleUnlockClick:B,analyticsLabel:"preview_panel"}),$=(0,J.jsx)(QP,{children:(0,J.jsx)(eoQ,{isHeaderFullBorderRadius:!0})}),z=(0,J.jsx)(eix,{document:l,canScrollTop:n,isRbpStepFlowActive:!0,handleShareDocument:M,handleDownloadDocument:M,tabItems:_,handleTabChange:I,editorPanelType:h,updateTemplateSettings:e=>{let{settingsName:t,value:i}=e;if(erg({...e,resume:l}),"color"===t&&!f&&"string"==typeof i)return void s({color:i});if("lineSpacing"===t&&!f&&"number"==typeof i)return void s({spacing:(0,Vo.vp)(i)});(e=>{let{settingsName:t,value:i}=e,r=(0,Vo.h7)(l?.template,{settingsName:t,value:i},b);r&&s({templateSettings:r})})({settingsName:t,value:i});let r={marginsBetweenCards:"resume_between_content_blocks_paddings",verticalPageMargins:"resume_top_bottom_margins",horizontalPageMargins:"resume_left_right_margins",marginsBetweenSections:"resume_between_sections_paddings",marginsBetweenSectionNameAndContent:"resume_titles_content_paddings",fontSizePrimaryHeading:"font_size_primary_heading",fontSizeSecondaryHeading:"font_size_secondary_heading",fontSizeBody:"font_size_body",fontSizeSectionTitles:"font_size_section_titles",primaryFontWeight:"font_weight_primary",secondaryFontWeight:"font_weight_secondary",bodyFontWeight:"font_weight_body",sectionTitlesFontWeight:"font_weight_section_titles",headerAlignment:"header_alignment",dateAlignment:"date_al
3896ignment",locationAlignment:"location_alignment",dateFormat:"date_format",headerAndFooter:"resume_header_footer_margins",skillsLayout:"resume_skills_layout",categorizedSkillsLayout:"resume_categorized_skills_layout",educationLayout:"resume_education_layout",educationOrder:"resume_education_order"};r[t]&&(0,N.xP)("customise_resume_template",{template:l?.template,label:r[t],new_value:i})},handleTemplateUpdate:e=>{s({template:e}),(0,N.xP)("change_resume_template",{template:e})},renderPreview:D}),H=(0,J.jsx)(W$.w,{document:l,hideCustomizeButton:"customization"===h,switchToCustomizationTab:()=>{I("customization")},renderPreview:D,customPaginationHandlers:j?{handleNextPageClick:()=>k(!1),handlePreviousPageClick:()=>k(!1)}:void 0}),V={editor:{leftColumn:$,rightColumn:null},customization:{leftColumn:z,rightColumn:null}};return(0,J.jsx)(Vn.aJ,{type:"native",children:(0,J.jsxs)(VE,{"data-testid":"resume-editor-view",children:[r&&(0,J.jsx)(GN,{document:l,tabItems:_,handleTabChange:I,editorPanelType:h,user:null,handleDocumentNameChange:e=>{s({name:e}),(0,N.xP)("rename_resume")},isSidebarOpen:!1,handleDownloadDocument:M,handleShareDocument:M,isRbpStepFlowActive:!0,locales:g,onLocaleSelect:e=>{s({locale:e}),(0,N.xP)("change_resume_locale",{locale:e})},isConversationalBuilderOpen:e}),r&&(0,J.jsx)(erd,{leftColumn:(0,J.jsxs)(R.Fragment,{children:[V[h]?.leftColumn,e&&(0,J.jsx)(Xg,{})]}),rightColumn:V[h]?.rightColumn||H}),!r&&(0,J.jsxs)(VF,{children:["customization"!==h&&(0,J.jsx)(GB,{isRbpStepFlowActive:!0,canScrollTop:n,editorPanelType:h,tabItems:_,handleTabChange:I}),{editor:$,customization:z}[h],e&&(0,J.jsx)(Xg,{})]}),P&&!j&&(0,J.jsx)($B,{handleClose:()=>{E(!1),s({showPrefillResumeModal:!1})},handleDisabledItemClick:(e,t)=>{E(!1),T(e),t&&c(t)}}),(S||j&&!w)&&l?.template&&(0,J.jsx)(eoV,{templateId:l?.template,prefillOption:S||"createWithMcpResume",onClose:()=>{j?k(!0):E(!0),T(null)},resumeData:j?l:void 0,tailorJobUrl:u}),r&&(0,J.jsx)(erm,{isSyncing:o}),(0,J.jsx)(erc.b,{})]})})},eo0=tt.Ay.div(["background:",";padding:32px;border-radius:16px;",""],te.Jy.White,tQ.A.Phone`
3897    padding: 20px;
3898    border-radius: 12px;
3899  `),eo1=tt.Ay.div(["display:flex;justify-content:space-between;"]),eo2=tt.Ay.div([""," ",";color:",";width:436px;",""],td.Ay.S,td.BO.DemiBold,te.Jy.Neutral90,tQ.A.Phone`
3900    width: 264px;
3901  `),eo3=(0,tt.Ay)(tP.Ay.AddSmall)(["fill:",";background:",";border-radius:50%;position:relative;float:right;height:28px;width:28px;cursor:pointer;transform:rotate(225deg);&:hover{background:",";fill:",";}",""],te.Jy.Neutral70,te.Jy.Neutral10,te.Jy.Blue50,te.Jy.White,tQ.A.Phone`
3902    height: 24px;
3903    width: 24px;
3904    z-index: 2;
3905  `),eo5=tt.Ay.p(["margin-top:12px;"," ",";color:",";width:480px;",""],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50,tQ.A.Phone`
3906    width: 303px; 
3907  `),eo4=tt.Ay.div(["margin-top:32px;display:flex;justify-content:flex-end;",""],tQ.A.Phone`
3908    margin-top: 10px;
3909  `),eo6=(0,tt.Ay)(i$.Ay)(["margin-right:8px;"," ",";",""],td.Ay.Body,td.BO.Medium,tQ.A.Phone`
3910    ${td.Ay.Caption}
3911    padding: 8px 12px;
3912    height: 34px;
3913    margin-top: 10px;
3914  `);var eo8=e=>{let{coverLetterId:t,isGeneratingCoverLetter:i}=e,r=(0,eU.wA)(),n=(0,R.useRef)(null);(0,R.useEffect)(()=>{(0,N.xP)("see_regenerate_confirmation_screen")},[]);let o=()=>i?()=>{}:r(V.o1.setShowConfirmRegenerateModal(!1));return(0,oO.L)(n,i?()=>{}:e=>{e.stopPropagation(),o()}),(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,children:(0,J.jsxs)(eo0,{ref:n,children:[(0,J.jsxs)(eo1,{children:[(0,J.jsx)(eo2,{children:i7.R.t("builder.ai_cover_letter.regenerate_dialog.title")}),(0,J.jsx)(eo3,{onClick:o})]}),(0,J.jsx)(eo5,{children:i7.R.t("builder.ai_cover_letter.regenerate_dialog.content")}),(0,J.jsxs)(eo4,{children:[(0,J.jsx)(eo6,{theme:"ghost",onClick:o,children:i7.R.t("builder.resume_optimizer.job_posting.cancel")}),(0,J.jsxs)(Lq.CJ,{style:{width:"auto"},onClick:()=>{r(V.o1.regenerateCoverLetter({id:t})),(0,N.xP)("click_confirm_regenerate_cover_letter")},disabled:i,children:[(0,J.jsx)(Lq.FE,{$showAnimation:i,src:LW,alt:"Star Image"}),i7.R.t(i?"builder.ai_cover_letter.generating":"builder.ai_cover_letter.regenerate")]})]})]})})},eo9=i(44506);let eo7=e=>{let{coverLetter:t,updateSimpleField:i,isContentAnimationPending:r,setShowConfirmRegenerateModal:n}=e,o=(0,e0.U)(),{isAboveTablet:a}=(0,ih.e)(),{i18n:l}=(0,e1.s)(),s=o?.links.howToWriteCoverLetter,d=(0,R.useRef)(null),c=(0,R.useRef)(null),u=t?.content||"",[p,h]=(0,R.useState)(!1),x=!!o?.features?.aiWriter,m=(0,eW.N)(e=>U.Tp.documentsByType(e,eZ.VC.resume)).length>0;(0,R.useEffect)(()=>{r&&u&&h(!0)},[r,u]),(0,R.useEffect)(()=>
3914{if(p&&d.current){let e=setTimeout(()=>{d.current?.scrollIntoView({behavior:"smooth"}),h(!1)},100);return()=>clearTimeout(e)}},[p]);let g=e=>{i(e.target.name,e.target.value,!0)},y=(0,R.useCallback)(e=>{i("content",e,!0)},[i]),f=()=>{i("openCL",!1)},b=(0,R.useMemo)(()=>({mode:"ai_writer",editorContainerRef:c,locale:t?.locale||"",section:"cover_letter",editorText:t?.content||"",canImprove:(0,eo9.zz)(t?.content),canGenerate:!0,sectionContext:null,onApplyChanges:y,dataGetter:e=>e.changes?.find(e=>"content"===e.path)?.after,itemId:t?.id?.toString(),coverLetter:t,builderType:"cover_letter",useLastUpdatedResume:!0}),[t,y]);return t?(0,J.jsxs)(ery,{...e,documentType:eZ.VC.coverLetter,children:[(0,J.jsx)(Xy,{}),(0,J.jsxs)(Ze,{title:l.t("builder.cover_letter_editor.personal_details"),children:[(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:l.t("builder.cover_letter_editor.full_name"),value:t.senderName||"",name:"senderName",onChange:g})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:l.t("builder.cover_letter_editor.job_title"),value:t.applyingPosition||"",name:"applyingPosition",onChange:g,hint:l.t("builder.resume_editor.job_title_hint")})})]}),(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:l.t("builder.cover_letter_editor.address"),value:t.address||"",name:"address",onChange:g})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:l.t("builder.cover_letter_editor.email"),value:t.email||"",name:"email",onChange:g})})]}),(0,J.jsx)(Gz.A,{children:(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:l.t("builder.cover_letter_editor.phone_number"),value:t.phoneNumber||"",name:"phoneNumber",onChange:g})})})]}),(0,J.jsx)(Ze,{title:l.t("builder.cover_letter_editor.recipient_details"),children:(0,J.jsxs)(Gz.A,{children:[(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:l.t("builder.cover_letter_editor.company"),value:t.company||"",name:"company",onChange:g})}),(0,J.jsx)(GO.A,{children:(0,J.jsx)(re.A,{label:l.t("builder.cover_letter_editor.recipient_name"),value:t.companyRecipient||"",name:"companyRecipient",onChange:g})})]})}),(0,J.jsxs)(Ze,{title:l.t("builder.cover_letter_editor.letter_content"),containerRef:d,noBorderRadiusOnBottom:a,children:[(0,J.jsx)(Gz.A,{children:x?(0,J.jsx)(XL.Kt,{...b,children:(0,J.jsx)(i2.Ay,{label:l.t("builder.cover_letter_editor.letter_content_label"),value:t.content||"",isAnimating:r,onAnimationEnd:f,onChange:y,height:180,locale:t.locale,containerRef:c,additionalToolbarActions:m?(0,J.jsx)(XL.ee,{}):void 0})}):(0,J.jsx)(i2.Ay,{label:l.t("builder.cover_letter_editor.letter_content_label"),value:t.content||"",isAnimating:r,onAnimationEnd:f,onChange:y,height:180,locale:t.locale,containerRef:c})}),s&&(0,J.jsxs)(VI,{href:s,target:"_blank",rel:"noreferrer noopener",children:[(0,J.jsx)(VM,{}),(0,J.jsx)(VB,{children:l.t("builder.cover_letter_editor.letter_content_note")})]}),t.aiGenerated&&(0,J.jsx)(V$,{children:(0,J.jsxs)(Lq.CJ,{disabled:r,onClick:()=>{(0,N.xP)("click_regenerate_cover_letter"),n(!0)},children:[(0,J.jsx)(Lq.FE,{$showAnimation:r,src:LW,alt:"Star Image"}),l.t(r?"builder.ai_cover_letter.generating":"builder.ai_cover_letter.regenerate")]})})]})]}):null},eae="builder.resume_editor.tab_names",eat=e=>{let{coverLetterId:t}=e,i=(0,eU.wA)(),{isAboveTablet:r,isPhone:n}=(0,ih.e)(),{i18n:o}=(0,e1.s)(),a=(0,e4.J)(),[l,s]=(0,R.useState)(!1),d=(0,R.useRef)(!1),c=(0,R.useRef)(!1),[u,p]=(0,R.useState)(()=>!!sessionStorage.getItem(eZ.xZ)),h=(0,eW.N)(V.Tp.coverLetter),x=(0,eW.N)(V.Tp.openEditorEventTracked),m=(0,eW.N)(V.Tp.editorPanelType),g=(0,eW.N)(V.Tp.isSyncing),{showConfirmationModal:y,regenerationStatus:f}=(0,eW.N)(V.Tp.aiGenerationSection),b=(0,eW.N)(O.Tp.coverLetterTemplates),_=(0,eW.N)(O.Tp.locales),v=(0,eW.N)(e=>e.application.isOnline),j=(0,eW.N)(V.Tp.isContentAnimationPending),A=(0,eW.N)(V.Tp.error),C=!r&&"customization"!==m,{canScrollBottom:w,canScrollTop:k}=Rm(),S="customization"===m,T=h?j?{...h,content:""}:h:null,P=j||f===eZ.rD.generating,L=f===eZ.rD.failed,I=n?i$.Mp.small:i$.Mp.default,M=(0,eW.N)(ej.Tp.isMobileProfileMenuOpen),B=(0,eW.N)(F.Tp.isConversationalBuilderOpen),{handleDownloadDocument:D}=RY({currentDocument:T,downloadClickEventSource:S?"full_screen_cover_letter_preview":"cover_letter_editor",downloadActionEventSource:S?"builder_full_screen_preview":"builder"}),$=[{id:"editor",text:o.t(`${eae}.editor`),dataTestId:"editor-tab-button"},{id:"customization",text:o.t(`${eae}.customization`),dataTestId:"customization-tab-button"}],z=(0,R.useCallback)((e,t,r)=>{i(V.o1.updateSimpleField({name:e,value:t,debounce:r}))},[i]),H=e=>{z("name",e,!0),(0,N.xP)("rename_cover_letter")},U=e=>{z("locale",e,!0),(0,N.xP)("change_cover_letter_locale",{locale:e})},W=e=>{i(V.o1.setEditorPanelType(e))},K=(0,R.useCallback)(()=>{i(V.o1.setAIRegenerationStatus(eZ.rD.notStarted))},[i]),q=(0,R.useCallback)(e=>{i(V.o1.setShowConfirmRegenerateModal(e))},[i]),G=e=>{s(e)},Z=(0,R.useCallback)(()=>{i(F.o1.openMergeModal({resumeId:null,coverLetterId:h?.id}
3914)),(0,N.xP)("open_documents_merging_modal")},[i,h?.id]);if((0,dl.h)(()=>{i(V.o1.fetchCoverLetterRequest({id:t})),i(O.o1.fetchEditorPayloadRequest())}),(0,R.useEffect)(()=>{if(!h||d.current){c.current&&(h||A)&&(c.current=!1,p(!1));return}let e=sessionStorage.getItem(eZ.xZ);e?(d.current=!0,sessionStorage.removeItem(eZ.xZ),(async()=>{try{let r=await eo_(e);if(!r||"cover_letter"!==r.type)return void p(!1);await eoj(h.id,r),i(V.o1.fetchCoverLetterRequest({id:t})),c.current=!0}catch(e){E.A.log(e),p(!1)}})()):p(!1)},[h,t,i,A]),(0,R.useEffect)(()=>{A&&(0,dM.o)("/cover-letters"),h&&!x&&((0,N.xP)("visit_cover_letter_editor",{cover_letter_id:t,...h.aiGenerated?{label:"ai_generated"}:{}}),i(V.o1.setOpenEditorEventTracked(!0)))},[i,h,t,A,x]),!h||0===b.length||u)return(0,J.jsx)(VJ,{children:(0,J.jsx)(VL,{children:(0,J.jsx)(VN,{src:On})})});let X=(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eo7,{coverLetter:h,canScrollBottom:w,handleDownloadDocument:D,handleCombineDocuments:Z,updateSimpleField:z,isContentAnimationPending:j,setShowConfirmRegenerateModal:q}),B&&(0,J.jsx)(Xg,{builderType:"cover_letter"})]}),Q=(0,J.jsx)(eix,{document:h,canScrollTop:k,handleDownloadDocument:D,tabItems:$,handleTabChange:W,editorPanelType:m,updateTemplateSettings:({settingsName:e,value:t})=>{"color"===e&&z("color",t)},handleTemplateUpdate:e=>{i(V.o1.updateTemplate({id:e})),(0,N.xP)("change_cover_letter_template",{template:e})},isTemplateCategoriesHidden:!0,designTabItems:[{id:"templates",translationKey:"builder.resume_editor.design_tab.template_colors.tab",dataTestId:"templates-tab-button"}]}),Y=(0,J.jsx)(W$.w,{document:h,hideCustomizeButton:"customization"===m,switchToCustomizationTab:()=>{W("customization")}}),ee={editor:{leftColumn:X,rightColumn:Y},customization:{leftColumn:Q,rightColumn:Y}};return(0,J.jsx)(Vn.aJ,{type:"native",children:(0,J.jsxs)(VE,{"data-testid":"cover-letter-editor-view",children:[r&&(0,J.jsx)(GN,{tabItems:$,handleTabChange:W,editorPanelType:m,document:h,user:v?a:null,handleDocumentNameChange:H,isSidebarOpen:l,onSidebarToggle:G,handleDownloadDocument:D,locales:_,onLocaleSelect:U,isConversationalBuilderOpen:B}),C&&(0,J.jsx)(GI,{handleDocumentNameChange:H,onSidebarToggle:G,locales:_,onLocaleSelect:U,isSidebarOpen:l,document:h}),l&&(0,J.jsx)(Vz,{children:(0,J.jsx)(EG,{isOpen:l,width:"236px"})}),r&&(0,J.jsx)(erd,{leftColumn:ee[m]?.leftColumn,rightColumn:ee[m]?.rightColumn}),!r&&(0,J.jsxs)(VF,{children:["customization"!==m&&(0,J.jsx)(GB,{canScrollTop:k,editorPanelType:m,tabItems:$,handleTabChange:W}),{editor:X,customization:Q}[m]]}),(0,J.jsx)(Rp,{open:M,setOpen:e=>{i(ej.o1.setMobileProfileMenu(e))}}),r&&(0,J.jsx)(erm,{isSyncing:g}),y&&(0,J.jsx)(eo8,{coverLetterId:t,isGeneratingCoverLetter:P}),L&&(0,J.jsx)(If,{onClose:K,onTryAgain:()=>{K(),q(!0)},ButtonSize:I})]})})},eai=()=>{let e=parseInt((0,L.g)().id||"");return(0,J.jsx)(eat,{coverLetterId:e})},ear=()=>{let e=(0,L.g)(),[t]=(0,i3.ok)(),i="true"===t.get("showReview"),r=e.id&&parseInt(e.id)||0;return(0,J.jsx)(eob,{resumeId:r,shouldOpenAiReview:i})},ean=e=>{let{showRecaptcha:t}=e;return(0,R.useEffect)(()=>{let e=(()=>{0;let e=document.querySelector(".grecaptcha-badge");if(e&&(e.style.visibility="visible"),window.grecaptcha)return;let t=document.createElement("script");return t.src="https://www.google.com/recaptcha/enterprise.js?render=6LdFMTgrAAAAANDG62f_3VHg2L1kkLsy0Poka4gu",t.async=!0,t.onload=()=>{},t.onerror=e=>{console.error("Error loading reCAPTCHA script:",e)},document.body.appendChild(t),t})();return()=>{e&&e.parentNode&&e.parentNode.removeChild(e);let t=document.querySelector(".grecaptcha-badge");t&&(t.style.visibility="hidden")}},[]),(0,J.jsx)(J.Fragment,{children:t?(0,J.jsx)("div",{id:"g-recaptcha_v2-container",style:{position:"absolute",zIndex:"999",top:"-60px",right:"0px"}}):null})},eao=()=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ean,{}),(0,J.jsx)(eoY,{})]});var eaa=i(58156),eal=i.n(eaa);let eas=tt.Ay.div(["position:relative;display:flex;flex-direction:column;flex:1;"]),ead=(0,tt.Ay)(uD.CS.div)(["position:relative;width:100%;display:flex;flex-direction:column;flex:1;will-change:opacity,transform;"]),eac=e=>{let{children:t,direction:i="forward",animationEffect:r="slide",springConfig:n=uD.$W.default}=e,o=(0,L.zy)(),a=(0,uD.pn)(o,{config:n,..."slide"===r?{from:{position:"absolute",opacity:0,transform:"forward"===i?"translateX(25%)":"translateX(-25%)"},enter:{position:"absolute",opacity:1,transform:"translateX(0)"},update:{position:"relative"},leave:{opacity:0,transform:"forward"===i?"translateX(-25%)":"translateX(25%)"}}:{from:{opacity:0}
3914,enter:{opacity:1},leave:{opacity:0}}});return(0,J.jsx)(eas,{children:a((e,i)=>(0,J.jsx)(ead,{style:e,children:(0,J.jsx)(L.BV,{location:i,children:t})}))})},eau=tt.Ay.div(["width:100%;display:flex;align-items:center;justify-content:center;"]),eap=tt.Ay.div(["width:28px;height:28px;border-radius:50%;background-color:",";display:flex;align-items:center;justify-content:center;",";color:",";font-weight:600;margin-right:12px;transition:background-color 0.2s ease,color 0.2s ease;"],({visited:e})=>e?te.Jy.Blue50:te.Jy.Neutral20,td.Ay.Caption,({visited:e})=>e?te.Jy.White:te.Jy.Neutral50),eah=tt.Ay.div(["color:",";transition:color 0.2s ease;"],({visited:e})=>e?te.Jy.Neutral90:te.Jy.Neutral50),eax=tt.Ay.div(["display:flex;align-items:center;&:after{content:'';width:32px;height:1px;background-color:",";margin:0 8px;color:",";}&:last-child:after{display:none;}"],te.Jy.Neutral20,te.Jy.Neutral20),eam=({steps:e,currentStep:t})=>(0,J.jsx)(eau,{children:e.map((e,i)=>(0,J.jsxs)(eax,{children:[(0,J.jsx)(eap,{visited:i<=t,children:i+1}),(0,J.jsx)(eah,{visited:i<=t,children:e})]},i))});eam.propTypes={steps:i9().array,currentStep:i9().number};let eag=tt.Ay.div(["display:flex;flex-direction:column;min-height:100vh;position:relative;background-color:",";overflow:hidden;transition:background-color 0.4s ease;"],te.Jy.White),eay=tt.Ay.div(["position:relative;top:0;left:0;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;width:100%;padding:22px 32px;z-index:100;",";"],tQ.A.Phone`
3915    height: 46px;
3916    padding: 0 20px;
3917  `),eaf=tt.Ay.div(["position:absolute;width:700px;left:calc(50% - 350px);display:flex;align-items:center;justify-content:center;",";"],tQ.A.Tablet`
3918    display: none;
3919  `),eab=tt.Ay.div(["position:relative;display:flex;flex-direction:column;flex-grow:1;"]),ea_=(0,tt.Ay)(i$.Ay)(["color:",";background-color:rgba(26,145,240,0.1) !important;cursor:pointer;transition:color 0.2s ease;&:hover{background-color:rgba(26,145,240,0.3) !important;}"],te.Jy.Blue50),eav=tt.Ay.div(["display:flex;gap:4px;",";",";"],tQ.A.Tablet`
3920    margin-top: 10px;
3921  `,tQ.A.Phone`
3922    margin-top: 20px
3923  `),eaj=tt.Ay.a(["margin-top:auto;margin-bottom:auto;width:24px;height:24px;color:",";cursor:pointer;transition:color 0.2s ease;&:hover{color:",";}"],te.Jy.Neutral30,te.Jy.Blue50),eaA=tt.Ay.h6(["display:block;color:var(--Blue-Blue-50,#1a91f0);text-align:center;font-size:27px;font-style:normal;font-weight:600;line-height:30px;margin:10px auto;",""],tQ.A.Phone`
3924    display: none;
3925  `),eaC={templates:"templates",socialProfile:"social-profile",introduction:"introduction",contactInfo:"contact-info",onePageSignUp:"single-sign-up"};var eaw=class{constructor(e={}){const{steps:t,exclude:i=[]}=e;this.steps=(t||[eaC.templates,eaC.socialProfile,eaC.introduction,eaC.contactInfo]).filter(e=>!i.includes(e))}currentStep=()=>this.steps[this.currentStepIndex];next=e=>{let t=this.steps.indexOf(e);if(-1===t)return this.steps[0];let i=t!==this.steps.length-1?t+1:t;return this.steps[i]};previous=e=>{let t=this.steps.indexOf(e);return -1===t?this.steps[0]:this.steps[0!==t?t-1:0]};getDirection=(e,t)=>{let i=this.steps.indexOf(e);return this.steps.indexOf(t)>i?"forward":"backward"};getStepByUrl=e=>{let t=e.split("/").pop(),i=this.steps.indexOf(t);return -1!==i?this.steps[i]:null}};let eak=tt.Ay.div(["display:flex;flex-direction:column;min-height:100vh;position:relative;background-color:",";overflow:hidden;transition:background-color 0.4s ease;"],({withImage:e})=>e?te.Jy.White:te.Jy.Neutral10),eaS=tt.Ay.div(["position:relative;top:0;left:0;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;width:100%;padding:22px 32px;z-index:100;",";"],tQ.A.Phone`
3926    height: 46px;
3927    padding: 0 20px;
3928  `),eaT=tt.Ay.div(["position:absolute;width:700px;left:calc(50% - 350px);display:flex;align-items:center;justify-content:center;",";"],tQ.A.Tablet`
3929    display: none;
3930  `),eaP=tt.Ay.div(["position:relative;display:flex;flex-direction:column;flex-grow:1;"]);te.Jy.Neutral30,te.Jy.Blue50;var eaJ=({children:e,steps:t,regionPrefix:i,currentStepName:r,currentStepNumber:n,handleSkipButton:o,isStepperDisabled:a=!1,isCopyrightDisabled:l=!1,...s})=>{let{i18n:d}=(0,e1.s)(),c=`/${i}`,u=r===eaC.onePageSignUp?1:n;return(0,J.jsxs)(eak,{withImage:r!==eaC.templates,...s,children:[(0,J.jsxs)(eaS,{children:[(0,J.jsx)("a",{"aria-label":"Logo",href:c,children:(0,J.jsx)(sc.A,{})}),!a&&(0,J.jsx)(eaT,{children:(0,J.jsx)(eam,{steps:t,currentStep:u})}),"templates"===r&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eaA,{children:d.t("builder.templates.choose_template")}),(0,J.jsx)(eav,{children:(0,J.jsx)(ea_,{onClick:o,children:d.t("builder.sign_in.methods.skip")})})]})]}),(0,J.jsx)(eaP,{children:e}),!l&&(0,J.jsx)(eoT,{})]})};i(95921);var eaE=i(4589),eaR=({children:e})=>{let t=(0,ih.e)();return"function"==typeof e?e(t):e};function eaL(e){return class extends R.Component{render(){return(0,J.jsx)(eaR,{children:t=>(0,J.jsx)(e,{mediaQueries:t,...this.props})})}}}let eaN=tt.Ay.div(["position:relative;width:100%;height:2px;border-radius:2px;overflow:hidden;background-color:",";"],te.Jy.Neutral20),eaI=tt.Ay.div(["height:100%;position:absolute;
3930left:0;top:0;display:flex;width:100%;transition:",";transform:",";"],({animated:e})=>e?"transform 0.2s ease":"none",({translate:e})=>`
3931    translateX(${e}px);
3932  `),eaM=tt.Ay.div(["position:absolute;transform-origin:left center;width:","px;height:100%;background-color:",";&:first-child{left:-184px;}&:nth-child(2){left:0;}&:nth-child(3){left:184px;}"],({width:e})=>e,te.Jy.Blue50);class eaB extends R.Component{static propTypes={steps:i9().number,currentStep:i9().number};static defaultProps={steps:1,currentStep:0};constructor(e){super(e),this.progressBarRef=(0,R.createRef)(),this.state={currentStep:0,progressWrapperTranslate:0,animatedTranslate:!0}}componentDidUpdate(e){let t=this.progressBarRef.current;if(!t)return 0;let i=e.currentStep,r=this.props.currentStep;if(i!==r){let{leftEdgeCase:e,rightEdgeCase:n}=this.detectEdgeCases(i,r);if(n)return void this.moveLineWrapper(t.offsetWidth,0);if(e)return void this.moveLineWrapper(-this.progressLineWidth,this.movingValue*(this.props.steps-1));this.moveLineWrapper(this.movingValue*r)}}get progressLineWidth(){let e=this.progressBarRef.current;return e?Math.max(e.offsetWidth/this.props.steps,e.offsetWidth/6):0}get movingValue(){let e=this.progressBarRef.current;return e?(e.offsetWidth-this.progressLineWidth)/(this.props.steps-1):0}moveLineWrapper=(e,t=null)=>{this.setState({progressWrapperTranslate:e,animatedTranslate:!0}),null!==t&&setTimeout(()=>this.setState({progressWrapperTranslate:t,animatedTranslate:!1}),200)};detectEdgeCases(e,t){let i=this.props.steps;return 0===e&&t===i-1?{leftEdgeCase:!0}:e===i-1&&0===t?{rightEdgeCase:!0}:{}}render(){return(0,J.jsx)(eaN,{ref:this.progressBarRef,children:(0,J.jsxs)(eaI,{animated:this.state.animatedTranslate,translate:this.state.progressWrapperTranslate,children:[(0,J.jsx)(eaM,{width:this.progressLineWidth}),(0,J.jsx)(eaM,{width:this.progressLineWidth}),(0,J.jsx)(eaM,{width:this.progressLineWidth})]})})}}let eaD=tt.Ay.div(["display:flex;flex-direction:column;flex:1;",""],tQ.A.Phone`
3933    padding-top: 20px;
3934  `),ea$=tt.Ay.div(["width:100%;",""],tQ.A.Phone`
3935    padding: 0 20px 0;
3936  `),eaO=tt.Ay.div(["",";color:",";font-weight:700;margin-bottom:8px;text-align:center;user-select:none;"," ",""],td.o5.XL,te.Jy.Blue50,tQ.A.Tablet`
3937    margin-bottom: 24px;
3938  `,tQ.A.Phone`
3939    ${td.o5.S};
3940    margin-bottom: 12px;
3941  `),eaz=tt.Ay.div(["text-align:center;margin-bottom:18px;user-select:none;",""],tQ.A.Tablet`
3942    display: none;
3943  `),eaF=tt.Ay.div(["position:absolute;width:100%;height:100%;top:0;left:0;"]),eaH=tt.Ay.img(["width:100%;height:100%;border-radius:4px;background-color:",";transition:transform 0.3s ease,box-shadow 0.4s ease;z-index:1;"],te.Jy.White),eaV=tt.Ay.div(["position:absolute;width:100%;height:100%;top:0;left:0;border-radius:8px;background-color:",";border:0;z-index:1;"],te.Jy.White),eaU=tt.Ay.div(["position:absolute;width:100%;height:100%;transform:scale(1.05);left:0;top:0;display:none;z-index:2;"]),eaW=(0,tt.Ay)(i$.Ay)(({visible:e})=>(0,tt.AH)(["display:",";z-index:3;"],e?"block":"none")),eaK=tt.Ay.div(["display:flex;flex-direction:column;flex:1;user-select:none;"]),eaq=tt.Ay.div(["position:absolute;width:auto;top:-52px;display:flex;flex-direction:column;align-items:center;cursor:default;transition:transform 0.3s;",""],tQ.A.Phone`
3944    top: -38px;
3945  `),eaG=tt.Ay.div(["display:flex;align-items:center;"]),eaZ=tt.Ay.div(["font-weight:600;",""],tQ.A.Phone`
3946    ${td.o5.Caption};
3947  `),eaX=tt.Ay.div(["display:flex;align-items:center;cursor:pointer;font-size:23px;z-index:15;font-weight:600;&:hover{color:var(--Blue-Blue-50,#1a91f0);}",""],tQ.A.Phone`
3948    ${td.o5.Caption};
3949  `),eaQ=tt.Ay.div(["width:20px;height:20px;margin-left:4px;background-image:url(",");background-size:contain;z-index:999;cursor:pointer;",""],i(95309),tQ.A.Phone`
3950    display: none;
3951  `),eaY=tt.Ay.div(["",";color:",";"],td.o5.Tiny,te.Jy.Neutral50),ea0=(0,tt.Ay)(etL).attrs({topic:"plan"})(["position:absolute;bottom:16px;left:16px;transition:transform 0.3s;z-index:1;"]),ea1=(0,tt.Ay)(etL)(["position:absolute;bottom:16px;right:16px;transition:transform 0.3s;z-index:1;"]),ea2=tt.Ay.div(["position:relative;*:focus{outline:0;outline:none;}.slick-current ","{transform:translate( ","px,","px );}.slick-current ","{transform:translate( ","px,","px );}.slick-current ","{transform:translateY(-12px);}.slick-current ","{transform:scale(1.04);box-shadow:0px 20px 40px -8px rgba(186,200,227,0.2),0px 12px 24px -8px rgba(186,200,227,0.3);}.slick-current ","{transform:scale(1.04);box-shadow:0px 20px 40px -8px rgba(186,200,227,0.2),0px 12px 24px -8px rgba(186,200,227,0.3);}.slick-current{& ","{display:block;}",";","{display:block;}}"],ea1,e=>e.badgesHorizontalMargin,e=>e.badgesVerticalMargin,ea0,e=>-e.badgesHorizontalMargin,e=>e.badgesVerticalMargin,eaq,eaH,eaV,eaU,tQ.A.Phone`
3952      transform: scale(1);
3953    `,eaW),ea3=tt.Ay.div(["position:relative;display:flex;align-items:center;justify-content:center;height:",";border-radius:4px;flex-shrink:0;cursor:pointer;margin:70px 16px 40px;",";",";"],({height:e})=>`${e}px`,tQ.A.Tablet`
3954    margin: 60px 12px 40px;
3955  `,tQ.A.Phone`
3956    margin: 60px 8px 40px;
3957  `),ea5=tt.Ay.div(["position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;background-color:",";color:",";border-radius:50%;z-index:2;cursor:pointer;transition:background-color 0.3s ease;&:hover{background-color:",";}",""],te.Jy.Blue50,te.Jy.White,te.Jy.Blue70,tQ.A.Phone`
3958    display: none;
3959  `),ea4=(0,tt.Ay)(ea5)(["left:60px;top:calc(50% - 24px);transform:rotate(180deg);",""],tQ.A.Tablet`
3960    left: 24px;
3961  `),ea6=(0,tt.Ay)(ea5)(["right:60px;top:calc(50% - 24px);",""],tQ.A.Tablet`
3962    right: 24px;
3963  `),ea8=tt.Ay.div(["display:flex;align-items:center;justify-content:center;flex:1;"]),ea9=tt.Ay.div(["width:100%;display:none;align-items:center;justify-content:center;margin-bottom:32px;",""],tQ.A.Tablet`
3964    display: flex;
3965  `),ea7=tt.Ay.div(["width:100%;max-width:184px;"]),ele=tt.Ay.div(["display:grid;grid-template-columns:repeat(",",1fr);gap:32px;padding:32px;",""],e=>e.desktopColumns,tQ.A.Phone`
3966    grid-template-columns: repeat(${e=>e.mobileColumns}, 1fr);
3967    gap: 20px;
3968    padding: 20px;
3969  `),elt=tt.Ay.div(["display:flex;flex-direction:row;flex-wrap:wrap;padding:0 20px;margin:20px auto;gap:4px;"," ::-webkit-scrollbar{display:none;}"],tQ.A.Phone`
3970    padding: 10px 20px;
3971    margin: 0;
3972  `),eli=tt.Ay.a(["flex:0 0 auto;padding:8px 16px;text-align:center;gap:8px;border-radius:36px;background:var(--Neutral-Neutral-5,#f7f9fc);color:var(--Neutral-Neutral-90,#1e2532);font-size:16px;font-style:normal;font-weight:400;line-height:20px;border:1px solid transparent;cursor:pointer;&:hover{border-radius:36px;border:1px solid var(--Blue-Blue-50,#1a91f0);background:var(--Blue-Blue-10,#eaf6ff);color:var(--Blue-Blue-50,#1a91f0);}",""],e=>e.isActive&&(0,tt.AH)(["border-radius:36px;border:1px solid var(--Blue-Blue-50,#1a91f0);background:var(--Blue-Blue-10,#eaf6ff);color:var(--Blue-Blue-50,#1a91f0);"])),elr=tt.Ay.div(["display:flex;flex-direction:column;position:relative;&:hover{button{display:block;}}"]),eln=tt.Ay.img(["width:100%;height:100%;box-shadow:0px 8px 36px 0px #98b4ea30;border-radius:10px;"]),elo=tt.Ay.div(["display:flex;flex-direction:row;justify-content:space-between;margin-top:10px;gap:5px;",""],tQ.A.Phone`
3973    flex-wrap: wrap;
3974    flex-direction: column;
3975  `),ela=tt.Ay.div(["display:flex;flex-direction:row;gap:5px;"]),ell=tt.Ay.div(["display:flex;flex-direction:row;gap:12px;z-index:15;"]),els=tt.Ay.div(["display:inline-block;position:relative;width:16px;height:16px;box-shadow:inset 0 0 0 4px rgba(0,0,0,0);background:",";border-radius:50%;transition:transform 0.2s,box-shadow 0.2s;cursor:pointer;&:hover{transform:scale(1.125);box-shadow:inset 0 0 0 4px rgba(0,0,0,0.1);background:white;border:3px solid ",";}",""],e=>e.color,e=>e.color,e=>e.default&&(0,tt.AH)(["transform:scale(1.125);box-shadow:inset 0 0 0 4px rgba(0,0,0,0.1);background:white;border:3px solid ",";"],e.color)),eld=tt.Ay.div(["text-align:center;cursor:pointer;font-size:16px;color:var(--Blue-Blue-50,#1a91f0);padding:8px 16px;flex:0 0 auto;"]),elc=tt.Ay.h2(["display:none;color:var(--Blue-Blue-50,#1a91f0);text-align:center;font-size:27px;font-style:normal;font-weight:600;line-height:30px;margin:10px auto;",""],tQ.A.Phone`
3976    display: block;
3977  `),elu=tt.Ay.div(["position:absolute;top:0;bottom:0px;z-index:10;right:0;left:0;display:flex;align-items:center;justify-content:center;cursor:pointer;"]),elp=tt.Ay.div(["margin-right:8px;width:16px;height:16px;padding:2px;border:2px solid var(--neutral-90);border-radius:50%;&:after{content:'';display:block;width:4px;height:8px;background-color:var(--neutral-90);border-radius:4px 0 0 4px;}"]),elh=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;width:fit-content;"]),elx=tt.Ay.div([".swiper{position:relative;overflow:visible;}.swiper-wrapper{display:flex;position:relative;transition-property:transform;align-items:flex-end;}.swiper-slide{width:auto;}"]),elm=tt.Ay.div(["position:relative;width:326px;height:459px;background-color:",";background-image:",";background-size:contain;transform:",";margin:16px 4px 8px;"],te.Jy.White,({image:e})=>e?`url(${e})`:"none",({isActive:e})=>e?"scale(1.05)":"scale(1)"),elg=tt.Ay.div(["height:100%;margin:48px 0 24px;"]),ely=tt.Ay.div(["position:absolute;width:100%;height:100%;transform:scale(1.05);left:0;top:0;z-index:2;"]),elf=(0,tt.Ay)(i$.Ay)(["z-index:3;top:50%;left:25%;"]),elb=tt.Ay.div(({visible:e})=>(0,tt.AH)(["position:fixed;top:0;left:0;width:100%;background:white;display:",";z-index:999;"],e?"flex":"none"));var el_=i(51791);function elv({templates:e,onChoose:t,mediaQueries:i,recommended:r="stockholm",currentTemplate:n="",documentType:o}){let a=(0,R.useRef)(null),l=(0,R.useRef)(null),s=(0,R.useRef)(null),d=(0,R.useRef)(!1),c=(0,R.useRef)(!0),u=(0,R.useCallback)(()=>{let t=n||r,i=e.findIndex(e=>e.id===t);return i>=0?i:0},[e,r,n]),p=(0,R.useRef)(null),h=(0,R.useRef)(null),[x,m]=(0,R.useState)(420),[g,y]=(0,R.useState)(560),[f,b]=(0,R.useState)(!1),[_,v]=(0,R.useState)(u),[j,A]=(0,R.useState)(u),[C,w]=(0,R.useState)({}),{isPhone:k}=(0,ih.e)();(0,R.useEffect)(()=>{e.length&&v(u())},[u,e.length]);let S=(0,R.useMemo)(()=>
3977{if(!e.length)return[];let t=t=>(_+t+e.length)%e.length;return i.isPhone?[t(-1),_,t(1)]:[t(-2),t(-1),_,t(1),t(2)]},[_]),T=(0,R.useCallback)((e,{lowRes:t=!1,immediate:i=!1}={})=>Promise.all(e.map(e=>{if(C[e?.id])return Promise.resolve();let r=t?e?.thumbnailLowRes:e?.thumbnail;return(i?Promise.resolve():elj(r)).then(()=>{c.current&&w(t=>({...t,[e?.id]:r}))})})),[C]),P=(0,R.useCallback)(()=>{let t=S.map(t=>e[t]);c.current=!0,T(t,{lowRes:!0}).then(()=>b(!0)).then(()=>T(t))},[S]),E=(0,R.useCallback)(Rx()(()=>{let e=a.current;if(!e)return;let{top:t}=e.getBoundingClientRect(),i=0,r=0,o=(0,el_.A)(n);window.innerWidth<560?r=(i=window.innerWidth-64)/o:i=(r=Math.max(300,window.innerHeight-t-70-98))*o,y(r),m(i)},50),[n]),L=(0,R.useCallback)(()=>{s.current&&s.current.slickPrev()},[]),I=(0,R.useCallback)(()=>{s.current&&s.current.slickNext()},[]),M=(0,R.useCallback)(i=>{switch(i.which||i.keyCode){case 13:{let i=e[_];i&&t(i.id);break}case 37:L();break;case 39:I()}},[L,I,e,_,t]),B=(0,R.useCallback)(e=>{t(e.id),(0,N.xP)(`choose_sign_up_${o}_template`,{template:e.id,label:"funnel"}),(0,N._m)("Sign Up",e.name)},[t,o]),D=(0,R.useCallback)(e=>{e.preventDefault()},[]),$=(0,R.useCallback)(()=>{s.current&&s.current.innerSlider&&(d.current=s.current.innerSlider.state.swiping)},[]),O=(0,R.useCallback)(e=>{d.current&&e.stopPropagation()},[]),z=(0,R.useCallback)((e,t)=>{A(t)},[]),F=(0,R.useCallback)(e=>{(0,N.xP)("slide_sign_up_templates"),v(e)},[]);(0,R.useEffect)(()=>(window.addEventListener("resize",E),document.addEventListener("keydown",M),requestAnimationFrame(()=>{E()}),()=>{window.removeEventListener("resize",E),document.removeEventListener("keydown",M),c.current=!1}),[E,M,P,e,o]),(0,R.useEffect)(()=>{e.length&&P()},[e,_,P]),(0,R.useEffect)(()=>{"/app/create-resume/templates"===window.location.pathname?((0,N._m)("Application",`visit_app_${o}_templates_page`),(0,N.xP)(`visit_app_${o}_templates_page`)):"/app/create-cover-letter/templates"===window.location.pathname&&(0,N.xP)(`visit_app_${o}_templates_page`)},[o]);let H={dots:!1,arrows:!1,infinite:!0,speed:300,slidesToShow:i.isDesktop?3:1,slidesToScroll:1,centerMode:!0,focusOnSelect:!0,initialSlide:u(),variableWidth:!0,adaptiveHeight:!0,swipeToSlide:!0,afterChange:F,beforeChange:z},V=i.isTablet,U=(0,R.useCallback)(t=>{let i=t?.realIndex??0;v(i),A((i+1)%e.length),(0,N.xP)("slide_sign_up_templates")},[e.length]),W=(0,R.useMemo)(()=>(0,J.jsx)(elg,{ref:h,children:(0,J.jsx)(elx,{children:(0,J.jsx)(nl.RC,{onSwiper:e=>p.current=e,initialSlide:u(),slidesPerView:"auto",spaceBetween:8,centeredSlides:!0,loop:!0,onSlideChange:U,children:e?.map((e,t)=>(0,J.jsx)(nl.qr,{children:(0,J.jsxs)(elh,{children:[(0,J.jsxs)(eaq,{children:[(0,J.jsxs)(eaG,{children:[(0,J.jsx)(eaZ,{children:e.name}),e.id===r&&(0,J.jsx)(aH.Ay,{value:i7.R.t("builder.sign_up.most_popular"),children:(0,J.jsx)(eaQ,{})})]}),(0,J.jsx)(eaY,{children:i7.R.t("builder.sign_up.users_chose_this_template",{number:e.usersChose})})]}),(0,J.jsx)(elm,{isActive:_===t,image:C[e.id],children:_===t&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ely,{onClick:()=>B(e)}),(0,J.jsx)(elf,{onClick:()=>B(e),children:i7.R.t("builder.sign_up.select")})]})})]})},e.id))})})}),[_,u,B,U,r,e,C]);return(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(eaD,{children:[V&&(0,J.jsxs)(ea$,{children:[(0,J.jsx)(eaO,{children:i7.R.t("builder.sign_up.templates_title")}),(0,J.jsx)(eaz,{children:i7.R.t("builder.sign_up.templates_subtitle")})]}),(0,J.jsx)(eaK,{ref:a,children:f?(0,J.jsxs)(ea2,{badgesVerticalMargin:(1.04*g-g)/2,badgesHorizontalMargin:(1.04*x-x)/2,children:[(0,J.jsx)(ea4,{onClick:L,children:(0,J.jsx)(tP.Ay.Chevron,{})}),(0,J.jsx)(ea6,{onClick:I,children:(0,J.jsx)(tP.Ay.Chevron,{})}),k?W:(0,J.jsx)(eaE.default,{...H,ref:s,children:e.map(e=>(0,J.jsx)("div",{children:(0,J.jsx)(ea3,{style:{width:x},height:g,ref:l,onMouseDownCapture:D,onMouseUpCapture:$,onClickCapture:O,children:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(eaF,{children:[C[e.id]?(0,J.jsx)(eaH,{alt:`${e.id} template`,src:C[e.id]}):(0,J.jsx)(eaV,{}),!e.premium&&(0,J.jsx)(ea0,{badges:["Free"]}),(0,J.jsx)(ea1,{badges:e.supportedFormats})]}),(0,J.jsxs)(eaq,{children:[(0,J.jsxs)(eaG,{children:[(0,J.jsx)(eaZ,{children:e.name}),e.id===r&&(0,J.jsx)(aH.Ay,{value:i7.R.t("builder.sign_up.most_popular"),children:(0,J.jsx)(eaQ,{})})]}),(0,J.jsx)(eaY,{children:i7.R.t("builder.sign_up.users_chose_this_template",{number:e.usersChose})})]}),(0,J.jsx)(eaU,{onClick:()=>B(e)}),(0,J.jsx)(eaW,{onClick:()=>B(e),children:i7.R.t("builder.sign_up.select")})]})},e.id)},e.id))}),(0,J.jsx)(ea9,{children:(0,J.jsx)(ea7,{children:(0,J.jsx)(eaB,{currentStep:j,steps:e.length})})})]}):(0,J.jsx)(ea8,{children:(0,J.jsx)(du.y$,{})})})]})})}function elj(e){return new Promise(t=>{let i=new Image;i.onload=()=>t(e),i.onerror=e=>t(null,e),i.src=e})}function elA({categories:e,activeCategory:t,setActiveCategory:i,documentType:r,i18n:n,atpStickyCategories:o=!1}){let[a,l]=(0,R.useState)(!1),s=(0,R.useMemo)(()=>{let t=[...e].sort((e,t)=>
3977"all"===e.slug?-1:e.popularCategory===t.popularCategory?0:e.popularCategory?-1:1);return a||(t=t.slice(0,7)),t},[e,a]);return(0,J.jsxs)(elt,{children:[s.map(e=>{let n=e.slug===t?.slug;return(0,J.jsx)(eli,{isActive:n,onClick:()=>{(0,N.xP)(`change_${r}_templates_category`,{tab:e.slug,label:"funnel",stickyCategory:o?"yes":"no"}),i(e)},children:e.name},e.id)}),e.length>7&&(0,J.jsx)(eld,{onClick:()=>{l(e=>((0,N.xP)(`click_${e?"less":"more"}_categories`,{label:"funnel"}),!e))},children:a?n.t("builder.sign_up.see_less"):n.t("builder.sign_up.see_more")})]})}elv.propTypes={templates:i9().array.isRequired,onChoose:i9().func.isRequired,mediaQueries:i9().object.isRequired,recommended:i9().string,currentTemplate:i9().string,documentType:i9().oneOf(Object.values(eZ.VC))},eaL(elv),elA.propTypes={categories:i9().array.isRequired,setActiveCategory:i9().func.isRequired,activeCategory:i9().object,documentType:i9().string,i18n:i9().object,atpStickyCategories:i9().bool};let elC={mobile:2,desktop:4},elw=["bg","nl-NL","es-ES","sv-SE","de-AT","de-DE","fr-FR","pt-PT","en-IE","it","cs","fi","ro","hu","gr","pl","da","de-CH","sr","nb"];function elk({template:e,onChoose:t,documentType:i,rtpAtpUnhideCtaAB:r,atpStickyCategories:n,showPremiumBadge:o}){let{id:a,thumbnail:l,imagesWithColors:s,premium:d,supportedFormats:c,name:u}=e,p=(0,R.useRef)(),h=(e,r)=>{t(e),(0,N.xP)(`choose_sign_up_${i}_template`,{template:e,label:"funnel",stickyCategory:n?"yes":"no"}),(0,N._m)("Sign Up",r)};return(0,J.jsxs)(elr,{"data-testid":`${a}-template`,children:[(0,J.jsx)(eln,{ref:p,loading:"lazy",alt:`${a} template`,src:rY(l,{width:500})}),(0,J.jsx)(elu,{onClick:()=>h(a,u),children:(0,J.jsx)(eaW,{visible:"v1"===r||void 0,children:i7.R.t("builder.sign_up.select")})}),(0,J.jsxs)(elo,{children:[(0,J.jsx)(ell,{children:s?.length>1?s.map(({color:e,url:t,default:i})=>(0,J.jsx)(els,{onMouseEnter:()=>{p.current.src=t},isActive:!1,color:e},e)):(0,J.jsx)(elp,{})}),(0,J.jsxs)(ela,{children:[!d&&(0,J.jsx)(etL,{badges:[i7.R.t("builder.templates.free_plan")]}),o&&d&&(0,J.jsx)(etL,{badges:[i7.R.t("builder.templates.premium_plan")]}),(0,J.jsx)(etL,{badges:c})]})]}),(0,J.jsx)(eaX,{onClick:()=>h(a,u),children:u})]})}function elS({templates:e=[],onChoose:t,documentType:i,categories:r=[],loading:n=!1,rtpAtpUnhideCtaAB:o="v0",atpStickyCategories:a=!1}){let[l,s]=(0,R.useState)(!1),[d,c]=(0,R.useState)({slug:"all"}),[u,p]=(0,R.useState)(!1),h=(0,eW.N)(X.Tp.locale);(0,dl.h)(()=>{let e=FH()(()=>{window.scrollY>300?s(!0):s(!1)},100);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let x=(0,R.useMemo)(()=>d?.templates&&d?.slug!=="all"?e.filter(e=>d.templates.includes(e.id)):e,[d,e]),{mobile:m,desktop:g}=elC;return(0,R.useEffect)(()=>{!x.length||u||Promise.all(x.slice(0,8).map(({thumbnail:e})=>elj(e))).then(()=>{p(!0)})},[x]),(0,R.useEffect)(()=>{"/app/create-resume/templates"===window.location.pathname?((0,N._m)("Application",`visit_app_${i}_templates_page`),(0,N.xP)(`visit_app_${i}_templates_page`)):"/app/create-cover-letter/templates"===window.location.pathname&&(0,N.xP)(`visit_app_${i}_templates_page`)},[i]),(0,J.jsxs)(J.Fragment,{children:[a&&(0,pj.createPortal)((0,J.jsx)(elb,{visible:l,children:(0,J.jsx)(elA,{activeCategory:d,categories:r,setActiveCategory:c,documentType:i,i18n:i7.R,atpStickyCategories:a})}),document.body),(0,J.jsx)(elc,{children:i7.R.t("builder.sign_up.select_template")}),n&&(0,J.jsx)(ea8,{children:(0,J.jsx)(du.Ay,{})}),!n&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(elA,{activeCategory:d,categories:r,setActiveCategory:c,documentType:i,i18n:i7.R}),u?(0,J.jsx)(ele,{mobileColumns:m,desktopColumns:g,children:x.map(e=>(0,J.jsx)(elk,{template:e,onChoose:t,documentType:i,rtpAtpUnhideCtaAB:o,showPremiumBadge:elw.includes(h)},e.id))}):(0,J.jsx)(ea8,{"data-testid":"spinner",children:(0,J.jsx)(du.Ay,{})})]})]})}elk.propTypes={template:i9().object.isRequired,onChoose:i9().func.isRequired,documentType:i9().oneOf(Object.values(eZ.VC)),rtpAtpUnhideCtaAB:i9().oneOf(["v0","v1"]),atpStickyCategories:i9().bool,showPremiumBadge:i9().bool},elS.propTypes={templates:i9().array.isRequired,onChoose:i9().func.isRequired,mediaQueries:i9().object.isRequired,recommended:i9().string,currentTemplate:i9().string,documentType:i9().oneOf(Object.values(eZ.VC)),categories:i9().array,variant:i9().string,loading:i9().bool,rtpAtpUnhideCtaAB:i9().oneOf(["v0","v1"]),atpStickyCategories:i9().bool};var elT=eaL(elS);let elP=tt.Ay.div(["",";font-weight:700;color:",";margin-bottom:12px;",""],td.Ay.XL,te.Jy.Blue50,tQ.A.Phone`
3978    width: 100%;
3979    text-align: left;
3980  `),elJ=tt.Ay.div(["margin-bottom:32px;text-align:center;",""],tQ.A.Phone`
3981    margin-bottom: 24px;
3982    text-align: left;
3983    width: 100%;
3984  `),elE=tt.Ay.div(({hasSpacing:e})=>(0,tt.AH)(["display:flex;flex-wrap:wrap;justify-content:space-between;background-color:",";border-radius:8px;&:not(:last-child){margin-bottom:",";}",";"],te.Jy.Neutral10,!0===e?"48px":"0px",tQ.A.Phone`
3985      max-width: 100%;
3986      margin-bottom: 32px;
3987    `)),elR=tt.Ay.div(["display:flex;align-items:center;"]),elL=tt.Ay.div(["width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px;"]),elN=(0,tt.Ay)(tP.Ay.Chevron)(["color:",";"],te.Jy.Blue50),elI=tt.Ay.div(["display:flex;align-items:center;justify-content:",";gap:8px;"],({justifyContent:e="space-between"})=>e),elM=tt.Ay.a(["position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;padding:20px 32px;border-bottom:1px solid ",";transition:background-color 0.1s ease,color 0.1s ease,border-color 0.1s ease;cursor:pointer;&:first-child{border-radius:8px 8px 0 0;}&:last-child{border:none;margin:0;border-radius:0 0 8px 8px;}&:hover{color:",";background-color:",";}",""],te.Jy.Neutral20,te.Jy.Blue50,(0,ti.j)(te.Jy.Blue20,.5),({altMod:e})=>e&&(0,tt.AH)(["border:1px solid ",";margin-bottom:8px;border-radius:4px;justify-content:center;font-weight:600;padding:12px 32px;&:first-child{border-radius:4px;}&:last-child{border:1px solid ",";margin-bottom:0;border-radius:4px;}&:hover{color:",";background:none;border-color:",";}","{margin-right:8px;}"],te.Jy.Neutral20,te.Jy.Neutral20,te.Jy.Blue50,te.Jy.Blue50,elL));var elB=({documentType:e,templateId:t,className:i,hasSpacing:r=!0,singleSignFlow:n=!1,availableSocialNetworks:o={google:!0,facebook:!0,linkedin:!0}})=>{let{i18n:a}
3987=(0,e1.s)(),l=Uy()(e),s=`/app/post-signup?${(0,dF.stringify)({mode:eZ.kv.landing,template:t,type:l})}`,d=(0,dF.stringify)({type:l,template:t,on_success_redirect:s});return(0,J.jsxs)(elE,{className:i,hasSpacing:r,children:[o.facebook&&(0,J.jsxs)(elM,{href:`/auth/facebook?${d}`,onClick:(0,N.OQ)("choose_social_sign_up_method",{network:"facebook"}),children:[(0,J.jsxs)(elR,{children:[(0,J.jsx)(elL,{children:(0,J.jsx)(tP.Ay.Facebook,{})}),n?a.t("builder.sign_in.methods.continue_facebook"):a.t("builder.sign_in.methods.facebook")]}),(0,J.jsx)(elN,{})]}),o.google&&(0,J.jsxs)(elM,{href:`/auth/google_oauth2?${d}`,onClick:(0,N.OQ)("choose_social_sign_up_method",{network:"google"}),children:[(0,J.jsxs)(elR,{children:[(0,J.jsx)(elL,{children:(0,J.jsx)(tP.Ay.Google,{})}),n?a.t("builder.sign_in.methods.continue_google"):a.t("builder.sign_in.methods.google")]}),(0,J.jsx)(elN,{})]}),o.linkedin&&(0,J.jsxs)(elM,{href:`/auth/linkedin?${d}`,onClick:(0,N.OQ)("choose_social_sign_up_method",{network:"linkedin"}),children:[(0,J.jsxs)(elR,{children:[(0,J.jsx)(elL,{children:(0,J.jsx)(tP.Ay.Linkedin,{})}),n?a.t("builder.sign_in.methods.continue_linkedin"):a.t("builder.sign_in.methods.linkedin")]}),(0,J.jsx)(elN,{})]})]})};let elD=(0,tt.Ay)(iO.m)(["display:flex;align-items:center;flex-direction:column;justify-content:center;",";"],tQ.A.Phone`
3988    align-items: flex-start;
3989  `),el$=tt.Ay.div(["padding:42px 0 40px;",";"],tQ.A.Phone`
3990    padding: 32px 0 36px;
3991  `),elO=tt.Ay.div(["width:100%;max-width:416px;",";"],tQ.A.Phone`
3992    max-width: 100%;
3993  `),elz=({onSkip:e,onBack:t,documentType:i,templateId:r})=>{let{i18n:n}=(0,e1.s)(),[o,a]=(0,R.useState)(!1),l=Uy()(i);(0,R.useEffect)(()=>{(0,N.xP)("visit_social_methods_sign_up_step"),requestAnimationFrame(()=>{a(!0)})},[]);let s=n.t("builder.sign_up.social_profile_title"),d=n.t(`builder.sign_up.social_profile_subtitle_${l}`);return(0,J.jsx)(el$,{children:(0,J.jsxs)(elD,{children:[(0,J.jsx)(elP,{children:s}),(0,J.jsx)(elJ,{children:d}),o&&(0,J.jsxs)(elO,{children:[(0,J.jsx)(elB,{templateId:r,documentType:i}),(0,J.jsxs)(elI,{justifyContent:"space-between",children:[(0,J.jsx)(i$.Ay,{theme:"ghost",onClick:t,children:n.t("builder.sign_up.back")}),(0,J.jsx)(i$.Ay,{onClick:e,children:n.t("builder.sign_up.skip")})]})]})]})})};elz.propTypes={onSkip:i9().func.isRequired,onBack:i9().func.isRequired,templateId:(r=i9().string.isRequired,(e,t,...i)=>null===e[t]?null:r(e,t,...i)),documentType:i9().string.isRequired,skipTemplatesTestEnabled:i9().bool||null};var elF=i(54890);let elH=tt.Ay.div(["",";font-weight:700;color:",";margin-bottom:12px;",""],td.Ay.XL,te.Jy.Blue50,tQ.A.Phone`
3994    text-align: left;
3995  `),elV=tt.Ay.div(["max-width:536px;margin-bottom:32px;text-align:center;",""],tQ.A.Phone`
3996    text-align: left;
3997    margin-bottom: 24px;
3998  `);td.Ay.Caption,te.Jy.Neutral50;let elU=({onBack:e,onContinue:t,firstName:i,lastName:r,firstNameError:n,lastNameError:o,marketingConsent:a,onChange:l,persistSignUpInfo:s,mediaQueries:d,documentType:c,signUpProcess:u,verifyMarketingConsentUserRegion:p,isNameSurnameValidating:h})=>{let{i18n:x}=(0,e1.s)(),[m,g]=(0,R.useState)(!1),{getHost:y}=(0,ca.Ay)(),f=(0,eU.wA)(),[b,_]=(0,R.useState)({firstName:"",lastName:"",marketing_consent:""});(0,R.useEffect)(()=>{(0,N.xP)("visit_introduction_sign_up_step"),p({abTestingStep:"name_step"}),requestAnimationFrame(()=>{g(!0)})},[y,d.isPhone,p]);let v=e=>{let{value:t}=e.target;-1===t.search(/(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])/g)?(s({type:c,[e.target.name]:"checkbox"===e.target.type?e.target.checked:t}),l(e),_({...b,[e.target.name]:""})):_({...b,[e.target.name]:x.t("builder.sign_up.emoji_error")})},j=async()=>
3998{if((0,N.xP)("submit_introduction_sign_up_info"),!i.trim().length||!r.trim().length){let e=x.t("builder.sign_up.field_is_required");_({firstName:i.trim().length?"":e,lastName:r.trim().length?"":e}),(0,N.xP)("see_introduction_sign_up_error");return}let e=await (({firstName:e,lastName:t})=>new Promise(i=>{f(G.o1.validateNameSurname({firstName:e,lastName:t,resolve:i}))}))({firstName:i,lastName:r});if(!e?.success){let t=e.errorCode;t&&"object"==typeof t&&(t.firstName?.length&&(b.firstName=x.t("builder.sign_up.invalid_field_value")),t.lastName?.length&&(b.lastName=x.t("builder.sign_up.invalid_field_value"))),(0,N.xP)("see_introduction_sign_up_error");return}t({firstName:i,lastName:r,marketingConsent:a})};return(0,J.jsx)(el$,{children:(0,J.jsxs)(elD,{children:[(0,J.jsx)(elH,{children:x.t("builder.sign_up.introduction_title")}),(0,J.jsx)(elV,{children:x.t("builder.sign_up.introduction_subtitle")}),m&&(0,J.jsx)(elO,{children:(0,J.jsxs)(elF.l,{onSubmit:j,onBackClick:e,isPending:h||u===eZ.Hp.loading,children:[(0,J.jsx)(elF.f,{children:(0,J.jsx)(re.A,{name:"firstName",label:x.t("builder.sign_up.first_name"),value:i,onChange:v,error:b.firstName||n,autoFocus:!d.isPhone,"data-testid":"first-name-input"})}),(0,J.jsx)(elF.f,{children:(0,J.jsx)(re.A,{name:"lastName",label:x.t("builder.sign_up.last_name"),value:r,onChange:v,error:b.lastName||o,"data-testid":"last-name-input"})})]})})]})})};elU.propTypes={onBack:i9().func.isRequired,onContinue:i9().func.isRequired,firstName:i9().string,lastName:i9().string,confirmEmail:i9().bool,persistSignUpInfo:i9().func,error:i9().bool,firstNameError:i9().string,lastNameError:i9().string,onChange:i9().func,mediaQueries:i9().object.isRequired,documentType:i9().string,signUpProcess:i9().string,marketingConsent:i9().bool,verifyMarketingConsentUserRegion:i9().func,isNameSurnameValidating:i9().bool};let elW={persistSignUpInfo:G.o1.persistSignUpInfo,verifyMarketingConsentUserRegion:G.o1.emailMarketingConsent};var elK=(0,eU.Ng)(e=>({firstName:e.signUp.signUpInfo.firstName,lastName:e.signUp.signUpInfo.lastName,confirmEmail:e.signUp.signUpInfo.confirm_email,signUpProcess:e.signUp.signUpProcess,marketingConsent:e.signUp.signUpInfo.marketingConsent,isNameSurnameValidating:e.signUp.isNameSurnameValidating}),elW)(eaL(elU)),elq=i(20127);let elG=tt.Ay.div(["",";font-weight:700;color:",";margin-bottom:12px;max-width:555px;text-align:center;",""],td.Ay.XL,te.Jy.Blue50,tQ.A.Phone`
3999    text-align: left;
4000    width: 100%;
4001  `),elZ=tt.Ay.div(["margin-bottom:32px;max-width:544px;text-align:center;",""],tQ.A.Phone`
4002    text-align: left;
4003    margin-bottom: 24px;
4004    max-width: 100%;
4005  `),elX=tt.Ay.div(["",";cursor:pointer;"],td.Ay.Caption),elQ=tt.Ay.span(["color:",";margin-right:4px;"],te.Jy.Neutral50),elY=tt.Ay.span(["display:inline-flex;align-items:center;color:",";& b{font-weight:600;}"],te.Jy.Blue50),el0=tt.Ay.div(["width:100%;display:flex;align-items:center;border:1px solid ",";border-radius:4px;padding:16px 24px;"],te.Jy.Neutral15),el1=tt.Ay.div(["width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:",";margin-right:16px;"],te.Jy.Amber40),el2=tt.Ay.div(["text-align:left;",";color:",";"],td.Ay.Caption,te.Jy.Neutral60),el3=tt.Ay.div(["position:relative;"]);class el5 extends R.Component{static propTypes={onBack:i9().func.isRequired,onContinue:i9().func.isRequired,emailErrorCode:i9().string,setEmailErrorCode:i9().func,persistSignUpInfo:i9().func,email:i9().string,confirmEmail:i9().bool,mediaQueries:i9().object.isRequired,setSuggestedEmail:i9().func,suggestedEmail:i9().string,validateEmail:i9().func,isEmailSuggested:i9().bool,isEmailValidating:i9().bool,signUpProcess:i9().string,documentType:i9().string,verifyMarketingConsentUserRegion:i9().func,isThankYouPageVisible:i9().bool.isRequired};static defaultProps={fieldsContent:{}};state={emailEmptyError:!1,show:!1,showThankYouBlock:!1};componentDidMount(){(0,N.xP)("visit_email_sign_up_step"),this.props.verifyMarketingConsentUserRegion({abTestingStep:"email_step"}),(0,N.xP)("see_marketing_consent",{website_host:window.location.host,device:this.props.mediaQueries.isPhone?"mobile":"desktop",step:"emailstep"}),requestAnimationFrame(()=>{this.setState({show:!0})})}get emailError(){let{emailErrorCode:e}=this.props;if(this.state.emailEmptyError)return i7.R.t("builder.sign_up.field_is_required");if(e){let t=`<a href='/app/auth/sign-in'>${i7.R.t("builder.sign_up.log_in")}</a>`;return"TAKEN"===e?i7.R.t("builder.sign_up.email_is_taken",{logInLink:t}):i7.R.t("builder.sign_up.invalid_email")}return""}get warningText(){let e=this.props.suggestedEmail.split("@"),t=`${e[0]}@`,i=e[1];return(0,J.jsxs)(elX,{onClick:this.handleSuggestionClick,children:[(0,J.jsx)(elQ,{children:`${i7.R.t("builder.sign_up.did_you_mean")}:`}),(0,J.jsxs)(elY,{children:[t,(0,J.jsx)("b",{children:i})]})]})}handleFieldChange=e=>{this.props.persistSignUpInfo({type:this.props.documentType,[e.target.name]:"checkbox"===e.target.type?e.target.checked:e.target.value}),"email"===e.target.name&&(this.setState({emailEmptyError:!1}),this.props.setEmailErrorCode(""),this.props.setSuggestedEmail(""))};handleContinueClick=()=>
4005{if(this.props.isThankYouPageVisible&&!this.state.showThankYouBlock){this.setState({showThankYouBlock:!0}),(0,N.xP)("saw_thankyou_signup");return}(0,N.xP)("submit_sign_up_email");let{email:e}=this.props;if(!e){(0,N.xP)("see_sign_up_email_error",{error:"empty_email"}),this.setState({emailEmptyError:!0});return}return this.props.confirmEmail&&(0,N.xP)("submit_marketing_consent",{website_host:window.location.host,device:this.props.mediaQueries.isPhone?"mobile":"desktop",step:"emailstep"}),this.props.validateEmail({email:e}).then(()=>{(0,N.xP)("send_sign_up_email"),this.props.onContinue()})};handleSuggestionClick=()=>{this.props.persistSignUpInfo({type:this.props.documentType,email:this.props.suggestedEmail}),this.props.setSuggestedEmail(""),(0,N.xP)("take_suggested_sign_up_email")};render(){let{onBack:e,email:t,confirmEmail:i,mediaQueries:r,suggestedEmail:n,isEmailSuggested:o,isEmailValidating:a,signUpProcess:l,isThankYouPageVisible:s}=this.props,d=n?this.warningText:"";return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(el$,{children:(0,J.jsxs)(elD,{children:[(0,J.jsx)(elG,{children:this.state.showThankYouBlock?i7.R.t("builder.sign_up.thank_you_title"):i7.R.t("builder.sign_up.contact_info_title")}),(0,J.jsx)(elZ,{children:this.state.showThankYouBlock?i7.R.t("builder.sign_up.thank_you_subtitle"):i7.R.t("builder.sign_up.contact_info_subtitle")}),this.state.show&&(0,J.jsx)(elO,{children:(0,J.jsxs)(elF.l,{onSubmit:this.handleContinueClick,onBackClick:e,submitButtonText:o?i7.R.t("builder.sign_up.confirm"):i7.R.t("builder.sign_up.continue"),isPending:a||l===eZ.Hp.loading,children:[!this.state.showThankYouBlock&&(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(elF.f,{style:{display:"flex",flexDirection:"column",gap:"32px"},children:[(0,J.jsx)(re.A,{name:"email",type:"email",label:i7.R.t("builder.sign_up.email"),value:t,onChange:this.handleFieldChange,error:this.emailError,warning:d,autoFocus:!r.isPhone,"data-testid":"email-input",errorDataTestId:"email-error"}),(0,J.jsx)(eoC.A,{label:i7.R.t("builder.sign_up.consent_checkbox_label"),checked:i,onChange:this.handleFieldChange,name:"confirm_email"})]})}),!this.state.showThankYouBlock&&n&&(0,J.jsxs)(el0,{children:[(0,J.jsx)(el1,{children:(0,J.jsx)(tP.EK.WarningCircle,{})}),(0,J.jsx)(el2,{children:i7.R.t("builder.sign_up.you_made_typo")})]}),s&&this.state.showThankYouBlock&&(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(elF.f,{children:(0,J.jsx)(eoC.A,{label:i7.R.t("builder.sign_up.consent_checkbox_label"),checked:i,onChange:this.handleFieldChange,name:"confirm_email"})})}),(0,J.jsx)(el3,{children:(0,J.jsx)(ean,{})})]})})]})})})}}var el4=(0,eU.Ng)(e=>({emailErrorCode:e.signUp.emailErrorCode,email:e.signUp.signUpInfo.email,confirmEmail:e.signUp.signUpInfo.confirm_email,suggestedEmail:e.signUp.suggestedEmail,isEmailSuggested:e.signUp.isEmailSuggested,isEmailValidating:e.signUp.isEmailValidating,signUpProcess:e.signUp.signUpProcess,isThankYouPageVisible:e.signUp.isThankYouPageVisible}),function(e){return{validateEmail:(0,elq.I)(e,G.o1.validateEmail),setEmailErrorCode:t=>e(G.o1.setEmailErrorCode(t)),persistSignUpInfo:t=>e(G.o1.persistSignUpInfo(t)),setSuggestedEmail:t=>e(G.o1.setSuggestedEmail(t)),verifyMarketingConsentUserRegion:t=>e(G.o1.emailMarketingConsent(t))}})(eaL(el5));let el6=tt.Ay.div(({isVisible:e,whitelabeled:t=!1})=>(0,tt.AH)(["position:fixed;z-index:2;left:0;bottom:24px;width:calc(50% - 280px);max-width:321px;height:367px;pointer-events:none;visibility:",";opacity:",";transition:opacity 0.4s,visibility 0.4s;transition-delay:",";",";",";",";"],e?"visible":"hidden",+!!e,e?"0.2s":0,tQ.A.Tablet`
4006        ${t?"position: relative":""};
4007        width: 100%;
4008        max-width: 100%;
4009        height: 236px;
4010        bottom: 60px;
4011      `,tQ.A.Phone`
4012        width: 100%;
4013        max-width: 100%;
4014        height: 236px;
4015        bottom: 70px;
4016      `,tQ.A.IphoneSE`
4017        display: none;
4018      `)),el8=tt.Ay.div(["position:absolute;left:0;top:0;width:100%;height:100%;background-repeat:no-repeat;background-size:contain;background-position:bottom right;opacity:",";transition:opacity 0.2s;",";",";"],e=>+!!e.isVisible,tQ.A.Tablet`
4019    margin: 0 50%;
4020    max-width: 200px;
4021    left: -100px;
4022  `,tQ.A.Phone`
4023    margin: 0 50%;
4024    max-width: 138px;
4025    left: -69px;
4026  `),el9=(0,tt.Ay)(el8)(["background-image:url(",");"],i(80622)),el7=(0,tt.Ay)(el8)(["background-image:url(",");"],i(99397)),ese=(0,tt.Ay)(el8)(["background-image:url(",");"],i(65532)),est=ap()(eaC,e=>e);var esi=({currentStepName:e,whitelabeled:t=!1})=>{let i;return(0,J.jsxs)(el6,{isVisible:(i=eaC.socialProfile,est.indexOf(e)>=est.indexOf(i)),whitelabeled:t,children:[(0,J.jsx)(el9,{isVisible:eaC.socialProfile===e}),(0,J.jsx)(el7,{isVisible:eaC.introduction===e}),(0,J.jsx)(ese,{isVisible:eaC.contactInfo===e})]})};let esr=e=>t=>{let i=(0,L.zy)(),r=(0,L.g)();return(0,J.jsx)(e,{...t,location:i,params:r})};var esn=i(94112),eso=i.n(esn);let esa=tt.Ay.div(["display:flex;gap:16px;margin:24px 0px 28px;"]),esl=tt.Ay.div(["flex:1;height:1px;background:#e1e5e9;margin-top:auto;margin-bottom:auto;"]),ess=tt.Ay.div(["text-transform:capitalize;font-weight:400;font-size:16px;leading-trim:none;line-height:20px;letter-spacing:0%;color:",";"],te.Jy.Neutral50),esd=tt.Ay.div(["margin:auto 0;
4026padding:42px 0 30px;",";"],tQ.A.Phone`
4027    padding: 32px 0 26px;
4028  `),esc=tt.Ay.div(({whitelabeled:e})=>(0,tt.AH)(["display:flex;justify-content:space-between;margin-top:",";font-size:16px;line-height:20px;color:",";text-align:center;"," & a{color:",";}& a:hover{color:",";}",";"],e?"24px":"0px",te.Jy.Neutral60,e?"order: 3;":"",te.Jy.Blue50,te.Jy.Blue60,tQ.A.Phone`
4029      flex-direction: column-reverse;
4030      gap: 12px;
4031    `)),esu=tt.Ay.div(["color:",";text-align:center;font-family:'TT Talent';font-size:43px;font-style:normal;font-weight:400;line-height:43px;margin-bottom:12px;"],te.Jy.Neutral90),esp=tt.Ay.div(["color:",";text-align:center;font-family:'TT Talent';font-size:19px;font-style:normal;font-weight:400;line-height:24px;margin-bottom:32px;"],te.Jy.Neutral50),esh=(0,tt.Ay)(elO)(({whitelabeled:e})=>(0,tt.AH)(["",""],e?"flex-direction: column; display: flex;":"")),esx=tt.Ay.div(({whitelabeled:e})=>(0,tt.AH)(["display:flex;",""],e?"order: 1; flex-direction: column-reverse;":"")),esm=tt.Ay.a(["color:",";text-decoration:underline;"],te.Jy.Blue50),esg=/(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])/g;var esy=(0,eU.Ng)(e=>({emailErrorCode:e.signUp.emailErrorCode,email:e.signUp.signUpInfo.email,firstName:e.signUp.signUpInfo.firstName,lastName:e.signUp.signUpInfo.lastName,confirmEmail:e.signUp.signUpInfo.confirm_email,suggestedEmail:e.signUp.suggestedEmail,isEmailSuggested:e.signUp.isEmailSuggested,isEmailValidating:e.signUp.isEmailValidating,signUpProcess:e.signUp.signUpProcess,isThankYouPageVisible:e.signUp.isThankYouPageVisible}),function(e){return{validateEmail:(0,elq.I)(e,G.o1.validateEmail),setEmailErrorCode:t=>e(G.o1.setEmailErrorCode(t)),persistSignUpInfo:t=>e(G.o1.persistSignUpInfo(t)),setSuggestedEmail:t=>e(G.o1.setSuggestedEmail(t))}})(eaL(e=>{let t,i,r,n,o=(0,L.zy)(),a=(0,e0.U)(X.l1.signUp),{disableFacebookLogin:l,disableGoogleLogin:s,disableLinkedinLogin:d}=a?.features??{disableFacebookLogin:!1,disableGoogleLogin:!1,disableLinkedinLogin:!1},{signUpTitle:c,signUpSubtitle:u,whitelabeled:p}=a?.settings||{whitelabeled:!1},[h,x]=(0,R.useState)({showThankYouBlock:!1,emailEmptyError:!1}),[m,g]=(0,R.useState)({firstName:"",lastName:""}),{email:y,confirmEmail:f,mediaQueries:b,suggestedEmail:_,isEmailSuggested:v,isEmailValidating:j,signUpProcess:A,isThankYouPageVisible:C,documentType:w,emailErrorCode:k,setSuggestedEmail:S,setEmailErrorCode:T,persistSignUpInfo:P,validateEmail:E,onContinue:I,templateId:M,firstName:B,lastName:D,firstNameError:$,lastNameError:O}=e,z=_?(t=_.split("@"),i=`${t[0]}@`,r=t[1],(0,J.jsxs)(elX,{onClick:()=>{P({type:w,email:_}),S(""),(0,N.xP)("take_suggested_sign_up_email")},children:[(0,J.jsx)(elQ,{children:`${eso().t("builder.sign_up.did_you_mean")}:`}),(0,J.jsxs)(elY,{children:[i,(0,J.jsx)("b",{children:r})]})]})):"",F=()=>{if(C&&!h.showThankYouBlock){x({...h,showThankYouBlock:!0}),(0,N.xP)("saw_thankyou_signup");return}if((0,N.xP)("submit_sign_up_email"),!y){(0,N.xP)("see_sign_up_email_error",{error:"empty_email"}),x({...h,emailEmptyError:!0});return}return f&&(0,N.xP)("submit_marketing_consent",{website_host:window.location.host,device:b.isPhone?"mobile":"desktop",step:"emailstep"}),E({email:y}).then(()=>{(0,N.xP)("send_sign_up_email"),I()})},H=e=>{P({type:w,[e.target.name]:"checkbox"===e.target.type?e.target.checked:e.target.value}),"email"===e.target.name&&(x({...h,emailEmptyError:!1}),T(""),S(""))},V=e=>{let{value:t}=e.target;-1===t.search(esg)?(P({type:w,[e.target.name]:"checkbox"===e.target.type?e.target.checked:t}),H(e),g({...m,[e.target.name]:""})):g({...m,[e.target.name]:eso().t("builder.sign_up.emoji_error")})};return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(esd,{children:(0,J.jsxs)(elD,{children:[p?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(esu,{children:c??eso().t("builder.sign_up.create_my_account")}
4031),u&&(0,J.jsx)(esp,{children:u})]}):(0,J.jsx)(elG,{children:eso().t("builder.sign_up.create_my_account")}),(0,J.jsxs)(esh,{whitelabeled:p,children:[(0,J.jsxs)(elF.l,{showButtons:!1,style:{order:p?2:"unset"},onSubmit:F,submitButtonText:v?eso().t("builder.sign_up.confirm"):eso().t("builder.sign_up.continue"),singleSignFlow:!0,isPending:j||A===eZ.Hp.loading,children:[!h.showThankYouBlock&&(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(elF.f,{style:{display:"flex",flexDirection:"column",gap:"32px"},children:[p&&(0,J.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",gap:"16px"},children:[(0,J.jsx)(re.A,{name:"firstName",label:eso().t("builder.sign_up.first_name"),value:B,onChange:V,error:m.firstName||$,autoFocus:!b.isPhone,"data-testid":"first-name-input",type:"text",errorDataTestId:"first_name-error"}),(0,J.jsx)(re.A,{name:"lastName",label:eso().t("builder.sign_up.last_name"),value:D,onChange:V,error:m.lastName||O,type:"text",autoFocus:!b.isPhone,"data-testid":"last-name-input",errorDataTestId:"last_name-error"})]}),(0,J.jsx)(re.A,{name:"email",type:"email",label:eso().t("builder.sign_up.email"),value:y,onChange:H,warning:z,error:(()=>{if(h.emailEmptyError)return eso().t("builder.sign_up.field_is_required");if(k){let e=`<a href='/app/auth/sign-in'>${eso().t("builder.sign_up.log_in")}</a>`;return"TAKEN"===k?eso().t("builder.sign_up.email_is_taken",{logInLink:e}):eso().t("builder.sign_up.invalid_email")}return""})(),autoFocus:!b.isPhone,"data-testid":"email-input",errorDataTestId:"email-error"}),(0,J.jsx)(eoC.A,{label:(n=window.location.origin,(0,J.jsxs)("p",{children:[eso().t("builder.sign_up.consent_checkbox_label_v2")," ",(0,J.jsx)(esm,{href:`${n}/privacy`,target:"_blank",rel:"noopener noreferrer",children:eso().t("builder.sign_up.privacy_policy")}),")."]})),checked:f,onChange:H,name:"confirm_email"})]})}),!h.showThankYouBlock&&_&&(0,J.jsxs)(el0,{children:[(0,J.jsx)(el1,{children:(0,J.jsx)(tP.EK.WarningCircle,{})}),(0,J.jsx)(el2,{children:eso().t("builder.sign_up.you_made_typo")})]}),C&&h.showThankYouBlock&&(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(elF.f,{children:(0,J.jsx)(eoC.A,{label:eso().t("builder.sign_up.consent_checkbox_label"),checked:f,onChange:H,name:"confirm_email"})})}),(0,J.jsx)(el3,{children:(0,J.jsx)(ean,{})})]}),(!l||!s||!d)&&(0,J.jsxs)(esx,{whitelabeled:p,children:[(0,J.jsxs)(esa,{children:[(0,J.jsx)(esl,{}),(0,J.jsx)(ess,{children:eso().t("builder.sign_up.or")}),(0,J.jsx)(esl,{})]}),(0,J.jsx)(elB,{templateId:M,documentType:w,hasSpacing:!1,singleSignFlow:!0,availableSocialNetworks:{google:!s,facebook:!l,linkedin:!d}})]}),(0,J.jsxs)(esc,{whitelabeled:p,children:[(0,J.jsxs)("div",{style:{margin:"auto 0"},children:[eso().t("builder.sign_up.already_have_account")," — ",(0,J.jsx)(i3.N_,{to:`/auth/sign-in${o.search}`,children:eso().t("builder.sign_up.sign_in")})]}),p&&(0,J.jsx)(i$.Ay,{isDisabled:j||A===eZ.Hp.loading,isLoading:j||A===eZ.Hp.loading,type:"submit",onClick:F,children:eso().t("builder.sign_in.continue")})]})]})]})})})}));class esf extends R.Component{static propTypes={resumeTemplates:i9().array.isRequired,coverLetterTemplates:i9().array.isRequired,heroTemplateName:i9().string,signUp:i9().func.isRequired,location:i9().object,persistSignUpInfo:i9().func,loadSignUpInfo:i9().func,getSignUpPayload:i9().func,signUpInfo:i9().object,config:i9().object.isRequired,documentType:i9().oneOf(Object.values(eZ.VC)),locale:i9().string,resumeTemplateCategories:i9().array.isRequired,coverLetterTemplateCategories:i9().array.isRequired};static contextType=dI.j;constructor(e){super(e),this._isMounted=!1,this.pendingIntroRedirect=!1,this.urlParams=dF.parse(this.props.location.search),this.regionPrefix=this.urlParams.current_region_prefix||"",this.urlParams.mcp_resume_id||sessionStorage.removeItem(eZ.xZ);const t=eal()(e,"config.socialProfile");e.loadSignUpInfo({type:this.props.documentType,socialProfile:t}),this.singlePageSignUp=this.props.config.features.singlePageSignUp,this.rtpAtpUnhideCtaAB=this.props.config.features.rtpAtpUnhideCta,this.atpStickyCategories=this.props.config.features.atpStickyCategories,this.settings=this.props.config.settings||{};let i=(["v1","v2"].includes(this.singlePageSignUp)||this.settings.whitelabeled)&&[eaC.templates,eaC.onePageSignUp]||void 0;this.stepManager=new eaw({steps:i});
4031const r=!!this.urlParams.mcp_resume_id&&this.props.documentType===eZ.VC.coverLetter;this.state={location:e.location,movingDirection:"forward",introductionErrors:{firstName:"",lastName:""},contactInfoErrors:{email:""},componentWasMounted:!1,isMcpLoading:r},(0,N._m)("Sign up","Start Funnel")}navigateWithScope=(e,t)=>{let i=this.props.documentType===eZ.VC.coverLetter?"cover-letter":"resume";(0,dM.o)(`/create-${i}/${e}`,t)};componentDidMount(){this._isMounted=!0,this.props.getSignUpPayload();let e=this.stepManager.getStepByUrl(window.location.pathname),t=eal()(this.props,"config.socialProfile");if(this.urlParams.template){let e=this.urlParams.template||this.props.heroTemplateName,t=!!this.urlParams.example_id;this.handleChooseTemplate(e,{replace:!0},t)}t&&e!==eaC.introduction&&this.navigateWithScope(eaC.introduction),this.setState({componentWasMounted:!0});let i=document.getElementById("builder-application");this.atpLayoutVariant=i?.dataset?.atp_layout??"v0",this.prefillNameFromMcpDocument()}componentWillUnmount(){this._isMounted=!1}componentDidUpdate(e){this.pendingIntroRedirect&&this.props.location!==e.location&&this.props.location.pathname.endsWith(`/${eaC.introduction}`)&&(this.pendingIntroRedirect=!1,this.setState({isMcpLoading:!1}))}prefillNameFromMcpDocument=async()=>{let e=this.urlParams.mcp_resume_id;try{if(!e||this.props.documentType!==eZ.VC.coverLetter)return;let t=await eo_(e,6e3);if(!this._isMounted||!t||"cover_letter"!==t.type)return;let{firstName:i,lastName:r}=t,n=!!i&&!!r;(i||r)&&this.props.persistSignUpInfo({type:this.props.documentType,...i?{firstName:i}:{},...r?{lastName:r}:{}}),n||(this.pendingIntroRedirect=!0,this.navigateWithScope(eaC.introduction,{replace:!0}))}catch(e){"AbortError"!==e.name&&E.A.log(e)}finally{this._isMounted&&!this.pendingIntroRedirect&&this.setState({isMcpLoading:!1})}};static getDerivedStateFromProps(e,t){if(e.location!==t.location){let i=new eaw,r=i.getStepByUrl(e.location.pathname),n=i.getStepByUrl(t.location.pathname),o=i.getDirection(n,r);return{location:e.location,movingDirection:o}}return null}get currentNavbarIndex(){let e=this.props.location.pathname,t=this.stepManager.getStepByUrl(e);return+!![eaC.socialProfile,eaC.introduction,eaC.contactInfo].includes(t)}handleSignUpForwardRedirectUrl=()=>{let e=this.urlParams.redirectUrl;return e||("v2"===this.singlePageSignUp?"/app/user-favourites":"")};handleChooseTemplate=(e,t,i=!1)=>{this.props.persistSignUpInfo({type:this.props.documentType,template:e}),this.checkIfAbTestExistsOnTemplates()||(this.props.config?.features.rbpStepSignup&&!i&&this.props.documentType===eZ.VC.resume?(this.context.resetResume({template:e}),(0,dM.o)("/guest-builder")):this.moveToNextPageOrFinish(eaC.templates,t))};handleSocialProfileSkip=()=>{this.moveToNextPageOrFinish(eaC.socialProfile),(0,N.xP)("skip_social_sign_up")};handleIntroductionContinue=()=>{this.props.persistSignUpInfo({type:this.props.documentType}),this.moveToNextPageOrFinish(eaC.introduction)};handleContactInfoContinue=()=>{this.moveToNextPageOrFinish(eaC.contactInfo)};handleBackClick=e=>{let t=this.stepManager.previous(e);e!==t&&(0,dM.o)(-1)};handleIntroductionChange=e=>{this.setState({introductionErrors:{...this.state.introductionErrors,[e.target.name]:""}})};handleContactInfoChange=e=>{this.setState({contactInfoErrors:{...this.state.introductionErrors,[e.target.name]:""}})};checkIfAbTestExistsOnTemplates=()=>
4031{if(["v1","v2"].includes(this.singlePageSignUp))return this.moveToNextPageOrFinish(eaC.templates),!0};handleSingleSignUp=async()=>{this.props.persistSignUpInfo({type:this.props.documentType}),this.checkFirstAndLastName()&&this.checkEmailInformation()};checkEmailInformation=async()=>{let{signUp:e,signUpInfo:t}=this.props,i=!t.email.trim().length;if(i){this.setState({contactInfoErrors:{email:i?i7.R.t("builder.sign_up.field_is_required"):""}}),this.navigateWithScope(eaC.contactInfo);return}try{let{recaptchaToken:i,recaptchaAction:r}=await eoP();e({type:this.props.documentType,isSuperApp:this.props.config?.features?.superApp,...t,recaptchaToken:i,recaptchaAction:r,forwardRedirectUrl:this.handleSignUpForwardRedirectUrl()})}catch(e){E.A.log(e)}};checkFirstAndLastName=()=>{let{signUpInfo:e}=this.props,t=!e.firstName.trim().length,i=!e.lastName.trim().length;if(t||i){let e=i7.R.t("builder.sign_up.field_is_required");return this.setState({introductionErrors:{firstName:t?e:"",lastName:i?e:""}}),!1}return!0};moveToNextPageOrFinish=async(e,t)=>{let i=this.stepManager.next(e);if(i!==e)this.navigateWithScope(i,t);else{if(!this.checkFirstAndLastName())return void this.navigateWithScope(eaC.introduction);this.checkEmailInformation()}};handleSkipTemplate=()=>{(0,N.xP)("click_skip_template_selection",{label:"signup"}),this.handleChooseTemplate("london")};render(){if(this.state.isMcpLoading)return(0,J.jsx)(du.F6,{});let{movingDirection:e}=this.state,{resumeTemplates:t,coverLetterTemplates:i,location:r,heroTemplateName:n,documentType:o,locale:a,resumeTemplateCategories:l,coverLetterTemplateCategories:s}=this.props,{template:d}=this.props.signUpInfo,c=d||n,u="resume"===o,p=this.stepManager.getStepByUrl(r.pathname),h=u?l:s,x=u&&this.props.config?.features.rbpStepSignup,m=p!==eaC.templates&&x,g=[i7.R.t("builder.sign_up.choose_template"),i7.R.t("builder.sign_up.enter_details"),u?i7.R.t("builder.sign_up.download_resume"):i7.R.t("builder.sign_up.download_cover_letter")],y=u?t:i,f=y;return f="ja-JP"===a?y.filter(e=>!Wv.O9.includes(e.id)):y.filter(e=>!e.isJapanese),(0,J.jsxs)(eaJ,{onClose:this.handleExitClick,steps:g,currentTemplate:f.find(e=>e.id===d),currentStepName:p,currentStepNumber:this.currentNavbarIndex,handleSkipButton:this.handleSkipTemplate,regionPrefix:this.regionPrefix,isStepperDisabled:!m,isCopyrightDisabled:x,singlePageSignUp:this.singlePageSignUp,children:[(0,J.jsxs)(eac,{direction:e,children:[(0,J.jsx)(L.qh,{path:`/${eaC.templates}`,element:(0,J.jsx)(elT,{recommended:n,templates:f,currentTemplate:d,onChoose:this.handleChooseTemplate,documentType:o,categories:h,rtpAtpUnhideCtaAB:this.rtpAtpUnhideCtaAB,atpStickyCategories:"v1"===this.atpStickyCategories})}),(0,J.jsx)(L.qh,{path:`/${eaC.socialProfile}`,element:(0,J.jsx)(elz,{onSkip:this.handleSocialProfileSkip,onBack:()=>this.handleBackClick(eaC.socialProfile),documentType:o,templateId:c})}),(0,J.jsx)(L.qh,{path:`/${eaC.introduction}`,element:(0,J.jsx)(elK,{onBack:()=>this.handleBackClick(eaC.introduction),onContinue:this.handleIntroductionContinue,firstNameError:this.state.introductionErrors.firstName,lastNameError:this.state.introductionErrors.lastName,onChange:this.handleIntroductionChange,documentType:this.props.documentType,templateId:c})}),(0,J.jsx)(L.qh,{path:`/${eaC.contactInfo}`,element:(0,J.jsx)(el4,{onBack:()=>this.handleBackClick(eaC.contactInfo),onContinue:this.handleContactInfoContinue,documentType:o,onChange:this.handleContactInfoChange,outsideEmailError:this.state.contactInfoErrors.email,templateId:c})}),(0,J.jsx)(L.qh,{path:`/${eaC.onePageSignUp}`,element:(0,J.jsx)(esy,{onBack:()=>this.handleBackClick(eaC.contactInfo),onContinue:()=>this.handleSingleSignUp(),documentType:o,onChange:this.handleContactInfoChange,outsideEmailError:this.state.contactInfoErrors.email,templateId:c,firstNameError:this.state.introductionErrors.firstName,lastNameError:this.state.introductionErrors.lastName})}),(0,J.jsx)(L.qh,{path:"*",element:(0,J.jsx)(elT,{recommended:n,templates:f,currentTemplate:d,onChoose:this.handleChooseTemplate,documentType:o,categories:h,rtpAtpUnhideCtaAB:this.rtpAtpUnhideCtaAB,atpStickyCategories:"v1"===this.atpStickyCategories})})]}),(0,J.jsx)(L.BV,{children:this.state.componentWasMounted&&(0,J.jsx)(L.qh,{path:"",element:(0,J.jsx)(L.C5,{replace:!0,to:"templates"})})}),(0,J.jsx)(esi,{currentStepName:p,whitelabeled:this.settings.whitelabeled})]})}}let esb={signUp:G.o1.signUpRequest,persistSignUpInfo:G.o1.persistSignUpInfo,loadSignUpInfo:G.o1.loadSignUpInfo,getSignUpPayload:G.o1.getSignUpPayload};var es_=(0,eU.Ng)(e=>({config:X.Tp.config(e,X.l1.signUp),resumeTemplates:e.signUp.resumeTemplates||[],coverLetterTemplates:e.signUp.coverLetterTemplates||[],resumeTemplateCategories:e.signUp.resumeTemplateCategories,coverLetterTemplateCategories:e.signUp.coverLetterTemplateCategories,heroTemplateName:e.signUp.heroTemplateName,signUpInfo:e.signUp.signUpInfo,locale:e.application.configs.country.locale}),esb)(esr(esf));let esv=tt.Ay.div(["position:relative;display:flex;flex-direction:column;min-height:100vh;"]),esj=tt.Ay.div(["display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;flex-shrink:1;padding:0 32px;height:80px;",";",";"],tQ.$.Tablet`
4032    height: 72px;
4033    padding: 0 20px;
4034  `,tQ.$.Phone`
4035    height: 64px;
4036  `),esA=(0,tt.Ay)(sc.g)(["cursor:pointer;"]),esC=tt.Ay.button(["display:flex;color:",";padding:0;margin:0;background:none;border:none;cursor:pointer;outline:none;&:hover,&:focus-visible{color:",";}"],te.Jy.Neutral40,te.Jy.Blue50),esw=tt.Ay.div(["display:flex;flex-direction:column;flex-grow:1;"]),esk=({onLogoClick:e=()=>(0,dM.o)("/"),onCloseClick:t,controlsHidden:i=!1,children:r,...n})=>(0,J.jsxs)(esv,{...n,children:[(0,J.jsxs)(esj,{children:[!i&&(0,J.jsx)(esA,{onClick:e}),!i&&t&&(0,J.jsx)(esC,{"aria-label":"Close",onClick:()=>{(0,N.xP)("click_exit_button",{location:"sign_in_layout"}),t&&t()},children:(0,J.jsx)(tP.qJ.CloseLarge,{})})]}),(0,J.jsx)(esw,{children:r})]}),esS=(0,tt.Ay)(iO.m)(["display:flex;flex-direction:column;justify-content:center;flex-grow:1;padding-top:40px;padding-bottom:120px;",";",";"],tQ.$.Tablet`
4037    padding-bottom: 80px;
4038  `,tQ.$.Phone`
4039    padding-top: 8px;
4040    padding-bottom: 40px;
4041  `),esT=({children:e,...t})=>{let[i]=(0,ds.p)("current_region_prefix"),r=(0,R.useCallback)(()=>{window.location.href=`/${i??""}`},[i]);return(0,J.jsx)(esk,{onLogoClick:r,onCloseClick:r,...t,children:(0,J.jsx)(esS,{children:e})})},esP=tt.Ay.div(["width:100%;max-width:416px;margin:0 auto;"]),esJ=tt.Ay.div(["margin-bottom:40px;text-align:center;",""],tQ.A.Phone`
4042    margin-bottom: 32px;
4043  `),esE=tt.Ay.div(["",";",";margin-bottom:16px;"],td.o5.XL,td.BO.DemiBold),esR=tt.Ay.div(["color:",";"],te.Jy.Neutral50),esL=({title:e,description:t,children:i})=>(0,J.jsxs)(esP,{children:[(0,J.jsxs)(esJ,{children:[(0,J.jsx)(esE,{children:e}),t&&(0,J.jsx)(esR,{children:t})]}),i]});esL.propTypes={title:i9().string.isRequired,description:i9().string,children:i9().any};let esN=tt.Ay.div(["text-align:center;"]),esI=tt.Ay.img(["display:block;max-width:100%;margin:0 auto 32px;object-fit:contain;"]),esM=tt.Ay.div(["display:flex;width:100%;justify-content:center;"]),esB=tt.Ay.div(["",";margin-bottom:12px;"],td.Ay.XL),esD=tt.Ay.div(["max-width:600px;margin:0 auto;& a{color:",";}& a:hover{color:",";}"],te.Jy.Blue50,te.Jy.Blue70),es$=({image:e,title:t})=>e?(0,J.jsx)(esM,{children:(0,J.jsx)(esI,{src:e,alt:t,width:392,height:302})}):null,esO=({image:e,title:t,children:i})=>(0,J.jsxs)(esN,{children:[(0,J.jsx)(es$,{image:e,title:t}),(0,J.jsx)(esB,{children:t}),(0,J.jsx)(esD,{children:i})]});esO.propTypes={image:i9().string,title:i9().string.isRequired,children:i9().any},es$.propTypes={image:i9().string,title:i9().string};var esz=i.p+"media/savedd083a2b9ea605a2f.svg";class esF extends R.Component{state={password:"",confirmPassword:"",summitError:null};static propTypes={save:i9().func.isRequired,token:i9().string.isRequired,error:i9().string,isSaving:i9().bool,isSaved:i9().bool};componentDidUpdate(e){let{isSaved:t}=this.props;t&&t!==e.isSaved&&setTimeout(()=>(0,dM.o)(""),3e3)}handleInputChange=e=>{let{name:t,value:i}=e.target;this.setState({[t]:i})};handleSubmit=()=>{let{password:e,confirmPassword:t}=this.state,{token:i}=this.props;if(e){if(e!==t)return this.setState({submitError:i7.R.t("builder.create_password.password_doesnt_match")});this.setState({submitError:null}),this.props.save({token:i,password:e})}};render(){let{password:e,confirmPassword:t,submitError:i}=this.state,{error:r,isSaved:n,isSaving:o}=this.props;return(0,J.jsxs)(esT,{children:[!n&&(0,J.jsx)(esL,{title:i7.R.t("builder.create_password.title"),description:i7.R.t("builder.create_password.description"),children:(0,J.jsxs)(elF.l,{onSubmit:this.handleSubmit,isDisabled:o||0===e.length,children:[(0,J.jsx)(elF.f,{children:(0,J.jsx)(re.A,{type:"password",name:"password",label:i7.R.t("builder.create_password.new_password_label"),value:e,onChange:this.handleInputChange})}),(0,J.jsx)(elF.f,{children:(0,J.jsx)(re.A,{type:"password",name:"confirmPassword",label:i7.R.t("builder.create_password.confirm_password_label"),value:t,onChange:this.handleInputChange,error:i||r})})]})}),n&&(0,J.jsxs)(esO,{image:esz,title:i7.R.t("builder.create_password.new_password_saved"),children:[i7.R.t("builder.create_password.auto_redirected"),(0,J.jsx)("br",{}),i7.R.t("builder.create_password.if_not")," ",(0,J.jsx)("a",{href:"/app",children:i7.R.t("builder.create_password.click_link")})]})]})}}var esH=esr(esF);let esV={save:q.o1.savePasswordRequest};var esU=(0,eU.Ng)(e=>({error:e.signIn.passwordSavingError,isSaving:e.signIn.isPasswordSaving,isSaved:e.signIn.isPasswordSaved}),esV)(e=>{let{token:t}=(0,L.g)();return(0,J.jsx)(esH,{token:t,...e})});let esW={facebook:"#1371f0",linkedin:"#2867b2",google:"#db4437"},esK={facebook:"#1163d3",linkedin:"#225695",google:"#c53d32"},esq=tt.Ay.a(["position:relative;display:block;width:100%;padding:12px 10px 12px 30px;",";border-radius:4px;border:1px solid ",";background-color:",";color:",";",";font-weight:600;text-align:center;cursor:pointer;outline:none;
4043transition:background-color 0.2s,border-color 0.2s,color 0.2s;"," &:hover,&:focus-visible{border-color:",";background-color:",";color:",";}"],e=>"skip"===e.network&&"padding-left: 10px;",e=>esW[e.network]||te.Jy.Neutral20,e=>esW[e.network]||te.Jy.White,e=>"email"!==e.network&&"skip"!==e.network?te.Jy.White:te.Jy.Neutral90,td.Ay.ButtonM,tQ.A.Phone`
4044    padding-left: 10px;
4045  `,e=>esK[e.network]||te.Jy.Blue50,e=>esK[e.network]||te.Jy.White,e=>"email"!==e.network&&"skip"!==e.network?te.Jy.White:te.Jy.Blue50),esG=tt.Ay.span(["position:absolute;left:16px;top:50%;margin-top:-12px;"," & svg{display:block;}& path{fill:",";}"],tQ.A.Phone`
4046    display: none;
4047  `,e=>"email"!==e.network?te.Jy.White:te.Jy.Blue50),esZ=({network:e})=>{switch(e){case"facebook":return(0,J.jsx)(tP.Ay.Facebook,{});case"linkedin":return(0,J.jsx)(tP.Ay.Linkedin,{});case"google":return(0,J.jsx)(tP.Ay.Google,{});case"email":return(0,J.jsx)(tP.Ay.Mail,{});default:return null}};esZ.propTypes={network:i9().string};let esX=({network:e="email",onClick:t=()=>{},children:i,href:r})=>(0,J.jsxs)(esq,{network:e,onClick:()=>t(e),...r?{href:r}:{as:"button"},children:[(0,J.jsx)(esG,{network:e,children:(0,J.jsx)(esZ,{network:e})}),i]});esX.propTypes={href:i9().string,onClick:i9().func,network:i9().string,children:i9().any};let esQ=tt.Ay.div(["display:grid;grid-gap:16px;grid-template-columns:repeat(2,1fr);"]),esY=tt.Ay.div(["",""],({$countButtons:e})=>1===e&&(0,tt.AH)(["display:flex;flex-direction:column;align-items:center;","{display:flex;width:200px;}"],esQ)),es0=tt.Ay.div(["margin-top:24px;color:",";text-align:center;& a{color:",";}& a:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Blue50,te.Jy.Blue60),es1=({onButtonClick:e=()=>{},templateVariant:t="v0"})=>{let[i]=(0,i3.ok)(),r=i.has("enterprise"),{i18n:n}=(0,e1.s)(),o=(0,e0.U)(X.l1.signUp),a=(0,L.zy)(),l=o?.features.superApp?"/create-account":"/create-resume";o?.features.superApp||"v0"===t||(l="/register-resume");let s=[{href:"/auth/facebook?",network:"facebook",disabled:o.features?.disableFacebookLogin||r},{href:"/auth/google_oauth2?",network:"google",disabled:o.features?.disableGoogleLogin||r},{href:"/auth/linkedin?",network:"linkedin",disabled:o.features?.disableLinkedinLogin||r},{disabled:!1,network:"email"}].filter(e=>!e.disabled);return(0,J.jsxs)(esY,{$countButtons:s.length,children:[(0,J.jsx)(esQ,{children:s.map(t=>(0,J.jsx)(esX,{onClick:e,network:t.network,href:t.href,children:n.t(`builder.sign_in.methods.${t.network}`)},t.network))}),!o.features?.disableSignUp&&(0,J.jsxs)(es0,{children:[n.t("builder.sign_in.im_not_registered")," — ",(0,J.jsx)(i3.N_,{to:l+a.search,children:n.t("builder.sign_in.sign_up")})]})]})};es1.propTypes={onButtonClick:i9().func,templateVariant:i9().oneOfType([i9().string,i9().bool])};let es2=tt.Ay.div(["text-align:center;max-width:360px;margin:32px auto 0;",";color:",";& a,& span{color:",";cursor:pointer;&:hover{color:",";}}"],td.Ay.Caption,te.Jy.Neutral50,te.Jy.Blue50,te.Jy.Blue70),es3=tt.Ay.div(["margin-top:24px;text-align:center;"]),es5=tt.Ay.form(["max-width:416px;margin:24px auto 0;text-align:center;"]),es4=tt.Ay.div(["margin-top:12px;margin-bottom:-24px;",";color:",";& a,& span{color:",";cursor:pointer;&:hover{color:",";}}"],td.Ay.Caption,te.Jy.Neutral50,te.Jy.Blue50,te.Jy.Blue70),es6=tt.Ay.div(["margin:0 auto;width:64px;height:64px;border-radius:32px;background-color:",";display:flex;align-items:center;justify-content:center;",";"],te.Jy.White,tr.A.lightWithBorder.mid);var es8=i.p+"media/inbox6c744eec8c18baa8.png",es9=i.p+"media/support4a773ad3732dc83f.svg",es7=i(28200);let ede="WELCOME",edt="EMAIL",edi="PASSWORD",edr="INBOX_MAGIC_LINK",edn="YAHOO_INBOX_MAGIC_LINK",edo="CHECKING_LINK",eda="INVALID_LINK",edl="INBOX_PASSWORD_LINK";class eds extends R.Component{hostname=window.location.hostname;contactLinkURL="career.io"===this.hostname?"https://career.io/contact-us":"/contact";state={step:ede,password:"",magicLinkJustSent:!1,invalidLinkEmailKnown:!1,invalidLinkErrorCode:null};static propTypes={location:i9().object.isRequired,signInMethod:i9().string,checkEmail:i9().func.isRequired,checkMagicLink:i9().func.isRequired,isEmailChecking:i9().bool,emailCheckingError:i9().string,
4047sendMagicLink:i9().func.isRequired,sendPasswordLink:i9().func.isRequired,signIn:i9().func.isRequired,signUpInfo:i9().object,isSignInFetching:i9().bool,signInError:i9().string,match:i9().object,params:i9().object,magicLinkCheckError:i9().string,magicLinkEmail:i9().string,magicLinkErrorCode:i9().string,config:i9().object.isRequired};componentDidUpdate(e){let{signInMethod:t,magicLinkCheckError:i,magicLinkEmail:r,magicLinkErrorCode:n}=this.props;if(i&&i!==e.magicLinkCheckError){let e=!!r;this.setState({email:r??"",invalidLinkEmailKnown:e,invalidLinkErrorCode:n}),this.showStep(eda);let{signInError:t,isSignInFetching:i,isEmailChecking:o,emailCheckingError:a}=this.props,l=this.getInvalidLinkTitleKey(e,n);E.A.log(Error(`Magic link issue - ${l}`),{extra:{signInError:t,isSignInFetching:i,isEmailChecking:o,emailCheckingError:a,invalidLinkTitleKey:l}})}t!==e.signInMethod&&("magic_link"===t&&this.sendMagicLink(),"password"===t&&this.showStep(edi))}componentDidMount(){let{location:e,params:t}=this.props;(0,e5.B6)("/auth/magic/:token",e.pathname)&&(this.showStep(edo),this.props.checkMagicLink(t.token)),(0,N.xP)("visit_sign_in_page")}componentWillUnmount(){clearTimeout(this._sendLinktimeoutId)}showStep=e=>{this.setState({step:e})};getInvalidLinkTitleKey=(e,t)=>e?"already_used"===t?"link_already_used":"link_expired":"link_is_invali
4047d";handleMethodClick=e=>{(0,N._m)("Sign In",`Choose ${ax()(e)} Method`),(0,N.xP)("choose_social_login_method",{network:e}),"email"===e&&this.showStep(edt)};handleInputChange=e=>{let{name:t,value:i}=e.target;this.setState({[t]:i})};sendMagicLink=()=>{let{email:e}=this.state,t="chrome_extension=true"===window.location.href.split("?")[1];this.props.sendMagicLink({email:e,chrome_extension:t}),this.setState({magicLinkJustSent:!0},()=>{this._sendLinktimeoutId=setTimeout(()=>{this.setState({magicLinkJustSent:!1})},1e4)});let i=e.toLowerCase().includes("@yahoo")?edn:edr;this.showStep(i)};sendPasswordLink=()=>{let{email:e}=this.state;this.props.sendPasswordLink(e),this.showStep(edl),(0,N.xP)("request_password_reset")};handleEmailSubmit=()=>{let{email:e}=this.state;e&&this.props.checkEmail(e)};handlePasswordSubmit=()=>{let{email:e,password:t}=this.state;t&&this.props.signIn({email:e,password:t})};render(){let e,{step:t,email:i,password:r,magicLinkJustSent:n,invalidLinkEmailKnown:o,invalidLinkErrorCode:a}=this.state,l=this.getInvalidLinkTitleKey(o,a),{signInError:s,isSignInFetching:d,isEmailChecking:c,emailCheckingError:u,config:p}=this.props,{signUpTemplatesSkip:h}=p.features;return(0,J.jsx)(esT,{controlsHidden:t===edo,children:(0,J.jsxs)(J.Fragment,{children:[t===ede&&(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(esL,{title:i7.R.t("builder.sign_in.title"),description:i7.R.t("builder.sign_in.welcome"),children:(0,J.jsx)(es1,{onButtonClick:this.handleMethodClick,templateVariant:h})})}),t===edt&&(0,J.jsx)(esL,{title:i7.R.t("builder.sign_in.title"),description:i7.R.t("builder.sign_in.enter_email"),children:(0,J.jsx)(elF.l,{onBackClick:()=>this.showStep(ede),onSubmit:this.handleEmailSubmit,isDisabled:c,
4047children:(0,J.jsx)(elF.f,{children:(0,J.jsx)(re.A,{type:"email",name:"email",label:i7.R.t("builder.sign_in.email_label"),value:i,onChange:this.handleInputChange,autoFocus:!0,error:u})})})}),t===edi&&(0,J.jsx)(esL,{title:i7.R.t("builder.sign_in.title"),description:i7.R.t("builder.sign_in.enter_password"),children:(0,J.jsxs)(elF.l,{onBackClick:()=>this.showStep(edt),onSubmit:this.handlePasswordSubmit,isDisabled:d,children:[(0,J.jsx)(elF.f,{children:(0,J.jsx)(re.A,{type:"password",name:"password",label:i7.R.t("builder.sign_in.password_label"),value:r,onChange:this.handleInputChange,autoFocus:!0,error:s})}),(0,J.jsx)(es4,{children:(0,J.jsx)("span",{onClick:this.sendPasswordLink,children:i7.R.t("builder.sign_in.forgot_password")})})]})}),t===edr&&(0,J.jsxs)("div",{children:[(0,J.jsxs)(esO,{image:es8,title:i7.R.t("builder.sign_in.check_your_inbox"),children:[i7.R.t("builder.sign_in.magic_link_sent")," ",(0,J.jsx)("strong",{children:i||this.props.signUpInfo.email}),".",(0,J.jsx)("br",{}),i7.R.t("builder.sign_in.click_magic_link")]}),(0,J.jsxs)(es2,{children:[i7.R.t("builder.sign_in.didnt_receive_magic")," ",(0,J.jsx)("a",{href:this.contactLinkURL,target:"_blank",rel:"noreferrer noopener",children:i7.R.t("builder.sign_in.contact_support")})]})]}),t===eda&&(0,J.jsxs)("div",{children:[(0,J.jsx)(esO,{image:es7,title:i7.R.t(`builder.sign_in.${l}`)}),o?(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(es3,{children:(0,J.jsx)(i$.$n,{onClick:this.sendMagicLink,children:i7.R.t("builder.sign_in.send_new_magic_link")})})}):(0,J.jsxs)(es5,{onSubmit:e=>{let t;e.preventDefault(),t=i||"",/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)&&this.sendMagicLink()},children:[(0,J.jsx)(re.A,{type:"email",name:"email",label:i7.R.t("builder.sign_in.email_label"),value:i||"",onChange:this.handleInputChange,autoFocus:!0}),(0,J.jsx)(es3,{children:(0,J.jsx)(i$.$n,{type:"submit",isDisabled:(e=i||"",!/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)),children:i7.R.t("builder.sign_in.send_new_magic_link")})}),(0,J.jsx)(es2,{children:(0,J.jsx)("span",{onClick:()=>this.showStep(ede),children:i7.R.t("builder.sign_in.log_in_into_account")}
4047)})]})]}),t===edn&&(0,J.jsxs)("div",{children:[(0,J.jsxs)(esO,{image:es9,title:i7.R.t("builder.sign_in.yahoo_title"),children:[i7.R.t("builder.sign_in.yahoo.having_troubles")," ",(0,J.jsx)("strong",{children:i7.R.t("builder.sign_in.yahoo.didnt_receive")})," ",i7.R.t("builder.sign_in.yahoo.open_inbox")," ",(0,J.jsx)("strong",{children:i7.R.t("builder.sign_in.yahoo.contacts_icon")}),i7.R.t("builder.sign_in.yahoo.add_contact")," ",(0,J.jsx)("strong",{children:i7.R.t("builder.sign_in.yahoo.support_email")}),i7.R.t("builder.sign_in.yahoo.request_new_link")]}),(0,J.jsx)(es3,{children:(0,J.jsx)(i$.$n,{onClick:this.sendMagicLink,isDisabled:n,children:i7.R.t("builder.sign_in.send_new_magic_link")})})]}),t===edl&&(0,J.jsxs)("div",{children:[(0,J.jsxs)(esO,{image:es8,title:i7.R.t("builder.sign_in.check_your_inbox"),children:[i7.R.t("builder.sign_in.sent_password_link")," ",(0,J.jsx)("strong",{children:i}),i7.R.t("builder.sign_in.follow_password_link")]}),(0,J.jsxs)(es2,{children:[i7.R.t("builder.sign_in.please")," ",(0,J.jsx)("a",{href:this.contactLinkURL,target:"_blank",rel:"noreferrer noopener",children:i7.R.t("builder.sign_in.contact_support").toLowerCase()})," ",i7.R.t("builder.sign_in.didnt_receive_password_letter")]})]}),t===edo&&(0,J.jsx)(es6,{children:(0,J.jsx)(du.y$,{})})]})})}}var edd=esr(eds);let edc={checkEmail:q.o1.checkEmailRequest,sendMagicLink:q.o1.sendMagicLinkRequest,sendPasswordLink:q.o1.sendPasswordLinkRequest,signIn:q.o1.signInRequest,checkMagicLink:q.o1.checkMagicLinkRequest};var edu=(0,eU.Ng)(e=>({config:X.Tp.config(e,X.l1.signUp),signUpInfo:e.signUp.signUpInfo,...e.signIn}),edc)(e=>(0,J.jsx)(edd,{...e})),edp=i(50562);let edh=tt.Ay.div(["display:flex;align-items:center;justify-content:center;height:100vh;"]),edx=()=>{let e=(0,L.Zp)(),[t]=(0,i3.ok)(),i=t.get("target_url")||"/app",r=t.get("required_access")||"free",n=t.get("funnel")||"sign-in",o=()=>{edp.Q.persistPath(window.location.pathname+window.location.search),e("sign-in"===n?`/auth/${n}`:`/${n}`,{replace:!0})};return(0,dl.h)(()=>{let e=EZ.y.getAccessToken();if(!e)return o();Dq.A.get("/account",{baseURL:eZ.JR,headers:{Authorization:`Bearer ${e}`}}).then(({data:e})=>{let t=e.user?.hasPremiumFeatures?"premium":"free";"premium"===r&&"premium"!==t?(0,ln.b)({onSuccessRedirect:i}):window.location.assign(i)}).catch(()=>{o()})}),(0,J.jsx)(edh,{children:(0,J.jsx)(du.y$,{})})};var edm=i(50572);let edg=()=>{let[e]=(0,i3.ok)(),t=(0,L.zy)(),i=(0,L.Zp)(),r=(0,eU.wA)(),[n,o]=(0,R.useState)(!0),[a,l]=(0,R.useState)(!0),[s,d]=(0,R.useState)(!0),c=EZ.y.isLoggedIn(),u=e.get("tailor_job_url"),p=e.get("mcp_resume_id"),h="/guest-builder"===t.pathname,x=t.pathname.startsWith("/create-cover-letter"),m=x&&(!!p||!!sessionStorage.getItem(eZ.xZ)),g=c&&!!u&&h,{loading:y,resume:f}=(0,edm.U)(g),b=(0,eW.N)(Z.Tp.premiumAccess),_=(0,eW.N)(Z.Tp.isFetched),v=(0,eW.N)(U.Tp.documentsStatus),j=(0,eW.N)(e=>U.Tp.documentsByType(e,eZ.VC.resume,!1)).length,A=(0,eW.N)(e=>U.Tp.documentsByType(e,eZ.VC.coverLetter,!1)).length;return((0,R.useEffect)(()=>{c&&!_&&r(Z.o1.fetchUserRequest())},[r,_,c]),(0,R.useEffect)(()=>{c&&v===eZ.Hp.notAsked&&r(U.o1.fetchDocuments())},[r,v,c]),(0,R.useEffect)(()=>{if(!c||!u||!h)return void d(!1);if(!y){if(f?.id){let e=new URLSearchParams;e.append("job_url",u),e.append("open_tailor","true"),i(`/resumes/${f.id}/edit?${e.toString()}`)}else i("/");d(!1)}},[c,u,h,i,y,f]),(0,R.useEffect)(()=>{(async()=>{if(!c||!p||!h||u)return o(!1);if(_&&v===eZ.Hp.loaded)try{let e=await eo_(p);if(!e||"resume"!==e.type)return void i("/");if(!b&&j>=1)return void r(F.o1.openLimitModal(eZ.VC.resume));let t=await eov(e);i(`/resumes/${t.id}/edit`)}catch(e){i("/")}finally{o(!1)}})()},[c,p,h,i,r,b,j,v,_,u]),(0,R.useEffect)(()=>{(async()=>{if(!m)return l(!1);if(!c||!_||v!==eZ.Hp.loaded)return;let e=p||sessionStorage.getItem(eZ.xZ);if(!e)return l(!1);try{let t=await eo_(e);if(!t||"cover_letter"!==t.type)return void i("/");if(!b&&A>=1)return void r(F.o1.openLimitModal(eZ.VC.coverLetter));let n=await eoA(t);i(`/cover-letters/${n.id}/edit`)}catch(e){i("/")}finally{sessionStorage.removeItem(eZ.xZ),l(!1)}})()},[c,m,p,i,r,b,A,v,_]),(0,R.useEffect)(()=>{!c&&p&&x&&sessionStorage.setItem(eZ.xZ,p)},[c,p,x]),c&&h&&(u&&s||p&&n)||c&&m&&a)?null:c?(0,J.jsx)(L.C5,{to:"/"}):(0,J.jsx)(L.sv,{})};var edy=i(78506),edf=i(49785);let edb=({firstName:e,lastName:t,onSubmit:i,signUpFlow:r,disabledI18n:n,...o})=>{let{i18n:a}=(0,e1.s)(),l=(0,edf.mN)({mode:"onChange",defaultValues:{firstName:e,lastName:t}}),{errors:s,isValid:d}=l.formState;return(0,J.jsxs)(elF.l,{...o,onSubmit:l.handleSubmit(i),isDisabled:!d,signUpFlow:r,disabledI18n:n,children:[(0,J.jsx)(elF.f,{children:(0,J.jsx)(re.A,{...l.register("firstName",{required:n?"This field is required":a.t("builder.sign_up.field_is_required")}),label:n?"First Name":a.t("builder.sign_up.first_name"),placeholder:"John",error:s.firstName?.message,autoFocus:!0,"data-testid":"first-name-input"})}),(0,J.jsx)(elF.f,{children:(0,J.jsx)(re.A,{...l.register("lastName",{required:n?"This field is required":a.t("builder.sign_up.field_is_required")}),label:n?"Last Name":a.t("builder.sign_up.last_name"),placeholder:"Appleseed",error:s.lastName?.message,"data-testid":"last-name-input"})})]})};var ed_=i(56102);let edv=(0,tt.i7)(["0%{opacity:0;}100%{opacity:1;}"]),edj=tt.Ay.div(["display:flex;min-height:100vh;width:100%;gap:32px;flex-direction:column;justify-content:space-between;",""],tQ.A.Phone`
4048    gap: 0;
4049  `),edA=tt.Ay.div(["display:flex;width:100%;gap:32px;flex-direction:column;",""],tQ.A.Phone`
4050    gap: 0;
4051  `),edC=tt.Ay.div(["display:flex;height:auto;align-items:center;justify-content:center;width:100%;gap:64px;position:relative;"," ",""],tQ.A.Tablet`
4052    flex-direction: column;
4053    gap: 13px;
4054  `,tQ.A.Phone`
4055    flex-direction: column;
4056    gap: 0;
4057  `),edw=tt.Ay.div(["display:flex;height:auto;align-items:center;justify-content:center;width:100%;gap:64px;position:relative;"," ",""],tQ.A.Tablet`
4058    flex-direction: column;
4059    gap: 13px;
4060    width: 416px;
4061    padding-bottom: 52px;
4062  `,tQ.A.Phone`
4063    flex-direction: column;
4064    width: 100%;
4065    max-width: 416px;
4066    gap: 0;
4067  `),edk=tt.Ay.div(["width:100%;margin-top:96px;text-align:center;gap:8px;",""],tQ.A.Phone`
4068    width: 100%;
4069    display: flex;
4070    justify-content: center;
4071    align-items: center;
4072    flex-direction: column;
4073    gap: 8px
4074  `),edS=tt.Ay.div(["",";",";color:",";text-align:center;padding-bottom:8px;",""],td.Ay.M,td.BO.DemiBold,te.Jy.Neutral90,tQ.A.Phone`
4075    width: 335px;
4076  `),edT=tt.Ay.div(["color:",";text-align:center;margin:0 auto;width:416px;",""],te.Jy.Neutral50,tQ.A.Phone`
4077    width: 335px;
4078  `),edP=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral90,td.Ay.Body,td.BO.DemiBold),edJ=tt.Ay.div(["width:416px;height:auto;display:flex;position:relative;border-radius:4px;justify-content:center;align-items:center;flex-direction:column;"," ",""],tQ.A.Tablet`
4079    width: 504px;
4080  `,tQ.A.Phone`
4081    width: 385px;
4082    height: 100%;
4083  `),edE=tt.Ay.div(["",";width:416px;text-align:center;color:",";padding-top:32px;margin-bottom:24px;"," ",""],td.BO.Medium,te.Jy.Neutral90,tQ.A.Tablet`
4084    width: 504px;
4085  `,tQ.A.Phone`
4086    padding-top: 24px;
4087    width: 335px;
4088  `),edR=tt.Ay.div(["width:2%;height:auto;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:flex-start;",""],tQ.A.Tablet`
4089    width: 100%;
4090    flex-direction: row;
4091    gap: 13px;
4092    margin-top: 31px;
4093  `),edL=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;position:relative;width:100%;height:100%;gap:10px;justify-content:center;margin-top:72px;",""],tQ.A.Tablet`
4094    flex-direction: row;    
4095    margin-top: 0;
4096  `),edN=tt.Ay.div([""," "," text-transform:uppercase;color:",";"],td.Ay.Tiny,td.BO.DemiBold,te.Jy.Neutral50),edI=tt.Ay.div(["width:1px;height:120px;background-color:",";"," ",""],te.Jy.Neutral15,tQ.A.Tablet`
4097    width: 211px;
4098    height: 1px;  
4099  `,tQ.A.Phone`
4100    width:  139px;
4101    height: 1px;  
4102  `),edM=tt.Ay.div(["width:416px;"," ",""],tQ.A.Tablet`
4103    flex-direction: row;
4104    width: 504px;
4105    height: auto;
4106  `,tQ.A.Phone`
4107    width: 335px;
4108    height: auto;
4109    flex-direction: row;
4110  `),edB=tt.Ay.div([""," "," animation:1s "," ease-out;"],td.Ay.Subhead,td.BO.DemiBold,edv),edD=tt.Ay.a(["position:absolute;top:19px;left:32px;z-index:1;",""],tQ.A.Tablet`
4111    top: 20px;
4112    left: 20px;
4113  `),ed$=tt.Ay.img(["display:flex;flex-direction:row;align-items:flex-start;padding:0px;width:130px;height:32px;"]);tQ.A.Phone`
4114    width: 100%;
4115  `;let edO=tt.Ay.div(["gap:88px;display:flex;align-items:center;flex-direction:column;justify-content:space-between;",""],tQ.A.Phone`
4116    margin: 40px 0;
4117  `),edz=tt.Ay.button(["position:absolute;top:19px;right:32px;z-index:1;display:flex;color:",";align-items:flex-end;padding:0;margin:0;background:none;border:none;cursor:pointer;outline:none;&:hover,&:focus-visible{color:",";}",""],te.Jy.Neutral40,te.Jy.Blue50,tQ.A.Tablet`
4118    top: 20px;
4119    right: 20px;
4120  `),edF=tt.Ay.div(["position:relative;"]),edH=tt.Ay.div(["margin:0 auto;width:calc(100% - 40px);"]),edV=tt.Ay.div(["margin-bottom:24px;text-align:center;"]),edU=tt.Ay.div(["",";",";margin-bottom:12px;"],td.o5.M,td.BO.DemiBold),edW=tt.Ay.div(["color:",";"],te.Jy.Neutral50),edK=tt.Ay.div(["width:100%;max-width:416px;margin:0 auto;"]);var edq=({title:e,subtitle:t,children:i})=>(0,J.jsxs)(edH,{children:[(0,J.jsxs)(edV,{children:[(0,J.jsx)(edU,{children:e}),(0,J.jsx)(edW,{children:t})]}),(0,J.jsx)(edK,{children:i})]}),edG=i(9158),edZ=i.p+"media/mailbox6c744eec8c18baa8.png";let edX=tt.Ay.div(["width:100%;margin-top:144px;text-align:center;",""],tQ.A.Phone`
4121    width: 100%;
4122    display: flex;
4123    justify-content: center;
4124    align-items: center;
4125    flex-direction: column;
4126    gap: 8px
4127  `),edQ=tt.Ay.img(["width:454.975px;height:300.556px;flex-shrink:0;",""],tQ.A.Phone`
4128    width: 324.84px;
4129    height: 212.976px;
4130  `),edY=tt.Ay.div(["width:416px;margin:0 auto;margin-top:32.82px;text-align:center;gap:8px;",""],tQ.A.Phone`
4131    width: 100%;
4132    display: flex;
4133    justify-content: center;
4134    align-items: center;
4135    flex-direction: column;
4136    gap: 8px
4137  `),ed0=tt.Ay.div(["",";",";color:",";text-align:center;padding-bottom:8px;",""],td.Ay.M,td.BO.Medium,te.Jy.Neutral90,tQ.A.Phone`
4138    width: 335px;
4139  `),ed1=tt.Ay.div(["color:",";text-align:center;",";",";",""],te.Jy.Neutral90,td.Ay.Body,td.BO.Regular,tQ.A.Phone`
4140    width: 327px;
4141  `),ed2=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral90,td.Ay.Body,td.BO.DemiBold);var ed3=({EmailId:e})=>(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(edX,{children:(0,J.jsx)(edQ,{src:edZ})}),(0,J.jsx)(edY,{children:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ed0,{children:"Check your inbox"}),(0,J.jsxs)(ed1,{children:["We sent a magic link to ",(0,J.jsx)(ed2,{children:e}),"Check your inbox, log in, and then you can read the Resume Review."]})]})})]});let ed5=async e=>{let{data:t}=await Y.uE.post("/sign-up/validate",{email:e});return!!(t?.activatedBy&&(t?.activatedBy.includes("resume.io")||t?.activatedBy.includes("stg.resume.io")||t?.activatedBy.includes("stg.career.io")||t?.activatedBy.includes("career.io")))},ed4=(0,R.lazy)(()=>i.e("8141").then(i.bind(i,33564))),ed6=(0,R.lazy)(()=>i.e("7725").then(i.bind(i,8444))),ed8=(0,R.lazy)(()=>i.e("1994").then(i.bind(i,92332))),ed9=(0,R.lazy)(()=>i.e("4860").then(i.bind(i,47965))),ed7=(0,R.lazy)(()=>i.e("5917").then(i.bind(i,17564)));var ece=()=>{let e=(0,L.zy)(),t=(0,eU.wA)(),i=(0,L.Zp)(),[r]=(0,i3.ok)(),n=(0,eW.N)(eh.Tp.step),o=(0,eW.N)(eh.Tp.isParsing),a=(0,eW.N)(eh.Tp.hasParsed),l=(0,eW.N)(eh.Tp.parsingProgress),{firstName:s,lastName:d,checksum:c,email:u}=(0,eW.N)(eh.Tp.parsedResumeDetails),[p,h]=(0,R.useState)(!1),x=e?.pathname?.includes("mystory"),m=(0,eW.N)(eh.Tp.uploadProgress),g=(0,eW.N)(W.Tp.critiques),y=(0,eW.N)(eh.Tp.email),f=(0,eW.N)(eh.Tp.selectedFile),[b,_]=(0,R.useState)(!1),v=(0,eW.N)(Z.Tp.userData),j=(0,eW.N)(Z.Tp.photoUrl),[A]=(0,ds.p)("current_region_prefix"),C=(0,R.useCallback)(()=>{window.location.href=`/${A??""}`},[A]);(0,R.useEffect)(()=>{v&&(t(W.o1.fetchCritiques()),_(!0))},[v,t]),(0,R.useEffect)(()=>{(0,N.xP)("visit_upload_resume_page"),(0,N.xP)("website_visit",{label:"universal_landing_page",path:window.location.pathname});let e={};edG.j?.map(t=>(e={...e,[t]:r.get(t)},t)),(0,N.xP)("track_utm",e)},[r]),(0,R.useEffect)(()=>{ew.D.getItem(edG.z.MY_STORY_VISIT_FLAG)||((0,N.xP)("first_visit",{label:"universal_landing_page",utm_content:r.get("utm_content"),utm_source:r.get("utm_source"),utm_medium:r.get("utm_medium"),utm_campaign:r.get("utm_campaign"),utm_term:r.get("utm_term")}),ew.D.setItem(edG.z.MY_STORY_VISIT_FLAG,"true"))},[r]),(0,R.useEffect)(()=>
4141{if(o){let e=setTimeout(()=>{l<100&&t(eh.o1.setParsingProgress(l+6.25))},1e3);return()=>{clearTimeout(e)}}a&&t(eh.o1.setStep(edy.h.PARSED_DETAILS))},[t,l,o,a]);let w="/upload-resume"===e.pathname?"/app":"/upsider-loading",k=async()=>{let e=await ed5(y);return h(e),e},S=async e=>{if(e){let e=await k(),i={utm_content:r.get("utm_content"),utm_source:r.get("utm_source"),utm_medium:r.get("utm_medium"),utm_campaign:r.get("utm_campaign"),utm_term:r.get("utm_term")},n=encodeURIComponent(y),o={redirectTo:w,checksum:c,critiqueReview:"critique",...i,isCioUser:e,emailId:n};ew.D.setItem(edG.z.MY_STORY_UTMS,JSON.stringify(i)),t(eh.o1.createUpsiderUser(o))}else g?.length>0?i(`/app/resumes/${g?.[0]?.resumeId}/critique?lowLeads=1&v2=1&secondReview=true`):(t(eh.o1.parsedDetails({upload:f,email:y})),l>0&&t(eh.o1.setParsingProgress(0)),t(eh.o1.setStep(edy.h.SENDING_RESUME)))};return ew.D.setItem("IS_CRITIQUE_CHECKSUM",c),(0,J.jsxs)(edj,{children:[(0,J.jsxs)(edA,{children:[(0,J.jsx)(edD,{"aria-label":"Logo",href:"/",children:(0,J.jsx)(ed$,{src:ed_})}),(0,J.jsx)(edF,{children:(0,J.jsx)(edz,{"aria-label":"Close",onClick:C,children:(0,J.jsx)(tP.qJ.CloseLarge,{})})}),p?(0,J.jsx)(ed3,{EmailId:u}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(edk,{children:[n!==edy.h.USER_AVAILABLE&&n!==edy.h.PARSED_DETAILS&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(edS,{children:"Tell your career story with Career.io"}),(0,J.jsx)(edT,{children:"Be ready, stand out, and stay in control"})]}),n===edy.h.USER_AVAILABLE&&b&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(edS,{children:"You’re already logged in"}),(0,J.jsxs)(edT,{children:["You can create a new account with",(0,J.jsxs)(edP,{children:[y," "]})," email or continue as the current user"]})]})]}),(0,J.jsx)(edC,{children:n===edy.h.PARSED_DETAILS?(0,J.jsx)(edq,{title:"Add your name",subtitle:"Welcome! What should we call you?",children:(0,J.jsx)(edb,{firstName:s,lastName:d,signUpFlow:"RECRUITERDOTCOM",onSubmit:()=>S(!0),onBackClick:()=>{t(eh.o1.setIsFileSelected(!1)),100===m?t(eh.o1.setUploadProgress(-100)):t(eh.o1.setUploadProgress(0)),t(eh.o1.setStep(edy.h.UPLOAD_RESUME))},disabledI18n:x})}):n===edy.h.RESUME_SELECTED?(0,J.jsx)(edw,{children:(0,J.jsx)(R.Suspense,{fallback:null,children:(0,J.jsx)(ed9,{})})}):n===edy.h.UPLOAD_RESUME?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(edJ,{children:[(0,J.jsx)(edE,{children:"Get a free resume review"}),(0,J.jsx)(R.Suspense,{fallback:null,children:(0,J.jsx)(ed9,{})})]}),(0,J.jsx)(edR,{children:(0,J.jsxs)(edL,{children:[(0,J.jsx)(edI,{}),(0,J.jsx)(edN,{children:"or"}),(0,J.jsx)(edI,{})]})}),(0,J.jsxs)(edM,{children:[(0,J.jsx)(edE,{children:"Don't have a resume?"}),(0,J.jsx)(R.Suspense,{fallback:null,children:(0,J.jsx)(ed8,{})}),(0,J.jsx)(R.Suspense,{fallback:null,children:(0,J.jsx)(ed8,{isTopResumeCard:!0})})]})]}):n===edy.h.SENDING_RESUME?(0,J.jsxs)(edO,{children:[(0,J.jsx)(R.Suspense,{fallback:null,children:(0,J.jsx)(ed7,{score:l})}),(0,J.jsx)(edB,{children:"Sending resume..."})]}):(0,J.jsx)(R.Suspense,{fallback:null,children:(0,J.jsx)(ed4,{name:v?.fullName,email:v?.email,onContinue:()=>S(!1),createNew:()=>{t(eh.o1.parsedDetails({upload:f,email:y})),l>0&&t(eh.o1.setParsingProgress(0)),t(eh.o1.setStep(edy.h.SENDING_RESUME))},photoImage:j,inputEmail:y})})})]})]}),(0,J.jsx)(R.Suspense,{fallback:null,children:(0,J.jsx)(ed6,{})})]})};let ect="builder.upload_resume.routing_screen",eci=["review","edit","customize","tailor","download"],ecr={review:"tab=ai_review",edit:"tab=editor",customize:"tab=customization",tailor:"tab=tailoring",download:`tab=editor&${RQ.PI}=${eZ.hR.pdf}`},ecn=(e,t)=>`/resumes/${e}/edit?${ecr[t]}`,{White:eco,Neutral15:eca,Neutral20:ecl,Neutral90:ecs,Blue50:ecd}=te.Jy,{Body:ecc,Caption:ecu,S:ecp,Subhead:ech}=td.Ay,{Medium:ecx,Regular:ecm}=td.BO,ecg=tt.Ay.div(["display:flex;flex-direction:column;flex:1;align-items:stretch;justify-content:space-between;background-color:",";width:100%;overflow-y:auto;",""],te.Jy.Neutral5,tQ.A.AbovePhone`
4142    align-items: center;
4143    justify-content: flex-start;
4144    gap: ${te.Kz.L};
4145    padding: 48px 20px ${te.Kz.M};
4146    background-color: ${eco};
4147  `),ecy=tt.Ay.div(["position:relative;display:flex;flex-direction:column;flex:",";width:100%;padding:24px 20px;margin-top:4px;border-radius:16px;background:",";",""],({$fullHeight:e})=>e?1:"none",eco,tQ.A.AbovePhone`
4148    flex: none;
4149    max-width: 544px;
4150    padding: 0;
4151    margin-top: 0;
4152    border-radius: 0;
4153  `),ecf=tt.Ay.h2(["margin-bottom:",";color:",";line-height:24px;font-size:23px;font-style:normal;font-weight:500;",""],te.Kz["2XS"],ecs,tQ.A.AbovePhone`
4154    ${ecp};
4155    ${ecx};
4156    text-align: center;
4157  `),ecb=tt.Ay.h3(["margin-bottom:",";color:",";font-size:16px;font-style:normal;font-weight:400;line-height:20px;",""],te.Kz.M,te.Jy.Neutral50,tQ.A.AbovePhone`
4158    ${ecc};
4159    ${ecm};
4160    margin-bottom: ${te.Kz.L};
4161    text-align: center;
4162  `),ec_=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.XS),ecv=tt.Ay.button(["display:flex;position:relative;align-items:center;justify-content:space-between;width:100%;padding:",";text-align:left;cursor:pointer;border-radius:",";border:1px solid ",";background:",";
4162transition:box-shadow 0.1s,background-color 0.1s;"," &:hover{box-shadow:inset 0 0 0 2px ",";}",""],te.Kz.S,te.Kz["2XS"],eca,eco,({$selected:e})=>e&&(0,tt.AH)(["border:2px solid ",";"],ecd),ecd,tQ.A.AbovePhone`
4163    padding: 20px;
4164  `),ecj=tt.Ay.span(["display:flex;align-items:center;gap:",";",""],te.Kz.XS,tQ.A.AbovePhone`
4165    gap: ${te.Kz.S};
4166  `),ecA=tt.Ay.span(["",";",";color:",";",""],ecc,ecm,ecs,tQ.A.AbovePhone`
4167    ${ech};
4168  `),ecC=tt.Ay.span(["",";",";position:absolute;top:-8px;right:",";flex-shrink:0;padding:2px ",";background:",";color:",";border-radius:6px;",""],ecu,ecx,te.Kz.XS,te.Kz["2XS"],ecd,eco,tQ.A.AbovePhone`
4169    top: -12px;
4170    right: 20px;
4171    padding: 2px ${te.Kz["3XS"]};
4172    border-radius: ${te.Kz["3XS"]};
4173  `),ecw=tt.Ay.span(["flex-shrink:0;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 2px ",";background:",";position:relative;"," ",""],({$selected:e})=>e?ecd:ecl,eco,({$selected:e})=>e&&(0,tt.AH)(["&::after{content:'';position:absolute;top:50%;left:50%;width:10px;height:10px;border-radius:50%;background:",";transform:translate(-50%,-50%);}"],ecd),tQ.A.AbovePhone`
4174    width: 18px;
4175    height: 18px;
4176  `),eck=tt.Ay.div(["margin-top:auto;margin-bottom:-8px;button{width:100%;}",""],tQ.A.AbovePhone`
4177    margin-top: 0;
4178    margin-bottom: 0;
4179  `),ecS=({onContinue:e})=>{let{i18n:t}=(0,e1.s)(),[i,r]=(0,R.useState)(eci["0"]);(0,dl.h)(()=>{(0,N.xP)(eZ.x6.viewRoutingScreen)});let n=(0,R.useCallback)(e=>{r(e),(0,N.xP)(eZ.x6.clickRoutingScreen,{label:e})},[]),o=(0,R.useCallback)(()=>{(0,N.xP)(eZ.x6.clickNextStep,{step:"routing screen"}),e(i)},[e,i]);return(0,J.jsxs)(ecg,{"data-testid":"routing-screen-step",children:[(0,J.jsxs)(ecy,{$fullHeight:!0,children:[(0,J.jsx)(ecf,{children:t.t(`${ect}.title`)}),(0,J.jsx)(ecb,{children:t.t(`${ect}.subtitle`)}),(0,J.jsx)(ec_,{role:"radiogroup",children:eci.map((e,r)=>{let o=e===i;return(0,J.jsxs)(ecv,{type:"button",role:"radio","aria-checked":o,$selected:o,onClick:()=>n(e),children:[(0,J.jsxs)(ecj,{children:[(0,J.jsx)(ecw,{$selected:o}),(0,J.jsx)(ecA,{children:t.t(`${ect}.options.${e}`)})]}),0===r&&(0,J.jsx)(ecC,{children:t.t(`${ect}.recommended`)})]},e)})})]}),(0,J.jsx)(ecy,{children:(0,J.jsx)(eck,{children:(0,J.jsx)(i$.JQ,{onClick:o,children:t.t(`${ect}.cta`)})})})]})};tQ.A.Phone`
4180    padding-top: 20px;
4181  `,tQ.A.Phone`
4182    padding: 0 20px 0;
4183  `,td.o5.XL,te.Jy.Blue50,tQ.A.Tablet`
4184    margin-bottom: 24px;
4185  `,tQ.A.Phone`
4186    ${td.o5.S};
4187    margin-bottom: 12px;
4188  `,tQ.A.Tablet`
4189    display: none;
4190  `,te.Jy.White,te.Jy.White,(0,tt.Ay)(i$.Ay)(["display:none;z-index:3;"]),tQ.A.Phone`
4191    top: -38px;
4192  `,tQ.A.Phone`
4193    ${td.o5.Caption};
4194  `,tQ.A.Phone`
4195    ${td.o5.Caption};
4196  `,i(95309),tQ.A.Phone`
4197    display: none;
4198  `,td.o5.Tiny,te.Jy.Neutral50,(0,tt.Ay)(etL).attrs({topic:"plan"})(["position:absolute;bottom:16px;left:16px;transition:transform 0.3s;z-index:1;"]),(0,tt.Ay)(etL)(["position:absolute;bottom:16px;right:16px;transition:transform 0.3s;z-index:1;"]),tQ.A.Phone`
4199      transform: scale(1);
4200    `,tQ.A.Tablet`
4201    margin: 60px 12px 40px;
4202  `,tQ.A.Phone`
4203    margin: 60px 8px 40px;
4204  `;let ecT=tt.Ay.div(["position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;background-color:",";color:",";border-radius:50%;z-index:2;cursor:pointer;transition:background-color 0.3s ease;&:hover{background-color:",";}",""],te.Jy.Blue50,te.Jy.White,te.Jy.Blue70,tQ.A.Phone`
4205    display: none;
4206  `);(0,tt.Ay)(ecT)(["left:60px;top:calc(50% - 24px);transform:rotate(180deg);",""],tQ.A.Tablet`
4207    left: 24px;
4208  `),(0,tt.Ay)(ecT)(["right:60px;top:calc(50% - 24px);",""],tQ.A.Tablet`
4209    right: 24px;
4210  `);let ecP=tt.Ay.div(["display:flex;align-items:center;justify-content:center;flex:1;"]);tQ.A.Tablet`
4211    display: flex;
4212  `;let ecJ=tt.Ay.div(["display:grid;grid-template-columns:repeat(",",1fr);gap:32px;padding:32px;",""],e=>e.desktopColumns,({mobileColumns:e})=>tQ.A.Phone`
4213    grid-template-columns: repeat(${e}, 1fr);
4214    gap: 20px;
4215    padding: 20px;
4216  `);tQ.A.Phone`
4217    padding: 10px 20px;
4218    margin: 0;
4219  `,tQ.A.Phone`
4220    flex-wrap: wrap;
4221    flex-direction: column;
4222  `;let ecE=tt.Ay.h2(["display:none;color:var(--Blue-Blue-50,#1a91f0);text-align:center;font-size:27px;font-style:normal;font-weight:600;line-height:30px;margin:10px auto;",""],tQ.A.Phone`
4223    display: block;
4224  `);te.Jy.White,(0,tt.Ay)(i$.Ay)(["z-index:3;top:50%;left:25%;"]);let ecR=({templates:e,categories:t,onChoose:i,documentType:r})=>{let n=(0,eW.N)(X.Tp.locale),[o,a]=(0,R.useState)({slug:"all"}),{mobile:l,desktop:s}=elC,d=e.length>0,c=(0,R.useMemo)(()=>{let{slug:t,templates:i}=o;return"all"!==t&&i?.length?e.filter(e=>i.includes(e.id)):e},[o,e]);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ecE,{children:i7.R.t("builder.sign_up.select_template")}),(0,J.jsx)(elA,{activeCategory:o,categories:t,setActiveCategory:a,documentType:r,i18n:i7.R}),d?(0,J.jsx)(ecJ,{mobileColumns:l,desktopColumns:s,children:c.map(e=>(0,J.jsx)(elk,{template:e,onChoose:i,documentType:r,showPremiumBadge:elw.includes(n??"")},e.id))}):(0,J.jsx)(ecP,{"data-testid":"spinner",children:(0,J.jsx)(du.Ay,{})})]})},ecL=(0,tt.Ay)(eay)(["border-bottom:1px solid ",";",""],te.Jy.Neutral15,tQ.A.Phone`
4225    height: 64px;
4226  `),ecN=tt.Ay.h2(["",";",";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:",";text-align:center;white-space:nowrap;",""],td.Ay.S,td.BO.DemiBold,te.Jy.Blue50,tQ.A.Phone`
4227    display: none;
4228  `),ecI=tt.Ay.div(["display:flex;flex-direction:column;flex:1;align-items:center;justify-content:center;width:100%;background:",";"],te.Jy.Neutral5),ecM=({children:e,regionPrefix:t,handleSkipButton:i,stepName:r,...n})=>{let{i18n:o}=(0,e1.s)(),{isPhone:a}=(0,ih.e)(),l=`/${t}`;return(0,J.jsxs)(eag,{...n,children:[(0,J.jsxs)(ecL,{children:[(0,J.jsx)("a",{"aria-label":"Logo",href:l,children:(0,J.jsx)(sc.A,{})}),"template_selection"===r&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ecN,{children:o.t("builder.upload_resume.templates_step_title")}),(0,J.jsx)(ea_,{size:a?i$.Mp.small:i$.Mp.default,onClick:i,children:o.t("builder.sign_in.methods.skip")})]})]}),(0,J.jsx)(eab,{children:e})]})},ecB=()=>{let[e,t]=(0,i3.ok)(),i=Number(e.get("id")),r=(0,L.Zp)(),n=(0,eU.wA)(),{i18n:o}=(0,e1.s)(),{openSnackBar:a}=(0,R.useContext)(d$.X),[l,s]=(0,R.useState)("routing"),[d,c]=(0,R.useState)("review"),[u]=(0,R.useState)(()=>"true"===e.get(eZ.Tt)),p=(0,eW.N)(O.Tp.resumeTemplates),h=(0,eW.N)(e=>
4228e.signUp.resumeTemplateCategories)||[],x=e.get("current_region_prefix")||"";return(0,R.useEffect)(()=>{i?(n(O.o1.fetchEditorPayloadRequest()),n(G.o1.getSignUpPayload())):r("/")},[i,n,r]),(0,R.useEffect)(()=>{if(!u)return;let i=new URLSearchParams(e);i.delete(eZ.Tt),t(i,{replace:!0})},[u]),(0,R.useEffect)(()=>{u&&"routing"===l&&a({text:o.t("builder.upload_resume.signup_success"),type:Vb.r.success,bottom:{phone:80}})},[u,l]),(0,J.jsxs)(ecM,{regionPrefix:x,stepName:l,handleSkipButton:()=>{r(ecn(i,d))},children:["routing"===l&&(0,J.jsx)(ecI,{children:(0,J.jsx)(ecS,{onContinue:e=>{c(e),s("template_selection")}})}),"template_selection"===l&&(0,J.jsx)(ecR,{templates:p,categories:h,documentType:eZ.VC.resume,onChoose:e=>{n(G.o1.setDocumentTemplate({type:eZ.VC.resume,documentId:String(i),template:e,redirectPath:ecn(i,d)}))}})]})};var ecD=i(19754),ec$=i(14187);let ecO=tt.Ay.div(["display:flex;align-items:center;margin:20px 0;color:",";",";&:after,&:before{content:'';flex-grow:1;height 1px;background-color:",";}&:after{margin-left:8px;}&:before{margin-right:8px;}"],te.Jy.Neutral40,tQ.A.Phone`
4229    margin: 16px 0;
4230  `,te.Jy.Neutral15),ecz=tt.Ay.div(["margin-top:24px;color:",";text-align:center;& a{color:",";}& a:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Blue50,te.Jy.Blue60),ecF={facebook:"/auth/facebook",google:"/auth/google_oauth2",linkedin:"/auth/linkedin"},ecH=({onChoose:e})=>{let t=(0,L.zy)(),{i18n:i}=(0,e1.s)(),r=t=>{e(t),window.location.href=ecF[t]};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(ec$.m,{children:[(0,J.jsxs)(ec$.$,{icon:(0,J.jsx)(tP.qJ.Google,{}),onClick:()=>r("google"),children:[i.t("builder.sign_up.sign_up_with")," ",i.t("builder.sign_up.social_buttons.google")]}),(0,J.jsxs)(ec$.$,{icon:(0,J.jsx)(tP.qJ.Linkedin,{}),onClick:()=>r("linkedin"),children:[i.t("builder.sign_up.sign_up_with")," ",i.t("builder.sign_up.social_buttons.linkedin")]}),(0,J.jsxs)(ec$.$,{icon:(0,J.jsx)(tP.qJ.Facebook,{}),onClick:()=>r("facebook"),children:[i.t("builder.sign_up.sign_up_with")," ",i.t("builder.sign_up.social_buttons.facebook")]})]}),(0,J.jsx)(ecO,{children:i.t("builder.sign_up.or")}),(0,J.jsx)(ec$.m,{children:(0,J.jsxs)(ec$.$,{icon:(0,J.jsx)(tP.qJ.Email,{}),onClick:()=>e("email"),children:[i.t("builder.sign_up.sign_up_with")," ",i.t("builder.sign_up.social_buttons.email")]})}),(0,J.jsxs)(ecz,{children:[i.t("builder.sign_up.already_have_account")," — ",(0,J.jsx)(i3.N_,{to:`/auth/sign-in${t.search}`,children:i.t("builder.sign_up.sign_in")})]})]})},ecV=tt.Ay.div(["width:100%;max-width:544px;margin:0 auto;"]),ecU=tt.Ay.div(["margin-bottom:32px;text-align:center;"]),ecW=tt.Ay.div(["",";",";margin-bottom:16px;"],td.o5.XL,td.BO.DemiBold),ecK=tt.Ay.div(["color:",";"],te.Jy.Neutral50),ecq=tt.Ay.div(["width:100%;max-width:416px;margin:0 auto;"]),ecG=({title:e,subtitle:t,children:i})=>(0,J.jsxs)(ecV,{children:[(0,J.jsxs)(ecU,{children:[(0,J.jsx)(ecW,{children:e}),(0,J.jsx)(ecK,{children:t})]}),(0,J.jsx)(ecq,{children:i})]});var ecZ=i(79062);let ecX=()=>{let{status:e,handleSubmit:t}=(()=>{let[e,t]=(0,R.useState)(eZ.Hp.notAsked);return{status:e,handleSubmit:(0,R.useCallback)(async e=>{t(eZ.Hp.loading),(0,N.xP)("submit_sign_up_email");try{let t=ew.D.getItem("provisioning-premium-with-3-auto-apply-credits"),i=t?{...e,career_io_user_free_trial:!0}:e;await Y.uE.post("/account",i),(0,N.xP)("complete_email_sign_up",{funnel:"Builder"}),(0,N._m)("Sign up","Complete Registration",{userEmailEnc:await (0,ecZ.g)(e.email)}),t&&(0,N._m)("TJSS Sign up","Complete Registration"),edp.Q.enterApp()}catch(e){t(eZ.Hp.failed)}},[])}})(),[i,r]=(0,R.useState)("social_methods"),[n,o]=(0,R.useState)(""),[a,l]=(0,R.useState)(""),[s]=(0,i3.ok)(),{i18n:d}=(0,e1.s)(),{getHost:c}=(0,ca.Ay)(),u=s.get("gclid");(0,R.useEffect)(()=>{(0,N._m)("Sign up","Start Funnel")},[]),(0,R.useEffect)(()=>{(0,N.xP)(`visit_${i}_sign_up_step`)},[i]);let p=(0,R.useCallback)(e=>{"email"===e?((0,N.xP)("skip_social_sign_up"),r("introduction")):(0,N.xP)("choose_social_sign_up_method",{network:e})},[]),h=(0,R.useCallback)(e=>{(0,N.xP)("submit_introduction_sign_up_info"),o(e.firstName),l(e.lastName),r("email")},[]),x=(0,R.useCallback)(async({email:e})=>{let{recaptchaToken:i,recaptchaAction:r}=await eoP();t({firstName:n,lastName:a,email:e,gclid:u,recaptchaAction:r||"",recaptchaToken:i||""})},[n,a,u,t]);return"introduction"===i?(0,J.jsx)(ecG,{title:d.t("builder.sign_up.steps.introduction.title"),subtitle:d.t("builder.sign_up.steps.introduction.subtitle"),children:(0,J.jsx)(edb,{firstName:n,lastName:a,onSubmit:h,onBackClick:()=>r("social_methods")})}):"email"===i?(0,J.jsx)(ecG,{title:d.t("builder.sign_up.steps.email.title"),subtitle:d.t("builder.sign_up.steps.email.subtitle"),children:(0,J.jsx)(ecD.x,{onSubmit:x,onBackClick:()=>r("introduction"),isPending:e===eZ.Hp.loading,placeholder:"[email protected]",allowAvailableOnly:!0,autoFocus:!0})}):(0,J.jsx)(ecG,{title:d.t("builder.sign_up.steps.join.title",{host:c}),subtitle:d.t("builder.sign_up.steps.join.subtitle"),children:(0,J.jsx)(ecH,{onChoose:p})})},ecQ=tt.Ay.main(["flex-grow:1;padding:64px 40px;",""],tQ.A.Tablet`
4231    padding-left: 20px;
4232    padding-right: 20px;
4233  `),ecY=()=>{let[e]=(0,ds.p)("current_region_prefix"),t=(0,R.useCallback)(()=>{window.location.href=`/${e??""}`},[e]);return(0,J.jsxs)(esk,{onLogoClick:t,onCloseClick:t,children:[(0,J.jsx)(ecQ,{children:(0,J.jsx)(ecX,{})}),(0,J.jsx)(eoT,{}),(0,J.jsx)(ean,{})]})},ec0=tt.Ay.div(["display:flex;min-height:100vh;position:relative;"]),ec1=(0,tt.Ay)(tP.Ay.Spinner)(["width:64px;
4233height:64px;color:",";animation:"," 0.5s infinite linear;",";border-radius:32px;"],te.Jy.Blue50,im.ni,tr.A.lightWithBorder.mid),ec2=tt.Ay.div(["width:100%;height:100vh;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:32px;"]),ec3=tt.Ay.div(["width:264px;height:28px;text-align:center;",";",";"],td.Ay.Subhead,td.BO.Regular);var ec5=i.p+"media/TRCIOLogoe93411f70eadb992.svg";let ec4=tt.Ay.div(["position:absolute;height:72px;left:0px;right:0px;top:0px;background:rgba(255,255,255,0.92);backdrop-filter:blur(4px);"]),ec6=tt.Ay.div(["opacity:0;",""],tQ.A.Tablet`
4234    border-bottom: 1px solid ${te.Jy.Neutral90};
4235    opacity: 0.08;
4236  `),ec8=tt.Ay.div(["height:inherit;width:100%;display:flex;align-items:center;justify-content:center;text-align:center;"]),ec9=tt.Ay.img(["width:294.25px;height:40px;display:flex;align-items:center;justify-content:center;text-align:center;"]);var ec7=()=>(0,J.jsxs)(ec4,{children:[(0,J.jsx)(ec8,{children:(0,J.jsx)(ec9,{src:ec5})}),(0,J.jsx)(ec6,{})]}),eue=()=>{let e=(0,eU.wA)(),t=(0,eW.N)(U.Tp.tunerResumeId),i=(0,eW.N)(ex.Tp.isTopResumeUser),r=(0,L.Zp)();return(0,R.useEffect)(()=>{e(U.o1.fetchDocuments())},[e]),(0,R.useEffect)(()=>{t&&e(ex.o1.updateIsTopResumeUserFlag({resumeId:t,isTopResumeUser:!0}))},[e,t]),(0,R.useEffect)(()=>{i&&t&&r(`/resumes/${t}/critique?lowLeads=1`)},[i,r,t]),(0,J.jsxs)(ec0,{children:[(0,J.jsx)(ec7,{}),(0,J.jsxs)(ec2,{children:[(0,J.jsx)(ec1,{}),(0,J.jsx)(ec3,{children:"Loading your resume review..."})]})]})},eut=i(44826),eui=i.n(eut),eur=i(56625),eun=i.n(eur),euo=i(34209);let eua=({resume:e,...t})=>{let i=(0,R.useMemo)(()=>e?(0,tv.I)(e,{size:800}):euo,[e]);return(0,J.jsx)(rs,{...t,children:(0,J.jsx)(rd,{children:(0,J.jsx)(rc,{src:i})})})};eua.propTypes={resume:i9().object};var eul=({services:e,checkedNames:t,toggleService:i})=>(0,J.jsx)(rC,{children:e.map(r=>(0,R.createElement)(rG,{...r,key:r.name,checked:t.includes(r.name)||1===e.length,onToggle:()=>i(r.name),disabled:e.length<=1}))});let eus=({resumeId:e,services:t,backUrl:i,onSubmit:r,isSending:n,errors:o})=>{let a=(0,e7.T)(e),[l,s]=(e=>{let t=e=>e.filter(e=>!e.connected).map(e=>e.name),[i,r]=(0,R.useState)(()=>t(e));(0,R.useEffect)(()=>{r(t(e))},[e]);let n=(0,R.useCallback)(e=>r(eun()(i,[e])),[i]);return[i,n]})(t),[d,c]=(e=>{let[t,i]=(0,R.useState)(e);return[t,(0,R.useCallback)((e,t)=>{i(i=>({...i,[e]:t||""}))},[])]})({city:"",zip_code:"",desired_job_title:"",first_name:"",last_name:"",terms_agree:!1}),[u,p]=(0,R.useState)({});(0,R.useEffect)(()=>{if(!a)return;let e=(e,t)=>{t&&(c(e,t),p(t=>({...t,[e]:!0})))};e("city",a.city),e("zip_code",a.postalCode),e("desired_job_title",a.position),e("first_name",a.firstName),e("last_name",a.lastName)},[a,c]);let h=e=>{let{name:t,value:i}=e.target;c(t,i),p(e=>({...e,[t]:!0}))},{isDesktop:x}=(0,ih.e)();return(0,J.jsxs)(ri,{children:[(0,J.jsxs)(rl,{children:[(0,J.jsx)(rr,{children:(0,J.jsxs)(rn,{children:[(0,J.jsx)(ro,{children:i7.R.t("builder.coreg.form.title")}),(0,J.jsx)(ra,{children:i7.R.t("builder.coreg.form.description")})]})}),!x&&(0,J.jsx)(eul,{services:t,checkedNames:l,toggleService:s}),(0,J.jsx)(ru,{onSubmit:t=>{t.preventDefault();let i=d.terms_agree&&l.length>0;for(let e in d)i=i&&eud(d[e]),p(t=>({...t,[e]:!0}));i&&r({...d,boards:l,resume_id:e})},children:(0,J.jsxs)(rp,{children:[o.map((e,t)=>(0,J.jsx)(rh,{children:e},t)),(0,J.jsx)(rx,{children:(0,J.jsx)(rm,{name:"desired_job_title",label:i7.R.t("builder.coreg.form.job_title"),placeholder:i7.R.t("builder.coreg.form.job_title_placeholder"),value:d.desired_job_title,onChange:h,inputIcon:u.desired_job_title&&euc(d.desired_job_title),disabled:n})}),(0,J.jsxs)(rx,{children:[(0,J.jsx)(rm,{name:"first_name",label:i7.R.t("builder.coreg.form.first_name"),value:d.first_name,onChange:h,inputIcon:u.first_name&&euc(d.first_name),disabled:n}),(0,J.jsx)(rm,{name:"last_name",label:i7.R.t("builder.coreg.form.last_name"),value:d.last_name,onChange:h,inputIcon:u.last_name&&euc(d.last_name),disabled:n})]}),(0,J.jsxs)(rx,{children:[(0,J.jsx)(rm,{name:"city",label:i7.R.t("builder.coreg.form.city"),placeholder:i7.R.t("builder.coreg.form.city_placeholder"),value:d.city,onChange:h,inputIcon:u.city&&euc(d.city),disabled:n}),(0,J.jsx)(rm,{name:"zip_code",label:i7.R.t("builder.coreg.form.zip_code"),placeholder:i7.R.t("builder.coreg.form.zip_code_placeholder"),value:d.zip_code,onChange:h,inputIcon:u.zip_code&&euc(d.zip_code),disabled:n})]}),(0,J.jsx)(rb,{children:(0,J.jsx)(eoC.A,{name:"terms_agree",label:i7.R.t("builder.coreg.form.agree"),onChange:()=>
4236c("terms_agree",!d.terms_agree),checked:!!d.terms_agree,invalid:u.terms_agree&&!d.terms_agree})}),(0,J.jsxs)(rf,{children:[i&&(0,J.jsx)(r_,{as:rV,to:i,children:i7.R.t("builder.coreg.form.back")}),(0,J.jsxs)(rv,{isSending:n,type:"submit",children:[(0,J.jsx)(rj,{isSending:n,children:i7.R.t("builder.coreg.form.submit")}),n&&(0,J.jsx)(rA,{})]})]})]})})]}),x&&(0,J.jsxs)(rl,{children:[(0,J.jsx)(eua,{resume:a}),(0,J.jsx)(eul,{services:t,checkedNames:l,toggleService:s})]})]})};eus.propTypes={resumeId:i9().number.isRequired,onSubmit:i9().func.isRequired,isSending:i9().bool,services:i9().array,errors:i9().array,backUrl:i9().string};let eud=e=>eui()(e).length>0,euc=e=>eud(e)?(0,J.jsx)(rg,{}):(0,J.jsx)(ry,{});var euu=(0,R.memo)(eus);let eup=tt.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;flex-grow:1;max-width:968px;margin:0 auto;padding:42px 20px 24px;",";",";",""],tQ.A.Laptop`
4237    max-width: 544px;
4238  `,tQ.A.Tablet`
4239    padding-top: 32px;
4240  `,e=>e.center&&(0,tt.AH)(["justify-content:center;padding-bottom:80px;"])),euh=tt.Ay.div(["",";width:100%;margin:0 auto;padding-top:57px;text-align:center;color:",";",";& a{color:",";}& a:hover{color:",";}"],td.Ay.Tiny,te.Jy.Neutral30,tQ.A.Laptop`
4241    padding-top: 32px;
4242  `,te.Jy.Blue50,te.Jy.Blue70);var eux=()=>{let e=(0,eU.wA)(),t=(0,L.Zp)(),i=(0,L.g)(),r=(0,eU.d4)(H.Tp.isInitialized),n=(0,eU.d4)(H.Tp.isSupported),o=(0,eU.d4)(H.Tp.services,eU.bN),a=(0,eU.d4)(H.Tp.unusedServices,eU.bN),{isSending:l,isSent:s,errors:d}=(0,eU.d4)(H.Tp.sendingState,eU.bN),c=n&&(s||0===a.length),u=parseInt(i.id,10),p=`/resumes/${u}/edit`,h=(0,R.useCallback)(()=>t(p),[p,t]),x=(0,R.useCallback)(t=>e(H.o1.connect(t)),[e]);return(0,R.useEffect)(()=>(e(H.o1.initialize()),()=>e(H.o1.close())),[e]),(0,R.useEffect)(()=>{r&&!n&&h()},[r,n,h]),(0,J.jsxs)(esk,{onCloseClick:h,children:[!c&&(0,J.jsxs)(eup,{children:[(0,J.jsx)(euu,{resumeId:u,services:o,backUrl:p,isSending:l,errors:d,onSubmit:x}),(0,J.jsx)(euh,{children:o.map(e=>(0,J.jsx)("div",{dangerouslySetInnerHTML:{__html:e.disclaimer}},e.name))})]}),c&&(0,J.jsx)(eup,{center:!0,children:(0,J.jsx)(rZ,{services:o,onBack:h})})]})},eum=i.p+"media/account_premium_newc5380927570e7205.svg",eug=i.p+"media/CrownColorFullIcon8fc277e825fde0d7.svg",euy=i.p+"media/CrownColorDottedIcon75233c31ce3f5c22.svg",euf=i.p+"media/PremiumPlusCrownd8638734208e0b61.svg",eub=i.p+"media/account_free_new75233c31ce3f5c22.svg",eu_=i.p+"media/account_premiumab1fc17ec0e70aee.svg",euv=i.p+"media/account_freec3579a3e6d6de273.svg",euj=i.p+"media/stay_in_touchd6d9a0771e4008aa.png",euA=({children:e})=>{let t=(0,e0.U)();return"function"==typeof e?e(t):e};class euC extends R.Component{static propTypes={billingStatus:i9().string,billingInfo:i9().object,config:i9().object.isRequired,account:i9().object,isSevenDaysLeft:i9().bool,hasPremiumPlusFeatures:i9().bool,hasPremiumFeatures:i9().bool,alreadyGotStayInTouchDiscount:i9().bool,openRestartSubscriptionModal:i9().func};static defaultProps={billingStatus:"",billingInfo:{},account:{},isSevenDaysLeft:!1,hasPremiumPlusFeatures:!1};calculateDifferenceInDays=()=>{let{billingInfo:e}=this.props;if(!e?.premiumEndsAt)return 0;let t=Math.floor((new Date(e?.premiumEndsAt)-new Date)/864e5);return(t=Math.max(t,0))+1};checkPremiumConditions(e,t){return{isSevenDaysLeft:e.premiumEndsAt&&7>=t(),isPostPremium:"post_premium"===e.userType}}get messageText(){let{billingStatus:e,billingInfo:t,hasPremiumPlusFeatures:i}=this.props,{isSevenDaysLeft:r,isPostPremium:n}=this.checkPremiumConditions(t,this.calculateDifferenceInDays);return r&&"subscription"!==e?i7.R.t("builder.account.seven_premium_days_text",{when:this.formatDate(t.premiumEndsAt)}):n&&"subscription"!==e?i7.R.t("builder.account.renew_premium_text"):i&&"subscription"===e?i7.R.t("builder.account.premium_plus_text",{when:this.formatDate(t.nextPaymentAt)}):({premium:i7.R.t("builder.account.premium_no_subscription_text",{when:this.formatDate(t.premiumEndsAt)}),subscription:t.onTrial&&!i?i7.R.t("builder.account.trial_subscription_text",{when:this.formatDate(t.nextPaymentAt),trial_days:t.trialDays}):i7.R.t("builder.account.monthly_subscription_text",{when:this.formatDate(t.nextPaymentAt)}),cancelled:i7.R.t("builder.account.premium_subscription_canceled_text",{when:this.formatDate(t.premiumEndsAt)}),free:i7.R.t("builder.account.free_account_text")})[e]||""}get messageTitle(){let{billingStatus:e,billingInfo:t}=this.props,{isSevenDaysLeft:i,isPostPremium:r}=this.checkPremiumConditions(t,this.calculateDifferenceInDays);return i&&"subscription"!==e?i7.R.t("builder.account.seven_premium_days",{days:this.calculateDifferenceInDays()}):r&&"subscription"!==e?i7.R.t("builder.account.renew_premium_title"):"free"===e?i7.R.t("builder.account.free_account"):i7.R.t("builder.account.premium_account")}formatDate(e){return e?(0,az.Yq)(e,void 0,{}
4242,!0):""}reactivate=this.props.config?.features.reactivatePremium&&this.props.billingInfo.canRestartSubscription;handleKeepPremiumClick=()=>{this.props.openRestartSubscriptionModal(),(0,N.xP)("click_keep_premium",{where:"account_settings"})};handleUpgradeClick=()=>{let{billingInfo:e}=this.props,{isSevenDaysLeft:t}=this.checkPremiumConditions(e,this.calculateDifferenceInDays);(0,ln.b)({upgradeUrl:this.props.billingInfo.upgradeUrl}),t?(0,N.xP)("click_keep_premium",{label:"account_settings"}):(0,N.xP)("click_upgrade")};handleManageClick=()=>{(0,ln.b)({upgradeUrl:this.props.billingInfo.upgradeUrl}),(0,N.xP)("click_manage_sub")};render(){let{billingStatus:e,billingInfo:t,hasPremiumPlusFeatures:i,config:r,hasPremiumFeatures:n,alreadyGotStayInTouchDiscount:o}=this.props,a="subscription"===e,l="free"===t.userType,{isSevenDaysLeft:s,isPostPremium:d}=this.checkPremiumConditions(t,this.calculateDifferenceInDays),c=r?.features.resumeDistribution,u=(s||d)&&"subscription"!==e,p=()=>{let{billingStatus:e,hasPremiumPlusFeatures:i,config:r}=this.props;return s&&"subscription"!==e||!t.recurringAmount&&i?eug:d&&"subscription"!==e?euy:i?euf:"free"!==e&&o?euj:r?.features.subCancellationV4?"free"!==e?eum:eub:"free"!==e?eu_:euv},h=()=>(0,J.jsxs)(enz,{isSevenDaysLeft:u,children:[u&&(0,J.jsxs)(enA,{onClick:this.reactivate?this.handleKeepPremiumClick:this.handleUpgradeClick,children:[(0,J.jsx)(enC,{}),s?i7.R.t("builder.account.keep_premium"):i7.R.t("builder.account.renew_premium")]}),l&&(0,J.jsx)(enH,{children:(0,J.jsx)(enb,{onClick:this.handleUpgradeClick,children:i7.R.t("builder.account.upgrade_to_premium")})}),(!u||!s)&&!l&&c&&n&&!i&&(0,J.jsx)(enH,{children:(0,J.jsx)(enj,{onClick:this.handleManageClick,children:i7.R.t("builder.account.manage_subscription")})}),a&&(0,J.jsx)(enH,{children:(0,J.jsx)(en_,{as:i3.N_,to:"/account/cancel-subscription",onClick:()=>(0,N.xP)("visit_subscription_cancellation"),children:i7.R.t("builder.account.cancel_subscription")})})]});return(0,J.jsxs)(eng,{children:[(0,J.jsx)(enp,{children:i?i7.R.t("builder.account.your_subscription"):i7.R.t("builder.account.subscription")}),(0,J.jsx)(env,{children:(0,J.jsxs)(enf,{children:[(0,J.jsxs)(enw,{isSevenDaysLeft:u,children:[(0,J.jsx)(enm,{isSevenDaysLeft:u,src:p(),alt:this.messageText}),(0,J.jsxs)(enO,{children:[(0,J.jsx)(enh,{isSevenDaysLeft:u,children:this.messageTitle}),(0,J.jsx)(enS,{isSevenDaysLeft:s,children:this.messageText})]})]}),h()]})})]})}}let euw={openRestartSubscriptionModal:F.o1.openRestartSubscriptionModal};var euk=(0,eU.Ng)(null,euw)(e=>(0,J.jsx)(euA,{children:t=>(0,J.jsx)(euC,{config:t,...e})}));class euS extends R.Component{static propTypes={item:i9().object,socialUpdating:i9().object,onDisconnect:i9().func};handleDisconnectSocial=e=>{this.props.onDisconnect(e.provider)};handleConnectSocial=e=>{window.location.assign(e.connectionUrl)};render(){let{item:e,socialUpdating:t}=this.props,i=e.connected&&e.handle,{icon:r,name:n}={facebook:{icon:(0,J.jsx)(tP.Ay.Facebook,{}),name:i7.R.t("builder.account.facebook")},linkedin:{icon:(0,J.jsx)(tP.Ay.Linkedin,{}),name:i7.R.t("builder.account.linkedin")},google_oauth2:{icon:(0,J.jsx)(tP.Ay.Google,{}),name:i7.R.t("builder.account.google")}}[e.provider]||{icon:null,name:""};return(0,J.jsxs)(enL,{children:[(0,J.jsxs)(enN,{children:[(0,J.jsx)(enI,{children:r}),(0,J.jsxs)(enM,{children:[n,i&&" • ",i&&(0,J.jsx)("a",{href:e.profileUrl,target:"_blank",rel:"noreferrer noopener",children:e.handle})]})]}),t[e.provider]?(0,J.jsxs)(enF,{children:[(0,J.jsx)(enD,{}),i7.R.t("builder.account.disconnect")]}):(0,J.jsx)(enb,{onClick:e.connected?()=>this.handleDisconnectSocial(e):()=>this.handleConnectSocial(e),children:e.connected?i7.R.t("builder.account.disconnect"):i7.R.t("builder.account.connect")})]})}}class euT extends R.Component{transitionRef=(0,R.createRef)();static propTypes={isUpdating:i9().bool,disable:i9().bool,onClick:i9().func};static defaultProps={isUpdating:!1,disable:!1,onClick:()=>{}};render(){let{isUpdating:e,disable:t,onClick:i}=this.props;return(0,J.jsx)(lj.Ay,{in:e,timeout:{enter:0,exit:1e3},nodeRef:this.transitionRef,children:e=>{switch(e){case"exited":case"entering":return(0,J.jsx)(enb,{onClick:i,disable:t,ref:this.transitionRef,children:i7.R.t("builder.account.save_account")}
4242);case"entered":return(0,J.jsxs)(enB,{ref:this.transitionRef,children:[(0,J.jsx)(enD,{}),i7.R.t("builder.account.saving")]});case"exiting":return(0,J.jsxs)(enB,{ref:this.transitionRef,children:[(0,J.jsx)(en$,{}),i7.R.t("builder.account.saving")]})}}})}}let euP=tt.Ay.label(["display:flex;align-items:center;position:relative;padding:24px 0;border-bottom:1px solid ",";"," outline:none;",";&:first-child{padding-top:0;}&:last-child{padding-bottom:0;border-bottom:none;}"],te.Jy.Neutral20,({$enablePointer:e})=>e&&"cursor: pointer;",tQ.A.Phone`
4243    padding: 20px 0;
4244  `),euJ=tt.Ay.div(["flex-grow:1;"]),euE=tt.Ay.div([""]),euR=tt.Ay.div(["",";color:",";"],td.Ay.Caption,te.Jy.Neutral50),euL=tt.Ay.input(["position:absolute;top:50%;right:0;opacity:0;pointer-events:none;"]),euN=tt.Ay.div(["position:relative;flex-shrink:0;margin-left:24px;width:30px;height:18px;border-radius:9px;transition:background-color 0.15s ease;background-color:",";&:after{content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background-color:",";transition:transform 0.14s ease;transform:translateX(","px);}"],e=>e.checked?te.Jy.Blue50:te.Jy.Neutral20,te.Jy.White,e=>12*!!e.checked),euI=tt.Ay.div(["color:",";",";"," cursor:pointer;"],te.Jy.Blue50,td.Ay.Body,td.BO.Regular);var euM=({name:e,enabled:t,onChange:i})=>{let{i18n:r}=(0,e1.s)(),n=(0,R.useCallback)(t=>{i({name:e,value:t.target.checked})},[e,i]);return(0,J.jsxs)(euP,{$enablePointer:!0,children:[(0,J.jsxs)(euJ,{children:[(0,J.jsx)(euE,{children:r.t(`builder.account.email_notifications.${e}.name`)}),(0,J.jsx)(euR,{children:r.t(`builder.account.email_notifications.${e}.text`)})]}),(0,J.jsx)(euL,{type:"checkbox",checked:t,onChange:n}),(0,J.jsx)(euN,{checked:t})]})};class euB extends R.Component{static propTypes={account:i9().object,deleteConfirmHandler:i9().func,isModalOpen:i9().bool,closeModalHandler:i9().func};static defaultProps={account:{},deleteConfirmHandler:()=>{},isModalOpen:!1,closeModalHandler:()=>{}};handleDeleteModalConfirm=()=>{this.props.deleteConfirmHandler()};isPremiumUser=e=>e?.billingStatus===Z.Xw.premium;isSubscriptionUser=e=>e?.billingStatus===Z.Xw.subscription;isFree=e=>e?.billingStatus===Z.Xw.free;handleDowngrade=e=>window.location.assign("/app/account/cancel-subscription");handleCloseModal=()=>{this.props.closeModalHandler()};formatMembershipEndDate=()=>{if(this.props.account.billingInfo?.premiumEndsAt)return(0,az.Yq)(this.props.account.billingInfo?.premiumEndsAt,"MMMM do, yyyy")};render(){return this.isSubscriptionUser(this.props.account)?(0,J.jsx)(nX.A,{title:dR.Ru.t("builder.account.delete_dialog.title"),text:dR.Ru.t("builder.account.delete_dialog.text.for_subscription_user"),primaryButtonText:dR.Ru.t("builder.account.delete_dialog.delete"),secondaryButtonText:dR.Ru.t("builder.account.delete_dialog.downgrade"),isOpen:this.props.isModalOpen,primaryAction:this.handleDeleteModalConfirm,secondaryAction:this.handleDowngrade,closeAction:this.handleCloseModal}):this.isPremiumUser(this.props.account)?(0,J.jsx)(nX.A,{title:dR.Ru.t("builder.account.delete_dialog.title"),text:dR.Ru.t("builder.account.delete_dialog.text.for_premium_user",{membershipEndDate:this.formatMembershipEndDate()}),primaryButtonText:dR.Ru.t("builder.account.delete_dialog.delete"),secondaryButtonText:dR.Ru.t("builder.account.delete_dialog.keep"),isOpen:this.props.isModalOpen,primaryAction:this.handleDeleteModalConfirm,secondaryAction:this.handleCloseModal,closeAction:this.handleCloseModal}):(0,J.jsx)(nX.A,{title:dR.Ru.t("builder.account.delete_dialog.title"),text:dR.Ru.t("builder.account.delete_dialog.text.for_free_user"),primaryButtonText:dR.Ru.t("builder.account.delete_dialog.delete"),secondaryButtonText:dR.Ru.t("builder.account.delete_dialog.keep_free_account"),isOpen:this.props.isModalOpen,primaryAction:this.handleDeleteModalConfirm,secondaryAction:this.handleCloseModal,closeAction:this.handleCloseModal})}}let euD=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;",""],tQ.A.Phone`
4245    flex-direction: column;
4246    align-items: flex-start;
4247    gap: 16px;
4248  `),eu$=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;"]),euO=tt.Ay.div(["",";",";color:",";"],td.o5.Subhead,td.BO.Medium,te.Jy.Neutral90),euz=tt.Ay.div(["",";color:",";"],td.o5.Caption,te.Jy.Neutral50),euF=tt.Ay.div(["",""],tQ.A.Phone`
4249    width: 100%;
4250  `),euH=["en","en-US","fr-CA","nl-NL","de-DE","es-ES","pt-PT","fr-FR","en-GB","en-NZ","en-AU"],euV=({currentLocale:e})=>{let t=(0,eU.wA)(),i=(0,eW.N)(O.Tp.locales),r=(0,eW.N)(O.Tp.isLoaded),n=(0,eW.N)(e=>X.Tp.config(e,X.l1.app)),o=n?.features.languageSwitcher;(0,R.useEffect)(()=>{r||t(O.o1.fetchEditorPayloadRequest())},[t,r]);let a=(0,R.useMemo)(()=>i.filter(e=>euH.includes(e.id)),[i]),l=(0,R.useMemo)(()=>a.map(e=>({id:e.id,name:e.name,icon:(0,J.jsx)(Go,{locale:e.id})})),[a]),s=(0,R.useCallback)(async e=>{await Y.uE.put("/account",{locale:e}),window.location.reload()},[]);return o&&r&&0!==l.length?(0,J.jsxs)(eng,{children:[(0,J.jsx)(enp,{children:i7.R.t("builder.account.language.section_title")}),(0,J.jsx)(eny,{children:(0,J.jsxs)(euD,{children:[(0,J.jsxs)(eu$,{children:[(0,J.jsx)(euO,{children:i7.R.t("builder.account.language.title")}),(0,J.jsx)(euz,{children:i7.R.t("builder.account.language.description")})]}),(0,J.jsx)(euF,{children:(0,J.jsx)(YP.l,{options:l,selected:e||"en",onSelect:s})})]})})]}):null};var euU=i(18578),euW=i(5005),euK=({name:e,onClick:t})=>{let{i18n:i}=(0,e1.s)();return(0,J.jsxs)(euP,{$enablePointer:!1,children:[(0,J.jsxs)(euJ,{children:[(0,J.jsx)(euE,{children:i.t(`builder.account.email_notifications.${e}.name`)}),(0,J.jsx)(euR,{children:i.t(`builder.account.email_notifications.${e}.text`)})]}),(0,J.jsx)(euI,{onClick:t,children:i.t(`builder.account.email_notifications.${e}.button`)})]})};class euq extends R.Component{static propTypes={account:i9().object,error:i9().string,config:i9().object,isUpdating:i9().bool,socialUpd
4250ating:i9().object,onUpdate:i9().func,onDisconnectSocial:i9().func,onEmailNotificationToggle:i9().func.isRequired,onDelete:i9().func,enableJobAlertFeature:i9().bool,openAlertManage:i9().func};static defaultProps={account:{},config:{},isUpdating:!1,onUpdate:()=>{},onDisconnectSocial:()=>{},onDelete:()=>{}};state={firstName:this.props.account.firstName,lastName:this.props.account.lastName,email:this.props.account.email,changed:!1,isDeleteModalOpen:!1,firstNameError:null,lastNameError:null,emailError:null};handleInputChange=e=>{let{name:t,value:i}=e.target;if(-1===i.search(/(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])/g))"firstName"===t&&this.setState({firstNameError:null}),"lastName"===t&&this.setState({lastNameError:null}),"email"===t&&this.setState({emailError:null}),this.setState({[t]:i,changed:i&&this.props.account[t]!==i});else{let e=i7.R.t("builder.sign_up.emoji_error");"firstName"===t&&this.setState({firstNameError:e}),"lastName"===t&&this.setState({lastNameError:e}),"email"===t&&this.setState({emailError:e})}};handleUpdateClick=e=>{let{firstName:t,lastName:i,email:r}=this.state;this.props.onUpdate({firstName:t,lastName:i,email:r}),this.setState({changed:!1})};openDeleteModal=()=>{this.setState({isDeleteModalOpen:!0})};closeDeleteModal=()=>{this.setState({isDeleteModalOpen:!1})};handleDeleteModalConfirm=()=>{this.props.onDelete()};render(){let{account:e,onDisconnectSocial:t,isUpdating:i,socialUpdating:r,error:n,enableJobAlertFeature:o,openAlertManage:a}=this.props,{firstName:l,lastName:s,email:d,changed:c,firstNameError:u,lastNameError:p,emailError:h}=this.state,x=e.billingInfo.alreadyGotStayInTouchDiscount;return(0,J.jsxs)(end,{children:[(0,J.jsxs)(enc,{children:[(0,J.jsx)(enu,{children:i7.R.t("builder.account.account_settings")}),(0,J.jsx)(euk,{billingInfo:e.billingInfo,billingStatus:e.billingStatus,account:e,hasPremiumPlusFeatures:e.hasPremiumPlusFeatures,hasPremiumFeatures:e.hasPremiumFeatures,alreadyGotStayInTouchDiscount:x}),(0,J.jsxs)(eng,{children:[(0,J.jsx)(enp,{children:i7.R.t("builder.account.account")}
4250),(0,J.jsxs)(eny,{children:[(0,J.jsxs)(enT,{children:[(0,J.jsx)(enP,{children:(0,J.jsx)(re.A,{name:"firstName",label:i7.R.t("builder.account.first_name"),value:l,onChange:this.handleInputChange,disabled:i,error:u})}),(0,J.jsx)(enP,{children:(0,J.jsx)(re.A,{name:"lastName",label:i7.R.t("builder.account.last_name"),value:s,onChange:this.handleInputChange,disabled:i,error:p})})]}),(0,J.jsxs)(enT,{children:[(0,J.jsx)(enP,{children:(0,J.jsx)(re.A,{name:"email",label:i7.R.t("builder.account.email"),value:d,onChange:this.handleInputChange,disabled:i,error:h})}),(0,J.jsxs)(enJ,{children:[n&&(0,J.jsx)(enE,{error:!0,children:n}),!n&&(0,J.jsx)(enE,{children:e.unconfirmedEmail?i7.R.t("builder.account.email_confirmation_text",{email:e.unconfirmedEmail}):i7.R.t("builder.account.email_text")})]})]}),(0,J.jsx)(enR,{children:(0,J.jsx)(euT,{onClick:this.handleUpdateClick,disabled:!c,isUpdating:i})})]})]}),(0,J.jsx)(euV,{currentLocale:e.locale}),(0,J.jsxs)(eng,{children:[(0,J.jsx)(enp,{children:i7.R.t("builder.account.social_profile")}),(0,J.jsx)(eny,{children:e.socialProfiles.map((e,i)=>(0,J.jsx)(euS,{item:e,onDisconnect:t,socialUpdating:r},i))})]}),(0,J.jsxs)(eng,{children:[(0,J.jsx)(enp,{children:i7.R.t("builder.account.email_notifications.section_title")}),(0,J.jsxs)(eny,{children:[ap()(e.emailNotifications,(e,t)=>(0,J.jsx)(euM,{name:t,enabled:e,onChange:this.props.onEmailNotificationToggle},t)),o&&(0,J.jsx)(euK,{name:"job_alert",onClick:()=>a()},"job_alert")]})]}),(0,J.jsxs)(eng,{children:[(0,J.jsx)(enp,{children:i7.R.t("builder.account.danger_zone")}),(0,J.jsx)(eny,{children:(0,J.jsxs)(enk,{children:[(0,J.jsx)(enS,{children:i7.R.t("builder.account.delete_account_warning")}),(0,J.jsx)(en_,{onClick:this.openDeleteModal,children:i7.R.t("builder.account.delete_account")})]})})]})]}),(0,J.jsx)(euB,{account:e,deleteConfirmHandler:this.handleDeleteModalConfirm,isModalOpen:this.state.isDeleteModalOpen,closeModalHandler:this.closeDeleteModal}),(0,J.jsx)(euU.W,{})]})}}var euG=(0,eU.Ng)(e=>({enableJobAlertFeature:eC.Tp.enableJobAlertFeature(e)}),e=>({openAlertManage:()=>e(eC.o1.setAlertType({type:euW._1.manage}))}))(euq);class euZ extends R.Component{static propTypes={user:i9().object,error:i9().string,config:i9().object,isUpdating:i9().bool,socialUpdating:i9().object,updateUser:i9().func,deleteUser:i9().func,toggleEmailNotification:i9().func.isRequired,disconnectSocial:i9().func};componentDidMount(){(0,N.xP)("visit_account_settings")}render(){let{user:e,error:t,config:i,isUpdating:r,updateUser:n,deleteUser:o,toggleEmailNotification:a,disconnectSocial:l,socialUpdating:s}=this.props;return(0,J.jsx)("div",{children:e&&(0,J.jsx)(euG,{account:e,error:t,onUpdate:n,onDelete:o,isUpdating:r,socialUpdating:s,onEmailNotificationToggle:a,onDisconnectSocial:l,config:i})})}}var euX=(0,eU.Ng)(function(e){return{user:e.user.data,error:e.user.error,config:X.Tp.config(e),isUpdating:e.user.isUpdating,socialUpdating:e.user.socialUpdating}},function(e){return{updateUser:t=>e(Z.o1.updateUserRequest(t)),deleteUser:()=>e(Z.o1.deleteUserRequest()),toggleEmailNotification:t=>e(Z.o1.toggleEmailNotification(t)),disconnectSocial:t=>e(Z.o1.disconnectSocialRequest(t))}})(euZ),euQ=i(73916),euY=i.n(euQ),eu0=((h={}).cancel="reason_to_cancel",h),eu1=((x={}).JobOffer="jobOffer",x.Discount="discount",x.FeatureOrProblem="featureOrProblem",x.DreamJob="dreamJob",x.DontNeedPromos="dontNeedPromos",x.OtherReasons="otherReasons",x),eu2=((m={}).Feedback="featureOrProblem",m.OtherReason="otherReasons",m),eu3=((g={}).visit="visit_subscription_cancellation",g.abort="abort_subscription_cancellation",g.pause="pause_subscription",g.cancel="cancel_subscription",g.choice="cancel_reason_choice",g.acceptPromo="promo_acceptance",g.viewPauseModal="see_subscription_pause_modal",g.closePauseModal="close_subscription_pause_modal",g),eu5=((y={}).use="reason_to_use",y.cancel="reason_to_cancel",y),eu4=((f={}).help="help_writing_resume",f.designs="resume_template_designs",f.management="resume_management",f.speed="speed",f.other="other",f),eu6=((b={}).notUsing="not_using_service",b.difficulties="technical_difficulties",b.bug="technical_issue",b.expensive="too_expensive",b.other="other",b);let eu8=i(21509),eu9=tt.Ay.div(["padding:16px 20px;margin-bottom:40px;border-radius:3px;background-color:",";color:",";"],(0,ti.j)(te.Jy.Red50,.15),te.Jy.Red50),eu7=tt.Ay.div(["margin-bottom:48px;",";&:last-child{margin-bottom:0;}"],tQ.A.Phone`
4251    margin-bottom: 40px;
4252  `),epe=tt.Ay.div(["margin-bottom:24px;",";font-weight:600;",";"],td.Ay.S,tQ.A.Phone`
4253    margin-bottom: 16px;
4254  `),ept=tt.Ay.label(["display:flex;align-items:flex-start;margin-bottom:16px;",";color:",";transition:color 0.15s;cursor:pointer;",";&:hover{color:",";}&:last-child{margin-bottom:0;}"],td.Ay.Subhead,e=>e.checked?te.Jy.Neutral90:te.Jy.Neutral60,tQ.A.Phone`
4255    ${td.Ay.Body};
4256    margin-bottom: 12px;
4257  `,te.Jy.Neutral90),epi=tt.Ay.span(["position:relative;flex-shrink:0;margin-top:2px;width:24px;height:24px;border:1px solid ",";border-radius:50%;transition:border-color 0.15s;",":hover &{border-color:",";}",";"," &:before{content:'';position:absolute;top:calc(50% - 6px);left:calc(50% - 6px);width:12px;height:12px;border-radius:50%;background-color:",";opacity:",";}"],te.Jy.Neutral40,ept,te.Jy.Blue50,tQ.A.Phone`
4258    margin-top: 0;
4259  `,e=>e.checked&&(0,tt.AH)(["border-color:",";border-width:2px;"],te.Jy.Blue50),te.Jy.Blue50,e=>+!!e.checked),epr=tt.Ay.span(["margin-left:16px;flex-grow:1;"]),epn=tt.Ay.div(["padding:8px 0;",";"],tQ.A.Phone`
4260    padding: 4px 0 0;
4261  `),epo=tt.Ay.div(["display:flex;align-items:center;margin-bottom:24px;padding:20px;border-radius:6px;background-color:",";",";"],e=>"discount"===e.topic?te.Jy.Indigo10:te.Jy.Blue10,e=>"discount"===e.topic&&(0,tt.AH)(["&:after{content:'';flex-shrink:0;width:160px;height:108px;margin:0 12px 12px 20px;background-image:url(",");background-size:contain;",";}"],eu8,tQ.A.Phone`
4262          display: none;
4263        `)),epa=tt.Ay.div(["flex-grow:1;"]),epl=tt.Ay.div(["font-weight:600;"]),eps=tt.Ay.div(["",";margin-bottom:12px;"],td.Ay.Caption),epd=(0,tt.Ay)(i$.Ay).attrs({size:i$.Mp.small})([""]);(0,tt.Ay)(epd)(["display:inline-flex;align-items:center;padding-left:8px;background-color:",";&:hover,&:active{background-color:",";}"],e=>e.isDisabled?te.Jy.Neutral60:te.Jy.Indigo80,e=>e.isDisabled?te.Jy.Neutral60:te.Jy.Indigo90),(0,tt.Ay)(tP.EK.Crown)(["margin-right:4px;"]);let epc=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;padding-top:48px;border-top:1px solid ",";",";"],te.Jy.Neutral15,tQ.A.Phone`
4264    padding-top: 32px;
4265  `),epu=tt.Ay.div(["max-width:160px;color:",";"],te.Jy.Neutral50),epp=tt.Ay.div(["display:flex;flex-shrink:0;& ","{margin-left:16px;}"],i$.Ay),eph=[eu6.difficulties,eu6.bug],epx=({type:e,reasons:t,selectedReason:i,customAnswer:r,onReasonSelect:n,onCustomAnswerChange:o})=>{let{i18n:a}=(0,e1.s)(),l=window.location.hostname,s="career.io"===l?"https://career.io/contact-us":"/contact",d=a.t("builder.subscription_cancellation.form.reason_to_use"),c=d.replace("Resume.io","Career.io"),u=(0,R.useCallback)(()=>{(0,N.xP)(eu3.abort,{reason:"contacted support"})},[]);return(0,J.jsxs)(eu7,{children:["reason_to_use"===e?(0,J.jsx)(epe,{children:"career.io"===l||"stg.career.io"===l?c:d}):(0,J.jsx)(epe,{children:a.t("builder.subscription_cancellation.form.reason_to_cancel")}),ap()(t,t=>(0,J.jsxs)(R.Fragment,{children:[(0,J.jsxs)(ept,{checked:i===t,onClick:()=>n(e,t),children:[(0,J.jsx)(epi,{checked:i===t}),(0,J.jsx)(epr,{children:a.t(`builder.subscription_cancellation.form.${t}`)})]}),t===i&&eph.includes(t)&&(0,J.jsx)(epo,{children:(0,J.jsxs)(epa,{children:[(0,J.jsx)(epl,{children:a.t("builder.subscription_cancellation.form.we_can_help.title")}),(0,J.jsx)(eps,{children:a.t("builder.subscription_cancellation.form.we_can_help.description")}),(0,J.jsx)(epd,{as:"a",href:s,onClick:u,children:a.t("builder.subscription_cancellation.form.we_can_help.action")})]})}),t===i&&"other"===t&&(0,J.jsx)(epn,{children:(0,J.jsx)(re.l,{rows:4,label:a.t("builder.subscription_cancellation.form.tell_us_reason"),value:r,onChange:t=>o(e,t.target.value)})})]},t))]})},epm={[eu5.use]:eu4,[eu5.cancel]:eu6},epg=({status:e,errorMessage:t,onSubmit:i})=>{let{i18n:r}=(0,e1.s)(),[n,o]=(0,R.useState)(euY()(epm,()=>null)),[a,l]=(0,R.useState)(euY()(epm,()=>"")),s=e===eZ.Hp.loading||!((e,t)=>{let i;for(i in eu5){let r=eu5[i];if(null===e[r]||"other"===e[r]&&0===t[r].length)return!1}return!0})(n,a),d=(0,R.useCallback)((e,t)=>{o(i=>({...i,[e]:t}))},[]),c=(0,R.useCallback)((e,t)=>{l(i=>({...i,[e]:t}))},[]);return(0,J.jsxs)("form",{onSubmit:e=>{(e.preventDefault(),!s)&&i(euY()(n,(e,t)=>"other"===e?a[t]:"reason_to_cancel"===t?`${e}`:i7.R.t(`builder.subscription_cancellation.form.${e}`)))},children:[ap()(eu5,e=>(0,J.jsx)(epx,{type:e,reasons:epm[e],selectedReason:n[e],customAnswer:
4265a[e],onReasonSelect:d,onCustomAnswerChange:c},e)),t&&(0,J.jsx)(eu9,{children:t}),(0,J.jsxs)(epc,{children:[(0,J.jsx)(epu,{children:r.t("builder.subscription_cancellation.form.are_you_sure")}),(0,J.jsxs)(epp,{children:[(0,J.jsx)(i$.Ay,{theme:i$.Ox.ghost,as:i3.N_,to:"/",children:r.t("builder.subscription_cancellation.form.button_no")}),(0,J.jsx)(i$.Ay,{type:"submit",isDisabled:s,children:r.t("builder.subscription_cancellation.form.button_yes")})]})]})]})},epy=i(88011),epf=tt.Ay.div(["flex-grow:1;padding:60px 20px 100px;border-top:1px solid ",";background-color:",";",";"],te.Jy.Neutral15,te.Jy.White,tQ.A.Phone`
4266    border-top: none;
4267    padding-top: 8px;
4268    padding-bottom: 80px;
4269  `),epb=tt.Ay.div(["max-width:544px;margin:0 auto;"]),ep_=tt.Ay.header(["padding-bottom:48px;border-bottom:1px solid ",";margin-bottom:48px;text-align:center;",";&:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0;}"],te.Jy.Neutral15,tQ.A.Phone`
4270    padding-bottom: 40px;
4271    margin-bottom: 40px;
4272  `),epv=tt.Ay.div(["width:80px;height:80px;margin:0 auto 16px;background-image:url(",");background-size:contain;"],epy),epj=tt.Ay.h1(["",";font-weight:700;margin-bottom:20px;",";"],td.Ay.XL,tQ.A.Phone`
4273    margin-bottom: 8px;
4274  `),epA=tt.Ay.div(["",";margin-bottom:24px;&:last-child{margin-bottom:0;}"],td.Ay.Subhead),epC=()=>{let e=(0,eU.wA)(),t=(0,L.Zp)(),i=(0,e4.J)(),{i18n:r}=(0,e1.s)(),n=(0,eW.N)(e=>e.user.cancellationStatus),o=(0,eW.N)(e=>e.user.cancellationError),a=(0,R.useMemo)(()=>i?i.billingStatus===Z.Xw.subscription?"cancelling":i.billingStatus===Z.Xw.cancelled?"cancelled":"denied":"loading",[i]);(0,R.useEffect)(()=>{"denied"===a&&t("/account",{replace:!0})},[a,t]),(0,R.useEffect)(()=>{"cancelled"===a&&window.scrollTo(0,0)},[a]);let l=(0,R.useCallback)(t=>e(Z.o1.cancelUserSubscription(t)),[e]);return"cancelling"===a||"cancelled"===a?(0,J.jsx)(epf,{children:(0,J.jsxs)(epb,{children:[(0,J.jsxs)(ep_,{children:[(0,J.jsx)(epv,{}),(0,J.jsx)(epj,{children:r.t(`builder.subscription_cancellation.header.${a}.title`)}),(0,J.jsx)(epA,{children:r.t(`builder.subscription_cancellation.header.${a}.description`)}),"cancelled"===a&&(0,J.jsx)(i$.Ay,{as:i3.N_,to:"/",children:r.t("builder.subscription_cancellation.header.cancelled.action")})]}),"cancelling"===a&&(0,J.jsx)(epg,{status:n,errorMessage:o,availableFreePeriod:i?i.availableFreePeriod:null,onSubmit:l})]})}):null};var epw=i(77484),epk=((_={}).LossAversion="LOSS_AVERSION",_.MatchingJobs="MATCHING_JOBS",_.AutoApplyCredits="AUTO_APPLY_CREDITS",_.FreeWeekOffer="FREE_WEEK_OFFER",_.ReasonSurvey="REASON_SURVEY",_.Confirmation="CONFIRMATION",_),epS=((v={}).None="NONE",v.PauseExtend="PAUSE_EXTEND",v.LastChanceDiscount="LAST_CHANCE_DISCOUNT",v),epT=((j={}).GotJob="got_job",j.Expensive="expensive",j.Missing="missing",j.DontNeed="dont_need",j.Other="other",j);let epP={job_insurance:"premium_super_discount",discount_33:"premium_discount",discount_50:"premium_50_off_6m"},epJ=(e,t)=>{let i=e.discount_33,r=e.job_insurance,n=e.discount_50,o=[i,r,n].find(e=>e?.currentlyApplied)?.amount,a=e=>!!e&&(void 0===o||e.amount<o);return{freeWeek:!t,mildDiscount:a(i),deepDiscount:a(r),lastChanceDiscount:a(n)}},epE="builder.subscription_cancellation_trial",epR=[{key:"jobs",iconName:"briefcase",color:"blue",titleKey:`${epE}.loss_aversion.pillars.jobs.title`,bodyKey:`${epE}.loss_aversion.pillars.jobs.body`,statLabelKey:`${epE}.loss_aversion.pillars.jobs.stat_label`},{key:"tailor",iconName:"doc",color:"violet",titleKey:`${epE}.loss_aversion.pillars.tailor.title`,bodyKey:`${epE}.loss_aversion.pillars.tailor.body`,statKey:`${epE}.loss_aversion.pillars.tailor.stat`,statLabelKey:`${epE}.loss_aversion.pillars.tailor.stat_label`},{key:"copilot",iconName:"send",color:"green",titleKey:`${epE}.loss_aversion.pillars.copilot.title`,bodyKey:`${epE}.loss_aversion.pillars.copilot.body`,statKey:`${epE}.loss_aversion.pillars.copilot.stat`,statLabelKey:`${epE}.loss_aversion.pillars.copilot.stat_label`},{key:"dist",iconName:"people",color:"amber",titleKey:`${epE}.loss_aversion.pillars.dist.title`,bodyKey:`${epE}.loss_aversion.pillars.dist.body`,statKey:`${epE}.loss_aversion.pillars.dist.stat`,statLabelKey:`${epE}.loss_aversion.pillars.dist.stat_label`}
4274,{key:"learn",iconName:"cap",color:"teal",titleKey:`${epE}.loss_aversion.pillars.learn.title`,bodyKey:`${epE}.loss_aversion.pillars.learn.body`,statKey:`${epE}.loss_aversion.pillars.learn.stat`,statLabelKey:`${epE}.loss_aversion.pillars.learn.stat_label`,wide:!0}],epL=[{id:epT.GotJob,emoji:"☀️",labelKey:`${epE}.reason_survey.reasons.got_job`},{id:epT.Expensive,emoji:"✋",labelKey:`${epE}.reason_survey.reasons.expensive`},{id:epT.Missing,emoji:"\uD83E\uDD14",labelKey:`${epE}.reason_survey.reasons.missing`},{id:epT.DontNeed,emoji:"⏰",labelKey:`${epE}.reason_survey.reasons.dont_need`},{id:epT.Other,emoji:"\uD83D\uDEF8",labelKey:`${epE}.reason_survey.reasons.other`}],epN="builder.subscription_cancellation_subscriber",epI=[{key:"saved_jobs",valueKey:"savedJobs",labelKey:`${epN}.recap.stats.saved_jobs`,trendKey:`${epN}.recap.stats.saved_jobs_trend`},{key:"applied",valueKey:"appsSent",labelKey:`${epN}.recap.stats.applied`,trendKey:`${epN}.recap.stats.applied_trend`},{key:"tailored",valueKey:"tailored",labelKey:`${epN}.recap.stats.tailored`,trendKey:`${epN}.recap.stats.tailored_trend`},{key:"distributed",valueKey:"distributed",labelKey:`${epN}.recap.stats.distributed`,trendKey:`${epN}.recap.stats.distributed_trend`}],epM=[{key:"preferences",titleKey:`${epN}.auto_apply_credits.how_it_works.preferences.title`,bodyKey:`${epN}.auto_apply_credits.how_it_works.preferences.body`},{key:"matching",titleKey:`${epN}.auto_apply_credits.how_it_works.matching.title`,bodyKey:`${epN}.auto_apply_credits.how_it_works.matching.body`},{key:"applying",titleKey:`${epN}.auto_apply_credits.how_it_works.applying.title`,bodyKey:`${epN}.auto_apply_credits.how_it_works.applying.body`}];var epB=i(98186),epD=i(4449);let ep$="#5b3eb5",epO="#4d33a1",epz="#eee9fc",epF="#1f9f5e",epH="#117040",epV="#8a5a0a",epU="#0e6d6b",epW=tt.Ay.div(["width:100%;max-width:1080px;margin:0 auto;display:flex;flex-direction:column;gap:20px;padding:32px 48px 120px;"," ",""],tQ.A.Tablet`
4275    padding: 24px 24px 100px;
4276  `,tQ.A.Phone`
4277    padding: 20px 16px 80px;
4278  `),epK=tt.Ay.div(["font-size:12px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:",";"],te.Jy.Blue60),epq=tt.Ay.h1(["font-family:'TT Talent';font-weight:500;font-size:",";line-height:",";letter-spacing:-0.02em;color:",";margin:0;max-width:24ch;.hl-blue{color:",";}.hl-violet{color:",";}",""],({$compact:e})=>e?"36px":"44px",({$compact:e})=>e?"42px":"50px",te.Jy.Neutral90,te.Jy.Blue50,ep$,({$compact:e})=>e?(0,tt.AH)([""," ",""],tQ.A.Tablet`
4279            font-size: 30px;
4280            line-height: 36px;
4281          `,tQ.A.Phone`
4282            font-size: 26px;
4283            line-height: 32px;
4284          `):(0,tt.AH)([""," ",""],tQ.A.Tablet`
4285            font-size: 36px;
4286            line-height: 42px;
4287          `,tQ.A.Phone`
4288            font-size: 28px;
4289            line-height: 34px;
4290          `)),epG=tt.Ay.p(["font-size:17px;line-height:26px;color:",";max-width:60ch;margin:0;b{color:",";font-weight:600;}"],te.Jy.Neutral50,te.Jy.Neutral90),epZ=tt.Ay.button(["display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border-radius:6px;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer;border:1px solid transparent;transition:all 0.15s ease;background:",";color:",";&:hover{background:",";}"],te.Jy.Blue50,te.Jy.White,te.Jy.Blue60),epX=tt.Ay.button(["display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border-radius:6px;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:all 0.15s ease;background:",";color:",";border:1px solid ",";&:hover{background:",";}"],te.Jy.White,te.Jy.Neutral70,te.Jy.Neutral30,te.Jy.Neutral10),epQ=tt.Ay.button(["background:transparent;border:0;padding:8px 0;color:",";font-size:14px;font-weight:500;text-decoration:none;cursor:pointer;font-family:inherit;&:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Neutral90),epY=(0,tt.Ay)(epZ)(["background:",";border-color:",";&:hover{background:",";border-color:",";}"],ep$,ep$,epO,epO),ep0=(0,tt.Ay)(epX)(["background:",";border-color:",";color:",";font-weight:600;&:hover{background:",";}"],te.Jy.Blue10,te.Jy.Blue30,te.Jy.Blue70,te.Jy.Blue20),ep1=tt.Ay.div(["margin-top:8px;padding-top:22px;border-top:1px solid ",";display:flex;justify-content:space-between;align-items:center;gap:16px;",""],te.Jy.Neutral20,tQ.A.Phone`
4291    flex-direction: column-reverse;
4292    align-items: stretch;
4293    gap: 12px;
4294
4295    > button {
4296      width: 100%;
4297    }
4298  `),ep2=tt.Ay.div(["display:flex;align-items:center;gap:18px;margin-left:auto;",""],tQ.A.Phone`
4299    flex-direction: column;
4300    align-items: stretch;
4301    width: 100%;
4302    margin-left: 0;
4303    gap: 12px;
4304
4305    > button {
4306      width: 100%;
4307    }
4308  `),ep3=tt.Ay.div(["display:grid;grid-template-columns:repeat(2,1fr);gap:14px;",""],tQ.A.Phone`
4309    grid-template-columns: 1fr;
4310  `),ep5={blue:{stripe:te.Jy.Blue50,iconBg:te.Jy.Blue10,iconColor:te.Jy.Blue70,statColor:te.Jy.Blue70},violet:{stripe:"#6840d4",iconBg:epz,iconColor:ep$,statColor:ep$},green:{stripe:"#1f9f5e",iconBg:"#e6f4ec",iconColor:epH,statColor:epH},amber:{stripe:"#f5b73b",iconBg:"#fdf2dc",iconColor:epV,statColor:epV},teal:{stripe:"#0e8a87",iconBg:"#d6f1f0",iconColor:epU,statColor:epU}},ep4=tt.Ay.div(["background:",";border:1px solid ",";border-radius:14px;padding:22px 22px 24px;display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden;box-shadow:0 0 1px 0 rgba(15,56,113,0.32);transition:transform 0.15s,box-shadow 0.15s,border-color 0.15s;"," &::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:",";}&:hover{transform:translateY(-1px);box-shadow:0 0 1px rgba(15,56,113,0.32),0 1px 2px rgba(15,56,113,0.12),0 2px 4px rgba(15,56,113,0.08);}"],te.Jy.White,te.Jy.Neutral20,({$wide:e})=>e&&(0,tt.AH)(["grid-column:1 / -1;"]),({$color:e})=>ep5[e]?.stripe||te.Jy.Blue50),ep6=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:12px;"]),ep8=tt.Ay.span(["width:42px;height:42px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:",";color:",";svg{width:22px;height:22px;fill:none;}"],({$color:e})=>ep5[e]?.iconBg||te.Jy.Blue10,({$color:e})=>ep5[e]?.iconColor||te.Jy.Blue70),ep9=tt.Ay.span(["text-align:right;display:flex;flex-direction:column;align-items:flex-end;line-height:1;margin-top:8px;"]),ep7=tt.Ay.span(["font-family:'TT Talent';font-weight:500;font-size:26px;letter-spacing:-0.02em;color:",";"],({$color:e})=>ep5[e]?.statColor||te.Jy.Blue70),ehe=tt.Ay.span(["font-size:11px;color:",";letter-spacing:0.04em;text-transform:uppercase;margin-top:6px;font-weight:500;"],te.Jy.Neutral50),eht=tt.Ay.div(["font-weight:600;font-size:17px;line-height:22px;color:",";margin-top:4px;"],te.Jy.Neutral90),ehi=tt.Ay.div(["font-size:14px;line-height:20px;color:",";"],te.Jy.Neutral70),ehr=tt.Ay.div(["display:grid;grid-template-columns:repeat(2,1fr);gap:12px;",""],tQ.A.Phone`
4311    grid-template-columns: 1fr;
4312  `),ehn=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;padding:16px 18px;border:1px solid ",";border-radius:12px;background:",";transition:border-color 0.15s,transform 0.15s,box-shadow 0.15s;&:hover{border-color:",";transform:translateY(-1px);box-shadow:0 0 1px 0 rgba(15,56,113,0.32);}"],te.Jy.Neutral20,te.Jy.White,te.Jy.Blue30),eho=tt.Ay.div(["display:flex;align-items:center;gap:14px;"]),eha=tt.Ay.div(["width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:",";font-weight:700;font-size:16px;font-family:'TT Talent';flex-shrink:0;background:",";"],te.Jy.White,({$bgColor:e})=>e),ehl=tt.Ay.div(["min-width:0;flex:1;"]),ehs=tt.Ay.div(["font-weight:600;color:",";font-size:15px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],te.Jy.Neutral90),ehd=tt.Ay.div(["color:",";font-size:13px;line-height:18px;font-weight:500;"],te.Jy.Neutral70),ehc=tt.Ay.button(["background:",";color:",";border:0;border-radius:8px;padding:8px 14px;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;flex-shrink:0;&:hover{background:",";}"],te.Jy.Blue50,te.Jy.White,te.Jy.Blue70),ehu=tt.Ay.div(["display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px;color:",";line-height:18px;border-top:1px solid ",";padding-top:12px;"],te.Jy.Neutral50,te.Jy.Neutral10),ehp=tt.Ay.span(["display:inline-flex;align-items:center;gap:5px;"," svg{width:14px;height:14px;opacity:0.7;fill:none;}"],({$end:e})=>e&&(0,tt.AH)(["margin-left:auto;"])),ehh=tt.Ay.span(["background:",";color:",";font-size:11px;font-weight:600;padding:3px 9px;border-radius:999px;letter-spacing:0.02em;"],te.Jy.Blue10,te.Jy.Blue70),ehx=tt.Ay.div(["display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:8px;"," ",""],tQ.A.Tablet`
4313    grid-template-columns: repeat(3, 1fr);
4314  `,tQ.A.Phone`
4315    grid-template-columns: 1fr;
4316    gap: 0;
4317    margin-top: 16px;
4318    border: 1px solid ${te.Jy.Neutral20};
4319    border-radius: 12px;
4320    overflow: hidden;
4321  `),ehm=tt.Ay.button(["background:",";border:1px solid ",";border-radius:12px;padding:22px 12px 20px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:12px;font-family:inherit;min-height:132px;transition:all 0.15s ease;"," &:hover{border-color:",";transform:translateY(-1px);box-shadow:0 0 1px 0 rgba(15,56,113,0.32);}",""],({$selected:e})=>e?te.Jy.Blue10:te.Jy.White,({$selected:e})=>e?te.Jy.Blue50:te.Jy.Neutral20,({$selected:e})=>e&&(0,tt.AH)(["box-shadow:0 0 0 3px rgba(47,141,235,0.15);"]),te.Jy.Blue30,tQ.A.Phone`
4322    flex-direction: row;
4323    align-items: center;
4324    justify-content: flex-start;
4325    gap: 16px;
4326    min-height: auto;
4327    padding: 16px 18px;
4328    border: none;
4329    border-radius: 0;
4330    border-bottom: 1px solid ${te.Jy.Neutral20};
4331    box-shadow: none;
4332
4333    &:last-child {
4334      border-bottom: none;
4335    }
4336
4337    &:hover {
4338      border-color: transparent;
4339      border-bottom: 1px solid ${te.Jy.Neutral20};
4340      transform: none;
4341      box-shadow: none;
4342    }
4343
4344    &::after {
4345      content: '';
4346      margin-left: auto;
4347      width: 9px;
4348      height: 9px;
4349      border-right: 2px solid ${te.Jy.Blue50};
4350      border-top: 2px solid ${te.Jy.Blue50};
4351      transform: rotate(45deg);
4352      flex-shrink: 0;
4353    }
4354  `),ehg=tt.Ay.span(["font-size:28px;line-height:1;",""],tQ.A.Phone`
4355    font-size: 26px;
4356    flex-shrink: 0;
4357  `),ehy=tt.Ay.span(["font-size:14px;line-height:18px;color:",";font-weight:500;text-align:center;",""],te.Jy.Neutral90,tQ.A.Phone`
4358    flex: 1;
4359    text-align: left;
4360    font-size: 15px;
4361    line-height: 20px;
4362  `),ehf={blue:"linear-gradient(135deg, #eaf3fd, #f7faff)",green:"linear-gradient(135deg, #e6f6ee, #f3fbf6)",amber:"linear-gradient(135deg, #fff6e0, #fffaf0)",violet:"linear-gradient(135deg, #f1ecfc, #faf7ff)"},ehb={blue:te.Jy.Blue20,green:"#c5ead4",amber:"#fbe2ad",violet:"#d8c8f3"},eh_=tt.Ay.div(["display:grid;grid-template-columns:1.4fr 1fr;gap:32px;align-items:center;border-radius:16px;padding:32px 36px;border:1px solid ",";margin-top:8px;position:relative;background:",";"," ",""],({$variant:e})=>ehb[e]||te.Jy.Blue20,({$variant:e})=>ehf[e]||ehf.blue,tQ.A.Tablet`
4363    grid-template-columns: 1fr;
4364  `,tQ.A.Phone`
4365    gap: 20px;
4366    padding: 24px 20px;
4367
4368    /* Hide the optional illustration (always after OfferContent) without
4369       hiding content-only panels. */
4370    > *:not(:first-child) {
4371      display: none !important;
4372    }
4373  `),ehv=tt.Ay.h3(["font-family:'TT Talent';font-weight:500;font-size:28px;line-height:34px;letter-spacing:-0.01em;margin:0 0 10px;color:",";max-width:22ch;",""],te.Jy.Neutral90,tQ.A.Phone`
4374    font-size: 24px;
4375    line-height: 30px;
4376    max-width: none;
4377  `),ehj=tt.Ay.p(["font-size:15px;line-height:22px;color:",";margin:0 0 18px;max-width:50ch;"],te.Jy.Neutral70),ehA=tt.Ay.ul(["list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px;"]),ehC=tt.Ay.li(["display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:20px;color:",";svg{flex-shrink:0;margin-top:3px;color:",";fill:none;}"],te.Jy.Neutral70,epF),ehw=tt.Ay.div(["display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:16px;"]),ehk=tt.Ay.span(["font-family:'TT Talent';font-size:44px;font-weight:600;color:",";letter-spacing:-0.02em;line-height:1;"],te.Jy.Neutral90),ehS=tt.Ay.span(["font-size:15px;color:",";font-weight:400;"],te.Jy.Neutral50),ehT=tt.Ay.span(["font-size:18px;color:",";text-decoration:line-through;"],te.Jy.Neutral40),ehP=tt.Ay.span(["padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:0.04em;background:",";color:",";"],({$bg:e})=>e||te.Jy.Blue10,({$color:e})=>e||te.Jy.Blue70),ehJ=tt.Ay.p(["font-size:12px;line-height:1.4;color:",";margin:-8px 0 16px;"],te.Jy.Neutral50),ehE=tt.Ay.div(["display:flex;gap:12px;flex-wrap:wrap;align-items:center;",""],tQ.A.Phone`
4378    flex-direction: column;
4379    align-items: stretch;
4380
4381    > button {
4382      width: 100%;
4383      margin-left: 0;
4384    }
4385  `),ehR=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:16px;padding:32px 0 12px;"]),ehL=tt.Ay.div(["color:",";
4385svg,svg circle,svg path{fill:none;stroke:currentColor;}"],epF),ehN=tt.Ay.div(["display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr;gap:20px 18px;align-items:center;padding:24px 28px;background:",";border:1px solid ",";border-radius:12px;box-shadow:0 0 1px 0 rgba(15,56,113,0.32);",""],te.Jy.White,te.Jy.Neutral20,tQ.A.Tablet`
4386    grid-template-columns: auto 1fr;
4387  `),ehI=tt.Ay.span(["color:",";display:inline-flex;padding:8px;background:",";border-radius:8px;svg,svg circle,svg path,svg rect{fill:none;stroke:currentColor;}"],te.Jy.Blue50,te.Jy.Blue10),ehM=tt.Ay.div(["font-size:12px;color:",";letter-spacing:0.08em;text-transform:uppercase;font-weight:600;"],te.Jy.Neutral40),ehB=tt.Ay.div(["font-size:15px;color:",";font-weight:500;line-height:20px;"],te.Jy.Neutral90),ehD=tt.Ay.div(["display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:flex-start;background:",";border:1px solid ",";border-radius:12px;padding:20px 24px;> svg{color:",";margin-top:2px;}svg,svg circle,svg path,svg rect{fill:none;stroke:currentColor;}"],te.Jy.Blue10,te.Jy.Blue20,te.Jy.Blue60),eh$=tt.Ay.div(["font-size:14px;line-height:22px;color:",";b{color:",";font-weight:600;}"],te.Jy.Neutral70,te.Jy.Neutral90),ehO=(0,tt.i7)(["from{transform:translateY(14px);opacity:0;}to{transform:translateY(0);opacity:1;}"]),ehz=tt.Ay.div(["position:relative;width:min(640px,100%);background:",";border-radius:18px;box-shadow:0 30px 80px -20px rgba(15,23,42,0.35),0 8px 24px -8px rgba(15,23,42,0.18);padding:36px 38px 32px;z-index:2;border-top:5px solid ",";animation:"," 0.28s cubic-bezier(0.2,0.7,0.25,1);@media (prefers-reduced-motion:reduce){animation:none;}",""],te.Jy.White,({$accent:e})=>"violet"===e?ep$:te.Jy.Blue50,ehO,tQ.A.Phone`
4388    padding: 28px 20px 24px;
4389  `),ehF=tt.Ay.button(["position:absolute;top:18px;right:18px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;border-radius:50%;background:transparent;color:",";cursor:pointer;transition:background-color 0.2s;&:hover{background:",";}svg{width:20px;height:20px;}"],te.Jy.Neutral50,te.Jy.Neutral10),ehH=tt.Ay.div(["font-family:inherit;text-transform:uppercase;letter-spacing:1.4px;font-size:11px;font-weight:600;color:",";margin-bottom:10px;"],({$violet:e})=>e?ep$:te.Jy.Blue70),ehV=tt.Ay.h2(["font-family:'TT Talent';font-size:30px;line-height:1.15;letter-spacing:-0.01em;font-weight:600;margin:0 0 12px;color:",";.hl-blue{color:",";}.hl-violet{color:",";}"],te.Jy.Neutral90,te.Jy.Blue50,ep$),ehU=tt.Ay.p(["font-size:15px;line-height:1.55;color:",";margin:0 0 20px;max-width:56ch;"],te.Jy.Neutral70),ehW=tt.Ay.ul(["list-style:none;padding:0;margin:0 0 22px;display:grid;gap:10px;"]),ehK=tt.Ay.li(["display:flex;gap:10px;align-items:flex-start;font-size:14px;color:",";svg{flex:none;color:",";margin-top:3px;}"],te.Jy.Neutral80,epF),ehq=tt.Ay.div(["display:flex;align-items:baseline;gap:14px;padding:14px 16px;background:",";border-radius:12px;margin-bottom:18px;flex-wrap:wrap;"],"#faf7ff"),ehG=tt.Ay.span(["font-family:'TT Talent';font-size:30px;font-weight:600;color:",";"],ep$),ehZ=tt.Ay.span(["font-size:14px;font-weight:400;color:",";margin-left:2px;"],te.Jy.Neutral50),ehX=tt.Ay.span(["font-size:14px;color:",";text-decoration:line-through;"],te.Jy.Neutral50),ehQ=tt.Ay.span(["margin-left:auto;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:",";color:",";letter-spacing:0.2px;"],epz,ep$),ehY=tt.Ay.p(["font-size:12px;line-height:1.4;color:",";margin:-12px 0 16px;"],te.Jy.Neutral50),eh0=tt.Ay.div(["display:flex;align-items:center;gap:12px;flex-wrap:wrap;",""],tQ.A.Phone`
4390    flex-direction: column-reverse;
4391    align-items: stretch;
4392
4393    > button {
4394      width: 100%;
4395    }
4396  `),eh1=(0,tt.Ay)(epQ)(["font-size:14px;color:",";margin-left:auto;&:hover{color:",";}",""],te.Jy.Neutral60,te.Jy.Neutral90,tQ.A.Phone`
4397    margin-left: 0;
4398    text-align: center;
4399  `),eh2=tt.Ay.button(["display:none;",""],tQ.A.Phone`
4400    display: inline-flex;
4401    align-items: center;
4402    justify-content: center;
4403    width: 44px;
4404    height: 44px;
4405    margin-top: -8px;
4406    border-radius: 50%;
4407    border: 1px solid ${te.Jy.Neutral20};
4408    background: ${te.Jy.White};
4409    cursor: pointer;
4410
4411    &::before {
4412      content: '';
4413      width: 9px;
4414      height: 9px;
4415      border-left: 2px solid ${te.Jy.Neutral70};
4416      border-bottom: 2px solid ${te.Jy.Neutral70};
4417      transform: translateX(2px) rotate(45deg);
4418    }
4419
4420    &:hover {
4421      border-color: ${te.Jy.Neutral40};
4422    }
4423  `),eh3=tt.Ay.div(["text-align:center;color:",";font-size:14px;padding:28px;border:1px dashed ",";border-radius:12px;",""],te.Jy.Neutral40,te.Jy.Neutral20,tQ.A.Phone`
4424    display: none;
4425  `),eh5=tt.Ay.div(["display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;background:linear-gradient(135deg,#eaf3fd,#f7faff);border:1px solid ",";border-radius:12px;padding:24px;",""],te.Jy.Blue20,tQ.A.Phone`
4426    grid-template-columns: 1fr;
4427    text-align: center;
4428  `),eh4=tt.Ay.div(["width:56px;height:56px;border-radius:14px;background:",";color:",";display:flex;align-items:center;justify-content:center;",""],te.Jy.Blue50,te.Jy.White,tQ.A.Phone`
4429    display: none;
4430  `),eh6=tt.Ay.div(["font-weight:600;font-size:17px;color:",";line-height:22px;margin-bottom:4px;"],te.Jy.Neutral90),eh8=tt.Ay.div(["font-size:14px;color:",";line-height:20px;"],te.Jy.Neutral50),eh9=tt.Ay.textarea(["width:100%;min-height:80px;padding:12px;border-radius:8px;border:1px solid ",";background:",";font-family:inherit;font-size:14px;resize:vertical;&:focus{outline:none;border-color:",";}"],te.Jy.Neutral30,te.Jy.White,te.Jy.Blue50),eh7=tt.Ay.label(["display:flex;align-items:flex-start;gap:8px;font-size:14px;color:",";cursor:pointer;input[type='checkbox']{margin-top:3px;accent-color:",";width:16px;height:16px;cursor:pointer;}"],te.Jy.Neutral70,te.Jy.Blue50),exe=tt.Ay.div(["font-size:12px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:",";margin-bottom:10px;"],({$color:e})=>e||te.Jy.Blue70),ext=tt.Ay.div([""]),exi=tt.Ay.div(["display:flex;justify-content:center;margin-top:4px;margin-bottom:8px;"]),exr=tt.Ay.div([""]),exn=tt.Ay.div([""]),exo=tt.Ay.div([""]),exa=tt.Ay.span([""]),exl=tt.Ay.input.attrs({type:"checkbox"})([""]),exs=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:12px;"]),exd=tt.Ay.div(["font-family:'TT Commons',sans-serif;font-size:11px;color:#1f5fab;font-weight:600;letter-spacing:2.2px;text-align:center;"]),exc=tt.Ay.div(["display:grid;grid-template-columns:repeat(4,1fr);gap:16px;"," ",""],tQ.A.Tablet`
4431    grid-template-columns: repeat(2, 1fr);
4432  `,tQ.A.Phone`
4433    grid-template-columns: 1fr;
4434  `),exu=tt.Ay.div(["background:",";border:1px solid ",";border-radius:12px;padding:22px 22px 20px;display:flex;flex-direction:column;gap:6px;box-shadow:0 0 1px 0 rgba(15,56,113,0.32);"],te.Jy.White,te.Jy.Neutral20),exp=tt.Ay.div(["font-family:'TT Talent';font-weight:500;font-size:36px;letter-spacing:-0.02em;color:",";line-height:1;"],te.Jy.Neutral90),exh=tt.Ay.div(["font-size:14px;color:",";line-height:18px;min-height:36px;"],te.Jy.Neutral50),exx=tt.Ay.div(["display:flex;align-items:center;gap:4px;font-size:13px;font-weight:500;color:",";line-height:18px;margin-top:4px;svg{width:14px;
4434height:14px;}"],({$amber:e})=>e?"#8a5a0a":"#117040"),exm=tt.Ay.div(["background:",";border:1px solid ",";border-radius:14px;padding:24px 28px;display:grid;grid-template-columns:1.05fr 1.25fr;column-gap:32px;row-gap:20px;align-items:center;box-shadow:0 0 1px 0 rgba(15,56,113,0.32);",""],te.Jy.White,te.Jy.Neutral20,tQ.A.Phone`
4435    grid-template-columns: 1fr;
4436  `),exg=tt.Ay.div(["display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:0.06em;color:",";"],({$amber:e})=>e?"#8a5a0a":te.Jy.Blue70),exy=tt.Ay.span(["width:8px;height:8px;border-radius:50%;background:",";flex-shrink:0;"],({$amber:e})=>e?"#f5b73b":te.Jy.Blue50),exf=tt.Ay.button(["margin-top:14px;align-self:flex-start;padding:11px 20px;border:none;border-radius:8px;background:",";color:",";font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;&:hover{background:",";}"],te.Jy.Blue50,te.Jy.White,te.Jy.Blue60),exb=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;"]),ex_=tt.Ay.h4(["font-family:'TT Talent';font-weight:500;font-size:22px;line-height:28px;letter-spacing:-0.01em;color:",";margin:0;max-width:30ch;text-wrap:balance;"],te.Jy.Neutral90),exv=tt.Ay.div(["font-size:13px;color:",";line-height:18px;"],te.Jy.Neutral50),exj=tt.Ay.div(["display:grid;grid-template-columns:repeat(2,1fr);gap:0;border-left:1px solid ",";",""],te.Jy.Neutral20,tQ.A.Phone`
4437    border-left: none;
4438    border-top: 1px solid ${te.Jy.Neutral20};
4439    padding-top: 16px;
4440  `),exA=tt.Ay.div(["padding:4px 20px;border-right:1px solid ",";&:last-child{border-right:none;}",""],te.Jy.Neutral20,tQ.A.Phone`
4441    &:first-child {
4442      padding-left: 0;
4443    }
4444  `),exC=tt.Ay.div(["font-family:'TT Talent';font-weight:500;font-size:32px;line-height:36px;letter-spacing:-0.01em;color:",";"],te.Jy.Neutral90),exw=tt.Ay.div(["font-size:13px;color:",";line-height:18px;margin-top:4px;text-wrap:balance;"],te.Jy.Neutral60),exk=tt.Ay.div(["grid-column:1 / -1;margin-top:4px;padding:14px 18px;background:",";border-left:3px solid ",";border-radius:0 8px 8px 0;font-size:14px;color:",";line-height:20px;"],te.Jy.Green10,te.Jy.Green50,te.Jy.Neutral90),exS=tt.Ay.span(["display:inline-block;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;font-size:11px;color:",";margin-right:8px;"],te.Jy.Green70),exT=tt.Ay.div(["display:flex;align-items:center;gap:28px;padding:8px 0 4px;",""],tQ.A.Phone`
4445    flex-direction: column;
4446    align-items: flex-start;
4447    gap: 12px;
4448  `),exP=tt.Ay.div(["font-family:'TT Talent';font-weight:500;font-size:128px;line-height:1;letter-spacing:-0.04em;color:",";font-variant-numeric:tabular-nums;",""],te.Jy.Blue50,tQ.A.Phone`
4449    font-size: 88px;
4450  `),exJ=tt.Ay.span(["font-size:48px;color:",";letter-spacing:-0.02em;",""],te.Jy.Neutral50,tQ.A.Phone`
4451    font-size: 34px;
4452  `),exE=tt.Ay.div(["font-weight:600;font-size:23px;line-height:28px;color:",";"],te.Jy.Neutral90),exR=tt.Ay.div(["font-size:15px;line-height:20px;color:",";margin-top:6px;"],te.Jy.Neutral50),exL=tt.Ay.div(["display:grid;grid-template-columns:repeat(3,1fr);gap:14px;",""],tQ.A.Tablet`
4453    grid-template-columns: 1fr;
4454  `),exN=tt.Ay.div(["background:",";border-radius:12px;padding:20px 22px;display:flex;flex-direction:column;gap:6px;"],te.Jy.Neutral5),exI=tt.Ay.div(["width:28px;height:28px;border-radius:50%;background:",";color:",";display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;margin-bottom:6px;"],te.Jy.Blue50,te.Jy.White),exM=tt.Ay.div(["font-weight:600;font-size:15px;line-height:20px;color:",";"],te.Jy.Neutral90),exB=tt.Ay.div(["font-size:14px;line-height:20px;color:",";text-wrap:pretty;"],te.Jy.Neutral70),exD=tt.Ay.div(["background:",";border:1px solid ",";border-radius:14px;overflow:hidden;box-shadow:0 0 1px 0 rgba(15,56,113,0.32);"],te.Jy.White,te.Jy.Neutral20),ex$=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;background:",";border-bottom:1px solid ",";",""],te.Jy.Neutral5,te.Jy.Neutral20,tQ.A.Phone`
4455    flex-direction: column;
4456    align-items: flex-start;
4457    gap: 4px;
4458    padding: 14px 16px;
4459  `),exO=tt.Ay.div(["font-weight:600;font-size:16px;color:",";"],te.Jy.Neutral90),exz=tt.Ay.div(["font-size:14px;color:",";"],te.Jy.Neutral50),exF=(0,tt.Ay)(epB.A)(["","{line-height:0;}"],epD.r),exH=tt.Ay.div(["display:grid;grid-template-columns:44px minmax(180px,1fr) minmax(0,1.4fr) auto;gap:18px;align-items:center;padding:16px 24px;border-bottom:1px solid ",";&:last-child{border-bottom:0;}",""],te.Jy.Neutral20,tQ.A.Phone`
4460    grid-template-columns: 44px 1fr;
4461    gap: 12px;
4462    padding: 16px;
4463  `),exV=tt.Ay.div(["font-weight:600;font-size:15px;line-height:20px;color:",";"],te.Jy.Neutral90),exU=tt.Ay.div(["font-size:13px;line-height:18px;color:",";margin-top:2px;"],te.Jy.Neutral50),exW=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;min-width:0;",""],tQ.A.Phone`
4464    grid-column: 2 / -1;
4465  `),exK=tt.Ay.span(["align-self:flex-start;font-size:12px;font-weight:600;letter-spacing:0.02em;color:#8a5a0a;background:#fdf6e3;border-radius:999px;padding:2px 10px;"]),exq=tt.Ay.div(["font-size:14px;line-height:20px;color:",";text-wrap:pretty;"],te.Jy.Neutral70),exG=(0,tt.Ay)(epX)(["padding:8px 16px;font-size:14px;",""],tQ.A.Phone`
4466    grid-column: 1 / -1;
4467    width: 100%;
4468  `),exZ=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;"]),exX="builder.subscription_cancellation_subscriber.auto_apply_credits",exQ="builder.subscription_cancellation_subscriber.shared",exY=({cohort:e,firstName:t,credits:i,needsInfo:r,onSetupAutoApply:n,onAnswerCard:o,onContinue:a,eyebrowKey:l=`${exQ}.eyebrow`})=>{let{i18n:s}=(0,e1.s)(),{variant:d,creditsPerDay:c,usedToday:u,availableToday:p,sentEver:h,isLoading:x}=i,{cards:m,cardCount:g,questionCount:y}=r,f="needs_info"===d,b=x||r.isLoading,_=(0,R.useRef)(!1);(0,R.useEffect)(()=>{b||_.current||(_.current=!0,(0,N.xP)("see_auto_apply_credits_screen",{variant:d,type:e}))},[b,d,e]);let v=s.t(`${exX}.${d}.title_html`,{first_name:t,credits:p,count:g});return(0,J.jsxs)(epW,{"data-testid":"auto-apply-credits-step",children:[(0,J.jsx)(epK,{children:s.t(l)}),b?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(exZ,{"data-testid":"auto-apply-credits-skeleton",children:[(0,J.jsx)(epw.E,{$width:"90%",$height:"44px"}),(0,J.jsx)(epw.E,{$width:"60%",$height:"44px"})]}),(0,J.jsxs)(exZ,{children:[(0,J.jsx)(epw.E,{$width:"100%",$height:"18px"}),(0,J.jsx)(epw.E,{$width:"75%",$height:"18px"})]}),(0,J.jsx)(epw.E,{$width:"100%",$height:"128px"}),(0,J.jsx)(exL,{children:epM.map(e=>(0,J.jsx)(epw.E,{$height:"120px"},e.key))})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(epq,{style:{maxWidth:"none"},dangerouslySetInnerHTML:{__html:sJ.A.sanitize(v)}}),(0,J.jsx)(epG,{style:{maxWidth:"none"},children:s.t(`${exX}.${d}.lede`,{credits:p,credits_per_day:c,used:u,sent:h})}),f?(0,J.jsxs)(exD,{"data-testid":"auto-apply-pending-panel",children:[(0,J.jsxs)(ex$,{children:[(0,J.jsx)(exO,{children:s.t(`${exX}.pending.title`)}),(0,J.jsxs)(exz,{children:[(0,J.jsx)("span",{children:s.t(`${exX}
4468.pending.questions`,{count:y})})," \xb7 ",(0,J.jsx)("span",{children:s.t(`${exX}.pending.applications`,{count:g})})]})]}),m.map(e=>(0,J.jsxs)(exH,{"data-testid":"auto-apply-pending-row",children:[(0,J.jsx)(exF,{src:e.logo||void 0,alt:e.company||e.title,size:44,borderRadius:"10px"}),(0,J.jsxs)("div",{children:[(0,J.jsx)(exV,{children:e.title}),(0,J.jsx)(exU,{children:[e.company,e.location].filter(Boolean).join(" \xb7 ")})]}),(0,J.jsxs)(exW,{children:[(0,J.jsx)(exK,{children:s.t(`${exX}.pending.badge`,{count:e.questions.length})}),(0,J.jsx)(exq,{children:s.t(`${exX}.pending.question_quote`,{question:e.questions[0]})})]}),(0,J.jsx)(exG,{onClick:()=>o(e.id),children:s.t(`${exX}.pending.answer`)})]},e.id))]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(exT,{children:[(0,J.jsxs)(exP,{"data-testid":"auto-apply-credits-available",children:[p,u>0&&(0,J.jsxs)(exJ,{children:[" / ",c]})]}),(0,J.jsxs)("div",{children:[(0,J.jsx)(exE,{children:s.t(`${exX}.counter_title`)}),(0,J.jsx)(exR,{children:s.t(`${exX}.counter_subtitle`)})]})]}),(0,J.jsx)(exL,{children:epM.map((e,t)=>(0,J.jsxs)(exN,{children:[(0,J.jsx)(exI,{children:t+1}),(0,J.jsx)(exM,{children:s.t(e.titleKey)}),(0,J.jsx)(exB,{children:s.t(e.bodyKey)})]},e.key))})]})]}),(0,J.jsx)(ep1,{children:(0,J.jsxs)(ep2,{children:[b?(0,J.jsx)(epw.E,{$width:"200px",$height:"48px"}):(0,J.jsx)(epZ,{"data-testid":"auto-apply-credits-cta",onClick:n,children:s.t(`${exX}.${d}.cta`,{count:y})}),(0,J.jsx)(epQ,{"data-testid":"auto-apply-credits-continue",onClick:()=>{(0,N.xP)("click_continue_cancellation",{screen:"auto_apply_credits",type:e,variant:b?void 0:d}),a()},children:s.t(`${exQ}.continue_cancellation`)})]})})]})},ex0=({screen:e,action:t,type:i,reason:r})=>(0,N.xP)("abort_subscription_cancellation",{reason:r||void 0,screen:e,action:t,type:i}),ex1=({reason:e,...t})=>(0,N.xP)("promo_acceptance",{...t,reason:e||""}),ex2=()=>(0,r2.I)({queryKey:["cancellationCouponStats"],queryFn:async()=>{let{data:e}=await Y.R3.get("/api/builder/subscription/cancellation_coupon_stats");return e}}),ex3={variant:"never",usageVariant:"never",creditsPerDay:0,usedToday:0,availableToday:0,sentEver:0,awaitingAnswers:0,hasUnusedCredits:!1};var ex5=i(58918),ex4=i(83419);let ex6={cards:[],cardCount:0,questionCount:0,isLoading:!1},ex8=e=>{let t=(0,eU.wA)(),i=(0,L.Zp)(),r=(()=>{let e=(0,eW.N)(Z.Tp.userData),{data:t,isLoading:i}=ex2(),{data:r,isLoading:n}=(0,bS.i)(),o=i||n,a=e?.scopes?.autoApply;if("object"!=typeof a||null===a||"free"===a.autoApplyPlanType)return{...ex3,isLoading:o};let l=a.creditCount,s=Math.min(a.creditCountUsed,l),d=Math.max(l-s,0),c=t?.jobsAutoApplied??0,u=r?.needReview??0,p="never";return s>0?p="partial":c>0&&(p="lapsed"),{variant:u>0?"needs_info":p,usageVariant:p,creditsPerDay:l,usedToday:s,availableToday:d,sentEver:c,awaitingAnswers:u,hasUnusedCredits:d>0,isLoading:o}})(),n=(e=>{let t=(0,eW.N)(Z.Tp.userData),i=t?.email||"",{data:r,isInitialLoading:n}=(0,r2.I)({queryKey:["cancellationNeedsInfoCards"],enabled:e,queryFn:async()=>(await Y.R3.get("job-cards",{params:{auto_apply_status:"information_required"}})).data});if(!r)return{...ex6,isLoading:n};let o=r.data.map(e=>{var t;let r,n,o,a,l;return t=(0,ex4._n)(e.applicationAnswers??[]),r=t.reduce((e,t)=>(e[t.id]=(0,ex5.li)((0,ex4._e)(t,i),t.field),e),{}),0===(l=(a=(o=(n=t.filter(e=>!(0,ex4.d4)(e,()=>(0,ex5.H1)(r[e.id],e.field)))).filter(e=>e.field?.required===!0)).length>0?o:n).map(e=>(0,ex4.IR)(e,a)).filter(Boolean)).length?null:{id:e.id,title:e.title??"",company:e.company??"",location:e.location??"",logo:e.logo??"",questions:l}}).filter(e=>null!==e);return{cards:o,cardCount:o.length,questionCount:o.reduce((e,t)=>e+t.questions.length,0),isLoading:n}})("needs_info"===r.variant),o=(0,R.useMemo)(()=>{let e=!n.isLoading&&0===n.cardCount;return"needs_info"===r.variant&&e?{...r,variant:r.usageVariant}:r},[r,n.isLoading,n.cardCount]),a="trial"===e&&"never"!==o.variant&&"needs_info"!==o.variant,l=(0,eW.N)(e=>K.Tp.selectRecommendations(e).fetchStatus),s=(0,eW.N)(e=>K.Tp.selectJobs(e).find(e=>e.status===K.Sy.recommended)?.id??null);(0,R.useEffect)(()=>{a&&t(K.o1.fetchRecommendationsRequest({page:1}))},[a,t]);let d=a&&l!==eZ.Hp.loaded&&l!==eZ.Hp.failed,c=(0,R.useMemo)(()=>d?{...o,isLoading:!0}:o,[o,d]),u=(0,R.useCallback)(t=>{ex1({promo:"auto_apply",where:"auto_apply_credits",variant:o.variant,type:e}),ex0({screen:"auto_apply_credits",action:"auto_apply",type:e,reason:"auto_apply_setup"}),i(t)},[i,o.variant,e]),p=(0,R.useCallback)(e=>u(`/job-tracking?application_id=${e}&application_tab=questions`),[u]),h=(0,R.useCallback)(()=>{let[e]=n.cards;"needs_info"===o.variant&&e?p(e.id):a?u(s?`/job-tracking?application_id=${s}`:"/job-tracking"):u("/auto-apply/preferences")},[o.variant,n.cards,a,s,p,u]);return{credits:c,needsInfo:n,onSetupAutoApply:h,onAnswerCard:p}},ex9={currentIndex:0,reason:null,feedbackText:"",contactConsent:!1};function ex7(e,t){switch(t.type){case"GO_NEXT":return{...e,currentIndex:Math.min(t.flowLength-1,e.currentIndex+1)};case"GO_UNDO":return{...ex9,reason:e.reason,feedbackText:e.feedbackText};case"SET_REASON":return{...e,reason:t.reason};case"CLEAR_REASON":return{...e,reason:null};case"SET_FEEDBACK_TEXT":return{...e,feedbackText:t.text};case"SET_CONTACT_CONSENT":return{...e,contactConsent:t.value};default:return e}}let eme=(e,t,i=!1)=>{try{return new Intl.NumberFormat("en-US",{style:"currency",currency:t,...i?{minimumFractionDigits:0,maximumFractionDigits:0}:{}}).format(e/100)}catch{return`${(e/100).toFixed(2*!i)} ${t}`}},emt=()=>{let{data:e,isLoading:t}=(0,r2.I)({queryKey:["cancellationCouponOptions"],queryFn:async()=>{let{data:e}=await Y.R3.get("/api/builder/subscription/cancellation_coupon_options");return e},staleTime:1/0,refetchOnWindowFocus:!1}),i={};return e&&Object.entries(epP).forEach(([t,r])=>{let n=e.find(e=>e.discountCode===r);n&&(i[t]={formatted:eme(n.amount,n.currency),amount:n.amount,baseFormatted:eme(n.baseAmount,n.currency),baseAmount:n.baseAmount,percentOff:Math.round(n.discountPercentage),currency:n.currency,premiumPeriod:n.premiumPeriod,currentlyApplied:n.currentlyApplied})}),{prices:i,isLoading:t}},emi=()=>(0,dp.n)({mutationFn:async e=>{let{data:t}=await Y.R3.post("/api/builder/subscription/apply_cancellation_coupon",{discountCode:e});return t}}),emr=()=>(0,dp.n)({mutationFn:async()=>Y.R3.post("/api/builder/subscription/pause")}),emn=()=>{let e=window.location.hostname;return"career.io"===e||"stg.career.io"===e?"Career.io":"Resume.io"},emo=e=>(0,J.jsxs)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor",strokeWidth:"1.6",...e,children:[(0,J.jsx)("path",{d:"M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}),(0,J.jsx)("path",{d:"M14 3v6h6"})]}),ema=e=>(0,J.jsx)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor",strokeWidth:"1.6",...e,children:(0,J.jsx)("path",{d:"M3 12l18-9-9 18-2-7-7-2z"})}),eml=e=>(0,J.jsx)("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:(0,J.jsx)("path",{d:"M5 12l5 5 9-11"})}),ems=e=>(0,J.jsxs)("svg",{viewBox:"0 0 24 24",width:"44",height:"44",fill:"none",stroke:"currentColor",strokeWidth:"1.8",...e,children:[(0,J.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,J.jsx)("path",{d:"M8 12l3 3 5-6",strokeLinecap:"round",strokeLinejoin:"round"})]}),emd=e=>(0,J.jsxs)("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,J.jsx)("path",{d:"M12 21s7-7.5 7-12a7 7 0 1 0-14 0c0 4.5 7 12 7 12z"}),(0,J.jsx)("circle",{cx:"12",cy:"9",r:"2.4"})]}),emc=e=>(0,J.jsxs)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor",strokeWidth:"1.8",...e,children:[(0,J.jsx)("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2"}),(0,J.jsx)("path",{d:"M3 10h18M8 3v4M16 3v4"})]}),emu=e=>(0,J.jsxs)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor",strokeWidth:"1.8",...e,children:[(0,J.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),(0,J.jsx)("path",{d:"M3 7l9 7 9-7"})]}),emp=e=>(0,J.jsxs)("svg",{viewBox:"0 0 14 14",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,J.jsx)("polyline",{points:"1 10 5 6 8 8 13 3"}),(0,J.jsx)("polyline",{points:"9 3 13 3 13 7"})]}),emh={briefcase:e=>(0,J.jsxs)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor",strokeWidth:"1.8",...e,children:[(0,J.jsx)("rect",{x:"3",y:"7",width:"18",height:"13",rx:"2"}),(0,J.jsx)("path",{d:"M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2"}),(0,J.jsx)("path",{d:"M3 13h18"})]}),doc:emo,send:ema,people:e=>(0,J.jsxs)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor",strokeWidth:"1.6",...e,children:[(0,J.jsx)("circle",{cx:"9",cy:"9",r:"3"}),(0,J.jsx)("path",{d:"M2 20c1-3.5 3.5-5 7-5s6 1.5 7 5"}),(0,J.jsx)("circle",{cx:"17",cy:"10",r:"2.4"}),(0,J.jsx)("path",{d:"M16 19c.5-2 2-3 3-3s2.5 1 3 3"})]}),cap:e=>(0,J.jsxs)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor",strokeWidth:"1.6",...e,children:[(0,J.jsx)("path",{d:"M3 9l9-4 9 4-9 4-9-4z"}),(0,J.jsx)("path",{d:"M7 11v5c0 1.5 2.5 3 5 3s5-1.5 5-3v-5"})]})},emx="builder.subscription_cancellation_trial",emm=({firstName:e,onContinue:t,onKeep:i})=>{let{i18n:r}=(0,e1.s)(),n=emn(),{data:o}=ex2();return(0,R.useEffect)(()=>{(0,N.xP)("see_loss_aversion_popup",{type:"trial"})},[]),(0,J.jsxs)(epW,{children:[(0,J.jsx)(epK,{children:r.t(`${emx}.shared.eyebrow`)}),(0,J.jsx)(epq,{style:{whiteSpace:"pre-line"},children:r.t(`${emx}.loss_aversion.title`,{first_name:e})}),(0,J.jsx)(epG,{style:{maxWidth:"none"},dangerouslySetInnerHTML:{__html:r.t(`${emx}.loss_aversion.lede_html`,{site_name:n})}}),(0,J.jsx)(epG,{style:{maxWidth:"none",marginTop:-4,marginBottom:12,fontWeight:500,color:te.Jy.Neutral90},children:r.t(`${emx}.loss_aversion.lose_access`)}),(0,J.jsx)(ep3,{children:epR.map(e=>
4468{let t=emh[e.iconName];return(0,J.jsxs)(ep4,{$color:e.color,$wide:e.wide,children:[(0,J.jsxs)(ep6,{children:[(0,J.jsx)(ep8,{$color:e.color,children:t&&(0,J.jsx)(t,{})}),(0,J.jsxs)(ep9,{children:[(0,J.jsx)(ep7,{$color:e.color,children:"jobs"===e.key?o?.recommendedJobs??0:r.t(e.statKey??"")}),(0,J.jsx)(ehe,{children:r.t(e.statLabelKey)})]})]}),(0,J.jsx)(eht,{children:r.t(e.titleKey)}),(0,J.jsx)(ehi,{children:r.t(e.bodyKey)})]},e.key)})}),(0,J.jsx)(ep1,{children:(0,J.jsxs)(ep2,{children:[(0,J.jsx)(epZ,{onClick:i,children:r.t(`${emx}.shared.keep_trial`)}),(0,J.jsx)(epQ,{onClick:()=>{(0,N.xP)("click_continue_cancellation",{screen:"loss_aversion",type:"trial"}),t()},children:r.t(`${emx}.shared.cancel_lose_access`)})]})})]})};var emg=i(8559);let emy="builder.subscription_cancellation_trial",emf=["#635bff","#0acf83","#1f5fab","#0052cc","#5e6ad2","#fcb400"],emb=({cohort:e,onContinue:t,onKeep:i,onLeave:r,eyebrowKey:n=`${emy}.shared.eyebrow`,keepLabelKey:o=`${emy}.shared.keep_trial`})=>{let a=(0,L.Zp)(),{i18n:l}=(0,e1.s)(),{data:s}=ex2(),[d,c]=(0,R.useState)([]);(0,R.useEffect)(()=>{(0,N.xP)("see_jobs_loss_aversion",{type:e})},[e]);let u=(t,i)=>{ex1({promo:t,where:"matching_jobs",type:e}),r(t),a(i)};(0,R.useEffect)(()=>{let e=!0;return(0,emg.RU)(1).then(({jobs:t})=>{e&&c(t.slice(0,6))}).catch(e=>E.A.log(e)),()=>{e=!1}},[]);let p=l.t(`${emy}.matching_jobs.title_html`,{count:s?.recommendedJobs??0}).replace("<highlight>",'<span class="hl-blue">').replace("</highlight>","</span>");return(0,J.jsxs)(epW,{children:[(0,J.jsx)(epK,{children:l.t(n)}),(0,J.jsx)(epq,{style:{maxWidth:"none"},dangerouslySetInnerHTML:{__html:p}}),(0,J.jsx)(epG,{style:{maxWidth:"none"},dangerouslySetInnerHTML:{__html:l.t(`${emy}.matching_jobs.lede_html`)}}),d.length>0&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ehr,{children:d.map((e,t)=>{let i=e.company||"";return(0,J.jsxs)(ehn,{children:[(0,J.jsxs)(eho,{children:[(0,J.jsx)(eha,{$bgColor:emf[t%emf.length],children:i.charAt(0)}),(0,J.jsxs)(ehl,{children:[(0,J.jsx)(ehs,{children:e.job_title}),(0,J.jsx)(ehd,{children:i})]}),(0,J.jsx)(ehc,{type:"button",onClick:()=>{let t;return u("apply_job",(t=e.external_slug_id,`/job-search?view=recommendation&external_slug_id=${t}`))},children:l.t(`${emy}.matching_jobs.apply`)})]}),(e.location||e.seniority_level)&&(0,J.jsxs)(ehu,{children:[e.location&&(0,J.jsxs)(ehp,{children:[(0,J.jsx)(emd,{}),e.location]}),e.seniority_level&&(0,J.jsx)(ehh,{children:e.seniority_level})]})]},e.id)})}),(0,J.jsx)(exi,{children:(0,J.jsx)(epX,{type:"button",onClick:()=>u("see_all_jobs","/job-search?view=recommendation"),children:l.t(`${emy}.matching_jobs.see_all`)})})]}),(0,J.jsxs)(eh5,{children:[(0,J.jsx)(eh4,{children:(0,J.jsx)(ema,{})}),(0,J.jsxs)(exr,{children:[(0,J.jsx)(eh6,{children:l.t(`${emy}.matching_jobs.auto_apply_title`)}),(0,J.jsx)(eh8,{children:l.t(`${emy}.matching_jobs.auto_apply_desc`)})]}),(0,J.jsx)(epZ,{onClick:()=>u("auto_apply","/auto-apply"),children:l.t(`${emy}.matching_jobs.try_auto_apply`)})]}),(0,J.jsx)(ep1,{children:(0,J.jsxs)(ep2,{children:[(0,J.jsx)(epZ,{onClick:i,children:l.t(o)}),(0,J.jsx)(epQ,{onClick:()=>{(0,N.xP)("click_continue_cancellation",{screen:"matching_jobs",type:e}),t()},children:l.t(`${emy}.shared.continue_cancellation`)})]})})]})},em_={width:"100%",height:200,viewBox:"0 0 320 220"},emv="builder.subscription_cancellation_trial.illustrations",emj=({variant:e})=>{let{i18n:t}=(0,e1.s)();return"insurance"===e?(0,J.jsxs)(exs,{children:[(0,J.jsxs)("svg",{width:"100%",height:"200",viewBox:"0 0 320 200",children:[(0,J.jsxs)("defs",{children:[(0,J.jsxs)("linearGradient",{id:"ins-bg",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#eaf3fd"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#cee2f8"})]}),(0,J.jsxs)("linearGradient",{id:"ins-shield",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#3a82d6"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#1f5fab"})]})]}),(0,J.jsx)("rect",{x:"0",y:"0",width:"320",height:"200",rx:"14",fill:"url(#ins-bg)"}),(0,J.jsx)("ellipse",{cx:"160",cy:"168",rx:"58",ry:"5",fill:"#1c3a5e",opacity:".15"}
4468),(0,J.jsxs)("circle",{cx:"160",cy:"100",r:"60",fill:"none",stroke:"#3a82d6",strokeWidth:"1.4",opacity:".4",children:[(0,J.jsx)("animate",{attributeName:"r",values:"60;76;60",dur:"3s",repeatCount:"indefinite"}),(0,J.jsx)("animate",{attributeName:"opacity",values:".4;0;.4",dur:"3s",repeatCount:"indefinite"})]}),(0,J.jsx)("circle",{cx:"160",cy:"100",r:"54",fill:"#3a82d6",opacity:".10"}),(0,J.jsxs)("g",{transform:"translate(160 100)",children:[(0,J.jsx)("path",{d:"M0 -54 L42 -38 L42 8 Q42 38 0 56 Q-42 38 -42 8 L-42 -38 Z",fill:"url(#ins-shield)"}),(0,J.jsx)("path",{d:"M0 -54 L42 -38 L42 8 Q42 38 0 56 Q-42 38 -42 8 L-42 -38 Z",fill:"none",stroke:"#1c3a5e",strokeWidth:"1.5",opacity:".3"}),(0,J.jsx)("path",{d:"M0 -44 L34 -32 L34 4 Q34 28 0 44",fill:"#fff",opacity:".10"}),(0,J.jsxs)("g",{transform:"translate(0 4)",children:[(0,J.jsx)("path",{d:"M-8 -16 q0 -6 8 -6 q8 0 8 6",stroke:"#fde68a",strokeWidth:"2.4",fill:"none",strokeLinecap:"round"}),(0,J.jsx)("rect",{x:"-22",y:"-15",width:"44",height:"28",rx:"3",fill:"#fde68a"}),(0,J.jsx)("rect",{x:"-22",y:"-4",width:"44",height:"1.5",fill:"#d9941a",opacity:".5"}),(0,J.jsx)("rect",{x:"-3",y:"-7",width:"6",height:"5",rx:"1",fill:"#d9941a",opacity:".7"})]})]})]}),(0,J.jsx)(exd,{children:t.t(`${emv}.insurance_caption`)})]}):"options"===e?(0,J.jsxs)("svg",{width:"100%",height:"220",viewBox:"0 0 320 220",children:[(0,J.jsxs)("defs",{children:[(0,J.jsxs)("linearGradient",{id:"opt-bg",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#eaf3fd"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#cee2f8"})]}),(0,J.jsxs)("linearGradient",{id:"opt-case",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#3a82d6"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#1f5fab"})]})]}),(0,J.jsx)("rect",{x:"0",y:"0",width:"320",height:"220",rx:"14",fill:"url(#opt-bg)"}),(0,J.jsx)("ellipse",{cx:"160",cy:"174",rx:"64",ry:"6",fill:"#1c3a5e",opacity:".15"}),(0,J.jsxs)("g",{transform:"translate(160 120)",children:[(0,J.jsx)("path",{d:"M-22 -40 q0 -16 22 -16 q22 0 22 16",stroke:"#1f5fab",strokeWidth:"4.5",fill:"none",strokeLinecap:"round"}),(0,J.jsx)("rect",{x:"-58",y:"-38",width:"116",height:"74",rx:"6",fill:"url(#opt-case)"}),(0,J.jsx)("rect",{x:"-58",y:"-38",width:"116",height:"6",rx:"3",fill:"#fff",opacity:".18"}),(0,J.jsx)("rect",{x:"-58",y:"-12",width:"116",height:"3",fill:"#1c3a5e",opacity:".28"}),(0,J.jsx)("rect",{x:"-7",y:"-17",width:"14",height:"11",rx:"2",fill:"#fde68a"}),(0,J.jsx)("rect",{x:"-4",y:"-15",width:"8",height:"3",rx:"1",fill:"#d9941a",opacity:".6"})]}),(0,J.jsxs)("g",{transform:"translate(232 88)",children:[(0,J.jsx)("circle",{r:"22",fill:"#3aa55a"}),(0,J.jsx)("path",{d:"M-8 0 L-2 6 L9 -6",stroke:"#fff",strokeWidth:"3.6",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]}),(0,J.jsxs)("circle",{cx:"232",cy:"88",r:"22",fill:"none",stroke:"#3aa55a",strokeWidth:"1.4",opacity:".55",children:[(0,J.jsx)("animate",{attributeName:"r",values:"22;34;22",dur:"2.4s",repeatCount:"indefinite"}),(0,J.jsx)("animate",{attributeName:"opacity",values:".55;0;.55",dur:"2.4s",repeatCount:"indefinite"})]}),(0,J.jsx)("text",{x:"160",y:"38",textAnchor:"middle",fontFamily:"TT Talent, serif",fontSize:"22",fill:"#1c3a5e",fontWeight:"700",children:t.t(`${emv}.options_title`)})]}):"always-ready"===e?(0,J.jsxs)("svg",{width:"100%",height:"260",viewBox:"0 0 320 260",children:[(0,J.jsxs)("defs",{children:[(0,J.jsxs)("linearGradient",{id:"ar-bg",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#f4efff"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#dfd2ff"})]}),(0,J.jsxs)("linearGradient",{id:"ar-light",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#fff5cc",stopOpacity:"1"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#fff5cc",stopOpacity:"0"})]}),(0,J.jsxs)("linearGradient",{id:"ar-door",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#7a52e0"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#4b2da6"})]})]}),(0,J.jsx)("rect",{x:"0",y:"0",width:"320",height:"260",rx:"14",fill:"url(#ar-bg)"}),(0,J.jsx)("ellipse",{cx:"160",cy:"200",rx:"78",ry:"5",fill:"#3d2680",opacity:".14"}),(0,J.jsx)("rect",{x:"100",y:"46",width:"120",height:"160",rx:"6",fill:"#3d2680",opacity:".18"}),(0,J.jsx)("rect",{x:"106",y:"52",width:"108",height:"148",rx:"3",fill:"#fff5cc"}),(0,J.jsx)("path",{d:"M114 200 L160 60 L206 200 Z",fill:"url(#ar-light)",opacity:".7"}),(0,J.jsx)("path",{d:"M106 52 L172 64 L172 200 L106 200 Z",fill:"url(#ar-door)"}),(0,J.jsx)("path",{d:"M106 52 L172 64 L172 200 L106 200 Z",fill:"none",stroke:"#3d2680",strokeWidth:"2",opacity:".35"}),(0,J.jsx)("rect",{x:"118",y:"76",width:"42",height:"42",rx:"3",fill:"#fff",opacity:".10"}),(0,J.jsx)("rect",{x:"118",y:"130",width:"42",height:"42",rx:"3",fill:"#fff",opacity:".10"}),(0,J.jsx)("circle",{cx:"162",cy:"138",r:"3.6",fill:"#fde68a"}),(0,J.jsx)("g",{transform:"translate(244 70)",children:(0,J.jsx)("path",{d:"M0 0 L8 -4 M0 0 L10 0 M0 0 L8 4",stroke:"#5b3eb5",strokeWidth:"3",strokeLinecap:"round"})}),(0,J.jsx)("g",{transform:"translate(60 70)",children:(0,J.jsx)("path",{d:"M0 0 L-8 -4 M0 0 L-10 0 M0 0 L-8 4",stroke:"#5b3eb5",strokeWidth:"3",strokeLinecap:"round"})}),(0,J.jsx)("text",{x:"160",y:"232",textAnchor:"middle",fontFamily:"TT Talent, serif",fontSize:"22",fill:"#3d2680",fontWeight:"700",children:t.t(`${emv}.always_ready_title`)}),(0,J.jsx)("text",{x:"160",y:"252",textAnchor:"middle",fontFamily:"TT Commons, sans-serif",fontSize:"11",fill:"#5b3eb5",fontWeight:"600",letterSpacing:"2.2",children:t.t(`${emv}.always_ready_caption`)})]}):"discount"===e?(0,J.jsxs)("svg",{...em_,children:[(0,J.jsx)("defs",{children:(0,J.jsxs)("linearGradient",{id:"disc-bg",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#f4efff"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#dfd2ff"})]})}),(0,J.jsx)("rect",{x:"0",y:"0",width:"320",height:"220",rx:"14",fill:"url(#disc-bg)"}),(0,J.jsx)("circle",{cx:"160",cy:"86",r:"50",fill:"#5b3eb5",opacity:".09"}),(0,J.jsx)("circle",{cx:"160",cy:"86",r:"36",fill:"#5b3eb5",opacity:".15"}),(0,J.jsxs)("g",{transform:"translate(160 86)",children:[(0,J.jsx)("circle",{cx:"0",cy:"-10",r:"11",fill:"#5b3eb5"}),(0,J.jsx)("path",{d:"M-19 22 Q0 2, 19 22 L19 30 L-19 30 Z",fill:"#5b3eb5"})]}),(0,J.jsx)("g",{fill:"#5b3eb5",children:(0,J.jsx)("path",{d:"M198 40 l2 6 l6 2 l-6 2 l-2 6 l-2 -6 l-6 -2 l6 -2 z"})}),(0,J.jsx)("g",{fill:"#5b3eb5",opacity:".55",children:(0,J.jsx)("path",{d:"M122 54 l1.4 4 l4 1.4 l-4 1.4 l-1.4 4 l-1.4 -4 l-4 -1.4 l4 -1.4 z"})}),(0,J.jsx)("g",{fill:"#5b3eb5",opacity:".4",children:(0,J.jsx)("path",{d:"M214 78 l1 3 l3 1 l-3 1 l-1 3 l-1 -3 l-3 -1 l3 -1 z"})}),(0,J.jsx)("text",{x:"160",y:"160",textAnchor:"middle",fontFamily:"TT Talent, serif",fontSize:"24",fill:"#3d2680",fontWeight:"700",children:t.t(`${emv}.discount_title`)}),(0,J.jsx)("text",{x:"160",y:"184",textAnchor:"middle",fontFamily:"TT Commons, sans-serif",fontSize:"11",fill:"#5b3eb5",fontWeight:"600",letterSpacing:"2.2",children:t.t(`${emv}.discount_caption`)})]}):"feedback"===e?(0,J.jsxs)("svg",{...em_,children:[(0,J.jsx)("defs",{children:(0,J.jsxs)("linearGradient",{id:"fb-bg",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#fef6e2"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#fbe6b3"})]})}),(0,J.jsx)("rect",{x:"0",y:"0",width:"320",height:"220",rx:"14",fill:"url(#fb-bg)"}),(0,J.jsxs)("g",{children:[(0,J.jsx)("path",{d:"M62 60 h128 a14 14 0 0 1 14 14 v44 a14 14 0 0 1 -14 14 h-72 l-18 18 v-18 h-38 a14 14 0 0 1 -14 -14 v-44 a14 14 0 0 1 14 -14 z",fill:"#fff",stroke:"#d9941a",strokeWidth:"2"}),(0,J.jsx)("line",{x1:"78",y1:"84",x2:"178",y2:"84",stroke:"#d9941a",strokeWidth:"3",strokeLinecap:"round",opacity:".55"}),(0,J.jsx)("line",{x1:"78",y1:"100",x2:"166",y2:"100",stroke:"#d9941a",strokeWidth:"3",strokeLinecap:"round",opacity:".4"}),(0,J.jsx)("line",{x1:"78",y1:"116",x2:"138",y2:"116",stroke:"#d9941a",strokeWidth:"3",strokeLinecap:"round",opacity:".3"})]}),(0,J.jsxs)("g",{transform:"translate(216 130)",children:[(0,J.jsx)("path",{d:"M0 0 h44 a10 10 0 0 1 10 10 v22 a10 10 0 0 1 -10 10 h-22 l-12 12 v-12 h-10 a10 10 0 0 1 -10 -10 v-22 a10 10 0 0 1 10 -10 z",fill:"#d9941a"}),(0,J.jsx)("circle",{cx:"14",cy:"21",r:"2.4",fill:"#fff"}),(0,J.jsx)("circle",{cx:"24",cy:"21",r:"2.4",fill:"#fff"}),(0,J.jsx)("circle",{cx:"34",cy:"21",r:"2.4",fill:"#fff"})]}),(0,J.jsx)("text",{x:"160",y:"200",textAnchor:"middle",fontFamily:"TT Commons, sans-serif",fontSize:"11",fill:"#8a5a0a",fontWeight:"600",letterSpacing:"2.2",children:t.t(`${emv}.feedback_caption`)})]}):"paused"===e?(0,J.jsxs)("svg",{...em_,children:[(0,J.jsx)("defs",{children:(0,J.jsxs)("linearGradient",{id:"paused-bg",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,J.jsx)("stop",{offset:"0%",stopColor:"#e9faf0"}),(0,J.jsx)("stop",{offset:"100%",stopColor:"#cdf0dc"})]})}),(0,J.jsx)("rect",{x:"0",y:"0",width:"320",height:"220",rx:"14",fill:"url(#paused-bg)"}),(0,J.jsx)("circle",{cx:"160",cy:"78",r:"38",fill:"#1f9f5e",opacity:".18"}),(0,J.jsx)("circle",{cx:"160",cy:"78",r:"26",fill:"#1f9f5e"}),(0,J.jsx)("path",{d:"M150 78l7 7 14-14",stroke:"#fff",strokeWidth:"3.4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,J.jsx)("text",{x:"160",y:"148",textAnchor:"middle",fontFamily:"TT Talent, serif",fontSize:"26",fill:"#0f5c34",fontWeight:"700",letterSpacing:".2",children:t.t(`${emv}.paused_title`)}),(0,J.jsx)("text",{x:"160",y:"174",textAnchor:"middle",fontFamily:"TT Commons, sans-serif",fontSize:"11",fill:"#117040",fontWeight:"600",letterSpacing:"2.2",children:t.t(`${emv}.paused_caption`)})]}):null},emA=["extra_days","credits","review","cancel_any_time"],emC=({cohort:e,onAccept:t,onContinue:i,eyebrowKey:r,continueLabelKey:n})=>{let{i18n:o}=(0,e1.s)(),a=`builder.subscription_cancellation_trial.free_week_offer.${e}`;return(0,R.useEffect)(()=>{(0,N.xP)("see_free_period_offer_screen",{type:e})},[e]),(0,J.jsxs)(epW,{"data-testid":"free-week-offer-step",children:[(0,J.jsx)(epK,{children:o.t(r)}),(0,J.jsx)(epq,{style:{maxWidth:"none"},dangerouslySetInnerHTML:{__html:sJ.A.sanitize(o.t(`${a}.title_html`))}}),(0,J.jsx)(epG,{style:{maxWidth:"none"},children:o.t(`${a}.lede`)}),(0,J.jsxs)(eh_,{$variant:"blue",children:[(0,J.jsxs)("div",{children:[(0,J.jsx)(exe,{children:o.t(`${a}.eyebrow`)}),(0,J.jsx)(ehA,{children:emA.map(e=>(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:o.t(`${a}.bullets.${e}`)})]},e))})]}),(0,J.jsx)(emj,{variant:"paused"})]}),(0,J.jsx)(ep1,{children:(0,J.jsxs)(ep2,{children:[(0,J.jsx)(epZ,{"data-testid":"free-week-offer-accept",onClick:t,children:o.t(`${a}.cta`)}),(0,J.jsx)(epQ,{"data-testid":"free-week-offer-continue",onClick:()=>{(0,N.xP)("click_continue_cancellation",{screen:"free_week_offer",type:e}),i()},children:o.t(n)})]})})]})},emw="builder.subscription_cancellation_trial",emk=({label:e,onClick:t})=>(0,J.jsx)(epQ,{onClick:t,style:{marginLeft:"auto"},children:e}),emS=({reason:e,feedbackText:t,contactConsent:i,availability:r,onSetFeedbackText:n,onSetContactConsent:o,onContinue:a,onAcceptOffer:l})=>{let{i18n:s}=(0,e1.s)(),d=emn(),{prices:c,isLoading:u}=emt(),p=s.t(`${emw}.shared.continue_cancellation`),h=c.job_insurance?.formatted,x=c.discount_33?.formatted,m=c.discount_33?.baseFormatted??c.job_insurance?.baseFormatted,g=m?`${m}/mo`:void 0,y=c.discount_33?.percentOff,f=c.job_insurance?.percentOff,{freeWeek:b,mildDiscount:_,deepDiscount:v}=r,j=()=>(0,J.jsx)(eh_,{$variant:"blue",children:(0,J.jsxs)(exo,{children:[(0,J.jsx)(ehv,{children:s.t(`${emw}.reason_survey.title`)}),(0,J.jsx)(ehj,{children:s.t(`${emw}.reason_survey.context`)}),(0,J.jsx)(ehE,{style:{marginTop:24},children:(0,J.jsx)(epZ,{onClick:a,children:p})})]})});if(u)return null;let A=()=>v?(0,J.jsxs)(eh_,{$variant:"violet",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{$color:ep$,children:s.t(`${emw}.offers.dont_need.eyebrow`)}),(0,J.jsx)(ehv,{children:s.t(`${emw}.offers.dont_need.title`)}),(0,J.jsx)(ehj,{children:s.t(`${emw}.offers.dont_need.text`)}),(0,J.jsxs)(ehw,{children:[(0,J.jsxs)(ehk,{children:[h,(0,J.jsx)(ehS,{children:"/mo"})]}),(0,J.jsx)(ehT,{children:g}),(0,J.jsx)(ehP,{$bg:epz,$color:ep$,children:s.t(`${emw}.offers.dont_need.tag`,{percent:f})})]}),(0,J.jsx)(ehJ,{children:s.t(`${emw}.shared.applicable_taxes`)}),(0,J.jsxs)(ehA,{children:[(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.offers.dont_need.bullet_distribution`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.offers.dont_need.bullet_documents`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.shared.cancel_any_time`)})]})]}),(0,J.jsxs)(ehE,{style:{marginTop:24},children:[(0,J.jsx)(epZ,{onClick:()=>l("job_insurance"),children:s.t(`${emw}.offers.dont_need.cta`,{price:h})}),(0,J.jsx)(emk,{label:p,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"always-ready"})]}):b?(0,J.jsxs)(eh_,{$variant:"blue",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{children:s.t(`${emw}.pause_modal.eyebrow`)}),(0,J.jsx)(ehv,{children:s.t(`${emw}.pause_modal.lede`)}),(0,J.jsx)(ehj,{children:s.t(`${emw}.pause_modal.bullet_no_cost`)}),(0,J.jsxs)(ehA,{children:[(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.pause_modal.bullet_days`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.pause_modal.bullet_access`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.shared.unlimited_learning`)})]})]}),(0,J.jsxs)(ehE,{style:{marginTop:24},children:[(0,J.jsx)(epZ,{onClick:()=>l("trial_extension"),children:s.t(`${emw}.offers.other.cta_extend`)}),(0,J.jsx)(emk,{label:p,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"paused"})]}):j();return e===epT.GotJob?v?(0,J.jsxs)(eh_,{$variant:"green",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{$color:"#117040",children:s.t(`${emw}.offers.got_job.eyebrow`)}),(0,J.jsx)(ehv,{children:s.t(`${emw}.offers.got_job.title`,{price:h})}),(0,J.jsx)(ehj,{children:s.t(`${emw}.offers.got_job.text`)}),(0,J.jsxs)(ehw,{children:[(0,J.jsxs)(ehk,{children:[h,(0,J.jsx)(ehS,{children:"/mo"})]}),(0,J.jsx)(ehT,{children:g}),(0,J.jsx)(ehP,{$bg:"#e6f4ec",$color:"#117040",children:s.t(`${emw}.offers.got_job.tag`)})]}),(0,J.jsx)(ehJ,{children:s.t(`${emw}.shared.applicable_taxes`)}),(0,J.jsxs)(ehA,{children:[(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.offers.got_job.bullet_recruiters`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.offers.got_job.bullet_documents`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.shared.cancel_any_time`)})]})]}),(0,J.jsxs)(ehE,{style:{marginTop:24},children:[(0,J.jsx)(epZ,{onClick:()=>l("job_insurance"),children:s.t(`${emw}.offers.got_job.cta`,{price:h})}),(0,J.jsx)(emk,{label:p,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"paused"})]}):A():e===epT.Expensive?_?(0,J.jsxs)(eh_,{$variant:"violet",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{$color:ep$,children:s.t(`${emw}.offers.expensive.eyebrow`,{percent:y})}),(0,J.jsx)(ehv,{children:s.t(`${emw}.offers.expensive.title`,{percent:y})}),(0,J.jsx)(ehj,{children:s.t(`${emw}.offers.expensive.text`,{percent:y})}),(0,J.jsxs)(ehw,{children:[(0,J.jsxs)(ehk,{children:[x,(0,J.jsx)(ehS,{children:"/mo"})]}),(0,J.jsx)(ehT,{children:g}),(0,J.jsx)(ehP,{$bg:epz,$color:ep$,children:s.t(`${emw}.offers.expensive.tag`,{percent:y})})]}),(0,J.jsx)(ehJ,{children:s.t(`${emw}.shared.applicable_taxes`)}),(0,J.jsxs)(ehA,{children:[(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.shared.full_premium`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.shared.unlimited_learning`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.offers.expensive.bullet_no_expiry`,{percent:y})})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emw}.shared.cancel_any_time_dash`)})]})]}),(0,J.jsxs)(ehE,{style:{marginTop:24},children:[(0,J.jsx)(epZ,{onClick:()=>l("discount_33"),children:s.t(`${emw}.offers.expensive.cta`)}),(0,J.jsx)(emk,{label:p,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"discount"})]}):A():e===epT.Missing?(0,J.jsxs)(eh_,{$variant:"amber",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{$color:"#8a5a
44680a",children:s.t(`${emw}.offers.missing.eyebrow`)}),(0,J.jsx)(ehv,{children:s.t(`${emw}.offers.missing.title`)}),(0,J.jsx)(ehj,{children:s.t(`${emw}.offers.missing.text`,{site_name:d})}),(0,J.jsx)(eh9,{placeholder:s.t(`${emw}.offers.missing.placeholder`),value:t,onChange:e=>n(e.target.value),style:{minHeight:110,marginBottom:12}}),(0,J.jsxs)(eh7,{style:{marginBottom:16},children:[(0,J.jsx)(exl,{checked:i,onChange:e=>o(e.target.checked)}),(0,J.jsx)(exa,{children:s.t(`${emw}.offers.missing.contact_consent`)})]}),(0,J.jsxs)(ehE,{children:[(0,J.jsx)(epZ,{onClick:()=>l("feedback"),children:s.t(`${emw}.offers.missing.cta`)}),(0,J.jsx)(emk,{label:p,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"feedback"})]}):e===epT.DontNeed?A():b||v?(0,J.jsxs)(eh_,{$variant:"blue",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{children:s.t(`${emw}.offers.other.eyebrow`)}),(0,J.jsx)(ehv,{children:s.t(`${emw}.offers.other.title`,{price:h})}),(0,J.jsx)(ehj,{children:s.t(`${emw}.offers.other.text`)}),(0,J.jsx)(eh9,{placeholder:s.t(`${emw}.offers.other.placeholder`),value:t,onChange:e=>n(e.target.value),style:{marginBottom:16}}),(0,J.jsxs)(ehE,{children:[b&&(0,J.jsx)(epZ,{onClick:()=>l("trial_extension"),children:s.t(`${emw}.offers.other.cta_extend`)}),v&&(0,J.jsx)(epX,{onClick:()=>l("job_insurance"),children:s.t(`${emw}.offers.other.cta_insurance`,{price:h})}),(0,J.jsx)(emk,{label:p,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"options"})]}):j()},emT="builder.subscription_cancellation_trial",emP=({reason:e,feedbackText:t,contactConsent:i,availability:r,onSelectReason:n,onClearReason:o,onSetFeedbackText:a,onSetContactConsent:l,onContinue:s,onAcceptOffer:d})=>{let{i18n:c}=(0,e1.s)(),u=emn(),{isPhone:p}=(0,ih.e)(),h=(0,R.useRef)(null),x=!p||!e;return(0,R.useEffect)(()=>{e&&(p?window.scrollTo({top:0,behavior:"smooth"}):h.current&&h.current.scrollIntoView({behavior:"smooth",block:"nearest"}))},[e,p]),(0,J.jsxs)(epW,{children:[(0,J.jsx)(epK,{children:c.t(`${emT}.shared.eyebrow_short`)}),(0,J.jsx)(epq,{$compact:!0,style:{maxWidth:"24ch"},children:c.t(`${emT}.reason_survey.title`)}),(0,J.jsx)(epG,{style:{maxWidth:"56ch"},children:c.t(`${emT}.reason_survey.lede`,{site_name:u})}),x&&(0,J.jsx)(ehx,{children:epL.map(t=>(0,J.jsxs)(ehm,{$selected:e===t.id,onClick:()=>n(t.id),type:"button",children:[(0,J.jsx)(ehg,{children:t.emoji}),(0,J.jsx)(ehy,{children:c.t(t.labelKey)})]},t.id))}),(0,J.jsx)(exn,{ref:h,children:e&&(0,J.jsx)(emS,{reason:e,feedbackText:t,contactConsent:i,availability:r,onSetFeedbackText:a,onSetContactConsent:l,onContinue:s,onAcceptOffer:d})}),e&&(0,J.jsx)(eh2,{type:"button","aria-label":"Back",onClick:o}),!e&&(0,J.jsx)(eh3,{children:c.t(`${emT}.reason_survey.context`)})]})},emJ="builder.subscription_cancellation_trial",emE=({email:e,trialEnd:t,onUndo:i,onDashboard:r,isRestarting:n})=>{let{i18n:o}=(0,e1.s)(),a=(0,eW.N)(X.Tp.locale),l=(0,R.useMemo)(()=>{if(!t)return"";let e=new Date(t);return isNaN(e.getTime())?t:e.toLocaleDateString(a||"en",{month:"long",day:"numeric",year:"numeric"})},[t,a]);return(0,J.jsxs)(epW,{style:{textAlign:"left"},children:[(0,J.jsxs)(ehR,{children:[(0,J.jsx)(ehL,{children:(0,J.jsx)(ems,{})}),(0,J.jsx)(epq,{$compact:!0,style:{textAlign:"center",maxWidth:"24ch"},children:o.t(`${emJ}.confirmation.title`)}),(0,J.jsx)(epG,{style:{textAlign:"center",maxWidth:"50ch"},children:o.t(`${emJ}.confirmation.lede`)})]}),(0,J.jsxs)(ehN,{children:[(0,J.jsx)(ehI,{children:(0,J.jsx)(emc,{})}),(0,J.jsxs)(ext,{children:[(0,J.jsx)(ehM,{children:o.t(`${emJ}.confirmation.access_ends`)}),(0,J.jsx)(ehB,{children:o.t(`${emJ}.confirmation.access_ends_value`,{date:l})})]}),(0,J.jsx)(ehI,{children:(0,J.jsx)(emu,{})}),(0,J.jsxs)(ext,{children:[(0,J.jsx)(ehM,{children:o.t(`${emJ}.confirmation.confirmation_sent`)}),(0,J.jsx)(ehB,{children:e})]}),(0,J.jsx)(ehI,{children:(0,J.jsx)(emo,{})}),(0,J.jsxs)(ext,{children:[(0,J.jsx)(ehM,{children:o.t(`${emJ}.confirmation.your_resume`)}),(0,J.jsx)(ehB,{children:o.t(`${emJ}.confirmation.resume_value`)})]})]}),(0,J.jsxs)(ehD,{children:[(0,J.jsx)(emu,{}),(0,J.jsx)(eh$,{dangerouslySetInnerHTML:{__html:o.t(`${emJ}.confirmation.winback_html`)}})]}),(0,J.jsxs)(ep1,{children:[(0,J.jsx)(ep0,{onClick:i,disabled:n,children:o.t(`${emJ}.confirmation.undo`)}),(0,J.jsx)(ep2,{children:(0,J.jsx)(epZ,{onClick:r,children:o.t(`${emJ}.confirmation.dashboard`)})})]})]})},emR="builder.subscription_cancellation_trial",emL=({onAccept:e,onContinue:t})=>{let{i18n:i}=(0,e1.s)();(0,R.useEffect)(()=>{(0,N.xP)("see_subscription_pause_modal",{period:"week"})},[]);let r=()=>{(0,N.xP)("close_subscription_pause_modal",{period:"week"}),t()},n=i.t(`${emR}.pause_modal.title_html`).replace("<highlight>",'<span class="hl-blue">').replace("</highlight>","</span>");return(0,J.jsx)(i6.A,{overlayFadeDuration:150,contentSlideDuration:150,onClose:r,children:(0,J.jsxs)(ehz,{$accent:"blue",role:"dialog","aria-labelledby":"pause-extend-title",children:[(0,J.jsx)(ehF,{type:"button","aria-label":i.t(`${emR}.shared.close`),onClick:r,children:(0,J.jsx)(tP.qJ.Close,{})}),(0,J.jsx)(ehH,{children:i.t(`${emR}.pause_modal.eyebrow`)}),(0,J.jsx)(ehV,{id:"pause-extend-title",dangerouslySetInnerHTML:{__html:n}}),(0,J.jsx)(ehU,{children:i.t(`${emR}.pause_modal.lede`)}),(0,J.jsxs)(ehW,{children:[(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:i.t(`${emR}.pause_modal.bullet_days`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:i.t(`${emR}.pause_modal.bullet_access`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:i.t(`${emR}.shared.unlimited_learning`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:i.t(`${emR}.pause_modal.bullet_no_cost`)})]})]}),(0,J.jsxs)(eh0,{children:[(0,J.jsx)(epZ,{style:{padding:"13px 22px",fontSize:15},onClick:e,children:i.t(`${emR}.pause_modal.cta`)}),(0,J.jsx)(eh1,{onClick:r,children:i.t(`${emR}.shared.continue_cancellation`)})]})]})})},emN="builder.subscription_cancellation_trial",emI=({onAccept:e,onContinue:t,onDismiss:i,isCancelling:r})=>{let{i18n:n}=(0,e1.s)(),{prices:o,isLoading:a}=emt(),l=o.discount_50,s=l?.formatted,d=l?.percentOff,c=l?.baseFormatted?`${l.baseFormatted}/mo`:void 0,u=l?.baseAmount!=null?eme((l.baseAmount-l.amount)*6,l.currency,!0):void 0,p=(0,R.useRef)(!1);if((0,R.useEffect)(()=>{a||p.current||(p.current=!0,(0,N.xP)("see_discount_popup"))},[a]),a)return null;let h=n.t(`${emN}.last_chance_modal.title_html`,{price:s,percent:d}).replace("<highlight>",'<span class="hl-violet">').replace("</highlight>","</span>");return(0,J.jsx)(i6.A,{overlayFadeDuration:150,contentSlideDuration:150,onClose:i,children:(0,J.jsxs)(ehz,{$accent:"violet",role:"dialog","aria-labelledby":"last-chance-title",children:[(0,J.jsx)(ehF,{type:"button","aria-label":n.t(`${emN}.shared.close`),onClick:i,disabled:r,children:(0,J.jsx)(tP.qJ.Close,{})}),(0,J.jsx)(ehH,{$violet:!0,children:n.t(`${emN}.last_chance_modal.eyebrow`)}),(0,J.jsx)(ehV,{id:"last-chance-title",dangerouslySetInnerHTML:{__html:h}}),(0,J.jsx)(ehU,{children:n.t(`${emN}.last_chance_modal.lede`)}),(0,J.jsxs)(ehq,{children:[(0,J.jsxs)(ehG,{children:[s,(0,J.jsx)(ehZ,{children:"/mo"})]}),(0,J.jsx)(ehX,{children:c}),(0,J.jsx)(ehQ,{children:n.t(`${emN}.last_chance_modal.price_tag`,{amount:u})})]}),(0,J.jsx)(ehY,{children:n.t(`${emN}.shared.applicable_taxes`)}),(0,J.jsxs)(ehW,{children:[(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:n.t(`${emN}.shared.full_premium`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:n.t(`${emN}.shared.unlimited_learning`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:n.t(`${emN}.last_chance_modal.bullet_discount`,{percent:d})})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:n.t(`${emN}.shared.cancel_any_time`)})]})]}),(0,J.jsxs)(eh0,{children:[(0,J.jsx)(epY,{style:{padding:"13px 22px",fontSize:15},onClick:e,children:n.t(`${emN}.last_chance_modal.cta`,{percent:d})}),(0,J.jsx)(eh1,{onClick:t,disabled:r,children:r?n.t(`${emN}.last_chance_modal.cancelling`):n.t(`${emN}.shared.continue_cancellation`)})]})]})})},emM="builder.subscription_cancellation_trial",emB=()=>{let e=(0,L.Zp)(),t=(0,eU.wA)(),{i18n:i}=(0,e1.s)(),r=(0,e0.U)(),n=(0,eW.N)(Z.Tp.userData),o=(0,eW.N)(Z.Tp.cancellationStatus),{mutateAsync:a,isLoading:l}=dh(),{mutateAsync:s}=emi(),{mutateAsync:d}=emr(),{prices:c}=emt(),[u,p]=(0,R.useReducer)(ex7,ex9),h=(0,R.useRef)(!1),x=(0,R.useMemo)(()=>epJ(c,!!n?.billingInfo?.alreadyGotFreePausePeriodDuringCancellation),[c,n?.billingInfo?.alreadyGotFreePausePeriodDuringCancellation]),{credits:m,needsInfo:g,onSetupAutoApply:y,onAnswerCard:f}=ex8("trial"),b=!!r?.features.subCancellationV6,_=b&&m.hasUnusedCredits,v=(0,R.useMemo)(()=>{let e,t;return t=[{step:"LOSS_AVERSION",modal:"NONE"},{step:e=_?"AUTO_APPLY_CREDITS":"MATCHING_JOBS",modal:"NONE"}],x.freeWeek&&(b?(t.push({step:"FREE_WEEK_OFFER",modal:"NONE"}),t.push({step:"FREE_WEEK_OFFER",modal:"PAUSE_EXTEND"})):t.push({step:e,modal:"PAUSE_EXTEND"})),t.push({step:"REASON_SURVEY",modal:"NONE"}),x.lastChanceDiscount&&t.push({step:"REASON_SURVEY",modal:"LAST_CHANCE_DISCOUNT"}),t.push({step:"CONFIRMATION",modal:"NONE"}),t},[x,b,_]),j=(0,R.useRef)(!1);(0,R.useEffect)(()=>{!j.current&&n&&(j.current=!0,(0,N.xP)("visit_subscription_cancellation",{type:"trial"}))},[n]);let A=v[u.currentIndex]||v[0],C=n?.firstName||"",w=n?.email||"",k=n?.billingInfo?.premiumEndsAt||"",S=(0,R.useCallback)(()=>
4468p({type:"GO_NEXT",flowLength:v.length}),[v.length]),T=(0,R.useCallback)((e,t)=>ex0({screen:e,action:t,type:"trial",reason:u.reason}),[u.reason]),P=(0,R.useCallback)((t,i)=>{T(t,i),e("/")},[e,T]),I=(0,R.useCallback)(async()=>{try{let e=await a();if(e.data?.success){T("confirmation","undo_cancellation"),t(Z.o1.setAccount(e.data)),p({type:"GO_UNDO"});return}throw Error("restart failed")}catch{t(F.o1.setSnackBarOpen({status:!0,text:i.t(`${emM}.snackbar.restart_error`),type:F.pN.failure}))}},[a,t,i,T]),M=(0,R.useCallback)(e=>{(0,N.xP)("cancel_reason_choice",{reason:e}),p({type:"SET_REASON",reason:e})},[]),B=(0,R.useCallback)(()=>{p({type:"CLEAR_REASON"})},[]),D=(0,R.useCallback)(e=>{p({type:"SET_FEEDBACK_TEXT",text:e})},[]),$=(0,R.useCallback)(e=>{p({type:"SET_CONTACT_CONSENT",value:e})},[]),O=(0,R.useCallback)(async(r,n)=>{ex1({promo:r,where:n,type:"trial",reason:u.reason}),(0,N.xP)("cancellation_offer_accepted",{reason:u.reason||"",offer:r,feedback:u.feedbackText,contact_consent:u.contactConsent});try{if("trial_extension"===r){let e=await d();if(!e.data?.success)throw Error("pause failed");t(Z.o1.setAccount(e.data))}else{let e=epP[r];if(e&&!(await s(e)).success)throw Error("apply failed")}}catch(e){E.A.log(e),t(F.o1.setSnackBarOpen({status:!0,text:i.t(`${emM}.snackbar.offer_error`),type:F.pN.failure}));return}t(F.o1.setSnackBarOpen({status:!0,text:i.t(`${emM}.snackbar.offer_accepted`),type:F.pN.cancelable})),e("/")},[u.reason,u.feedbackText,u.contactConsent,t,e,i,s,d]),z=(0,R.useCallback)(()=>{!h.current&&u.reason&&((0,N.xP)("cancel_subscription",{reason:u.reason}),t(Z.o1.cancelUserSubscription({reason_to_cancel:u.reason,feedback:u.feedbackText,contact_consent:u.contactConsent})),h.current=!0)},[u.reason,u.feedbackText,u.contactConsent,t]);(0,R.useEffect)(()=>{h.current&&(o===eZ.Hp.loaded?(h.current=!1,S()):o===eZ.Hp.failed&&(h.current=!1,t(F.o1.setSnackBarOpen({status:!0,text:i.t(`${emM}.snackbar.cancel_error`),type:F.pN.failure}))))},[o,S,t,i]);let H=(0,R.useCallback)(()=>{e("/")},[e]),V=o===eZ.Hp.loading,U=x.lastChanceDiscount?S:z;return(0,J.jsxs)(J.Fragment,{children:[(()=>{switch(A.step){case epk.LossAversion:return(0,J.jsx)(emm,{firstName:C,onContinue:S,onKeep:()=>P("loss_aversion","keep_trial")});case epk.MatchingJobs:return(0,J.jsx)(emb,{cohort:"trial",onContinue:S,onKeep:()=>P("matching_jobs","keep_trial"),onLeave:e=>T("matching_jobs",e)});case epk.AutoApplyCredits:return(0,J.jsx)(exY,{cohort:"trial",firstName:C,credits:m,needsInfo:g,onSetupAutoApply:y,onAnswerCard:f,onContinue:S,eyebrowKey:`${emM}.shared.eyebrow`});case epk.FreeWeekOffer:return(0,J.jsx)(emC,{cohort:"trial",onAccept:()=>O("trial_extension","free_week_screen"),onContinue:S,eyebrowKey:`${emM}.shared.eyebrow`,continueLabelKey:`${emM}.shared.continue_cancellation`});case epk.ReasonSurvey:return(0,J.jsx)(emP,{reason:u.reason,feedbackText:u.feedbackText,contactConsent:u.contactConsent,availability:x,onSelectReason:M,onClearReason:B,onSetFeedbackText:D,onSetContactConsent:$,onContinue:U,onAcceptOffer:e=>O(e,"reason_survey")});case epk.Confirmation:return(0,J.jsx)(emE,{email:w,trialEnd:k,onUndo:I,onDashboard:H,isRestarting:l});default:return null}})(),A.modal===epS.PauseExtend&&(0,J.jsx)(emL,{onAccept:()=>O("trial_extension","pause_modal"),onContinue:S}),A.modal===epS.LastChanceDiscount&&(0,J.jsx)(emI,{onAccept:()=>O("discount_50","discount_modal"),onContinue:z,onDismiss:()=>P("last_offer","close_modal"),isCancelling:V})]})},emD={currentIndex:0,reason:null,feedbackText:"",contactConsent:!1};function em$(e,t){switch(t.type){case"GO_NEXT":return{...e,currentIndex:Math.min(t.flowLength-1,e.currentIndex+1)};case"GO_UNDO":return{...emD,reason:e.reason,feedbackText:e.feedbackText};case"SET_REASON":return{...e,reason:t.reason};case"CLEAR_REASON":return{...e,reason:null};case"SET_FEEDBACK_TEXT":return{...e,feedbackText:t.text};case"SET_CONTACT_CONSENT":return{...e,contactConsent:t.value};default:return e}}var emO=((A={}).Recap="RECAP",A.MatchingJobs="MATCHING_JOBS",A.AutoApplyCredits="AUTO_APPLY_CREDITS",A.FreeWeekOffer="FREE_WEEK_OFFER",A.ReasonSurvey="REASON_SURVEY",A.Confirmation="CONFIRMATION",A);let emz=[{step:"RECAP",modal:epS.None},{step:"RECAP",modal:epS.PauseExtend},{step:"REASON_SURVEY",modal:epS.None},{step:"REASON_SURVEY",modal:epS.LastChanceDiscount},{step:"CONFIRMATION",modal:epS.None}],emF=[{step:"RECAP",modal:epS.None},{step:"MATCHING_JOBS",modal:epS.None},{step:"MATCHING_JOBS",modal:epS.PauseExtend},{step:"REASON_SURVEY",modal:epS.None},{step:"REASON_SURVEY",modal:epS.LastChanceDiscount},{step:"CONFIRMATION",modal:epS.None}],emH=[{step:"RECAP",modal:epS.None},{step:"AUTO_APPLY_CREDITS",modal:epS.None},{step:"FREE_WEEK_OFFER",modal:epS.None},{step:"FREE_WEEK_OFFER",modal:epS.PauseExtend},{step:"REASON_SURVEY",modal:epS.None},{step:"REASON_SURVEY",modal:epS.LastChanceDiscount},{step:"CONFIRMATION",modal:epS.None}],emV=["TR","CM","TOP_CV"],emU="builder.subscription_cancellation_subscriber",emW=({subState:e,onContinue:t,onKeep:i,onLeaveForAutoApply:r})=>{let{i18n:n}=(0,e1.s)(),o=emn(),a=(0,L.Zp)(),l=(0,eW.N)(Z.Tp.userData),s=(0,eW.N)(X.Tp.locale),d=l?.billingInfo,c="no_copilot"===e,{data:u}=ex2();(0,R.useEffect)(()=>{(0,N.xP)("see_loss_aversion_popup",{type:"subscriber"})},[]);let p={savedJobs:u?.jobsSaved??0,appsSent:u?.jobsAutoApplied??0,tailored:u?.resumesTailored??0,distributed:u?.recruitersAdded??0},h={savedJobs:u?.jobsSavedThisWeek??0,appsSent:u?.jobsAutoAppliedThisWeek??0,tailored:u?.resumesTailoredThisWeek??0,distributed:u?.recruitersAddedLastWeek??0},x=d?.premiumEndsAt||"",m=x?new Date(x).toLocaleDateString(s||"en",{month:"long",day:"numeric"}):"";return(0,J.jsxs)(epW,{children:[(0,J.jsx)(epK,{children:n.t(`${emU}.shared.eyebrow`)}),(0,J.jsx)(epq,{$compact:!0,style:{maxWidth:"none"},children:n.t(`${emU}.recap.title`,{site_name:o})}),(0,J.jsx)(epG,{style:{maxWidth:"none",fontSize:16,lineHeight:"24px"},dangerouslySetInnerHTML:{__html:n.t(`${emU}.recap.lede_html`,{date:m})}}),(0,J.jsx)(exc,{children:epI.map(e=>(0,J.jsxs)(exu,{children:[(0,J.jsx)(exp,{children:p[e.valueKey]}),(0,J.jsx)(exh,{children:n.t(e.labelKey)}),(e=>{if(c&&"appsSent"===e)return(0,J.jsx)(exx,{$amber:!0,children:n.t(`${emU}.recap.stats.applied_trend_untapped`)});let t=h[e]??0;if(t>0){let i=epI.find(t=>t.valueKey===e);return(0,J.jsxs)(exx,{children:[(0,J.jsx)(emp,{})," ",i&&n.t(i.trendKey,{count:t})]})}return null})(e.valueKey)]},e.key))}),(0,J.jsx)(exm,{children:c?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(exb,{children:[(0,J.jsxs)(exg,{$amber:!0,children:[(0,J.jsx)(exy,{$amber:!0})," ",n.t(`${emU}.recap.no_copilot.eyebrow`)]}),(0,J.jsx)(ex_,{children:n.t(`${emU}.recap.no_copilot.title`)}),(0,J.jsx)(exv,{children:n.t(`${emU}.recap.no_copilot.description`)}),(0,J.jsx)(exf,{onClick:()=>{ex1({promo:"auto_apply",where:"recap",type:"subscriber"}),r(),a("/auto-apply/preferences")},children:n.t(`${emU}.recap.no_copilot.cta`)})]}),(0,J.jsxs)(exj,{children:[(0,J.jsxs)(exA,{children:[(0,J.jsx)(exC,{children:n.t(`${emU}.recap.no_copilot.stat_time_value`)}),(0,J.jsx)(exw,{children:n.t(`${emU}.recap.no_copilot.stat_time_label`)})]}),(0,J.jsxs)(exA,{children:[(0,J.jsx)(exC,{children:n.t(`${emU}.recap.no_copilot.stat_apps_value`)}),(0,J.jsx)(exw,{children:n.t(`${emU}.recap.no_copilot.stat_apps_label`)})]})]})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(exb,{children:[(0,J.jsxs)(exg,{children:[(0,J.jsx)(exy,{})," ",n.t(`${emU}.recap.activity.eyebrow`)]}),(0,J.jsx)(ex_,{children:n.t(`${emU}.recap.activity.title`)}),(0,J.jsx)(exv,{children:n.t(`${emU}.recap.activity.description`,{date:m})})]}),(0,J.jsx)(exj,{children:(0,J.jsxs)(exA,{children:[(0,J.jsx)(exC,{children:u?.recommendedJobs??0}),(0,J.jsx)(exw,{children:n.t(`${emU}.recap.activity.stat_matches`)})]})}),(0,J.jsxs)(exk,{children:[(0,J.jsx)(exS,{children:n.t(`${emU}.recap.activity.tip_label`)}),n.t(`${emU}.recap.activity.tip_text`)]})]})}),(0,J.jsx)(ep1,{children:(0,J.jsxs)(ep2,{children:[(0,J.jsx)(epZ,{onClick:i,children:n.t(`${emU}.shared.keep_premium`)}),(0,J.jsx)(epQ,{onClick:()=>{(0,N.xP)("click_continue_cancellation",{screen:"recap",type:"subscriber"}),t()},children:n.t(`${emU}.shared.continue_cancellation`)})]})})]})},emK="builder.subscription_cancellation_subscriber",emq=({firstName:e,onContinue:t,onKeep:i})=>{let{i18n:r}=(0,e1.s)(),n=emn(),o=(0,eW.N)(Z.Tp.userData),a=(0,eW.N)(X.Tp.locale),{data:l}=ex2();(0,R.useEffect)(()=>{(0,N.xP)("see_loss_aversion_popup",{type:"subscriber"})},[]);let s=o?.billingInfo?.premiumEndsAt||"",d=s?new Date(s).toLocaleDateString(a||"en",{month:"long",day:"numeric"}):"";return(0,J.jsxs)(epW,{children:[(0,J.jsx)(epK,{children:r.t(`${emK}.shared.eyebrow`)}),(0,J.jsx)(epq,{style:{maxWidth:"none"},children:r.t(`${emK}.inactive_recap.title`,{first_name:e})}),(0,J.jsx)(epG,{style:{maxWidth:"none"},dangerouslySetInnerHTML:{__html:r.t(`${emK}.inactive_recap.lede_html`,{date:d,site_name:n})}}),(0,J.jsx)(epG,{style:{maxWidth:"none",marginTop:-4,marginBottom:12,fontWeight:500,color:te.Jy.Neutral90},children:r.t(`${emK}.inactive_recap.lose_access`)}),(0,J.jsx)(ep3,{children:epR.map(e=>
4468{let t=emh[e.iconName];return(0,J.jsxs)(ep4,{$color:e.color,$wide:e.wide,children:[(0,J.jsxs)(ep6,{children:[(0,J.jsx)(ep8,{$color:e.color,children:t&&(0,J.jsx)(t,{})}),(0,J.jsxs)(ep9,{children:[(0,J.jsx)(ep7,{$color:e.color,children:"jobs"===e.key?l?.recommendedJobs??0:r.t(e.statKey??"")}),(0,J.jsx)(ehe,{children:r.t(e.statLabelKey)})]})]}),(0,J.jsx)(eht,{children:r.t(e.titleKey)}),(0,J.jsx)(ehi,{children:r.t(e.bodyKey)})]},e.key)})}),(0,J.jsx)(ep1,{children:(0,J.jsxs)(ep2,{children:[(0,J.jsx)(epZ,{onClick:i,children:r.t(`${emK}.shared.keep_premium`)}),(0,J.jsx)(epQ,{onClick:()=>{(0,N.xP)("click_continue_cancellation",{screen:"inactive_recap",type:"subscriber"}),t()},style:{textDecoration:"none"},children:r.t(`${emK}.shared.continue_cancellation`)})]})})]})},emG="builder.subscription_cancellation_trial",emZ="builder.subscription_cancellation_subscriber",emX=({label:e,onClick:t})=>(0,J.jsx)(epQ,{onClick:t,children:e}),emQ=({reason:e,feedbackText:t,contactConsent:i,availability:r,onSetFeedbackText:n,onSetContactConsent:o,onContinue:a,onAcceptOffer:l})=>{let{i18n:s}=(0,e1.s)(),{prices:d,isLoading:c}=emt(),u=s.t(`${emZ}.shared.continue_cancellation`),p=d.job_insurance?.formatted,h=d.discount_33?.formatted,x=d.discount_33?.baseFormatted??d.job_insurance?.baseFormatted,m=x?`${x}/mo`:void 0,g=d.discount_33?.percentOff,y=d.job_insurance?.percentOff,{mildDiscount:f,deepDiscount:b}=r;if(c)return null;let _=()=>b?(0,J.jsxs)(eh_,{$variant:"violet",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{$color:ep$,children:s.t(`${emG}.offers.dont_need.eyebrow`)}),(0,J.jsx)(ehv,{children:s.t(`${emG}.offers.dont_need.title`)}),(0,J.jsx)(ehj,{children:s.t(`${emG}.offers.dont_need.text`)}),(0,J.jsxs)(ehw,{children:[(0,J.jsxs)(ehk,{children:[p,(0,J.jsx)(ehS,{children:"/mo"})]}),(0,J.jsx)(ehT,{children:m}),(0,J.jsx)(ehP,{$bg:epz,$color:ep$,children:s.t(`${emG}.offers.dont_need.tag`,{percent:y})})]}),(0,J.jsx)(ehJ,{children:s.t(`${emZ}.shared.applicable_taxes`)}),(0,J.jsxs)(ehA,{children:[(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.offers.dont_need.bullet_distribution`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.offers.dont_need.bullet_documents`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.shared.cancel_any_time`)})]})]}),(0,J.jsxs)(ehE,{style:{marginTop:24},children:[(0,J.jsx)(epZ,{onClick:()=>l("job_insurance"),children:s.t(`${emG}.offers.dont_need.cta`,{price:p})}),(0,J.jsx)(emX,{label:u,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"always-ready"})]}):(0,J.jsx)(eh_,{$variant:"blue",children:(0,J.jsxs)(exo,{children:[(0,J.jsx)(ehv,{children:s.t(`${emZ}.reason_survey.title`)}),(0,J.jsx)(ehj,{children:s.t(`${emZ}.reason_survey.context`)}),(0,J.jsx)(ehE,{style:{marginTop:24},children:(0,J.jsx)(epZ,{onClick:a,children:u})})]})});return e===epT.GotJob?b?(0,J.jsxs)(eh_,{$variant:"green",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{$color:"#117040",children:s.t(`${emG}.offers.got_job.eyebrow`)}),(0,J.jsx)(ehv,{children:s.t(`${emG}.offers.got_job.title`,{price:p})}),(0,J.jsx)(ehj,{children:s.t(`${emG}.offers.got_job.text`)}),(0,J.jsxs)(ehw,{children:[(0,J.jsxs)(ehk,{children:[p,(0,J.jsx)(ehS,{children:"/mo"})]}),(0,J.jsx)(ehT,{children:m}),(0,J.jsx)(ehP,{$bg:"#e6f4ec",$color:"#117040",children:s.t(`${emG}.offers.got_job.tag`)})]}),(0,J.jsx)(ehJ,{children:s.t(`${emZ}.shared.applicable_taxes`)}),(0,J.jsxs)(ehA,{children:[(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.offers.got_job.bullet_recruiters`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.offers.got_job.bullet_documents`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.shared.cancel_any_time`)})]})]}),(0,J.jsxs)(ehE,{style:{marginTop:24},children:[(0,J.jsx)(epZ,{onClick:()=>l("job_insurance"),children:s.t(`${emG}.offers.got_job.cta`,{price:p})}),(0,J.jsx)(emX,{label:u,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"paused"})]}):_():e===epT.Expensive?f?(0,J.jsxs)(eh_,{$variant:"violet",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{$color:ep$,children:s.t(`${emG}.offers.expensive.eyebrow`,{percent:g})}),(0,J.jsx)(ehv,{children:s.t(`${emG}.offers.expensive.title`,{percent:g})}),(0,J.jsx)(ehj,{children:s.t(`${emG}.offers.expensive.text`,{percent:g})}),(0,J.jsxs)(ehw,{children:[(0,J.jsxs)(ehk,{children:[h,(0,J.jsx)(ehS,{children:"/mo"})]}),(0,J.jsx)(ehT,{children:m}),(0,J.jsx)(ehP,{$bg:epz,$color:ep$,children:s.t(`${emG}.offers.expensive.tag`,{percent:g})})]}),(0,J.jsx)(ehJ,{children:s.t(`${emZ}.shared.applicable_taxes`)}),(0,J.jsxs)(ehA,{children:[(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.shared.full_premium`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.shared.unlimited_learning`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.offers.expensive.bullet_no_expiry`,{percent:g})})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.shared.cancel_any_time_dash`)})]})]}),(0,J.jsxs)(ehE,{style:{marginTop:24},children:[(0,J.jsx)(epZ,{onClick:()=>l("discount_33"),children:s.t(`${emG}.offers.expensive.cta`)}),(0,J.jsx)(emX,{label:u,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"discount"})]}):_():e===epT.Missing?(0,J.jsxs)(eh_,{$variant:"amber",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{$color:"#8a5a0a",children:s.t(`${emG}.offers.missing.eyebrow`)}),(0,J.jsx)(ehv,{children:s.t(`${emG}.offers.missing.title`)}),(0,J.jsx)(ehj,{children:s.t(`${emG}.offers.missing.text`)}),(0,J.jsx)(eh9,{placeholder:s.t(`${emG}.offers.missing.placeholder`),value:t,onChange:e=>n(e.target.value),style:{minHeight:110,marginBottom:12}}),(0,J.jsxs)(eh7,{style:{marginBottom:16},children:[(0,J.jsx)(exl,{checked:i,onChange:e=>o(e.target.checked)}),(0,J.jsx)(exa,{children:s.t(`${emG}.offers.missing.contact_consent`)})]}),(0,J.jsxs)(ehE,{children:[(0,J.jsx)(epZ,{onClick:()=>l("feedback"),children:s.t(`${emG}.offers.missing.cta`)}),(0,J.jsx)(emX,{label:u,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"feedback"})]}):e!==epT.DontNeed&&b?(0,J.jsxs)(eh_,{$variant:"blue",children:[(0,J.jsxs)(exo,{children:[(0,J.jsx)(exe,{children:s.t(`${emZ}.offers.other.eyebrow`)}),(0,J.jsx)(ehv,{children:s.t(`${emZ}.offers.other.title`,{price:p})}),(0,J.jsx)(ehj,{children:s.t(`${emZ}.offers.other.text`)}),(0,J.jsxs)(ehw,{children:[(0,J.jsxs)(ehk,{children:[p,(0,J.jsx)(ehS,{children:"/mo"})]}),(0,J.jsx)(ehT,{children:m}),(0,J.jsx)(ehP,{$bg:"#eaf3fd",$color:"#1f5fab",children:s.t(`${emZ}.offers.other.tag`)})]}),(0,J.jsx)(ehJ,{children:s.t(`${emZ}.shared.applicable_taxes`)}),(0,J.jsxs)(ehA,{children:[(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emZ}.offers.other.bullet_recruiters`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emZ}.offers.other.bullet_documents`)})]}),(0,J.jsxs)(ehC,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:s.t(`${emG}.shared.cancel_any_time`)})]})]}),(0,J.jsx)(eh9,{placeholder:s.t(`${emZ}.offers.other.placeholder`),value:t,onChange:e=>n(e.target.value),style:{marginTop:16,marginBottom:16}}),(0,J.jsxs)(ehE,{children:[(0,J.jsx)(epZ,{onClick:()=>l("job_insurance"),children:s.t(`${emZ}.offers.other.cta`,{price:p})}),(0,J.jsx)(emX,{label:u,onClick:a})]})]}),(0,J.jsx)(emj,{variant:"insurance"})]}):_()},emY="builder.subscription_cancellation_subscriber",em0=({reason:e,feedbackText:t,contactConsent:i,availability:r,onSelectReason:n,onClearReason:o,onSetFeedbackText:a,onSetContactConsent:l,onContinue:s,onAcceptOffer:d})=>{let{i18n:c}=(0,e1.s)(),u=emn(),{isPhone:p}=(0,ih.e)(),h=(0,R.useRef)(null),x=!p||!e;return(0,R.useEffect)(()=>{e&&(p?window.scrollTo({top:0,behavior:"smooth"}):h.current&&h.current.scrollIntoView({behavior:"smooth",block:"nearest"}))},[e,p]),(0,J.jsxs)(epW,{children:[(0,J.jsx)(epK,{children:c.t(`${emY}.shared.eyebrow_short`)}),(0,J.jsx)(epq,{$compact:!0,style:{maxWidth:"24ch"},children:c.t(`${emY}.reason_survey.title`)}),(0,J.jsx)(epG,{style:{maxWidth:"56ch"},children:c.t(`${emY}.reason_survey.lede`,{site_name:u})}),x&&(0,J.jsx)(ehx,{children:epL.map(t=>(0,J.jsxs)(ehm,{$selected:e===t.id,onClick:()=>n(t.id),type:"button",children:[(0,J.jsx)(ehg,{children:t.emoji}),(0,J.jsx)(ehy,{children:c.t(t.labelKey)})]},t.id))}),(0,J.jsx)(exn,{ref:h,children:e&&(0,J.jsx)(emQ,{reason:e,feedbackText:t,contactConsent:i,availability:r,onSetFeedbackText:a,onSetContactConsent:l,onContinue:s,onAcceptOffer:d})}),e&&(0,J.jsx)(eh2,{type:"button","aria-label":"Back",onClick:o}),!e&&(0,J.jsx)(eh3,{children:c.t(`${emY}.reason_survey.context`)})]})},em1="builder.subscription_cancellation_subscriber",em2=({email:e,premiumEndsAt:t,tailoredCount:i,onUndo:r,onDashboard:n,isRestarting:o})=>{let{i18n:a}=(0,e1.s)(),l=(0,eW.N)(X.Tp.locale),s=(0,R.useMemo)(()=>
4468{if(!t)return"";let e=new Date(t);return isNaN(e.getTime())?t:e.toLocaleDateString(l||"en",{month:"long",day:"numeric",year:"numeric"})},[t,l]);return(0,J.jsxs)(epW,{style:{textAlign:"left"},children:[(0,J.jsxs)(ehR,{children:[(0,J.jsx)(ehL,{children:(0,J.jsx)(ems,{})}),(0,J.jsx)(epq,{$compact:!0,style:{textAlign:"center",maxWidth:"24ch"},children:a.t(`${em1}.confirmation.title`)}),(0,J.jsx)(epG,{style:{textAlign:"center",maxWidth:"50ch"},dangerouslySetInnerHTML:{__html:a.t(`${em1}.confirmation.lede_html`,{date:s})}})]}),(0,J.jsxs)(ehN,{children:[(0,J.jsx)(ehI,{children:(0,J.jsx)(emc,{})}),(0,J.jsxs)(ext,{children:[(0,J.jsx)(ehM,{children:a.t(`${em1}.confirmation.access_ends`)}),(0,J.jsx)(ehB,{children:a.t(`${em1}.confirmation.access_ends_value`,{date:s})})]}),(0,J.jsx)(ehI,{children:(0,J.jsx)(emu,{})}),(0,J.jsxs)(ext,{children:[(0,J.jsx)(ehM,{children:a.t(`${em1}.confirmation.confirmation_sent`)}),(0,J.jsx)(ehB,{children:e})]}),(0,J.jsx)(ehI,{children:(0,J.jsx)(emo,{})}),(0,J.jsxs)(ext,{children:[(0,J.jsx)(ehM,{children:a.t(`${em1}.confirmation.your_data`)}),(0,J.jsx)(ehB,{children:a.t(`${em1}.confirmation.data_value`,{count:i,date:s})})]})]}),(0,J.jsxs)(ehD,{children:[(0,J.jsx)(emu,{}),(0,J.jsx)(eh$,{dangerouslySetInnerHTML:{__html:a.t(`${em1}.confirmation.winback_html`)}})]}),(0,J.jsxs)(ep1,{children:[(0,J.jsx)(ep0,{onClick:r,disabled:o,children:a.t(`${em1}.confirmation.undo`)}),(0,J.jsx)(ep2,{children:(0,J.jsx)(epZ,{onClick:n,children:a.t(`${em1}.confirmation.dashboard`)})})]})]})},em3="builder.subscription_cancellation_subscriber",em5=({onAccept:e,onContinue:t})=>{let{i18n:i}=(0,e1.s)();(0,R.useEffect)(()=>{(0,N.xP)("see_subscription_pause_modal",{period:"month"})},[]);let r=()=>{(0,N.xP)("close_subscription_pause_modal",{period:"month"}),t()},n=i.t(`${em3}.pause_modal.title_html`).replace("<highlight>",'<span class="hl-blue">').replace("</highlight>","</span>");return(0,J.jsx)(i6.A,{overlayFadeDuration:150,contentSlideDuration:150,onClose:r,children:(0,J.jsxs)(ehz,{$accent:"blue",role:"dialog","aria-labelledby":"pause-sub-title",children:[(0,J.jsx)(ehF,{type:"button","aria-label":i.t(`${em3}.shared.close`),onClick:r,children:(0,J.jsx)(tP.qJ.Close,{})}),(0,J.jsx)(ehH,{children:i.t(`${em3}.pause_modal.eyebrow`)}),(0,J.jsx)(ehV,{id:"pause-sub-title",dangerouslySetInnerHTML:{__html:n}}),(0,J.jsx)(ehU,{children:i.t(`${em3}.pause_modal.lede`)}),(0,J.jsxs)(ehW,{children:[(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:i.t(`${em3}.pause_modal.bullet_month`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:i.t(`${em3}.pause_modal.bullet_access`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:i.t(`${em3}.pause_modal.bullet_learning`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:i.t(`${em3}.pause_modal.bullet_no_cost`)})]})]}),(0,J.jsxs)(eh0,{children:[(0,J.jsx)(epZ,{style:{padding:"13px 22px",fontSize:15},onClick:e,children:i.t(`${em3}.pause_modal.cta`)}),(0,J.jsx)(eh1,{onClick:r,children:i.t(`${em3}.shared.continue_cancellation`)})]})]})})},em4="builder.subscription_cancellation_subscriber",em6=({onAccept:e,onContinue:t,onDismiss:i,isCancelling:r})=>{let{i18n:n}=(0,e1.s)(),{prices:o,isLoading:a}=emt(),l=o.discount_50,s=l?.formatted,d=l?.percentOff,c=l?.baseFormatted?`${l.baseFormatted}/mo`:void 0,u=l?.baseAmount!=null?eme((l.baseAmount-l.amount)*6,l.currency,!0):void 0,p=(0,R.useRef)(!1);if((0,R.useEffect)(()=>{a||p.current||(p.current=!0,(0,N.xP)("see_discount_popup"))},[a]),a)return null;let h=n.t(`${em4}.last_chance_modal.title_html`,{price:s,percent:d}).replace("<highlight>",'<span class="hl-violet">').replace("</highlight>","</span>");return(0,J.jsx)(i6.A,{overlayFadeDuration:150,contentSlideDuration:150,onClose:i,children:(0,J.jsxs)(ehz,{$accent:"violet",role:"dialog","aria-labelledby":"last-chance-sub-title",children:[(0,J.jsx)(ehF,{type:"button","aria-label":n.t(`${em4}.shared.close`),onClick:i,disabled:r,children:(0,J.jsx)(tP.qJ.Close,{})}),(0,J.jsx)(ehH,{$violet:!0,children:n.t(`${em4}.last_chance_modal.eyebrow`)}),(0,J.jsx)(ehV,{id:"last-chance-sub-title",dangerouslySetInnerHTML:{__html:h}}),(0,J.jsx)(ehU,{children:n.t(`${em4}.last_chance_modal.lede`)}),(0,J.jsxs)(ehq,{children:[(0,J.jsxs)(ehG,{children:[s,(0,J.jsx)(ehZ,{children:"/mo"})]}),(0,J.jsx)(ehX,{children:c}),(0,J.jsx)(ehQ,{children:n.t(`${em4}.last_chance_modal.price_tag`,{amount:u})})]}),(0,J.jsx)(ehY,{children:n.t(`${em4}.shared.applicable_taxes`)}),(0,J.jsxs)(ehW,{children:[(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:n.t(`${em4}.shared.full_premium`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:n.t(`${em4}.shared.unlimited_learning`)})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:n.t(`${em4}.last_chance_modal.bullet_discount`,{percent:d})})]}),(0,J.jsxs)(ehK,{children:[(0,J.jsx)(eml,{}),(0,J.jsx)(exa,{children:n.t(`${em4}.shared.cancel_any_time`)})]})]}),(0,J.jsxs)(eh0,{children:[(0,J.jsx)(epY,{style:{padding:"13px 22px",fontSize:15},onClick:e,children:n.t(`${em4}.last_chance_modal.cta`,{percent:d})}),(0,J.jsx)(eh1,{onClick:t,disabled:r,children:r?n.t(`${em4}.last_chance_modal.cancelling`):n.t(`${em4}.shared.continue_cancellation`)})]})]})})},em8="builder.subscription_cancellation_subscriber",em9=()=>{let e=(0,L.Zp)(),t=(0,eU.wA)(),{i18n:i}=(0,e1.s)(),r=(0,e0.U)(),n=(0,eW.N)(Z.Tp.userData),o=(0,eW.N)(Z.Tp.cancellationStatus),{mutateAsync:a,isLoading:l}=dh(),{mutateAsync:s}=emi(),{mutateAsync:d}=emr(),{prices:c}=emt(),[u,p]=(0,R.useReducer)(em$,emD),h=(0,R.useRef)(!1),x=(e=>{let t,i;return(t=e?.scopes?.kind,e?.neverLoggedIn&&t&&emV.includes(t))?"inactive":e?.scopes?.autoApply&&("object"!=typeof(i=e?.scopes?.autoApply)||null===i||!(i.creditCountUsed>0))?"no_copilot":"active"})(n),{credits:m,needsInfo:g,onSetupAutoApply:y,onAnswerCard:f}=ex8("subscriber"),b=(0,R.useMemo)(()=>epJ(c,!!n?.billingInfo?.alreadyGotFreePausePeriodDuringCancellation),[c,n?.billingInfo?.alreadyGotFreePausePeriodDuringCancellation]),_=!!r?.features.subCancellationV6&&m.hasUnusedCredits,v=(0,R.useMemo)(()=>{let e;return e=emz,"inactive"===x?e=emF:_&&(e=emH),e.filter(e=>"FREE_WEEK_OFFER"===e.step||e.modal===epS.PauseExtend?b.freeWeek:e.modal!==epS.LastChanceDiscount||b.lastChanceDiscount)},[x,b,_]),j=(0,R.useRef)(!1);(0,R.useEffect)(()=>{!j.current&&n&&(j.current=!0,(0,N.xP)("visit_subscription_cancellation",{type:"subscriber"}))},[n]);let A=v[u.currentIndex]||v[0],C=n?.firstName||"",w=n?.email||"",k=n?.billingInfo?.premiumEndsAt||"",{data:S}=ex2(),T=S?.resumesTailored??0,P=(0,R.useCallback)(()=>
4468p({type:"GO_NEXT",flowLength:v.length}),[v.length]),I=(0,R.useCallback)((e,t)=>ex0({screen:e,action:t,type:"subscriber",reason:u.reason}),[u.reason]),M=(0,R.useCallback)((t,i)=>{I(t,i),e("/")},[e,I]),B=(0,R.useCallback)(async()=>{try{let e=await a();if(e.data?.success){I("confirmation","undo_cancellation"),t(Z.o1.setAccount(e.data)),p({type:"GO_UNDO"});return}throw Error("restart failed")}catch{t(F.o1.setSnackBarOpen({status:!0,text:i.t(`${em8}.snackbar.restart_error`),type:F.pN.failure}))}},[a,t,i,I]),D=(0,R.useCallback)(e=>{(0,N.xP)("cancel_reason_choice",{reason:e}),p({type:"SET_REASON",reason:e})},[]),$=(0,R.useCallback)(()=>{p({type:"CLEAR_REASON"})},[]),O=(0,R.useCallback)(e=>{p({type:"SET_FEEDBACK_TEXT",text:e})},[]),z=(0,R.useCallback)(e=>{p({type:"SET_CONTACT_CONSENT",value:e})},[]),H=(0,R.useCallback)(async(r,n)=>{ex1({promo:r,where:n,type:"subscriber",reason:u.reason}),(0,N.xP)("cancellation_offer_accepted",{reason:u.reason||"",offer:r,feedback:u.feedbackText,contact_consent:u.contactConsent});try{if("trial_extension"===r){let e=await d();if(!e.data?.success)throw Error("pause failed");t(Z.o1.setAccount(e.data))}else{let e=epP[r];if(e&&!(await s(e)).success)throw Error("apply failed")}}catch(e){E.A.log(e),t(F.o1.setSnackBarOpen({status:!0,text:i.t(`${em8}.snackbar.offer_error`),type:F.pN.failure}));return}t(F.o1.setSnackBarOpen({status:!0,text:i.t(`${em8}.snackbar.offer_accepted`),type:F.pN.cancelable})),e("/")},[u.reason,u.feedbackText,u.contactConsent,t,e,i,s,d]),V=(0,R.useCallback)(()=>{!h.current&&u.reason&&((0,N.xP)("cancel_subscription",{reason:u.reason}),t(Z.o1.cancelUserSubscription({reason_to_cancel:u.reason,feedback:u.feedbackText,contact_consent:u.contactConsent})),h.current=!0)},[u.reason,u.feedbackText,u.contactConsent,t]);(0,R.useEffect)(()=>{h.current&&(o===eZ.Hp.loaded?(h.current=!1,P()):o===eZ.Hp.failed&&(h.current=!1,t(F.o1.setSnackBarOpen({status:!0,text:i.t(`${em8}.snackbar.cancel_error`),type:F.pN.failure}))))},[o,P,t,i]);let U=(0,R.useCallback)(()=>{e("/")},[e]),W=o===eZ.Hp.loading,K=b.lastChanceDiscount?P:V;return(0,J.jsxs)(J.Fragment,{children:[(()=>{switch(A.step){case emO.Recap:if("inactive"===x)return(0,J.jsx)(emq,{firstName:C,onContinue:P,onKeep:()=>M("inactive_recap","keep_premium")});return(0,J.jsx)(emW,{subState:x,onContinue:P,onKeep:()=>M("recap","keep_premium"),onLeaveForAutoApply:()=>I("recap","auto_apply")});case emO.AutoApplyCredits:return(0,J.jsx)(exY,{cohort:"subscriber",firstName:C,credits:m,needsInfo:g,onSetupAutoApply:y,onAnswerCard:f,onContinue:P});case emO.FreeWeekOffer:return(0,J.jsx)(emC,{cohort:"subscriber",onAccept:()=>H("trial_extension","free_week_screen"),onContinue:P,eyebrowKey:`${em8}.shared.eyebrow`,continueLabelKey:`${em8}.shared.continue_cancellation`});case emO.MatchingJobs:return(0,J.jsx)(emb,{cohort:"subscriber",onContinue:P,onKeep:()=>M("matching_jobs","keep_premium"),onLeave:e=>I("matching_jobs",e),eyebrowKey:`${em8}.shared.eyebrow`,keepLabelKey:`${em8}.shared.keep_premium`});case emO.ReasonSurvey:return(0,J.jsx)(em0,{reason:u.reason,feedbackText:u.feedbackText,contactConsent:u.contactConsent,availability:b,onSelectReason:D,onClearReason:$,onSetFeedbackText:O,onSetContactConsent:z,onContinue:K,onAcceptOffer:e=>H(e,"reason_survey")});case emO.Confirmation:return(0,J.jsx)(em2,{email:w,premiumEndsAt:k,tailoredCount:T,onUndo:B,onDashboard:U,isRestarting:l});default:return null}})(),A.modal===epS.PauseExtend&&(0,J.jsx)(em5,{onAccept:()=>H("trial_extension","pause_modal"),onContinue:P}),A.modal===epS.LastChanceDiscount&&(0,J.jsx)(em6,{onAccept:()=>H("discount_50","discount_modal"),onContinue:V,onDismiss:()=>M("last_offer","close_modal"),isCancelling:W})]})},em7=tt.Ay.div(["position:relative;display:flex;flex-direction:column;width:547px;height:552px;box-shadow:0px 16px 64px -8px rgba(15,20,30,0.32),0px 6px 8px -2px rgba(15,20,30,0.08);",";"],tQ.A.Phone`
4469    max-width: 343px;
4470    height: auto;
4471  `),ege=tt.Ay.div(["position:absolute;right:32px;top:32px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:",";color:",";transition:background-color 0.2s;cursor:pointer;svg{width:20px;height:20px;}",";"],te.Jy.White,te.Jy.Neutral50,tQ.A.Phone`
4472    width: 24px;
4473    height: 24px;
4474    top: 20px;
4475    right: 20px;
4476  `),egt=tt.Ay.img(["border-radius:16px 16px 0 0;background-color:#8bbfff;",";"],tQ.A.Phone`
4477    max-width: 343px;
4478  `),egi=tt.Ay.div(["padding:32px;display:flex;flex-direction:column;background-color:",";border-radius:0 0 16px 16px;",";"],te.Jy.White,tQ.A.Phone`
4479    padding: 20px;
4480  `),egr=tt.Ay.p(["",";",";",";"],td.Ay.S,td.BO.DemiBold,tQ.A.Phone`
4481    max-width: 303px;
4482  `),egn=tt.Ay.p(["",";color:",";margin-top:12px;.important{color:",";",";}",";"],td.Ay.Body,te.Jy.Neutral50,te.Jy.Neutral80,td.BO.Medium,tQ.A.Phone`
4483    max-width: 303px;
4484  `),ego=tt.Ay.div(["display:flex;justify-content:flex-end;background-color:",";margin-top:32px;gap:8px;",";"],te.Jy.White,tQ.A.Phone`
4485    margin-top: 20px;
4486  `),ega=(0,tt.Ay)(i$.Ay)(["",";",";color:",";background-color:",";border-radius:4px;padding:12px 24px;&:hover{background-color:",";}",";"],td.Ay.Body,td.BO.Medium,e=>e.isDisabled?te.Jy.Neutral50:te.Jy.White,e=>e.isDisabled?te.Jy.Neutral20:te.Jy.Blue50,te.Jy.Blue60,tQ.A.Phone`
4487    padding: 8px 12px;
4488  `),egl=(0,tt.Ay)(i$.Ay)(["",";",";color:",";background-color:",";border-radius:4px;padding:12px 24px;border:1px solid ",";&:hover{background-color:",";border:1px solid ",";color:",";}",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90,te.Jy.White,te.Jy.Neutral20,te.Jy.White,te.Jy.Blue50,te.Jy.Blue50,tQ.A.Phone`
4489    padding: 8px 12px;
4490  `);var egs=i.p+"media/pause_logo1fe8b1e8cc5f0308.png";let egd=({onContinueCancellation:e,onClose:t})=>{let{isPhone:i}=(0,ih.e)(),r=(0,e4.J)(),n=(0,eU.wA)(),[o,a]=(0,R.useState)(!1),l=(0,eW.N)(Z.Tp.pauseSubscriptionStatus),{i18n:s}=(0,e1.s)();return(0,R.useEffect)(()=>
4490{(0,N.xP)(eu3.viewPauseModal,{period_type:r?.availableFreePeriod||"month"})},[r?.availableFreePeriod]),(0,R.useEffect)(()=>{a(l===eZ.Hp.loading)},[l]),(0,J.jsx)(i6.A,{fullScreen:i,overlayFadeDuration:350,contentSlideDuration:350,backgroundOpacity:.8,onClick:t,children:(0,J.jsxs)(em7,{children:[(0,J.jsx)(egt,{src:egs}),(0,J.jsxs)(egi,{children:[(0,J.jsx)(egr,{children:s.t("builder.subscription_cancellation_v4.pause_modal.title")}),(0,J.jsxs)(egn,{children:[s.t("builder.subscription_cancellation_v4.pause_modal.description_line_one")," ",(0,J.jsx)("span",{className:"important",children:s.t("builder.subscription_cancellation_v4.pause_modal.description_line_two",{period:s.t(`builder.intervals.${r?.availableFreePeriod||"month"}`)})})," ",s.t("builder.subscription_cancellation_v4.pause_modal.description_line_three")]}),(0,J.jsxs)(ego,{children:[(0,J.jsx)(egl,{onClick:e,children:s.t("builder.subscription_cancellation_v4.pause_modal.cancel_button")}),(0,J.jsxs)(ega,{onClick:()=>{(0,N.xP)(eu3.abort,{reason:"subscription paused"}),n(Z.o1.pauseUserSubscription({onLoaded:t,redirectUrl:"/"}))},isLoading:o,isDisabled:o,children:[s.t("builder.subscription_cancellation_v4.pause_modal.great_button")," ",s.t(`builder.intervals.${r?.availableFreePeriod||"month"}`)[0].toUpperCase(),s.t(`builder.intervals.${r?.availableFreePeriod||"month"}`).slice(1)]})]})]}),(0,J.jsx)(ege,{onClick:t,children:(0,J.jsx)(tP.qJ.Close,{})})]})})},egc=tt.Ay.div(["position:absolute;right:32px;top:32px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:",";color:",";transition:background-color 0.2s;cursor:pointer;svg{width:20px;height:20px;}",";"],te.Jy.Neutral10,te.Jy.Neutral50,tQ.A.Phone`
4491    width: 24px;
4492    height: 24px;
4493    top: 20px;
4494    right: 20px;
4495  `),egu=tt.Ay.div(["display:flex;flex-direction:column;background-color:",";border-radius:",";position:relative;max-width:544px;width:100%;box-shadow:0px 16px 64px -8px rgba(15,20,30,0.32),0px 6px 8px -2px rgba(15,20,30,0.08);padding:",";",";"],te.Jy.White,te.Kz.S,te.Kz.L,tQ.A.Phone`
4496    max-width: 343px;
4497    padding: 20px;
4498  `),egp=tt.Ay.p(["",";",";color:",";max-width:416px;width:100%;",";"],td.Ay.M,td.BO.DemiBold,te.Jy.Neutral90,tQ.A.Phone`
4499    font-size 23px;
4500    max-width: 271px;
4501  `),egh=tt.Ay.p(["",";color:",";margin-top:24px;margin-bottom:",";width:100%;",";"],td.Ay.Body,te.Jy.Neutral50,te.Kz.XL,tQ.A.Phone`
4502    margin-top: ${te.Kz["2XS"]};
4503    margin-bottom: 20px;
4504    max-width: 271px;
4505  `),egx=tt.Ay.div(["display:flex;justify-content:flex-end;background-color:",";margin-top:32px;gap:8px;"],te.Jy.White),egm=(0,tt.Ay)(i$.Ay)(["",";",";color:",";background-color:",";border-radius:4px;padding:12px 24px;&:hover{background-color:",";}",";"],td.Ay.Body,td.BO.Medium,e=>e.isDisabled?te.Jy.Neutral50:te.Jy.White,e=>e.isDisabled?te.Jy.Neutral20:te.Jy.Blue50,te.Jy.Blue60,tQ.A.Phone`
4506    padding: 8px 12px;
4507  `),egg=(0,tt.Ay)(i$.Ay)(["",";",";color:",";background-color:",";border-radius:4px;padding:12px 24px;border:1px solid ",";&:hover{background-color:",";border:1px solid ",";color:",";}",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90,te.Jy.White,te.Jy.Neutral20,te.Jy.White,te.Jy.Blue50,te.Jy.Blue50,tQ.A.Phone`
4508    padding: 8px 12px;
4509  `),egy=tt.Ay.div(["display:flex;flex-direction:column;border-radius:12px;background-color:",";padding:",";gap:",";"],te.Jy.Neutral5,te.Kz.S,te.Kz.XS),egf=(0,tt.Ay)(egy)(["margin-top:",";padding-top:24px;background-color:",";border:2px solid ",";position:relative;"],te.Kz.XS,te.Jy.Blue10,te.Jy.Blue50),egb=tt.Ay.div(["position:absolute;padding:0 ",";border-radius:",";background-color:",";height:20px;top:0;left:",";display:flex;justify-content:center;align-items:center;"],te.Kz["2XS"],te.Kz["4XS"],te.Jy.Blue50,te.Kz.XS),eg_=tt.Ay.span(["color:",";",";",";"],te.Jy.White,td.Ay.Tiny,td.BO.DemiBold),egv=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;"]),egj=(0,tt.Ay)(tP.EK.Crown)(["width:24px;height:24px;color:",";"],te.Jy.Indigo60),egA=tt.Ay.span(["color:",";",";width:100%;",";"],te.Jy.Neutral80,td.Ay.Subhead,tQ.A.Phone`
4510    max-width: 126px;
4511  `),egC=tt.Ay.p(["color:",";",";max-width:304px;width:100%;",";"],te.Jy.Neutral50,td.Ay.Body,tQ.A.Phone`
4512    display: none;
4513  `),egw=tt.Ay.p(["color:",";",";max-width:250px;width:100%;display:none;padding-left:36px;",";"],te.Jy.Neutral50,td.Ay.Body,tQ.A.Phone`
4514    display: flex;
4515  `),egk=tt.Ay.span(["color:",";",";margin-left:auto;"],te.Jy.Neutral80,td.Ay.Body),egS=(0,tt.Ay)(tP.qJ.View)(["color:",";opacity:0.6;"],te.Jy.Blue90),egT=tt.Ay.div(["display:flex;gap:",";",";"],te.Kz.XS,tQ.A.Phone`
4516    align-items: center;
4517  `),egP=({onContinueCancellation:e,onClose:t})=>{let{isPhone:i}=(0,ih.e)(),{i18n:r}=(0,e1.s)(),n=(0,eU.wA)(),o=(0,eW.N)(Z.Tp.discountStatus),a=(0,eW.N)(Z.Tp.userData),l=a?.billingInfo.recurringAmount?Number(a?.billingInfo.recurringAmount.slice(3)):0,s=(0,e0.U)(),d=(l*(1-(s?.features?.discountPercentage||50)/100)).toFixed(2);(0,R.useEffect)(()=>{(0,N.xP)("promo_show",{where:"cancellation",promo:"stay_in_touch"})},[]);let c=(0,R.useCallback)(()=>{(0,N.xP)("promo_acceptance",{promo:"stay_in_touch",where:"cancellation"}),n(Z.o1.applyStayInTouchDiscount())},[n]);return(0,J.jsx)(i6.A,{fullScreen:i,overlayFadeDuration:350,contentSlideDuration:350,backgroundOpacity:.8,onClick:t,children:(0,J.jsxs)(egu,{children:[(0,J.jsx)(egc,{onClick:t,children:(0,J.jsx)(tP.qJ.Close,{})}),(0,J.jsx)(egp,{children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.title")}),(0,J.jsx)(egh,{children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.description")}),(0,J.jsxs)(egy,{children:[(0,J.jsxs)(egT,{children:[(0,J.jsx)(egj,{}),(0,J.jsxs)(egv,{children:[(0,J.jsx)(egA,{children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.current_plan.title")}),(0,J.jsx)(egC,{children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.current_plan.description")})]}),(0,J.jsxs)(egk,{children:[l.toFixed(2),"$/",r.t("builder.intervals.month")]})]}),(0,J.jsx)(egw,{children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.current_plan.description")})]}),(0,J.jsxs)(egf,{children:[(0,J.jsx)(egb,{children:(0,J.jsx)(eg_,{children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.special_plan.tag")})}),(0,J.jsxs)(egT,{children:[(0,J.jsx)(egS,{}),(0,J.jsxs)(egv,{children:[(0,J.jsx)(egA,{children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.special_plan.title")}),(0,J.jsx)(egC,{children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.special_plan.description")})]}),(0,J.jsxs)(egk,{children:[d,"$/",r.t("builder.intervals.month")]})]}),(0,J.jsx)(egw,{children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.special_plan.description")})]}),(0,J.jsxs)(egx,{children:[(0,J.jsx)(egg,{onClick:e,children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.skip_button")}),(0,J.jsx)(egm,{onClick:c,isLoading:o===eZ.Hp.loading,isDisabled:o===eZ.Hp.loading,children:r.t("builder.subscription_cancellation_v4.stay_in_touch_modal.keep_button")})]})]})})},egJ=tt.Ay.div(["margin:auto;height:fit-content;width:fit-content;display:flex;flex-direction:column;background-color:",";",";",";"],te.Jy.White,tQ.A.Tablet`
4518    max-width: 544px;
4519    padding-bottom: 37px;
4520    margin-top: 12px;
4521  `,tQ.A.Phone`
4522    max-width: 335px;
4523    margin-top: 8px;
4524    padding-bottom: 20px;
4525  `),egE=tt.Ay.p(["",";",";color:",";margin-top:12px;",";"],td.Ay.L,td.BO.Medium,te.Jy.Neutral90,tQ.A.Phone`
4526    ${td.Ay.S};
4527  `),egR=tt.Ay.div(["display:flex;gap:54px;margin-top:32px;",";",";"],tQ.A.Tablet`
4528    flex-direction: column;
4529    align-items: center;
4530    gap: 0;
4531  `,tQ.A.Phone`
4532    margin-top: 20px;
4533  `),egL=tt.Ay.div(["display:flex;flex-direction:column;gap:32px;"," padding-bottom:32px;max-width:511px;",";",";"],e=>e.$usePaddingTop&&"padding-top: 48px;",tQ.A.Tablet`
4534    order: 1;
4535    padding-top: 32px;
4536  `,tQ.A.Phone`
4537    padding-top: 20px;
4538    padding-bottom: 20px;
4539    gap: 12px;
4540    max-width: 300px;
4541  `),egN=tt.Ay.p(["",";",";color:",";",";",";"],td.Ay.S,td.BO.Medium,te.Jy.Neutral90,tQ.A.Tablet`
4542    display: none;
4543  `,tQ.A.Phone`
4544    display: block;
4545    ${td.Ay.Caption};
4546  `),egI=tt.Ay.p(["display:none;",";",";color:",";",";",";"],td.Ay.S,td.BO.Medium,te.Jy.Neutral90,tQ.A.Tablet`
4547    display: block;
4548  `,tQ.A.Phone`
4549    display: none;
4550  `),egM=tt.Ay.div(["display:flex;flex-direction:column;gap:24px;",";"],tQ.A.Phone`
4551    gap: 12px;
4552    max-width: 291px;
4553  `),egB=tt.Ay.div(["display:flex;align-items:flex-start;gap:8px;"]),egD=tt.Ay.p(["",";color:",";",";"],td.Ay.Body,te.Jy.Neutral80,tQ.A.Phone`
4554    font-size: 15px;
4555  `),eg$=tt.Ay.img(["height:fit-content;",";",";"],tQ.A.Tablet`
4556    order: 0;
4557    width: 313px;
4558  `,tQ.A.Phone`
4559    width: 201px;
4560  `),egO=tt.Ay.div(["display:flex;gap:32px;align-self:flex-start;align-items:center;",";",";"],tQ.A.Tablet`
4561    flex-direction: column;
4562    align-self: center;
4563  `,tQ.A.Phone`
4564    margin-top: 20px;
4565    width: 100%;
4566    gap: 12px;
4567  `),egz=(0,tt.Ay)(i$.Ay)(["",";",";color:",";background-color:",";border-radius:4px;width:206px;padding:12px 24px;&:hover{background-color:",";}",";"],td.Ay.Body,td.BO.Medium,te.Jy.White,te.Jy.Blue50,te.Jy.Blue60,tQ.A.Phone`
4568    width: 100%;
4569  `),egF=tt.Ay.p(["",";",";color:",";cursor:pointer;&:hover{color:",";}"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral50,te.Jy.Blue50),egH=tt.Ay.img(["",";"],tQ.A.Phone`
4570    width: 20px;
4571    height: 20px;
4572  `),egV=tt.Ay.span(["color:",";",";"],te.Jy.Neutral50,td.Ay.Caps),egU=tt.Ay.div(["width:384px;height:384px;padding:41px 44px 0px 44px;border-radius:",";background:",";overflow:hidden;",";"],te.Kz.XS,te.Jy.Neutral5,tQ.A.Phone`
4573    width: 100%;
4574    padding: 20px 22px 0px 22px;
4575    height: 363px;
4576  `);var egW=i.p+"media/documents6d0eff83496d6957.svg",egK=i.p+"media/download9c6f921846770f70.svg",egq=i.p+"media/locked8060a14aafba39fa.svg",egG=i.p+"media/arrow_target07795bc801ec4f29.svg",egZ=i.p+"media/bar_chart889fd3e82ae39f87.svg",egX=i.p+"media/resume_limit_logo6313ddc734aadabc.png";let egQ=({onContinueCancellation:e})=>{let t,i=(0,L.Zp)(),[r,n]=(0,R.useState)(!1),o=(0,eW.N)(Z.Tp.userData),{i18n:a}=(0,e1.s)(),l=o?.billingInfo?.alreadyGotFreePausePeriodDuringCancellation,s=o?.billingInfo?.alreadyGotDiscountDuringSubCancellation,d=(0,eW.N)(X.Tp.locale),c=(0,e0.U)(),u=c?.features.stayInTouchOffer,[p,h]=(0,R.useState)(!1),x=(0,eW.N)(Z.Tp.userData),m=x?.billingInfo.recurringAmount?Number(x?.billingInfo.recurringAmount.slice(3)):0,g=(0,R.useRef)(null),{resume:y,loading:f}=(0,edm.U)(),{isTablet:b}=(0,ih.e)();return(0,R.useEffect)(()=>{(0,N.xP)("see_loss_aversion_popup")},[]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(egJ,{children:[(0,J.jsx)(egV,{children:a.t("builder.subscription_cancellation_v4.auto_apply.header")}),(0,J.jsx)(egE,{children:a.t("builder.subscription_cancellation_v4.step_one.title")}),f?(0,J.jsx)(du.Ay,{style:{margin:"64px auto 0"}}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(egR,{children:[(0,J.jsxs)(egL,{$usePaddingTop:!y,children:[(0,J.jsx)(egN,{children:a.t("builder.subscription_cancellation_v4.step_one.subtitle")}),(0,J.jsxs)(egI,{children:[a.t("builder.subscription_cancellation_v4.step_one.subtitle_line_one"),(0,J.jsx)("br",{}),a.t("builder.subscription_cancellation_v4.step_one.subtitle_line_two")]}),(0,J.jsx)(egM,{children:[{src:egW,text:(t=a.t)("builder.subscription_cancellation_v4.step_one.icons.document")},{src:egK,text:t("builder.subscription_cancellation_v4.step_one.icons.download")},{src:egZ,text:t("builder.subscription_cancellation_v4.step_one.icons.bar_chart")},{src:egG,text:t("builder.subscription_cancellation_v4.step_one.icons.arrow")},{src:egq,text:t("builder.subscription_cancellation_v4.step_one.icons.locked")}].map(e=>(0,J.jsxs)(egB,{children:[(0,J.jsx)(egH,{src:e.src}),(0,J.jsx)(egD,{children:e.text})]},e.src))})]}),y?(0,J.jsx)(egU,{children:(0,J.jsx)(VS.A,{height:b?343:417,width:295,documentId:y.id,type:eZ.VC.resume,document:y,ref:g,onPaginationChange:()=>{}})}):(0,J.jsx)(eg$,{src:egX})]}),(0,J.jsxs)(egO,{children:[(0,J.jsx)(egz,{onClick:()=>{(0,N.xP)(eu3.abort),i("/")},children:a.t("builder.subscription_cancellation_v4.step_one.premium_button")}),(0,J.jsx)(egF,{onClick:()=>{u&&!s&&0!==m?h(!0):l||"nl-NL"===d||!o?.availableFreePeriod?e():n(!0)},children:a.t("builder.subscription_cancellation_v4.step_one.cancel_button")})]})]})]}),r&&(0,J.jsx)(egd,{onContinueCancellation:e,onClose:()=>n(!1)}),p&&(0,J.jsx)(egP,{onContinueCancellation:()=>{h(!1),l||"nl-NL"===d||!o?.availableFreePeriod?e():n(!0)},onClose:()=>h(!1)})]})},egY=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;text-align:center;align-items:center;"]),eg0=(0,tt.Ay)(egY)(["width:608px;"," ",";"],tQ.A.Tablet`
4577    width: 530px;
4578  `,tQ.A.Phone`
4579    width: 303px;
4580  `),eg1=tt.Ay.p(["",";font-weight:600;margin-bottom:24px;text-align:center;color:",";",""],td.Ay.S,te.Jy.Neutral90,tQ.A.Phone`
4581    margin-bottom: 16px;
4582    width: 208px;
4583  `),eg2=tt.Ay.div(["width:608px;display:flex;flex-direction:column;margin-top:32px;"," ",""],tQ.A.Tablet`
4584    width: 530px;
4585  `,tQ.A.Phone`
4586    width: 303px;
4587    margin-top: 24px;
4588    align-items: center;
4589  `),eg3=tt.Ay.div(["display:flex;flex-direction:column;margin-top:8px;"]),eg5=tt.Ay.div(["display:flex;margin-top:8px;align-items:center;"]),eg4=tt.Ay.div(["margin-top:28px;width:100%;display:flex;justify-content:center;align-items:center;position:relative;"]),eg6=tt.Ay.div(["width:608px;display:flex;align-items:start;"," ",""],tQ.A.Tablet`
4590    width: 530px;
4591  `,tQ.A.Phone`
4592    width: 303px;
4593  `),eg8=tt.Ay.p(["",";margin-top:16px;color:",";",""],td.Ay.Caption,te.Jy.Neutral50,tQ.A.Phone`
4594    margin-top: 10px;
4595  `),eg9=tt.Ay.div([""]),eg7=tt.Ay.div(["align-items:center;text-align:center;position:relative;overflow:hidden;display:flex;flex-direction:column;background-color:",";border-radius:16px;z-index:30;padding-top:52px;",""],te.Jy.White,tQ.A.Phone`
4596    padding-top: 42px;
4597  `),eye=(0,tt.Ay)(eg7)(["width:800px;height:754px;border-radius:16px;"," ",""],tQ.A.Tablet`
4598    width: 634px;
4599    height: 754px;
4600  `,tQ.A.Phone`
4601    width: 343px;
4602    height: 892px;
4603  `),eyt=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:8px;"," & >
4603 div:not(:first-child){margin-top:10px;}"],tQ.A.Phone`
4604    padding-top: 0px;
4605  `),eyi=tt.Ay.div(["width:608px;height:72px;display:flex;align-items:center;justify-content:space-between;background-color:",";border-radius:8px;"," ",""],te.Jy.Neutral5,tQ.A.Tablet`
4606    width: 530px;
4607    height: 72px;
4608  `,tQ.A.Phone`
4609    width: 303px;
4610    height: 100px;
4611  `),eyr=tt.Ay.div(["display:flex;padding-right:18px;"," ",""],tQ.A.Tablet`
4612    padding-right: 18px;
4613  `,tQ.A.Phone`
4614    padding-right: 12px;
4615  `),eyn=tt.Ay.img(["width:40px;height:40px;margin:16px;"]),eyo=(0,tt.Ay)(eyn)([""]),eya=tt.Ay.img(["width:24px;height:24px;margin-right:8px;"]),eyl=(0,tt.Ay)(eya)([""]),eys=tt.Ay.div(["text-align:left;",""],tQ.A.Phone`
4616    max-width: 150px;
4617  `),eyd=tt.Ay.p(["margin-bottom:4px;",";color:",";"," ",""],td.BO.Medium,te.Jy.Neutral90,td.Ay.Caption,tQ.A.Phone`
4618    max-width: 150px;
4619  `),eyc=tt.Ay.p(["color:",";width:358px;",";",""],te.Jy.Neutral50,td.Ay.Tiny,tQ.A.Phone`
4620    width: 150px;
4621  `),eyu=tt.Ay.p(["text-align:start;",";"],td.Ay.ButtonS),eyp=tt.Ay.p(["margin-bottom:4px;color:",";",""],te.Jy.Blue50,tQ.A.AboveTablet`
4622    ${eyi}:hover & {
4623      color: ${te.Jy.Blue50};
4624    }
4625  `),eyh=tt.Ay.div(["display:flex;align-items:center;"]),eyx=tt.Ay.p(["padding:12px 24px;",";",";color:",";margin-bottom:32px;cursor:pointer;&:hover{color:",";}"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral50,te.Jy.Blue50);var eym=i.p+"media/explore_careerse80a620b016697ad.svg",eyg=i.p+"media/free_resume_critique1d875df8732a81f6.svg",eyy=i.p+"media/interview_prepd60d2332568388da.svg",eyf=({children:e})=>(0,J.jsx)(eyi,{children:e}),eyb=(0,R.memo)(e=>{let{featureItem:t}=e,i=(0,L.Zp)(),r={fill:te.Jy.Blue50};return(0,J.jsxs)(eyf,{children:[(0,J.jsxs)(eyh,{children:[(0,J.jsx)(eg9,{children:(0,J.jsx)(eyo,{src:t.featureIcon,alt:t.featureTitle})}),(0,J.jsxs)(eys,{children:[(0,J.jsx)(eyd,{children:t.featureTitle}),(0,J.jsx)(eyc,{children:t.featureDesc})]})]}),(0,J.jsxs)(eyr,{onClick:async()=>{if("/"!==t.featureLink){let{data:e}=await Y.uE.post("/career-identity/activate",{redirect_to:t.featureLink});window.open(e.loginLink,"_self")}else i("/")},children:[(0,J.jsx)(eyp,{children:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.feature_card_link")}),(0,J.jsx)(tP.qJ.ToggleArrow,{style:r})]})]})}),ey_=(0,R.memo)(()=>{let e=[{featureTitle:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.feature_title_1"),featureDesc:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.feature_desc_1"),featureIcon:eyg,featureLink:"/"},{featureTitle:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.feature_title_2"),featureDesc:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.feature_desc_2"),featureIcon:eym,featureLink:"/app/explore-careers"},{featureTitle:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.feature_title_3"),featureDesc:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.feature_desc_3"),featureIcon:eyy,featureLink:"/app/interview-preparation/dashboard"}];return(0,J.jsx)(eyt,{children:e.map((e,t)=>(0,J.jsx)(eyb,{featureItem:e},t))})}),eyv=i.p+"media/document_limitc6d0c9b032806695.svg",eyj=i.p+"media/download_limit9c6f921846770f70.svg",eyA=i.p+"media/attempt_limita1d57d4a6faf685d.svg",eyC=(0,R.memo)(()=>{let e=[{featureTitle:(0,J.jsxs)(J.Fragment,{children:["Only ",(0,J.jsx)("b",{children:"1 resume"})," and ",(0,J.jsx)("b",{children:"1 cover letter"})]}),featureIcon:eyv},{featureTitle:(0,J.jsxs)(J.Fragment,{children:["Only ",(0,J.jsx)("b",{children:"3 attempts for AI usage"}),", now you have unlimited"]}),featureIcon:eyA},{featureTitle:(0,J.jsx)(J.Fragment,{children:"No downloads or export for you documents, only share link"}),featureIcon:eyj}];return(0,J.jsx)(eg3,{children:e.map(({featureIcon:e,featureTitle:t},i)=>(0,J.jsxs)(eg5,{children:[(0,J.jsx)(eg9,{children:(0,J.jsx)(eyl,{src:e,alt:""})}),(0,J.jsx)(eyu,{children:t})]},i))})}),eyw=(0,R.memo)(e=>{let{onClose:t,onContinueCancellation:i}=e;return(0,R.useEffect)(()=>{(0,N.xP)("see_loss_aversion_popup")},[]),(0,J.jsx)(eye,{children:(0,J.jsxs)(eg0,{children:[(0,J.jsx)(eg1,{children:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.title")}),(0,J.jsx)(ey_,{}),(0,J.jsx)(eg6,{children:(0,J.jsx)(eg8,{children:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.amazing_tools_desc")})}),(0,J.jsxs)(eg2,{children:[(0,J.jsx)(eg1,{children:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.title_document_limited")}),(0,J.jsx)(eyC,{}),(0,J.jsx)(eg4,{children:(0,J.jsx)(i$.Ay,{onClick:t,children:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.stay_premium_button_text")})}),(0,J.jsx)(eyx,{onClick:i,children:i7.R.t("builder.subscription_cancellation.offered_feature_dialog.continue_cancellation")})]})]})})});let eyk=(0,R.memo)(e=>{let{onClose:t,onContinueCancellation:i}=e,{isPhone:r}=(0,ih.e)();return r?(0,J.jsx)(eyw,{onClose:t,onContinueCancellation:i}):(0,J.jsx)(i6.A,{onClick:t,overlayFadeDuration:150,contentSlideDuration:150,fullScreen:r,children:(0,J.jsx)(eyw,{onClose:t,onContinueCancellation:i})})});var eyS=i.p+"media/card_jobOffere068f2b31c2afe95.png",eyT=i.p+"media/card_discount5b48b1ff106a9cb1.png",eyP=i.p+"media/card_featureProblem747c801389e12900.png",eyJ=i.p+"media/card_dreamJob52ac078105ffe788.png",eyE=i.p+"media/card_otherReasons9ebca8077af8f30d.png",eyR=()=>{let e=(0,R.useCallback)(e=>{switch(e){case eu1.JobOffer:return i7.R.t("builder.subscription_cancellation.promotion_cards.job_offer");case eu1.Discount:return i7.R.t("builder.subscription_cancellation.promotion_cards.discount");case eu1.FeatureOrProblem:return i7.R.t("builder.subscription_cancellation.promotion_cards.feature");case eu1.DreamJob:return i7.R.t("builder.subscription_cancellation.promotion_cards.dont_need");case eu1.OtherReasons:return i7.R.t("builder.subscription_cancellation.promotion_cards.other");case eu1.DontNeedPromos:return i7.R.t("builder.subscription_cancellation.promotion_cards.dont_need");default:return""}},[]);return{getCardTitle:e,getCardImage:(0,R.useCallback)(e=>{switch(e){case eu1.JobOffer:return eyS;case eu1.Discount:return eyT;case eu1.FeatureOrProblem:return eyP;case eu1.DreamJob:return eyJ;case eu1.OtherReasons:return eyE;case eu1.DontNeedPromos:return eyJ;default:return""}},[]),getCardStyles:(0,R.useCallback)(e=>{switch(e){case eu1.JobOffer:return{backgroundColor:`${te.Jy.Blue10}`,borderColor:`${te.Jy.Blue20}`,buttonColor:`${te.Jy.Blue50}`,buttonHoverColor:`${te.Jy.Blue60}`,noticeTextColor:`${te.Jy.Blue90}`};case eu1.Discount:return{backgroundColor:`${te.Jy.Indigo10}`,borderColor:`${te.Jy.Indigo20}`,buttonColor:`${te.Jy.Indigo90}`,buttonHoverColor:`${te.Jy.Indigo100}`,noticeTextColor:`${te.Jy.Indigo90}`};case eu1.FeatureOrProblem:return{backgroundColor:`${te.Jy.Beige10}`,borderColor:`${te.Jy.Beige20}`,buttonColor:`${te.Jy.Blue50}`,buttonHoverColor:`${te.Jy.Blue60}`,noticeTextColor:`${te.Jy.Beige90}`};case eu1.DreamJob:return{backgroundColor:`${te.Jy.Green10}`,borderColor:`${te.Jy.Green20}`,buttonColor:`${te.Jy.Green50}`,buttonHoverColor:`${te.Jy.Green60}`,noticeTextColor:`${te.Jy.Green90}`};case eu1.OtherReasons:return{backgroundColor:`${te.Jy.Beige10}`,borderColor:`${te.Jy.Beige20}`,buttonColor:`${te.Jy.Blue50}`,buttonHoverColor:`${te.Jy.Blue60}`,noticeTextColor:`${te.Jy.Beige90}`};case eu1.DontNeedPromos:return{backgroundColor:`${te.Jy.Neutral5}`,borderColor:`${te.Jy.Beige20}`,buttonHoverColor:`${te.Jy.Neutral10}`,buttonBorderColor:`${te.Jy.Blue20}`,noticeTextColor:`${te.Jy.Beige90}`};case"submitContent":case"errorSubmit":return{backgroundColor:`${te.Jy.Beige10}`,borderColor:"",noticeTextColor:"",buttonHoverColor:"",buttonColor:""};default:return{backgroundColor:"",borderColor:"",noticeTextColor:"",buttonHoverColor:"",buttonColor:""}}},[])}},eyL=i.p+"media/promotion_jobOffered44b36f3e9a4bc009.png",eyN=i.p+"media/promotion_discountd2aa81a9c6e33f78.png",eyI=i.p+"media/promotion_dreamJobb48bacf5b7e66b88.png",eyM=i.p+"media/pause-visual34a4b72b4fe17b8d.svg";let eyB=tt.Ay.div(["position:relative;display:flex;flex-direction:column;width:544px;height:568px;border-radius:6px;background-color:",";",""],te.Jy.White,tQ.A.Phone`
4626    width: 343px;
4627    height: auto;
4628  `),eyD=tt.Ay.div(["position:absolute;right:32px;top:32px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background-color:",";color:",";transition:background-color 0.2s;cursor:pointer;",""],te.Jy.White,(0,ti.j)(te.Jy.Neutral50),tQ.A.Phone`
4629    top: 20px;
4630    right: 20px;
4631  `),ey$=tt.Ay.div(["background-image:url(",");background-size:cover;width:544px;height:220px;border-radius:6px 6px 0 0;",""],eyM,tQ.A.Phone`
4632    width: 343px;
4633    height: 188px;
4634  `),eyO=tt.Ay.div(["padding:32px;display:flex;flex-direction:column;align-items:left;",""],tQ.A.Phone`
4635    padding: 20px;
4636  `),eyz=tt.Ay.div(["",";font-weight:600;width:480px;font-size:26px;line-height:",";margin-bottom:8px;",""],td.Ay.S,28/26,tQ.A.Phone`
4637    width: 303px;
4638    font-size: 23px;
4639    line-height: ${24/23};
4640  `),eyF=tt.Ay.div(["color:",";width:480px;font-size:19px;line-height:",";& p:not(:last-child){margin-bottom:12px;}",""],(0,ti.j)(te.Jy.Neutral50),24/19,tQ.A.Phone`
4641    width: 303px;
4642    font-size: 16px;
4643    line-height: ${1.25};
4644    & p:not(:last-child) {
4645      margin-bottom: 8px;
4646    }
4647  `),eyH=tt.Ay.div(["display:flex;justify-content:flex-end;padding:0px 32px 32px 32px;"," & ","{margin-left:16px;display:flex;font-size:18px;font-weight:600;align-items:center;justify-content:center;line-height:",";border-radius:4px;
4647height:48px;width:176px;","}"],tQ.A.Phone`
4648    flex-direction: column;
4649    padding: 0px 20px 20px 20px;
4650    & button:not(:last-child) {
4651      margin-bottom: 8px;
4652    }
4653  `,i$.Ay,22/18,tQ.A.Phone`
4654      margin-left: 0px;
4655      width: 303px;
4656      font-size: 16px;
4657      line-height: ${1.25};
4658      height: 36px;
4659    `),eyV=({period:e,cancellationReason:t,onClose:i})=>{let{isPhone:r}=(0,ih.e)(),n=(0,eU.wA)(),[o,a]=(0,R.useState)(!1),[l,s]=(0,R.useState)(!1),d=(0,eW.N)(Z.Tp.pauseSubscriptionStatus),c=(0,eW.N)(Z.Tp.cancellationStatus);(0,R.useEffect)(()=>{a(d===eZ.Hp.loading)},[d]),(0,R.useEffect)(()=>{s(c===eZ.Hp.loading)},[c]),(0,R.useEffect)(()=>{(0,N.xP)(eu3.viewPauseModal,{period_type:e})},[e]);let u=(0,R.useCallback)(()=>{i(),(0,N.xP)(eu3.closePauseModal,{period_type:e})},[i,e]),p=(0,R.useCallback)(()=>{(0,N.xP)(eu3.pause,{period:e}),n(Z.o1.pauseUserSubscription())},[n,e]),h=(0,R.useCallback)(()=>{n(Z.o1.cancelUserSubscription({[eu0.cancel]:t??""}))},[n,t]);return(0,J.jsx)(i6.A,{fullScreen:r,overlayFadeDuration:250,contentSlideDuration:0,onClick:u,children:(0,J.jsxs)(eyB,{children:[(0,J.jsx)(ey$,{}),(0,J.jsxs)(eyO,{children:[(0,J.jsx)(eyz,{children:i7.R.t("builder.subscription_cancellation.pause_modal.free_period",{period:e??"week"})}),(0,J.jsxs)(eyF,{children:[(0,J.jsx)("p",{children:i7.R.t("builder.subscription_cancellation.pause_modal.description_line_one",{period:e??"week"})}),(0,J.jsx)("p",{children:i7.R.t("builder.subscription_cancellation.pause_modal.description_line_two",{period:"month"===e?"these 30 days":"this week"})}),(0,J.jsx)("p",{children:i7.R.t("builder.subscription_cancellation.pause_modal.description_line_three")})]})]}),(0,J.jsxs)(eyH,{children:[(0,J.jsx)(i$.Ay,{isLoading:l,theme:i$.Ox.ghost,onClick:h,children:i7.R.t("builder.subscription_cancellation.pause_modal.cancel_now")}),(0,J.jsx)(i$.Ay,{isLoading:o,onClick:p,children:"month"===e?i7.R.t("builder.subscription_cancellation.pause_modal.free_month"):i7.R.t("builder.subscription_cancellation.pause_modal.free_week")})]}),(0,J.jsx)(eyD,{onClick:u,children:(0,J.jsx)(tP.qJ.Close,{})})]})})};var eyU=i.p+"media/discount-modal-headerf32109368d6a0620.svg";let eyW=tt.Ay.div(["position:relative;display:flex;flex-direction:column;width:544px;height:532px;border-radius:16px;background-color:",";",""],te.Jy.White,tQ.A.Phone`
4660    width: 343px;
4661    height: auto;
4662  `),eyK=tt.Ay.div(["position:absolute;right:32px;top:32px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:",";color:",";transition:background-color 0.2s;cursor:pointer;svg{width:20px;height:20px;}",""],te.Jy.White,(0,ti.j)(te.Jy.Neutral50),tQ.A.Phone`
4663    width: 24px;
4664    height: 24px;
4665    top: 20px;
4666    right: 20px;
4667  `),eyq=tt.Ay.div(["background-image:url(",");background-size:cover;width:544px;height:300px;border-radius:16px 16px 0 0;",""],eyU,tQ.A.Phone`
4668    width: 343px;
4669    height: 188px;
4670  `),eyG=tt.Ay.div(["padding:32px;display:flex;flex-direction:column;align-items:left;",""],tQ.A.Phone`
4671    padding: 20px;
4672  `),eyZ=tt.Ay.div(["",";",";width:480px;margin-bottom:8px;",""],td.Ay.S,td.BO.DemiBold,tQ.A.Phone`
4673    width: 303px;
4674  `),eyX=tt.Ay.div(["color:",";width:480px;& p:not(:last-child){margin-bottom:12px;}"," .important{",";color:",";}"],te.Jy.Neutral50,tQ.A.Phone`
4675    width: 303px;
4676
4677    & p:not(:last-child) {
4678      margin-bottom: 8px;
4679    }
4680  `,td.BO.Medium,te.Jy.Neutral80),eyQ=tt.Ay.div(["display:flex;justify-content:flex-end;padding:0px 32px 32px 32px;"," & ","{margin-left:8px;display:flex;",";",";align-items:center;justify-content:center;border-radius:4px;","}"],tQ.A.Phone`
4681    padding: 0px 20px 20px 20px;
4682    gap: 8px;
4683  `,i$.Ay,td.Ay.ButtonM,td.BO.DemiBold,tQ.A.Phone`
4684      margin-left: 0px;
4685      padding: 8px 12px;
4686      ${td.Ay.ButtonS};
4687    `),eyY=({onContinueCancellation:e,onClose:t,priceAfterDiscount:i})=>{let{isPhone:r}=(0,ih.e)(),n=(0,eU.wA)(),o=(0,eW.N)(Z.Tp.cancellationStatus),a=(0,eW.N)(Z.Tp.discountStatus),l=(0,e0.U)(),s=l?.features?.subCancellationV4||!1,d=l?.features?.discountPercentage||50,c=(0,R.useCallback)(()=>t(),[t]),u=(0,R.useCallback)(()=>{(0,N.xP)(eu3.abort,{reason:"discount applied"}),(0,N.xP)("promo_acceptance",{promo:"discount",where:"cancellation"}),n(Z.o1.getDiscountNew({discountPercentage:l?.features?.discountPercentage||50}))},[n]);return(0,R.useEffect)(()=>{(0,N.xP)("see_discount_popup")},[]),(0,J.jsx)(i6.A,{fullScreen:r,overlayFadeDuration:250,contentSlideDuration:0,onClick:c,children:(0,J.jsxs)(eyW,{children:[(0,J.jsx)(eyq,{}),(0,J.jsxs)(eyG,{children:[(0,J.jsx)(eyZ,{children:s?i7.R.t("builder.subscription_cancellation_v4.discount_offered_modal.title",{discount_percentage:d}):i7.R.t("builder.subscription_cancellation.discount_offered_modal.title",{discount_percentage:d})}),(0,J.jsx)(eyX,{children:s?(0,J.jsxs)(J.Fragment,{children:[i7.R.t("builder.subscription_cancellation_v4.discount_offered_modal.description_line_one",{discount_percentage:d})," ",(0,J.jsx)("span",{className:"important",children:i7.R.t("builder.subscription_cancellation_v4.discount_offered_modal.description_line_two")})]}):i?i7.R.t("builder.subscription_cancellation.discount_offered_modal.description_with_price",{price_after_discount:i?.toFixed(2),defaultValue:i7.R.t("builder.subscription_cancellation.discount_offered_modal.description"),discount_percentage:d}):i7.R.t("builder.subscription_cancellation.discount_offered_modal.description",{discount_percentage:d})})]}),(0,J.jsxs)(eyQ,{children:[(0,J.jsx)(i$.Ay,{theme:i$.Ox.ghost,onClick:e,isLoading:o===eZ.Hp.loading,isDisabled:o===eZ.Hp.loading,children:s?i7.R.t("builder.subscription_cancellation_v4.discount_offered_modal.discard_discount"):i7.R.t("builder.subscription_cancellation.discount_offered_modal.discard_discount")}
4687),(0,J.jsx)(i$.Ay,{onClick:u,isLoading:a===eZ.Hp.loading,isDisabled:a===eZ.Hp.loading,children:s?i7.R.t("builder.subscription_cancellation_v4.discount_offered_modal.apply_discount",{discount_percentage:d}):i7.R.t("builder.subscription_cancellation.discount_offered_modal.apply_discount")})]}),(0,J.jsx)(eyK,{onClick:c,children:(0,J.jsx)(tP.qJ.Close,{})})]})})},ey0=tt.Ay.span(["font-family:'TT Commons';",";text-align:center;color:",";margin-left:4px;"," ",""],td.BO.Medium,te.Jy.Blue50,tQ.A.Tablet`
4688    font-size: 19px;
4689    line-height: ${24/19};
4690  `,tQ.A.Phone`
4691    font-size: 16px;
4692    line-height: ${.8};
4693  `),ey1=tt.Ay.div(["display:none;margin-top:0px;justify-content:space-between;align-items:center;cursor:pointer;"," ",""],tQ.A.Tablet`
4694    display: flex;
4695  `,tQ.A.Phone`
4696    display: flex;
4697  `),ey2=tt.Ay.div(["display:flex;flex-direction:column;margin-top:0px;width:928px;justify-content:center;"," ",""],tQ.A.Tablet`
4698    width: 540px;
4699    margin-top: 32px;
4700  `,tQ.A.Phone`
4701    width: 335px;
4702    margin-top: 24px;
4703    margin-bottom: 24px
4704  `),ey3=tt.Ay.div(["display:flex;align-items:center;flex-direction:column;gap:8px;"]),ey5=(0,tt.Ay)(i$.$n)(["",";",";background-color:",";border-radius:4px;color:",";border:1px solid ",";&:hover{background-color:",";color:",";border:1px solid ",";}"],td.Ay.Body,td.BO.Medium,te.Jy.White,te.Jy.Neutral90,te.Jy.Neutral20,te.Jy.White,te.Jy.Blue50,te.Jy.Blue50);var ey4=()=>{let{handleOpenFeaturesOfferModal:e,handlePromotionClick:t}=efE(),i=(0,L.Zp)(),r={fill:te.Jy.Blue50};return(0,J.jsx)(ey2,{children:(0,J.jsxs)(ey3,{children:[(0,J.jsx)(eg4,{children:(0,J.jsx)(ey5,{onClick:()=>{(0,N.xP)(eu3.abort),i("/")},children:i7.R.t("builder.subscription_cancellation.cards.keep_subscription")})}),(0,J.jsx)(eyx,{onClick:e,children:i7.R.t("builder.subscription_cancellation.cards.continue_cancellation")}),(0,J.jsxs)(ey1,{children:[(0,J.jsx)(tP.EK.ArrowLeft,{style:r}),(0,J.jsx)(ey0,{onClick:()=>t(null),children:i7.R.t("builder.subscription_cancellation.cards.back")})]})]})})},ey6=i.p+"media/feedback_submitted68d458cd767745de.png";let ey8=tt.Ay.p(({topic:e})=>{let{getCardStyles:t}=eyR(),i=t(e),r=(0,R.useMemo)(()=>{switch(e){case eu1.FeatureOrProblem:case eu1.OtherReasons:return(0,tt.AH)([""," ",""],tQ.A.Tablet`
4705              margin-top: 32px;
4706          `,tQ.A.Phone`
4707              margin-top: 20px;
4708          `);default:return(0,tt.AH)([""])}},[e]);return(0,tt.AH)(["",";font-size:27px;line-height:",";color:",";"," "," ",""],td.BO.DemiBold,28/27,i.noticeTextColor,r,tQ.A.Tablet`
4709        margin-top: 24px;
4710        text-align: center;
4711    `,tQ.A.Phone`
4712        margin-top: 16px;
4713        font-size: 23px;
4714        line-height: ${24/23};
4715        text-align: center;
4716    `)}),ey9=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;text-align:center;& img{margin-bottom:22px;}"," ",""],tQ.A.Tablet`
4717    & div {
4718      margin-top: 20px;
4719    }
4720    & img {
4721      margin-bottom: 0px;
4722    }
4723  `,tQ.A.Phone`
4724    & div {
4725      margin-top: 20px;
4726    }
4727    & img {
4728      margin-bottom: 0px;
4729    }
4730  `);var ey7=()=>{let{successfulSubmit:e,promotionTitleTopic:t,promotionTitle:i}=efE();return(0,J.jsxs)(ey9,{children:[e&&(0,J.jsx)("img",{src:ey6,alt:""}),(0,J.jsx)(ey8,{topic:t,children:i})]})};let efe=tt.Ay.div(({activeCard:e,topic:t})=>(0,tt.AH)(["box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;& img{filter:",";}}"," ",";"],e&&e!==t?"grayscale(1)":"",tQ.A.Tablet`
4731      flex-direction: row;
4732      margin: 0px !important;
4733      justify-content: unset;
4734      width: 538px !important;
4735      height: 85px !important;
4736    `,tQ.A.Phone`
4737      flex-direction: row;
4738      justify-content: unset;
4739      margin: 0px !important;
4740      width: 333px !important;
4741      height: 79px !important;
4742    `)),eft=tt.Ay.div(({isCardClicked:e})=>(0,tt.AH)(["display:flex;height:160px;",";border-radius:16px;& > div:nth-child(-n + 4){border-right:1px solid ",";}& > div:first-child{width:187px;border-top-left-radius:16px;border-bottom-left-radius:16px;}& > div:last-child{width:187px;border-top-right-radius:16px;border-bottom-right-radius:16px;}",";",";",""],tr.A.light.low,te.Jy.Neutral15,tQ.A.Tablet`
4743    display: grid;
4744    width: 540px;
4745    height: 436px;
4746    border: 1px solid ${te.Jy.Neutral15};
4747    & >
4747 div:nth-child( -n + 4) {
4748      border-right: 0px;
4749      border-bottom: 1px solid ${te.Jy.Neutral15};
4750    }
4751    & > div:first-child {
4752      border-bottom-left-radius: 0px;
4753    }
4754  `,tQ.A.Phone`
4755    display: grid;
4756    width: 335px;
4757    height: 396px;
4758  `,e&&(0,tt.AH)([""," ",""],tQ.A.Tablet`
4759        display: none;
4760        `,tQ.A.Phone`
4761        display: none;
4762        `))),efi=tt.Ay.img(["display:flex;justify-content:center;width:50px;height:54px;"," ",""],tQ.A.Tablet`
4763    margin: 17px 19px !important;
4764  `,tQ.A.Phone`
4765    width: 43px;
4766    height: 46px;
4767    margin: 17px 10.5px 17px 19px !important;
4768  `),efr=tt.Ay.div(({activeCard:e,topic:t})=>{let{getCardStyles:i}=eyR(),r=i(t),n=e===t;return(0,tt.AH)(["box-sizing:border-box;border-width:1px 1px 0px 1px;border-style:solid;border-color:",";display:flex;justify-content:center;align-items:center;cursor:pointer;width:186px;height:160px;background:",";& img{filter:",";}& > div{border-radius:16px;}&:hover{& img{filter:grayscale(0);}& > div{background-color:",";border-radius:12px;width:calc(100% - 8px);height:152px;margin:4px;}}"," ",";"],te.Jy.Neutral15,n?r.backgroundColor:"",e&&!n?"grayscale(1)":"",r.backgroundColor,tQ.A.Tablet`
4769      width: 538px !important;
4770      height: 85px;
4771      border: none;
4772      &:hover {
4773        & > div {
4774          background-color: inherit;
4775        }
4776      }
4777    `,tQ.A.Phone`
4778      display: grid;
4779      width: 333px !important;
4780      height: 80px;
4781      border: none;
4782      &:hover {
4783        & > div {
4784          background-color: inherit;
4785        }
4786      }
4787    `)}),efn=tt.Ay.p(["",";",";width:155px;font-size:19px;line-height:",";text-align:center;color:",";margin-top:9px;"," ",""],td.Ay.M,td.BO.Medium,24/19,te.Jy.Neutral90,tQ.A.Tablet`
4788    width: 396px;
4789    text-align: left;
4790    margin: 0px;
4791    `,tQ.A.Phone`
4792    width: 211px;
4793    font-size: 16px;
4794    line-height: ${1.25};
4795    text-align: left;
4796    margin: 0px;
4797    `);var efo=({threePromoSubCancellation:e})=>{let{activeCard:t,handlePromotionClick:i,views:r}=efE(),{getCardImage:n,getCardTitle:o}=eyR(),a=!r.isDesktop,l={fill:te.Jy.Blue50,marginLeft:r.isPhone?"12px":""},s=(0,eW.N)(X.Tp.locale),d=Object.values(eu1);return d=e?d.filter(e=>e!==eu1.DreamJob):d.filter(e=>e!==eu1.DontNeedPromos),(0,J.jsx)(eft,{isCardClicked:!!t,children:d.map(e=>e===eu1.Discount&&"nl-NL"===s?null:(0,J.jsx)(efr,{activeCard:t,onClick:()=>i(t===e?null:e),topic:e,children:(0,J.jsxs)(efe,{activeCard:t,topic:e,children:[(0,J.jsx)(efi,{src:n(e)}),(0,J.jsx)(efn,{children:o(e)}),a&&(0,J.jsx)(tP.qJ.ToggleArrow,{style:l})]})},e))})};let efa=tt.Ay.div(()=>(0,tt.AH)(["width:100%;display:flex;flex-direction:row;margin:0 40px;justify-content:space-between;"," ",""],tQ.A.Tablet`
4798        flex-direction: column-reverse;
4799        align-items: center;
4800        margin: 0;
4801    `,tQ.A.Phone`
4802        flex-direction: column-reverse;
4803        align-items: center;
4804        margin: 0;
4805    `)),efl=tt.Ay.p(({topic:e})=>{let{getCardStyles:t}=eyR(),i=t(e),r=(0,R.useMemo)(()=>{switch(e){case eu1.JobOffer:return(0,tt.AH)(["",";margin-bottom:28px;"],td.BO.Medium);case eu1.Discount:return(0,tt.AH)(["margin-bottom:52px;"]);case eu1.FeatureOrProblem:case eu1.DreamJob:case eu1.OtherReasons:return(0,tt.AH)(["margin-bottom:24px;"]);default:return(0,tt.AH)([""])}},[e]);return(0,tt.AH)(["",";font-size:19px;line-height:",";margin-top:16px;color:",";& a{color:",";}"," "," ",""],td.BO.Regular,24/19,i.noticeTextColor,te.Jy.Blue60,r,tQ.A.Tablet`
4806      text-align: center;
4807      margin-top: 12px;
4808      margin-bottom: 24px;
4809    `,tQ.A.Phone`
4810      font-size: 16px;
4811      line-height: ${1.25};
4812      text-align: center;
4813      margin-top: 12px;
4814      margin-bottom: 16px;
4815    `)}),efs=tt.Ay.p(({topic:e})=>{let t="";return e===eu1.JobOffer&&(t=te.Jy.Blue80),e===eu1.DreamJob&&(t=te.Jy.Green80),(0,tt.AH)(["width:297px;font-size:14px;line-height:",";margin-left:16px;color:",";opacity:50%;"," ",""],16/14,t,tQ.A.Tablet`
4816        width: 400px;
4817        text-align: center;
4818        margin-left: unset !important;
4819        margin-top: 16px;
4820    `,tQ.A.Phone`
4821        width: 295px;
4822        font-size: 14px;
4823        line-height: ${16/14};
4824        text-align: center;
4825        margin-left: unset !important;
4826        margin-top: 12px;
4827    `)}),efd=tt.Ay.a(["position:absolute;right:0;color:",";transition:transform 0.3s ease;&:hover{color:",";transform:translateX(4px);}"],te.Jy.Blue50,te.Jy.Blue60),efc=(0,tt.Ay)(i$.$n)(({topic:e,isActive:t})=>{let{getCardStyles:i}
4827=eyR(),r=i(e),n=[eu1.FeatureOrProblem,eu1.OtherReasons].includes(e)?"36px":"48px";return(0,tt.AH)([""," "," display:flex;font-size:16px;align-items:center;justify-content:start;line-height:",";color:",";background-color:",";border-color:",";border-width:",";border-style:solid;border-radius:4px;border-style:solid;height:48px;width:436px;padding-left:12px;padding-right:24px;svg{margin-right:12px;}&:hover{background-color:",";}"," ",""],td.Ay.ButtonM,td.BO.Regular,22/18,te.Jy.Neutral90,t?te.Jy.Blue10:"transparent",t?te.Jy.Blue20:"transparent",t?"1px":"0px",r.buttonHoverColor,tQ.A.Tablet`
4828        width: 476px;
4829        padding-left: unset !important;
4830        padding-right: unset !important;
4831
4832    `,tQ.A.Phone`
4833        height: ${n};
4834        font-size: 15px;
4835        line-height: 18px;
4836        width: 100%;
4837    `)}),efu=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;justify-content:center;"," ",""],tQ.A.Tablet`
4838    flex-direction: column;
4839  `,tQ.A.Phone`
4840    flex-direction: column;
4841    margin-bottom: 20px;
4842    width: 100%;
4843  `);var efp=()=>{let{activeCard:e,isACIORegisteredUser:t,isPromotionButtonLoading:i,promotionButtonText:r,promotionTopic:n,dontNeedPromoSelectedIndex:o,setDontNeedPromoSelectedIndex:a}=efE(),l=(0,e0.U)(),s=l?.features.subCancellationV4||!1,d=!t&&[eu1.JobOffer,eu1.DreamJob].includes(e),c=(e,t)=>{(0,N.xP)("promo_show",{promo:t,where:"cancellation"}),a(e)},u=e=>{(0,N.xP)("promo_acceptance",{promo:e,where:"cancellation"})};return(0,J.jsxs)(efu,{children:[(0,J.jsxs)(efc,{isActive:0===o,isLoading:i,onClick:()=>c(0,"job_tracker"),topic:n,children:[(0,J.jsx)(qF.CIOProductsJobTracker,{}),r[0],(0,J.jsxs)(efd,{href:"https://career.io/app/job-tracking",onClick:()=>u("job_tracker"),children:["Try it",(0,J.jsx)(qz.TryItChevron,{})]})]}),(0,J.jsxs)(efc,{isActive:1===o,isLoading:i,onClick:()=>c(1,"profile"),topic:n,children:[(0,J.jsx)(qF.CIOProductsPitch,{}),r[1],(0,J.jsxs)(efd,{href:"https://career.io/app/career-profile/profile",onClick:()=>u("profile"),children:["Try it",(0,J.jsx)(qz.TryItChevron,{})]})]}),(0,J.jsxs)(efc,{isActive:2===o,isLoading:i,onClick:()=>c(2,"interview_prep"),topic:n,children:[(0,J.jsx)(qF.CIOProductsInterview,{}),r[2],(0,J.jsxs)(efd,{href:"https://career.io/app/interview-preparation/start",onClick:()=>u("interview_prep"),children:["Try it",(0,J.jsx)(qz.TryItChevron,{})]})]}),!s&&d&&(0,J.jsx)(efs,{topic:n,children:i7.R.t("builder.subscription_cancellation.promotion_section.get_started")})]})},efh=()=>{let{promotionDescription:e,promotionTitle:t,promotionTitleTopic:i,promotionTopic:r,dontNeedPromoSelectedIndex:n}=efE();return(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(efa,{topic:r,children:[(0,J.jsx)(efp,{}),(0,J.jsxs)("div",{style:{maxWidth:"356px"},children:[(0,J.jsx)(ey8,{topic:i,children:t}),(0,J.jsx)(efl,{topic:r,children:Array.isArray(e)?e[n]:e})]})]})})};let efx=tt.Ay.div(["display:flex;flex-direction:row;"," ",""],tQ.A.Tablet`
4844    flex-direction: column;
4845    margin-bottom: 32px;
4846    align-items: center;
4847    justify-content: center;
4848    `,tQ.A.Phone`
4849    flex-direction: column;
4850    margin-bottom: 20px;
4851    align-items: center;
4852    justify-content: center;
4853    `),efm=(0,tt.Ay)(i$.$n)(({topic:e})=>{let{getCardStyles:t}=eyR(),i=t(e),r=[eu1.FeatureOrProblem,eu1.OtherReasons].includes(e)?"36px":"48px",n=[eu1.FeatureOrProblem,eu1.OtherReasons].includes(e)?"16px":"18px",o=[eu1.FeatureOrProblem,eu1.OtherReasons].includes(e)?1.25:22/18;return(0,tt.AH)([""," "," display:flex;font-size:18px;align-items:center;justify-content:center;line-height:",";color:",";background-color:",";border-radius:4px;height:48px;width:fit-content;padding-left:24px;padding-right:24px;&:hover{background-color:",";}"," ",""],td.Ay.ButtonM,td.BO.DemiBold,22/18,te.Jy.White,i.buttonColor,i.buttonHoverColor,tQ.A.Tablet`
4854        width: 476px;
4855        padding-left: unset !important;
4856        padding-right: unset !important;
4857    `,tQ.A.Phone`
4858        height: ${r};
4859        font-size: ${n};
4860        line-height: ${o};
4861        width: 295px;
4862        padding-left: unset !important;
4863        padding-right: unset !important;
4864    `)});var efg=()=>{let{activeCard:e,isACIORegisteredUser:t,isPromotionButtonLoading:i,promotionButtonClickHandler:r,promotionButtonText:n,promotionTopic:o}=efE(),a=(0,e0.U)(),l=a?.features.subCancellationV4||!1,s=(0,R.useMemo)(()=>{switch(o){case eu1.OtherReasons:case eu1.FeatureOrProblem:return"support";case eu1.JobOffer:return l?"90_days":"offer_analyzer";case eu1.Discount:return"discount";case eu1.DreamJob:return l?"find_track_jobs":"job_search";default:return"unknown"}},[o,l]),d=(0,R.useCallback)(e=>{(0,N.xP)(eu3.acceptPromo,{promo:s,where:"cancellation"}),(0,N.xP)(eu3.abort,{reason:s}),r(e)},[s,r]),c=!t&&[eu1.JobOffer,eu1.DreamJob].includes(e);return(0,J.jsxs)(efx,{children:[(0,J.jsx)(efm,{isLoading:i,onClick:d,topic:o,children:n}),!l&&c&&(0,J.jsx)(efs,{topic:o,children:i7.R.t("builder.subscription_cancellation.promotion_section.get_started")})]})};let efy=tt.Ay.div(({topic:e})=>
4864{let t=[eu1.FeatureOrProblem,eu1.OtherReasons].includes(e)?"448px":"544px";return(0,tt.AH)(["width:",";display:flex;flex-direction:column;justify-content:center;align-items:left;padding-left:40px;"," ",""],t,tQ.A.Tablet`
4865        width: 540px;
4866        height: 436px;
4867        padding-left: unset !important;
4868        align-items: center;
4869    `,tQ.A.Phone`
4870        width: 335px;
4871        height: 396px;
4872        padding-left: unset !important;
4873        align-items: center;
4874    `)}),eff=tt.Ay.p(({topic:e})=>{let{getCardStyles:t}=eyR(),i=t(e),r=(0,R.useMemo)(()=>{switch(e){case eu1.JobOffer:return(0,tt.AH)(["",";margin-bottom:28px;"],td.BO.Medium);case eu1.Discount:return(0,tt.AH)(["margin-bottom:52px;"]);case eu1.FeatureOrProblem:return(0,tt.AH)(["width:408px;margin-bottom:24px;"]);case eu1.DreamJob:return(0,tt.AH)(["margin-bottom:24px;"]);case eu1.OtherReasons:return(0,tt.AH)(["width:408px;margin-bottom:24px;"]);default:return(0,tt.AH)([""])}},[e]);return(0,tt.AH)(["",";font-size:19px;line-height:",";width:504px;margin-top:16px;color:",";& a{color:",";}"," "," ",""],td.BO.Regular,24/19,i.noticeTextColor,te.Jy.Blue60,r,tQ.A.Tablet`
4875      text-align: center;
4876      width: 476px;
4877      margin-top: 12px;
4878      margin-bottom: 24px;
4879    `,tQ.A.Phone`
4880      font-size: 16px;
4881      line-height: ${1.25};
4882      text-align: center;
4883      width: 295px;
4884      margin-top: 12px;
4885      margin-bottom: 16px;
4886    `)}),efb=tt.Ay.div(["display:flex;justify-content:center;align-items:center;width:480px;height:272px;& textarea{width:408px;height:192px;background:",";}& .textAreaField{width:408px;background:",";}"," ",""],te.Jy.White,te.Jy.White,tQ.A.Tablet`
4887    height: 192px;
4888    margin-bottom: 20px;
4889    & textarea {
4890        width: 476px;
4891        height: 192px;
4892    }
4893    & .textAreaField {
4894        width: 476px;
4895    }
4896  `,tQ.A.Phone`
4897    width: 295px;
4898    height: 164px;
4899    margin-bottom: 20px;
4900    & textarea {
4901        width: 295px;
4902        height: 164px;
4903    }
4904    & .textAreaField {
4905        width: 295px;
4906    }
4907  `),ef_=tt.Ay.div(({isACIORegisteredUser:e,topic:t})=>{let i=(0,R.useMemo)(()=>{switch(t){case eu1.JobOffer:return(0,tt.AH)(["width:220px;height:184px;"," ",""],tQ.A.Tablet`
4908              width: ${e?"196px":"138px"};
4909              height: ${e?"164px":"116px"};
4910          `,tQ.A.Phone`
4911              width: ${e?"191px":"118px"};
4912              height: ${e?"160px":"100px"};
4913          `);case eu1.Discount:return(0,tt.AH)(["width:276px;height:192px;"," ",""],tQ.A.Tablet`
4914              width: 272px;
4915              height: 188px;
4916          `,tQ.A.Phone`
4917              width: 258px;
4918              height: 180px;
4919          `);case eu1.DreamJob:return(0,tt.AH)(["width:292px;height:204px;"," ",""],tQ.A.Tablet`
4920              width: ${e?"230px":"160px"};
4921              height: ${e?"160px":"112px"};
4922          `,tQ.A.Phone`
4923              width: ${e?"224px":"138px"};
4924              height: ${e?"156px":"96px"};
4925          `);default:return""}},[e,t]);return(0,tt.AH)(["display:flex;align-items:center;justify-content:center;width:384px;"," "," & img{"," "," ","}"],tQ.A.Tablet`
4926      height: 220px;
4927      width: 100%;
4928    `,tQ.A.Phone`
4929      height: 196px;
4930      width: 100%;
4931    `,tQ.A.Tablet`
4932        margin-top: 32px;
4933      `,tQ.A.Phone`
4934        margin-top: 20px;
4935      `,i)});var efv=()=>{let{activeCard:e,isACIORegisteredUser:t,promotionDescription:i,promotionImage:r,promotionTitle:n,promotionTitleTopic:o,promotionTopic:a,textAreaChangeHandler:l,textAreaPlaceholder:s,textAreaValue:d}=efE(),c=[eu1.JobOffer,eu1.Discount,eu1.DreamJob].includes(e),u=[eu1.FeatureOrProblem,eu1.OtherReasons].includes(e);return(0,J.jsxs)(efy,{topic:a,children:[c&&(0,J.jsx)(ef_,{isACIORegisteredUser:t,topic:a,children:(0,J.jsx)("img",{src:r})}),(0,J.jsx)(ey8,{topic:o,children:n}),(0,J.jsx)(eff,{topic:a,children:i}),u&&(0,J.jsx)(efb,{children:(0,J.jsx)(re.l,{className:"textAreaField",placeholder:s,value:d,onChange:l})}),(0,J.jsx)(efg,{})]})};let efj=tt.Ay.p(({topic:e})=>{let{getCardStyles:t}=eyR(),i=t(e),r=(0,R.useMemo)(()=>{switch(e){case eu1.FeatureOrProblem:case eu1.OtherReasons:return(0,tt.AH)([""," ",""],tQ.A.Tablet`
4936              margin-top: 32px;
4937          `,tQ.A.Phone`
4938              margin-top: 20px;
4939          `);default:return(0,tt.AH)([""])}},[e]);return(0,tt.AH)(["",";font-size:27px;line-height:",";color:",";"," "," ",""],td.BO.DemiBold,28/27,i.noticeTextColor,r,tQ.A.Tablet`
4940        text-align: center;
4941    `,tQ.A.Phone`
4942        font-size: 23px;
4943        line-height: ${24/23};
4944        text-align: center;
4945    `)});var efA=()=>{let{promotionDescription:e,promotionTitle:t,promotionTitleTopic:i,promotionTopic:r,dontNeedPromoSelectedIndex:n}=efE();return(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(efa,{topic:r,children:[(0,J.jsx)(efp,{}),(0,J.jsxs)("div",{style:{maxWidth:"356px",marginBottom:"40px",height:"144px"},children:[(0,J.jsx)(efj,{topic:i,children:t}),(0,J.jsx)(efl,{topic:r,children:Array.isArray(e)?e[n]:e})]})]})})},efC=()=>{let{activeCard:e,isACIORegisteredUser:t,promotionDescription:i,promotionImage:r,promotionTitle:n,promotionTitleTopic:o,promotionTopic:a,textAreaChangeHandler:l,textAreaPlaceholder:s,textAreaValue:d}=efE(),c=[eu1.JobOffer,eu1.Discount,eu1.DreamJob].includes(e),u=[eu1.FeatureOrProblem,eu1.OtherReasons
4945].includes(e);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(efy,{topic:a,children:[(0,J.jsx)(ey8,{topic:o,children:n}),(0,J.jsx)(eff,{topic:a,children:i}),(0,J.jsx)(efg,{})]}),u&&(0,J.jsx)(efb,{children:(0,J.jsx)(re.l,{className:"textAreaField",placeholder:s,value:d,onChange:l})}),c&&(0,J.jsx)(ef_,{isACIORegisteredUser:t,topic:a,children:(0,J.jsx)("img",{src:r})})]})},efw=({showV7:e})=>{let{views:t}=efE();if(t.isDesktop)if(e)return(0,J.jsx)(efh,{});else return(0,J.jsx)(efC,{});return e?(0,J.jsx)(efA,{}):(0,J.jsx)(efv,{})};let efk=tt.Ay.div(({topic:e})=>{let{getCardStyles:t}=eyR(),i=t(e);return(0,tt.AH)(["display:flex;width:100%;max-width:928px;height:272px;background-color:",";border-radius:16px;justify-content:center;align-items:center;position:relative;"," "," ",""],i.backgroundColor,tQ.A.AboveTablet`
4946      margin-top: 24px;
4947    `,tQ.A.Tablet`
4948      flex-direction: column-reverse;
4949      height: 100%;
4950      padding: 40px;
4951    `,tQ.A.Phone`
4952      flex-direction: column-reverse;
4953      height: 100%;
4954      max-width: 335px;
4955      padding: 20px;
4956    `)}),efS=tt.Ay.div(({activeCard:e,topic:t,isNlLocale:i})=>{let{getCardStyles:r}=eyR(),n=r(t),o=i&&0!==Object.values(eu1).indexOf(e)?Object.values(eu1).indexOf(e)-1:Object.values(eu1).indexOf(e);return(0,tt.AH)(["display:flex;width:928px;height:272px;background-color:",";border-radius:16px;justify-content:center;align-items:center;position:relative;"," "," ",""],n.backgroundColor,tQ.A.AboveTablet`
4957      margin-top: 24px;
4958      &:after {
4959        content: '';
4960        position: absolute;
4961        bottom: 100%;
4962        left: ${i?187+187*o:93.5+187*o}px;
4963        width: 8px;
4964        margin-left: -8px;
4965        border-left: 8px solid transparent;
4966        border-right: 8px solid transparent;
4967        border-bottom: 8px solid ${n.backgroundColor};
4968      }
4969    `,tQ.A.Tablet`
4970      width: 540px;
4971      height: 436px;
4972      flex-direction: column-reverse;
4973    `,tQ.A.Phone`
4974      width: 335px;
4975      height: 396px;
4976      flex-direction: column-reverse;
4977    `)}),efT=({isCardClicked:e})=>{let{activeCard:t,feedbackSubmitted:i,promotionTopic:r}=efE(),n=(0,eW.N)(X.Tp.locale),o=(0,eW.N)(Z.Tp.userData)?.threePromoSubCancellation;return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(efo,{threePromoSubCancellation:o}),e?o&&r===eu1.DontNeedPromos?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(efk,{activeCard:t,topic:r,isNlLocale:"nl-NL"===n,children:(0,J.jsx)(efw,{showV7:!0})}),(0,J.jsx)(ey4,{})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(efS,{activeCard:t,topic:r,isNlLocale:"nl-NL"===n,children:i?(0,J.jsx)(ey7,{}):(0,J.jsx)(efw,{showV7:!1})}),(0,J.jsx)(ey4,{})]}):null]})},efP=R.createContext({});var efJ=eaL(({availableFreePeriod:e,isACIORegisteredUser:t,user:i,mediaQueries:r})=>{let n,o,a,l,s,d,c,u,p,h,x,[m,g]=R.useState(!1),[y,f]=R.useState(!1),[b,_]=R.useState(!1),[v,j]=R.useState(!0),[A,C]=R.useState(),w=(0,L.Zp)(),k=(0,eW.N)(Z.Tp.userData),S=(0,eU.wA)(),T=k?.billingInfo?.alreadyGotFreePausePeriodDuringCancellation,P=(0,eW.N)(X.Tp.locale),E=(0,e0.U)(),I=E?.features?.stayInTouchOffer,{activeCard:M,cancellationReason:B,handlePromotionClick:D,isCardClicked:$}=(()=>{let[e,t]=(0,R.useState)(!1),[i,r]=(0,R.useState)(null),[n,o]=(0,R.useState)(null),{getCardTitle:a}=eyR();return(0,R.useEffect)(()=>{i?o(a(i)):o(null)},[i,a]),(0,R.useEffect)(()=>{n&&(0,N.xP)(eu3.choice,{cancel_reason:n})},[n]),{activeCard:i,cancellationReason:n,handlePromotionClick:e=>{e?(t(!0),r(e)):(t(!1),r(null))},isCardClicked:e}})(),{feedbackType:O,feedbackSubmitted:z,isPromotionButtonLoading:H,promotionButtonClickHandler:V,successfulSubmit:U,textAreaChangeHandler:W,textAreaValue:K,discountErrorText:q,discountSubsCancelStatus:G,dontNeedPromoSelectedIndex:Q,setDontNeedPromoSelectedIndex:Y}=((e,t,i)=>{let[r,n]=(0,R.useState)(""),[o,a]=(0,R.useState)(!1),[l,s]=(0,R.useState)(null),[d,c]=(0,R.useState)(!1),[u,p]=(0,R.useState)(""),[h,x]=(0,R.useState)(!1),[m,g]=(0,R.useState)(0),y=(0,eU.wA)(),f=(0,eW.N)(Z.Tp.superAppLoginStatus),b=(0,eW.N)(Z.Tp.discountStatus),_=(0,eW.N)(Z.Tp.feedbackStatus),v=(0,eW.N)(Z.Tp.discountErrorText),j=(0,eW.N)(Z.Tp.userData),A=j?.billingInfo?.alreadyGotDiscountDuringSubCancellation,C=(0,L.Zp)(),w=(0,e0.U)(),k=w?.features?.subCancellationV4||!1,S=(0,eW.N)(X.Tp.locale);(0,R.useEffect)(()=>{x(f===eZ.Hp.loading)},[f]),(0,R.useEffect)(()=>{x(b===eZ.Hp.loading)},[b]),(0,R.useEffect)(()=>{x(_===eZ.Hp.loading)},[_]),(0,R.useEffect)(()=>{[eZ.Hp.failed,eZ.Hp.loaded].includes(_)&&(a(!0),c(_===eZ.Hp.loaded))},[_]),(0,R.useEffect)(()=>{e===eu1.Discount&&(A||v&&"Already Discounted"===v)?(a(!0),c(!0),s(eu2.Feedback)):(a(!1),c(!1),s(null))},[e,v,A]);let T=(0,R.useCallback)(e=>{e.preventDefault(),y(Z.o1.getDiscountNew({discountPercentage:w?.features.discountPercentage||50}))},[y]),P=(0,R.useCallback)(e=>{(e.preventDefault(),"nl-NL"===S)?C("/"):k?C("/career-plans/first-90-days"):t?window.open(t?eZ.O6:eZ.JS,"_self"):((0,N.xP)("click_cio_activation_button",{source:"subscription_cancellation"}),y(Z.o1.loginToSuperApp()))},[t,y,C,k,S]),J=(0,R.useCallback)(e=>{e.preventDefault(),k?C("/job-search?view=recommendation"):window.open(t?eZ.rz:eZ.JS,"_self")},[t,C,k]),E=(0,R.useCallback)((e,t)=>async r=>{r.preventDefault(),0!==e.trim().length?(s(t),y(Z.o1.submitFeedbackForSubscriptionCancellation({email:i?.email??"",name:i?.fullName??"",feedback:e})),t===eu2.Feedback&&n(""),t===eu2.OtherReason&&p("")):(r.preventDefault(),y(F.o1.setSnackBarOpen({status:!0,type:F.pN.failure,text:i7.R.t("builder.subscription_cancellation.not_entered_feedback")})),setTimeout(()=>{y(F.o1.closeSnackBar())},3e3))},[y,i]),I=(0,R.useMemo)(()=>{switch(e){case eu1.JobOffer:return P;case eu1.Discount:return T;case eu1.FeatureOrProblem:return E(r,eu2.Feedback);case eu1.DreamJob:return J;case eu1.OtherReasons:return E(u,eu2.OtherReason);default:return()=>{}}}
4977,[e,r,P,T,J,E,u]);return{feedbackType:l,feedbackSubmitted:o,isPromotionButtonLoading:h,promotionButtonClickHandler:I,successfulSubmit:d,textAreaChangeHandler:(0,R.useCallback)(t=>{e===eu1.FeatureOrProblem?n(t.target.value):p(t.target.value)},[e]),textAreaValue:(0,R.useMemo)(()=>e===eu1.FeatureOrProblem?r:u,[e,r,u]),discountErrorText:v,discountSubsCancelStatus:A,dontNeedPromoSelectedIndex:m,setDontNeedPromoSelectedIndex:g}})(M,t,i),{promotionButtonText:ee,promotionDescription:et,promotionImage:ei,promotionTopic:er,promotionTitle:en,promotionTitleTopic:eo,textAreaPlaceholder:ea}=(n=(0,e0.U)(),o=n?.features?.subCancellationV4||!1,a=(0,eW.N)(X.Tp.locale),l=n?.features?.discountPercentage||50,s=(0,R.useMemo)(()=>{switch(M){case eu1.JobOffer:if("nl-NL"===a)return i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.button_text_nl");if(o)return i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.button_text_v4");return t?i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.button_text.compare"):i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.button_text.get_started");case eu1.Discount:return i7.R.t("builder.subscription_cancellation.promotion_section.discount.button_text");case eu1.FeatureOrProblem:return i7.R.t("builder.subscription_cancellation.promotion_section.feature.button_text");case eu1.DreamJob:if(o)return i7.R.t("builder.subscription_cancellation.promotion_section.dream_job.button_text_v4");return t?i7.R.t("builder.subscription_cancellation.promotion_section.dream_job.button_text.explore"):i7.R.t("builder.subscription_cancellation.promotion_section.dream_job.button_text.get_started");case eu1.DontNeedPromos:return[i7.R.t("builder.subscription_cancellation.promotion_section.dont_need_promos.links.recommend_jobs"),i7.R.t("builder.subscription_cancellation.promotion_section.dont_need_promos.links.compare_to_peers"),i7.R.t("builder.subscription_cancellation.promotion_section.dont_need_promos.links.ace_job_interview")];case eu1.OtherReasons:return i7.R.t("builder.subscription_cancellation.promotion_section.other.button_text");default:return""}},[M,t,o,a]),d=(0,R.useMemo)(()=>{switch(M){case eu1.JobOffer:if("nl-NL"===a)return(0,J.jsx)(J.Fragment,{children:i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.description_nl")});if(o)return(0,J.jsx)(J.Fragment,{children:i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.description_v4")});return(0,J.jsxs)(J.Fragment,{children:[i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.description_line_one"),(0,J.jsx)("a",{href:eZ.O6,children:" Career.io"})," "+i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.description_line_two")]});case eu1.Discount:return(0,J.jsx)(J.Fragment,{children:A?i7.R.t("builder.subscription_cancellation.promotion_section.discount.description_with_price",{price_after_discount:A.toFixed(2),defaultValue:i7.R.t("builder.subscription_cancellation.promotion_section.discount.description"),discount_percentage:l}):i7.R.t("builder.subscription_cancellation.promotion_section.discount.description",{discount_percentage:l})});case eu1.FeatureOrProblem:return(0,J.jsx)(J.Fragment,{children:i7.R.t("builder.subscription_cancellation.promotion_section.feature.description")});case eu1.DreamJob:if(o)return(0,J.jsx)(J.Fragment,{children:i7.R.t("builder.subscription_cancellation.promotion_section.dream_job.description_v4")});return(0,J.jsxs)(J.Fragment,{children:[i7.R.t("builder.subscription_cancellation.promotion_section.dream_job.description_line_one"),(0,J.jsx)("a",{href:eZ.rz,children:" Career.io"})," "+i7.R.t("builder.subscription_cancellation.promotion_section.dream_job.description_line_two")]});case eu1.DontNeedPromos:return[i7.R.t("builder.subscription_cancellation.promotion_section.dont_need_promos.links_description.recommend_jobs"),i7.R.t("builder.subscription_cancellation.promotion_section.dont_need_promos.links_description.compare_to_peers"),i7.R.t("builder.subscription_cancellation.promotion_section.dont_need_promos.links_description.ace_job_interview")];case eu1.OtherReasons:return(0,J.jsx)(J.Fragment,{children:i7.R.t("builder.subscription_cancellation.promotion_section.other.description")});default:return(0,J.jsx)(J.Fragment,{})}},[M,A,o,a]),c=(0,R.useMemo)(()=>{switch(M){case eu1.JobOffer:return eyL;case eu1.DreamJob:return eyI;case eu1.Discount:return eyN;default:return""}},[M]),u=(0,R.useMemo)(()=>{switch(M){case eu1.FeatureOrProblem:return z?U?"submitContent":"errorSubmit":eu1.FeatureOrProblem;case eu1.OtherReasons:return z?U?"submitContent":"errorSubmit":eu1.OtherReasons;default:return M}},[M,z,U]),p=(0,R.useMemo)(()=>{switch(M){case eu1.JobOffer:if("nl-NL"===a)return i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.title_nl");return o?i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.title_v4"):i7.R.t("builder.subscription_cancellation.promotion_section.job_offer.title");case eu1.Discount:return G||q&&"Already Discounted"===q?i7.R.t("builder.subscription_cancellation.promotion_section.discount.title.thanks",{discount_percentage:l}):i7.R.t("builder.subscription_cancellation.promotion_section.discount.title.get",{discount_percentage:l});case eu1.FeatureOrProblem:return z?U?i7.R.t("builder.subscription_cancellation.promotion_section.feature.title.thanks"):i
49777.R.t("builder.subscription_cancellation.promotion_section.feature.title.error"):i7.R.t("builder.subscription_cancellation.promotion_section.feature.title.details");case eu1.DreamJob:return o?i7.R.t("builder.subscription_cancellation.promotion_section.dream_job.title_v4"):i7.R.t("builder.subscription_cancellation.promotion_section.dream_job.title");case eu1.DontNeedPromos:return i7.R.t("builder.subscription_cancellation.promotion_section.dont_need_promos.title");case eu1.OtherReasons:return z?U?i7.R.t("builder.subscription_cancellation.promotion_section.other.title.thanks"):i7.R.t("builder.subscription_cancellation.promotion_section.other.title.error"):i7.R.t("builder.subscription_cancellation.promotion_section.other.title.reasons");default:return""}},[M,q,G,z,U,o,a]),h=(0,R.useMemo)(()=>M===eu1.FeatureOrProblem?i7.R.t("builder.subscription_cancellation.promotion_section.feature.placeholder"):i7.R.t("builder.subscription_cancellation.promotion_section.placeholder"),[M]),x=(0,R.useMemo)(()=>z?U?u:"errorSubmit":u,[u,z,U]),{promotionButtonText:s,promotionDescription:d,promotionImage:c,promotionTopic:u,promotionTitle:p,promotionTitleTopic:x,textAreaPlaceholder:h}),el=E?.features?.subCancellationV4||!1,es=R.useMemo(()=>({isDesktop:!r.isPhone&&!r.isTablet,isTablet:r.isTablet&&!r.isPhone,isPhone:r.isPhone}),[r]),ed=R.useCallback(()=>{S(Z.o1.cancelUserSubscription({[eu0.cancel]:B??""}))},[S,B]);return R.useEffect(()=>{j(!0)},[]),R.useEffect(()=>{if(k?.billingStatus==="subscription"){let e=k.billingInfo.recurringAmount;if(e){let t=(E?.features?.discountPercentage||50)/100;C(Number(e.slice(3))*(1-t))}}},[k]),(0,J.jsxs)(efP.Provider,{value:{activeCard:M,feedbackSubmitted:z,feedbackType:O,handleOpenFeaturesOfferModal:()=>{el?G||"nl-NL"===P||I?ed():f(!0):!T&&"nl-NL"!==P&&i?.availableFreePeriod?g(!0):(_(!0),j(!1))},handlePromotionClick:D,isPromotionButtonLoading:H,isACIORegisteredUser:t,promotionButtonClickHandler:V,promotionButtonText:ee,promotionDescription:et,promotionImage:ei,promotionTitle:en,promotionTitleTopic:eo,promotionTopic:er,successfulSubmit:U,textAreaChangeHandler:W,textAreaPlaceholder:ea,textAreaValue:K,views:es,discountErrorText:q,discountSubsCancelStatus:G,dontNeedPromoSelectedIndex:Q,setDontNeedPromoSelectedIndex:Y},children:[v&&(0,J.jsx)(efT,{isCardClicked:$}),b&&(0,J.jsx)(eyk,{onClose:()=>{_(!1),j(!0),w("/")},onContinueCancellation:()=>{(_(!1),j(!0),"nl-NL"===P)?ed():G||I?!T&&i?.availableFreePeriod&&g(!0):f(!0)}}),y&&(0,J.jsx)(eyY,{onContinueCancellation:()=>{el?ed():(_(!1),j(!0),!T&&"nl-NL"!==P&&i?.availableFreePeriod?(f(!1),g(!0)):ed())},onClose:()=>{f(!1)},priceAfterDiscount:A}),m&&(0,J.jsx)(eyV,{period:e,cancellationReason:B,onClose:()=>g(!1)}),(0,J.jsx)(l8,{})]})});let efE=()=>R.useContext(efP),efR=tt.Ay.div(["height:fit-content;width:fit-content;margin-top:32px;align-self:center;background-color:",";",";outline:none;"],te.Jy.White,tQ.A.Phone`
4978    margin-top: 8px;
4979  `),efL=tt.Ay.div(["height:fit-content;width:fit-content;display:flex;flex-direction:column;align-items:center;",";"],tQ.A.Tablet`
4980    align-items: center;
4981  `),efN=tt.Ay.header(["display:flex;align-items:center;justify-content:center;flex-direction:column;",";"],tQ.A.Phone`
4982    ${e=>e?`
4983      padding-left: 20px;
4984      padding-right: 20px;
4985    `:""};
4986  `),efI=tt.Ay.p(["",";",";text-align:center;color:",";margin-top:24px;",";"],td.Ay.S,td.BO.DemiBold,te.Jy.Neutral90,tQ.A.Phone` 
4987    margin-top: 16px;
4988    max-width: 335px;
4989  `),efM=tt.Ay.p(["",";max-width:544px;margin-top:8px;text-align:center;color:",";margin-bottom:42px;width:100%;.important{",";}",";",";"],td.Ay.Body,e=>e.isCancelled?te.Jy.Neutral90:te.Jy.Neutral50,td.BO.DemiBold,tQ.A.Tablet`
4990    margin-bottom: 32px;
4991  `,tQ.A.Phone` 
4992    margin-bottom: 24px;
4993    max-width: 335px;
4994  `),efB=tt.Ay.img(["margin-top:60px;",";",";"],tQ.A.Tablet`
4995    margin-top: 106px;
4996  `,tQ.A.Phone`
4997    margin-top: 54px;
4998    width: 81px;
4999  `),efD=(0,tt.Ay)(i$.Ay)(["",";",";color:",";background-color:",";border-radius:4px;padding:12px 24px;border:1px solid transparent;",";"],td.Ay.Body,td.BO.Medium,te.Jy.White,te.Jy.Blue50,tQ.A.Phone` 
5000    order: 0;
5001    width: 100%;
5002  `),ef$=tt.Ay.div(["width:927px;padding:16px;border-radius:12px;background-color:",";text-align:center;margin-bottom:36px;",";",";"],te.Jy.Neutral5,tQ.A.Tablet` 
5003    width: 728px;
5004    margin-top: 8px;
5005    margin-bottom: 36px;
5006  `,tQ.A.Phone`
5007    width: 100%;
5008    margin-top: 0;
5009    margin-bottom: 36px;
5010  `),efO=tt.Ay.p(["",";color:",";strong{",";}",";",";"],td.Ay.Body,te.Jy.Neutral80,td.BO.DemiBold,tQ.A.Tablet` 
5011    ${td.Ay.Caption};
5012  `,tQ.A.Phone` 
5013    font-size: 16px;
5014  `),efz=tt.Ay.div(["gap:16px;display:flex;align-items:center;justify-content:center;",";"],tQ.A.Phone` 
5015    flex-direction: column;
5016    width: 100%;
5017  `),efF=(0,tt.Ay)(i$.Ay)(["",";",";color:",";background-color:",";border-radius:4px;padding:12px 24px;border:1px solid ",";&:hover{background-color:",";}",";"],td.Ay.Body,td.BO.Medium,te.Jy.White,te.Jy.Blue50,te.Jy.Neutral20,te.Jy.Blue60,tQ.A.Phone` 
5018    order: 1;
5019    width: 100%;
5020  `),efH=(0,tt.Ay)(i$.Ay)(["",";"],tQ.A.Phone` 
5021    order: 1;
5022    width: 100%;
5023  `);te.Jy.White,tQ.A.Phone` 
5024    padding: 20px;
5025  `,te.Jy.Neutral10,te.Jy.Neutral50,tQ.A.Phone`
5026    width: 24px;
5027    height: 24px;
5028    top: 20px;
5029    right: 20px;
5030  `,td.Ay.Subhead,td.BO.DemiBold,te.Jy.Neutral90,tQ.A.Phone`
5031    font-size: 23px;
5032  `,td.Ay.Body,te.Jy.Neutral50,tQ.A.Phone`
5033    margin-top: 20px;
5034  `,(0,tt.Ay)(i$.Ay)(["",";",";color:",";background-color:",";border-radius:4px;padding:12px 24px;border:1px solid ",";",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90,te.Jy.White,te.Jy.Neutral20,tQ.A.Phone`
5035    padding: 8px 12px;
5036  `),(0,tt.Ay)(i$.Ay)(["",";",";color:",";background-color:",";border-radius:4px;padding:12px 24px;border:1px solid transparent;",";"],td.Ay.Body,td.BO.Medium,te.Jy.White,te.Jy.Blue50,tQ.A.Phone`
5037    padding: 8px 12px;
5038  `);var efV=i.p+"media/new-subscription-cancelledd4f50647f8cdb2e8.png",efU=i.p+"media/subscription_cancelledf50e3e01aa54de1e.png",efW=()=>{let e=(0,e0.U)(),t=(0,eU.wA)(),i=(0,eW.N)(Z.Tp.userData),r=e?.features.subCancellationV4||!1,n=(0,R.useCallback)(()=>{t(F.o1.openRestartSubscriptionModal())},[t]),o=new Date(i?.billingInfo.premiumEndsAt||""),a=i7.R.t(`builder.date.month.${o.getMonth()+1}`),l=o.getFullYear(),s=o.getDate(),d=i7.R.t("builder.subscription_cancellation_v4.cancelled_view.reactivate_text");return(0,J.jsxs)(J.Fragment,{children:[e?.features.reactivatePremium&&i?.billingInfo.canRestartSubscription&&(0,J.jsx)(ef$,{children:(0,J.jsx)(efO,{dangerouslySetInnerHTML:{__html:d}})}),(0,J.jsx)(efB,{src:r?efV:efU}),(0,J.jsx)(efI,{children:r?i7.R.t("builder.subscription_cancellation_v4.cancelled_view.subscription_canceled"):i7.R.t("builder.subscription_cancellation.cancelled_view.subscription_canceled")}),(0,J.jsx)(efM,{isCancelled:!r,children:r?(0,J.jsxs)(J.Fragment,{children:[i7.R.t("builder.subscription_cancellation_v4.cancelled_view.description_line_one"),(0,J.jsx)("span",{className:"important",children:` ${a} ${s}, ${l}. `}),i7.R.t("builder.subscription_cancellation_v4.cancelled_view.description_line_two")]}):i7.R.t("builder.subscription_cancellation.cancelled_view.description")}),e?.features.reactivatePremium&&i?.billingInfo.canRestartSubscription?(0,J.jsxs)(efz,{children:[(0,J.jsx)(efH,{as:i3.N_,to:"/",theme:i$.Ox.ghost,children:i7.R.t("builder.subscription_cancellation.cancelled_view.back")}),(0,J.jsx)(efD,{onClick:()=>{n(),(0,N.xP)("click_keep_premium",{where:"sub_cancellation"})},children:i7.R.t("builder.subscription_cancellation_v4.cancelled_view.restart_subscription")})]}):(0,J.jsx)(efF,{as:i3.N_,to:"/",children:i7.R.t("builder.subscription_cancellation.cancelled_view.back")})]})};let efK=()=>{let e=(0,L.Zp)(),t=(0,e4.J)(),i=(0,eW.N)(e=>e.user.cancellationStatus),r=(0,R.useMemo)(()=>t?t.billingStatus===Z.Xw.subscription?"cancelling":t.billingStatus===Z.Xw.cancelled?"cancelled":"denied":"loading",[t]);(0,R.useEffect)(()=>{"denied"===r&&e("/account",{replace:!0})},[r,e]),(0,R.useEffect)(()=>{"cancelled"===r&&window.scrollTo(0,0)},[r]);let n="LOADED"===i||"cancelled"===r;return"cancelling"===r||"cancelled"===r?(0,J.jsx)(efR,{children:(0,J.jsxs)(efL,{children:[(0,J.jsx)(efN,{showCancelledView:n,children:n?(0,J.jsx)(efW,{}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(efI,{children:i7.R.t("builder.subscription_cancellation.subscription_cancellation_view.title")}),(0,J.jsx)(efM,{isCancelled:!1,children:i7.R.t("builder.subscription_cancellation.subscription_cancellation_view.description")})]})}),"cancelling"===r&&(0,J.jsx)(efJ,{availableFreePeriod:t?t.availableFreePeriod:null,isACIORegisteredUser:!!t?.careerId,user:t})]})}):(0,J.jsx)(J.Fragment,{})};var efq=()=>{let[e,t]=(0,R.useState)(1),i=(0,R.useRef)(void 0),r=(0,e0.U)(),n=r?.features.subCancellationV4||!1,o=r?.features.subCancellationV5||!1,{host:a}=window.location,l="stg.resume.io"===a||"resume.io"===a||"career.io"===a||"stg.career.io"===a||a.includes("localhost"),s=(0,e4.J)();return(void 0===i.current&&s?.billingInfo&&(i.current=!!s.billingInfo.onTrial),o)?void 0===i.current?null:i.current?(0,J.jsx)(emB,{}):(0,J.jsx)(em9,{}):l||n?(0,J.jsxs)(J.Fragment,{children:[n&&1===e&&(0,J.jsx)(egQ,{onContinueCancellation:()=>t(3)}),(!n||3===e)&&(0,J.jsx)(efK,{})]}):(0,J.jsx)(epC,{})};let efG=tt.Ay.div(["position:fixed;display:flex;justify-content:center;align-items:center;top:0;left:0;background:#000000ba;z-index:9999;height:100vh;width:100vw;overflow:hidden;"]),efZ=tt.Ay.div(["background-color:",";border-radius:8px;display:flex;width:fit-content;position:relative;flex-direction:column;max-height:100vh;max-width:552px;overflow:auto;",";",";"],te.Jy.White,tQ.A.Tablet`
5039    width: 100%;
5040  `,tQ.A.Phone`
5041    width: 95%;
5042  `),efX=tt.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;width:100%;max-width:498px;height:100%;padding:32px 12px;margin:auto;",";"],tQ.A.Phone`
5043    width: 100%;
5044    padding: 24px;
5045  `),efQ=(0,tt.Ay)(tP.qJ.Close)(["display:block;color:",";transition:color 0.3s;&:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Blue50),efY=tt.Ay.div(["display:flex;justify-self:flex-end;right:0;height:fit-content;width:fit-content;margin:32px 32px 0 32px;background-color:",";border-radius:32px;color:",";cursor:pointer;transition:background-color 0.3s;&:hover{background-color:",";}",";"],te.Jy.Neutral5,te.Jy.Neutral30,te.Jy.Blue10,tQ.A.Tablet`
5046    margin: 20px;
5047  `),ef0=tt.Ay.div(["display:flex;justify-content:flex-end;width:100%;position:absolute;top:0;right:0;"]),ef1=tt.Ay.img(["width:100%;height:100%;object-fit:cover;object-position:center;"]),ef2=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;gap:8px;"]),ef3=tt.Ay.h2(["",";"," color:",";display:flex;flex-direction:column;",";"],td.Ay.S,td.BO.DemiBold,te.Jy.Neutral90,tQ.A.Phone` display: block; width: 80%; `),ef5=tt.Ay.span(["",";"," color:",";",""],td.Ay.S,td.BO.DemiBold,te.Jy.Indigo50,tQ.A.Phone` margin-left: 4px; `),ef4=tt.Ay.p(["color:",";"," margin-top:",";"],te.Jy.Neutral50,td.Ay.Body,te.Kz["3XS"]),ef6=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;margin-top:24px;",";"],tQ.A.Tablet`
5048    margin-top: 16px;
5049  `),ef8=tt.Ay.h3(["color:",";font-size:14px;font-weight:600;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;",";",";"],te.Jy.Neutral50,tQ.A.Tablet`
5050    font-size: 16px;
5051  `,tQ.A.Phone`
5052    font-size: 12px;
5053    line-height: 14px;
5054  `),ef9=tt.Ay.ol(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;list-style:none;padding:0;margin:0;counter-reset:li;"]),ef7=tt.Ay.li(["color:",";"," align-items:center;display:flex;&::before{content:counter(li);counter-increment:li;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;margin-right:10px;background-color:",";color:",";","}"],te.Jy.Neutral80,td.Ay.Body,te.Jy.Indigo10,te.Jy.Indigo50,td.Ay.Body),ebe=tt.Ay.div(["display:flex;flex-direction:column;"]),ebt=tt.Ay.div(["display:flex;align-items:flex-end;flex-direction:column;justify-content:flex-start;margin-top:1.5em;gap:0.5em;",";",";"],tQ.A.Tablet`
5055    width: 100%;
5056    justify-content: flex-end;
5057    flex-direction: row;
5058    text-align: end;
5059    gap: 1em;
5060  `,tQ.A.Phone` margin-top: 16px;`),ebi=tt.Ay.div(["display:flex;gap:",";align-items:center;",""],te.Kz.S,tQ.A.Tablet`
5061    flex-direction: row-reverse;
5062  `),ebr=tt.Ay.button(["border-radius:4px;border:none;background:",";color:",";text-align:center;font-size:19px;font-style:normal;font-weight:500;display:inline-flex;padding:"," ",";justify-content:center;align-items:center;cursor:pointer;transition:background-color 0.3s;&:hover{background:",";}&:active{background:",";}&:disabled{color:",";background-color:transparent;text-align:center;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;}",""],te.Jy.Blue50,te.Jy.White,te.Kz.XS,te.Kz.M,te.Jy.Blue60,te.Jy.Blue70,te.Jy.Neutral50,tQ.A.Phone`
5063    font-size: 16px;
5064    ${td.BO.Medium}
5065  `);var ebn=i(45868);let ebo="rd_get_started_shown";var eba=i.p+"media/AutoJobApplyBannerc1d3086feb3d610b.png";let ebl="builder.resume_distribution.get_started_modal",ebs=()=>{let{i18n:e}=(0,e1.s)(),{getAutoApplyCredit:t}=(0,ck.J)(),{isOpen:i,handleModalClose:r,redirectToAutoApply:n}=(()=>{let e=ew.D.getItem(ebo),t=(0,e4.J)(),i=(0,eU.wA)(),r=(0,eW.N)(z.Tp.rdUpsellGetStartedModalVisible),n=(0,ebn.G)(),{redirectToAutoApply:o}=cS(),[a,l]=(0,R.useState)(r&&!e&&!!n&&t?.scopes?.kind==="TR");function s(){ew.D.setItem(ebo,"true"),i(z.o1.closeRDUpsellGetStartedModal()),l(!1)}let d=(0,R.useCallback)(()=>{t?.scopes?.autoApply&&!e&&!t.billingInfo.premiumEndsAt&&n&&t?.scopes?.kind==="TR"&&t?.scopes?.paidSubscription&&l(!0)},[t?.scopes?.kind,t?.scopes?.autoApply,t?.scopes?.paidSubscription,t?.billingInfo.premiumEndsAt,e,n]);return(0,R.useEffect)(()=>{d()},[d]),{isOpen:a,handleModalClose:s,redirectToAutoApply:function(){(0,N.xP)("click_tjs_upgrade_button"),s(),o()}}})(),{creditCount:o}=t();return((0,R.useEffect)(()=>{i&&o>0&&(0,N.xP)("show_promo_modal",{type:"total_job_solution"})},[i,o]),i&&0!==o)?(0,J.jsx)(efG,{children:(0,J.jsxs)(efZ,{children:[(0,J.jsx)(ef0,{children:(0,J.jsx)(efY,{onClick:r,children:(0,J.jsx)(efQ,{})})}),(0,J.jsx)("div",{children:(0,J.jsx)(ef1,{src:eba})}),(0,J.jsxs)(efX,{children:[(0,J.jsxs)(ebe,{children:[(0,J.jsxs)(ef2,{children:[(0,J.jsxs)(ef3,{children:[e.t(`${ebl}.title`),(0,J.jsx)(ef5,{children:e.t(`${ebl}.sub_title`,{credits:o})})]}),(0,J.jsx)(ef4,{children:e.t(`${ebl}.description`)})]}),(0,J.jsxs)(ef6,{children:[(0,J.jsx)(ef8,{children:e.t(`${ebl}.features_title`)}),(0,J.jsxs)(ef9,{children:[(0,J.jsx)(ef7,{children:e.t(`${ebl}.features.one`)}),(0,J.jsx)(ef7,{children:e.t(`${ebl}.features.two`)}),(0,J.jsx)(ef7,{children:e.t(`${ebl}.features.three`)}),(0,J.jsx)(ef7,{children:e.t(`${ebl}.features.four`)}
5065)]})]})]}),(0,J.jsx)(ebt,{children:(0,J.jsx)(ebi,{children:(0,J.jsx)(ebr,{onClick:n,children:e.t(`${ebl}.get_started_cta`)})})})]})]})}):null},{White:ebd,Neutral10:ebc,Neutral15:ebu,Blue20:ebp,Blue30:ebh,Blue50:ebx,Blue60:ebm}=te.Jy,ebg=tt.Ay.div(["background:",";display:flex;justify-content:center;min-height:100vh;"],ebc),eby=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;width:928px;",""],tQ.A.Tablet`
5066    width: 100%;
5067  `),ebf=tt.Ay.header(["width:100%;display:flex;justify-content:space-between;align-items:center;padding:24px 0px 40px 0px;"," ",""],tQ.A.Tablet`
5068    padding: 24px 16px;
5069  `,tQ.A.IphoneSE`
5070     padding: 12px 16px 20px 16px;
5071  `),ebb=tt.Ay.button(["display:flex;align-items:center;border:none;border-radius:20px;background-color:",";color:",";padding:4px 16px 4px 8px;",";",";cursor:pointer;&:hover{background-color:",";color:",";}transition:background-color 0.3s ease;"],ebp,ebx,td.BO.DemiBold,td.Ay.ButtonS,ebh,ebm),eb_=tt.Ay.span(["transform:rotate(180deg);"]),ebv=tt.Ay.div(["display:flex;",""],tQ.A.Phone`
5072     position: fixed;
5073     left: 16px;
5074     right: 16px;
5075     bottom: 16px;
5076  `),ebj=(0,tt.Ay)(i$.Ay)(["flex-grow:1;"]),ebA=tt.Ay.div(["position:relative;display:flex;margin-left:8px;"]),ebC=(0,tt.Ay)(i$.Ay)(["width:48px;padding:0;"]),ebw=tt.Ay.div(["animation:"," 1s linear infinite;background:",";background:linear-gradient(to right,"," 5%,"," 15%,"," 25%);width:100%;margin-bottom:32px;"],im.D7,te.Jy.Neutral10,ebc,ebu,ebc),ebk=tt.Ay.img(["height:100%;width:100%;"]),ebS=tt.Ay.img(["margin-bottom:32px;width:100%;background-color:white;"]),ebT=tt.Ay.div(["background:",";width:100%;",""],ebc,tQ.A.Tablet`
5077    padding: 0px 16px 32px 16px;
5078  `),ebP=tt.Ay.div(["background:",";display:flex;align-items:center;flex-direction:column;padding:72px 35px 141px 35px;"],ebd),ebJ=tt.Ay.div(["margin-top:32px;margin-bottom:24px;text-align:center;",";",";"],td.Ay.S,td.BO.Medium),ebE=tt.Ay.img(["width:162px;height:172px;",""],tQ.A.Phone`
5079     width: 98px;
5080     height: 104px;
5081  `),ebR=(0,tt.Ay)(ebj)(["",""],tQ.A.Phone`
5082     display: none;
5083  `);(0,tt.Ay)(i$.Ay)([""]);var ebL=i.p+"media/no-preview0df932c03c8847ec.svg";let ebN=({trDocument:e,trDocumentStatus:t,hasPdfFormat:i,isDownloading:r,downloadPdf:n})=>{let{i18n:o}=(0,e1.s)(),a=t===eZ.Hp.loading,l=t===eZ.Hp.loaded&&!e?.previews.length||t===eZ.Hp.failed;return(0,J.jsxs)(J.Fragment,{children:[a&&(0,J.jsx)(ebw,{children:(0,J.jsx)(ebk,{src:euo})}),l&&(0,J.jsx)(ebT,{children:(0,J.jsxs)(ebP,{children:[(0,J.jsx)(ebE,{src:ebL}),(0,J.jsx)(ebJ,{children:"Sorry, we can’t show preview of this file"}),!!e&&i&&(0,J.jsx)(ebR,{onClick:()=>n({format:eZ.hR.tr_pdf}),isDisabled:r,children:o.t("builder.resume_editor.download")})]})}),!!e?.previews?.length&&e?.previews?.map(e=>(0,J.jsx)(ebS,{src:e.url},e.url))]})},ebI=({documentId:e,documentType:t,onClose:i,onDownload:r,onEdit:n,position:o,isDocxFormat:a,isResumeType:l})=>{let{i18n:s}=(0,e1.s)(),d=(0,eU.wA)(),c=(0,eU.d4)(H.Tp.isSupported),u=(0,eU.d4)(H.Tp.isResumeReady),p=t===eZ.VC.resume,h=(0,R.useCallback)(()=>d(H.o1.open({resumeId:e,source:"additional_functionality_button"})),[d,e]),x=(0,R.useCallback)(({format:i=eZ.hR.tr_pdf})=>{r({id:e,type:t,format:i,source:"additional_functionality_button"})},[r,e,t]),m=(0,R.useCallback)(()=>{let i=t===eZ.VC.resume?e:null,r=t===eZ.VC.coverLetter?e:null;d(F.o1.openMergeModal({resumeId:i,coverLetterId:r})),(0,N.xP)("open_documents_merging_modal")},[d,t,e]),g=(0,R.useMemo)(()=>{let e={text:s.t("builder.dashboard.download_docx"),icon:(0,J.jsx)(tP.Ay.FileWord,{}),onClick:()=>x({format:eZ.hR.tr_doc})},t=[l&&{text:s.t("builder.resume_editor.edit"),icon:(0,J.jsx)(tP.Ay.Edit,{}),onClick:n},c&&{divider:!0,text:s.t("builder.coreg.dropdown_action"),icon:(0,J.jsx)(tP.Ay.Share,{}),marked:u,onClick:h}],i=[{text:s.t("builder.resume_editor.combine_with"),icon:(0,J.jsx)(tP.Ay.Combine,{}),onClick:m}];return[!!a&&e,...p?t:i]},[s,n,c,u,h,m,a,p,x,e,l]);return(0,J.jsx)(cg.W,{position:o,onClose:i,actions:g})},ebM=({isPdfFormat:e,isDownloading:t,trActionProps:i,downloadPdf:r})=>{let{i18n:n}=(0,e1.s)(),o=(0,eU.wA)(),a=(0,L.Zp)(),l=(0,eW.N)(e=>e.panel.duplicationUrl),[s,d]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{l&&(a(l.replace("app","")),o(U.o1.setDuplicationUrl("")))},[l,a,o]),(0,J.jsxs)(ebv,{children:[e&&(0,J.jsx)(ebj,{onClick:()=>r({format:eZ.hR.tr_pdf}),isDisabled:t,children:n.t("builder.resume_editor.download")}),(0,J.jsxs)(ebA,{children:[(0,J.jsx)(ebC,{onClick:()=>d(!0),isDisabled:t,children:(0,J.jsx)(tP.Ay.More,{})}),s&&(0,J.jsx)(ebI,{...i,onClose:()=>d(!1)})]})]})};var ebB=()=>{let e=(0,L.Zp)(),t=(0,eU.wA)(),i=(0,eW.N)(e=>e.ui.isTREditModalOpen),r=(0,eW.N)(e=>e.panel.trDocuments),n=(0,eW.N)(e=>e.panel.trDocumentsStatus),o=(0,eW.N)(e=>e.rendering.isDocumentDownloading),a=window.location.pathname.split("/")[3],l=/^\d+$/.test(a),s=parseInt(a),[d,c]=(0,R.useState)(null),[u,p]=(0,R.useState)(null),h=d?.doc_type==="resume"?"/resumes":d?.doc_type==="cover_letter"?"/cover-letters":"/tr-documents";(0,R.useEffect)(()=>{!d&&r[s]&&c({...r[s]})},[d,r,s]),(0,R.useEffect)(()=>{p(n[s])},[n,s]),(0,R.useEffect)(()=>{l?t(U.o1.fetchTRDocument({id:s})):e("/tr-documents")},[t,s,l,e]);let x=(0,R.useCallback)(()=>
5083{if(d?.doc_type==="resume");else if(d?.doc_type==="cover_letter")return eZ.VC.coverLetter;return eZ.VC.resume},[d?.doc_type]),m=(0,R.useCallback)(()=>d?.files?.some(e=>e?.filename?.endsWith(".docx")||e?.filename?.endsWith(".doc"))||!1,[d?.files]),g=(0,R.useCallback)(()=>d?.files?.some(e=>e?.filename?.endsWith(".pdf"))||!1,[d?.files]),y=(0,R.useCallback)(({format:e=eZ.hR.tr_pdf})=>{t(z.o1.download({id:s,type:x(),format:e,source:"tr_doc",trDocument:d})),(0,N.xP)("click_download_resume_button",{format:e})},[t,s,x,d]),f=(0,R.useCallback)(()=>{t(F.o1.openTREditModal(s)),(0,N.xP)("click_edit_resume")},[t,s]);return(0,J.jsxs)(ebg,{children:[(0,J.jsxs)(eby,{children:[(0,J.jsxs)(ebf,{children:[(0,J.jsxs)(ebb,{onClick:()=>{e(h)},children:[(0,J.jsx)(eb_,{children:(0,J.jsx)(tP.qJ.Chevron,{})}),"My Documents"]}),(0,J.jsx)(sc.A,{}),(0,J.jsx)(ebM,{trActionProps:{position:"bottom",documentId:s,isTRdocument:!0,isResumeType:d?.doc_type==="resume",isDocxFormat:m(),onDownload:y,documentType:x(),onClose:()=>{},onEdit:f},isTRCoverLetter:d?.doc_type==="cover_letter",isPdfFormat:g(),isDownloading:o,downloadPdf:y})]}),(0,J.jsx)(ebN,{trDocument:d,trDocumentStatus:u,isDownloading:o,hasPdfFormat:g(),downloadPdf:y})]}),i&&(0,J.jsx)(l7.A,{id:s}),(0,J.jsx)(ebs,{})]})};let{Neutral10:ebD,Neutral15:eb$,Blue20:ebO,Blue30:ebz,Blue50:ebF,Blue60:ebH}=te.Jy,ebV=tt.Ay.div(["background:",";display:flex;justify-content:center;min-height:100vh;"],ebD),ebU=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;width:928px;",""],tQ.A.Tablet`
5084    width: 100%;
5085  `),ebW=tt.Ay.header(["width:100%;display:flex;justify-content:space-between;align-items:center;padding:24px 0px 40px 0px;"," ",""],tQ.A.Tablet`
5086    padding: 24px 16px;
5087  `,tQ.A.IphoneSE`
5088     padding: 12px 16px 20px 16px;
5089  `),ebK=tt.Ay.button(["display:flex;align-items:center;border:none;border-radius:20px;background-color:",";color:",";padding:4px 16px 4px 8px;",";",";cursor:pointer;&:hover{background-color:",";color:",";}transition:background-color 0.3s ease;"],ebO,ebF,td.BO.DemiBold,td.Ay.ButtonS,ebz,ebH),ebq=tt.Ay.span(["transform:rotate(180deg);"]),ebG=tt.Ay.div(["display:flex;align-items:center;gap:8px;"]),ebZ=tt.Ay.div(["width:100%;flex:1;display:flex;"]),ebX=tt.Ay.div(["animation:"," 1s linear infinite;background:linear-gradient(to right,"," 5%,"," 15%,"," 25%);width:100%;height:60vh;"],im.D7,ebD,eb$,ebD),ebQ="/resumes",ebY=()=>{let e=(0,L.Zp)(),t=(0,eU.wA)(),{i18n:i}=(0,e1.s)(),r=(0,L.g)(),n=r.id?parseInt(r.id):0,o=!!n,a=(0,eW.N)($.Tp.resume),l=(0,eW.N)($.Tp.error),s=(0,eW.N)(O.Tp.isLoaded),d=(0,eW.N)(z.Tp.isDocumentDownloading),c=(0,eW.N)(Z.Tp.isWriter),u=(0,eW.N)(Z.Tp.isFetched),p=!!a&&a.id===n&&s,{handleDownloadDocument:h}=RY({currentDocument:a,downloadClickEventSource:"tr_builder_resume_view",downloadActionEventSource:"tr_builder_resume_view"});return(0,R.useEffect)(()=>{o?(t($.o1.fetchResumeRequest({id:n})),t(O.o1.fetchEditorPayloadRequest())):e(ebQ)},[t,n,o,e]),(0,R.useEffect)(()=>{l&&e(ebQ)},[l,e]),(0,R.useEffect)(()=>{p&&u&&(!a?.trOrderId||c)&&e(`/resumes/${n}/edit`,{replace:!0})},[p,u,a?.trOrderId,c,e,n]),(0,J.jsx)(ebV,{children:(0,J.jsxs)(ebU,{children:[(0,J.jsxs)(ebW,{children:[(0,J.jsxs)(ebK,{onClick:()=>e(ebQ),children:[(0,J.jsx)(ebq,{children:(0,J.jsx)(tP.qJ.Chevron,{})}),i.t("builder.tr_builder_resume_view.back_button")]}),(0,J.jsx)(sc.A,{}),(0,J.jsx)(ebG,{children:p&&(0,J.jsx)(R6,{handleDownloadDocument:h,isDownloading:d})})]}),(0,J.jsx)(ebZ,{children:p?(0,J.jsx)(W$.w,{document:a,hideCustomizeButton:!0,paginationPosition:"fixed"}):(0,J.jsx)(ebX,{})})]})})},eb0={0:"social-profile",1:"introduction",2:"contact-info",3:"templates"},eb1={currentStep:0,currentStepName:"social-profile"},eb2=(0,R.createContext)(eb1),eb3=(0,R.createContext)(()=>{}),eb5=()=>(0,R.useContext)(eb2);var eb4=({children:e})=>{let[t,i]=(0,R.useState)({...eb1});return(0,J.jsx)(eb2.Provider,{value:t,children:(0,J.jsx)(eb3.Provider,{value:i,children:e})})};let eb6=tt.Ay.div(["width:100%;display:flex;align-items:center;justify-content:center;"]),eb8=tt.Ay.div(({visited:e})=>(0,tt.AH)(["width:28px;height:28px;border-radius:50%;background-color:",";display:flex;align-items:center;justify-content:center;",";color:",";font-weight:600;margin-right:12px;transition:background-color 0.2s ease,color 0.2s ease;"],e?te.Jy.Blue50:te.Jy.Neutral20,td.Ay.Caption,e?te.Jy.White:te.Jy.Neutral50)),eb9=tt.Ay.div(e=>(0,tt.AH)(["color:",";transition:color 0.2s ease;"],e?te.Jy.Neutral90:te.Jy.Neutral50)),eb7=tt.Ay.div(["display:flex;align-items:center;&:after{content:'';width:32px;height:1px;background-color:",";margin:0 8px;color:",";}&:last-child:after{display:none;}"],te.Jy.Neutral20,te.Jy.Neutral20);var e_e=({userCategoryPageSelection:e})=>{let{currentStep:t}=eb5(),i=[{text:e?i7.R.t("builder.sign_up.choose_template"):i7.R.t("builder.sign_up.enter_details"),step:0},{text:e?i7.R.t("builder.sign_up.enter_details"):i7.R.t("builder.sign_up.choose_template"),step:3},{text:i7.R.t("builder.sign_up.download_resume"),step:5}],r=e?3:t;return(0,J.jsx)(eb6,{children:i.map((e,t)=>(0,J.jsxs)(eb7,{children:[(0,J.jsx)(eb8,{visited:e.step<=r,children:t+1}),(0,J.jsx)(eb9,{visited:e.step<=r,children:e.text})]},t))})},e_t=({children:e,regionPrefix:t,handleSkipButton:i,handleExitButton:r,userCategoryPageSelection:n,loading:o=!1,skipTemplatesVariant:a,...l})=>{let{i18n:s}=(0,e1.s)(),{currentStepName:d}=eb5(),c=`/${t}`;return(0,J.jsxs)(eag,{...l,children:[(0,J.jsxs)(eay,{children:[(0,J.jsx)("a",{"aria-label":"Logo",href:c,children:(0,J.jsx)(sc.A,{})}),"templates"!==d&&(0,J.jsx)(eaf,{children:(0,J.jsx)(e_e,{userCategoryPageSelection:n})}),"templates"===d&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eaA,{children:s.t("builder.templates.choose_template")}),(0,J.jsxs)(eav,{children:["v1"===a&&(0,J.jsx)(eaj,{"aria-label":"Close",href:c,onClick:r,children:(0,J.jsx)(tP.Ay.CloseLarge,{})}),"v1"!==a&&(0,J.jsx)(ea_,{onClick:i,isLoading:o,isDisabled:o,"data-testid":"skip-template-button",children:s.t("builder.sign_in.methods.skip")})]})]})]}),(0,J.jsx)(eab,{children:e})]})};let e_i=e=>{let t,i,{resumeTemplateCategories:r,resumeTemplates:n,coverLetterTemplateCategories:o,coverLetterTemplates:a,config:l,heroTemplateName:s,locale:d,documentType:c,getSignUpPayload:u,persistSignUpInfo:p,loadSignUpInfo:h,setDocumentTemplate:x,signUpInfo:m,signUp:g,location:y}=e,f=(0,eU.wA)(),[b]=(0,i3.ok)(),_=b.getAll("documentId"),v=b.has("flow")&&b.get("flow")||void 0,[j,A]=(0,R.useState)(!0),[C,w]=(0,R.useState)({location:"",movingDirection:"forward",introductionErrors:{firstName:"",lastName:""},contactInfoErrors:{email:""}}),{currentStep:k,currentStepName:S}=eb5(),T=(t=(0,R.useContext)(eb3),e=>{t(e)}),P=(i=(0,R.useContext)(eb3),e=>{i(t=>({...t,currentStepName:e}))}),L=l.features.signUpTemplatesSkip,I=l?.features?.superApp,M=l.features.rtpAtpUnhideCta,B=l.features.atpStickyCategories,{whitelabeled:D}
5089=l?.settings||{whitelabeled:!1};I&&(0,dM.o)("/create-account");let $=dF.parse(y.search).current_region_prefix||"",O=e=>{f(p({type:c,template:e})),_&&f(x({type:c,documentId:_[0],template:e}))},z=()=>{let e=k-1;if(-1===e){window.history.back(),y.reload();return}T({currentStep:e,currentStepName:eb0[e]})},F=e=>{w(t=>({...t,contactInfoErrors:{...C.contactInfoErrors,[e.target.name]:""}}))},H=async()=>{try{let{recaptchaToken:e,recaptchaAction:t}=await eoP();g({type:c,isSuperApp:I,...m,recaptchaToken:e,recaptchaAction:t,noRedirect:!0})}catch(e){E.A.log(e)}},V=()=>{let e=!m.firstName.trim().length,t=!m.lastName.trim().length;if(e||t){let i=i7.R.t("builder.sign_up.field_is_required");return w(r=>({...r,introductionErrors:{firstName:e?i:"",lastName:t?i:""}})),!1}return!0},U=()=>{let e=!m.email.trim().length;e?w(t=>({...t,contactInfoErrors:{email:e?i7.R.t("builder.sign_up.field_is_required"):""}})):H()},W=async()=>{p({type:c}),V()&&(U(),P("templates"))},K=()=>{switch(S){case"introduction":V();break;case"contact-info":U()}T({currentStep:k+1,currentStepName:eb0[k+1]})},{template:q}=m,G=q||s,Z="resume"===c,X=Z?n:a,Q=X;return Q="ja-JP"===d?X.filter(e=>!Wv.O9.includes(e.id)):X.filter(e=>!e.isJapanese),v&&["upload","signIn"].includes(v)&&0===_.length&&(0,dM.o)("/",{replace:!0}),(0,R.useEffect)(()=>{_&&_.length>0&&A(!1)},[_,A]),(0,R.useEffect)(()=>{v&&["upload","signIn"].includes(v)&&T({currentStep:3,currentStepName:"templates"})},[v,T]),(0,R.useEffect)(()=>{f(h({type:c,socialProfile:eal()(e,"config.socialProfile")})),f(u()),(0,N._m)("Sign up","Start Funnel")},[]),(0,J.jsxs)(e_t,{regionPrefix:$,handleSkipButton:()=>{(0,N.xP)("click_skip_template_selection",{label:"funnel"}),O("london")},handleExitButton:()=>{(0,N.xP)("click_exit_template_section",{label:"funnel"})},skipTemplatesVariant:L,loading:j,children:[(!Q||0===Q.length)&&(0,J.jsx)(ea8,{children:(0,J.jsx)(du.Ay,{})}),Q.length>0&&(0,J.jsxs)(J.Fragment,{children:["templates"===S&&(0,J.jsx)(elT,{recommended:s,templates:Q,currentTemplate:q,onChoose:O,documentType:c,categories:Z?r:o,loading:j,rtpAtpUnhideCtaAB:M,atpStickyCategories:"v1"===B}),"social-profile"===S&&(0,J.jsx)(J.Fragment,{children:D?(0,J.jsx)(esy,{onBack:()=>z(),onContinue:()=>W(),documentType:c,onChange:F,outsideEmailError:C.contactInfoErrors.email,templateId:G,firstNameError:C.introductionErrors.firstName,lastNameError:C.introductionErrors.lastName}):(0,J.jsx)(elz,{onSkip:()=>{K(),(0,N.xP)("skip_social_sign_up")},onBack:()=>{},documentType:c,templateId:G,skipTemplatesTestEnabled:!0})}),"introduction"===S&&(0,J.jsx)(elK,{onBack:()=>z(),onContinue:()=>{f(p({type:c})),K()},firstNameError:C.introductionErrors.firstName,lastNameError:C.introductionErrors.lastName,onChange:e=>{w(t=>({...t,introductionErrors:{...C.introductionErrors,[e.target.name]:""}}))},documentType:c,templateId:G}),"contact-info"===S&&(0,J.jsx)(el4,{onBack:()=>z(),onContinue:K,documentType:c,onChange:F,outsideEmailError:C.contactInfoErrors.email,templateId:G}),(0,J.jsx)(esi,{currentStepName:S,whitelabeled:D})]})]})},e_r={signUp:G.o1.signUpRequest,persistSignUpInfo:G.o1.persistSignUpInfo,loadSignUpInfo:G.o1.loadSignUpInfo,getSignUpPayload:G.o1.getSignUpPayload,setDocumentTemplate:G.o1.setDocumentTemplate};var e_n=(0,eU.Ng)(e=>({config:X.Tp.config(e,X.l1.signUp),resumeTemplates:e.signUp.resumeTemplates||[],coverLetterTemplates:e.signUp.coverLetterTemplates||[],resumeTemplateCategories:e.signUp.resumeTemplateCategories,coverLetterTemplateCategories:e.signUp.coverLetterTemplateCategories,heroTemplateName:e.signUp.heroTemplateName,signUpInfo:e.signUp.signUpInfo,locale:e.application.configs.country.locale}),e_r)(esr(e=>(0,J.jsx)(eb4,{children:(0,J.jsx)(e_i,{...e})}))),e_o=i.p+"media/thankyouacc1098734fda731.png";let e_a=tt.Ay.div(["width:100%;padding-top:146px;text-align:center;display:flex;justify-content:center;flex-direction:column;",""],tQ.A.Phone`
5090    padding-top: 120px;
5091  `),e_l=tt.Ay.header(["width:100%;"]),e_s=tt.Ay.a(["position:absolute;top:20px;left:32px;z-index:1;",""],tQ.A.Tablet`
5092    top: 20px;
5093    left: 20px;
5094  `),e_d=tt.Ay.img(["display:flex;flex-direction:row;align-items:flex-start;padding:0px;width:130px;height:32px;"]),e_c=tt.Ay.div(["display:flex;justify-content:center;width:100%;"]),e_u=tt.Ay.img(["width:295px;height:302px;flex-shrink:0;"]),e_p=tt.Ay.div(["width:544px;margin:0 auto;margin-top:32.82px;text-align:center;gap:8px;",""],tQ.A.Phone`
5095    width: 100%;
5096    display: flex;
5097    justify-content: center;
5098    align-items: center;
5099    flex-direction: column;
5100    gap: 8px
5101  `),e_h=tt.Ay.div(["",";",";text-align:center;padding-bottom:12px;",""],td.Ay.M,td.BO.Medium,tQ.A.Phone`
5102    width: 335px;
5103    ${td.Ay.S};
5104  `),e_x=tt.Ay.div(["text-align:center;width:544px;",""],tQ.A.Phone`
5105    width: 335px;
5106    ${td.Ay.Caption};
5107  `);td.BO.DemiBold;let e_m=tt.Ay.div(["margin-top:40px;display:flex;justify-content:center;gap:4px;",""],tQ.A.Phone`
5108    margin:  148px 0 64px 0;
5109  `),e_g=tt.Ay.div(["color:",";",";"],te.Jy.Neutral50,td.Ay.Caption),e_y=tt.Ay.a(["color:",";",";"],te.Jy.Blue50,td.Ay.Caption);var e_f=()=>{let e=(0,R.useMemo)(()=>{let e="career.io";return window?.location?.host&&(e=window?.location?.host),`https://${e}/contact`},[]);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(e_l,{children:(0,J.jsx)(e_s,{"aria-label":"Logo","data-testid":"cio-anchor-tag",href:"/",children:(0,J.jsx)(e_d,{src:ed_,alt:"Cio logo"})})}),(0,J.jsxs)(e_a,{children:[(0,J.jsx)(e_c,{children:(0,J.jsx)(e_u,{src:e_o,alt:"Thank you"})}),(0,J.jsxs)(e_p,{children:[(0,J.jsx)(e_h,{"data-testid":"description-title",children:"Thank you for signing up for Career.io"}),(0,J.jsxs)(e_x,{"data-testid":"description-subtitle",children:["We just sent you an email to confirm your email address. ",(0,J.jsx)("br",{})," Click the link in the email, and you’ll be signed in."]})]}),(0,J.jsxs)(e_m,{children:[(0,J.jsx)(e_g,{"data-testid":"footer-title",children:"Didn’t receive a link?"}),(0,J.jsx)(e_y,{href:e,"data-testid":"footer-anchor-tag",children:"Contact support"})]})]})]})};let e_b=(0,tt.i7)(["0%{transform:scale(0.9)}50%{transform:scale(1.1)}100%{transform:scale(0.9)}"]),e__=tt.Ay.div(["height:100vh;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;"]),e_v=tt.Ay.img(["width:126.5px;height:88px;flex-shrink:0;"]),e_j=tt.Ay.img(["width:126.5px;height:88px;flex-shrink:0;animation:"," 2s infinite;"],e_b),e_A=tt.Ay.div([""," text-align:center;"," ",""],td.Ay.Subhead,tQ.A.Tablet`
5110    width: 466px;
5111  `,tQ.A.Phone`
5112    width: 261px;
5113  `);var e_C=i.p+"media/freeTrailLoad2cd9d0f4d613437b.gif",e_w=i.p+"media/rio-ilustration55cab47a231cc106.svg",e_k=()=>{let{i18n:e}=(0,e1.s)(),t=(0,L.Zp)(),i=(0,L.zy)(),{getHost:r}=(0,ca.Ay)(),n=(0,eW.N)(X.Tp.logo),o=n?.default,a=ca.l.includes(r),l=ca.GT.includes(r),s=new URLSearchParams(i.search),d=s?.get("premium_days")||7;return(0,R.useEffect)(()=>{setTimeout(()=>{t(`/premium-trail-activated${i.search}`)},3e3)},[t,i]),(0,J.jsxs)(e__,{"data-testid":"app-container",children:[l&&(0,J.jsx)(e_v,{src:e_C,alt:"Free Trail Loading","data-testid":"cio-loader-icon"}),a&&(0,J.jsx)(e_j,{src:e_w,alt:"Free Trail Loading","data-testid":"rio-loader-icon"}),!l&&!a&&(0,J.jsx)(e_j,{src:o,alt:"Free Trail Loading","data-testid":"logo-loader-icon"}),(0,J.jsx)(e_A,{children:e.t("builder.premium_trial_loader.text",{days:d,domain:(0,t6.Z)(r.includes("topresume")?"TopResume Career Platform":r)})})]})};let e_S=tt.Ay.div(["height:100vh;width:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:start;padding-top:104px;max-width:100vw;overflow-x:hidden;"]),e_T=tt.Ay.div([""," text-align:center;width:",";margin-bottom:24px;"," ",""],td.Ay.Body,({$width:e})=>e||"544px",tQ.A.Tablet`
5114    width: 540px;
5115  `,tQ.A.Phone`
5116    width: 335px;
5117  `),e_P=tt.Ay.div([""," "," text-align:center;width:544px;margin-bottom:12px;"," ",";"],td.Ay.M,td.BO.Medium,tQ.A.Tablet`
5118    width: 552px;
5119  `,tQ.A.Phone`
5120    width: 335px;
5121    margin-bottom: 24px;
5122  `),e_J=tt.Ay.a(["display:flex;align-items:center;position:absolute;top:24px;left:32px;z-index:1;",""],tQ.A.Tablet`
5123    top: 20px;
5124    left: 20px;
5125  `),e_E=tt.Ay.div(["display:flex;justify-content:center;align-items:center;gap:3px;margin-top:45px;"," ",""],tQ.A.Tablet`
5126    margin-top: 61px;
5127    margin-bottom: 27px;
5128  `,tQ.A.Phone`
5129    margin-top: 74px;
5130    margin-bottom: 16px;
5131  `),e_R=tt.Ay.div([""," "," text-align:center;"],td.Ay.Caps,td.BO.DemiBold),e_L=tt.Ay.div(["color:",";"],te.Jy.Indigo70),e_N=tt.Ay.div(["width:100%;position:relative;padding:20px;",""],tQ.A.Phone`
5132    padding: 11.4px;
5133  `),e_I=tt.Ay.div(["height:56px;position:absolute;bottom:20px;width:100%;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,"," 100%);",""],te.Jy.White,tQ.A.Phone`
5134    bottom: 11.4px;
5135  `),e_M=tt.Ay.div(["display:flex;justify-content:center;align-items:center;gap:3px;margin-top:16px;margin-bottom:45px;"," ",""],tQ.A.Tablet`
5136    margin: 56px 0;
5137  `,tQ.A.Phone`
5138    margin: 41.43px 0;
5139  `),e_B=tt.Ay.div([""," color:",";",""],td.Ay.Body,te.Jy.Neutral50,tQ.A.Phone`
5140    ${td.Ay.Caption}
5141  `),e_D=tt.Ay.a([""," color:",";",""],td.Ay.Body,te.Jy.Blue50,tQ.A.Tablet`
5142    ${td.Ay.Caption}
5143  `),e_$="builder.premium_trial_activate";
5143var e_O=()=>{let{i18n:e}=(0,e1.s)(),t=(0,L.zy)(),i=(0,L.Zp)(),r=(0,e0.U)(),{getHost:n}=(0,ca.Ay)(),o="career.io"===n?"https://career.io/contact":"/contact",a=(0,e4.J)(),l=a?.billingInfo,s=l?.nextPaymentAt!==null,d=l?.nextPaymentAt?(0,az.Yq)(l?.nextPaymentAt):null,c=l?.recurringAmount,u=new URLSearchParams(t.search),p=u?.get("premium_days")||7,h=u?.get("refresh_resume"),x=()=>n.includes("topresume")?"TopResume Career Platform":n,m=(0,R.useCallback)(()=>{(sessionStorage.setItem(z.p4,"true"),h)?i("/premium-trail-onboarding"):window.location.href="/app/resumes?onboarding=false"},[i,h]),g=(0,R.useCallback)(()=>{let e=new URLSearchParams(t.search),i={};for(let[t,r]of e.entries())i[t]=r;return i},[t.search]);(0,R.useEffect)(()=>{let e=g();r?.features.superApp&&(0,N.xP)("cio_provisioning_welcome",e),(0,N.xP)("provisioning_welcome",e),ew.D.setItem(h9.G.IS_WELCOME_MODAL_SHOWN,"true")},[r?.features.superApp,g]);let{isLoaded:y,services:f,onServiceCardClick:b,isComingSoonModal:_,comingSoonService:v}=j4(-1);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(e_S,{children:[(0,J.jsx)(e_J,{"aria-label":"Logo",href:"/",children:(0,J.jsx)(sc.A,{})}),s?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(e_P,{"data-testid":"premium-trial-title",children:e.t(`${e_$}.with_premium_trial.title`,{domain:(0,t6.Z)(x())})}),(0,J.jsx)(e_T,{$width:"700px",children:e.t(`${e_$}.with_premium_trial.description`,{nextPaymentAt:d,recurringAmount:c,trialDays:p})})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(e_P,{"data-testid":"premium-trial-title",children:e.t(`${e_$}.with_premium_days.title`,{domain:(0,t6.Z)(x())})}),(0,J.jsx)(e_T,{children:e.t(`${e_$}.with_premium_days.description`,{premiumDays:p})})]}),(0,J.jsx)(i$.Ay,{onClick:m,children:e.t(`${e_$}.button`)}),(0,J.jsxs)(e_E,{children:[(0,J.jsx)(e_L,{children:(0,J.jsx)(tP.EK.Crown,{height:28,width:28})}),(0,J.jsx)(e_R,{children:e.t(`${e_$}.premium_text`)})]}),(0,J.jsxs)(e_N,{children:[y?(0,J.jsx)(Ah,{services:f,onServiceCardClick:b,marqueeEffect:!0,unClickable:!0,showNavigationButton:!1}):(0,J.jsx)(Ag,{}),(0,J.jsx)(e_I,{})]}),(0,J.jsxs)(e_M,{children:[(0,J.jsx)(e_B,{children:e.t(`${e_$}.question`)}),(0,J.jsx)(e_D,{href:o,"data-testid":"contact-support-id",children:e.t(`${e_$}.support`)})]})]}),_&&(0,J.jsx)(j6.A,{visual:v?.modalVisual||"",trackingLabel:"execute_a_job_search",title:v?.modalTitle||"",text:v?.modalDescription||"",onClose:b})]})},e_z=i.p+"media/rio-logoa1bbf91600d0a14e.svg",e_F=((C={}).STEP_1="1",C.STEP_2="2",C.STEP_3="3",C);let e_H=tt.Ay.div(["display:flex;justify-content:space-between;",""],tQ.A.Phone`
5144    flex-direction: column-reverse;
5145    align-items: center;
5146    gap: 16px;
5147    width: 100%;
5148  `),e_V=tt.Ay.div(["display:flex;align-items:center;gap:8px;bottom:0;background-color:",";"],te.Jy.White),e_U=tt.Ay.div(["width:",";height:6px;border-radius:8px;background:",";"],e=>e.active?"16px":"6px",e=>e.active?te.Jy.Blue50:te.Jy.Neutral20),e_W=tt.Ay.div(["display:flex;gap:12px;",""],tQ.A.Phone`
5149    width: 100%;
5150  `),e_K=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.ghost})(["",""],tQ.A.Phone`
5151    width: 100%;
5152  `),e_q=(0,tt.Ay)(i$.Ay)(["",""],tQ.A.Phone`
5153    width: 100%;
5154  `),e_G="builder.onboarding_ai_enhanced.actions";var e_Z=({activeStep:e,setStep:t})=>{let{i18n:i}=(0,e1.s)(),r=(0,L.Zp)(),n=Object.values(e_F).map(e=>Number(e));return(0,J.jsxs)(e_H,{children:[(0,J.jsx)(e_V,{children:n.map(t=>(0,J.jsx)(e_U,{active:Number(t)===e},t))}),(0,J.jsxs)(e_W,{children:[1!==e&&(0,J.jsx)(e_K,{onClick:()=>{t(e-1)},children:i.t(`${e_G}.back`)}),(0,J.jsx)(e_q,{onClick:()=>{e<3?t(e+1):r("/?ai-refresh=true",{replace:!0})},children:i.t(`${e_G}.${3===e?"start":"continue"}`)})]})]})},e_X=i.p+"media/Scanningf242c5354bd7e2b7.webm",e_Q=i.p+"media/Builder1ce3f1b82b5b19cb.webm",e_Y=i(86295);let e_0=(0,tt.Ay)(tP.Ay.Tick)(["border-radius:50%;background-color:",";fill:",";margin-bottom:10px;"],te.Jy.Green10,te.Jy.Green50),e_1=(0,tt.Ay)(e_Y.$s.Word)(["margin-bottom:16px;"]),e_2=(0,tt.Ay)(e_Y.$s.Builder)(["margin-bottom:16px;"]),e_3=(0,tt.Ay)(e_Y.$s.Template)(["margin-bottom:16px;"]),e_5=(0,tt.Ay)(e_Y.$s.Costumization)(["margin-bottom:16px;"]),e_4=tt.Ay.div(["display:flex;flex-wrap:wrap;gap:24px;"]),e_6=tt.Ay.div([""," width:45%;"],e=>e.borderTop&&(0,tt.AH)(["margin-top:8px;padding-top:32px;border-top:1px "," solid;"],te.Jy.Neutral15)),e_8=tt.Ay.div(["",";",";"],td.Ay.Body,td.BO.Regular),e_9=tt.Ay.div(["",";",";color:",";"],td.Ay.Tiny,td.BO.Regular,te.Jy.Neutral50),e_7={step_1:{item:(0,J.jsx)(e_0,{})},step_2:{item_1:(0,J.jsx)(e_5,{}),item_2:(0,J.jsx)(e_3,{})},step_3:{item_1:(0,J.jsx)(e_2,{}),item_2:(0,J.jsx)(e_1,{})}};var eve=({activeStep:e})=>{let{i18n:t}=(0,e1.s)(),i=`builder.onboarding_ai_enhanced.step_${e}.items`,r=()=>"object"==typeof t.t(i)?t.t(i):{};return(0,J.jsx)(e_4,{children:Object.keys(r())?.map(t=>{let i=e_7[`step_${e}`],n=r();return(0,J.jsxs)(e_6,{borderTop:1!==e,children:[1===e?i?.item:i[t],(0,J.jsx)(e_8,{children:n[t]?.header}),(0,J.jsx)(e_9,{children:n[t]?.description})]},t)})})};let evt=tt.Ay.div(["margin:0 auto;display:flex;max-width:1125px;gap:100px;padding:32px 20px;",";"],tQ.A.Tablet`
5155    flex-direction: column;
5156    gap: 36px;
5157  `),evi=tt.Ay.div(["flex:1;"]),evr=tt.Ay.div(["max-width:544px;max-height:544px;border-radius:16px;background:",";display:flex;align-items:center;"," ",""],te.Jy.Neutral5,tQ.A.Tablet`
5158    height: 336px;
5159  `,tQ.A.Phone`
5160    max-width: 340px;
5161    height: 208px;
5162  `),evn=tt.Ay.video.attrs({autoPlay:!0,muted:!0,loop:!0})(["width:544px;"," ",""],tQ.A.Tablet`
5163    height: 336px;
5164  `,tQ.A.Phone`
5165    width: 340px;
5166    height: 208px;
5167  `),evo=tt.Ay.div(["display:flex;flex-direction:column;height:544px;"," ",""],tQ.A.Tablet`
5168    max-width: 540px;
5169    height: 404px;
5170  `,tQ.A.Phone`
5171    max-width: 340px;
5172    height: 430px;
5173  `),eva=tt.Ay.div(["flex:1;"]),evl=tt.Ay.div(["flex:none;"]),evs=(0,tt.Ay)(xL.aK).attrs({name:"Documents"})(["width:24px;height:24px;"]),evd=tt.Ay.div(["display:flex;align-items:center;gap:6px;color:",";",";",";margin-bottom:24px;"],te.Jy.Neutral90,td.Ay.Body,td.BO.Regular),evc=tt.Ay.span(["width:4px;height:4px;border-radius:50%;background-color:",";"],te.Jy.Neutral50),evu=tt.Ay.span(["",";",";color:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral50),evp=tt.Ay.div(["",";",";margin-bottom:12px;"],td.Ay.M,td.BO.Medium),evh=tt.Ay.div(["margin-bottom:32px;"]);var evx=i.p+"media/stockholm1b5689770d6b3b40.png",evm=i.p+"media/london2dae99179b84222b.png",evg=i.p+"media/sydney9868bdd9605f83d8.png",evy=i.p+"media/dublinccb04a93474b2750.png",evf=i.p+"media/new_york1e23cde95582e6ba.png";let evb=tt.Ay.div(["width:544px;height:544px;overflow:hidden;display:flex;border-radius:16px;"," "," .swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box;}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;}"],tQ.A.Tablet`
5174    height: 336px;
5175  `,tQ.A.Phone`
5176    height: 208px;
5177    width: 340px;
5178  `),ev_=tt.Ay.div(["border-radius:16px;position:absolute;width:48px;z-index:2;height:inherit;background:linear-gradient(90deg,#f7f9fc 0%,rgba(247,249,252,0) 100%),linear-gradient(90deg,#f7f9fc 0%,rgba(247,249,252,0) 100%);",""],e=>"right"===e.position&&(0,tt.AH)(["transform:translateX(496px) rotate(180deg);",""],tQ.A.Phone`
5179        transform: translateX(292px) rotate(180deg);
5180      `)),evv=tt.Ay.div(["display:flex;min-width:285px;justify-content:",";align-items:center;",""],e=>e.isNext?"flex-start":"flex-end",e=>(0,tt.AH)([""," ",""],tQ.A.Tablet`
5181        height: 336px;
5182        align-items: ${e?.active?"normal":"baseline"};
5183      `,tQ.A.Phone`
5184        height: 208px;
5185        min-width: 180px;
5186        align-items: ${e?.active?"normal":"baseline"};
5187      `)),evj=tt.Ay.figure(["margin:32px 0;width:285px;transform:scale(",");transition:transform 0.8s ease;",""],e=>e.active?1:.7,tQ.A.Phone`
5188    margin: 19px 0px;
5189    min-width: 180px;
5190  `),evA=tt.Ay.figcaption(["text-align:center;padding-top:32px;opacity:",";transition:opacity 0.5s ease;",""],e=>+!!e.active,tQ.A.Phone`
5191    padding-top: 19px;
5192  `),evC=tt.Ay.div(["",";",";color:",";",""],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90,tQ.A.Phone`
5193    ${td.Ay.Tiny};
5194    ${td.BO.Regular};
5195  `),evw=tt.Ay.div(["",";",";color:",";",""],td.Ay.Tiny,td.BO.Regular,te.Jy.Neutral50,tQ.A.Phone`
5196    font-size: 8.685px;
5197    font-style: normal;
5198    font-weight: 400;
5199    line-height: 9.926px;
5200    letter-spacing: 0.186px;
5201  `),evk=tt.Ay.img(["width:inherit;border-radius:1px;"," ",""],tQ.A.Phone`
5202    width: 180px;
5203  `,e=>e.active&&(0,tt.AH)(["box-shadow:0px 16px 64px -8px rgba(15,56,113,0.18),0px 6px 8px -2px rgba(15,56,113,0.02),0px 0px 1px 0px rgba(15,56,113,0.32);"])),evS="builder.onboarding_ai_enhanced.slides";var evT=()=>{let{i18n:e}=(0,e1.s)(),t=[{header:e.t(`${evS}.stockholm`),subHeader:e.t(`${evS}.stockholm_used`),image:evx},{header:e.t(`${evS}.dublin`),subHeader:e.t(`${evS}.dublin_used`),image:evy},{header:e.t(`${evS}.london`),subHeader:e.t(`${evS}.london_used`),image:evm},{header:e.t(`${evS}.new_york`),subHeader:e.t(`${evS}.new_york_used`),image:evf},{header:e.t(`${evS}.sydney`),subHeader:e.t(`${evS}.sydney_used`),image:evg}],[i,r]=(0,R.useState)(0);return(0,J.jsxs)(evb,{children:[(0,J.jsx)(ev_,{position:"left"}),(0,J.jsx)(nl.RC,{modules:[na.Ij],loop:!0,speed:800,autoplay:{delay:3e3},initialSlide:2,slidesPerView:1.9,centeredSlides:!0,onSlideChange:e=>r(e.realIndex),children:t.map((e,t)=>(0,J.jsxs)(nl.qr,{children:[(0,J.jsxs)(evA,{active:t===i,children:[(0,J.jsx)(evC,{
5203children:e.header}),(0,J.jsx)(evw,{children:e.subHeader})]}),(0,J.jsx)(evv,{isNext:t===i+1,active:t===i,children:(0,J.jsx)(evj,{active:t===i,children:(0,J.jsx)(evk,{active:t===i,src:e.image})})})]},t))}),(0,J.jsx)(ev_,{position:"right"})]})};let evP="builder.onboarding_ai_enhanced";var evJ=({activeStep:e,setStep:t})=>{let{isPhone:i,isTablet:r}=(0,ih.e)(),{i18n:n}=(0,e1.s)();return(0,J.jsxs)(evt,{children:[(0,J.jsx)(evi,{children:(0,J.jsxs)(evo,{children:[(0,J.jsxs)(eva,{children:[(0,J.jsxs)(evd,{children:[(0,J.jsx)(evs,{name:"Documents"})," ",n.t(`${evP}.header`)," ",(0,J.jsx)(evc,{}),(0,J.jsx)(evu,{children:n.t(`${evP}.steps`,{number:e})})]}),(0,J.jsx)(evp,{children:n.t(`${evP}.step_${e}.header`)}),(0,J.jsx)(evh,{children:n.t(`${evP}.step_${e}.description`)}),(0,J.jsx)(eve,{activeStep:e})]}),!i&&!r&&(0,J.jsx)(evl,{children:(0,J.jsx)(e_Z,{activeStep:e,setStep:t})})]})}),(0,J.jsx)(evi,{children:(0,J.jsx)(evr,{children:2===e?(0,J.jsx)(evT,{}):(0,J.jsx)(evn,{src:{step_1:e_X,step_3:e_Q}[`step_${e}`]})})}),(i||r)&&(0,J.jsx)(evi,{children:(0,J.jsx)(e_Z,{activeStep:e,setStep:t})})]})};let evE=tt.Ay.a([""]),evR=tt.Ay.img([""]),evL=tt.Ay.div(["height:80px;padding-left:32px;display:flex;align-items:center;position:sticky;top:0;background-color:",";",""],te.Jy.White,tQ.A.Phone`
5204    padding-left: 20px;
5205  `),evN=tt.Ay.div(["margin:0 auto;height:calc(100vh - 80px);"]);var evI=()=>{let e=window.location.hostname,[t,i]=(0,R.useState)(+e_F.STEP_1);return(0,R.useEffect)(()=>{(0,N.xP)(`ai_refresh_promo_${t}`)},[t]),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(evL,{children:(0,J.jsx)(evE,{href:"/",children:(0,J.jsx)(evR,{src:e.includes("career.io")?ed_:e_z,"data-testid":"cio-logo-icon",alt:`${e} logo`})})}),(0,J.jsx)(evN,{children:(0,J.jsx)(evJ,{activeStep:t,setStep:i})})]})};let evM=(0,R.lazy)(()=>i.e("4117").then(i.bind(i,90499))),evB=()=>(0,J.jsx)(R.Suspense,{fallback:null,children:(0,J.jsx)(evM,{})}),evD=tt.Ay.div(["",";font-weight:700;color:",";margin-bottom:12px;text-align:center;",""],td.Ay.XL,te.Jy.Blue50,tQ.A.Phone`
5206    text-align: left;
5207    width: 100%;
5208  `),ev$=tt.Ay.div(["margin-bottom:32px;max-width:544px;text-align:center;",""],tQ.A.Phone`
5209    text-align: left;
5210    margin-bottom: 24px;
5211    max-width: 100%;
5212  `),evO=(0,tt.Ay)(iO.m)(["display:flex;align-items:center;flex-direction:column;justify-content:center;",";"],tQ.A.Phone`
5213    align-items: flex-start;
5214  `),evz=tt.Ay.div(["padding:42px 0 40px;",";"],tQ.A.Phone`
5215    padding: 32px 0 36px;
5216  `),evF=tt.Ay.div(["display:flex;justify-content:flex-end;gap:12px;margin-top:12px;max-width:650px;width:100%;",""],tQ.A.Phone`
5217    max-width: 100%`),evH=(0,tt.Ay)(i$.Ay)(["color:",";background-color:rgba(26,145,240,0.1) !important;cursor:pointer;transition:color 0.2s ease;&:hover{background-color:rgba(26,145,240,0.3) !important;}",""],te.Jy.Blue50,tQ.A.Phone`
5218    width: 100%;
5219  `),evV=(0,tt.Ay)(i$.Ay)(["",""],tQ.A.Phone`
5220    width: 100%;
5221  `),evU=tt.Ay.div(["display:grid;gap:16px;grid-template-columns:repeat(3,1fr);",";"],tQ.A.Phone`
5222    grid-template-columns: repeat(2, 1fr);
5223    width: 100%;
5224  `),evW=tt.Ay.div(({selected:e})=>(0,tt.AH)(["padding:32px;display:flex;flex-direction:column;gap:12px;border-radius:16px;border:2px ",";background-color:",";border-color:",";position:relative;height:145px;width:200px;cursor:pointer;",";"],e?"solid":"hidden",e?te.Jy.Blue10:te.Jy.Neutral5,e?te.Jy.Blue50:"",tQ.A.Phone`width: 100%;`)),evK=tt.Ay.div(({checked:e})=>(0,tt.AH)(["position:absolute;width:18px;height:18px;top:12px;right:12px;border-radius:4px;border:2px "," solid;background-color:",";background-position:center;background-image:",";"],e?te.Jy.Blue50:te.Jy.Neutral30,e?te.Jy.Blue50:"",e?`url(${i(89827)})`:"")),evq=tt.Ay.span(["font-weight:500px;font-size:19px;line-height:22px;text-align:center;vertical-align:middle;letter-spacing:0%;"]),evG=tt.Ay.div(["margin-left:auto;margin-right:auto;width:40px;height:40px;"]),evZ=[{label:"Resume tailoring",value:"resume_tailoring",position:1,icon:({selected:e})=>(0,J.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_4432_5256)",children:[(0,J.jsx)("path",{d:"M6.34016 9.67493L10.3178 9.44878C10.4969 8.26534 10.6752 7.08271 10.8526 5.90088L32.3526 5.5264V31.417C30.9245 31.5678 29.834 31.8839 28.4095 32.0347C28.3319 33.343 28.4859 34.6172 28.4095 35.9255C21.371 36.1018 13.7656 36.1468 6.72216 36.3231C6.59811 27.4416 6.47078 18.5589 6.34016 9.67493Z",fill:"white"}),(0,J.jsx)("path",{d:"M33.5898 6.03947C33.5867 5.78138 33.5694 5.52365 33.538 5.2674C33.5 4.95283 33.3539 4.6606 33.1241 4.43937C32.8943 4.21814 32.5946 4.08126 32.275 4.05153C31.2646 3.96034 30.2455 3.83876 29.2301 3.83876C28.5327 3.84777 27.8377 3.92351 27.1551 4.06491C26.6042 4.17312 26.3147 4.56828 26.3073 5.00356C26.2999 5.43884 26.6166 5.83278 27.1452 6.00786C27.2532 6.04438 27.3647 6.07005 27.4779 6.08446C28.5401 6.20605 29.601 6.34587 30.6657 6.44922C30.9121 6.47476 30.9898 6.55865 30.9861 6.79331C30.9775 7.35869 30.9861 7.92528 30.9861 8.49552C30.9861 10.5832 31.0847 12.3693 31.0612 14.4533C31.0428 16.0886 30.938 17.7227 30.9306 19.3569C30.9183 22.8658 30.9466 26.3748 30.9565 29.8838C30.9565 30.0151 30.9405 30.1477 30.9319 30.2814C30.821 30.2887 30.7581 3
52240.296 30.6953 30.2972C27.8537 30.3475 25.0118 30.3973 22.1694 30.4468C19.1628 30.4978 16.8437 30.5501 13.8358 30.5842C13.2197 30.5915 12.595 30.5258 11.9086 30.4905C12.0158 22.5449 11.8766 14.1663 11.9825 6.25833C12.8895 6.25833 13.0534 6.25833 13.9048 6.25833C16.1524 6.27049 18.3914 6.27049 20.6341 6.27049C24.0843 6.27049 24.5045 4.94398 23.7726 4.33726C23.4226 4.04667 22.9322 4.08315 22.4775 4.01384C21.6193 3.90251 20.7553 3.8404 19.8898 3.82782C17.1247 3.7269 15.3305 3.71717 11.757 3.83876C10.3215 3.88739 9.55997 4.60597 9.36035 6.01881C9.27286 6.63768 9.26916 7.2675 9.22603 7.93258C8.94262 7.94474 8.6629 7.94109 8.38811 7.9727C7.581 8.06511 6.30194 8.11253 5.51208 8.28761C4.48809 8.51498 3.89292 9.20559 3.78695 10.2476C3.74995 10.6733 3.74008 11.1009 3.75737 11.5279C3.8272 14.7475 3.90113 17.9663 3.97917 21.1843C4.026 23.2586 4.01491 25.3365 4.11842 27.4071C4.24164 29.8072 4.41415 32.2025 4.29956 34.6075C4.29218 34.9346 4.30576 35.262 4.34022 35.5874C4.43017 36.7559 5.16089 37.4489 6.3463 37.4915C6.62601 37.5012 6.90697 37.5012 7.18792 37.4915C11.5328 37.3857 16.3385 37.286 20.6834 37.1693C22.8496 37.1109 23.8477 37.1377 26.3159 37.0635C27.3276 37.0343 28.6571 36.7729 28.6571 35.8002C28.6571 35.061 28.1544 34.4749 27.4557 34.5017C26.7164 34.5296 25.6209 34.5017 25.6209 34.509C19.3119 34.5649 13.6165 34.4239 7.33578 34.4786C7.23104 26.4976 6.70734 19.0079 6.6026 10.9966C7.25322 10.9309 8.49902 10.8409 9.25684 10.7655C9.25684 10.9455 9.25684 11.0902 9.25684 11.2349C9.2322 14.2028 9.18167 17.1707 9.1903 20.1374C9.1903 22.2372 9.29874 24.3358 9.32215 26.4356C9.33694 27.7548 9.28518 29.0741 9.26177 30.3933C9.23835 31.6407 9.8249 32.3387 11.1187 32.4846C12.4126 32.6305 13.6781 32.7764 14.9658 32.7764C18.5972 32.7982 22.2286 32.7508 25.8612 32.7314C26.0128 32.7314 29.0441 32.6767 29.1698 32.6633C29.9929 32.5794 31.4321 32.594 32.2504 32.4785C33.1129 32.3569 33.5812 31.8705 33.6933 31.0097C33.7368 30.6604 33.757 30.3087 33.7537 29.9568C33.7327 25.4459 33.5996 9.59831 33.5898 6.03947Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M21.0161 26.269C20.5232 26.269 20.1104 25.717 20.0303 25.4179C19.8171 24.6325 19.5374 24.0306 19.4142 23.2294C19.1468 21.498 18.3397 20.8791 17.0815 19.6596C16.474 19.0699 15.1013 18.6091 14.6491 18.4158C14.2178 18.2322 13.8777 18.0012 13.8469 17.5124C13.8186 17.0491 14.0786 16.7148 14.4692 16.5069C14.776 16.3542 15.0965 16.2301 15.4266 16.136C16.1497 15.9246 16.8219 15.5708 17.4026 15.096C17.9833 14.6213 18.4605 14.0353 18.8054 13.3736C19.3969 12.2708 19.9144 11.14 20.1153 9.89133C20.1301 9.81731 20.1519 9.74484 20.1806 9.6749C20.3839 9.12776 20.7967 8.80799 21.3106 8.80921C21.8244 8.81042 22.2323 9.14357 22.3999 9.71016C22.5675 10.2768 22.6882 10.8555 22.8484 11.4233C23.255 12.8678 24.125 14.0192 25.2697 14.9627C25.9665 15.522 26.8102 15.8741 27.7022 15.978C27.9177 16.0044 28.1232 16.0832 28.3002 16.2073C28.4772 16.3315 28.6202 16.4971 28.7163 16.6892C29.0194 17.2242 28.7791 18.1227 27.7934 18.3659C26.8076 18.6091 26.1508 19.0954 25.3289 19.7034C23.4386 21.0943 22.7893 22.1594 22.411 24.3772C22.3802 24.5632 22.3518 24.7492 22.3235 24.9352C22.2027 25.7341 21.8836 26.2605 21.0161 26.269ZM21.1393 21.7703C21.8035 19.7034 23.1996 18.6091 24.8138 17.2899C24.0967 16.9069 23.2341 16.4205 22.7412 15.9342C22.3247 15.5232 21.7554 14.7183 21.3747 14.0399C20.9927 14.7949 20.5047 15.5086 19.7888 16.0448C19.0728 16.581 18.5775 17.0309 17.5707 17.5148C19.5029 18.4206 20.5552 19.7958 21.1393 21.7703Z",fill:e?te.Jy.Blue50:"#9FA6BB"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_4432_5256",children:(0,J.jsx)("rect",{width:"30",height:"33.75",fill:"white",transform:"translate(3.75 3.75)"})})})]})},{label:"Instant cover letter",value:"instant_cover_letter",position:2,icon:({selected:e})=>(0,J.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_4432_5260)",children:[(0,J.jsx)("path",{d:"M7.06824 11.0534L33.1917 10.551C33.2682 16.8933 33.3447 23.2361 33.4212 29.5792L6.614 28.9327L7.06824 11.0534Z",fill:"white"}),(0,J.jsx)("path",{d:"M4.99975 11.6333C5.00839 11.1301 5.1834 10.644 5.49734 10.2511C5.81129 9.85828 6.24643 9.58094 6.73456 9.46256L6.75871 9.45651C7.41655 9.30631 8.09108 9.24242 8.76534 9.26643C11.1899 9.29791 20.5815 9.24827 23.1958 9.34149C23.7527 9.36086 24.2915 9.43471 24.6878 9.86934C24.9825 10.1938 25.2072 10.5413 25.0248 10.9783C24.8291 11.4444 24.149 11.5558 23.4652 11.6164C23.2006 11.6394 22.117 11.7035 21.8512 11.6999C16.9875 11.6357 13.6291 11.896 8.76534 11.8282C8.66733 11.8228 8.56919 11.8368 8.47659 11.8694C12.1165 14.7896 16.4499 17.8187 20.3955 20.4652C21.0768 19.9689 21.3789 19.7388 22.0795 19.2267C24.0572 17.7824 25.5177 16.4857 27.2646 14.8029C27.7079 14.3743 28.219 14.292 28.6648 14.5668C29.1782 14.884 29.3751 15.4845 29.1057 16.0099C28.996 16.2546 28.8397 16.4755 28.6454 16.6601C26.8019 18.2073 25.3268 19.4519 23.4712 20.987C22.988 21.3914 22.4782 21.7776 22.0058 22.1977C21.7153 22.4752 21.3512 22.6631 20.9571 22.7388C20.5629 22.8146 20.1554 22.7751 19.783 22.6251C19.2209 22.4183 18.6853 22.1456 18.1871 21.8127C16.4596 20.665 14.7538 19.4882 13.048 18.3114C11.5367 17.269 10.0362 16.2145 8.53098 15.1637C8.44158 15.1019 7.84719 15.0426 7.69618 14.9433C7.68289 15.1576 7.66598 15.3186 7.66356 15.4796C7.6092 19.5233 7.63698 24.1421 7.57416 28.1918C7.57416 28.5187 7.68774 28.5829 8.01392 28.5841C14.9205 28.601 22.3284 28.6276 29.235 28.6531C29.9224 28.6531 31.07 28.7245 31.8082 28.7245C31.8166 28.6276 31.8335 28.5029 31.8396 28.3782C31.9604 25.8201 31.691 19.6964 32.0389 19.0269C32.3035 18.5185 33.154 18.3611 33.2953 18.4991C33.8015 18.7473 33.9755 19.309 33.9912 19.8563C34.0878 23.429 34.182 25.9254 34.2726 29.4993C34.2782 29.6974 34.2596 29.8954 34.2171 30.0889C34.1023 30.6047 33.8655 31.0333 33.2699 31.1858C33.1757 31.2088 11.3615 31.2669 11.2105 31.2621C10.1148 31.2282 9.01783 31.2016 7.92211 31.1677C6.72611 31.1301 5.40327 30.0877 5.14353 28.9884C5.08554 28.7366 5.04205 28.4812 4.99252 28.2269L4.99975 11.6333Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M32.8836 16.3707C32.1648 16.3707 31.6272 15.8562 31.516 15.0571C31.4327 14.4627 31.4061 13.8549 31.3808 13.2677V13.2593C31.3711 13.0329 31.3602 12.7992 31.3469 12.568C31.3469 12.5317 31.3469 12.3525 31.3409 12.2931V11.9566H31.0425C31.0425 11.9566 30.8492 11.9566 30.5858 11.9566C30.2476 11.9566 29.7764 11.9566 29.4563 11.9408C29.315 11.9336 29.1724 11.9299 29.0311 11.9263C28.8257 11.9203 28.6131 11.9154 28.4029 11.9009C27.6877 11.8512 27.1537 11.4081 27.0426 10.7701C26.9121 10.0231 27.2842 9.39599 28.009 9.17443C28.4888 9.02297 28.9847 8.92869 29.4865 8.89355L29.7486 8.86571C29.9791 8.84296 30.2105 8.83205 30.4421 8.83302C30.6233 8.83302 30.8045 8.83302 30.9906 8.8415L31.3844 8.84997V8.54004C31.3844 8.21194 31.3844 7.96012 31.3844 7.69256V7.51096C31.3844 7.16712 31.3928 6.81118 31.4267 6.46009C31.50
522452 5.65498 32.0585 5.03995 32.7447 4.99637C32.7725 4.99637 32.8015 4.99637 32.8292 4.99637C33.5118 4.99637 34.0808 5.52302 34.2125 6.27848C34.3091 6.83419 34.3671 7.38868 34.4299 7.97344C34.442 8.08724 34.4952 8.57878 34.4952 8.57878L34.7561 8.58725H34.8334L35.5233 8.62357C36.1466 8.65384 36.7845 8.68532 37.4103 8.75069C37.7621 8.78105 38.0912 8.93759 38.3371 9.19158C38.583 9.44557 38.7292 9.77995 38.7488 10.1333C38.802 10.9214 38.3296 11.5353 37.5492 11.6975C36.9215 11.8161 36.288 11.9018 35.6513 11.9542L35.3155 11.9868C35.1874 11.9998 35.0588 12.0058 34.9301 12.005H34.7622L34.477 11.999L34.4227 12.8028C34.3732 13.5353 34.3273 14.2278 34.262 14.924C34.1823 15.7799 33.6797 16.3332 32.95 16.3683L32.8836 16.3707Z",fill:e?te.Jy.Blue50:"#9FA6BB"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_4432_5260",children:(0,J.jsx)("rect",{width:"33.75",height:"26.25",fill:"white",transform:"translate(5 5)"})})})]})},{label:"Recruiter match",value:"recruiter_match",position:3,icon:({selected:e})=>(0,J.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_4432_5264)",children:[(0,J.jsx)("path",{d:"M26.6759 24.2643C26.7098 24.2798 26.6371 24.4222 26.6697 24.4377C26.6697 25.4294 27.0294 26.0703 27.7977 26.4315C28.8004 26.9053 30.2907 26.293 30.8534 25.1718C31.3122 24.2565 31.1304 23.257 30.3972 22.6667C29.4923 21.9404 28.4896 21.9404 27.7162 22.6809C27.4582 22.9131 27.2254 23.1735 27.0219 23.4577C26.8326 23.7322 26.8238 23.9497 26.6759 24.2643Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M28.4219 27.0633C28.0973 27.0681 27.7755 27.001 27.4781 26.8665C26.4992 26.4056 26.0655 25.6236 26.0693 24.3329V24.2746C26.0775 24.2358 26.083 24.1964 26.0856 24.1568C26.1558 23.9963 26.2034 23.8526 26.2473 23.7231C26.3066 23.5146 26.3957 23.3165 26.5117 23.1353C26.795 22.7435 27.1186 22.3845 27.4768 22.0647C27.9078 21.6221 28.4885 21.37 29.0962 21.3617C29.6815 21.3617 30.2957 21.6064 30.8722 22.0698C31.7935 22.8104 32.0103 24.0403 31.4262 25.2055C30.8848 26.2826 29.6214 27.0633 28.4219 27.0633Z",fill:"white"}),(0,J.jsx)("path",{d:"M17.8823 11.8784C16.1401 11.4563 15.0835 10.2937 14.3277 8.72852C13.6045 10.541 12.148 11.5327 10.6929 12.5956C11.1733 12.7413 11.6137 13.002 11.9782 13.3565C12.3428 13.7111 12.6213 14.1494 12.791 14.636C13.0981 15.449 13.8501 16.1559 14.1234 16.9819C14.1773 17.1476 14.2186 17.3185 14.2888 17.5683C15.0697 15.1525 15.6588 13.2015 17.8823 11.8784Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M13.6822 18.0357C13.3713 17.0699 12.5541 16.2012 12.1781 15.2328C11.6078 13.7194 8.98574 13.5226 7.65967 12.8571C9.53974 11.4835 13.1219 8.48901 14.3026 6.25446C15.4958 8.35954 17.901 11.3541 19.8174 12.0803C16.9083 14.1518 15.8367 17.9736 14.8039 20.7545C14.7413 20.5421 13.7511 18.2493 13.6822 18.0357Z",fill:"white"}),(0,J.jsx)("path",{d:"M28.4294 29.3496C26.3676 29.3315 24.6968 27.6873 24.5439 25.5252C24.4771 24.5845 24.593 23.6394 24.8848 22.7456C24.9889 22.4168 24.8761 22.2692 24.6467 22.1229L24.0288 21.7345C23.1075 21.1519 22.1575 20.5525 21.2525 19.9142C20.8655 19.6247 20.5013 19.304 20.1634 18.9549C20.0192 18.8151 19.8563 18.6545 19.6921 18.5044C19.6575 18.4703 19.6261 18.433 19.5981 18.393L19.578 18.3658C19.0767 17.7185 19.2521 17.2473 19.4828 16.9728C19.6645 16.7553 20.1659 16.5054 20.4378 16.5054C20.6671 16.5113 20.8903 16.5821 21.0833 16.71C21.6311 17.0531 22.1825 17.4311 22.7215 17.8311C23.5813 18.4681 24.4687 19.1413 25.2508 19.7356L26.3488 20.5667L26.4252 20.4839C26.7598 20.1214 27.1627 19.8336 27.6092 19.6383C28.0557 19.443 28.5361 19.3444 29.021 19.3485C31.168 19.3795 33.9819 20.8852 33.7362 24.3328C33.7085 24.4932 33.6721 24.6518 33.6271 24.808C33.5602 25.1632 33.4668 25.5125 33.3476 25.8528C32.5956 27.8141 30.4561 29.3483 28.4595 29.3483L28.4294 29.3496ZM27.7651 26.5014C28.015 26.6165 28.2861 26.6744 28.5597 26.671C29.0434 26.6622 29.5163 26.5222 29.931 26.2649C30.3457 26.0077 30.6876 25.6423 30.9224 25.2054C31.3986 24.2578 31.2069 23.2104 30.4448 22.5993C30.0401 22.2568 29.5365 22.0632 29.0135 22.0491C28.508 22.0566 28.0246 22.2636 27.6623 22.6278C27.4004 22.879 27.1209 23.112 26.9579 23.4136C26.0843 25.0268 26.9742 26.1337 27.7651 26.5053V26.5014Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M14.4329 22.5268H14.3603C13.8664 22.5022 13.5318 22.3663 13.2911 21.75C13.2084 21.5351 13.1257 21.2827 13.0304 20.9914C12.5541 19.5362 11.8359 17.3366 9.61872 15.4827C8.93939 14.9156 6.85126 14.1311 6.06539 13.8359L5.81472 13.7414C5.57024 13.6511 5.35968 13.4833 5.21312 13.2619C5.06657 13.0405 4.99154 12.7769 4.99877 12.5089C4.9925 11.9082 5.27952 11.4524 5.78338 11.257C6.11754 11.1387 6.46224 11.055 6.81241 11.0071C7.03683 10.9741 7.25909 10.927 7.47795 10.866C8.5333 10.541 9.31164 10.0387 10.2529 9.07289C11.2444 8.0566 12.2997 6.0745 12.4238 3.93445C12.4727 3.09423 13.325 2.51035 14.0532 2.51035C14.1608 2.51025 14.2681 2.52329 14.3728 2.54919C14.622 2.60086 14.8528 2.7217 15.0405 2.8987C15.2282 3.07571 15.3657 3.30219 15.4382 3.55383L15.4833 3.70012C15.7164 5.99423 17.4436 7.89865 17.9675 8.42816C18.9 9.35253 19.7886 10.1384 21.3115 10.2678C22.4721 10.3675 23.1916 10.8983 23.1916 11.6544C23.182 11.9128 23.114 12.1654 22.993 12.3917C22.872 12.6181 22.7013 12.8121 22.4947 12.9581C22.345 13.0373 22.189 13.1031 22.0284 13.1549C21.1185 13.4915 19.2259 14.1906 17.7143 16.275C17.0876 17.1398 16.3957 19.3485 15.9834 20.6677C15.8229 21.1856 15.6951 21.5882 15.6349 21.7164C15.5328 21.9577 15.3647 22.163 15.1511 22.307C14.9376 22.451 14.688 22.5274 14.4329 22.5268ZM14.1823 6.97945C14.0707 7.24744 13.9679 7.49731 13.8702 7.74588C13.3488 9.04052 12.9715 9.98561 11.8372 10.9449C11.1905 11.4952 8.88926 12.4687 8.86544 12.4778L8.52954 12.6202L8.87923 12.7225C10.7229 13.2649 11.93 14.0094 12.5692 14.9998C13.2849 16.1093 14.2625 18.3451 14.3101 18.4694L14.5533 18.4357C14.8039 15.4581 16.3005 13.8372 18.6343 12.1878L18.8636 12.026L18.5954 11.9509C17.2167 11.5845 14.9305 9.61146 14.4254 7.00146L14.3465 6.59624L14.1823 6.97945Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M25.6532 26.2489C25.5755 26.2489 21.8479 28.1093 21.6599 28.2181C20.8653 28.6764 20.0706 29.1373 19.261 29.6085L18.2232 30.2118C17.5125 28.9172 16.5674 28.1404 15.1674 27.664C14.6954 27.4964 14.2001 27.409 13.701 27.405C12.6857 27.405 11.7545 27.8038 10.9335 28.5909C9.99849 29.4855 9.259 30.6624 8.73508 32.0968C7.87025 34.4596 8.65612 36.7083 10.7856 37.968C11.5934 38.4669 12.5142 38.7371 13.4553 38.7513C14.4655 38.7513 15.477 38.4147 16.4634 37.7518C18.1981 36.5867 18.9276 34.8298 18.9514 32.9345C18.9514 32.6496 19.0328 32.5241 19.286 32.3985L19.464 32.3104C21.324 31.1129 22.2578 30.6274 24.1654 29.615C24.6668 29.3457 26.1834 28.657 26.5469 28.2595C26.9103 27.8621 27.2036 27.8646 26.9304 27.3714C26.706 26.9597 26.0681 26.2489 25.6532 26.2489Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M11.218 33.6659C11.3107 32.5939 11.7193 31.5233 12.7647 30.8009C13.7298 30.1328 14.8791 30.3115 15.6211 31.2346C16.971 32.9176 16.3593 35.3541 14.3878 36.1542C12.796 36.808 11.2318 35.6558 11.218 33.6659Z",fill:"white"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_4432_5264",children:(0,J.jsx)("rect",{width:"28.75",height:"36.25",fill:"white",transform:"translate(5 2.5)"})})})]})},{label:"Auto Apply",value:"auto_apply",position:4,icon:({selected:e})=>(0,J.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_4432_5268)",children:[(0,J.jsx)("path",{d:"M3.84758 23.5511C3.07909 15.0345 6.86564 6.47795 14.6499 4.30912C23.7927 1.75881 34.2612 8.21728 35.4848 17.8983C36.6293 26.9404 29.3151 35.6837 19.863 36.0039C12.8936 36.24 4.52068 31.0206 3.84758 23.5511Z",fill:"white"}),(0,J.jsx)("path",{d:"M20.5328 29.2499C19.6028 29.2499 18.1075 29.2144 17.0759 28.9865C14.7076 28.4651 11.6669 26.4521 10.6976 23.7525C9.86218 21.4999 9.76153 19.038 10.4102 16.7239C10.9728 14.7545 12.0763 13.0212 13.4604 11.999C15.788 10.2794 17.6249 9.95182 19.0755 9.95182C19.2292 9.9509 19.3826 9.96507 19.5337 9.99413C20.2115 10.
52241306 20.6033 10.4199 20.7293 10.8717C20.7998 11.1627 20.7586 11.4697 20.6141 11.7315C20.5422 11.8537 20.4459 11.9596 20.3314 12.0425C20.2168 12.1254 20.0865 12.1836 19.9485 12.2133C19.9146 12.2228 19.8604 12.2337 19.7858 12.2501C17.6588 12.7005 16.1947 12.7373 14.6764 14.5348C13.5038 15.9227 12.6158 18.4667 12.9656 20.7677C13.215 22.4055 13.8169 24.1469 15.2458 25.1569C16.413 25.9826 19.0497 27.013 22.8374 25.7028C27.1754 24.2015 26.6332 20.1072 26.6332 17.9235C26.638 17.6442 26.7156 17.3711 26.8584 17.1315C27.0012 16.892 27.204 16.6944 27.4466 16.5587C27.7177 16.4223 28.26 16.5587 28.5311 16.8317C29.0557 17.3599 29.415 18.5472 29.3445 19.8342C29.1398 23.5942 27.9888 28.158 20.5328 29.2499Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M22.5106 15.4479C21.9087 15.3428 21.62 14.7846 21.7474 14.0667C21.8423 13.5522 22.9838 10.9045 23.4447 10.1088C23.5179 9.98054 23.5925 9.85361 23.667 9.72532L23.8459 9.41688C23.9984 9.14383 24.1644 8.87873 24.3435 8.62258C24.5346 8.40148 24.7285 8.27456 24.9196 8.28957C25.9553 8.36736 25.8157 9.12209 25.6842 9.59567C25.5771 9.97917 24.8708 11.7793 24.8708 11.7793C26.5749 10.1716 29.1329 7.55668 30.8885 5.87937L30.9089 5.86026L30.9251 5.83706C31.0054 5.72012 31.0633 5.58914 31.0959 5.45082C31.0959 5.45082 32.2238 2.73491 32.5017 1.93378C32.5885 1.68675 32.8379 1.36876 33.0874 1.2896C33.1831 1.26255 33.2821 1.24878 33.3815 1.24866C33.4697 1.24883 33.5575 1.25937 33.6432 1.28005C33.7672 1.30621 33.8862 1.35229 33.9957 1.41652C34.443 1.68948 34.3576 2.24631 34.2668 2.5493C34.1638 2.89868 34.0417 3.24943 33.9252 3.5879L33.8818 3.71482C33.8126 3.91408 33.7462 4.10515 33.6825 4.29758L33.5144 4.79982L34.1299 4.61148C34.5881 4.475 35.0192 4.33853 35.4503 4.20205H35.4719C35.7214 4.12698 36.025 4.03418 36.3206 3.9673C36.4258 3.94154 36.5336 3.92826 36.6419 3.92773C36.7284 3.92743 36.8147 3.93612 36.8994 3.95366C37.0325 3.97999 37.1555 4.04335 37.2546 4.13654C37.3554 4.23227 37.4281 4.35409 37.4647 4.48865C37.6003 4.95541 37.3183 5.56001 36.8005 5.77018C36.6188 5.84525 34.4159 6.61635 33.6825 6.86201C33.2758 6.99849 32.2428 7.91153 31.5623 8.6062C30.5903 9.59703 29.5288 10.5101 28.5053 11.3931L28.4118 11.4736C28.039 11.7957 27.6526 12.1287 27.2771 12.4617L26.4976 13.0076C26.4976 13.0076 28.2843 12.7347 28.531 12.7347C29.217 12.7347 29.4353 13.4171 29.48 13.69C29.6156 14.5089 28.531 14.6454 27.8532 14.7818C27.2676 14.9006 23.3796 15.6021 22.5106 15.4479Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M19.535 22.5392C19.3984 22.5395 19.2621 22.5258 19.1283 22.4983C18.0438 22.2676 17.2467 21.6971 16.8359 20.8455C16.3831 19.9079 16.4102 18.6523 16.9051 17.6437C17.4473 16.5328 18.605 15.6962 19.5892 15.6962C19.7063 15.6955 19.8231 15.7074 19.9376 15.7317C21.0411 15.9637 21.8979 16.5205 22.4184 
522417.3408C22.6487 17.7075 22.8044 18.1167 22.8763 18.5445C22.9482 18.9723 22.935 19.4102 22.8374 19.8329C22.5188 21.2208 20.9137 22.5338 19.5363 22.5338L19.535 22.5392Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M36.3938 25.1692C35.3716 29.6826 31.7277 33.9038 28.0959 35.6903C23.9002 37.7621 16.9376 38.48 11.3415 35.5334C9.16707 34.4017 7.28113 32.7805 5.83023 30.7958C4.37933 28.8111 3.40256 26.5162 2.97582 24.0897C1.83708 17.6834 2.7047 12.1192 6.27004 7.91155C10.5715 2.83319 16.1093 1.46158 20.8188 1.71816C23.2332 1.85464 25.4429 2.37053 27.6607 3.62886C27.985 3.81803 28.2231 4.12713 28.3243 4.49036C28.4256 4.85359 28.3821 5.24227 28.203 5.57367C28.1191 5.73735 28.0034 5.88239 27.8628 6.00017C27.7221 6.11794 27.5594 6.20606 27.3842 6.25927C27.2091 6.31249 27.0251 6.32972 26.8432 6.30994C26.6613 6.29017 26.4852 6.23379 26.3254 6.14415C24.4641 5.09327 22.8265 4.72205 20.8283 4.61287C16.9186 4.39996 12.4735 5.4563 8.8078 9.78403C5.78336 13.3529 4.58903 17.491 5.58272 23.0797C6.34459 27.372 8.79696 30.8849 12.3081 32.7342C18.6525 36.0738 24.5089 34.1741 26.93 32.9758C30.6892 31.1197 32.9694 26.7592 33.7733 24.177C35.2252 19.5122 34.767 16.0115 32.4624 12.3266C32.0476 11.6633 32.2591 10.4091 32.926 10.0201C33.593 9.63117 34.3766 9.91095 34.8036 10.566C37.4105 14.5649 37.7494 19.1505 36.3938 25.1692Z",fill:e?te.Jy.Blue50:"#9FA6BB"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_4432_5268",children:(0,J.jsx)("rect",{width:"35",height:"36.25",fill:"white",transform:"translate(2.5 1.25)"})})})]})},{label:"Personal job alerts",value:"personal_job_alerts",position:5,icon:({selected:e})=>(0,J.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_4478_2245)",children:[(0,J.jsx)("path",{d:"M27.5537 11.326C22.0075 10.0003 19.3431 11.032 17.9345 12.2367C16.29 13.643 16.6603 14.5393 15.0356 16.5298C12.4542 19.6923 8.32323 18.273 7.12939 20.6928C6.66557 21.632 6.79206 22.6585 6.99763 23.4247L12.0049 27.4576C10.3433 29.8657 10.5554 32.8812 12.1366 34.4827C14.1488 36.5148 18.0795 35.8422 20.4381 32.6614C21.9311 33.4849 23.8207 34.83 25.3136 35.6535C26.3809 35.4831 27.7711 35.0746 28.4761 33.9623C29.6554 32.1007 27.5932 30.3496 27.8172 27.1974C28.1032 23.1867 31.7018 22.3749 32.0339 18.4812C32.1656 16.8927 31.7479 14.94 30.0573 12.6269C32.271 10.8238 33.0485 8.93228 33.3516 7.94357C33.6415 6.99779 34.125 5.42365 33.3516 4.69122C32.5504 3.93278 30.7886 4.44535 29.7938 5.08151C27.1228 6.79094 27.5168 10.9826 27.5537 11.326Z",fill:"white"}),(0,J.jsx)("path",{d:"M26.0119 37C25.1127 36.9931 24.2414 36.6915 23.5346 36.1427L12.5332 29.1488L12.4185 29.3505C12.1879 29.7525 11.873 30.3041 11.873 30.8999C11.8715 31.3988 11.9822 31.8918 12.1971 32.3433C12.412 32.7948 12.7257 33.1936 13.1156 33.5109C13.6572 33.9415 14.4636 34.1692 15.4453 34.1692C15.9944 34.1678 16.5418 34.1081 17.0779 33.9909C17.1645 33.9721 17.2528 33.9625 17.3414 33.9623C17.6498 33.9633 17.9468 34.0767 18.1758 34.2806C18.4047 34.4845 18.5493 34.7646 18.582 35.0673C18.6146 35.37 18.533 35.6739 18.3527 35.9209C18.1724 36.1678 17.9062 36.3404 17.605 36.4055C17.0019 36.5381 16.386 36.6061 15.7681 36.6084C14.2435 36.6084 12.8692 36.1596 11.8045 35.3075C10.4459 34.2225 9.36938 32.4012 9.36938 30.6449C9.36938 29.5118 9.6013 28.6064 10.0994 27.7959L10.1666 27.6879L6.49417 25.3176L6.41511 25.246C5.13299 24.0869 4.55188 21.7127 5.39653 20.3181C6.21086 18.9742 8.26911 18.6802 8.26911 18.6802C10.0216 18.221 11.533 17.4404 12.7611 16.3814C13.9616 15.3407 14.4491 14.4222 14.9656 13.4491C15.0328 13.319 15.0974 13.1889 15.1699 13.0588C15.763 11.9117 16.6205 10.9181 17.6735 10.1578C19.0465 9.15864 22.549 8.07626 25.5402 9.27442C25.6944 9.32623 25.852 9.36752 26.0119 9.39801L26.1647 9.43704L26.1766 9.28223C26.1896 9.11433 26.2376 8.95091 26.3176 8.80218L27.8738 5.32738C28.2568 4.44698 28.9475 3.73179 29.82 3.31222C30.2221 3.11584 30.6629 3.00924 31.1114 3C31.8335 3 32.8955 3.40589 33.4753 3.80138C33.8683 4.07353 34.2016 4.42121 34.4552 4.82359C34.7088 5.22597 34.8775 5.67476 34.9511 6.14306C35.2779 8.15171 33.8258 10.055 33.6585 10.2657C33.5768 10.3698 33.4845 10.4869 33.254 10.8043C33.0958 11.0284 32.8661 11.1937 32.6017 11.274C32.4172 11.3294 32.2223 11.3422 32.032 11.3116C31.8417 11.2809 31.6611 11.2075 31.5041 11.097C31.2343 10.9066 31.0522 10.6182 30.9976 10.2953C30.943 9.97235 31.0204 9.64122 31.2128 9.37459C31.4764 9.00643 31.595 8.86072 31.6872 8.74364C31.8058 8.59403 32.7414 7.35554 32.7809 7.3022L32.7888 7.29309V7.28138C33.1841 6.4657 32.6781 5.82824 32.3131 5.57846C32.1434 5.46578 31.9431 5.40637 31.7386 5.40803C31.4345 5.40971 31.1424 5.52551 30.9216 5.73197L30.9071 5.74628L28.5353 9.94961C28.4932 10.0279 28.4429 10.1016 28.3851 10.1695L28.2783 10.2852L28.4101 10.3646L28.4483 10.3854C31.8743 12.3707 33.7494 15.4396 33.4806 18.5956C33.3185 20.5054 32.2881 22.2838 31.4513 23.439C30.7596 24.3952 30.044 25.3839 29.5394 27.0296C28.9569 28.9316 28.8805 31.0092 29.3075 33.2026L29.3206 33.2728V33.3444C29.3523 33.7568 29.3681 35.1826 28.252 36.1752C27.6312 36.7137 26.8302 37.0057 26.004 36.9948L26.0119 37ZM25.0487 34.1744C25.3164 34.3967 25.6529 34.5224 26.0027 34.5308C26.2125 34.5397 26.4186 34.4741 26.5838 34.3461C26.821 34.134 26.8368 33.7229 26.8355 33.6019V33.5902V33.5785C26.3505 31.0235 26.456 28.5803 27.1491 26.3193C27.7723 24.2833 28.6855 23.0214 29.4195 22.0067C30.1811 20.9542 30.6844 20.2595 30.7885 19.0275C30.9967 16.5909 29.4814 13.8537 27.1846 12.5229C26.0588 11.8771 24.7787 11.5398 23.4766 11.5459C21.8954 11.5459 20.3392 12.0181 19.2073 12.8468C18.3113 13.4973 17.9502 14.179 17.4495 15.1208C16.9066 16.146 16.2293 17.4222 14.6823 18.7635C13.2329 20.0137 11.9152 20.348 9.90569 20.8528L9.46953 20.9633L8.93586 21.1637H8.92795C8.13734 21.6125 8.03983 21.7361 7.82241 22.0965C7.63661 22.4035 7.65242 22.9408 8.03851 23.3493L8.05037 23.361L24.9946 34.1314L25.0487 34.1744Z",fill:e?te.Jy.Blue50:"#9FA6BB"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_4478_2245",children:(0,J.jsx)("rect",{width:"30",height:"34",fill:"white",transform:"translate(5 3)"})})})]})},{label:"Salary analyzer",value:"salary_analyzer",position:6,icon:({selected:e})=>(0,J.jsxs)("svg",{width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_4478_2270)",children:[(0,J.jsx)("path",{d:"M16.2191 13.2185L12.475 7.6204C12.47
52245 7.36002 12.5356 5.87327 13.6369 5.01662C14.8931 4.04021 17.0402 4.25111 18.543 5.79776C19.5899 5.36501 20.6692 5.01675 21.7707 4.75625C24.5117 4.1053 27.3598 3.43483 28.7425 4.88643C29.827 6.02559 29.5081 7.94327 29.388 8.66191C28.9155 11.5026 26.6484 13.0337 26.1604 13.3487L33.9068 26.628C33.77 27.3492 32.5693 33.1752 27.0641 36.0016C22.7067 38.2382 17.3475 37.7266 13.2496 34.6997C9.8218 34.3729 6.94658 32.079 6.01959 28.9714C4.90022 25.2193 6.80972 20.9205 10.6675 19.077L16.2191 13.2185Z",fill:"white"}),(0,J.jsx)("path",{d:"M32.7319 20.9452C32.5434 20.6341 32.3536 20.319 32.1651 20.0027C31.6151 19.0744 30.3318 17.4353 29.5313 16.2636C29.1531 15.7103 28.2235 15.7051 27.7716 15.9251C27.0396 16.2832 26.8834 17.2752 27.3843 17.9261C28.1783 18.9676 29.3441 20.5625 29.8438 21.4061C30.0357 21.7307 30.229 22.0523 30.4235 22.3708C32.475 25.7557 33.6512 27.9689 32.0399 30.6768C30.5952 33.1036 27.4811 34.688 23.2696 35.1397C17.6341 35.7451 11.4498 34.1177 8.88706 31.3564C7.60503 29.9764 7.30421 27.2698 8.21829 25.3261C10.7307 19.9766 14.4374 16.5201 16.4282 14.6636L16.6761 14.4332C16.8409 14.2834 16.9676 14.0959 17.0454 13.8864C17.1315 13.6494 17.151 13.3931 17.1018 13.1457C17.0526 12.8983 16.9366 12.6694 16.7665 12.4842C16.2694 11.8619 13.9132 8.33121 13.6847 7.51623C13.5956 6.98636 13.6447 6.07634 14.9112 5.78081C15.4651 5.65062 15.8563 5.79383 16.6206 6.10238C17.5011 6.45779 18.5959 6.89913 20.2111 6.76113C21.2181 6.67391 22.1477 6.44738 23.0398 6.22866C24.1876 5.94745 25.2734 5.68187 26.2675 5.80554C27.3533 5.93573 27.8762 6.27423 27.964 6.42655C28.0736 6.62787 28.1425 6.84912 28.1667 7.07749C28.2405 7.73488 28.0642 8.39601 27.6735 8.92748C27.2862 9.46125 26.6406 10.064 26.2352 10.5574C25.6491 11.2657 24.3528 12.4374 24.3554 13.1925C24.3554 14.0582 25.5897 15.0359 26.3321 14.5998C26.4896 14.5061 26.6368 14.4214 26.7504 14.3564C27.4785 13.9424 29.7108 11.043 30.2918 10.094C30.9373 9.05246 31.3608 7.23762 30.6262 5.5712C30.195 4.59479 29.206 3.37101 26.9802 3.09761C25.4967 2.91144 23.7293 3.24994 22.3943 3.57671C21.5615 3.7798 20.7753 3.96728 19.9761 4.04148C19.0026 4.12611 18.3623 3.86703 17.6225 3.5689C16.7678 3.2239 15.7026 2.78776 14.2954 3.12235C11.5583 3.76028 10.6804 6.10758 11.0135 8.01876C11.0651 8.30908 11.1852 8.98867 12.9307 11.6979C13.0198 11.8281 13.491 12.5637 13.9636 13.2445C11.8346 15.2495 7.84904 18.4951 5.37405 23.7638C3.97969 26.7321 4.23403 30.6742 6.2778 32.877C8.98906 35.7998 15.2095 38 20.8773 38C21.7704 38.0001 22.6629 37.9531 23.5511 37.8594C28.6289 37.3139 32.4673 35.2634 34.3587 32.0829C36.8956 27.8192 34.684 24.1674 32.7319 20.9452Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M20.7921 29.4271C19.0517 29.4271 17.0777 28.8555 15.8318 27.5393C15.3153 26.9925 15.1604 25.7167 15.7027 25.1959C16.2449 24.6752 17.3927 24.9473 17.9104 25.4941C19.0298 26.6775 21.058 27.1683 22.0289 26.628C22.4369 26.4002 22.5454 25.8469 22.5893 25.5865C22.6237 25.4093 22.6195 25.2267 22.5769 25.0513C22.5344 24.876 22.4544 24.7121 22.3427 24.571C21.9773 24.1453 21.1355 24.0086 20.2459 23.8641C18.9768 23.6571 17.5347 23.4241 16.649 22.1873C16.3817 21.8068 16.1955 21.3746 16.1021 20.9179C16.0088 20.4613 16.0104 19.99 16.1068 19.534C16.2148 19.0215 16.4269 18.5371 16.7298 18.1114C17.0327 17.6857 17.4197 17.3278 17.8665 17.0604C19.9051 15.8249 22.9404 16.3144 24.4949 18.128C24.7299 18.4023 24.8473 18.7595 24.8212 19.1211C24.795 19.4827 24.6275 19.819 24.3554 20.0561C24.0834 20.2931 23.7291 20.4115 23.3705 20.3851C23.0119 20.3587 22.6784 20.1898 22.4434 19.9155C21.7023 19.051 19.816 18.7815 19.0039 19.2736C18.8787 19.3465 18.7697 19.4447 18.6839 19.5621C18.5981 19.6795 18.5374 19.8136 18.5056 19.9558C18.484 20.0406 18.48 20.129 18.4937 20.2155C18.5075 20.3019 18.5388 20.3846 18.5856 20.4583C18.818 20.7812 19.9258 21.0494 20.6772 21.1705C21.8817 21.3671 23.3807 21.6092 24.3916 22.7861C25.143 23.6597 25.7227 24.9316 25.5148 26.1151C25.307 27.2985 24.3412 28.2515 23.3084 28.8269C22.5329 29.237 21.6675 29.4434 20.7921 29.4271Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M20.4835 18.0564C20.124 18.0564 19.7792 17.9123 19.5249 17.656C19.2707 17.3996 19.1279 17.0519 19.1279 16.6894V15.0412C19.1279 14.6786 19.2707 14.3309 19.5249 14.0746C19.7792 13.8182 20.124 13.6742 20.4835 13.6742C20.843 13.6742 21.1878 13.8182 21.4421 14.0746C21.6963 14.3309 21.8391 14.6786 21.8391 15.0412L21.6416 16.7336C21.6416 17.4887 21.231 18.0564 20.4835 18.0564Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M20.7676 32.2262C20.0187 32.2262 19.5759 31.6794 19.5759 30.9243L19.4119 29.211C19.4119 28.8484 19.5548 28.5007 19.809 28.2444C20.0632 27.988 20.408 27.844 20.7676 27.844C21.1271 27.844 21.4719 27.988 21.7261 28.2444C21.9804 28.5007 22.1232 28.8484 22.1232 29.211L21.8998 30.9243C21.8998 31.6794 21.5164 32.2262 20.7676 32.2262Z",fill:e?te.Jy.Blue50:"#9FA6BB"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_4478_2270",children:(0,J.jsx)("rect",{width:"31",height:"35",fill:"white",transform:"translate(4.5 3)"})})})]})},{label:"AI interview prep",value:"ai_interview_prep.svg",position:7,icon:({selected:e})=>(0,J.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_4432_5281)",children:[(0,J.jsx)("path",{d:"M23.3093 10.8291C21.9249 7.20904 16.9799 5.14559 12.829 5.55004C6.56445 6.16046 2.1688 12.397 2.4834 17.9794C2.67565 21.3436 4.5358 23.7765 5.50207 24.8625C5.13587 27.0912 4.7705 29.319 4.40596 31.5459L12.1461 25.5316C21.0759 22.8877 25.0796 15.4691 23.3093 10.8291Z",fill:"white"}),(0,J.jsx)("path",{d:"M32.3516 30.7682C31.7798 30.4674 31.2168 30.144 30.63 29.8707C29.7503 29.4612 28.8623 29.0747 27.9659 28.711C27.4591 28.5025 26.1058 29.3514 23.9423 29.4887C22.4817 29.6597 21.0223 29.8357 19.5629 29.4799C17.9076 29.0952 16.3517 28.3666 14.9962 27.3416C13.4694 26.1719 12.7491 24.5217 12.4732 22.6717C12.2048 20.9441 12.6767 19.3138 13.3546 17.7571C14.5543 15.0009 16.3645 12.7177 18.9475 11.1549C22.7888 8.83428 26.9148 9.21002 30.5039 11.9039C32.1731 13.1522 33.6449 14.9247 33.9733 16.9482C33.8572 18.0018 32.9458 22.0388 32.9745 24.1884C33.0307 28.5787 34.223 31.7706 34.6512 32.3698C34.6275 32.3935 32.3741 30.742 32.3516 30.7682Z",fill:"white"}),(0,J.jsx)("path",{d:"M24.5355 9.23624C24.2347 8.56715 23.7865 8.03412 23.1735 7.22897C22.0038 5.70853 19.5269 3.81611 15.0589 3.7512C12.5209 3.71375 9.29374 4.65996 7.30752 5.99814C5.1328 7.40373 3.34506 10.0514 2.60725 11.5443C1.71714 13.3419 0.991834 16.1868 1.34888 18.6959C1.69344 21.1226 2.33887 22.8053 4.16154 24.5929C4.24394 24.674 4.17151 25.1658 4.1403 25.2844C3.787 26.6263 3.38502 27.9595 3.05919 29.3064C2.89815 29.9618 2.69091 30.7008 2.6185 31.3674C2.47368 32.6819 4.07413 33.4471 5.44738 32.748C5.59594 32.6719 8.70698 30.2115 10.0765 28.9844C10.7207 28.4851 10.4235 27.7049 10.1551 27.394C9.88671 27.0832 9.10021 27.1244 8.65703 27.4165C8.05779 27.8097 7.4798 28.2292 6.90304 28.6486C6.60217 28.8695 5.77073 29.6472 5.43366 29.9381C5.45239 29.8133 5.45489 29.7571 5.46737 29.7071C5.76324 28.5774 6.61089 26.8997 6.91176 25.7663C7.06032 25.207 7.07405 24.6603 6.75446 24.1435C6.43486 23.6267 6.10778 23.1611 5.81815 22.6542C5.44363 21.9951 5.03417 21.341 4.74954 20.647C3.8
52246941 18.4749 3.92559 16.2554 4.49986 14.031C4.90785 12.4942 5.73973 11.1031 6.90054 10.0164C8.13747 8.82259 9.5988 7.88579 11.2 7.26017C13.0602 6.52867 14.9927 6.22408 17.0176 6.60981C19.1125 7.01051 20.3484 7.73328 21.5119 9.41724C21.5793 9.51211 21.7616 9.94028 21.844 10.0614C21.8202 10.0689 21.623 10.1313 21.3084 10.2399L24.9487 9.86538C24.788 9.67168 24.6495 9.46066 24.5355 9.23624Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M37.3751 33.0713C37.093 32.3885 36.8196 31.6907 36.4388 31.0628C35.5937 29.661 34.6911 28.2879 33.7972 26.9235C33.6187 26.6526 33.6137 26.4504 33.771 26.1882C34.1181 25.6077 34.4564 25.0235 34.7772 24.4318C36.7972 20.6545 36.8995 16.9033 34.6524 13.3457C31.6562 8.37244 26.6788 7.6996 23.5852 7.8082C22.9136 7.81819 20.9636 8.15648 20.9636 8.15648C19.5804 8.53097 17.4031 9.61575 15.7203 10.9452C13.4569 12.734 12.0475 14.1696 10.7916 18.8332C10.1861 21.6619 10.8303 25.4592 12.6529 27.7149C14.5867 30.1104 16.5068 31.1614 19.2982 31.692C20.689 31.868 22.8911 31.9004 24.2756 31.6408C24.8187 31.5372 26.9996 30.732 27.5777 30.9642C27.7287 31.0516 31.6799 32.9216 33.0407 33.5994C33.9071 34.0288 34.7885 34.4382 35.6623 34.8602C36.4913 35.2596 37.4451 34.7578 37.505 33.8703C37.523 33.597
52245 37.4786 33.3243 37.3751 33.0713ZM30.5938 29.676C29.7224 29.279 28.8423 28.9024 27.9534 28.5462C27.4541 28.3428 24.8087 29.1704 23.9398 29.2528C22.4829 29.4038 18.121 29.2715 15.7078 27.1819C14.2784 25.9435 13.6417 23.8851 13.3795 22.1187C13.1462 20.3691 13.4003 18.5891 14.1136 16.9745C15.3333 14.3531 16.5467 13.1834 19.1347 11.7154C22.9798 9.53585 27.0858 9.93157 30.635 12.5318C32.2841 13.7389 33.0245 15.4441 33.3403 17.3777C33.7773 21.7467 31.5414 23.6591 31.0932 24.3482C30.469 25.5965 34.2042 31.4011 34.1817 31.4273C33.6087 31.134 31.1855 29.9419 30.6013 29.6797L30.5938 29.676Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M23.4729 28.0581C23.011 28.0581 22.6252 27.5351 22.5491 27.2505C22.3506 26.5015 22.0884 25.9335 21.9723 25.1733C21.7226 23.5305 20.9661 22.9426 19.7889 21.7854C19.2196 21.2249 17.9337 20.7868 17.5105 20.6058C17.1073 20.4297 16.7877 20.2113 16.7615 19.7469C16.734 19.3075 16.9774 18.9905 17.3432 18.7932C17.6306 18.6486 17.9306 18.5308 18.2396 18.4412C18.917 18.241 19.5467 17.9054 20.0907 17.4549C20.6346 17.0043 21.0815 16.448 21.4043 15.8198C21.9586 14.7737 22.4455 13.6977 22.6302 12.5168C22.6444 12.4463 22.6653 12.3773 22.6927 12.3108C22.8824 11.7915 23.2744 11.4882 23.7501 11.4882C24.2257 11.4882 24.6139 11.8065 24.7712 12.3432C24.9285 12.88 25.0409 13.4305 25.1907 13.966C25.5715 15.3392 26.3854 16.4289 27.4578 17.3252C28.1106 17.8558 28.9008 18.19 29.7362 18.2889C29.9379 18.3141 30.1302 18.3888 30.296 18.5065C30.4617 18.6241 30.5958 18.7809 30.6862 18.963C30.9696 19.4723 30.7449 20.3249 29.821 20.5558C28.8972 20.7868 28.2843 21.2499 27.5127 21.8253C25.7425 23.1436 25.1408 24.1547 24.7812 26.2593C24.7513 26.4366 24.7263 26.6126 24.6988 26.7898C24.584 27.5501 24.2856 28.0494 23.4729 28.0581ZM23.5878 23.7889C24.212 21.8291 25.5191 20.7843 27.0296 19.536C26.358 19.1727 25.5503 18.7121 25.0883 18.2502C24.6988 17.8595 24.1658 17.0968 23.8087 16.4514C23.4517 17.1679 22.9948 17.8458 22.3244 18.3538C21.654 18.8619 21.1896 19.29 20.242 19.7507C22.061 20.6095 23.0422 21.914 23.5878 23.7889Z",fill:e?te.Jy.Blue50:"#9FA6BB"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_4432_5281",children:(0,J.jsx)("rect",{width:"36.25",height:"31.25",fill:"white",transform:"translate(1.25 3.75)"})})})]})},{label:"1-1 coaching",value:"1_1_coaching",position:8,icon:({selected:e})=>(0,J.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_4432_5285)",children:[(0,J.jsx)("path",{d:"M12.3714 34.4035C9.79707 34.3623 7.22401 34.3273 4.65095 34.2785C3.74528 34.2622 3.66652 34.2072 3.59392 33.3184C3.39088 30.7531 3.84741 28.3091 5.09641 26.06C5.88764 24.6386 7.17479 23.7348 8.58868 23.0422C10.3004 22.2059 12.1043 21.7471 14.0227 21.9921C15.0724 22.1258 16.063 22.4559 16.9207 23.1172C17.7353 23.7423 18.2743 24.5849 18.6508 25.525C19.3141 27.2044 19.8089 28.9477 20.1274 30.7281C20.3317 31.8095 20.4462 32.9096 20.6061 33.9997C20.6418 34.2497 20.5667 34.3748 20.2936 34.3685C18.2152 34.3685 16.1368 34.3685 14.0572 34.3685C13.4961 34.3685 12.9349 34.3685 12.3738 34.3685L12.3714 34.4035Z",fill:"white"}),(0,J.jsx)("path",{d:"M18.4773 24.6587C18.4269 24.0998 18.166 20.5107 20.8153 17.6841C21.139 17.3391 24.1021 14.2875 28.1284 15.0751C32.5153 15.9327 34.0781 20.5494 34.2688 21.1433C34.793 22.7809 35.3763 24.3824 35.2889 25.7563C35.177 27.5715 35.2668 28.6991 35.0428 28.8816C34.2553 29.523 31.7573 29.0254 30.859 29.0254C28.9 29.1204 27.4282 29.0092 25.3326 29.0254C23.4351 29.0404 21.593 29.0217 19.8063 28.9692",fill:"white"}),(0,J.jsx)("path",{d:"M22.276 33.8822C22.276 33.8822 22.1456 30.7856 22.1284 30.7856C22.1187 30.7503 22.1113 30.7144 22.1062 30.6781C21.9802 28.8684 21.521 27.0989 20.7526 25.4613C19.9035 23.621 18.5598 21.6308 15.1758 20.767C13.4531 20.3244 11.5974 20.3307 9.83035 20.6107C9.76636 20.6207 9.70729 20.6269 9.63592 20.6307C9.13754 20.7937 8.64793 20.9831 8.16912 21.1983C6.19287 22.1309 4.64239 23.5235 3.75887 25.5888C3.19036 26.9189 2.34867 32.3921 2.52833 33.821C2.58729 34.3238 2.81011 34.7921 3.16131 35.1514C3.51252 35.5107 3.97193 35.7403 4.46643 35.8037C5.66989 35.9875 7.62276 36.3038 8.84223 36.2262C9.12894 36.2087 9.41689 36.1975 9.7036 36.2C11.3033 36.215 12.9129 36.2588 14.5187 3
52246.2475C16.4199 36.235 18.3248 36.23 20.2235 36.1225C21.6337 36.0425 22.3154 35.4024 22.2785 33.9372L22.276 33.8822ZM19.4606 33.8935C17.707 33.8935 15.9523 33.8935 14.1975 33.8935H12.7763V33.9285C10.6044 33.8935 7.93901 33.7385 5.76219 33.6972C4.99925 33.6835 4.93034 33.6372 4.87004 32.8871C4.70392 30.7219 5.3315 27.909 6.39099 26.0063C7.05794 24.8062 8.14451 24.0423 9.34429 23.4585C10.7877 22.7522 12.4342 22.8647 14.0536 23.0722C14.9395 23.186 15.7763 23.4635 16.4986 24.0173C17.1865 24.5424 17.7612 25.6313 18.0823 26.4239C18.6412 27.8416 19.058 29.313 19.3264 30.8156C19.4987 31.7282 19.5959 32.6558 19.73 33.5772C19.7546 33.796 19.6919 33.8935 19.4606 33.8935Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M35.172 25.6312C33.9415 25.6312 33.8184 27.5064 33.8184 27.5064C33.8184 27.5064 27.3236 27.4627 26.637 27.4352C24.8727 27.3564 23.1052 27.3936 21.3457 27.5464C21.2947 27.5496 21.2435 27.5471 21.1931 27.5389L21.2915 30.6318C21.2915 30.493 21.2915 30.353 21.2915 30.2093C21.5905 30.2093 21.8576 30.2093 22.1246 30.2093C24.1021 30.193 26.0796 30.1855 28.0558 30.1517C28.3794 30.1455 32.8168 30.0655 34.7832 30.0267C35.3837 30.0142 36.0654 29.7354 36.1564 29.1316C36.3238 28.0215 36.4025 25.6312 35.172 25.6312Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M35.4182 19.7556C34.6171 16.5965 32.7996 14.925 29.6826 14.0875C29.6642 14.0875 28.206 13.8987 27.4898 13.8974H25.6649C24.6655 13.892 23.6795 14.1313 22.7904 14.595L22.7756 14.6025C21.4602 15.2988 20.3059 16.2014 19.4003 17.4128C19.0655 17.8616 18.5586 18.9693 18.6804 19.5231C18.7727 19.9431 18.9696 20.2907 19.3892 20.4332C19.8088 20.5757 20.1767 20.4032 20.4819 20.1106C20.8264 19.7819 21.5266 18.8117 21.8552 18.4667C22.7559 17.5191 24.8355 16.2552 27.2966 16.2552C30.9882 16.2552 32.0687 17.9066 32.6692 18.838C34.0646 21.0058 33.6893 23.9098 34.926 23.8811C35.6889 23.8636 36.1405 23.131 36.0335 22.2559C35.9104 21.2558 35.8267 21.3645 35.4182 19.7556Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M12.2902 20.1544C14.2869 20.1544 15.9055 18.3286 15.9055 16.0764C15.9055 13.8242 14.2869 11.9984 12.2902 11.9984C10.2935 11.9984 8.67485 13.8242 8.67485 16.0764C8.67485 18.3286 10.2935 20.1544 12.2902 20.1544Z",fill:"white"}),(0,J.jsx)("path",{d:"M26.968 13.3861C29.0157 13.3861 30.6757 11.5603 30.6757 9.30813C30.6757 7.05593 29.0157 5.23016 26.968 5.23016C24.9204 5.23016 23.2604 7.05593 23.2604 9.30813C23.2604 11.5603 24.9204 13.3861 26.968 13.3861Z",fill:"white"}),(0,J.jsx)("path",{d:"M12.0244 21.2645C8.83848 21.2558 6.59767 18.7967 6.59767 15.8489C6.59767 12.9011 9.42422 10.3795 12.0379 10.3795C14.6516 10.3795 17.3292 12.6823 17.3292 15.6301C17.3292 18.578 14.638 21.2645 12.0244 21.2645ZM12.1228 12.6673C10.6461 12.6673 9.04645 14.3025 9.04645 15.9739C9.04645 17.6454 10.1195 19.1705 11.9764 19.1705C13.453 19.1705 14.8066 17.3691 14.8066 15.6976C14.8066 14.0262 13.6044 12.6673 12.1228 12.6673Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M26.7896 14.82C23.4819 14.88 21.2669 12.4522 21.2669 9.50439C21.2669 6.55655 23.8806 3.85123 26.5583 3.75372C30.0038 3.62871 32.2187 6.30652 32.2187 9.25436C32.2187 12.2022 30.3729 14.88 26.7896 14.82ZM26.8893 6.22276C25.3708 6.22276 23.7329 7.85795 23.7329 9.52939C23.7329 11.2008 24.8404 12.726 26.7391 12.726C28.2589 12.726 29.6457 10.9258 29.6457 9.25436C29.6457 7.58291 28.409 6.22276 26.8893 6.22276Z",fill:e?te.Jy.Blue50:"#9FA6BB"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_4432_5285",children:(0,J.jsx)("rect",{width:"33.75",height:"32.5",fill:"white",transform:"translate(2.5 3.75)"})})})]})},{label:"Career pathways",value:"career_pathways",position:9,icon:({selected:e})=>(0,J.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsxs)("g",{clipPath:"url(#clip0_4478_2258)",children:[(0,J.jsx)("path",{d:"M5.98778 15.4691L21.2424 8.51825L29.0835 9.36938L25.2342 16.7458L19.1039 19.2992L26.6599 21.7107L33.2179 28.9453L25.947 30.9312L5.84521 25.1152C5.89274 21.8998 5.94026 18.6845 5.98778 15.4691Z",fill:"white"}),(0,J.jsx)("path",{d:"M34.655 28.1694L28.7485 21.0767C28.5766 20.871 28.3527 20.7148 28.0998 20.6242C26.7882 20.1589 25.1629 19.6553 23.3837 19.1375C23.3837 19.1375 18.4609 17.8126 17.4558 17.4934L16.7914 17.2948C14.2538 16.5997 11.6591 15.8905 9.39653 15.2195L13.8033 13.3257L21.432 10.0475L27.8033 10.8617L24.1835 15.611C24.0574 15.7887 23.9728 15.9921 23.9359 16.2065C23.8989 16.4208 23.9105 16.6407 23.9697 16.85C24.029 17.0593 24.1345 17.2528 24.2786 17.4164C24.4226 17.58 24.6015 17.7095 24.8022 17.7956L24.8379 17.8112C25.1482 17.9439 25.495 17.9662 25.8199 17.8742C26.1448 17.7822 26.4278 17.5816 26.6214 17.3062L31.6411 10.527C31.7838 10.3162 31.8699 10.0725 31.8912 9.81928C31.9125 9.56603 31.8683 9.31156 31.7628 9.08009C31.6574 8.84862 31.4942 8.64785 31.2887 8.49688C31.0832 8.34591 30.8424 8.24976 30.589 8.21758L21.4063 7.04444C21.1397 7.01117 20.869 7.04937 20.6222 7.15509L12.6171 10.5908C11.1344 11.2277 6.40835 13.1442 6.37128 13.1527C5.65845 13.3158 6.44684 8.78499 5.98778 9.22758C5.27495 9.90706 3.70672 8.53391 3.70672 9.51129L3.5499 17.3686C3.5499 17.8679 3.53564 18.3616 3.52851 18.8425C3.49572 20.9064 3.46436 22.8569 3.5499 25.0273V38.4609C3.54513 38.857 3.69592 39.2394 3.97017 39.5266C4.24442 39.8138 4.62048 39.9831 5.01833 39.9986C5.21717 40.0024 5.41478 39.9667 5.59961 39.8936C5.78444 39.8205 5.95278 39.7115 6.0948 39.573C6.23682 39.4345 6.34967 39.2692 6.42676 39.0868C6.50385 38.9043 6.54363 38.7085 6.54379 38.5106V27.1239C9.39511 28.0843 12.1566 28.7737 14.8468 29.4432C18.0874 30.2504 21.4363 31.0845 24.8365 32.3839C25.1151 32.4906 25.4195 32.5119 25.7104 32.4449L33.7982 30.5809C34.1973 30.4952 34.5462 30.2561 34.769 29.9156C34.9376 29.6498 35.0174 29.3377 34.9969 29.0241C34.9764 28.7104 34.8567 28.4112 34.655 28.1694ZM25.478 29.4461C22.0564 28.1694 18.766 27.3551 15.5739 26.5593C12.6898 25.8416 9.71873 25.1011 6.70346 24.0301C6.6949 22.8101 6.70346 21.5377 6.70346 20.2979C6.70346 19.3801 6.71201 18.4453 6.70346 17.5232C9.36232 18.3587 12.6827 19.268 15.9204 20.1546L18.2912 20.8057C18.3379 20.8218 18.3855 20.8351 18.4338 20.8454C21.536 21.6966 24.5271 22.5477 26.6941 23.3009L30.7886 28.219L25.478 29.4461Z",fill:e?te.Jy.Blue50:"#9FA6BB"}),(0,J.jsx)("path",{d:"M5.20367 8.80201C6.6603 8.80201 7.84114 7.62707 7.84114 6.17771C7.84114 4.72835 6.6603 3.55341 5.20367 3.55341C3.74703 3.55341 2.56619 4.72835 2.56619 6.17771C2.56619 7.62707 3.74703 8.80201 5.20367 8.80201Z",fill:"white"}),(0,J.jsx)("path",{d:"M2.56619 10.3626C3.27047 10.6973 4.23137 10.7881 4.95275 10.7881C8.41141 10.7881 10.1037 7.67725 9.96823 5.62746C9.88077 4.34251 9.29491 3.14165 8.33434 2.27841C7.37378 1.41518 6.11368 0.95711 4.82007 1.00092C3.52646 1.04474 2.30058 1.587 1.40123 2.51323C0.50188 3.43946 -0.000553084 4.67718 4.569e-07 5.96507C4.569e-07 7.95103 0.88106 9.55966 2.56619 10.3626ZM4.98982 3.97911C5.38457 3.97911 5.77047 4.09559 6.0987 4.31381C6.42692 4.53203 6.68275 4.84219 6.83381 5.20508C6.98488 5.56797 7.02441 5.96728 6.94739 6.35251C6.87038 6.73775 6.68029 7.09162 6.40115 7.36936C6.12202 7.6471 5.76638 7.83624 5.3792 7.91287C4.99203 7.9895 4.59072 7.95017 4.22601 7.79986C3.8613 7.64955 3.54958 7.395 3.33027 7.06841C3.11095 6.74
5224182 2.99389 6.35786 2.99389 5.96507C2.99389 5.43836 3.20417 4.93323 3.57848 4.56079C3.95279 4.18835 4.46046 3.97911 4.98982 3.97911Z",fill:e?te.Jy.Blue50:"#9FA6BB"})]}),(0,J.jsx)("defs",{children:(0,J.jsx)("clipPath",{id:"clip0_4478_2258",children:(0,J.jsx)("rect",{width:"35",height:"39",fill:"white",transform:"translate(0 1)"})})})]})}],evX=({selected:e,setSelected:t,icon:i,category:r})=>{let[n,o]=(0,R.useState)(e);return(0,J.jsxs)(evW,{selected:n,onClick:e=>{e.preventDefault();let i=!n;o(i),t(r,i)},children:[(0,J.jsx)(evK,{checked:n}),(0,J.jsx)(evG,{children:i({selected:n})}),(0,J.jsx)(evq,{children:r.label})]})},evQ=()=>{let[e,t]=(0,R.useState)([]),[i]=(0,i3.ok)(),r=i.getAll("documentId"),n=(i,r)=>{r?t([...e,i]):t(e.filter(e=>e.value!==i.value))},o=()=>{r&&0!==r.length?(0,dM.o)(`/resumes/${r}/edit`,{replace:!0}):(0,dM.o)("/")};return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(evz,{children:(0,J.jsxs)(evO,{children:[(0,J.jsx)(evD,{children:eso().t("builder.sign_up.users_feature_preferences")}),(0,J.jsx)(ev$,{children:eso().t("builder.sign_up.users_feature_preferences_subtitle")}),(0,J.jsx)(evU,{children:evZ.map((t,i)=>(0,J.jsx)(evX,{selected:void 0!==e.find(e=>e.value===t.value),setSelected:n,icon:t.icon,category:t},i))}),(0,J.jsxs)(evF,{children:[(0,J.jsx)(evH,{onClick:()=>{(0,N.xP)("skip_feature_selection",{label:"funnel"}),o()},children:"Skip"}),(0,J.jsx)(evV,{onClick:()=>{let t=e.map(e=>e.value);(0,N.xP)("click_continue_feature_selection",{label:"funnel",number_of_features:t.length,selected_features:t}),o()},children:"Continue"})]})]})})})},evY=()=>{let e=(0,L.zy)(),t=dF.parse(e.search).current_region_prefix||"";return(0,J.jsx)(J.Fragment,{children:(0,J.jsx)(e_t,{regionPrefix:t,handleSkipButton:()=>{},userCategoryPageSelection:!0,children:(0,J.jsx)(evQ,{})})})};var ev0=i(12796);let ev1="builder.interview_prep_view.job_title_async_autosuggest",ev2=({jobTitle:e,onChangeSuggestion:t,onChange:i,hasError:r,disabled:n,trackingParameter:o,placeholder:a})=>{let{i18n:l}=(0,e1.s)(),{mutateAsync:s}=(0,ev0.A)();return(0,J.jsx)(GD.wc,{highlightedQuery:!0,value:e,onChange:e=>{i(e)},onSuggestionSelected:(e,{suggestion:i})=>{t(i),(0,N.xP)("pick_up_title",{label:"interview_prep",term:i.text,parameter:o})},fetchItems:async t=>{let i=await s(t);return e!==t&&(0,N.xP)("typing_job_tile",{label:"interview_prep",term:t,parameter:o,jobTitlesLength:i.length}),i.map(e=>({text:e.standardTitle,id:e.id}))},children:({key:e,...t})=>(0,R.createElement)(re.A,{...t,key:e,error:r,name:"jobTitle",label:r?l.t(`${ev1}.error_message`):l.t(`${ev1}.label`),placeholder:a||l.t(`${ev1}.placeholder`),disabled:n})})},ev3=tt.Ay.div(["padding:20px;background-color:",";width:","px;border-radius:12px;",";"],te.Jy.White,({$width:e})=>e,tQ.A.Phone`
5225    max-width: none;
5226    height: 100%;
5227    padding: 20px;
5228    overflow-y: auto;
5229    -webkit-overflow-scrolling: touch;
5230  `),ev5=tt.Ay.div(["height:24px;width:24px;flex:0 0 auto;background-color:",";color:",";border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;&:hover{color:",";background-color:",";}"],te.Jy.Neutral10,te.Jy.Neutral50,te.Jy.Blue50,te.Jy.Blue10),ev4=tt.Ay.div(["display:flex;justify-content:space-between;"]);td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90;let ev6=(0,tt.Ay)(tP.Ay.Close)(["height:20px;width:20px;"]),ev8=({disableAnimation:e=!1,children:t,title:i,onClose:r,width:n,className:o})=>{let{isPhone:a}=(0,ih.e)(),l=(0,R.useRef)(null);return(0,oO.L)(l,r),(0,J.jsx)(i6.A,{overlayFadeDuration:e?void 0:350,contentSlideDuration:e?void 0:350,onClose:r,children:(0,J.jsxs)(ev3,{$width:n||a?343:544,className:o,ref:l,children:[(0,J.jsxs)(ev4,{children:[i??(0,J.jsx)("div",{}),(0,J.jsx)(ev5,{onClick:r,children:(0,J.jsx)(ev6,{})})]}),t]})})};te.Jy.White,te.Jy.Neutral50,te.Jy.White,te.Jy.Blue50,te.Jy.Blue10;let ev9=tt.Ay.div(["width:100%;height:280px;flex-shrink:0;display:flex;justify-content:center;align-items:center;background-color:",";position:relative;"],te.Jy.Neutral5),ev7=tt.Ay.img(["width:176.467px;height:176.467px;flex-shrink:0;"]),eje=tt.Ay.div(["position:absolute;width:57.23px;height:57.23px;background-color:#d1e9db;color:",";border-radius:50%;display:flex;justify-content:center;align-items:center;bottom:56px;margin-right:132px;"],te.Jy.Green90),ejt=tt.Ay.div(["padding:32px;"]),eji=tt.Ay.div(["padding-top:12px;",";",";color:",";"],td.Ay.S,td.BO.DemiBold,te.Jy.Neutral90),ejr=tt.Ay.div(["padding-top:8px;",";",";color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50),ejn=tt.Ay.div(["padding-top:24px;display:flex;justify-content:end;align-items:baseline;gap:8px;"]),ejo=(0,tt.Ay)(lh.E)(["display:inline-flex;align-items:center;"]);var eja=i.p+"media/person0f0346c4980773ca.png";let ejl="builder.interview_prep_view.premium_dialog",ejs=({onClose:e,trackingParameter:t})=>{let{i18n:i}=(0,e1.s)();return(0,J.jsxs)(ev8,{onClose:e,children:[(0,J.jsxs)(ev9,{children:[(0,J.jsx)(ev7,{src:eja}),(0,J.jsx)(eje,{children:(0,J.jsx)(tP.Ay.Play,{})})]}),(0,J.jsxs)(ejt,{children:[(0,J.jsxs)(ejo,{variant:"indigo",children:[(0,J.jsx)(tP.EK.Crown,{})," ",i.t(`${ejl}.available_premium`)]}),(0,J.jsx)(eji,{children:i.t(`${ejl}.title`)}),(0,J.jsx)(ejr,{children:i.t(`${ejl}.text`)}),(0,J.jsxs)(ejn,{children:[(0,J.jsx)(i$.Ay,{theme:i$.Ox.ghost,onClick:e,children:i.t(`${ejl}.close`)}),(0,J.jsx)(i$.Ay,{onClick:()=>{(0,ln.b)({referrerPage:"interviewPrep"}),(0,N.xP)("click_upgrade_paywall",{label:"interview_prep",parameter:t})},children:i.t(`${ejl}.upgrade_now`)})]})]})]})};var ejd=i(52486);let ejc=tt.Ay.div(["padding-top:20px;padding-bottom:20px;color:",";"],te.Jy.Neutral50),eju=({hints:e})=>{let[t,i]=(0,R.useState)(0);return(0,R.useEffect)(()=>{let t=setInterval(()=>{i(t=>(t||1)%e.length)},15e3);return()=>{clearInterval(t)}},[]),(0,J.jsx)(ejc,{children:e[t]})},ejp=tt.Ay.div(["width:100%;display:flex;justify-content:center;gap:8px;"]),ejh=tt.Ay.div(["border-radius:var(--2XS,8px);background:",";height:6px;width:16px;"],te.Jy.Blue50),ejx=tt.Ay.div(["border-radius:var(--2XS,8px);background:",";height:6px;width:6px;"],te.Jy.Neutral20),ejm=()=>(0,J.jsxs)(ejp,{children:[(0,J.jsx)(ejh,{}),(0,J.jsx)(ejx,{})]}),ejg=tt.Ay.div(["display:flex;justify-content:space-between;padding-bottom:4px;"]),ejy=tt.Ay.div(["",";",";color:",";margin-bottom:4px;"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50),ejf=({container:e,type:t,label:i,placeholder:r,value:n,onChange:o,disabled:a})=>(0,J.jsxs)(e,{children:[(0,J.jsx)(ejg,{children:(0,J.jsx)(ejy,{children:i})}),(0,J.jsx)(t,{placeholder:r,value:n,onChange:o,disabled:a})]}),ejb=tt.Ay.div(["display:flex;flex-direction:column;height:calc(100vh - 160px);overflow:hidden;max-width:1200px;width:100vw;padding:0 40px;margin:40px auto;",";"],tQ.A.Phone`
5231    margin: 0 20px;
5232  `),ej_=tt.Ay.div(["display:flex;justify-content:space-between;width:100%;margin-bottom:24px;",";"],tQ.A.Phone`
5233    flex-direction: column;
5234    gap: 15px;
5235  `),ejv=tt.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;
5235height:100%;"]),ejj=(0,tt.Ay)(tP.Ay.ChevronLeft)(["padding-left:3px;"]),ejA=tt.Ay.div(["",";",";display:inline-flex;padding:4px 16px 4px 8px;align-items:center;border-radius:20px;background:",";align-items:center;color:",";height:32px;",";& path{fill:currentColor;}",";"],td.Ay.Caption,td.BO.DemiBold,te.Jy.Neutral10,te.Jy.Neutral50,tQ.A.Hover`
5236    &:hover {
5237      cursor: pointer;
5238      background: ${te.Jy.Blue10};
5239      color: ${te.Jy.Blue50}
5240    }
5241  `,tQ.A.Phone`
5242    display: flex;
5243    padding: 16px 8px;
5244    height: 24px;
5245    width: 40px;
5246  `),ejC=tt.Ay.div(["",";",";color:",";max-width:416px;"],td.Ay.M,td.BO.Medium,te.Jy.Neutral90),ejw=tt.Ay.div(["display:flex;justify-content:center;width:416px;flex-direction:column;margin:0 auto;",";"],tQ.A.Phone`
5247    width: 100%;
5248  `);td.Ay.Caption,td.BO.Medium,te.Jy.Neutral50,td.Ay.Caps,td.BO.DemiBold,te.Jy.Neutral50,te.Jy.Neutral15;let ejk=tt.Ay.div(["margin-bottom:16px;"]),ejS=tt.Ay.div(["margin-top:16px;& textarea{height:120px;}"]),ejT=tt.Ay.div(["display:flex;flex-direction:row-reverse;justify-content:space-between;padding-top:36px;padding-bottom:40px;",";"],tQ.A.Phone`
5249  padding-bottom: 0px;
5250
5251  `),ejP=tt.Ay.div(["",";"],tQ.A.Phone`
5252    display: none;
5253  `),ejJ=tt.Ay.div(["display:none;",";"],tQ.A.Phone`
5254  display: flex;
5255    align-items: center;
5256
5257  `),ejE=tt.Ay.div(["width:50px;"]),ejR="builder.interview_prep_view.custom_interview",ejL={job_title:{value:"",error:!1,disabled:!1},company:{value:"",error:!1,disabled:!1},job_description:{value:"",error:!1,disabled:!1}},ejN=()=>{let{i18n:e}=(0,e1.s)(),{isPhone:t}=(0,ih.e)(),i=(0,L.Zp)(),r=(0,e4.J)(),n=!r?.hasPremiumFeatures,[o,a]=(0,R.useState)(!1),{mutateAsync:l,status:s}=(0,ejd.D)(),[d,c]=(0,R.useState)(ejL),u=(0,L.zy)().state,p="loading"===s;(0,R.useEffect)(()=>{u&&c({job_title:{value:u.jobTitle?.text||"",error:!1,id:u.jobTitle?.id,disabled:!!u.jobTitle},company:{value:u.company||"",error:!1,disabled:!!u.company},job_description:{value:u.description||"",error:!1,disabled:!1}})},[u]);let h=e=>t=>{c(i=>({...i,[e]:{value:t.target.value,error:!1}}))},x=async()=>0!==d.job_title.value.length&&d.job_title.id?n?a(!0):void(d.job_title.id&&(0,N.xP)("paste_title",{label:"interview_prep"}),d.company.value&&(0,N.xP)("paste_company",{label:"interview_prep",term:d.company.value}),d.job_description.value&&(0,N.xP)("paste_description",{label:"interview_prep"}),(0,N.xP)("start_interview",{label:"interview_prep",parameter:"custom"}),await l({jobTitleCode:d.job_title.id,company:d.company.value,jobDescription:d.job_description.value,kind:"custom"}),i("/interview-preparation/interview-player")):c(e=>({...e,job_title:{...e.job_title,error:!0}}));return(0,J.jsxs)(ejb,{children:[(0,J.jsxs)(ej_,{children:[(0,J.jsxs)(ejA,{onClick:()=>i("/interview-preparation/dashboard"),children:[(0,J.jsx)(ejj,{}),!t&&e.t(`${ejR}.back`)]}),(0,J.jsx)(ejC,{children:e.t(`${ejR}.title`)}),(0,J.jsx)(ejE,{})]}),(0,J.jsxs)(ejv,{children:[(0,J.jsxs)(ejw,{children:[(0,J.jsx)(ejk,{children:(0,J.jsx)(ev2,{jobTitle:d.job_title.value,onChange:h("job_title"),onChangeSuggestion:e=>{c(t=>({...t,job_title:{...t.job_title,value:e.text,id:e.id}}))},hasError:d.job_title.error,disabled:d.job_title.disabled,trackingParameter:"custom"})}),(0,J.jsx)(re.A,{name:"companyName",label:e.t("builder.interview_prep_view.company_name_async_autosuggest.label"),value:d.company.value,placeholder:e.t(`${ejR}.company_placeholder`),onChange:h("company")}),(0,J.jsx)(ejf,{container:ejS,type:re.l,label:e.t(`${ejR}.job_description_label`),placeholder:e.t(`${ejR}.job_description_placeholder`),...d.job_description,onChange:h("job_description")}),o&&(0,J.jsx)(ejs,{trackingParameter:"custom",onClose:()=>a(!1)}),(0,J.jsxs)(ejT,{children:[(0,J.jsx)(i$.Ay,{isLoading:p,onClick:p?void 0:x,children:e.t(`${ejR}.create_interview`)}),(0,J.jsx)(ejJ,{children:(0,J.jsx)(ejm,{})})]}),p&&(0,J.jsx)(eju,{hints:[e.t(`${ejR}.hint_0`),e.t(`${ejR}.hint_1`)]})]}),(0,J.jsx)(ejP,{children:(0,J.jsx)(ejm,{})})]})]})};var ejI=i(83113),ejM=i(5096);let ejB=(0,tt.Ay)(lh.E)(["display:inline-flex;padding:4px 16px;border-radius:40px;height:32px;align-items:center;width:fit-content;color:",";",";",";"],te.Jy.Indigo70,td.BO.DemiBold,td.Ay.Body),ejD=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(ejB,{variant:"indigo",children:[(0,J.jsx)(tP.EK.Crown,{})," ",e.t("builder.interview_prep_view.interview_dashboard.available_premium")
5257]})};var ej$=i(41786),ejO=i(76732);let ejz=({byStatus:e,byStatusNot:t,setInitialRequest:i,enabledPerformanceMetric:r=!1,perPage:n=5,baseInterviewId:o})=>{let{registerOncePerformance:a,stopRegisterPerformance:l}=(0,ejO.x)({enabled:r,metricKey:"interviews-request",successCallBack:()=>{i&&i(e=>void 0===e?void 0:{...e,interviews:!0})}});return(0,ej$.q)({queryKey:["useInfiniteScrollInterviews",e,t,n,o],staleTime:1e4,queryFn:async({pageParam:i=1})=>{a();let r=await Y.R3.get("/interview_prep/interviews",{params:{page:i,per_page:n,by_status:e,by_status_not:t,base_interview_id:o}});return l(),r.data},getNextPageParam:(e,t)=>{if((t||[]).flatMap(e=>e.items).length<e.total)return e.page+1}})},ejF=tt.Ay.div(["",";",";border-radius:4px;padding:4px 6px;text-transform:capitalize;background-color:",";color:",";"],td.Ay.Tiny,td.BO.DemiBold,({$status:e,$question:t})=>"completed"===e?te.Jy.Neutral20:"started"===e?te.Jy.Indigo10:t?te.Jy.Blue10:te.Jy.Green10,({$status:e,$question:t})=>"completed"===e?te.Jy.Neutral60:"started"===e?te.Jy.Indigo60:t?te.Jy.Blue50:te.Jy.Green50),ejH=tt.Ay.div(["display:flex;flex-direction:column;gap:24px;"]),ejV=tt.Ay.div(["display:flex;flex-direction:column;gap:20px;"]),ejU=tt.Ay.div(["display:flex;flex-direction:column;gap:10px;margin-bottom:4px;"]),ejW=tt.Ay.div(["display:flex;flex-direction:column;gap:4px;"]),ejK=tt.Ay.div(["display:flex;flex-direction:column;gap:20px;margin-bottom:4px;"]),ejq=tt.Ay.div(["display:flex;align-items:center;gap:4px;"]),ejG=tt.Ay.div(["",";",";"],td.Ay.Subhead,td.BO.Medium),ejZ=tt.Ay.div(["",";",";"],td.Ay.Subhead,td.BO.Medium),ejX=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular),ejQ=tt.Ay.div(["color:",";",";",";text-transform:uppercase;"],te.Jy.Neutral50,td.BO.DemiBold,td.Ay.Caps);td.Ay.Body,td.BO.Regular;let ejY=tt.Ay.div(["",";color:",";",";"],td.Ay.Body,te.Jy.Neutral80,td.BO.Regular),ej0=tt.Ay.div(["display:flex;justify-content:center;align-items:flex-end;gap:5px;"]),ej1=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),ej2=tt.Ay.div(["display:flex;gap:2px;align-items:center;"]),ej3=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),ej5="builder.interview_prep_view.interview_dashboard.practice_this",ej4=e=>{let t,{onClose:i,question:r,onConfirmation:n,trackingParameter:o}=e,{data:a}=ejz({perPage:0}),{i18n:l}=(0,e1.s)(),[s,d]=(0,R.useState)(!1),{data:c,mutate:u,isLoading:p}=(t=(0,eU.wA)(),(0,dp.n)(["useCreateInterviewFromQuestionTemplate"],async e=>(await Y.R3.post(`/interview_prep/interviews/create_from_template?question_template_id=${e}`)).data,{onSuccess:e=>{t(e9.o1.setInterviewId(e.id)),dO.q.invalidateQueries(["useInterviews"]),dO.q.invalidateQueries(["useInterview"]),dO.q.invalidateQueries(["useDailySuggestions"])}})),h=(0,L.Zp)(),x=(0,eW.N)(Z.Tp.premiumAccess),m=!x&&a?.pages[0].total===0,g=x||m;return((0,R.useEffect)(()=>{void 0!==c&&h("/interview-preparation/interview-player")},[c,h]),s)?(0,J.jsx)(ejs,{trackingParameter:o,onClose:()=>d(!1)}):(0,J.jsx)(ev8,{onClose:i,title:(0,J.jsx)(ejU,{children:(0,J.jsxs)(ejq,{children:[(0,J.jsx)(ejF,{$question:!0,$status:"initiated",children:l.t(`${ej5}.question`)}),(0,J.jsxs)(ej2,{children:[(0,J.jsx)(tP.EK.Clock,{stroke:te.Jy.Blue80}),l.t(`${ej5}.min`,{minutes:5})]})]})}),children:(0,J.jsxs)(ejH,{children:[(0,J.jsx)(ejZ,{children:r.content}),(0,J.jsxs)(ej3,{children:[(0,J.jsxs)(ejQ,{children:[l.t(`${ej5}.how_to_answer_v2`),":"]}),r?.hint]}),(0,J.jsxs)(ej1,{children:[(0,J.jsx)(i$.Ay,{isLoading:p,onClick:()=>{(n&&n(),g)?((0,N.xP)("start_interview",{label:"interview_prep",parameter:o}),r&&u(r.id)):d(!0)},children:l.t(`${ej5}.practice_question`)}),!g&&(0,J.jsxs)(ej0,{children:[(0,J.jsx)(tP.EK.Crown,{color:te.Jy.Indigo70})," ",l.t(`${ej5}.available_premium`)]})]})]})})},ej6=tt.Ay.div(["padding:20px;min-width:335px;height:186px;border-radius:var(--S,16px);border:var(--Zero,1px) solid ",";background:",";",";"],te.Jy.Neutral15,te.Jy.White,tQ.A.Hover`
5258    &:hover {
5259      box-shadow: 0px 8px 20px -4px rgba(15, 56, 113, 0.12), 
5260                  0px 2px 4px -1px rgba(15, 56, 113, 0.08), 
5261                  0px 0px 1px 0px rgba(15, 56, 113, 0.32);
5262      cursor: pointer;
5263    }
5264  `),ej8=tt.Ay.div(["",";",";color:",";display:inline-flex;justify-content:center;height:20px;align-items:center;& path{fill:",";}"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral90,te.Jy.White),ej9=(0,tt.Ay)(tP.EK.StatusDone)(["margin-left:8px;"]),ej7=tt.Ay.div(["display:flex;color:",";justify-content:space-between;"],te.Jy.Green50),eAe=tt.Ay.div(["",";",";margin-top:38px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;"],td.Ay.Subhead,td.BO.Regular),eAt="builder.interview_prep_view.question_library",eAi=({question:e,durationTime:t=5,type:i,onClick:r})=>{let{i18n:n}=(0,e1.s)();switch(i){case"situational":return(0,J.jsxs)(ej6,{onClick:r,"data-testid":e.id,children:[(0,J.jsxs)(ej7,{children:[(0,J.jsx)(ejF,{$question:!1,$status:"initiated",children:n.t(`${eAt}.situational`)}),"completed"===e.status&&(0,J.jsx)(tP.EK.StatusDone,{})]}),(0,J.jsx)(eAe,{children:e.content})]});case"question":return(0,J.jsxs)(ej6,{onClick:r,"data-testid":e.id,children:[(0,J.jsxs)(ej7,{children:[(0,J.jsxs)(ej8,{children:[(0,J.jsx)(tP.EK.Time,{}),t," ",n.t(`${eAt}.minute_abbreviation`)]}),(0,J.jsxs)("div",{children:[(0,J.jsx)(ejF,{$question:!0,$status:"initiated",children:n.t(`${eAt}.question`)}),"completed"===e.status&&(0,J.jsx)(ej9,{})]})]}),(0,J.jsx)(eAe,{children:e.content})]});default:return null}},eAr=(0,tt.i7)(["to{background-position:315px 0,0 0,0 190px,50px 195px;}"]),eAn=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;",";",";",";"],tQ.A.Phone`
5265    margin-right: 20px;
5266  `,tQ.A.Tablet`
5267    margin-right: 20px;
5268  `,tQ.A.Laptop`
5269    margin-right: 20px;
5270  `),eAo=tt.Ay.div(["margin:4px;margin-left:12px;height:48px;width:48px;min-width:48px;background:",";color:",";border-radius:50%;display:flex;justify-content:center;align-items:center;"],te.Jy.Blue10,te.Jy.Blue50),eAa=tt.Ay.div(["",";",";border-radius:63px;border:1px solid ",";background:",";padding-left:20px;
5270display:flex;justify-content:center;align-items:center;",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral15,te.Jy.White,tQ.A.Hover`
5271    &:hover {
5272      cursor: pointer;
5273      background-color: ${te.Jy.Blue10};
5274      color: ${te.Jy.Blue50};
5275
5276    }
5277
5278   &:hover ${eAo} {
5279     background-color: ${te.Jy.Blue50};
5280     color: ${te.Jy.White};
5281   }
5282  `),eAl=tt.Ay.div(["display:flex;gap:12px;height:32px;"]),eAs=tt.Ay.div(["",";",";"],td.Ay.S,td.BO.Medium),eAd=tt.Ay.div(["display:grid;grid-template-columns:repeat(3,1fr);margin-top:20px;overflow:auto;grid-gap:32px;padding-bottom:20px;-ms-overflow-style:none;scrollbar-width:none;",";",";"],tQ.A.Tablet`
5283    grid-gap: 24px;
5284  `,tQ.A.Phone`
5285    grid-gap: 12px;
5286  `),eAc=tt.Ay.div(["min-width:335px;height:186px;border-radius:var(--S,16px);border:var(--Zero,1px) solid ",";background:",";background-image:linear-gradient( 90deg,"," 0px,"," 45px,"," 90px );background-size:300px;animation:"," 0.7s infinite cubic-bezier(0.03,0.26,0.5,0.8);"],te.Jy.Neutral15,te.Jy.Neutral5,te.Jy.Neutral5,te.Jy.Neutral10,te.Jy.Neutral5,eAr),eAu=tt.Ay.div(["",";"],tQ.A.Phone`
5287    display: none;
5288  `),eAp=tt.Ay.div(["display:none;",";"],tQ.A.Phone`
5289    display: flex;
5290  `),eAh="builder.interview_prep_view.interview_dashboard",eAx=({setInitialRequest:e})=>{let t=(0,eU.d4)(e9.Tp.jobTitleId),i=(0,ejM.N)({jobTitleId:t,perPage:3,total:3,setInitialRequest:e,enabledPerformanceMetric:!0}),{i18n:r}=(0,e1.s)(),n=(0,L.Zp)(),o=(0,eW.N)(Z.Tp.premiumAccess),[a,l]=(0,R.useState)(),s=(i?.data?.pages||[]).flatMap(e=>e.items);return(0,J.jsxs)("div",{children:[!o&&(0,J.jsx)(eAp,{children:(0,J.jsx)(ejD,{})}),(0,J.jsxs)(eAn,{children:[(0,J.jsxs)(eAl,{children:[(0,J.jsx)(eAs,{children:r.t(`${eAh}.title`)}),!o&&(0,J.jsx)(eAu,{children:(0,J.jsx)(ejD,{})})]}),(0,J.jsxs)(eAa,{onClick:()=>{(0,N.xP)("click_questions_library_button",{label:"interview_prep"}),n("/interview-preparation/questions-library")},children:[r.t(`${eAh}.questions_library`),(0,J.jsx)(eAo,{children:"?"})]})]}),(0,J.jsxs)(eAd,{children:[0===s.length&&[0,1,2].map(e=>(0,J.jsx)(eAc,{},e)),s.map(e=>(0,J.jsx)(eAi,{question:e,type:"question",onClick:()=>{l(e),(0,N.xP)("pick_interview",{label:"interview_prep",parameter:"interview_dash_questions"})}},e.id))]}),a&&(0,J.jsx)(ej4,{trackingParameter:"interview_dash_questions",question:a,onClose:()=>l(void 0)})]})};function eAm(e){if(e?.version===1){let t=function(e){switch(e.kind){case"custom":return 8;case"one_question":case"test_interview":return 1;default:throw Error(`Interview must have kind. interviewId:${e.id} kind:${e.kind}`)}}(e);return{maxMainQuestions:t,totalQuestions:t}}if(e?.version===2){let t=function(e){switch(e.kind){case"custom":return 3;case"one_question":case"test_interview":return 1;default:throw Error(`Interview must have kind. interviewId:${e.id} kind:${e.kind}`)}}(e);return{maxMainQuestions:t,totalQuestions:3*t}}return null}let eAg=e=>(0,r2.I)(["jobTitle",e],async()=>(await Y.R3.get(`career-data/v1/job-titles/${e}`)).data,{enabled:"number"==typeof e});var eAy=i(85227);let eAf=tt.Ay.div(["width:48px;height:48px;box-shadow:0px 2px 4px 0px rgba(15,56,113,0.08),0px 1px 2px 0px rgba(15,56,113,0.12),0px 0px 1px 0px rgba(15,56,113,0.32);display:flex;justify-content:center;align-items:center;border-radius:",";img{width:40px;height:40px;border-radius:",";}"],te.Kz.XS,te.Kz.XS),eAb=({src:e})=>{let[t,i]=(0,R.useState)(!0);return(0,R.useEffect)(()=>{i(!0)},[e]),(0,J.jsxs)(eAf,{children:[e&&(0,J.jsx)("img",{src:e,onLoad:e=>{Math.abs(e.currentTarget.naturalWidth/e.currentTarget.naturalHeight)>1.5?i(!0):i(!1)},onError:()=>i(!0),style:{display:t?"none":"block"}}),t&&(0,J.jsx)("img",{src:eAy,style:{height:"40px",width:"40px"}})]})},eA_=tt.Ay.div(["display:flex;justify-content:center;align-items:center;position:relative;"]),eAv=tt.Ay.circle(["stroke:",";fill:transparent;"],te.Jy.Neutral15);td.Ay.Caption,td.BO.DemiBold,te.Jy.Blue50;let eAj=tt.Ay.svg(["transform:rotate(-90deg);stroke:",";stroke-width:4;"],te.Jy.Blue50),eAA=tt.Ay.circle(["stroke:",";stroke-dasharray:",";stroke-dashoffset:",";transition:stroke-dashoffset 0.35s;"],te.Jy.Blue50,e=>e.$circumference,e=>e.offset),eAC=tt.Ay.div(["color:",";background-color:",";width:24px;height:24px;display:flex;justify-content:center;align-items:center;border-radius:50%;"],te.Jy.White,te.Jy.Blue50),eAw=({totalSteps:e,completedSteps:t,radius:i,size:r,strokeWidth:n})=>{if(e===t)return(0,J.jsx)(eAC,{children:(0,J.jsx)(tP.EK.Tick,{})});let o=2*Math.PI*i,a=r/2;return(0,J.jsx)(eA_,{children:(0,J.jsxs)(eAj,{width:r,height:r,children:[(0,J.jsx)(eAv,{strokeWidth:n,r:i,cx:a,cy:a}
5290),(0,J.jsx)(eAA,{$circumference:o,strokeWidth:n,fill:"transparent",r:i,cx:a,cy:a,offset:o-t/e*o})]})})},eAk=()=>{let e=(0,eU.wA)();return(0,dp.n)(["useCreateInterviewFromInterview"],async e=>(await Y.R3.post(`interview_prep/interviews/${e}/create_from_interview`)).data,{onSuccess:t=>{e(e9.o1.setInterviewId(t.id)),dO.q.invalidateQueries(["useInterviews"]),dO.q.invalidateQueries(["useInterview"]),dO.q.invalidateQueries(["useDailySuggestions"])}})},eAS=tt.Ay.div(["",";",";"],td.Ay.Subhead,td.BO.Medium),eAT=tt.Ay.div(["color:",";margin-bottom:20px;"],te.Jy.Neutral50),eAP=tt.Ay.div(["display:flex;flex-direction:column;gap:10px;margin-bottom:20px;"]),eAJ=tt.Ay.div(["color:",";display:flex;",";"],te.Jy.Neutral50,td.Ay.Caption),eAE=tt.Ay.div(["",";margin-right:3px;"],td.BO.Bold),eAR=tt.Ay.div(["text-align-last:center;",";"],td.Ay.Caption),eAL="builder.interview_prep_view.interview_dashboard.restart_modal",eAN=({onClose:e,interview:t})=>{let i,{i18n:r}=(0,e1.s)(),n=(0,L.Zp)(),o=eAk(),a=(i=(0,eU.wA)(),(0,dp.n)(["useCreateInterviewWithNewQuestion"],async e=>(await Y.R3.post(`/interview_prep/interviews/${e}/create_from_interview_with_new_questions`)).data,{onSuccess:e=>{i(e9.o1.setInterviewId(e.id)),dO.q.invalidateQueries(["useInterviews"]),dO.q.invalidateQueries(["useInterview"]),dO.q.invalidateQueries(["useDailySuggestions"])}})),[l,s]=(0,R.useState)(!1),d=(0,eW.N)(Z.Tp.premiumAccess),c=async()=>{d?(await a.mutateAsync(t.id),(0,N.xP)("start_interview",{label:"interview_prep",parameter:"new"}),n("/interview-preparation/interview-player")):s(!0)},u=async()=>{await o.mutateAsync(t.id),(0,N.xP)("start_interview",{label:"interview_prep",parameter:"restart_same"}),n("/interview-preparation/interview-player")};return l?(0,J.jsx)(ejs,{trackingParameter:"restart_modal",onClose:e}):(0,J.jsxs)(ev8,{onClose:e,title:(0,J.jsx)(eAS,{children:r.t(`${eAL}.restart_interview`)}),children:[(0,J.jsx)(eAT,{children:r.t(`${eAL}.you_can_restart`)}),(0,J.jsxs)(eAP,{children:[(0,J.jsx)(i$.Ay,{isLoading:o.isLoading,disabled:o.isLoading||a.isLoading,theme:"ghost",onClick:u,children:r.t(`${eAL}.same_questions`)}),(0,J.jsxs)(i$.Ay,{isLoading:a.isLoading,disabled:o.isLoading||a.isLoading,theme:d?"secondary":"alternative",onClick:c,children:[!d&&(0,J.jsx)(tP.EK.Crown,{}),r.t(`${eAL}.new_questions`)]})]}),(0,J.jsxs)(eAJ,{children:[(0,J.jsxs)(eAE,{children:[r.t(`${eAL}.note_title`),": "]}),(0,J.jsx)(eAR,{children:d?r.t(`${eAL}.note_content_premium`):r.t(`${eAL}.note_content_free`)})]})]})};te.Jy.White,tQ.A.Phone`
5291    max-width: none;
5292    height: 100%;
5293    padding: 20px;
5294    overflow-y: auto;
5295    -webkit-overflow-scrolling: touch;
5296  `;let eAI=tt.Ay.div(["",";",";"],td.Ay.S,td.BO.Bold),eAM=tt.Ay.div(["color:",";margin-bottom:20px;"],te.Jy.Neutral50),eAB=tt.Ay.div(["padding-top:24px;display:flex;justify-content:end;align-items:baseline;gap:8px;"]),eAD="builder.interview_prep_view.interview_dashboard.delete_modal",eA$=({onClose:e,onDelete:t,interview:i})=>{let r,{i18n:n}=(0,e1.s)(),{mutate:o,status:a}=(r=(0,iY.jE)(),(0,dp.n)({mutationFn:async e=>(await Y.R3.delete(`/interview_prep/interviews/${e}`)).data,onSuccess:()=>{r.invalidateQueries(["useInterviews"]),t&&t()}}));return(0,J.jsxs)(ev8,{onClose:e,title:(0,J.jsx)(eAI,{children:n.t(`${eAD}.are_you_sure`)}),children:[(0,J.jsx)(eAM,{children:n.t(`${eAD}.deletes_interview`)}),(0,J.jsxs)(eAB,{children:[(0,J.jsx)(i$.Ay,{theme:"ghost",onClick:e,children:n.t(`${eAD}.cancel`)}),(0,J.jsx)(i$.Ay,{onClick:()=>{o(i.id),(0,N.xP)("delete_interview",{label:"interview_prep"})},isLoading:"loading"===a,children:n.t(`${eAD}.delete`)})]})]})},eAO=tt.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;max-width:352px;min-width:352px;height:336px;border-radius:var(--S,16px);border:var(--Zero,1px) solid ",";background:",";padding:26px;"],te.Jy.Neutral15,te.Jy.White),eAz=tt.Ay.div(["",";",";color:",";display:flex;align-items:flex-start;justify-content:space-between;"],td.Ay.Caption,td.BO.Medium,te.Jy.Neutral50),eAF=tt.Ay.div(["padding-left:8px;"]),eAH=tt.Ay.div(["display:flex;"]),eAV=tt.Ay.div(["cursor:pointer;display:none;justify-content:center;align-items:flex-start;border-radius:50%;width:30px;height:30px;padding-top:4px;",";"],tQ.A.Hover`
5297    ${eAO}:hover & {
5298      display: flex;
5299      background-color: ${te.Jy.Neutral5};
5300      color: ${te.Jy.Neutral40};
5301    }
5302  `),eAU=tt.Ay.div(["padding-top:16px;grid-gap:8px;display:flex;"]),eAW=(0,tt.Ay)(i$.Ay)(["width:100%;padding:var(--2XS,8px) var(--XS,12px);"]),eAK=tt.Ay.div(["",";",";color:",";"],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90),eAq=tt.Ay.div(["display:flex;flex-direction:column;"]),eAG=tt.Ay.div(["color:",";"],te.Jy.Neutral50),eAZ=tt.Ay.div(["padding-bottom:12px;"]),eAX=({interview:e,onDispose:t,totalQuestionCount:i})=>{let r=(0,L.Zp)(),n=(0,eU.wA)(),{i18n:o}=(0,e1.s)(),{data:a}=eAg(e.data_api_job_title_id),[l,s]=(0,R.useState)(!1),[d,c]=(0,R.useState)(!1),u=(0,eW.N)(Z.Tp.premiumAccess),p="completed"!==e.status,h=e.questions.filter(e=>e.answer?.audio).length;return(0,J.jsxs)(eAO,{"data-testid":e.id,children:[(0,J.jsx)("div",{children:(0,J.jsxs)(eAz,{children:[(0,J.jsxs)(eAH,{children:[(0,J.jsx)(eAw,{totalSteps:i,completedSteps:h,radius:8,size:20,strokeWidth:4}),(0,J.jsx)(eAF,{children:[h,o.t(`${eCi}.of_preposition`),i,o.t(`${eCi}.questions`)].join(" ")})]}),u&&(0,J.jsx)(eAV,{onClick:()=>c(!0),children:(0,J.jsx)(tP.EK.TrashIcon,{})})]})}),(0,J.jsxs)(eAq,{children:[(0,J.jsx)(eAZ,{children:(0,J.jsx)(eAb,{src:e.logo_url||(0,su.x)()})}),(0,J.jsx)(eAK,{children:a?.jobTitle}),e.real_company&&e.company_name&&(0,J.jsx)(eAG,{children:`${o.t(`${eCi}.at_preposition`)} ${e.company_name}`}),(0,J.jsx)(eAU,{children:p?(0,J.jsx)(eAW,{onClick:()=>
5302{n(e9.o1.setInterviewId(e.id)),dO.q.invalidateQueries(["useInterview",e.id]),(0,N.xP)("continue_interview",{label:"interview_prep"}),r("/interview-preparation/interview-player")},children:o.t(`${eCi}.continue`)}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(eAW,{onClick:()=>s(!0),children:[(0,J.jsx)(tP.EK.Refresh,{}),o.t(`${eCi}.restart`)]}),(0,J.jsx)(eAW,{theme:i$.Ox.ghost,onClick:()=>{n(e9.o1.setInterviewId(e.id)),(0,N.xP)("open_report",{label:"interview_prep"}),r("/interview-preparation/feedback")},children:o.t(`${eCi}.open_report`)})]})})]}),l&&(0,J.jsx)(eAN,{onClose:()=>s(!1),interview:e}),d&&(0,J.jsx)(eA$,{onClose:()=>c(!1),onDelete:()=>{t(),c(!1)},interview:e})]})},eAQ=tt.Ay.div(["display:flex;height:336px;width:100%;gap:20px;position:relative;"]),eAY=tt.Ay.div(["display:flex;width:360px;height:336px;flex-shrink:0;border-radius:var(--S,16px);background:linear-gradient(180deg,"," 0%,rgba(247,249,252,0) 42.81%);"],te.Jy.Neutral5),eA0=tt.Ay.div(["display:flex;gap:16px;flex-direction:column;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;"]),eA1=({onClick:e,type:t})=>{let{i18n:i}=(0,e1.s)();return(0,J.jsxs)(eAQ,{children:[(0,J.jsx)(eAY,{}),(0,J.jsx)(eAY,{}),(0,J.jsx)(eAY,{}),(0,J.jsxs)(eA0,{children:[i.t(`${eCi}.no_${t}_interview_finished`),(0,J.jsx)("div",{children:(0,J.jsx)(i$.Ay,{onClick:e,children:i.t(`${eCi}.new_interview`)})})]})]})},eA2=tt.Ay.div(["display:flex;flex-direction:column;"]),eA3=tt.Ay.div(["display:flex;justify-content:space-between;border-bottom:1px solid ",";","{border-bottom:none;}",";",";",";"],te.Jy.Neutral20,Q0.aW,tQ.A.Phone`
5303    margin-right: 20px;
5304  `,tQ.A.Tablet`
5305    margin-right: 20px;
5306  `,tQ.A.Laptop`
5307    margin-right: 20px;
5308  `),eA5=tt.Ay.div(["padding-top:32px;display:flex;gap:20px;overflow-x:overlay;height:400px;",";"],tQ.A.Phone`
5309    padding-top: 16px;
5310  `),eA4=(0,tt.Ay)(am.oz)(["",";",";padding-bottom:21px;"],td.Ay.Body,td.BO.Regular),eA6=(0,tt.AH)(["",";",";gap:4px;padding-right:12px;padding-left:8px;height:36px;"],td.Ay.Body,td.BO.Regular),eA8=(0,tt.Ay)(i$.Ay)(["",";",""],eA6,tQ.A.Phone`
5311    display: none;
5312  `),eA9=tt.Ay.div(["display:none;"," ",";",";"],tQ.A.Phone`
5313    margin-top: 16px;
5314    margin-top: 24px;
5315    justify-content: center;
5316    align-items: center;
5317    display: flex;
5318    width: 100%;
5319    padding: 0 20px;
5320
5321  `,tQ.A.Tablet`
5322    padding: 0 20px;
5323  `,tQ.A.Laptop`
5324    padding: 0 20px;
5325  `),eA7=(0,tt.Ay)(i$.Ay)(["",";",";width:100%;"],eA6,td.BO.Medium),eCe=(0,tt.i7)(["to{background-position:315px 0,0 0,0 190px,50px 195px;}"]),eCt=tt.Ay.div(["min-width:352px;max-width:352px;height:336px;border-radius:var(--S,16px);background:",";background-image:linear-gradient( 90deg,"," 0px,"," 45px,"," 90px );background-size:300px;animation:"," 0.7s infinite cubic-bezier(0.03,0.26,0.5,0.8);"],te.Jy.Neutral5,te.Jy.Neutral5,te.Jy.Neutral10,te.Jy.Neutral5,eCe),eCi="builder.interview_prep_view.interview_dashboard",eCr=({setInitialRequest:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),r=(0,eU.d4)(e9.Tp.activeInterviewTab),n=ejz({byStatusNot:["completed"],setInitialRequest:e,enabledPerformanceMetric:!0,perPage:5}),o=ejz({byStatus:["completed"],setInitialRequest:e,enabledPerformanceMetric:!0,perPage:5}),a=(0,L.Zp)(),[l,{rootRef:s}]=(0,aO.A)({loading:n.isLoading,hasNextPage:!!n.hasNextPage,onLoadMore:n.fetchNextPage,disabled:!!n.error}),[d,{rootRef:c}]=(0,aO.A)({loading:o.isLoading,hasNextPage:!!o.hasNextPage,onLoadMore:o.fetchNextPage,disabled:!!o.error}),u=(0,R.useCallback)(e=>e.data?e.data?.pages.flatMap(e=>e.items):[],[]),[p,h]=(0,R.useState)(!1),x=(0,eW.N)(Z.Tp.premiumAccess),m=[{labelTab:t.t(`${eCi}.in_progress`),id:"in_progress"},{labelTab:t.t(`${eCi}.complete`),id:"complete"}],g=e=>()=>{(0,N.xP)("pick_interview",{label:"interview_prep",parameter:e}),x?a("/interview-preparation/custom-interview"):h(!0)},y=(e,t,i,n,o,a)=>{let l=u(t);return(0,J.jsxs)(eA5,{ref:n,style:{display:r===e?"flex":"none"},children:[t.isSuccess&&l?.length===0&&(0,J.jsx)(eA1,{type:o,onClick:g("interview_dash_history")}),t.isLoading&&[1,2,3].map(e=>(0,J.jsx)(eCt,{},e)),l?.map(e=>(0,J.jsx)(eAX,{interview:e,onDispose:()=>t.refetch(),totalQuestionCount:a(e)},e.id)),(t.isLoading||t.hasNextPage)&&(0,J.jsx)(eCt,{ref:i})]})};return(0,J.jsxs)(eA2,{children:[(0,J.jsxs)(eA3,{children:[(0,J.jsx)(am.Ay,{children:m.map(e=>(0,J.jsx)(eA4,{isActive:e.id===r,onClick:()=>i(e9.o1.setActiveInterviewTab(e.id)),children:e.labelTab},e.id))}),(0,J.jsxs)(eA8,{onClick:g("interview_dash_custom"),children:[(0,J.jsx)(tP.EK.Add,{}),t.t(`${eCi}.create_new`)]})]}),(0,J.jsx)(eA9,{children:(0,J.jsx)(eA7,{onClick:g("interview_dash_custom"),children:t.t(`${eCi}.new_interview`)})}),y("in_progress",n,l,s,"incomplete",e=>eAm(e)?.totalQuestions||e.questions.length),y("complete",o,d,c,"complete",e=>e.questions.length),p&&(0,J.jsx)(ejs,{trackingParameter:"interview_dash_custom",onClose:()=>h(!1)})]})},eCn=(0,tt.i7)(["to{background-position:315px 0,0 0,0 190px,50px 195px;}"]),eCo=tt.Ay.div(["display:flex;flex-direction:column;"]),eCa=tt.Ay.div(["display:flex;color:",";",";",";padding-right:8px;"],te.Jy.Neutral90,td.Ay.S,td.BO.Medium),eCl=tt.Ay.div(["display:flex;justify-content:space-between;",""],tQ.A.Phone`
5326    flex-flow: column;
5327    margin-right: 20px;
5328  `),eCs=tt.Ay.div(["display:flex;",""],tQ.A.Phone`
5329  flex-flow: column;
5330  
5331  `),eCd=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular),eCc=tt.Ay.div(["padding-top:32px;display:flex;gap:16px;overflow-x:overlay;padding-bottom:20px;",""],tQ.A.Phone`
5332    padding-top: 16px;
5333  `);(0,tt.Ay)(am.oz)(["",";",";padding-bottom:21px;"],td.Ay.Body,td.BO.Regular);let eCu=(0,tt.AH)(["",";",";gap:4px;padding-right:12px;padding-left:8px;height:36px;"],td.Ay.Body,td.BO.Regular);(0,tt.Ay)(i$.Ay)(["position:absolute;top:0;right:0;",";",""],eCu,tQ.A.Phone`
5334    display: none;
5335  `),(0,tt.Ay)(i$.Ay)(["",";",";display:none;",""],eCu,td.BO.Medium,tQ.A.Phone`
5336    margin-top: 16px;
5337    margin-top: 24px;
5338    justify-content: center;
5339    align-items: center;
5340    display: flex;
5341    width: 100%;
5342  `);let eCp=tt.Ay.div(["width:268px;height:336px;border-radius:var(--S,16px);border:var(--Zero,1px) solid ",";background:",";background-image:linear-gradient( 90deg,"," 0px,"," 45px,"," 90px );background-size:300px;animation:"," 0.7s infinite cubic-bezier(0.03,0.26,0.5,0.8);flex-shrink:0;"],te.Jy.Neutral15,te.Jy.Neutral5,te.Jy.Neutral5,te.Jy.Neutral10,te.Jy.Neutral5,eCn),eCh=tt.Ay.div(["",";"],tQ.A.Phone`
5343    display: none;
5344  `),eCx=tt.Ay.div(["display:none;",";"],tQ.A.Phone`
5345  display: flex;
5346    margin-bottom: 12px;
5347  `),eCm=tt.Ay.div(["width:268px;height:336px;flex-shrink:0;border-radius:var(--S,16px);border:1px solid ",";background:",";padding:20px;display:flex;flex-direction:column;justify-content:space-between;",";"],te.Jy.Neutral15,te.Jy.White,tQ.A.Hover`
5348    &:hover  {
5349      cursor: pointer;
5350      box-shadow: 0px 8px 20px -4px rgba(15, 56, 113, 0.12),
5351                  0px 2px 4px -1px rgba(15, 56, 113, 0.08), 
5352                  0px 0px 1px 0px rgba(15, 56, 113, 0.32);
5353    }
5354  `);te.Jy.Neutral15,te.Jy.White,tQ.A.Hover`
5355    &:hover  {
5356      cursor: pointer;
5357      box-shadow: 0px 8px 20px -4px rgba(15, 56, 113, 0.12),
5358                  0px 2px 4px -1px rgba(15, 56, 113, 0.08), 
5359                  0px 0px 1px 0px rgba(15, 56, 113, 0.32);
5360    }
5361  `;let eCg=tt.Ay.div(["display:flex;justify-content:center;align-items:center;gap:2px;",";",";color:",";& path{fill:",";}"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral90,te.Jy.White),eCy=tt.Ay.div(["display:flex;flex-direction:column;"]);td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90;let eCf=tt.Ay.div(["",";",";color:",";padding-bottom:var(--spacing-3XS);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding-top:var(--spacing-XS);"],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90),eCb=tt.Ay.div(["",";",";color:",";-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;width:100%;white-space:nowrap;"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50),eC_=tt.Ay.div(["",";",";color:",";display:flex;align-items:center;justify-content:space-between;height:24px;"],td.Ay.Caption,td.BO.Medium,te.Jy.Neutral50),eCv=tt.Ay.div(["padding-top:14px;padding-bottom:8px;"]),eCj=({companyInterview:e,onClick:t})=>{let{i18n:i}=(0,e1.s)();return(0,J.jsxs)(eCm,{onClick:t,children:[(0,J.jsxs)(eC_,{children:[(0,J.jsxs)(eCg,{children:[(0,J.jsx)(tP.EK.Time,{}),i.t(`${eCA}.min`,{minutes:5*e.questions_count})]}),(0,J.jsx)(eCv,{children:(0,J.jsx)(ejF,{$question:!1,$status:"initiated",children:i.t(`${eCA}.interview`)})})]}),(0,J.jsxs)(eCy,{children:[(0,J.jsx)(eAb,{src:e.logo_url}),(0,J.jsx)(eCf,{children:e.job_title}),(0,J.jsx)(eCb,{children:`${i.t(`${eCA}.at_preposition`)}  ${e.company_name} • ${e.questions_count} ${i.t(`${eCA}.questions`)}`})]})]})},eCA="builder.interview_prep_view.interview_dashboard",eCC=({setInitialRequest:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,L.Zp)(),r=(0,eW.N)(Z.Tp.premiumAccess),n=(0,eU.d4)(e9.Tp.jobTitleId),o=(0,e4.J)(),{data:a,isLoading:l}=((e,t,i,r=!1)=>{let{registerOncePerformance:n,stopRegisterPerformance:o}=(0,ejO.x)({enabled:r,metricKey:"company-interviews-request",tags:{jobTitleId:e},successCallBack:()=>{i&&i(e=>void 0===e?void 0:{...e,companyInterview:!0})}});return(0,r2.I)(["useCompanyInterviews",e],async()=>{n();let i=await Y.R3.get("/interview_prep/company_interviews",{params:{data_api_job_title_id:e,user:t}});return o(),i.data},{enabled:!!e})})(n,o?.id,e,!0);return(0,J.jsxs)(eCo,{children:[!r&&(0,J.jsx)(eCx,{children:(0,J.jsx)(ejD,{})}),(0,J.jsxs)(eCl,{children:[(0,J.jsxs)(eCs,{children:[(0,J.jsx)(eCa,{children:t.t(`${eCA}.get_ready_for_the_real_interview`)}),!r&&(0,J.jsx)(eCh,{children:(0,J.jsx)(ejD,{})})]}),(0,J.jsx)(eCd,{children:t.t(`${eCA}.based_on_your_job_title`)})]}),(0,J.jsxs)(eCc,{children:[l&&[0,1,2,3].map(e=>(0,J.jsx)(eCp,{},e)),a?.slice(0,4).map(e=>(0,J.jsx)(eCj,{companyInterview:e,onClick:()=>{(0,N.xP)("pick_interview",{label:"interview_prep",parameter:"interview_dash_interviews"}),i("/interview-preparation/custom-interview",{state:{company:e.company_name,jobTitle:{id:n,text:e.job_title}}})}},e.company_name+e.job_title+e.questions_count))]})]})},eCw=tt.Ay.div(["display:flex;flex-direction:column;gap:30px;max-width:1200px;width:100vw;padding:24px 40px;margin:40px auto;",";",";",";",";"],tQ.A.Desktop`
5362    margin: auto;
5363    width: 1220px;
5364  `,tQ.A.Phone`
5365    padding: 0 0 0 20px;
5366  `,tQ.A.Tablet`
5367    padding: 0 0 0 20px;
5368  `,tQ.A.Laptop`
5369    padding: 0 0 0 20px;
5370  `),eCk=(0,tt.i7)(["0%{stroke-dasharray:0 100;}"]),eCS=tt.Ay.svg(["width:","px;"],({$width:e})=>e),eCT=tt.Ay.path(["fill:none;stroke:",";stroke-width:",";animation:"," 1s ease-out forwards;"],({$color:e})=>e,({$strokeWidth:e})=>e,eCk),eCP=tt.Ay.path(["fill:none;stroke:",";stroke-width:",";"],te.Jy.Neutral5,({$strokeWidth:e})=>e),eCJ=({percentage:e,width:t,strokeWidth:i=2,color:r})=>
5370(0,J.jsxs)(eCS,{viewBox:"0 0 40 40",$width:t,children:[(0,J.jsx)(eCP,{$strokeWidth:i,d:`M20 ${i/2}
5371        a 15.9155 15.9155 0 0 1 0 31.831
5372        a 15.9155 15.9155 0 0 1 0 -31.831`}),(0,J.jsx)(eCT,{$color:r,$strokeWidth:i,strokeDasharray:`${e}, 100`,d:`M20 ${i/2}
5373        a 15.9155 15.9155 0 0 1 0 31.831
5374        a 15.9155 15.9155 0 0 1 0 -31.831`})]}),eCE=e=>["useInterview",e],eCR=({interviewId:e})=>(0,r2.I)(eCE(e),async()=>{let t=await Y.R3.get(`/interview_prep/interviews/${e}`),i=eAm(t.data);return{isReady:t.data.questions.filter(e=>null===e.base_question_id).length===i?.maxMainQuestions,payload:t.data}},{enabled:!!e,refetchInterval:e=>e?!e.isReady&&1e3:1e3,useErrorBoundary:!1}),eCL=tt.Ay.div(["",";",";border-radius:4px;padding:4px 6px;text-transform:capitalize;background-color:",";color:",";"],td.Ay.Tiny,td.BO.DemiBold,({$status:e,$question:t})=>"completed"===e?te.Jy.Neutral20:"started"===e?te.Jy.Indigo20:t?te.Jy.Blue20:te.Jy.Green20,({$status:e,$question:t})=>"completed"===e?te.Jy.Neutral60:"started"===e?te.Jy.Indigo60:t?te.Jy.Blue60:te.Jy.Green60),eCN=()=>{let e=(0,eU.wA)();return(0,dp.n)({mutationFn:async e=>(await Y.R3.post("interview_prep/interviews/set_user_job_title_id",{data_api_job_title_id:e})).data,onSuccess:t=>{e(e9.o1.setJobTitleId(+t.account.user.current_job_title_id))}})},eCI=tt.Ay.div(["",";",";"],td.Ay.S,td.BO.Bold),eCM=(0,tt.Ay)(GO.A)(["margin-right:0 !important;"]),eCB=tt.Ay.div(["color:",";margin-bottom:20px;"],te.Jy.Neutral50),eCD=tt.Ay.div(["display:flex;margin-top:20px;justify-content:flex-end;gap:10px;"]),eC$="builder.interview_prep_view.interview_dashboard.my_interviews",eCO=({trackingParameter:e,onClose:t,jobSuggestion:i})=>{let{i18n:r}=(0,e1.s)(),n=(0,eU.wA)(),[o,a]=(0,R.useState)(()=>i?.text),[l,s]=(0,R.useState)(0),[d,c]=(0,R.useState)(!1),[u,p]=(0,R.useState)(i),{mutate:h,isLoading:x}=eCN();return(0,J.jsxs)(ev8,{onClose:t,title:(0,J.jsx)(eCI,{children:r.t(`${eC$}.change_job`)}),children:[(0,J.jsx)(eCB,{children:r.t(`${eC$}.change_any_time`)}),(0,J.jsx)(eCM,{fullWidth:!0,children:(0,J.jsx)(ev2,{trackingParameter:e,jobTitle:o,onChange:e=>a(e.target.value),onChangeSuggestion:e=>{a(e.text),s(e.id),p(e),c(!1)},hasError:d})}),(0,J.jsxs)(eCD,{children:[(0,J.jsx)(i$.Ay,{theme:"ghost",onClick:t,children:r.t(`${eC$}.cancel`)}),(0,J.jsx)(i$.Ay,{isLoading:x,onClick:()=>{u&&h(u.id),l?(o&&n(e9.o1.setJobTitle(o)),l&&n(e9.o1.setJobTitleId(l)),(0,N.xP)("change_title",{label:"interview_prep",parameter:e}),t()):c(!0)},children:r.t(`${eC$}.save`)})]})]})},eCz="builder.interview_prep_view.interview_dashboard.practice_this",eCF=e=>{let{onClose:t,interview:i,onConfirmation:r,trackingParameter:n,isTestInterview:o,interviewId:a}=e,{data:l}=ejz({perPage:0}),{i18n:s}=(0,e1.s)(),[d,c]=(0,R.useState)(!1),{mutateAsync:u,status:p}=(0,ejd.D)(),h=(0,eW.N)(Z.Tp.premiumAccess),x=!h&&l?.pages[0].total===0&&i?.questions_count===1,m=h||x,g=(0,eU.wA)(),y=(0,L.Zp)(),f=async()=>{if(r&&r(),!m)return void c(!0);if((0,N.xP)("start_interview",{label:"interview_prep",parameter:n}),a){g(e9.o1.setInterviewId(a)),y("/interview-preparation/interview-player");return}i&&(await u({jobTitleCode:i.data_api_job_title_id,company:i.company_name,typeOfQuestions:i.type_of_questions,kind:i.kind}),y("/interview-preparation/interview-player"))};return d?(0,J.jsx)(ejs,{trackingParameter:n,onClose:()=>c(!1)}):(0,J.jsx)(ev8,{onClose:t,title:(0,J.jsxs)(ejK,{children:[i.logo_url&&(0,J.jsx)(eAb,{src:i.logo_url}),(0,J.jsxs)(ejq,{children:[(0,J.jsx)(ejF,{$question:!1,$status:"initiated",children:s.t(`${eCz}.interview`)}),(0,J.jsxs)(ej2,{children:[(0,J.jsx)(tP.EK.Clock,{stroke:te.Jy.Green80}),s.t(`${eCz}.min`,{minutes:5*i.questions_count})]})]})]}),children:(0,J.jsxs)(ejV,{children:[(0,J.jsxs)(ejW,{children:[(0,J.jsx)(ejG,{children:i.job_title}),(0,J.jsxs)(ejX,{children:[i.company_name?s.t(`${eCz}.at`,{company:i.company_name}):s.t(`${eCz}.test_interview`)," ","•"," ",1===i.questions_count?s.t(`${eCz}.single_question`):s.t(`${eCz}.questions`,{count:i.questions_count})]})]}),(0,J.jsx)(ejY,{children:o?s.t(`${eCz}.test_interview_description`):s.t(`${eCz}.description`)}),(0,J.jsxs)(ej1,{children:[(0,J.jsx)(i$.Ay,{isLoading:"loading"===p,onClick:f,children:s.t(`${eCz}.practice_interview`)}),!m&&(0,J.jsxs)(ej0,{children:[(0,J.jsx)(tP.EK.Crown,{color:te.Jy.Indigo70})," ",s.t(`${eCz}.available_premium`)]})]})]})})},eCH=(0,tt.i7)(["to{background-position:315px 0,0 0,0 190px,50px 195px;}"]),eCV=tt.Ay.div(["width:100%;"]),eCU=tt.Ay.div(["display:flex;justify-content:space-between;margin-bottom:24px;",";",";",";"],tQ.A.Phone`
5375    flex-direction: column;
5376    padding: 0 20px;
5377  `,tQ.A.Tablet`
5378    padding: 0 20px;
5379  `,tQ.A.Laptop`
5380    padding: 0 20px;
5381  `),eCW=tt.Ay.div(["display:flex;align-items:baseline;gap:10px;",";"],tQ.A.Phone`
5382    flex-direction: column;
5383  `),eCK=tt.Ay.div(["display:flex;",";"],tQ.A.Phone`
5384    margin-top: 20px
5385  `),eCq=tt.Ay.div(["",";",";"],td.Ay.M,td.BO.Medium),eCG=tt.Ay.div(["color:",";",";display:inline;"],te.Jy.Neutral50,td.Ay.TextS),eCZ=tt.Ay.div(["color:",";",";",";display:flex;align-items:center;gap:5px;cursor:pointer;display:inline-flex;&:hover{color:",";}"],te.Jy.Blue50,td.Ay.Subhead,td.BO.Medium,te.Jy.Blue60),eCX=tt.Ay.div(["display:flex;gap:10px;align-items:center;"]),eCQ=tt.Ay.div(["",";"],td.BO.Medium),eCY=tt.Ay.div(["color:",";padding-right:5px;"],te.Jy.Neutral50),eC0=tt.Ay.div(["display:flex;justify-content:space-around;gap:15px;overflow-x:overlay;padding:12px 0;",";-ms-overflow-style:none;scrollbar-width:none;"],tQ.A.Laptop`
5386    padding: 12px 4px;
5387  `),eC1=tt.Ay.div(["min-width:256px;max-width:256px;height:240px;background:",";background-image:linear-gradient( 90deg,"," 0px,"," 45px,"," 90px );background-size:300px;animation:"," 0.7s infinite cubic-bezier(0.03,0.26,0.5,0.8);"],te.Jy.Neutral5,te.Jy.Neutral5,te.Jy.Neutral10,te.Jy.Neutral5,eCH),eC2=tt.Ay.div(["min-width:256px;max-width:256px;height:240px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;"," border-radius:20px;"],({$status:e,$question:t})=>{switch(e){case"completed":return(0,tt.AH)(["border:4px solid ",";background-color:",";cursor:auto;pointer-events:none;&:hover{transition:background-color 100ms linear;background-color:",";}"],te.Jy.White,te.Jy.Neutral5,te.Jy.Neutral10);case"cancelled":case"started":case"initiated":return(0,tt.AH)(["outline:3px solid ",";border:4px solid ",";background-color:",";&:hover{transition:background-color 100ms linear;background-color:",";}"],t?te.Jy.Blue50:te.Jy.Green50,te.Jy.White,t?te.Jy.Blue10:te.Jy.Green10,t?te.Jy.Blue20:te.Jy.Green20)}}),eC3=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;"]),eC5=tt.Ay.div(["display:flex;flex-direction:column;"]),eC4=tt.Ay.div(["color:",";",";",";text-transform:capitalize;"],te.Jy.Green50,td.Ay.Tiny,td.BO.DemiBold),eC6=tt.Ay.div(["display:flex;align-items:center;",";",";color:",";svg{stroke:",";}"],td.Ay.Caption,td.BO.Regular,({$question:e})=>e?te.Jy.Blue80:te.Jy.Green80,({$question:e})=>e?te.Jy.Blue80:te.Jy.Green80),eC8=tt.Ay.div(["padding-top:var(--spacing-2XS);",";",";text-transform:capitalize;color:",";"],td.Ay.Subhead,td.BO.Medium,({$status:e})=>{switch(e){case"completed":return te.Jy.Neutral80;case"started":case"initiated":return te.Jy.Green80}}),eC9=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular),eC7=tt.Ay.div(["",";",";color:",";display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"],td.Ay.Subhead,td.BO.Regular,({$status:e})=>{switch(e){case"completed":return te.Jy.Neutral80;case"started":case"initiated":return te.Jy.Blue80}}),ewe=(0,tt.i7)(["0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}"]),ewt=tt.Ay.span(["width:24px;height:24px;border:2px solid ",";border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:"," ease-in-out 1s infinite;color:",";"],te.Jy.Indigo80,ewe,te.Jy.Indigo80),ewi="builder.interview_prep_view.interview_dashboard.my_interviews",ewr=({setInitialRequest:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.d4)(e9.Tp.jobTitleId),r=(0,eU.d4)(e9.Tp.jobTitle),{data:n}=((e,t,i=!1)=>{let{registerOncePerformance:r,stopRegisterPerformance:n}=(0,ejO.x)({enabled:i,metricKey:"daily-suggestion-request",tags:{jobTitleId:e},successCallBack:()=>{t&&t(e=>void 0===e?void 0:{...e,dailyRequest:!0})}});return(0,r2.I)(["useDailySuggestions",e],async()=>{r();let t=await Y.R3.get(`/interview_prep/daily_suggestions?data_api_job_title_id=${e}`);return t.data.error?null:{question_templates:t.data.question_templates.map(e=>({...e,kind:"one_question"})),interview_template:t.data.interview_template?{...t.data.interview_template,kind:"one_question"}:void 0,company_interview:t.data.company_interview?{...t.data.company_interview,kind:"custom"}:void 0}},{enabled:"number"==typeof e,refetchInterval:e=>e?.error?1e3:(n(),1e4)})})(i,e,!0),[o,a]=(0,R.useState)(!1),[l,s]=(0,R.useState)(),[d,c]=(0,R.useState)(),u=!n||n.error,p=n?.interview_template,h=n?.company_interview,x=n?.question_templates,m=+(p?.status==="completed")+ +(h?.status==="completed")+(x?.filter(e=>"initiated"!==e.status).length||0),g=(x?.length||0)+ +!!h+ +!!p,{data:y}=eCR({interviewId:h?.interview_id}),f=y?.payload,b=(e,i,r)=>{switch(e){case"completed":return(0,J.jsxs)(eC4,{children:[(0,J.jsx)(tP.qJ.CareerTick,{})," ",t.t(`${ewi}.done`)]});case"cancelled":case"started":case"initiated":return(0,J.jsxs)(eC6,{$question:r,children:[(0,J.jsx)(tP.EK.Clock,{}),t.t(`${ewi}.min`,{minutes:i})]})}},_=e=>{let i=f&&f?.answered_questions===f?.questions_count,n=!!f?.questions.find(e=>!e.answer?.feedback);
5387return(0,J.jsxs)(eC2,{$status:e?.status,$question:!1,onClick:()=>{("initiated"===e.status||"cancelled"===e.status)&&(s(e),(0,N.xP)("pick_interview",{label:"interview_prep",parameter:"interview_dash_recommendation"}))},children:[(0,J.jsxs)(eC3,{children:[b(e.status,5*e.questions_count,!1),i||"initiated"===e.status&&(0,J.jsxs)(eCL,{$status:e.status,$question:!1,children:[i&&n&&(0,J.jsx)(ewt,{}),t.t(`${ewi}.interview`)]})]}),(0,J.jsxs)(eC5,{children:[e.logo_url&&(0,J.jsx)(eAb,{src:e.logo_url}),(0,J.jsx)(eC8,{$status:e.status,children:r}),(0,J.jsxs)(eC9,{children:[e.company_name?t.t(`${ewi}.at`,{company:e.company_name}):t.t(`${ewi}.test_interview`),e.questions_count>1&&(0,J.jsxs)(J.Fragment,{children:[" • ",t.t(`${ewi}.questions`,{count:e.questions_count})]})]})]})]},e.id)};return(0,J.jsxs)(eCV,{children:[(0,J.jsxs)(eCU,{children:[(0,J.jsxs)(eCW,{children:[(0,J.jsx)(eCq,{children:t.t(`${ewi}.my_interviews`)})," ",r&&(0,J.jsxs)("div",{children:[(0,J.jsx)(eCG,{children:t.t(`${ewi}.for`)})," ",(0,J.jsxs)(eCZ,{onClick:()=>a(!0),children:[r,(0,J.jsx)(tP.BJ.Settings,{})]})]})]}),(0,J.jsxs)(eCK,{children:[(0,J.jsxs)(eCX,{children:[(0,J.jsxs)(eCQ,{children:[m," of ",g]}),(0,J.jsx)(eCY,{children:t.t(`${ewi}.completed`)})]}),(0,J.jsx)(eCJ,{percentage:m/g*100,width:36,color:te.Jy.Blue50,strokeWidth:6})]})]}),(0,J.jsxs)(eC0,{children:[u&&[1,2,3,4].map(e=>(0,J.jsx)(eC1,{},e)),!u&&p&&_({...p,type_of_questions:"test_interview"}),!u&&x&&x.map(e=>(0,J.jsxs)(eC2,{$status:e.status,$question:!0,onClick:()=>{("initiated"===e.status||"cancelled"===e.status)&&(c(e),(0,N.xP)("pick_interview",{label:"interview_prep",parameter:"interview_dash_recommendation"}))},children:[(0,J.jsxs)(eC3,{children:[b(e.status,5,!0),"started"===e.status&&(0,J.jsx)(ewt,{}),"started"!==e.status&&(0,J.jsx)(eCL,{$status:e.status,$question:!0,children:t.t(`${ewi}.question`,{count:1})})]}),(0,J.jsx)(eC5,{children:(0,J.jsx)(eC7,{$status:e.status,children:e.content})})]},e.id)),!u&&h&&_(h)]}),o&&"number"==typeof i&&(0,J.jsx)(eCO,{trackingParameter:"interview_dash",onClose:()=>a(!1),jobSuggestion:{text:r,id:i}}),l&&(0,J.jsx)(eCF,{trackingParameter:"interview_dash_recommendation",isTestInterview:!l?.company_name,interview:l,interviewId:h?.interview_id,onClose:()=>{s(void 0)}}),d&&(0,J.jsx)(ej4,{trackingParameter:"interview_dash_recommendation",question:d,onClose:()=>{c(void 0)}})]})},ewn=()=>{var e;let t,i=(0,L.Zp)(),[r,n]=(0,R.useState)(),o=(0,R.useRef)(!1),a=(0,eU.d4)(e9.Tp.jobTitleId),l=(0,eU.d4)(e9.Tp.jobTitleReady),[s,d]=(0,R.useState)(!1);return(e=()=>{ejI.fd.listen({name:"interview-dashboard-page"}),n({dailyRequest:!1,interviews:!1,questionsLibrary:!1,companyInterview:!1})},(t=(0,R.useRef)(!0)).current&&(t.current=!1,e()),(0,R.useEffect)(()=>{let e=Object.values(r||{});4===e.length&&void 0===e.find(e=>
5387!1===e)&&!1===o.current&&(n(void 0),o.current=!0,ejI.fd.finish())},[r]),(0,R.useEffect)(()=>{if(l)return null==a?i("/interview-preparation/new"):(d(!0),(0,N.xP)("visit_interview_dash",{label:"interview_prep"}),()=>{!1===o.current&&ejI.fd.skipCurrent()})},[l]),s)?(0,J.jsxs)(eCw,{children:[(0,J.jsx)(i1.Ay,{fallback:(0,J.jsx)(i1.vU,{}),children:(0,J.jsx)(ewr,{setInitialRequest:n})}),(0,J.jsx)(i1.Ay,{fallback:(0,J.jsx)(i1.vU,{}),children:(0,J.jsx)(eCr,{setInitialRequest:n})}),(0,J.jsx)(i1.Ay,{fallback:(0,J.jsx)(i1.vU,{}),children:(0,J.jsx)(eAx,{setInitialRequest:n})}),(0,J.jsx)(i1.Ay,{fallback:(0,J.jsx)(i1.vU,{}),children:(0,J.jsx)(eCC,{setInitialRequest:n})})]}):null};var ewo=i(31633);let ewa=e=>new Promise(t=>{setTimeout(()=>{t(null)},e)}),ewl=tt.Ay.div(["width:100%;height:100%;background:",";position:fixed;top:0;left:0;z-index:1551;display:flex;flex-direction:column;padding:20px;overflow:hidden;"],te.Jy.Neutral5),ews=tt.Ay.div(["position:fixed;right:20px;z-index:1555;display:flex;overflow:hidden;justify-content:flex-end;"]),ewd=tt.Ay.div(["display:grid;grid-template-columns:1fr 1fr 1fr;",""],tQ.A.Tablet`
5388    grid-template-columns: 1fr 1fr;
5389  `),ewc=tt.Ay.div(["height:100%;display:flex;overflow:auto;justify-content:center;align-items:center;"]),ewu=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;position:relative;"]);td.Ay.L,td.BO.Medium,te.Jy.Neutral90;let ewp=tt.Ay.div(["padding-bottom:16px;text-align:center;",";",";color:",";display:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50,({$display:e})=>e),ewh=(0,tt.Ay)(i$.Ay)(["border-radius:",";"],te.Kz["3XL"]),ewx=tt.Ay.div(["position:absolute;display:flex;align-items:center;left:0;right:0;justify-content:center;",""],tQ.A.IphoneSE`
5390    position: unset;
5391  `);var ewm=((w={}).audio="audio",w.video="video",w);let ewg=e=>{let t=["useGetStream",e],i=(0,R.useRef)(),r=(0,iY.jE)(),n=(0,R.useCallback)(async e=>{for(let t of e.getTracks())t.stop()},[]),o=(0,R.useCallback)(async()=>{i.current&&n(i.current),r.setQueryData(t,null)},[t,r]),{data:a,isLoading:l,refetch:s}=(0,r2.I)({queryKey:t,queryFn:async()=>{try{let t=await navigator.mediaDevices.getUserMedia((e=>{switch(e){case"audio":return{audio:!0,video:!1};case"video":return{video:{width:{ideal:1080},height:{ideal:720},frameRate:{ideal:24},facingMode:{ideal:"user"}},audio:!0}}})(e));return i.current&&n(i.current),i.current=t,t.getTracks().forEach(e=>{e.addEventListener("ended",o)}),t}catch(e){return console.error(e),null}},enabled:!1,staleTime:1/0,retry:0});return{stream:(()=>{if(!a||!1!==a.active)return a})(),isGettingPermission:l,askForPermission:s,disableStream:o}},ewy=navigator.userAgent.includes("Chrome")&&navigator.vendor.includes("Google Inc");function ewf(e,t){let[i,r]=(0,R.useState)("denied");return(0,R.useEffect)(()=>{let i;return(async()=>{try{ewy?(i=await navigator.permissions.query({name:e}),r(i.state),i.onchange=()=>{r(i.state),t&&t(i.state)}):r("granted")}catch(e){console.error(e),r("denied")}})(),()=>{i&&(i.onchange=null)}},[e]),i}let ewb=tt.Ay.div(["",";",";color:",";margin-bottom:24px;"],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90),ew_=tt.Ay.div(["display:flex;justify-content:center;"]),ewv=tt.Ay.div(["position:relative;"]),ewj=tt.Ay.video(["flex-direction:column;max-width:304px;border-radius:10px;overflow:hidden;",";"],tQ.A.Phone`
5392    max-width: 220px;
5393  `),ewA=tt.Ay.div(["position:absolute;bottom:11px;left:11px;"]),ewC=tt.Ay.div(["background:",";margin-top:24px;width:304px;height:228px;border-radius:10px;overflow:hidden;"],te.Jy.Neutral90),eww=tt.Ay.div(["margin-right:8px;& svg{fill:none;}"]),ewk=tt.Ay.span(["",";",";color:",";",";padding-bottom:16px;display:inline-block;"],td.Ay.Caption,td.BO.Medium,te.Jy.Blue50,tQ.A.Hover`
5394    &:hover {
5395      cursor: pointer;
5396    }
5397  `),ewS=tt.Ay.div(["padding:24px 0;"]),ewT=tt.Ay.div(["",";",";width:304px;height:fit-content;border-radius:10px;overflow:hidden;height:24px;width:100%;align-items:center;display:flex;"],td.Ay.Body,td.BO.Regular),ewP=tt.Ay.div(["",";",";padding-top:12px;width:304px;height:fit-content;border-radius:10px;overflow:hidden;color:",";text-align:center;"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50),ewJ=(0,tt.Ay)(i$.Ay)(["width:100%;"]),ewE=(0,tt.Ay)(ewJ)(["margin-top:8px;width:100%;"]),ewR=tt.Ay.div(["display:flex;"]),ewL=tt.Ay.img(["margin:16px 0;"]);var ewN=i.p+"media/TestSound50782d1bec428be4.webm",ewI=i.p+"media/webcam_off2778d4381bea00cc.svg",ewM=i.p+"media/webcam_on585481c0eeb613d3.svg";let ewB="builder.interview_prep_view.video_mic_modal",ewD=({handleWelcome:e})=>{let t=(0,L.Zp)(),i=(0,R.useRef)(null),r=(0,R.useRef)(null),{i18n:n}=(0,e1.s)(),o=(0,eU.wA)(),a=ewg(ewm.audio),l=ewg(ewm.video),s=a?.stream?.active;function d(e){"granted"===e&&(l.askForPermission(),a.askForPermission())}ewf("camera",d),ewf("microphone",d),(0,R.useEffect)(()=>{null===l.stream&&a.askForPermission()},[l?.stream]),(0,R.useEffect)(()=>{i.current&&l.stream&&(i.current.srcObject=l.stream)},[l.stream]);let c=()=>{e&&e()};return(0,J.jsxs)(ev8,{onClose:()=>{if(!s)return t("/interview-preparation/dashboard");c()},width:352,title:(0,J.jsx)(ewb,{children:n.t(`${ewB}.title`)}),disableAnimation:!0,children:[(0,J.jsx)(aH.QP,{content:n.t(`${ewB}.hint`),multiline:!0,children:(0,J.jsx)(ew_,{children:(0,J.jsx)(ewv,{children:l.stream?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ewA,{children:(0,J.jsx)("img",{src:ewM})}
5397),(0,J.jsx)(ewj,{ref:i,autoPlay:!0,muted:!0,playsInline:!0})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ewA,{children:(0,J.jsx)("img",{src:ewI})}),(0,J.jsx)(ewC,{})]})})})}),(0,J.jsxs)(ewS,{children:[(0,J.jsxs)(ewR,{children:[(0,J.jsx)(eww,{children:(0,J.jsx)(tP.Ay.Sound,{})}),(0,J.jsxs)("div",{children:[(0,J.jsx)(ewT,{children:n.t(`${ewB}.sound`)}),(0,J.jsx)(ewk,{onClick:()=>{r.current?.play()},children:n.t(`${ewB}.sound_test`)})]})]}),(0,J.jsx)(ewR,{children:s?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eww,{children:(0,J.jsx)(tP.Ay.Mic,{})}),(0,J.jsx)(ewT,{children:n.t(`${ewB}.mic`)})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eww,{children:(0,J.jsx)(tP.Ay.MicClosed,{color:te.Jy.Red50})}),(0,J.jsx)(ewT,{children:n.t(`${ewB}.micFail`)})]})})]}),(0,J.jsx)(ewJ,{theme:i$.Ox.ghost,onClick:()=>{o(e9.o1.setInterviewPlayerModal(ewo.Wf.permission_modal_help))},children:n.t(`${ewB}.need_help`)}),(0,J.jsx)(ewE,{isDisabled:!s,onClick:c,children:n.t(`${ewB}.all_good`)}),(0,J.jsx)(ewP,{children:n.t(`${ewB}.hint`)}),(0,J.jsx)("audio",{src:ewN,ref:r})]})};var ew$=i.p+"media/Imagee44d3a2631ef4ba4.svg";let ewO="builder.interview_prep_view.video_mic_modal",ewz=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)();return(0,J.jsxs)(ev8,{onClose:()=>{t(e9.o1.setInterviewPlayerModal(ewo.Wf.permission_modal_initial))},width:352,title:(0,J.jsx)(ewb,{children:e.t(`${ewO}.help_title`)}),disableAnimation:!0,children:[(0,J.jsx)(ewL,{src:ew$}),e.t(`${ewO}.help_content`),(0,J.jsx)(ewE,{onClick:()=>{t(e9.o1.setInterviewPlayerModal(ewo.Wf.permission_modal_initial))},children:e.t(`${ewO}.dismiss`)})]})};td.Ay.S,td.BO.DemiBold;let ewF=tt.Ay.div(["",";color:",";padding-bottom:20px;padding-top:4px;"],td.BO.Regular,te.Jy.Neutral50),ewH=tt.Ay.div(["display:flex;gap:10px;justify-content:flex-end;"]),ewV="builder.interview_prep_view.interview_player_v2.close_modal",ewU=({handleInterruptedRecordingAnswer:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),r=()=>i(e9.o1.setInterviewPlayerModal(null));return(0,J.jsxs)(nX.a,{onClose:r,title:t.t(`${ewV}.title`),children:[(0,J.jsx)(ewF,{children:t.t(`${ewV}.content`)}),(0,J.jsxs)(ewH,{children:[(0,J.jsx)(i$.Ay,{theme:"ghost",onClick:e,children:t.t(`${ewV}.leave`)}),(0,J.jsx)(i$.Ay,{onClick:r,children:t.t(`${ewV}.keep_preparing`)})]})]})},ewW=(0,tt.i7)(["0%{background-color:",";top:0px;}16%{background-color:",";top:20px;}32%{background-color:",";top:20px;}48%{background-color:",";top:20px;}64%{background-color:",";top:40px;}80%{background-color:",";top:40px;width:23px;border-top-right-radius:4px;border-bottom-right-radius:4px;}100%{background-color:",";top:40px;width:28px;border-top-right-radius:0;border-bottom-right-radius:0;}"],te.Jy.White,te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20,te.Jy.Blue20),ewK=(0,tt.i7)(["0%{background-color:",";top:0px;margin-left:10px;}16%{background-color:",";top:0px;margin-left:10px;}32%{background-color:",";top:20px;margin-left:10px;}48%{background-color:",";top:40px;margin-left:10px;}64%{background-color:",";top:40px;margin-left:10px;}80%{background-color:",";top:40px;margin-left:10px;width:23px;border-top-left-radius:4px;border-bottom-left-radius:4px;}100%{background-color:",";top:40px;margin-left:0px;width:28px;border-top-left-radius:0;border-bottom-left-radius:0;}"],te.Jy.White,te.Jy.White,te.Jy.Blue40,te.Jy.Blue40,te.Jy.Blue40,te.Jy.Blue40,te.Jy.Blue20),ewq=tt.Ay.div(["position:relative;width:23px;height:23px;border-radius:4px;"]),ewG=tt.Ay.div(["display:flex;height:64px;"]),ewZ=(0,tt.Ay)(ewq)(["animation:2s "," ease-in-out;animation-iteration-count:infinite;"],ewW),ewX=(0,tt.Ay)(ewq)(["animation:2s "," ease-in-out;animation-iteration-count:infinite;"],ewK),ewQ=()=>(0,J.jsxs)(ewG,{children:[(0,J.jsx)(ewZ,{}),(0,J.jsx)(ewX,{})]});var ewY=i(99901);let ew0=tt.Ay.div(["display:flex;gap:4px;justify-content:space-between;width:100%;position:sticky;top:0;background:",";z-index:2;",";",";",";"],te.Jy.White,tQ.A.AboveTablet`
5398    padding: 25px;
5399  `,tQ.A.Tablet`
5400    padding: 16px;
5401  `,tQ.A.Phone`
5402    padding: 12px;
5403  `),ew1=(0,tt.Ay)(tP.Ay.Close)(["width:40px;height:40px;padding:8px;color:",";cursor:pointer;flex-shrink:0;z-index:1;"],te.Jy.Neutral40),ew2=({onCloseClick:e,showCloseIcon:t=!0,children:i})=>(0,J.jsxs)(ew0,{children:[(0,J.jsx)(sc.A,{id:ewY.h,variant:"default"}),i,t&&(0,J.jsx)(ew1,{onClick:e})]}),ew3=tt.Ay.div(["background:",";width:100%;overflow:hidden;position:fixed;top:0;right:0;left:0;bottom:0;z-index:2000;display:flex;flex-direction:column;padding:0 20px;"],te.Jy.White),ew5=tt.Ay.div(["position:fixed;top:0;left:0;right:0;display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;margin:0 20px;"]),ew4=tt.Ay.div(["",";",";margin-top:30px;margin-bottom:15px;max-width:70%;text-align:center;"],td.Ay.M,td.BO.Medium),ew6=tt.Ay.div(["color:",";max-width:","px;text-align:center;"],te.Jy.Neutral50,({$width:e})=>e||420),ew8=({content:e})=>{let t=(0,L.Zp)();return(0,J.jsxs)(ew3,{children:[(0,J.jsx)(ew2,{onCloseClick:()=>t("/interview-preparation/dashboard")}),(0,J.jsxs)(ew5,{children:[(0,J.jsx)(ewQ,{}),(0,J.jsx)(ew4,{children:e.title}),(0,J.jsx)(ew6,{$width:e.customContentWidth,children:e.content})]})]})},ew9="builder.interview_prep_view.interview_player_v2.loading_start_screen",ew7=()=>{let{i18n:e}=(0,e1.s)(),[t,i]=(0,R.useState)(0),r=(0,eU.wA)(),{data:n}=eCR({interviewId:(0,eU.d4)(e9.Tp.interviewId)}),{showAllPhrases:o}=(0,eU.d4)(e9.Tp.interviewPlayer),a=!!(n?.payload.real_company&&n?.payload.company_name),l=(0,R.useMemo)(()=>[{title:e.t(`${ew9}.step1.title`),content:e.t(`${ew9}.step1.subtitle`,{companyName:a?n?.payload.company_name:""})},{title:e.t(`${ew9}.step2.title`),content:e.t(`${ew9}.step2.subtitle`,{companyName:a?n?.payload.company_name:""})},{title:e.t(`${ew9}.step3.title`),content:e.t(`${ew9}.step3.subtitle`,{companyName:a?n?.payload.company_name:""})}],[e,a,n?.payload.company_name]);return((0,R.useEffect)(()=>{let e=!0;return async function(){if(await ewa(3e3),e){let e=(t+1)%l.length;if(!o&&t===l.length-1&&0===e)return r(e9.o1.setInterviewPlayerShowAllPhrases(!0));i(e)}}(),()=>{e=!1}},[t,l]),l.length===t)?null:(0,J.jsx)(ew8,{content:l[t]})},eke="builder.interview_prep_view.interview_player_v2.loading_end_screen",ekt=()=>{let{i18n:e}=(0,e1.s)(),t=(0,L.zy)(),i=(0,R.useMemo)(()=>t.state?.startPageType?{title:"generating_your_results",subtitle:"generating_your_results_subtitle"}:{title:"congratulations",subtitle:"congratulations_subtitle"},[t.state?.startPageType]);return(0,J.jsx)("div",{children:(0,J.jsx)(ew8,{content:{title:e.t(`${eke}.${i.title}`),content:e.t(`${eke}.${i.subtitle}`),customContentWidth:500}})})},eki="builder.interview_prep_view.interview_player_v2.interrupted_loading_modal",ekr=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsx)("div",{children:(0,J.jsx)(ew8,{content:{title:e.t(`${eki}.title`),content:e.t(`${eki}.subtitle`),customContentWidth:500}})})},ekn=e=>{if(0===e)return"00:00";let t=Math.floor(e/60),i=Math.floor(e%60);return`${t.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`};td.Ay.S,td.BO.DemiBold;let eko=tt.Ay.div(["",";color:",";padding-bottom:20px;padding-top:4px;"],td.BO.Regular,te.Jy.Neutral50),eka=tt.Ay.div(["display:flex;gap:10px;justify-content:flex-end;"]),ekl="builder.interview_prep_view.interview_player_v2.session_modal",eks=({handleInterruptedRecordingAnswer:e,handleSession:t,interviewPlayerStatus:i})=>{let{i18n:r}=(0,e1.s)(),n=(0,eU.wA)(),[o,a]=(0,R.useState)(60),l=(0,R.useRef)(null);return(0,R.useEffect)(()=>(l.current=setInterval(()=>{a(e=>Math.max(0,e-1))},1e3),()=>{l.current&&clearInterval(l.current)}),[]),(0,R.useEffect)(()=>{0===o&&l.current&&(clearInterval(l.current),l.current=null)},[o]),(0,R.useEffect)(()=>{i===ewo.NN.stop_recording_answer&&a(0)},[i]),(0,J.jsxs)(nX.a,{onClose:()=>n(e9.o1.setInterviewPlayerModal(null)),title:r.t(`${ekl}.title`),children:[(0,J.jsx)(eko,{children:r.t(`${ekl}.content`,{time:ekn(o)})}),(0,J.jsxs)(eka,{children:[(0,J.jsx)(i$.Ay,{theme:"ghost",onClick:e,children:r.t(`${ekl}.leave`)}),(0,J.jsx)(i$.Ay,{onClick:t,children:r.t(`${ekl}.stay_connected`)})]})]})},ekd=tt.Ay.div(["width:100%;height:100%;background:rgba(247,249,252,0.5);backdrop-filter:blur(15px);position:fixed;top:0;left:0;z-index:1555;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;overflow:hidden;z-index:2000;"]),ekc=tt.Ay.div(["",";",";color:",";"],td.BO.Medium,td.Ay.Subhead,te.Jy.Neutral100),eku=tt.Ay.div(["",";",";color:",";width:356px;text-align:center;margin-top:20px;"],td.BO.Regular,td.Ay.Subhead,te.Jy.Neutral70),ekp=(0,tt.i7)(["0%{transform:scale(1);}50%{transform:scale(2);}100%{transform:scale(1);}"]),ekh=tt.Ay.div(["width:100px;height:100px;background-color:rgba(26,145,240,0.5);border-radius:50%;animation:"," 2s infinite ease-in-out;position:absolute;filter:blur(30px);
5403"],ekp),ekx="builder.interview_prep_view.interview_player_v2",ekm=()=>{let{i18n:e}=(0,e1.s)(),t=(0,R.useMemo)(()=>{let t=Math.floor(3*Math.random());return{header:e.t(`${ekx}.question_interval_messages.message_${t}.header`),body:e.t(`${ekx}.question_interval_messages.message_${t}.body`)}},[]);return(0,J.jsxs)(ekd,{children:[(0,J.jsx)(ekh,{}),(0,J.jsx)(ekc,{children:t.header}),(0,J.jsx)(eku,{children:t.body})]})},ekg=e=>{let{modal:t}=(0,eW.N)(e9.Tp.interviewPlayer);switch(t){case ewo.Wf.loading_start:return(0,J.jsx)(ew7,{});case ewo.Wf.loading_interrupted_interview:return(0,J.jsx)(ekr,{});case ewo.Wf.loading_end:return(0,J.jsx)(ekt,{});case ewo.Wf.permission_modal_initial:return(0,J.jsx)(ewD,{...e});case ewo.Wf.permission_modal_help:return(0,J.jsx)(ewz,{});case ewo.Wf.close_modal:return(0,J.jsx)(ewU,{...e});case ewo.Wf.session_modal:return(0,J.jsx)(eks,{...e});case ewo.Wf.question_interval:return(0,J.jsx)(ekm,{});default:return null}},eky=tt.Ay.div(["display:inline-flex;height:50px;border-radius:",";background-color:",";padding:1px;align-items:center;width:fit-content;"],te.Kz["3XL"],te.Jy.Neutral10),ekf=tt.Ay.div(["padding-left:16px;padding-right:11px;min-width:72px;",";",";color:",";",""],td.Ay.Body,td.BO.Medium,te.Jy.Neutral80,({$isPaused:e})=>e&&(0,tt.AH)(["color:",";"],te.Jy.Neutral50)),ekb=tt.Ay.div(["cursor:pointer;background-color:",";border-radius:50%;color:",";margin:1px 0;padding:13px 14px;&:hover{background-color:",";}",""],te.Jy.Neutral15,te.Jy.Neutral90,te.Jy.Neutral20,({$isPaused:e})=>e&&(0,tt.AH)(["background-color:",";color:",";&:hover{background-color:",";}
5403"],te.Jy.Blue50,te.Jy.White,te.Jy.Blue50)),ek_=e=>(0,J.jsxs)(eky,{children:[(0,J.jsx)(ekf,{$isPaused:!e.running,children:ekn(e.seconds)}),e.showButton&&(0,J.jsx)(ekb,{$isPaused:!e.running,onClick:e.running?e.onPause:e.onResume,style:{zIndex:1},children:e.running?(0,J.jsx)(tP.EK.Pause,{}):(0,J.jsx)(tP.EK.Play,{})})]});var ekv=i.p+"media/mic_off93d6691a1efb454a.svg",ekj=i.p+"media/mic_on3a4b0f2f488eacdc.svg",ekA=i.p+"media/webcam_off96ba4f81334c9fae.svg",ekC=i.p+"media/webcam_on75e9e5d5bfee2aed.svg";let ekw=tt.Ay.div(["position:relative;border-radius:",";overflow:hidden;left:0;"],te.Kz.L),ekk=tt.Ay.video(["border-radius:10px;overflow:hidden;max-height:150px;min-height:80px;overflow:hidden;"]),ekS=tt.Ay.video(["background-color:",";width:100%;height:100%;"],te.Jy.Neutral100),ekT=tt.Ay.div(["position:absolute;right:8px;top:8px;display:flex;gap:3px;align-items:center;background-color:rgba(0,0,0,0.1);border-radius:",";padding:8px;",";color:",";",";"],te.Kz["3XL"],td.Ay.Caption,te.Jy.White,td.BO.Medium),ekP=tt.Ay.div(["width:11px;height:11px;background-color:",";border-radius:50%;"],te.Jy.Red60),ekJ=tt.Ay.div(["position:absolute;right:0;bottom:0;display:flex;color:",";gap:2px;margin-right:9px;margin-bottom:9px;"],te.Jy.White),ekE=tt.Ay.div(["height:53px;width:53px;background-color:rgba(0,0,0,0.1);display:flex;justify-content:center;align-items:center;border-radius:50%;cursor:pointer;&:hover{background-color:rgba(0,0,0,0.15);}"," ",""],({$disabled:e})=>e&&"background-color: rgba(0, 0, 0, 0.2)",tQ.A.Tablet`
5404    height: 40px;
5405    width: 40px;
5406  `),ekR=({isRecording:e})=>{let t=ewg(ewm.audio),i=ewg(ewm.video),[r,n]=(0,R.useState)(!0),[o,a]=(0,R.useState)(!0),l=(0,R.useRef)(null),{i18n:s}=(0,e1.s)();return(0,R.useEffect)(()=>{l.current&&i.stream&&(l.current.srcObject=i.stream)},[i.stream]),(0,J.jsxs)(ekw,{children:[i.stream?.active?(0,J.jsx)(ekk,{ref:l,autoPlay:!0,muted:!0,playsInline:!0}):(0,J.jsx)(ekS,{}),e&&(0,J.jsxs)(ekT,{children:[(0,J.jsx)(ekP,{})," ",s.t("builder.interview_prep_view.interview_player_v2.webcam.rec")]}),(0,J.jsxs)(ekJ,{children:[(0,J.jsx)(ekE,{$disabled:!t.stream?.active,onClick:()=>{n(!r),t.stream?.getAudioTracks().forEach(e=>{e.enabled=!r}),i.stream?.getAudioTracks().forEach(e=>{e.enabled=!r})},children:(0,J.jsx)("img",{src:r?ekj:ekv})}),(0,J.jsx)(ekE,{$disabled:!i.stream?.active,onClick:()=>{a(!o),i.stream?.getVideoTracks().forEach(e=>{e.enabled=!o})},children:(0,J.jsx)("img",{src:o?ekC:ekA})})]})]})},ekL=tt.Ay.div(["position:fixed;bottom:82px;z-index:1555;left:0;right:0;display:flex;justify-content:",";padding:0 20px;"],({$align:e})=>e),ekN=tt.Ay.div(["",";",";display:inline-flex;align-items:flex-start;border-radius:8px;box-shadow:0px 8px 20px -4px rgba(15,20,30,0.24),0px 2px 4px -1px rgba(15,20,30,0.16);background-color:",";color:",";display:inline-flex;overflow:hidden;z-index:2;"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90,te.Jy.White),ekI=tt.Ay.div(["padding:"," ",";height:100%;display:flex;align-items:center;",""],te.Kz.XS,te.Kz.S,({$enabledHover:e})=>e&&tQ.A.Hover`
5407    &:hover  {
5408      background: ${te.Jy.Neutral80};
5409      cursor: pointer;
5410    }
5411  `),ekM=tt.Ay.div(["width:1px;height:100%;background:",";"],te.Jy.Neutral70),ekB="builder.interview_prep_view.interview_player_v2.snackbar",ekD=({text:e,onNoClick:t,onYesClick:i,align:r})=>{let{i18n:n}=(0,e1.s)();return(0,J.jsx)(ekL,{$align:r,children:(0,J.jsxs)(ekN,{children:[(0,J.jsx)(ekI,{children:e}),(0,J.jsx)(ekM,{}),(0,J.jsx)(ekI,{$enabledHover:!0,onClick:t,children:n.t(`${ekB}.no_word`)}),(0,J.jsx)(ekI,{$enabledHover:!0,onClick:i,children:n.t(`${ekB}.yes_word`)})]})})},ek$=tt.Ay.div(["z-index:1;display:inline-flex;background-color:",";border-radius:",";padding:"," ",";",";",";color:",";gap:10px;height:50px;align-items:center;cursor:pointer;width:fit-content;&:hover{background-color:",";}",""],te.Jy.Neutral10,te.Kz["3XL"],te.Kz.XS,te.Kz.S,td.Ay.Body,td.BO.Medium,te.Jy.Neutral100,te.Jy.Neutral15,({$isPrimary:e})=>e&&(0,tt.AH)(["background-color:",";color:",";&:hover{background-color:",";}"],te.Jy.Blue10,te.Jy.Blue50,te.Jy.Blue20)),ekO=({onClick:e,text:t,icon:i,isPrimary:r=!1})=>(0,J.jsxs)(ek$,{$isPrimary:r,onClick:e,children:[t," ",i]}),ekz=tt.Ay.div(["display:flex;gap:8px;justify-content:center;align-items:center;height:50px;"]),ekF=tt.Ay.div(["display:flex;height:50px;justify-content:center;align-items:center;color:",";",";",";padding:"," ",";background-color:",";border-radius:",";"],te.Jy.Neutral80,td.Ay.Body,td.BO.Medium,te.Kz.XS,te.Kz.S,te.Jy.White,te.Kz["3XL"]),ekH=(0,tt.Ay)(tP.EK.ChevronDown)(["transform:rotate(270deg);"]),ekV="builder.interview_prep_view.interview_player_v2",ekU=({currentQuestionIndex:e,onClickNext:t,showNextButton:i,interview:r})=>{let{i18n:n}=(0,e1.s)(),o=eAm(r?.payload);return r?.isReady?(0,J.jsxs)(ekz,{children:[(0,J.jsx)(ekF,{children:`${e+1} ${n.t(`${ekV}.of_preposition`)} ${o?.totalQuestions}`}),i&&e+1!==o?.totalQuestions&&(0,J.jsx)(ekO,{text:n.t(`${ekV}.next`),onClick:t,icon:(0,J.jsx)(ekH,{})})]}):null},ekW=tt.Ay.div(["position:absolute;
5411left:0;top:0;bottom:0;z-index:650;background-color:",";"],te.Jy.White),ekK=tt.Ay.div(["width:236px;background-color:",";height:50px;display:flex;align-items:center;padding-left:10px;"],te.Jy.White),ekq=(0,tt.Ay)(tP.Ay.Close)(["cursor:pointer;"]),ekG=({onClose:e,onClick:t})=>{let i=(0,R.useRef)(null);return(0,oO.L)(i,e),(0,J.jsxs)(ekW,{ref:i,children:[(0,J.jsx)(ekK,{children:(0,J.jsx)(ekq,{onClick:e})}),(0,J.jsx)(EG,{isOpen:!0,width:"236px",onClickLink:t})]})},ekZ=tt.Ay.div(["position:relative;display:inline-flex;gap:4px;"," ",""],tQ.A.Tablet`
5412    margin-bottom: ${te.Kz.L};
5413  `,tQ.A.Phone`
5414    display: none;
5415  `),ekX=tt.Ay.div(["gap:4px;width:fit-content;height:fit-content;border-radius:32px;color:",";padding:8px;cursor:pointer;&:hover{background-color:",";color:",";}&:active{background-color:",";color:",";}"],te.Jy.Neutral80,te.Jy.Blue10,te.Jy.Blue50,te.Jy.Blue20,te.Jy.Blue60),ekQ=tt.Ay.div(["width:fit-content;height:fit-content;padding:8px ",";cursor:pointer;border-radius:32px;&:hover{background-color:",";color:",";}&:active{background-color:",";color:",";}"],te.Kz.S,te.Jy.Blue10,te.Jy.Blue50,te.Jy.Blue20,te.Jy.Blue60),ekY=tt.Ay.div(["position:absolute;right:0;display:none;border-radius:100%;cursor:pointer;width:40px;height:40px;"," &:hover{background-color:",";color:",";}"],tQ.A.Tablet`
5416    display: flex;
5417    justify-content: center;
5418    align-items: center;
5419  `,te.Jy.Blue10,te.Jy.Blue50);(0,tt.Ay)(tP.Ay.Close)(["min-width:40px;min-height:40px;padding:8px;border-radius:50%;background-color:",";cursor:pointer;"],te.Jy.Neutral15);let ek0=({onClose:e})=>{let{i18n:t}=(0,e1.s)(),[i,r]=(0,R.useState)(!1),n=(0,L.Zp)();return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(ekZ,{children:[(0,J.jsx)(ekX,{onClick:()=>r(!0),children:(0,J.jsx)(qz.DashboardBuilder,{})}),(0,J.jsx)(ekQ,{onClick:e,children:t.t("builder.interview_prep_view.interview_player_v2.navbar.dashboard")}),(0,J.jsx)(ekY,{onClick:e,children:(0,J.jsx)(tP.EK.Close,{})})]}),i&&(0,J.jsx)(ekG,{onClose:()=>r(!1),onClick:e=>{n(e)}})]})},ek1=tt.Ay.div(["display:inline-flex;flex-direction:column;white-space:nowrap;"]),ek2=tt.Ay.div(["display:flex;gap:5px;height:41px;",";",";color:",";& *{vertical-align:middle;}"," ",""],td.Ay.Body,td.BO.Medium,te.Jy.Neutral80,tQ.A.AboveTablet`
5420    justify-content: center;
5421    align-items: center;
5422  `,tQ.A.Tablet`
5423    flex-direction: column;
5424  `),ek3=tt.Ay.div(["display:inline-flex;padding:0px 5px;",""],tQ.A.Tablet`
5425   padding-left: 0px;
5426   padding-right: 5px;
5427  `),ek5=tt.Ay.div(["display:inline-flex;"," ",""],tQ.A.AboveTablet`
5428    ${td.Ay.Body};
5429    ${td.BO.Medium};
5430    color: ${te.Jy.Neutral80};
5431  `,tQ.A.Tablet`
5432    ${td.Ay.Caption};
5433    ${td.BO.Regular};
5434    color: ${te.Jy.Neutral40};
5435    padding-left: 0px;
5436    padding-right: 5px;
5437  `),ek4=tt.Ay.span(["display:none;",""],tQ.A.AboveTablet`
5438    display: unset;
5439  `),ek6=({jobTitle:e,logoUrl:t,companyName:i})=>{let{i18n:r}=(0,e1.s)();return(0,J.jsx)(ek1,{children:e&&(0,J.jsxs)(ek2,{children:[e,"\xa0",(0,J.jsx)(ek5,{children:i&&(0,J.jsxs)("div",{children:[(0,J.jsx)(ek4,{children:r.t("builder.interview_prep_view.interview_player_v2.job_title.at_preposition")}),(0,J.jsx)(ek3,{children:(0,J.jsx)(eAb,{src:t})}),i]})})]})})},ek8=tt.Ay.div(["",";"," color:",";text-align:center;max-width:580px;"," ",""],td.BO.Medium,({$size:e})=>e,te.Jy.Neutral90,tQ.A.Tablet`
5440    max-width: 461px;
5441 `,tQ.A.Phone`
5442    max-width: 363px;
5443  `),ek9=[td.Ay.L,td.Ay.M,td.Ay.S,td.Ay.Subhead,td.Ay.Body],ek7=({text:e,parentNode:t,html:i})=>{let[r,n]=(0,R.useState)(0),[o,a]=(0,R.useState)(!1),l=ek9[r];return((0,R.useEffect)(()=>{let e=()=>{n(0),a(!1)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,R.useLayoutEffect)(()=>{!o&&e&&t&&((t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth?0:1)||!(r+1<ek9.length)?a(!0):n(e=>e+1))},[l,o,e,t,r]),i)?(0,J.jsx)(ek8,{$size:l,dangerouslySetInnerHTML:{__html:i},children:e}):(0,J.jsx)(ek8,{$size:l,children:e})};i(16573),i(78100),i(77936),i(21903),i(91134),i(28845),i(37467),i(44732),i(79577);let eSe="EVENT_VOICE_ANIMATION_FOR_INTERVIEW_PREP",eSt=(e,t)=>
5443{let i=new CustomEvent(e,{detail:t});window.dispatchEvent(i)},eSi=["audio/wav","audio/mpeg"];class eSr{bufferSource;startedAudio=!1;stopSound(){this.startedAudio&&(this.bufferSource.stop(),this.startedAudio=!1,eSt(eSe,{type:"reset"}))}async playAudioFromAudioBuffer(e,t){return new Promise(async i=>{eSt(eSe,{type:"reset"}),this.bufferSource=e.createBufferSource(),this.bufferSource.buffer=t;let r=e.createGain();this.bufferSource.connect(r),r.connect(e.destination);let n=e.createAnalyser();n.fftSize=2048,this.bufferSource.connect(n),this.bufferSource.connect(e.destination),this.bufferSource.start(),this.startedAudio=!0;let o=new Uint8Array(n.frequencyBinCount);eSt(eSe,{type:"playing",waveform:o,analyser:n}),this.bufferSource.onended=()=>{eSt(eSe,{type:"reset",waveform:o,analyser:n}),i(void 0)}})}async playAudioFromBlob(e){if(!eSi.includes(e.type))return;let t=new AudioContext;return new Promise(i=>{let r=new FileReader;r.readAsArrayBuffer(e),r.onload=async e=>{let r=e.target?.result;if(r instanceof ArrayBuffer){let e=await t.decodeAudioData(r);await this.playAudioFromAudioBuffer(t,e)}i()}})}}let eSn=async(e,t)=>(await Y.R3.get(`/interview_prep/interviews/${e}/questions/${t}/stream_audio`,{responseType:"blob",timeout:3e4})).data,eSo=async e=>{let t=await fetch(e||"");return await t.blob()},eSa=(0,tt.Ay)(lh.E)(["position:absolute;height:","px;display:inline-flex;padding:",";border-radius:",";",";"," "," top:calc(-1 * (","px + 8px));",""],"48",te.Kz.XS,te.Kz["3XL"],td.Ay.Body,td.BO.Medium,({$color:e})=>e&&`color: ${e};`,"48",tQ.A.Phone`
5444    top: calc(-1 * (${"48"}px + 4px));
5445  `),eSl=tt.Ay.img(["height:19px;margin:0 5px;"]);var eSs=i.p+"media/play-emoji99d5159ee8340f4c.png",eSd=i.p+"media/leaf-fluttering-in-wind-emojia1910e0687ecba44.png",eSc=i.p+"media/fire-emoji94cc31b806782805.png";let eSu="builder.interview_prep_view.interview_player_v2.badge",eSp=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(eSa,{variant:"blue",size:"medium",$color:te.Jy.Neutral80,children:[(0,J.jsx)(eSl,{src:eSs})," ",e.t(`${eSu}.hit_play_to_continue`)]})},eSh=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(eSa,{variant:"green",size:"medium",children:[(0,J.jsx)(eSl,{src:eSd})," ",e.t(`${eSu}.great_timing`)]})},eSx=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(eSa,{variant:"orange",size:"medium",children:[(0,J.jsx)(eSl,{src:eSc})," ",e.t(`${eSu}.hurry_up`)]})},eSm=({badge:e})=>{switch(e){case ewo.m8.hit_play_to_continue:return(0,J.jsx)(eSp,{});case ewo.m8.great_timing:return(0,J.jsx)(eSh,{});case ewo.m8.hurry_up:return(0,J.jsx)(eSx,{});default:return null}};function eSg(e,t){return new MediaRecorder(e,{mimeType:("video"===t?["video/webm","video/mp4"]:["video/webm","audio/mp4"]).find(MediaRecorder.isTypeSupported)})}function eSy(e,t){return new Promise(i=>{let r=eSg(e,t);r.ondataavailable=e=>i(e.data.type),r.start(),setTimeout(()=>r.stop(),200)})}let eSf=({uploadBlobChunkPart:e,stream:t,media:i})=>{let r=(0,R.useRef)({}),n=e=>{let t=r.current[e];t&&t.durations.push({start:Date.now()})},o=e=>{let t=r.current[e];if(!t)return;let i=t.durations[t.durations.length-1];i?i.end=Date.now():E.A.log(Error("addEndTime called without matching start"),{tag:"interview-player-v2"})},a=(0,R.useCallback)(o=>new Promise(a=>{if(!t)return void a(void 0);if(r.current[o])throw Error("Must be executed one time only");if(!i)throw Error("Must have stream and media");let l=eSg(t,i),s={mediaRecorder:l,blobParts:[],totalBytes:0,durations:[],partSize:0};l.ondataavailable=t=>{let r=t.data.size;if(s.totalBytes+=r,s.partSize+=r,s.blobParts.push(t.data),s.partSize>=5242880){let t=new Blob(s.blobParts,{type:s.blobParts[0].type});s.blobParts=[],s.partSize=0,e({questionId:o,media:i,blob:t})}},l.onerror=e=>{E.A.log(e.error??Error("MediaRecorder error"),{tag:"interview-player-v2"})},l.onstart=()=>{let e;n(o),e=s.mediaRecorder.state,s.status=e,a(void 0)};try{l.start(3e3),r.current[o]=s}catch(e){E.A.log(e,{tag:"interview-player-v2"}),a(void 0)}}),[i,e,t]),l=(0,R.useCallback)(async n=>new Promise((a,l)=>{let s=r.current[n];if(!t||!s)return void a(void 0);let d=async()=>{if(o(n),s.mediaRecorder&&s.partSize>0){let t=new Blob(s.blobParts,{type:s.blobParts[0].type});try{await e({questionId:n,media:i,blob:t})}catch(e){l(e);return}}a({duration:s.durations.reduce((e,{start:t,end:i})=>e+(i||0)-t,0)/1e3,totalBytes:s.totalBytes})};s.mediaRecorder&&"inactive"!==s.mediaRecorder.state?(s.mediaRecorder.onstop=d,s.mediaRecorder.stop()):a(void 0)}),[i,e,t]),s=(0,R.useCallback)(async e=>{let i=r.current[e];!t||i&&i.mediaRecorder&&"recording"===i.mediaRecorder.state&&(o(e),i.mediaRecorder.pause())},[t]);return{start:a,stop:l,pause:s,resume:(0,R.useCallback)(async e=>{let i=r.current[e];!t||i&&i.mediaRecorder&&"paused"===i.mediaRecorder.state&&(n(e),i.mediaRecorder.resume())},[t]),reset:(0,R.useCallback)(async e=>{delete r.current[e]},[])}},eSb=tt.Ay.div(["position:relative;display:flex;justify-content:center;align-items:center;height:100%;width:100%;overflow:hidden;flex-direction:column;"]),eS_=tt.Ay.div(["will-change:width,height;background:",";border-radius:50%;position:absolute;z-index:1;height:124px;width:124px;transition:width 300ms ease-in-out,height 300ms ease-in-out;"],(0,ti.j)(te.Jy.Blue50,.1)),eSv=tt.Ay.div(["z-index:2;"]),eSj=({children:e})=>{let t=(0,R.useRef)(null),i=(0,R.useRef)(null),[r,n]=(0,R.useState)(5);return(0,R.useEffect)(()=>{let e=()=>{if(!t.current)return;let e=t.current.getBoundingClientRect();n(Math.max(1,Math.min(e.width,e.height)/124*.5))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,R.useEffect)(()=>{let e;i.current&&(i.current.style.width="0px",i.current.style.height="0px",
5445i.current.style.filter="blur(40px)");let t=t=>{if(i.current){if(t.detail.type===ewo.W_.playing){let n=t.detail.waveform,o=t.detail.analyser,a=()=>{if(!i.current)return;o.getByteTimeDomainData(n);let e=Math.abs(n.reduce((e,t)=>e+(t-128),0)/n.length);e<.1&&(e=.1),e>.7&&(e=.7);let t=124*(1+(e-.1)/.6*(r-1));i.current.style.width=`${Math.round(100*t)/100}px`,i.current.style.height=`${Math.round(100*t)/100}px`};a(),e=setInterval(a,300)}t.detail.type===ewo.W_.reset&&(clearInterval(e),i.current.style.width="0px",i.current.style.height="0px",i.current.style.filter="blur(40px)")}};return window.addEventListener(eSe,t),()=>{clearInterval(e),window.removeEventListener(eSe,t)}},[r]),(0,J.jsxs)(eSb,{ref:t,children:[(0,J.jsx)(eS_,{ref:i}),(0,J.jsx)(eSv,{children:e})]})};i(64979);class eSA{transcription="";speechRecognition;error=!1;mediaRecorder;ws;stream;audioContext;completePromise;constructor(e){this.stream=e}async setupAudioContext(){let e;try{this.audioContext=new AudioContext({sampleRate:48e3,latencyHint:"interactive"}),e=this.audioContext.createMediaStreamSource(this.stream)}catch(t){E.A.log(t,{tag:"interview-player-v2-audio-context-fallback"});try{this.audioContext&&"closed"!==this.audioContext.state&&await this.audioContext.close(),this.audioContext=new AudioContext({latencyHint:"interactive"}),e=this.audioContext.createMediaStreamSource(this.stream)}catch(e){throw E.A.log(e,{tag:"interview-player-v2-audio-context-fallback-fatal"}),this.audioContext&&"closed"!==this.audioContext.state&&await this.audioContext.close(),e}}let t=new URL(i(36704),i.b);await this.audioContext.audioWorklet.addModule(t);let r=new AudioWorkletNode(this.audioContext,"audio-chunk-processor");if(!e)throw Error("AudioContext source could not be created");return e.connect(r),r.connect(this.audioContext.destination),r}async #e(){let e,[t,i]=await Promise.all([this.setupAudioContext(),Y.R3.get("/interview_prep/ws/presigned_url")]);this.ws=new WebSocket(i.data.url),this.completePromise=(e=()=>void 0,{promise:new Promise(t=>e=t),resolve:e}),this.ws.onmessage=e=>{try{let t=JSON.parse(e.data);"transcription"===t.notification&&(this.transcription+=t.transcription),"server_end"===t.notification&&this.completePromise.resolve(!0)}catch(e){E.A.log(e,{tag:"interview-player-v2"})}},t.port.onmessage=async e=>{let t=new Uint8Array(e.data);if(this.ws.readyState===this.ws.OPEN){let e=btoa(String.fromCharCode.apply(null,t));this.ws.send(JSON.stringify({notification:"send_audio",audio_data:e}))}}}start(){return this.transcription="",this.#e()}async #t(){let e=this.audioContext,t=this.ws,i=this.completePromise;if(!e||!t||!i){e&&"closed"!==e.state&&await e.close();return}return"closed"!==e.state&&await e.close(),t.readyState===t.OPEN&&t.send(JSON.stringify({notification:"client_end"})),t.onclose=()=>i.resolve(!1),t.onerror=()=>i.resolve(!1),t.readyState===WebSocket.CLOSED&&i.resolve(!1),i.promise}pause(){this.#t()}resume(){return this.#e()}async stop(){return await this.#t(),this.transcription}}class eSC{static async start(e){let t;return t||(t=new eSA(e),await t.start()),t}}let eSw=async(e,t,i)=>(await Y.R3.get(`/interview_prep/interviews/${e}/questions/${t}/follow_up_questions`,{signal:i.signal})).data,eSk=async({interviewId:e,mainQuestionId:t,expectedFollowUpQuestionCount:i})=>await (({requestFunction:e,delayBetweenRequests:t=500,timeout:i})=>new Promise(async(r,n)=>{let o,a=e=>{e?.data?r(e.data):n(Error("Timeout polling"))};try{let r,n=new AbortController;for(o=await e(n),void 0!==i&&(r=setTimeout(()=>{n.abort(),a(o)},i));o.polling&&!n.signal.aborted;)await ewa(t),o=await e(n);clearTimeout(r),a(o)}catch(e){if(console.warn(e),Dq.A.isCancel(e))a(o);else throw e}}))({timeout:2e4,requestFunction:async r=>{let n=await eSw(e,t,r),o=n.follow_up_questions.sort((e,t)=>e.id-t.id);return{polling:!n.main_question.conversation_end&&i!==n.follow_up_questions.length,data:o[n.follow_up_questions.length-1]}}}),eSS="builder.interview_prep_view.interview_player_v2",eST=()=>{let e,t,i,{i18n:r}=(0,e1.s)(),n=(0,eU.wA)(),o=(0,L.Zp)(),{isPhone:a,isTablet:l}=(0,ih.e)(),s=(0,eU.d4)(e9.Tp.interviewId),d=(e=(0,R.useRef)(),t=(0,R.useCallback)(async t=>{e.current=await eSC.start(t)},[]),i=(0,R.useCallback)(()=>{e.current&&e.current.pause()},[]),{start:t,pause:i,resume:(0,R.useCallback)(()=>{e.current&&e.current.resume()},[]),stop:(0,R.useCallback)(()=>
5445{if(e.current)return e.current.stop()},[])}),{data:c}=eCR({interviewId:s}),u=c?.payload?.version||null,p=ewg(ewm.audio),h=ewg(ewm.video),x=(0,R.useRef)(null),{mutateAsync:m}=(0,dp.n)({mutationFn:async({interviewId:e,status:t})=>(await Y.R3.patch(`interview_prep/interviews/${e}`,{status:t})).data}),[g,y]=(0,R.useState)(null),[f,b]=(0,R.useState)(null),[_,v]=(0,R.useState)(!1),[j,A]=(0,R.useState)(ewo.NN.welcome),[C,w]=(0,R.useState)(),[k,S]=(0,R.useState)(),[T,P]=(0,R.useState)(),[I,M]=(0,R.useState)(),B=c?.isReady&&"number"==typeof g?c.payload.questions[g]:null,D=B?.base_question_id?B.base_question_id:B?.id,$=(0,eW.N)(e9.Tp.interviewPlayer),O=(()=>{let e,t,i,r,n=(0,R.useRef)({}),o=(0,R.useRef)([]),{mutateAsync:a}=(0,dp.n)({mutationFn:async e=>{let{partNumber:t,questionId:i}=e;return(await Y.R3.get(`/interview_prep/questions/${i}/answer?part_number=${t}`,{signal:e.signal})).data}}),{mutateAsync:l}=(0,dp.n)({mutationFn:async e=>{let{url:t,blob:i}=e;return await Dq.A.put(t,i,{signal:e.signal})}}),{mutateAsync:s}=(0,dp.n)({mutationFn:e=>Y.R3.post(`/interview_prep/questions/${e.questionId}/answer/complete_${e.type}`,{answer_duration:e.answerDuration,total_bytes:e.totalBytes,body:JSON.stringify({[e.type]:e.etags})},{signal:e.signal})}),{mutateAsync:d}=(e=ewg(ewm.audio),t=ewg(ewm.video),i=(0,R.useRef)(),r=(0,R.useRef)(),(0,R.useEffect)(()=>{(async()=>{void 0!==t.stream&&void 0!==e.stream&&(i.current=null===t.stream?Promise.resolve(""):eSy(t.stream,"video"),r.current=null===e.stream?Promise.resolve(""):eSy(e.stream,"audio"))})()},[t?.stream,e?.stream]),(0,dp.n)({mutationFn:async({questionId:e})=>{let[t,n]=await Promise.all([i.current||Promise.resolve(""),r.current||Promise.resolve("")]);return(await Y.R3.post(`/interview_prep/questions/${e}/answer`,{audio_content_type:n,video_content_type:t})).data},onSuccess:()=>{dO.q.invalidateQueries(["useQuestionTemplate"])}})),{mutateAsync:c}=(0,dp.n)({mutationFn:async e=>(await Y.R3.delete(`/interview_prep/questions/${e}/answer`)).data,onSuccess:()=>{dO.q.invalidateQueries(["useInterviews"]),dO.q.invalidateQueries(["useInterview"])}}),u=(0,R.useCallback)(e=>{if(e instanceof Error){if(o.current.includes(e))return;o.current.push(e),Dq.A.isAxiosError(e)&&(0,N.xP)("error_interview",{label:"interview_prep",code:e.code,url:(e.config||{}).url,name:e.name})}Dq.A.isAxiosError(e)&&"ERR_CANCELED"===e.code||E.A.log(e,{tag:"interview-player-v2"})},[]),p=(0,R.useCallback)(async({identify:e,tags:t,promise:i})=>{ejI.fd.operationFull({key:e,tags:t});let r=await i;return ejI.fd.operationEnd(e),r},[]),h=(0,R.useCallback)(async(e,t,i)=>{let r=n.current[e];if(!r)return;let o=a({questionId:e,answerId:t,partNumber:i,signal:r.abortController.signal}).catch(u);return r.presignedRequest[i]=p({identify:`presignedUrl-request-${e}`,operation:"presignedUrl-request",tags:r,promise:o}),r.presignedRequest[i]},[]),x=(0,R.useCallback)(async({questionId:e,media:t,preSignResponse:i,blob:r})=>{try{let o=n.current[e];if(!o)return;let a=o.requests[t],s=l({url:"video"===t?i.video_upload_url:i.audio_upload_url,blob:r,signal:o.abortController.signal}),d=p({identify:`chunk-request-${t}-${e}-${a.currentPart}`,operation:"chunk-request",tags:o,promise:s});return a.partRequests[a.currentPart]=d,a.currentPart++,d}catch(e){return u(e),Promise.reject(e)}},[]),m=(0,R.useCallback)(async(e,t,i)=>{try{let r=n.current[e];if(!r)return;if(r.requests[i].completedRequest)return E.A.log(Error("makeCompleteAnswerRequest called more than once"),{tag:"interview-player-v2"}),r.requests[i].completedRequest;let o=(async()=>{let n=await r.answerRequest,o=Object.entries(r.requests[i].partRequests).sort((e,t)=>Number(e[0])-Number(t[0])).map(([,e])=>e),a=(await Promise.all(o)).map((e,t)=>({part_number:t+1,etag:e.headers.etag||""}));return s({answerId:n.id,questionId:e,answerDuration:t.duration,totalBytes:t.totalBytes,type:i,etags:a,signal:r.abortController.signal})})();return r.requests[i].completedRequest=o,o}catch(e){return u(e),Promise.reject(e)}},[]),g=(0,R.useCallback)(({questionId:e})=>{if(n.current[e])throw Error("createNewAnswer already has data ");try{let t={questionId:e,answerRequest:d({questionId:e}),interruptedPromise:void 0,presignedRequest:{},isInterrupted:!1,abortController:new AbortController,requests:{video:{currentPart:1,partRequests:{},completedRequest:void 0,finishedRecordingPromise:void 0},audio:{currentPart:1,partRequests:{},completedRequest:void 0,finishedRecordingPromise:void 0}}};n.current[e]=t,t.answerRequest.then(t=>(h(e,t.id,1),t)).catch(u)}catch(e){return u(e),Promise.reject(e)}},[]),y=(0,R.useCallback)(async({questionId:e,media:t,blob:i})=>{try{let r=n.current[e];if(!r)return;let o=await r.answerRequest;if(!o)throw Error("question.answerRequest must exist");let a=r.requests[t],l=r.presignedRequest[a.currentPart],s=l?await l:void 0;if(s||(s=await h(e,o.id,a.currentPart)),!s)throw Error("Failed to get presigned URL");return await x({questionId:e,media:t,blob:i,preSignResponse:s})}catch(e){return u(e),Promise.reject(e)}},[]),f=(0,R.useCallback)(async(e,t)=>{let i=n.current[e];if(i)return i.requests.audio.completedRequest||i.requests.audio.finishedRecordingPromise?void E.A.log(Error("stopAudioAnswer called more than once"),{tag:"interview-player-v2"}):(i.requests.audio.finishedRecordingPromise=(async()=>{let i=await t;i&&await m(e,i,"audio")})(),i.requests.audio.finishedRecordingPromise)},[]),b=(0,R.useCallback)(async(e,t)=>{let i=n.current[e];if(i)return i.requests.video.completedRequest||i.requests.video.finishedRecordingPromise?void E.A.log(Error("stopVideoAnswer called more than once"),{tag:"interview-player-v2"}):(i.requests.video.finishedRecordingPromise=(async()=>{let i=await t;i&&await m(e,i,"video")})(),i.requests.video.finishedRecordingPromise)},[]),_=(0,R.useCallback)(async()=>{try{let e=Object.values(n.current),t=e.filter(e=>!e.isInterrupted),i=e.find(e=>e.isInterrupted);(await Promise.allSettled(t.map(e=>e.requests.audio.finishedRecordingPromise))).find(e=>"rejected"===e.status),(await Promise.allSettled(t.map(e=>e.requests.video.finishedRecordingPromise))).find(e=>"rejected"===e.status),i?.interruptedPromise&&await i.interruptedPromise}catch(e){u(e)}},[]),v=(0,R.useCallback)(async e=>{let t=n.current[e];if(t){if(t.interruptedPromise)return void E.A.log(Error("interruptedAnswer called more than once"),{tag:"interview-player-v2"});t.interruptedPromise=(async()=>{t.isInterrupted=!0,t.abortController.abort("Interrupted answer"),await c(e)})()}},[]);return{interruptedAnswer:v,createNewAnswer:g,uploadBlobChunkPart:y,stopAudioAnswer:f,stopVideoAnswer:b,stopInterview:_,updateAnswer:(0,R.useCallback)(async(e,t)=>{let i=n.current[e];i&&(await i.answerRequest,await Y.R3.patch(`/interview_prep/questions/${e}/answer`,t))},[]),resetAnswer:(0,R.useCallback)(async e=>{let t=n.current[e];t&&(t.abortController.abort(),delete n.current[e])},[])}}
5445)(),z=eSf({stream:p.stream,media:"audio",uploadBlobChunkPart:O.uploadBlobChunkPart}),F=eSf({stream:h.stream,media:"video",uploadBlobChunkPart:O.uploadBlobChunkPart}),H=j===ewo.NN.start_recording_answer,V=function(){let e=(0,R.useRef)(new eSr),[t,i]=(0,R.useState)(!1),r=(0,R.useRef)({}),n=(0,R.useRef)(),o=(0,R.useCallback)(()=>e.current?.stopSound(),[]);(0,R.useEffect)(()=>{let t=e.current;return()=>t?.stopSound()},[]);let a=(0,R.useCallback)(async(e,t)=>{let i=await eSn(e,t);return{questionId:t,blob:i}},[]),l=(0,R.useCallback)(async e=>{r.current[e.questionId]=e.blob},[]),s=(0,R.useCallback)(async(e,t)=>{let i=t.filter(e=>!r.current[e]),n=[];for(let t=0;t<i.length;t++){let r=i[t];n.push(a(e,r))}let o=await Promise.allSettled(n);for(let e=0;e<o.length;e++){let t=o[e];"fulfilled"===t.status&&l(t.value)}},[]),d=async t=>{try{if(!t)return;i(!0),await e.current.playAudioFromBlob(t)}catch(e){E.A.log(e)}i(!1)},c=(0,R.useCallback)(async e=>{if(void 0===e)return;let t=r.current[e];if(t)return await d(t)},[]),u=(0,R.useCallback)(async e=>await eSo(e),[]),p=(0,R.useCallback)(async e=>{n.current=e},[]),h=(0,R.useCallback)(async()=>{n.current&&await d(n.current)},[]);return{welcomeAnnouncement:n.current,questionAnnouncements:r.current,playQuestionAnnouncement:c,speaking:t,stopAnnouncement:o,downloadRestQuestionAnnouncementAssets:s,downloadQuestionAnnouncement:a,saveQuestionAnnouncement:l,downloadWelcomeAnnouncement:u,saveWelcomeAnnouncement:p,playWelcomeAnnouncement:h}}(),U=(0,iY.jE)(),W=eAm(c?.payload)?.totalQuestions,K=!!(W&&g===W-1);(0,R.useEffect)(()=>{n(e9.o1.resetInterviewPlayer()),h.askForPermission(),p.askForPermission()},[]);let[q,G]=(0,R.useState)(!1);(0,R.useEffect)(()=>{!async function(){if(!c?.isReady)return;let e=c?.payload.id,t=c?.payload.questions?.findIndex(e=>!e.answer?.audio)||-1,i=-1===t?0:t;b(i);try{if(c.payload.announcement){let e=await V.downloadWelcomeAnnouncement(c.payload.announcement);V.saveWelcomeAnnouncement(e)}let t=c?.payload.questions[i].id,r=await V.downloadQuestionAnnouncement(e,t);V.saveQuestionAnnouncement(r)}catch(e){}G(!0),V.downloadRestQuestionAnnouncementAssets(e,c?.payload.questions.slice(i+1).map(e=>e.id))}()},[c?.isReady]),(0,R.useEffect)(()=>{q&&$.showAllPhrases&&n(e9.o1.setInterviewPlayerModal(ewo.Wf.permission_modal_initial))},[q,$.showAllPhrases]);let Z=e=>{e?n(e9.o1.setInterviewPlayerModal(ewo.Wf.loading_interrupted_interview)):n(e9.o1.setInterviewPlayerModal(ewo.Wf.loading_end))},X=async()=>{if(B&&p.stream){M(ewo.F_.question);try{await V.playQuestionAnnouncement(B.id),O.createNewAnswer({questionId:B.id}),d.start(p.stream),await Promise.all([z.start(B.id),F.start(B.id)]),A(ewo.NN.start_recording_answer)}catch(e){console.error(e)}}};(0,R.useEffect)(()=>{"number"==typeof g&&X()},[g]);let Q=async()=>{if(!B||!j||j===ewo.NN.stop_recording_answer)return;A(ewo.NN.stop_recording_answer);let e=z.stop(B.id),t=F.stop(B.id);if(c?.payload.version===2){console.time("transcription");let e=await d.stop();if(console.timeEnd("transcription"),e?.trim()==="")return console.warn(`question:${B.id} didn't have transcription`),await F.reset(B.id),await z.reset(B.id),await O.resetAnswer(B.id),!1;console.time(`PATCH /interview_prep/questions/${B.id}/answer`),await O.updateAnswer(B.id,{content:e}),console.timeEnd(`PATCH /interview_prep/questions/${B.id}/answer`),console.time("followUpQuestion generation")}return O.stopAudioAnswer(B?.id,e),O.stopVideoAnswer(B?.id,t),(0,N.xP)("submit_answer",{label:"interview_prep",kind:c?.payload.kind,total_questions:W,answered_questions:g}),!0},ee=function(e,t,i,r){let n=(0,eU.wA)(),[o,a]=(0,R.useState)(0),[l,s]=(0,R.useState)(0),d=(0,R.useRef)();return d.current=r,(0,R.useEffect)(()=>{s(0),i(void 0)},[t]),(0,R.useEffect)(()=>{let t,i;return e&&(t=setInterval(()=>a(e=>e+1),1e3),i=setInterval(()=>s(e=>e+1),1e3)),()=>{t&&clearInterval(t),i&&clearInterval(i)}},[e]),(0,R.useEffect)(()=>{!e||(600===l&&d.current?d.current():540===l?n(e9.o1.setInterviewPlayerModal(ewo.Wf.session_modal)):l>=240?i(ewo.m8.hurry_up):l>=60&&i(ewo.m8.great_timing))},[l]),{time:o}}(H,B?.id,S,Q),et=async e=>{if(null!==g&&B){V.stopAnnouncement(),A(ewo.NN.stop_interview);try{await Promise.allSettled([O.stopInterview(),ewa(5e3*!e),Promise.allSettled([p.disableStream(),h.disableStream()])])}catch(e){E.A.log(e,{tag:"interview-player-v2"})}if(e)(0,N.xP)("pause_interview",{label:"interview_prep",kind:c?.payload.kind,answered_questions:g,total_questions:W,parameter:"interrupted_interview"});else{try{c?.payload.id&&await m({interviewId:c?.payload.id,status:"completed"})}catch(e){E.A.log(e,{tag:"interview-player-v2"})}(0,N.xP)("complete_interview",{label:"interview_prep",kind:c?.payload.kind,total_questions:W})}
5445await Promise.all([dO.q.invalidateQueries(["useInfiniteScrollInterviews"]),dO.q.invalidateQueries(["useInterview"]),dO.q.invalidateQueries(["useDailySuggestions"]),dO.q.invalidateQueries(["useDownloadS3Asset"])]),o(e?"/interview-preparation/dashboard":"/interview-preparation/feedback")}},ei=async()=>{if(!B||!c||!s||!D)return!1;try{let e=await eSk({interviewId:s,mainQuestionId:D,questionId:B.id,expectedFollowUpQuestionCount:B.base_question_id?2:1});if(console.timeEnd("followUpQuestion generation"),e&&!e.conversation_end){if(c.payload.questions.find(t=>t.id===e.id))return!1;U.setQueryData(eCE(c?.payload.id),t=>{if(t&&e){let i=(0,pc.findLastIndex)(t.payload.questions,e=>e.base_question_id===D),r=t.payload.questions.findIndex(e=>e.id===D);t.payload.questions.splice((-1===i?r:i)+1,0,e),t.payload.questions=[...t.payload.questions]}return t});try{console.time("followUpQuestion announcement");let t=await V.downloadQuestionAnnouncement(s,e.id);V.saveQuestionAnnouncement(t),console.timeEnd("followUpQuestion announcement")}catch(e){console.warn(e)}return!0}return!1}catch(e){return console.warn(e),!1}},er=async()=>{if(B&&c&&s&&D){if(2===u){let e=(g||0)+1,t=c.payload.questions.filter(e=>e.base_question_id===D),i=c.payload.questions[e],r=t.length<2&&await ei();if(console.timeEnd("next question total time"),r||i)y(e),n(e9.o1.setInterviewPlayerModal(null));else{Z(!1),et(!1);return}}if(1===u){let e=(g||0)+1;e!==(c?.payload?.questions.length||0)&&y(e)}}},en=async()=>{if(!B){Promise.allSettled([p.disableStream(),h.disableStream()]),o("/interview-preparation/dashboard");return}A(ewo.NN.interrupted_recording_answer),V.stopAnnouncement(),O.interruptedAnswer(B.id),et(!0)},eo=async()=>{M(ewo.F_.welcome),n(e9.o1.setInterviewPlayerModal(null)),await V.playWelcomeAnnouncement(),v(!0)},ea=async()=>{B&&(console.time("next question total time"),P(void 0),2===u&&n(e9.o1.setInterviewPlayerModal(ewo.Wf.question_interval)),await Q()?er():(n(e9.o1.setInterviewPlayerModal(null)),X()))},el=async()=>{j===ewo.NN.start_recording_answer&&ea(),j===ewo.NN.stop_recording_answer&&(K?et(!1):ea())},es=(0,J.jsx)(ek0,{onClose:()=>n(e9.o1.setInterviewPlayerModal(ewo.Wf.close_modal))});return(0,J.jsxs)(ewl,{children:[(0,J.jsx)(ekg,{interviewPlayerStatus:j,handleWelcome:eo,handleInterruptedRecordingAnswer:en,handleSession:el}),(()=>{switch(T){case ewo.wM.are_you_sure_you_want_to_proceed:return(0,J.jsx)(ekD,{align:"center",text:r.t(`${eSS}.snackbar.proceed_title`),onNoClick:()=>P(void 0),onYesClick:ea});case ewo.wM.are_you_sure_you_want_to_finish:return(0,J.jsx)(ekD,{align:"flex-end",text:r.t(`${eSS}.snackbar.finish_title`),onNoClick:()=>P(void 0),onYesClick:async()=>{if(B){let e=!K;Z(e),e&&en(),await Q(),et(e)}else o("/interview-preparation/dashboard")}});default:return null}})(),l&&es,(0,J.jsxs)(ewd,{children:[!l&&es,(0,J.jsx)(ek6,{jobTitle:c?.payload.job_title,logoUrl:c?.payload.logo_url,companyName:c?.payload.company_name}),(0,J.jsx)(ews,{children:(0,J.jsx)(ekR,{isRecording:H})})]}),(0,J.jsx)(ewc,{ref:x,children:(()=>{switch(I){case ewo.F_.welcome:return(0,J.jsx)(eSj,{children:(0,J.jsx)(ek7,{parentNode:x.current,html:c?.payload?.welcome_msg})});case ewo.F_.question:var e;let t;return(0,J.jsx)(eSj,{children:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ewp,{$display:c?.payload.real_company&&c?.payload.company_name?"block":"none",children:r.t(`${eSS}.real_interview_note`,{companyName:(t=["a","e","i","o","u"].includes((e=c?.payload.company_name||"").charAt(0).toLowerCase())?"an":"a",`${t} ${e}`)})}),(0,J.jsx)(ek7,{parentNode:x.current,text:B?.content})]})})}})()}),(0,J.jsxs)(ewu,{children:[k&&(0,J.jsx)(eSm,{badge:k}),(0,J.jsx)(ek_,{showButton:j===ewo.NN.stop_recording_answer||j===ewo.NN.start_recording_answer||j===ewo.NN.pause_recording_answer,running:H,seconds:ee.time,onPause:()=>{B&&(w(k),S(ewo.m8.hit_play_to_continue),z.pause(B.id),F.pause(B.id),A(ewo.NN.pause_recording_answer),d.pause(),(0,N.xP)("pause_interview",{label:"interview_prep",kind:c?.payload.kind,answered_questions:g,parameter:"button"}))},onResume:()=>{B&&(w(void 0),S(C),z.resume(B.id),F.resume(B.id),A(ewo.NN.start_recording_answer),d.resume(),(0,N.xP)("resume_interview",{label:"interview_prep"}))}}),(0,J.jsxs)(ewx,{children:[null!=g&&(0,J.jsx)(ekU,{showNextButton:H||j===ewo.NN.pause_recording_answer||j===ewo.NN.stop_recording_answer,interview:c,currentQuestionIndex:g,onClickNext:async()=>{P(ewo.wM.are_you_sure_you_want_to_proceed)}}),j===ewo.NN.welcome&&_&&(0,J.jsx)(ewh,{onClick:()=>{v(!1),V.stopAnnouncement(),y(f)},children:r.t(`${eSS}.start_interview_button`)})]}),(0,J.jsx)(ekO,{text:a?void 0:r.t(`${eSS}.complete`),isPrimary:K,onClick:async()=>{P(ewo.wM.are_you_sure_you_want_to_finish)},icon:(0,J.jsx)(tP.EK.Close,{})})]})]})},eSP=tt.Ay.div(["position:relative;display:flex;flex-direction:column;max-width:1200px;width:100vw;padding:0 40px;margin:40px auto;height:calc(100vh - 160px);",""],({$isFreeUser:e})=>e&&(0,tt.AH)(["overflow:hidden;"])),eSJ=tt.Ay.div(["position:absolute;height:100%;width:100%;display:flex;justify-content:center;align-items:center;top:0;left:0;"]),eSE=tt.Ay.div(["display:grid;grid-template-columns:repeat(3,minmax(335px,358px));justify-content:center;grid-gap:32px;",";",";",";"],tQ.A.Desktop`
5446    grid-gap: 32px;
5447  `,tQ.A.Tablet`
5448  grid-gap: 24px;
5449  grid-template-columns: repeat(2, minmax(335px, 358px));;
5450
5451  `,tQ.A.Phone`
5452  grid-gap: 12px;
5453  grid-template-columns: repeat(1, minmax(335px, 358px));;
5454
5455  `),eSR=(0,tt.Ay)(tP.Ay.ChevronLeft)(["padding-left:3px;"]),eSL=tt.Ay.div(["position:absolute;",";",";display:inline-flex;padding:4px 16px 4px 8px;align-items:center;border-radius:20px;background:",";align-items:center;color:",";height:32px;",";& path{fill:currentColor;}",";"],td.Ay.Caption,td.BO.DemiBold,te.Jy.Neutral10,te.Jy.Neutral50,tQ.A.Hover`
5456    &:hover {
5457      cursor: pointer;
5458      background: ${te.Jy.Blue10};
5459      color: ${te.Jy.Blue50}
5460    }
5461  `,tQ.A.Phone`
5462    display: flex;
5463    padding: 16px 8px;
5464    height: 24px;
5465  `),eSN=tt.Ay.div(["display:flex;justify-content:center;",";"],tQ.A.Phone`
5466    flex-direction: column;
5467    align-items: center;
5468  `),eSI=tt.Ay.span(["",";",";color:",";"],td.Ay.M,td.BO.Medium,te.Jy.Neutral90),eSM=tt.Ay.span(["",";",";color:",";padding-right:8px;padding-left:12px;",";"],td.Ay.Subhead,td.BO.Regular,te.Jy.Neutral50,tQ.A.Phone`
5469    padding-left: 0;
5470  `),eSB=tt.Ay.div(["color:",";",";",";cursor:pointer;display:flex;&:hover{color:",";","}"],te.Jy.Blue50,td.Ay.Subhead,td.BO.Medium,te.Jy.Blue60,({$isFreePremium:e})=>
5470!e&&"cursor: pointer;"),eSD=tt.Ay.div(["",";",";color:",";text-overflow:ellipsis;overflow:hidden;white-space:nowrap;&:hover{color:",";}"],td.Ay.Subhead,td.BO.Medium,te.Jy.Blue50,te.Jy.Blue60),eS$=tt.Ay.div(["",";",";color:",";text-align:center;padding-top:12px;padding-bottom:40px;",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50,tQ.A.Phone`
5471    padding-top: 8px;
5472    padding-bottom: 32px;
5473  `),eSO=tt.Ay.div(["display:inline-flex;align-items:center;",";"],tQ.A.Phone`
5474    display: flex;
5475  `),eSz=tt.Ay.div(["position:absolute;left:0;bottom:0;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#fff 100%);",";"],tQ.A.Phone`
5476    padding: 0 12px;
5477  `),eSF=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;height:240px;background-color:",";box-shadow:0px 16px 64px -8px rgba(15,56,113,0.18),0px 6px 8px -2px rgba(15,56,113,0.02),0px 0px 1px 0px rgba(15,56,113,0.32);padding:30px 24px;border-radius:var(--S,16px);margin-bottom:160px;",";",";",";"],te.Jy.White,tQ.A.AboveTablet`
5478    width: 608px;
5479  `,tQ.A.Tablet`
5480    width: 70%;
5481  `,tQ.A.Phone`
5482    width: 100%;
5483  `),eSH=tt.Ay.div(["",";",";color:",";text-align:center;"],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral80),eSV=tt.Ay.div(["",";",";color:",";padding-top:10px;padding-bottom:40px;max-width:367px;text-align:center;"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral80),eSU=(0,tt.Ay)(tP.EK.Crown)(["color:",";"],te.Jy.Indigo50),eSW=tt.Ay.div(["display:flex;align-items:center;gap:4px;"]),eSK="builder.interview_prep_view.question_library.premium_banner",eSq=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsx)(eSz,{children:(0,J.jsxs)(eSF,{children:[(0,J.jsxs)(eSW,{children:[(0,J.jsx)(eSU,{}),(0,J.jsx)(eSH,{children:e.t(`${eSK}.title`)})]}),(0,J.jsx)(eSV,{children:e.t(`${eSK}.subtitle`)}),(0,J.jsx)("div",{children:(0,J.jsx)(i$.Ay,{theme:i$.Ox.alternative,onClick:()=>{(0,N.xP)("click_upgrade_paywall",{label:"interview_prep",parameter:"library"}),(0,ln.b)({referrerPage:"interviewPrep"})},children:e.t(`${eSK}.upgrade_now`)})})]})})},eSG="builder.interview_prep_view.question_library",eSZ=()=>{let e,t=(0,e4.J)(),i=(0,L.Zp)(),[r,n]=(0,ds.p)("jobTitleId"),o="string"==typeof r?parseInt(r):void 0,a=(0,eU.d4)(e9.Tp.jobTitleId),l=(0,R.useRef)(a),s=o||a;(0,R.useEffect)(()=>{r&&l.current!==a&&n(String(a)),l.current=a},[r,a,n]),(0,R.useEffect)(()=>{if(!s)return i("/interview-preparation/start")},[s,i]),(0,R.useEffect)(()=>{(0,N.xP)("visit_interview_questions_library",{label:"interview_prep"})},[]);let d=!t?.hasPremiumFeatures,{i18n:c}=(0,e1.s)(),{data:u}=eAg(s),[p,h]=(0,R.useState)(),x=(0,ejM.N)({jobTitleId:s,perPage:50,total:50}),m=(x?.data?.pages||[]).flatMap(e=>e.items),[g,y]=(0,R.useState)(!1),[f,b]=(0,R.useState)(!1),_=()=>y(!0),{isPhone:v}=(0,ih.e)();s&&u?.jobTitle&&(e={text:u?.jobTitle,id:s});let j=m.length>=5&&d;return(0,J.jsxs)(eSP,{$isFreeUser:j,children:[!o&&(0,J.jsxs)(eSL,{onClick:()=>{i("/interview-preparation/dashboard")},children:[(0,J.jsx)(eSR,{}),!v&&c.t(`${eSG}.back`)]}),(0,J.jsx)(eSN,{children:(0,J.jsxs)("div",{children:[(0,J.jsx)(eSI,{children:c.t(`${eSG}.title`)}),u?.jobTitle&&(0,J.jsxs)(eSO,{children:[(0,J.jsx)(eSM,{children:"for"}),(0,J.jsxs)(eSB,{$isFreePremium:d,children:[(0,J.jsx)(eSD,{onClick:_,children:u?.jobTitle}),(0,J.jsx)(q0,{onClick:_})]})]})]})}),(0,J.jsx)(eS$,{children:c.t(`${eSG}.subtitle`)}),(0,J.jsxs)(eSE,{children:[0===m.length&&(0,J.jsx)(eSJ,{children:(0,J.jsx)(du.Ay,{})}),m.map(e=>(0,J.jsx)(eAi,{question:e,type:"question",onClick:()=>{h(e),(0,N.xP)("click_interview_question",{label:"interview_prep",parameter:"library"})}},e.id))]}),p&&(0,J.jsx)(ej4,{trackingParameter:"library",question:p,onConfirmation:()=>{d&&(b(!0),h(void 0))},onClose:()=>h(void 0)}),f&&(0,J.jsx)(ejs,{trackingParameter:"library",onClose:()=>b(!1)}),j&&(0,J.jsx)(eSq,{}),g&&(0,J.jsx)(eCO,{trackingParameter:"library",onClose:()=>y(!1),jobSuggestion:e})]})},eSX=tt.Ay.div(["display:flex;gap:4px;justify-content:space-between;width:100%;position:sticky;top:0;background:",";z-index:3;",";",";",";"],te.Jy.Neutral5,tQ.A.AboveTablet`
5484    padding-top: 16px;
5485    padding-bottom: 16px;
5486  `,tQ.A.Tablet`
5487    padding-top: 12px;
5488    position: fixed;
5489  `,tQ.A.Phone`
5490    padding-top: 8px;
5491  `),eSQ=tt.Ay.div(["display:flex;gap:4px;z-index:1;"]);tQ.A.AboveTablet`
5492      display: unset;
5493  `;let eSY=(0,tt.Ay)(tP.Ay.DashboardBuilder)(["padding:8px;width:40px;height:40px;cursor:pointer;",";"],tQ.A.Phone`
5494    display: none;
5495  `),eS0=tt.Ay.div(["padding:8px 16px;cursor:pointer;display:flex;justify-content:center;align-items:center;font-size:19px;",";color:",";",";"],td.BO.Regular,te.Jy.Neutral80,tQ.A.Phone`
5496    padding: 8px 12px;
5497  `),eS1=(0,tt.Ay)(tP.Ay.CloseLarge)(["width:36px;height:36px;padding:8px;color:",";cursor:pointer;flex-shrink:0;z-index:1;"],te.Jy.Neutral90),eS2=tt.Ay.div(["position:absolute;width:100%;display:flex;justify-content:center;background:",";"],te.Jy.Neutral5),eS3=tt.Ay.div(["position:fixed;left:0;top:0;bottom:0;z-index:650;background-color:",";"],te.Jy.White),eS5=tt.Ay.div(["width:236px;background-color:",";height:50px;display:flex;align-items:center;padding-left:10px;
5497"],te.Jy.White),eS4=(0,tt.Ay)(tP.Ay.Close)(["cursor:pointer;"]),eS6=({onClose:e,onClick:t})=>{let i=(0,R.useRef)(null);return(0,oO.L)(i,e),(0,J.jsxs)(eS3,{ref:i,children:[(0,J.jsx)(eS5,{children:(0,J.jsx)(eS4,{onClick:e})}),(0,J.jsx)(EG,{isOpen:!0,width:"236px",onClickLink:t})]})},eS8=({onCloseClick:e,onDashboardClick:t,children:i})=>{let r=(0,R.useRef)(null),[n,o]=(0,R.useState)(!1),a=(0,L.Zp)(),{i18n:l}=(0,e1.s)();return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(eSX,{ref:r,children:[(0,J.jsxs)(eSQ,{children:[(0,J.jsx)(eSY,{onClick:()=>o(e=>!e)}),(0,J.jsx)(eS0,{onClick:t,children:l.t("builder.interview_prep_view.feedbackV2.dashboard")})]}),(0,J.jsxs)(eS2,{children:[i," "]}),(0,J.jsx)(eS1,{onClick:e})]}),n&&(0,J.jsx)(eS6,{onClose:()=>o(!1),onClick:e=>{a(e)}})]})},eS9=tt.Ay.div(["background:",";width:100%;height:100vh;overflow-x:auto;position:fixed;top:0;right:0;left:0;bottom:auto;z-index:1001;padding-left:12px;padding-right:12px;padding-bottom:165px;display:flex;flex-direction:column;align-items:center;"," ",""],te.Jy.Neutral5,tQ.A.Tablet`
5498    padding-left: 12px;
5499    padding-right: 12px;
5500    padding-bottom: 21px;
5501    height: unset;
5502    position: absolute;
5503  `,tQ.A.Phone`
5504    padding-left: 4px;
5505    padding-right: 4px;
5506    padding-bottom: 8px;
5507  `),eS7=tt.Ay.div(["color:",";",";",";margin-top:16px;margin-bottom:64px;max-width:832px;& > *{vertical-align:middle;}"," ",";"],te.Jy.Neutral90,td.BO.Medium,td.Ay.L,tQ.A.Tablet`
5508    padding-top: 56px;
5509    margin-top: 36px;
5510    margin-bottom: 48px;
5511    margin-left: 24px;
5512    margin-right: 24px;
5513  `,tQ.A.Phone`
5514    padding-top: 48px;
5515    margin-top: 16px;
5516    margin-bottom: 49px;
5517    margin-left: 16px;
5518    margin-right: 16px;
5519    ${td.Ay.M};
5520  `),eTe=tt.Ay.span(["margin:0 5px;width:41.333px;height:41.333px;border:1px solid rgba(0,0,0,0.1);display:inline-flex;justify-content:center;align-items:center;border-radius:",";& img{width:32px;height:32px;}"],te.Kz["3XS"]),eTt=tt.Ay.span(["color:",";",";",";align-items:center;",""],te.Jy.Neutral50,td.BO.Medium,td.Ay.L,tQ.A.Phone`
5521    ${td.Ay.M};
5522  `),eTi=tt.Ay.div(["max-width:896px;display:flex;width:100%;flex-direction:column;gap:4px;"]),eTr=tt.Ay.div(["background-color:",";padding:32px;border-radius:20px;width:100%;display:flex;justify-content:space-between;gap:86px;"," ",""],te.Jy.White,tQ.A.Tablet`
5523    padding: 24px;
5524    gap: 64px;
5525  `,tQ.A.Phone`
5526    flex-direction: column;
5527    padding: 16px;
5528    gap: 24px;
5529    margin-bottom: 32px;
5530  `),eTn=tt.Ay.div(["",";color:",";",";"],td.Ay.Body,te.Jy.Neutral100,td.BO.Medium),eTo=tt.Ay.h4(["color:",";"],te.Jy.Neutral50),eTa=tt.Ay.div(["flex:1 40%;display:flex;flex-direction:column;justify-content:space-between;"]),eTl=tt.Ay.div(["flex:1 60%;display:flex;flex-direction:column;gap:72px;",""],tQ.A.Phone`
5531    margin-top: 24px;
5532  `),eTs=tt.Ay.div(["display:flex;flex-direction:column;gap:24px;"]),eTd=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),eTc=tt.Ay.span(["color:",";",";",""],te.Jy.Neutral100,td.BO.Medium,td.Ay.Body),eTu=tt.Ay.p(["color:",";",";",""],te.Jy.Neutral100,td.BO.Regular,td.Ay.Body),eTp=tt.Ay.div(["background:url(",") center/cover;height:243px;display:flex;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;"],i(21660)),eTh=tt.Ay.p(["text-align:center;margin-top:8px;margin-bottom:16px;"]),eTx=tt.Ay.div(["",";",";color:",";"],td.Ay.L,td.BO.Regular,te.Jy.Neutral90),eTm=tt.Ay.div(["min-width:0;border-radius:26px;"]),eTg=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral50,td.BO.Regular,td.Ay.Caption),eTy=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral100,td.BO.Regular,td.Ay.Body),eTf=({questionNumber:e,question:t,onClick:i,onClickOutside:r})=>{let{i18n:n}=(0,e1.s)(),o=(0,R.useRef)(null);return((0,oO.L)(o,r||(()=>{})),t)?(0,J.jsxs)(eTm,{ref:o,onClick:i,children:[(0,J.jsxs)(eTg,{children:[n.t("builder.interview_prep_view.feedbackV2.question"),"\xa0",e,"\xa0"]}),(0,J.jsx)(eTy,{children:t})]}):(0,J.jsxs)(eTm,{children:[(0,J.jsx)(WT.E,{width:283,height:47}),(0,J.jsx)(WT.E,{width:130,height:47,style:{marginTop:5}})]})};var eTb=()=>(0,J.jsxs)("svg",{width:"20",height:"28",viewBox:"0 0 20 28",fill:"none",version:"1.1",id:"svg8",xmlns:"http://www.w3.org/2000/svg",children:[(0,J.jsx)("defs",{id:"defs12"}),(0,J.jsxs)("g",{id:"Group 79",transform:"translate(-10,-4)",children:[(0,J.jsx)("rect",{id:"Rectangle 27",x:"11",y:"16",width:"18",height:"15",rx:"1",fill:"#7a82f5",stroke:"#7a82f5",strokeWidth:"2"}),(0,J.jsx)("rect",{id:"Rectangle 29",x:"19",y:"22",width:"2",height:"5",rx:"1",fill:"#ffffff"}),(0,J.jsx)("circle",{id:"Ellipse 10",cx:"20",cy:"21",r:"2",fill:"#ffffff"}),(0,J.jsx)("path",{id:"Rectangle 28",d:"m 14.5,11 c 0,-3.03757 2.4624,-5.5 5.5,-5.5 3.0376,0 5.5,2.46243 5.5,5.5 v 6.5 h -11 z",stroke:"#7a82f5",fill:"#ffffff",strokeWidth:"3"})]})]});let eT_=tt.Ay.div(["width:100%;border-radius:8px;overflow:hidden;"]),eTv=tt.Ay.div([""]),eTj=tt.Ay.div(["cursor:pointer;font-weight:bold;margin:4px 0;"]),eTA=tt.Ay.div(["display:",";gap:4px;"],({isOpen:e})=>e?"grid":"none"),eTC=tt.Ay.div(["background-color:",";padding:32px;border-radius:20px;width:100%;display:flex;justify-content:space-between;align-items:center;gap:86px;"," ",""],te.Jy.White,tQ.A.Tablet`
5533    padding: 24px;
5534    gap: 64px;
5535  `,tQ.A.Phone`
5536    padding: 16px;
5537    gap: 24px;
5538  `),eTw=tt.Ay.div(["display:flex;flex-direction:column;"]),eTk=tt.Ay.div(["background-color:",";padding:32px;border-radius:20px;width:100%;display:flex;justify-content:space-between;gap:86px;"," ",""],te.Jy.Blue10,tQ.A.Tablet`
5539    padding: 24px;
5540    gap: 64px;
5541  `,tQ.A.Phone`
5542    padding: 16px;
5543    gap: 24px;
5544  `),eTS=(0,tt.Ay)(tP.Ay.Chevron)(["transform:",";color:#828ba2;width:32px;height:28px;flex-shrink:0;"],({$isOpen:e})=>e?"rotate(-90deg)":"rotate(90deg)"),eTT=tt.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;"]),eTP=e=>e&&"string"==typeof e.content&&e.feedback&&"string"==typeof e.feedback.content&&"string"==typeof e.feedback.ideal_answer,eTJ=e=>e?.ai_job?.status==="success"&&"string"!=typeof e.feedback?.ideal_answer,eTE=e=>{let t=Dq.A.isAxiosError(e)?e.response?.status:void 0;return void 0!==t&&t>=400&&t<500},eTR=(e,t,i)=>!!eTP(e)||eTJ(e)||i||eTE(t);var eTL=i.p+"media/no_feedback3aca344fc33a2836.png";let eTN=({interviewId:e,theme:t=i$.Ox.ghost,withIcon:i=!0})=>{let{i18n:r}=(0,e1.s)(),n=eAk(),o=(0,L.Zp)(),a=async()=>{void 0!==e&&(await n.mutateAsync(e),(0,N.xP)("try_again",{label:"interview_prep"}),o("/interview-preparation/interview-player"))};return(0,J.jsxs)(i$.Ay,{theme:t,onClick:a,children:[i&&(0,J.jsx)(tP.Ay.UpdateIcon,{})," ",r.t("builder.interview_prep_view.feedbackV2.try_again_btn")]})},eTI=tt.Ay.div(["",";",";color:",";& b{color:",";",";}"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral60,te.Jy.Neutral100,td.BO.Regular);var eTM=i.p+"media/blurredTextBlockcebb5447bff6d842.png";let eTB=tt.Ay.div(["flex-shrink:0;display:flex;flex-direction:column;z-index:1;border-radius:20px 20px 0 0;background:linear-gradient(360deg,#f7f9fc -3.32%,rgba(247,249,252,0.2) 50%),url(",") center/cover no-repeat;padding:0px ","px 0;"],i(62926),8),eTD=tt.Ay.div(["flex-shrink:0;padding:32px ","px 0 ","px;display:flex;justify-content:space-between;gap:24px;margin-bottom:80px;"," ",""],24,24,tQ.A.Tablet`
5545    padding: 24px ${16}px  0 ${16}px;
5546    flex-direction: column;
5547    margin-bottom: 24px;
5548  `,tQ.A.Phone`
5549    padding: 16px ${8}px  0 ${8}px;
5550    flex-direction: column;
5551    margin-bottom: 24px;
5552  `),eT$=tt.Ay.div(["display:flex;flex-direction:column;flex-basis:60%;gap:24px;"]),eTO=tt.Ay.div([""]),eTz=tt.Ay.div(["white-space:break-spaces;",";",";color:",";"],td.Ay.L,td.BO.Regular,te.Jy.Neutral100),eTF=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral100),eTH=tt.Ay.div(["background:linear-gradient(360deg,#f7f9fc -3.32%,#ffffff 100%);padding:","px ","px 0;border-radius:26px 26px 0px 0px;user-select:none;"," ",""],24,24,tQ.A.Tablet`
5553    padding: ${16}px ${16}px 0;
5554    flex-direction: column;
5555    margin-bottom: 24px;
5556  `,tQ.A.Phone`
5557    padding: ${8}px ${8}px 0;
5558    flex-direction: column;
5559    margin-bottom: 24px;
5560  `),eTV=tt.Ay.div(["padding:32px;background:",";border-radius:20px;
5560display:flex;flex-direction:column;overflow:hidden;"," ",""],te.Jy.White,tQ.A.Tablet`
5561      padding: 24px;
5562  `,tQ.A.Phone`
5563      padding: 16px;
5564  `);te.Jy.White;let eTU=tt.Ay.div(["display:grid;grid-template-columns:1fr 1fr;",""],tQ.A.Phone`
5565    grid-template-columns: 1fr
5566  `),eTW=tt.Ay.div(["display:flex;flex-direction:column;padding-top:72px;",""],tQ.A.Phone`
5567    padding-top: 40px;
5568  `),eTK=tt.Ay.div(["color:",";",";",""],te.Jy.Indigo50,td.BO.Regular,td.Ay.Body),eTq=tt.Ay.p(["color:",";",";",""],te.Jy.Neutral60,td.BO.Regular,td.Ay.Body),eTG=(0,tt.Ay)(eTq)(["padding-bottom:24px;",""],tQ.A.Phone`
5569    padding-bottom: 8px;
5570  `),eTZ=tt.Ay.span(["color:",";",";"],te.Jy.Neutral90,td.BO.Medium),eTX=tt.Ay.div(["color:",";",";",""],te.Jy.Neutral60,td.BO.Bold,td.Ay.Body),eTQ=tt.Ay.p(["color:",";",";",""],te.Jy.Neutral50,td.BO.Regular,td.Ay.Body),eTY=tt.Ay.div(["",""],tQ.A.Phone`
5571    display: flex;
5572    flex-direction: column;
5573  `),eT0=(0,tt.Ay)(tP.EK.Crown)(["color:",";height:24px;width:24px;"],te.Jy.White),eT1=({section:e})=>{let{data:t}=(0,r2.I)(["useGetLowestPrice"],async()=>(await Y.R3.get("/app/payment-plans/min-plan-price")).data.minPlanPrice),{i18n:i}=(0,e1.s)();return(0,J.jsx)(eTY,{children:(0,J.jsxs)(i$.Ay,{theme:i$.Ox.alternative,onClick:()=>{(0,ln.b)({forceReferrerPage:"interviewPrep",onSuccessRedirect:window.location.pathname}),(0,N.xP)("click_upgrade_paywall",{label:"interview_prep",parameter:"feedback"})},children:[(0,J.jsx)(eT0,{}),i.t(`builder.interview_prep_view.feedbackV2.paywall.unlock_button_${e}`,{price:t})]})})},eT2="builder.interview_prep_view.feedbackV2.paywall",eT3=({children:e})=>{let{i18n:t}=(0,e1.s)(),{isPhone:i}=(0,ih.e)();return(0,J.jsxs)(eTB,{children:[(0,J.jsxs)(eTD,{children:[(0,J.jsxs)(eT$,{children:[(0,J.jsx)(eTz,{children:t.t(`${eT2}.title`)}),(0,J.jsx)(eTF,{children:t.t(`${eT2}.title2`)})]}),!i&&(0,J.jsx)(eTO,{children:(0,J.jsx)(eT1,{section:"ideal_answer"})})]}),e,i&&(0,J.jsx)(eT1,{section:"ideal_answer"})]})},eT5="builder.interview_prep_view.feedbackV2.ideal_answer_section",eT4=({idealAnswer:e,enablePaywall:t})=>t?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eTI,{dangerouslySetInnerHTML:{__html:`${e.substring(0,e.length/3)}...`}}),(0,J.jsx)("img",{src:eTM,width:"100%",height:"100%",alt:""})]}):(0,J.jsx)(eTI,{dangerouslySetInnerHTML:{__html:e}}),eT6=({feedback:e,interview:t,enablePaywall:i,isUnavailable:r})=>{let{i18n:n}=(0,e1.s)(),{isPhone:o}=(0,ih.e)(),a=e?.ideal_answer,l=e?.words_per_minute,s=!r&&(!a||!t);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(eTU,{children:[s?(0,J.jsx)(WT.E,{width:209,height:20}):(0,J.jsx)(eTK,{children:n.t(`${eT5}.ideal_answer`)}),i&&!o&&!r&&(0,J.jsx)(J.Fragment,{children:s?(0,J.jsx)(WT.E,{width:331,height:20}):(0,J.jsxs)(eTq,{children:[n.t(`${eT5}.ideal_header_content_1`),(0,J.jsx)(eTZ,{children:void 0!==l&&Math.abs(l-150)>10&&n.t(`${eT5}.ideal_header_content_2`,{wpm:l})}),(0,J.jsx)("span",{children:n.t(`${eT5}.ideal_header_content_3`)})]})})]}),(0,J.jsxs)(eTW,{children:[r?null:s?(0,J.jsxs)("div",{children:[(0,J.jsx)(WT.E,{width:781,height:20}),(0,J.jsx)(WT.E,{width:781,height:20,style:{marginTop:"4px"}})]}):(0,J.jsx)(eTG,{children:n.t(`${eT5}.future_employees_says`,{companyName:t?.company_name||""})}),(0,J.jsx)(eTX,{children:r?(0,J.jsx)(eTQ,{children:n.t(`${eT5}.unavailable`)}):s||!a?(0,J.jsxs)("div",{children:[(0,J.jsx)(WT.E,{width:781,height:20}),(0,J.jsx)(WT.E,{width:781,height:20,style:{marginTop:"4px"}}),(0,J.jsx)(WT.E,{width:576,height:20,style:{marginTop:"4px"}}),(0,J.jsx)(WT.E,{width:807,height:20,style:{marginTop:"28px"}}),(0,J.jsx)(WT.E,{width:807,height:20,style:{marginTop:"4px"}}),(0,J.jsx)(WT.E,{width:807,height:20,style:{marginTop:"4px"}}),(0,J.jsx)(WT.E,{width:782,height:20,style:{marginTop:"4px"}})]}):(0,J.jsx)(eT4,{idealAnswer:a,enablePaywall:i})})]})]})},eT8=e=>e.enablePaywall&&!e.isUnavailable?(0,J.jsx)(eT3,{interview:e.interview,children:(0,J.jsx)(eTH,{children:(0,J.jsx)(eT6,{...e})})}):(0,J.jsx)(eTV,{children:(0,J.jsx)(eT6,{...e})}),eT9=tt.Ay.div(["overflow:hidden;gap:4px;display:flex;flex-direction:column;"]),eT7=tt.Ay.div(["display:flex;gap:4px;",""],tQ.A.Phone`
5574    grid-template-columns: repeat(2, 1fr); 
5575    background: unset;
5576    gap: 4px;  
5577    display: grid;
5578  `),ePe=tt.Ay.div(["background:url(",") center/cover;border-radius:20px;height:184px;width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:12px;position:",";bottom:0;",""],i(5943),({$position:e})=>e,tQ.A.Phone`
5579    height: 296px; 
5580  `);tQ.A.Phone`
5581    max-height: 148px;
5582    `;let ePt=tt.Ay.div(["width:25%;text-align:center;"]),ePi=tt.Ay.div(["flex:1 1 0px;background:",";border-radius:20px;min-height:184px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;",";",""],te.Jy.White,({$blur:e})=>e&&(0,tt.AH)(["filter:blur(10px);user-select:none;"]),tQ.A.Phone`
5583    height: 148px;
5584    padding: 16px;
5585    gap: 1px;
5586    background: ${te.Jy.White};
5587    border-radius: 20px; 
5588
5589    &:nth-child(1) {
5590      border-radius: 20px 0px 20px 20px;
5591    }
5592
5593    &:nth-child(2) {
5594      border-radius: 0px 20px 20px 20px;
5595    }
5596  `),ePr=tt.Ay.div(["",";",";color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50),ePn=tt.Ay.div(["",";",";padding-bottom:10px;color:",";&::first-letter{text-transform:uppercase;}"],td.Ay.Body,td.BO.Regular,({$color:e})=>e),ePo=tt.Ay.div(["",";",";color:",";"],td.Ay.L,td.BO.Regular,te.Jy.Neutral90),ePa=tt.Ay.div(["flex:1 1 0px;background:",";border-radius:20px;flex-shrink:0;padding:24px;display:flex;gap:10px;flex-direction:column;"],te.Jy.White),ePl={areas_for_improvement:te.Jy.Orange50,strengths:te.Jy.Green50},ePs={filler_words:"0",pauses:"2 sec",words_per_minute:"150",lenght:"240",length:"240"},ePd=e=>{let{i18n:t}=(0,e1.s)();return(0,J.jsxs)(ePi,{"data-code":e.code,$blur:e.blur,children:[(0,J.jsxs)("div",{children:[(0,J.jsx)(ePr,{children:e.headline}),(0,J.jsx)(ePn,{$color:ePl[e.section],children:`${t.t("builder.interview_prep_view.feedbackV2.card_section.ideal")}: ${ePs[e.code]}`})]}),(0,J.jsx)(ePo,{children:e.quantitative})]})},ePc=e=>e.blur?(0,J.jsx)(ePd,{"data-code":e.code,...e,blur:!0}):(0,J.jsxs)(ePa,{"data-code":e.code,children:[(0,J.jsx)(ePn,{$color:ePl[e.section],children:e.subt
5596itle}),(0,J.jsx)(eTI,{dangerouslySetInnerHTML:{__html:e.feedback||""}})]}),ePu=()=>(0,J.jsxs)(ePi,{children:[(0,J.jsx)(WT.E,{width:109,height:20}),(0,J.jsx)(WT.E,{width:85,height:20,style:{marginTop:"4px"}}),(0,J.jsx)(WT.E,{width:66,height:48,style:{marginTop:"36px"}})]}),ePp=({feedback:e,isUserPremium:t})=>{let{isPhone:i}=(0,ih.e)(),r=(0,R.useMemo)(()=>{var r;let n=(e?.ai_output||[]).filter(e=>"areas_for_improvement"===e.section),o=n.length;return i&&o%2==1&&o--,n=n.slice(0,o),t||(1===(r=n).length&&(r[0].blur={describe:!0}),2===r.length&&(r[1].blur={quantitative:!0,describe:!0}),3===r.length&&(r[0].blur={describe:!0},r[1].blur={describe:!0},r[2].blur={quantitative:!0,describe:!0}),4===r.length&&(r[0].blur={describe:!0},r[1].blur={describe:!0},r[2].blur={quantitative:!0,describe:!0},r[3].blur={quantitative:!0,describe:!0}),n=r),n},[e?.ai_output,i,t]);return(0,J.jsxs)("div",{style:{position:"relative"},children:[(0,J.jsx)(eT9,{children:e?!i&&r.length<=2?(0,J.jsx)(eT9,{children:r.map(e=>(0,J.jsxs)(eT7,{children:[(0,J.jsx)(ePd,{...e,blur:e.blur?.quantitative}),(0,J.jsx)(ePc,{...e,blur:e.blur?.describe})]},e.headline))}):(0,J.jsxs)(eT9,{children:[(0,J.jsx)(eT7,{children:r.map(e=>(0,J.jsx)(ePd,{...e,blur:e.blur?.quantitative},e.headline))}),!i&&(0,J.jsx)(eT7,{children:r.map(e=>(0,J.jsx)(ePc,{...e,blur:e.blur?.describe},e.headline))})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ePu,{}),(0,J.jsx)(ePu,{}),(0,J.jsx)(ePu,{}),(0,J.jsx)(ePu,{})]})}),(!i||i&&r.length>=2)&&!t&&r.length>1&&(0,J.jsxs)(ePe,{$position:"absolute",children:[(0,J.jsx)(eTb,{}),(0,J.jsx)(ePt,{children:"Fix your weak spots with experts insights"})]})]})};var ePh=i(97323);let ePx=e=>{let t=Math.floor(e/60),i=Math.floor(e%60);return`${t.toString()}:${i.toString().padStart(2,"0")}`},ePm=tt.Ay.div(["position:relative;display:inline-flex;border-radius:16px;overflow:hidden;",""],tQ.A.Tablet`
5597    margin-bottom: 48px;
5598  `),ePg=tt.Ay.div(["display:flex;justify-content:center;align-items:center;color:",";height:20px;"],te.Jy.White),ePy=tt.Ay.div(["position:absolute;top:12px;right:12px;width:32px;height:32px;flex-shrink:0;background-color:",";color:",";display:flex;justify-content:center;align-items:center;border-radius:100%;cursor:pointer;& svg{width:12.53px;height:12.53px;}&:hover{background-color:",";color:",";}"],te.Jy.White,te.Jy.Neutral50,te.Jy.Blue10,te.Jy.Blue50),ePf=tt.Ay.video(["max-width:412px;&::-internal-media-controls-overlay-cast-button{display:none;}",""],tQ.A.Tablet`
5599    max-width: 100%;
5600  `),ePb=(0,tt.Ay)(tP.EK.Play)(["height:30px;width:30px;cursor:pointer;"]),eP_=(0,tt.Ay)(tP.EK.Pause)(["height:30px;width:30px;cursor:pointer;"]),ePv=tt.Ay.div([""]),ePj=tt.Ay.div(["position:absolute;width:100%;height:100%;display:flex;justify-content:center;align-items:center;"]),ePA=tt.Ay.div(["",";",";color:",";position:absolute;padding:0 13px;bottom:15.43px;width:100%;display:flex;"],td.Ay.Tiny,td.BO.Regular,te.Jy.White),ePC=tt.Ay.div(["display:flex;align-items:center;width:100%;"]),ePw=tt.Ay.div(["display:flex;width:100%;height:4px;"]),ePk=tt.Ay.div(["width:100%;border-radius:var(--4XS,2px);background:rgba(255,255,255,0.2);backdrop-filter:blur(10px);cursor:pointer;"]),ePS=tt.Ay.div(["width:","%;height:4px;border-radius:2px 0px 0px 2px;border-right:2px solid ",";background:rgba(255,255,255,0.5);"],e=>e.$progress,te.Jy.White),ePT=tt.Ay.div(["",";",";color:",";margin-left:20px;white-space:nowrap;flex-shrink:0;width:67px;"],td.Ay.Tiny,td.BO.Regular,te.Jy.White),ePP=({audioUrl:e,videoUrl:t,answerDurationInSeconds:i=0})=>{let[r,n]=(0,R.useState)("loading"),[o,a]=(0,R.useState)(0),[l,s]=(0,R.useState)(!1),[d,c]=(0,R.useState)(0),u=(0,R.useRef)(null),p=(0,R.useRef)(null);(0,R.useEffect)(()=>{!async function(){if(p.current&&(e||t))try{n("loading"),p.current.src=t||e||"",await p?.current?.play(),p?.current?.pause()}catch(e){E.A.log(e,{tag:"interview_feedback_play"})}}()},[t,e]);let h=async()=>{try{await p?.current?.play(),n("playing")}catch(e){E.A.log(e,{tag:"interview_feedback_play"})}},x=()=>{p?.current?.pause(),n("stopped")};return(0,R.useEffect)(()=>{p.current&&(p.current.muted=l)}
5600,[l]),(0,J.jsxs)(ePm,{children:[(0,J.jsx)(ePf,{ref:p,playsInline:!0,disableRemotePlayback:!0,onCanPlay:()=>n("stopped"),onWaiting:()=>n("buffering"),onTimeUpdate:()=>{c(p?.current?.currentTime||0),a(()=>{if(p.current&&p.current.currentTime>0){let e=p.current.currentTime/i*100;return e>=100?100:e}return 0})},onEnded:()=>{x(),a(0),p.current&&(p.current.currentTime=0)},onPause:()=>n(e=>"error"===e?"error":"stopped"),onError:e=>{console.warn(e),n("error")},onLoadedMetadata:()=>n("stopped"),style:{display:"loading"===r?"none":"block"}}),"error"===r?null:"loading"===r?(0,J.jsx)(ePm,{children:(0,J.jsx)(WT.E,{width:300,height:256})}):(0,J.jsxs)(J.Fragment,{children:["buffering"!==r&&(0,J.jsx)(ePy,{onClick:()=>{s(e=>!e)},children:p.current?.muted?(0,J.jsx)(ePh.Mute,{}):(0,J.jsx)(tP.Ay.Sound,{})}),"buffering"===r&&(0,J.jsx)(ePj,{children:(0,J.jsx)(du.Ay,{})}),(0,J.jsxs)(ePA,{children:[(0,J.jsx)(ePg,{onClick:()=>{"loading"!==r&&("stopped"===r?h():x())},children:(0,J.jsx)(ePv,{children:"buffering"===r||"playing"===r?(0,J.jsx)(eP_,{}):(0,J.jsx)(ePb,{})})}),(0,J.jsxs)(ePC,{children:[(0,J.jsx)(ePw,{children:(0,J.jsx)(ePk,{ref:u,onClick:e=>{if(!u.current||!p.current)return;let t=u.current.offsetWidth,r=e.nativeEvent.offsetX;p.current.currentTime=r/t*i},children:(0,J.jsx)(ePS,{$progress:o})})}),(0,J.jsxs)(ePT,{children:[ePx(d)," / ",ePx(i)]})]})]})]})]})},ePJ=tt.Ay.div(["display:inline-flex;justify-content:center;align-items:center;"]),ePE=tt.Ay.div(["color:",";display:flex;justify-content:center;align-items:center;"],({$color:e})=>e),ePR=tt.Ay.div(["display:flex;flex-direction:column;",""],tQ.A.Phone`
5601    flex-direction: row;
5602    gap: 4px;
5603  `),ePL=tt.Ay.div(["color:",";"," ",""],({$color:e})=>e,td.Ay.Body,td.BO.Regular),ePN=tt.Ay.h5(["color:",";"," "," ",""],te.Jy.Neutral50,td.Ay.Caption,td.BO.Regular,tQ.A.Phone`
5604    color: ${te.Jy.Neutral100};
5605      ${td.Ay.Body};
5606  ${td.BO.Medium};
5607  `);var ePI=((k={}).green="green",k.orange="orange",k.indigo="indigo",k);let ePM={green:{textColor:te.Jy.Green50},orange:{textColor:te.Jy.Orange50},indigo:{textColor:te.Jy.Indigo50}},ePB=({icon:e,text:t,type:i,title:r})=>{let n=ePM[i];return n?(0,J.jsxs)(ePJ,{children:[(0,J.jsx)(ePE,{$color:n.textColor,children:e}),(0,J.jsxs)(ePR,{children:[(0,J.jsx)(ePN,{children:r}),(0,J.jsx)(ePL,{$color:n.textColor,children:t})]})]}):null};var ePD=i.p+"media/iconeb3fcbb85ef46067.png";let eP$=tt.Ay.div(["display:flex;justify-content:center;align-items:center;color:",";"," "," gap:",";background-color:",";padding:",";border-radius:",";",""],te.Jy.Neutral100,td.Ay.Body,td.BO.Regular,te.Kz.S,te.Jy.Blue10,te.Kz.S,te.Kz.S,tQ.A.Phone`
5608    flex-direction: column;
5609  `),ePO=tt.Ay.div(["display:flex;gap:",";flex:1;align-items:center;"],te.Kz.S),ePz=tt.Ay.img(["width:40px;height:40px;"]),ePF=tt.Ay.div(["",""],tQ.A.Phone`
5610  width: 100%;
5611   & > * {
5612    width: 100%;
5613   }
5614 `),ePH=({interviewId:e})=>{let{i18n:t}=(0,e1.s)(),{isPhone:i}=(0,ih.e)();return(0,J.jsxs)(eP$,{children:[(0,J.jsxs)(ePO,{children:[(0,J.jsx)(ePz,{src:ePD}),(0,J.jsxs)("span",{children:[t.t("builder.interview_prep_view.feedbackV2.short_off_track_text1"),(0,J.jsx)("br",{}),t.t("builder.interview_prep_view.feedbackV2.short_off_track_text2")]})]}),(0,J.jsx)(ePF,{children:e&&(0,J.jsx)(eTN,{interviewId:e,theme:i?i$.Ox.ghost:i$.Ox.default,withIcon:i})})]})},ePV=tt.Ay.div(["background:",";display:flex;width:100%;flex-direction:column;border-radius:20px;margin-bottom:3px;gap:64px;padding:32px;",""],te.Jy.White,tQ.A.Phone`
5615    gap: 48px;
5616  `),ePU=tt.Ay.div(["display:flex;width:100%;justify-content:center;flex:1;"]),ePW=tt.Ay.div(["display:flex;flex:1;width:100%;",""],tQ.A.Phone`
5617    flex-direction: column;
5618  `),ePK=tt.Ay.div(["display:flex;flex:1;width:100%;",""],tQ.A.Phone`
5619    flex-direction: column-reverse;
5620  `),ePq=tt.Ay.div(["flex:1;",""],tQ.A.Phone`
5621    margin-bottom: 24px;
5622  `),ePG=tt.Ay.div(["display:flex;gap:32px;flex-direction:column;flex:1;",""],tQ.A.Phone`
5623    gap: 16px;
5624  `);td.Ay.Body,td.BO.Regular,te.Jy.Neutral60;let ePZ=tt.Ay.div(["display:inline-flex;",";",";color:",";cursor:pointer;gap:4px;"],td.Ay.ButtonV2M,td.BO.Medium,te.Jy.Neutral100),ePX=(0,tt.Ay)(tP.Ay.Chevron)(["color:",";transform:rotate(90deg);"],te.Jy.Neutral100),ePQ=(0,tt.Ay)(tP.Ay.Chevron)(["color:",";transform:rotate(270deg);"],te.Jy.Neutral100),ePY="builder.interview_prep_view.feedbackV2.feedback_section",eP0=({answer:e,interview:t,selectedQuestionIndex:i,interviewId:r,hasStoppedPolling:n})=>{let{i18n:o}=(0,e1.s)(),{isPhone:a}=(0,ih.e)(),l=e?.question_related_feedback?.grading_feedback,s=e?.feedback?.ai_output,d=(0,R.useMemo)(()=>{let e=(s||[]).filter(e=>"strengths"===e.section);return l&&e.length>0?[...l,...e]:l},[l,s]),[c,u]=(0,R.useState)(null),p=e&&e?.duration<10,h=(0,R.useMemo)(()=>
5624{if(d)return d.filter(e=>"areas_for_improvement"===e.section);let t=[];return e?.feedback?.ton_of_voice_summary_headline_areas_for_improvement&&e?.feedback?.ai_summary_areas_for_improvement&&t.push({code:"0",score:0,section:"areas_for_improvement",feedback:e?.feedback?.ai_summary_areas_for_improvement,headline:"",subtitle:e?.feedback?.ton_of_voice_summary_headline_areas_for_improvement}),e?.feedback?.areas_for_improvement&&e?.feedback?.areas_for_improvement_headline&&t.push({code:"1",score:0,section:"areas_for_improvement",feedback:e?.feedback?.areas_for_improvement,headline:"",subtitle:e?.feedback?.areas_for_improvement_headline}),t},[e,d]);(0,R.useEffect)(()=>{h.length>2&&u(!0)},[h]);let x=(0,R.useMemo)(()=>h.slice(0,c?2:void 0),[h,c]),m=(0,R.useMemo)(()=>{if(d)return d.filter(e=>"strengths"===e.section);let t=[];return e?.feedback?.ai_summary_strengths&&e?.feedback?.ton_of_voice_summary_headline_strengths&&t.push({code:"0",score:0,section:"strengths",feedback:e?.feedback?.ai_summary_strengths,headline:"",subtitle:e?.feedback?.ton_of_voice_summary_headline_strengths}),e?.feedback?.strengths&&e?.feedback?.strengths_headline&&t.push({code:"1",score:0,section:"strengths",feedback:e?.feedback?.strengths,headline:"",subtitle:e?.feedback?.strengths_headline}),t},[e,d]);function g(t,i,r,o){if(e?.ai_speech_job?.status==="success"&&e?.ai_job?.status==="success"&&!r)return null;let a=e?.ai_speech_job?.status==null||e?.ai_speech_job?.status==="pending";return a&&n?r?(0,J.jsx)(ePq,{children:(0,J.jsx)(ePB,{text:t,title:o,type:i})}):null:e?.ai_speech_job?.status==null||e?.ai_speech_job?.status==="success"||e?.ai_speech_job?.status==="pending"?(0,J.jsx)(ePq,{children:a?(0,J.jsx)(WT.E,{width:100,height:20}):(0,J.jsx)(ePB,{text:t,title:o,type:i})}):null}let y=(0,R.useMemo)(()=>t?.questions[i]?.answer,[t,i]);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(ePV,{children:[(0,J.jsxs)(ePK,{children:[g(o.t(`${ePY}.strengths${a?"_mobile":""}`),ePI.green,!!(e?.feedback?.ton_of_voice_summary_headline_strengths||e?.feedback?.strengths_headline||e?.feedback?.ai_output||e?.question_related_feedback?.strengths_headline)),(0,J.jsx)(ePU,{children:(0,J.jsx)(ePP,{answerDurationInSeconds:e?.duration,audioUrl:y?.audio,videoUrl:y?.video})})]}),!p&&m?.length>0&&m.map(e=>(0,J.jsxs)(ePW,{"data-code":e.code,children:[g(e.subtitle,ePI.green,!!(e.subt
5624itle||e.headline),e.headline),(0,J.jsx)(ePG,{children:(0,J.jsx)(eTI,{dangerouslySetInnerHTML:{__html:e.feedback}})})]},e.code))]}),p&&(0,J.jsx)(ePH,{interviewId:r}),!p&&(0,J.jsxs)(ePV,{children:[g(o.t(`${ePY}.areas_for_improvement`),ePI.orange,!!(e?.feedback?.ton_of_voice_summary_headline_areas_for_improvement||e?.feedback?.areas_for_improvement_headline||e?.question_related_feedback?.areas_for_improvement_headline)),x?.length>0&&x.map(e=>(0,J.jsxs)(ePW,{"data-code":e.code,children:[g(e.subtitle,ePI.orange,!!(e.subtitle||e.headline),e.headline),(0,J.jsx)(ePG,{children:(0,J.jsx)(eTI,{dangerouslySetInnerHTML:{__html:e.feedback}})})]},e.code)),"boolean"==typeof c&&(0,J.jsx)("div",{children:(0,J.jsxs)(ePZ,{onClick:()=>u(e=>!e),children:[o.t(`${ePY}.${c?"show_more":"show_less"}`),c?(0,J.jsx)(ePX,{}):(0,J.jsx)(ePQ,{})]})})]})]})};var eP1=({questionId:e,interviewId:t,interview:i,isUserPremium:r,index:n})=>{let{data:o,hasStoppedPolling:a,isFeedbackUnavailable:l,isIdealAnswerUnavailable:s}=((e,t=!1)=>{let i,{registerOncePerformance:r,stopRegisterPerformance:n}=(0,ejO.x)({enabled:t,metricKey:`answer_request-${e}`,tags:{questionId:e}}),[o,a]=(0,R.useState)(!1);(0,R.useEffect)(()=>{if(a(!1),!e)return;let t=window.setTimeout(()=>a(!0),18e4);return()=>window.clearTimeout(t)},[e]);let l=(0,r2.I)(["question",e],async()=>{let t=`/interview_prep/questions/${e}/answer`;r();let i=await Y.R3.get(t);return eTP(i.data)&&n(),i.data},{enabled:!!e,useErrorBoundary:!1,refetchInterval:(e,t)=>!eTR(e,t.state.error,o)&&1e3}),s=o||eTE(l.error),d=eTR(l.data,l.error,o),c=(i=l.data,!i?.feedback&&s),u=!eTP(l.data)&&(s||eTJ(l.data));return{...l,hasStoppedPolling:d,isFeedbackUnavailable:c,isIdealAnswerUnavailable:u}})(e),{i18n:d}=(0,e1.s)();return l||o?.audio===null?(0,J.jsx)(J.Fragment,{children:(0,J.jsxs)(eTk,{children:[(0,J.jsxs)(eTT,{children:[(0,J.jsx)("p",{dangerouslySetInnerHTML:{__html:d.t("builder.interview_prep_view.feedbackV2.no_feedback")}}),t&&(0,J.jsx)("div",{children:(0,J.jsx)(eTN,{interviewId:t})})]}),(0,J.jsx)("img",{src:eTL,alt:"no feedback"})]})}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eP0,{answer:o,interview:i,selectedQuestionIndex:n,interviewId:i.id,hasStoppedPolling:a}),(0,J.jsx)(ePp,{feedback:o?.feedback,isUserPremium:r}),(0,J.jsx)(eT8,{feedback:o?.feedback,interview:i,enablePaywall:!r,isUnavailable:s})]})},eP2=({questions:e,interview:t,interviewId:i,isUserPremium:r})=>{let[n,o]=(0,R.useState)(0),a=(0,R.useRef)(e.map(()=>R.createRef())),l=(0,R.useRef)(!1);return(0,R.useEffect)(()=>{"number"==typeof n&&l.current&&a.current[n].current?.scrollIntoView({block:"start"}),l.current=!0},[n]),(0,J.jsx)(eT_,{children:e.map((e,l)=>(0,J.jsxs)(eTv,{"data-question-id":e.id,ref:a.current[l],children:[(0,J.jsx)(eTj,{onClick:()=>{!r&&l>0?((0,ln.b)({forceReferrerPage:"interviewPrep",onSuccessRedirect:window.location.pathname}),(0,N.xP)("click_upgrade_paywall",{label:"interview_prep",parameter:"feedback"})):o(n===l?null:l)},children:(0,J.jsxs)(eTC,{children:[(0,J.jsx)(eTw,{children:(0,J.jsx)(eTf,{question:e?.content,questionNumber:l+1})}),!r&&l>0?(0,J.jsx)(eTb,{}):(0,J.jsx)(eTS,{$isOpen:n===l})]})}),(r||0===l)&&(0,J.jsx)(eTA,{isOpen:n===l,children:(0,J.jsx)(eP1,{interview:t,interviewId:i,questionId:e.id,index:l,isUserPremium:r})})]},l))})};let eP3="builder.interview_prep_view.feedbackV2",eP5=()=>{var e;let t,i,r=(0,e4.J)(),{i18n:n}=(0,e1.s)(),o=(0,eU.d4)(e9.Tp.interviewId),{data:a}=eCR({interviewId:o}),l=a?.payload,s=(0,L.Zp)(),d=(0,R.useRef)(null),c=(0,R.useCallback)(()=>{ejI.Ay.finish()},[]);(0,R.useEffect)(()=>{if(!o){c(),s("/interview-preparation/dashboard");return}return(0,N.xP)("view_interview_report",{label:"interview_prep"}),()=>{c()}},[]);let u=!!r?.hasPremiumFeatures,p=(0,R.useMemo)(()=>{let e=l?.conversation_feedback?.whole_conversation_feedback_category||[],t=e.find(e=>"keyword"===e.criterion),i=e.filter(e=>"keyword"!==e.criterion);return t&&i.unshift(t),i},[l?.conversation_feedback?.whole_conversation_feedback_category]),h=(r?.firstName||"").trim();return(0,J.jsxs)(eS9,{ref:d,children:[(0,J.jsx)(eS8,{onCloseClick:()=>s("/interview-preparation/dashboard"),onDashboardClick:()=>s("/interview-preparation/dashboard")}),l?(0,J.jsxs)(eS7,{children:[`${n.t(`${eP3}.phrase1_1`)}${""===h?"":" "+h}, ${n.t(`${eP3}.phrase1_2`)}`,(0,J.jsx)("br",{}),n.t(`${eP3}.phrase1_3`),(0,J.jsx)(eTe,{children:(0,J.jsx)("img",{src:l.logo_url||(0,su.x)(),alt:"logo"})}),(0,J.jsxs)(eTt,{children:[l?.job_title,"\xa0",l?.real_company&&l?.company_name&&`${n.t(`${eP3}.at_preposition`)} ${l?.company_name} `,n.t(`${eP3}.interview`)]})]}):(0,J.jsxs)(eS7,{children:[(0,J.jsx)(WT.E,{width:674,height:34}),(0,J.jsx)(WT.E,{width:779,height:34,style:{marginTop:"5px",marginBottom:"66px"}})]}),(0,J.jsxs)(eTi,{children:[l?.conversation_feedback?.whole_conversation_feedback&&(0,J.jsxs)(eTr,{children:[(0,J.jsxs)(eTa,{children:[(0,J.jsx)(eTo,{children:n.t(`${eP3}.general_feedback.title`)}),(0,J.jsx)(eTx,{children:(t=Math.floor((e=l?.total_duration||0)/60),i="",t>0&&(i+=`${t}m `),i+=`${e%60}s`)})]}),l?.conversation_feedback?.whole_conversation_feedback&&(0,J.jsxs)(eTl,{children:[(0,J.jsx)("p",{children:(0,J.jsx)(eTn,{dangerouslySetInnerHTML:{__html:l.conversation_feedback.whole_conversation_feedback}})}),p?.length&&p?.length>0&&(0,J.jsxs)(eTs,{children:[(0,J.jsx)(eTc,{children:n.t(`${eP3}.general_feedback.avoid_rejection`)}),(0,J.jsxs)(eTd,{children:[(u?p:[p[0]]).map(e=>(0,J.jsxs)(eTu,{"data-criterion":e.criterion,children:[(0,J.jsxs)(eTc,{children:[n.t(`${eP3}.general_feedback.${e.criterion}`),":"," "]}),(0,J.jsx)(eTI,{dangerouslySetInnerHTML:{__html:e.content}})]},e.criterion)),!u&&(0,J.jsxs)(eTp,{children:[(0,J.jsx)(eTb,{}),(0,J.jsx)(eTh,{children:n.t(`${eP3}.general_feedback.paywall_text`)}),(0,J.jsx)(eT1,{section:"feedback"})]})]})]})]})]}),l?.questions&&(0,J.jsx)(eP2,{questions:l?.questions,interviewId:o,interview:l,isUserPremium:u})]})]})};var eP4=i.p+"media/check-inbox14d3142ed41e66f0.png";let eP6=tt.Ay.div(["background:",";z-index:1;width:100%;height:100%;overflow:hidden;"],te.Jy.White),eP8=tt.Ay.div(["height:100%;display:flex;justify-content:center;align-items:center;"]),eP9=tt.Ay.div(["width:439px;
5624height:502px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;"]),eP7=tt.Ay.h2(["",";",";color:",";"],td.Ay.M,td.BO.Medium,te.Jy.Neutral90),eJe=tt.Ay.p(["",";margin-bottom:20px;margin-top:20px;color:",";",";text-align:center;& b{color:",";}"],td.Ay.M,te.Jy.Neutral50,td.BO.Medium,te.Jy.Neutral90),eJt=tt.Ay.p(["color:",";",";& a{color:",";}"],te.Jy.Neutral50,td.Ay.Body,te.Jy.Blue50),eJi="builder.interview_prep_view.start_check_inbox",eJr=()=>{let{i18n:e}=(0,e1.s)(),[t]=(0,ds.p)("email"),i=(0,L.Zp)(),r=(0,eU.wA)();return(0,R.useEffect)(()=>{t||i("/interview-preparation/start"),r(e9.o1.setStartCurrentStep(1))},[]),(0,J.jsx)(eP6,{children:(0,J.jsx)(eP8,{children:(0,J.jsxs)(eP9,{children:[(0,J.jsx)("img",{src:eP4}),(0,J.jsx)(eP7,{children:e.t(`${eJi}.title`)}),(0,J.jsx)(eJe,{dangerouslySetInnerHTML:{__html:e.t(`${eJi}.message`,{email:t})}}),(0,J.jsxs)(eJt,{children:[e.t(`${eJi}.confirm_message`)," ",(0,J.jsx)("a",{href:"/contact",target:"_blank",rel:"noreferrer noopener",children:e.t(`${eJi}.confirm_link_text`)})]})]})})})};var eJn=i.p+"media/ready-to-start04070a9d925ad064.png",eJo=i(7852);let eJa=tt.Ay.div(["background:",";height:80vh;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden;"],te.Jy.White),eJl=tt.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:20px 0;"]),eJs=tt.Ay.img(["height:255px;flex-shrink:0;"]),eJd=tt.Ay.h2(["padding-top:32px;",";color:",";",";"],td.Ay.M,te.Jy.Neutral90,td.BO.Medium),eJc=tt.Ay.p(["display:inline-flex;",";color:",";",";align-items:center;& strong{color:",";",";}"],td.Ay.M,te.Jy.Neutral90,td.BO.Medium,te.Jy.Neutral50,td.BO.Medium),eJu=tt.Ay.div(["padding-top:32px;"]),eJp="builder.interview_prep_view.start_ready",eJh=()=>{let{i18n:e}=(0,e1.s)(),[t]=(0,ds.p)("kind"),[i]=(0,ds.p)("jobTitleId"),[r]=(0,ds.p)("externalId"),[n]=(0,ds.p)("companyName"),[o]=(0,ds.p)("jobTitleText"),[a]=(0,ds.p)("typeOfQuestions"),[l]=(0,ds.p)("isRealCompany"),{data:s}=(0,eJo.d)(r||void 0),d=(0,L.Zp)(),c=(0,e4.J)(),{mutateAsync:u,status:p}=(0,ejd.D)(),{mutateAsync:h}=eCN(),x=parseInt(i||"0"),m=(0,eU.wA)();(0,R.useEffect)(()=>(x&&h(x),c?.currentJobTitleId&&!c?.hasPremiumFeatures)?d("/interview-preparation/dashboard"):i&&o?void m(e9.o1.setStartCurrentStep(2)):d("/interview-preparation/start"),[]);let g=async()=>{await u({jobTitleCode:x,company:n||"",typeOfQuestions:a||"nervous",numberOfQuestions:1,kind:t||"test_interview",jobDescription:s?.description}),(0,N.xP)("start_interview",{label:"interview_prep",parameter:"test"}),d("/interview-preparation/interview-player",{state:{isRealCompany:"true"===l,forceStartLoading:!0,startPageType:a,companyName:n}})};return(0,J.jsx)(eJa,{children:(0,J.jsxs)(eJl,{children:[(0,J.jsx)(eJs,{src:eJn}),(0,J.jsx)(eJd,{children:e.t(`${eJp}.message`)}),(0,J.jsxs)(eJc,{children:[(0,J.jsx)("strong",{children:o}),"\xa0"]}),(0,J.jsx)(eJu,{children:(0,J.jsx)(i$.Ay,{onClick:g,isLoading:"loading"===p,disabled:"loading"===p,children:e.t(`${eJp}.button`)})})]})})};var eJx=i.p+"media/interview-start-page-video147b48000c99596f.mp4";let eJm=e=>/^[^0-9]+$/g.test(e)&&e.trim().length>0;var eJg=i(87748);let eJy=tt.Ay.div(["",";text-align:left;max-width:436px;color:",";& a{color:",";}& a:hover{color:",";}"],td.Ay.Tiny,te.Jy.Neutral50,te.Jy.Blue50,te.Jy.Blue70),eJf=()=>{let e=eoS();return(0,J.jsx)(eJy,{dangerouslySetInnerHTML:{__html:e}})};tQ.A.Tablet`
5625    width: 504px;
5626  `,tQ.A.Phone`
5627    width: 335px;
5628  `;let eJb=tt.Ay.div([""]),eJ_=tt.Ay.div(["display:flex;width:100%;justify-content:space-between;align-items:center;flex-direction:column;position:relative;"]),eJv=tt.Ay.div(["display:flex;"]),eJj=tt.Ay.div(["width:8px;height:8px;border-radius:50%;background:",";"],te.Jy.Neutral20),eJA=(0,tt.Ay)(eJj)(["background:",";width:16px;border-radius:8px;margin-right:8px;"],te.Jy.Blue50),eJC=tt.Ay.div(["margin:0;"]),eJw=tt.Ay.span(["color:",";background-color:",";padding:4px 10px;border-radius:12px;",";",";"],te.Jy.Green50,te.Jy.Green10,td.BO.Medium,td.Ay.Body),eJk=tt.Ay.div(["",";",";margin-top:20px;"],td.Ay.M,td.BO.DemiBold);te.Jy.Neutral50,td.BO.DemiBold;let eJS=tt.Ay.p(["color:",";",";"],te.Jy.Neutral50,td.BO.Regular),eJT=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;margin-top:40px;"]);(0,tt.Ay)(tP.EK.Tick)(["color:",";"],te.Jy.Blue50),tQ.A.Phone`
5629    width: 335px;
5630    position: fixed;
5631    bottom: 70px;
5632    z-index: 10;
5633    background: ${te.Jy.White};
5634    flex-direction: column-reverse;
5635    padding-bottom: 24px;
5636  `;let eJP=tt.Ay.div(["display:flex;width:100%;justify-content:space-between;align-items:center;padding-top:16px;"]);tQ.A.AboveTablet`
5637    display: flex;
5638    width: 100%;
5639    padding-top: 16px;
5640
5641    position: absolute;
5642    top: 100%;
5643    left: 0;
5644    width: 100%;
5645
5646    z-index: 3;
5647  `,tQ.A.Tablet`
5648    display: flex;
5649
5650  `;let eJJ=tt.Ay.div(["color:",";",";",";"],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular),eJE="builder.interview_prep_view.start_screen",eJR=()=>{let{i18n:e}=(0,e1.s)(),t=(0,L.Zp)(),i=(0,eU.wA)(),[r]=(0,ds.p)("job_id"),[n]=(0,ds.p)("company"),[o]=(0,ds.p)("job_title"),[a]=(0,ds.p)("kind"),{data:l}=(0,eJg.K)(o,1),[s,d]=(0,R.useState)(o||void 0),[c,u]=(0,R.useState)(n||void 0),[p,h]=(0,R.useState)(!1),[x,m]=(0,R.useState)(""),[g,y]=(0,R.useState)(""),[f,b]=(0,R.useState)(),[_,v]=(0,R.useState)(!0),[j,A]=(0,R.useState)(!1),{mutateAsync:C}=(0,dp.n)(["useCreateAccount"],async e=>(await Y.R3.post("/app/account",e)).data),{mutateAsync:w}=(0,dp.n)(["useCreateMagicLink"],async e=>(await Y.R3.post("/app/login/request-link",e)).data),[k,S]=(0,R.useState)("initial"),[T,P]=(0,R.useState)(!1),{behaviour:E="nervous"}=(0,L.g)(),I=(0,e4.J)();(0,R.useEffect)(()=>{i(e9.o1.setStartCurrentStep(1))},[]),(0,R.useEffect)(()=>{l&&b({id:l[0].id,text:l[0].standardTitle})},[l]);let M=()=>
5650{if("initial"===k)return!f;if("email"===k||"magic_link"===k)return!eJm(x)||!/\S+@\S+\.\S+/.test(g)||!_;return!1},B=e=>{b(e),d(e.text),i(e9.o1.setJobTitleId(e.id)),i(e9.o1.setJobTitle(e.text))},D=()=>{let e={kind:a||void 0,jobTitleId:f?.id,jobTitleText:f?.text,companyName:c,isRealCompany:!!n,typeOfQuestions:E,externalId:c===n&&f?.text===(l||[])[0]?.standardTitle?r:null},t=(0,emg.dF)(e);return`/interview-preparation/ready?${t}`},$=async()=>{try{P(!0);let{recaptchaToken:e,recaptchaAction:i}=await eoP();if((await C({email:g,firstName:x,interviewPrepDiscount:!0,recaptchaToken:e,recaptchaAction:i})).success)return t(D(),{replace:!0}),!0}catch(e){if(Dq.A.isAxiosError(e)&&e.response?.data?.errorCode==="email_taken")return!1;throw e}finally{P(!1)}},O=async()=>{let e=await $();(0,N.xP)("click_generate_interview",{label:"interview_prep",parameter:"log in"}),e||(P(!0),await w({email:g,redirect_to:`/app${D()}`}),P(!1),t(`/interview-preparation/start/check-your-inbox?email=${g}`,{replace:!0}))},z=async()=>{let e=M();if(h(e),!e)switch(k){case"initial":I?t(D(),{replace:!0}):(S("email"),h(!1),(0,N.xP)("click_generate_interview",{label:"interview_prep",parameter:"welcome"}));return;case"email":A(!1),await $()||A(!0),(0,N.xP)("click_generate_interview",{label:"interview_prep",parameter:"email"})}};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(eJb,{children:[(0,J.jsx)(eJw,{children:e.t(`${eJE}.sample_interview`)}),(()=>{switch(k){case"initial":return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eJk,{children:e.t(`${eJE}.title`)}),(0,J.jsx)(eJS,{children:e.t(`${eJE}.subtitle`)}),(0,J.jsx)(eJC,{children:(0,J.jsxs)(eJT,{children:[(0,J.jsx)(ev2,{jobTitle:s,onChange:e=>d(e.target.value),onChangeSuggestion:B,hasError:p&&void 0===f,trackingParameter:"test",placeholder:e.t(`${eJE}.placeholder_job_title`)}),(0,J.jsx)(re.A,{name:"companyName",label:e.t("builder.interview_prep_view.company_name_async_autosuggest.label"),value:c,onChange:e=>u(e.target.value),placeholder:e.t(`${eJE}.placeholder_company`)})]})})]});case"email":return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eJk,{children:e.t(`${eJE}.title`)}),(0,J.jsx)(eJS,{children:e.t(`${eJE}.second_step_subtitle`)}),(0,J.jsx)(eJC,{children:(0,J.jsxs)(eJT,{children:[(0,J.jsx)(re.A,{label:e.t(`${eJE}.name`),onChange:e=>m(e.target.value),error:p&&!eJm(x)&&e.t(`${eJE}.error_name`)}),(0,J.jsx)(re.A,{label:e.t(`${eJE}.email`),type:"email",onChange:e=>y(e.target.value),error:p&&!/\S+@\S+\.\S+/.test(g)&&e.t(`${eJE}.error_email`)}),j&&(0,J.jsxs)("div",{children:[(0,J.jsx)(eJJ,{children:e.t(`${eJE}.email_registered`)}),(0,J.jsx)(eJJ,{children:e.t(`${eJE}.sign_in_link`)})]})]})})]})}})()]}),(0,J.jsxs)(eJ_,{children:["email"===k&&(0,J.jsx)(eoC.A,{label:(0,J.jsx)(eJf,{}),checked:_,onChange:()=>v(e=>!e),invalid:p&&!_}),(0,J.jsxs)(eJP,{children:[(0,J.jsxs)(eJv,{children:[(0,J.jsx)(eJA,{}),(0,J.jsx)(eJj,{})]}),(0,J.jsx)(i$.Ay,{onClick:j?O:z,isLoading:T,disabled:T,isDisabled:p&&M(),children:j?e.t(`${eJE}.log_in`):e.t(`${eJE}.create_interview`)})]})]})]})},eJL=tt.Ay.div(["width:1120px;margin:0 auto;height:100%;display:flex;align-items:center;",";"],tQ.A.Tablet`
5651    width: 100%;
5652    justify-content: center;
5653  `),eJN=tt.Ay.div(["",";",";",";"],tQ.A.AboveTablet`
5654    display: grid;
5655    grid-template-columns: 1fr 1fr;
5656
5657    align-items: center;
5658    justify-content: space-between;
5659    margin: 0 32px;
5660  `,tQ.A.Tablet`
5661    display: flex;
5662    align-items: center;
5663    justify-content: space-between;
5664    flex-direction: column;
5665    align-items: center;
5666    padding-bottom: 56px;
5667    height: 100%;
5668
5669  `,tQ.A.Phone`
5670    display: flex;
5671    align-items: center;
5672    justify-content: space-between;
5673    flex-direction: column;
5674    align-items: center;
5675    padding-bottom: 40px;
5676    height: 100%;
5677  `),eJI=tt.Ay.div(["max-width:448px;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;",";",";"],tQ.A.Tablet`
5678    max-width: 504px;
5679  `,tQ.A.Phone`
5680    max-width: 335px;
5681    padding: 0 10px;
5682  `),eJM=tt.Ay.div(["width:544px;height:560px;border:none;border-radius:24px;display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative;display:none;",";"],tQ.A.AboveTablet`
5683    width: 504px;
5684    height: auto;
5685    display: unset;
5686  `),eJB=tt.Ay.video(["width:100%;height:504px;border-radius:16px;"]),eJD=tt.Ay.div(["display:flex;align-items:center;justify-content:center;position:relative;"]),eJ$=()=>(0,J.jsxs)(eJL,{children:[(0,J.jsxs)(eJN,{children:[(0,J.jsx)(eJI,{children:(0,J.jsx)(eJR,{})}),(0,J.jsx)(eJM,{children:(0,J.jsx)(eJD,{children:(0,J.jsx)(eJB,{src:eJx,autoPlay:!0,muted:!0,loop:!0,playsInl
5686ine:!0},0)})})]}),(0,J.jsx)(ean,{})]}),eJO=tt.Ay.div(["position:absolute;display:flex;flex-direction:column;background:",";align-items:center;width:100%;"," ",""],te.Jy.White,tQ.A.AboveTablet`
5687    margin-top: 80px;
5688
5689  `,tQ.A.Tablet`
5690    height: 80vh;
5691
5692  `),eJz=tt.Ay.div(["display:flex;flex-direction:column;background:",";width:100%;height:100%;height:100vh;height:100svh;"],te.Jy.White),eJF=tt.Ay.div(["width:100%;height:100%;display:flex;flex:1;margin:0;",""],tQ.A.AboveTablet`
5693    min-height: 504px;
5694  `),eJH=tt.Ay.div(["display:flex;justify-content:center;height:100vh;align-content:center;align-items:center;"]),eJV=()=>{let{behaviour:e}=(0,L.g)(),t=(0,eU.d4)(e9.Tp.jobTitleId),i=(0,eU.d4)(e9.Tp.jobTitleReady),r=(0,L.Zp)(),[n,o]=(0,R.useState)(!1);return((0,R.useEffect)(()=>{if(i){if(null!==t)return r("/interview-preparation/dashboard");o(!0),(0,N.xP)("visit_test_interview",{label:"interview_prep",parameter:e||"default"})}},[i]),n)?(0,J.jsx)(eJO,{children:(0,J.jsx)(eJ$,{})}):null};var eJU=i(43219);let eJW=tt.Ay.div(["display:flex;justify-content:end;gap:5px;margin-top:24px;"]),eJK="builder.interview_prep_view.leaving_modal",eJq=({onChoiceClick:e})=>{let{i18n:t}=(0,e1.s)();return(0,J.jsx)(eJU.a,{onClose:()=>e(!1),title:t.t(`${eJK}.title`),subtitle:t.t(`${eJK}.message`),children:(0,J.jsxs)(eJW,{children:[(0,J.jsx)(i$.Ay,{theme:i$.Ox.ghost,onClick:()=>e(!0),children:t.t(`${eJK}.leave_button`)}),(0,J.jsx)(i$.Ay,{onClick:()=>e(!1),children:t.t(`${eJK}.stay_button`)})]})})},eJG=tt.Ay.div(["display:flex;width:100%;",""],tQ.A.Tablet`
5695    display: none;
5696  `),eJZ="builder.interview_prep_view.navbar",eJX=({currentStep:e})=>{let t=(0,L.Zp)(),{i18n:i}=(0,e1.s)(),r=!(0,L.zy)().pathname.includes("page"),[n,o]=(0,R.useState)(!1);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ew2,{onCloseClick:()=>o(!0),showCloseIcon:r,children:(0,J.jsx)(eJG,{children:(0,J.jsx)(eam,{steps:[i.t(`${eJZ}.step_0`),i.t(`${eJZ}.step_1`),i.t(`${eJZ}.step_2`)],currentStep:e})})}),n&&(0,J.jsx)(eJq,{onChoiceClick:e=>{e?t("/interview-preparation/dashboard"):o(!1)}})]})},eJQ=()=>{let{behaviour:e}=(0,L.g)(),t=(0,L.Zp)(),i=(0,L.zy)(),[r,n]=(0,R.useState)(!0);return((0,R.useEffect)(()=>{!async function(){if(200===(await fetch("/api/app/account",{cache:"no-store"})).status){let r=e?`/interview-preparation/new/${e}`:"/interview-preparation/new";return t(`${r}${i.search}`)}(0,N.xP)("visit_test_interview",{label:"interview_prep",parameter:e||"default"}),n(!1)}()},[]),r)?(0,J.jsx)(eJH,{children:(0,J.jsx)(du.Ay,{})}):(0,J.jsxs)(eJz,{children:[(0,J.jsx)(eJX,{currentStep:1}),(0,J.jsx)(eJF,{children:(0,J.jsx)(eJ$,{})})]})},eJY=()=>(0,J.jsxs)(L.BV,{children:[(0,J.jsx)(L.qh,{path:"",element:(0,J.jsx)(eJQ,{})}),(0,J.jsx)(L.qh,{path:":behaviour",element:(0,J.jsx)(eJQ,{})}),(0,J.jsx)(L.qh,{path:"/page/check-your-inbox",element:(0,J.jsx)(eJr,{})})]}),eJ0=()=>(0,J.jsxs)(L.BV,{children:[(0,J.jsx)(L.qh,{path:"new",element:(0,J.jsx)(eJV,{})}),(0,J.jsx)(L.qh,{path:"new/:behaviour",element:(0,J.jsx)(eJV,{})}),(0,J.jsx)(L.qh,{path:"ready",element:(0,J.jsx)(eJh,{})}),(0,J.jsx)(L.qh,{path:"interview-player",element:(0,J.jsx)(eST,{})}),(0,J.jsx)(L.qh,{path:"dashboard",element:(0,J.jsx)(ewn,{})}),(0,J.jsx)(L.qh,{path:"questions-library",element:(0,J.jsx)(eSZ,{})}),(0,J.jsx)(L.qh,{path:"feedback",element:(0,J.jsx)(eP5,{})}),(0,J.jsx)(L.qh,{path:"custom-interview",element:(0,J.jsx)(ejN,{})})]});var eJ1=i(53285),eJ2=i(49816),eJ3=i(63833);let eJ5=tt.Ay.div(["position:relative;background:",";border-radius:16px;width:100%;max-width:544px;box-shadow:0px 16px 64px -8px rgba(15,20,30,0.32),0px 6px 8px -2px rgba(15,20,30,0.08);",""],te.Jy.White,tQ.A.Phone`
5697    max-width: 100%;
5698    margin: 0 16px;
5699  `),eJ4=tt.Ay.div(["position:absolute;top:",";right:",";z-index:1;",""],te.Kz.L,te.Kz.L,tQ.A.Phone`
5700    top: ${te.Kz.S};
5701    right: ${te.Kz.S};
5702  `),eJ6=tt.Ay.div(["display:flex;flex-direction:column;gap:",";padding:",";",""],te.Kz.L,te.Kz.L,tQ.A.Phone`
5703    padding: ${te.Kz.M};
5704  `),eJ8=tt.Ay.div(["display:flex;flex-direction:column;gap:",";padding-right:40px;"],te.Kz.XS),eJ9=tt.Ay.h2(["",";font-weight:",";color:",";margin:0;"],te.o5.sizes.S,te.o5.weights.demibold,te.Jy.Neutral90),eJ7=tt.Ay.p(["",";font-weight:",";color:",";margin:0;"],te.o5.sizes.Body,te.o5.weights.regular,te.Jy.Neutral50),eEe=tt.Ay.div(["display:flex;justify-content:flex-end;
5704gap:",";"],te.Kz["2XS"]),eEt=(0,R.createContext)(null),eEi=({type:e,onConfirm:t,children:i})=>{let[r,n]=(0,R.useState)(!1),o=(0,sK.c)(),a={discard:{title:o.application.discardModal.title,subtitle:o.application.discardModal.subtitle,confirmLabel:o.application.discardModal.confirm,cancelLabel:o.common.cancel,confirmTheme:i$.Ox.destructive},"save-exit":{title:o.wizard.saveExitModal.title,subtitle:o.wizard.saveExitModal.subtitle,confirmLabel:o.wizard.saveExitModal.confirm,cancelLabel:o.wizard.saveExitModal.cancel,confirmTheme:i$.Ox.default}}[e];return(0,J.jsxs)(eEt.Provider,{value:{open:()=>n(!0)},children:[i,r&&(0,J.jsx)(i6.A,{overlayFadeDuration:150,contentSlideDuration:150,onClose:()=>n(!1),children:(0,J.jsxs)(eJ5,{children:[(0,J.jsx)(eJ4,{children:(0,J.jsx)(JF.O,{onClick:()=>n(!1)})}),(0,J.jsxs)(eJ6,{children:[(0,J.jsxs)(eJ8,{children:[(0,J.jsx)(eJ9,{children:a.title}),(0,J.jsx)(eJ7,{children:a.subtitle})]}),(0,J.jsxs)(eEe,{children:[(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,size:i$.Mp.default,onClick:()=>n(!1),children:a.cancelLabel}),(0,J.jsx)(i$.JQ,{theme:a.confirmTheme,size:i$.Mp.default,onClick:()=>{n(!1),t()},children:a.confirmLabel})]})]})]})})]})};eEi.Trigger=({children:e})=>{let t=(0,R.useContext)(eEt);return R.cloneElement(e,{onClick:t?.open})};let eEr=tt.Ay.div(["font-family:'TT Talent';position:relative;min-height:100dvh;width:100%;background:",";z-index:1;display:flex;flex-direction:column;"],te.Jy.Neutral10),eEn=tt.Ay.nav(["position:fixed;top:0;left:0;width:100%;height:64px;background:",";padding:"," ",";display:flex;justify-content:space-between;align-items:center;border:1px solid ",";color:",";z-index:10;",""],te.Jy.White,te.Kz.XS,te.Kz.M,te.Jy.Neutral15,te.Jy.Neutral90,tQ.A.Phone` padding: ${te.Kz.XS}; `),eEo=tt.Ay.button(["flex:1;border:none;background:none;display:flex;align-items:center;cursor:pointer;",";",";",""],te.o5.sizes.Caption,te.o5.weights.medium,tQ.A.Phone` 
5705    position: absolute;
5706    & > span { display: none;}
5707  `),eEa=tt.Ay.div(["flex:1;"]),eEl=tt.Ay.h1(["flex:1;justify-content:center;text-align:center;",";",";"],te.o5.sizes.Body,te.o5.weights.regular),eEs=tt.Ay.span(["color:",";"],te.Jy.Neutral50),eEd=tt.Ay.div(["flex:1;display:flex;gap:",";justify-content:flex-end;",""],te.Kz.XS,tQ.A.Phone`display: none;`),eEc=tt.Ay.div(["position:fixed;top:64px;left:0;width:100%;height:4px;background:",";z-index:10;"],te.Jy.Neutral15),eEu=tt.Ay.div(["height:100%;width:","%;background:",";transition:width 0.3s ease;"],e=>100*e.$progress,te.Jy.Blue50),eEp=tt.Ay.main(["max-width:864px;width:100%;height:100%;margin-top:70px;margin-bottom:2px;margin-left:auto;margin-right:auto;flex:1;display:flex;flex-direction:column;",""],tQ.A.Phone`
5708    margin-bottom: 66px;
5709  `),eEh=tt.Ay.footer(["display:none;position:fixed;bottom:0;left:0;width:100%;height:64px;background:",";padding:12px;border:1px solid ",";border-top-left-radius:12px;border-top-right-radius:12px;color:",";z-index:10;& > button{width:100%;}",""],te.Jy.White,te.Jy.Neutral15,te.Jy.Neutral90,tQ.A.Tablet`
5710    display: flex;
5711    justify-content: center;
5712    align-items: center;
5713  `),eEx=e=>{let t=(0,sK.c)();return(0,J.jsxs)(eEn,{style:e.style,children:[e.hideBack?(0,J.jsx)(eEa,{}):(0,J.jsxs)(eEo,{type:"button",onClick:e.goBack,children:[(0,J.jsx)(tP.qJ.ChevronLeft,{})," ",(0,J.jsx)("span",{children:t.wizard.back})]}),(0,J.jsxs)(eEl,{children:[e.title,e.suffix?(0,J.jsxs)(J.Fragment,{children:[" \xb7 ",(0,J.jsx)(eEs,{children:e.suffix})]}):null]}),(0,J.jsx)(eEd,{children:e.children})]})},eEm=({wizard:e,children:t,onSaveAndExit:i,isLoading:r=!1,isUpdate:n=!1,onResolve:o})=>{let a=(0,L.Zp)(),{i18n:l}=(0,e1.s)(),s=(0,sK.c)(),d=e.getCurrentStepInfo(),c=e.getNextStep(),u=c?l.t(c.label):"",p=e.isLastStep(),h=e.getProgressText(),x=e.getCurrentStepNumber()/e.getTotalSteps(),m=p?n?s.wizard.update:s.wizard.complete:`${s.wizard.next}: ${u}`;return(0,J.jsxs)(eEr,{"data-testid":"job-copilot-wizard",children:[(0,J.jsxs)("header",{children:[(0,J.jsxs)(eEx,{title:l.t(d.label),suffix:h,goBack:()=>{if(o?.(),eJ3.$.clickBack(d.step),e.isFirstStep())return void a(e.getDashboardPath());let t=e.getPreviousStep();t&&a(e.buildStepPath(t.step))},children:[!p&&(0,J.jsx)(eEi,{type:"save-exit",onConfirm:()=>{o?.(),eJ3.$.clickSaveAndExit(d.step),i()},children:(0,J.jsx)(eEi.Trigger,{children:(0,J.jsx)(i$.$n,{type:"button",theme:i$.Ox.ghost,size:"small",isLoading:r,children:s.wizard.saveAndExit})})}),(0,J.jsx)(i$.$n,{type:"submit",size:"small",isLoading:r,children:m})]}),(0,J.jsx)(eEc,{children:(0,J.jsx)(eEu,{$progress:x})})]}),(0,J.jsx)(eEp,{children:t}),(0,J.jsx)(eEh,{children:(0,J.jsx)(i$.$n,{type:"submit",size:"small",isLoading:r,children:m})})]})};var eEg=i(19744),eEy=i(51926);let eEf=e=>{let t={};e.targetRoles?.length&&(t.jobTitles=e.targetRoles.map(e=>({value:e.standardTitle,label:e.standardTitle})));let i=(e.targetLocations??[]).filter(e=>e.formattedName).map(e=>({value:e.id?String(e.id):e.formattedName,label:e.formattedName}));return i.length&&(t.locations=i),t};var eEb=i(78005),eE_=i(9631),eEv=i(78862);let eEj=eE_.Ik({firstName:eE_.Yj().min(1,"First name is required"),lastName:eE_.Yj().min(1,"Last name is required"),mobile:eE_.Yj().min(1,"Phone number is required"),email:eE_.Yj(),country:eE_.Yj().min(1,"Country is required"),
5713city:eE_.Yj().min(1,"City is required"),state:eE_.Yj().optional(),postalCode:eE_.Yj().min(1,"Postal code is required"),streetAddress:eE_.Yj().min(1,"Street address is required"),jobTitle:eE_.Yj().min(1,"Job title is required"),summary:eE_.Yj().min(1,"Experience summary is required"),eligibleCountries:eE_.YO(eE_.Ik({value:eE_.Yj(),label:eE_.Yj()})).min(1,"Please add at least one country"),visaRequired:eE_.Yj().min(1,"Please select an option"),currentSalaryCurrency:eE_.Yj().default("USD").optional(),currentSalaryAmount:eE_.vk(e=>""===e||null===e||"number"==typeof e&&Number.isNaN(e)?void 0:e,eEv.ai().optional()),desiredSalaryCurrency:eE_.Yj().default("USD").optional(),desiredSalaryAmount:eE_.vk(e=>""===e||null===e||"number"==typeof e&&Number.isNaN(e)?void 0:e,eE_.KC([eEv.ai().min(1,"Desired salary is required"),eE_.Vx().refine(()=>!1,"Desired salary is required")])),linkedinUrl:eE_.Yj(),fluentLanguage:eE_.YO(eE_.Ik({value:eE_.Yj(),label:eE_.Yj()})).max(6).min(1,"Please add at least one language"),birthday:eE_.Yj().optional(),gpaScore:eE_.Yj().optional(),gender:eE_.Yj().optional(),disability:eE_.Yj().nullish(),drivingLicense:eE_.Yj().optional(),securityClearance:eE_.Yj().optional(),isVeteran:eE_.Yj().optional(),ethnicity:eE_.Yj().nullish(),autoApplyDataCompleted:eE_.zM().default(!1),workExperiencesAttributes:eE_.YO(eE_.bz()).optional(),educationsAttributes:eE_.YO(eE_.bz()).optional()}),eEA=Object.fromEntries(eEb.A.map(e=>[e.id,e.name])),eEC=e=>(0,r2.I)({queryKey:["job-copilot-job",e],queryFn:async()=>{let t=await fetch(`/api/jobs/v1/search/${e}`);if(!t.ok)throw Error("Failed to fetch job");return t.json()},enabled:!!e,staleTime:3e5}),eEw={locations:[],jobTitles:[],currentCurrency:"USD"},eEk=e=>{let t=Array.from(new Map((e.locations??[]).filter(e=>e.value&&e.label).map(e=>[e.label,e])).values());return{targetRoles:(e.jobTitles??[]).map(e=>({standardTitle:e.value})),targetLocations:t.map(e=>({id:/^\d+$/.test(e.value)?Number(e.value):null,formattedName:e.label}))}},eES=e=>["auto-apply-screening",e];var eET=i(53177),eEP=i(73478),eEJ=i(47123);let eEE=e=>{if(!Dq.A.isAxiosError(e))return{kind:"generic"};let t=e.response?.status,i=e.response?.data;return{status:t,kind:i&&(i.errors&&"object"==typeof i.errors&&Object.keys(i.errors).length>0||i.error&&"object"==typeof i.error)?"field":"generic"}};function eER(e){let{wizard:t,mutation:i,form:r,onLastStep:n,onComplete:o,isUpdate:a,onResolved:l,isDataLoading:s}=e,{copilotId:d,jobId:c}=(0,L.g)(),[u]=(0,i3.ok)(),p=(0,L.Zp)(),h=(0,R.useCallback)(e=>{let i,r,n=t.getCurrentStepInfo().step;eJ3.$.stepSubmitAttempt(n),eJ3.$.stepValidationFailed(n,(i=new Set,(r=(e,t)=>{if(e&&"object"==typeof e){if("message"in e||"type"in e){t&&i.add(t);return}for(let i of Object.keys(e)){if("ref"===i)continue;let n=/^\d+$/.test(i)?t:t?`${t}.${i}`:i;r(e[i],n)}}})(e,""),Array.from(i)))},[t]);return{onSaveAndContinue:(0,R.useCallback)(async e=>{let r=t.getCurrentStepInfo();eJ3.$.stepSubmitAttempt(r.step);try{let s=await i.mutateAsync(e);l?.();let h=d||s?.data?.id,x=c??u.get("job_slug")??void 0;if(t.isLastStep()){n?.(),await o?.()||p(a?t.getDashboardPath():t.getSuccessPath());return}let m=t.getNextStep();m&&(eJ3.$.completeStep(r.step),r.step===eJ2.Wu.Documents?p(t.buildStepPath(m.step,{queryParams:{resumeId:s.data.documentId,documentType:s.data.documentType},copilotId:h,jobId:x})):p(t.buildStepPath(m.step,{copilotId:h,jobId:x})))}catch(e){eJ3.$.stepSubmitError(r.step,eEE(e))}},[i,t,p,n,o,a,l]),onSaveAndExit:(0,R.useCallback)(async()=>{if(!s)try{let e=r.getValues();await i.mutateAsync(e)}catch(e){eJ3.$.stepSubmitError(t.getCurrentStepInfo().step,eEE(e))}l?.(),p(t.getDashboardPath())},[r,i,p,t,l,s]),onValidationFailed:h}}function eEL(e){let t=(0,R.useRef)(!1),i=(0,R.useCallback)(()=>{t.current=!0},[]);return(0,R.useEffect)(()=>()=>{t.current||eJ3.$.stepAbandoned(e)},[e]),{markResolved:i}}function eEN(e,t,i=!1){R.useEffect(()=>{e&&t.reset(e,i?{keepDirtyValues:!0}:void 0)},[e,t,i])}function eEI(e){let{copilotId:t,jobId:i}=(0,L.g)();return R.useMemo(()=>new eJ2.gq(e,t,i),[t,i,e])}let eEM=(e,t,i,r)=>{let n=(0,R.useCallback)(t=>{if(!Dq.A.isAxiosError(t))return!1;let i=t.response?.data,r=!1;
5713return i.errors?Object.entries(i.errors).forEach(([t,i])=>{Array.isArray(i)&&i.length>0&&(e.setError(t,{type:"manual",message:`${i[0]}`}),r=!0)}):i?.error&&"object"==typeof i.error&&Object.entries(i.error).forEach(([t,i])=>{e.setError(t,{type:"manual",message:`${i}`}),r=!0}),r},[e]);(0,R.useEffect)(()=>{i&&t&&n(t)},[i,t,n]);let o=(0,R.useCallback)(e=>{if(!Dq.A.isAxiosError(e))return"An unexpected error occurred";let t=e.response?.data;if("string"==typeof t?.error)return t.error;if(t?.errorMessage)return t.errorMessage;if(t?.message)return t.message;let i=e.response?.status;return 422===i?null:404===i?"The requested resource was not found":403===i?"You do not have permission to perform this action":500===i?"Server error. Please try again later":e.message||"An error occurred"},[]),a=(0,R.useCallback)(e=>{if(!Dq.A.isAxiosError(e))return!1;let t=e.response?.data;return t?.errors?Object.keys(t.errors).length>0:!!t?.error&&"object"==typeof t.error},[]),l=!!i&&a(t),s=i&&!l?o(t):null;return{hasFieldErrors:l,genericErrorMessage:s,dismissError:r}},eEB=tt.Ay.div(["background-color:",";border:1px solid ",";border-radius:8px;padding:"," ",";display:flex;align-items:center;justify-content:space-between;margin-top:",";"],te.Jy.Red10,te.Jy.Red30,te.Kz.S,te.Kz.M,te.Kz.S),eED=tt.Ay.div(["display:flex;align-items:center;gap:",";"],te.Kz.XS),eE$=tt.Ay.div(["color:",";flex-shrink:0;display:flex;align-items:center;"],te.Jy.Red50),eEO=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Red70),eEz=(0,tt.Ay)(i$.Ay)(["padding:",";margin-left:",";flex-shrink:0;&:hover{background-color:",";}svg{width:20px;height:20px;}"],te.Kz["2XS"],te.Kz.S,te.Jy.Red20),eEF=({message:e,onDismiss:t})=>(0,J.jsxs)(eEB,{role:"alert","aria-live":"polite",children:[(0,J.jsxs)(eED,{children:[(0,J.jsx)(eE$,{children:(0,J.jsx)(tP.EK.WarningCircle,{})}),(0,J.jsx)(eEO,{children:e})]}),(0,J.jsx)(eEz,{size:i$.Mp.small,theme:i$.Ox.ghost,onClick:t,type:"button","aria-label":"Dismiss error",children:(0,J.jsx)(tP.EK.Close,{})})]});var eEH=i(74309),eEV=i(47527);let eEU=tt.Ay.div(["flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:",";background:",";border-radius:12px;padding:"," ",";"],te.Kz.XS,te.Jy.White,te.Kz.L,te.Kz.M),eEW=tt.Ay.div(["margin-bottom:",";svg{width:48px;height:48px;}"],te.Kz.XS),eEK=tt.Ay.h2(["",";",";"],te.o5.sizes.S,te.o5.weights.medium),eEq=tt.Ay.p(["",";color:",";max-width:420px;"],te.o5.sizes.Body,te.Jy.Neutral50),eEG=tt.Ay.div(["display:flex;gap:",";width:100%;& > button{flex:1;}"],te.Kz.XS),eEZ=()=>{let e=(0,sK.c)(),t=(0,L.Zp)(),i=(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(i$.$n,{type:"button",theme:i$.Ox.ghost,size:"small",onClick:()=>t("/auto-apply"),children:e.wizard.error.exit}),(0,J.jsx)(i$.$n,{type:"button",size:"small",onClick:()=>window.location.reload(),children:e.wizard.error.retry})]});return(0,J.jsxs)(eEr,{children:[(0,J.jsx)("header",{children:(0,J.jsx)(eEx,{title:e.wizard.error.navTitle,hideBack:!0,children:i})}),(0,J.jsx)(eEp,{children:(0,J.jsxs)(eEU,{children:[(0,J.jsx)(eEW,{children:(0,J.jsx)(eEV.F.Error,{fill:te.Jy.Red50})}),(0,J.jsx)(eEK,{children:e.wizard.error.title}),(0,J.jsx)(eEq,{children:e.wizard.error.subtitle})]})}),(0,J.jsx)(eEh,{children:(0,J.jsx)(eEG,{children:i})})]})},eEX={documentId:null,documentType:null,uploadedResumeUrl:null,uploadedResumeFilename:null,tailorResumeForJob:!0,tailorCoverLetterForJob:!0},eEQ=(0,wb.N)(()=>{let e=(0,sK.c)(),[t,i]=(0,i3.ok)(),{copilotId:r}=(0,L.g)(),n=eEI(eJ2.Wu.Documents),o=t.get("resume_id"),a=(0,R.useRef)(!1),l=(0,eEH.B)(r),s=(0,eEP.e)(r),d=(0,edf.mN)({mode:"onBlur",resolver:(0,eJ1.u)(cJ.o),defaultValues:l.data||eEX}),c=eEM(d,s.error,s.isError,s.reset);eEN(l.data||eEX,d,!0);let{markResolved:u}=eEL(eJ2.Wu.Documents),{onSaveAndContinue:p,onSaveAndExit:h,onValidationFailed:x}=eER({wizard:n,mutation:s,form:d,onResolved:u,isDataLoading:l.isLoading}),m=(0,edf.FH)({control:d.control,name:"documentId"}),g=(0,edf.FH)({control:d.control,name:"documentType"}),y=(0,eEJ.R)(m,g||cJ.K.resume,{refetchOnMount:"always"});return(0,R.useEffect)(()=>
5713{if(a.current||!o)return;let e=Number(o);if(!Number.isFinite(e)||e<=0)return;d.getValues("documentId")!==e&&d.setValue("documentId",e,{shouldDirty:!0,shouldTouch:!0,shouldValidate:!0}),d.getValues("documentType")!==cJ.K.resume&&(d.setValue("documentType",cJ.K.resume,{shouldDirty:!0,shouldTouch:!0,shouldValidate:!0}),d.setValue("uploadedResumeUrl",null),d.setValue("uploadedResumeFilename",null)),a.current=!0;let r=new URLSearchParams(t);r.delete("resume_id"),i(r,{replace:!0})},[d,o,t,i]),(0,R.useEffect)(()=>{let e=y.data?.type==="resume"&&!!y.data?.autoTailored,t=g!==cJ.K.trDocument&&!e;d.getValues("tailorResumeForJob")!==t&&d.setValue("tailorResumeForJob",t,{shouldDirty:!0,shouldTouch:!0,shouldValidate:!0})},[y.data,g,d]),(0,R.useEffect)(()=>{let e=g!==cJ.K.trDocument;d.getValues("tailorCoverLetterForJob")!==e&&d.setValue("tailorCoverLetterForJob",e,{shouldDirty:!0,shouldTouch:!0,shouldValidate:!0})},[g,d]),(0,R.useEffect)(()=>{eJ3.$.enterAaDocumentsScreen()},[]),(0,J.jsx)(edf.Op,{...d,children:(0,J.jsx)("form",{onSubmit:d.handleSubmit(p,x),"data-testid":"job-copilot-documents",children:(0,J.jsx)(eEm,{wizard:n,onSaveAndExit:h,onResolve:u,isLoading:s.isPending,children:(0,J.jsx)(eEy.PF,{children:(0,J.jsxs)(eEy.qn,{children:[(0,J.jsx)(eEy.hE,{size:"M",children:e.documents.title}),(0,J.jsx)(eEy.Pd,{children:e.documents.subtitle}),c.genericErrorMessage&&(0,J.jsx)(eEF,{message:c.genericErrorMessage,onDismiss:c.dismissError}),(0,J.jsx)(eEg.yS,{name:"documentId",isLoading:l.isLoading})]})})})})})},{fallback:(0,J.jsx)(eEZ,{})}),eEY=tt.Ay.div(["display:flex;flex-direction:column;gap:",";",""],te.Kz.L,tQ.A.Phone`
5714    gap: ${te.Kz.M};
5715  `),eE0=tt.Ay.div(["display:flex;align-items:center;flex-wrap:wrap;gap:",";",""],te.Kz.S,tQ.A.Phone`
5716    flex-direction: column-reverse;
5717    align-items: flex-start;
5718    gap: ${te.Kz.S};
5719  `),eE1=tt.Ay.h1(["",";font-weight:",";letter-spacing:-0.005em;color:",";margin:0;"],te.o5.sizes.M,te.o5.weights.medium,te.Jy.Neutral90),eE2=tt.Ay.span(["color:",";"],te.Jy.Blue50),eE3=tt.Ay.div(["display:inline-flex;align-items:center;gap:",";padding:"," ",";border-radius:",";background:",";color:",";font-size:14px;line-height:20px;font-weight:",";letter-spacing:0.02em;white-space:nowrap;svg{width:18px;height:18px;flex-shrink:0;color:",";}"],te.Kz["4XS"],te.Kz["3XS"],te.Kz["2XS"],te.Kz["3XS"],te.Jy.Indigo50,te.Jy.White,te.o5.weights.medium,te.Jy.White),eE5=tt.Ay.section(["display:flex;flex-direction:column;"]),eE4=tt.Ay.p(["font-size:12px;line-height:16px;font-weight:",";letter-spacing:0.08em;text-transform:uppercase;color:",";margin:0 0 ",";"],te.o5.weights.medium,te.Jy.Blue50,te.Kz["2XS"]),eE6=tt.Ay.h2(["",";font-weight:",";letter-spacing:-0.005em;color:",";margin:0 0 ",";"],te.o5.sizes.S,te.o5.weights.medium,te.Jy.Neutral90,te.Kz.S),eE8=tt.Ay.div(["display:grid;grid-template-columns:repeat(3,1fr);gap:",";",""],te.Kz.S,tQ.A.Phone`
5720    grid-template-columns: 1fr;
5721  `),eE9=tt.Ay.div(["display:flex;flex-direction:column;padding:",";border:1px solid ",";border-radius:12px;"],te.Kz.M,te.Jy.Neutral15),eE7=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:",";color:",";",";font-weight:",";margin-bottom:",";"],te.Jy.Blue10,te.Jy.Blue50,te.o5.sizes.Body,te.o5.weights.demibold,te.Kz.S),eRe=tt.Ay.h3(["",";font-weight:",";color:",";margin:0 0 ",";"],te.o5.sizes.Body,te.o5.weights.medium,te.Jy.Neutral90,te.Kz["2XS"]),eRt=tt.Ay.p(["",";font-weight:",";color:",";margin:0;"],te.o5.sizes.Body,te.o5.weights.regular,te.Jy.Neutral70),eRi=tt.Ay.hr(["width:100%;border:none;border-top:1px solid ",";margin:0;"],te.Jy.Neutral15),eRr=tt.Ay.section(["padding:"," "," ",";border-radius:16px;background:",";",""],te.Kz.M,te.Kz.L,te.Kz.L,te.Jy.Blue10,tQ.A.Phone`
5722    padding: ${te.Kz.M} ${te.Kz.S} ${te.Kz.S};
5723  `),eRn=(0,tt.Ay)(eE4)(["color:",";"],te.Jy.Blue70),eRo=tt.Ay.h2(["",";font-weight:",";color:",";margin:0;"],te.o5.sizes.S,te.o5.weights.medium,te.Jy.Blue80),eRa=tt.Ay.div(["display:grid;grid-template-columns:repeat(3,1fr);gap:",";margin:"," calc(-1 * ("," - ",")) calc(-1 * ("," - ","));",""],te.Kz["4XS"],te.Kz.M,te.Kz.L,te.Kz["3XS"],te.Kz.L,te.Kz["3XS"],tQ.A.Phone`
5724    grid-template-columns: 1fr;
5725    margin: ${te.Kz.S} 0 0;
5726  `),eRl={indigo:(0,tt.AH)(["background:",";color:",";"],te.Jy.Indigo10,te.Jy.Indigo50),amber:(0,tt.AH)(["background:",";color:",";"],te.Jy.Amber10,te.Jy.Amber50),green:(0,tt.AH)(["background:",";color:",";"],te.Jy.Green10,te.Jy.Green50)},eRs=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;gap:",";padding:",";border-radius:12px;background:",";"],te.Kz["2XS"],te.Kz.M,te.Jy.White),eRd=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;flex-shrink:0;"," svg{width:22px;height:22px;}"],({$variant:e})=>eRl[e]),eRc=tt.Ay.div(["display:flex;flex-direction:column;gap:",";min-width:0;"],te.Kz["3XS"]),eRu=tt.Ay.h3(["font-size:16px;line-height:20px;font-weight:",";color:",";margin:0;"],te.o5.weights.medium,te.Jy.Neutral90),eRp=tt.Ay.p(["font-size:14px;line-height:20px;font-weight:",";color:",";margin:0;"],te.o5.weights.regular,te.Jy.Neutral70),eRh=()=>{let e=(0,sK.c)(),t=(0,e4.J)(),i=!!t?.scopes?.premium,r=[{id:"profile",title:e.dashboard.empty.steps.profileTitle,description:e.dashboard.empty.steps.profileDescription},{id:"preferences",title:e.dashboard.empty.steps.preferencesTitle,de
5726scription:e.dashboard.empty.steps.preferencesDescription},{id:"applications",title:e.dashboard.empty.steps.applicationsTitle,description:e.dashboard.empty.steps.applicationsDescription}],n=[{id:"volume",icon:(0,J.jsx)(tP.qJ.Sparkles,{}),variant:"indigo",title:e.dashboard.empty.benefits.volumeTitle,description:e.dashboard.empty.benefits.volumeDescription},{id:"tailored",icon:(0,J.jsx)(tP.qJ.EditMedium,{}),variant:"amber",title:e.dashboard.empty.benefits.tailoredTitle,description:e.dashboard.empty.benefits.tailoredDescription},{id:"control",icon:(0,J.jsx)(tP.qJ.Tune,{}),variant:"green",title:e.dashboard.empty.benefits.controlTitle,description:e.dashboard.empty.benefits.controlDescription}];return(0,J.jsxs)(eEY,{children:[(0,J.jsxs)(eE0,{children:[(0,J.jsxs)(eE1,{children:[e.dashboard.empty.welcomeTitle," ",(0,J.jsx)(eE2,{children:e.dashboard.empty.welcomeTitleBrand})]}),(0,J.jsxs)(eE3,{children:[i&&(0,J.jsx)(tP.EK.Crown,{}),i?e.dashboard.empty.badgePremium:e.dashboard.empty.badgeFree]})]}),(0,J.jsxs)(eE5,{children:[(0,J.jsx)(eE4,{children:e.dashboard.empty.howItWorks}),(0,J.jsx)(eE6,{children:e.dashboard.empty.howTitle}),(0,J.jsx)(eE8,{children:r.map((e,t)=>(0,J.jsxs)(eE9,{children:[(0,J.jsx)(eE7,{children:t+1}),(0,J.jsx)(eRe,{children:e.title}),(0,J.jsx)(eRt,{children:e.description})]},e.id))})]}),(0,J.jsx)(eRi,{}),(0,J.jsxs)(eRr,{children:[(0,J.jsx)(eRn,{children:e.dashboard.empty.whyAutoApply}),(0,J.jsx)(eRo,{children:e.dashboard.empty.whyTitle}),(0,J.jsx)(eRa,{children:n.map(e=>(0,J.jsxs)(eRs,{children:[(0,J.jsx)(eRd,{$variant:e.variant,children:e.icon}),(0,J.jsxs)(eRc,{children:[(0,J.jsx)(eRu,{children:e.title}),(0,J.jsx)(eRp,{children:e.description})]})]},e.id))})]})]})},eRx=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;width:100%;",""],tQ.A.Phone`
5727    flex-direction: column;
5728    align-items: flex-start;
5729    gap: 14px;
5730  `),eRm=tt.Ay.h1(["",";font-weight:",";color:",";margin:0;"],te.o5.sizes.M,te.o5.weights.medium,te.Jy.Neutral90);te.Kz["3XS"],te.o5.sizes.Body,te.o5.weights.medium,te.Jy.Blue50,te.Kz["3XS"],te.o5.sizes.Body,te.o5.weights.regular,te.Jy.Blue10,te.Jy.Blue50,te.Jy.Neutral90,(0,tt.Ay)(tP.Ay.Info)(["color:",";"],te.Jy.Blue50);let eRg=({title:e,showCreditsInfo:t})=>(0,J.jsxs)(eRx,{children:[(0,J.jsx)(eRm,{children:e}),t&&(0,J.jsx)(b$.F,{})]});var eRy=i(45112);let eRf=tt.Ay.div(["display:flex;gap:",";width:100%;",""],te.Kz.S,tQ.A.Phone`
5731    gap: 16px;
5732    flex-direction: column;
5733  `),eRb=tt.Ay.div(["width:100%;display:flex;gap:",";"],te.Kz.S),eR_=tt.Ay.div(["width:100%;& .swiper{position:relative;overflow:hidden;display:flex;flex-direction:column-reverse;padding:1px;gap:",";}& .swiper-wrapper{display:flex;position:relative;transition-property:transform;}& .swiper-pagination{position:relative;bottom:0;left:0;width:100%;display:flex;justify-content:center;align-items:center;gap:",";}& .swiper-slide{width:100%;&:last-child{margin-right:0;}}& .swiper-pagination-bullet{position:relative;width:6px;height:6px;background:",";opacity:1;border-radius:50%;transition:background 0.2s ease;}& .swiper-pagination-bullet-active{background:",";}"],te.Kz.M,te.Kz.XS,te.Jy.Neutral30,te.Jy.Blue50),eRv=tt.Ay.div(["display:flex;flex-direction:column;min-width:400px;max-width:400px;height:auto;background:",";border-radius:8px;box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 1px 2px 0px rgba(15,56,113,0.12),0px 2px 4px 0px rgba(15,56,113,0.08);",""],te.Jy.White,tQ.A.Phone`
5734    min-width: 100%;
5735    max-width: 100%;
5736    height: auto;
5737  `),eRj=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:",";padding:",";background:",";border-bottom:1px solid ",";border-radius:8px 8px 0 0;"],te.Kz.XS,te.Kz.S,te.Jy.Neutral5,te.Jy.Neutral15),eRA=tt.Ay.span(["",";font-weight:",";color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;"],te.o5.sizes.Body,te.o5.weights.medium,te.Jy.Neutral90),eRC=tt.Ay.div(["display:flex;flex-direction:column;flex:1;justify-content:space-between;gap:",";padding:",";background:",";border-radius:0 0 8px 8px;"],te.Kz.S,te.Kz.S,te.Jy.White),eRw=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.S),eRk=tt.Ay.span(["",";font-weight:",";color:",";"],te.o5.sizes.Body,te.o5.weights.medium,te.Jy.Neutral90),eRS=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["4XS"]),eRT=tt.Ay.span(["",";color:",";"],te.o5.sizes.Caps,te.Jy.Neutral50),eRP=tt.Ay.div(["display:flex;flex-wrap:wrap;gap:",";"],te.Kz["2XS"]),eRJ=tt.Ay.span(["display:inline-flex;align-items:center;padding:"," ",";",";font-weight:",";color:",";background:",";border-radius:6px;"],te.Kz["3XS"],te.Kz["2XS"],te.o5.sizes.Caption,te.o5.weights.medium,te.Jy.Blue60,te.Jy.Blue10),eRE=tt.Ay.span(["display:inline-flex;align-items:center;gap:",";padding:"," ",";",";font-weight:",";color:",";background:",";border-radius:6px;"],te.Kz["3XS"],te.Kz["3XS"],te.Kz["2XS"],te.o5.sizes.Caption,te.o5.weights.regular,te.Jy.Neutral90,te.Jy.Neutral5),eRR=tt.Ay.span(["display:inline-flex;align-items:center;justify-content:center;color:",";svg{width:16px;height:16px;color:",";}"],te.Jy.Neutral50,te.Jy.Neutral50);te.Kz.XS,te.Jy.Neutral5,te.Kz["4XS"],te.Kz.S,te.o5.sizes.Caps,te.o5.weights.medium,te.Jy.Neutral50,te.o5.sizes.Body,te.o5.weights.medium,te.Jy.Neutral90;let eRL=tt.Ay.div(["display:flex;gap:10px;"]),eRN=(0,tt.Ay)(i$.JQ).attrs({theme:i$.Ox.ghost,size:i$.Mp.small})(["flex:1;"]),eRI=tt.Ay.div(["display:flex;flex-direction:column;gap:",";flex:1;",""],te.Kz["3XS"],tQ.A.Tablet`
5738    width: 100%;
5739    height: 100%;
5740  `),eRM=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;padding:",";background:",";border-radius:12px;"],te.Kz["2XS"],te.Jy.Blue10),eRB=tt.Ay.div(["display:flex;align-items:center;gap:6px;",";font-weight:",";color:",";svg{color:",";}"],te.o5.sizes.Caption,te.o5.weights.regular,te.Jy.Neutral90,te.Jy.Blue50),eRD=tt.Ay.button(["background:none;border:none;padding:0;cursor:pointer;",";font-weight:",";color:",";&:hover{text-decoration:underline;}"],te.o5.sizes.Caption,te.o5.weights.medium,te.Jy.Blue50),eR$=tt.Ay.div(["display:flex;gap:",";flex:1;",""],te.Kz["3XS"],tQ.A.Phone`
5741    flex-direction: column;
5742  `),eRO=tt.Ay.span(["",";font-weight:",";color:",";"],te.o5.sizes.L,te.o5.weights.medium,te.Jy.Neutral90),eRz=tt.Ay.div(["display:flex;align-items:center;justify-content:center;gap:6px;width:196px;",";font-weight:",";color:",";"," ",""],te.o5.sizes.Body,te.o5.weights.regular,te.Jy.Neutral90,tQ.A.Tablet`
5743    width: auto;
5744  `,tQ.A.Phone`
5745    width: auto;
5746  `),eRF=tt.Ay.div(["width:24px;height:24px;display:flex;align-items:center;justify-content:center;svg{color:",";}"],({$variant:e})=>{switch(e){case"applied":return te.Jy.Green50;case"processing":return te.Jy.Blue50;default:return te.Jy.Neutral50}}),eRH=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:",";flex:1;padding:"," "," ",";background:",";border-radius:12px;cursor:pointer;"," "," &:hover{background:",";","{color:",";}","{color:",";}","{svg{color:",";}}}"],te.Kz["3XS"],te.Kz.M,te.Kz.M,te.Kz.XS,te.Jy.Neutral5,tQ.A.Tablet`
5747    min-width: 216px;
5748  `,tQ.A.Phone`
5749    min-width: 100%;
5750    padding: ${te.Kz.XL} ${te.Kz.M};
5751  `,te.Jy.Blue10,eRO,te.Jy.Blue80,eRz,te.Jy.Blue80,eRF,te.Jy.Blue50),eRV=({jobCopilot:e,stats:t,isStatsLoading:i,onToggleActive:r,onEditConfig:n,onViewAllJobs:o})=>{let a=(0,sK.c)(),l=(0,L.Zp)(),{isTablet:s,isPhone:d}=(0,ih.e)(),{careerProfileData:c}=(0,eG.B)(),[u,p]=(0,R.useState)({review:!1,processing:!1,applied:!1}),h=()=>{l("/job-tracking")},x=(c?.targetRoles??[]).map(e=>e.standardTitle),m=[{id:"processing",title:a.dashboard.success.stats.processingTitle,tooltip:a.dashboard.success.stats.processingTooltip,value:t?.processing,icon:(0,J.jsx)(tP.EK.StatusNew,{}),onClick:h},{id:"applied",title:a.dashboard.success.stats.autoAppliedTitle,tooltip:a.dashboard.success.stats.autoAppliedTooltip,value:t?.autoApplied,icon:(0,J.jsx)(tP.qJ.TickSuccess,{}),onClick:h}],g=t=>{r(t.target.checked,e.id)},y=()=>{let t;return(0,J.jsxs)(eRv,{children:[(0,J.jsxs)(eRj,{children:[(0,J.jsx)(eRA,{children:x[0]}),(0,J.jsx)(eRy.l,{isControlled:!0,checked:e.enabled,onChange:g})]}),(0,J.jsxs)(eRC,{children:[(0,J.jsxs)(eRw,{children:[(0,J.jsx)(eRk,{children:a.dashboard.success.card.whatWeSearch}),(0,J.jsxs)(eRS,{children:[(0,J.jsx)(eRT,{children:a.dashboard.success.card.targetRoles}),(0,J.jsx)(eRP,{children:x.map(e=>(0,J.jsx)(eRJ,{children:e},e))})]}),(0,J.jsxs)(eRS,{children:[(0,J.jsx)(eRT,{children:a.dashboard.success.card.locationsWorkMode}
5751),(0,J.jsx)(eRP,{children:(t=[],(c?.targetLocations??[]).forEach(e=>{if(!e.formattedName)return;let i="Remote"===e.formattedName;t.push({id:e.id?`location-${e.id}`:e.formattedName,label:i?a.dashboard.success.card.locationRemote:e.formattedName,remote:i})}),t).map(e=>(0,J.jsxs)(eRE,{children:[(0,J.jsx)(eRR,{children:e.remote?(0,J.jsx)(tP.qJ.Pin,{}):(0,J.jsx)(tP.qJ.NewLocation,{})}),e.label]},e.id))})]})]}),(0,J.jsx)(eRL,{children:(0,J.jsx)(eRN,{onClick:()=>n(e.id),leadingIcon:(0,J.jsx)(tP.qJ.EditMedium,{}),children:a.dashboard.success.card.editConfiguration})})]})]})},f=()=>(0,J.jsxs)(eRI,{children:[(0,J.jsxs)(eRM,{children:[(0,J.jsxs)(eRB,{children:[(0,J.jsx)(tP.qJ.Ai,{}),a.dashboard.success.stats.since," ",(0,az.Yq)(t?.createdDate||new Date,"MMM d, yyyy")]}),(0,J.jsx)(eRD,{onClick:o,children:a.dashboard.success.stats.viewAllJobs})]}),(0,J.jsx)(eR$,{children:m.map(e=>(0,J.jsxs)(eRH,{onMouseEnter:()=>p(t=>({...t,[e.id]:!0})),onMouseLeave:()=>p(t=>({...t,[e.id]:!1})),onClick:e.onClick,children:[(0,J.jsx)(aH.QP,{width:228,visible:u[e.id],value:e.tooltip,multiline:!0,children:(0,J.jsx)(eRO,{children:i?(0,J.jsx)(du.Qw,{$width:"24px",$height:"24px"}):e.value??0})}),(0,J.jsxs)(eRz,{children:[(0,J.jsx)(eRF,{$variant:e.id,children:e.icon}),e.title]})]},e.id))})]});return s&&!d?(0,J.jsx)(eRb,{children:(0,J.jsx)(eR_,{children:(0,J.jsxs)(nl.RC,{modules:[na.dK,na.FJ],grabCursor:!0,mousewheel:!0,slideToClickedSlide:!0,slidesPerView:"auto",initialSlide:0,spaceBetween:12,pagination:{clickable:!0},children:[(0,J.jsx)(nl.qr,{children:y()}),(0,J.jsx)(nl.qr,{children:f()})]})})}):(0,J.jsxs)(eRf,{children:[y(),f()]})},eRU=()=>{let[e,t]=(0,R.useState)(null);return{isOpen:null!==e,copilotId:e,open:(0,R.useCallback)(e=>t(e),[]),close:(0,R.useCallback)(()=>t(null),[])}};var eRW=i(83978);let eRK=(0,tt.Ay)(eRW.A)(["padding:32px;gap:32px;",""],tQ.$.Phone`
5752    width: 100%;
5753    padding: 20px;
5754  `),eRq="1200px",eRG=tt.Ay.div(["position:relative;display:flex;flex-direction:column;width:100%;"]),eRZ=tt.Ay.div(["display:flex;flex-direction:column;gap:",";width:100%;max-width:",";margin:0 auto;padding:"," "," ",";"," ",""],te.Kz.L,eRq,te.Kz.L,te.Kz.M,te.Kz.S,tQ.$.Phone`
5755    padding: ${te.Kz.L} ${te.Kz.M};
5756  `,({$isEmpty:e})=>e&&(0,tt.AH)(["gap:72px;"])),eRX=tt.Ay.div(["position:sticky;bottom:0;z-index:10;width:100%;padding:"," 0;background:",";box-shadow:",";transition:box-shadow 0.2s ease-out;",""],te.Kz.S,te.Jy.White,({$withShadow:e})=>e?te.qd.lightWithBorderShadowMid:"none",tQ.$.Phone`
5757    bottom: ${"87px"};
5758  `),eRQ=tt.Ay.div(["display:flex;justify-content:flex-end;width:100%;max-width:",";margin:0 auto;padding:0 ",";button{min-width:220px;}",""],eRq,te.Kz.M,tQ.$.Phone`
5759    button {
5760      width: 100%;
5761    }
5762  `),eRY=(0,tt.Ay)(du.Ay)([""]),eR0=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;height:calc(100vh - 200px);"]),eR1=({jobCopilot:e})=>{let t=(0,sK.c)(),i=(0,L.Zp)();(0,R.useEffect)(()=>{eJ3.$.enterWelcomeScreen()},[]);let r=eRU(),n=eRU(),{autoApplyDataCompleted:o,isUserOnAutoApplyPlan:a,hasUserCompletedQuestionnaire:l}=(0,ck.J)(),{canScrollBottom:s}=Rm(),{data:d,isLoading:c}=(0,bS.i)(l),{mutateAsync:u}=(0,eEP.e)(e?.id),p=async(e,t)=>{if(eJ3.$.toggleCopilot(e,"dashboard"),e&&!o)r.open(t);else{if(!e)return n.open(t);await u({enabled:e})}},h=async()=>{n.copilotId&&(await u({enabled:!1}),n.close())},x=async()=>{i("/auto-apply/documents"),r.close()},m=async()=>{eJ3.$.setupClick("main_dashboard"),eJ3.$.createNewCopilot(),i(e?.id?`/auto-apply/${e.id}/documents`:"/auto-apply/documents")};return(0,J.jsxs)(eRG,{$isEmpty:!l,children:[l?(0,J.jsxs)(eRZ,{children:[(0,J.jsx)(i1.Ay,{fallback:(0,J.jsx)(i1.vU,{}),children:(0,J.jsx)(eRg,{title:t.dashboard.title,showCreditsInfo:a})}),(0,J.jsx)(i1.Ay,{fallback:(0,J.jsx)(i1.vU,{}),children:(0,J.jsx)(eRV,{stats:d,jobCopilot:e,isStatsLoading:c,onToggleActive:p,onEditConfig:e=>{eJ3.$.clickEditConfig(),i(`/auto-apply/${e}/documents`)},onViewAllJobs:()=>{eJ3.$.clickViewAllJobs(),i("/job-tracking")}})})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eRZ,{$isEmpty:!0,children:(0,J.jsx)(i1.Ay,{fallback:(0,J.jsx)(i1.vU,{}),children:(0,J.jsx)(eRh,{})})}
5762),(0,J.jsx)(eRX,{$withShadow:s,children:(0,J.jsx)(eRQ,{children:(0,J.jsx)(i$.JQ,{theme:i$.Ox.default,size:i$.Mp.default,onClick:m,children:t.dashboard.empty.createCopilot})})})]}),r.isOpen&&(0,J.jsx)(eRK,{onClose:r.close,onCancel:r.close,onSuccess:x,title:t.dashboard.toggleConfirmModal.title,description:t.dashboard.toggleConfirmModal.description,cancelButton:t.dashboard.toggleConfirmModal.cancel,successButton:t.dashboard.toggleConfirmModal.toggle}),n.isOpen&&(0,J.jsx)(eRK,{onClose:n.close,onCancel:n.close,onSuccess:h,title:t.dashboard.disableConfirmModal.title,description:t.dashboard.disableConfirmModal.description,secondaryDescription:t.dashboard.disableConfirmModal.secondary_description,cancelButton:t.dashboard.disableConfirmModal.cancel,successButton:t.dashboard.disableConfirmModal.disable})]})},eR2=()=>(0,J.jsx)(eR0,{children:(0,J.jsx)(eRY,{})});var eR3=i(77169),eR5=i(39593);let eR4=["gpaScore","gender","ethnicity","disability","drivingLicense","isVeteran","securityClearance"],eR6=["currentSalaryAmount","currentSalaryCurrency","desiredSalaryAmount","desiredSalaryCurrency"];var eR8=i(7753);let eR9=({controller:e,showIntro:t=!1,profileInfoSubtitle:i})=>{let r=(0,sK.c)(),{i18n:n}=(0,e1.s)(),{watch:o,control:a}=(0,edf.xW)(),{errors:l,submitCount:s}=(0,edf.lN)({control:a}),{screeningQuery:d,genericErrorMessage:c,dismissError:u,shouldShowAiWriter:p,aiWriterProps:h,editorContainerRef:x,workExpSection:m,educationSection:g,isCardOpen:y,handleCardAdd:f,handleCardUpdate:b,handleCardDelete:_,handleCardMove:v,handleCardToggle:j,openSections:A,handleSectionToggle:C}=e;(e=>{let{watch:t}=(0,edf.xW)(),{isCareerProfileLoading:i}=(0,eG.B)(),r=(0,R.useRef)(new Set),n=(0,R.useRef)(!1);(0,R.useEffect)(()=>{if(n.current||e||i)return;let t=window.setTimeout(()=>{n.current=!0},0);return()=>window.clearTimeout(t)},[e,i]),(0,R.useEffect)(()=>{let e=t((e,{name:t,type:i})=>{if(!t||"change"!==i&&!n.current)return;let o=t.startsWith("workExperiencesAttributes")?"work_experience":t.startsWith("educationsAttributes")?"education":eR6.includes(t)?"salary":eR4.includes(t)?"optional_questions":"other";r.current.has(o)||(r.current.add(o),eJ3.$.questionnaireFieldEdited(o))});return()=>e.unsubscribe()},[t])})(d.isLoading);let w=o("firstName"),k=o("lastName"),S=o("mobile"),T=o("email"),P=o("city"),E=o("country"),L=o("jobTitle"),N=o("linkedinUrl"),I=[o("streetAddress"),P,o("postalCode"),E].filter(Boolean).join(", ")||void 0,M=S?`+${S.replace(/^\+/,"")}`:void 0,[B,D]=(0,R.useState)(!1),O=["gpaScore","gender","ethnicity","disability","drivingLicense","isVeteran","securityClearance"].some(e=>!!l[e]),z=(0,R.useRef)(s);return(0,R.useEffect)(()=>{!(s<=z.current)&&(z.current=s,O&&D(!0))},[s,O]),(0,J.jsxs)(R.Fragment,{children:[(0,J.jsx)(eR3.E,{as:eEy.PF,children:(0,J.jsxs)(eEy.qn,{children:[(0,J.jsxs)(eEy.hK,{space:"L",children:[t&&(0,J.jsxs)("div",{children:[(0,J.jsx)(eEy.hE,{children:r.screening.title}),(0,J.jsx)(eEy.Pd,{children:r.screening.subtitle})]}),c&&(0,J.jsx)(eEF,{message:c,onDismiss:u}),(0,J.jsxs)(eEy.uF,{children:[(0,J.jsxs)("div",{style:{marginBottom:"16px"},children:[(0,J.jsx)(eEy.EY,{size:"Subhead",weight:"medium",children:r.screening.profileInfo.title}),(0,J.jsx)(eEy.EY,{color:"Neutral50",children:i})]}),(0,J.jsx)(eEg.AQ,{label:r.screening.fullName.title,required:!0,fields:["firstName","lastName"],displayValue:[w,k].filter(Boolean).join(" ")||void 0,isLoading:d.isLoading,children:(0,J.jsxs)(eEy.xA,{columns:2,children:[(0,J.jsx)(eEg.A_,{name:"firstName",label:r.screening.fullName.firstNameLabel,placeholder:r.screening.fullName.firstNamePlaceholder,isLoading:d.isLoading}),(0,J.jsx)(eEg.A_,{name:"lastName",label:r.screening.fullName.lastNameLabel,placeholder:r.screening.fullName.lastNamePlaceholder,isLoading:d.isLoading})]})}),(0,J.jsx)(eEg.AQ,{label:r.screening.email.title,fields:["email"],displayValue:T||void 0,isLoading:d.isLoading,children:(0,J.jsx)(eEg.A_,{name:"email",label:r.screening.email.title,placeholder:r.screening.email.placeholder,isLoading:d.isLoading})}),(0,J.jsx)(eEg.AQ,{label:r.screening.phoneNumber.title,required:!0,fields:["mobile"],displayValue:M,isLoading:d.isLoading,children:(0,J.jsx)(eEg.PV,{name:"mobile",label:r.screening.phoneNumber.title,placeholder:r.screening.phoneNumber.placeholder,isLoading:d.isLoading})}),(0,J.jsxs)(eEg.AQ,{label:r.screening.currentLocation.title,required:!0,fields:["city","country","streetAddress","postalCode"],displayValue:I,isLoading:d.isLoading,children:[(0,J.jsx)(eEg.QI,{label:r.screening.currentLocation.cityLabel,placeholder:r.screening.currentLocation.cityPlaceholder,isLoading:d.isLoading}
5762),(0,J.jsxs)(eEy.xA,{columns:2,children:[(0,J.jsx)(eEg.A_,{name:"streetAddress",label:r.screening.address.streetLabel,placeholder:r.screening.address.streetPlaceholder,isLoading:d.isLoading}),(0,J.jsx)(eEg.A_,{name:"postalCode",label:r.screening.currentLocation.postalCodeLabel,placeholder:r.screening.currentLocation.postalCodePlaceholder,isLoading:d.isLoading})]})]}),(0,J.jsx)(eEg.AQ,{label:r.screening.currentJobTitle.title,required:!0,fields:["jobTitle"],displayValue:L||void 0,isLoading:d.isLoading,children:(0,J.jsx)(eEg.hU,{name:"jobTitle",loadOptions:eR5.rc,maxLimit:1,singleValue:!0,label:r.screening.currentJobTitle.title,placeholder:r.screening.currentJobTitle.placeholder,isLoading:d.isLoading})}),(0,J.jsx)(eEg.AQ,{label:r.screening.linkedin.title,fields:["linkedinUrl"],displayValue:N||void 0,isLoading:d.isLoading,children:(0,J.jsx)(eEg.A_,{name:"linkedinUrl",label:r.screening.linkedin.title,placeholder:r.screening.linkedin.placeholder,isLoading:d.isLoading})})]})]}),(0,J.jsx)(eR8.L,{title:r.screening.dateOfBirth.title,children:(0,J.jsx)(eEg.vM,{name:"birthday",placeholder:r.screening.dateOfBirth.placeholder,isLoading:d.isLoading})}),(0,J.jsx)(eR8.L,{title:r.screening.experienceSummary.title,required:!0,children:p?(0,J.jsx)(XL.Kt,{...h,children:(0,J.jsx)(eEg.Os,{name:"summary",placeholder:r.screening.experienceSummary.placeholder,height:260,recommendedLength:500,isLoading:d.isLoading,containerRef:x,additionalToolbarActions:(0,J.jsx)(XL.ee,{placement:"top"})})}):(0,J.jsx)(eEg.Os,{name:"summary",placeholder:r.screening.experienceSummary.placeholder,height:260,recommendedLength:500,isLoading:d.isLoading})}),(0,J.jsx)(eR8.L,{title:r.screening.fluentLanguage.title,subtitle:r.screening.fluentLanguage.subtitle,required:!0,children:(0,J.jsx)(eEg.hU,{name:"fluentLanguage",placeholder:r.screening.fluentLanguage.placeholder,loadOptions:eR5.OY,isLoading:d.isLoading,maxLimit:6,showLimit:6,openMenuOnClick:!0})}),(0,J.jsx)(eR8.L,{title:r.screening.eligibleCountries.title,subtitle:r.screening.eligibleCountries.subtitle,required:!0,children:(0,J.jsx)(eEg.hU,{name:"eligibleCountries",placeholder:r.screening.eligibleCountries.placeholder,loadOptions:eR5.Ms,isLoading:d.isLoading,openMenuOnClick:!0})}),(0,J.jsxs)(eR8.L,{title:r.screening.visaRequired.title,required:!0,children:[(0,J.jsxs)(eEg.A1.Group,{name:"visaRequired",isLoading:d.isLoading,children:[(0,J.jsx)(eEg.A1.Radio,{value:"yes",label:r.common.yes}),(0,J.jsx)(eEg.A1.Radio,{value:"no",label:r.common.no})]}),(0,J.jsxs)(eEy.EY,{children:[(0,J.jsx)(eEV.F.Error,{fill:"#CF760D"})," ",r.screening.visaRequired.warning]})]}),(0,J.jsx)(eR8.L,{title:r.screening.desiredSalary.title,required:!0,isLast:!0,children:(0,J.jsx)(eEg.O9,{name:"desiredSalaryAmount",currencyName:"desiredSalaryCurrency",isLoading:d.isLoading})})]})}),(0,J.jsx)(eR3.E,{children:(0,J.jsx)(Wb.iu,{index:0,item:m,locale:n.currentLocale(),isCardOpen:y,onAdd:f,onCardChange:b,onCardDelete:_,onCardMove:v,onCardToggle:j,isFoldable:!0,isOpened:A[$.Gw.workExperiences],onToggle:C,isRecommendedLengthHidden:!0})}),(0,J.jsx)(eR3.E,{children:(0,J.jsx)(Wb.iu,{index:1,item:g,locale:n.currentLocale(),isCardOpen:y,onAdd:f,onCardChange:b,onCardDelete:_,onCardMove:v,onCardToggle:j,isFoldable:!0,isOpened:A[$.Gw.educations],onToggle:C,isRecommendedLengthHidden:!0})}),(0,J.jsxs)(eEy.i0,{children:[(0,J.jsx)(eEy.pV,{title:r.screening.optionalQuestions,open:B,onClick:()=>D(e=>!e)}),(0,J.jsx)(Kn.A,{isOpen:B,children:(0,J.jsxs)(eEy.hn,{children:[(0,J.jsx)(eR8.L,{title:r.screening.currentSalary.title,children:(0,J.jsx)(eEg.O9,{name:"currentSalaryAmount",isLoading:d.isLoading})}),(0,J.jsx)(eR8.L,{title:r.screening.gpaScore.title,subtitle:r.screening.gpaScore.subtitle,children:(0,J.jsx)(eEg.A_,{name:"gpaScore",placeholder:r.screening.gpaScore.placeholder,isLoading:d.isLoading})}),(0,J.jsxs)(eEy.xA,{columns:2,children:[(0,J.jsx)(eR8.L,{title:r.screening.gender.title,required:!0,children:(0,J.jsx)(eEg.zM,{name:"gender",placeholder:r.screening.gender.placeholder,isLoading:d.isLoading,options:[{id:"male",name:r.screening.gender.male},{id:"female",name:r.screening.gender.female},{id:"non_binary",name:r.screening.gender.nonBinary},{id:"prefer_not_to_say",name:r.screening.gender.preferNotToSay}]})}),(0,J.jsx)(eR8.L,{title:r.screening.ethnicity.title,required:!0,children:(0,J.jsx)(eEg.zM,{name:"ethnicity",placeholder:r.screening.ethnicity.placeholder,isLoading:d.isLoading,options:[{id:"white",name:r.screening.ethnicity.white},{id:"hispanic_or_Latino",name:r.screening.ethnicity.hispanicOrLatino}
5762,{id:"black_or_african_american",name:r.screening.ethnicity.blackOrAfricanAmerican},{id:"asian",name:r.screening.ethnicity.asian},{id:"american_indian_or_alaska_native",name:r.screening.ethnicity.americanIndianOrAlaskaNative},{id:"middle_eastern_or_north_african",name:r.screening.ethnicity.middleEasternOrNorthAfrican},{id:"native_hawaiian_or_other_pacific_islander",name:r.screening.ethnicity.nativeHawaiianOrPacificIslander},{id:"other_race_ethnicity_or_origin",name:r.screening.ethnicity.other},{id:"prefer_not_to_say",name:r.screening.ethnicity.preferNotToSay}]})})]}),(0,J.jsx)(eR8.L,{title:r.screening.disability.title,children:(0,J.jsxs)(eEg.A1.Group,{name:"disability",isLoading:d.isLoading,children:[(0,J.jsx)(eEg.A1.Radio,{value:"yes",label:r.common.yes}),(0,J.jsx)(eEg.A1.Radio,{value:"no",label:r.common.no}),(0,J.jsx)(eEg.A1.Radio,{value:"no-comment",label:r.screening.disability.preferNotToSay})]})}),(0,J.jsx)(eR8.L,{title:r.screening.drivingLicense.title,children:(0,J.jsx)(eEy.xA,{columns:2,children:(0,J.jsx)(eEg.A_,{name:"drivingLicense",placeholder:r.screening.drivingLicense.placeholder,isLoading:d.isLoading})})}),(0,J.jsx)(eR8.L,{title:r.screening.veteran.title,children:(0,J.jsxs)(eEg.A1.Group,{name:"isVeteran",isLoading:d.isLoading,children:[(0,J.jsx)(eEg.A1.Radio,{value:"yes",label:r.common.yes}),(0,J.jsx)(eEg.A1.Radio,{value:"no",label:r.common.no})]})}),(0,J.jsx)(eR8.L,{title:r.screening.securityClearance.title,isLast:!0,children:(0,J.jsx)(eEg.A_,{name:"securityClearance",placeholder:r.screening.securityClearance.placeholder,isLoading:d.isLoading})})]})})]})]})};var eR7=i(5348),eLe=i(84764),eLt=i(96831);let eLi={firstName:"",lastName:"",mobile:"",email:"",country:"",city:"",streetAddress:"",postalCode:"",jobTitle:"",summary:"",eligibleCountries:[],visaRequired:"",currentSalaryCurrency:"",currentSalaryAmount:void 0,desiredSalaryCurrency:"",desiredSalaryAmount:void 0,linkedinUrl:"",autoApplyDataCompleted:!1,fluentLanguage:[],birthday:""},eLr=()=>{let e,t,{i18n:i}=(0,e1.s)(),{copilotId:r}=(0,L.g)(),[n]=(0,i3.ok)(),o=n.get("resumeId")||void 0,a=n.get("documentType");(0,eG.B)();let l=(e=>{let{data:t,isLoading:i}=(0,r2.I)({queryKey:eES(e),useErrorBoundary:!0,queryFn:async()=>{let e=await Y.R3.get("/career/profile");return e?.data?(e=>{var t,i;return e?{firstName:e.firstName||"",lastName:e.lastName||"",mobile:e.phoneNumber||"",email:e.email||"",jobTitle:e.currentJobTitle||"",eligibleCountries:(t=e.countriesAuthorizedToWorkIn,t&&Array.isArray(t)&&0!==t.length?t.map(e=>({value:e,label:eEA[e]||e})):[]),fluentLanguage:Array.isArray(e.fluentLanguages)?e.fluentLanguages:[],ethnicity:e.race||null,country:e.country||"",city:e.city||"",state:e.state||"",postalCode:e.postalCode||"",streetAddress:e.streetAddress||"",summary:e.summary||"",visaRequired:e.visaRequired||"",currentSalaryCurrency:e.currentSalaryCurrency||"USD",currentSalaryAmount:null!=e.currentSalaryAmount?Number(e.currentSalaryAmount):void 0,desiredSalaryCurrency:e.desiredSalaryCurrency||"USD",desiredSalaryAmount:null!=e.desiredSalaryAmount?Number(e.desiredSalaryAmount):void 0,linkedinUrl:e.linkedinUrl||"",birthday:e.birthday||"",gpaScore:e.gpaScore||"",gender:e.gender||"",disability:e.disability||null,isVeteran:!0===(i=e.isVeteran)?"yes":!1===i?"no":"",drivingLicense:e.drivingLicense||"",securityClearance:e.securityClearance||"",autoApplyDataCompleted:!!e.autoApplyDataCompleted}:e})(e.data):null}});return{data:t??void 0,isLoading:i}})(r),s=(e=(0,eU.wA)(),t=(0,iY.jE)(),(0,dp.n)({mutationKey:["save-auto-apply-screening"],mutationFn:async e=>{var i;if(t.getQueryState(eES(r))?.status!=="success")return;let n={...{firstName:e.firstName,lastName:e.lastName,phoneNumber:e.mobile,email:e.email,currentJobTitle:e.jobTitle,countriesAuthorizedToWorkIn:(i=e.eligibleCountries)&&Array.isArray(i)&&0!==i.length?i.map(e=>e.value).filter(Boolean):[],fluentLanguages:e.fluentLanguage||[],race:e.ethnicity,currentSalaryCurrency:e.currentSalaryCurrency,currentSalaryAmount:e.currentSalaryAmount?Number(e.currentSalaryAmount):null,desiredSalaryCurrency:e.desiredSalaryCurrency,desiredSalaryAmount:e.desiredSalaryAmount?Number(e.desiredSalaryAmount):null,country:e.country,city:e.city,state:e.state,postalCode:e.postalCode,streetAddress:e.streetAddress,summary:e.summary,visaRequired:e.visaRequired,linkedinUrl:e.linkedinUrl,birthday:e.birthday,gpaScore:e.gpaScore,gender:e.gender,disability:e.disability,drivingLicense:e.drivingLicense,securityClearance:e.securityClearance,isVeteran:e.isVeteran?"yes"===e.isVeteran:null,autoApplyDataCompleted:e.autoApplyDataCompleted||eEj.safeParse(e).success},workExperiencesAttributes:e.workExperiencesAttributes?(0,eET.g)(e.workExperiencesAttributes):void 0,educationsAttributes:e.educationsAttributes?(0,eET.g)(e.educationsAttributes):void 0};return await Y.R3.patch("/career/profile",{careerProfile:n})},onSuccess:()=>{t.refetchQueries(eES(r)),e(ej.o1.setFetchCareerProfileStatus(eZ.Hp.notAsked))},useErrorBoundary:!1})),d=(0,e0.U)(),c=(0,R.useRef)(null),u=((e,t=eZ.VC.resume)=>{let i=async(e,t)=>{let i=await Y.R3.get(`/documents/${e}`,{signal:t});return{...i.data,type:"tr_document",createdAt:i.data.created_at}},r=async(e,t)=>(await Y.uE.get(`/resumes/${e}`,{signal:t})).data;return(0,r2.I)({queryKey:["job-copilot-resume",t,e],queryFn:async({signal:n})=>
5762e?t===eZ.VC.trDocument?await i(e,n):t===eZ.VC.resume?await r(e,n):null:null,enabled:null!==e,retry:1})})(o?Number(o):null,a),p=u.data?.type==="resume",h=!!d?.features?.aiWriter&&p,x=(0,edf.mN)({mode:"onBlur",resolver:(0,eJ1.u)(eEj),defaultValues:l.data||eLi});eEN(l.data,x,!0);let{genericErrorMessage:m,dismissError:g}=eEM(x,s.error,s.isError,s.reset),{localProfile:y,handleCardAdd:f,handleCardDelete:b,handleCardMove:_,handleCardToggle:v,handleCardUpdate:j,isCardOpen:A}=(0,eLt.R)(),[C,w]=(0,R.useState)({[$.Gw.workExperiences]:!0,[$.Gw.educations]:!0}),k=(0,R.useCallback)(e=>{w(t=>({...t,[e]:!t[e]}))},[]);(0,R.useEffect)(()=>{y&&(x.setValue("workExperiencesAttributes",y.workExperiencesAttributes||[],{shouldDirty:!0}),x.setValue("educationsAttributes",y.educationsAttributes||[],{shouldDirty:!0}))},[y,x]);let S=x.watch("summary"),T={mode:"ai_writer",editorContainerRef:c,locale:u.data?.locale||"en",resume:u.data??void 0,section:$.Gw.profile,sectionContext:"profile",editorText:S||"",canGenerate:!0,canImprove:(0,eo9.zz)(S),onApplyChanges:e=>x.setValue("summary",e,{shouldDirty:!0}),dataGetter:e=>e.changes?.find(e=>"profile"===e.path)?.after},P=(0,eLe.Ae)(y?.workExperiencesAttributes||[]),J=(0,eLe.Ae)(y?.educationsAttributes||[]);return{copilotId:r,form:x,screeningQuery:l,screeningMutation:s,genericErrorMessage:m,dismissError:g,shouldShowAiWriter:h,aiWriterProps:T,editorContainerRef:c,handleCardAdd:f,handleCardDelete:b,handleCardMove:_,handleCardToggle:v,handleCardUpdate:j,isCardOpen:A,openSections:C,handleSectionToggle:k,workExpSection:{id:$.Gw.workExperiences,title:i.t("builder.career_profile.editor.work_experience_section.title"),addButtonText:P.length?i.t("builder.career_profile.editor.work_experience_section.add_one_more"):i.t("builder.career_profile.editor.work_experience_section.add"),CardComponent:Wy.Ay.WorkExperience,items:P,hintText:i.t("builder.career_profile.editor.work_experience_section.hint")},educationSection:{id:$.Gw.educations,title:i.t("builder.career_profile.editor.educations_section.title"),addButtonText:J.length?i.t("builder.career_profile.editor.educations_section.add_one_more"):i.t("builder.career_profile.editor.educations_section.add"),CardComponent:Wy.Ay.Education,items:J,hintText:i.t("builder.resume_editor.educations_section.hint")}}},eLn=(0,wb.N)(()=>{let e=(0,sK.c)(),t=eLr(),{form:i,screeningMutation:r}=t,n=eEI(eJ2.Wu.Screening),{markResolved:o}=eEL(eJ2.Wu.Screening),{onSaveAndContinue:a,onSaveAndExit:l,onValidationFailed:s}=eER({wizard:n,mutation:r,form:i,onResolved:o});return(0,R.useEffect)(()=>{eJ3.$.enterAAScreeningScreen()},[]),(0,J.jsx)(edf.Op,{...i,children:(0,J.jsx)("form",{"data-testid":"auto-apply-screening",onSubmit:i.handleSubmit(a,s),children:(0,J.jsx)(eEm,{wizard:n,onSaveAndExit:l,onResolve:o,isLoading:r.isPending,children:(0,J.jsx)(eR7.VN,{children:(0,J.jsx)(eR9,{controller:t,showIntro:!0,profileInfoSubtitle:e.screening.profileInfo.subtitle})})})})})},{fallback:(0,J.jsx)(eEZ,{})}),eLo=tt.Ay.div(["display:flex;align-items:center;justify-content:center;gap:8px;"]),eLa=tt.Ay.span(["height:8px;border-radius:999px;transition:all 0.2s ease;width:",";background:",";"],e=>"active"===e.$state?"32px":"8px",e=>"upcoming"===e.$state?te.Jy.Neutral20:te.Jy.Blue50),eLl=({total:e=3,active:t})=>(0,J.jsx)(eLo,{"aria-hidden":"true",children:Array.from({length:e}).map((e,i)=>(0,J.jsx)(eLa,{$state:i===t?"active":i<t?"done":"upcoming"},i))});var eLs=i(89401);let eLd=e=>(0,r2.I)({queryKey:["uploaded-file-size",e],enabled:!!e,staleTime:1/0,useErrorBoundary:!1,queryFn:async()=>{if(!e)return null;let t=(await fetch(e,{method:"HEAD"})).headers.get("content-length");if(!t)return null;let i=Number(t);return Number.isFinite(i)&&i>0?i>=1048576?`${(i/1048576).toFixed(1)} MB`:`${Math.max(1,Math.round(i/1024))} KB`:null}});var eLc=i(38619),eLu=i(88067),eLp=i(23199);let eLh=tt.Ay.div(["font-family:'TT Talent';position:relative;min-height:100dvh;width:100%;background:",";display:flex;flex-direction:column;align-items:center;padding:"," ",";"],te.Jy.Neutral10,te.Kz.M,te.Kz.S),eLx=tt.Ay.div(["display:flex;align-items:center;justify-content:center;flex:1;"]),eLm=tt.Ay.div(["width:768px;max-width:100%;display:flex;flex-direction:column;"]),eLg=tt.Ay.div(["display:flex;justify-content:center;margin-bottom:",";"],te.Kz.S),eLy=tt.Ay.div(["background:",";border-radius:12px;padding:"," 36px ",";margin-bottom:",";",""],te.Jy.White,te.Kz.L,te.Kz.XL,te.Kz["2XS"],tQ.A.Phone`padding: ${te.Kz.M} ${te.Kz.S};`),eLf=tt.Ay.div(["display:flex;align-items:center;justify-content:center;min-height:120px;",";color:",";text-align:center;"],te.o5.sizes.Body,te.Jy.Neutral50),eLb=tt.Ay.div(["position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:",";background:",";border:1px solid ",";border-radius:8px;padding:"," ",";margin-bottom:",";",";color:",";b{",";}
5762span.saved{color:",";",";}"],te.Kz["2XS"],te.Jy.Green10,te.Jy.Green20,te.Kz.S,te.Kz.XL,te.Kz.M,te.o5.sizes.Caption,te.Jy.Green80,te.o5.weights.medium,te.Jy.Green60,te.o5.weights.medium),eL_=tt.Ay.button(["position:absolute;top:",";right:",";border:none;background:none;cursor:pointer;display:flex;color:",";padding:2px;"],te.Kz["2XS"],te.Kz["2XS"],te.Jy.Neutral60),eLv=tt.Ay.h1(["",";",";text-align:center;margin-bottom:",";"],te.o5.sizes.Subhead,te.o5.weights.medium,te.Kz["2XS"]),eLj=tt.Ay.p(["",";color:",";text-align:center;margin-bottom:",";"],te.o5.sizes.Body,te.Jy.Neutral50,te.Kz.L),eLA=tt.Ay.div(["display:flex;align-items:center;gap:",";margin-bottom:",";h2{",";",";}"],te.Kz["2XS"],te.Kz["2XS"],te.o5.sizes.Subhead,te.o5.weights.medium),eLC=tt.Ay.p(["",";color:",";"],te.o5.sizes.Caption,te.Jy.Neutral50),eLw=tt.Ay.div(["display:grid;grid-template-columns:1fr 1fr;gap:",";margin-top:",";",""],te.Kz.S,te.Kz.L,tQ.A.Phone`grid-template-columns: 1fr;`),eLk=tt.Ay.button(["position:relative;display:flex;flex-direction:column;text-align:left;background:",";border:2px solid ",";border-radius:12px;padding:",";cursor:pointer;transition:border-color 0.15s ease,background 0.15s ease;&:hover{border-color:",";}"],e=>e.$selected?te.Jy.Blue10:te.Jy.White,e=>e.$selected?te.Jy.Blue50:te.Jy.Neutral20,te.Kz.M,te.Jy.Blue50),eLS=tt.Ay.span(["position:absolute;top:-11px;left:",";display:inline-flex;align-items:center;height:22px;padding:0 ",";border-radius:4px;background:",";color:",";",";",";"],te.Kz.M,te.Kz["2XS"],te.Jy.Indigo50,te.Jy.White,te.o5.sizes.Tiny,te.o5.weights.medium),eLT=tt.Ay.div(["display:flex;align-items:flex-start;gap:",";"],te.Kz["2XS"]),eLP=tt.Ay.span(["flex-shrink:0;margin-top:2px;width:18px;height:18px;border-radius:50%;border:2px solid ",";display:inline-flex;align-items:center;justify-content:center;i{width:8px;height:8px;border-radius:50%;background:",";}"],e=>e.$selected?te.Jy.Blue50:te.Jy.Neutral30,e=>e.$selected?te.Jy.Blue50:"transparent"),eLJ=tt.Ay.div(["display:flex;align-items:center;gap:",";",";",";"],te.Kz["2XS"],te.o5.sizes.Body,te.o5.weights.medium),eLE=tt.Ay.div(["",";color:",";margin-top:2px;"],te.o5.sizes.Caption,te.Jy.Neutral50),eLR=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;margin-top:",";"],te.Kz.M),eLL=tt.Ay.span(["display:inline-flex;align-items:center;gap:4px;",";color:",";"],te.o5.sizes.Caption,e=>e.$muted?te.Jy.Neutral50:te.Jy.Indigo60),eLN=tt.Ay.span(["display:inline-flex;align-items:center;gap:4px;",";",";color:",";cursor:pointer;"],te.o5.sizes.Caption,te.o5.weights.medium,te.Jy.Blue50),eLI=tt.Ay.div(["background:",";border-radius:12px;padding:"," 36px;",""],te.Jy.White,te.Kz.L,tQ.A.Phone`padding: ${te.Kz.M} ${te.Kz.S};`),eLM=tt.Ay.div(["width:100%;& > button{width:100%;}"]),eLB=tt.Ay.div(["display:inline-flex;gap:",";padding:",";background:",";border-radius:8px;button{display:inline-flex;align-items:center;gap:4px;border:none;background:none;border-radius:6px;padding:6px ",";cursor:pointer;",";",";color:",";&.on{background:",";color:",";box-shadow:0 1px 2px rgba(0,0,0,0.08);}}"],te.Kz["3XS"],te.Kz["3XS"],te.Jy.Neutral10,te.Kz.XS,te.o5.sizes.Caption,te.o5.weights.medium,te.Jy.Neutral60,te.Jy.White,te.Jy.Neutral90),eLD=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;margin-bottom:",";"],te.Kz.M),eL$=(e,t)=>e?(0,J.jsx)(eLp.$,{url:e,filename:t||"resume.pdf"}):null,eLO=({isOpen:e,onClose:t,initialVariant:i,hasTailored:r,tailoredUploadedUrl:n,tailoredUploadedName:o,baseUploadedUrl:a,baseUploadedName:l,baseBuilderDocument:s})=>{let d=(0,sK.c)().aaFromJobBoardScreening.previewModal,[c,u]=(0,R.useState)(i);return(0,J.jsxs)(eLc.L,{open:e,onClose:()=>t(),children:[r&&(0,J.jsx)(eLD,{children:(0,J.jsxs)(eLB,{children:[(0,J.jsxs)("button",{type:"button",className:"tailored"===c?"on":"",onClick:()=>u("tailored"),children:[(0,J.jsx)(tP.EK.Featured,{})," ",d.tailored]}),(0,J.jsx)("button",{type:"button",className:"base"===c?"on":"",onClick:()=>u("base"),children:d.base})]})}),"tailored"===c&&eL$(n,o),"base"===c&&(s?s.type===cJ.K.trDocument?(0,J.jsx)(eLu.J,{document:s}):(0,J.jsx)(W$.w,{document:s,switchToCustomizationTab:()=>{},hideCustomizeButton:!0}):eL$(a,l))]})},eLz=({job:e})=>{let t=(0,sK.c)().aaFromJobBoardScreening.resume,i=(0,eLs.b)(e.id),r=e.autoApplyD
5762ocuments?.find(e=>"resume"===e.documentType)?.documentFile,n=!!r,o=e.uploadedResumeUrl||e.documentOverride?.uploadedResumeUrl,a=e.uploadedDocumentFilename||e.documentOverride?.uploadedResumeFilename,l=e.documentOverride?.documentId??e.documentId,s=e.documentOverride?.documentType??e.resumeType,{data:d}=(0,eEJ.R)(o?null:l,s),c=eLd(o).data,u=eLd(r?.url).data,p=d?e.resumeName??"":[a,c].filter(Boolean).join(" \xb7 "),h=[r?.filename,u].filter(Boolean).join(" \xb7 "),x=n&&e.documentOverride?.sendTailoredResume!==!1?"tailored":"base",[m,g]=(0,R.useState)(null),y=m??x,[f,b]=(0,R.useState)(null),[_,v]=(0,R.useState)(!0),j=e=>{e!==y&&(g(e),eJ3.$.nmRegResumeSelected(e),i.mutate({sendTailoredResume:"tailored"===e}))};return(0,J.jsxs)(eLy,{children:[_&&(0,J.jsxs)(eLb,{children:[(0,J.jsx)(eL_,{type:"button","aria-label":t.dismissBanner,onClick:()=>v(!1),children:(0,J.jsx)(tP.EK.Close,{})}),(0,J.jsxs)("span",{children:["✨ ",(0,J.jsx)("span",{dangerouslySetInnerHTML:{__html:sJ.A.sanitize(t.bannerMain)}})]}),(0,J.jsxs)("span",{className:"saved",children:["⏱ ",(0,J.jsx)("span",{dangerouslySetInnerHTML:{__html:sJ.A.sanitize(t.bannerSaved)}})]})]}),(0,J.jsxs)(eLv,{children:[t.titlePrefix," ",(0,J.jsx)("b",{children:e.title})," ",t.titleConjunction," ",(0,J.jsx)("b",{children:e.company})]}),(0,J.jsx)(eLj,{children:t.subtitle}),(0,J.jsxs)(eLA,{children:[(0,J.jsx)(tP.EK.Documents,{}),(0,J.jsx)("h2",{children:t.sectionTitle})]}),(0,J.jsx)(eLC,{children:t.sectionSubtitle}),(0,J.jsxs)(eLw,{children:[n&&(0,J.jsxs)(eLk,{type:"button",$selected:"tailored"===y,onClick:()=>j("tailored"),children:[(0,J.jsx)(eLS,{children:t.recommended}),(0,J.jsxs)(eLT,{children:[(0,J.jsx)(eLP,{$selected:"tailored"===y,children:(0,J.jsx)("i",{})}),(0,J.jsxs)("div",{children:[(0,J.jsx)(eLJ,{children:t.tailoredName}),h&&(0,J.jsx)(eLE,{children:h})]})]}),(0,J.jsxs)(eLR,{children:[(0,J.jsxs)(eLL,{children:[(0,J.jsx)(tP.EK.Featured,{})," ",t.optimizedFor," ",e.company]}),(0,J.jsxs)(eLN,{onClick:e=>{e.stopPropagation(),b("tailored")},children:[(0,J.jsx)(tP.qJ.ExternalLink,{})," ",t.preview]})]})]}),(0,J.jsxs)(eLk,{type:"button",$selected:"base"===y,onClick:()=>j("base"),children:[(0,J.jsxs)(eLT,{children:[(0,J.jsx)(eLP,{$selected:"base"===y,children:(0,J.jsx)("i",{})}),(0,J.jsxs)("div",{children:[(0,J.jsxs)(eLJ,{children:[(0,J.jsx)(tP.EK.Documents,{})," ",t.baseName]}),p&&(0,J.jsx)(eLE,{children:p})]})]}),(0,J.jsxs)(eLR,{children:[(0,J.jsx)(eLL,{$muted:!0,children:t.originalUpload}),(0,J.jsxs)(eLN,{onClick:e=>{e.stopPropagation(),b("base")},children:[(0,J.jsx)(tP.qJ.ExternalLink,{})," ",t.preview]})]})]})]}),f&&(0,J.jsx)(eLO,{isOpen:!0,initialVariant:f,hasTailored:n,tailoredUploadedUrl:r?.url,tailoredUploadedName:r?.filename,baseUploadedUrl:o,baseUploadedName:a,baseBuilderDocument:d,onClose:()=>b(null)})]})};var eLF=i(95516);let eLH=tt.Ay.div(["position:relative;background:",";width:992px;max-width:calc(100vw - "," * 2);height:544px;max-height:calc(100vh - "," * 2);border-radius:",";box-shadow:",";overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);",""],te.Jy.White,te.Kz.L,te.Kz.L,te.Kz.S,te.qd.darkShadowHigh,tQ.A.Tablet`
5763    display: flex;
5764    flex-direction: column;
5765    grid-template-columns: none;
5766    width: 544px;
5767    max-width: calc(100vw - ${te.Kz.L} * 2);
5768    height: auto;
5769    max-height: calc(100vh - ${te.Kz.L} * 2);
5770    overflow: auto;
5771  `),eLV=tt.Ay.section(["position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:",";gap:",";min-width:0;",""],te.Kz.L,te.Kz.L,tQ.A.Tablet`
5772    flex: 1 1 auto;
5773    padding: ${te.Kz.L};
5774    gap: ${te.Kz.L};
5775  `),eLU=tt.Ay.div(["display:flex;flex-direction:column;gap:",";min-width:0;"],te.Kz.M),eLW=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.XS),eLK=tt.Ay.div(["display:inline-flex;align-self:flex-start;align-items:center;gap:",";padding:"," "," "," ",";border-radius:",";background:",";color:",";",";",";"],te.Kz["4XS"],te.Kz["3XS"],te.Kz["2XS"],te.Kz["3XS"],te.Kz["3XS"],te.Kz["3XS"],te.Jy.Amber10,te.Jy.Amber50,td.Ay.Caps,td.BO.DemiBold),eLq=(0,tt.Ay)(tP.qJ.Lock)(["color:",";"],te.Jy.Amber50),eLG=tt.Ay.div(["display:flex;gap:",";width:100%;> *{flex:1 1 0;}"],te.Kz.XS),eLZ=tt.Ay.div(["position:relative;background:",";--job-list-bg:",";overflow:hidden;display:flex;align-items:stretch;justify-content:stretch;",""],te.Jy.Neutral5,te.Jy.Neutral5,tQ.A.Tablet`
5776    order: -1;
5777    flex: 0 0 auto;
5778    height: 300px;
5779    width: 100%;
5780
5781    && > div {
5782      width: 100%;
5783      max-width: none;
5784      flex: none;
5785      margin-bottom: 0;
5786      align-self: stretch;
5787    }
5788  `),eLX=tt.Ay.div(["position:relative;display:flex;flex-direction:column;width:100%;overflow:hidden;border-radius:16px 16px 0 0;"]),eLQ=tt.Ay.div(["position:relative;flex:0 0 240px;background:",";--job-list-bg:",";overflow:hidden;&& > div{width:100%;max-width:none;flex:none;margin-bottom:0;align-self:stretch;}"],te.Jy.Neutral5,te.Jy.Neutral5),eLY=tt.Ay.div(["flex:1 1 auto;display:flex;flex-direction:column;gap:",";padding:"," "," 0;overflow-y:auto;"],te.Kz.M,te.Kz.M,te.Kz.M),eL0=tt.Ay.div(["flex:0 0 auto;padding:",";"],te.Kz.M),eL1=tt.Ay.button(["position:absolute;top:",";right:",";width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:",";color:",";cursor:pointer;padding:0;z-index:2;transition:background 0.15s ease,color 0.15s ease;&:hover{background:",";color:",";}svg{fill:currentColor;width:20px;height:20px;}"],te.Kz.M,te.Kz.M,te.Jy.Neutral5,te.Jy.Neutral80,te.Jy.Neutral10,te.Jy.Neutral90),eL2=()=>{let e=(0,sK.c)(),{i18n:t}=(0,e1.s)(),{isPhone:i}=(0,ih.e)(),{isAaUpsellModalOpen:r,closeAaUpsellModal:n,handleMaybeLater:o,handleUpgradeToPremium:a}=(0,eLF.y)(),{jobs:l,jobsCount:s,hasRealJobsCount:d,isLoading:c}=sW(r),{credits:u,period:p}=sG(r);(0,R.useEffect)(()=>{r&&(0,N.xP)("aa_free_paywall_viewed")},[r]);let h=()=>{(0,N.xP)("aa_free_paywall_screen_closed"),n()};if(!r)return null;let x=[t.t(sq.P.aaUpsellModal.features.autoApply,{count:u,cycle:p}),e.aaUpsellModal.features.tailored,e.aaUpsellModal.features.autoSubmit,e.aaUpsellModal.features.tracking,e.aaUpsellModal.features.jobBoard],m=(0,J.jsxs)(eLW,{children:[(0,J.jsxs)(eLK,{children:[(0,J.jsx)(eLq,{}),e.aaUpsellModal.premiumBadge]}),(0,J.jsx)(sR,{isLoading:c,title:t.t(d?sq.P.aaUpsellModal.title:sq.P.aaUpsellModal.titleFallback,{count:s})})]}),g=(0,J.jsx)(sO,{title:e.aaUpsellModal.whatYouGet,items:x,icon:(0,J.jsx)(tP.EK.Tick,{}),variant:"compact"}),y=i?i$.Mp.small:i$.Mp.default,f=(0,J.jsxs)(eLG,{children:[(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,size:y,onClick:()=>{(0,N.xP)("aa_free_paywall_screen_closed"),o()},children:e.aaUpsellModal.maybeLater}),(0,J.jsx)(i$.JQ,{theme:i$.Ox.alternative,size:y,onClick:()=>{(0,N.xP)("aa_free_paywall_clicked_cta"),a()},children:e.aaUpsellModal.upgradeToPremium})]});return i?(0,J.jsx)(wl.A,{open:r,onClose:h,snapPoints:["630px"],children:(0,J.jsxs)(eLX,{children:[(0,J.jsx)(eLQ,{children:(0,J.jsx)(sP,{jobs:l,isLoading:c})}),(0,J.jsxs)(eLY,{children:[m,g]}),(0,J.jsx)(eL0,{children:f}),(0,J.jsx)(eL1,{type:"button","aria-label":e.aaUpsellModal.closeAriaLabel,onClick:h,children:(0,J.jsx)(tP.qJ.CloseBig,{})})]})}):(0,J.jsx)(i6.A,{fullScreen:!0,overlayFadeDuration:150,contentSlideDuration:150,onClose:h,children:(0,J.jsxs)(eLH,{children:[(0,J.jsxs)(eLV,{children:[(0,J.jsxs)(eLU,{children:[m,g]}),f]}),(0,J.jsx)(eLZ,{children:(0,J.jsx)(sP,{jobs:l,isLoading:c})}),(0,J.jsx)(eL1,{type:"button","aria-label":e.aaUpsellModal.closeAriaLabel,onClick:h,children:(0,J.jsx)(tP.qJ.CloseBig,{})})]})})};var eL3=i(46385);let eL5=()=>{let e=(0,sK.c)(),t=(0,L.Zp)(),i=(0,eU.wA)(),{jobCardId:r}=(0,L.g)(),[n]=(0,i3.ok)(),o="member"===n.get("flow")?"member":"non_member",a="member"===o?"?flow=member":"",l=(0,eL3.c)({jobId:Number(r),enabled:!!r,onSuccess:e=>i(K.o1.addJob(e))}),s=eLr(),{form:d,screeningMutation:c}=s,{redirectToBillingPlans:u,isAutoApplyLimitReached:p,jobCopilot:h}=(0,ck.J)(),x=(0,eEP.e)(h?.id);(0,R.useEffect)(()=>{eJ3.$.nmRegStep3Viewed(o)},[o]);let m=async e=>{try{await c.mutateAsync(e),await x.mutateAsync({enabled:!0})}catch{return}if(u()||p())return;let n=l.data;n&&(eJ3.$.nmRegApplicationSubmitted(o),i(K.o1.moveRequest({source:{droppableId:n.status,index:n.positionNumber},destination:{droppableId:K.Sy.auto_apply,index:0},jobId:Number(n.id)})),t(`/auto-apply/application/${r}/promo/similar-jobs${a}`,{replace:!0}))};return(0,J.jsxs)(eLh,{children:[(0,J.jsxs)(eLm,{children:[(0,J.jsx)(eLg,{children:(0,J.jsx)(eLl,{total:3,active:2})}),l.isLoading&&(0,J.jsx)(eLy,{children:(0,J.jsx)(eLf,{children:(0,J.jsx)(du.Ay,{})})}),l.isError&&(0,J.jsx)(eLy,{children:(0,J.jsx)(eLf,{children:e.aaFromJobBoardScreening.resume.loadError})}),l.data&&(0,J.jsx)(eLz,{job:l.data}),(0,J.jsx)(edf.Op,{...d,children:(0,J.jsxs)("form",{"data-testid":"non-member-screening",onSubmit:d.handleSubmit(m),children:[(0,J.jsx)(eR7.VN,{children:(0,J.jsx)(eR9,{controller:s,profileInfoSubtitle:e.aaFromJobBoardScreening.profileInfoSubtitle})}),(0,J.jsx)(eLI,{children:(0,J.jsx)(eLM,{children:(0,J.jsx)(i$.JQ,{type:"submit",isLoading:c.isPending||x.isPending,trailingIcon:(0,J.jsx)(tP.qJ.ArrowRight2,{}),children:e.aaFromJobBoardScreening.submit})})})]})})]}),(0,J.jsx)(eL2,{})]})},eL4=({children:e})=>{let{careerProfileData:t}=(0,eG.B)(),i=(0,eW.N)(ej.Tp.fetchCareerProfileStatus),r=(0,eX.g)(),{data:n,isFetched:o}=(0,cP.F)();return(i===eZ.Hp.loaded||i===eZ.Hp.failed||!r)&&o?t?.autoApplyDataCompleted&&n?.enabled?(0,J.jsx)(L.C5,{to:"/job-search?view=recommendation",replace:!0}):(0,J.jsx)(J.Fragment,{children:e}):(0,J.jsx)(eLh,{children:(0,J.jsx)(eLx,{children:(0,J.jsx)(du.Ay,{})})})};var eL6=i(37075);let eL8=tt.Ay.div(["font-family:'TT Talent';min-height:100dvh;width:100%;background:",";display:flex;flex-direction:column;align-items:center;justify-content:center;padding:"," ",";
5788"],te.Jy.Neutral10,te.Kz.XL,te.Kz.S),eL9=(0,tt.Ay)(eL6.a)(["position:relative;width:100%;flex:1;overflow:hidden;"]),eL7=(0,tt.Ay)(uD.CS.div)(["position:absolute;inset:0;display:flex;align-items:center;justify-content:center;will-change:opacity,transform;"]),eNe=tt.Ay.div(["width:760px;max-width:100%;background:",";border-radius:16px;padding:56px 56px 52px;text-align:",";display:flex;flex-direction:column;align-items:",";",""],te.Jy.White,e=>e.$left?"left":"center",e=>e.$left?"stretch":"center",tQ.A.Phone`padding: ${te.Kz.L} ${te.Kz.S} ${te.Kz.XL};`),eNt=tt.Ay.div(["display:flex;align-items:center;justify-content:center;min-height:80px;margin-bottom:",";"],te.Kz.S),eNi=tt.Ay.span(["display:inline-flex;align-items:center;gap:",";padding:8px 18px;border-radius:999px;background:",";color:",";",";",";margin-bottom:36px;"],te.Kz["2XS"],te.Jy.Green10,te.Jy.Green60,te.o5.sizes.Body,te.o5.weights.medium),eNr=tt.Ay.h1(["margin:0 0 ",";",";",";color:",";letter-spacing:-0.01em;text-align:center;.hl{color:",";}"],te.Kz.S,te.o5.sizes.M,te.o5.weights.medium,te.Jy.Neutral100,te.Jy.Blue50),eNn=tt.Ay.p(["margin:0 0 36px;",";color:",";.hl{color:",";",";}"],te.o5.sizes.Subhead,te.Jy.Neutral100,te.Jy.Blue50,te.o5.weights.medium),eNo=tt.Ay.p(["margin:0 0 36px;",";",";color:",";text-align:center;"," .hl{color:",";}"],te.o5.sizes.Subhead,te.o5.weights.medium,te.Jy.Neutral100,e=>e.$withIcon&&`
5789    display: inline-flex;
5790    align-items: center;
5791    justify-content: center;
5792    gap: ${te.Kz["2XS"]};
5793
5794    svg {
5795      color: ${te.Jy.Blue50};
5796      flex-shrink: 0;
5797    }
5798  `,te.Jy.Blue50),eNa=tt.Ay.p(["margin:0 0 ",";",";color:",";.hl{color:",";}b,strong{",";}"],te.Kz.M,te.o5.sizes.Subhead,te.Jy.Neutral100,te.Jy.Blue50,te.o5.weights.medium),eNl=tt.Ay.div(["display:flex;flex-direction:column;gap:",";margin:0 0 36px;width:100%;"],te.Kz.S),eNs=tt.Ay.div(["display:flex;align-items:center;gap:",";",";color:",";b,strong{",";}"],te.Kz.S,te.o5.sizes.Subhead,te.Jy.Neutral100,te.o5.weights.medium),eNd=tt.Ay.span(["flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;",""],e=>e.$numbered?`
5799    width: 32px;
5800    height: 32px;
5801    border-radius: 8px;
5802    background: ${te.Jy.Blue50};
5803    color: ${te.Jy.White};
5804  `:`
5805    width: 44px;
5806    height: 44px;
5807    border-radius: 10px;
5808    background: ${te.Jy.Blue10};
5809    color: ${te.Jy.Blue50};
5810  `),eNc=tt.Ay.div(["display:flex;flex-direction:column;width:100%;"]),eNu=tt.Ay.button(["display:flex;align-items:center;gap:",";width:100%;text-align:left;padding:22px 24px;margin-bottom:",";border:1px solid ",";border-radius:8px;background:",";",";color:",";cursor:pointer;transition:border-color 0.15s ease,background 0.15s ease;&:hover{border-color:",";background:",";}"],te.Kz.S,te.Kz.S,te.Jy.Neutral15,te.Jy.White,te.o5.sizes.Subhead,te.Jy.Neutral100,te.Jy.Blue50,te.Jy.Blue10),eNp=tt.Ay.span(["flex-shrink:0;width:48px;height:48px;border-radius:10px;background:",";color:",";display:inline-flex;align-items:center;justify-content:center;",":hover &{background:",";}"],te.Jy.Neutral5,te.Jy.Blue50,eNu,te.Jy.Blue10),eNh=tt.Ay.div(["width:100%;max-width:",";margin:0 auto;& > button{width:100%;}"],e=>e.$full?"none":"440px"),eNx=tt.Ay.button(["display:block;margin:"," auto 0;border:none;background:none;cursor:pointer;",";",";color:",";&:hover{color:",";}"],te.Kz.M,te.o5.sizes.Subhead,te.o5.weights.medium,te.Jy.Neutral50,te.Jy.Neutral70),eNm=e=>({__html:sJ.A.sanitize(e)}),eNg=({children:e,onClick:t,full:i})=>(0,J.jsx)(eNh,{$full:i,children:(0,J.jsx)(i$.JQ,{type:"button",onClick:t,trailingIcon:(0,J.jsx)(tP.qJ.ArrowRight2,{}),children:e})}),eNy=({onConfirm:e,onDecline:t})=>{let{i18n:i}=(0,e1.s)(),r=(0,sK.c)().aaFromJobBoardScreening.promo.similarJobs,{jobsCount:n,hasRealJobsCount:o,isLoading:a}=sW(!0),l=o?sq.P.aaFromJobBoardScreening.promo.similarJobs.heading:sq.P.aaFromJobBoardScreening.promo.similarJobs.headingFallback,s=i.t(l,{count:n});return(0,J.jsxs)(eNe,{children:[(0,J.jsxs)(eNi,{children:[(0,J.jsx)(tP.qJ.CheckLine,{width:18,height:18})," ",r.badge]}),a?(0,J.jsx)(eNt,{children:(0,J.jsx)(du.Ay,{})}):(0,J.jsx)(eNr,{dangerouslySetInnerHTML:eNm(s)}),(0,J.jsx)(eNg,{onClick:e,children:r.confirm}),(0,J.jsx)(eNx,{type:"button",onClick:t,children:r.decline})]})},eNf=({declined:e,onNext:t})=>{let i=(0,sK.c)().aaFromJobBoardScreening.promo.goodChoice;return(0,J.jsxs)(eNe,{children:[(0,J.jsx)(eNr,{children:e?i.headingDeclined:i.heading}),(0,J.jsx)(eNn,{dangerouslySetInnerHTML:eNm(i.subtitle)}),(0,J.jsxs)(eNo,{$withIcon:!0,children:[(0,J.jsx)(tP.qJ.TrendingUp,{})," ",i.note]}),(0,J.jsx)(eNg,{onClick:t,children:i.continue})]})},eNb=({onPick:e})=>{let t=(0,sK.c)().aaFromJobBoardScreening.promo.hardestPart,i=[{icon:(0,J.jsx)(tP.qJ.Ghost,{}),label:t.options.ghosted,answer:"not_hearing_back"},{icon:(0,J.jsx)(tP.qJ.ClockLine,{}),label:t.options.time,answer:"hours_filling_apps"},{icon:(0,J.jsx)(tP.qJ.SearchOff,{}),label:t.options.matches,answer:"cant_find_matches"}];return(0,J.jsxs)(eNe,{children:[(0,J.jsx)(eNr,{children:t.heading}),(0,J.jsx)(eNc,{children:i.map(t=>(0,J.jsxs)(eNu,{type:"button",onClick:()=>e(t.answer),children:[(0,J.jsx)(eNp,{children:t.icon}),t.label]},t.label))})]})},eN_=({onNext:e})=>{let t=(0,sK.c)().aaFromJobBoardScreening.promo.notAlone,i=[t.items.ghosted,t.items.wasted,t.items.overwhelmed];return(0,J.jsxs)(eNe,{$left:!0,children:[(0,J.jsx)(eNr,{children:t.heading}),(0,J.jsx)(eNa,{children:t.lead}),(0,J.jsx)(eNl,{children:i.map((e,t)=>(0,J.jsxs)(eNs,{children:[(0,J.jsx)(eNd,{$numbered:!0,children:t+1}),(0,J.jsx)("span",{dangerouslySetInnerHTML:eNm(e)})]},e))}),(0,J.jsx)(eNg,{onClick:e,full:!0,children:t.cta})]})},eNv=({onNext:e})=>{let t=(0,sK.c)().aaFromJobBoardScreening.promo.solution,i=[{icon:(0,J.jsx)(tP.qJ.Crosshair,{}),text:t.items.jobs},{icon:(0,J.jsx)(tP.qJ.MailLine,{}),text:t.items.autofill}
5810,{icon:(0,J.jsx)(tP.qJ.GridRound,{}),text:t.items.track}];return(0,J.jsxs)(eNe,{$left:!0,children:[(0,J.jsx)(eNr,{dangerouslySetInnerHTML:eNm(t.heading)}),(0,J.jsx)(eNl,{children:i.map(e=>(0,J.jsxs)(eNs,{children:[(0,J.jsx)(eNd,{children:e.icon}),(0,J.jsx)("span",{dangerouslySetInnerHTML:eNm(e.text)})]},e.text))}),(0,J.jsx)(eNo,{dangerouslySetInnerHTML:eNm(t.result)}),(0,J.jsx)(eNg,{onClick:e,full:!0,children:t.cta})]})},eNj=({onNext:e})=>{let t=(0,sK.c)().aaFromJobBoardScreening.promo.headsUp,i=[{icon:(0,J.jsx)(tP.qJ.Scan,{}),text:t.items.scans},{icon:(0,J.jsx)(tP.qJ.Sparkles,{}),text:t.items.learns},{icon:(0,J.jsx)(tP.qJ.ShieldCheck,{}),text:t.items.control}];return(0,J.jsxs)(eNe,{$left:!0,children:[(0,J.jsx)(eNr,{children:t.heading}),(0,J.jsx)(eNa,{children:t.lead1}),(0,J.jsx)(eNa,{dangerouslySetInnerHTML:eNm(t.lead2)}),(0,J.jsx)(eNl,{children:i.map(e=>(0,J.jsxs)(eNs,{children:[(0,J.jsx)(eNd,{children:e.icon}),e.text]},e.text))}),(0,J.jsx)(eNo,{children:t.note}),(0,J.jsx)(eNg,{onClick:e,full:!0,children:t.cta})]})},eNA=["similar-jobs","good-choice","hardest-part","not-alone","solution","heads-up"],eNC=eNA[0],eNw="/job-search?view=recommendation",eNk=e=>!!e&&eNA.some(t=>t===e),eNS=e=>eNA.indexOf(e)+1,eNT=()=>{let e=(0,L.Zp)(),t=(0,e4.J)(),{jobCardId:i,stepSlug:r}=(0,L.g)(),[n]=(0,i3.ok)(),o="member"===n.get("flow")?"member":"non_member",a="member"===o?"?flow=member":"",l=eNk(r)?r:null,s="true"===n.get("declined"),d=!!t?.scopes?.premium,c=d&&!!l&&l!==eNC;(0,R.useEffect)(()=>{l&&!c&&eJ3.$.promoScreenViewed(eNS(l),o)},[l,o,c]);let u=l&&!c?{step:l,declined:s}:null,p=(0,uD.pn)(u,{keys:e=>e?`${e.step}:${e.declined}`:"none",initial:{opacity:1,transform:"translateX(0%)"},from:{opacity:0,transform:"translateX(25%)"},enter:{opacity:1,transform:"translateX(0%)"},leave:{opacity:0,transform:"translateX(-25%)"},config:uD.$W.default});if(!l)return(0,J.jsx)(L.C5,{to:`/auto-apply/application/${i}/promo/${eNC}${a}`,replace:!0});if(c)return(0,J.jsx)(L.C5,{to:eNw,replace:!0});let h=(t,r)=>{let n=new URLSearchParams(r);"member"===o&&n.set("flow",o);let a=n.toString();e(`/auto-apply/application/${i}/promo/${t}${a?`?${a}`:""}`,{replace:!0})};return(0,J.jsx)(eL8,{children:(0,J.jsx)(eL9,{children:p((t,i)=>i&&eNk(i.step)?(0,J.jsx)(eL7,{style:t,children:((t,i)=>{let r=e=>eJ3.$.promoScreenClickedCta(eNS(t),e,o);switch(t){case"similar-jobs":{let t=(t,i)=>{(r(t),d)?e(eNw,{replace:!0}):h("good-choice",i)};return(0,J.jsx)(eNy,{onConfirm:()=>t("yes"),onDecline:()=>t("no_done",{declined:"true"})})}case"good-choice":return(0,J.jsx)(eNf,{declined:i,onNext:()=>{r("continue"),h("hardest-part")}});case"hardest-part":return(0,J.jsx)(eNb,{onPick:e=>{eJ3.$.promoSurveyAnswered(e,o),h("not-alone")}});case"not-alone":return(0,J.jsx)(eN_,{onNext:()=>{r("better_way"),h("solution")}});case"solution":return(0,J.jsx)(eNv,{onNext:()=>{r("get_auto_apply"),h("heads-up")}});case"heads-up":return(0,J.jsx)(eNj,{onNext:()=>{r("give_me_deal"),(0,ln.b)({autoApply:!0,onSuccessRedirect:"/app/job-search?view=recommendation",onCloseRedirect:"/app/job-search?view=recommendation"})}})}})(i.step,i.declined)}):null)})})},eNP=eE_.Ik({value:eE_.Yj(),label:eE_.Yj()}),eNJ=eE_.Ik({jobTitles:eE_.YO(eNP).min(1,"Please add at least one job title"),locations:eE_.YO(eNP).min(1,"Please select at least one work location"),currentCurrency:eE_.Yj().optional(),reviewBeforeSubmit:eE_.zM().optional()});var eNE=i(19611);let eNR=(0,wb.N)(()=>{let e,t,i,r,n,o,a=(0,sK.c)(),{copilotId:l,jobId:s}=(0,L.g)(),[d]=(0,i3.ok)(),c=s??d.get("job_slug")??void 0,u=eEI(eJ2.Wu.Recommendations),p=((e,t)=>{let{careerProfileData:i,isCareerProfileLoading:r}=(0,eG.B)(),{data:n,isLoading:o,error:a}=(0,r2.I)({queryKey:["job-copilot-preferences",e],useErrorBoundary:!0,queryFn:async()=>{var t;if(!e)return null;let i=await Y.R3.get(`/auto-apply-copilots/${e}`);return i?.data?{preferences:(t=i.data)?{jobTitles:[],locations:[],currentCurrency:t.currentCurrency||"USD",reviewBeforeSubmit:t.reviewBeforeSubmit}:t,enabled:!!i.data.enabled}:null}}),l=n?.preferences??null,{data:s,isLoading:d}=eEC(t);return{data:(0,R.useMemo)(()=>{if(l){if(!i)return l;let e=eEf(i),t=!i.targetRoles?.length;return{...l,...t?e:{},jobTitles:e.jobTitles??l.jobTitles,locations:e.locations??l.locations}}if(s){let e;return{...eEw,...(e={},s.job_title&&(e.jobTitles=[{value:s.job_title,label:s.job_title}]),s.location_details?e.locations=[{value:String(s.location_details.id),label:s.location_details.canonical_name||s.location_details.name}]:s.location&&(e.locations=[{value:s.location,label:s.location}]),e)}}return i?{...eEw,...eEf(i)}:eEw},[l,s,i]),isDraftCopilot:!n?.enabled,isLoading:o||!!t&&d||r,error:a}})(l,c),h=(e=(0,iY.jE)(),t=(0,eU.wA)(),(0,dp.n)({mutationKey:["save-job-copilot-recommendations"],mutationFn:async e=>{await Y.R3.patch("/career/profile",{careerProfile:eEk(e)});let t={enabled:!0,reviewBeforeSubmit:e.reviewBeforeSubmit};return Y.R3.patch(`/auto-apply-copilots/${l}
5810`,{copilot:t})},onSuccess:async i=>{let r=l??(i.data?.id!=null?String(i.data.id):void 0);r&&e.refetchQueries(["job-copilot-preferences",r]),t(ej.o1.setFetchCareerProfileStatus(eZ.Hp.notAsked)),await e.refetchQueries({queryKey:["auto-apply-copilots"],type:"all"})},useErrorBoundary:!1})),x=(0,edf.mN)({mode:"onBlur",resolver:(0,eJ1.u)(eNJ),defaultValues:{jobTitles:[],locations:[],currentCurrency:void 0,reviewBeforeSubmit:!0}});(0,R.useEffect)(()=>{p.data&&x.reset({jobTitles:p.data.jobTitles??[],locations:p.data.locations??[],currentCurrency:p.data.currentCurrency??"USD",reviewBeforeSubmit:!0})},[p.data]);let m=eEM(x,h.error,h.isError,h.reset),g=(i=(0,eU.wA)(),r=(0,L.Zp)(),n=(0,eW.N)(K.Tp.selectJobs),o=eEC(c),{complete:(0,R.useCallback)(async()=>{if(!c)return!1;let e=e=>r(`/job-search?view=recommendation&application_id=${e}`),t=n.find(e=>e.externalSlugId===c&&e.status!==K.Sy.recommended);if(t)return e(t.id),!0;let a=o.data;if(a){let t={status:K.Sy.wishlist,title:a.job_title,company:a.company,link:a.url,description:(0,eNE.Q)(a.description),open:!1,external_slug_id:a.external_slug_id,location:a.location,logo:a.company_logo};return i(K.o1.createJobRequest(t,{onSuccess:t=>e(t.id)})),!0}return r("/job-search?view=recommendation"),!0},[c,n,o.data,i,r])}),[y,f]=(0,R.useState)(null);(0,R.useEffect)(()=>{null!==y||p.isLoading||f(p.isDraftCopilot)},[y,p.isLoading,p.isDraftCopilot]);let b=(0,R.useCallback)(()=>{eJ3.$.setupCompleted({isUpdate:!1===y})},[y]),{markResolved:_}=eEL(eJ2.Wu.Recommendations),v=eER({wizard:u,mutation:h,form:x,onLastStep:b,onComplete:g.complete,isUpdate:!1===y,onResolved:_}),j=p.isLoading;return(0,R.useEffect)(()=>{eJ3.$.enterAAPreferencesScreen()},[]),(0,J.jsx)(edf.Op,{...x,children:(0,J.jsx)(eR7.VN,{children:(0,J.jsx)("form",{"data-testid":"job-copilot-recommendations",onSubmit:x.handleSubmit(v.onSaveAndContinue,v.onValidationFailed),children:(0,J.jsx)(eEm,{wizard:u,onSaveAndExit:v.onSaveAndExit,onResolve:_,isLoading:h.isPending,isUpdate:!1===y,children:(0,J.jsx)(eR3.E,{as:eEy.PF,defaultOpen:!0,children:(0,J.jsxs)(eEy.qn,{children:[(0,J.jsx)(eEy.hE,{children:a.recommendations.title}),(0,J.jsx)(eEy.Pd,{children:a.recommendations.subtitle}),m.genericErrorMessage&&(0,J.jsx)(eEF,{message:m.genericErrorMessage,onDismiss:m.dismissError}),(0,J.jsx)(eR8.L,{title:a.recommendations.whatWeRecommend.workLocationTitle,subtitle:a.recommendations.whatWeRecommend.workLocationSubtitle,required:!0,children:(0,J.jsx)(eEg.hU,{name:"locations",placeholder:a.recommendations.whatWeRecommend.locationsPlaceholder,loadOptions:eR5.lw,list:[eJ2.FN],defaultOptions:!1,maxLimit:10,isLoading:j})}),(0,J.jsx)(eR8.L,{title:a.recommendations.whatWeRecommend.jobTitlesTitle,subtitle:a.recommendations.whatWeRecommend.jobTitlesSubtitle,required:!0,isLast:!0,children:(0,J.jsx)(eEg.hU,{name:"jobTitles",placeholder:a.recommendations.whatWeRecommend.jobTitlesPlaceholder,loadOptions:eR5.rc,list:eJ2.m8.map(e=>({value:e.name,label:e.name})),openMenuOnClick:!0,maxLimit:10,isLoading:j,defaultOptions:eJ2.m8.map(e=>({value:e.name,label:e.name}))})})]})})})})})})},{fallback:(0,J.jsx)(eEZ,{})});var eNL=i.p+"media/apply637c8fd11b6798ce.webp",eNN=i.p+"media/expert8cd10637cf43260b.webp",eNI=i.p+"media/tailoredef141853c0338cd0.webp";let eNM=tt.Ay.div(["position:absolute;z-index:1000;width:100%;height:100vh;background-color:",";",""],te.Jy.White,tQ.A.Tablet`
5811    justify-content: flex-start;
5812    align-items: flex-start;
5813    height: auto;
5814  `),eNB=tt.Ay.button(["position:absolute;top:",";right:",";display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;border-radius:50%;background:transparent;cursor:pointer;color:",";z-index:1;&:hover{background:",";color:",";}",""],te.Kz.M,te.Kz.M,te.Jy.Neutral50,te.Jy.Neutral10,te.Jy.Neutral90,tQ.A.Tablet`
5815    display: none;
5816  `),eND=tt.Ay.div(["display:grid;grid-template-columns:minmax(0,480px) minmax(0,544px);justify-content:center;column-gap:48px;max-width:1100px;width:100%;margin:112px auto;padding:"," ",";position:relative;"," ",""],te.Kz.L,te.Kz.M,tQ.A.Tablet`
5817    display: flex;
5818    max-width: 488px;
5819    flex-direction: column;
5820    gap: ${te.Kz.XL};
5821    padding: 0 0 ${te.Kz["2XL"]};
5822    margin-top: 56px;
5823  `,tQ.A.Phone`
5824    margin-top: 0;
5825    padding: ${te.Kz.M} ${te.Kz.M};
5826    gap: ${te.Kz.S};
5827  `),eN$=tt.Ay.div(["display:flex;flex-direction:column;",""],tQ.A.Tablet`
5828    max-width: 100%;
5829  `),eNO=tt.Ay.div(["grid-column:2;grid-row:1 / 3;",""],tQ.A.Tablet`
5830    max-width: 100%;
5831    order: 1;
5832  `),eNz=tt.Ay.div(["display:flex;align-items:center;gap:",";margin-bottom:",";"],te.Kz["2XS"],te.Kz.XS),eNF=tt.Ay.div(["width:24px;height:24px;border-radius:50%;background-color:",";display:flex;align-items:center;justify-content:center;svg{color:",";}"],te.Jy.Green10,te.Jy.Green50),eNH=tt.Ay.span(["",";",";color:",";"],td.o5.Caption,td.BO.Regular,te.Jy.Neutral50),eNV=tt.Ay.h1(["",";",";color:",";margin:0 0 "," 0;",""],td.o5.M,td.BO.Medium,te.Jy.Neutral90,te.Kz.XS,tQ.A.Phone`
5833    ${td.o5.S};
5834  `),eNU=tt.Ay.p(["",";",";color:",";margin:0 0 "," 0;line-height:24px;",""],td.o5.Body,td.BO.Regular,te.Jy.Neutral90,te.Kz.L,tQ.A.Phone`
5835    margin-bottom: ${te.Kz.M};
5836  `),eNW=tt.Ay.div(["display:grid;grid-template-columns:repeat(2,1fr);gap:"," ",";margin-bottom:",";",""],te.Kz.M,te.Kz.L,te.Kz.L,tQ.A.Phone`
5837    gap: ${te.Kz.S} ${te.Kz.M};
5838    margin-bottom: ${te.Kz.M};
5839  `),eNK=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["2XS"]),eNq=tt.Ay.div(["display:flex;align-items:center;"]),eNG=tt.Ay.div(["display:flex;flex-direction:column;gap:2px;"]),eNZ=tt.Ay.h3(["",";",";color:",";margin:0;",""],td.o5.Body,td.BO.Regular,te.Jy.Neutral90,tQ.A.Phone`
5840    ${td.o5.Caption};
5841  `),eNX=tt.Ay.p(["",";",";color:",";margin:0;line-height:16px;"],td.o5.Tiny,td.BO.Regular,te.Jy.Neutral50),eNQ=tt.Ay.div(["display:flex;gap:",";",""],te.Kz.XS,tQ.A.Tablet`
5842    order: 2;
5843  `),eNY=(0,tt.Ay)(i$.JQ).attrs({theme:i$.Ox.ghost})(["flex:1;"]),eN0=(0,tt.Ay)(i$.JQ).attrs({theme:i$.Ox.default})(["flex:1;"]),eN1=tt.Ay.div(["display:flex;flex-direction:column;gap:",";height:100%;",""],te.Kz["3XS"],tQ.A.Tablet`
5844    height: auto;
5845  `),eN2=tt.Ay.div(["display:flex;align-items:center;gap:",";background-color:",";padding:",";border-radius:",";svg{color:",";}"],te.Kz["2XS"],te.Jy.Blue10,te.Kz["2XS"],te.Kz.XS,te.Jy.Blue50),eN3=tt.Ay.span(["",";",";color:",";"],td.o5.Caption,td.BO.Regular,te.Jy.Neutral90),eN5=tt.Ay.span(["",";",";color:",";"],td.o5.M,td.BO.Medium,te.Jy.Neutral90),eN4=tt.Ay.div(["display:flex;align-items:center;gap:",";"],te.Kz["2XS"]),eN6=tt.Ay.span(["",";",";color:",";",""],td.o5.Body,td.BO.Regular,te.Jy.Neutral90,tQ.A.Phone`
5846    ${td.o5.Caption};
5847  `),eN8=tt.Ay.div(["width:24px;height:24px;display:flex;align-items:center;justify-content:center;svg{color:",";}"],({$variant:e})=>{switch(e){case"applied":return te.Jy.Green50;case"processing":return te.Jy.Blue50;default:return te.Jy.Neutral50}}),eN9=tt.Ay.div(["flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:",";border-radius:",";padding:"," ",";gap:",";cursor:pointer;"," "," &:hover{background:",";","{color:",";}","{color:",";}","{svg{color:",";}}}"],te.Jy.Neutral5,te.Kz.XS,te.Kz.XS,te.Kz.M,te.Kz["3XS"],tQ.A.Tablet`
5848    padding: ${te.Kz.S} ${te.Kz.M} ${te.Kz.M};
5849  `,tQ.A.Phone`
5850    padding: ${te.Kz.XL} ${te.Kz.L};
5851  `,te.Jy.Blue10,eN5,te.Jy.Blue80,eN4,te.Jy.Blue80,eN8,te.Jy.Blue50),eN7=tt.Ay.img(["width:auto;height:32px;flex-shrink:0;",""],tQ.A.Phone`
5852    height: 38px;
5853  `);var eIe=({stats:e,isLoading:t,isJobFlow:i,onClose:r,onViewApplications:n,onExploreJobs:o})=>{let a=(0,sK.c)(),l=i?a.jobSuccessScreen:a.successScreen,{isPhone:s}=(0,ih.e)(),[d,c]=(0,R.useState)({review:!1,processing:!1,applied:!1}),u=[{id:"apply_one_click",icon:(0,J.jsx)(eN7,{src:eNI}
5853),title:l.features.applyOneClickTitle,description:l.features.applyOneClickDescription},{id:"handle_application",icon:(0,J.jsx)(eN7,{src:eNN}),title:l.features.handleApplicationTitle,description:l.features.handleApplicationDescription},{id:"tracking",icon:(0,J.jsx)(eN7,{src:eNL}),title:l.features.trackingTitle,description:l.features.trackingDescription}],p=[{label:a.successScreen.stats.processingTitle,variant:"processing",tooltip:a.successScreen.stats.processingTooltip,value:e?.processing,icon:(0,J.jsx)(tP.EK.StatusNew,{})},{label:a.successScreen.stats.autoAppliedTitle,variant:"applied",tooltip:a.successScreen.stats.autoAppliedTooltip,value:e?.autoApplied,icon:(0,J.jsx)(tP.qJ.TickSuccess,{})}];return(0,J.jsxs)(eNM,{children:[(0,J.jsx)(eNB,{onClick:r,"aria-label":"Close",children:(0,J.jsx)(tP.qJ.Close,{})}),(0,J.jsxs)(eND,{children:[(0,J.jsxs)(eN$,{children:[!i&&(0,J.jsxs)(eNz,{children:[(0,J.jsx)(eNF,{children:(0,J.jsx)(tP.EK.Check,{})}),(0,J.jsx)(eNH,{children:l.badge})]}),(0,J.jsx)(eNV,{children:l.title}),(0,J.jsx)(eNU,{children:l.description}),(0,J.jsx)(eNW,{children:u.map(e=>(0,J.jsxs)(eNK,{children:[(0,J.jsx)(eNq,{children:e.icon}),(0,J.jsxs)(eNG,{children:[(0,J.jsx)(eNZ,{children:e.title}),(0,J.jsx)(eNX,{children:e.description})]})]},e.title))})]}),(0,J.jsx)(eNO,{children:(0,J.jsxs)(eN1,{children:[(0,J.jsxs)(eN2,{children:[(0,J.jsx)(tP.qJ.Ai,{}),(0,J.jsxs)(eN3,{children:[a.successScreen.since," ",(0,az.Yq)(e?.createdDate||new Date,"MMM d, yyyy")]})]}),p.map(e=>(0,J.jsxs)(eN9,{onMouseEnter:()=>c(t=>({...t,[e.variant]:!0})),onMouseLeave:()=>c(t=>({...t,[e.variant]:!1})),children:[(0,J.jsx)(aH.QP,{width:228,multiline:!0,value:e.tooltip,visible:d[e.variant],children:(0,J.jsx)(eN5,{children:t?(0,J.jsx)(du.Qw,{$width:"24px",$height:"24px"}):e.value})}),(0,J.jsxs)(eN4,{children:[(0,J.jsx)(eN8,{$variant:e.variant,children:e.icon}),(0,J.jsx)(eN6,{children:e.label})]})]},e.label))]})}),(0,J.jsxs)(eNQ,{children:[n&&(0,J.jsx)(eNY,{size:s?i$.Mp.small:i$.Mp.default,onClick:n,children:l.viewMyApplications}),(0,J.jsx)(eN0,{size:s?i$.Mp.small:i$.Mp.default,onClick:o,children:l.exploreJobs})]})]})]})};let eIt=()=>{let e=(0,L.Zp)(),{jobId:t}=(0,L.g)();(0,R.useEffect)(()=>{eJ3.$.enterSuccessScreen()},[]);let{data:i,isLoading:r}=(0,bS.i)();return(0,J.jsx)(eIe,{stats:i,isLoading:r,onClose:()=>{e("/auto-apply")},onExploreJobs:()=>{e("/job-search?view=recommendation")},isJobFlow:!!t})},eIi=()=>(0,J.jsx)(eL4,{children:(0,J.jsx)(eL5,{})}),eIr=()=>{let e=(0,iY.jE)(),{data:t,isLoading:i}=(0,cP.F)();return((0,R.useEffect)(()=>{e.invalidateQueries({queryKey:["auto-apply-copilots-stats"]})},[e]),i)?(0,J.jsx)(eR2,{}):(0,J.jsx)(eR1,{jobCopilot:t})},eIn=()=>(0,J.jsxs)(L.BV,{children:[(0,J.jsx)(L.qh,{index:!0,element:(0,J.jsx)(L.C5,{to:"documents",replace:!0})}),(0,J.jsx)(L.qh,{path:"/documents",element:(0,J.jsx)(eEQ,{})}),(0,J.jsx)(L.qh,{path:"/screening",element:(0,J.jsx)(eLn,{})}),(0,J.jsx)(L.qh,{path:"/recommendations",element:(0,J.jsx)(eNR,{})}),(0,J.jsx)(L.qh,{path:":jobId/documents",element:(0,J.jsx)(eEQ,{})}),(0,J.jsx)(L.qh,{path:":jobId/screening",element:(0,J.jsx)(eLn,{})}),(0,J.jsx)(L.qh,{path:":jobId/recommendations",element:(0,J.jsx)(eNR,{})}),(0,J.jsx)(L.qh,{path:":jobId/success",element:(0,J.jsx)(eIt,{})})]}),eIo=()=>{let e=(0,L.zy)(),{data:t,isLoading:i}=(0,cP.F)();return i?(0,J.jsx)(eR2,{}):t?.id?(0,J.jsx)(L.C5,{to:`/auto-apply/${t.id}/documents${e.search}`,replace:!0}):(0,J.jsx)(eEQ,{})},eIa=()=>(0,J.jsxs)(L.BV,{children:[(0,J.jsx)(L.qh,{path:":jobCardId",element:(0,J.jsx)(eIi,{})}),(0,J.jsx)(L.qh,{path:":jobCardId/promo/:stepSlug",element:(0,J.jsx)(eNT,{})})]}),eIl=({element:e,feature:t})=>{let i,r=(0,e0.U)(X.l1.signUp);return(i=r?.features[t.name],"not"===t.compareMethod?!i:i)?e:(0,J.jsx)(L.C5,{to:"/auth/sign-in"})},eIs=({element:e,feature:t})=>{let{features:i}=(0,d2.t)();return i[t]?e:(0,J.jsx)(L.C5,{to:"/"})},eId=tt.Ay.div(["flex-shrink:0;padding:32px 44px 44px;",";"],tQ.A.Phone`
5854    padding: 16px 20px 32px;
5855  `),eIc=tt.Ay.div(["position:absolute;display:flex;flex-direction:column;align-items:flex-start;width:calc(100% + 2px);background-color:",";overflow-y:scroll;-webkit-overflow-scrolling:touch;left:-1px;z-index:10;animation:"," 0.3s ease;top:","px;height:",";"],te.Jy.White,im.qG,e=>e.barHeight,e=>`calc(100vh - ${e.barHeight}px)`),eIu=tt.Ay.div(["margin-bottom:24px;"]),eIp=tt.Ay.div(["",";",";"],td.o5.XL,td.BO.DemiBold),eIh=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;flex:1;width:100%;padding:44px;background-color:",";",";"],te.Jy.Neutral10,tQ.A.Phone`
5856    padding: 32px 20px;
5857  `),eIx=tt.Ay.a(["",";display:block;cursor:pointer;margin-bottom:16px;&:last-child{margin-bottom:0;}"],td.o5.Subhead),eIm=tt.Ay.div(["margin-top:4px;color:",";"],te.Jy.Neutral50),eIg=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;"]),eIy=tt.Ay.div(["position:relative;margin-right:32px;margin-bottom:16px;&:last-child{margin-right:0;margin-bottom:0;}"]),eIf=(0,tt.Ay)(i3.k2)(["",";transition:color 0.15s;color:",";&:hover{color:",";}&.active{color:",";}"],td.o5.Subhead,e=>e.$isActive?te.Jy.Neutral50:"inherit",e=>e.$isActive?te.Jy.Neutral50:te.Jy.Blue50,te.Jy.Neutral50),eIb=tt.Ay.a(["",";",";display:flex;align-items:center;padding:8px 11px 8px 8px;margin-right:32px;margin-bottom:20px;border-radius:4px;background-color:",";color:",";transition:background-color 0.15s;&:hover{background-color:",";}&:active{background-color:",";}"],td.o5.Caption,td.BO.DemiBold,te.Jy.Indigo50,te.Jy.White,te.Jy.Indigo60,te.Jy.Indigo70),eI_=(0,tt.Ay)(tP.EK.Crown)(["margin-right:4px;"]),eIv=({user:e,barHeight:t,primaryLinks:i,secondaryLinks:r,handleLinkClick:n,toggleMenu:o})=>{let a=(0,R.useRef)(null),{i18n:l}=(0,e1.s)(),s=(0,e0.U)(),d=s?.features.superAppPromotionType!==X.G6.new,c=i.find(e=>"dashboard"===e.name);return(0,aD.y)(a),(0,J.jsxs)(eIc,{ref:a,barHeight:t,children:[(0,J.jsxs)(eId,{children:[(0,J.jsxs)(eIu,{children:[(0,J.jsx)(eIp,{children:e.fullName}),"free"!==e.billingStatus&&(0,J.jsx)(eIm,{children:l.t("builder.navbar.premium_membership")})]}),(0,J.jsxs)(eIg,{children:["free"===e.billingStatus&&e.visitedPlans&&(0,J.jsxs)(eIb,{onClick:()=>{e&&(0,ln.b)({upgradeURL:e?.billingInfo?.upgradeUrl})},href:(0,ln.f)({upgradeURL:e.billingInfo.upgradeUrl}),children:[(0,J.jsx)(eI_,{}),l.t("builder.navbar.upgrade_now_button")]}),d?i.map(({name:e,isActive:t,...i})=>(0,J.jsx)(eIy,{children:(0,J.jsx)(eIf,{$isActive:!!t,"data-name":e,onClick:n,...i})},e)):(0,J.jsx)(eIy,{children:c&&(0,J.jsx)(eIf,{$isActive:!!c.isActive,"data-name":c.name,onClick:n,...c})})]})]}),(0,J.jsx)(eIh,{children:r.map((e,t)=>(0,J.jsx)(eIx,{onClick:()=>o(!1),as:"to"in e?i3.N_:"a",...e},t))})]})},eIj=tt.Ay.div(["display:flex;align-items:center;color:",";cursor:pointer;"],te.Jy.Blue50),eIA=(0,tt.Ay)(eIj)(["color:",";"],te.Jy.Neutral30),eIC=({user:e,barHeight:t,primaryLinks:i,secondaryLinks:r,onPrimaryLinkClick:n})=>{let{isTablet:o}=(0,ih.e)(),[a,l]=(0,R.useState)(!o),s=(0,R.useCallback)(e=>{l(!1),n(e)},[n]);return(0,J.jsxs)(R.Fragment,{children:[a&&(0,J.jsx)(eIv,{user:e,barHeight:t,primaryLinks:i,secondaryLinks:r,handleLinkClick:s,toggleMenu:l}),a?(0,J.jsx)(eIA,{onClick:()=>l(!1),children:(0,J.jsx)(tP.Ay.BurgerClose,{})}):(0,J.jsx)(eIj,{onClick:()=>l(!0),children:(0,J.jsx)(tP.Ay.Burger,{})})]})},eIw=tt.Ay.a(["display:block;cursor:pointer;width:124px;height:40px;background-image:url(",");background-color:",";background-position:11px center;background-size:auto 28px;border-radius:32px;color:",";margin-right:24px;transition:background-color 0.15s;&:hover{background-color:",";}"],ed_,te.Jy.Neutral5,te.Jy.Neutral100,te.Jy.Blue10),eIk=tt.Ay.a(["",";",";display:flex;align-items:center;padding:8px 11px 8px 8px;margin-right:32px;border-radius:4px;background-color:",";color:",";transition:background-color 0.15s;&:hover{background-color:",";}&:active{background-color:",";}",";"],td.Ay.Caption,td.BO.DemiBold,te.Jy.Indigo50,te.Jy.White,te.Jy.Indigo60,te.Jy.Indigo70,tQ.A.Phone`
5858    margin-right: 12px;
5859  `),eIS=(0,tt.Ay)(tP.EK.Crown)(["margin-right:4px;"]),eIT=({user:e,hasActivatedSuperApp:t})=>{let{i18n:i}=(0,e1.s)();return(0,J.jsxs)(R.Fragment,{children:[t&&e?.hasPremiumFeatures&&(0,J.jsx)(eIw,{href:"/api/app/career-identity/redirect-with-login",onClick:()=>{(0,N.xP)("click_cio_button")}}),!e?.hasPremiumFeatures&&(0,J.jsxs)(eIk,{onClick:()=>{e&&(0,ln.b)({upgradeURL:e?.billingInfo?.upgradeUrl})},href:e?e?.billingInfo.upgradeUrl:void 0,children:[(0,J.jsx)(eIS,{}),i.t("builder.navbar.upgrade_now_button")]})]})},eIP=tt.Ay.div(["display:flex;align-items:center;min-width:0;"]),eIJ=tt.Ay.div(["flex-shrink:0;margin:0 40px;height:16px;width:1px;background-color:",";"],te.Jy.Neutral20),eIE=tt.Ay.div(["display:flex;align-items:center;"]),eIR=tt.Ay.div(["flex-shrink:0;"]),eIL=(0,tt.Ay)(i3.k2)(["transition:color 0.15s;color:",";&:hover{color:",";}&.active{color:",";}"],e=>e.$isActive?te.Jy.Neutral50:"inherit",e=>e.$isActive?te.Jy.Neutral50:te.Jy.Blue50,te.Jy.Neutral50),eIN=tt.Ay.div(["position:relative;margin-right:32px;&:last-child{margin-right:0;}"]),eII=tt.Ay.div(["display:flex;align-items:center;"]),eIM=tt.Ay.a(["",";",";display:flex;align-items:center;padding:8px 11px 8px 8px;margin-right:32px;border-radius:4px;background-color:",";color:",";transition:background-color 0.15s;&:hover{background-color:",";}&:active{background-color:",";}"],td.o5.Caption,td.BO.DemiBold,te.Jy.Indigo50,te.Jy.White,te.Jy.Indigo60,te.Jy.Indigo70),eIB=(0,tt.Ay)(tP.EK.Crown)(["margin-right:4px;"]),eID=({user:e,primaryLinks:t,isDashboardOpen:i,onPrimaryLinkClick:r})=>{let{i18n:n}=(0,e1.s)(),o=(0,e0.U)(),a=o?.features.superAppPromotionType,{isTablet:l}=(0,ih.e)(),s="string"==typeof e?.careerId,d=s&&e?.hasPremiumFeatures,c=a!==X.G6.new&&!l&&!d;return(0,J.jsxs)(eIP,{children:[(0,J.jsx)(eIR,{children:c?(0,J.jsxs)(eIE,{children:["free"===e.billingStatus&&e.visitedPlans&&(0,J.jsxs)(eIM,{onClick:()=>{e&&(0,ln.b)({upgradeURL:e?.billingInfo?.upgradeUrl})},href:e?(0,ln.f)({upgradeURL:e.billingInfo.upgradeUrl}):void 0,children:[(0,J.jsx)(eIB,{}),n.t("builder.navbar.upgrade_now_button")]}),t.map(({name:e,isActive:t,...i})=>(0,J.jsx)(eIN,{children:(0,J.jsx)(eIL,{$isActive:!!t,"data-name":e,onClick:r,...i})},e))]}):(0,J.jsx)(eIT,{user:e,hasActivatedSuperApp:s})}),(0,J.jsxs)(eII,{children:[c&&(0,J.jsx)(eIJ,{}),(0,J.jsx)(GT,{hasFeatures:!i&&!c})]})]})},eI$=(0,tt.Ay)(i3.N_)(["flex-shrink:0;margin-right:40px;"]),eIO=tt.Ay.div(["position:relative;background-color:",";box-shadow:0 1px 0 0 ",";",";display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;padding:0 32px;",";"],te.Jy.White,te.Jy.Neutral10,tQ.A.Tablet`
5860    position: fixed;
5861    top: 0;
5862    left: 0;
5863    right: 0;
5864    z-index: 100;
5865  `,tQ.A.Phone`
5866    padding: 0 20px;
5867  `),eIz=tt.Ay.div(["&,& ","{height:","px;}"],eIO,e=>e.barHeight),eIF=()=>{let e=(0,e0.U)(),t=(0,e4.J)(),{i18n:i,isScopeLoaded:r}=(0,e1.s)(),{isTablet:n,isPhone:o}=(0,ih.e)(),a=e?.features.superAppPromotionType,l=e=>{let t=e.currentTarget.dataset.name;"string"==typeof t&&(0,N.xP)("click_navbar_link",{target:t})},s=(0,ebn.G)();if(!t||!e||!r("builder"))return null;let d=[{name:"dashboard",to:{pathname:"/"},as:i3.N_,isActive:s,children:a?i.t("builder.navbar.documents"):i.t("builder.navbar.dashboard")},e.features.jobTracking&&{name:"job_tracking",to:"/job-tracking",children:i.t("builder.navbar.job_tracking")},e.features.jobSearch&&{name:"job_search",to:"/job-search",children:i.t("builder.navbar.job_search")}
5867].filter(Boolean),c=[{to:"/account",children:i.t("builder.navbar.account_settings")},{href:e.links.updates||"https://updates.resume.io/",children:i.t("builder.navbar.updates"),target:"_blank",rel:"noreferrer noopener"},{href:e.links.help,children:i.t("builder.navbar.faq"),target:"_blank",rel:"noreferrer noopener"},{children:i.t("builder.navbar.log_out"),onClick:()=>EZ.y.logout()}],u=o?64:80;return(0,J.jsx)(eIz,{barHeight:u,children:(0,J.jsxs)(eIO,{children:[(0,J.jsx)(eI$,{to:{pathname:"/"},children:(0,J.jsx)(sc.A,{})}),n&&!a?(0,J.jsx)(eIC,{user:t,barHeight:u,primaryLinks:d,secondaryLinks:c,onPrimaryLinkClick:l}):(0,J.jsx)(eID,{user:t,primaryLinks:d,isDashboardOpen:!!s,onPrimaryLinkClick:l})]})})};var eIH=((S={})[S.start=0]="start",S[S.videoLoaded=1]="videoLoaded",S[S.videoToSign=2]="videoToSign",S[S.signMove=3]="signMove",S[S.signToLogo=4]="signToLogo",S[S.finish=5]="finish",S);let eIV=tt.Ay.div(["position:fixed;z-index:9999999999;top:0;bottom:0;left:0;right:0;background-color:",";display:flex;align-items:center;justify-content:center;opacity:",";transition:opacity 0.4s ease;"],te.Jy.White,e=>+!!e.isVisible),eIU=tt.Ay.video(["width:640px;height:320px;opacity:",";transition:opacity 0.1s cubic-bezier(1,0,1,0);",""],e=>+!!e.isVisible,tQ.A.Phone`
5868    max-width: 640px;
5869    width: 100%;
5870    height: auto;
5871  `),eIW=(0,tt.Ay)(sc.g)(["position:absolute;background-size:auto 32px;width:","px;opacity:",";transition:opacity 0.1s cubic-bezier(0,1,0,1),transform 0.4s ease;pointer-events:none;"],34,e=>+!!e.isVisible);var eIK=i.p+"media/logo-animation91bcb8fa8d03e072.webm",eIq=i.p+"media/logo-animation5a00cd3f5575b6e6.mp4";let eIG=({onEnd:e})=>{let[t,i]=(0,R.useState)(eIH.start),r=(0,R.useRef)(null),n=(0,R.useRef)(null);(0,R.useEffect)(()=>{t===eIH.finish&&e()},[t,e]);let o=()=>{i(e=>Math.min(e+1,eIH.finish))};return(0,J.jsxs)(eIV,{ref:n,isVisible:t<eIH.signToLogo,onTransitionEnd:()=>{t===eIH.signToLogo&&o()},children:[(0,J.jsx)(eIW,{style:function(e,t){let i=document.getElementById(Ei.hT);if(!i||!t)return{};let r=i.getBoundingClientRect(),n=t.getBoundingClientRect();if(e>eIH.videoToSign)return{top:r.top,left:r.left};let o=n.x+n.width/2-r.left-17,a=n.y+n.height/2-r.top-16,l=n.width/640*3;return{top:r.top,left:r.left,transform:`translate(${o}px, ${a}px) scale(${l})`}}(t,r.current),isVisible:t>eIH.videoLoaded,onTransitionEnd:()=>{(t===eIH.videoToSign||t===eIH.signMove)&&o()}}),(0,J.jsxs)(eIU,{isVisible:t<=eIH.videoLoaded,ref:r,width:640,height:320,onLoadedData:()=>i(eIH.videoLoaded),onEnded:()=>i(eIH.videoToSign),playsInline:!0,autoPlay:!0,muted:!0,children:[(0,J.jsx)("source",{src:eIK,type:"video/webm"}),(0,J.jsx)("source",{src:eIq,type:"video/mp4"})]})]})},eIZ=()=>{let[e,t]=(0,ds.p)("welcome"),i=null!==e,r=(0,R.useCallback)(()=>t(null,{replace:!0}),[t]);return((0,R.useEffect)(()=>{if(!i)return;let e=setTimeout(r,8e3);return()=>clearTimeout(e)},[i,r]),i)?(0,J.jsx)(eIG,{onEnd:r}):null},eIX=tt.Ay.div(["display:flex;flex-direction:column;min-height:100vh;"]),eIQ=tt.Ay.main(["position:relative;flex-grow:1;display:flex;flex-direction:column;"]),eIY=()=>{let e=(0,e0.U)();return(0,J.jsxs)(eIX,{children:[e?.features.dashboardV3&&!e?.features.dashboardV2?(0,J.jsx)(J.Fragment,{}):e?.features.superApp||e?.features.international||e?.features.dashboardV2?(0,J.jsx)(Ei.Vx,{}):(0,J.jsx)(eIF,{}),(0,J.jsx)(eIQ,{children:(0,J.jsx)(L.sv,{})}),e?.features.superApp&&(0,J.jsx)(eIZ,{})]})},eI0=({isOpen:e,setIsOpen:t})=>{let i=(0,eU.wA)(),{isTablet:r}=(0,ih.e)(),n=(0,R.useRef)(null);return(0,R.useEffect)(()=>{r?t(!1):t(!0)},[r]),(0,J.jsxs)(Ep,{ref:n,children:[(0,J.jsx)(EG,{id:"side-menu-desktop",width:e?"240px":"60px",isOpen:e}),(0,J.jsx)(Ey,{"data-testid":"side-menu-toggle",onClick:()=>{(0,N.xP)(e?"nav_collapsed":"nav_expanded"),i(F.o1.setSideMenuOpen(!e)),t(!e)},children:e?(0,J.jsx)(Ef,{"data-testid":"close-icon"}):(0,J.jsx)(Eb,{"data-testid":"open-icon"})})]})};var eI1=i(52646),eI2=i(5562);let eI3=tt.Ay.nav(["position:",";z-index:",";top:0;left:0;width:100%;background:",";backdrop-filter:blur(8px) saturate(200%);",";"],e=>e.$notSticky?"relative":"sticky",599,(0,ti.j)(te.Jy.White,.92),tQ.A.Phone`
5872    display: none;
5873  `),eI5=tt.Ay.div(["top:0;gap:32px;position:relative;padding:0 40px;margin-left:auto;margin-right:50%;width:600px;height:80px;z-index:",";margin-top:-80px;display:",";",";"],599,e=>e.isDashboardScreen?"flex":"none",tQ.A.Tablet`
5874    display: none;
5875  `),eI4=tt.Ay.div(["position:relative;display:flex;align-items:center;"]),eI6=tt.Ay.div(["color:",";",";transition:color 0.1s;cursor:pointer;"],e=>e.isActive?te.Jy.Neutral80:te.Jy.Neutral50,td.BO.Medium),eI8=tt.Ay.div(["position:absolute;top:0;height:0;width:100%;border-bottom:3px solid ",";border-bottom-left-radius:4px;border-bottom-right-radius:4px;"],te.Jy.Blue50),eI9=tt.Ay.div(["width:100%;margin:0 auto;padding:0 40px 0 24px;display:flex;align-items:center;position:relative;height:var(--top-nav-bar-height);",""],tQ.A.Tablet`
5876    padding: 0 32px 0 24px;
5877  `);(0,tt.Ay)(i3.N_).withConfig({shouldForwardProp:e=>!1===["isMenuOpen"].includes(e)})(["display:flex;transition:opacity 0.2s,visibility 0.2s;opacity:",";visibility:",";",""],e=>+!e.isMenuOpen,e=>e.isMenuOpen?"hidden":"visible",tQ.A.Phone`
5878    position: absolute;
5879    left: 50%;
5880    top: 50%;
5881    transform: translate(-50%, -50%);
5882  `),(0,tt.Ay)(sc.g)(["width:133px;
5882height:40px;"]);let eI7=tt.Ay.div(["margin-left:auto;display:flex;align-items:center;opacity:",";visibility:",";transition:opacity 0.2s,visibility 0.2s;"],e=>+!e.isMenuOpen,e=>e.isMenuOpen?"hidden":"visible"),eMe=tt.Ay.div(["margin-right:24px;padding-right:24px;border-right:1px solid ",";height:24px;display:flex;align-items:center;"],te.Jy.Neutral15),eMt=(0,tt.Ay)(eI1.G)(["margin-right:16px;"]),eMi=(0,tt.Ay)(i$.Ay)(["padding:8px 12px;",";",";"],td.Ay.Caption,td.BO.Medium),eMr=(0,tt.Ay)(eI2.k)(["margin-right:16px;"]),eMn=e=>{let{i18n:t}=(0,e1.s)(),{mutateAndRedirect:i}=(0,Td.T)();return(0,J.jsx)(aH.Ay,{value:t.t("builder.dashboard.learning_hub.actions.nav_bar_tooltip"),position:"bottom",align:"center",width:212,multiline:!0,children:(0,J.jsxs)(i$.Ay,{onClick:()=>i({}),theme:i$.Ox.ghost,size:"small",style:{gap:"8px"},children:[(0,J.jsx)(tP.qJ.StudyOutlineIcon,{}),e.children]})})},eMo=({isUserDropdownOpen:e,onUserDropdownToggle:t})=>{let i=(0,e4.J)(),{i18n:r}=(0,e1.s)(),n=(0,L.zy)(),o=(0,L.Zp)(),{isPhone:a}=(0,ih.e)(),{features:l}=(0,d2.t)(),{isUserOnAutoApplyPlan:s,hasUserCompletedQuestionnaire:d}=(0,ck.J)(),c=(0,R.useMemo)(()=>i?.billingInfo?.premiumEndsAt?(0,gj.F)(i?.billingInfo?.premiumEndsAt)+1:0,[i?.billingInfo.premiumEndsAt]),u=(0,R.useMemo)(()=>n.pathname?.includes("/upsider-loading"),[n.pathname]),p=(0,L.RQ)("/job-search"),h=(0,L.RQ)("/job-search/:externalSlugId"),x=!!l.jobSearchV2&&(!!p||!!h),m=(0,R.useMemo)(()=>c<=7&&i?.billingStatus!==Z.Xw.subscription&&i?.billingInfo.userType&&[Z.ut.premium,Z.ut.postPremium].includes(i?.billingInfo.userType),[c,i]),g=(0,R.useCallback)(()=>{o("/career-coaching"),(0,N.xP)("click_book_a_coach",{label:"top_nav"})},[o]),y=i?.hasPremiumFeatures&&l.careerCoaching&&!(s&&!d)&&!l.learningHub;return(0,J.jsx)(eI3,{$notSticky:x,children:(0,J.jsx)(eI9,{children:!u&&(0,J.jsxs)(eI7,{isMenuOpen:!1,children:[!a&&(0,J.jsx)(vM,{id:"job-search-solution"}),!i?.hasPremiumFeatures&&i?.billingInfo.userType!==Z.ut.postPremium&&(0,J.jsx)(eMt,{}),l.learningHub&&(0,J.jsx)(eMe,{children:(0,J.jsx)(eMn,{children:r.t("builder.navbar_v2.unlimited_learning")})}),y&&(0,J.jsx)(eMe,{children:(0,J.jsx)(eMi,{theme:i$.Ox.ghost,onClick:g,children:r.t("builder.navbar_v2.book_coach")})}),m&&(0,J.jsx)(eMr,{daysLeftPremium:c}),i&&(0,J.jsx)(q5,{user:i,isOpen:e,onToggle:t})]})})})},eMa=tt.Ay.nav(["display:none;position:",";z-index:",";width:100%;top:0;left:0;padding:0 20px;justify-content:center;background-color:white;",";"],e=>e.$notSticky?"relative":"sticky",599,tQ.A.Phone`
5883    display: flex;
5884
5885    li {
5886      list-style-type: none;
5887    }
5888  `),eMl=(0,tt.Ay)(i3.N_)(["width:100%;display:flex;transition:opacity 0.2s,visibility 0.2s;margin:16px 0;"]),eMs=(0,tt.Ay)(sc.g)(["width:133px;height:40px;"]),eMd=tt.Ay.img(["width:133px;height:40px;"]),eMc=tt.Ay.div(["display:flex;width:100%;justify-content:flex-end;gap:16px;"]),eMu=tt.Ay.div(["display:flex;margin:6px 0;padding:8px 6px;border-radius:12px;&:hover{background:",";}"],te.Jy.Neutral5),eMp=({hideProfile:e})=>{let{isDashboardRoute:t}=(0,R.useContext)(dB),i=(0,L.zy)(),r=(0,eU.wA)(),n=ew.D.getItem("promoBanner"),o=(0,e4.J)(),{features:a}=(0,d2.t)(),l=(0,R.useMemo)(()=>i.pathname?.includes("/upsider-loading"),[i.pathname]),s=(0,L.RQ)("/job-search"),d=(0,L.RQ)("/job-search/:externalSlugId"),c=!!a.jobSearchV2&&(!!s||!!d),u=(0,R.useMemo)(()=>o?.billingInfo?.premiumEndsAt?(0,gj.F)(o?.billingInfo?.premiumEndsAt)+1:0,[o?.billingInfo.premiumEndsAt]),p=(0,R.useMemo)(()=>u<=7&&o?.billingStatus!==Z.Xw.subscription&&o?.billingInfo.userType&&[Z.ut.premium,Z.ut.postPremium].includes(o?.billingInfo.userType),[u,o]);return(0,J.jsxs)(eMa,{id:"navbar-mobile",$notSticky:c,children:[(0,J.jsx)(eMl,{"aria-label":"Logo",to:"1"===n?"/?tr_promo_banner=1":"/",children:l?(0,J.jsx)(eMd,{src:iB,style:{maxWidth:t?"70px":void 0,width:t?"70px":void 0}}):(0,J.jsx)(eMs,{id:Ei.hT,variant:"default",style:{maxWidth:t?"70px":void 0,width:t?"70px":void 0}})}),t&&(0,J.jsx)(wf,{children:(0,J.jsxs)(wf.List,{children:[(0,J.jsx)(wf.Item,{tabId:"resumes",children:i7.R.t("builder.dashboard.dash_v4.resume_building")}),(0,J.jsx)(wf.Item,{tabId:"jobs",children:i7.R.t("builder.dashboard.dash_v4.job_search")}),(0,J.jsx)(wf.Item,{tabId:"interview",children:i7.R.t("builder.dashboard.dash_v4.interview_prep")}),(0,J.jsx)(wf.Item,{tabId:"learning",children:i7.R.t("builder.dashboard.dash_v4.learning")})]})}),!e&&(0,J.jsxs)(eMc,{children:[p&&(0,J.jsx)(eI2.k,{daysLeftPremium:u}),(0,J.jsx)(eMu,{onClick:()=>{r(ej.o1.setMobileProfileMenu(!0))},children:(0,J.jsx)(EI,{id:"mobile-profile-menu-onboarding",showOnlyAvatar:!0})})]})]})};var eMh=i(29834);let eMx=tt.Ay.div(["width:100%;bottom:0;position:fixed;z-index:1000;background:#fff;",""],({$isSafari:e})=>e&&(0,tt.AH)(["padding-bottom:10px;"])),eMm=tt.Ay.div(["display:flex;justify-content:space-between;border-top:1px solid ",";"],te.Jy.Neutral15),eMg=(0,tt.Ay)(i3.N_)(["position:relative;display:inline-block;padding:12px 6px 14px;min-width:75px;width:100%;display:flex;flex-direction:column;align-items:center;border-top:2px solid ",";"],({$active:e})=>e?te.Jy.Blue50:te.Jy.White),eMy=tt.Ay.div(["font-size:12px;line-height:16px;letter-spacing:0.3px;",";color:",";"],td.BO.Medium,({$active:e})=>e?te.Jy.Blue50:te.Jy.Neutral50),eMf=tt.Ay.div(["width:100%;display:flex;justify-content:center;padding-right:2.5px;padding-bottom:2px;"]),eMb=(0,tt.Ay)(tP.EK.Crown).attrs({width:16,height:16})(["position:absolute;right:26px;bottom:26px;background-color:",";border-radius:40%;color:"," !important;"],te.Jy.White,te.Jy.Indigo70),eM_=()=>{let{i18n:e}=(0,e1.s)(),t=(0,L.zy)(),i=(0,eU.wA)(),r=(0,R.useRef)(null),{isActiveNestedMenu:n}=ES(!0),[o,a]=(0,R.useState)(!1),l=(0,eW.N)(ej.Tp.isMobileProfileMenuOpen),s=(0,eW.N)(Z.Tp.postPremium)===Z.ut.postPremium,{isVirtualCoachEnabled:d}=(0,JC.bk)(),c=e=>{a(e),l!==e&&i(ej.o1.setMobileProfileMenu(e))},u=(0,R.useCallback)(()=>{s&&i(F.o1.setTrackJobPaywall(!0))},[i,s]);(0,oO.L)(r,()=>c(!1));let p=e=>t.pathname===e||n(e);
5888return(0,J.jsxs)(J.Fragment,{children:[!o&&(0,J.jsx)(eMx,{$isSafari:(0,eMh.n)(),id:"bottom-menu-mobile",children:(0,J.jsxs)(eMm,{children:[(0,J.jsxs)(eMg,{to:"/",$active:p("/"),children:[(0,J.jsx)(eMf,{children:p("/")?(0,J.jsx)(tP.qJ.DashboardActive,{}):(0,J.jsx)(tP.qJ.Dashboard,{})}),(0,J.jsx)(eMy,{$active:p("/"),children:e.t("builder.side_menu.mobile.dashboard")})]}),(0,J.jsxs)(eMg,{to:"/resumes",$active:p("/resumes"),children:[(0,J.jsx)(eMf,{children:p("/resumes")?(0,J.jsx)(tP.qJ.DocumentsActive,{}):(0,J.jsx)(tP.qJ.Documents,{})}),(0,J.jsx)(eMy,{$active:p("/resumes"),children:e.t("builder.side_menu.mobile.documents")})]}),d&&(0,J.jsx)(eMg,{as:"div",children:(0,J.jsx)(JC.u0,{})}),(0,J.jsxs)(eMg,{to:"/job-search?view=recommendation",$active:p("/job-search"),children:[(0,J.jsx)(eMf,{children:p("/job-search")?(0,J.jsx)(tP.qJ.JobsActive,{}):(0,J.jsx)(tP.qJ.Jobs,{})}),(0,J.jsx)(eMy,{$active:p("/job-search"),children:e.t("builder.side_menu.mobile.jobs")})]}),!d&&(0,J.jsxs)(eMg,{to:s?t:"/job-tracking",$active:p("/job-tracking"),onClick:s?u:void 0,children:[s&&(0,J.jsx)(eMb,{}),(0,J.jsx)(eMf,{children:p("/job-tracking")?(0,J.jsx)(tP.qJ.TrackerActive,{}):(0,J.jsx)(tP.qJ.Tracker,{})}),(0,J.jsx)(eMy,{$active:p("/job-tracking"),children:e.t("builder.side_menu.mobile.tracker")})]}),(0,J.jsxs)(eMg,{to:"#",onClick:()=>a(!0),children:[(0,J.jsx)(eMf,{children:(0,J.jsx)(tP.qJ.MoreMenu,{})}),(0,J.jsx)(eMy,{children:e.t("builder.side_menu.mobile.more")})]})]})}),(0,J.jsx)(Rp,{ref:r,open:o||l,setOpen:c})]})},eMv=[xH,xV,xU],eMj=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)(),i=(0,L.zy)(),{getHost:r}=(0,ca.Ay)(),n=xK[(0,eW.N)(U.Tp.activeTabId)],o=(0,R.useMemo)(()=>"/"===i.pathname,[i.pathname]),a=(0,R.useCallback)(i=>{(0,N.xP)("click_dash_tab",{label:i,website_host:r}),t(U.o1.setActiveTabID({tabId:xW(e.t)[i].index}))},[t,r,e.t]);return(0,J.jsx)(am.Ay,{Container:eI5,isDashboardScreen:o,children:eMv.map(t=>(0,J.jsxs)(eI4,{children:[t===n&&(0,J.jsx)(eI8,{}),(0,J.jsx)(eI6,{isActive:t===n,onClick:()=>a(t),children:"Change Career"===t?e.t("builder.navbar_v2.switch_career"):xW(e.t)[t].text},t)]},t))})};var eMA=i.p+"media/checkmark2ded43774677d0cf.svg";let eMC=tt.Ay.div(["position:fixed;display:flex;justify-content:center;align-items:center;top:0;left:0;background:#000000ba;z-index:9999;height:100vh;width:100vw;"]),eMw=tt.Ay.div(["font-family:'TT Commons',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,Cantarell,'Noto Sans',sans-serif;background-color:",";border-radius:8px;display:flex;width:100%;height:100%;max-width:974px;max-height:547px;",""],te.Jy.White,tQ.A.Phone`
5889    border-radius: 0;
5890    flex-direction: column-reverse;
5891    max-width: 100%;
5892    max-height: 100%;
5893  `),eMk=tt.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;width:50%;height:100%;padding:40px;",""],tQ.A.Phone`
5894    width: 100%;
5895    padding: 24px;
5896  `),eMS=tt.Ay.div(["display:flex;flex-direction:column;justify-content:start;border-radius:0 8px 8px 0;align-items:center;width:50%;height:100%;background-color:#f3f4f8;",""],tQ.A.Phone`
5897    border-radius: 0;
5898    width: 100%;
5899    max-height: 195px;
5900  `),eMT=(0,tt.Ay)(tP.qJ.Close)(["display:block;color:",";transition:color 0.3s;&:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Blue50),eMP=tt.Ay.div(["display:flex;justify-self:flex-end;right:0;height:fit-content;width:fit-content;margin:32px 32px 0 32px;background:",";border-radius:32px;color:",";cursor:pointer;transition:background-color 0.3s;&:hover{background-color:",";}",""],te.Jy.White,te.Jy.Neutral30,te.Jy.Blue10,tQ.A.Phone`
5901    margin: 20px;
5902  `),eMJ=tt.Ay.div(["display:flex;justify-content:flex-end;width:100%;",""],tQ.A.Phone`
5903    position: absolute;
5904    top: 0;
5905    right: 0;
5906  `),eME=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;gap:16px;",""],tQ.A.Phone`
5907    gap: 8px;
5908  `),eMR=tt.Ay.h2(["font-size:33px;font-weight:600;color:",";line-height:36px;",""],te.Jy.Neutral90,tQ.A.Phone`
5909    font-size: 23px;
5910    line-height: 24px;
5911  `),eML=tt.Ay.p(["color:",";font-size:16px;font-style:normal;font-weight:400;line-height:20px;"],te.Jy.Neutral50),eMN=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;margin-top:24px;"]),eMI=tt.Ay.h3(["color:#303848;font-size:14px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;",""],tQ.A.Phone`
5912    font-size: 12px;
5913    line-height: 16px;
5914  `),eMM=tt.Ay.ul(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;list-style:none;padding:0;margin:0;",""],tQ.A.Phone`
5915    gap: 0;
5916  `),eMB=tt.Ay.li(["color:",";font-style:normal;font-weight:400;line-height:20px;font-size:16px;&:before{content:'';display:inline-block;position:relative;right:4px;top:5px;width:20px;height:20px;background-image:url(",");background-size:contain;background-repeat:no-repeat;}",""],te.Jy.Neutral80,eMA,tQ.A.Phone`
5917    font-size: 15px;
5918    line-height: 18px;
5919  `),eMD=tt.Ay.div(["display:flex;flex-direction:column;"]),eM$=tt.Ay.div(["display:flex;justify-content:space-between;align-items:center;gap:24px;"]),eMO=tt.Ay.button(["border-radius:4px;border:none;background:",";color:",";text-align:center;font-family:'TT Commons',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,Cantarell,'Noto Sans',sans-serif;font-size:19px;font-style:normal;font-weight:500;line-height:24px;display:inline-flex;padding:12px 24px;justify-content:center;align-items:center;width:100%;cursor:pointer;transition:background-color 0.3s;&:hover{background:",";}&:active{background:",";}&:disabled{color:",";background-color:transparent;text-align:center;font-family:'TT Commons',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,Cantarell,'Noto Sans',sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;}",""],te.Jy.Blue50,te.Jy.White,te.Jy.Blue60,te.Jy.Blue70,te.Jy.Neutral50,tQ.A.Phone`
5920    font-size: 16px;
5921    padding: 8px 12px;
5922    white-space: nowrap;
5923        line-height: 20px;
5924  `),eMz=tt.Ay.button(["border-radius:4px;border:1px solid ",";text-align:center;font-size:19px;font-style:normal;font-weight:500;line-height:24px;display:inline-flex;padding:12px 24px;justify-content:center;align-items:center;width:100%;cursor:pointer;transition:all 0.3s;&:hover{border:1px solid ",";color:",";}&:active{background:",";}&:disabled{color:",";background-color:transparent;text-align:center;font-family:'TT Commons',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,Cantarell,'Noto Sans',sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;}",""],te.Jy.Neutral20,te.Jy.Blue50,te.Jy.Blue50,te.Jy.Blue10,te.Jy.Neutral50,tQ.A.Phone`
5925    font-size: 16px;
5926    padding: 8px 12px;
5927    white-space: nowrap;
5928    line-height: 20px;
5929  `),eMF=tt.Ay.div(["display:flex;color:",";font-size:14px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:0.3px;"],te.Jy.Neutral50),eMH=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),eMV=tt.Ay.video(["width:100%;object-fit:contain;",""],tQ.A.Phone`
5930    max-height: 195px;
5931    object-fit: cover;
5932    object-position: top;
5933  `);var eMU=i.p+"media/rd-gif-popup2ce914f833769b1b.webm";let eMW="rd_promo_shown",eMK=()=>{let{i18n:e}=(0,e1.s)(),{isOpen:t,handleModalClose:i,getCTAText:r,getPriceFromPlan:n,shouldRenderPlanRenewalNotice:o,redirectToCheckout:a}=(()=>{let e=ew.D.getItem(eMW),t=(0,eU.wA)(),i=(0,d2.t)(),r=(0,ln.f)({upgradeURL:(0,eW.N)(Z.Tp.getUpgradeUrl)}),n=(0,eW.N)(Z.Tp.userData),o=(0,eW.N)(z.Tp.rdUpsellPromoModalVisible),a=(0,eW.N)(z.Tp.showUpsellRdPromoModal),l=(0,R.useCallback)(()=>!!i.features.rdPromo&&i.features.rdPromo.rdPromoPlan,[i]),s=(0,R.useCallback)(()=>o&&!e&&l()&&i?.features?.resumeDistribution||a,[i?.features?.resumeDistribution,l,o,e,a]),[d,c]=(0,R.useState)(s),u=(0,R.useCallback)(()=>"flat"===l()?"TR_customers":"TR_non_converted",[l]);return(0,R.useEffect)(()=>{s()&&(0,N.xP)("show_promo_modal",{who:u(),type:"RD"}),c(s())},[o,a,s,u]),{isOpen:d,handleModalClose:function(){t(z.o1.closeRDUpsellPromoModal()),t(z.o1.toggleRDUpsellPromoModal(!1)),ew.D.setItem(eMW,"true"),n?.scopes.autoApply&&n?.scopes.resumeDistribution&&t(z.o1.showRDUpsellGetStartedModal())},redirectToCheckout:function(){"flat"===l()?((0,N.xP)("click_rd_upgrade_button",{who:u()}),window.open("/app/billing/payment?plan=sub_usa_rd_promo","_self")):((0,N.xP)("click_rd_upgrade_button",{who:u()}),(0,ln.b)({upgradeURL:r||"/app/billing/plans",plan:"sub_usa_rd_promo"}))},getCTAText:function(){return"flat"===l()?"builder.resume_distribution.promo.cta.unlock":"builder.resume_distribution.promo.cta.upgrade"},getPriceFromPlan:function(){return"flat"===l()?"$4.95":"regular"===l()?"$24.95":void 0},shouldRenderPlanRenewalNotice:function(){return"flat"===l()}}})();if(!t)return null;let l=r(),s=n();return(0,J.jsx)(eMC,{children:(0,J.jsxs)(eMw,{children:[(0,J.jsxs)(eMk,{children:[(0,J.jsxs)(eMD,{children:[(0,J.jsxs)(eME,{children:[(0,J.jsx)(eMR,{children:e.t("builder.resume_distribution.promo.title")}),(0,J.jsx)(eML,{children:e.t("builder.resume_distribution.promo.description")})]}),(0,J.jsxs)(eMN,{children:[(0,J.jsx)(eMI,{children:e.t("builder.resume_distribution.promo.features_title")}),(0,J.jsxs)(eMM,{children:[(0,J.jsx)(eMB,{children:e.t("builder.resume_distribution.promo.features.monthly_distribution")}),(0,J.jsx)(eMB,{children:e.t("builder.resume_distribution.promo.features.access_to_recruiters")}),(0,J.jsx)(eMB,{children:e.t("builder.resume_distribution.promo.features.unlimited_changes")}
5933),(0,J.jsx)(eMB,{children:e.t("builder.resume_distribution.promo.features.match_with_recruiters")})]})]})]}),(0,J.jsxs)(eMH,{children:[(0,J.jsx)(()=>o()?(0,J.jsx)(eMF,{children:(0,J.jsx)("p",{children:e.t("builder.resume_distribution.promo.plan_renewal_notice")})}):null,{}),(0,J.jsxs)(eM$,{children:[(0,J.jsx)(eMz,{onClick:i,children:e.t("builder.resume_distribution.promo.cta.download_only")}),(0,J.jsx)(eMO,{onClick:a,children:e.t(l,{price:s})})]})]})]}),(0,J.jsxs)(eMS,{children:[(0,J.jsx)(eMJ,{children:(0,J.jsx)(eMP,{onClick:i,children:(0,J.jsx)(eMT,{})})}),(0,J.jsx)(eMV,{src:eMU,autoPlay:!0,muted:!0})]})]})})};var eMq=i(32463);let eMG=e=>{let t=async()=>(await eMq.uE.get("/billing/plans/addon",{params:{name:e?.addon}})).data,i=(0,r2.I)({queryKey:["useGetAddonPrice",e],queryFn:t,onError:e=>console.error(e),useErrorBoundary:!1,enabled:e?.fetchPrice}),r=i.data?.currencySymbol||"$",n=e=>e?Number(e/100).toFixed(2):"0";return{...i,upsellAmount:()=>`${r}${n(i.data?.upsellAmount)}`,recurringAmount:()=>`${r}${n(i.data?.recurringAmount)}`,addonAmount:()=>`${r}${n(i.data?.addonAmount)}`,subscriptionAmount:()=>{let e=i.data?.recurringAmount||0,t=i.data?.addonAmount||0;return`${r}${n(e-t)}`}}},eMZ="builder.resume_distribution.upsell_modal";var eMX=((T={}).CREDITS_10="10_credits",T.CREDITS_20="20_credits",T.CREDITS_50="50_credits",T);let eMQ=tt.Ay.div(["margin-top:9px;"]),eMY=tt.Ay.div(["display:flex;border-radius:8px;"]),eM0=tt.Ay.div(["position:absolute;top:-14px;padding:2px 8px;border-radius:4px;"," "," color:",";background:",";"],td.Ay.Caption,td.BO.DemiBold,({$color:e})=>"green"===e?te.Jy.Green50:te.Jy.Indigo50,({$color:e})=>"green"===e?te.Jy.Green10:te.Jy.Indigo10),eM1=tt.Ay.div([""," "," color:",";"],td.Ay.M,td.BO.Medium,te.Jy.Neutral90),eM2=tt.Ay.div([""," "," color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral90),eM3=tt.Ay.div(["position:relative;flex:1;display:flex;flex-direction:column;align-items:center;padding:24px 16px;cursor:pointer;border:1px solid ",";&:hover{background:",";","{","}}"," ",""],te.Jy.Neutral10,te.Jy.Neutral5,eM0,({$color:e,$isSelected:t})=>!t&&(0,tt.AH)(["color:",";background:",";"],"green"===e?te.Jy.Green60:te.Jy.Indigo60,"green"===e?te.Jy.Green20:te.Jy.Indigo20),({$boxPosition:e})=>"center"===e?(0,tt.AH)(["border-right:unset;border-left:unset;"]):"left"===e?(0,tt.AH)(["border-radius:8px 0 0 8px;"]):"right"===e?(0,tt.AH)(["border-radius:0 8px 8px 0;"]):void 0,({$isSelected:e,$color:t})=>{if(e){let e="green"===t?te.Jy.Green50:te.Jy.Indigo50;return(0,tt.AH)(["padding:23px 15px;background:",";border:2px solid ",";","{color:",";background:",";}"],te.Jy.Neutral5,e,eM0,te.Jy.White,e)}}),eM5=({selectedPlan:e,onSelectPlan:t})=>{let{i18n:i}=(0,e1.s)();return(0,J.jsx)(eMQ,{children:(0,J.jsxs)(eMY,{children:[(0,J.jsxs)(eM3,{onClick:()=>t(eMX.CREDITS_10),$isSelected:e===eMX.CREDITS_10,$boxPosition:"left",$color:"indigo",children:[(0,J.jsx)(eM0,{$color:"indigo",children:i.t(`${eMZ}.credits_10_badge`)}),(0,J.jsx)(eM1,{children:"10"}),(0,J.jsx)(eM2,{children:i.t(`${eMZ}.credits_title`)})]}),(0,J.jsxs)(eM3,{onClick:()=>t(eMX.CREDITS_20),$isSelected:e===eMX.CREDITS_20,$boxPosition:"center",$color:"green",children:[(0,J.jsx)(eM0,{$color:"green",children:i.t(`${eMZ}.credits_20_badge`)}),(0,J.jsx)(eM1,{children:"20"}),(0,J.jsx)(eM2,{children:i.t(`${eMZ}.credits_title`)})]}),(0,J.jsxs)(eM3,{onClick:()=>t(eMX.CREDITS_50),$isSelected:e===eMX.CREDITS_50,$boxPosition:"right",$color:"indigo",children:[(0,J.jsx)(eM0,{$color:"indigo",children:i.t(`${eMZ}.credits_50_badge`)}),(0,J.jsx)(eM1,{children:"50"}),(0,J.jsx)(eM2,{children:i.t(`${eMZ}.credits_title`)})]})]})})};var eM4=i.p+"media/spinnerf03d7cbd742461fb.png";let eM6=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;width:100%;height:100%;gap:26px;"]),eM8=tt.Ay.div(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;margin-top:2px;"]),eM9=tt.Ay.div(["display:flex;flex-direction:row;justify-content:center;align-items:center;width:fit-content;"]),eM7=tt.Ay.h3([""," "," color:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),eBe=tt.Ay.h4([""," "," color:",";"],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90),eBt=tt.Ay.h3(["height:26px;"," "," color:",";",""],td.Ay.Body,td.BO.Regular,te.Jy.Neutral60,tQ.A.Phone`
5934    height: 22px;
5935  `),eBi=(0,tt.Ay)(du.Ay)(["width:24px;height:24px;background-image:url(",");"],eM4),eBr=(0,tt.Ay)(i$.Ay)(["width:100%;"]),eBn=tt.Ay.span([""," "," color:",";margin-top:auto;",""],td.Ay.Tiny,td.BO.Regular,te.Jy.Neutral40,tQ.A.Phone`
5936    margin-top: unset;
5937  `),eBo=({amount:e,isPriceLoading:t,onClickUpgrade:i})=>{let{i18n:r}=(0,e1.s)(),{isPhone:n}=(0,ih.e)();return(0,J.jsxs)(eM6,{children:[(0,J.jsxs)(eM8,{children:[(0,J.jsx)(eM7,{children:r.t(`${eMZ}.plan.title`)}),(0,J.jsxs)(eM9,{children:[t&&(0,J.jsx)(eBi,{}),!t&&(0,J.jsxs)(R.Fragment,{children:[(0,J.jsx)(eBe,{children:e}),(0,J.jsxs)(eBt,{children:["/",r.t(`${eMZ}.plan.period`)]})]})]})]}),!n&&(0,J.jsx)(eBr,{onClick:i,children:r.t(`${eMZ}.cta_label`)}),(0,J.jsxs)(eBn,{children:["*",r.t(`${eMZ}.disclaimer`)]})]})},eBa=tt.Ay.div(["position:fixed;display:flex;justify-content:flex-end;align-items:center;top:0;left:0;background:#000000ba;z-index:9999;height:100vh;width:100vw;pointer-events:auto;"]),eBl=tt.Ay.div(["background-color:",";display:flex;width:100%;height:100%;max-width:528px;max-height:100%;"," ",""],te.Jy.White,tQ.A.Tablet`
5938    max-width: 528px;
5939  `,tQ.A.Phone`
5940    flex-direction: column;
5941    max-width: 100%;
5942    max-height: 100%;
5943  `),eBs=tt.Ay.div(["display:flex;flex-direction:column;justify-content:flex-start;width:100%;height:100%;gap:24px;padding:32px 40px;position:relative;"," ",""],tQ.A.Tablet`
5944    width: 100%;
5945    font-size: 21px;
5946  `,tQ.A.Phone`
5947    width: 100%;
5948    padding: 16px 20px;
5949    overflow: auto;
5950  `),eBd=(0,tt.Ay)(tP.qJ.CloseBig)(["display:block;color:",";transition:color 0.3s;padding:2px;&:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Blue50),eBc=tt.Ay.div(["display:flex;justify-self:flex-end;right:0;height:fit-content;width:fit-content;background:",";border-radius:32px;color:",";cursor:pointer;transition:background-color 0.3s;&:hover{background-color:",";}",""],te.Jy.White,te.Jy.Neutral30,te.Jy.Blue10,tQ.A.Phone`
5951    margin: 20px;
5952  `),eBu=tt.Ay.div(["position:absolute;top:32px;right:32px;",""],tQ.A.Phone`
5953    top: 2px;
5954    right: 0;
5955    z-index: 99999;
5956  `),eBp=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;gap:12px;width:80%;",""],tQ.A.Phone`
5957    gap: 8px;
5958    width: 100%;
5959    text-align: center;
5960    align-items: center;
5961  `),eBh=tt.Ay.h2([""," "," color:",";"],td.Ay.M,td.BO.DemiBold,te.Jy.Neutral90),eBx=tt.Ay.h2([""," "," color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50),eBm=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;width:100%;"]),eBg=tt.Ay.h2([""," "," color:",";"],td.Ay.Caps,td.BO.DemiBold,te.Jy.Neutral50),eBy=tt.Ay.ul(["border-radius:8px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;list-style:none;margin:0;padding:16px 48px 16px 16px;background-color:",";"],te.Jy.Neutral5),eBf=tt.Ay.div([""," "," color:",";display:flex;gap:6px;"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral90),eBb=tt.Ay.div(["width:20px;height:20px;"]),eB_=(0,tt.Ay)(tP.EK.Tick)(["color:",";"],te.Jy.Green40),eBv=tt.Ay.div(["top:0;position:sticky;"]),eBj=tt.Ay.div(["padding:8px 20px 16px;position:sticky;bottom:0;background:",";"],te.Jy.White),eBA=(0,tt.Ay)(i$.Ay)(["width:100%;"]),eBC=()=>{let e=(0,e4.J)(),{i18n:t}=(0,e1.s)(),i=(0,L.zy)(),{isPhone:r}=(0,ih.e)(),{isOpen:n,handleModalClose:o}=(()=>{let e=(0,eU.wA)(),t=(0,eW.N)(z.Tp.rdUpsellModalVisible),[i,r]=(0,R.useState)(t);return(0,R.useEffect)(()=>{t&&((0,N.xP)("show_upsell_plans_page"),(0,N.xP)("aa_upsell_plans_page_pick_plan",{addon_name:eMX.CREDITS_20})),r(t)},[t]),{isOpen:i,handleModalClose:()=>{e(z.o1.closeRDUpsellModal())}}})(),[a,l]=(0,R.useState)(eMX.CREDITS_20),s=(0,R.useMemo)(()=>e?.billingInfo?.premiumEndsAt?(0,gj.F)(e?.billingInfo?.premiumEndsAt)+1:0,[e?.billingInfo.premiumEndsAt]),d=e=>({[eMX.CREDITS_10]:"10_credits_autoapply",[eMX.CREDITS_20]:"20_credits_autoapply",[eMX.CREDITS_50]:"50_credits_autoapply"})[e],{upsellAmount:c,isLoading:u}=eMG({addon:d(a),fetchPrice:n}),p=()=>{if(u)return;(0,N.xP)("auto_apply_plan_credits_exceeded"),(0,N.xP)("show_upsell_payment_page");let e="/"===i.pathname,t=(0,dF.stringifyUrl)({url:"/app/billing/payment",query:{plan:d(a),on_success_redirect:e?"/app":"/app/job-search?view=recommendation&show_credit_modal=true"}});window.location.assign(t)},h=()=>{l(eMX.CREDITS_20),o()},x=[t.t(`${eMZ}.features.job_applications`,{credits:a.split("_")[0]}),t.t(`${eMZ}.features.weekly_jobs_shortlist`),t.t(`${eMZ}.features.send_resume`),t.t(`${eMZ}.features.interview_preparation`),s>0?t.t(`${eMZ}.features.do_not_lose_access`,{count:s}):void 0].filter(e=>e);return n?(0,J.jsx)(eBa,{children:(0,J.jsxs)(eBl,{children:[r&&(0,J.jsxs)(eBv,{children:[(0,J.jsx)(eMp,{hideProfile:!0}),(0,J.jsx)(eBu,{children:(0,J.jsx)(eBc,{onClick:h,children:(0,J.jsx)(eBd,{})})})]}),(0,J.jsxs)(eBs,{children:[!r&&(0,J.jsx)(eBu,{children:(0,J.jsx)(eBc,{onClick:h,children:(0,J.jsx)(eBd,{})})}),(0,J.jsxs)(eBp,{children:[(0,J.jsx)(eBh,{children:t.t(`${eMZ}.title`)}),(0,J.jsx)(eBx,{children:t.t(`${eMZ}.sub_title`)})]}),(0,J.jsx)(eM5,{selectedPlan:a,onSelectPlan:e=>{l(e),(0,N.xP)("aa_upsell_plans_page_pick_plan",{addon_name:e})}}),(0,J.jsxs)(eBm,{children:[(0,J.jsx)(eBg,{children:t.t(`${eMZ}.features_header`)}),(0,J.jsx)(eBy,{children:x.map(e=>(0,J.jsxs)(eBf,{children:[(0,J.jsx)(eBb,{children:(0,J.jsx)(eB_,{})}),e]},e))})]}),(0,J.jsx)(eBo,{amount:c(),isPriceLoading:u,onClickUpgrade:p})]}),r&&(0,J.jsx)(eBj,{children:(0,J.jsx)(eBA,{onClick:p,children:t.t(`${eMZ}.cta_label`)})})]})}):null};var eBw=i.p+"media/checkmarka7fa85bb17ede38a.svg",eBk=i.p+"media/headerImagee68c5fbe98647c72.svg";let eBS=tt.Ay.div(["position:fixed;display:flex;justify-content:center;align-items:center;top:0;left:0;background:#000000ba;z-index:9999;height:100vh;width:100vw;",""],tQ.A.Phone`
5962    align-items: center;
5963  `),eBT=tt.Ay.div(["font-family:'TT Commons',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,Cantarell,'Noto Sans',sans-serif;background-color:",";border-radius:8px;display:flex;align-items:center;width:544px;height:fit-content;max-height:684px;max-width:544px;",""],te.Jy.White,tQ.A.Phone`
5964    width: 90%;
5965  `),eBP=tt.Ay.div(["position:relative;display:flex;flex-direction:column;justify-content:flex-start;width:100%;height:100%;"]),eBJ=(0,tt.Ay)(tP.qJ.Close)(["display:block;color:",";transition:color 0.3s;&:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Blue50),eBE=tt.Ay.div(["display:flex;justify-self:flex-end;right:0;height:fit-content;width:fit-content;margin:32px 32px 0 32px;background:",";border-radius:32px;color:",";cursor:pointer;transition:background-color 0.3s;&:hover{background-color:",";}"," ",""],te.Jy.White,te.Jy.Neutral30,te.Jy.Blue10,tQ.A.Tablet`
5966    margin: 30px;
5967  `,tQ.A.Phone`
5968    margin: 15px;
5969  `),eBR=tt.Ay.div(["position:absolute;top:0;right:0;display:flex;justify-content:flex-end;width:100%;"]),eBL=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;gap:6px;",""],tQ.A.Phone`
5970    gap: 8px;
5971  `),eBN=tt.Ay.h2(["font-size:25px;font-weight:600;color:",";line-height:30px;",""],te.Jy.Neutral90,tQ.A.Phone`
5972    font-size: 20px;
5973    line-height: 24px;
5974  `),eBI=tt.Ay.p(["color:",";font-size:1em;font-style:normal;font-weight:400;line-height:20px;"],te.Jy.Neutral50),eBM=tt.Ay.div(["display:flex;flex-direction:column;gap:6px;margin-top:24px;"]),eBB=tt.Ay.h3(["color:#303848;font-size:14px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;",""],tQ.A.Phone`
5975    font-size: 12px;
5976    line-height: 16px;
5977  `),eBD=tt.Ay.ul(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;list-style:none;margin:0;background-color:var(--neutral-5);border-radius:var(--2XS,8px);padding:12px;"]),eB$=tt.Ay.li(["color:",";font-style:normal;font-weight:400;line-height:20px;font-size:16px;&:before{content:'';display:inline-block;float:left;
5977right:4px;top:5px;background-image:url(",");width:20px;height:22px;margin-right:4px;background-size:contain;background-repeat:no-repeat;}",""],te.Jy.Neutral80,eBw,tQ.A.Phone`
5978    font-size: 15px;
5979    line-height: 20px;
5980  `),eBO=tt.Ay.div(["display:flex;flex-direction:column;padding:0px 30px 30px 30px;"]),eBz=tt.Ay.div(["border-radius:8px 8px 0px 0px;background-image:url(",");width:100%;height:280px;background-size:cover;background-repeat:no-repeat;margin-bottom:1em;",""],eBk,tQ.A.Phone`
5981    height: 195px;
5982  `),eBF=tt.Ay.div(["display:flex;justify-content:flex-end;align-items:center;width:100%;margin-top:30px;"]),eBH=tt.Ay.button(["border-radius:4px;border:none;background:",";color:",";text-align:center;font-family:'TT Commons',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,Cantarell,'Noto Sans',sans-serif;font-size:19px;font-style:normal;font-weight:500;line-height:24px;display:inline-flex;padding:12px 40px;justify-content:center;align-items:center;width:fit-content;cursor:pointer;transition:background-color 0.3s;&:hover{background:",";}&:active{background:",";}&:disabled{color:",";background-color:transparent;text-align:center;font-family:'TT Commons',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,Cantarell,'Noto Sans',sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;}",""],te.Jy.Blue50,te.Jy.White,te.Jy.Blue60,te.Jy.Blue70,te.Jy.Neutral50,tQ.A.Phone`
5983    font-size: 16px;
5984    padding: 8px 12px;
5985    white-space: nowrap;
5986    line-height: 20px;
5987  `),eBV="builder.resume_distribution.got_credits_modal",eBU=()=>{let{i18n:e}=(0,e1.s)(),{getAutoApplyCredit:t}=(0,ck.J)(),{isOpen:i,handleModalClose:r}=(()=>{let e=(0,eU.wA)(),t=(0,eW.N)(z.Tp.rdGotCreditsModalVisible),i=(0,R.useCallback)(()=>t,[t]),[r,n]=(0,R.useState)(i);return(0,R.useEffect)(()=>{i()&&(0,N.xP)("show_new_credits_congratulation_modal"),n(i())},[t,i]),{isOpen:r,handleModalClose:function(){e(z.o1.closeRDGotCreditsModal()),ew.D.setItem("rd_get_started_shown","true")}}})(),n=t().creditCount||20;if(!i)return null;let o=[e.t(`${eBV}.features.job_applications`,{credits:n}),e.t(`${eBV}.features.weekly_jobs_shortlist`),e.t(`${eBV}.features.send_resume`),e.t(`${eBV}.features.interview_preparation`)];return(0,J.jsx)(eBS,{children:(0,J.jsx)(eBT,{children:(0,J.jsxs)(eBP,{children:[(0,J.jsx)(eBR,{children:(0,J.jsx)(eBE,{onClick:r,children:(0,J.jsx)(eBJ,{})})}),(0,J.jsx)(eBz,{}),(0,J.jsxs)(eBO,{children:[(0,J.jsxs)(eBL,{children:[(0,J.jsx)(eBN,{children:e.t(`${eBV}.title`,{credits:n})}),(0,J.jsx)(eBI,{children:e.t(`${eBV}.description`)})]}),(0,J.jsxs)(eBM,{children:[(0,J.jsx)(eBB,{children:e.t(`${eBV}.features_title`)}),(0,J.jsx)(eBD,{children:o.map((e,t)=>(0,J.jsx)(eB$,{children:e},t))})]}),(0,J.jsx)(eBF,{children:(0,J.jsx)(eBH,{onClick:r,children:e.t(`${eBV}.get_started_cta`)})})]})]})})})};var eBW=i(99381),eBK=i(25963);let eBq=tt.Ay.div(["gap:20px;display:flex;flex-direction:column;height:inherit;padding:24px;border-radius:12px;border:1px solid ",";cursor:pointer;background-color:",";&:hover{border-color:",";}",""],te.Jy.Neutral15,te.Jy.White,te.Jy.Blue50,tQ.A.Phone`
5988    padding: 20px;
5989  `),eBG=tt.Ay.div(["display:flex;justify-content:space-between;",""],({$hasLabel:e})=>e&&tQ.A.Phone`
5990      gap: 6px;
5991      flex-direction: column-reverse;
5992    `),eBZ=tt.Ay.div(["gap:4px;max-width:303px;display:flex;flex-direction:column;",""],tQ.A.Phone`
5993    max-width: 250px;
5994  `),eBX=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-end;gap:10px;",""],({$hasLabel:e})=>e&&tQ.A.Phone`
5995      flex-direction: row-reverse;
5996      justify-content: space-between;
5997      align-items: center;
5998    `),eBQ=tt.Ay.span(["width:87px;height:50px;padding:4px 8px 4px 12px;border-radius:4px;background:linear-gradient(94deg,#37d274 0%,#0fcf5c 47.53%,#1ce58b 100%),#eaf6ff;color:",";"," "," ",""],te.Jy.White,td.Ay.Caption,td.BO.DemiBold,tQ.A.Phone`
5999    width: unset;
6000    height: unset;
6001    padding: 4px 8px;
6002  `),eBY=tt.Ay.h2(["color:",";"," ",""],te.Jy.Neutral90,td.Ay.Subhead,td.BO.DemiBold),eB0=tt.Ay.p(["color:",";"," ",""],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular),eB1=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;",""],({$addPadding:e})=>e&&"padding-right: 24px;"),eB2=tt.Ay.h3(["color:#303848;"," "," text-transform:uppercase;"],td.Ay.Caps,td.BO.DemiBold),eB3=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;"]),eB5=tt.Ay.div(["display:flex;gap:4px;"]),eB4=tt.Ay.span(["color:",";"," "," span{","}"],te.Jy.Neutral90,td.Ay.Caption,td.BO.Regular,td.BO.Medium),eB6=tt.Ay.div([""]),eB8=(0,tt.Ay)(tP.EK.Tick)(["color:",";"],te.Jy.Blue50),eB9=tt.Ay.div(["margin-top:auto;margin-right:-10px;",""],tQ.A.Phone`
6003    margin-right: 0;
6004  `),eB7=tt.Ay.div(["color:",";"," ",""],te.Jy.Neutral50,td.Ay.Caption,td.BO.Regular),eDe=({label:e,header:t,description:i,featureTitle:r,featureList:n,footerNote:o,paddingFeatures:a,onToggle:l,...s})=>{let[d,c]=(0,R.useState)(s.checked);return(0,J.jsxs)(eBq,{onClick:e=>{e.preventDefault(),l(!d),c(!d)},children:[(0,J.jsxs)(eBG,{$hasLabel:!!e,children:[(0,J.jsxs)(eBZ,{children:[(0,J.jsx)(eBY,{children:t}),(0,J.jsx)(eB0,{children:i})]}),(0,J.jsxs)(eBX,{$hasLabel:!!e,children:[(0,J.jsx)(eBK.l,{...s,checked:d,onChange:e=>{l(e.target.checked),c(e.target.checked)}}),e&&(0,J.jsx)(eBQ,{children:e})]})]}),(0,J.jsxs)(eB1,{$addPadding:a,children:[(0,J.jsx)(eB2,{children:r}),(0,J.jsx)(eB3,{children:n.map(e=>
6004(0,J.jsxs)(eB5,{children:[(0,J.jsx)(eB6,{children:(0,J.jsx)(eB8,{})}),(0,J.jsx)(eB4,{dangerouslySetInnerHTML:{__html:e}})]},e))})]}),(0,J.jsx)(eB9,{children:(0,J.jsx)(eB7,{children:o})})]})};var eDt=i.p+"media/auto-apply3472541c2b4aa2b1.png",eDi=i.p+"media/resume-distribution3a6e60f1b93ad967.png";let eDr=(0,tt.Ay)(i6.A).attrs({fullScreen:!0,backgroundOpacity:1,background:te.Jy.White,overlayFadeDuration:350,contentSlideDuration:350})([""]),eDn=tt.Ay.div(["width:100vw;height:100vh;"]),eDo=tt.Ay.div(["height:80px;padding:0 28px 0 32px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:",";z-index:2;"],te.Jy.White),eDa=(0,tt.Ay)(tP.Ay.CloseBig)(["cursor:pointer;color:",";"],te.Jy.Neutral40),eDl=tt.Ay.div(["width:100%;height:calc(100% - 80px);display:flex;flex-direction:column;padding-bottom:28px;gap:32px;",""],tQ.A.Phone`
6005    gap: 24px;
6006    padding: 0 20px;
6007  `),eDs=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:12px;"]),eDd=tt.Ay.h1(["text-align:center;color:",";"," ",""],te.Jy.Neutral90,td.Ay.M,td.BO.Medium),eDc=tt.Ay.p(["color:",";"," ",""],te.Jy.Neutral90,td.Ay.Body,td.BO.Regular),eDu=tt.Ay.div(["gap:24px;display:flex;justify-content:center;align-items:center;",""],tQ.A.Tablet`
6008    gap: 16px;
6009    flex-direction: column;
6010  `),eDp=tt.Ay.div(["width:482px;border-radius:12px;position:relative;",""],tQ.A.Phone`
6011    width: 100%;
6012    max-width: 482px;
6013  `),eDh=tt.Ay.div(["width:100%;display:flex;position:absolute;align-items:center;justify-content:space-between;padding:10px "," 50px;border-radius:12px 12px 0 0;background:",";"],te.Kz.M,e=>e.$backgroundColor),eDx=tt.Ay.div([""," "," color:",";"],td.Ay.S,td.BO.Medium,e=>e.$textColor),eDm=tt.Ay.div(["width:32px;height:57px;background-size:contain;background-repeat:no-repeat;background-image:url(",");",""],eDt,({$isResume:e})=>e&&(0,tt.AH)(["width:42px;background-image:url(",");"],eDi)),eDg=tt.Ay.div(["margin-top:76px;height:396px;position:relative;z-index:1;",""],tQ.A.Phone`
6014    margin-top: 78px;
6015    height: auto;
6016  `),eDy=tt.Ay.div(["gap:16px;display:flex;justify-content:center;position:sticky;bottom:0;margin-top:auto;z-index:2;",""],tQ.A.Tablet`
6017    padding: 16px 0;
6018    background: ${te.Jy.White};
6019  `),eDf=tt.Ay.div(["width:100%;display:flex;justify-content:center;"]),eDb=(0,tt.Ay)(du.Ay)(["width:20px;height:20px;"]),eD_=tt.Ay.span(["color:#92cdfc;text-decoration:line-through;"]),eDv="builder.auto_apply.dual_modal",eDj=`${eDv}.cards.auto_apply`,eDA=`${eDv}.cards.resume_distribution`,eDC=({closeModal:e})=>{let t=(0,e4.J)(),{i18n:i}=(0,e1.s)(),r=(0,L.Zp)(),[n,o]=(0,R.useState)({autoApply:!1,resumeDistribution:!0});(0,R.useEffect)(()=>{(0,N.xP)("show_dual_modal")},[]);let{upsellAmount:a,recurringAmount:l,isLoading:s}=eMG({addon:"20_credits_autoapply",fetchPrice:!0});return(0,J.jsx)(eDr,{children:(0,J.jsxs)(eDn,{children:[(0,J.jsxs)(eDo,{children:[(0,J.jsx)(sc.g,{}),(0,J.jsx)(eDa,{onClick:e})]}),(0,J.jsxs)(eDl,{children:[(0,J.jsxs)(eDs,{children:[(0,J.jsx)(eDd,{children:i.t(`${eDv}.header`)}),(0,J.jsx)(eDc,{children:i.t(`${eDv}.sub_header`)})]}),(0,J.jsxs)(eDu,{children:[(0,J.jsxs)(eDp,{children:[(0,J.jsxs)(eDh,{$backgroundColor:te.Jy.Green10,children:[(0,J.jsx)(eDx,{$textColor:te.Jy.Green80,children:i.t(`${eDA}.top_header`)}),(0,J.jsx)(eDm,{})]}),(0,J.jsx)(eDg,{children:(0,J.jsx)(eDe,{paddingFeatures:!0,checked:n.resumeDistribution,label:i.t(`${eDA}.label`),header:i.t(`${eDA}.header`),description:i.t(`${eDA}.sub_header`),featureTitle:i.t(`${eDA}.features_title`),featureList:[i.t(`${eDA}.features.1`),i.t(`${eDA}.features.2`),i.t(`${eDA}.features.3`)],footerNote:i.t(`${eDA}.footer`),onToggle:e=>o(t=>({...t,resumeDistribution:e}))})})]}),(0,J.jsxs)(eDp,{children:[(0,J.jsxs)(eDh,{$backgroundColor:te.Jy.Indigo10,children:[(0,J.jsx)(eDx,{$textColor:te.Jy.Indigo80,children:i.t(`${eDj}.top_header`)}),(0,J.jsx)(eDm,{$isResume:!0})]}),(0,J.jsx)(eDg,{children:(0,J.jsx)(eDe,{checked:n.autoApply,header:i.t(`${eDj}.header`),description:i.t(`${eDj}.sub_header`),featureTitle:i.t(`${eDj}.features_title`),featureList:[i.t(`${eDj}.features.1`),i.t(`${eDj}.features.2`),i.t(`${eDj}.features.3`)],footerNote:s?(0,J.jsx)(eDf,{children:(0,J.jsx)(eDb,{})}):i.t(`${eDj}.footer`,{price:l()}),onToggle:e=>o(t=>({...t,autoApply:e}))})})]})]}),(0,J.jsxs)(eDy,{children:[(0,J.jsx)(i$.Ay,{onClick:e,theme:i$.Ox.ghost,children:i.t(`${eDv}.skip_button`)}),(0,J.jsx)(i$.Ay,{onClick:()=>{n.autoApply?(0,ln.b)({referrerPage:"auto-apply",upgradeURL:"/app/billing/payment",onSuccessRedirect:"/app/auto-apply/documents",plan:"20_credits_autoapply"}):n.resumeDistribution&&(e(),r("/resume-distribution"))},children:n.autoApply?t?.isFree||t?.isPostPremium||t?.isTopResumeUser?`${i.t(`${eDv}.upgrade_button`)} ${l()}`:l()===a()?(0,J.jsxs)("span",{children:[i.t(`${eDv}.upgrade_button`)," ",a()]}):(0,J.jsxs)("span",{children:[i.t(`${eDv}.upgrade_button`)," ",(0,J.jsx)(eD_,{children:l()})," ",a()]}):i.t(`${eDv}.confirm_button`)})]})]})]})})},eDw=()=>{let{isOpen:e,closeModal:t}=(0,eBW.b)();return e?(0,J.jsx)(eDC,{closeModal:t}):null};var eDk=i.p+"media/checkmarka7fa85bb17ede38a.svg",eDS=i.p+"media/headerImage68cc4016f5aa707c.svg";let eDT=tt.Ay.div(["position:fixed;display:flex;justify-content:center;align-items:center;top:0;left:0;background:#000000ba;z-index:9999;height:100vh;width:100vw;pointer-events:auto;"]),eDP=tt.Ay.div(["font-family:'TT Commons',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,Cantarell,'Noto Sans',sans-serif;background-color:",";border-radius:8px;display:flex;align-items:center;width:544px;max-width:544px;",""],te.Jy.White,tQ.A.Phone`
6020    width: 90%;
6021  `),eDJ=tt.Ay.div(["position:relative;display:flex;flex-direction:column;justify-content:flex-start;width:100%;height:100%;"]),eDE=(0,tt.Ay)(tP.qJ.Close)(["display:block;color:",";transition:color 0.3s;&:hover{color:",";}"],te.Jy.Neutral50,te.Jy.Blue50),eDR=tt.Ay.div(["display:flex;justify-self:flex-end;right:0;height:fit-content;width:fit-content;margin:32px 32px 0 32px;background:",";border-radius:32px;color:",";cursor:pointer;transition:background-color 0.3s;&:hover{background-color:",";}"," ",""],te.Jy.White,te.Jy.Neutral30,te.Jy.Blue10,tQ.A.Tablet`
6022    margin: 30px;
6023  `,tQ.A.Phone`
6024    margin: 15px;
6025  `),eDL=tt.Ay.div(["position:absolute;top:0;right:0;display:flex;justify-content:flex-end;width:100%;"]),eDN=tt.Ay.div(["display:flex;flex-direction:column;justify-content:center;gap:6px;",""],tQ.A.Phone`
6026    gap: 8px;
6027  `),eDI=tt.Ay.h2(["font-size:25px;font-weight:600;color:",";line-height:36px;",""],te.Jy.Neutral90,tQ.A.Phone`
6028    font-size: 20px;
6029    line-height: 24px;
6030  `),eDM=tt.Ay.p(["color:",";font-size:1em;font-style:normal;font-weight:400;line-height:20px;"],te.Jy.Neutral50),eDB=tt.Ay.div(["display:flex;flex-direction:column;gap:6px;margin-top:24px;"]),eDD=tt.Ay.h3(["color:#303848;font-size:14px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;",""],tQ.A.Phone`
6031    font-size: 12px;
6032    line-height: 16px;
6033  `),eD$=tt.Ay.ul(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;list-style:none;margin:0;background-color:var(--neutral-5);border-radius:var(--2XS,8px);padding:0.5em 1em;"]),eDO=tt.Ay.li(["color:",";font-style:normal;font-weight:400;line-height:20px;font-size:16px;&:before{content:'';display:inline-block;float:left;
6033right:4px;top:5px;background-image:url(",");width:20px;height:22px;margin-right:4px;background-size:contain;background-repeat:no-repeat;}",""],te.Jy.Neutral80,eDk,tQ.A.Phone`
6034    font-size: 15px;
6035    line-height: 20px;
6036  `),eDz=tt.Ay.div(["display:flex;flex-direction:column;padding:0px 30px 30px 30px;"]),eDF=tt.Ay.div(["border-radius:8px 8px 0px 0px;background-image:url(",");width:100%;height:280px;background-size:cover;background-repeat:no-repeat;margin-bottom:1em;",""],eDS,tQ.A.Phone`
6037    height: 195px;
6038  `);te.Jy.Blue50,te.Jy.White,te.Jy.Blue60,te.Jy.Blue70,te.Jy.Neutral50,tQ.A.Phone`
6039    font-size: 16px;
6040    padding: 8px 12px;
6041    white-space: nowrap;
6042    line-height: 20px;
6043  `;let eDH="builder.resume_distribution.not_enough_credits_modal",eDV=()=>{let{i18n:e}=(0,e1.s)(),{getAutoApplyCredit:t,getResetConfig:i}=(0,ck.J)(),{isOpen:r,handleModalClose:n}=(()=>{let e=(0,eU.wA)(),t=(0,eW.N)(z.Tp.rdNotEnoughCreditsModalVisible),i=(0,R.useCallback)(()=>t,[t]),[r,n]=(0,R.useState)(i);return(0,R.useEffect)(()=>{i()&&((0,N.xP)("show_credits_limit_modal"),(0,N.xP)("auto_apply_plan_credits_exceeded")),n(i())},[t,i]),{isOpen:r,handleModalClose:function(){e(z.o1.closeRDNotEnoughCreditsModal())}}})(),o=t().creditCountMax||20,{cycle:a,resetAt:l}=i(),s=l?(0,az.Yq)(l,"MMM d 'at' h:mm a"):"";if(!r)return null;let d=[e.t(`${eDH}.features.job_applications`,{count:o,cycle:a}),e.t(`${eDH}.features.team_of_experts`),e.t(`${eDH}.features.job_application_screenshots`),e.t(`${eDH}.features.weekly_jobs_shortlist`),e.t(`${eDH}.features.jobs_count`)];return(0,J.jsx)(eDT,{children:(0,J.jsx)(eDP,{children:(0,J.jsxs)(eDJ,{children:[(0,J.jsx)(eDL,{children:(0,J.jsx)(eDR,{onClick:n,children:(0,J.jsx)(eDE,{})})}),(0,J.jsx)(eDF,{}),(0,J.jsxs)(eDz,{children:[(0,J.jsxs)(eDN,{children:[(0,J.jsx)(eDI,{children:e.t(`${eDH}.title`,{cycle:a})}),(0,J.jsx)(eDM,{children:e.t(`${eDH}.description`,{date:s})})]}),(0,J.jsxs)(eDB,{children:[(0,J.jsx)(eDD,{children:e.t(`${eDH}.features_title`)}),(0,J.jsx)(eD$,{children:d.map((e,t)=>(0,J.jsx)(eDO,{children:e},t))})]})]})]})})})},eDU=tt.Ay.div(["display:flex;position:relative;touch-action:none;",""],tQ.A.Phone` margin: 16px; `),eDW=tt.Ay.div(["display:flex;flex-direction:column;padding:"," "," 0 ",";overflow-y:scroll;max-height:570px;-webkit-overflow-scrolling:touch;&::-webkit-scrollbar{width:8px;}&::-webkit-scrollbar-thumb{background-color:",";border-radius:4px;}&::-webkit-scrollbar-track{background:",";}scrollbar-width:thin;scrollbar-color:"," ",";",""],te.Kz.L,te.Kz.L,te.Kz.L,te.Jy.Neutral50,te.Jy.Neutral10,te.Jy.Neutral50,te.Jy.Neutral10,tQ.A.Phone` padding: ${te.Kz.L} ${te.Kz.M} 0 ${te.Kz.M}; `),eDK=tt.Ay.div(["display:flex;flex-direction:column;padding-bottom:",";margin-bottom:",";",""],te.Kz.L,te.Kz.M,tQ.A.Phone` padding-bottom: ${te.Kz.M}; `),eDq=tt.Ay.div(["display:flex;background-color:",";border-radius:",";max-width:544px;width:100%;overflow:hidden;position:relative;flex-direction:column;justify-content:center;touch-action:manipulation;"],te.Jy.White,te.Kz.S),eDG=tt.Ay.div(["",";",";color:",";"],td.Ay.M,td.BO.DemiBold,te.Jy.Neutral90),eDZ=(0,tt.Ay)(JF.O)(["position:absolute;top:32px;right:32px;",""],tQ.A.Phone`
6044    top: 20px;
6045    right: 20px;
6046  `),eDX=tt.Ay.span(["",";color:",";margin-top:",";"],td.Ay.Body,te.Jy.Neutral90,te.Kz.M),eDQ=tt.Ay.div(["display:flex;gap:",";margin-top:",";background-color:",";border-radius:",";padding:"," "," "," ",";"],te.Kz["2XS"],te.Kz.XS,te.Jy.Neutral5,te.Kz.XS,te.Kz.S,te.Kz.XL,te.Kz.S,te.Kz.S),eDY=tt.Ay.div(["border-radius:100%;width:32px;height:32px;display:flex;justify-content:center;align-items:center;background-color:",";padding:4px;",""],te.Jy.Blue10,tQ.A.Phone`
6047    width: 24px;
6048    height: 24px;
6049  `),eD0=(0,tt.Ay)(tP.Ay.TickLarge)(["color:",";",""],te.Jy.Blue50,tQ.A.Phone`
6050    width: 16px;
6051    height: 16px;
6052  `),eD1=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz["4XS"]),eD2=tt.Ay.span(["",";color:",";",";"],td.Ay.Body,te.Jy.Neutral80,td.BO.DemiBold),eD3=tt.Ay.p(["",";color:",";"],td.Ay.Caption,te.Jy.Neutral50),eD5=tt.Ay.div(["padding:",";display:flex;gap:",";box-shadow:0px 2px 4px -1px rgba(15,20,30,0.16),0px 8px 20px -4px rgba(15,20,30,0.24);justify-content:flex-end;align-items:center;",""],te.Kz.M,te.Kz.S,tQ.A.Phone`
6053    flex-direction: column-reverse;
6054    gap: 10px;
6055  `),eD4=(0,tt.Ay)(i$.Ay)(["",""],({theme:e})=>e===i$.Ox.ghost&&(0,tt.AH)(["background:none;color:",";padding:0;border:none;box-shadow:none;text-decoration:none;font-weight:",";&:hover,&:focus-visible{text-decoration:underline;color:",";box-shadow:none;}&:active{color:",";box-shadow:none;}"],te.Jy.Blue50,td.BO.Medium,te.Jy.Blue60,te.Jy.Blue70)),eD6=["/resumes","/job-search","/tr-documents"],eD8=["/resumes","/tr-documents"],eD9=["/","/resumes","/tr-documents"],eD7=()=>{let{i18n:e}=(0,e1.s)(),{pathname:t}=(0,L.zy)(),{isPhone:i}=(0,ih.e)(),{showWelcomeModal:r,documents:n,closeModal:o}=function(){let e=(0,e4.J)(),t=(0,eU.wA)(),{features:i}=(0,d2.t)(),r=(0,eBW.b)(),n=(0,yD.j)(),o=e?.uiStates,{pathname:a,search:l}
6055=(0,L.zy)(),s="tr-historical-leads-reengagement-20250703"===new URLSearchParams(l).get("utm_campaign"),d=(0,eW.N)(e=>e.panel.trDocuments),c=(0,eW.N)(e=>e.panel.documents),u=(0,eW.N)(e=>e.panel.documentsStatus),p=Object.values(d).find(({doc_type:e})=>"resume"===e),h=!!p&&Object.keys(p).length>0,x=e?.scopes?.resumeDistribution,m=c.find(({type:e,name:t})=>"resume"===e&&t?.toLowerCase().includes("refresh")),g=(0,R.useMemo)(()=>{let e=eD6.includes(a),t=o?.welcomeModalSeen;return!("LOADING"===u&&!c&&eD8.includes(a))&&!r.isOpen&&!n.isOpen&&!t&&e&&!s},[a,o?.welcomeModalSeen,u,c,r.isOpen,n.isOpen,s]);return(0,R.useEffect)(()=>{!e||!s||o?.welcomeModalSeen||(t(U.o1.setUIStatesConfigStatus({welcome_modal_seen:!0})),t(Z.o1.setUIUserState({welcomeModalSeen:!0})))},[e,s,o?.welcomeModalSeen,t]),(0,R.useEffect)(()=>{g&&(0,N.xP)("see_new_welcome_modal")},[g]),{showWelcomeModal:g,closeModal:()=>{(0,N.xP)("close_new_welcome_modal"),t(U.o1.setUIStatesConfigStatus({welcome_modal_seen:!0})),t(Z.o1.setUIUserState({welcomeModalSeen:!0})),null===i.autoApplyUpsellModalV4||ew.D.getItem("rd-auto-apply-dual-modal")||ew.D.getItem("auto-apply-upsell-modal")||(i.autoApplyUpsellModalV4&&e?.scopes?.autoApply?t(F.o1.toggleAutoApplyResumeDistributionModal({open:!0})):n.showUpsellModal&&t(z.o1.toggleAutoApplyUpsellModal(!0)))},documents:{hasResumeByExpert:h,hasResumeDistribution:x,refreshedResume:m,resumeByExpert:p}}}(),{hasResumeByExpert:a,refreshedResume:l,hasResumeDistribution:s,resumeByExpert:d}=n,c=!a&&!l&&eD9.includes(t),u=a&&s&&eD9.includes(t),p=a&&!s&&eD9.includes(t),h=!a&&l&&eD9.includes(t),x="/job-search"===t,m=()=>{o(),a&&window.location.replace("/app/resumes")};return r?(0,J.jsx)(i6.A,{overlayFadeDuration:300,contentSlideDuration:300,onClick:m,fullScreen:i,disableBodyScroll:!i,children:(0,J.jsxs)(eDU,{id:"tr_welcome_modal",children:[(0,J.jsxs)(eDq,{children:[(0,J.jsxs)(eDW,{children:[(0,J.jsx)(eDG,{children:e.t("builder.panel.topresume_welcome_modal.title")}),(0,J.jsx)(eDX,{children:e.t("builder.panel.topresume_welcome_modal.items_title")}),(0,J.jsxs)(eDK,{children:[(0,J.jsxs)(eDQ,{children:[(0,J.jsx)(eDY,{children:(0,J.jsx)(eD0,{})}),(0,J.jsxs)(eD1,{children:[(0,J.jsx)(eD2,{children:e.t("builder.panel.topresume_welcome_modal.item_one.title")}),(0,J.jsx)(eD3,{children:e.t("builder.panel.topresume_welcome_modal.item_one.description")})]})]}),(0,J.jsxs)(eDQ,{children:[(0,J.jsx)(eDY,{children:(0,J.jsx)(eD0,{})}),(0,J.jsxs)(eD1,{children:[(0,J.jsx)(eD2,{children:e.t("builder.panel.topresume_welcome_modal.item_two.title")}),(0,J.jsx)(eD3,{children:e.t("builder.panel.topresume_welcome_modal.item_two.description")})]})]}),(0,J.jsxs)(eDQ,{children:[(0,J.jsx)(eDY,{children:(0,J.jsx)(eD0,{})}),(0,J.jsxs)(eD1,{children:[(0,J.jsx)(eD2,{children:e.t("builder.panel.topresume_welcome_modal.item_three.title")}),(0,J.jsx)(eD3,{children:e.t("builder.panel.topresume_welcome_modal.item_three.description")})]})]}),(0,J.jsxs)(eDQ,{children:[(0,J.jsx)(eDY,{children:(0,J.jsx)(eD0,{})}),(0,J.jsxs)(eD1,{children:[(0,J.jsx)(eD2,{children:e.t("builder.panel.topresume_welcome_modal.item_four.title")}),(0,J.jsx)(eD3,{children:e.t("builder.panel.topresume_welcome_modal.item_four.description")})]})]}),(0,J.jsxs)(eDQ,{children:[(0,J.jsx)(eDY,{children:(0,J.jsx)(eD0,{})}),(0,J.jsxs)(eD1,{children:[(0,J.jsx)(eD2,{children:e.t("builder.panel.topresume_welcome_modal.item_five.title")}),(0,J.jsx)(eD3,{children:e.t("builder.panel.topresume_welcome_modal.item_five.description")})]})]}),(0,J.jsxs)(eDQ,{children:[(0,J.jsx)(eDY,{children:(0,J.jsx)(eD0,{})}),(0,J.jsxs)(eD1,{children:[(0,J.jsx)(eD2,{children:e.t("builder.panel.topresume_welcome_modal.item_six.title")}),(0,J.jsx)(eD3,{children:e.t("builder.panel.topresume_welcome_modal.item_six.description")})]})]}),(0,J.jsxs)(eDQ,{children:[(0,J.jsx)(eDY,{children:(0,J.jsx)(eD0,{})}),(0,J.jsxs)(eD1,{children:[(0,J.jsx)(eD2,{children:e.t("builder.panel.topresume_welcome_modal.item_seven.title")}),(0,J.jsx)(eD3,{children:e.t("builder.panel.topresume_welcome_modal.item_seven.description")})]})]}),(0,J.jsxs)(eDQ,{children:[(0,J.jsx)(eDY,{children:(0,J.jsx)(eD0,{})}),(0,J.jsxs)(eD1,{children:[(0,J.jsx)(eD2,{children:e.t("builder.panel.topresume_welcome_modal.item_eight.title")}),(0,J.jsx)(eD3,{children:e.t("builder.panel.topresume_welcome_modal.item_eight.description")})]})]}),(0,J.jsxs)(eDQ,{children:[(0,J.jsx)(eDY,{children:(0,J.jsx)(eD0,{})}),(0,J.jsxs)(eD1,{children:[(0,J.jsx)(eD2,{children:e.t("builder.panel.topresume_welcome_modal.item_nine.title")}),(0,J.jsx)(eD3,{children:e.t("builder.panel.topresume_welcome_modal.item_nine.description")})]})]})]})]}),(0,J.jsxs)(eD5,{children:[c&&(0,J.jsx)(eD4,{onClick:()=>{(0,N.xP)("click_cta_new_welcome_modal",{cta:"get_started"}),o()},children:e.t("builder.panel.topresume_welcome_modal.get_started")}),u&&(0,J.jsxs)(R.Fragment,{children:[(0,J.jsx)(eD4,{size:"small",theme:i$.Ox.ghost,onClick:()=>{(0,N.xP)("click_cta_new_welcome_modal",{cta:"activate_resume_distribution"}),o(),(0,dM.o)("/resume-distribution")},children:e.t("builder.panel.topresume_welcome_modal.activate_resume_distribution")}),(0,J.jsx)(eD4,{size:"small",onClick:()=>{(0,N.xP)("click_cta_new_welcome_modal",{cta:"resume_by_expert"}),o(),(0,dM.o)(`/tr-documents/${d?.id}`)},children:e.t("builder.panel.topresume_welcome_modal.resume_by_expert")})]}),p&&(0,J.jsx)(eD4,{onClick:()=>{(0,N.xP)("click_cta_new_welcome_modal",{cta:"resume_by_expert"}),o(),(0,dM.o)(`/tr-documents/${d?.id}`)},children:e.t("builder.panel.topresume_welcome_modal.resume_by_expert")}),h&&(0,J.jsx)(eD4,{onClick:()=>{(0,N.xP)("click_cta_new_welcome_modal",{cta:"view_resume"}),o(),(0,dM.o)(l?`/resumes/${l.id}/edit`:"/resumes")},children:e.t("builder.panel.topresume_welcome_modal.view_resume")}),x&&(0,J.jsx)(eD4,{onClick:()=>{(0,N.xP)("click_cta_new_welcome_modal",{cta:"explore_recommended_jobs"}),o()},children:e.t("builder.panel.topresume_welcome_modal.explore_recommended_jobs")})]})]}),(0,J.jsx)(eDZ,{onClick:m,"data-testid":"tr-welcome-modal-close-button"})]})}):null};var e$e=i.p+"media/spinnerf03d7cbd742461fb.png",e$t=i.p+"media/white-spinnerec4b40cc35fd2b2b.png";let e$i=tt.Ay.div(["display:flex;flex-direction:column;padding-top:",";",";"],te.Kz.M,tQ.A.Phone`
6056    padding-top: ${te.Kz.S};
6057  `),e$r=tt.Ay.div(["display:flex;flex-direction:column;gap:",";",";"],te.Kz.M,tQ.A.Phone`
6058    gap: ${te.Kz.S};
6059  `),e$n=tt.Ay.div(["",";",";color:",";padding-bottom:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90,te.Kz["2XS"]),e$o=tt.Ay.div(["display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,auto);gap:",";"],te.Kz["2XS"]),e$a=tt.Ay.span(["color:#92cdfc;text-decoration:line-through;"]),e$l=(0,tt.Ay)(du.Ay)(["width:24px;height:24px;background-image:url(",");"],({type:e})=>"white"===e?e$t:e$e),e$s=tt.Ay.div(["padding-top:",";display:flex;justify-content:center;"],te.Kz.XS),e$d=tt.Ay.div(["",";",";color:",";text-align:center;& span{",";}"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50,td.BO.DemiBold);var e$c=i.p+"media/apply637c8fd11b6798ce.webp",e$u=i.p+"media/expert8cd10637cf43260b.webp",e$p=i.p+"media/hour_glassd12f99fb6ff679fb.webp",e$h=i.p+"media/tailoredef141853c0338cd0.webp";let e$x=tt.Ay.div(["display:flex;gap:",";background-color:",";padding:",";border-radius:",";text-wrap:balance;align-items:center;",""],te.Kz.S,te.Jy.Neutral5,te.Kz.S,te.Kz["2XS"],tQ.A.Phone`
6060    flex-direction: column;
6061    text-align: center;
6062    gap: ${te.Kz.XS};
6063    padding: ${te.Kz.S} ${te.Kz.XS};
6064  `),e$m=tt.Ay.div(["",";",";color:",";"],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral90),e$g=tt.Ay.img(["width:auto;height:32px;flex-shrink:0;",""],tQ.A.Phone`
6065    height: 38px;
6066  `),e$y=({imageSrc:e,text:t})=>(0,J.jsxs)(e$x,{children:[(0,J.jsx)(e$g,{src:e,alt:"Card Image"}),(0,J.jsx)(e$m,{children:t})]}),e$f=tt.Ay.div(["background-color:",";border-radius:",";gap:",";display:flex;flex-direction:column;padding:",";"],te.Jy.Neutral5,te.Kz["2XS"],te.Kz.S,te.Kz.S),e$b=tt.Ay.div(["display:flex;gap:",";align-items:center;"],te.Kz.XS),e$_=tt.Ay.div(["flex-shrink:0;",";background-color:",";color:",";display:flex;width:22px;height:22px;flex-direction:column;justify-content:center;align-items:center;gap:4px;border-radius:50%;"],td.Ay.Caption,te.Jy.Blue50,te.Jy.White),e$v=tt.Ay.div(["",";color:",";"],td.Ay.Body,te.Jy.Neutral90),e$j=({items:e})=>(0,J.jsx)(e$f,{children:e.map((e,t)=>(0,J.jsxs)(e$b,{children:[(0,J.jsxs)(e$_,{children:[" ",t+1]}),(0,J.jsx)(e$v,{children:e})]},t))}),e$A="builder.auto_apply.upsell_modal",e$C=()=>{let{i18n:e}=(0,e1.s)(),t=(0,R.useRef)(null),{isOpen:i,handleCloseModal:r,handlePayment:n,planName:o}=(0,yD.j)(!0),{upsellAmount:a,recurringAmount:l,isLoading:s}=eMG({addon:o,fetchPrice:i});return((0,R.useEffect)(()=>{t.current?.scrollIntoView()},[]),i)?(0,J.jsx)(nX.a,{disableAutoCloseOutside:!0,onClose:r,title:e.t(`${e$A}.title`),subtitle:e.t(`${e$A}.description`),children:(0,J.jsxs)(e$i,{children:[(0,J.jsxs)(e$r,{children:[(0,J.jsxs)("div",{children:[(0,J.jsx)(e$n,{children:e.t(`${e$A}.why_it_works`)}),(0,J.jsxs)(e$o,{children:[(0,J.jsx)(e$y,{imageSrc:e$h,text:e.t(`${e$A}.tailored_resume_for_each_job`)}),(0,J.jsx)(e$y,{imageSrc:e$u,text:e.t(`${e$A}.expert_reviewed_applications`)}),(0,J.jsx)(e$y,{imageSrc:e$p,text:e.t(`${e$A}.reclaim_your_time_to_focus_on_interviews`)}),(0,J.jsx)(e$y,{imageSrc:e$c,text:e.t(`${e$A}.apply_to_3x_more_jobs_with_less_effort`)})]})]}),(0,J.jsxs)("div",{children:[(0,J.jsx)(e$n,{children:e.t(`${e$A}.how_it_works`)}),(0,J.jsx)(e$j,{items:[e.t(`${e$A}.pick_jobs_from_our`),e.t(`${e$A}.get_a_resume_cover_letter_with_job_specific_keywords`),e.t(`${e$A}.experts_submit_applications_for_you_error_free`),e.t(`${e$A}.track_all_applications_in_one_place`)]})]}),(0,J.jsxs)(i$.Ay,{theme:i$.Ox.default,onClick:n,children:[e.t(`${e$A}.button`)," ",s?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)("div",{style:{width:"10px"}}),(0,J.jsx)(e$l,{type:"white"})]}):l()===a()?(0,J.jsxs)(J.Fragment,{children:["\xa0",a()]}):(0,J.jsxs)(J.Fragment,{children:["\xa0",(0,J.jsx)(e$a,{children:l()}),"\xa0",a()]})]})]}),(0,J.jsx)(e$s,{children:s?(0,J.jsx)(e$l,{}):(0,J.jsx)(e$d,{dangerouslySetInnerHTML:{__html:e.t(`${e$A}.details`,{price:l()})}})})]})}):null};var e$w=i(30122);let e$k=()=>{let e=(0,sK.c)(),t=(0,eU.wA)(),i=(0,L.Zp)(),{jobCopilot:r}=(0,ck.J)(),n=(0,eW.N)(z.Tp.copilotSetupModalVisible),o=(0,eW.N)(z.Tp.copilotSetupJobSlug);
6066if((0,R.useEffect)(()=>{n&&eJ3.$.getStartedModalView()},[n]),!n)return null;let a=()=>t(z.o1.closeCopilotSetupModal()),l=[{Icon:e$w.py,title:e.copilotSetupModal.resumeTitle,description:e.copilotSetupModal.resumeDescription},{Icon:e$w.nX,title:e.copilotSetupModal.screeningTitle,description:e.copilotSetupModal.screeningDescription},{Icon:e$w._d,title:e.copilotSetupModal.preferencesTitle,description:e.copilotSetupModal.preferencesDescription}];return(0,J.jsx)(i6.A,{overlayFadeDuration:250,contentSlideDuration:250,onClose:a,children:(0,J.jsxs)(e$w.aF,{children:[(0,J.jsx)(e$w.Is,{children:(0,J.jsx)(JF.O,{onClick:a})}),(0,J.jsxs)(e$w.Y9,{children:[(0,J.jsx)(e$w.fk,{children:(0,J.jsx)(tP.Ay.Ai,{fill:te.Jy.Blue50})}),(0,J.jsx)(e$w.hE,{children:e.copilotSetupModal.title}),(0,J.jsx)(e$w.VY,{children:e.copilotSetupModal.description})]}),(0,J.jsxs)(e$w.nB,{children:[(0,J.jsx)(e$w.hg,{children:l.map(({Icon:e,title:t,description:i})=>(0,J.jsxs)(e$w.Xj,{children:[(0,J.jsx)(e$w.aK,{children:(0,J.jsx)(e,{fill:te.Jy.Blue50})}),(0,J.jsxs)(e$w.AS,{children:[(0,J.jsx)(e$w.zh,{children:t}),(0,J.jsx)(e$w.$n,{children:i})]})]},t))}),(0,J.jsxs)(e$w.g3,{children:[(0,J.jsx)(e$w.O4,{}),(0,J.jsx)(e$w.vG,{children:e.copilotSetupModal.timeNote})]})]}),(0,J.jsxs)(e$w.wi,{children:[(0,J.jsx)(i$.JQ,{theme:i$.Ox.ghost,size:i$.Mp.small,onClick:()=>{eJ3.$.getStartedModalClickNotNow(),a()},children:e.copilotSetupModal.notNow}),(0,J.jsx)(i$.JQ,{theme:i$.Ox.default,size:i$.Mp.small,onClick:()=>{eJ3.$.setupClick("job_apply_popup");let e=r?.id?`/auto-apply/${r.id}/documents`:"/auto-apply/documents";i(o?`${e}?job_slug=${encodeURIComponent(o)}`:e),a()},children:(0,J.jsxs)(e$w.yX,{children:[(0,J.jsx)(tP.Ay.Ai,{fill:te.Jy.White}),e.copilotSetupModal.setup]})})]})]})})};var e$S=i(47151),e$T=i(33166),e$P=i(45095),e$J=i(55144);let e$E=(0,tt.AH)(["padding-inline:20px;",""],tQ.$.AboveTablet`
6067    padding-inline: 48px;
6068  `),e$R=tt.Ay.div(["position:fixed;inset:0;z-index:1002;display:flex;flex-direction:column;align-items:center;overflow:hidden;background:",";padding:"," 0 0;",""],te.Jy.Neutral10,te.Kz.M,tQ.$.AboveTablet`
6069    padding: ${te.Kz.M};
6070  `),e$L=tt.Ay.button(["position:absolute;top:",";right:",";z-index:10;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:50%;background:",";color:",";cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,0.08);"],te.Kz.M,te.Kz.M,te.Jy.White,te.Jy.Neutral50),e$N=tt.Ay.div(["width:100%;max-width:768px;flex-shrink:0;padding-bottom:",";"],te.Kz.M),e$I=tt.Ay.div(["display:flex;width:100%;max-width:768px;min-height:0;flex:1;flex-direction:column;overflow:hidden;border-radius:"," "," 0 0;background:",";padding-block:20px;",""],te.Kz.S,te.Kz.S,te.Jy.White,tQ.$.AboveTablet`
6071    border-radius: ${te.Kz.S};
6072    padding-block: 48px;
6073  `),e$M=tt.Ay.form(["display:flex;min-height:0;flex:1;flex-direction:column;gap:",";"],te.Kz.M),e$B=tt.Ay.div(["display:flex;flex-shrink:0;",";align-items:flex-start;gap:",";"],e$E,te.Kz.XS),e$D=tt.Ay.img(["width:56px;height:56px;flex-shrink:0;object-fit:contain;border:1px solid ",";border-radius:",";"],te.Jy.Neutral15,te.Kz["2XS"]),e$$=tt.Ay.div(["display:flex;min-width:0;flex-direction:column;"]),e$O=tt.Ay.p(["",";color:",";margin-bottom:",";"],te.o5.sizes.Body,te.Jy.Neutral50,te.Kz["4XS"]),e$z=tt.Ay.p(["",";font-weight:",";color:",";margin-bottom:",";"],te.o5.sizes.S,te.o5.weights.demibold,te.Jy.Neutral90,te.Kz["3XS"]),e$F=tt.Ay.div(["display:flex;flex-wrap:wrap;align-items:center;gap:"," ",";",";color:",";"],te.Kz["2XS"],te.Kz.S,te.o5.sizes.Body,te.Jy.Neutral50),e$H=tt.Ay.span(["display:inline-flex;align-items:center;gap:",";svg{flex-shrink:0;}"],te.Kz["4XS"]),e$V=tt.Ay.div(["display:flex;min-height:0;flex-flow:column;gap:",";overflow-y:auto;padding-block:",";",";"],te.Kz.XS,te.Kz["4XS"],e$E),e$U=tt.Ay.label(["display:block;",";font-weight:",";color:",";margin-bottom:",";"],te.o5.sizes.Body,te.o5.weights.medium,te.Jy.Neutral90,te.Kz["3XS"]),e$W=tt.Ay.p(["",";color:",";"],te.o5.sizes.Caption,te.Jy.Red50),e$K=tt.Ay.div(["padding:"," ",";text-align:center;border-radius:",";background:",";color:",";",";b,strong{font-weight:",";}"],te.Kz.XS,te.Kz.S,te.Kz["2XS"],te.Jy.Green10,te.Jy.Green80,te.o5.sizes.Body,te.o5.weights.demibold),e$q=tt.Ay.div(["display:flex;flex-shrink:0;",";flex-flow:column;gap:",";margin-top:auto;"],e$E,te.Kz.XS),e$G=tt.Ay.div(["position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:",";background:rgba(0,0,0,0.5);"],te.Kz.M),e$Z=tt.Ay.div(["display:flex;width:100%;max-width:560px;flex-direction:column;align-items:center;border-radius:",";background:",";padding:",";text-align:center;h3{",";font-weight:",";color:",";margin-top:0;margin-bottom:",";}> p{",";color:",";margin-bottom:",";}"],te.Kz.S,te.Jy.White,te.Kz.L,te.o5.sizes.S,te.o5.weights.demibold,te.Jy.Neutral90,te.Kz["3XS"],te.o5.sizes.Body,te.Jy.Neutral50,te.Kz.M),e$X=tt.Ay.div(["display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:",";"],te.Kz.XS),e$Q=tt.Ay.ul(["display:flex;width:100%;flex-direction:column;gap:",";margin:0;border-radius:",";background:",";padding:",";text-align:left;"],te.Kz.M,te.Kz["2XS"],te.Jy.Neutral5,te.Kz.M),e$Y=tt.Ay.li(["display:flex;align-items:center;gap:",";",";font-weight:",";color:",";.icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:28px;height:28px;}"],te.Kz.XS,te.o5.sizes.Body,te.o5.weights.medium,e=>e.$active?te.Jy.Neutral90:te.Jy.Neutral40),e$0=tt.Ay.span(["display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:",";color:",";"],te.Jy.Green10,te.Jy.Green50),e$1=tt.Ay.span(["width:8px;height:8px;border-radius:50%;background:",";"],te.Jy.Neutral20),e$2=({job:e})=>{let{i18n:t}=(0,e1.s)(),i=(0,emg.ZH)(e.location||""),r=(0,e$J.fP)(t,e),n=(0,e$J.oj)(t,e),o=(0,e$J.MD)(t,e.employment_type);return(0,J.jsxs)(e$B,{children:[(0,J.jsx)(e$D,{src:e.company_logo||(0,su.x)(),alt:e.company,onError:e=>{e.currentTarget.src=(0,su.x)()}}),(0,J.jsxs)(e$$,{children:[(0,J.jsx)(e$O,{children:e.company}),(0,J.jsx)(e$z,{children:e.job_title}),(0,J.jsxs)(e$F,{children:[i&&(0,J.jsxs)(e$H,{children:[(0,J.jsx)(L_.EK.Location2,{}),i]}),e.posted_at&&(0,J.jsx)(e$H,{children:(0,J.jsx)(sp.eH,{job:e,clamp:{past:{days:60}}})}),n&&(0,J.jsxs)(e$H,{children:[(0,J.jsx)(L_.EK.Wallet,{}),n]}),r&&(0,J.jsx)(e$H,{children:r}),o&&(0,J.jsx)(e$H,{children:o})]})]})]})},e$3=e=>e===eZ.VC.trDocument?eZ.VC.trDocument:eZ.VC.resume,e$5="resume_id",e$4=e=>e.split("/").pop()||"",e$6=({job:e,onNext:t})=>{let i=(0,sK.c)(),r=i.aaFromMemberJobBoardFlow,{data:n,isLoading:o}=(0,cP.F)(),{mutateAsync:a}=(0,eEP.e)(n?.id),[l,s]=(0,i3.ok)(),[d,c]=(0,R.useState)(null),[u,p]=(0,R.useState)(null),[h,x]=(0,R.useState)(!1),[m,g]=(0,R.useState)("");return(0,R.useEffect)(()=>{eJ3.$.aaFromMemberJobBoardStepViewed(1)},[]),(0,R.useEffect)(()=>
6073{if(h||o)return;x(!0),p(n?.uploadedResumeUrl?{url:n.uploadedResumeUrl,filename:n.uploadedResumeFilename||e$4(n.uploadedResumeUrl)}:null);let e=Number(l.get(e$5));if(!e)return void c(!n?null:n.documentType===cJ.K.uploadedDocument&&n.uploadedResumeUrl?{kind:"uploaded",url:n.uploadedResumeUrl,filename:n.uploadedResumeFilename||e$4(n.uploadedResumeUrl)}:null!=n.documentId&&(n.documentType===cJ.K.resume||n.documentType===cJ.K.trDocument)?{kind:"db",documentId:n.documentId,documentType:e$3(n.documentType)}:null);c({kind:"db",documentId:e,documentType:eZ.VC.resume}),s(e=>(e.delete(e$5),e),{replace:!0})},[h,o,n,l,s]),(0,J.jsxs)(e$M,{onSubmit:e=>{(e.preventDefault(),d)?(eJ3.$.aaFromMemberJobBoardStepCompleted(1),t(d)):g(r.resume.errors.required)},children:[(0,J.jsx)(e$2,{job:e}),(0,J.jsxs)(e$V,{children:[(0,J.jsx)(e$U,{as:"p",children:r.resume.label}),h?(0,J.jsx)(e$P.fI,{selection:d?"uploaded"===d.kind?{kind:"uploaded"}:{kind:"document",id:d.documentId,type:d.documentType}:null,uploadedDocument:u,shouldPreselect:!d,columns:2,onSelectDocument:(e,t)=>{g(""),c({kind:"db",documentId:e.id,documentType:e$3(e.type)}),"user"===t&&eJ3.$.aaFromMemberJobBoardResumeSelected("db")},onSelectUploaded:()=>{u&&(g(""),c({kind:"uploaded",url:u.url,filename:u.filename}),eJ3.$.aaFromMemberJobBoardResumeSelected("upload"))},onSelectionMissing:()=>c(null)}):(0,J.jsx)(epw.E,{$height:"260px",$width:"100%"}),(0,J.jsx)(e$T.s,{name:"aa-member-board-resume",title:i.documents.resume.uploadTitle,subtitle:i.documents.resume.uploadSubtitle,uploadFn:(e,t)=>a({file:e,onProgress:t}),onUploadComplete:({data:e})=>{if(!e.uploadedResumeUrl)return;let t=e.uploadedResumeFilename||e$4(e.uploadedResumeUrl);g(""),p({url:e.uploadedResumeUrl,filename:t,justUploaded:!0}),c({kind:"uploaded",url:e.uploadedResumeUrl,filename:t}),eJ3.$.aaFromMemberJobBoardResumeSelected("upload")}}),m&&(0,J.jsx)(e$W,{children:m})]}),(0,J.jsxs)(e$q,{children:[(0,J.jsx)(e$K,{dangerouslySetInnerHTML:{__html:sJ.A.sanitize(r.resume.hint)}}),(0,J.jsx)(i$.JQ,{type:"submit",isDisabled:!d,trailingIcon:(0,J.jsx)(tP.qJ.ArrowRight2,{}),children:r.resume.next})]})]})};var e$8=i(26944),e$9=i(40434);let e$7=[{stage:"resume",labelId:"resume"},{stage:"tailoring",labelId:"tailoring"},{labelId:"reviewingQuestions"},{labelId:"writingAnswers"},{labelId:"fillingForm"}],eOe=e$7.findIndex(e=>!e.stage),eOt=-1===eOe?e$7.length:eOe,eOi=e=>new Promise(t=>setTimeout(t,e)),eOr=(e,t)=>Y.R3.patch(`/job-cards/${e}/document-overwrite`,{tailorResumeForJob:t,tailorCoverLetterForJob:!1,sendTailoredResume:t}),eOn=["completed","completed_manual"],eOo=async(e,t)=>{let i=Date.now()+3e5;for(;Date.now()<i&&!t();){try{let{data:t}=await Y.R3.get(`/job-cards/${e}`),i=t?.autoTailoringStatus;if(i&&"processing"!==i)return eOn.includes(i)?"completed":"failed"}catch{}await eOi(5e3)}return"timeout"},eOa=({job:e,resumeChoice:t,onClose:i})=>{let r,n=(0,sK.c)().aaFromMemberJobBoardFlow,o=(0,eU.wA)(),a=(0,L.Zp)(),l=(0,eW.N)(K.Tp.selectJobs),{data:s}=(0,cP.F)(),d=(0,eEP.e)(s?.id),c=(0,e$8._)(),u={resume:n.processing.steps.resumeExisting,tailoring:n.processing.steps.tailoring,reviewingQuestions:n.processing.steps.reviewingQuestions,writingAnswers:n.processing.steps.writingAnswers,fillingForm:n.processing.steps.fillingForm},[p,h]=(0,R.useState)(0),[x,m]=(0,R.useState)(!1),[g,y]=(0,R.useState)(0),[f,b]=(0,R.useState)(null),_=(0,R.useRef)(-1),v=(0,R.useRef)(!0);return(0,R.useEffect)(()=>(v.current=!0,()=>{v.current=!1}),[]),(0,R.useEffect)(()=>{if(_.current===g)return;_.current=g,h(0),m(!1),b(null),eJ3.$.aaFromMemberJobBoardProcessingViewed();let i="resume",r=null,n=e=>{let t=e$7.findIndex(t=>t.stage===e);h(e=>Math.max(e,t+1))};(async()=>{let a;i="resume",await d.mutateAsync("uploaded"===t.kind?{documentId:null,documentType:cJ.K.uploadedDocument}:{documentId:t.documentId,documentType:t.documentType===eZ.VC.trDocument?cJ.K.trDocument:cJ.K.resume}),n("resume"),i="preferences";try{let{data:t}=await Y.R3.get("/career/profile"),i=!!t?.targetRoles?.length,r=!!t?.targetLocations?.length;if(!i||!r){let{targetRoles:t,targetLocations:n}=eEk((e=>{let t=e.occupation||e.job_title,i=t?[{value:t,label:t}]:[],r=e.location_details,n=(0,emg.ZH)(e.location||"");if(!r||!n)return{jobTitles:i,locations:[eJ2.FN]};
6073let o=r.id??e.location_id,a=[{value:String(o),label:n}];return r.state_id&&r.state_name&&r.state_id!==o&&a.push({value:String(r.state_id),label:((...e)=>e.filter(Boolean).join(", "))(r.state_name,r.country_name)}),e.job_location_type===e$9.X.REMOTE&&a.push(eJ2.FN),{jobTitles:i,locations:a}})(e));await c.mutateAsync({...!i&&{targetRoles:t},...!r&&{targetLocations:n}})}}catch(e){E.A.log(e),r="profile_prefill"}i="job_card";let s=l.find(t=>t.externalSlugId===e.external_slug_id&&(t.status===K.Sy.wishlist||t.status===K.Sy.recommended));if(s)a=s.id;else{let{data:t}=await Y.R3.post("job-cards",{job_card:{status:"wishlist",title:e.job_title,company:e.company,link:e.url,description:(0,eNE.Q)(e.description),external_slug_id:e.external_slug_id,location:e.location,logo:e.company_logo,position_number:0}});o(K.o1.addJob(t)),a=t.id}i="tailoring";try{await eOr(a,!0);let e=await eOo(a,()=>!v.current);"completed"!==e&&(r="auto_tailoring"),"failed"===e&&await eOr(a,!1)}catch(e){E.A.log(e),r="auto_tailoring"}return n("tailoring"),{cardId:a,failedStep:r}})().then(({cardId:e,failedStep:t})=>{if(v.current){let i;eJ3.$.aaFromMemberJobBoardProcessingCompleted(t),h(e=>Math.max(e,eOt)),b((i=new URLSearchParams({flow:"member"}),t&&i.set(dr,t),`/auto-apply/application/${e}?${i}`))}}).catch(()=>{v.current&&(eJ3.$.aaFromMemberJobBoardProcessingError(i),m(!0))})},[g]),(0,R.useEffect)(()=>{if(x||p<eOt||p>=e$7.length)return;let e=setTimeout(()=>h(e=>e+1),1500);return()=>clearTimeout(e)},[p,x]),(0,R.useEffect)(()=>{f&&!(p<e$7.length)&&a(f,{replace:!0})},[p,f,a]),(0,J.jsx)(e$G,{children:(0,J.jsx)(e$Z,{children:x?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)("h3",{children:n.processing.error.title}),(0,J.jsx)("p",{children:n.processing.error.description}),(0,J.jsxs)(e$X,{children:[(0,J.jsx)(i$.JQ,{onClick:()=>{eJ3.$.aaFromMemberJobBoardProcessingRetry(),y(e=>e+1)},children:n.processing.error.retry}),(0,J.jsx)(i$.JQ,{theme:"ghost",onClick:i,children:n.processing.error.close})]})]}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)("h3",{children:n.processing.title({site_name:(r=window.location.hostname.split(".").slice(-2).join(".")).charAt(0).toUpperCase()+r.slice(1)})}),(0,J.jsx)("p",{children:n.processing.subtitle}),(0,J.jsx)(e$Q,{children:e$7.map((e,t)=>{let i=t<p,r=t===p;return(0,J.jsxs)(e$Y,{$active:i||r,children:[(0,J.jsx)("span",{className:"icon",children:i?(0,J.jsx)(e$0,{children:(0,J.jsx)(tP.qJ.CheckLine,{})}):r?(0,J.jsx)(du.Ay,{$width:"16px",$height:"16px"}):(0,J.jsx)(e$1,{})}),u[e.labelId]]},e.labelId)})})]})})})},eOl={resume:0,processing:1},eOs=()=>{let e=(0,sK.c)().aaFromMemberJobBoardFlow,{slug:t,close:i}=(0,e$S.P)(),{data:r,isError:n}=(0,eJo.d)(t||void 0),o=t?r:void 0,[a,l]=(0,R.useState)("resume"),[s,d]=(0,R.useState)(null);if((0,R.useEffect)(()=>{n&&i()},[n,i]),(0,R.useEffect)(()=>{o||(l("resume"),d(null))},[o]),(0,R.useEffect)(()=>{if(!o)return;let{documentElement:e,body:t}=document;return e.style.overflow="hidden",t.style.overflow="hidden",()=>{e.style.overflow="",t.style.overflow=""}},[o]),!o)return null;let c=()=>{eJ3.$.aaFromMemberJobBoardClosed(a),i()};return(0,J.jsxs)(e$R,{role:"dialog","aria-modal":"true","aria-label":e.dialogAriaLabel,children:[(0,J.jsx)(e$L,{type:"button","aria-label":e.closeAriaLabel,onClick:c,children:(0,J.jsx)(tP.qJ.Close,{})}),(0,J.jsx)(e$N,{children:(0,J.jsx)(eLl,{total:3,active:eOl[a]})}),(0,J.jsx)(e$I,{children:"resume"===a&&(0,J.jsx)(e$6,{job:o,onNext:e=>{d(e),l("processing")}})}),"processing"===a&&s&&(0,J.jsx)(eOa,{job:o,resumeChoice:s,onClose:c})]})},eOd=tt.Ay.form(["display:flex;flex-direction:column;"]),eOc=(0,tt.Ay)(elF.f)(["margin-bottom:",";"],te.Kz.S),eOu=tt.Ay.div(["gap:16px;display:flex;flex-direction:column;width:544px;padding:",";border-radius:",";background-color:",";gap:",";",";"],te.Kz.L,te.Kz.S,te.Jy.White,te.Kz.M,tQ.A.Phone`
6074    width: 100%;
6075  `),eOp=tt.Ay.div(["display:flex;gap:",";justify-content:space-between;"],te.Kz.XS),eOh=tt.Ay.div(["display:flex;flex-direction:column;gap:",";"],te.Kz.XS),eOx=tt.Ay.h2(["",";",";color:",";"],td.o5.S,td.BO.DemiBold,te.Jy.Neutral90),eOm=tt.Ay.p(["",";",";color:",";"],td.o5.Body,td.BO.Regular,te.Jy.Neutral50),eOg=tt.Ay.div(["display:flex;gap:",";justify-content:flex-end;margin-top:",";",";"],te.Kz["2XS"],te.Kz.S,tQ.A.Phone`
6076    flex-direction: column-reverse;
6077    margin-top: 200px;
6078  `),eOy=tt.Ay.div(["width:28px;height:28px;display:flex;align-items:center;justify-content:center;"]);(0,tt.Ay)(L_.EK.Close)(["color:",";"],te.Jy.Neutral50);let eOf=tt.Ay.div(["width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background-color:",";cursor:pointer;&:hover{background-color:",";color:",";}"],te.Jy.Neutral10,te.Jy.Blue10,te.Jy.Blue50),eOb=(0,tt.Ay)(i$.JQ)([""]),eO_=(0,tt.Ay)(i$.JQ).attrs({theme:i$.Ox.ghost})([""]),eOv=(0,tt.Ay)(wl.K.h7)(["margin:8px auto 4px;background:",";"],te.Jy.Neutral30),eOj=tt.Ay.div(["display:flex;flex-direction:row;gap:",";flex-wrap:wrap;"],te.Kz["2XS"]),eOA="builder.dashboard.learning_hub.full_name_modal",eOC=({form:e,isUserUpdating:t,onClose:i,onSubmit:r})=>{let{i18n:n}=(0,e1.s)(),{isPhone:o}=(0,ih.e)(),{errors:a}=e.formState,l=n.t(`${eOA}.required_field`);return(0,J.jsxs)(eOu,{children:[(0,J.jsxs)(eOp,{children:[(0,J.jsxs)(eOh,{children:[(0,J.jsx)(eOx,{children:n.t(`${eOA}.title`)}),(0,J.jsx)(eOm,{children:n.t(`${eOA}.description`)})]}),!o&&(0,J.jsx)(eOf,{onClick:i,children:(0,J.jsx)(eOy,{children:(0,J.jsx)(L_.EK.Close,{})})})]}),(0,J.jsxs)(eOd,{onSubmit:e.handleSubmit(r),children:[(0,J.jsx)(eOc,{children:(0,J.jsx)(re.A,{...e.register("firstName",{required:l}),label:n.t(`${eOA}.first_name`),placeholder:"John",error:a.firstName?.message,autoFocus:!0})}),(0,J.jsx)(eOc,{children:(0,J.jsx)(re.A,{...e.register("lastName",{required:l}),label:n.t(`${eOA}.last_name`),placeholder:"Appleseed",error:a.lastName?.message})}),(0,J.jsxs)(eOg,{children:[(0,J.jsx)(eO_,{type:"button",onClick:i,children:n.t(`${eOA}.cancel`)}),(0,J.jsx)(eOb,{isLoading:t,type:"submit",children:n.t(`${eOA}.continue`)})]})]})]})};var eOw=i(62983),eOk=i(30207),eOS=i(72528);
6078let eOT="builder.dashboard.learning_hub.job_title_modal",eOP=({localProfile:e,onClose:t,onSubmit:i,onUpdate:r,isProfileUpdating:n})=>{let{i18n:o}=(0,e1.s)(),{isPhone:a}=(0,ih.e)(),[l,s]=(0,R.useState)(!1),[d,c]=(0,R.useState)("");return(0,J.jsxs)(eOu,{children:[(0,J.jsxs)(eOp,{children:[(0,J.jsxs)(eOh,{children:[(0,J.jsx)(eOx,{children:o.t(`${eOT}.title`)}),(0,J.jsx)(eOm,{children:o.t(`${eOT}.description`)})]}),!a&&(0,J.jsx)(eOf,{onClick:t,children:(0,J.jsx)(eOy,{children:(0,J.jsx)(L_.EK.Close,{})})})]}),(0,J.jsx)(eOj,{children:e?.targetRoles.map(t=>(0,J.jsxs)(eOS.xd,{children:[(0,J.jsx)(eOS.qN,{children:t.standardTitle}),(0,J.jsx)(eOS.YP,{onClick:()=>{var i;return i=t.standardTitle,void(e&&r("targetRoles",e.targetRoles.filter(e=>e.standardTitle!==i)))}})]},t.standardTitle))}),(0,J.jsx)(eOk.$_,{$isExpanded:l,children:(0,J.jsx)(eOw.Z,{onClear:()=>c(""),icon:(0,J.jsx)(L_.qJ.Search,{}),placeholder:o.t(`${eOT}.search_placeholder`),name:"occupation",value:d,suggestionParam:"job-titles",storageKey:"JOB_TITLE_HISTORY",isJobExpanded:l,showInputAsSuggestion:!0,multiSection:!d.length,suggestionOptions:{limit:10},onExpand:s,onValueChange:e=>{c(e)},onSelectAutosuggestion:t=>{c(""),r("targetRoles",(0,pc.uniqBy)([...e?.targetRoles||[],{id:null,standardTitle:t}],"standardTitle"))}})}),(0,J.jsxs)(eOg,{children:[(0,J.jsx)(eO_,{onClick:t,children:o.t(`${eOT}.cancel`)}),(0,J.jsx)(eOb,{onClick:i,isLoading:n,children:o.t(`${eOT}.continue`)})]})]})},eOJ=()=>{let e=(0,e4.J)(),t=(0,eU.wA)(),{isPhone:i}=(0,ih.e)(),{mutateAndRedirect:r}=(0,Td.T)(),{handleSimpleFieldUpdate:n,localProfile:o}=(0,eLt.R)(),a=(0,edf.mN)({mode:"onChange",defaultValues:{firstName:e?.firstName,lastName:e?.lastName}}),l=(0,eW.N)(Z.Tp.isUpdating),s=(0,eW.N)(ej.Tp.updateProfileDataStatus),{open:d,modal:c,cmsgid:u}=(0,eW.N)(F.Tp.futureLearnModal),p=s===eZ.Hp.loading,h=()=>{t(F.o1.toggleFutureLearnFullNameModal({open:!1}))},x=i=>{t(Z.o1.updateUserRequest({email:e?.email,firstName:i.firstName,lastName:i.lastName}))},m=()=>{t(ej.o1.updateProfileData({targetRoles:o?.targetRoles}))};return((0,R.useEffect)(()=>{if(d&&!p){if(s===eZ.Hp.loaded){t(ej.o1.setUpdateProfileDataStatus(eZ.Hp.notAsked)),r({cmsgid:u}),h();return}l?a.reset():(r({cmsgid:u}),h())}},[l,s]),i)?(0,J.jsxs)(wl.A,{open:d,onClose:h,children:[(0,J.jsx)(eOv,{}),"job_title"===c&&(0,J.jsx)(eOP,{localProfile:o,isProfileUpdating:p,onClose:h,onSubmit:m,onUpdate:n}),"full_name"===c&&(0,J.jsx)(eOC,{form:a,isUserUpdating:l,onSubmit:x,onClose:h})]}):d&&(0,J.jsxs)(i6.A,{onClose:h,backgroundOpacity:.8,overlayFadeDuration:350,contentSlideDuration:350,children:["job_title"===c&&(0,J.jsx)(eOP,{localProfile:o,isProfileUpdating:p,onClose:h,onSubmit:m,onUpdate:n}),"full_name"===c&&(0,J.jsx)(eOC,{form:a,isUserUpdating:l,onSubmit:x,onClose:h})]})};var eOE=i(87661);let eOR=tt.Ay.div(["display:flex;align-items:flex-start;--top-nav-bar-height:","px;"],80),eOL=tt.Ay.div(["flex:1;min-width:0;margin:0 auto;display:flex;flex-direction:column;position:relative;"," ",""],tQ.A.Tablet`
6079    width: 100%;
6080    padding-left: 80px;
6081  `,tQ.A.Phone`
6082    width: 100%;
6083    padding-left: 0;
6084    padding-bottom: 70px
6085  `),eON=({children:e})=>{let{isPhone:t,isTablet:i}=(0,ih.e)(),r=(0,d2.t)(),[n,o]=(0,R.useState)(!0),[a,l]=(0,R.useState)(!1),s=(0,L.zy)(),d=(0,R.useRef)(s),c=!t&&!i&&r.features.dashboardNavigationTabs&&!r.isDashboardV4(),u=(0,L.RQ)("/job-search/:externalSlugId"),p=!!r.features.jobSearchV2&&!!u;return((0,R.useEffect)(()=>{d.current!==s&&(d.current=s,l(!1))},[s]),r.features.international||r.features.superApp||r.features.dashboardV3&&!r.features.dashboardV2)?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(e$C,{}),(0,J.jsx)(eL2,{}),(0,J.jsx)(e$k,{}),(0,J.jsx)(eOs,{}),(0,J.jsx)(eBC,{}),(0,J.jsx)(eMK,{}),(0,J.jsx)(eDw,{}),(0,J.jsx)(ebs,{}),(0,J.jsx)(eDV,{}),(0,J.jsx)(gC,{}),(0,J.jsx)(eBU,{}),(0,J.jsx)(eD7,{}),(0,J.jsx)(eOJ,{}),(0,J.jsx)(eMp,{}),t&&!p&&(0,J.jsx)(eM_,{}),(0,J.jsxs)(eOR,{"data-testid":"app-container",children:[!t&&(0,J.jsx)(eI0,{isOpen:n,setIsOpen:o}),(0,J.jsxs)(eOL,{children:[(0,J.jsx)(eMo,{isUserDropdownOpen:a,onUserDropdownToggle:l}),c&&(0,J.jsx)(eMj,{}),(0,J.jsx)(i1.Ay,{fallback:(0,J.jsx)(eOE.A,{}),children:(0,J.jsx)(R.Suspense,{fallback:(0,J.jsx)(du.F6,{}),children:e||(0,J.jsx)(L.sv,{})})})]})]})]}):(0,J.jsx)(R.Suspense,{fallback:(0,J.jsx)(du.F6,{}),children:(0,J.jsx)(eIY,{})})},eOI=()=>{let e=(0,d2.t)(),{isUserRdPromotedWithoutPlan:t}=uj();return!e?.showResumeDistribution()||t?(0,J.jsx)(L.C5,{to:"/"}):(0,J.jsx)(L.sv,{})};var eOM=i(30282);let eOB=()=>{let[e]=(0,ds.p)("magic-link-token"),t=(0,dp.n)(async({token:e})=>(await Y.R3.post("/app/login/magic-auth",{token:e})).data),i=(0,L.Zp)(),r=(0,L.g)();return(0,R.useEffect)(()=>{!async function(){if(e)try{await t.mutateAsync({token:e})}catch(e){console.warn("Invalid token or expired token")}
6085let n=(r["*"]||"").split("/").filter(Boolean),o=n[0],a="no-subscription",l=null;if(3===n.length)a=n[1],l=n[2];else if(2===n.length&&(l=n[1],"recommend-alert"===o)){let e=await Y.R3.get("/job-alerts/v1/recommendation-subscription");void 0!==e.data.id&&(a=String(e.data.id))}i(`/email/job-search/${o}/${a}/${l}`)}()},[e,r]),(0,J.jsx)(eOM.XD,{children:(0,J.jsx)(du.Ay,{})})};var eOD=i.p+"media/error-image79c11eacec82af3f.png";let eO$=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;max-width:480px;margin:0 auto;height:calc(100vh - 200px);",""],tQ.A.Phone`
6086    padding: 0 20px;
6087  `),eOO=tt.Ay.div(["width:238px;height:219px;"]),eOz=tt.Ay.img(["width:232px;height:192px;"]),eOF=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;"]),eOH=tt.Ay.div(["color:",";"," ",""],te.Jy.Neutral90,td.Ay.L,td.BO.Medium),eOV=tt.Ay.div(["color:",";"," ",""],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular),eOU=tt.Ay.a(["color:",";&:hover{border-bottom:1px solid ",";}"],te.Jy.Blue50,te.Jy.Blue50),eOW=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.ghost})([""]),eOK="builder.resume_distribution.landing.server_error",eOq=()=>{let{i18n:e}=(0,e1.s)(),t=(0,L.Zp)();return(0,J.jsxs)(eO$,{children:[(0,J.jsx)(eOO,{children:(0,J.jsx)(eOz,{src:eOD})}),(0,J.jsxs)(eOF,{children:[(0,J.jsx)(eOH,{children:e.t(`${eOK}.header`)}),(0,J.jsxs)(eOV,{children:[e.t(`${eOK}.sub_header`)," ",(0,J.jsx)(eOU,{href:"/contact",target:"_blank",children:e.t(`${eOK}.contact_support`)})]})]}),(0,J.jsx)(eOW,{onClick:()=>{t("/")},children:e.t(`${eOK}.button`)})]})};var eOG=i(56524),eOZ=i.p+"media/invalid-document0a965f9ad0f65ff1.png";let eOX=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;position:relative;gap:32px;width:416px;max-width:416px;padding-top:65px;margin:0 auto;height:calc(100vh - 110px);",""],tQ.A.Phone`
6088    padding: 65px 20px 0 20px;
6089    width: 100%;
6090    height: calc(100vh - 160px);
6091  `),eOQ=tt.Ay.div(["width:150px;height:160px;"]),eOY=tt.Ay.img(["width:150px;height:160px;"]),eO0=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;"]),eO1=tt.Ay.div(["color:",";"," ",""],te.Jy.Neutral90,td.Ay.L,td.BO.Medium),eO2=tt.Ay.div(["color:",";"," ",""],te.Jy.Neutral50,td.Ay.Body,td.BO.Regular),eO3=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:16px;width:inherit;padding:20px 0;border-radius:8px;position:relative;border:1px solid ",";",""],te.Jy.Neutral15,({$hasError:e})=>e&&(0,tt.AH)(["border-bottom:2px solid ",";"],te.Jy.Red50)),eO5=tt.Ay.div([""," ",""],td.Ay.Caption,td.BO.Regular),eO4=(0,tt.Ay)(i$.Ay).attrs({theme:i$.Ox.ghost,size:i$.Mp.small})([""]),eO6=tt.Ay.div([""," "," color:",";position:absolute;bottom:12px;",""],td.Ay.Caption,td.BO.Regular,te.Jy.Neutral50,tQ.A.Phone`
6092    bottom: 20px;
6093  `),eO8=tt.Ay.a(["color:",";&:hover{border-bottom:1px solid ",";}"],te.Jy.Blue50,te.Jy.Blue50),eO9=tt.Ay.div(["position:absolute;top:325px;right:240px;"]),eO7=tt.Ay.div(["margin:28% auto;padding:16px;border-radius:32px;box-shadow:0px 8px 20px -4px rgba(15,56,113,0.12),0px 2px 4px -1px rgba(15,56,113,0.08),0px 0px 1px 0px rgba(15,56,113,0.32);"]),eze="builder.resume_distribution.landing.invalid_document",ezt=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)(),i=(0,L.Zp)(),[r,n]=(0,R.useState)(!1),[o,a]=(0,R.useState)(!1),[l,s]=(0,R.useState)(!1),d=(0,eW.N)(ev.Tp.candidateResumePostStatus),c=(0,eW.N)(ev.Tp.candidateFetchStatus),u=(0,eW.N)(ev.Tp.isSubscriptionActive),p=(0,R.useRef)(null);(0,oO.L)(p,()=>n(!1));let h=(0,R.useCallback)(async()=>{d===eZ.Hp.loaded&&(s(!0),u||await Y.R3.post("resume-distribution/candidates/subscriptions",{}),s(!1),i("/resume-distribution/dashboard"))},[d,u,i]);return((0,R.useEffect)(()=>{h()},[d,h]),(0,R.useEffect)(()=>{t(ev.o1.fetchCandidate())},[t]),d===eZ.Hp.loading||c===eZ.Hp.loading||l)?(0,J.jsx)(eO7,{children:(0,J.jsx)(du.Ay,{})}):(0,J.jsxs)(eOX,{children:[(0,J.jsx)(eOQ,{children:(0,J.jsx)(eOY,{src:eOZ})}),(0,J.jsxs)(eO0,{children:[(0,J.jsx)(eO1,{children:e.t(`${eze}.header`)}),(0,J.jsxs)(eO2,{children:[e.t(`${eze}.sub_header`)," "]})]}
6093),(0,J.jsxs)(eO3,{$hasError:!0,children:[(0,J.jsx)(eO5,{children:e.t(`${eze}.resume_header`)}),(0,J.jsx)(eO4,{onClick:()=>n(!0),children:e.t(`${eze}.button`)})]}),(0,J.jsxs)(eO6,{children:[e.t(`${eze}.question`)," ",(0,J.jsx)(eO8,{href:"/contact",target:"_blank",children:e.t(`${eze}.contact_support`)})]}),r&&(0,J.jsx)(eO9,{children:(0,J.jsx)(eOG.A,{setResumeSelection:a,handleFileInputChange:e=>{let i=e.target.files?.[0];i&&t(ev.o1.postCandidateResume(i)),n(!1)},ref:p})}),o&&(0,J.jsx)(w8.A,{allowTRDocuments:!0,onClose:()=>a(!1),submitSelectedResume:e=>{t(ev.o1.postCandidateResume(e)),n(!1)}})]})};var ezi=()=>(0,J.jsx)(J.Fragment,{children:(0,J.jsx)("div",{children:"ProfessionalHeadshots"})}),ezr=()=>(0,J.jsx)(J.Fragment,{children:(0,J.jsx)("div",{children:"Upload GuideLines"})});let ezn=tt.Ay.div(["display:flex;align-items:center;background-color:white;",";"],tQ.A.Laptop`
6094    gap: ${te.Kz["2XS"]};
6095  `),ezo=tt.Ay.span(["color:",";",";margin-left:12px;white-space:nowrap;"],te.Jy.Neutral90,te.o5.sizes.Body),eza=tt.Ay.span(["color:",";",";margin-left:12px;white-space:nowrap;"],te.Jy.Neutral50,te.o5.sizes.Body),ezl=tt.Ay.div(["display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;border-radius:100%;background-color:",";&.blue{background-color:",";}"],te.Jy.Neutral20,te.Jy.Blue50),ezs=(0,tt.Ay)(tP.EK.Tick)(["color:",";"],te.Jy.White),ezd=tt.Ay.span(["color:",";",";",";&.inactive{color:",";}"],te.Jy.White,te.o5.sizes.Caption,te.o5.weights.demibold,te.Jy.Neutral50),ezc=tt.Ay.div(["flex:0 1 32px;min-width:12px;height:1px;background-color:",";margin-left:",";margin-right:",";"],te.Jy.Neutral15,te.Kz["2XS"],te.Kz["2XS"]),ezu=tt.Ay.div(["width:6px;height:6px;border-radius:100%;background-color:",";&.active{background-color:",";}"],te.Jy.Neutral15,te.Jy.Blue50),ezp=({step:e})=>{let{i18n:t}=(0,e1.s)(),{isLaptop:i,isPhone:r}=(0,ih.e)(),n="true"===new URLSearchParams(window.location.search).get("auto_apply")?t.t("builder.billing.wizard.unlock_auto_apply"):t.t("builder.billing.wizard.download");return r?null:i?(0,J.jsxs)(ezn,{children:[(0,J.jsx)(ezu,{className:"active"}),(0,J.jsx)(ezu,{className:e>=3?"active":""}),(0,J.jsx)(ezu,{className:4===e?"active":""})]}):(0,J.jsxs)(ezn,{children:[(0,J.jsx)(ezl,{className:"blue",children:(0,J.jsx)(ezs,{})}),(0,J.jsx)(ezo,{children:t.t("builder.billing.wizard.create")}),(0,J.jsx)(ezc,{}),(0,J.jsx)(ezl,{className:"blue",children:2===e?(0,J.jsx)(ezd,{children:"2"}):(0,J.jsx)(ezs,{})}),(0,J.jsx)(ezo,{children:t.t("builder.billing.wizard.choose")}),(0,J.jsx)(ezc,{}),(0,J.jsx)(ezl,{className:e>2?"blue":"",children:e<4?(0,J.jsx)(ezd,{className:2===e?"inactive":"",children:"3"}):(0,J.jsx)(ezs,{})}),e>=3?(0,J.jsx)(ezo,{children:t.t("builder.billing.wizard.payment")}):(0,J.jsx)(eza,{children:t.t("builder.billing.wizard.payment")}),(0,J.jsx)(ezc,{}),(0,J.jsx)(ezl,{className:e>3?"blue":"",children:(0,J.jsx)(ezd,{className:3===e?"inactive":"",children:"4"})}),4===e?(0,J.jsx)(ezo,{children:n}):(0,J.jsx)(eza,{children:n})]})},ezh=()=>(0,r2.I)(["trustpilot"],async()=>(await eMq.R3.get("/trustpilot")).data);var ezx=i.p+"media/dark-green-starf2825907a8dfeeef.svg",ezm=i.p+"media/light-green-star567fd02744b08cb1.svg",ezg=i.p+"media/half-dark-green-star516215ee59b99070.svg",ezy=i.p+"media/gray-star3f4f2e897d2401f6.svg",ezf=i.p+"media/logoc7b2297c854d9461.svg";let ezb=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;"]),ez_=tt.Ay.div(["display:flex;align-items:center;gap:8px;margin-top:8px;display:none;",";"],tQ.A.Phone`
6096    display: flex;
6097  `),ezv=tt.Ay.div(["display:flex;align-items:center;gap:12px;margin:0 auto;"]),ezj=tt.Ay.p(["font-size:1.3em;",";color:",";",""],td.BO.DemiBold,te.Jy.Neutral100,e=>e.$useMargin&&"margin-top: 12px;"),ezA=tt.Ay.p(["",";color:",";",";"],td.Ay.Caption,te.Jy.Neutral90,tQ.A.Phone`
6098    display: none;
6099  `),ezC=tt.Ay.p(["",";color:",";gap:4px;"],td.Ay.Caption,te.Jy.Neutral90);td.Ay.Tiny,te.Jy.Neutral50;let ezw=tt.Ay.img(["width:24px;height:24px;"]),ezk=tt.Ay.img(["height:26px;width:122px;margin-left:-12px;margin-top:-5px;",";"],tQ.A.Phone`
6100    display: none;
6101  `),ezS=tt.Ay.img(["height:26px;width:106px;margin-top:-5px;"]),ezT="builder.billing.trustpilot",ezP=()=>{var e;let t=ezh(),{i18n:i}=(0,e1.s)(),r=i.t(`${ezT}.based_on_horizontal`,{reviews:t.data?.number_of_reviews.total}),n=Math.round(2*(t.data?.score.stars??0))/2,o=[...Array(Math.floor(n)).fill(4===n?ezm:ezx),...n%1==.5?[ezg]:[],...Array(5-Math.ceil(n)).fill(ezy)];return(0,J.jsxs)(ezb,{children:[(0,J.jsxs)(ezv,{children:[(0,J.jsx)(ezj,{$useMargin:!1,children:i.t(`${ezT}.${(e=n)<2?"bad":e<3?"poor":e<4?"average":4===e?"great":"excellent"}`)}),(0,J.jsx)("div",{style:{display:"flex",gap:"1.3px"},children:o.map((e,t)=>(0,J.jsx)(ezw,{src:e,alt:`star ${t}`},t))}),(0,J.jsx)(ezA,{dangerouslySetInnerHTML:{__html:r}}
6101),(0,J.jsx)(ezk,{src:ezf})]}),(0,J.jsxs)(ez_,{children:[(0,J.jsx)(ezC,{dangerouslySetInnerHTML:{__html:r}}),(0,J.jsx)(ezS,{src:ezf})]})]})},ezJ=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;padding:20px 32px;border-radius:8px;background-color:white;box-shadow:",";max-width:704px;width:100%;",";"],te.qd.lightWithBorderShadowMid,tQ.A.Laptop`
6102    margin-bottom: 50px;
6103    max-width: unset;
6104  `),ezE=tt.Ay.span(["color:",";",";font-weight:",";"],te.Jy.Neutral90,te.o5.sizes.Subhead,te.o5.weights.medium),ezR=tt.Ay.div(["display:flex;gap:16px;margin-top:13px;flex-wrap:wrap;"]),ezL=tt.Ay.div(["position:relative;display:flex;align-items:center;gap:8px;flex:1 0 34%;border-radius:8px;border:1px solid ",";background-color:",";padding:",";&.blue{border:1px solid ",";background-color:",";}"],te.Jy.Neutral5,te.Jy.Neutral5,te.Kz.S,te.Jy.Blue20,te.Jy.Blue10),ezN=tt.Ay.img(["width:34px;height:34px;color:",";"],te.Jy.Neutral90),ezI=tt.Ay.span(["color:",";",";&.medium{color:",";font-weight:",";}"],e=>e.$isHistoricalLeads?te.Jy.Neutral50:te.Jy.Neutral90,te.o5.sizes.Caption,te.Jy.Neutral90,te.o5.weights.medium),ezM=(0,tt.Ay)(i$.Ay)(["margin-top:16px;width:100%;font-size:19px;font-weight:",";line-height:24px;"],te.o5.weights.medium),ezB=tt.Ay.span(["color:",";",";font-weight:",";margin-top:8px;&.blue{color:",";}"],te.Jy.Neutral90,te.o5.sizes.Caption,te.o5.weights.medium,te.Jy.Blue50);var ezD=i.p+"media/aif2f850363c226c22.svg",ez$=i.p+"media/board8b77e78d1a5bada3.svg",ezO=i.p+"media/money0e16aa9b8ab648a5.svg",ezz=i.p+"media/recruiters7909a10fe26a61be.svg",ezF=i.p+"media/resumes5ae1b38e9cbc563b.svg",ezH=i.p+"media/suport414b279d97cd0167.svg",ezV=i.p+"media/tailor57acd5b088c4fa9f.svg",ezU=i.p+"media/500537b169c53f9d37b.svg",ezW=i.p+"media/eyes6f99e56ec3df55b0.svg",ezK=i.p+"media/books45ebbf3a7f8db5c8.svg";let ezq=({continueOnClick:e,continueIsDisabled:t=!1,theme:i=i$.Ox.confirmative,isHistoricalLeads:r=!1,autoApplyBenefitAddon:n=null,trialDays:o})=>{let a=window.location.hostname,{i18n:l}=(0,e1.s)(),s=n?l.t("builder.billing.benefits.five",{credits:n.credits,period:l.t(`builder.billing.benefits.interval.${n.period}`)}):"",d=Number(o??0),c=d>0;return(0,J.jsxs)(ezJ,{children:[(0,J.jsx)(ezE,{children:l.t("builder.billing.benefits.title")}),(0,J.jsx)(ezR,{children:r?(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezV}),(0,J.jsxs)(ezI,{$isHistoricalLeads:r,children:[(0,J.jsx)(ezI,{className:"medium",children:l.t("builder.billing.benefits.historical_leads.one.title")})," ",l.t("builder.billing.benefits.historical_leads.one.description")]})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezK}),(0,J.jsxs)(ezI,{$isHistoricalLeads:r,children:[(0,J.jsx)(ezI,{className:"medium",children:l.t("builder.billing.benefits.historical_leads.two.title")})," ",l.t("builder.billing.benefits.historical_leads.two.description")]})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezF}),(0,J.jsxs)(ezI,{$isHistoricalLeads:r,children:[(0,J.jsx)(ezI,{className:"medium",children:l.t("builder.billing.benefits.historical_leads.three.title")})," ",l.t("builder.billing.benefits.historical_leads.three.description")]})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezW}),(0,J.jsxs)(ezI,{$isHistoricalLeads:r,children:[(0,J.jsx)(ezI,{className:"medium",children:l.t("builder.billing.benefits.historical_leads.four.title")})," ",l.t("builder.billing.benefits.historical_leads.four.description")]})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezD}),(0,J.jsxs)(ezI,{$isHistoricalLeads:r,children:[(0,J.jsx)(ezI,{className:"medium",children:l.t("builder.billing.benefits.historical_leads.five.title")})," ",l.t("builder.billing.benefits.historical_leads.five.description")]})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezU}),(0,J.jsxs)(ezI,{$isHistoricalLeads:r,children:[(0,J.jsx)(ezI,{className:"medium",children:l.t("builder.billing.benefits.historical_leads.six.title")})," ",l.t("builder.billing.benefits.historical_leads.six.description")]})]}),c&&(0,J.jsxs)(ezL,{className:"blue",children:[(0,J.jsx)(ezN,{src:ezO}),(0,J.jsxs)(ezI,{$isHistoricalLeads:r,children:[(0,J.jsx)(ezI,{className:"medium",children:l.t("builder.billing.benefits.historical_leads.seven.title")})," ",l.t("builder.billing.benefits.historical_leads.seven.description")]})]}),(0,J.jsxs)(ezL,{className:"blue",children:[(0,J.jsx)(ezN,{src:ezH}),(0,J.jsxs)(ezI,{$isHistoricalLeads:r,children:[(0,J.jsx)(ezI,{className:"medium",children:l.t("builder.billing.benefits.historical_leads.eight.title")})," ",l.t("builder.billing.benefits.historical_leads.eight.description")]})]})]}):(0,J.jsxs)(J.Fragment,{children:[n&&(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezD}),(0,J.jsx)(ezI,{$isHistoricalLeads:r,children:s})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezV}),(0,J.jsx)(ezI,{$isHistoricalLeads:r,children:l.t("builder.billing.benefits.one")})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezU}),(0,J.jsx)(ezI,{$isHistoricalLeads:r,children:l.t("builder.billing.benefits.two")})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezz}),(0,J.jsx)(ezI,{$isHistoricalLeads:r,children:l.t("builder.billing.benefits.three")})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ezF}),(0,J.jsx)(ezI,{$isHistoricalLeads:r,children:l.t("builder.billing.benefits.four")})]}),(0,J.jsxs)(ezL,{children:[(0,J.jsx)(ezN,{src:ez$}),(0,J.jsx)(ezI,{$isHistoricalLeads:r,children:l.t("builder.billing.benefits.six")})]}),c&&(0,J.jsxs)(ezL,{className:"blue",children:[(0,J.jsx)(ezN,{src:ezO}),(0,J.jsx)(ezI,{$isHistoricalLeads:r,children:l.t("builder.billing.benefits.seven",{trial_days:d})})]}),(0,J.jsxs)(ezL,{className:"blue",children:[(0,J.jsx)(ezN,{src:ezH}),(0,J.jsx)(ezI,{$isHistoricalLeads:r,children:l.t("builder.billing.benefits.eight")})]})]})}),(0,J.jsx)(ezM,{onClick:e,theme:i,isDisabled:t,disabled:t,children:r?l.t("builder.billing.benefits.stay_ready"):l.t("builder.billing.benefits.continue")}),(0,J.jsxs)(ezB,{children:[l.t("builder.billing.benefits.cancel")," ",(0,J.jsxs)(ezB,{className:"blue",children:["support@","career.io"===a||"stg.career.io"===a?"career":"resume",".io"]})]})]})},ezG=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;align-items:center;max-width:1065px;width:100%;"]),ezZ=tt.Ay.span(["",";color:",";",";text-align:center;",";"],td.Ay.M,te.Jy.Neutral90,td.BO.DemiBold,tQ.A.Phone`
6105    ${td.Ay.Subhead};
6106  `),ezX=tt.Ay.div(["display:flex;align-items:center;width:100%;",";"],tQ.A.Phone`
6107    flex-wrap: wrap;
6108    justify-content: center;
6109  `),ezQ=tt.Ay.img(["width:100%;"]),ezY=tt.Ay.img(["display:none;width:25%;",";"],tQ.A.Phone`
6110    display: flex;
6111  `),ez0=tt.Ay.div(["flex-grow:1;",";"],tQ.A.Phone`
6112    display: none;
6113  `);var ez1=i.p+"media/accenture90f40b85e52980ac.svg",ez2=i.p+"media/amazon3b53391a5c5fafbb.svg",ez3=i.p+"media/americanexpressdb0fa23dfe8ff33b.svg",ez5=i.p+"media/apple1eb4de50acb3d1d5.svg",ez4=i.p+"media/booking2bb327f045674e6e.svg",ez6=i.p+"media/dhlf506ed6cb9f7fddc.svg",ez8=i.p+"media/kpmg6b149f36f351c41e.svg";let ez9=()=>{let{i18n:e}=(0,e1.s)();return(0,J.jsxs)(ezG,{children:[(0,J.jsx)(ezZ,{children:e.t("builder.billing.logos.title")}),(0,J.jsxs)(ezX,{children:[(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ez0,{children:(0,J.jsx)(ezQ,{src:ez4})}),(0,J.jsx)(ezY,{src:ez4})]}),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ez0,{children:(0,J.jsx)(ezQ,{src:ez5})}),(0,J.jsx)(ezY,{src:ez5})]}),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ez0,{children:(0,J.jsx)(ezQ,{src:ez6})}),(0,J.jsx)(ezY,{src:ez6})]}),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ez0,{children:(0,J.jsx)(ezQ,{src:ez2})}),(0,J.jsx)(ezY,{src:ez2})]}),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ez0,{children:(0,J.jsx)(ezQ,{src:ez3})}),(0,J.jsx)(ezY,{src:ez3})]}),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ez0,{children:(0,J.jsx)(ezQ,{src:ez1})}),(0,J.jsx)(ezY,{src:ez1})]}),(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ez0,{children:(0,J.jsx)(ezQ,{src:ez8})}),(0,J.jsx)(ezY,{src:ez8})]})]})]})};var ez7=i.p+"media/clocke6280966eed25f46.svg",eFe=i.p+"media/document48fd6cee8edff1fe.svg",eFt=i.p+"media/documents686b95d7c917e25e.svg",eFi=i.p+"media/groupabaa81b6fb45fcff.svg",eFr=i.p+"media/money2d8c97396f696d65.svg",eFn=i.p+"media/graph3eb7001a5f6e29b6.svg",eFo=i.p+"media/learning8b77e78d1a5bada3.svg",eFa=i.p+"media/star7b68d56da1530d2e.svg";let eFl=(...e)=>(0,tt.AH)(["@media (min-width:768px) and (max-width:1199px){","}"],(0,tt.AH)(...e)),eFs=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;padding-top:24px;",";",";"],tQ.A.Laptop`
6114    padding-bottom: 24px;
6115  `,tQ.A.Phone`
6116    padding-left: 20px;
6117    padding-right: 20px;
6118    padding-bottom: 120px;
6119  `),eFd=tt.Ay.div(["display:flex;flex-direction:column;flex:1;width:100%;align-items:center;"]),eFc=tt.Ay.div(["display:flex;flex-direction:column;padding-top:44px;margin-bottom:41px;",";"],tQ.A.Phone`
6120    padding-top: 0;
6121    width: 100%;
6122  `),eFu=tt.Ay.h1(["color:",";",";",";text-align:center;margin-bottom:42px;align-self:center;max-width:815px;",";",";"],te.Jy.Neutral90,td.BO.DemiBold,td.Ay.L,tQ.A.Laptop`
6123    margin-bottom: 108px;
6124  `,tQ.A.Phone`
6125    ${td.Ay.S};
6126    margin-bottom: 16px;
6127  `),eFp=tt.Ay.div(["display:flex;flex-direction:column;gap:32px;width:100%;",";"],tQ.A.Desktop`
6128    flex-direction: row;
6129    gap: 16px;
6130    justify-content: center;
6131    align-items: flex-start;
6132  `),eFh=tt.Ay.div(["display:flex;flex-direction:column;flex:1;max-width:520px;width:100%;",";",";",";"],tQ.A.Desktop`
6133    min-width: 481px;
6134  `,tQ.A.Laptop`
6135    max-width: 736px;
6136    align-self: center;
6137    padding: 0 ${te.Kz.M};
6138  `,tQ.A.Phone`
6139    padding: 0;
6140  `),eFx=tt.Ay.div(["display:flex;flex-direction:row;gap:16px;margin-bottom:26px;justify-content:center;",";"],tQ.A.Phone`
6141    flex-direction: column;
6142    gap: 20px;
6143    margin-bottom: ${te.Kz["2XS"]};
6144  `),eFm=tt.Ay.div(["border:2px solid ",";border-radius:16px;cursor:pointer;position:relative;transition:border-color 0.2s ease;flex:1;padding-top:14px;padding-left:16px;padding-bottom:28px;&:hover{border-color:",";}",";",";"],e=>e.$selected?te.Jy.Blue50:te.Jy.Neutral15,te.Jy.Blue50,eFl`
6145    max-width: 248px;
6146    padding-right: 16px;
6147  `,tQ.A.Phone`
6148    padding: 16px;
6149    width: 100%;
6150    flex: 1;
6151  `),eFg=tt.Ay.div(["width:18px;height:18px;border:2px solid ",";border-radius:50%;margin-right:15px;position:relative;",""],e=>e.$selected?te.Jy.Blue50:te.Jy.Neutral30,e=>e.$selected&&`
6152    &::after {
6153      content: '';
6154      position: absolute;
6155      top: 50%;
6156      left: 50%;
6157      transform: translate(-50%, -50%);
6158      width: 8px;
6159      height: 8px;
6160      background-color: ${te.Jy.Blue50};
6161      border-radius: 50%;
6162    }
6163  `),eFy=tt.Ay.div(["display:flex;"]),eFf=tt.Ay.div(["display:flex;flex-direction:column;gap:",";",";",";"],te.Kz["2XS"],eFl`
6164    min-width: 0;
6165  `,tQ.A.Phone`
6166    flex-direction: row;
6167    width: 100%;
6168  `),eFb=tt.Ay.div(["",";",";color:",";"],td.Ay.Body,td.BO.Medium,te.Jy.Neutral90),eF_=tt.Ay.div(["",";",";color:",";",";",";"],td.Ay.S,td.BO.DemiBold,te.Jy.Neutral90,eFl`
6169    display: flex;
6170    flex-wrap: wrap;
6171    align-items: baseline;
6172  `,tQ.A.Phone`
6173    margin-left: auto;
6174  `),eFv=tt.Ay.span(["",";"],eFl`
6175    white-space: nowrap;
6176  `),eFj=tt.Ay.span(["color:",";",";",";"],te.Jy.Neutral90,td.Ay.Subhead,td.BO.Medium),eFA=tt.Ay.span(["color:",";",";",";text-decoration:line-through;margin-right:8px;"],te.Jy.Neutral50,td.Ay.Body,td.BO.Medium),eFC=tt.Ay.div(["display:flex;flex-direction:column;gap:20px;margin-bottom:42px;border:1px solid ",";border-radius:16px;padding:",";",";",";"],te.Jy.Neutral15,te.Kz.M,tQ.A.Laptop`
6177    flex-direction: row;
6178    flex-wrap: wrap;
6179    margin-bottom: 16px;
6180  `,tQ.A.Phone`
6181    flex-direction: column;
6182    margin-bottom: 32px;
6183  `),eFw=tt.Ay.div(["display:flex;align-items:center;gap:6px;",";",";"],tQ.A.Laptop`
6184    width: 48%;
6185  `,tQ.A.Phone`
6186    width: 100%;
6187  `),eFk=tt.Ay.img(["width:24px;height:24px;"]),eFS=tt.Ay.span(["color:",";",";&.bold{color:",";",";}"],e=>e.$isHistoricalLeads?te.Jy.Neutral50:te.Jy.Neutral90,td.Ay.Caption,te.Jy.Neutral90,e=>e.$isHistoricalLeads?td.BO.Medium:td.BO.DemiBold),eFT=(0,tt.Ay)(i$.$n)(["width:100%;"]),eFP=tt.Ay.div(["",";color:",";text-align:center;display:flex;gap:4px;&.email{",";color:",";}"],td.Ay.Caption,te.Jy.Neutral90,td.BO.Medium,te.Jy.Blue50),eFJ=(0,tt.DU)(["",";"],tQ.A.Phone`
6188    ._hj-widget-container,
6189    #_hj_feedback_container {
6190      display: none !important;
6191    }
6192  `),eFE=tt.Ay.div(["position:fixed;bottom:0;left:0;right:0;z-index:10;display:flex;flex-direction:column;gap:6px;align-items:center;background:",";border-top:1px solid ",";padding:12px 20px;padding-bottom:max(12px,env(safe-area-inset-bottom));"],te.Jy.White,te.Jy.Neutral10),eFR=tt.Ay.div(["position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);background:linear-gradient(94deg,#9ba1fb 0%,#4c89f3 47.53%,#54aff8 100%);color:white;",";",";letter-spacing:0.3px;padding:4px 8px 4px 12px;border-radius:4px;text-transform:uppercase;width:max-content;z-index:1;"],td.Ay.Tiny,td.BO.Bold),eFL=tt.Ay.div(["position:absolute;top:-16px;left:50%;transform:translate(-50%,-100%);background:",";color:white;",";padding:8px 12px;border-radius:4px;box-shadow:0px 2px 4px -1px rgba(15,20,30,0.16),0px 8px 20px -4px rgba(15,20,30,0.24);width:170px;z-index:2;&::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid ",";}",";"],te.Jy.Neutral90,td.Ay.Caption,te.Jy.Neutral90,tQ.A.Phone`
6193    display: none;
6194  `),eFN=tt.Ay.div(["display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:",";width:100%;padding:0 32px;",";",";"],te.Kz.M,tQ.A.Laptop`
6195    padding: 0 20px;
6196  `,tQ.A.Phone`
6197    padding: 0;
6198    margin-bottom: 20px;
6199  `),eFI=tt.Ay.div(["grid-column:1;justify-self:start;display:flex;"]),eFM=tt.Ay.div(["grid-column:2;display:flex;justify-content:center;min-width:0;"]),eFB=(0,tt.Ay)(tP.qJ.Close)(["grid-column:3;justify-self:end;width:34px;height:34px;flex-shrink:0;cursor:pointer;color:",";"],te.Jy.Neutral30),eFD="react",eF$=()=>{let{isPhone:e,isLaptop:t}=(0,ih.e)(),{i18n:i}=(0,e1.s)(),r=(0,e0.U)(),n=(0,e4.J)(),o=(0,eU.wA)(),[a,l]=(0,R.useState)(""),s=(0,eU.d4)(ee.Tp.availablePlans),d="historical_leads"===(0,eU.d4)(ee.Tp.scenarioName),c=window.location.hostname,u=new URLSearchParams(window.location.search),p="true"===u.get("tailoring"),h="true"===u.get("auto_apply"),x=(e=>{if(!e)return null;if(e.startsWith("/")&&!e.startsWith("//"))return e;
6199try{if(new URL(e,window.location.origin).origin===window.location.origin)return e}catch{}return null})(u.get("on_close_redirect")),m=r?.features?.geoipCode==="US";(0,R.useEffect)(()=>{o(ee.o1.fetchAvailablePlans()),o(ee.o1.fetchScenario(ei.other)),o(ee.o1.notifyPlansVisit())},[o]),(0,R.useEffect)(()=>{s.length>0&&!a&&l(s[0].name)},[s,a]),(0,R.useEffect)(()=>{(0,N._m)("Application","Open Plans")},[]);let g=s[0],y=s[1],f=!a,{planOptionsRef:b,trackPlanCardHover:_,trackPlanCardSelection:v,trackContinue:j}=(({arePlanOptionsVisible:e})=>{let t=(0,L.zy)(),i=(0,R.useRef)(performance.now()),r=(0,R.useRef)("default"===t.key?"hard":"soft"),n=(0,R.useRef)(null),o=(0,R.useRef)(!1),a=(0,R.useRef)(!1),l=(0,R.useRef)(0),s=(0,R.useRef)(!1),d=(0,R.useRef)(0),c=(0,R.useCallback)(()=>Math.round(performance.now()-i.current),[]);(0,R.useEffect)(()=>{(0,N.xP)("view_plan_selection",{label:eFD,nav_type:r.current})},[]);let u=(0,R.useCallback)(()=>{let e=document.documentElement.scrollHeight;if(e<=0)return d.current;let t=Math.round((window.scrollY+window.innerHeight)/e*100);return d.current=Math.min(100,Math.max(d.current,t)),d.current},[]);(0,R.useEffect)(()=>(window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)),[u]),(0,R.useEffect)(()=>{let e=n.current;if(!e||s.current)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(s.current=!0,t.disconnect())});return t.observe(e),()=>t.disconnect()},[e]),(0,R.useEffect)(()=>{e&&!o.current&&(o.current=!0,(0,N.xP)("see_plan_options",{label:eFD,ms_since_view_start:c()}))},[e,c]);let p=(0,R.useCallback)(()=>{l.current+=1},[]);return{planOptionsRef:n,trackPlanCardHover:p,trackPlanCardSelection:(0,R.useCallback)(()=>{l.current+=1,a.current=!0},[]),trackContinue:(0,R.useCallback)(e=>{(0,N.xP)("click_continue_plan_selection",{label:eFD,ms_since_view_start:c(),selected_plan:e,plan_actively_changed:a.current,terms_in_viewport:s.current,plan_card_interactions:l.current,max_scroll_depth:u(),plan_options_seen:o.current})},[c,u])}})({arePlanOptionsVisible:!!g}),A=e=>{if(!e)return;j(e),(0,N.xP)("click_upgrade_button",{where:"plans_page"}),(0,N._m)("Purchase funnel","Click Plan Choice",{eventLabel:e});let t=new URLSearchParams(window.location.search);t.set("plan",e),window.location.href=`/app/billing/payment?${t.toString()}`},C=e=>e.replace(/\s+/g," ").trim(),w=s.find(e=>e.name===a),k=(e=>{if(!e)return{text:"",hasDiscount:!1};if(!e.isRecurring)return{text:i.t("builder.billing.plans.billing.one_time_payment"),hasDiscount:!1};let t="month"===e.interval&&1===e.intervalCount||"week"===e.interval&&4===e.intervalCount,r="month"===e.interval&&3===e.intervalCount,o="year"===e.interval&&1===e.intervalCount,a=e.hasTrial&&e.trialDays&&e.trialDays>0&&!n?.isPostPremium,l=e.trialDays||0,s=e.formattedAmountBeforeDiscount||e.formattedRecurringAmount,d=e.formattedRecurringAmountAfterDiscount||e.formattedRecurringAmount,c=a?i.t("builder.billing.plans.periods.after_trial",{count:l}).trim():"",u="";t?u=i.t("builder.billing.plans.billing.billed_monthly"):r?u=i.t("builder.billing.plans.billing.billed_quarterly"):o&&(u=i.t("builder.billing.plans.billing.billed_yearly"));let p=(r?i.t("builder.billing.plans.billing.auto_renews_to"):i.t("builder.billing.plans.billing.auto_renews_at")).trim();return e.hasDiscount?{text:C(i.t(`builder.billing.plans.billing.${r?"pricing_text_quarterly_with_discount":"pricing_text_with_discount"}`,{base_text:p,trial_text:c,billing_text:u})),beforePrice:p,afterPrice:C(i.t("builder.billing.plans.billing.pricing_after_discount",{trial_text:c,billing_text:u})),originalPrice:s,discountedPrice:d,hasDiscount:!0}:{text:C(i.t(`builder.billing.plans.billing.${r?"pricing_text_quarterly_without_discount":"pricing_text_without_discount"}`,{base_text:p,price:s,trial_text:c,billing_text:u})),hasDiscount:!1}})(w),S=w?.hasTrial&&!n?.isPostPremium?Number(w.trialDays??0):0,T=()=>a?a===s[0]?.name?i$.Ox.confirmative:i$.Ox.default:i$.Ox.confirmative,P=(e=>{if(!e||!e.isRecurring)return null;let t=e.hasTrial&&e.trialDays&&e.trialDays>0&&!n?.isPostPremium,r=e.formattedRecurringAmount,o=0;"day"===e.interval?o=(e.intervalCount||1)/7:"week"===e.interval?o=e.intervalCount||1:"month"===e.interval?o=4*(e.intervalCount||1):"year"===e.interval&&(o=52*(e.intervalCount||1));let a=i.t("builder.billing.plans.billing.per_month");return(o<4&&("day"===e.interval?a=7===(e.intervalCount||1)?i.t("builder.billing.plans.billing.per_week"):i.t("builder.billing.plans.billing.per_day"):"week"===e.interval&&(a=i.t("builder.billing.plans.billing.per_week"))),t)?i.t("builder.billing.plans.billing.just_after_trial",{price:r,period:a}):i.t("builder.billing.plans.billing.just_price",{price:r,period:a})})(w),E=g?.autoApplyBenefitAddon?[{icon:eFi,text:i.t("builder.billing.plans.benefits.features.three",{credits:g.autoApplyBenefitAddon.credits,period:i.t(`builder.billing.benefits.interval.${g.autoApplyBenefitAddon.period}`)})}]:[],I=S>0?[{icon:eFr,boldText:i.t("builder.billing.plans.benefits.features.five")}]:[],M=d?[{icon:eFt,boldText:i.t("builder.billing.plans.historical_leads.features.unlimited_resumes.bold"),text:i.t("builder.billing.plans.historical_leads.features.unlimited_resumes.text")},{icon:eFa,boldText:i.t("builder.billing.plans.historical_leads.features.ai_interview.bold"),text:i.t("builder.billing.plans.historical_leads.features.ai_interview.text")},{icon:eFn,boldText:i.t("builder.billing.plans.historical_leads.features.learning_library.bold"),text:i.t("builder.billing.plans.historical_leads.features.learning_library.text")},{icon:eFi,boldText:i.t("builder.billing.plans.historical_leads.features.recruiter_connections.bold"),text:i.t("builder.billing.plans.historical_leads.features.recruiter_connections.text")},...P?[{icon:eFr,boldText:P,text:i.t("builder.billing.plans.historical_leads.affordable")}]:[]]:[...h?E:[],{icon:eFt,boldText:i.t("builder.billing.plans.benefits.features.one.bold"),text:i.t("builder.billing.plans.benefits.features.one.text")},{icon:eFe,text:i.t("builder.billing.plans.benefits.features.two")},...h?[]:E,...r?.features?.learningHub?[{icon:eFo,boldText:i.t("builder.billing.plans.benefits.features.learning.bold"),text:i.t("builder.billing.plans.benefits.features.learning.text")}]:[],{icon:ez7,pricingData:k},...I],B=e=>e.isRecurring&&"month"===e.interval&&3===e.intervalCount?e.formattedMonthlyAmount||e.formattedRecurringAmount:e.hasTrial&&e.trialDays&&e.trialDays>0&&!n?.isPostPremium?e.formattedAmount||e.formattedRecurringAmount:e.formattedAmountBeforeDiscount||e.formattedRecurringAmount,D=(t,r)=>{let o=a===t.name,s=0===r,d=1===r?(e=>{if(!e.isRecurring)return"";let t="month"===e.interval&&1===e.intervalCount||"week"===e.interval&&4===e.intervalCount,r="month"===e.interval&&3===e.intervalCount,n="year"===e.interval&&1===e.intervalCount,o="week"===e.interval&&1===e.intervalCount;return"day"===e.interval&&1===e.intervalCount?i.t("builder.billing.plans.benefits.day"):o?i.t("builder.billing.plans.benefits.week"):t||r?i.t("builder.billing.plans.benefits.mo"):n?i.t("builder.billing.plans.benefits.year"):""})(t):"";return(0,J.jsxs)(eFm,{$selected:o,onMouseEnter:_,onClick:()=>{v(),l(t.name)},children:[s&&!e&&(0,J.jsx)(eFL,{children:i.t("builder.billing.plans.benefits.people_chose_this_hours",{number:(()=>{let e="plans_people_count",t=ew.D.getItem(e);if(!t){let i=Math.floor(2700);t=(Math.floor(Math.random()*(Math.floor(3e3*1.1)-i+1))+i).toString(),ew.D.setItem(e,t)}return t})()})}),(0,J.jsxs)(eFy,{children:[(0,J.jsx)(eFg,{$selected:o}),(0,J.jsxs)(eFf,{children:[(0,J.jsx)(eFb,{children:t.caption&&""!==t.caption.trim()?t.caption:t.hasTrial&&t.trialDays&&t.trialDays>0&&!n?.isPostPremium?i.t("builder.billing.plans.periods.trial_format",{count:t.trialDays}):t.interval&&t.intervalCount&&t.intervalCount>
61990?i.t(`builder.billing.plans.periods.${t.interval}`,{count:t.intervalCount}):t.name}),(0,J.jsxs)(eF_,{children:[t.hasDiscount&&(0,J.jsx)(eFA,{children:B(t)}),(0,J.jsxs)(eFv,{children:[t.hasDiscount?t.isRecurring&&"month"===t.interval&&3===t.intervalCount?t.formattedMonthlyAmountAfterDiscount||t.formattedMonthlyAmount||t.formattedRecurringAmount:t.hasTrial&&t.trialDays&&t.trialDays>0&&!n?.isPostPremium?t.formattedAmountAfterDiscount||t.formattedAmount||t.formattedRecurringAmount:t.formattedRecurringAmountAfterDiscount||t.formattedRecurringAmount:B(t),d&&(0,J.jsx)(eFj,{children:d})]})]})]})]}),s&&(0,J.jsx)(eFR,{children:t.hasDiscount?i.t("builder.billing.plans.benefits.percentage_off",{percentage:t.discountPercent}):i.t("builder.billing.plans.benefits.most_popular")})]},t.name)};return(0,J.jsxs)(eFs,{children:[(0,J.jsx)(eFJ,{}),(0,J.jsxs)(eFN,{children:[(0,J.jsx)(eFI,{children:(0,J.jsx)(sc.g,{variant:"default"})}),(0,J.jsx)(eFM,{children:(0,J.jsx)(ezp,{step:2})}),(0,J.jsx)(eFB,{onClick:()=>{window.location.href=x||window.location.origin+"/app"}})]}),(0,J.jsxs)(eFd,{children:[(0,J.jsxs)(eFc,{children:[(0,J.jsx)(eFu,{children:d?i.t("builder.billing.plans.historical_leads.title"):h?i.t("builder.billing.plans.auto_apply.title"):p?i.t("builder.billing.plans.tailoring.title"):i.t("builder.billing.plans.benefits.title")}),(0,J.jsxs)(eFp,{children:[(0,J.jsxs)(eFh,{children:[(0,J.jsxs)(eFx,{ref:b,children:[g&&D(g,0),y&&D(y,1)]}),(0,J.jsx)(eFC,{children:M.map((e,t)=>(0,J.jsxs)(eFw,{children:[(0,J.jsx)(eFk,{src:e.icon}),(0,J.jsxs)(eFS,{$isHistoricalLeads:d,children:[e.boldText&&(0,J.jsx)(eFS,{className:"bold",$isHistoricalLeads:d,children:e.boldText}),e.pricingData?e.pricingData.hasDiscount?(0,J.jsxs)(J.Fragment,{children:[e.pricingData.beforePrice," ",(0,J.jsx)("del",{children:e.pricingData.originalPrice})," ",(0,J.jsx)("strong",{children:e.pricingData.discountedPrice})," ",e.pricingData.afterPrice]}):e.pricingData.text:e.text&&(0,J.jsxs)(eFS,{$isHistoricalLeads:d,children:[" ",e.text]})]})]},t))}),t&&!e&&(0,J.jsx)(ezq,{continueOnClick:()=>A(a),continueIsDisabled:f,theme:T(),isHistoricalLeads:d,autoApplyBenefitAddon:g?.autoApplyBenefitAddon,trialDays:S}),(0,J.jsx)(ezP,{})]}),!t&&(0,J.jsx)(ezq,{continueOnClick:()=>A(a),continueIsDisabled:f,theme:T(),isHistoricalLeads:d,autoApplyBenefitAddon:g?.autoApplyBenefitAddon,trialDays:S})]})]}),(0,J.jsx)(ez9,{}),e&&(0,pj.createPortal)((0,J.jsxs)(eFE,{children:[(0,J.jsx)(eFT,{onClick:()=>A(a),theme:T(),isDisabled:f,disabled:f,children:d?i.t("builder.billing.plans.historical_leads.button"):i.t("builder.billing.plans.benefits.button")}),(0,J.jsxs)(eFP,{children:[i.t("builder.billing.plans.benefits.cancel_anytime"),(0,J.jsx)(eFP,{className:"email",children:m?"+1 (833) 998-8370":`support@${"career.io"===c||"stg.career.io"===c?"career":"resume"}.io`})]})]}),document.body)]})]})},eFO=e=>Math.round(2*e)/2,eFz=e=>{let t=eFO(e);return t<2?"bad":t<3?"poor":t<4?"average":4===t?"great":"excellent"},eFF=e=>{let t=eFO(e);return[...Array(Math.floor(t)).fill(4===t?ezm:ezx),...t%1==.5?[ezg]:[],...Array(5-Math.ceil(t)).fill(ezy)]},eFH=e=>{let t=e.intervalCount||1;switch(e.interval){case"day":return t/30;case"week":return t/4;case"year":return 12*t;default:return t}},eFV=e=>(e.recurringAmount||0)/eFH(e),eFU=e=>e.hasDiscount?e.discountRate??(e.discountPercent||0)/100:0,eFW=(e,t)=>Math.round(t*(1-eFU(e))),eFK=e=>eFV(e)*(1-eFU(e)),eFq=(e,t)=>{let i,r,n,o,a,l,s,d,c,u,{symbolAfter:p,spacing:h,decimalSeparator:x,groupSeparator:m,fractionDigits:g}=(i=(e.formattedRecurringAmount||"").trim(),n=!!(r=e.currencySymbol||"")&&i.endsWith(r)&&!i.startsWith(r),o=r?i.replace(r,""):i,a=n?/\s$/.test(o):/^\s/.test(o),l=o.trim(),s=/[,.]\d{2}$/.test(l),d=l.match(/\d([\s.,\u00a0])\d{3}/)?.[1],c=s?l.slice(-3,-2):d&&","!==d?",":".",u=Number(l.replace(/\D/g,"")),{symbolAfter:n,spacing:a?" ":"",decimalSeparator:c,groupSeparator:d??(","===c?".":","),fractionDigits:s||u!==e.recurringAmount?2:0}),[y,f]=(0===g?t:t/100).toFixed(g).split("."),b=y.replace(/\B(?=(\d{3})+(?!\d))/g,m),_=f?`${b}${x}${f}`:b;return p?`${_}${h}${e.currencySymbol}`:`${e.currencySymbol}${h}${_}`},eFG=e=>e.hasDiscount&&e.formattedAmountAfterDiscount||eFq(e,eFW(e,e.amount||0)),eFZ=e=>e.hasDiscount?e.formattedAmount||eFq(e,e.amount||0):null,eFX=e=>e.hasDiscount?e.formattedRecurringAmountAfterDiscount||eFq(e,eFW(e,e.recurringAmount||0)):e.formattedRecurringAmount,eFQ=e=>e.hasDiscount?e.formattedRecurringAmount:null,eFY=e=>1>=eFH(e)?eFX(e):eFq(e,eFK(e)),eF0=e=>e.hasDiscount?1>=eFH(e)?eFQ(e):eFq(e,eFV(e)):null,eF1=e=>{let t=e.intervalCount||1;return"year"===e.interval||"month"===e.interval&&12===t?"yearly":"month"===e.interval&&3===t?"quarterly":"month"===e.interval&&1===t||"week"===e.interval&&4===t?"monthly":null},eF2=(e,t)=>
6199!!e.hasTrial&&(e.trialDays||0)>0&&!t,eF3=(e,t)=>{let i=eFK(t),r=eFK(e);return!i||r>=i?0:Math.round((i-r)/i*100)},eF5=()=>{let e="plans_people_count",t=ew.D.getItem(e);if(!t){let i=Math.floor(2700);t=(Math.floor(Math.random()*(Math.floor(3e3*1.1)-i+1))+i).toString(),ew.D.setItem(e,t)}return t},eF4=e=>{if(!e)return null;if(e.startsWith("/")&&!e.startsWith("//"))return e;try{if(new URL(e,window.location.origin).origin===window.location.origin)return e}catch{}return null},eF6=(e,t)=>{let i,r=(i=e.intervalCount||1,"year"===e.interval||"month"===e.interval&&12===i?"yearly":"month"===e.interval&&3===i?"quarterly":"month"===e.interval&&1===i?"monthly":null);return r?t.t(`builder.billing.auto_apply_plans.period_label_${r}`):e.caption&&""!==e.caption.trim()?e.caption:e.interval&&e.intervalCount&&e.intervalCount>0?t.t(`builder.billing.plans.periods.${e.interval}`,{count:e.intervalCount}):e.name},eF8=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;padding:20px 32px;",""],tQ.$.Phone`
6200    padding: 16px 20px;
6201  `),eF9=(0,tt.Ay)(sc.g)(["",""],tQ.$.Phone`
6202    display: none;
6203  `),eF7=(0,tt.Ay)(sc.g)(["display:none;",""],tQ.$.Phone`
6204    display: block;
6205  `),eHe=(0,tt.Ay)(tP.qJ.Close)(["width:24px;height:24px;cursor:pointer;color:",";path{transform:scale(1.58);transform-origin:center;transform-box:fill-box;}"],te.Jy.Neutral30),eHt=tt.Ay.div(["display:flex;align-items:center;justify-content:center;min-height:60vh;"]),eHi=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:20px;margin-top:20px;"]),eHr=tt.Ay.h2(["",";",";color:",";text-align:center;margin:0;"],td.Ay.S,td.BO.Medium,te.Jy.Neutral90),eHn=tt.Ay.div(["display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;",""],tQ.$.Phone`
6206    gap: 8px 16px;
6207  `),eHo=tt.Ay.img(["height:76px;width:auto;flex:0 0 auto;",""],tQ.$.Phone`
6208    height: 44px;
6209  `),eHa="544px",eHl=tt.Ay.div(["background:#fff;min-height:100vh;padding-bottom:56px;"]),eHs=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:24px;max-width:1120px;margin:0 auto;padding:16px 40px 32px;",""],tQ.$.Phone`
6210    gap: 20px;
6211    padding: 8px 20px 32px;
6212  `),eHd=tt.Ay.h1(["",";",";color:",";text-align:center;margin:0;span{color:",";}",""],td.Ay.M,td.BO.Medium,te.Jy.Neutral90,te.Jy.Blue50,tQ.$.Phone`
6213    font-size: 27px;
6214    line-height: 32px;
6215  `),eHc=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:8px;"]),eHu=tt.Ay.p(["",";color:",";text-align:center;margin:0;display:none;b{",";color:",";}",""],td.Ay.Body,te.Jy.Neutral50,td.BO.Medium,te.Jy.Neutral90,tQ.$.Phone`
6216    display: block;
6217  `),eHp=tt.Ay.div(["display:flex;align-items:center;justify-content:center;gap:24px;"," ",""],tQ.$.Phone`
6218    gap: 10px;
6219  `,e=>e.$stacked&&tQ.$.Phone`
6220      flex-direction: column;
6221      gap: 12px;
6222    `),eHh=tt.Ay.div(["display:flex;"]),eHx=tt.Ay.div(["width:40px;height:40px;border-radius:999px;background:",";color:",";",";",";line-height:40px;text-align:center;border:2px solid #fff;&:not(:first-child){margin-left:-8px;}"],e=>e.$bg,e=>e.$color,td.Ay.Caption,td.BO.Medium),eHm=tt.Ay.div(["display:flex;flex-direction:column;gap:2px;"]),eHg=tt.Ay.div(["display:flex;gap:2px;",""],tQ.$.Phone`
6223    display: none;
6224  `),eHy=(0,tt.Ay)(tP.EK.Star)(["width:20px;height:20px;color:",";"],te.Jy.Amber40),eHf=tt.Ay.span(["",";color:",";"],td.Ay.Caption,te.Jy.Neutral90),eHb=tt.Ay.div(["display:flex;align-items:center;justify-content:center;gap:8px;",""],tQ.$.Phone`
6225    order: 1;
6226  `),eH_=tt.Ay.span(["",";",";color:",";"],td.Ay.Caption,td.BO.Medium,te.Jy.Neutral90),eHv=tt.Ay.div(["display:flex;gap:2px;"]),eHj=tt.Ay.img(["width:18px;height:18px;"]),eHA=tt.Ay.span(["display:flex;align-items:center;gap:4px;",""],tQ.$.Phone`
6227    display: none;
6228  `),eHC=tt.Ay.span(["",";color:",";display:none;",""],td.Ay.Caption,te.Jy.Neutral50,tQ.$.Phone`
6229    display: inline;
6230  `),eHw=(0,tt.Ay)(tP.EK.Star)(["width:16px;height:16px;color:",";"],"#00b67a"),eHk=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;width:",";max-width:100%;"],eHa),eHS=tt.Ay.div(["position:relative;border:",";margin:",";"," border-radius:12px;overflow:",";cursor:pointer;background:",";transition:border-color 0.14s ease;&:hover{border-color:",";}"],e=>
6230e.$selected?`2px solid ${te.Jy.Blue50}`:e.$highlighted?`1px solid ${te.Jy.Blue50}`:`1px solid ${te.Jy.Neutral15}`,e=>e.$selected?"0":"1px",e=>e.$badged&&"margin-bottom: 14px;",e=>e.$badged?"visible":"hidden",e=>e.$selected||e.$highlighted?te.Jy.Blue50:"#fff",te.Jy.Blue50),eHT=tt.Ay.div(["background:",";border-radius:12px 12px 0 0;color:#fff;",";",";text-align:center;padding:5px;"],te.Jy.Blue50,td.Ay.Caption,td.BO.Medium),eHP=tt.Ay.div(["position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);background:linear-gradient(94deg,#9ba1fb 0%,#4c89f3 47.53%,#54aff8 100%);color:#fff;",";",";letter-spacing:0.3px;padding:4px 8px 4px 12px;border-radius:4px;text-transform:uppercase;width:max-content;z-index:1;"],td.Ay.Tiny,td.BO.Bold),eHJ=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:12px;padding:",";",""],e=>e.$compact?"16px 24px":"24px",e=>e.$inset&&`
6231    background: #fff;
6232    border-radius: 8px;
6233  `),eHE=tt.Ay.div(["display:flex;align-items:center;gap:12px;"]),eHR=tt.Ay.div(["width:20px;height:20px;border-radius:999px;flex:none;box-sizing:border-box;display:grid;place-items:center;background:",";border:",";"],e=>e.$selected?te.Jy.Blue50:"#fff",e=>e.$selected?"none":`2px solid ${te.Jy.Neutral30}`),eHL=tt.Ay.div(["width:8px;height:8px;border-radius:999px;background:#fff;",""],tQ.$.Phone`
6234    display: none;
6235  `),eHN=(0,tt.Ay)(tP.EK.Tick)(["display:none;width:20px;height:20px;fill:#fff;",""],tQ.$.Phone`
6236    display: block;
6237  `),eHI=tt.Ay.span(["",";",";color:",";"],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90),eHM=tt.Ay.span(["",";",";color:",";"],td.Ay.S,td.BO.Medium,te.Jy.Neutral90),eHB=tt.Ay.div(["display:flex;flex-direction:column;align-items:flex-end;gap:2px;"]),eHD=tt.Ay.span(["display:flex;align-items:baseline;gap:8px;",";",";color:",";"],td.Ay.S,td.BO.Medium,te.Jy.Neutral90),eH$=tt.Ay.span(["",";",";color:",";text-decoration:line-through;"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50),eHO=tt.Ay.span(["",";",";color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50),eHz=tt.Ay.span(["",";color:",";text-align:right;"],td.Ay.Caption,te.Jy.Green60),eHF=tt.Ay.span(["",";color:",";text-align:center;"],td.Ay.Caption,te.Jy.Neutral50),eHH=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:10px;width:",";max-width:100%;"],eHa),eHV=(0,tt.Ay)(i$.$n)(["width:100%;min-height:56px;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:10px;",""],tQ.$.Phone`
6238    min-height: 52px;
6239    border-radius: 999px;
6240  `),eHU=(0,tt.Ay)(tP.EK.ArrowRightRegular)(["width:28px;height:28px;color:#fff;"]),eHW=tt.Ay.span(["",";color:",";text-align:center;"],td.Ay.Caption,te.Jy.Neutral50),eHK=tt.Ay.div(["background:",";border-radius:8px;padding:24px;display:flex;flex-direction:column;gap:16px;width:",";max-width:100%;box-sizing:border-box;",""],te.Jy.Neutral5,eHa,tQ.$.Phone`
6241    width: calc(100% + 40px);
6242    max-width: none;
6243    margin: 0 -20px;
6244    padding: 20px;
6245    border-radius: 0;
6246  `),eHq=tt.Ay.span(["",";",";letter-spacing:0.08em;text-transform:uppercase;color:",";"],td.Ay.Tiny,td.BO.DemiBold,te.Jy.Neutral90),eHG=tt.Ay.p(["",";color:",";margin:0;a{color:",";text-decoration:none;}b{",";}"],td.Ay.Caption,te.Jy.Neutral70,te.Jy.Blue50,td.BO.Medium),eHZ=tt.Ay.div(["display:flex;flex-direction:column;gap:16px;width:",";max-width:100%;margin-top:8px;"],eHa),eHX=tt.Ay.h2(["",";",";color:",";text-align:center;margin:0;"],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90),eHQ=tt.Ay.div(["display:flex;align-items:flex-start;gap:8px;"]),eHY=(0,tt.Ay)(tP.qJ.CircleSuccess)(["width:20px;height:20px;flex:none;margin-top:2px;color:",";"],te.Jy.Green50),eH0=tt.Ay.span(["",";color:",";b{",";}"],td.Ay.Caption,te.Jy.Neutral80,td.BO.Medium),eH1=(0,tt.Ay)(eHi)(["",""],tQ.$.Phone`
6247    order: 2;
6248  `),eH2=(0,tt.Ay)(eHn)(["max-width:",";"],eHa),eH3=[ez4,ez5,ez6,ez2,ez3,ez1,ez8],eH5="builder.billing.auto_apply_plans",eH4=[{bg:te.Jy.Blue20,color:te.Jy.Blue70},{bg:te.Jy.Green20,color:te.Jy.Green70},{bg:te.Jy.Amber20,color:te.Jy.Amber70},{bg:te.Jy.Indigo20,color:te.Jy.Indigo70},{bg:te.Jy.Orange20,color:te.Jy.Orange70}],eH6=["benefit_1","benefit_2","benefit_3","benefit_4","benefit_5","benefit_6"],eH8=({selected:e})=>(0,J.jsx)(eHR,{$selected:e,children:e&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(eHL,{}),(0,J.jsx)(eHN,{})]})}),eH9=()=>{let{i18n:e}=(0,e1.s)(),t=(0,eU.wA)(),i=(0,e4.J)(),r=(0,e0.U)()?.supportEmail,n=(0,eU.d4)(ee.Tp.availablePlans),o=ezh(),a=(0,r2.I)({queryKey:["autoApplyStats"],queryFn:async()=>(await eMq.R3.get("/auto-apply-stats")).data,useErrorBoundary:!1,retry:!1}),[l,s]=(0,R.useState)(""),[d]=(0,R.useState)(eF5),c=a.data?.applicationsToday??0,u=a.data?.applicantInitials??[],p=c>0&&u.length>0,h=o.data?.score.stars??0,x=eFF(h),m=o.data?.number_of_reviews?.total??0,g=n.find(e=>eF2(e,i?.isPostPremium)),y=g??n[0],f=n.find(e=>e!==y)??n[1];(0,R.useEffect)(()=>{t(ee.o1.fetchAvailablePlans()),t(ee.o1.fetchScenario(ei.autoApply)),t(ee.o1.notifyPlansVisit())},[t]),(0,R.useEffect)(()=>{(0,N._m)("Application","Open Plans")},[]),(0,R.useEffect)(()=>{y&&!l&&s(y.name)},[y,l]);
6248let b=eF4(new URLSearchParams(window.location.search).get("on_close_redirect")),_=()=>{window.location.href=b||window.location.origin+"/app"};if(!i||!y||!f)return(0,J.jsxs)(eHl,{children:[(0,J.jsxs)(eF8,{children:[(0,J.jsx)(eF9,{variant:"default"}),(0,J.jsx)(eF7,{variant:"small"}),(0,J.jsx)(eHe,{onClick:_})]}),(0,J.jsx)(eHt,{children:(0,J.jsx)(du.y$,{})})]});let v=!l||l===y.name,j=l===f.name,A=eF1(y),C=g?e.t(`${eH5}.trial_label`,{count:g.trialDays}):eF6(y,e),w=g?eFG(g):A?(0,J.jsxs)(J.Fragment,{children:[eFY(y),(0,J.jsx)(eHO,{children:e.t(`${eH5}.price_suffix`)})]}):eFX(y),k=g?eFZ(g):A?eF0(y):eFQ(y),S=eF1(f),T="quarterly"===S,P=eF6(f,e),E=S?eFY(f):eFX(f),L=eFK(f),I=eF3(f,y),M=I>0?eFq(f,eFK(y)):null,B=S?eF0(f)??M:eFQ(f),D=!!(S&&I>0),$=!!(D&&f.hasDiscount&&A),O=y.hasDiscount?y.discountPercent:null,z=T&&L<3e3;return(0,J.jsxs)(eHl,{children:[(0,J.jsxs)(eF8,{children:[(0,J.jsx)(eF9,{variant:"default"}),(0,J.jsx)(eF7,{variant:"small"}),(0,J.jsx)(eHe,{onClick:_})]}),(0,J.jsxs)(eHs,{children:[(0,J.jsxs)(eHc,{children:[(0,J.jsx)(eHd,{dangerouslySetInnerHTML:{__html:e.t(`${eH5}.title`)}}),z&&(0,J.jsx)(eHu,{dangerouslySetInnerHTML:{__html:e.t(`${eH5}.subtitle`)}})]}),p&&(0,J.jsxs)(eHp,{$stacked:T,children:[(0,J.jsx)(eHh,{children:u.map((e,t)=>{let{bg:i,color:r}=eH4[t%eH4.length];return(0,J.jsx)(eHx,{$bg:i,$color:r,children:e},t)})}),(0,J.jsxs)(eHm,{children:[(0,J.jsx)(eHg,{children:[0,1,2,3,4].map(e=>(0,J.jsx)(eHy,{},e))}),(0,J.jsx)(eHf,{children:e.t(`${eH5}.applications_done`,{count:c})})]})]}),(0,J.jsxs)(eHb,{children:[(0,J.jsx)(eH_,{children:e.t(`builder.billing.trustpilot.${eFz(h)}`)}),(0,J.jsx)(eHv,{children:x.map((e,t)=>(0,J.jsx)(eHj,{src:e,alt:""},t))}),(0,J.jsxs)(eHA,{children:[(0,J.jsx)(eHw,{}),(0,J.jsx)(eH_,{children:"Trustpilot"})]}),m>0&&(0,J.jsx)(eHC,{children:e.t(`${eH5}.reviews_on_trustpilot`,{count:m,number:m.toLocaleString()})})]}),(0,J.jsxs)(eHk,{children:[(0,J.jsxs)(eHS,{$selected:v,$highlighted:!0,$badged:!!O,onClick:()=>s(y.name),children:[(0,J.jsx)(eHT,{children:e.t(`${eH5}.most_popular`)}),(0,J.jsxs)(eHJ,{$inset:!0,children:[(0,J.jsxs)(eHE,{children:[(0,J.jsx)(eH8,{selected:v}),(0,J.jsx)(eHI,{children:C})]}),k?(0,J.jsxs)(eHD,{children:[(0,J.jsx)(eH$,{children:k}),(0,J.jsx)(eHM,{children:w})]}):(0,J.jsx)(eHM,{children:w})]}),O&&(0,J.jsx)(eHP,{children:e.t("builder.billing.plans.benefits.percentage_off",{percentage:O})})]}),(0,J.jsx)(eHS,{$selected:j,onClick:()=>s(f.name),children:(0,J.jsxs)(eHJ,{$compact:!0,$inset:j,children:[(0,J.jsxs)(eHE,{children:[(0,J.jsx)(eH8,{selected:j}),(0,J.jsx)(eHI,{children:P})]}),(0,J.jsxs)(eHB,{children:[(0,J.jsxs)(eHD,{children:[B&&(0,J.jsx)(eH$,{children:B}),E,S&&(0,J.jsx)(eHO,{children:e.t(`${eH5}.price_suffix`)})]}),"monthly"===S?(0,J.jsx)(eHz,{children:e.t(`${eH5}.billed_monthly_note`)}):D?(0,J.jsx)(eHz,{children:$?e.t(`${eH5}.save_note_vs_baseline`,{percentage:I,baseline:e.t(`${eH5}.period_${A}`),total:eFX(f),period:e.t(`${eH5}.period_${S}`)}):e.t(`${eH5}.save_note`,{percentage:I,total:eFX(f),period:e.t(`${eH5}.period_${S}`)})}):S?(0,J.jsx)(eHz,{children:e.t(`${eH5}.billed_note`,{total:eFX(f),period:e.t(`${eH5}.period_${S}`)})}):null]})]})}),v&&g&&(0,J.jsx)(eHF,{children:e.t(`${eH5}.renewal_note`,{days:g.trialDays,amount:eFX(g)})})]}),(0,J.jsxs)(eHH,{children:[(0,J.jsxs)(eHV,{theme:i$.Ox.default,onClick:()=>{let e=j?f.name:y.name;(0,N.xP)("click_upgrade_button",{where:"plans_page"}),(0,N._m)("Purchase funnel","Click Plan Choice",{eventLabel:e});let t=new URLSearchParams(window.location.search);t.set("plan",e),window.location.href=`/app/billing/payment?${t.toString()}`},children:[e.t(`${eH5}.cta`),(0,J.jsx)(eHU,{})]}),v&&(0,J.jsx)(eHW,{children:e.t(`${eH5}.people_chose`,{number:d})})]}),(0,J.jsxs)(eHK,{children:[(0,J.jsx)(eHq,{children:e.t(`${eH5}.guarantees_label`)}),(0,J.jsx)(eHG,{dangerouslySetInnerHTML:{__html:e.t(`${eH5}.${v?"guarantees_text":"guarantees_text_cancel_only"}`,{email:r})}})]}),(0,J.jsxs)(eHZ,{children:[(0,J.jsx)(eHX,{children:e.t(`${eH5}.benefits_title`)}),eH6.map(t=>(0,J.jsxs)(eHQ,{children:[(0,J.jsx)(eHY,{}),(0,J.jsx)(eH0,{dangerouslySetInnerHTML:{__html:e.t(`${eH5}.${t}`)}})]},t))]}),(0,J.jsxs)(eH1,{children:[(0,J.jsx)(eHr,{children:e.t(`${eH5}.hired_by_title`)}),(0,J.jsx)(eH2,{children:eH3.map((e,t)=>(0,J.jsx)(eHo,{src:e,alt:""},t))})]})]})]})};var eH7=i(43612);let eVe={[eZ.VC.resume]:"resumes",[eZ.VC.coverLetter]:"cover-letters"},eVt=Symbol("downloadPlansDocumentPreview"),eVi=e=>(0,J.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[(0,J.jsx)("path",{d:"M12 3V15",stroke:"currentColor",strokeWidth:"1.9",strokeLinecap:"round"}),(0,J.jsx)("path",{d:"M8.5 11.6L12 15.6L15.5 11.6",stroke:"currentColor",strokeWidth:"1.35",strokeLinecap:"round",strokeLinejoin:"miter"}),(0,J.jsx)("path",{d:"M6 19H18",stroke:"currentColor",strokeWidth:"1.9",strokeLinecap:"round"})]}),eVr="352px",eVn="240px",eVo=tt.Ay.div(["background:#fff;min-height:100vh;padding-bottom:40px;",""],tQ.$.Phone`
6249    padding-bottom: 160px;
6250  `),eVa=tt.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 40px 24px;text-align:center;",""],tQ.$.Phone`
6251    padding: 16px 24px 24px;
6252  `),eVl=tt.Ay.h1(["",";",";color:",";margin:0;max-width:1120px;span{color:",";}",""],td.Ay.M,td.BO.Medium,te.Jy.Neutral90,te.Jy.Blue50,tQ.$.Phone`
6253    font-size: 27px;
6254    line-height: 32px;
6255  `),eVs=tt.Ay.p(["",";color:",";margin:0;max-width:680px;b{",";color:",";}"],td.Ay.Body,te.Jy.Neutral50,td.BO.Medium,te.Jy.Neutral90),eVd=tt.Ay.div(["max-width:1120px;margin:0 auto;padding:0 40px;display:flex;gap:32px;align-items:flex-start;justify-content:center;",""],tQ.$.Laptop`
6256    flex-direction: column;
6257    align-items: center;
6258    gap: 20px;
6259    padding: 0 16px;
6260  `),eVc=tt.Ay.div(["flex:none;display:flex;flex-direction:column;align-items:center;gap:12px;"]),eVu=tt.Ay.div(["position:relative;width:",";aspect-ratio:1 / 1.4142;border:1px solid ",";border-radius:8px;overflow:hidden;background:",";",";",""],eVr,te.Jy.Neutral15,te.Jy.Neutral5,tr.A.light.mid,tQ.$.Phone`
6261    width: ${eVn};
6262    aspect-ratio: 1;
6263  `),eVp=tt.Ay.img(["display:block;width:100%;"]),eVh=tt.Ay.div(["position:absolute;inset:0;background:linear-gradient( to top,rgba(255,255,255,0.96) 0%,rgba(255,255,255,0.55) 32%,rgba(255,255,255,0) 62% );"]),eVx=tt.Ay.div(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:999px;background:",";display:grid;place-items:center;",";",""],te.Jy.Blue50,tr.A.light.mid,tQ.$.Phone`
6264    top: auto;
6265    left: auto;
6266    right: 16px;
6267    bottom: 16px;
6268    transform: none;
6269    width: 40px;
6270    height: 40px;
6271  `),eVm=(0,tt.Ay)(e=>(0,J.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,J.jsx)("path",{d:"M12 5.09998C13.6016 5.09998 14.9004 6.39874 14.9004 8.00037V11.0004H15C16.1046 11.0004 17 11.8958 17 13.0004V17.0004L16.9893 17.2045C16.8936 18.1458 16.1455 18.8942 15.2041 18.9896L15 19.0004H9L8.7959 18.9896C7.78735 18.8874 7.0002 18.0358 7 17.0004V13.0004C7 11.8958 7.89543 11.0004 9 11.0004H9.09961V8.00037C9.09961 6.39874 10.3984 5.09998 12 5.09998ZM9 12.8002C8.88954 12.8002 8.7998 12.8899 8.7998 13.0004V17.0004C8.80002 17.1106 8.88967 17.2006 9 17.2006H15C15.1103 17.2006 15.2 17.1106 15.2002 17.0004V13.0004C15.2002 12.8899 15.1105 12.8002 15 12.8002H9ZM12 6.90076C11.3925 6.90076 10.9004 7.39285 10.9004 8.00037V11.0004H13.0996V8.00037C13.0996 7.39285 12.6075 6.90076 12 6.90076Z",fill:"currentColor"})}))(["width:24px;height:24px;color:#fff;",""],tQ.$.Phone`
6272    width: 20px;
6273    height: 20px;
6274  `),eVg=tt.Ay.span(["display:flex;align-items:center;gap:4px;max-width:",";",";color:",";",""],eVr,td.Ay.Caption,te.Jy.Neutral50,tQ.$.Phone`
6275    max-width: ${eVn};
6276  `),eVy=tt.Ay.span(["min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),eVf=`
6277  width: 20px;
6278  height: 20px;
6279  flex: none;
6280`,eVb=(0,tt.Ay)(tP.qJ.PdfCurrentColor)(["",""],eVf),eV_=(0,tt.Ay)(tP.qJ.Docx)(["",""],eVf),eVv=(0,tt.Ay)(tP.qJ.Txt)(["",""],eVf),eVj=tt.Ay.div(["width:",";max-width:100%;flex:none;display:flex;flex-direction:column;gap:16px;"],"544px"),eVA=tt.Ay.div(["background:",";border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:16px;",""],te.Jy.Neutral5,tQ.$.Phone`
6281    gap: 12px;
6282    padding: 16px;
6283  `),eVC=tt.Ay.div(["display:flex;align-items:flex-start;gap:8px;"]),eVw=tt.Ay.span(["",";color:",";b{",";}"],td.Ay.Body,te.Jy.Neutral80,td.BO.Medium),eVk=`
6284  width: 24px;
6285  height: 24px;
6286  flex: none;
6287  color: ${te.Jy.Neutral80};
6288`,eVS=(0,tt.Ay)(eVi)(["",""],eVk),eVT=(0,tt.Ay)(tP.qJ.IconSend)(["",""],eVk),eVP=(0,tt.Ay)(tP.qJ.DocumentMedium)(["",""],eVk),eVJ=(0,tt.Ay)(e=>(0,J.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,J.jsx)("path",{d:"M12 3.09961C16.9153 3.09961 20.9004 7.08467 20.9004 12C20.9004 14.1333 20.148 16.0899 18.8965 17.623L21.874 20.6006C22.2253 20.952 22.2253 21.5226 21.874 21.874C21.5226 22.2254 20.9521 22.2253 20.6006 21.874L17.623 18.8965C16.0899 20.148 14.1333 20.9004 12 20.9004C7.08467 20.9004 3.09961 16.9153 3.09961 12C3.09961 7.08467 7.08467 3.09961 12 3.09961ZM12 4.90039C8.07878 4.90039 4.90039 8.07878 4.90039 12C4.90039 15.9212 8.07878 19.0996 12 19.0996C15.9212 19.0996 19.0996 15.9212 19.0996 12C19.0996 8.07878 15.9212 4.90039 12 4.90039ZM12 13.5996C12.7933 13.5996 13.5634 13.8417 14.2314 14.2871C14.8979 14.7315 15.436 15.3603 15.8047 16.0977C16.027 16.5422 15.8469 17.0824 15.4023 17.3047C14.9578 17.527 14.4176 17.3469 14.1953 16.9023C13.956 16.4236 13.6191 16.0429 13.2324 15.7852C12.8473 15.5284 12.4228 15.4004 12 15.4004C11.8247 15.4004 11.6499 15.4224 11.4785 15.4658C11.2343 15.5277 10.9944 15.6339 10.7676 15.7852C10.3809 16.0429 10.044 16.4236 9.80469 16.9023C9.5824 17.3469 9.04224 17.527 8.59766 17.3047C8.15308 17.0824 7.97302 16.5422 8.19531 16.0977C8.564 15.3603 9.10206 14.7315 9.76855 14.2871C10.1607 14.0257 10.5889 13.8342 11.0371 13.7207C11.3512 13.6412 11.6741 13.5996 12 13.5996ZM12 6.59961C13.7397 6.59961 15.1504 8.0103 15.1504 9.75C15.1504 11.4897 13.7397 12.9004 12 12.9004C10.2603 12.9004 8.84961 11.4897 8.84961 9.75C8.84961 8.0103 10.2603 6.59961 12 6.59961ZM12 8.40039C11.2544 8.40039 10.6504 9.00442 10.6504 9.75C10.6504 10.4956 11.2544 11.0996 12 11.0996C12.7456 11.0996 13.3496 10.4956 13.3496 9.75C13.3496 9.00442 12.7456 8.40039 12 8.40039Z",fill:"currentColor"})}))(["",""],eVk),eVE=(0,tt.Ay)(e=>(0,J.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[(0,J.jsx)("path",{d:"M8.60001 3.00001C8.60001 2.50295 9.00295 2.10001 9.50001 2.10001H14.5C14.9971 2.10001 15.4 2.50295 15.4 3.00001C15.4 3.49706 14.9971 3.90001 14.5 3.90001L9.50001 3.90001C9.00295 3.90001 8.60001 3.49706 8.60001 3.00001Z",fill:"currentColor"}),(0,J.jsx)("path",{d:"M16.15 12.5C16.15 11.955 16.0427 11.4154 15.8341 10.9119C15.6255 10.4084 15.3199 9.95088 14.9345 9.56551C14.5491 9.18015 14.0916 8.87446 13.5881 8.66591C13.0846 8.45735 12.545 8.35001 12 8.35001C11.5029 8.35001 11.1 8.75295 11.1 9.25001C11.1 9.74706 11.5029 10.15 12 10.15C12.3086 10.15 12.6142 10.2108 12.8993 10.3289C13.1844 10.447 13.4435 10.6201 13.6617 10.8383C13.8799 11.0565 14.053 11.3156 14.1711 11.6007C14.2892 11.8858 14.35 12.1914 14.35 12.5C14.35 12.9971 14.7529 13.4 15.25 13.4C15.7471 13.4 16.15 12.9971 16.15 12.5Z",fill:"currentColor"}),(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.8367 9.66815C19.2086 10.566 19.4 11.5282 19.4 12.5C19.4 13.4718 19.2086 14.4341 18.8367 15.3319C18.4648 16.2297 17.9197 17.0454 17.2326 17.7326C16.5454 18.4198 15.7297 18.9648 14.8319 19.3367C13.9341 19.7086 12.9718 19.9 12 19.9C11.0282 19.9 10.066 19.7086 9.16815 19.3367C8.27034 18.9648 7.45457 18.4198 6.76742 17.7326C6.08026 17.0454 5.53518 16.2297 5.1633 15.3319C4.79141 14.4341 4.60001 13.4718 4.60001 12.5C4.60001 11.5282 4.79141 10.566 5.1633 9.66815C5.53518 8.77034 6.08026 7.95457 6.76742 7.26742C7.45457 6.58026 8.27034 6.03518 9.16815 5.6633C10.066 5.29141 11.0282 5.10001 12 5.10001C12.9718 5.10001 13.9341 5.29141 14.8319 5.6633C15.7297 6.03518 16.5454 6.58026 17.2326 7.26742C17.9198 7.95457 18.4648 8.77034 18.8367 9.66815ZM17.6 12.5C17.6 11.7646 17.4552 11.
62880364 17.1737 10.357C16.8923 9.67756 16.4798 9.06022 15.9598 8.54021C15.4398 8.0202 14.8225 7.60771 14.143 7.32628C13.4636 7.04485 12.7354 6.90001 12 6.90001C11.2646 6.90001 10.5364 7.04485 9.85698 7.32628C9.17756 7.60771 8.56022 8.0202 8.04021 8.54021C7.5202 9.06022 7.10771 9.67756 6.82628 10.357C6.54485 11.0364 6.40001 11.7646 6.40001 12.5C6.40001 13.2354 6.54485 13.9636 6.82628 14.643C7.10771 15.3225 7.5202 15.9398 8.04021 16.4598C8.56022 16.9798 9.17756 17.3923 9.85698 17.6737C10.5364 17.9552 11.2646 18.1 12 18.1C12.7354 18.1 13.4636 17.9552 14.143 17.6737C14.8225 17.3923 15.4398 16.9798 15.9598 16.4598C16.4798 15.9398 16.8923 15.3225 17.1737 14.643C17.4552 13.9636 17.6 13.2354 17.6 12.5Z",fill:"currentColor"})]}))(["",""],eVk),eVR=tt.Ay.div(["display:flex;flex-direction:column;gap:8px;"]),eVL=tt.Ay.div(["position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;border:",";margin:",";border-radius:12px;padding:16px 24px 16px 20px;cursor:pointer;transition:border-color 0.14s ease;&:hover{border-color:",";}",""],e=>e.$selected?`2px solid ${te.Jy.Blue50}`:`1px solid ${te.Jy.Neutral15}`,e=>e.$selected?"0":"1px",te.Jy.Blue50,tQ.$.Phone`
6289    padding: 16px;
6290  `),eVN=tt.Ay.div(["display:flex;align-items:center;gap:12px;"]),eVI=tt.Ay.div(["width:20px;height:20px;border-radius:999px;flex:none;box-sizing:border-box;display:grid;place-items:center;background:",";border:",";"],e=>e.$selected?te.Jy.Blue50:"#fff",e=>e.$selected?"none":`1px solid ${te.Jy.Neutral30}`),eVM=tt.Ay.div(["width:8px;height:8px;border-radius:999px;background:#fff;"]),eVB=tt.Ay.div(["display:flex;flex-direction:column;gap:2px;"]),eVD=tt.Ay.span(["",";",";color:",";"],td.Ay.Subhead,td.BO.Medium,te.Jy.Neutral90),eV$=tt.Ay.span(["",";color:",";"],td.Ay.Caption,te.Jy.Neutral50),eVO=tt.Ay.div(["display:flex;align-items:baseline;gap:12px;",""],tQ.$.Phone`
6291    flex-direction: column;
6292    align-items: flex-end;
6293    gap: 2px;
6294  `),eVz=tt.Ay.div(["position:absolute;top:0;right:24px;transform:translateY(-50%);display:flex;align-items:center;gap:6px;z-index:1;",""],tQ.$.Phone`
6295    right: 16px;
6296  `),eVF=tt.Ay.div(["background:linear-gradient(94deg,#9ba1fb 0%,#4c89f3 47.53%,#54aff8 100%);color:#fff;",";",";letter-spacing:0.3px;padding:4px 8px;border-radius:4px;text-transform:uppercase;white-space:nowrap;"],td.Ay.Tiny,td.BO.Bold),eVH=tt.Ay.span(["",";",";letter-spacing:0.08em;text-transform:uppercase;color:",";background:",";border-radius:4px;padding:4px 8px;white-space:nowrap;align-self:center;",""],td.Ay.Tiny,td.BO.DemiBold,te.Jy.Blue50,te.Jy.Blue10,tQ.$.Phone`
6297    display: none;
6298  `),eVV=tt.Ay.span(["",";",";color:",";white-space:nowrap;"],td.Ay.S,td.BO.Medium,te.Jy.Neutral90),eVU=tt.Ay.span(["",";",";color:",";text-decoration:line-through;"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50),eVW=tt.Ay.span(["",";",";color:",";"],td.Ay.Body,td.BO.Regular,te.Jy.Neutral50),eVK=tt.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),eVq=(0,tt.Ay)(i$.$n)(["width:100%;min-height:48px;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:8px;"]),eVG=(0,tt.Ay)(eVi)(["width:20px;height:20px;flex:none;color:#fff;"]),eVZ=tt.Ay.span(["",";color:",";text-align:center;a{color:",";text-decoration:none;}"],td.Ay.Caption,te.Jy.Neutral50,te.Jy.Blue50),eVX=tt.Ay.div(["display:none;"," ",""],tQ.$.Phone`
6299    position: fixed;
6300    left: 0;
6301    right: 0;
6302    bottom: 0;
6303    z-index: 10;
6304    box-sizing: border-box;
6305    display: flex;
6306    flex-direction: column;
6307    gap: 12px;
6308    padding: 32px 16px max(16px, env(safe-area-inset-bottom));
6309    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 24%, #fff 100%);
6310    transition:
6311      opacity 0.16s ease-out,
6312      transform 0.16s ease-out;
6313  `,e=>e.$hidden&&tQ.$.Phone`
6314      opacity: 0;
6315      pointer-events: none;
6316      transform: translateY(12px);
6317    `),eVQ=tt.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:12px;"]),eVY=tt.Ay.div(["display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:24px;padding:0 40px;",""],tQ.$.Phone`
6318    gap: 8px;
6319    padding: 0 16px;
6320  `),eV0=tt.Ay.span(["",";",";color:",";"],td.Ay.Caption,td.BO.Medium,te.Jy.Neutral90),eV1=tt.Ay.div(["display:flex;gap:2px;"]),eV2=tt.Ay.img(["width:18px;height:18px;"]),eV3=tt.Ay.span(["",";color:",";"],td.Ay.Caption,te.Jy.Neutral50),eV5=[ez4,ez5,ez6,ez2,ez3,ez1,ez8],eV4="builder.billing.download_plans",eV6="builder.billing.auto_apply_plans",eV8=[{key:"feature_downloads",Icon:eVS},{key:"feature_apply",Icon:eVT},{key:"feature_tailor",Icon:eVP},{key:"feature_recruiters",Icon:eVJ},{key:"feature_time",Icon:eVE}],eV9={[eZ.hR.pdf]:"pdf",[eZ.hR.tr_pdf]:"pdf",[eZ.hR.docx]:"docx",[eZ.hR.tr_doc]:"docx",[eZ.hR.txt]:"txt"},eV7={pdf:eVb,docx:eV_,txt:eVv},eUe={quarterly:3},eUt=({selected:e})=>(0,J.jsx)(eVI,{$selected:e,children:e&&(0,J.jsx)(eVM,{})}),eUi=()=>{let e,{i18n:t}=(0,e1.s)(),i=(0,eU.wA)(),r=(0,e4.J)(),n=(0,e0.U)()?.supportEmail,o=(0,eU.d4)(ee.Tp.availablePlans),a=ezh(),[l,s]=(0,R.useState)(""),{ctaRef:d,isBarHidden:c}=(()=>{let[e,t]=(0,R.useState)(null),[i,r]=(0,R.useState)(!1);return(0,R.useEffect)(()=>
6320{if(!e)return;let t=new IntersectionObserver(([e])=>r(e.intersectionRatio>=.35),{threshold:[0,.35,1]});return t.observe(e),()=>t.disconnect()},[e]),{ctaRef:t,isBarHidden:i}})(),u=new URLSearchParams(window.location.search),p=u.get("document_format"),h=(({id:e,type:t,template:i,format:r})=>{let n=t?eVe[t]:void 0,o=t===eZ.VC.trDocument,{data:a}=(0,r2.I)([eVt,e,t,i,r],async({signal:t})=>{if(o){let{data:i}=await Y.R3.get(`/documents/${e}`,{signal:t});return{previewUrl:i.thumbnail?.url,fileName:i.files?.[0]?.filename}}let{data:a}=await Y.uE.get(`/${n}/${e}`,{signal:t});return{previewUrl:(0,tv.I)(a,{size:352,template:i||void 0}),fileName:r&&(0,eH7.n)(a,r)}},{enabled:!!e&&(o||!!n),useErrorBoundary:!1});return a})({id:Number(u.get("document"))||null,type:u.get("document_type"),template:u.get("document_template"),format:p}),x=a.data?.score.stars??0,m=eFF(x),g=a.data?.number_of_reviews?.total??0,y=o.find(e=>eF2(e,r?.isPostPremium)),f=y?[y,...o.filter(e=>e!==y)]:[...o];(0,R.useEffect)(()=>{i(ee.o1.fetchAvailablePlans()),i(ee.o1.fetchScenario(ei.download)),i(ee.o1.notifyPlansVisit())},[i]),(0,R.useEffect)(()=>{(0,N._m)("Application","Open Plans")},[]);let b=f[0]?.name;(0,R.useEffect)(()=>{b&&!l&&s(b)},[b,l]);let _=eF4(u.get("on_close_redirect")),v=p&&eV9[p]||"pdf",j=eV7[v],A=()=>{window.location.href=_||window.location.origin+"/app"};if(!r||!f.length)return(0,J.jsxs)(eVo,{children:[(0,J.jsxs)(eF8,{children:[(0,J.jsx)(eF9,{variant:"default"}),(0,J.jsx)(eF7,{variant:"small"}),(0,J.jsx)(eHe,{onClick:A})]}),(0,J.jsx)(eHt,{children:(0,J.jsx)(du.y$,{})})]});let C=(l||b)===b,w=o.map(eFK).filter(Boolean),k=w.length>0&&3e3>Math.min(...w),S=y??f[0],T=()=>{let e=l||f[0].name;(0,N.xP)("click_upgrade_button",{where:"plans_page"}),(0,N._m)("Purchase funnel","Click Plan Choice",{eventLabel:e});let t=new URLSearchParams(window.location.search);t.set("plan",e),window.location.href=`/app/billing/payment?${t.toString()}`},P=e=>{let i=eFX(e),r=eF1(e),n="monthly"===r?t.t(`${eV4}.trial_note_monthly`,{amount:i}):r?t.t(`${eV4}.trial_note_period`,{amount:i,period:t.t(`${eV6}.period_${r}`)}):t.t(`${eV4}.trial_note_plain`);return{label:t.t(`${eV6}.trial_label`,{count:e.trialDays}),note:n,price:eFG(e),originalPrice:eFZ(e),suffix:null}},E=e=>{let i=eF1(e),r=i?eUe[i]:void 0,n=r?t.t(`${eV4}.period_every_months`,{count:r}):i&&t.t(`${eV6}.period_${i}`);return{label:eF6(e,t),note:i?t.t(`${eV6}
6320.billed_note`,{total:eFX(e),period:n}):null,price:eFY(e),originalPrice:eF0(e)??(eF3(e,S)>0?eFq(e,eFK(S)):null),suffix:i?t.t(`${eV6}.price_suffix`):null}},L=(e=f.find(e=>e.name===(l||b))||f[0])===y?P(e):E(e);return(0,J.jsxs)(eVo,{children:[(0,J.jsxs)(eF8,{children:[(0,J.jsx)(eF9,{variant:"default"}),(0,J.jsx)(eF7,{variant:"small"}),(0,J.jsx)(eHe,{onClick:A})]}),(0,J.jsxs)(eVa,{children:[(0,J.jsx)(eVl,{dangerouslySetInnerHTML:{__html:t.t(`${eV4}.title`)}}),k&&(0,J.jsx)(eVs,{dangerouslySetInnerHTML:{__html:t.t(`${eV6}.subtitle`)}})]}),(0,J.jsxs)(eVd,{children:[(0,J.jsxs)(eVc,{children:[(0,J.jsxs)(eVu,{children:[h?.previewUrl&&(0,J.jsx)(eVp,{src:h.previewUrl,alt:""}),(0,J.jsx)(eVh,{}),(0,J.jsx)(eVx,{children:(0,J.jsx)(eVm,{})})]}),(0,J.jsxs)(eVg,{children:[(0,J.jsx)(j,{}),(0,J.jsx)(eVy,{children:h?.fileName||t.t(`${eV4}.file_name`,{format:v})})]})]}),(0,J.jsxs)(eVj,{children:[(0,J.jsx)(eVA,{children:eV8.map(({key:e,Icon:i})=>(0,J.jsxs)(eVC,{children:[(0,J.jsx)(i,{}),(0,J.jsx)(eVw,{dangerouslySetInnerHTML:{__html:t.t(`${eV4}.${e}`)}})]},e))}),(0,J.jsx)(eVR,{children:f.map((e,i)=>{let r=e.name===(l||b),n=e===y,o=n||0===i,a=0===i&&!!e.hasDiscount;return(0,J.jsxs)(eVL,{$selected:r,onClick:()=>s(e.name),children:[a&&(0,J.jsxs)(eVz,{children:[o&&(0,J.jsx)(eVH,{children:t.t(`${eV6}.most_popular`)}),(0,J.jsx)(eVF,{children:t.t("builder.billing.plans.benefits.percentage_off",{percentage:e.discountPercent})})]}),n?((e,i,r)=>{let{label:n,note:o,price:a,originalPrice:l}=P(e);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(eVN,{children:[(0,J.jsx)(eUt,{selected:i}),(0,J.jsxs)(eVB,{children:[(0,J.jsx)(eVD,{children:n}),(0,J.jsx)(eV$,{children:o})]})]}),(0,J.jsxs)(eVO,{children:[r&&(0,J.jsx)(eVH,{children:t.t(`${eV6}.most_popular`)}),l&&(0,J.jsx)(eVU,{children:l}),(0,J.jsx)(eVV,{children:a})]})]})})(e,r,o&&!a):((e,i,r)=>{let{label:n,note:o,price:a,suffix:l,originalPrice:s}=E(e);return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(eVN,{children:[(0,J.jsx)(eUt,{selected:i}),(0,J.jsxs)(eVB,{children:[(0,J.jsx)(eVD,{children:n}),o&&(0,J.jsx)(eV$,{children:o})]})]}),(0,J.jsxs)(eVO,{children:[r&&(0,J.jsx)(eVH,{children:t.t(`${eV6}.most_popular`)}),s&&(0,J.jsx)(eVU,{children:s}),(0,J.jsxs)(eVV,{children:[a,l&&(0,J.jsxs)(eVW,{children:[" ",l]})]})]})]})})(e,r,o&&!a)]},e.name)})}),(0,J.jsxs)(eVK,{children:[(0,J.jsxs)(eVq,{ref:d,theme:i$.Ox.default,onClick:T,children:[(0,J.jsx)(eVG,{}),t.t(`${eV4}.cta`)]}),(0,J.jsx)(eVZ,{dangerouslySetInnerHTML:{__html:t.t(`${eV4}.${C?"guarantee_note":"cancel_note"}`,{email:n})}})]})]})]}),(0,J.jsxs)(eVY,{children:[(0,J.jsx)(eV0,{children:t.t(`builder.billing.trustpilot.${eFz(x)}`)}),(0,J.jsx)(eV1,{children:m.map((e,t)=>(0,J.jsx)(eV2,{src:e,alt:""},t))}),g>0&&(0,J.jsx)(eV3,{children:t.t(`${eV6}.reviews_on_trustpilot`,{count:g,number:g.toLocaleString()})})]}),(0,J.jsxs)(eHi,{children:[(0,J.jsx)(eHr,{children:t.t(`${eV4}.hired_by_title`)}),(0,J.jsx)(eHn,{children:eV5.map((e,t)=>(0,J.jsx)(eHo,{src:e,alt:""},t))})]}),(0,J.jsxs)(eVX,{$hidden:c,children:[(0,J.jsxs)(eVQ,{children:[(0,J.jsxs)(eVB,{children:[(0,J.jsx)(eVD,{children:L.label}),L.note&&(0,J.jsx)(eV$,{children:L.note})]}),L.originalPrice?(0,J.jsxs)(eVO,{children:[(0,J.jsx)(eVU,{children:L.originalPrice}),(0,J.jsxs)(eVV,{children:[L.price,L.suffix&&(0,J.jsx)(eVW,{children:L.suffix})]})]}):(0,J.jsxs)(eVV,{children:[L.price,L.suffix&&(0,J.jsx)(eVW,{children:L.suffix})]})]}),(0,J.jsxs)(eVq,{theme:i$.Ox.default,onClick:T,children:[(0,J.jsx)(eVG,{}),t.t(`${eV4}.cta`)]})]})]})},eUr=()=>{let e=eo(),t=(0,eU.d4)(e=>X.Tp.feature(e,"ppAaNewUiPricing")),i=(0,eU.d4)(e=>X.Tp.feature(e,"ppDownloadNewUi"));if(e===et.autoApply){if(void 0===t)return null;if("v1"===t||"v2"===t)return(0,J.jsx)(eH9,{})}if(e===et.download){if(void 0===i)return null;if("v1"===i||"v2"===i)return(0,J.jsx)(eUi,{})}return(0,J.jsx)(eF$,{})},eUn=(0,R.lazy)(()=>i.e("5767").then(i.bind(i,61738))),eUo=(0,R.lazy)(()=>i.e("5767").then(i.bind(i,59542))),eUa=(0,R.lazy)(()=>i.e("5739").then(i.bind(i,13007))),eUl=(0,R.lazy)(()=>i.e("5739").then(i.bind(i,62226))),eUs=(0,R.lazy)(()=>i.e("2653").then(i.bind(i,91118))),eUd=(0,R.lazy)(()=>i.e("2653").then(i.bind(i,2308))),eUc=(0,R.lazy)(()=>i.e("2653").then(i.bind(i,66909))),eUu=(0,R.lazy)(()=>i.e("2653").then(i.bind(i,89598))),eUp=(0,R.lazy)(()=>i.e("2653").then(i.bind(i,63413))),eUh=(0,R.lazy)(()=>i.e("2653").then(i.bind(i,46749))),eUx=(0,R.lazy)(()=>Promise.all([i.e("8438"),i.e("5879")]).then(i.bind(i,12725)).then(e=>({default:e.CareerPathView2}))),eUm=(0,R.lazy)(()=>Promise.all([i.e("8438"),i.e("5879")]).then(i.bind(i,24416))),eUg=(0,R.lazy)(()=>Promise.all([i.e("8438"),i.e("5879")]).then(i.bind(i,997))),eUy=(0,R.lazy)(()=>Promise.all([i.e("8438"),i.e("5879")]).then(i.bind(i,8924)).then(e=>({default:e.LloydView}))),eUf=(0,R.lazy)(()=>Promise.all([i.e("8438"),i.e("5879")]).then(i.bind(i,34810))),eUb=(0,R.lazy)(()=>Promise.all([i.e("8438"),i.e("5879")]).then(i.bind(i,17883))),eU_=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("6958")]).then(i.bind(i,16095))),eUv=(0,R.lazy)(()=>i.e("3866").then(i.bind(i,61548))),eUj=(0,R.lazy)(()=>i.e("3866").then(i.bind(i,11813))),eUA=(0,R.lazy)(()=>i.e("3866").then(i.bind(i,24323))),eUC=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("184")]).then(i.bind(i,67382)).then(e=>({default:e.JobSearchView}))),eUw=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("184")]).then(i.bind(i,52889)).then(e=>({default:e.JobDetailsPageView}))),eUk=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("184")]).then(i.bind(i,5177)).then(e=>({default:e.CompanyPageView}))),eUS=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("184")]).then(i.bind(i,19160))),eUT=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("184")]).then(i.bind(i,64054)).then(e=>({default:e.UiKitView}))),eUP=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("184")]).then(i.bind(i,23925))),eUJ=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("184")]).then(i.bind(i,86934))),eUE=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("184")]).then(i.bind(i,95243))),eUR=(0,R.lazy)(()=>Promise.all([i.e("5727"),i.e("184")]).then(i.bind(i,51271)));(0,I.G)(()=>{let e=document.getElementById("builder-application");if(!e)return;let t=(0,M.createRoot)(e);B.d.run(eH),eV.A.connect(B.M),(0,N.mP)(),t.render((0,J.jsx)(J.Fragment,{children:(0,J.jsx)(dz,{children:(0,J.jsxs)(L.BV,{children:[(0,J.jsxs)(L.qh,{path:"/",element:(0,J.jsx)(e3,{configScope:X.l1.signUp}),children:[(0,J.jsx)(L.qh,{path:"register-resume",element:(0,J.jsx)(e_n,{documentType:eZ.VC.resume})}),(0,J.jsx)(L.qh,{path:"user-favourites",element:(0,J.jsx)(evY,{})}),(0,J.jsxs)(L.qh,{path:"/",element:(0,J.jsx)(edg,{}),children:[(0,J.jsx)(L.qh,{path:"auth/sign-in",element:(0,J.jsx)(edu,{})}),(0,J.jsx)(L.qh,{path:"auth/sign-in/create-password/:token",element:(0,J.jsx)(esU,{})}),(0,J.jsx)(L.qh,{path:"create-account",element:(0,J.jsx)(eIl,{feature:{name:"disableSignUp",compareMethod:"not"},element:(0,J.jsx)(ecY,{})})}),(0,J.jsx)(L.qh,{path:"create-resume/*",element:(0,J.jsx)(es_,{documentType:eZ.VC.resume})}),(0,J.jsx)(L.qh,{path:"create-cover-letter/*",element:(0,J.jsx)(es_,{documentType:eZ.VC.coverLetter})}),(0,J.jsx)(L.qh,{path:"upload-resume",element:(0,J.jsx)(ece,{})}),(0,J.jsx)(L.qh,{path:"mystory",element:(0,J.jsx)(ece,{})}),(0,J.jsx)(L.qh,{path:"upsider-platform-v2",element:(0,J.jsx)(ece,{})}),(0,J.jsx)(L.qh,{path:"thank-you",element:(0,J.jsx)(e_f,{})}),(0,J.jsx)(L.qh,{path:"guest-builder",element:(0,J.jsx)(eao,{})})]}),(0,J.jsx)(L.qh,{path:"auth/magic/:token",element:(0,J.jsx)(edu,{})}),(0,J.jsx)(L.qh,{path:"interview-preparation/start/*",element:(0,J.jsx)(eJY,{})}),(0,J.jsx)(L.qh,{path:"job-search/*",element:(0,J.jsx)(eOB,{})})]}),(0,J.jsxs)(L.qh,{path:"/",element:(0,J.jsx)(e3,{privateRoute:!0}),children:[(0,J.jsx)(L.qh,{path:"resumes/:id/edit",element:(0,J.jsx)(ear,{})}),(0,J.jsx)(L.qh,{path:"resumes/:id/view",element:(0,J.jsx)(ebY,{})}),(0,J.jsx)(L.qh,{path:"resumes/:id/statistics",element:(0,J.jsx)(ear,{})}),(0,J.jsx)(L.qh,{path:"cover-letters/:id/edit",element:(0,J.jsx)(eai,{})}),(0,J.jsx)(L.qh,{path:"resumes/:id/co-reg",element:(0,J.jsx)(eux,{})}),(0,J.jsx)(L.qh,{path:"upload-flow",element:(0,J.jsx)(ecB,{})}),(0,J.jsx)(L.qh,{path:"tr-documents/:id",element:(0,J.jsx)(ebB,{})}),(0,J.jsx)(L.qh,{path:"critique",element:(0,J.jsx)(eue,{})}),(0,J.jsx)(L.qh,{path:"upload-resume",element:(0,J.jsx)(ece,{})}),(0,J.jsx)(L.qh,{path:"v2/billing/plans",element:(0,J.jsx)(eUr,{})})]}),(0,J.jsxs)(L.qh,{path:"/",element:(0,J.jsx)(e3,{privateRoute:!0}),children:[(0,J.jsxs)(L.qh,{path:"/",element:(0,J.jsx)(eON,{}),children:[(0,J.jsx)(L.qh,{path:"post-signup",element:(0,J.jsx)(eUR,{})}),(0,J.jsx)(L.qh,{index:!0,element:(0,J.jsx)(Ee,{})}),(0,J.jsx)(L.qh,{path:"resumes",element:(0,J.jsx)(Ee,{defaultType:eZ.VC.resume,isDocumentsPage:!0})}),(0,J.jsx)(L.qh,{path:"cover-letters",element:(0,J.jsx)(Ee,{defaultType:eZ.VC.coverLetter,isDocumentsPage:!0})}),(0,J.jsx)(L.qh,{path:"tr-documents",element:(0,J.jsx)(Ee,{defaultType:eZ.VC.trDocument,isDocumentsPage:!0})}),(0,J.jsx)(L.qh,{path:"auto-apply",element:(0,J.jsx)(eIr,{})}),(0,J.jsx)(L.qh,{path:"auto-apply/success",element:(0,J.jsx)(eIt,{})}),(0,J.jsx)(L.qh,{path:"auto-apply/:jobId/success",element:(0,J.jsx)(eIt,{})}),(0,J.jsx)(L.qh,{path:"auto-tailored-resumes",element:(0,J.jsx)(Ee,{defaultType:eZ.VC.resume,isDocumentsPage:!0,defaultIsAutoTailored:!0})}),(0,J.jsx)(L.qh,{path:":slug",element:(0,J.jsx)(Ee,{})}),(0,J.jsx)(L.qh,{path:"resumes/:id/critique",element:(0,J.jsx)(eUn,{})}),(0,J.jsx)(L.qh,{path:"critiques",element:(0,J.jsx)(eUo,{})}),(0,J.jsx)(L.qh,{path:"account",element:(0,J.jsx)(euX,{})}),(0,J.jsx)(L.qh,{path:"interview-preparation/*",element:(0,J.jsx)(eJ0,{})}),(0,J.jsx)(L.qh,{path:"career-path",element:(0,J.jsx)(eIs,{feature:"careerPath",element:(0,J.jsx)(eUx,{})})}),(0,J.jsx)(L.qh,{path:"account/cancel-subscription",element:(0,J.jsx)(efq,{})}),(0,J.jsx)(L.qh,{path:"ui-kit",element:(0,J.jsx)(eUT,{})}),(0,J.jsx)(L.qh,{path:"offer-analyzer",element:(0,J.jsx)(eIs,{feature:"salaryAnalyzer",element:(0,J.jsx)(eUa,{})})}),(0,J.jsx)(L.qh,{path:"offer-analyzer-result",element:(0,J.jsx)(eIs,{feature:"salaryAnalyzer",element:(0,J.jsx)(eUl,{})})}),(0,J.jsxs)(L.qh,{path:"/",element:(0,J.jsx)(iQ,{}),children:[(0,J.jsx)(L.qh,{path:"job-search",element:(0,J.jsx)(eIs,{feature:"jobSearch",element:(0,J.jsx)(eUC,{})})}),(0,J.jsx)(L.qh,{path:"job-search/:externalSlugId",element:(0,J.jsx)(eIs,{feature:"jobSearchV2",element:(0,J.jsx)(eUw,{})})}),(0,J.jsx)(L.qh,{path:"company/:companyId",element:(0,J.jsx)(eIs,{feature:"companyPages",element:(0,J.jsx)(eUk,{})})}),(0,J.jsx)(L.qh,{path:"/email/job-search/recommend-alert/:subscriptionId/:externalSlugId",element:(0,J.jsx)(eIs,{feature:"jobAlerts",element:(0,J.jsx)(eUJ,{})})}),(0,J.jsx)(L.qh,{path:"/email/job-search/custom-alert/:subscriptionId/:externalSlugId",element:(0,J.jsx)(eIs,{feature:"jobAlerts",element:(0,J.jsx)(eUE,{})})}),(0,J.jsx)(L.qh,{path:"job-tracking",element:(0,J.jsx)(eIs,{feature:"jobTracking",element:(0,J.jsx)(eUS,{})})}),(0,J.jsx)(L.qh,{path:"upsider-loading",element:(0,J.jsx)(eUP,{})})]}),(0,J.jsx)(L.qh,{path:"packages",element:(0,J.jsx)(eUc,{})}),(0,J.jsx)(L.qh,{path:"career-coaching",element:(0,J.jsx)(eIs,{feature:"careerCoaching",element:(0,J.jsx)(eUu,{})})}),(0,J.jsx)(L.qh,{path:"sessions",element:(0,J.jsx)(eUp,{})}),(0,J.jsx)(L.qh,{path:"career-coaching/coach-details/:id/schedule-session",element:(0,J.jsx)(eUd,{})}),(0,J.jsx)(L.qh,{path:"explore-careers",element:(0,J.jsx)(eUg,{})}),(0,J.jsx)(L.qh,{path:"career-plans",element:(0,J.jsx)(eIs,{feature:"careerPlans",element:(0,J.jsx)(eUf,{})})}),(0,J.jsx)(L.qh,{path:"career-plans/:planSlug",element:(0,J.jsx)(eIs,{feature:"careerPlans",element:(0,J.jsx)(eUy,{})})}),(0,J.jsx)(L.qh,{path:"career-plans/execute-a-job-search",element:(0,J.jsx)(eIs,{feature:"jobSearchPlan",element:(0,J.jsx)(eUm,{})})}),(0,J.jsx)(L.qh,{path:"career-profile/*",element:(0,J.jsx)(eU_,{})}),(0,J.jsx)(L.qh,{path:"coach-listing",element:(0,J.jsx)(eUs,{})}),(0,J.jsx)(L.qh,{path:"coach-listing/coach-details/:id/schedule-session",element:(0,J.jsx)(eUd,{})}),(0,J.jsx)(L.qh,{path:"career-plans/execute-a-job-search/seven-stories-exercise",element:(0,J.jsx)(eUb,{})}),(0,J.jsx)(L.qh,{path:"onboarding-form",element:(0,J.jsx)(eUh,{})}),(0,J.jsx)(L.qh,{path:"professional-headshots",element:(0,J.jsx)(ezi,{})}),(0,J.jsx)(L.qh,{path:"professional-headshots/upload-guidelines",element:(0,J.jsx)(ezr,{})}),(0,J.jsxs)(L.qh,{path:"/",element:(0,J.jsx)(eOI,{}),children:[(0,J.jsx)(L.qh,{path:"resume-distribution",element:(0,J.jsx)(eUv,{})}),(0,J.jsx)(L.qh,{path:"resume-distribution/server-error",element:(0,J.jsx)(eOq,{})}),(0,J.jsx)(L.qh,{path:"resume-distribution/invalid-document",element:(0,J.jsx)(ezt,{})}),(0,J.jsx)(L.qh,{path:"resume-distribution/dashboard",element:(0,J.jsx)(eUj,{})}),(0,J.jsx)(L.qh,{path:"resume-distribution/edit",element:(0,J.jsx)(eUA,{})})]})]}),(0,J.jsx)(L.qh,{path:"auto-apply/:copilotId/*",element:(0,J.jsx)(eIn,{})}),(0,J.jsx)(L.qh,{path:"auto-apply/documents",element:(0,J.jsx)(eIo,{})}),(0,J.jsx)(L.qh,{path:"auto-apply/application/*",element:(0,J.jsx)(eIa,{})}),(0,J.jsx)(L.qh,{path:"premium-trail-access-loading",element:(0,J.jsx)(e_k,{})}),(0,J.jsx)(L.qh,{path:"premium-trail-activated",element:(0,J.jsx)(e_O,{})}),(0,J.jsx)(L.qh,{path:"premium-trail-onboarding",element:(0,J.jsx)(evI,{})}),(0,J.jsx)(L.qh,{path:"careerminds-post-program",element:(0,J.jsx)(evB,{})})]}),(0,J.jsx)(L.qh,{path:"/access",element:(0,J.jsx)(edx,{})})]})})}))})},14187:function(e,t,i){"use strict";i.d(t,{$:function(){return x},m:function(){return h}});var r=i(74848);i(96540);var n=i(38267),o=i(99701),a=i(14649),l=i(78561);let s=n.Ay.div(["display:flex;flex-direction:column;overflow:hidden;border-radius:8px;background-color:",";"],o.Jy.Neutral10),d=n.Ay.button(["display:flex;align-items:center;width:100%;padding:20px 24px;margin:0;border:none;background:none;outline:none;text-align:left;cursor:pointer;transition:background-color 0.15s,color 0.15s;&:hover,&:focus-visible{background-color:",";color:",";}&:not(:last-child){border-bottom:1px solid ",";}"],(0,l.j)(o.Jy.Blue20,.5),o.Jy.Blue50,o.Jy.Neutral20),c=n.Ay.div(["display:flex;flex-shrink:0;margin-right:16px;color:",";transition:color 0.15s;",":hover &{color:",";}"],o.Jy.Neutral50,d,o.Jy.Blue50),u=n.Ay.div(["flex-grow:1;"]),p=(0,n.Ay)(a.qJ.Chevron)(["margin-left:16px;flex-shrink:0;color:",";"],o.Jy.Blue50),h=({children:e,...t})=>(0,r.jsx)(s,{role:"group",...t,children:e}),x=({children:e,icon:t,...i})=>(0,r.jsxs)(d,{...i,children:[t&&(0,r.jsx)(c,{children:t}),(0,r.jsx)(u,{children:e}),(0,r.jsx)(p,{})]})},4551:function(e,t,i){"use strict";i.d(t,{W:function(){return m},A:function(){return m}}),i(18111),i(22489),i(61701);var r=i(74848),n=i(96540),o=i(40961),a=i(77378),l=i(62317),s=i(56155),d=i(86066),c=i(24184),u=i(300),p=i(7987),h=i(53247);let x=({icon:e,text:t,description:i,badge:o,marked:a,divider:l=!1,isActive:s=!1,onClick:d=()=>{},onAfterClick:c=()=>{},rawIcon:u})=>{let p=(0,n.useCallback)(e=>{d(e),c()},[d,c]);return(0,r.jsxs)(h.q7,{hasDivider:!!l,onClick:p,children:[(0,r.jsxs)(h.Vj,{isActive:s,children:[(0,r.jsx)(h.zG,{rawIcon:u,children:e}),(0,r.jsxs)(h.p4,{children:[t,o&&(0,r.jsx)(h.L7,{children:o}),a&&(0,r.jsx)(h.zs,{})]})]}),i&&(0,r.jsx)(h.gR,{children:i})]})},m=({position:e,align:t="right",actions:i=[],onClose:m=()=>{},verticalPadding:g=0})=>{let{i18n:y}=(0,a.s)(),{isPhone:f}
6320=(0,d.e)(),[b,_]=(0,n.useState)(!1),v=(0,c.E)(),j=(0,n.useRef)(null),A=(0,n.useRef)(null);(0,l.L)(A,m),(0,s.j)(m),(0,n.useLayoutEffect)(()=>{j.current&&(0,p.q)(j.current),A.current&&(0,p.q)(A.current),_(!0)},[]),(0,u.y)(j);let C=i.filter(e=>!!e),w=(0,r.jsx)(h.mc,{isVisible:b,align:t,position:e??"top",ref:A,verticalPadding:g,children:C.map((e,t)=>(0,n.createElement)(x,{...e,key:t,divider:e.divider||t>0&&f,onAfterClick:m}))});return f?o.createPortal((0,r.jsxs)(h.hJ,{ref:j,isVisible:b,children:[w,(0,r.jsx)(h.Zb,{isVisible:b,children:y.t("builder.resume_editor.cancel")})]}),v):w}},53247:function(e,t,i){"use strict";i.d(t,{L7:function(){return g},Vj:function(){return h},Zb:function(){return c},gR:function(){return y},hJ:function(){return d},mc:function(){return u},p4:function(){return m},q7:function(){return p},zG:function(){return x},zs:function(){return f}});var r=i(38267),n=i(99701),o=i(78561),a=i(24833),l=i(49504),s=i(85783);let d=r.Ay.div(["position:fixed;z-index:1000;top:0;left:0;bottom:0;right:0;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:32px 20px;background-color:",";transition:opacity 0.2s;opacity:",";"],(0,o.j)(n.Jy.Neutral100,.8),e=>+!!e.isVisible),c=r.Ay.div(["padding:12px;margin-top:16px;border-radius:6px;background-color:",";color:",";text-align:center;font-weight:600;cursor:pointer;transition-property:opacity,transform;transition-timing-function:ease-out;transition-delay:0.05s;transition-duration:0.3s;opacity:",";transform:translateY(","px) translateZ(0);"],n.Jy.White,n.Jy.Blue50,e=>+!!e.isVisible,e=>28*!e.isVisible),u=r.Ay.div(["border-radius:4px;background-color:",";opacity:",";transition-property:opacity,transform;transition-timing-function:ease-out;transition-duration:0.15s;padding:",";",";",";"],n.Jy.White,e=>+!!e.isVisible,e=>void 0!==e.verticalPadding?`${e.verticalPadding}px 0`:"0",e=>a.$.AbovePhone`
6321    position: absolute;
6322    z-index: 1000;
6323    left: ${"left"===e.align?0:"auto"};
6324    right: ${"right"===e.align?0:"auto"};
6325    box-shadow: 0 0 1px rgba(23, 68, 130, 0.2), 0 2px 14px rgba(23, 68, 130, 0.15);
6326    max-width: 294px;
6327    min-width: 220px;
6328    transform-origin: ${(({align:e,position:t})=>["left"===e?"0":"100%","bottom"===t?"0":"100%"].join(" "))(e)};
6329    transform: scale(0.5) translateZ(0);
6330
6331    ${"top"===e.position&&(0,r.AH)(["bottom:100%;margin-bottom:8px;"])}
6332
6333    ${"bottom"===e.position&&(0,r.AH)(["top:100%;margin-top:8px;"])}
6334
6335    ${e.isVisible&&(0,r.AH)(["transform:scale(1) translateZ(0);"])}
6336  `,e=>a.$.Phone`
6337    border-radius: 6px;
6338    transition-delay: 0.05s;
6339    transition-duration: 0.25s;
6340    transform: translateY(${28*!e.isVisible}px) translateZ(0);
6341  `),p=r.Ay.div(["cursor:pointer;"," &:last-child{margin-bottom:0;}"],e=>e.hasDivider&&(0,r.AH)(["border-top:1px solid ",";"],n.Jy.Neutral15)),h=r.Ay.div(["display:flex;align-items:center;white-space:nowrap;padding:6px 16px;"," ",""],a.$.Phone`
6342    padding: 16px;
6343  `,e=>e.isActive&&`background-color: ${n.Jy.Blue10}; border-radius: 8px;`),x=r.Ay.div(["display:flex;flex-shrink:0;",";margin-right:8px;"],e=>!e.rawIcon&&(0,r.AH)(["color:",";"],n.Jy.Blue50)),m=r.Ay.div(["transition:color 0.15s;color:",";",":hover &&{color:",";}"],n.Jy.Neutral90,p,n.Jy.Blue50),g=(0,r.Ay)(s.E).attrs({variant:"blue"})(["margin-left:9px;font-size:14px;font-weight:600;padding:4px 6px;margin-top:-2px;text-transform:uppercase;"]),y=r.Ay.div(["",";color:",";min-width:262px;white-space:normal;padding-left:32px;margin-bottom:16px;",";"],l.o5.Tiny,n.Jy.Neutral50,a.$.Phone`
6344    width: 100%;
6345  `),f=r.Ay.span(["display:inline-block;width:8px;height:8px;background-color:",";vertical-align:middle;margin-left:8px;border-radius:50%;"],n.Jy.Red50)},23265:function(e,t,i){"use strict";i.d(t,{A:function(){return y}});var r=i(74848),n=i(96540),o=i(5556),a=i.n(o),l=i(14649),s=i(38267),d=i(78561),c=i(99701),u=i(49504),p=i(24833);let h=s.Ay.div(["",";display:flex;align-items:center;justify-content:flex-start;position:relative;padding:6px 14px;width:100%;border-radius:4px;background-color:",";color:",";font-weight:600;cursor:pointer;outline:none;transition:background-color 0.15s;",";"],u.Ay.Caption,(0,d.j)(c.Jy.Blue10,0),c.Jy.Blue50,p.A.Hover`
6346    &:hover {
6347      background-color: ${(0,d.j)(c.Jy.Blue10,.5)};
6348    }
6349  `),x=s.Ay.span([""]),m=s.Ay.div(["margin-right:2px;"]),g=({onAdd:e,text:t,...i})=>(0,r.jsxs)(h,{tabIndex:"0",onClick:e,"data-testid":"add-card-button",...i,children:[(0,r.jsx)(m,{children:(0,r.jsx)(l.Ay.AddSmall,{})}),(0,r.jsx)(x,{children:t})]});g.propTypes={text:a().string,onAdd:a().func};var y=(0,n.memo)(g)},41370:function(e,t,i){"use strict";i.d(t,{a:function(){return w},r:function(){return C}}),i(18111),i(20116),i(22489),i(61701);var r=i(74848),n=i(96540),o=i(77378),a=i(83864),l=i(38267),s=i(30586),d=i(99701),c=i(49504),u=i(24833);let p=l.Ay.div(["",""],({isStepByStepFlow:e})=>u.A.Phone`
6350       padding: ${()=>e?"20px":"unset"};
6351      `),h=l.Ay.div(["display:flex;flex-direction:column;gap:8px;margin-bottom:",";padding:",";"],e=>e.isStepByStepFlow?"unset":"8px",e=>
6351e.isStepByStepFlow?"20px 0":"unset"),x=l.Ay.p(["",";",";"],c.Ay.Subhead,c.BO.DemiBold),m=l.Ay.p(["",";",";color:",";"],c.Ay.Caption,c.BO.Regular,d.Jy.Neutral50),g=l.Ay.div(["position:relative;left:-4px;display:flex;flex-flow:row wrap;"]),y=l.Ay.div(e=>{let t=i(44760)(`./section-${e.type}${e.disabled?"-gray":""}.svg`);return(0,l.AH)(["display:flex;flex-flow:row nowrap;align-items:center;margin-bottom:12px;user-select:none;width:calc(50% - 32px);flex:0 0 calc(50% - 32px);margin-right:32px;cursor:pointer;color:",";&:hover{color:",";}&:nth-child(2n){margin-right:0;}",";&:before{content:'';margin-right:8px;display:block;width:40px;height:40px;background-image:url(",");}"],e.disabled?d.Jy.Neutral50:d.Jy.Neutral90,e.disabled?d.Jy.Neutral50:d.Jy.Blue50,u.A.Phone`
6352      width: 100%;
6353      flex: 0 0 100%;
6354      margin-right: 0;
6355    `,t)}),f=l.Ay.div([""]),b=(0,l.Ay)(s.qJ.Lock)(["color:",";"],d.Jy.Neutral60),_=["metadata","courses","activities","internships","conferences","volunteerings","hobbies","languages","references","powerStatement","awards","affiliations","licensesAndCertifications"];var v=i(46450),j=i(52898);let A=(0,n.memo)(({type:e,section:t,isEnabled:i,onAdd:o,isSectionDisabled:a,disabledTooltipText:l,i18n:s})=>{let[d,c]=(0,n.useState)(!1),u=!i||a(t?.id);return(0,r.jsxs)(y,{type:e,disabled:u,onClick:()=>!u&&o(e),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),"data-testid":`add-section-${e}`,children:[t?.title?t.title:s.t(v.K3[e]||`builder.resume_editor.${e}`),a(t?.id)&&(0,r.jsx)(j._,{showTooltip:d,tooltipText:l,children:(0,r.jsx)(f,{children:(0,r.jsx)(b,{})})})]})}),C=()=>`${Math.floor(0xffffffff*Math.random())}`,w=(0,n.memo)(({sections:e,onAdd:t,onAddCustom:i,customTitle:n,customDescription:l,isStepByStepFlow:s,templateConfig:d})=>{let{i18n:c}=(0,o.s)(),{isSectionDisabled:u,disabledTooltipText:f}=(0,a.R)({sectionsConfig:d?.sectionsConfig}),b=d?.isNewTemplate;return(0,r.jsxs)(p,{isStepByStepFlow:s,children:[(0,r.jsxs)(h,{isStepByStepFlow:s,children:[(0,r.jsx)(x,{children:n||c.t("builder.resume_editor.add_section")}),l&&(0,r.jsx)(m,{children:l})]}),(0,r.jsxs)(g,{children:[b?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{type:"custom-simple",onClick:()=>i(C(),"simple"),"data-testid":"add-section-custom-simple",children:c.t("builder.resume_editor.custom_section.simple.title")}),(0,r.jsx)(y,{type:"custom-advanced",onClick:()=>i(C(),"advanced"),"data-testid":"add-section-custom-advanced",children:c.t("builder.resume_editor.custom_section.advanced.title")})]}):(0,r.jsx)(y,{type:"custom",onClick:()=>i(C(),"advanced"),"data-testid":"add-section-custom",children:c.t("builder.resume_editor.custom_section.title")}),_.filter(t=>!!e.find(e=>e.id===t)).map(i=>{let n=e.find(e=>e.id===i);return(0,r.jsx)(A,{type:i,section:n,isEnabled:!!e.find(e=>e.id===i)?.hidden,onAdd:t,isSectionDisabled:u,disabledTooltipText:f,i18n:c},i)})]})]})})},90074:function(e,t,i){"use strict";i.d(t,{ee:function(){return tL},Kt:function(){return eT}}),i(44114),i(18111),i(22489);var r=i(74848),n=i(96540),o=i(33093),a=i(32606),l=i(8037);i(18237),i(61701),i(81148);var s=i(38102),d=i(49012),c=i(14649),u=i(7987),p=i(77378),h=i(56155),x=i(36961);i(13579);var m=i(76608),g=i(62317);let y=(e,t,i)=>{let r=(0,m._)(i);(0,g.L)(e,e=>{t.some(t=>(0,g.q)(t.current,e))||r(e)})},f=e=>{let{isDisabled:t,ref:i,topOffset:r=0,behavior:o="smooth",timeoutMs:a=0}=e;(0,n.useEffect)(()=>{let e;return t||(e=window.setTimeout(()=>{let e=i.current,t=document.scrollingElement;if(!e||!t)return;let{top:n}=e.getBoundingClientRect(),{scrollTop:a}=t,l=a+n-r;l<a&&t.scroll({top:l,behavior:o})},a)),()=>clearTimeout(e)},[a,t,i,r,o])};var b=i(86066),_=i(59075),v=i(6638),j=i.n(v),A=i(38267),C=i(99701),w=i(49504),k=i(85363),S=i(64608),T=i(24833);let P=A.Ay.div(["overflow:hidden;width:","px;max-width:calc(100vw - 16px);border-radius:3px;background:",";box-shadow:0px 0px 1px rgba(23,68,130,0.2),0px 2px 14px rgba(23,68,130,0.15);opacity:0;transition-property:opacity;transition-timing-function:ease-out;transition-duration:","ms;"," mark{background:transparent;color:",";}",""],e=>e.wide?560:420,C.Jy.White,150,e=>e.isVisible&&(0,A.AH)(["opacity:1;"]),C.Jy.Blue50,e=>T.A.Tablet`
6356    ${e.isAiAction&&"transform: translate(-40px, 410px);"}
6357  `),J=A.Ay.div(["position:relative;border-bottom:1px solid ",";"],C.Jy.Neutral15),E=(0,A.Ay)(c.qJ.Zoom)(["position:absolute;
6357left:12px;top:12px;color:",";"],C.Jy.Neutral40),R=A.Ay.button(["border:none;padding:0;width:24px;height:24px;position:absolute;top:12px;right:16px;color:",";transition:color 0.2s ease;cursor:pointer;&:focus,&:hover{outline:none;color:",";}"],C.Jy.Neutral40,C.Jy.Blue70),L=A.Ay.input(["display:block;width:100%;background:none;padding:13px 68px 11px 44px;margin:0;border:none;color:",";&::placeholder{color:",";}"],C.Jy.Neutral90,C.Jy.Neutral50),N=(0,A.Ay)(c.qJ.Spinner)(["position:absolute;top:12px;right:44px;color:",";animation:"," 0.5s infinite linear;"],C.Jy.Neutral40,S.ni),I=A.Ay.div([""]),M=A.Ay.div(["display:flex;flex-wrap:wrap;padding:4px 12px;border-bottom:1px solid ",";&:last-child{border-bottom:none;}"],C.Jy.Neutral15),B=A.Ay.div(["",";margin:4px;padding:4px 8px;border-radius:3px;background-color:",";color:",";white-space:nowrap;cursor:pointer;&:hover{background-color:",";color:",";}",""],w.Ay.Caption,C.Jy.Neutral10,C.Jy.Neutral60,C.Jy.Blue10,C.Jy.Blue50,e=>e.isActive&&(0,A.AH)(["background-color:",";color:",";pointer-events:none;"],C.Jy.Blue50,C.Jy.White)),D=A.Ay.div(["",";padding:12px 16px;border-bottom:1px solid ",";color:",";&:last-child{border-bottom:none;}"],w.Ay.Caption,C.Jy.Neutral15,C.Jy.Neutral50),$=A.Ay.div(["overflow-y:scroll;max-height:300px;&::-webkit-scrollbar{width:12px;background-color:transparent;}&::-webkit-scrollbar-thumb{background-color:",";border:4px solid ",";border-radius:6px;&:hover{background-color:",";}}"],C.Jy.Neutral20,C.Jy.White,C.Jy.Neutral30),O=A.Ay.div(["border-bottom:1px solid ",";height:auto;&:last-child{border-bottom:none;}"],C.Jy.Neutral15),z=A.Ay.div(["",";padding:8px 16px 6px;color:",";text-transform:uppercase;"," svg{margin-right:8px;}"],w.Ay.Caps,C.Jy.Neutral50,e=>"most_popular"===e.groupType&&(0,A.AH)(["color:",";"],C.Jy.Amber40)),F=A.Ay.div(["display:flex;align-items:center;overflow:hidden;padding:6px 16px;"," &:last-child{padding-bottom:16px;}"],e=>e.hasSubphrases&&(0,A.AH)(["align-items:flex-start;",";"],w.Ay.Caption)),H=(0,A.Ay)(F)(["cursor:",";transition:color 0.15s;&.is-phrase-hover{color:",";}&.is-phrase-added{color:",";pointer-events:none;mark{color:",";}}&:focus{outline:none;color:",";&.is-phrase-added{color:",";}}"],e=>e.hasSubphrases?"default":"pointer",C.Jy.Blue50,C.Jy.Neutral50,C.Jy.Neutral50,C.Jy.Blue50,C.Jy.Neutral50),V=A.Ay.div(["flex-grow:1;& b{font-weight:600;}"]),U=A.Ay.a(["position:relative;border-radius:0 3px 3px 0;margin-left:-3px;padding:1px 3px;transition:color 0.2s,background-color 0.2s;cursor:pointer;&:focus{outline:none;}&:focus,&:hover,.is-phrase-hover &,.is-phrase-hover &.is-subphrase-added{color:",";}&:focus,&:hover{background-color:",";border-top:2px solid ",";border-bottom:2px solid ",";}&:active{color:",";background-color:",";}&.is-subphrase-added{color:",";pointer-events:none;}"],C.Jy.Blue50,C.Jy.Blue10,C.Jy.White,C.Jy.White,C.Jy.Neutral50,C.Jy.Neutral10,C.Jy.Neutral50),W=A.Ay.span(["position:absolute;top:0;left:-10px;width:10px;height:18px;background-image:url(",");opacity:0;transition:opacity 0.2s;",":focus &,",":hover &{opacity:1;}"],i(71578),U,U),K=A.Ay.span(["font-size:0;line-height:0;opacity:0;"]),q=A.Ay.span(["padding:0 3px;margin-right:3px;color:",";&:last-child{display:none;}"],C.Jy.Neutral40),G=A.Ay.div(["position:relative;flex-shrink:0;width:32px;height:32px;margin-right:16px;border-radius:50%;"]),Z=(0,A.Ay)(G)(["padding:6px;background-color:",";color:",";transition:color 0.2s,background-color 0.2s;will-change:color,background-color;cursor:pointer;.is-phrase-hover &{background-color:",";color:",";}.is-phrase-added &{background-color:#e3f6ec;color:",";}& svg{pointer-events:none;}"],C.Jy.Neutral10,C.Jy.Neutral50,C.Jy.Blue10,C.Jy.Blue50,C.Jy.Green50),X=(0,A.Ay)(c.EK.ArrowLeft)(["display:block;will-change:opacity,transform;transition-property:transform,opacity;transition-duration:0.2s;.is-phrase-added &{transform:translateX(-10px);opacity:0;}"]),Q=(0,A.Ay)(c.EK.Tick)(["position:absolute;top:50%;left:50%;margin:-10px 0 0 -10px;opacity:0;transform:scale(0.6);will-change:opacity,transform;transition-property:transform,opacity;transition-duration:0.2s;transition-delay:0.1s;.is-phrase-added &{transform:scale(1);opacity:1;}"]),Y=(0,A.Ay)(F)([""]),ee=(0,A.Ay)(G)(["",";
6357"],k.A.placeholderBackground),et=A.Ay.div(["display:inline-block;width:100%;height:1em;border-radius:3px;",";vertical-align:middle;&:last-child{width:50%;}"],k.A.placeholderBackground);var ei=()=>(0,r.jsxs)(O,{children:[(0,r.jsx)(z,{children:(0,r.jsx)(et,{})}),j()(5,e=>(0,r.jsxs)(Y,{children:[(0,r.jsx)(ee,{}),(0,r.jsxs)(V,{children:[(0,r.jsx)(et,{}),(0,r.jsx)(et,{})]})]},e))]}),er=e=>(0,n.useMemo)(()=>e.split("**").map((e,t)=>(0,n.createElement)(t%2?"b":"span",{key:t},e.replace(/\[([^\]]+)?]/g,"__[$1]__").split("__").map((e,t)=>(0,n.createElement)(t%2?"mark":"span",{key:t},e)))),[e]),en=i(5556),eo=i.n(en);let ea=({item:e,onClick:t})=>{let{digest:i,isActive:o,highlight:a}=e,l=er(a),s=(0,n.useCallback)(i=>{i.preventDefault(),o||t(e)},[e,t,o]);return(0,r.jsxs)(U,{className:o?"is-subphrase-added":"",onClick:s,href:"#",children:[(0,r.jsx)(W,{}),(0,r.jsx)(K,{children:"\xa0"}),l]},i)};ea.propTypes={item:eo().object.isRequired,onClick:eo().func.isRequired};var el=(0,n.memo)(ea),es=(0,n.memo)(({item:e,onClick:t})=>{let{isActive:i,highlight:o,subphrases:a}=e,[l,s]=(0,n.useState)(!1),d=er(o),c=!!a&&a.length>0,u=[i&&"is-phrase-added",l&&"is-phrase-hover"].filter(Boolean),p={onClick:(0,n.useCallback)(i=>{i.preventDefault(),t(e)},[t,e]),onMouseEnter:(0,n.useCallback)(()=>s(!0),[]),onMouseLeave:(0,n.useCallback)(()=>s(!1),[])},h=c?{}:p,x=c?p:{},m=c?{}:{href:"#",tabIndex:0};return(0,r.jsxs)(H,{className:u.join(" "),hasSubphrases:c,as:c?"div":"a",...h,...m,children:[(0,r.jsxs)(Z,{...x,children:[(0,r.jsx)(X,{}),(0,r.jsx)(Q,{})]}),!c&&(0,r.jsx)(V,{children:d}),c&&(0,r.jsx)(V,{children:a.map(e=>(0,r.jsxs)(n.Fragment,{children:[(0,r.jsx)(el,{item:e,onClick:t}),(0,r.jsx)(q,{children:"•"})]},e.digest))})]})});let ed=e=>{let{scope:t,outsideOpenerRef:i,editorContainerRef:a,locale:m="en",text:g="",wide:v=!1,onSelect:j=()=>{},jobTitle:A="",onToggleSuggestions:C,isSuggestionsOpen:w,isAiAction:k}=e,{i18n:S}=(0,p.s)(),[T,F]=(0,n.useState)(!1),H=(0,n.useRef)(null),V=(0,n.useRef)(null),[U,W]=(0,n.useState)(""),{isPhone:K,isTablet:q,isLaptop:G}=(0,b.e)(),Z=(0,n.useRef)({phrase_added:!1,search_used:!1,section:t,search_queries:{},added_phrase_ids:[],tips_queries:[]}),X=(({scope:e,locale:t,query:i})=>{let[r,o]=(0,n.useState)(l.Hp.notAsked),[a,s]=(0,n.useState)({query:i,result:[],categories:[],categoryFilter:null,foundAnything:null}),c=(0,n.useRef)(void 0),u=(0,n.useCallback)(async i=>{if(i===c.current)return;o(l.Hp.loading),c.current=i;let{data:r}=await d.uE.get(`/phrases/${e}/search`,{params:{query:i,locale:t}});r.query===c.current&&(s(r),o(l.Hp.loaded))},[t,e]);return((e,t,i=[])=>{(0,n.useEffect)(()=>{let t=setTimeout(e,350);return()=>clearTimeout(t)},[350,...i])})(()=>u(i),0,[i,t,e]),{...a,status:r,performSearch:u}})({scope:t,locale:m,query:U}),{status:Q,result:Y,categories:ee,categoryFilter:et,foundAnything:er,performSearch:en}=X,eo=0===Y.length&&Q!==l.Hp.loaded;(0,n.useLayoutEffect)(()=>{H.current&&(0,u.q)(H.current),F(!0)},[H]),(0,n.useEffect)(()=>{W("")},[A]),(0,x.h)(()=>{!U&&A&&W(A)}),(0,n.useLayoutEffect)(()=>{V.current&&(V.current.scrollTop=0)},[Y]),f({ref:H,topOffset:63,timeoutMs:250,isDisabled:!(K||q||G)});let ea=(0,n.useCallback)(e=>{Z.current.tips_queries.push(e),W(e),en(e)},[en]),el=(0,n.useCallback)(e=>{j(e),d.uE.post(`/phrases/${e.digest}/use?locale=${m}`),Z.current.phrase_added=!0,Z.current.added_phrase_ids.push(e.digest)},[j,m]),ed=(0,n.useCallback)(e=>W(e.target.value),[]);(0,s.default)(()=>{let e=X.query.trim();if(e.length){let t=er?Y.reduce((e,t)=>e+t.phrases.length,0):0;Z.current.search_used=!0,Z.current.search_queries[e]=t}},500,[X.query,t,er,Y]),y(H,[i,a],()=>{!w||k&&K||C({isOpen:!1})}),(0,h.j)(()=>C({isOpen:!1})),(0,n.useEffect)(()=>{let e=Z.current;return()=>(0,o.xP)("close_pre_written_phrases_dialog",e)},[]);let ec=(0,n.useMemo)(()=>{let e=t=>{let i=t.subphrases?t.subphrases.map(e):[];i=i.map(e=>({...e,isSubphrase:!0}));let r=g.includes(t.phrase),n=i.length>0&&i.every(e=>e.isActive);return{...t,subphrases:i,isActive:r||n}};return Y.map(t=>({...t,phrases:t.phrases.map(e)}))},[Y,g]),eu=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(J,{children:[(0,r.jsx)(E,{}),(0,r.jsx)(L,{placeholder:S.t("builder.resume_editor.phrase_suggestion.search_placeholder"),onChange:ed,value:U}),Q!==l.Hp.loaded&&(0,r.jsx)(N,{}),(0,r.jsx)(R,{onClick:()=>C({isOpen:!1}),children:(0,r.jsx)(c.Ay.Close,{})})]}),(0,r.jsxs)(I,{children:[ee.length>0&&(0,r.jsx)(M,{children:ee.map((e,t)=>(0,r.jsx)(B,{isActive:et===e,onClick:()=>ea(e),children:e},t))}),!1===er&&(0,r.jsx)(D,{children:S.t("builder.resume_editor.phrase_suggestion.no_results")}),(0,r.jsxs)($,{ref:V,children:[eo&&(0,r.jsx)(ei,{}),!eo&&ec.map((e,t)=>(0,r.jsxs)(O,{children:[(0,r.jsxs)(z,{groupType:e.groupType,children:["most_popular"===e.groupType&&(0,r.jsx)(c.EK.Crown,{}),e.groupTitle]}),e.phrases.map(e=>(0,r.jsx)(es,{item:e,onClick:el},e.digest))]},t))]})]})]});return k&&K?(0,r.jsx)(_.A,{open:T,snapPoints:["355px"],onClose:()=>C({isOpen:!1}),children:eu()}):(0,r.jsx)(P,{id:"suggestionPanel",ref:H,isVisible:T,wide:v,isAiAction:k,children:eu()})},ec="SUGGESTIONS_WERE_SHOWN_ON_FOCUS";var eu=i(20646);let ep=A.Ay.div(({isAiAction:e,isActive:t})=>(0,A.AH)(["display:flex;align-items:center;",""],e&&(0,A.AH)(["background-color:",";border-radius:100px;transition:background-color 0.2s ease,box-shadow 0.2s ease;"," "," ",""],t?C.Jy.Indigo60:C.Jy.White,!t&&(0,A.AH)(["&:hover{background-color:",";}"],C.Jy.Indigo40),t&&(0,A.AH)(["&:hover{box-shadow:",";}"],C.qd.lightShadowLow),T.A.Phone`
6358        width: 100%;
6359      `))),eh=A.Ay.div(["color:",";padding-right:",";"," ",""],e=>e.isActive?C.Jy.Indigo60:C.Jy.Indigo50,e=>e.isActive?"8px":"4px",e=>e.isActive&&(0,A.AH)(["background-color:",";border-radius:50%;width:21px;height:21px;
6359display:flex;align-items:center;justify-content:center;padding:0;margin-right:8px;"],C.Jy.White),T.A.Phone`
6360    position: absolute;
6361    left: 6px;
6362  `),ex=A.Ay.span([""]),em=A.Ay.span(["color:",";font-weight:600;font-size:14px;line-height:16px;letter-spacing:0.3px;"],e=>e.isActive?C.Jy.White:C.Jy.Indigo50),eg=A.Ay.div(({isLoading:e,isActive:t,isAiAction:i})=>(0,A.AH)(["margin-left:8px;color:",";background-color:",";border-radius:50%;transition:transform 0.2s ease,color 0.2s ease,background-color 0.2s ease;& svg{display:block;}"," "," ",""],C.Jy.White,C.Jy.Blue50,e&&(0,A.AH)(["background-color:",";animation:"," 0.5s infinite linear;"],C.Jy.Neutral50,S.ni),t&&(0,A.AH)(["transform:rotate(45deg);background-color:",";color:",";"],C.Jy.Neutral20,C.Jy.Neutral50),i&&(0,A.AH)(["margin-left:4px;background:inherit;color:",";"],C.Jy.Indigo50))),ey=A.Ay.div(({isDisabled:e,isActive:t,isAiAction:i})=>(0,A.AH)(["display:flex;align-items:center;",";color:",";cursor:pointer;user-select:none;pointer-events:",";"," "," "," "," ",""],w.Ay.Caption,C.Jy.Neutral50,e?"none":"auto",!t&&(0,A.AH)(["&:hover{","{color:",";}}"],ex,C.Jy.Blue50),t&&(0,A.AH)(["","{transform:rotate(45deg);background-color:",";color:",";}"],eg,C.Jy.Neutral20,C.Jy.Neutral50),i&&(0,A.AH)(["padding:",";",""],t?`4px ${C.Kz.XS} 4px 4px`:`4px ${C.Kz.XS} 4px 8px`,T.A.Phone`
6363        width: 100%;
6364        justify-content: center;
6365        position: relative;
6366        padding: 6px;
6367      `),i&&!t&&(0,A.AH)(["&:hover{",",","{color:",";}}"],em,eh,C.Jy.Indigo10),t&&i&&(0,A.AH)(["","{background-color:",";color:",";}","{color:",";}"],eg,C.Jy.Blue50,C.Jy.White,em,C.Jy.White))),ef=(0,n.forwardRef)((e,t)=>{let{isAiAction:i,isActive:o,onToggle:a,text:l}=e;return(0,r.jsx)(ep,{isAiAction:i,isActive:o,children:(0,r.jsxs)(ey,{id:"phrases-suggestion-toggler",onClick:()=>a(),isAiAction:i,isActive:o,ref:t,children:[i&&(0,r.jsxs)(n.Fragment,{children:[o?(0,r.jsx)(eh,{isActive:o,children:(0,r.jsx)(c.EK.Close,{})}):(0,r.jsx)(eh,{children:(0,r.jsx)(c.EK.Featured,{})}),(0,r.jsx)(em,{isActive:o,children:l||eu.R.t("builder.resume_editor.phrase_suggestion.ai_prewritten_phrases")})]}),!i&&(0,r.jsx)(ex,{children:l||eu.R.t("builder.resume_editor.phrase_suggestion.prewritten_phrases")}),!i&&(0,r.jsx)(eg,{isAiAction:i,children:(0,r.jsx)(c.EK.Add,{})})]})})});var eb=i(44506),e_=i(12330),ev=i(18509),ej=i(50572),eA=i(30228);class eC{emitter=new eA.EventEmitter;on(e,t,i){let r=`${e}:${t}`;return this.emitter.on(r,i),this}emit(e,t,i){let r=`${e}:${t}`;return 0===this.emitter.listeners(r).length?(console.warn(`No AiWriter instance listening to "${e}:${t}". Available events:`,this.getRegisteredEvents()),!1):this.emitter.emit(r,i)}off(e,t,i){let r=`${e}:${t}`;return this.emitter.off(r,i),this}getRegisteredEvents(){return this.emitter.eventNames().filter(e=>"string"==typeof e)}reset(){this.emitter.removeAllListeners()}}let ew=new eC,ek=(0,n.createContext)({editorContainerRef:(0,n.createRef)(),phrasesOpenerRef:(0,n.createRef)(),openedModal:null,setOpenedModal:()=>{},locale:"en",generatedContent:"",includeJobPosting:!1,setIncludeJobPosting:()=>{},jobPosting:null,onChangePhrasesSuggestions:void 0,canImprove:!1,canGenerate:!1,onGenerateClick:void 0,section:a.Gw.profile,onToggleSuggestions:()=>{},resetAiWriterFlow:()=>{},actionType:l.Qm.generate,setActionType:()=>{},onApplyChanges:()=>{},isResultContentAnimationRunning:!1,setIsResultContentAnimationRunning:()=>{},generationStatus:l.IQ.notStarted,setGenerationStatus:()=>{},generateContent:()=>Promise.resolve(),onAddPhrase:void 0,editorText:"",mode:"ai_writer",handleToggleModal:()=>{},handleAddPhrase:()=>{},onEditorFocus:()=>{},sendMessage:()=>{},sectionContext:"profile",dataGetter:()=>void 0,itemId:void 0,coverLetter:void 0,builderType:"resume"}),eS=()=>(0,n.useContext)(ek),eT=({children:e,...t})=>{let{section:i,onChangePhrasesSuggestions:s,onAddPhrase:c,mode:u,editorText:h,isForceOpen:x,onClose:m,jobTitle:g,jobPosting:y,sectionContext:f,dataGetter:b,coverLetter:_,builderType:v="resume",useLastUpdatedResume:j,itemId:A}=t,C=A&&f?`${f}-${A}`:f,{i18n:w}
6367=(0,p.s)(),k=(0,ev.N)(a.Tp.resume),S=t.resume??k,[T,P]=(0,n.useState)(null),[J,E]=(0,n.useState)(""),[R,L]=(0,n.useState)(!1),[N,I]=(0,n.useState)(l.IQ.notStarted),[M,B]=(0,n.useState)(l.Qm.generate),D=(0,n.useRef)(null),[$,O]=(0,n.useState)(!1),[z,F]=(0,n.useState)([]),{resume:H}=(0,ej.U)(!!j),V=(0,n.useRef)(null),U=e=>{T?P(null):((0,o.xP)("click_writing_help",{section:i}),J?P("ai_writer_result"):(P(e),s?.()))},W=({isOpen:e,trigger:t})=>{let r=e??!0;P(r?"prewritten_phrases":null),r&&(0,o.xP)("open_pre_written_phrases_dialog",{section:i,trigger:t})},K=async e=>{let t=e?.actionType||M,r=e?.customPrompt;try{I(l.IQ.processing),P("ai_writer_result"),L(!0);let e=!(0,eb.zz)(h),n=r||(t===l.Qm.generate?e?w.t("builder.ai_profile_summary.commands.generate"):w.t("builder.ai_profile_summary.commands.regenerate"):w.t("builder.ai_profile_summary.commands.improve")),s=[...z,{role:"user",content:n}],c=$&&y?.id?{parsed_job:{job_title:y.jobTitle,job_link:y.inputUrl,company:{name:y.companyName},location:{name:y.currentLocation},description:y.description,skills:y.requestedSkills}}:void 0,u={conversation:s,resume:j&&H?H:S,..."cover_letter"===v?{cover_letter:_}:{},options:{locale:"en",targetRole:g},sectionContext:f,builderType:v,metadata:c},{data:p,status:x}=await d.uE.post("/ai-copilot/chat",u),m=b(p);if(200===x&&"string"==typeof m)E(m),I(l.IQ.finished),(0,o.xP)("generate_successfully",{section:i,label:a.t6,mode:t}),F([...s,{role:"assistant",content:p.assistantMessage,changes:p.changes||[]}]),B(t);else throw Error("Generated content has incorrect type")}catch(e){console.error("generateText error",e),I(l.IQ.failed)}};(0,n.useEffect)(()=>{x&&P("ai_writer"===u?"ai_writer":"prewritten_phrases")},[x,u]),(0,n.useEffect)(()=>{!T&&m&&m()},[T]),V.current=K,(0,n.useEffect)(()=>{if(!C||!f||"ai_writer"!==u)return;let e=e=>{V.current?.({customPrompt:e.customPrompt})};return ew.on(C,"triggerWithCustomPrompt",e),()=>{ew.off(C,"triggerWithCustomPrompt",e)}},[C,f,u]);let q={...t,handleToggleModal:U,handleAddPhrase:e=>{c?.(e),s?.()},onToggleSuggestions:W,includeJobPosting:$,setIncludeJobPosting:O,generatedContent:J,isResultContentAnimationRunning:R,setIsResultContentAnimationRunning:L,generationStatus:N,setGenerationStatus:I,actionType:M,setActionType:B,setOpenedModal:P,openedModal:T,resetAiWriterFlow:()=>{E(""),L(!1),P(null),I(l.IQ.notStarted),F([])},generateContent:K,sendMessage:e=>{K({actionType:l.Qm.improve,customPrompt:e})},phrasesOpenerRef:D,onEditorFocus:()=>{try{let e=e_.D.getItem(ec),t=e?JSON.parse(e):null,r=Array.isArray(t)?t:[];if(!r.includes(i)&&!T){"ai_writer"===u?U("ai_writer"):W({isOpen:!0,trigger:"focus_field"}),r.push(i);let e=r.filter(Boolean);e.length>0&&e_.D.setItem(ec,JSON.stringify(e))}}catch(e){console.error("onEditorFocus error",e)}}};return(0,r.jsx)(ek.Provider,{value:q,children:"function"==typeof e?e(q):e})};var eP=i(68997),eJ=i(38621),eE=i(91779),eR=i(16466),eL=i(9849),eN=i(67592);let eI=A.Ay.div(["width:544px;border-radius:16px;background:",";padding:32px;display:flex;flex-direction:column;align-items:center;position:relative;",";"],C.Jy.White,T.A.Phone`
6368    width: 343px;
6369    padding: 20px;
6370  `),eM=A.Ay.div(["display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:",";margin-bottom:",";width:100%;",";"],C.Kz.XS,C.Kz.XS,T.A.Phone`
6371    margin-bottom: 8px;
6372    gap: 8px;
6373  `),eB=(0,A.Ay)(c.EK.Featured)(["width:35px;height:35px;color:",";"],C.Jy.Indigo50),eD=(0,A.Ay)(c.EK.Featured)(["margin-right:4px;"]),e$=A.Ay.p(["",";",";color:",";"],w.Ay.S,w.BO.DemiBold,C.Jy.Neutral90),eO=A.Ay.p(["",";",";color:",";"],w.Ay.Body,w.BO.Regular,C.Jy.Neutral50),ez=A.Ay.div(["display:flex;flex-direction:row;justify-content:flex-end;width:100%;"]),eF=A.Ay.div(["width:100%;gap:8px;display:flex;flex-direction:column;margin-bottom:24px;",";"],T.A.Phone`
6374    margin-bottom: 20px;
6375  `),eH=A.Ay.div(["padding:22px 16px;border-radius:8px;border:2px solid ",";display:flex;align-items:center;gap:16px;cursor:pointer;&:hover{background:",";color:",";}",";"],e=>e.checked?C.Jy.Indigo50:C.Jy.Neutral15,C.Jy.Indigo10,C.Jy.Indigo70,T.A.Phone`
6376    height: 80px;
6377  `),eV=A.Ay.label(["display:flex;align-items:flex-start;color:",";transition:color 0.15s;cursor:pointer;"],e=>e.checked?C.Jy.Indigo50:C.Jy.Neutral30),eU=A.Ay.span(["width:18px;height:18px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;border:2px solid ",";transition:border-color 0.15s;",";"," &:before{content:'';width:6px;height:6px;border-radius:50%;background-color:",";opacity:",";}"],C.Jy.Neutral30,T.A.Phone`
6378    margin-top: 0;
6379  `,e=>e.checked&&(0,A.AH)(["border-width:2px;border-color:",";background-color:",";"],C.Jy.Indigo50,C.Jy.Indigo50),C.Jy.White,e=>+!!e.checked),eW=A.Ay.div(["display:flex;flex-direction:row;align-items:center;color:inherit;gap:8px;"]),eK=A.Ay.p(["",";",";"],w.Ay.Body,w.BO.Regular),eq=(0,A.Ay)(c.EK.Close)(["color:",";position:absolute;top:32px;right:32px;border-radius:28px;width:28px;height:28px;padding:4px;background:",";cursor:pointer;&:hover{background:",";color:",";}",";"],C.Jy.Neutral50,C.Jy.Neutral10,C.Jy.Blue10,C.Jy.Blue50,T.A.Phone`
6380    top: 20px;
6381    right: 20px;
6382  `),eG=A.Ay.img(({size:e})=>(0,A.AH)(["width:","px;height:","px;",";border-radius:4px;",";"],e,e,eN.A.lightWithBorder.low,T.A.Phone`
6383      width: ${e}px;
6384      height: ${e}px;
6385    `)),eZ="builder.ai_profile_summary.generate_with_tailored_role_modal",eX=e=>{let{i18n:t}=(0,p.s)(),{section:i,includeJobPosting:a,onClose:l,onSelectOption:s,onGenerate:d,jobPosting:{jobTitle:c,companyName:u}}=e,h=(0,eL.F)(c,u);return(0,n.useEffect)(()=>{h&&(0,o.xP)("open_ai_writer_tailored_dialog",{section:i})},[i,h]),(0,x.h)(()=>{s(!0)}),h?(0,r.jsx)(eR.A,{overlayFadeDuration:300,contentSlideDuration:300,children:(0,r.jsxs)(eI,{children:[(0,r.jsx)(eq,{onClick:l}),(0,r.jsxs)(eM,{children:[(0,r.jsx)(eB,{}),(0,r.jsx)(e$,{children:t.t(`${eZ}.title`)}),(0,r.jsx)(eO,{children:t.t(`${eZ}.sub_title`)})]}),h&&(0,r.jsxs)(eF,{children:[(0,r.jsxs)(eH,{checked:a,onClick:()=>s(!0),children:[(0,r.jsx)(eV,{checked:a,children:(0,r.jsx)(eU,{checked:a})}),(0,r.jsxs)(eW,{children:[(0,r.jsx)(eG,{size:20,src:eJ}),(0,r.jsx)(eK,{children:h})]})]}),(0,r.jsxs)(eH,{checked:!a,onClick:()=>s(!1),children:[(0,r.jsx)(eV,{checked:!a,children:(0,r.jsx)(eU,{checked:!a})}),(0,r.jsx)(eW,{children:(0,r.jsx)(eK,{children:t.t(`${eZ}.do_not_tailor_option_text`)})})]})]}),(0,r.jsx)(ez,{children:(0,r.jsxs)(eE.Ay,{theme:"alternative",onClick:()=>{l(),d(),(0,o.xP)("click_generate",{label:"ai_writer_tailored_dialog",section:i,position_selected:a})},children:[(0,r.jsx)(eD,{}),t.t(`${eZ}.generate_button_text`)]})})]})}):(0,r.jsx)(r.Fragment,{})};var eQ=i(5505);let eY=(0,A.Ay)(P)(["overflow:visible;width:358px;padding:6px;border-radius:8px;"," ",""],T.A.Tablet`
6386    transform: translate(-40px, 260px);
6387    width: 288px;
6388  `,T.A.Phone`
6389    transform: unset;
6390    width: 100%;
6391  `),e0=A.Ay.div(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;"]),e1=A.Ay.div(["display:flex;flex-direction:column;background-color:",";gap:8px;padding:12px;border-radius:8px;"],C.Jy.Indigo10),e2=A.Ay.div(["",";",";color:",";display:flex;flex-direction:row;gap:4px;"],w.Ay.Caps,w.BO.DemiBold,C.Jy.Indigo70);w.Ay.Tiny,w.BO.DemiBold,C.Kz["3XS"],C.Kz["5XL"],C.Jy.Indigo60,C.Jy.Indigo10;let e3=A.Ay.p(["",";",";color:",";"],w.Ay.Caption,w.BO.Regular,C.Jy.Indigo80),e5=A.Ay.div(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;"]),e4=(0,A.Ay)(eE.Ay)(["",";",";color:",";background-color:",";padding:9px 0 8px;width:100%;&:hover{background-color:",";color:",";}"],w.Ay.ButtonS,w.BO.Medium,C.Jy.Indigo60,C.Jy.Indigo10,C.Jy.Indigo20,C.Jy.Indigo70),e6=A.Ay.div(["width:2px;height:24px;background-color:#d9d9d9;"]),e8=(0,A.Ay)(eE.Ay)(["",";",";color:",";justify-content:flex-start;gap:",";padding:12px;width:100%;background-color:",";&:hover{background-color:",";color:",";}"],w.Ay.Body,w.BO.Regular,C.Jy.Neutral80,C.Kz["2XS"],C.Jy.White,C.Jy.White,C.Jy.Indigo60),e9=A.Ay.div(["display:flex;flex-flow:column nowrap;gap:4px;margin-top:4px;&:empty{display:none;}"]),e7=A.Ay.div(["flex:0 0 1px;margin:0 12px;background:",";"],C.Jy.Neutral15),te="ai_writer_dialog",tt=()=>
6391{let[e,t]=(0,n.useState)(!1),i=(0,n.useRef)(null),{i18n:s}=(0,p.s)(),{isKeywordsAvailable:d}=(0,eQ.wb)(),{openedModal:m,setOpenedModal:g,phraseSuggestionScope:f,generateContent:b,onChangePhrasesSuggestions:_,onGenerateClick:v,canImprove:j,canGenerate:A,phrasesOpenerRef:C,editorContainerRef:w,onToggleSuggestions:k,jobPosting:S,section:T,setActionType:P}=eS();return y(i,[C,w],()=>{"ai_writer"===m&&(g(null),_?.())}),(0,h.j)(()=>{"ai_writer"===m&&(g(null),_?.())}),(0,n.useLayoutEffect)(()=>{i.current&&(0,u.q)(i.current),t(!0)},[]),(0,x.h)(()=>{(0,o.xP)("open_ai_writer_dialog",{section:T,counter:"unlimited"})}),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(eY,{ref:i,isVisible:e,"data-testid":"ai-writer-popup",children:[(0,r.jsxs)(e1,{children:[(0,r.jsx)(e0,{children:(0,r.jsxs)(e2,{children:[(0,r.jsx)(c.EK.Featured,{}),s.t("builder.ai_profile_summary.assistance_modal.title")]})}),(0,r.jsx)(e3,{children:s.t("builder.ai_profile_summary.assistance_modal.description")}),(0,r.jsxs)(e5,{children:[(0,r.jsx)(e4,{onClick:()=>{((0,o.xP)("click_generate",{section:T,label:te}),v?.(),A)?S?.id?(P(l.Qm.generate),g("with_posting_selector")):(g(null),b({actionType:l.Qm.generate}),(0,o.xP)("start_generating",{section:T,label:a.t6,mode:l.Qm.generate})):g(null)},"data-testid":"ai-writer-generate-button",children:s.t("builder.ai_profile_summary.option.generate")}),j&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e6,{}),(0,r.jsx)(e4,{onClick:()=>{S?.id?(P(l.Qm.improve),g("with_posting_selector")):(g(null),b({actionType:l.Qm.improve}),(0,o.xP)("start_generating",{section:T,label:a.t6,mode:l.Qm.improve})),(0,o.xP)("click_improve",{section:T,label:te})},"data-testid":"ai-writer-improve-button",children:s.t("builder.ai_profile_summary.option.improve")})]})]})]}),(0,r.jsxs)(e9,{children:[!!f&&(0,r.jsx)(e8,{onClick:()=>{k({trigger:"click"}),(0,o.xP)("click_add_phrases",{section:T,label:te})},children:s.t("builder.ai_profile_summary.option.add_prewritten_phrases")}),d&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e7,{}),(0,r.jsx)(eQ.Vm,{section:T,text:s.t("builder.ai_profile_summary.assistance_modal.add_keywords"),onClick:()=>g(null)})]})]})]})})};var ti=i(75200),tr=i(59332);let tn=(0,A.Ay)(P)(["overflow:visible;width:480px;border-radius:8px;"," "," ",""],T.A.Tablet`
6392    width: 420px;
6393  `,e=>T.A.Tablet`
6394    transform: translate(-40px, ${e.isProcessing?"380px":"115%"});
6395  `,T.A.Phone`
6396    display: none;
6397  `),to=A.Ay.div(["display:flex;flex-direction:column;padding:16px 16px 12px;"]),ta=A.Ay.p(["color:",";",";",";"],C.Jy.Indigo70,w.Ay.Caps,w.BO.DemiBold);C.Jy.Neutral50,w.Ay.Tiny;let tl=A.Ay.p(["color:",";",";"],C.Jy.Neutral50,w.Ay.Tiny),ts=A.Ay.div(["color:",";",";height:256px;padding-left:",";animation:colorPulse 1.3s ease-in-out infinite;@keyframes colorPulse{0%,100%{color:",";}50%{color:",";}}"],C.Jy.Neutral50,w.Ay.Body,C.Kz.S,C.Jy.Neutral50,C.Jy.Neutral30),td=A.Ay.div(["width:100%;height:1px;background-color:",";"],C.Jy.Neutral15),tc=A.Ay.div(({isAnimationActive:e})=>(0,A.AH)(["color:",";",";padding:"," "," 0 ",";height:216px;position:relative;"," ul{padding-inline-start:20px;}",""],C.Jy.Neutral90,w.Ay.Body,C.Kz.S,C.Kz.S,C.Kz.S,e&&(0,A.AH)(["color:",";"],C.Jy.Indigo50),T.A.Phone`
6398      height: 184px;
6399    `)),tu=A.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:0 "," "," ",";"],C.Kz.S,C.Kz.S,C.Kz.S),tp=(0,A.Ay)(eE.Ay)(["padding:10px 20px;display:flex;flex-direction:row;gap:8px;border:1px solid ",";color:",";",";",";background-color:",";border-radius:8px;flex:1;justify-content:center;&:hover{background-color:",";border:1px solid ",";color:",";}"],C.Jy.Neutral20,C.Jy.Neutral70,w.Ay.Body,w.BO.Medium,C.Jy.White,C.Jy.White,C.Jy.Indigo30,C.Jy.Indigo60),th=A.Ay.div(["path:first-child{fill:inherit;}path:not(:first-child){fill:inherit;}"]),tx=(0,A.Ay)(eE.Ay)(["color:",";background-color:",";padding:12px 32px;",";",";border-radius:8px;flex:1;justify-content:center;&:hover{background-color:",";}"],C.Jy.White,C.Jy.Indigo50,w.Ay.Body,w.BO.Medium,C.Jy.Indigo60),tm=(0,A.Ay)(eE.Ay)(["position:absolute;top:12px;right:12px;color:",";transition:color 0.1s;z-index:999;background-color:",";padding:0;&:hover{background-color:",";}"],C.Jy.Neutral40,C.Jy.White,C.Jy.White),tg=A.Ay.div(["pointer-events:none;"]),ty=(0,A.Ay)(tr.P)(["overflow-y:auto;"]),tf=A.Ay.div(["position:relative;"]),tb=A.Ay.div(["position:absolute;
6399left:0;right:0;height:24px;pointer-events:none;z-index:10;opacity:",";transition:opacity 0.2s ease-in-out;"],({show:e})=>+!!e),t_=(0,A.Ay)(tb)(["top:0;background:linear-gradient(to bottom,rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);"]),tv=(0,A.Ay)(tb)(["bottom:0;background:linear-gradient(to top,rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);"]),tj=A.Ay.div(["padding:",";border-top:1px solid ",";"],C.Kz["2XS"],C.Jy.Neutral15),tA=A.Ay.div(["position:relative;display:flex;flex-direction:column;"]),tC=A.Ay.textarea(["width:100%;padding:12px 60px 20px 12px;border-radius:8px;background-color:",";color:",";",";position:relative;z-index:2;height:124px;resize:none;border:0;cursor:pointer;&::placeholder{color:",";}&:focus{outline:none;border-bottom:2px solid ",";cursor:text;}"],C.Jy.Neutral5,C.Jy.Neutral90,w.Ay.Body,C.Jy.Neutral50,C.Jy.Blue50),tw=A.Ay.div(["position:absolute;bottom:12px;left:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;z-index:3;pointer-events:all;",""],T.A.Phone`
6400    gap: 6px;
6401  `),tk=A.Ay.button(["padding:6px 12px;border:1px solid ",";border-radius:4px;background-color:",";color:",";",";cursor:pointer;transition:all 0.1s;&:hover{background-color:",";}"],C.Jy.Neutral20,C.Jy.Neutral5,C.Jy.Neutral90,w.Ay.Caption,C.Jy.Neutral20),tS=A.Ay.div(["position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:8px;z-index:3;",""],e=>T.A.Phone`
6402    ${!e.$isInputFocused&&"right: 0;"}
6403  `),tT=A.Ay.button(["padding:6px;border:none;border-radius:50%;background-color:",";color:",";cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.1s;width:32px;height:32px;&:hover{background-color:",";}"],C.Jy.Blue50,C.Jy.White,C.Jy.Blue60),tP=A.Ay.div(["position:absolute;bottom:12px;left:12px;right:12px;display:flex;align-items:center;gap:8px;z-index:4;overflow:hidden;"]),tJ=A.Ay.div(["display:flex;align-items:center;gap:4px;"]),tE="ai_suggestion_dialog",tR=()=>{let{i18n:e}=(0,p.s)(),[t,i]=(0,n.useState)(!1),[a,s]=(0,n.useState)(""),[d,m]=(0,n.use
6403State)(!1),g=(0,n.useRef)(null),v=(0,n.useRef)(null),j=(0,n.useRef)(null),{isPhone:A,isTablet:C,isLaptop:w}=(0,b.e)(),{openedModal:k,setOpenedModal:S,generateContent:T,onChangePhrasesSuggestions:P,phrasesOpenerRef:J,editorContainerRef:E,section:R,generatedContent:L,isResultContentAnimationRunning:N,setGenerationStatus:I,setIsResultContentAnimationRunning:M,resetAiWriterFlow:B,onApplyChanges:D,sendMessage:$,generationStatus:O,actionType:z}=eS(),{isAnimationActive:F,animateContent:H}=((e,t)=>{let[i,r]=(0,n.useState)(!1);return{animateContent:(0,n.useCallback)(()=>{if(e.current&&t){e.current.innerHTML="";let i=t??"";r(!0);for(let t=0,n=i.length;t<n;t++)setTimeout(t=>{e.current&&(e.current.innerHTML=i.substring(0,t+1),t+1>=n&&r(!1))},10*t,t)}},[t,e]),isAnimationActive:i}})(j,L),[V,U]=(0,n.useState)(!1),[W,K]=(0,n.useState)(!1),q=(0,n.useCallback)(()=>{if(v.current){let{scrollTop:e,scrollHeight:t,clientHeight:i}=v.current;K(e>2),U(e+i<t-2)}},[]);(0,n.useEffect)(()=>{let e=v.current;if(e&&L){let t=()=>q();return e.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",q),()=>{e.removeEventListener("scroll",t),window.removeEventListener("resize",q)}}},[L,q]),(0,n.useEffect)(()=>{v.current&&L&&requestAnimationFrame(()=>{q(),setTimeout(q,100)})},[L,q]),(0,n.useEffect)(()=>{!F&&L&&setTimeout(q,50)},[F,L,q]),(0,n.useLayoutEffect)(()=>{g.current&&(0,u.q)(g.current),i(!0)},[g]),(0,n.useEffect)(()=>{L&&N&&H()},[H,N,L]),(0,x.h)(()=>{(0,o.xP)("open_rewrite_dialog",{section:R,label:tE,mode:z})}),f({ref:g,topOffset:63,timeoutMs:250,isDisabled:!(A||C||w)}),y(g,[J,E],()=>{"ai_writer_result"!==k||A||(S(null),M(!1))}),(0,h.j)(()=>{"ai_writer_result"===k&&(S(null),M(!1))});let G=()=>{B(),S(null),(0,o.xP)("click_cross",{label:tE,section:R}),P?.()},Z=()=>{S(null),M(!0),I(l.IQ.notStarted),T(),(0,o.xP)("click_rewrite",{label:tE,section:R,mode:z})},X=()=>{L&&(D(L),B(),S(null),(0,o.xP)("click_use",{label:tE,section:R,mode:z}),P?.())},Q=O===l.IQ.processing,Y=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tm,{onClick:G,"data-testid":"ai-writer-close-button",children:(0,r.jsx)(tg,{children:(0,r.jsx)(c.qJ.Close,{})})}),(0,r.jsxs)(to,{children:[(0,r.jsx)(ta,{children:e.t("builder.ai_profile_summary.assistance_modal.title")}),Q?(0,r.jsx)(tl,{children:e.t("builder.ai_profile_summary.assistance_modal.description")}):(0,r.jsx)(tl,{children:e.t("builder.ai_profile_summary.rephrasing_modal.warning")})]}),Q?(0,r.jsx)(ts,{"data-testid":"ai-writer-loading-message",children:e.t("builder.ai_profile_summary.processing.loading_message")}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(td,{}),(0,r.jsxs)(tf,{children:[(0,r.jsx)(ty,{ref:v,children:(0,r.jsx)(tc,{isAnimationActive:F,ref:j,"data-testid":"ai-writer-suggestion-content",dangerouslySetInnerHTML:{__html:L||""}})}),(0,r.jsx)(t_,{show:W}),(0,r.jsx)(tv,{show:V})]}),!d&&(0,r.jsxs)(tu,{children:[(0,r.jsxs)(tp,{onClick:Z,"data-testid":"ai-writer-regenerate-button",children:[(0,r.jsx)(th,{children:(0,r.jsx)(c.EK.Update,{})}),e.t("builder.ai_profile_summary.rephrasing_modal.regenerate_button")]}),(0,r.jsx)(tx,{onClick:X,"data-testid":"ai-writer-apply-button",children:e.t("builder.ai_profile_summary.rephrasing_modal.apply_button")})]}),(0,r.jsx)(tj,{children:(0,r.jsx)(ti.A,{onTranscript:e=>{s(t=>t?`${t} ${e}`:e)},children:t=>(0,r.jsxs)(tA,{children:[(0,r.jsx)(tC,{placeholder:e.t("builder.ai_profile_summary.rephrasing_modal.change_description"),value:a,onChange:e=>s(e.target.value),onFocus:()=>m(!0),onBlur:()=>m(!1)}),!d&&!t.isListening&&(0,r.jsxs)(tw,{children:[(0,r.jsx)(tk,{onClick:()=>T({customPrompt:e.t("builder.ai_profile_summary.commands.shorter")}),children:e.t("builder.ai_profile_summary.rephrasing_modal.suggestion_chips.shorter")}),(0,r.jsx)(tk,{onClick:()=>T({customPrompt:e.t("builder.ai_profile_summary.commands.more_impact_driven")}),children:e.t("builder.ai_profile_summary.rephrasing_modal.suggestion_chips.more_impact")}),(0,r.jsx)(tk,{onClick:()=>T({customPrompt:e.t("builder.ai_profile_summary.commands.humanize")}),children:e.t("builder.ai_profile_summary.rephrasing_modal.suggestion_chips.humanize")})]}),!t.isListening&&(0,r.jsxs)(tS,{$isInputFocused:d,children:[(0,r.jsx)(ti.A.StartButton,{}),(a||d)&&(0,r.jsx)(tT,{onMouseDown:e=>{e.preventDefault(),a.trim()&&($(a.trim()),s(""),m(!1))},children:(0,r.jsx)(c.qJ.ArrowUp,{})})]}),t.isListening&&(0,r.jsxs)(tP,{children:[(0,r.jsx)(ti.A.VoiceVisualiser,{height:32,isActive:!0,width:A?215:C?260:void 0}),(0,r.jsx)(ti.A.ListeningTimer,{isActive:!0}),(0,r.jsxs)(tJ,{children:[(0,r.jsx)(ti.A.StopButton,{}),(0,r.jsx)(ti.A.CompleteButton,{})]})]})]})})})]})]});return A?(0,r.jsx)(_.A,{open:t,snapPoints:["436px"],onClose:G,"data-testid":"ai-writer-result-popup",children:Y()}):(0,r.jsx)(tn,{ref:g,isVisible:t,isProcessing:Q,"data-testid":"ai-writer-result-popup",children:Y()})},tL=({placement:e}={})=>{let{i18n:t}=(0,p.s)(),{isPhone:i,isTablet:n}=(0,b.e)(),o=e??(n?"top":"right"),{openedModal:a,handleToggleModal:l,handleAddPhrase:s,onToggleSuggestions:d,setOpenedModal:c,generateContent:u,includeJobPosting:h,setIncludeJobPosting:x,phrasesOpenerRef:m,editorContainerRef:g,mode:y,jobTitle:f,section:_,jobPosting:v,editorText:j,phraseSuggestionScope:A,locale:C}=eS();return(0,r.jsxs)(r.Fragment,{children:["ai_writer"===y&&(0,r.jsx)(ef,{isActive:!!a,ref:m,onToggle:()=>l("ai_writer"),text:t.t("builder.ai_profile_summary.help_with_writing_modal.button_text"),isAiAction:!0}
6403),"prewritten_phrases"===y&&(0,r.jsx)(ef,{isActive:!!a,ref:m,onToggle:()=>l("prewritten_phrases"),isAiAction:!1}),"prewritten_phrases"===a&&A&&(0,r.jsx)(eP.gl,{isPopupOpen:!0,placement:o,reference:i?g:m,render:()=>(0,r.jsx)(ed,{text:j,onSelect:s,locale:C,outsideOpenerRef:m,scope:A,editorContainerRef:g,onToggleSuggestions:d,jobTitle:f||"",isAiAction:!0})}),"ai_writer"===a&&(0,r.jsx)(eP.gl,{isPopupOpen:!0,placement:o,reference:m,render:()=>(0,r.jsx)(tt,{})}),"ai_writer_result"===a&&(0,r.jsx)(eP.gl,{isPopupOpen:!0,placement:o,reference:i?g:m,render:()=>(0,r.jsx)(tR,{})}),"with_posting_selector"===a&&v&&(0,r.jsx)(eX,{section:_,onClose:()=>c(null),onSelectOption:x,onGenerate:u,includeJobPosting:h,jobPosting:v})]})};i.p;let{Neutral90:tN,Red50:tI,White:tM,Indigo50:tB}=C.Jy;T.A.Phone`
6404    width: 343px;
6405    padding: 42px 20px;
6406  `,w.Ay.M,w.BO.DemiBold,T.A.Phone`
6407    ${w.Ay.S};
6408    margin-bottom: 8px;
6409  `,w.Ay.Caption,T.A.Phone`
6410    width: 128px;
6411    height: 121px;
6412    margin-bottom: 16px;
6413  `,T.A.Phone`
6414    margin: 16px;
6415  `,(0,A.Ay)(eE.Ay)(["padding:12px 24px;background-color:",";",";",";&:hover{background-color:",";}"],tB,w.Ay.Body,w.BO.Medium,C.Jy.Indigo60),(0,A.Ay)(eE.Ay)(["padding:12px 24px;margin-right:16px;",";",";"],w.Ay.Body,w.BO.Medium),i(68895);let{White:tD,Neutral90:t$,Neutral50:tO}=C.Jy;T.A.Phone`
6416    width: 343px;
6417    padding: 58px 20px;
6418    gap: 20px;
6419  `,T.A.Phone`
6420    height: 160px;
6421  `,w.Ay.M,w.BO.DemiBold,w.Ay.Body},5505:function(e,t,i){"use strict";i.d(t,{Mw:function(){return $},wb:function(){return x},JN:function(){return N},Vm:function(){return D}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(20646),s=i(32606),d=i(14649),c=i(68997),u=i(18509),p=i(52986);i(22489);var h=i(9888);let x=()=>{let{requestedSkills:e=[]}=(0,u.N)(s.Tp.attachedJobPostingAPIData)||{},{skills:t=[]}=(0,u.N)(s.Tp.resumeScoreAPIData)||{},i=(0,u.N)(s.Tp.attachedJobPostingId),r=(0,h.U)(),o=!!(i&&r?.features.resumeOptimizer),a=(0,n.useMemo)(()=>e?.map(e=>e.name)||[],[e]),l=(0,n.useMemo)(()=>t?.filter(e=>"full_match"!==e.matchType).map(e=>e.name)||[],[t]),d=(0,n.useMemo)(()=>a.filter(e=>!l.includes(e)),[a,l]),c=(0,n.useMemo)(()=>a.length?[...l,...d]:[],[l,d,a.length]),p=!!c.length,x=d.length===c.length;return{allKeywords:c,addedKeywords:d,isKeywordsAvailable:o&&p&&!x,isKeywordsFeatureEnabled:o}},m={profile:"profile",workExperiences:"work_experience"};var g=i(77378),y=i(38267),f=i(99701),b=i(49504);let _=y.Ay.div(["",";",";display:flex;align-items:center;gap:8px;"],b.BO.DemiBold,b.Ay.Caps),v=y.Ay.span(["color:",";"],f.Jy.Neutral90),j=y.Ay.span(["color:",";"],f.Jy.Neutral50),A=e=>{let{count:t,total:i,caption:n}=e,{i18n:o}=(0,g.s)(),a=n||o.t("builder.resume_editor.keywords.popup.counter_caption");return(0,r.jsxs)(_,{children:[(0,r.jsxs)(v,{children:[t,"/",i]}),(0,r.jsx)(j,{children:a})]})};var C=i(25755),w=i(24833);let k=(0,y.Ay)(d.EK.Hint2)(["transition:opacity 0.2s ease-out;"]),S=(0,y.Ay)(d.EK.Tips)(["transition:opacity 0.2s ease-out;position:absolute;left:0;top:0;"]),T=y.Ay.div(["display:flex;color:",";cursor:pointer;position:relative;","{opacity:1;}","{opacity:0;}",""],f.Jy.Blue50,k,S,w.A.Hover`
6422    &:hover {
6423      ${k} {
6424        opacity: 0;
6425      }
6426
6427      ${S} {
6428        opacity: 1;
6429      }
6430    }
6431  `),P=e=>{let{tooltipText:t}=e,{i18n:i}=(0,g.s)(),n=t||i.t("builder.resume_editor.keywords.popup.tooltip");return(0,r.jsx)(C.QP,{value:n,width:242,multiline:!0,children:(0,r.jsxs)(T,{children:[(0,r.jsx)(k,{}),(0,r.jsx)(S,{})]})})},J=y.Ay.div(["display:flex;flex-flow:column;gap:4px;position:sticky;top:0;background:",";padding-bottom:4px;"],f.Jy.White),E=y.Ay.div(["",";display:flex;align-items:center;gap:8px;"],b.BO.DemiBold),R=y.Ay.div(["",";color:",";"],b.Ay.Tiny,f.Jy.Neutral50),L="builder.resume_editor.keywords",N=(0,n.memo)(e=>{let{section:t,onClick:i,onActiveStateChange:h}=e,g=(0,o.wA)(),{jobTitle:y}=(0,u.N)(s.Tp.attachedJobPostingAPIData)||{},f=(0,u.N)(s.Tp.openedKeywordsModalType),b=(0,u.N)(s.Tp.openedAISuggestionsPopup),{allKeywords:_,addedKeywords:v,isKeywordsAvailable:j}=x(),[C,w]=(0,n.useState)(""),k=f===t,{showApplyAllButton:S,tryToStartAutoTailoring:T}=(0,p.G)();(0,n.useEffect)(()=>{b&&g(s.o1.setOpenedKeywordsModalType(null))},[b,g]),(0,n.useEffect)(()=>
6431{f===t&&t in m&&(0,a.xP)("open_ai_suggest_resume_optimizer",{label:m[t],keywords_total:_.length,keywords_added:v.length})},[f,t]);let N=(0,n.useCallback)(()=>{g(s.o1.setOpenedKeywordsModalType(null))},[g]),I=(0,n.useCallback)(()=>{k?N():(g(s.o1.setOpenedKeywordsModalType(t)),t in m&&(0,a.xP)("click_ai_suggest_resume_optimizer",{label:m[t]})),i?.()},[N,i,k,g,t]);(0,n.useEffect)(()=>{let e;return C&&(e=window.setTimeout(()=>w(""),2e3)),()=>clearTimeout(e)},[C]),(0,n.useEffect)(()=>{h?.(k)},[k,h]);let M=(0,n.useCallback)(()=>{T(),(0,a.xP)("click_apply_all_auto_tailoring",{label:m[t]})},[t,T]);return j?(0,r.jsx)(c.cr,{showApplyAllButton:S,onClose:N,isPopupOpen:k,tailoredDesignation:y,shouldCloseOnClickOutside:!1,onApplyAll:M,content:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(J,{children:[(0,r.jsxs)(E,{children:[(0,r.jsx)(A,{count:v.length,total:_.length}),(0,r.jsx)(P,{})]}),(0,r.jsx)(R,{children:l.R.t(`${L}.popup.description`)})]}),_.map(e=>{let i=v.includes(e),n=C===e,o=i?(0,r.jsx)(d.EK.Check,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.EK.Copy,{}),n?l.R.t(`${L}.popup.copied`):null]});return(0,r.jsx)(c.R8,{isActive:n,text:e,icon:o,isDisabled:i,onClick:()=>{i||((w(e),t in m&&(0,a.xP)("copy_suggested_keyword",{label:m[t],keyword:e}),navigator.clipboard)?navigator.clipboard.writeText(e):console.warn(`[AiKeywordsToggler]
6432        Your text is not copied because of local environment.
6433        Everything will be ok in prod`))}},e)})]}),children:(0,r.jsx)(c.W,{onClick:I,isActive:k})}):null}),I=y.Ay.span(["",";",";color:",";"],b.Ay.Tiny,b.BO.DemiBold,f.Jy.Neutral90),M=y.Ay.button(["",";display:flex;align-items:center;gap:",";color:",";transition:color 0.2s ease-out;padding:12px;background:",";border:none;outline:none;cursor:pointer;",""],b.Ay.Body,f.Kz["2XS"],f.Jy.Neutral80,f.Jy.White,w.A.Hover`
6434    :hover {
6435      background: ${f.Jy.White};
6436      color: ${f.Jy.Indigo60};
6437    }
6438
6439    :hover ${I} {
6440      color: ${f.Jy.Indigo70};
6441    }
6442  `),B=y.Ay.div(["display:flex;padding:0 2px;color:",";background:",";border-radius:4px;"],f.Jy.Indigo50,f.Jy.Indigo10),D=(0,n.memo)(e=>{let{section:t,text:i,onClick:n}=e,l=(0,o.wA)(),{allKeywords:c,addedKeywords:u,isKeywordsAvailable:p}=x();return p?(0,r.jsxs)(M,{onClick:()=>{"cover_letter"!==t&&(l(s.o1.setOpenedKeywordsModalType(t)),n?.(),t in m&&(0,a.xP)("click_add_keywords",{label:"ai_writer_dialog",section:m[t]}))},children:[(0,r.jsx)(B,{children:(0,r.jsx)(d.EK.ArrowTarget2,{})}),i,(0,r.jsxs)(I,{children:[u.length,"/",c.length]})]}):null}),$=e=>{let{isKeywordsAvailable:t}=x(),i=(0,u.N)(s.Tp.resume)?.workExperiences,a=(0,u.N)(e=>s.Tp.isSectionOpened(e,s.Gw.workExperiences)),l=(0,o.wA)(),d=(0,n.useCallback)(()=>{i&&i.length?a||l(s.o1.openCard({id:i[0].id,sectionId:s.Gw.workExperiences})):l(s.o1.addCard({sectionName:s.Gw.workExperiences,options:{shouldOpen:!0}}))},[i,a,l]);return t?(0,r.jsx)(N,{section:s.Gw.workExperiences,onClick:d,...e}):null}},68997:function(e,t,i){"use strict";i.d(t,{cr:function(){return R},gl:function(){return et},R8:function(){return M},IG:function(){return Q},W:function(){return K}});var r=i(74848),n=i(96540),o=i(99773);i(49091);var a=i(75874),l=i(14649),s=i(38621),d=i(6490),c=i(77378),u=i(38267),p=i(99701),h=i(49504),x=i(91779);let m=(0,u.Ay)(l.EK.ArrowTarget2)(["width:20px;height:20px;"]),g=(0,u.Ay)(x.Ay)(["",";",";padding:12px 24px 12px 16px;border-radius:",";background:",";color:",";display:flex;justify-content:center;align-items:center;gap:",";&:hover{background:",";}"],h.Ay.Body,h.BO.Medium,p.Kz["3XS"],p.Jy.Indigo50,p.Jy.White,p.Kz["3XS"],p.Jy.Indigo60),y=(0,u.Ay)(g)(["font-size:15px;line-height:18px;padding:7px 12px 7px 8px;width:",";"],e=>e.$hasFullWidth?"100%":"fit-content"),f=({onClick:e,hasFullWidth:t})=>{let{i18n:i}=(0,c.s)();return(0,r.jsxs)(y,{onClick:e,$hasFullWidth:t,children:[(0,r.jsx)(m,{}),i.t("builder.auto_tailoring.optimizer_button_text")]})};var b=i.p+"media/pointer0b542e1ddf3a9a03.svg",_=i(24833),v=i(67592),j=i(59332);let A=u.Ay.img(["fill:",";filter:drop-shadow(0px 1px 2px rgba(15,56,113,0.12));[data-placement^='top'] &{}[data-placement^='bottom'] &{transform:rotate(180deg);}[data-placement^='left'] &{transform:rotate(90deg);}[data-placement^='right'] &{transform:rotate(-90deg);}"],p.Jy.White),C=u.Ay.div(["display:flex;[data-placement^='top'] &{bottom:-8px;}[data-placement^='bottom'] &{top:-8px;}[data-placement^='left'] &{right:-8px;}[data-placement^='right'] &{left:-8px;}"]),w=(0,u.Ay)(a.CS.div)(["display:flex;flex-direction:column;border-radius:6px;background-color:",";box-shadow:",";scroll-margin-top:130px;position:relative;width:280px;",";&:after{content:'';position:absolute;bottom:0;width:100%;height:8px;border-radius:4px;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%);}"],p.Jy.White,v.A.light.low,_.A.Phone`
6443    width: 335px;
6444  `),k=u.Ay.div(["flex-grow:1;position:relative;align-items:center;justify-content:center;max-height:",";"],e=>e.$contentHeight||"300px"),S=u.Ay.div(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;margin-bottom:12px;padding:16px 16px 0 16px;"]),T=u.Ay.span(["align-items:center;margin-left:8px;font-style:normal;font-weight:400;font-size:16px;line-height:20px;width:192px;height:20px;color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],p.Jy.Neutral90),P=u.Ay.div(["display:flex;width:20px;height:20px;margin-left:13px;color:",";cursor:pointer;transition:color 0.1s;float:right;&:hover{color:",";}",""],p.Jy.Neutral70,p.Jy.Blue50,_.A.Phone`
6445    margin-left: 76px;
6446  `),J=(0,u.Ay)(j.P)(["display:flex;flex-direction:column;max-height:190px;overflow-y:scroll;padding:",";gap:4px;"],e=>e.resetBottomMargin?"0 4px 0 16px":"0 4px 16px 16px"),E=u.Ay.div(["display:flex;justify-content:center;margin-top:6px;margin-bottom:12px;padding:0 16px;"]),R=(0,n.memo)(e=>{let{isPopupOpen:t=!1,tailoredDesignation:i,onClose:c,contentHeight:u,shouldCloseOnClickOutside:p=!0,children:h,content:x,zIndex:m,showApplyAllButton:g,onApplyAll:y}=e,_=(0,n.useRef)(null),v={duration:150},j={opacity:0,transform:"scale(0.5)"},R={opacity:1,transform:"scale(1)"},[L,N]=(0,a.zh)(()=>
6446j),[I,M]=(0,n.useState)(!1),B=()=>{if(!_.current)return;let{top:e,bottom:t}=_.current.getBoundingClientRect();(e<0||t>window.innerHeight)&&_.current.scrollIntoView({behavior:"smooth",block:"start"})},D=()=>{c(),y?.()};return(0,n.useEffect)(()=>{if(t){let e=setTimeout(()=>M(!0),100);return()=>clearTimeout(e)}M(!1)},[t]),(0,r.jsx)(o.A,{placement:"top",render:e=>(0,r.jsxs)(w,{ref:_,...e,style:L,children:[(0,r.jsxs)(k,{$contentHeight:u,children:[(0,r.jsxs)(S,{children:[(0,r.jsx)(d.vE,{size:20,src:s}),i&&(0,r.jsx)(T,{children:i}),(0,r.jsx)(P,{onClick:c,children:(0,r.jsx)(l.EK.Close,{})})]}),(0,r.jsx)(J,{resetBottomMargin:g,children:x}),g&&(0,r.jsx)(E,{children:(0,r.jsx)(f,{onClick:D,hasFullWidth:!0})})]}),(0,r.jsx)(C,{"data-popper-arrow":!0,children:(0,r.jsx)(A,{src:b})})]}),visible:I,interactive:!0,animation:!0,offset:[0,16],popperOptions:{modifiers:[{name:"flip",enabled:!1}]},onClickOutside:()=>{p&&t&&c()},onMount:()=>{N({...R,onRest:B,config:v})},onHide:({unmount:e})=>{N({...j,onRest:e,config:{...v,clamp:!0}})},zIndex:m??3,children:h})}),L=u.Ay.div(["--background-color:",";--text-color:",";",";color:var(--text-color);background-color:var(--background-color);display:flex;align-items:center;justify-content:space-between;padding:6px 8px 6px 12px;gap:2px;border-radius:4px;white-space:nowrap;transition:background-color 0.1s,color 0.1s;cursor:pointer;"," ",";",";",";"],p.Jy.Neutral10,p.Jy.Neutral90,h.Ay.Caption,_.A.Phone`
6447    padding: 6px 16px 6px 12px;
6448  `,_.A.Hover`
6449    &:hover {
6450      --text-color: ${p.Jy.Indigo60};
6451    }
6452  `,e=>e.$isActive&&(0,u.AH)(["--background-color:#e6e8ff;pointer-events:",";--text-color:",";"],e.$isClickableWhenActive?"auto":"none",p.Jy.Indigo80),e=>e.$isDisabled&&(0,u.AH)(["--background-color:",";--text-color:",";pointer-events:none;"],p.Jy.Neutral5,p.Jy.Neutral50)),N=u.Ay.span(["overflow:hidden;text-overflow:ellipsis;"]),I=u.Ay.span(["flex:0 0 auto;display:flex;align-items:center;gap:2px;color:inherit;"]),M=e=>{let{text:t,icon:i,isActive:n,isDisabled:o,isClickableWhenActive:a=!1,...l}=e;return(0,r.jsxs)(L,{$isActive:n,$isDisabled:o,$isClickableWhenActive:a,...l,children:[(0,r.jsx)(N,{children:t}),i&&(0,r.jsx)(I,{children:i})]})};i(18111),i(61701),i(22489);var B=i(81247),D=i(33093),$=i(18509),O=i(32606),z=i(20646),F=i(5505),H=i(52986),V=i(9849);let U=u.Ay.button(["border:none;outline:none;padding:0 6px;width:32px;border-radius:4px;background-color:",";color:",";transition:background-color 0.1s,color 0.1s;cursor:pointer;display:flex;"," ",""],p.Jy.Indigo10,p.Jy.Indigo50,e=>e.$isActive&&(0,u.AH)(["background-color:",";color:",";"],p.Jy.Indigo50,p.Jy.White),_.A.Hover`
6453    &:hover {
6454      background-color: ${p.Jy.Indigo40};
6455      color: ${p.Jy.White};
6456    }
6457  `),W=(0,u.Ay)(l.EK.ArrowTarget2)(["pointer-events:none;"]),K=(0,n.forwardRef)((e,t)=>{let{isActive:i,...n}=e;return(0,r.jsx)(U,{$isActive:i,ref:t,...n,children:(0,r.jsx)(W,{})})});p.Jy.Neutral20,p.Jy.White,p.Jy.Neutral30,_.A.Phone`
6458    overflow-y: scroll;
6459  `;let q=u.Ay.button(["",";border:none;outline:none;align-content:center;justify-content:center;color:",";background-color:",";padding:2px 8px;height:20px;border-radius:4px;font-size:14px;line-height:8px;letter-spacing:0.3px;transition:background-color 0.1s,color 0.1s;cursor:pointer;&:hover{background-color:",";box-shadow:0px 2px 12px 0px ",";color:white;}"],h.BO.DemiBold,p.Jy.Green60,p.Jy.Green10,p.Jy.Green40,p.Jy.Green40),G={skills:[],position:""},Z={label:"skills"},X={label:"job_title"},Q=e=>{let{type:t,onActiveStateChange:i,popupZIndex:o}=e,{skills:a,position:s}=(0,B.d4)(O.Tp.resume)??G,d=(0,B.wA)(),{isKeywordsFeatureEnabled:c}=(0,F.wb)(),u=(0,B.d4)(O.Tp.openedKeywordsModalType),{showApplyAllButton:p,tryToStartAutoTailoring:h}=(0,H.G)(),x=a.map(e=>e.skill?e.skill.trim():"").filter(Boolean),m=(0,$.N)(e=>e.resumeEditor.openedAISuggestionsPopup),{jobTitle:g,companyName:y,requestedSkills:f}=(0,$.N)(e=>e.resumeEditor.attachedJobPostingState.attachedJobPostingAPIData)||{},b=(0,V.F)(g,y),_=m===t,v=(0,n.useMemo)(()=>{let e=f?.map(e=>e.name).filter(e=>!x.includes(e))||[],i=g!==s&&g?[g]:[];return"skills"===t?e:i},[_,s,g]),j=(0,n.useCallback)(()=>{d(O.o1.setOpenedAISuggestionsPopup(null))},[d]),A=()=>{m?j():(d(O.o1.setOpenedAISuggestionsPopup(t)),"skills"===t?(0,D.xP)("click_ai_suggest_resume_optimizer",Z):(0,D.xP)("click_ai_suggest_resume_optimizer",X))},C=(0,n.useCallback)(e=>i=>{switch(i.preventDefault(),t){case"jobTitle":d(O.o1.updateSimpleField({name:"position",value:e})),(0,D.xP)("apply_ai_suggest_resume_optimizer",X),j();break;case"skills":d(O.o1.addCard({sectionName:"skills",options:{position:"before",fields:{skill:e}}})),(0,D.xP)("apply_ai_suggest_resume_optimizer",Z)}},[d,j,t]),w=(0,n.useCallback)(e=>"skills"===t?x.includes(e):s===e,[s,x,t]),{enabled:k}
6459=(0,$.N)(O.Tp.autoTailoringFromJobBoard),S=!k&&v.length>0;(0,n.useEffect)(()=>{i?.(_)},[_,i]),(0,n.useEffect)(()=>{u&&d(O.o1.setOpenedAISuggestionsPopup(null))},[u,d]),(0,n.useEffect)(()=>{if(_)switch(t){case"jobTitle":(0,D.xP)("open_ai_suggest_resume_optimizer",X);break;case"skills":(0,D.xP)("open_ai_suggest_resume_optimizer",Z)}},[_,t]);let T=(0,n.useCallback)(()=>{h(),(0,D.xP)("click_apply_all_auto_tailoring",{label:t})},[t,h]);return S?(0,r.jsx)(R,{showApplyAllButton:p&&"skills"===t,isPopupOpen:_,tailoredDesignation:b,onClose:j,zIndex:o,onApplyAll:T,content:(0,r.jsx)(r.Fragment,{children:v.map(e=>{let t=w(e);return(0,r.jsx)(M,{isActive:t,text:e,icon:t?(0,r.jsx)(l.EK.Tick,{}):(0,r.jsx)(l.EK.Add,{}),onClick:C(e)},e)})}),children:c?(0,r.jsx)(K,{onClick:A,isActive:_}):(0,r.jsx)(q,{onClick:A,children:z.R.t("builder.resume_optimizer.ai_suggest")})}):null},Y=(0,u.Ay)(a.CS.div)([""]),ee=e=>{let{instance:t,containerRef:i,...o}=e;return(0,n.useEffect)(()=>{if(i.current){let e=new ResizeObserver(()=>{t?.popperInstance?.update()});return e.observe(i.current),()=>e.disconnect()}},[i,t]),(0,r.jsx)(Y,{ref:i,...o})},et=(0,n.memo)(e=>{let{isPopupOpen:t=!1,children:i,render:l,placement:s,reference:d,offsetPx:c=16}=e,u=(0,n.useRef)(null),p={duration:150},h={opacity:0,transform:"scale(0.5)"},x={opacity:1,transform:"scale(1)"},[m,g]=(0,a.zh)(()=>h),[y,f]=(0,n.useState)(!1),b=()=>{if(!u.current)return;let{top:e,bottom:t}=u.current.getBoundingClientRect();(e<0||t>window.innerHeight)&&u.current.scrollIntoView({behavior:"smooth",block:"start"})};return(0,n.useEffect)(()=>{if(t){let e=setTimeout(()=>f(!0),100);return()=>clearTimeout(e)}f(!1)},[t]),(0,r.jsx)(o.A,{placement:s,render:(e,t,i)=>(0,r.jsx)(ee,{containerRef:u,style:m,instance:i,...e,children:l?.(e,t,i)}),visible:y,interactive:!0,animation:!0,offset:[0,c],popperOptions:{modifiers:[{name:"flip",enabled:!1}]},onMount:()=>{g({...x,onRest:b,config:p})},onHide:({unmount:e})=>{g({...h,onRest:e,config:{...p,clamp:!0}})},reference:d,appendTo:document.body,children:i})})},18503:function(e,t,i){"use strict";i.d(t,{aJ:function(){return c},Ay:function(){return p}});var r=i(74848),n=i(96540),o=i(5556),a=i.n(o),l=i(95705),s=i(3161);let d=(0,n.createContext)({type:"jump-js"}),c=e=>{let{children:t,type:i}=e;return(0,r.jsx)(d.Provider,{value:{type:i},children:t})};class u extends n.Component{static propTypes={id:a().oneOfType([a().string,a().number]),delay:a().number,scrollOffsetTop:a().number,children:a().node,scrollAnchorPosition:a().oneOf(["start","center","end","nearest"])};static defaultProps={delay:0,scrollOffsetTop:110};static contextType=d;componentDidMount(){s.A.attachAnchor(this.props.id,this.handleMessageReceive)}componentWillUnmount(){s.A.detachAnchor(this.props.id),clearTimeout(this.jumpTimer)}handleMessageReceive=e=>{this.jumpTimer=setTimeout(this.jumpToContainer,this.props.delay)};jumpToContainer=()=>{if(this.containerRef){if(this.context?.type==="native")return void this.containerRef.scrollIntoView({behavior:"smooth",block:this.props.scrollAnchorPosition||"start"});(0,l.A)(this.containerRef,{offset:-1*this.props.scrollOffsetTop,duration:e=>Math.min(.3*Math.abs(e)+140,400)})}};render(){return(0,r.jsx)("div",{ref:e=>this.containerRef=e,"data-anchor-id":this.props.id,children:this.props.children})}}var p=u},43623:function(e,t,i){"use strict";i.d(t,{$r:function(){return s.$r},qP:function(){return s.qP},$Z:function(){return s.$Z},wc:function(){return f}}),i(44114),i(18111),i(7588),i(61701);var r=i(74848),n=i(96540),o=i(62243),a=i.n(o),l=i(2670),s=i(18074),d=i(38267),c=i(99701),u=i(85363),p=i(78561);let h=d.Ay.div(["position:relative;& [aria-controls]{cursor:initial;}& .react-autosuggest__suggestions-list,& .react-autosuggest__suggestion{margin:0;padding:0;list-style:none;}"]),x=d.Ay.div(["display:",";position:absolute;z-index:3;top:100%;left:0;right:0;padding:6px 0;border-radius:0 0 3px 3px;",";background-color:",";transition:transform 0.14s ease;transform-origin:50% 0;max-height:400px;overflow-y:scroll;&::-webkit-scrollbar{width:2px;background-color:transparent;}&::-webkit-scrollbar-thumb{background-color:",";border-radius:6px;}"],e=>e.isEmpty?"none":"block",u.A.Shadow,c.Jy.Neutral10,c.Jy.Neutral30),m=d.Ay.div(["position:relative;"]),g=d.Ay.div(["padding:6px 16px;cursor:pointer;color:",";background-color:",";"],e=>e.isHighlighted?c.Jy.Blue50:c.Jy.Neutral90,e=>e.isHighlighted?(0,p.j)(c.Jy.Blue20,.5):"transparent"),y=({query:e,text:t})=>{let i=t.toLowerCase().indexOf(e.toLowerCase());return -1===i?(0,r.jsx)(r.Fragment,{children:t}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:t.substring(0,i)}),(0,r.jsx)("b",{children:t.substring(i,i+e.length)}),(0,r.jsx)("span",{children:t.substring(i+e.length)})]})},f=(0,n.forwardRef)((e,t)=>{let{className:i,name:o,children:d,debounceInterval:c,getSuggestionValue:u=e=>"string"==typeof e.text?e.text:"",onChange:p,defaultSuggestions:f=[],inputProps:b,clearPreviousSuggestions:_=!0,emptyStateElement:v,showInputAsSuggestion:j,...A}
6459=e,C=e.value||"",[w,k]=(0,n.useState)([]),[S,T]=(0,n.useState)(),[P,J]=(0,n.useState)(!1),E=(0,n.useRef)([]);(0,n.useEffect)(()=>()=>{E.current.forEach(e=>clearTimeout(e)),E.current=[],S?.cancel()},[S]);let R=(0,n.useRef)({}),L=(0,n.useRef)(!0);(0,n.useEffect)(()=>(L.current=!0,()=>{L.current=!1}),[]);let N=(0,l.Y)(({value:t})=>{if(S?.cancel(),J(!1),E.current.forEach(e=>clearTimeout(e)),E.current=[],0===t.length)return;let i=e=>{if(L.current){let t;e.length<1&&(t=setTimeout(()=>{J(!0)},1500),E.current.push(t)),k(e)}},r=R.current[t];if(r)return void r.then(i);let n=(0,s.vX)(e.fetchItems(t));T(n);let o=n.promise;o.then(i),R.current[t]=o},c||350),I=(0,n.useMemo)(()=>{let e=C?.length===0,t=j&&!(w||[]).map(e=>e.text)?.includes(C)?[{text:C,flags:{noIcon:!1}}].concat(w):w;return e?f:t},[f,w,C,j]);return(0,r.jsx)(h,{className:i,translate:"no",children:(0,r.jsx)(a(),{ref:t,renderSuggestionsContainer:({containerProps:{key:e,...t},children:i})=>(0,r.jsxs)(m,{children:[(0,r.jsx)(x,{...t,isEmpty:!i,children:i}),C&&P&&v]},e),renderSuggestion:(t,i)=>(0,r.jsx)(g,{isHighlighted:i.isHighlighted,children:e.highlightedQuery?(0,r.jsx)(y,{query:i.query,text:u(t)}):u(t)}),...A,suggestions:I,onSuggestionsFetchRequested:N,onSuggestionsClearRequested:()=>{S?.cancel(),_&&k([])},renderInputComponent:d,inputProps:{name:o,value:C,onChange:p,...b},getSuggestionValue:u,onSuggestionSelected:(t,i)=>{if("enter"===i.method&&t.preventDefault(),"function"==typeof e.onSuggestionSelected)return e.onSuggestionSelected(t,i);let r={...t.target,name:o||"",value:i.suggestionValue};p({...t,target:r})}})})})},18074:function(e,t,i){"use strict";i.d(t,{$Z:function(){return l},$r:function(){return s},qP:function(){return o},vX:function(){return a}}),i(18111),i(61701);var r,n=i(49012),o=((r={}).Root="",r.CareerPath="/career-pathways",r.CareerPages="career-data/v1",r);let a=e=>{let t=!1;return{promise:new Promise((i,r)=>{e.then(e=>!t&&i(e)),e.catch(e=>!t&&r(e))}),cancel:()=>{t=!0}}},l=(e,t={})=>async i=>{try{let{limit:r=5,locale:o,section:a="",...l}
6459=t,s={query:i,limit:r,locale:o,...l},d=await n.uE.get(`${a}/suggest/${e}`,{params:s});return d.data?d.data.suggestions:[]}catch(e){return[]}},s=(e,t={})=>async i=>{try{let{limit:r=5,locale:o,section:a="",...l}=t,s={startswith:i,limit:r,locale:o,...l};if("job-titles"===e){let t=await n.R3.get(`${a}/${e}`,{params:s});return t.data?t.data.map(e=>({text:e.standardTitle})):[]}let d=await n.R3.get(`${a}/${e}`,{params:s});return d.data?d.data.map(e=>({text:e})):[]}catch(e){return[]}}},93575:function(e,t,i){"use strict";i.d(t,{j:function(){return m}});var r=i(96540),n=i(81247),o=i(33093),a=i(41193),l=i(18509),s=i(45868),d=i(42692),c=i(13807),u=i(57238),p=i(22130),h=i(12330);let x="auto-apply-upsell-modal",m=(e=!1)=>{let t=(0,a.J)(),i=(0,n.wA)(),{features:m}=(0,d.t)(),g=!(0,s.G)()&&!window.location.pathname.includes("job-search")&&!window.location.pathname.includes("resume-distribution"),y=h.D.getItem(x),f=(0,l.N)(c.Tp.showAutoApplyUpsellModal),b=(0,r.useCallback)(()=>{e&&m?.autoApply&&t?.hasPremiumFeatures&&!t?.scopes?.autoApply&&!y&&!t?.billingInfo.premiumEndsAt&&m?.autoApplyUpsellModal&&m?.autoApplyUpsellModal!=="A"&&g&&((0,o.xP)("show_auto_apply_upsell_modal"),i(c.o1.toggleAutoApplyUpsellModal(!0)))},[i,e,t?.billingInfo.premiumEndsAt,t?.hasPremiumFeatures,t?.scopes?.autoApply,y,m?.autoApply,m?.autoApplyUpsellModal,g]);return(0,r.useEffect)(()=>{f||b()}
6459,[f,b]),{isOpen:f,isTrialUser:t?.isTrialUser,isFreeUser:t?.billingInfo.userType===u.ut.free,isPostPremiumUser:t?.billingInfo.userType===u.ut.postPremium,planName:"20_credits_autoapply",handleOpenModal:()=>{(0,o.xP)("show_auto_apply_upsell_modal",{label:"auto_apply_click"}),i(c.o1.toggleAutoApplyUpsellModal(!0))},handleCloseModal:()=>{h.D.setItem(x,"true"),i(c.o1.toggleAutoApplyUpsellModal(!1))},handlePayment:()=>{h.D.setItem(x,"true"),(0,o.xP)("click_auto_apply_upsell_modal"),(0,p.b)({referrerPage:"auto-apply",upgradeURL:"/app/billing/payment",onSuccessRedirect:"/app/auto-apply/documents",plan:"20_credits_autoapply"})},showUpsellModal:g}}},52986:function(e,t,i){"use strict";i.d(t,{G:function(){return d}});var r=i(96540),n=i(81247),o=i(7439),a=i(18509),l=i(32606),s=i(87242);let d=()=>{let e=(0,n.wA)(),{isAutoTailoringEnabled:t}=(0,o.b)(),i=(0,a.N)(l.Tp.resume),d=!!i?.autoTailored,c=t&&!d,u=(0,a.N)(l.Tp.autoTailoringFromJobBoard),p=(0,r.useCallback)(()=>{(t||u.enabled)&&e(l.o1.setIsResumeAnalysisModalOpen(!0))},[e,t,u.enabled]),h=t&&(0,s.L$)(i);return{showApplyAllButton:c,tryToStartAutoTailoring:p,isAutoTailoringEnabled:t,isDataMissed:h}}},98186:function(e,t,i){"use strict";i.d(t,{A:function(){return u}}),i(18111),i(18237);var r=i(74848),n=i(96540),o=i(4449),a=i(5556),l=i.n(a),s=i(99701);let d=[s.Jy.Blue50,s.Jy.Orange40,s.Jy.Amber40,s.Jy.Green50,"#d34836",s.Jy.Indigo80,s.Jy.Indigo60],c=({src:e,alt:t="",size:i=28,...n})=>{let a=t.length<1,l=a?s.Jy.Neutral10:d[Array.from(t.slice(0,3)).reduce((e,t)=>e+t.charCodeAt(0),0)%d.length];return(0,r.jsx)(o.j,{src:e,color:l,size:i,...n,children:!e&&(0,r.jsx)(o.r,{fontSize:.57*i,children:a?"":t[0]})})};c.propTypes={src:l().string,alt:l().string,size:l().number,color:l().string};var u=(0,n.memo)(c)},4449:function(e,t,i){"use strict";i.d(t,{j:function(){return o},r:function(){return a}});var r=i(38267),n=i(99701);let o=r.Ay.div(["width:","px;height:","px;"," overflow:hidden;border-radius:",";box-shadow:0 0 0 1px rgba(15,20,31,0.1) inset;display:flex;align-items:center;justify-content:center;",""],({size:e})=>e,({size:e})=>e,({color:e,src:t})=>t?(0,r.AH)(["background-image:url(",");background-repeat:no-repeat;background-size:contain;background-position:center center;"],t):(0,r.AH)(["background-color:",";"],e||n.Jy.White),({borderRadius:e})=>e||"50%",({border:e})=>e&&(0,r.AH)(["border:",";"],e)),a=r.Ay.div(["font-size:","px;line-height:1.25;color:",";text-shadow:0px 1px 2px rgba(15,20,31,0.16);font-weight:600;text-transform:uppercase;"],({fontSize:e})=>e,n.Jy.White)},44837:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var r=i(74848),n=i(96540),o=i(67088),a=i(17928);let l=i(38267).Ay.canvas(["display:block;width:","px;height:","px;"],e=>e.size,e=>e.size),s=window.devicePixelRatio||1,d=({size:e,background:t,...i})=>{let d=(0,n.useRef)(null),c=(0,n.useRef)(a.HI);return(0,n.useEffect)(()=>{if(d.current){let i=!(0,o.ii)(c.current,t),r=d.current.width!==e*s;(i||r)&&(d.current.width=e*s,d.current.height=e*s,(0,o.jM)(d.current,t),c.current=t)}},[e,t]),(0,r.jsx)(l,{ref:d,size:e,...i})}},17928:function(e,t,i){"use strict";i.d(t,{FA:function(){return r},FN:function(){return a},HI:function(){return n},Pe:function(){return d},Qi:function(){return l},aU:function(){return c},zC:function(){return s}});let r="image/apng, .apng, image/avif, .avif, image/gif, .gif, image/jpeg, .jpg, .jpeg, .jfif, .pjpeg, .pjp, image/png, image/x-png, .png, image/webp, .webp",n={color:null,image:null};var o,a=((o={}).crop="crop",o.background="background",o);let l=[["#fff279","#f86f3a"],["#a7d5ff","#613fb0"],["#e8a580","#5728c3"],["#73eeff","#006fc7"],["#d37bfc","#c3283b"],["#b9f47d","#0ea175"],"#f68559","#5863dd","#22a860","#613fb0","#ff4c4c","#b8ddf0","#f8f9fc","#e6ebf4","#98a1b3","#262b33","#0f141f"],s=l.slice(0,-6),d=l.slice(-2),c=["pattern1","pattern7","pattern4","pattern12","pattern9","pattern5","pattern6","pattern11","pattern10","pattern8","pattern2","pattern3","bokeh1","bokeh2","photo1","photo2","photo3","photo4","photo5","photo6"]},42039:function(e,t,i){"use strict";i.d(t,{A:function(){return eG}});var r=i(74848),n=i(96540),o=i(33093),a=i(16466),l=i(52413),s=i(72899),d=i(67088);let c=async e=>{let t=new FormData,i=await (0,d.dD)(e);t.append("file",(0,s.c)(i,"photo.jpg"));let r=await l.A.client.post("https://bg-service.resume.io/rembg",t);return`data:image/png;base64,${r.data}`};var u=i(77378),p=i(17928),h=i(38267),x=i(99701),m=i(49504),g=i(91779);let y=h.Ay.div(["display:flex;justify-content:space-between;flex-shrink:0;padding:16px;"]),f=(0,h.Ay)(g.Ay).attrs({size:g.Mp.small})([""]),b=h.Ay.div(["position:relative;display:flex;align-items:center;color:",";cursor:pointer;opacity:0.64;transition:opacity 0.15s;&:hover{opacity:1;}"],x.Jy.Neutral40),_=h.Ay.span(["width:24px;height:24px;margin-right:6px;background-image:url(",");"],i(25535)),v=h.Ay.span(["",";font-weight:600;"],m.Ay.Caption),j=h.Ay.input(["position:absolute;width:0;height:0;visibility:hidden;pointer-events:none;"]),A=({onFileChoose:e,onSave:t})=>{let{i18n:i}=(0,u.s)(),o=(0,n.useRef)(null),a=(0,n.useCallback)(()=>{o.current&&o.current.click()},[]),l=(0,n.useCallback)(t=>{t.target.files&&e(t.target.files[0])},[e]);return(0,r.jsxs)(y,{children:[(0,r.jsxs)(b,{onClick:a,children:[(0,r.jsx)(j,{type:"file",accept:p.FA,ref:o,onChange:l}),(0,r.jsx)(_,{}),(0,r.jsx)(v,{children:i.t("builder.avatar_editor.upload_new")})]}),(0,r.jsx)(f,{onClick:t,children:i.t("builder.avatar_editor.save")})]})};
6459var C=i(55378),w=i.n(C),k=i(78561),S=i(39204);let T=(0,h.Ay)(S.Ay)(["display:flex;justify-content:center;flex-shrink:0;border-bottom-color:",";"],(0,k.j)(x.Jy.Neutral60,.16)),P=(0,h.Ay)(S.oz)(["position:relative;width:200px;margin:0;padding:0 0 20px;text-align:center;",";font-weight:600;color:",";cursor:",";&:hover{color:",";}"],m.Ay.ButtonM,e=>e.isActive?x.Jy.Neutral40:x.Jy.Neutral60,e=>e.isActive?"default":"pointer",x.Jy.Neutral40),J=({value:e,onChange:t})=>{let{i18n:i}=(0,u.s)();return(0,r.jsx)(T,{children:w()(p.FN,n=>(0,r.jsx)(P,{isActive:e===n,onClick:()=>t(n),children:i.t(`builder.avatar_editor.tabs.${n}`)},n))})},E=h.Ay.div(["position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex-grow:1;margin:48px;padding:56px 20px;text-align:center;cursor:pointer;color:",";transition:color 0.15s;&:hover{color:",";}&:after{content:'';position:absolute;left:0;top:0;right:0;bottom:0;border:13px dashed ",";border-image:url(",");border-image-slice:13;border-image-repeat:round;pointer-events:none;transition:opacity 0.15s;opacity:",";}&:hover:after{opacity:0.64;}"],x.Jy.Neutral60,x.Jy.Neutral50,x.Jy.Neutral60,i(39640),e=>e.isDragOver?.64:.2),R=h.Ay.div(["width:48px;height:40px;margin:0 auto 20px;background-image:url(",");background-repeat:no-repeat;background-size:contain;"],i(89789)),L=h.Ay.div(["max-width:240px;margin-bottom:24px;"]),N=h.Ay.input(["position:absolute;width:100%;height:100%;top:0;left:0;opacity:0;cursor:pointer;"]),I=(0,h.Ay)(g.Ay).attrs({size:g.Mp.small})([""]),M=h.Ay.div(["position:absolute;bottom:24px;left:20px;right:20px;",";color:",";opacity:0.48;"],m.Ay.Caption,x.Jy.Neutral60),B=({onChange:e})=>{let{i18n:t}=(0,u.s)(),[i,o]=(0,n.useState)(!1),a=(0,n.useCallback)(t=>{t.target.files&&e(t.target.files[0])},[e]),l=(0,n.useCallback)(()=>o(!0),[]),s=(0,n.useCallback)(()=>o(!1),[]);return(0,r.jsxs)(E,{isDragOver:i,onDragOver:l,onDragEnter:l,onDrop:s,onDragEnd:s,onDragLeave:s,children:[(0,r.jsx)(R,{}),(0,r.jsx)(L,{children:t.t("builder.avatar_editor.dropzone.caption")}),(0,r.jsx)(I,{children:t.t("builder.avatar_editor.dropzone.choose_image")}),(0,r.jsx)(M,{children:t.t("builder.avatar_editor.dropzone.supported_formats")}),(0,r.jsx)(N,{type:"file",onChange:a,accept:p.FA})]})};var D=i(86555),$=i(14649),O=i(64608);let z=h.Ay.div(["position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;width:680px;height:651px;border-radius:6px;background-color:",";user-select:none;"],x.Jy.Neutral100),F=h.Ay.div(["position:absolute;z-index:5;top:0;right:0;padding:16px;display:flex;color:",";opacity:0.48;transition:opacity 0.15s;cursor:pointer;&:hover{opacity:0.8;}"],x.Jy.Neutral50),H=(0,h.Ay)($.Ay.CloseLarge)([""]),V=(0,h.AH)(["animation:"," 0.3s ease-out;"],O.qG),U=h.Ay.div(["position:absolute;z-index:4;right:78px;top:calc(50% - 150px);width:64px;height:240px;display:flex;flex-direction:column;pointer-events:none;",";"],V),W=h.Ay.div(["flex-shrink:0;margin-bottom:16px;",";color:",";text-align:center;"],m.Ay.Caption,x.Jy.Neutral60),K=h.Ay.div(["display:flex;flex-direction:column;align-items:center;flex-grow:1;"]),q=h.Ay.div(["flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:1px solid ",";border-radius:50%;color:",";",";font-weight:600;"],(0,k.j)(x.Jy.Neutral60,.2),(0,k.j)(x.Jy.Neutral60,.64),m.Ay.Tiny),G=(0,h.Ay)(D.A)(["position:relative;flex-grow:1;width:","px;pointer-events:auto;margin:16px 0;& .rc-slider-rail{position:absolute;top:-8px;bottom:-8px;left:calc(50% - 2px);width:4px;background-image:url(",");background-repeat:space;}& .rc-slider-handle{position:absolute;width:","px;height:","px;left:0;background-color:",";border-radius:50%;outline:none;touch-action:pan-y;cursor:grab;transition:background-color 0.15s,transform 0.15s;}& .rc-slider-handle:before{content:'';position:absolute;top:","px;left:","px;right:","px;bottom:","px;}& .rc-slider-handle:hover{background-color:",";}& .rc-slider-handle:active{cursor:grabbing;transform:scale(0.9);}"],20,i(7888),20,20,x.Jy.Blue50,-12,-12,-12,-12,x.Jy.Blue60),Z=({value:e,onCh
6459ange:t})=>{let{i18n:i}=(0,u.s)();return(0,r.jsxs)(U,{children:[(0,r.jsx)(W,{children:i.t("builder.avatar_editor.cropper.zoom_slider_label")}),(0,r.jsxs)(K,{children:[(0,r.jsx)(q,{children:"3\xd7"}),(0,r.jsx)(G,{step:.01,min:1,max:3,value:e,onChange:e=>t(Array.isArray(e)?e[0]:e),vertical:!0}),(0,r.jsx)(q,{children:"1\xd7"})]})]})};i(18111),i(61701);var X=i(20718),Q=i(29522);let Y=h.Ay.div(["position:absolute;z-index:4;left:50%;bottom:60px;transform:translateX(-50%);width:340px;pointer-events:none;",";"],V),ee=h.Ay.div(["",";color:",";text-align:center;"],m.Ay.Caption,x.Jy.Neutral60),et=h.Ay.div(["position:relative;overflow:hidden;pointer-events:auto;padding-top:16px;padding-bottom:8px;cursor:grab;&:active{cursor:grabbing;}&:after,&:before{content:'';position:absolute;top:16px;bottom:0;width:48px;z-index:4;background:linear-gradient(to right,",",",");}&:before{left:0;}&:after{right:0;transform:scaleX(-1);}"],x.Jy.Neutral100,(0,k.j)(x.Jy.Neutral100,0)),ei=h.Ay.div(["position:relative;margin-left:50%;left:-182px;width:364px;&:before{content:'';position:absolute;left:-4px;right:-4px;height:4px;top:2px;background-image:url(",");background-repeat:space no-repeat;}"],i(4899)),er=h.Ay.div(["display:flex;justify-content:space-between;margin:0 -2px;"]),en=h.Ay.div(["position:relative;width:8px;display:flex;flex-flow:column;align-items:center;&:before{content:'';display:block;position:relative;width:8px;height:8px;border-radius:50%;background-color:#535864;}"]),eo=h.Ay.div(["position:relative;margin:8px 0 0;font-size:14px;line-height:12px;text-align:center;color:",";opacity:0.64;&:before,&:after{position:absolute;width:16px;top:0;}&:before{content:'-';color:",";right:100%;text-align:right;}&:after{content:'\xb0';left:100%;text-align:left;}"],x.Jy.Neutral60,e=>e.isNegative?"inherit":"transparent"),ea=(0,h.Ay)(en)(["position:absolute;top:16px;left:calc(50% - 4px);pointer-events:none;&:before{background-color:",";box-shadow:0 0 4px 4px ",";}& ","{opacity:1;background-color:",";&:before{background:linear-gradient( to left,"," 15%,"," 100% );}&:after{background:linear-gradient( to right,"," 15%,"," 100% );}}"],x.Jy.Blue50,x.Jy.Neutral100,eo,x.Jy.Neutral100,x.Jy.Neutral100,(0,k.j)(x.Jy.Neutral100,0),x.Jy.Neutral100,(0,k.j)(x.Jy.Neutral100,0)),el=({value:e,onChange:t})=>{let{i18n:i}=(0,u.s)(),[o,a]=(0,n.useState)(!1),l=(0,n.useRef)(e),s=(0,n.useRef)(0),d=(0,n.useRef)(null),c=`translateX(calc(${-e/90*100}% + ${e/90*2}px))`,p=(0,n.useCallback)(e=>{if(d.current&&e.buttons>0){let i=(s.current-e.pageX)/d.current.clientWidth,r=l.current+90*i*.5;r=(0,Q.N)(r,-45,45),(r=(0,X.W)(r,1))>-1&&r<1&&(r=0),t(r)}else a(!1)},[t]),h=(0,n.useCallback)(()=>{a(!1)},[]),x=(0,n.useCallback)(e=>{let t=e?window.addEventListener:window.removeEventListener;t("mousemove",p),t("mouseup",h)},[p,h]);return(0,n.useLayoutEffect)(()=>(x(o),()=>{o&&x(!1)}),[o,x]),(0,r.jsxs)(Y,{children:[(0,r.jsx)(ee,{children:i.t("builder.avatar_editor.cropper.rotate_slider_label")}),(0,r.jsxs)(et,{onMouseDown:t=>{t.preventDefault(),s.current=t.pageX,l.current=e,a(!0)},children:[(0,r.jsx)(ei,{ref:d,style:{transform:c},children:(0,r.jsx)(er,{children:[-45,-30,-15,0,15,30,45].map(e=>(0,r.jsx)(en,{children:(0,r.jsx)(eo,{isNegative:e<0,children:Math.abs(e)})},e))})}),(0,r.jsx)(ea,{children:(0,r.jsx)(eo,{isNegative:0>(0,X.W)(e),children:Math.abs((0,X.W)(e))})})]})]})};var es=i(93971),ed=i(44837);let ec=i(80579),eu=h.Ay.div(["width:","px;height:","px;background-image:url(",");background-size:100% 100%;background-position:center center;animation:"," 0.5s infinite linear;"],e=>e.size,e=>e.size,ec,O.ni),ep=h.Ay.div(["position:relative;overflow:hidden;width:92px;height:92px;border-radius:4px;background-color:",";"],x.Jy.Neutral90),eh=h.Ay.div(["position:absolute;left:0;top:0;width:100%;height:100%;",";"],e=>e.fade&&V),ex=h.Ay.img(["position:absolute;top:50%;left:50%;"]),em=h.Ay.div(["position:absolute;top:50%;left:50%;width:40px;height:40px;background-color:",";border-radius:50%;display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%);"],x.Jy.Neutral90),eg=(0,n.memo)(({background:e,imageUrl:t,position:i,zoom:o,angle:a,isLoading:l})=>
6459{let[s,c]=(0,n.useState)(null);(0,n.useEffect)(()=>{c(null),t&&(0,d.yt)(t).then(e=>c((0,d.zA)(e)))},[t]);let u=(0,n.useMemo)(()=>{if(!s)return null;let e={x:(0,Q.N)(i.x,s.x/2/o,1-s.x/2/o),y:(0,Q.N)(i.y,s.y/2/o,1-s.y/2/o)};return{[s.y>s.x?"height":"width"]:100*o+"%",transform:`translate(-${100*e.x}%, -${100*e.y}%)`}},[i,s,o]);return(0,r.jsx)(ep,{children:(0,r.jsxs)(eh,{fade:!0,children:[(0,r.jsx)(ed.A,{background:e,size:92}),l?(0,r.jsx)(em,{children:(0,r.jsx)(eu,{size:20})}):(0,r.jsx)("div",{children:t&&u&&(0,r.jsx)(eh,{style:{transform:`rotate(${a}deg)`},children:(0,r.jsx)(ex,{src:t,style:u})})})]})})}),ey=h.Ay.div(["position:absolute;z-index:2;bottom:36px;left:44px;right:44px;",";& .swiper{position:relative;overflow:visible;}& .swiper-wrapper{display:flex;position:relative;transition-property:transform;}& .swiper-slide{display:flex;align-items:center;margin-right:20px;&:last-child{margin-right:0;}}"],V),ef=h.Ay.div(["position:relative;overflow:hidden;padding:4px;width:100px;height:100px;border-radius:8px;background-color:",";transition:background-color 0.15s;cursor:pointer;&:hover{background-color:",";}"],e=>e.isActive?x.Jy.Blue50:(0,k.j)(x.Jy.Neutral80,0),e=>e.isActive?x.Jy.Blue50:x.Jy.Neutral80),eb=h.Ay.div(["width:1px;height:40px;margin-left:20px;background-color:",";opacity:0.4;"],x.Jy.Neutral60),e_=({activeBackground:e,customColor:t,imageUrl:i,noBgImageUrl:o,zoom:a,position:l,angle:s,onChange:c})=>{let u=(0,n.useMemo)(()=>{let e=[null,...p.aU].map(e=>({image:e,color:(0,d.qF)(e,t)}));return[p.HI,...e]},[t]),h=(0,n.useMemo)(()=>{let t=u.findIndex(t=>(0,d.ii)(t,e));return t<0?void 0:t},[e,u]);return(0,r.jsx)(ey,{children:(0,r.jsx)(es.RC,{initialSlide:h,slideToClickedSlide:!0,slidesPerView:"auto",centeredSlides:!0,centeredSlidesBounds:!0,grabCursor:!0,children:u.map((t,n)=>(0,r.jsxs)(es.qr,{children:[(0,r.jsx)(ef,{isActive:(0,d.ii)(t,e),onClick:()=>c(t),children:(0,r.jsx)(eg,{imageUrl:(0,d.ii)(t,p.HI)?i:o,background:t,zoom:a,angle:s,position:l,isLoading:null===o})}),0===n&&(0,r.jsx)(eb,{})]},n))})})};var ev=i(62317),ej=i(43400);let eA=h.Ay.div(["position:absolute;z-index:5;top:62px;left:calc(50% - 160px);width:320px;display:flex;justify-content:center;pointer-events:none;",";"],V),eC=h.Ay.div(["position:relative;display:flex;flex-direction:row;align-items:center;",";font-weight:600;color:",";cursor:pointer;pointer-events:auto;&:before{content:'';position:absolute;left:-12px;top:-12px;right:-12px;bottom:-12px;}"],m.Ay.Caption,x.Jy.Neutral60),ew=(0,h.i7)(["from{transform:scale(0.75) translateZ(0);}to{transform:scale(1) translateZ(0);}"]),ek=h.Ay.div(["position:absolute;left:0;top:calc(100% + 16px);right:0;display:flex;flex-wrap:wrap;padding:16px;border-radius:6px;background-color:",";animation:"," 0.25s cubic-bezier(0.34,1.56,0.64,1);transform-origin:50% -12px;pointer-events:auto;&:before{content:'';position:absolute;left:calc(50% - 6px);top:-8px;width:16px;height:16px;border-radius:3px 0 0 0;background-color:inherit;transform:rotate(45deg);}"],x.Jy.Neutral90,ew),eS=h.Ay.div(["position:relative;overflow:hidden;width:32px;height:32px;margin:8px;border-radius:50%;cursor:pointer;"]),eT=(0,h.Ay)(eS)(["box-shadow:0 0 0 3px ",";transition:box-shadow 0.15s;&:hover{box-shadow:0 0 0 3px ",";}"," ",";"],(0,k.j)(x.Jy.Neutral70,0),x.Jy.Neutral70,e=>e.isActive&&(0,h.AH)(["&,&:hover{box-shadow:0 0 0 3px ",";}"],x.Jy.Blue50),e=>e.border&&(0,h.AH)(["&:before{content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;border:3px solid ",";}"],x.Jy.Neutral80)),eP=(0,h.Ay)(eS)(["border:2px solid ",";transition:border-color 0.15s;&:after{content:'';position:absolute;left:-2px;top:calc(50% - 1px);right:-2px;transform:rotate(-45deg);border-top:2px solid ",";transition:border-color 0.15s;}&:hover,&:hover:after{border-color:",";}",""],x.Jy.Neutral70,x.Jy.Neutral70,x.Jy.Neutral60,e=>e.isActive&&(0,h.AH)(["&,&:after,&:hover,&:hover:after{border-color:",";}"],x.Jy.Blue50)),eJ=h.Ay.div(["margin-left:4px;"]),eE=({value:e,onChange:t})=>{let{i18n:i}
6459=(0,u.s)(),[a,l]=(0,n.useState)(!1),s=(0,n.useRef)(null),c=(0,n.useMemo)(()=>{let e=p.Qi.map(e=>({color:e,image:null}));return e.splice(12,0,{color:null,image:null}),e},[]);(0,ev.L)(s,()=>l(!1)),(0,n.useEffect)(()=>{a&&(0,o.xP)("open_avatar_background_color_picker")},[a]);let h=e=>{t(e),l(!1),(0,o.xP)("choose_avatar_background_color")};return(0,r.jsxs)(eA,{ref:s,children:[(0,r.jsxs)(eC,{onClick:()=>l(!a),children:[(0,r.jsx)(ej.A,{size:24,active:!!e,color:e,onClick:()=>l(!a)}),(0,r.jsx)(eJ,{children:i.t("builder.avatar_editor.background_color")})]}),a&&(0,r.jsx)(ek,{children:c.map((t,i)=>(0,r.jsx)(n.Fragment,{children:t.color?(0,r.jsx)(eT,{isActive:(0,d.xV)(e,t.color),border:p.Pe.includes(t.color),onClick:()=>h(t.color),children:(0,r.jsx)(ed.A,{size:32,background:t})}):(0,r.jsx)(eP,{isActive:(0,d.xV)(e,null),onClick:()=>h(null)})},i))})]})};var eR=i(70977),eL=i.n(eR);let eN=h.Ay.div(["position:relative;overflow:hidden;flex-grow:1;&:after,&:before{content:'';position:absolute;z-index:3;top:0;bottom:0;width:48px;pointer-events:none;background:linear-gradient( to right,"," 0%,"," 100% );}&:before{left:0;}&:after{right:0;transform:scaleX(-1);}"],x.Jy.Neutral100,(0,k.j)(x.Jy.Neutral100,0)),eI=h.Ay.div(["position:absolute;left:0;right:0;top:0;bottom:60px;&:after,&:before{content:'';position:absolute;z-index:2;left:0;right:0;height:120px;pointer-events:none;}&:before{top:0;background:linear-gradient( to bottom,"," 0%,"," 100% );}&:after{bottom:0;background:linear-gradient( to bottom,",","," 65%,"," 100% );}"],x.Jy.Neutral100,(0,k.j)(x.Jy.Neutral100,0),(0,k.j)(x.Jy.Neutral100,0),x.Jy.Neutral100,x.Jy.Neutral100),eM=h.Ay.div(["position:absolute;z-index:3;left:0;top:64px;right:0;",";color:",";text-align:center;pointer-events:none;",";"],m.Ay.Caption,x.Jy.Neutral60,V),eB=(0,h.Ay)(eL())(["position:absolute;left:0;top:0;"]),eD=(0,h.Ay)(ed.A)(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);",";"],V),e$=h.Ay.div(["position:absolute;top:50%;left:50%;width:","px;height:","px;transform:translate(-50%,-50%);"],e=>e.size,e=>e.size),eO=(0,h.Ay)(e$)(["border:1px solid ",";border-radius:3px;opacity:0.24;pointer-events:none;&:after,&:before{content:'';position:absolute;border:0px solid ",";",";}&:after{left:0;right:0;top:33.3%;bottom:33.3%;border-top-width:1px;border-bottom-width:1px;}&:before{top:0;bottom:0;left:33.3%;right:33.3%;border-left-width:1px;border-right-width:1px;}"],x.Jy.White,x.Jy.White,V),ez=(0,h.Ay)(e$)(["display:flex;justify-content:center;align-items:center;background-color:",";&:after{content:'';display:block;width:32px;height:32px;border:3px solid ",";border-bottom-color:",";border-radius:50%;animation:"," 0.5s infinite linear;}"],x.Jy.Neutral90,x.Jy.Neutral60,x.Jy.Neutral80,O.ni),eF=h.Ay.div(["position:absolute;z-index:4;bottom:64px;opacity:0.64;transition:opacity 0.15s;cursor:pointer;&:hover{opacity:1;}"]),eH=h.Ay.div(["",";"],V),eV=h.Ay.div(["color:",";",";font-weight:600;"],x.Jy.Neutral40,m.Ay.Caption),eU=h.Ay.div(["display:block;margin:0 auto;width:24px;height:24px;background-image:url(",");"],i(24085)),eW=(0,h.Ay)(eF)(["left:48px;"]),eK=(0,h.Ay)(eF)(["right:48px;& ","{transform:scaleX(-1);}"],eU),eq=({mode:e,editorRef:t,imageUrl:i,noBgImageUrl:o,zoom:a,angle:l,x:s,y:c,background:h,onMove:x,onZoom:m,onRotate:g,onBackgroundChange:y})=>{let{i18n:f}=(0,u.s)(),[b,_,v]=(()=>{let[e,t]=(0,n.useState)(null),[i,r]=(0,n.useState)(0),[o,a]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let t=()=>{e&&(r(e.clientWidth),a(e.clientHeight))};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),[t,i,o]}
6459)(),[j,A]=(0,n.useState)(!1),C=(0,d.ii)(h,p.HI)?i:o,[w,k]=(0,n.useState)(()=>h.color);(0,n.useEffect)(()=>{A(!1)},[C]);let S=(0,n.useCallback)(()=>A(!0),[]),{baseAngle:T,freeAngle:P}=(e=>{let t=(0,n.useRef)(0),i=(0,n.useRef)(0),r=e%90,o=e-r;if(45>=Math.abs(i.current-e)&&(r=e-(o=i.current)),90===Math.abs(e-t.current)){let n=e-t.current;r=e-(o=i.current+n)}return r>45&&(o+=90,r-=90),t.current=e,i.current=o,{baseAngle:o,freeAngle:r}})(l),J=(0,n.useMemo)(()=>({x:s,y:c}),[s,c]),E=(0,n.useCallback)(e=>{g(T+e)},[T,g]),R=(0,n.useCallback)(e=>{k(e),h.color&&y({...h,color:(0,d.qF)(h.image,e)})},[h,y]);return(0,r.jsxs)(eN,{children:[e===p.FN.crop&&(0,r.jsx)(eM,{children:f.t("builder.avatar_editor.cropper.title")}),(0,r.jsxs)(eI,{ref:b,children:[(0,r.jsx)(eD,{size:240,background:h}),C&&(0,r.jsx)(eB,{ref:t,image:C,crossOrigin:"anonymous",scale:a,rotate:l,position:J,width:240,height:240,border:[(_-240)/2,(v-240)/2],borderRadius:3,color:[15,20,31,.88],onPositionChange:x,onLoadSuccess:S}),e===p.FN.crop&&(0,r.jsx)(eO,{size:240}),!j&&(0,r.jsx)(ez,{size:240})]}),e===p.FN.crop&&(0,r.jsx)(el,{value:P,onChange:E}),e===p.FN.crop&&(0,r.jsx)(Z,{value:a,onChange:m}),e===p.FN.crop&&(0,r.jsxs)(n.Fragment,{children:[(0,r.jsx)(eW,{onClick:()=>g(l-90),children:(0,r.jsxs)(eH,{children:[(0,r.jsx)(eV,{children:"-90\xb0"}),(0,r.jsx)(eU,{})]})}),(0,r.jsx)(eK,{onClick:()=>g(l+90),children:(0,r.jsxs)(eH,{children:[(0,r.jsx)(eV,{children:"+90\xb0"}),(0,r.jsx)(eU,{})]})})]}),e===p.FN.background&&(0,r.jsx)(eE,{value:w,onChange:R}),e===p.FN.background&&(0,r.jsx)(e_,{activeBackground:h,customColor:w,imageUrl:i,noBgImageUrl:o,zoom:a,angle:l,position:J,onChange:y})]})},eG=({avatar:e,onSubmit:t,onClose:i})=>{let[l,s]=(0,n.useState)(p.FN.crop),[u,h]=(0,n.useState)(null),[x,m]=(0,n.use
6459State)(null),g=(0,n.useRef)(null),[y,f]=(0,n.useState)(.5),[b,_]=(0,n.useState)(.5),[v,j]=(0,n.useState)(1),[C,w]=(0,n.useState)(0),[k,S]=(0,n.useState)(p.HI),[T]=((e,t)=>{let[i,r]=(0,n.useState)(e),o=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let i=e!==o.current;i&&r(null),t&&i&&(o.current=e,c(e).then(t=>{e===o.current&&r(t)}))},[e,t]),[i]})(x,l===p.FN.background||!(0,d.ii)(k,p.HI));(0,n.useEffect)(()=>{let{blank:t,originalUrl:i,transform:r}=e;m(t?null:i),r&&("number"==typeof r.zoom&&j(r.zoom),"number"==typeof r.angle&&w(r.angle),r.rect&&f(r.rect.x+r.rect.width/2),r.rect&&_(r.rect.y+r.rect.height/2),r.customBackground&&S(r.customBackground))},[e]),(0,n.useEffect)(()=>{let e;u&&(e=new FileReader,new Promise((t,i)=>{e.readAsDataURL(u),e.onload=()=>t(e.result),e.onerror=e=>i(e)})).then(e=>{m(e),f(.5),_(.5),j(1),w(0)})},[u]),(0,n.useEffect)(()=>{(0,o.xP)("open_avatar_editor")},[]),(0,n.useEffect)(()=>{l===p.FN.background&&(0,o.xP)("open_avatar_background_editor")},[l]);let P=(0,n.useCallback)(e=>{f(e.x),_(e.y)},[]),E=(0,n.useCallback)(e=>{S(e),(0,o.xP)("choose_avatar_background")},[]),R=async()=>{if(!x||!g.current)return;let e=g.current.getImage();if(!e)return;let[i,r]=await Promise.all([(0,d.yt)(x),(0,d.LB)(e,k)]);t({file:u,processedFile:r,transform:(0,d.Sl)({image:i,x:y,y:b,zoom:v,angle:C,background:k})})};return(0,r.jsx)(a.A,{onClose:i,overlayFadeDuration:150,contentSlideDuration:0,children:(0,r.jsxs)(z,{children:[null===x&&(0,r.jsx)(B,{onChange:h}),null!==x&&(0,r.jsx)(eq,{mode:l,editorRef:g,imageUrl:x,noBgImageUrl:T,x:y,y:b,zoom:v,angle:C,background:k,onMove:P,onZoom:j,onRotate:w,onBackgroundChange:E}),null!==x&&(0,r.jsx)(J,{value:l,onChange:s}),null!==x&&(0,r.jsx)(A,{onFileChoose:h,onSave:R}),(0,r.jsx)(F,{onClick:i,children:(0,r.jsx)(H,{})})]})})}},67088:function(e,t,i){"use strict";i.d(t,{LB:function(){return h},Sl:function(){return l},dD:function(){return s},ii:function(){return u},jM:function(){return d},qF:function(){return p},xV:function(){return c},yt:function(){return a},zA:function(){return o}});var r=i(72899),n=i(17928);let o=e=>({x:Math.min(1,1/(e.width/e.height)),y:Math.min(1,1/(e.height/e.width))}),a=e=>new Promise(t=>{let i=new Image;i.crossOrigin="anonymous",i.onload=()=>t(i),i.src=e}),l=e=>{let{image:t,zoom:i,x:r,y:n,angle:a,background:l}=e,s=o(t),d=r-.5/i*s.x,c=n-.5/i*s.y;return{rect:{x:d,y:c,width:(r-d)*2,height:(n-c)*2},zoom:i,angle:a%360,customBackground:l}},s=async e=>{let t=await a(e),i=document.createElement("canvas");return i.width=t.width,i.height=t.height,i.getContext("2d")?.drawImage(t,0,0),i.toDataURL("image/jpeg",.8)},d=async(e,{image:t,color:r})=>{let{width:n,height:o}=e,l=e.getContext("2d");if(!l)return e;if(l.clearRect(0,0,n,o),r){if(Array.isArray(r)){let e=l.createLinearGradient(0,0,n,o);e.addColorStop(0,r[0]),e.addColorStop(1,r[r.length-1]),l.fillStyle=e}else l.fillStyle=r;l.fillRect(0,0,n,o)}if(t){let e=t.startsWith("pattern")?"png":"jpg",r=i(83165)(`./${t}.${e}`),s=await a(r);l.drawImage(s,0,0,n,o)}return e},c=(e,t)=>(Array.isArray(e)?e.join():e)===(Array.isArray(t)?t.join():t),u=(e,t)=>e.image===t.image&&c(e.color,t.color),p=(e,t)=>{if(!e)return t||n.zC["0"];if(e.startsWith("pattern")){let i=n.aU.indexOf(e);return t||n.zC[(i+1)%n.zC.length]}return null},h=async(e,t)=>{let i=document.createElement("canvas");i.width=e.width,i.height=e.height,await d(i,t),i.getContext("2d")?.drawImage(e,0,0);let n=((e,t)=>{if(e.width<=1e3)return e;let i=document.createElement("canvas");return i.width=1e3,i.height=1e3,i.getContext("2d")?.drawImage(e,0,0,1e3,1e3),i})(i,0).toDataURL("image/jpeg",.8);return(0,r.c)(n,"avatar.jpg")}},85783:function(e,t,i){"use strict";i.d(t,{E:function(){return l}});var r=i(74848);i(96540);var n=i(38267),o=i(49504);let a=n.Ay.div(["",";",";color:var(--badge-text-color);background:var(--badge-bg-color);vertical-align:middle;display:inline-flex;justify-content:center;padding:",";border-radius:2px;"],o.Ay.Tiny,o.BO.DemiBold,e=>"medium"===e.size?"4px 6px":"1px 4px"),l=({children:e,size:t="small",variant:i,dark:n,...o})=>{let l={"--badge-text-color":n?"var(--white)":`var(--${i}-50)`,"--badge-bg-color":`var(--${i}-${n?40:10})`};return(0,r.jsx)(a,{style:l,size:t,...o,children:e})}},42211:function(e,t,i){"use strict";i.d(t,{C:function(){return c},W:function(){return p}});
6459var r=i(74848),n=i(96540),o=i(38267),a=i(99701),l=i(14649);let s=(0,o.i7)(["from{transform:translateX(-50%) translateY(-50%) rotate(0deg);}to{transform:translateX(-50%) translateY(-50%) rotate(360deg);}"]),d=o.Ay.span(["display:flex;align-items:inherit;justify-content:inherit;gap:inherit;min-height:24px;"]),c=o.Ay.span(["display:flex;align-items:inherit;justify-content:inherit;gap:inherit;padding:0 ",";"],a.Kz["3XS"]),u=(0,o.Ay)(l.qJ.Spinner)(["position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);animation:"," 0.5s infinite linear;"],s),p=(0,n.forwardRef)((e,t)=>{let{children:i,isLoading:n,as:o,leadingIcon:a,trailingIcon:l,isDisabled:s,...p}=e;return(0,r.jsxs)(o||"button",{...p,disabled:p.disabled??s,ref:t,children:[(0,r.jsxs)(d,{style:{opacity:+!n},children:[a,i&&(0,r.jsx)(c,{children:i}),l]}),n&&(0,r.jsx)(u,{})]})})},92944:function(e,t,i){"use strict";i.d(t,{J:function(){return c}});var r=i(38267),n=i(99701),o=i(49504),a=i(25593),l=i(42211);let s=(e,t,i)=>(0,r.AH)(["background-color:",";&:hover,&:focus-visible{background-color:",";}&:active{background-color:",";}"],e,t,i),d=(0,r.AH)(["background-color:",";color:",";pointer-events:none;box-shadow:none;"],n.Jy.Neutral20,n.Jy.Neutral50),c=(0,r.Ay)(l.W)(e=>{let{isDisabled:t,theme:i,size:l}=e;return(0,r.AH)(["",";position:relative;display:inline-flex;align-items:center;justify-content:center;appearance:none;outline:none;white-space:nowrap;text-align:center;cursor:pointer;border-width:0;user-select:none;border-radius:",";transition:background-color 0.1s,color 0.1s,box-shadow 0.1s;pointer-events:",";color:",";",";",";&:disabled{",";}",";"],o.BO.Medium,n.Kz["3XS"],t?"none":"auto",n.Jy.White,()=>{switch(l){case a.M.small:return(0,r.AH)(["",";padding:",";"],o.o5.ButtonS,n.Kz["2XS"]);case a.M.default:default:return(0,r.AH)(["",";padding:"," ",";"],o.o5.ButtonV2M,n.Kz.XS,n.Kz.M)}},()=>{switch(i){case a.O.destructive:return s(n.Jy.Red50,n.Jy.Red60,n.Jy.Red70);case a.O.confirmative:return s(n.Jy.Green50,n.Jy.Green60,n.Jy.Green70);case a.O.alternative:return s(n.Jy.Indigo50,n.Jy.Indigo60,n.Jy.Indigo70);case a.O.ghost:return(0,r.AH)(["",";box-shadow:inset 0 0 0 1px ",";color:",";&:hover,&:focus-visible,&:active{box-shadow:inset 0 0 0 1px ",";color:",";}"],s("transparent","transparent",n.Jy.Blue10),n.Jy.Neutral20,n.Jy.Neutral90,n.Jy.Blue50,n.Jy.Blue50);case a.O.ghost2:return(0,r.AH)(["",";color:",";"],s("transparent",n.Jy.Blue10,n.Jy.Blue20),n.Jy.Blue50);case a.O.secondary:return(0,r.AH)(["",";color:",";"],s(n.Jy.Blue10,n.Jy.Blue20,n.Jy.Blue30),n.Jy.Blue50);case a.O.default:default:return s(n.Jy.Blue50,n.Jy.Blue60,n.Jy.Blue70)}},d,t&&d)})},91779:function(e,t,i){"use strict";i.d(t,{jL:function(){return f},$n:function(){return y},Ay:function(){return y},Ox:function(){return r.O},JQ:function(){return b.J},c7:function(){return A},Mp:function(){return r.M},C3:function(){return _.C}});var r=i(25593),n=i(38267),o=i(99701),a=i(78561),l=i(49504),s=i(24833),d=i(74848),c=i(96540),u=i(14649);let p=(0,n.i7)(["from{transform:translateX(-50%) translateY(-50%) rotate(0deg);}to{transform:translateX(-50%) translateY(-50%) rotate(360deg);}"]),h=n.Ay.span(["display:flex;align-items:inherit;justify-content:inherit;gap:inherit;"]),x=(0,n.Ay)(u.qJ.Spinner)(["position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);animation:"," 0.5s infinite linear;"],p),m=(0,n.Ay)(u.Ay.Revert)(["position:absolute;left:10%;",""],s.A.Phone`
6460    width: 19px;
6461    height: 19px;
6462    left: 7px;
6463  `),g=(0,c.forwardRef)((e,t)=>{let{children:i,isLoading:r,isDisabled:n,size:o,theme:a,as:l,isTryAgain:s,...c}=e;return(0,d.jsxs)(l||"button",{...c,ref:t,children:[s&&(0,d.jsx)(m,{}),(0,d.jsx)(h,{style:{opacity:+!r,marginLeft:s?"15px":0},children:i}),r&&(0,d.jsx)(x,{})]})}),y=(0,n.Ay)(g)(["position:relative;",";",";display:inline-flex;align-items:center;justify-content:center;appearance:none;outline:none;white-space:nowrap;text-align:center;color:",";background-color:",";padding:13px 24px 13px 20px;border-radius:4px;transition:background-color 0.1s,color 0.1s,box-shadow 0.1s;cursor:pointer;border-width:0;user-select:none;pointer-events:",";&:hover,&:focus-visible{background-color:",";}&:active{background-color:",";}",";",";"],l.o5.ButtonM,l.BO.Medium,e=>e.isDisabled?o.Jy.Neutral50:o.Jy.White,e=>e.isDisabled?o.Jy.Neutral20:o.Jy.Blue50,e=>e.isDisabled?"none":"auto",e=>e.isDisabled?o.Jy.Neutral20:o.Jy.Blue60,e=>e.isDisabled?o.Jy.Neutral20:o.Jy.Blue70,e=>{switch(e.theme){case r.O.destructive:return(0,n.AH)(["background-color:",";&:hover,&:focus-visible{background-color:",";}&:active{background-color:",";}"],o.Jy.Red50,o.Jy.Red60,o.Jy.Red70);case r.O.confirmative:return(0,n.AH)(["background-color:",";&:hover,&:focus-visible{background-color:",";}&:active{background-color:",";}"],o.Jy.Green50,o.Jy.Green60,o.Jy.Green70);case r.O.ghost:return(0,n.AH)(["background:",";box-shadow:inset 0 0 0 1px ",";color:",";&:hover,&:focus-visible{box-shadow:inset 0 0 0 1px ",";color:",";background-color:",";}"," &:active{background-color:",";}"],(0,a.j)(o.Jy.Blue50,0),o.Jy.Neutral20,o.Jy.Neutral90,o.Jy.Blue50,o.Jy.Blue50,(0,a.j)(o.Jy.Blue50,0),s.A.HoverNotSupported`
6464            &:hover,
6465            &:focus-visible {
6466              background: ${(0,a.j)(o.Jy.Blue50,0)};
6467              box-shadow: inset 0 0 0 1px ${o.Jy.Neutral20};
6468              color: ${o.Jy.Neutral90};
6469            }
6470          `,(0,a.j)(o.Jy.Blue50,.08));case r.O.alternative:return(0,n.AH)(["background-color:",";&:hover,&:focus-visible{background-color:",";}&:active{background-color:",";}"],e.isDisabled?o.Jy.Neutral20:o.Jy.Indigo50,e.isDisabled?o.Jy.Neutral20:o.Jy.Indigo60,e.isDisabled?o.Jy.Neutral20:o.Jy.Indigo70);case r.O.secondary:return(0,n.AH)(["background-color:",";",";color:",";&:hover,&:focus-visible{background-color:",";}&:active{background-color:",";}"],(0,a.j)(o.Jy.Blue50,.1),l.BO.Medium,o.Jy.Blue50,(0,a.j)(o.Jy.Blue50,.15),(0,a.j)(o.Jy.Blue50,.2))}},e=>{if(e.size===r.M.small)return(0,n.AH)(["",";padding:8px 12px;"],l.o5.ButtonS)}),f=n.Ay.button(["display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:","px;height:","px;border:none;border-radius:50%;background-color:",";color:",";transition:background-color 0.3s ease;"," &:focus,&:hover{outline:none;background-color:",";}"],e=>e.size||48,e=>e.size||48,o.Jy.Blue50,o.Jy.White,e=>
6470"left"===e.direction&&(0,n.AH)(["transform:rotate(180deg);"]),o.Jy.Blue70);var b=i(92944),_=i(42211);let v=n.Ay.button(["",";",";display:inline-flex;align-items:center;gap:",";padding:"," "," "," ",";border-radius:",";border:0;cursor:pointer;transition:background-color 0.15s,color 0.15s;"," &:disabled{pointer-events:none;opacity:0.5;}",""],l.Ay.Caption,l.BO.Regular,o.Kz["3XS"],o.Kz["2XS"],o.Kz["2XS"],o.Kz["2XS"],o.Kz.XS,o.Kz["3XS"],({$selected:e})=>e?(0,n.AH)(["background-color:",";color:",";&:hover,&:focus-visible{background-color:",";}"],o.Jy.Blue50,o.Jy.White,o.Jy.Blue60):(0,n.AH)(["background-color:",";color:",";&:hover,&:focus-visible{background-color:",";color:",";}"],o.Jy.Neutral10,o.Jy.Neutral90,o.Jy.Blue15,o.Jy.Blue60),s.A.Phone`
6471    padding: ${o.Kz["3XS"]} ${o.Kz["2XS"]};
6472  `),j=n.Ay.span(["display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;"]),A=({selected:e=!1,disabled:t,className:i,children:r,onClick:n})=>{let o=e?u.EK.Check:u.EK.Add;return(0,d.jsxs)(v,{type:"button",$selected:e,disabled:t,className:i,onClick:n,children:[r,(0,d.jsx)(j,{children:(0,d.jsx)(o,{})})]})}},25593:function(e,t,i){"use strict";i.d(t,{M:function(){return o},O:function(){return a}});var r,n,o=((r={}).default="default",r.small="small",r),a=((n={}).default="default",n.alternative="alternative",n.confirmative="confirmative",n.destructive="destructive",n.ghost="ghost",n.ghost2="ghost2",n.secondary="secondary",n)},84635:function(e,t,i){"use strict";i.d(t,{SS:function(){return n},o4:function(){return o}});var r=i(12330);let n=e=>`queue_status_banners_tabs_${e}`,o=()=>{let e=r.D.getItem("bannerIdleTimeLimitInSeconds");return e?JSON.parse(e):(r.D.setItem("bannerIdleTimeLimitInSeconds","259200"),259200)}},95742:function(e,t,i){"use strict";i.d(t,{GT:function(){return a},l:function(){return o}});var r=i(96540),n=i(9888);let o=["resume.io","stg.resume.io"],a=["career.io","stg.career.io"];t.Ay=()=>{let e=(0,n.U)(),t=e?.features?.superApp||!1;return{getHost:(0,r.useMemo)(()=>window?.location?window?.location?.host:t?"career.io":"resume.io",[t])}}},34972:function(e,t,i){"use strict";i.d(t,{G:function(){return n}});var r,n=((r={}).ACTIVE_TAB="ACTIVE_TAB",r.IS_WELCOME_MODAL_SHOWN="IS_WELCOME_MODAL_SHOWN",r)},25008:function(e,t,i){"use strict";i.d(t,{C6:function(){return B},Rf:function(){return ej},Ay:function(){return ev}}),i(18111),i(20116),i(61701),i(22489);var r=i(74848),n=i(96540),o=i(57119),a=i(28793),l=i(33637),s=i(32606),d=i(54761),c=i(3587),u=i(43623),p=i(72958),h=i(77378),x=i(86066),m=i(9888),g=i(44506),y=i(46450),f=i(98297),b=i(90074),_=i(20646),v=i(82351),j=i(21682),A=i(14649),C=i(62846),w=i(74755),k=i(38267),S=i(99701);let T=k.Ay.div(["position:fixed;z-index:100;top:0;left:0;right:0;bottom:0;-webkit-tap-highlight-color:transparent;&:before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;background-color:",";transition:opacity 0.3s ease;opacity:0;}&.is-visible:before{opacity:0.7;}"],S.Jy.Neutral100),P=k.Ay.div(["position:absolute;left:0;top:0;width:100%;height:100%;display:flex;flex-direction:column;overflow:auto;-webkit-overflow-scrolling:touch;background-color:",";transition:transform 0.3s ease;transform:translateX(100%);.is-visible &{transform:translateX(0%);}"],S.Jy.White),J={appearActive:"is-visible",enterActive:"is-visible",enterDone:"is-visible"},E=e=>{let{isOpen:t,onClose:i,children:o,isScrollDisabled:a}=e,l=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=s.current;if(!e)return;let i=window.pageYOffset;return t&&(0,w.disableBodyScroll)(s.current),()=>{(0,w.enableBodyScroll)(e),t&&window.scrollTo(0,i)}},[t]),(0,n.useEffect)(()=>{let e=s.current;if(!a||!e)return;let t=e.scrollTop;return e.scrollTop=0,e.style.overflow="hidden",()=>{e.scrollTop=t,e.style.overflow=""}},[a]),(0,r.jsx)(C.A,{classNames:J,in:t,timeout:300,unmountOnExit:!0,appear:!0,nodeRef:l,children:(0,r.jsx)(T,{ref:l,onClick:e=>{i&&e.target===l.current&&i()},children:(0,r.jsx)(P,{ref:s,children:o})})})};var R=i(10818);let L=(0,n.memo)(e=>{let{isOpen:t,title:i,caption:n,onClose:o,children:a,isScrollDisabled:l}=e,{i18n:s}=(0,h.s)();return(0,r.jsxs)(E,{isOpen:t,onClose:o,isScrollDisabled:l,children:[(0,r.jsxs)(R.$m,{children:[(0,r.jsxs)(R.rQ,{children:[(0,r.jsx)(R.s_,{onClick:o,children:(0,r.jsx)(A.Ay.Chevron,{})}),(0,r.jsx)(R.wt,{children:i}),(0,r.jsx)(R.uM,{children:n})]}),a]}),(0,r.jsx)(R.jl,{children:(0,r.jsx)(R.yp,{onClick:o,children:s.t("builder.resume_editor.done")})})]})});var N=i(4551),I=i(25755);let M=e=>{let{title:t,subtitle:i="",isOpen:o,isDragging:a,onToggle:l,onDelete:s,isDisabled:d=!1,disableMove:c=!1,dragHandleListeners:u,isDeleteVisible:p=!1}=e,{i18n:x}
6472=(0,h.s)(),[m,g]=(0,n.useState)(!1),y=[{icon:(0,r.jsx)(A.Ay.Edit,{}),text:x.t("builder.resume_editor.edit"),onClick:l},{icon:(0,r.jsx)(A.Ay.Trash,{}),text:x.t("builder.resume_editor.delete"),onClick:s}];return(0,r.jsxs)(R.Y9,{children:[(0,r.jsxs)(R.wN,{onClick:l,"data-testid":"card-header",children:[(0,r.jsxs)(R.V,{children:[(0,r.jsx)(R.gY,{active:!!o,children:t}),i&&(0,r.jsx)(R.AZ,{children:i})]}),(0,r.jsx)(R.sq,{onClick:e=>{g(!0),e.stopPropagation()},children:(0,r.jsx)(A.Ay.More,{})}),(0,r.jsxs)(R.KQ,{children:[(0,r.jsx)(R.m_,{children:o?x.t("builder.resume_editor.collapse"):x.t("builder.resume_editor.expand")}),(0,r.jsx)(R.Mx,{isOpen:o,children:(0,r.jsx)(A.Ay.ToggleArrow,{})})]})]}),!c&&(0,r.jsx)(R.WP,{isDragging:a,...u}),!d&&(0,r.jsx)(I.QP,{value:x.t("builder.resume_editor.delete"),position:"top",children:(0,r.jsx)(R.d7,{onClick:s,isDeleteVisible:p,children:(0,r.jsx)(A.EK.Trash,{})})}),m&&(0,r.jsx)(N.A,{onClose:()=>{g(!1)},actions:y})]})},B=e=>{let{children:t,onToggle:i,item:o,sectionId:a,onDelete:l,title:d,disableMove:c,foldableDuration:u,isCustom:p,isDragging:h,subtitle:m,sectionTitle:g,isOpen:y,dragHandleListeners:f,isMobileModalScrollDisabled:b,isDeleteVisible:A,isDisabled:C,dataTestId:w}=e,[k,S]=(0,n.useState)(!1),T=(0,x.e)(),P=()=>{i(o.cid||o.id,a)},J=()=>{S(!1)};return(0,r.jsx)(R.mO,{"data-testid":w,children:(0,r.jsxs)(R.mc,{isDragging:h,"data-highlight-id":(0,s.QC)(a,o.cid||o.id),children:[(0,r.jsx)(v.A,{title:_.R.t("builder.resume_editor.delete_entry"),text:_.R.t("builder.resume_editor.sure_to_delete"),primaryButtonText:_.R.t("builder.resume_editor.delete"),secondaryButtonText:_.R.t("builder.resume_editor.cancel"),dontShowAgainId:"deleteCardDialog2",isOpen:k,primaryAction:()=>{S(!1),l(o.id,a,p)},secondaryAction:J,closeAction:J}),(0,r.jsx)(M,{title:d,subtitle:m,isOpen:y,isDragging:h,onToggle:P,onDelete:e=>{e&&e.stopPropagation(),S(!0)},disableMove:c,dragHandleListeners:f,isDeleteVisible:A,isDisabled:C}),!T.isPhone&&!h&&(0,r.jsx)(j.A,{isOpen:y,duration:u,children:t}),T.isPhone&&(0,r.jsx)(L,{isOpen:y,title:g,caption:d,onClose:P,isScrollDisabled:b,children:t})]})})};i(13579);var D=i(5505),$=i(18509),O=i(46912);let z=s.m2[s.Gw.workExperiences],F=e=>{let{item:t,sectionId:i,onChange:r}=e,o=(0,n.useCallback)(e=>{r(i,t.id,{[e.target.name]:e.target.value},!0)},[i,t.id,r]),a=(0,n.useCallback)(e=>{r(i,t.id,{level:e},!1)},[i,t.id,r]);return{updateSimpleField:o,handleLevelSelect:a,updateDateRange:(0,n.useCallback)(e=>{Object.entries(e).some(([e,i])=>i!==t[e])&&r(i,t.id,e,!0)},[r,i,t]),updateDescription:(0,n.useCallback)(e=>{r(i,t.id,{description:e},!0)},[i,t.id,r])}},H=(e,t)=>{let{i18n:i}=(0,h.s)();return{title:(0,n.useMemo)(()=>{let r=" "+i.t("builder.resume_editor.labels.at")+" ";return[e,t].filter(e=>e).join(r)||i.t("builder.resume_editor.not_specified")},[e,t,i])}};var V=i(43627),U=i(74979),W=i(98668),K=i(18503),q=i(23265);let G=(0,n.memo)(e=>{let{sortId:t,item:i,autoFocus:a,locale:l,disableMove:d,isDeleteVisible:c,parentCardId:p,onDeleteSubItem:m,sectionId:g,isDisabled:y}=e,{isPhone:f}=(0,x.e)(),{attributes:b,listeners:_,setNodeRef:j,transform:C,transition:w,isDragging:k}=(0,V.gl)({id:t}),S={transform:U.Ks.Transform.toString(C?{...C,scaleX:1,scaleY:1}:null),transition:w,position:"relative",zIndex:k?1:void 0},{i18n:T}=(0,h.s)(),{updateSimpleField:P}=F(e),[J,E]=(0,n.useState)(!1),L=()=>{E(!1)};return(0,r.jsx)("div",{ref:j,style:S,...b,"data-testid":"skill-category-skill-card",children:(0,r.jsx)(K.Ay,{id:t,children:(0,r.jsx)(R.mO,{children:(0,r.jsxs)(R.Hn,{isDragging:k,"data-highlight-id":(0,s.QC)(s.Gw.skills,i.cid||i.id),children:[(0,r.jsx)(v.A,{title:T.t("builder.resume_editor.delete_entry"),text:T.t("builder.resume_editor.sure_to_delete"),primaryButtonText:T.t("builder.resume_editor.delete"),secondaryButtonText:T.t("builder.resume_editor.cancel"),dontShowAgainId:"deleteCardDialog2",isOpen:J,primaryAction:()=>{E(!1),m?.(i.id,g,p)},secondaryAction:L,closeAction:L}),(0,r.jsx)(R.cP,{children:(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:(0,r.jsx)(u.wc,{name:"skill",fetchItems:(0,u.$Z)("skill",{locale:l}),value:i.skill||"",onChange:P,children:({key:e,...t})=>
6472(0,n.createElement)(o.A,{...t,key:e,autoFocus:a&&!i.skill,label:T.t("builder.resume_editor.skills_card.skill"),disabled:y})})})})}),!d&&(0,r.jsx)(R.BK,{isDragging:k,disabled:y,..._}),(0,r.jsx)(I.QP,{value:T.t("builder.resume_editor.delete"),position:"top",children:(0,r.jsx)(R.S0,{onClick:e=>{e&&e.stopPropagation(),E(!0)},isDeleteVisible:c||f||!y,children:(0,r.jsx)(A.EK.Trash,{})})})]})})})})}),Z=(0,n.memo)(e=>{let{item:t,autoFocus:i,onAddSubItem:a,onSubItemMove:l,onDeleteSubItem:d,sectionId:c,onChange:u,isDisabled:p}=e,{i18n:x}=(0,h.s)(),{updateSimpleField:m}=F(e),g=t.title||x.t("builder.resume_editor.not_specified"),y=t.cid||t.id,f=(0,n.useMemo)(()=>t.items||[],[t.items]),b=f.length?x.t("builder.resume_editor.skills_section.add_one_more"):x.t("builder.resume_editor.skills_section.add"),_=(0,n.useMemo)(()=>f.map(e=>e.cid||e.id||""),[f]),v=(0,n.useCallback)(({active:e,over:t})=>{t&&e.id!==t.id&&l&&y&&l({oldIndex:_.indexOf(e.id),newIndex:_.indexOf(t.id),sectionId:c,cardId:y})},[l,_,c,y]),j=(0,n.useCallback)((e,t)=>{y&&e&&u(c,y,{items:f.map(i=>(i.cid||i.id)===e?{...i,...t}:i)})},[y,f,u,c]);return(0,r.jsx)(B,{...e,isDisabled:p,title:g,dataTestId:"skill-category-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:(0,r.jsx)(o.A,{autoFocus:i,label:x.t("builder.resume_editor.skills_card.title"),name:"title",onChange:m,value:t.title||"",disabled:p})})}),(0,r.jsx)(R.gu,{children:(0,r.jsx)(W.Mp,{onDragEnd:v,collisionDetection:W.fp,children:(0,r.jsx)(V.gB,{items:_,strategy:V._G,children:f?.map((t,n)=>{let o=t.cid||t.id;return o&&y?(0,r.jsx)(G,{sortId:o,item:t,sectionId:c,parentCardId:y,onDeleteSubItem:d,autoFocus:i&&n===f.length-1,locale:e.locale,disableMove:f.length<=1,isDeleteVisible:e.isDeleteVisible,onDelete:e.onDelete,onToggle:e.onToggle,onChange:(e,t,i)=>j(t??void 0,i),isDisabled:p},o):null})})})}),(0,r.jsx)(R.fI,{children:(0,r.jsx)(q.A,{onAdd:()=>{a?.(t.id||t.cid,s.Gw.technicalProficiencyCategories)},text:b,disabled:p,"data-testid":"skill-category-add-skill-button"})})]})})});var X=i(81247),Q=i(15978),Y=i(15237);let ee=(0,n.memo)(({locale:e,onResumeSimpleFieldChange:t,isDisabled:i})=>{let{i18n:o}=(0,h.s)(),l=(0,n.useRef)(null),d=(0,n.useRef)(null),{profile:c,locale:u=""}=(0,X.d4)(s.Tp.resume)||{},p=c||"",{shouldRenderAiWriterButton:x,...m}=(0,Y._)({editorInstanceRef:l,editorContainerRef:d,isStepByStepFlow:void 0});(0,n.useEffect)(()=>(Q.A.subscribe(s.Gw.profile,()=>{l.current&&l.current.focusEditor()}),()=>Q.A.unsubscribe(s.Gw.profile)),[]);let g=(0,n.useCallback)(e=>{t?.(s.Gw.profile,e,!0)},[t]),y=(0,n.useMemo)(()=>({ranges:{bad:{start:1,end:100},good:{start:400,end:600}},recommendedRangeLabel:o.t("builder.resume_editor.professional_summary.length_suggestion",{count:"400-600"})}),[o]);return(0,r.jsx)("div",{"data-testid":"profile-card",children:(0,r.jsx)(b.Kt,{...m,children:({onEditorFocus:t})=>(0,r.jsx)(a.Ay,{instanceRef:l,containerRef:d,placeholder:o.t("builder.resume_editor.professional_summary.placeholder"),value:p,onChange:g,locale:e||u,additionalToolbarActions:x?(0,r.jsx)(b.ee,{}):null,onFocus:t,disableToolbar:i,...y})})})}),et=(0,n.memo)(e=>{let{item:t,autoFocus:i,locale:l,template:d,templateConfig:x,isDisabled:_}=e,{i18n:v}=(0,h.s)(),j=(0,m.U)(),A=(0,n.useRef)(null),{title:C}=H(t.degree,t.school),{updateSimpleField:w,updateDescription:k,updateDateRange:S}=F(e),T=(0,n.useMemo)(()=>(0,p.t)(t),[t]),P=d===f.cT.Athens,J=d===f.cT.Prague,E=(0,y.I)({field:"description",section:s.Gw.educations,templateConfig:x}),L=!!j?.features?.aiWriter,N=(0,n.useMemo)(()=>({mode:"ai_writer",editorContainerRef:A,locale:l||"",section:s.Gw.educations,editorText:t.description||"",canImprove:(0,g.zz)(t.description),canGenerate:!0,sectionContext:"education",onApplyChanges:k,dataGetter:e=>{let i=e.changes?.find(e=>"educations"===e.path)?.after;if(!i||!Array.isArray(i))return;let r=i.find(e=>e.id===(t.cid||t.id)||e.cid===(t.cid||t.id));return r?.description},itemId:(t.cid||t.id)?.toString()}),[l,t,k]);return(0,r.jsx)(B,{...e,title:C,subtitle:T,disableMove:e.disableMove||_,isDisabled:_,dataTestId:"education-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(u.wc,{name:"school",fetchItems:(0,u.$Z)("university",{limit:4,locale:l}),value:t.school||"",onChange:w,children:({key:e,...t})=>(0,n.createElement)(o.A,{...t,key:e,autoFocus:i,label:v.t("builder.resume_editor.educations_card.school"),disabled:_})})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:v.t("builder.resume_editor.educations_card.degree"),name:"degree",onCh
6472ange:w,value:t.degree||"",disabled:_})})]}),(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:S,currentlyLabel:v.t("builder.date_range_picker.currently.study"),isDisabled:_})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(u.wc,{highlightedQuery:!0,name:"city",value:t.city||"",onChange:w,fetchItems:(0,u.$Z)("city",{locale:l}),children:({key:e,...t})=>(0,n.createElement)(o.A,{...t,key:e,label:P||J?v.t("builder.resume_editor.educations_card.location"):v.t("builder.resume_editor.educations_card.city"),disabled:_})})})]}),E&&(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:L?(0,r.jsx)(b.Kt,{...N,children:(0,r.jsx)(a.Ay,{label:v.t("builder.resume_editor.educations_card.description"),placeholder:v.t("builder.resume_editor.educations_card.description_placeholder"),value:t.description||"",onChange:k,locale:l,containerRef:A,additionalToolbarActions:(0,r.jsx)(b.ee,{}),disableToolbar:_})}):(0,r.jsx)(a.Ay,{label:v.t("builder.resume_editor.educations_card.description"),placeholder:v.t("builder.resume_editor.educations_card.description_placeholder"),value:t.description||"",onChange:k,locale:l,containerRef:A,disableToolbar:_})})})]})})}),ei=(0,n.memo)(e=>{let{item:t,autoFocus:i,locale:l,template:d,templateConfig:x,isDisabled:_}=e,{i18n:v}=(0,h.s)(),j=(0,m.U)(),A=(0,n.useRef)(null),{updateSimpleField:C,updateDescription:w,updateDateRange:k}=F(e),{title:S}=H(t.title,t.employer),T=(0,n.useMemo)(()=>(0,p.t)(t),[t]),P=d===f.cT.Athens,J=d===f.cT.Prague,E=!!j?.features?.aiWriter,L=(0,y.I)({field:"description",section:s.Gw.activities,templateConfig:x}),N=(0,y.I)({field:"city",section:s.Gw.activities,templateConfig:x}),I=(0,n.useMemo)(()=>({mode:"ai_writer",editorContainerRef:A,locale:l||"",section:s.Gw.activities,editorText:t.description||"",canImprove:(0,g.zz)(t.description),canGenerate:!0,sectionContext:"activities",onApplyChanges:w,dataGetter:e=>{let i=e.changes?.find(e=>"activities"===e.path)?.after;if(!i||!Array.isArray(i))return;let r=i.find(e=>e.id===(t.cid||t.id)||e.cid===(t.cid||t.id));return r?.description},itemId:(t.cid||t.id)?.toString()}),[l,t,w]);return(0,r.jsx)(B,{...e,title:S,subtitle:T,disableMove:e.disableMove||_,isDisabled:_,dataTestId:"activity-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:P||J?v.t("builder.resume_editor.activities_card.license_name"):v.t("builder.resume_editor.activities_card.title"),name:"title",onChange:C,value:t.title||"",disabled:_})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:P||J?v.t("builder.resume_editor.activities_card.issuer"):v.t("builder.resume_editor.activities_card.employer"),name:"employer",onChange:C,value:t.employer||"",disabled:_})})]}),(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:k,isDisabled:_})}),N&&(0,r.jsx)(R.D0,{children:(0,r.jsx)(u.wc,{highlightedQuery:!0,name:"city",value:t.city||"",onChange:C,fetchItems:(0,u.$Z)("city",{locale:l}),children:({key:e,...t})=>(0,n.createElement)(o.A,{...t,key:e,label:P||J?v.t("builder.resume_editor.activities_card.location"):v.t("builder.resume_editor.activities_card.city"),disabled:_})})})]}),L&&(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:E?(0,r.jsx)(b.Kt,{...I,children:(0,r.jsx)(a.Ay,{label:v.t("builder.resume_editor.activities_card.description"),value:t.description||"",onChange:w,locale:l,containerRef:A,additionalToolbarActions:(0,r.jsx)(b.ee,{}),disableToolbar:_})}):(0,r.jsx)(a.Ay,{label:v.t("builder.resume_editor.activities_card.description"),value:t.description||"",onChange:w,locale:l,containerRef:A,disableToolbar:_})})})]})})}),er=(0,n.memo)(e=>{let{item:t,autoFocus:i,locale:l,templateConfig:d,isDisabled:x}=e,{i18n:m}=(0,h.s)(),{updateSimpleField:g,updateDescription:f,updateDateRange:b}=F(e),{title:_}
6472=H(t.title,t.organizer),v=(0,n.useMemo)(()=>(0,p.t)(t),[t]),j=(0,y.I)({field:"description",section:s.Gw.conferences,templateConfig:d}),A=(0,y.I)({field:"city",section:s.Gw.conferences,templateConfig:d});return(0,r.jsx)(B,{...e,title:_,subtitle:v,disableMove:e.disableMove||x,isDisabled:x,dataTestId:"conference-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:m.t("builder.resume_editor.conferences_card.title"),name:"title",onChange:g,value:t.title||"",disabled:x})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:m.t("builder.resume_editor.conferences_card.organizer"),name:"organizer",onChange:g,value:t.organizer||"",disabled:x})})]}),(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:b,isDisabled:x})}),A&&(0,r.jsx)(R.D0,{children:(0,r.jsx)(u.wc,{highlightedQuery:!0,name:"city",value:t.city||"",onChange:g,fetchItems:(0,u.$Z)("city",{locale:l}),children:({key:e,...t})=>(0,n.createElement)(o.A,{...t,key:e,label:m.t("builder.resume_editor.conferences_card.city"),disabled:x})})})]}),j&&(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:(0,r.jsx)(a.Ay,{label:m.t("builder.resume_editor.conferences_card.description"),value:t.description||"",onChange:f,locale:l,disableToolbar:x})})})]})})}),en=(0,n.memo)(e=>{let{item:t,autoFocus:i,locale:l,templateConfig:d,isDisabled:x}=e,{i18n:m}=(0,h.s)(),{updateSimpleField:g,updateDescription:f,updateDateRange:b}=F(e),{title:_}
6472=H(t.title,t.organization),v=(0,n.useMemo)(()=>(0,p.t)(t),[t]),j=(0,y.I)({field:"description",section:s.Gw.volunteerings,templateConfig:d}),A=(0,y.I)({field:"city",section:s.Gw.volunteerings,templateConfig:d});return(0,r.jsx)(B,{...e,title:_,subtitle:v,disableMove:e.disableMove||x,isDisabled:x,dataTestId:"volunteering-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:m.t("builder.resume_editor.volunteerings_card.title"),name:"title",onChange:g,value:t.title||"",disabled:x})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:m.t("builder.resume_editor.volunteerings_card.organization"),name:"organization",onChange:g,value:t.organization||"",disabled:x})})]}),(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:b,isDisabled:x})}),A&&(0,r.jsx)(R.D0,{children:(0,r.jsx)(u.wc,{highlightedQuery:!0,name:"city",value:t.city||"",onChange:g,fetchItems:(0,u.$Z)("city",{locale:l}),children:({key:e,...t})=>(0,n.createElement)(o.A,{...t,key:e,label:m.t("builder.resume_editor.volunteerings_card.city"),disabled:x})})})]}),j&&(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:(0,r.jsx)(a.Ay,{label:m.t("builder.resume_editor.volunteerings_card.description"),value:t.description||"",onChange:f,locale:l,disableToolbar:x})})})]})})}),eo=(0,n.memo)(e=>{let{item:t,autoFocus:i,templateConfig:n,isDisabled:a}=e,{i18n:l}=(0,h.s)(),{title:d}=H(t.course,t.institution),{updateSimpleField:u,updateDateRange:x}=F(e),m=(0,p.t)(t),g=(0,y.I)({field:"dates",section:s.Gw.courses,templateConfig:n}),f=(0,y.I)({field:"institution",section:s.Gw.courses,templateConfig:n});return(0,r.jsx)(B,{...e,title:d,subtitle:m,disableMove:e.disableMove||a,isDisabled:a,dataTestId:"course-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{fullwidth:!f,children:(0,r.jsx)(o.A,{autoFocus:i,label:l.t("builder.resume_editor.courses_card.course"),name:"course",onChange:u,value:t.course||"",disabled:a})}),f&&(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:l.t("builder.resume_editor.courses_card.institution"),name:"institution",onChange:u,value:t.institution||"",disabled:a})})]}),g&&(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:x,isDisabled:a})})})]})})}),ea=(0,n.memo)(e=>{let{item:t,autoFocus:i,isDisabled:n}=e,{i18n:a}=(0,h.s)(),{title:l}=H(t.title,t.employer),{updateSimpleField:s,updateDateRange:d}=F(e),u=(0,p.t)(t);return(0,r.jsx)(B,{...e,title:l,subtitle:u,disableMove:e.disableMove||n,isDisabled:n,dataTestId:"award-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:a.t("builder.resume_editor.awards_card.title"),name:"title",onChange:s,value:t.title||"",disabled:n})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:a.t("builder.resume_editor.awards_card.institution"),name:"employer",onChange:s,value:t.employer||"",disabled:n})})]}),(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:d,isDisabled:n})})})]})})}),el=(0,n.memo)(e=>{let{item:t,autoFocus:i,isDisabled:n}=e,{i18n:a}=(0,h.s)(),{title:l}=H(t.title,t.institution),{updateSimpleField:s,updateDateRange:d}=F(e),u=(0,p.t)(t);return(0,r.jsx)(B,{...e,title:l,subtitle:u,disableMove:e.disableMove||n,isDisabled:n,dataTestId:"affiliation-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:a.t("builder.resume_editor.affiliations_card.title"),name:"title",onChange:s,value:t.title||"",disabled:n})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:a.t("builder.resume_editor.affiliations_card.institution"),name:"institution",onChange:s,value:t.institution||"",disabled:n})})]}),(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:d,isDisabled:n})})})]})})}),es=(0,n.memo)(e=>{let{item:t,autoFocus:i,isDisabled:a}=e,{i18n:l}=(0,h.s)(),{updateSimpleField:s,updateDateRange:d}=F(e),{title:u}=H(t.title,t.issuer),x=(0,n.useMemo)(()=>(0,p.t)(t),[t]);return(0,r.jsx)(B,{...e,title:u,subtitle:x,disableMove:e.disableMove||a,isDisabled:a,dataTestId:"license-certification-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:l.t("builder.resume_editor.licenses_and_certifications_card.title"),name:"title",onCh
6472ange:s,value:t.title||"",disabled:a})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:l.t("builder.resume_editor.licenses_and_certifications_card.issuer"),name:"issuer",onChange:s,value:t.issuer||"",disabled:a})})]}),(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:d,isDisabled:a})})})]})})}),ed=(0,n.memo)(e=>{let{item:t,isDisabled:i}=e,{i18n:n}=(0,h.s)(),{updateSimpleField:a}=F(e);return(0,r.jsx)("div",{"data-testid":"hobby-card",children:(0,r.jsx)(o.l,{rows:3,label:n.t("builder.resume_editor.hobbies_card.hobby"),placeholder:n.t("builder.resume_editor.hobbies_card.hobby_placeholder"),name:"hobby",onChange:a,value:t.hobby||"",disabled:i})})}),ec=(0,n.memo)(e=>{let{item:t,levels:i,hideSkillLevel:a,autoFocus:l,locale:c,templateConfig:p,isDisabled:x}=e,{i18n:m}=(0,h.s)(),{updateSimpleField:g,handleLevelSelect:f}=F(e),b=t.skill||m.t("builder.resume_editor.not_specified"),_=(0,y.I)({field:"level",section:s.Gw.skills,templateConfig:p}),v=(0,n.useMemo)(()=>!a&&t.level&&"hidden"!==t.level?m.t(`builder.resume_editor.skill_level.${t.level}`):"",[a,t.level,m]),j=[{translation:m.t("builder.resume_editor.skills_card.select_level"),name:"",rating:-1},...i?.skill||[]].map(e=>({id:e.name,name:e.translation,rating:e.rating}));return(0,r.jsx)(B,{...e,title:b,subtitle:v,disableMove:e.disableMove||x,isDisabled:x,dataTestId:"skill-card",children:(0,r.jsx)(R.fo,{children:(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{fullwidth:!_,children:(0,r.jsx)(u.wc,{name:"skill",fetchItems:(0,u.$Z)("skill",{locale:c}),value:t.skill||"",onChange:g,children:({key:e,...i})=>(0,n.createElement)(o.A,{...i,key:e,autoFocus:l&&!t.skill,label:m.t("builder.resume_editor.skills_card.skill"),disabled:x})})}),_&&(0,r.jsx)(R.D0,{children:(0,r.jsx)(d.T,{label:m.t("builder.resume_editor.skills_card.level"),selected:t.level||void 0,options:j,onChange:f,disabled:a||x})})]})})})}),eu=(0,n.memo)(e=>{let{item:t,levels:i,autoFocus:a,locale:d,templateConfig:c,isDisabled:p}=e,{i18n:x}=(0,h.s)(),{updateSimpleField:m,handleLevelSelect:g}=F(e),f=t.language||x.t("builder.resume_editor.not_specified"),b=t.level?x.t(`builder.resume_editor.language_level.${t.level}`):"",_=(0,y.I)({field:"level",section:s.Gw.languages,templateConfig:c}),v=(0,n.useMemo)(()=>[{translation:x.t("builder.resume_editor.languages_card.select_level"),name:""},...i?.language||[]].map(e=>({id:e.name,name:e.translation})),[i?.language,x]);return(0,r.jsx)(B,{...e,title:f,subtitle:b,item:t,disableMove:e.disableMove||p,isDisabled:p,dataTestId:"language-card",children:(0,r.jsx)(R.fo,{children:(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{fullwidth:!_,children:(0,r.jsx)(u.wc,{name:"language",fetchItems:(0,u.$Z)("language",{locale:d}),value:t.language||"",onChange:m,children:({key:e,...t})=>(0,n.createElement)(o.A,{...t,key:e,autoFocus:a,label:x.t("builder.resume_editor.languages_card.language"),disabled:p})})}),_&&(0,r.jsx)(R.D0,{children:(0,r.jsx)(l.A,{label:x.t("builder.resume_editor.languages_card.level"),selected:t.level||"",onSelect:g,options:v,disabled:p})})]})})})}),ep=(0,n.memo)(e=>{let{item:t,autoFocus:i,isDisabled:n}=e,{i18n:a}=(0,h.s)(),{updateSimpleField:l}=F(e);return(0,r.jsx)(B,{...e,title:t.label||a.t("builder.resume_editor.not_specified"),subtitle:t.link||"",disableMove:e.disableMove||n,isDisabled:n,dataTestId:"social-card",children:(0,r.jsx)(R.fo,{children:(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:a.t("builder.resume_editor.links_card.label"),name:"label",onChange:l,value:t.label||"",disabled:n})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:a.t("builder.resume_editor.links_card.link"),name:"link",onChange:l,value:t.link||"",disabled:n})})]})})})}),eh=(0,n.memo)(e=>{let{item:t,autoFocus:i,isDisabled:n}=e,{i18n:a}=(0,h.s)(),{updateSimpleField:l}=F(e);return(0,r.jsx)(B,{...e,title:t.name||a.t("builder.resume_editor.not_specified"),subtitle:t.company||"",disableMove:e.disableMove||n,isDisabled:n,dataTestId:"reference-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:a.t("builder.resume_editor.references_card.name"),name:"name",onChange:l,value:t.name||"",disabled:n})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:a.t("builder.resume_editor.references_card.company"),name:"company",onChange:l,value:t.company||"",disabled:n})})]}),(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:a.t("builder.resume_editor.references_card.phone"),name:"phone",onChange:l,value:t.phone||"",disabled:n})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:a.t("builder.resume_editor.references_card.email"),name:"email",onChange:l,value:t.email||"",disabled:n})})]})]})})}),ex=(0,n.memo)(e=>{let{item:t,locale:i,isDisabled:o,index:l}=e,{i18n:d}=(0,h.s)(),c=(0,m.U)(),u=(0,n.useRef)(null),{updateDescription:p}=F(e),x=!!c?.features?.aiWriter,y=(0,n.useMemo)(()=>({mode:"ai_writer",editorContainerRef:u,locale:i||"",section:s.Gw.custom,editorText:t.description||"",canImprove:(0,g.zz)(t.description),canGenerate:!0,sectionContext:"custom_sections",onApplyChanges:p,dataGetter:e=>{let i=e.changes?.find(e=>"customSections"===e.path)?.after;if(i&&Array.isArray(i)){for(let e of i)if(e.items&&Array.isArray(e.items)){let i=e.items.find(e=>e.id===(t.cid||t.id)||e.cid===(t.cid||t.id));if(i)return i.description}}},itemId:(t.cid||t.id)?.toString()}),[i,t,p]);return(0,r.jsx)(B,{...e,title:`#${(l??0)+1}`,subtitle:"",isCustom:!0,disableMove:e.disableMove||o,isDisabled:o,dataTestId:"custom-simple-card",children:(0,r.jsx)(R.fo,{children:(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:x?(0,r.jsx)(b.Kt,{...y,children:(0,r.jsx)(a.Ay,{label:d.t("builder.resume_editor.custom_card.description"),value:t.description||"",onChange:p,locale:i,containerRef:u,additionalToolbarActions:(0,r.jsx)(b.ee,{}),disableToolbar:o})}):(0,r.jsx)(a.Ay,{label:d.t("builder.resume_editor.custom_card.description"),value:t.description||"",onChange:p,locale:i,containerRef:u,disableToolbar:o})})})})})}),em=(0,n.memo)(e=>
6472{let{item:t,autoFocus:i,locale:l,templateConfig:d,isDisabled:x}=e,{i18n:f}=(0,h.s)(),_=(0,m.U)(),v=(0,n.useRef)(null),{updateSimpleField:j,updateDescription:A,updateDateRange:C}=F(e),w=(0,p.t)(t),k=!!_?.features?.aiWriter,S=(0,y.I)({field:"employer",section:s.Gw.custom,templateConfig:d}),T=(0,n.useMemo)(()=>[t.title,t.city].filter(e=>e).join(", ")||f.t("builder.resume_editor.not_specified"),[t.title,t.city,f]),P=(0,n.useMemo)(()=>({mode:"ai_writer",editorContainerRef:v,locale:l||"",section:s.Gw.custom,editorText:t.description||"",canImprove:(0,g.zz)(t.description),canGenerate:!0,sectionContext:"custom_sections",onApplyChanges:A,dataGetter:e=>{let i=e.changes?.find(e=>"customSections"===e.path)?.after;if(i&&Array.isArray(i)){for(let e of i)if(e.items&&Array.isArray(e.items)){let i=e.items.find(e=>e.id===(t.cid||t.id)||e.cid===(t.cid||t.id));if(i)return i.description}}},itemId:(t.cid||t.id)?.toString()}),[l,t,A]);return(0,r.jsx)(B,{...e,title:T,subtitle:w,isCustom:!0,disableMove:e.disableMove||x,isDisabled:x,dataTestId:"custom-advanced-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:f.t("builder.resume_editor.custom_card.title"),name:"title",onChange:j,value:t.title||"",disabled:x})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(u.wc,{highlightedQuery:!0,name:"city",value:t.city||"",onChange:j,fetchItems:(0,u.$Z)("city",{locale:l}),children:({key:e,...t})=>(0,n.createElement)(o.A,{...t,key:e,label:f.t("builder.resume_editor.custom_card.city"),disabled:x})})})]}),(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:C,isDisabled:x})}),S&&(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{label:f.t("builder.resume_editor.custom_card.employer"),name:"employer",onChange:j,value:t.employer||"",disabled:x})})]}),(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:k?(0,r.jsx)(b.Kt,{...P,children:(0,r.jsx)(a.Ay,{label:f.t("builder.resume_editor.custom_card.description"),value:t.description||"",onChange:A,locale:l,containerRef:v,additionalToolbarActions:(0,r.jsx)(b.ee,{}),disableToolbar:x})}):(0,r.jsx)(a.Ay,{label:f.t("builder.resume_editor.custom_card.description"),value:t.description||"",onChange:A,locale:l,containerRef:v,disableToolbar:x})})})]})})}),eg=(0,n.memo)(e=>{let{item:t,autoFocus:i,locale:l,isDisabled:d}=e,{i18n:x}=(0,h.s)(),y=(0,m.U)(),f=(0,n.useRef)(null),{updateSimpleField:_,updateDescription:v,updateDateRange:j}=F(e),A=(0,p.t)(t),C=!!y?.features?.aiWriter,w=(0,n.useMemo)(()=>[t.title,t.city].filter(e=>e).join(", ")||x.t("builder.resume_editor.not_specified"),[t.title,t.city,x]),k=(0,n.useMemo)(()=>({mode:"ai_writer",editorContainerRef:f,locale:l||"",section:s.Gw.custom,editorText:t.description||"",canImprove:(0,g.zz)(t.description),canGenerate:!0,sectionContext:"custom_sections",onApplyChanges:v,dataGetter:e=>{let i=e.changes?.find(e=>"customSections"===e.path)?.after;if(i&&Array.isArray(i)){for(let e of i)if(e.items&&Array.isArray(e.items)){let i=e.items.find(e=>e.id===(t.cid||t.id)||e.cid===(t.cid||t.id));if(i)return i.description}}},itemId:(t.cid||t.id)?.toString()}),[l,t,v]);return(0,r.jsx)(B,{...e,title:w,subtitle:A,isCustom:!0,disableMove:e.disableMove||d,isDisabled:d,dataTestId:"custom-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:x.t("builder.resume_editor.custom_card.title"),name:"title",onChange:_,value:t.title||"",disabled:d})}),(0,r.jsx)(R.D0,{children:(0,r.jsx)(u.wc,{highlightedQuery:!0,name:"city",value:t.city||"",onChange:_,fetchItems:(0,u.$Z)("city",{locale:l}),children:({key:e,...t})=>(0,n.createElement)(o.A,{...t,key:e,label:x.t("builder.resume_editor.custom_card.city"),disabled:d})})})]}),(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:j,isDisabled:d})})}),(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:C?(0,r.jsx)(b.Kt,{...k,children:(0,r.jsx)(a.Ay,{label:x.t("builder.resume_editor.custom_card.description"),value:t.description||"",onChange:v,locale:l,containerRef:f,additionalToolbarActions:(0,r.jsx)(b.ee,{}),disableToolbar:d})}
6472):(0,r.jsx)(a.Ay,{label:x.t("builder.resume_editor.custom_card.description"),value:t.description||"",onChange:v,locale:l,containerRef:f,disableToolbar:d})})})]})})}),ey=e=>t=>{let{isPhone:i}=(0,x.e)();return(0,r.jsx)(e,{...t,autoFocus:!i})},ef=(0,n.memo)(e=>{let{item:t,autoFocus:i,isDisabled:n}=e,{i18n:a}=(0,h.s)(),l=t.skill||a.t("builder.resume_editor.not_specified"),{updateSimpleField:s}=F(e);return(0,r.jsx)(B,{...e,title:l,disableMove:e.disableMove||n,isDisabled:n,dataTestId:"categorized-skill-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{children:(0,r.jsx)(o.A,{autoFocus:i,label:a.t("builder.resume_editor.skills_card.title"),name:"skill",onChange:s,value:t.skill||"",disabled:n})})}),(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:(0,r.jsx)(o.l,{rows:3,label:a.t("builder.resume_editor.skills_card.skills"),placeholder:a.t("builder.resume_editor.skills_card.skills"),name:"details",onChange:s,value:t.details||"",disabled:n})})})]})})}),eb=(0,n.memo)(e=>{let{item:t,locale:i,onResumeSimpleFieldChange:o,isDisabled:l}=e,d=(0,m.U)(),c=(0,n.useRef)(null),u=!!d?.features?.aiWriter,p=(0,n.useCallback)(e=>{o?.(s.Gw.accomplishments,e)},[o]),h=(0,n.useMemo)(()=>({mode:"ai_writer",editorContainerRef:c,locale:i||"",section:s.Gw.accomplishments,editorText:t.description||"",canImprove:(0,g.zz)(t.description),canGenerate:!0,sectionContext:"accomplishments",onApplyChanges:p,dataGetter:e=>e.changes?.find(e=>"accomplishments"===e.path)?.after}),[i,t,p]);return(0,r.jsx)("div",{"data-testid":"accomplishments-card",children:u?(0,r.jsx)(b.Kt,{...h,children:(0,r.jsx)(a.Ay,{value:t.description||"",onChange:p,locale:i,containerRef:c,additionalToolbarActions:(0,r.jsx)(b.ee,{}),disableToolbar:l,disabled:l})}):(0,r.jsx)(a.Ay,{value:t.description||"",onChange:p,locale:i,containerRef:c,disableToolbar:l,disabled:l})})}),e_=(0,n.memo)(e=>{let{item:t,locale:i,onResumeSimpleFieldChange:n,isDisabled:o}=e;return(0,r.jsx)("div",{"data-testid":"publications-card",children:(0,r.jsx)(a.Ay,{value:t.description||"",onChange:e=>{n?.(s.Gw.publications,e,!0)},locale:i,disableToolbar:o})})});var ev={WorkExperience:ey(e=>{let{item:t,sectionId:i,onChange:l,autoFocus:d,jobTitle:x,template:_,templateConfig:v,isRecommendedLengthHidden:j,locale:A}=e,{i18n:C}=(0,h.s)(),{id:w,title:k,employer:S}=t,T=(0,n.useMemo)(()=>{let e=" "+C.t("builder.resume_editor.labels.at")+" ";return[k,S].filter(Boolean).join(e)||C.t("builder.resume_editor.not_specified")},[C,S,k]),P=(0,p.t)(t),J=(0,n.useRef)(null),E=(0,n.useRef)(null),{aiWriterProps:L}=(e=>{let{editorInstanceRef:t,editorContainerRef:i,jobTitle:r,currentWorkExperience:o}=e,{onChangePhrasesSuggestions:a}=(0,O.a)(),l=(0,$.N)(e=>e.generalEditor.suggestionLocales),d=(0,$.N)(s.Tp.attachedJobPostingAPIData),c=o.cid||o.id,{locale:u=""}=(0,$.N)(s.Tp.resume)||{},p=u&&l.workExperience?.includes(u),h=(0,m.U)(),x=!!h?.features.aiWorkExp,y=!(0,g.zz)(o.description),f=!!l.workExperience?.includes(u),b=x&&p,_=(0,n.useCallback)(e=>{t.current?.addPhrase(e,!1)},[t]);return{aiWriterProps:{onChangePhrasesSuggestions:a,locale:u,jobTitle:r,section:s.Gw.workExperiences,jobPosting:d,editorText:o?.description||"",phraseSuggestionScope:s.Gw.workExperiences,canImprove:!y,canGenerate:!0,editorContainerRef:i,sectionContext:"work_experience",mode:b?"ai_writer":"prewritten_phrases",shouldRenderAiWriterButton:b||f,onAddPhrase:_,itemId:c?String(c):void 0,dataGetter:e=>{let t=e.changes?.find(e=>"workExperiences"===e.path)?.after;if(!t||!Array.isArray(t))return;let i=t.find(e=>e.id===c||e.cid===c);return i?.description}}}})({editorInstanceRef:J,editorContainerRef:E,jobTitle:t.title||x,currentWorkExperience:t}),N=_===f.cT.Athens,I=_===f.cT.Prague,M=(0,n.useCallback)(e=>{l(i,w,{[e.target.name]:e.target.value},!0)},[l,i,w]),F=(0,n.useCallback)(e=>l(i,w,{description:e},!0),[l,i,w]),H=(0,n.useMemo)(()=>({...L,onApplyChanges:F}),[L,F]),V=(0,n.useCallback)(e=>{Object.entries(e).some(([e,i])=>i!==t[e])&&l(i,w,e,!0)},[l,i,w,t]),U=(0,y.I)({field:"description",section:i,templateConfig:v}),W=(0,y.I)({field:"city",section:i,templateConfig:v}),K=[(0,r.jsx)(D.Mw,{},"1")];return(0,r.jsx)(B,{...e,title:T,subtitle:P,dataTestId:"work-experience-card",children:(0,r.jsxs)(R.fo,{children:[(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{"data-highlight-id":(0,s.aQ)(s.Gw.workExperiences,t.cid||t.id,z.title),children:(0,r.jsx)(o.A,{autoFocus:d,label:C.t("builder.resume_editor.work_experiences_card.title"),name:z.title,onChange:M,value:t.title||""})}),(0,r.jsx)(R.D0,{"data-highlight-id":(0,s.aQ)(s.Gw.workExperiences,t.cid||t.id,z.employer),children:(0,r.jsx)(o.A,{label:C.t("builder.resume_editor.work_experiences_card.employer"),name:z.employer,onChange:M,value:t.employer||""})})]}),(0,r.jsxs)(R.fI,{children:[(0,r.jsx)(R.D0,{children:(0,r.jsx)(c.A,{value:t,onChange:V,currentlyLabel:C.t("builder.date_range_picker.currently.work"),dateFromHighlightId:(0,s.aQ)(s.Gw.workExperiences,t.cid||t.id,z.dateFrom),dateUntilHighlightId:(0,s.aQ)(s.Gw.workExperiences,t.cid||t.id,z.dateUntil)})}),W&&(0,r.jsx)(R.D0,{children:(0,r.jsx)(u.wc,{highlightedQuery:!0,name:"city",value:t.city||"",onChange:M,fetchItems:(0,u.$Z)("city",{locale:A}),children:({key:e,...t})=>(0,n.createElement)(o.A,{...t,key:e,label:N||I?C.t("builder.resume_editor.work_experiences_card.location"):C.t("builder.resume_editor.work_experiences_card.city")})})})]}),U&&(0,r.jsx)(R.fI,{children:(0,r.jsx)(R.D0,{fullwidth:!0,children:(0,r.jsx)(b.Kt,{...H,
6472children:({onEditorFocus:e})=>(0,r.jsx)(a.Ay,{instanceRef:J,containerRef:E,autoFocus:d,recommendedLength:j?void 0:200,label:C.t("builder.resume_editor.work_experiences_card.description"),placeholder:C.t("builder.resume_editor.work_experiences_card.description_placeholder"),value:t.description||"",onChange:F,locale:A,labelBadges:K,additionalToolbarActions:L.shouldRenderAiWriterButton?(0,r.jsx)(b.ee,{}):null,onFocus:e})})})})]})})}),Education:ey(et),Skill:ey(ec),CategorizedSkill:ey(ef),SkillCategory:ey(Z),Language:ey(eu),Activity:ey(ei),Conference:ey(er),Volunteering:ey(en),Course:ey(eo),Social:ey(ep),Reference:ey(eh),Custom:ey(eg),CustomSimple:ey(ex),CustomAdvanced:ey(em),Hobby:ed,Accomplishments:eb,Publications:e_,Profile:ee,Award:ey(ea),Affiliation:ey(el),LicenseAndCertification:ey(es)};let ej=e=>{let{sortId:t,CardComponent:i}=e,{attributes:n,listeners:o,setNodeRef:a,transform:l,transition:s,isDragging:d}=(0,V.gl)({id:t}),c={transform:U.Ks.Transform.toString(l?{...l,scaleX:1,scaleY:1}:null),transition:s,position:"relative",zIndex:d?1:void 0};return(0,r.jsx)("div",{ref:a,style:c,...n,children:(0,r.jsx)(K.Ay,{id:t,children:(0,r.jsx)(i,{...e,isDragging:d,dragHandleListeners:o})})})}},10818:function(e,t,i){"use strict";i.d(t,{$m:function(){return L},AZ:function(){return y},BK:function(){return k},D0:function(){return R},Hn:function(){return u},KQ:function(){return j},Mx:function(){return A},S0:function(){return v},V:function(){return x},WP:function(){return w},Y9:function(){return p},cP:function(){return P},d7:function(){return _},fI:function(){return J},fo:function(){return T},gY:function(){return g},gu:function(){return E},jl:function(){return N},mO:function(){return d},m_:function(){return S},mc:function(){return c},rQ:function(){return I},s_:function(){return D},sq:function(){return C},uM:function(){return B},wN:function(){return h},wt:function(){return M},yp:function(){return $}});var r=i(38267),n=i(99701),o=i(49504),a=i(24833),l=i(91779),s=i(51390);let d=r.Ay.div(["padding-bottom:12px;"]),c=r.Ay.div(["border:1px solid ",";border-radius:4px;background-color:",";pointer-events:auto !important;-webkit-touch-callout:none;user-select:none;",""],n.Jy.Neutral15,n.Jy.White,e=>e.isDragging&&(0,r.AH)(["box-shadow:0px 3px 12px rgba(112,131,151,0.2);opacity:0.6;"])),u=(0,r.Ay)(c)(["position:relative;"]),p=r.Ay.div(["position:relative;user-select:none;"]),h=r.Ay.div(["position:relative;display:flex;flex-flow:row nowrap;align-items:center;height:70px;padding:15px 20px;user-select:none;cursor:pointer;"]),x=r.Ay.div(["flex-grow:1;min-width:0;margin-right:8px;"]),m=r.Ay.div(["",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color 0.15s;"],o.Ay.Caption),g=(0,r.Ay)(m)(["font-weight:600;",";"],a.A.Hover`
6473    ${h}:hover & {
6474      color: ${n.Jy.Blue50};
6475    }
6476  `),y=(0,r.Ay)(m)(["color:",";"],n.Jy.Neutral50),f=r.Ay.div(["position:relative;flex-shrink:0;color:",";cursor:pointer;transition:color 0.15s,opacity 0.15s;&:before{content:'';position:absolute;left:-8px;right:-8px;top:-8px;bottom:-8px;}& svg{display:block;}"],n.Jy.Neutral40),b=(0,r.Ay)(f)(["",";",";"],a.A.Laptop`
6477    display: none;
6478  `,a.A.Hover`
6479    &:hover {
6480      color: ${n.Jy.Blue50};
6481    }
6482  `),_=(0,r.Ay)(b)(["position:absolute;left:100%;top:50%;margin-left:8px;margin-top:-10px;opacity:0;opacity:",";",";"],e=>+!!e.isDeleteVisible,a.A.Hover`
6483    ${p}:hover & {
6484      opacity: 1;
6485    }
6486  `),v=(0,r.Ay)(_)(["",";",";"],a.A.Laptop`
6487    display: flex;
6488  `,a.A.Hover`
6489    ${u}:hover & {
6490      opacity: 1;
6491    }
6492  `),j=(0,r.Ay)(f)(["margin-left:8px;",";",";"],a.A.Phone`
6493    display: none;
6494  `,a.A.Hover`
6495    ${h}:hover & {
6496      color: ${n.Jy.Blue50};
6497    }
6498  `),A=r.Ay.div(["transform:rotate(",");"],e=>e.isOpen?"-90deg":"90deg"),C=(0,r.Ay)(f)(["display:none;margin-left:8px;",";"],a.A.Laptop`
6499    display: block;
6500  `),w=(0,r.Ay)(s.A)(["position:absolute;opacity:1;right:100%;top:26px;margin-right:8px;",";",";"],a.A.Phone`
6501    margin-right: 0;
6502  `,a.A.Hover`
6503    ${p}:hover & {
6504      color: ${n.Jy.Blue50};
6505    }
6506  `),k=(0,r.Ay)(w)(["top:50%;",";"],a.A.Phone`
6507    transform: translateY(-50%);
6508    margin-right: 4px;
6509  `),S=r.Ay.div(["font-weight:400;bottom:calc(100% + 6px);white-space:nowrap;left:50%;transform:translate(-50%,0px);position:absolute;",";color:",";padding:5px 8px;border-radius:3px;background-color:",";user-select:none;pointer-events:none;opacity:0;transition:opacity 0.2s ease,transform 0.2s ease;transition-delay:0;&::before{content:'';position:absolute;display:block;width:8px;height:8px;border-radius:0 0 2px 0;transform:translate(-50%,-50%) rotateZ(45deg);background-color:",";top:100%;left:50%;}",":hover &{opacity:1;transform:translate(-50%,0px);transition-delay:0.4s;}"],o.Ay.Tiny,n.Jy.White,n.Jy.Neutral90,n.Jy.Neutral90,b),T=r.Ay.div(["padding:4px 20px 24px;",";"],a.A.Phone`
6510    padding: 0;
6511  `),P=r.Ay.div(["padding:16px 20px 16px;",";"],a.A.Phone`
6512    padding: 12px 16px;
6513  `),J=r.Ay.div(["margin-bottom:24px;display:flex;flex-flow:row wrap;&:last-child{margin-bottom:0;}"]),E=r.Ay.div(["padding-left:24px;padding-right:24px;"]),R=r.Ay.div(["flex:0 0 ",";width:",";margin-right:40px;",";&:last-child{margin-right:0;margin-bottom:0;}"],e=>e.fullwidth?"100%":"calc(50% - 20px)",e=>e.fullwidth?"100%":"calc(50% - 20px)",a.A.Phone`
6514    flex: 0 0 100%;
6515    margin-right: 0;
6516    margin-bottom: 20px;
6517  `),L=r.Ay.div(["flex-grow:1;width:100%;padding:32px 20px 40px;"]),N=r.Ay.div(["width:100%;padding:0 20px 32px;"]),I=r.Ay.div(["position:relative;margin-bottom:20px;text-align:center;padding:2px 48px 0;"]),M=r.Ay.div(["",";font-weight:600;margin-bottom:2px;"],o.Ay.Subhead),B=r.Ay.div(["",";color:",";white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"],o.Ay.Caption,n.Jy.Neutral50),D=r.Ay.div(["position:absolute;
6517left:0;top:0;width:34px;height:34px;border-radius:50%;display:flex;justify-content:center;align-items:center;flex-shrink:0;background-color:",";color:",";transform:scaleX(-1);"],n.Jy.Blue10,n.Jy.Blue50),$=(0,r.Ay)(l.Ay)(["display:block;width:100%;"])},11788:function(e,t,i){"use strict";i.d(t,{zb:function(){return iT},jp:function(){return ih},Sq:function(){return eP},B_:function(){return ic},ih:function(){return io},WV:function(){return tz},HJ:function(){return tJ}});var r,n=i(74848),o=i(81247),a=i(96540),l=i(33093),s=i(57238),d=i(18509),c=i(41193),u=i(36961),p=i(34346),h=i(8037),x=i(77868),m=i(77378),g=i(32606),y=i(57295),f=i(9673),b=i(38267),_=i(80335),v=i(24833),j=i(49504);let A=b.Ay.div(["width:auto;margin:0;"," ",""],v.A.AboveTablet`
6518    width: 736px;
6519    margin: auto;
6520  `,v.A.AboveTablet`
6521    width: 736px;
6522    margin: auto;
6523  `),C=b.Ay.div(["display:flex;flex-flow:column;gap:64px;padding:64px;border-radius:16px;",""],v.A.Phone`
6524    gap: 24px;
6525    padding: 24px;
6526  `),w=(0,b.Ay)(_.i)(["display:flex;flex-flow:column;gap:128px;padding-bottom:128px;"," ",""],v.A.Tablet`
6527    gap: 96px;
6528    padding-bottom: 96px;
6529  `,v.A.Phone`
6530    gap: 32px;
6531    padding-bottom: 32px;
6532  `),k=b.Ay.div(["display:flex;flex-flow:column;gap:64px;"," ",""],v.A.Tablet`
6533    gap: 48px;
6534  `,v.A.Phone`
6535    gap: 20px;
6536  `),S=b.Ay.div(["flex:auto;padding-bottom:64px;display:flex;flex-flow:column;"]),T=b.Ay.div(["",";",";"],j.Ay.Subhead,j.BO.DemiBold);var P=i(20646);let J="builder.career_assessment.results.career_insights",E="career_assessment";var R=i(99701),L=i.p+"media/background54006d5a631f94a2.png",N=i.p+"media/background-mobilefdcff62709f5bef9.png";let I=b.Ay.div(["padding:32px 24px 48px;background-color:",";overflow:hidden;position:relative;background-image:none;border-radius:16px;&::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;opacity:0.45;background-image:url(",");background-position:calc(50% + 6px) -200px;background-size:590px;pointer-events:none;z-index:0;}"," ",""],R.Jy.Blue10,N,v.A.Tablet`
6537    &::before {
6538      background-position: calc(50% + 6px) -236px;
6539      background-size: 707px;
6540    }
6541  `,v.A.AboveTablet`
6542    padding: 36px 32px 48px;
6543    background-image: url(${L});
6544    background-position: top;
6545
6546    &::before {
6547      content: none;
6548    }
6549  `),M=(0,b.Ay)(A)(["display:flex;flex-flow:column;align-items:center;gap:26px;",""],v.A.Phone`
6550    gap: 24px;
6551  `),B=b.Ay.img(["width:170px;height:170px;border-radius:50%;border:3px solid ",";",""],R.Jy.White,v.A.Phone`
6552    width: 100px;
6553    height: 100px;
6554    border-width: 2px;
6555  `),D=b.Ay.div(["display:flex;flex-flow:column;align-items:center;gap:12px;"]),$=b.Ay.div(["",";",";color:",";text-align:center;"],j.Ay.M,j.BO.DemiBold,R.Jy.Blue100),O=b.Ay.div(["",";",";color:",";text-align:center;"],j.Ay.Subhead,j.BO.Regular,R.Jy.Blue90),z=({user:e,photoUrl:t})=>(0,n.jsx)(I,{children:(0,n.jsxs)(M,{children:[(0,n.jsx)(B,{alt:"User photo",src:t}),(0,n.jsxs)(D,{children:[(0,n.jsx)($,{children:P.R.t(`${J}.here_are_your_career_insights`,{name:e.firstName})}),(0,n.jsx)(O,{children:P.R.t(`${J}.begin_a_journey`)})]})]})});i(18111),i(61701);var F=i(35189),H=i(93971),V=i(14649),U=i(86066),W=i(91779);let K=b.Ay.div(["display:flex;flex-flow:column;gap:16px;"]),q=b.Ay.div(["position:relative;& .swiper{position:relative;overflow:hidden;","}& .swiper-wrapper{display:flex;position:relative;transition-property:transform;}"],v.A.Phone`
6556      padding: 0 24px;
6557    `),G=b.Ay.div(["background:linear-gradient(270deg,"," 0%,transparent 100%);position:absolute;top:0;height:100%;width:56px;pointer-events:none;opacity:0;will-change:opacity;transition:opacity 0.2s ease-out;"," "," ",""],R.Jy.Neutral5,e=>e.$isVisible&&(0,b.AH)(["opacity:1;"]),e=>"end"===e.$position&&(0,b.AH)(["right:0;"]),e=>"start"===e.$position&&(0,b.AH)(["transform:rotate(180deg);left:0;"])),Z=b.Ay.div(["position:relative;padding:24px;width:100%;border-radius:16px;background-color:",";",""],R.Jy.White,e=>e.$isLast&&(0,b.AH)(["background:linear-gradient(238.12deg,#cac9ff -5.25%,#dfe8f9 81.15%,#c4c0ff 103.89%);"])),X=b.Ay.img(["position:absolute;height:37px;right:-20px;top:34px;z-index:1;"]),Q=b.Ay.div(["display:flex;flex-flow:row nowrap;justify-content:flex-end;
6557gap:8px;",""],v.A.Phone`
6558    padding: 0 24px;
6559  `),Y=(0,b.Ay)(W.jL)(["background-color:",";transition:background-color 0.2s ease-out,opacity 0.2s ease-out;&:focus{background-color:",";}&:hover{background-color:",";}&:disabled{background-color:",";opacity:50%;cursor:default;}",""],R.Jy.Neutral15,R.Jy.Neutral15,R.Jy.Neutral20,R.Jy.Neutral15,v.A.Phone`
6560    width: 36px;
6561    height: 36px;
6562  `);var ee=i.p+"media/arrow805ccadd4d8a8ff9.svg";let et=(0,a.memo)(({items:e})=>{let[t,i]=(0,a.useState)(0),[r,o]=(0,a.useState)(!1),[l,s]=(0,a.useState)(!0),d=(0,U.e)().isPhone?"230px":"270px",c=(0,a.useCallback)(({realIndex:e,isEnd:t,isBeginning:r})=>{o(t),s(r),i(e)},[]);return(0,n.jsxs)(K,{children:[(0,n.jsxs)(q,{children:[(0,n.jsx)(H.RC,{modules:[F.Vx],initialSlide:t,grabCursor:!0,slidesPerView:"auto",spaceBetween:8,navigation:{prevEl:".progression-slider-prev",nextEl:".progression-slider-next"},onInit:c,onSlideChange:c,onToEdge:c,onFromEdge:c,children:e.map((t,i)=>(0,n.jsx)(H.qr,{style:{minWidth:d,width:d},children:(0,n.jsxs)(Z,{$isLast:i===e.length-1,children:[t,i<e.length-1&&(0,n.jsx)(X,{alt:"arrow",src:ee})]})},`template-${i}`))}),(0,n.jsx)(G,{$position:"start",$isVisible:r&&!l}),(0,n.jsx)(G,{$position:"end",$isVisible:!r})]}),(0,n.jsxs)(Q,{children:[(0,n.jsx)(Y,{className:"progression-slider-prev",children:(0,n.jsx)(V.Ay.ChevronLeft,{color:R.Jy.Neutral50})}),(0,n.jsx)(Y,{className:"progression-slider-next",children:(0,n.jsx)(V.Ay.ChevronRight,{color:R.Jy.Neutral50})})]})]})}),ei=(0,b.Ay)(A)(["display:flex;align-items:center;flex-flow:row;gap:64px;"," "," "," ",""],v.A.Tablet`
6563    flex-flow: column-reverse;
6564  `,e=>e.$isRowOnTablet&&(0,b.AH)(["",""],v.A.Tablet`
6565        flex-flow: row;
6566      `),v.A.Phone`
6567    flex-flow: column-reverse;
6568    gap: 24px;
6569  `,e=>e.$isReversed&&(0,b.AH)(["",""],v.A.AboveTablet`
6570        flex-flow: row-reverse;
6571      `)),er=b.Ay.div(["display:flex;flex-flow:column;gap:16px;",""],v.A.Phone`
6572    gap: 12px;
6573  `),en=b.Ay.div(["",";",";color:",";"],j.Ay.M,j.BO.DemiBold,R.Jy.Neutral100),eo=b.Ay.div(["",";",";color:",";"],j.Ay.Body,j.BO.Regular,R.Jy.Neutral60),ea=({headerText:e,description:t,isReversed:i,isRowOnTablet:r,children:o})=>(0,n.jsxs)(ei,{$isReversed:i,$isRowOnTablet:r,children:[(0,n.jsxs)(er,{children:[(0,n.jsx)(en,{children:e}),(0,n.jsx)(eo,{children:t})]}),o]}),el=(0,b.Ay)(C)(["background-color:",";padding:64px 48px 48px;",""],R.Jy.Neutral5,v.A.Phone`
6574    padding: 24px 0;
6575  `),es=b.Ay.div(["",""],v.A.Phone`
6576    padding: 0 24px;
6577  `),ed=b.Ay.img(["width:256px;",";",";"],v.A.Tablet`
6578    width: 182px;
6579  `,v.A.Phone`
6580    width: 160px;
6581  `),ec=b.Ay.div(["",";",";color:",";margin-bottom:4px;"],j.Ay.Subhead,j.BO.Medium,R.Jy.Neutral100),eu=b.Ay.div(["",";",";color:",";"],j.Ay.Body,j.BO.Regular,R.Jy.Neutral90),ep=b.Ay.div(["",";",";color:",";margin-top:16px;"],j.Ay.Caption,j.BO.Regular,R.Jy.Neutral60),eh=b.Ay.img(["display:block;height:80px;width:80px;border-radius:50%;margin-bottom:16px;"]);var ex=i.p+"media/path-to-aspiration-roleda1eaef588402a9e.png";let em=({user:e,progressionJobs:t,photoUrl:i,currentJobPosition:r})=>(0,n.jsxs)(el,{children:[(0,n.jsx)(es,{children:(0,n.jsx)(ea,{headerText:P.R.t(`${J}.path_to_aspiration`),description:P.R.t(`${J}.explore_trajectory`,{name:e.firstName}),isRowOnTablet:!0,children:(0,n.jsx)(ed,{src:ex,alt:"Banner image"})})}),(0,n.jsx)(et,{items:[(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eh,{alt:"user photo",src:i}),r&&(0,n.jsx)(ec,{children:r}),(0,n.jsx)(eu,{children:P.R.t(`${J}.current_position`)})]}),...t.map(e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ec,{children:e.title}),(0,n.jsx)(eu,{children:e.salaryRange}),(0,n.jsx)(ep,{children:e.description})]}))]})]}),eg=b.Ay.div(["background-color:",";border-radius:16px;"],R.Jy.White),ey=b.Ay.div(["display:flex;gap:16px;padding:24px;",""],v.A.Phone`
6582    padding: 24px 24px 24px 16px;
6583    gap: 12px;
6584  `),ef=b.Ay.div(["padding:0 12px 12px;"]),eb=b.Ay.img(["flex:0 0 32px;height:32px;"]),e_=b.Ay.div(["display:flex;gap:16px;",""],v.A.Phone`
6585    flex-flow: column;
6586  `),ev=b.Ay.div(["display:flex;flex-flow:column;gap:4px;flex:0 0 220px;",""],v.A.Phone`
6587    flex: auto;
6588  `),ej=b.Ay.div(["",";",";"],j.Ay.Subhead,j.BO.Medium),eA=b.Ay.div([""]),eC=b.Ay.div(["margin:4px 0;flex:auto;"]),ew=({header:e,subheader:t,description:i,iconUrl:r,iconAlt:o,children:a})=>(0,n.jsxs)(eg,{children:[(0,n.jsxs)(ey,{children:[r&&(0,n.jsx)(eb,{src:r,alt:o}),e||t||i?(0,n.jsxs)(e_,{children:[(e||t)&&(0,n.jsxs)(ev,{children:[e&&(0,n.jsx)(ej,{children:e}),t&&(0,n.jsx)(eA,{children:t})]}),i&&(0,n.jsx)(eC,{children:i})]}):null]}),a&&(0,n.jsx)(ef,{children:a})]}),ek=(0,b.Ay)(C)(["background-color:",";color:",";"],R.Jy.Indigo10,R.Jy.Indigo90),eS=b.Ay.img(["width:268px;",";",";"],v.A.Tablet`
6589    width: 210px;
6590  `,v.A.Phone`
6591    width: 160px;
6592  `),eT=(0,b.Ay)(A)(["display:flex;flex-flow:column;gap:16px;"]);var eP=i.p+"media/roles-might-suit-you7c398fae25b09310.png",eJ=i.p+"media/internship-icon5a01584398689274.svg";let eE=({roles:e})=>(0,n.jsxs)(ek,{children:[(0,n.jsx)(ea,{headerText:P.R.t(`${J}.roles_might_suit_you`),description:P.R.t(`${J}.suggestions`),children:(0,n.jsx)(eS,{src:eP,alt:"Banner image"})}),(0,n.jsx)(eT,{children:e.map((e,t)=>(0,n.jsx)(ew,{header:e.title,subheader:e.salaryRange,description:e.description,iconUrl:eJ},t))})]}),eR=(0,b.Ay)(C)(["background-color:",";color:",";"],R.Jy.Blue10,R.Jy.Blue90),eL=b.Ay.img(["width:280px;",";",";"],v.A.Tablet`
6593    width: 210px;
6594  `,v.A.Phone`
6595    width: 160px;
6596  `),eN=(0,b.Ay)(A)(["display:grid;grid-template-columns:302px auto;gap:16px;",";"],v.A.Phone`
6597    grid-template-columns: auto;
6598  `),eI=b.Ay.div(["",""],j.BO.Medium),eM=b.Ay.div(["display:flex;flex-flow:column;background-color:",";padding:16px;gap:2px;border-radius:8px;color:",";",";"],R.Jy.Neutral5,R.Jy.Blue90,j.Ay.Caption),eB=b.Ay.div(["",";"],j.BO.Medium),eD=b.Ay.div([""]);var e$=i.p+"media/recommended-skills90de1fe1dae0eccb.png",eO=i.p+"media/education-icon6d09adc556bbf3ab.svg";let ez=({skills:e})=>{let t=(0,U.e)();return(0,n.jsxs)(eR,{children:[(0,n.jsx)(ea,{headerText:P.R.t(`${J}.skills_recommendations`),description:P.R.t(`${J}.these_recommendations_based`),children:(0,n.jsx)(eL,{src:e$,alt:"Banner image"})}),(0,n.jsxs)(eN,{children:[t.isPhone?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eI,{children:P.R.t(`${J}.skill`)}),(0,n.jsx)(eI,{children:P.R.t(`${J}.recommended_course`)})]}),t.isPhone?e.map((e,t)=>(0,n.jsx)(ew,{header:e.title,subheader:e.hardOrSoft,iconUrl:eO,children:(0,n.jsxs)(eM,{children:[(0,n.jsx)(eB,{children:P.R.t(`${J}.recommended_course`)}),(0,n.jsx)(eD,{children:e.description})]})},t)):e.map((e,t)=>(0,n.jsxs)(a.Fragment,{children:[(0,n.jsx)(ew,{header:e.title,subheader:e.hardOrSoft,iconUrl:eO}),(0,n.jsx)(ew,{description:e.description},`right-${t}`)]},`left-${t}`))]})]})},eF=(0,b.Ay)(A)(["display:flex;flex-flow:column;gap:24px;"]),eH=b.Ay.p([""]),eV=({textParts:e})=>(0,n.jsx)(n.Fragment,{children:!!e?.length&&(0,n.jsx)(eF,{children:e.map((e,t)=>(0,n.jsx)(eH,{children:e},t))})});var eU=i(84976),eW=i(42692),eK=i(72603);let eq=b.Ay.div(["--avatar-size:",";--border-size:",";--mobile-avatar-size:",";--mobile-border-size:",";--calculated-avatar-size:calc(var(--avatar-size) + 2 * var(--border-size));width:calc(var(--calculated-avatar-size) * 2.5);height:var(--calculated-avatar-size);position:relative;",";"],e=>e.avatarSize??"38px",e=>e.avatarSize??"3px",e=>e.mobileAvatarSize??"32px",e=>e.mobileBorderSize??"3px",v.A.Phone`
6599    --avatar-size: var(--mobile-avatar-size);
6600    --border-size: var(--mobile-border-size);
6601  `),eG=b.Ay.img(["height:var(--avatar-size);width:var(--avatar-size);box-sizing:content-box;border:var(--border-size) solid ",";border-radius:50%;position:absolute;top:0;left:0;z-index:3;&:nth-child(2){left:calc(var(--calculated-avatar-size) * 0.75);z-index:2;}&:nth-child(3){left:calc(var(--calculated-avatar-size) * 1.5);z-index:1;}"],R.Jy.White);var eZ=i.p+"media/avatar-019e8b913948fcbbd4.png",eX=i.p+"media/avatar-02ff92cff6fa96f156.png",eQ=i.p+"media/avatar-03b611e0cea422e2aa.png";let eY=e=>(0,n.jsxs)(eq,{...e,children:[(0,n.jsx)(eG,{src:eZ,alt:"Coach 1"}),(0,n.jsx)(eG,{src:eX,alt:"Coach 2"}),(0,n.jsx)(eG,{src:eQ,alt:"Coach 3"})]});var e0=i(64961),e1=((r={}).pitch="pitch",r.resumeBuilder="resume_builder",r.coverLetter="cover_letter",r.interviewPrep="interview_prep",r.coaching="coaching",r);function e2(e){return`/app/resumes/${e}/edit?${e0.pn.isResumeTailor}=true`}let e3=e=>{let t=(0,o.wA)(),i=(0,c.J)(),r=(0,d.N)(e0.Tp.documentsStatus),n=(0,d.N)(e=>e0.Tp.documentsByType(e,h.VC.resume)),s=!!i?.hasPremiumFeatures,x=(0,a.useCallback)((i,r)=>{(0,l.xP)(e,{label:E,service_name:r}),s||t(p.o1.setOpenedPaywallModalType(i))},[t,s,e]),m=(0,a.useCallback)(()=>x("pitch",e1.pitch),[x]),g=(0,a.useCallback)(()=>x("cover-letter",e1.coverLetter),[x]),y=(0,a.useCallback)(()=>x("interview-prep",e1.interviewPrep),[x]),f=(0,a.useCallback)(()=>{(0,l.xP)(e,{label:E,service_name:e1.resumeBuilder}),n.length?1===n.length?window.open(e2(n[0].id),"_target"):t(p.o1.setIsOptimizeResumeModalOpened(!0)):t(e0.o1.createDocument({type:h.VC.resume,target:"_blank"}))},[t,n,e]);return(0,u.h)(()=>{r===h.Hp.notAsked&&t(e0.o1.fetchDocuments())}),{onPitchLinkClick:m,onCoverLetterLinkClick:g,onInterviewPrepLinkClick:y,onOptimizeResumeClick:f}};var e5=i(87253);let e4=(0,b.AH)(["display:flex;flex-flow:column;"]),e6=(0,b.Ay)(C)(["background-color:",";padding-bottom:96px;",""],R.Jy.Neutral5,v.A.Phone`
6602    padding-bottom: 24px;
6603  `),e8=(0,b.Ay)(A)(["",";gap:48px;",""],e4,v.A.Phone`
6604    gap: 24px;
6605  `),e9=b.Ay.div(["",";gap:16px;",""],e4,v.A.Phone`
6606    gap: 12px;
6607  `),e7=b.Ay.div(["",";",";color:",";"],j.Ay.M,j.BO.DemiBold,R.Jy.Neutral100),te=b.Ay.div(["color:",";"],R.Jy.Neutral60),tt=b.Ay.div(["",";gap:8px;"],e4),ti=b.Ay.div(["--icon-color:",";padding:16px 24px;display:flex;gap:16px;align-items:center;border:1px solid ",";border-radius:12px;background-color:",";will-change:background-color,border-color;transition:all 0.1s ease-out;cursor:pointer;"," ",""],R.Jy.Neutral40,R.Jy.Neutral15,R.Jy.White,v.A.Hover`
6608    &:hover {
6609      --icon-color: ${R.Jy.Blue50};
6610      border-color: ${R.Jy.Blue50};
6611    }
6612  `,v.A.Phone`
6613    padding: 16px;
6614    gap: 12px;
6615    align-items: flex-start;
6616  `),tr=(0,b.Ay)(e5.aK)(["--icon-size:48px;width:var(--icon-size);height:var(--icon-size);",""],v.A.Phone`
6617    --icon-size: 32px;
6618  `),tn=b.Ay.div(["padding:4px 0;flex:auto;",""],v.A.Phone`
6619    padding: 0;
6620  `),to=b.Ay.div(["",";"],j.BO.Medium),ta=b.Ay.div(["",";color:",";"],j.Ay.Caption,R.Jy.Neutral50),tl=(0,b.Ay)(V.Ay.ChevronRight)(["transition:color 0.1s ease-out;color:var(--icon-color);",""],v.A.Phone`
6621    display: none;
6622  `),ts=(0,b.Ay)(ti)(["border:none;background-color:",";"," ",""],R.Jy.Neutral10,v.A.Hover`
6623    &:hover {
6624      background-color: ${R.Jy.Neutral15};
6625    }
6626  `,v.A.Phone`
6627    flex-flow: column;
6628    padding: 16px 24px;
6629  `),td=e=>{let t=(0,n.jsxs)(ti,{onClick:e.onClick,children:[(0,n.jsx)(tr,{name:e.iconName}),(0,n.jsxs)(tn,{children:[(0,n.jsx)(to,{children:e.header}),(0,n.jsx)(ta,{children:e.text})]}),(0,n.jsx)(tl,{})]});return e.link?(0,n.jsx)(eU.N_,{to:e.link,target:"_blank",children:t}):t},tc=({user:e})=>{let t=e.hasPremiumFeatures,{features:i}=(0,eW.t)(),r=(0,o.d4)(eK.Tp.getInterviewUrl),{onPitchLinkClick:a,onCoverLetterLinkClick:s,onInterviewPrepLinkClick:d,onOptimizeResumeClick:c}
6629=e3("click_assessment_next_move");return(0,n.jsx)(e6,{children:(0,n.jsxs)(e8,{children:[(0,n.jsxs)(e9,{children:[(0,n.jsx)(e7,{children:P.R.t(`${J}.so_now_what`)}),(0,n.jsx)(te,{children:P.R.t(`${J}.to_run_successful_search`)})]}),(0,n.jsxs)(tt,{children:[(0,n.jsx)(td,{iconName:"ProfessionalHeadshot",header:P.R.t(`${J}.professional_pitch`),text:P.R.t(`${J}.arm_yourself_with_pitch`),link:t?"/career-profile/pitch":void 0,onClick:t?void 0:a}),(0,n.jsx)(td,{iconName:"ResumeAndCoverLetters",header:P.R.t(`${J}.optimized_resume_versions`),text:P.R.t(`${J}.make_sure_your_resume_speaks`),onClick:c}),(0,n.jsx)(td,{iconName:"ProfessionalWritingServices",header:P.R.t(`${J}.pitch_perfect_cover_letters`),text:P.R.t(`${J}.get_perfect_cover_letter`),link:t?"/career-profile/cover-letter":void 0,onClick:t?void 0:s}),(0,n.jsx)(td,{iconName:"InterviewPrepV2",header:P.R.t(`${J}.next_level_interview_prep`),text:P.R.t(`${J}.interview_to_win`),link:r,onClick:t?void 0:d})]}),i.careerCoaching&&(0,n.jsx)(eU.N_,{to:"/career-coaching",target:"_blank",children:(0,n.jsxs)(ts,{onClick:()=>{(0,l.xP)("click_assessment_next_move",{label:E,service_name:e1.coaching})},children:[(0,n.jsx)(eY,{}),(0,n.jsxs)(tn,{children:[(0,n.jsx)(to,{children:P.R.t(`${J}.consult_with_coach`)}),(0,n.jsx)(ta,{children:P.R.t(`${J}.expert_in_your_corner`)})]}),(0,n.jsx)(tl,{})]})})]})})};var tu=i(40271);let tp=(0,b.AH)(["display:flex;flex-flow:column;align-items:center;justify-content:center;"]),th=(0,b.Ay)(_.i)(["",";width:100%;height:100%;flex:auto;"],tp),tx=(0,b.Ay)(_.i)(["",";max-width:577px;margin:24px;gap:24px;"],tp),tm=b.Ay.div(["",";gap:16px;"],tp),tg=b.Ay.img(["width:65px;display:block;"]),ty=b.Ay.div(["",";gap:12px;text-align:center;"],tp),tf=b.Ay.div(["",";",""],j.Ay.Subhead,j.BO.DemiBold),tb=b.Ay.div(["",";b{","}img{width:20px;height:20px;position:relative;top:-2px;}span{flex-wrap:nowrap;white-space:nowrap;","}"],j.Ay.Caption,j.BO.DemiBold,j.BO.DemiBold);var t_=i.p+"media/waitingc169bd532f108db2.svg";let tv=({isLoading:e,isPending:t})=>{let{i18n:i}=(0,m.s)(),r=i.t("builder.career_profile.loader.description",{careerInsightsIconUrl:e5.lO,professionalPitchIconUrl:e5.pw,aiCoverLetterIconUrl:e5.H_});return(0,n.jsx)(th,{timeout:0,children:e&&!t?(0,n.jsx)(tu.Ay,{}):(0,n.jsxs)(tx,{timeout:0,children:[(0,n.jsxs)(tm,{children:[(0,n.jsx)(tg,{src:t_}),(0,n.jsxs)(ty,{children:[(0,n.jsx)(tf,{children:i.t("builder.career_profile.loader.please_wait")}),(0,n.jsx)(tb,{dangerouslySetInnerHTML:{__html:r}})]})]}),(0,n.jsx)(eU.N_,{to:"/",children:(0,n.jsx)(W.Ay,{children:i.t("builder.career_profile.loader.go_to_dashboard")})})]})})},tj=(0,b.AH)(["display:flex;flex-flow:column;"]),tA=b.Ay.div(["",";gap:12px;justify-content:space-between;background-color:",";border-radius:16px;overflow:hidden;",""],tj,R.Jy.Neutral5,v.A.Phone`
6630    border-radius: 12px;
6631  `),tC=b.Ay.div(["--bottom-card-padding:64px;",";padding:var(--bottom-card-padding) var(--bottom-card-padding) 0;gap:24px;"," "," ",""],tj,e=>e.$isCardEmpty&&(0,b.AH)(["padding:var(--bottom-card-padding);"]),v.A.Tablet`
6632    --bottom-card-padding: 48px;
6633  `,v.A.Phone`
6634    --bottom-card-padding: 24px;
6635    gap: 20px;
6636  `),tw=b.Ay.div(["",";gap:16px;",""],tj,v.A.Phone`
6637    gap: 12px;
6638  `),tk=b.Ay.div(["",";",";"],j.Ay.S,j.BO.Medium),tS=b.Ay.div(["",";"],j.Ay.Caption),tT=(0,b.Ay)(W.Ay)(["align-self:flex-start;"]),tP=(0,a.memo)(({headerText:e,text:t,buttonText:i,buttonLink:r,buttonClickHandler:o,children:a})=>{let l=(0,n.jsx)(tT,{onClick:o,children:i});
6638return(0,n.jsxs)(tA,{children:[(0,n.jsxs)(tC,{$isCardEmpty:!a,children:[(0,n.jsxs)(tw,{children:[(0,n.jsx)(tk,{children:e}),(0,n.jsx)(tS,{children:t})]}),r?(0,n.jsx)(eU.N_,{to:r,target:"_blank",children:l}):l]}),a]})}),tJ=()=>{let{careerInsightsData:e}=(0,f.b)(),t=e?.professionalPitchResults;return(0,a.useMemo)(()=>t?[t.positioning,t.diff,t.results,t.close]:[],[t])};var tE=i.p+"media/pitch-preview-background8e3dd90042e7b460.png";let tR=b.Ay.div(["--message-border:1px solid ",";user-select:none;padding:32px 32px 0;width:100%;height:280px;overflow:hidden;background-color:",";",""],R.Jy.Neutral15,R.Jy.Neutral5,v.A.Phone`
6639    padding: 24px 24px 0;
6640  `),tL=b.Ay.div(["max-height:100%;max-width:405px;display:flex;gap:24px;position:relative;margin:auto;&::before{position:absolute;content:'';background-image:url(",");top:30px;left:-90px;transform:rotate(-150deg);background-size:cover;width:369.85px;height:317.61px;opacity:0.7;}"],tE),tN=b.Ay.img(["--avatar-size:60px;height:var(--avatar-size);flex:0 0 var(--avatar-size);border-radius:50%;z-index:1;margin-top:11px;",""],v.A.Phone`
6641    --avatar-size: 36px;
6642  `),tI=b.Ay.div(["flex:auto;z-index:1;position:relative;&::before{content:'';position:absolute;width:20px;height:20px;left:0;top:30px;border-left:var(--message-border);border-bottom:var(--message-border);background-color:",";transform:translateX(-50%) rotate(45deg);}&::after{content:'';position:absolute;bottom:0;width:100%;height:72px;
6642background:linear-gradient(180deg,transparent 0%,"," 43.23%);","}"],R.Jy.White,R.Jy.Neutral5,v.A.Phone`
6643      height: 44px;
6644    `),tM=b.Ay.div(["--padding:32px;padding:var(--padding) var(--padding) 0;border:var(--message-border);border-radius:16px;background-color:",";height:100%;overflow:hidden;color:",";white-space:pre-wrap;",""],R.Jy.White,R.Jy.Neutral60,v.A.Phone`
6645    --padding: 24px;
6646  `),tB=()=>{let e=(0,d.N)(s.Tp.photoUrl),t=tJ();return t?(0,n.jsx)(tR,{children:(0,n.jsxs)(tL,{children:[(0,n.jsx)(tN,{src:e,alt:"User Avatar"}),(0,n.jsx)(tI,{children:(0,n.jsx)(tM,{children:t})})]})}):null};var tD=i(7350),t$=i.n(tD),tO=i(33633);let tz=()=>{let{careerInsightsData:e}=(0,f.b)(),t=e?.coverLetterResults;return(0,a.useMemo)(()=>t?[t.introduction,t.pitch,t.results,t.close]:[],[t])};var tF=i.p+"media/cover-letter-preview-background08251e6b712c419d.png";let tH=b.Ay.div(["user-select:none;padding:32px 32px 0;width:100%;max-height:280px;overflow:hidden;display:flex;justify-content:center;background-image:url(",");background-size:317px auto;background-position:top left;position:relative;background-color:",";",""],tF,R.Jy.Neutral5,v.A.Phone`
6647    padding: 24px 24px 0;
6648  `),tV=b.Ay.div(["flex:auto;max-width:410px;max-height:100%;display:flex;position:relative;margin-bottom:1px;overflow:hidden;box-shadow:0px 14.360248565673828px 57.44099426269531px -7.180124282836914px ","14;"],R.Jy.Blue80),tU=b.Ay.img(["width:200px;background-color:",";border-radius:4px;position:absolute;transform:translateX(-50%);left:50%;bottom:20px;z-index:2;box-shadow:0px 2.8230338096618652px 7.057584285736084px -1.4115169048309326px ","1f;"],R.Jy.Neutral10,R.Jy.Blue80);var tW=i.p+"media/toolbar54d67500116bc2c9.svg";let tK=(0,a.memo)(()=>{let e=(()=>{let e=(0,d.N)(p.Tp.careerInsightsData),t=(0,c.J)(),{i18n:i}=(0,m.s)(),r=tz(),n=e?.careerAssessmentResults?.dataForGraphics?.progressionList?.jobTitle[0],o=t?.fullName,l=i.currentLocale();return(0,a.useMemo)(()=>{if(!r.length)return null;let e=r.map(e=>`<p>${e}</p>`).join("");return{type:h.VC.coverLetter,id:0,name:null,locale:l,color:"#2196F3",template:"stockholm",company:"Google",address:"",city:null,phoneNumber:"(412) 479-6342",email:"[email protected]",senderName:o,companyRecipient:null,content:e,applyingPosition:n,version:"ae9af1426d",aiGenerated:!1,openCl:!1,sourceResumeId:null,spacing:0,userId:t?.id||0,renderingToken:"",createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),aiJobStatus:null,autoTailored:null,score:0,averageScore:0,companyName:null,jobTitle:null}},[r,n,l,o,t?.id])})(),[t,i]=(0,a.useState)(0),r=(0,a.useRef)(null),o=(0,a.useCallback)(t$()(()=>{r.current&&i(r.current.clientWidth)},200,{leading:!0,trailing:!0}),[]);return(0,u.h)(()=>{o()}),(0,a.useLayoutEffect)(()=>(window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),[o]),e&&(0,n.jsxs)(tH,{children:[(0,n.jsx)(tV,{ref:r,children:(0,n.jsx)(tO.A,{document:e,width:t,height:500,onPaginationChange:()=>{}})}),(0,n.jsx)(tU,{src:tW,alt:"Toolbar"})]})}),tq=b.Ay.img(["width:100%;"]);var tG=i.p+"media/next-level-interview-prepcc08655fb33b1bdf.png";let tZ=()=>(0,n.jsx)(tq,{src:tG,alt:"Interview Prep"}),tX=b.Ay.img(["width:100%;"]);var tQ=i.p+"media/optimized-resume-versionsbdfb8704dfbae121.png";let tY=()=>(0,n.jsx)(tX,{src:tQ,alt:"Optimized resume versions"}),t0=b.Ay.div(["display:grid;grid-template-columns:1fr 1fr;gap:32px;"," ",""],v.A.Tablet`
6649    gap: 16px;
6650  `,v.A.Phone`
6651    grid-template-columns: 1fr;
6652    gap: 12px;
6653  `),t1=(0,b.Ay)(C)(["background-color:",";color:",";grid-column:1 / span 2;",""],R.Jy.Blue10,R.Jy.Blue90,v.A.Phone`
6654    grid-column: 1;
6655  `),t2=b.Ay.img(["width:300px;"," ",""],v.A.Tablet`
6656    width: 180px;
6657  `,v.A.Phone`
6658    width: 134px;
6659  `);var t3=i.p+"media/take-action204f1da1a8810d9e.png";let t5=({user:e,userType:t})=>{let{i18n:i}=(0,m.s)(),{onPitchLinkClick:r,onCoverLetterLinkClick:a,onInterviewPrepLinkClick:l,onOptimizeResumeClick:s}=e3("click_assessment_next_banners"),d=!!e.hasPremiumFeatures,c=(0,o.d4)(eK.Tp.getInterviewUrl);return(0,n.jsxs)(t0,{children:[(0,n.jsx)(t1,{children:(0,n.jsx)(ea,{headerText:i.t(`${J}.time_to_take_action`,{name:e.firstName}),description:i.t(`${J}.action_section_by_user_type.${t}`),isReversed:!0,children:(0,n.jsx)(t2,{src:t3,alt:"Banner image"})})}),(0,n.jsx)(tP,{headerText:i.t(`${J}.bottom_cards.pitch_card.title`),text:i.t(`${J}.bottom_cards.pitch_card.description`),buttonText:i.t(`${J}.bottom_cards.pitch_card.button_text`),buttonLink:d?"/career-profile/pitch":void 0,buttonClickHandler:d?void 0:r,children:(0,n.jsx)(tB,{})}),(0,n.jsx)(tP,{headerText:i.t(`${J}.bottom_cards.cover_letter_card.title`),text:i.t(`${J}.bottom_cards.cover_letter_card.description`),buttonText:i.t(`${J}.bottom_cards.cover_letter_card.button_text`),buttonLink:d?"/career-profile/cover-letter":void 0,buttonClickHandler:d?void 0:a,children:(0,n.jsx)(tK,{})}),(0,n.jsx)(tP,{headerText:i.t(`${J}.bottom_cards.optimized_resume_card.title`),text:i.t(`${J}.bottom_cards.optimized_resume_card.description`),buttonText:i.t(`${J}.bottom_cards.optimized_resume_card.button_text`),buttonClickHandler:s,children:(0,n.jsx)(tY,{})}),(0,n.jsx)(tP,{headerText:i.t(`${J}.bottom_cards.interview_prep_card.title`),text:i.t(`${J}.bottom_cards.interview_prep_card.description`),buttonText:i.t(`${J}.bottom_cards.interview_prep_card.button_text`),buttonLink:c,buttonClickHandler:d?void 0:l,children:(0,n.jsx)(tZ,{})})]})},t4=e=>(0,a.useMemo)(()=>e?.split("\n"),[e]),t6=e=>(0,a.useMemo)(()=>
6659{if(!e)return[];let{jobTitle:t,salaryRange:i,jobDescription:r}=e;return t.map((e,t)=>({title:e,salaryRange:i[t],description:r[t]}))},[e]);var t8=i(75874);let t9=(0,b.Ay)(A)(["display:flex;align-items:center;border-radius:",";gap:",";padding:",";justify-content:space-between;background-color:",";position:relative;",";",";",""],R.Kz["2XS"],R.Kz.M,R.Kz.M,R.Jy.Neutral5,j.BO.Medium,j.Ay.Body,v.A.Phone`
6660    ${j.Ay.Caption};
6661    flex-flow: column;
6662    align-items: center;
6663  `),t7=b.Ay.div(["flex:1 1 50%;"]),ie=b.Ay.div(["flex:1 1 50%;display:flex;align-items:center;gap:",";",""],R.Kz.M,v.A.Phone`
6664    align-self: stretch;
6665  `),it=(0,b.Ay)(W.Ay)(["background-color:",";flex:1 1 50%;"],R.Jy.White),ii=(0,b.Ay)(t8.CS.div)(["display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;right:0;bottom:0;background-color:",";border-radius:",";padding:",";"],R.Jy.Neutral5,R.Kz["2XS"],R.Kz.M),ir=()=>{let{i18n:e}=(0,m.s)(),[t,i]=(0,a.useState)(!1),r=(0,t8.pn)(t,{config:t8.$W.default,from:{opacity:0},enter:{opacity:1},leave:{opacity:0}});return(0,n.jsxs)(t9,{children:[(0,n.jsx)(t7,{children:e.t(`${J}.feedback.was_it_useful`)}),(0,n.jsxs)(ie,{children:[(0,n.jsx)(it,{theme:W.Ox.ghost,size:"small",onClick:()=>{(0,l.xP)("click_feedback_answer",{answer:"yes",label:E}),i(!0)},children:e.t(`${J}.feedback.button_yes`)}),(0,n.jsx)(it,{theme:W.Ox.ghost,size:"small",onClick:()=>{(0,l.xP)("click_feedback_answer",{answer:"no",label:E}),i(!0)},children:e.t(`${J}.feedback.button_no`)})]}),r((t,i)=>i?(0,n.jsx)(ii,{style:t,children:e.t(`${J}.feedback.thanks_for_feedback`)}):null)]})},io=()=>{let e,t=(0,o.wA)(),i=(0,c.J)(),{i18n:r}=(0,m.s)(),b=(0,d.N)(s.Tp.photoUrl),_=(0,d.N)(p.Tp.fetchCareerInsightsStatus),{careerInsightsData:v}=(0,f.b)(),j=(0,d.N)(p.Tp.careerAssessmentResults),A=(0,d.N)(p.Tp.isOptimizeResumeModalOpened),C=(0,d.N)(p.Tp.fetchCareerProfileStatus),{careerProfileData:P}=(0,y.B)(),R=t4(j?.careerPaths),L=t4(j?.nextMove),N=t4(j?.transferableSkills),I=t4(j?.skillsCourses),M=t6(j?.dataForGraphics?.progressionList),B=t6(j?.dataForGraphics?.transferrableSkillsList),D=(e=j?.dataForGraphics?.skillCoursesList,(0,a.useMemo)(()=>{if(!e)return[];let{skill:t,softHard:i,coursesRecommendation:r}=e;return t.map((e,t)=>({title:e,hardOrSoft:i[t],description:r[t]}))},[e])),$=[h.Hp.notAsked,h.Hp.loading],O=$.includes(_)||$.includes(C),F=v?.status===p.vq.pen
6665ding,H=(0,a.useCallback)(()=>{t(p.o1.setIsOptimizeResumeModalOpened(!1))},[t]),V=(0,a.useCallback)(e=>{window.open(e2(e.id),"_target"),t(p.o1.setIsOptimizeResumeModalOpened(!1)),t(g.o1.setEditorPanelType("tailoring")),t(g.o1.startResumeOptimizerProcess())},[t]);return(0,u.h)(()=>{(0,l.xP)("enter_career_insights",{label:E}),t(p.o1.setSeenPage("insights"))}),(0,n.jsxs)(n.Fragment,{children:[O||F?(0,n.jsx)(S,{children:(0,n.jsx)(tv,{isLoading:O,isPending:F})}):(0,n.jsxs)(w,{timeout:0,children:[(0,n.jsxs)(k,{children:[i&&(0,n.jsx)(z,{user:i,photoUrl:b}),(0,n.jsx)(eV,{textParts:R}),i&&!!M.length&&(0,n.jsx)(em,{user:i,photoUrl:b,progressionJobs:M,currentJobPosition:""}),(0,n.jsx)(eV,{textParts:L}),!!B.length&&(0,n.jsx)(eE,{roles:B}),(0,n.jsx)(eV,{textParts:N}),!!D.length&&(0,n.jsx)(ez,{skills:D}),(0,n.jsx)(eV,{textParts:I}),(0,n.jsx)(ir,{})]}),i&&P&&(0,n.jsx)(t5,{user:i,userType:P.userType}),i&&(0,n.jsx)(tc,{user:i})]}),A?(0,n.jsx)(x.Q$,{footer:(0,n.jsx)(n.Fragment,{}),header:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T,{children:r.t(`${J}.select_resume_modal_header`)}),(0,n.jsx)(x.gh,{onClick:H,children:(0,n.jsx)(x.Z,{})})]}),onSelect:V}):null]})};var ia=i(47767),il=i(85266),is=i(84708),id=i(12330);let ic=()=>{let e=(0,o.d4)(p.Tp.careerInsightsData);return e?.status},iu=b.Ay.p(["b{color:",";","}"],R.Jy.Neutral100,j.BO.DemiBold),ip=b.Ay.img(["width:100%;height:280px;object-fit:cover;"]),ih=({type:e})=>{let{i18n:t}
6665=(0,m.s)(),i=(0,o.wA)(),r=(0,ia.Zp)(),a=ic(),s=a===p.vq.pending,d=a===p.vq.success,c=a===p.vq.failure||a===p.vq.retry;(0,u.h)(()=>{let e="promo";s?e="in progress":c?e="error":d&&(e="ready"),(0,l.xP)("assessment_modal_view",{status:e})});let h=()=>{(d||c)&&(i(p.o1.setSeenTemporalModal("insights-result")),id.D.removeItem(is.U.lastShownTrialModal)),i(p.o1.setCareerInsightsStatusModalType(null))},x=il.tU,g=t.t("builder.career_profile.status_modal.insights.title"),y=t.t("builder.career_profile.status_modal.insights.subtitle"),f=(0,n.jsx)(eU.N_,{to:"/career-profile/chat",children:(0,n.jsxs)(W.Ay,{theme:W.Ox.alternative,onClick:h,children:[t.t("builder.career_profile.status_modal.start_now")," "]})});return"cover-letter"===e&&(x=il.eR,g=t.t("builder.career_profile.status_modal.cover_letter.title"),y=t.t("builder.career_profile.status_modal.cover_letter.subtitle")),"pitch"===e&&(x=il.qj,g=t.t("builder.career_profile.status_modal.pitch.title"),y=t.t("builder.career_profile.status_modal.pitch.subtitle")),s&&("insights"===e&&(x=il.ZF),g=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(tu.Ay,{}),t.t("builder.career_profile.status_modal.processing.title")]}),y=t.t("builder.career_profile.status_modal.processing.subtitle"),f=void 0),d&&(x=il.x7,g=t.t("builder.career_profile.status_modal.success.title"),y=t.t("builder.career_profile.status_modal.success.subtitle"),f=(0,n.jsx)(eU.N_,{to:"/career-profile/insights",children:(0,n.jsx)(W.Ay,{theme:W.Ox.alternative,onClick:h,children:t.t("builder.career_profile.status_modal.view_results")})})),c&&(x=il.z5,g=t.t("builder.career_profile.status_modal.failure.title"),y=t.t("builder.career_profile.status_modal.failure.subtitle"),f=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(W.Ay,{theme:W.Ox.ghost,onClick:()=>{h(),i(p.o1.setInitialChatState()),r("/career-profile/chat")},children:t.t("builder.career_profile.status_modal.retake_assessment")}),(0,n.jsx)(W.Ay,{theme:W.Ox.alternative,onClick:()=>{i(p.o1.postChatbotAnswers()),h()},children:t.t("builder.career_profile.status_modal.try_again")})]})),(0,n.jsx)(il.us,{onClose:h,header:(0,n.jsx)(ip,{src:x}),title:g,description:(0,n.jsx)(iu,{dangerouslySetInnerHTML:{__html:y}}),buttons:f})},ix=(0,b.AH)(["display:flex;flex-flow:column;"]),im=b.Ay.div(["",";gap:24px;",""],ix,v.A.Phone`
6666  `),ig=b.Ay.div(["",";gap:8px;"],ix),iy=b.Ay.div(["",";gap:12px;"],ix),ib=b.Ay.div(["display:flex;gap:4px;background-color:",";color:",";border-radius:40px;align-self:flex-start;align-items:center;padding:4px 12px 4px 8px;"],R.Jy.Indigo10,R.Jy.Indigo70),i_=b.Ay.div(["",";",";"],j.Ay.S,j.BO.DemiBold),iv=b.Ay.div(["color:",";"],R.Jy.Neutral50),ij=(0,b.Ay)(ig)(["color:",";"],R.Jy.Neutral80),iA=b.Ay.div(["",";",";"],j.Ay.Caps,j.BO.DemiBold),iC=b.Ay.div(["",";padding:12px;gap:8px;background-color:",";"],ix,R.Jy.Neutral5),iw=b.Ay.div(["display:flex;gap:4px;",";"],j.Ay.Caption),ik={pitch:e1.pitch,"cover-letter":e1.coverLetter,"interview-prep":e1.interviewPrep},iS={pitch:"pitch","cover-letter":"cover_letter","interview-prep":"interview_prep"},iT=(0,a.memo)(({type:e})=>{let{i18n:t}=(0,m.s)(),i=(0,o.wA)(),r=(0,a.useMemo)(()=>Array.from([,,,,,].keys()).map(t=>`paywall_modal.by_type.${iS[e]}.unlocks.item_${t}`),[e]),s=ik[e];(0,u.h)(()=>{(0,l.xP)("view_paywall",{label:E,service_name:s})});let d=()=>{i(p.o1.setOpenedPaywallModalType(null))};return(0,n.jsx)(il.us,{onClose:d,header:(0,n.jsxs)(n.Fragment,{children:["pitch"===e&&(0,n.jsx)(tB,{}),"cover-letter"===e&&(0,n.jsx)(tK,{}),"interview-prep"===e&&(0,n.jsx)(tZ,{})]}),customContent:(0,n.jsxs)(im,{children:[(0,n.jsxs)(ig,{children:[(0,n.jsxs)(iy,{children:[(0,n.jsxs)(ib,{children:[(0,n.jsx)(V.EK.Crown,{}),t.t(`${J}.paywall_modal.premium_badge`)]}),(0,n.jsx)(i_,{children:t.t(`${J}.paywall_modal.by_type.${iS[e]}.title`)})]}),(0,n.jsx)(iv,{children:t.t(`${J}.paywall_modal.by_type.${iS[e]}.text`)})]}),(0,n.jsxs)(ij,{children:[(0,n.jsx)(iA,{children:t.t(`${J}.paywall_modal.also_unlocks`)}),(0,n.jsx)(iC,{children:r.map(e=>(0,n.jsxs)(iw,{children:[(0,n.jsx)(V.EK.Tick,{color:R.Jy.Green40}),t.t(`${J}.${e}`)]},e))})]})]}),buttons:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(W.Ay,{theme:W.Ox.ghost,onClick:d,children:t.t(`${J}.paywall_modal.skip`)}),(0,n.jsx)(eU.N_,{to:"/app/billing/plans",target:"_blank",rel:"noopener noreferrer",children:(0,n.jsx)(W.Ay,{onClick:()=>{(0,l.xP)("click_upgrade_paywall",{label:E,service_name:s}),d()},children:t.t(`${J}.paywall_modal.upgrade_now`)})})]})})})},62983:function(e,t,i){"use strict";i.d(t,{H:function(){return Y},Z:function(){return E}});var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(18509),s=i(95293),d=i(86066),c=i(19467);i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(18111),i(61701),i(44114),i(69479);var u=i(55030),p=i(43623),h=i(77378),x=i(38267),m=i(99701),g=i(24833),y=i(67592),f=i(14649),b=i(49504);let _=(0,x.AH)(["",";z-index:1;height:100%;transition:0.2s all;"],y.A.lightWithBorder.mid),v=(0,x.AH)(["&:hover{",";}"],_),j=x.Ay.input(["",";",";width:100%;height:100%;border:none;background-color:transparent;&::placeholder{color:",";}
6666&:disabled{color:",";}"],b.o5.Body,b.BO.Regular,m.Jy.Neutral30,m.Jy.Neutral10),A=x.Ay.div(["display:block;gap:8px;flex-grow:1;align-items:center;border-radius:",";"," "," ",""],e=>e.isExpanded?"12px 12px 0px 0px":"12px",g.A.Tablet`
6667    width: 100%;
6668    align-items: center;
6669  `,e=>!e.isHoverStateDisabled&&v,e=>e.isExpanded&&_),C=x.Ay.div(["",";width:100%;display:",";background-color:",";border-radius:0 0 12px 12px;position:absolute;padding:12px 8px;& .react-autosuggest__suggestions-list{width:100%;}"],y.A.lightWithBorder.mid,e=>e.isEmpty?"none":"block",m.Jy.White),w=x.Ay.div(["height:64px;position:relative;display:flex;gap:8px;align-items:center;padding-inline:16px 8px;border-radius:",";",""],e=>e.isExpanded?"12px 12px 0px 0px":"12px",g.A.Tablet`
6670    height: 48px;
6671
6672    &:hover {
6673      background-color: ${m.Jy.Blue10};
6674    }
6675  `),k=x.Ay.div(["padding:12px 8px;display:flex;gap:8px;align-items:center;overflow-x:hidden;"," ",""],e=>e.isHighlighted&&(0,x.AH)(["background-color:",";"],m.Jy.Blue10),e=>e.noIcon&&(0,x.AH)(["margin-left:32px;"])),S=x.Ay.div(["",";",";color:",";text-transform:uppercase;letter-spacing:1.8px;padding-left:20px;margin-top:16px;margin-bottom:4px;background-color:",";"],b.o5.Tiny,b.BO.DemiBold,m.Jy.Neutral50,m.Jy.White),T=(0,x.Ay)(f.EK.Close)(["color:",";cursor:pointer;transition:color 0.2s ease-out;&:hover{color:",";}"],m.Jy.Neutral30,m.Jy.Blue50),P=x.Ay.div(["width:20px;height:20px;display:grid;place-items:center;"]),J={section:p.qP.CareerPages};var E=({icon:e,name:t,value:i,onClear:o,onExpand:a,storageKey:l,placeholder:s,multiSection:d,onInputChange:c,suggestionParam:x,suggestionOptions:m,isJobExpanded:g,isLocationExpanded:y,onValueChange:f,showInputAsSuggestion:b,onSelectAutosuggestion:_,disabled:v})=>{let E=(0,n.useRef)(!0),{i18n:R}=(0,h.s)(),[L,N]=(0,n.useState)([]),[I,M]=(0,u.M)(l,[]),[B,D]=(0,n.useState)([]),$=g||y,O=(0,n.useCallback)(e=>{if(e.length){let t=(0,p.$r)(x,{...J,limit:3}),i=Math.floor(Math.random()*e.length);t(e[i]).then(e=>{E.current&&D(e)})}},[x]),z=(0,n.useCallback)((e,t)=>{let i=[];if(e.length){let t=Array.from(new Set(e)).slice(0,3).map(e=>({text:e}));i.push({title:R.t("builder.job_search.suggestion_text.recent_search_suggestion_title"),suggestions:t})}return t.length&&i.push({title:R.t("builder.job_search.suggestion_text.recommendation_suggestion_title"),suggestions:t}),i},[R]);(0,n.useEffect)(()=>()=>{E.current=!1},[]),(0,n.useEffect)(()=>{N(z(I,B))},[I,z,B]),(0,n.useEffect)(()=>O(I),[O,I]);let F=(0,n.useCallback)(e=>{c&&c(e),f&&f(e.target.value),("click"===e.type||"Enter"===e.key)&&e?.target&&(M([e.target.value,...I]),_&&e.target.value&&_(e.target.value))},[c,I,M,f,_]);return(0,r.jsx)(A,{isExpanded:$,isHoverStateDisabled:!0,children:(0,r.jsx)(p.wc,{name:t,value:i,onChange:F,multiSection:d,focusInputOnSuggestionClick:!1,fetchItems:(0,p.$r)(x,{...J,...m||{}}),renderSuggestionsContainer:({containerProps:{key:e,...t},children:i})=>(a(!!i),(0,n.createElement)(C,{...t,key:e,isEmpty:!i},i)),renderSectionTitle:e=>e.title&&(0,r.jsx)(S,{children:e.title}),renderSuggestion:(t,i)=>(0,r.jsxs)(k,{isHighlighted:i.isHighlighted,noIcon:t?.flags?.noIcon,children:[t?.flags?.noIcon||e,t.formatted??t.text]}),getSectionSuggestions:e=>e&&e.suggestions||[],shouldRenderSuggestions:()=>!0,defaultSuggestions:L,showInputAsSuggestion:b,inputProps:{value:i,onChange:F,name:t,placeholder:s,disabled:v,onBlur:()=>a(!1)},children:({key:a,...l})=>(0,r.jsxs)(w,{isExpanded:$,children:[e,(0,n.createElement)(j,{...l,key:a}),(0,r.jsx)(P,{children:i&&(0,r.jsx)(T,{onClick:()=>o(t)})})]})})})};let R=x.Ay.div(["",";margin-top:4px;display:flex;justify-content:flex-start;color:",";"],b.o5.Caption,m.Jy.Red50),L=x.Ay.div(["flex:1 1 0;"]);var N=({commonError:e,occupationError:t,locationError:i})=>(0,r.jsx)(R,{children:e?(0,r.jsx)(L,{children:e}):(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsx)(L,{children:t}),i&&(0,r.jsx)(L,{children:i})]})}),I=i(91779);let M=x.Ay.div(["width:100%;"]),B=x.Ay.div(["",";",";align-self:center;text-align:center;margin:32px 0;max-width:416px;",""],b.o5.M,b.BO.DemiBold,g.A.Phone`
6676    max-width: 335px;
6677  `),D=x.Ay.form(["display:flex;flex-direction:column;"]),$=x.Ay.div(["",";height:64px;display:flex;border-radius:",";align-items:center;"," &:hover,&:active{",";cursor:pointer;}"],y.A.lightWithBorder.low,e=>e.borderRadius?e.borderRadius:"0px",g.A.Tablet`
6678    height: auto;
6679    flex-direction: column;
6680    gap: 8px;
6681    margin-bottom: 8px;
6682    padding: 8px;
6683  `,y.A.lightWithBorder.mid),O=x.Ay.div(["height:24px;width:2px;background-color:",";margin-inline:8px;",""],m.Jy.Neutral20,g.A.Tablet`
6684    width: 100%;
6685    height: 1px;
6686  `),z=(0,x.Ay)(I.Ay)(["width:128px;margin-inline:8px;"," ",""],g.A.Tablet`
6687    width: 100%;
6688    margin: 0;
6689    margin-top: 24px;
6690  `,g.A.Phone`
6691    margin: 0;
6692    margin-top: 16px;
6693  `),F=x.Ay.img(["width:","px;align-self:center;",""],e=>e.isExploreCareers?300:416,e=>g.A.Phone`
6694    width: ${e.isExploreCareers?248:335}px;
6695  `);b.o5.Body,b.BO.Regular,m.Jy.Neutral30,y.A.lightWithBorder.mid,m.Jy.White,b.o5.Tiny,b.BO.DemiBold,m.Jy.Neutral50,m.Jy.White;let H=(0,x.Ay)(f.Ay.NewSearch)(["color:",";"],m.Jy.Neutral40),V=(0,x.Ay)(f.Ay.NewLocation)(["color:",";"],m.Jy.Neutral40),U=i(89869),W=i(88196),K={occupation:"",location:"",exploreCareersOccupation:"",exploreCareersLocation:"",commonError:""}
6695,q=({onClear:e,onChange:t,onSubmit:i,location:o,occupation:l,isExploreCareers:u,fields:p})=>{let{isTablet:h}=(0,d.e)(),[x,m]=(0,c.t)(p),[g,y]=(0,n.useState)(!1),[f,b]=(0,n.useState)(!1),[_,v]=(0,n.useState)(K),j=-1!==Object.values(_).findIndex(e=>""!==e),A=(0,n.useMemo)(()=>u?W:U,[u]),C=(0,n.useRef)(p),w=u?"Enter the job title you want to know about":"Add your starting role to build your career path";(0,n.useEffect)(()=>{let e=setTimeout(()=>{x.occupation!==C.current.occupation?(0,a.xP)("type_career_job_title",{job_title:x.occupation,...s.JU}):x.exploreCareersOccupation!==C.current.exploreCareersOccupation&&(0,a.xP)("type_career_job_title",{job_title:x.exploreCareersOccupation,label:"explore_careers"})},2e3);return()=>{clearTimeout(e)}},[x,u]);let k=(0,n.useCallback)(()=>{let e=!0,t=Object.assign({},_);return u?(x.exploreCareersOccupation!==C.current.exploreCareersOccupation&&x.exploreCareersLocation!==C.current.exploreCareersLocation&&(t.commonError=s.Ed),x.exploreCareersOccupation||(e=!1,t.exploreCareersOccupation=s.bn,x.exploreCareersLocation!==C.current.exploreCareersLocation&&(t.commonError=s.Ed)),x.exploreCareersOccupation!==C.current.exploreCareersOccupation&&(t.exploreCareersOccupation=s.bn,e=!1),x.exploreCareersLocation!==C.current.exploreCareersLocation&&(t.exploreCareersLocation=s.XR,e=!1)):(x.occupation!==C.current.occupation&&x.location!==C.current.location&&(t.commonError=s.Ed),x.occupation||(e=!1,t.occupation=s.bn,x.location!==C.current.location&&(t.commonError=s.Ed)),x.occupation!==C.current.occupation&&(t.occupation=s.bn,e=!1),x.location!==C.current.location&&(t.location=s.XR,e=!1)),{newErrors:t,isValid:e}},[_,x,u]),S=(0,n.useCallback)(e=>{let t={..._,commonError:""};t[e]="",v(t)},[_]),T=(0,n.useCallback)(t=>{m({target:{name:t,value:""}}),C.current[t]="",S(t),e(t)},[S,e,m]),P=(0,n.useCallback)((e,i)=>{S(i),m({target:{name:i,value:e.target.value}}),("click"===e.type||"Enter"===e.key)&&e.target.value&&(C.current[i]=e.target.value,(({name:e,value:t,location:i,occupation:r,isExploreCareers:n})=>{let o=(({name:e,value:t,location:i,occupation:r,isExploreCareers:n})=>"occupation"===e||"exploreCareersOccupation"===e?{screen:"enter",job_title:r||t,label:n?"explore_careers":"career_path2"}:{screen:"enter",job_title:r,location:i||t,label:n?"explore_careers":"career_path2"})({name:e,value:t,location:i,occupation:r,isExploreCareers:n});(0,a.xP)((e=>{switch(e){case"occupation":case"exploreCareersOccupation":return"select_career_job_title";default:return"select_location"}})(e),{...o})})({name:i,value:e.target.value,location:o,occupation:l,isExploreCareers:u})),t(i,e.target.value)},[S,t,m,o,l,u]),J=(0,n.useMemo)(()=>u?"exploreCareersOccupation":"occupation",[u]),R=(0,n.useMemo)(()=>u?x.exploreCareersOccupation:x.occupation,[x,u]),L=(0,n.useMemo)(()=>u?"exploreCareersLocation":"location",[u]),I=(0,n.useMemo)(()=>u?x.exploreCareersLocation:x.location,[x,u]);return(0,r.jsxs)(M,{children:[(0,r.jsxs)(D,{onSubmit:e=>{e.preventDefault();let{newErrors:t,isValid:r}=k();v(t),r&&i(e)},children:[(0,r.jsx)(F,{src:A,isExploreCareers:u}),(0,r.jsx)(B,{children:w}),(0,r.jsxs)($,{borderRadius:g?"12px 12px 0px 0px":"12px",children:[(0,r.jsx)(E,{onClear:T,icon:(0,r.jsx)(H,{}),placeholder:"Job Title",name:J,value:R,suggestionParam:"job-titles",storageKey:"JOB_TITLE_HISTORY",isJobExpanded:g,multiSection:!R.length,onExpand:e=>y(e),onInputChange:e=>P(e,J)}),(0,r.jsx)(O,{}),(0,r.jsx)(E,{onClear:T,icon:(0,r.jsx)(V,{}),placeholder:"Location",name:L,value:I,suggestionParam:"locations",storageKey:"JOB_LOCATION_HISTORY",isLocationExpanded:f,multiSection:!I.length,onInputChange:e=>P(e,L),onExpand:e=>b(e)}),!h&&(0,r.jsx)(z,{type:"submit",children:"Search"})]}),h&&(0,r.jsxs)(r.Fragment,{children:[j&&(0,r.jsx)(N,{commonError:_.commonError,locationError:_[L],occupationError:_[J]}),(0,r.jsx)(z,{type:"submit",children:"Search"})]})]}),!h&&j&&(0,r.jsx)(N,{commonError:_.commonError,locationError:_[L],occupationError:_[J]})]})};var G=i(23054),Z=i(80335);let X=(0,x.Ay)(Z.i)(["max-width:1120px;margin:0 auto;width:calc(100% - 40px);"]),Q=(0,x.Ay)(G.m)(["padding:0;display:flex;margin-top:80px;flex-flow:row wrap;justify-content:center;"," ",";"],g.A.Tablet`
6696    margin-top: 80px;
6697  `,g.A.Phone`
6698    margin-top: 64px;
6699    flex-grow: 1;
6700  `),Y=()=>
6700{let e=(0,o.wA)(),t=(0,l.N)(s.Tp.location),i=(0,l.N)(s.Tp.occupation),d=(0,l.N)(s.Tp.isExploreCareers),c=(0,l.N)(s.Tp.exploreCareersLocation),u=(0,l.N)(s.Tp.exploreCareersOccupation);(0,n.useEffect)(()=>{"/app/explore-careers"===window.location.pathname?(0,a.xP)("enter_career_path_welcome",{label:"explore_careers"}):(0,a.xP)("enter_career_path_welcome",s.JU)},[]);let p=(0,n.useCallback)((t,i)=>{if(i)if(d){if("exploreCareersOccupation"===t)return void e(s.o1.setExploreCareersOccupation(i));e(s.o1.setExploreCareersLocation(i))}else{if("occupation"===t){e(s.o1.setOccupation(i)),e(s.o1.setSkills([])),e(s.o1.fetchSuggestedSkills(i)),e(s.o1.setCareerPath1([])),e(s.o1.setLevel1JobTitles([])),e(s.o1.setLevel2JobTitles([])),e(s.o1.setLevel3JobTitles([]));return}e(s.o1.setLocation(i))}},[e,d]);return(0,r.jsx)(X,{timeout:0,children:(0,r.jsx)(Q,{children:(0,r.jsx)(q,{onClear:t=>{d?"exploreCareersOccupation"===t?e(s.o1.setExploreCareersOccupation("")):e(s.o1.setExploreCareersLocation("")):"occupation"===t?e(s.o1.setOccupation("")):e(s.o1.setLocation(""))},onChange:p,onSubmit:()=>{if(e(s.o1.setActiveTab(s.DF["0"])),d){let r=d?c:t,n=d?u:i;e(s.o1.fetchJobsRequest()),e(s.o1.fetchRecommendedJobCard({query:n,location:r})),e(s.o1.fetchSalaryDetails({title:n,location:r||null})),e(s.o1.setAddToPathJobTitle(n)),e(s.o1.fetchCareerPagesJobDetails(n)),e(s.o1.fetchCourses({title:n,limit:12})),e(s.o1.fetchJobDemand({job_title:n,location:r||""})),e(s.o1.setStep(s.iZ.ADD_TO_PATH));return}e(s.o1.fetchUserDocuments()),e(s.o1.setStep(s.iZ.SKILLS)),(0,a.xP)("click_continue_button_on_starting_role",s.JU)},isExploreCareers:d,location:d?c:t,occupation:d?u:i,fields:{occupation:i,exploreCareersOccupation:u,location:t,exploreCareersLocation:c}})})})}},25095:function(e,t,i){"use strict";i.d(t,{Q:function(){return P}});var r=i(74848),n=i(96540),o=i(81247),a=i(18509),l=i(95293),s=i(91779),d=i(16466);i(18111),i(61701);var c=i(12891),u=i(57238),p=i(69685),h=i(63967),x=i(38267),m=i(99701),g=i(49504),y=i(24833),f=i(89078);let b=x.Ay.div(["width:100%;gap:16px;display:flex;flex-wrap:wrap;",""],y.A.Phone`
6701    gap: 12px;
6702  `),_=x.Ay.div(["width:218px;padding:16px;gap:13.63px;border-radius:8px;display:flex;flex-direction:column;align-items:flex-start;border:1px solid ",";&:hover{cursor:pointer;border:1px solid ",";}",""],e=>e.isSelected?m.Jy.Blue50:m.Jy.Neutral15,m.Jy.Blue50,y.A.Phone`
6703    width: 100%;
6704    gap: 16px;
6705    padding: 12px;
6706    flex-direction: row;
6707  `),v=(0,x.Ay)(f.A)(["width:104px;height:146.37px;",""],y.A.Phone`
6708    width: 72px;
6709    height: 100.26px;
6710  `),j=x.Ay.div(["width:100%;display:flex;flex-direction:column;",""],y.A.Phone`
6711    align-self: center;
6712  `),A=x.Ay.div([""]),C=(0,x.Ay)(A)([""]),w=x.Ay.div(["",";color:",";"],g.o5.Caption,m.Jy.Neutral50),k=e=>{let t=(0,o.wA)(),i=(0,a.N)(l.Tp.resumeID),s=(0,a.N)(u.Tp.userData),d=(0,a.N)(l.Tp.userDocuments);(0,n.useEffect)(()=>{t(l.o1.fetchUserDocuments())},[]);let x=(0,n.useCallback)(e=>{if(e){let t=(0,p._U)(e),i=(0,c.A)(t)?"d MMMM, HH:mm":"d MMMM yyyy, HH:mm";return(0,p.Yq)(t,i)}},[]),m=(0,n.useCallback)(e=>{t(l.o1.setResumeID(e))},[t]);return e?.miniature?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{src:(0,h.I)(e.miniature)}),(0,r.jsxs)(j,{children:[(0,r.jsxs)(A,{children:[s?.fullName,","]}),(0,r.jsx)(C,{children:e.miniature.name}),(0,r.jsxs)(w,{children:["Updated ",x(e.miniature.updatedAt)]})]})]}):(0,r.jsx)(b,{children:d?.map(t=>(0,r.jsxs)(_,{isSelected:i===t.id,onClick:()=>e.onSelect?e.onSelect(t):m(t.id),children:[(0,r.jsx)(v,{src:(0,h.I)(t)}),(0,r.jsxs)(j,{children:[(0,r.jsxs)(A,{children:[s?.fullName,","]}),(0,r.jsx)(C,{children:t.name}),(0,r.jsxs)(w,{children:["Updated ",x(t.updatedAt)]})]})]},t.id))})};var S=i(80740),T=({onClose:e})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(S.wt,{children:"Choose a resume to auto-fill skills"}),(0,r.jsx)(S.bm,{onClick:e,children:(0,r.jsx)(S.US,{})})]});let P=e=>{let t=(0,o.wA)(),i=(0,a.N)(l.Tp.resumeID),c=(0,n.useCallback)(()=>{t(l.o1.setResumeID(null)),t(l.o1.setOpenPreFillModal(!1))},[t]),u=(0,n.useCallback)(()=>{t(l.o1.fetchResumeSkills(i))},[t,i]);return(0,r.jsx)(d.A,{onClose:e.handleCloseModal?e.handleCloseModal:c,overlayFadeDuration:150,contentSlideDuration:0,
6712children:(0,r.jsxs)(S.Bs,{children:[e.header?e.header:(0,r.jsx)(T,{onClose:c}),e.onSelect?(0,r.jsx)(k,{onSelect:e.onSelect}):(0,r.jsx)(k,{}),e.footer?e.footer:(0,r.jsxs)(S.Ef,{children:[(0,r.jsx)(s.Ay,{theme:s.Ox.ghost,onClick:c,children:"Cancel"}),(0,r.jsx)(s.Ay,{type:"submit",onClick:u,children:"Pre-fill"})]})]})})}},80740:function(e,t,i){"use strict";i.d(t,{Bs:function(){return d},Ef:function(){return h},US:function(){return p},bm:function(){return u},wt:function(){return c}});var r=i(38267),n=i(99701),o=i(49504),a=i(14649),l=i(67592),s=i(24833);let d=r.Ay.div(["",";width:516px;padding:32px;border-radius:12px;background:",";gap:24px;display:flex;flex-direction:column;position:relative;",""],l.A.dark.high,n.Jy.White,s.A.Phone`
6713    padding: 20px;
6714  `),c=r.Ay.div(["",";",";",""],o.o5.Subhead,o.BO.DemiBold,s.A.Phone`
6715    max-width: calc(100% - 131px);
6716    ${o.o5.S};
6717  `),u=r.Ay.div(["width:28px;height:28px;cursor:pointer;border-radius:32px;display:flex;align-items:center;justify-content:center;background:",";position:absolute;top:24px;right:24px;",""],n.Jy.Neutral10,s.A.Phone`
6718    top: 20px;
6719    right: 20px; 
6720  `),p=(0,r.Ay)(a.Ay.Close)(["color:",";&:hover{color:",";}"],n.Jy.Neutral70,n.Jy.Blue50),h=r.Ay.div(["text-align:right;gap:8px;display:flex;align-items:center;justify-content:end;"])},77868:function(e,t,i){"use strict";i.d(t,{Q$:function(){return a.Q},gh:function(){return en.bm},YG:function(){return er},Z:function(){return en.US}});var r=i(74848),n=i(18509),o=i(95293),a=i(25095),l=i(81247),s=i(96540),d=i(33093),c=i(38267),u=i(99701),p=i(49504),h=i(24833),x=i(91779);let m=c.Ay.div(["width:100%;"]),g=c.Ay.div(["",";",";width:100%;text-align:center;margin-bottom:12px;"],p.o5.M,p.BO.DemiBold),y=c.Ay.div(["width:100%;text-align:center;margin-bottom:24px;color:",";"],u.Jy.Neutral50),f=c.Ay.form(["",""],h.A.Phone`
6721    display: flex;
6722    flex-direction: column;
6723    flex-grow: 1;
6724  `),b=c.Ay.div(["margin:4px 0 12px;"]),_=c.Ay.div(["margin-bottom:24px;&:last-child{margin-bottom:0;}"]),v=c.Ay.div(["gap:8px;display:flex;text-align:right;"]);(0,c.Ay)(x.Ay)(["flex:auto;"]);let j=c.Ay.div(["width:100%;margin-top:32px;display:flex;align-items:center;justify-content:space-between;",""],h.A.Phone`
6725    margin-top: 24px;
6726  `),A=c.Ay.div(["",";color:",";"],p.o5.Caption,u.Jy.Neutral50),C=c.Ay.div(["",";cursor:pointer;pointer-events:",";color:",";"],p.o5.Caption,e=>e.documents?"auto":"none",e=>e.documents?u.Jy.Blue50:u.Jy.Neutral30),w=c.Ay.div(["display:flex;justify-content:space-between;"]);var k=({title:e,subtitle:t})=>(0,r.jsxs)(s.Fragment,{children:[(0,r.jsx)(g,{children:e}),(0,r.jsx)(y,{children:t})]});i(18111),i(61701);var S=i(14649);let T=c.Ay.div(["width:237px;gap:24px;display:flex;align-items:center;justify-content:flex-start;",";"],h.A.Phone`
6727    width: 100%;
6728  `),P=c.Ay.div(["gap:8px;display:flex;align-items:center;justify-content:space-between;"]);u.Jy.Blue50;let J=(0,c.Ay)(P)([""]),E=c.Ay.div(["width:",";height:6px;border-radius:50%;border-radius:",";background-color:",";"],e=>e.highlight?"16px":"6px",e=>e.highlight?"8px":null,e=>e.highlight?u.Jy.Blue50:u.Jy.Neutral20),R=(0,c.Ay)(S.EK.ChevronDown)(["color:",";transform:rotate(-90deg);"],u.Jy.Green80);(0,c.Ay)(R)(["transform:rotate(90deg);"]);let L=["QUESTIONNAIRE","SKILLS","JOB_LEVEL"];var N=({currentSlide:e="QUESTIONNAIRE"})=>(0,r.jsx)(T,{children:(0,r.jsx)(J,{children:L.map(t=>(0,r.jsx)(E,{highlight:e===t},t))})}),I=()=>{let e=(0,l.wA)(),t=(0,s.useCallback)(()=>{e(o.o1.setValidationError(!1)),e(o.o1.setStep(o.iZ.QUESTIONNAIRE))},[e]);return(0,r.jsxs)(j,{children:[(0,r.jsx)(N,{currentSlide:"SKILLS"}),(0,r.jsxs)(v,{children:[(0,r.jsx)(x.Ay,{theme:"ghost",onClick:t,children:"Back"}),(0,r.jsx)(x.Ay,{type:"submit",children:"Build Career Path"})]})]})},M=i(87947),B=i(2543),D=i(11214),$=i(49012),O=i(8539),z=i(67592);let F=c.Ay.div(["color:",";"],u.Jy.Neutral40),H=(0,c.Ay)(O.A)([".select__control{border:none;outline:none;width:100%;min-height:48px;cursor:text;border-radius:4px;box-shadow:none;background-color:",";}.select__placeholder{color:",";}.select__menu{margin:0;width:100%;box-shadow:none;border-top-left-radius:0;border-top-right-radius:0;background-color:",";border-top:2px solid ",";}.select__option{background-color:transparent;&:hover{cursor:pointer;color:",";background-color:",";}}.select__indicators{display:none;}.select__multi-value{",";height:32px;display:flex;border-radius:4px;padding:8px 4px 6px 4px;align-items:center;background-color:",";}.select__multi-value__label{color:",";}.select__multi-value__remove{padding:0;color:",";&:hover{cursor:pointer;color:",";background-color:transparent;}}"],u.Jy.Neutral10,u.Jy.Neutral50,u.Jy.Neutral10,u.Jy.Blue50,u.Jy.Blue50,u.Jy.Blue20,z.A.light.low,u.Jy.White,u.Jy.Neutral90,u.Jy.Neutral40,u.Jy.Blue50),V=c.Ay.div(["",";margin-top:4px;color:",";"],p.Ay.Caption,u.Jy.Red50),U=c.Ay.div(["position:relative;bottom:0;left:0;right:0;height:2px;background-color:",";border-radius:0 0 2px 2px;pointer-events:none;",";"],({hasError:e,hasWarning:t})=>e?u.Jy.Red50:t?u.Jy.Amber40:u.Jy.Blue50,e=>({entering:"opacity: 1; transform: scaleX(1); transition: transform 0.1s ease;",entered:"opacity: 1; transform: scaleX(1)",exiting:"opacity: 0; transform: scaleX(1); transition: opacity 0.1s ease;",exited:"opacity: 0; transform: scaleX(0.5)",unmounted:null})[e.in]);var W=()=>{let e=(0,l.wA)(),t=(0,n.N)(o.Tp.skills),i=(0,n.N)(o.Tp.validationError),a=(0,n.N)(o.Tp.suggestedSkills),c=(0,n.N)(o.Tp.suggestedSkillsCopy),u=(0,s.useRef)(null),[p,h]=(0,s.use
6728State)(!0),x=(0,s.useCallback)(t=>{let i=(0,B.differenceWith)(a,t,B.isEqual);e(o.o1.setSuggestedSkills(i))},[e,a]),m=(0,s.useCallback)(t=>{let i=(0,B.intersectionWith)(c,t,B.isEqual);i.length&&e(o.o1.setSuggestedSkills([...a,...i]))},[e,a,c]),g=(0,s.useCallback)(e=>{(0,d.xP)("select_skill",{...o.JU,skill:e})},[]),y=(0,s.useCallback)(e=>{(0,d.xP)("delete_skill",{...o.JU,skill:e})},[]),f=(0,s.useCallback)((i,r)=>{e(o.o1.setValidationError(!1)),x(i);let n=(0,B.difference)(t,i);n.length&&m(n),e(o.o1.setSkills(i)),"select-option"===r.action&&r.option?g(r.option.label):("remove-value"===r.action||"deselect-option"===r.action)&&r.removedValue&&y(r.removedValue.label)},[t,e,g,y,x,m]),b=(0,s.useCallback)(async e=>{(0,d.xP)("type_skill",{...o.JU,skill:e});let{data:t}=await $.R3.get("/career-data/v1/skills",{params:{startswith:e,limit:5}});return t.map(e=>({value:e.toLowerCase(),label:e}))},[]),_=(0,s.useCallback)(()=>{h(!0)},[h]),v=(0,s.useCallback)(()=>{h(!1)},[h]);return(0,r.jsxs)(s.Fragment,{children:[(0,r.jsx)(H,{onFocus:_,onBlur:v,components:{MultiValueRemove:e=>(0,r.jsx)("div",{children:(0,r.jsx)(D.c.MultiValueRemove,{...e,children:(0,r.jsx)(S.EK.Close,{})})})},isMulti:!0,autoFocus:!0,noOptionsMessage:()=>(0,r.jsx)(F,{children:"No options"}),isSearchable:!0,name:"skills",value:t,styles:{container:e=>({...e})},classNamePrefix:"select",openMenuOnClick:!1,loadOptions:b,placeholder:"Add your skills",onChange:(e,t)=>
6728Array.isArray(e)&&f(e,t)}),(0,r.jsx)(M.Ay,{in:p,timeout:100,nodeRef:u,children:e=>(0,r.jsx)(U,{in:e,hasError:i,ref:u})}),i&&(0,r.jsx)(V,{children:"For a more accurate skill gap calculation, enter at least 5 skills"})]})},K=()=>{let e=(0,l.wA)(),t=(0,n.N)(o.Tp.userDocuments),i=(0,s.useCallback)(()=>{e(o.o1.fetchUserDocuments()),e(o.o1.setOpenPreFillModal(!0)),(0,d.xP)("click_prefill_from_resumes_button",o.JU)},[e]);return(0,r.jsxs)(s.Fragment,{children:[(0,r.jsxs)(w,{children:[(0,r.jsx)(A,{children:"Skills (minimum 5)"}),(0,r.jsx)(C,{onClick:i,documents:t.length,children:"Pre-fill from resume"})]}),(0,r.jsx)(b,{children:(0,r.jsx)(_,{children:(0,r.jsx)(W,{})})})]})};i(22489);let q=c.Ay.div(["",";height:24px;cursor:pointer;padding:4px 6px;border-radius:2px;display:flex;align-items:center;justify-content:center;color:",";background:",";&:hover,&:focus-visible{color:",";}"],p.o5.Tiny,u.Jy.Neutral50,u.Jy.Neutral10,u.Jy.Blue60),G=c.Ay.div(["gap:5px;width:100%;display:flex;flex-wrap:wrap;"]),Z=c.Ay.div(["",";height:20px;left:176px;top:366px;white-space:nowrap;color:",";"],p.o5.Caption,u.Jy.Neutral80),X=()=>{let e=(0,l.wA)(),t=(0,n.N)(o.Tp.skills),i=(0,n.N)(o.Tp.suggestedSkills),a=(0,s.useCallback)(r=>{(0,d.xP)("click_skills_tag",{...o.JU,skill:r.label}),e(o.o1.setValidationError(!1));let n=i.filter(e=>e.value!==r.value);e(o.o1.setSuggestedSkills(n)),e(o.o1.setSkills([...t,r]))},[e,t,i]);return(0,r.jsxs)(G,{children:[(0,r.jsx)(Z,{children:"Suggested skills:"}),i.map(e=>(0,r.jsx)(q,{onClick:()=>a(e),children:e.label},e.value))]})},Q=()=>{let e=(0,l.wA)(),t=(0,n.N)(o.Tp.skills),i=(0,n.N)(o.Tp.occupation),a=(0,n.N)(o.Tp.suggestedSkills),c=(0,n.N)(o.Tp.level1JobTitles),u=(0,s.useCallback)(r=>{r.preventDefault(),t.length>=5?(c.length||e(o.o1.fetchJobTitles({query:i})),e(o.o1.setStep(o.iZ.JOB_PROGRESSION)),(0,d.xP)("confirm_career_path_welcome",o.JU)):e(o.o1.setValidationError(!0))},[e,t.length,i,c]);return(0,r.jsx)(m,{children:(0,r.jsxs)(f,{onSubmit:u,children:[(0,r.jsx)(k,{title:"Add your skill set",subtitle:"This will help us calculate your skill gap"}),(0,r.jsx)(K,{}),a.length>0&&(0,r.jsx)(X,{}),(0,r.jsx)(I,{})]})})};var Y=i(23054),ee=i(80335);let et=(0,c.Ay)(ee.i)(["margin:0 auto;max-width:416px;width:calc(100% - 40px);"]),ei=(0,c.Ay)(Y.m)(["padding:0;display:flex;margin-top:64px;flex-flow:row wrap;justify-content:center;"," ",""],h.A.Tablet`
6729    margin-top: 80px;
6730  `,h.A.Phone`
6731    margin-top: 64px;
6732  `),er=()=>{let e=(0,n.N)(o.Tp.openPrefillModal);return(0,r.jsxs)(r.Fragment,{children:[e&&(0,r.jsx)(a.Q,{}),(0,r.jsx)(et,{timeout:0,children:(0,r.jsx)(ei,{children:(0,r.jsx)(Q,{})})})]})};var en=i(80740)},9440:function(e,t,i){"use strict";i.d(t,{A:function(){return s}});var r=i(74848),n=i(40271),o=i(38267),a=i(24833);let l=o.Ay.div(["width:100%;height:180px;display:grid;place-items:center;",""],a.A.Tablet`
6733    height: 240px;
6734  `);var s=()=>(0,r.jsx)(l,{"data-testid":"courses-loader",children:(0,r.jsx)(n.Ay,{})})},94645:function(e,t,i){"use strict";i.d(t,{A:function(){return C}}),i(18111),i(61701);
6734var r=i(74848),n=i(96540),o=i(35189),a=i(93971),l=i(14649),s=i(57805),d=i(38267),c=i(99701),u=i(64608),p=i(24833),h=i(67592);let x=d.Ay.div(["position:relative;width:100%;max-width:1120px;"]),m=d.Ay.div(["position:relative;overflow:hidden;"]),g=d.Ay.div(["width:100%;max-width:1120px;animation:"," 0.3s ease;animation-fill-mode:forwards;position:relative;overflow:hidden;.swiper{position:relative;overflow:visible;}.swiper-wrapper{display:flex;position:relative;transition-property:transform;padding-bottom:10px;}.swiper-slide-active,.swiper-slide-next,.swiper-slide-prev{opacity:1;}"],u.qG),y=d.Ay.button(["display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;width:","px;height:","px;border:none;border-radius:50%;background-color:",";transition:background-color 0.2s ease;",";&:hover{background-color:",";",";}"," position:absolute;z-index:2;top:calc(42%);",""],e=>e.size||48,e=>e.size||48,c.Jy.Neutral5,h.A.lightWithBorder.low,c.Jy.White,h.A.lightWithBorder.mid,e=>"left"===e.direction&&(0,d.AH)(["transform:rotate(180deg);"]),p.A.Phone`
6735      display: none;
6736    `),f=(0,d.Ay)(y).attrs({direction:"right"})(["right:-22px;"]),b=(0,d.Ay)(y).attrs({direction:"left"})(["left:-22px;"]),_=d.Ay.div(["width:100%;",""],p.A.Tablet`
6737    display: none;
6738  `),v=()=>{document.querySelector(".job-prev-button").style.display="none"},j=()=>{document.querySelector(".job-prev-button").style.display="none"},A=()=>{document.querySelector(".job-next-button").style.display="none"};var C=(0,n.memo)(({cards:e,isSliderActive:t,handleClick:i,appendSlides:n,fromDashboard:d=!1})=>(0,r.jsx)(x,{"data-testid":"job-swiper",children:e.length&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(_,{children:[(0,r.jsx)(b,{"data-testid":"leftButton",className:"job-prev-button",children:(0,r.jsx)(l.Ay.Chevron,{})}),(0,r.jsx)(f,{"data-testid":"rightButton",className:"job-next-button",children:(0,r.jsx)(l.Ay.Chevron,{})})]}),(0,r.jsx)(m,{children:(0,r.jsx)(g,{children:(0,r.jsxs)(a.RC,{modules:[o.Vx,o.FJ],grabCursor:!0,mousewheel:!0,slidesPerView:"auto",initialSlide:0,spaceBetween:16,navigation:{prevEl:".job-prev-button",nextEl:".job-next-button"},onInit:v,onReachEnd:()=>A,onReachBeginning:j,onSlideChange:e=>{let t;return t=document.querySelector(".job-prev-button"),void(document.querySelector(".job-next-button").style.display=e.isEnd?"none":"block",t.style.display=e.isBeginning?"none":"block")},children:[n?.(),e?.map((e,n)=>(0,r.jsx)(a.qr,{style:{width:"100%"},children:(0,r.jsx)(s.A,{fromDashboard:d,card:e,handleClick:()=>i(e),isSliderActive:t},n)},`template-${n}`))]})})})]})}))},57805:function(e,t,i){"use strict";i.d(t,{A:function(){return R}});var r=i(74848),n=i(58657),o=i(23104),a=i(38267),l=i(99701),s=i(49504),d=i(24833);let c=a.Ay.div(["padding-bottom:6px;flex:1 1 auto;"]),u=a.Ay.div(["",";color:",";margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"],s.Ay.Caption,l.Jy.Neutral50),p=a.Ay.div(["",";height:45px;color:",";font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;",""],s.Ay.Body,l.Jy.Neutral90,d.A.Phone`
6739    height: 42px;
6740  `);var h=({company:e,title:t})=>(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{children:e}),(0,r.jsx)(p,{children:t})]}),x=i.p+"media/LocationIconc42bb1710cc8dc95.svg";i.p,i.p;let m=a.Ay.div(["padding-top:8px;display:flex;gap:8px;margin-top:auto;"]),g=a.Ay.img([""]),y=a.Ay.div(["",";color:",";display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;"],s.Ay.Caption,l.Jy.Neutral50),f=({icon:e,value:t})=>(0,r.jsxs)(m,{children:[(0,r.jsx)(g,{src:e}),(0,r.jsx)(y,{children:t})]}),b=({value:e})=>(0,r.jsx)(f,{icon:x,value:e??""});var _=i(67592);let v=a.Ay.div(["background-color:",";cursor:pointer;transition:all 0.1s ease;border-radius:16px;border:1px solid #e7eaf4;padding:32px;display:flex;flex-direction:column;justify-content:space-between;min-height:357px;width:268px;height:",";&:hover{",";}"," "," ",""],l.Jy.White,({isSliderActive:e})=>e&&"100%",_.A.lightWithBorder.mid,d.A.Tablet`
6741    min-height: 288px;
6742    max-width: 218px;
6743    padding: 24px;
6744    height: unset;
6745  `,d.A.Phone`
6746    padding: 20px;
6747  `,({isSliderActive:e})=>d.A.Phone`
6748    width: ${()=>!e&&"100%"};
6749    flex-shrink: ${()=>!e&&0};
6750    `),j=a.Ay.div([""]);var A=i(14649);let C=a.Ay.div(["display:flex;justify-content:space-between;",""],d.A.Tablet`
6751    gap: 0 12px;
6752    grid-template-columns: 48px calc(100% - 48px - 32px - 24px) 32px;
6753  `),w=a.Ay.div(["display:flex;align-items:center;"]),k=a.Ay.div(["border:1px solid rgba(0,0,0,0.1);border-radius:8px;width:48px;height:48px;background-image:url(",");background-position:center center;background-size:contain;"],e=>`"${e.src}"`),S=a.Ay.div(["display:flex;"]),T=a.Ay.div(["width:32px;height:32px;padding:4px;display:flex;justify-content:center;align-items:center;cursor:pointer;position:relative;transition:all 0.1s ease;:hover{background:",";}"],l.Jy.Neutral10),P=(0,a.Ay)(A.Ay.Heart)(["color:",";"],l.Jy.Neutral90),J=(0,a.Ay)(A.Ay.Heart)(["color:",";"],l.Jy.Red50);var E=({logo:e,handleAddCard:t,isPresent:i})=>(0,r.jsxs)(C,{children:[(0,r.jsx)(w,{children:(0,r.jsx)(k,{src:e})}),(0,r.jsx)(S,{children:(0,r.jsx)(T,{onClick:t,children:i?(0,r.jsx)(J,{}):(0,r.jsx)(P,{})})})]}),R=({card:e,isSliderActive:t,handleClick:i,fromDashboard:a=!1})=>{let{isPresent:l,handleAddJobBoard:s}=(0,o.$)(e,a);return(0,r.jsxs)(v,{onClick:()=>i(e.job_title),isSliderActive:t,children:[(0,r.jsx)(E,{logo:e.company_logo||(0,n.x)(),handleAddCard:e=>{e.preventDefault(),e.stopPropagation(),s()},isPresent:l}),(0,r.jsxs)(j,{children:[(0,r.jsx)(h,{company:e.company,title:e.job_title}),(0,r.jsx)(b,{value:e.location})]})]})}},23104:function(e,t,i){"use strict";i.d(t,{$:function(){return c}}),i(18111),i(20116);var r=i(81247),n=i(33093),o=i(96540),a=i(18509),l=i(19611),s=i(95293),d=i(20023);let c=(e,t=!1)=>{let i=(0,r.wA)(),[c,u]=(0,o.useState)(null),p=(0,a.N)(d.Tp.savedJobs),h=(0,a.N)(s.Tp.isExploreCareers);return(0,o.useEffect)(()=>{let t=p.find(t=>t.externalSlugId===e.external_slug_id)||null;u(t?.id||null)},[p,e.external_slug_id]),{isPresent:!!c,handleAddJobBoard:()=>{c?i(d.o1.deleteJobRequest({id:c})):((0,n.xP)("add_to_job_tracker",{title:e.job_title,label:t?"icon_dashboard":h?"explore_careers":"career_path2"}),i(d.o1.createJobRequest({status:s.Sy.wishlist,title:e.job_title,company:e.company,link:e.url,description:(0,l.Q)(e.description),external_slug_id:e.external_slug_id,location:e.location,logo:e.company_logo,auto_apply_compatible:e.auto_apply_compatible})))}}}},21152:function(e,t,i){"use strict";i.d(t,{DZ:function(){return u},N_:function(){return h},SS:function(){return p},UC:function(){return d},Y9:function(){return c},mc:function(){return s},rb:function(){return x}});var r=i(38267),n=i(99701),o=i(49504),a=i(14649),l=i(24833);let s=r.Ay.div(["margin-bottom:-10px;",""],l.A.Tablet`
6754    padding-inline: 8px;
6755  `),d=r.Ay.div(["margin-top:26px;
6755display:flex;gap:24px;",""],l.A.Phone`
6756    flex-direction:column;
6757    gap:16px;
6758    margin-top:20px;
6759
6760    &[data-iserror="true"] {
6761      flex-direction: row;
6762      overflow: hidden;
6763    }
6764  `),c=r.Ay.div(["display:flex;justify-content:space-between;a{color:",";}"],n.Jy.Blue50),u=r.Ay.p(["",";",";align-items:center;",";"],o.Ay.M,o.BO.Medium,l.A.Phone`
6765    font-size: 19px;
6766    line-height: 22px;
6767  `),p=r.Ay.div(["display:flex;align-items:center;cursor:pointer;"]),h=r.Ay.div(["color:",";margin-right:-5px;transition:all ease-in 0.3s;&:hover{",";}"],n.Jy.Blue50,n.Jy.Blue60),x=(0,r.Ay)(a.qJ.Chevron)(["color:",";"],n.Jy.Blue50)},7908:function(e,t,i){"use strict";i.d(t,{EY:function(){return p},Kg:function(){return c},Q7:function(){return x},aK:function(){return u},wQ:function(){return h}});var r=i(38267),n=i(99701),o=i(87253),a=i(24833),l=i(14649),s=i(49504),d=i(26426);let c=(0,r.Ay)(d.R)(["display:flex;padding:4px;gap:12px;align-items:center;will-change:color;transition:color 0.1s ease-out;",""],a.A.Hover`
6768    &:hover {
6769      color: ${n.Jy.Blue60};
6770    }
6771  `),u=(0,r.Ay)(o.aK)(["width:32px;height:32px;"]),p=r.Ay.div(["flex:auto;"]),h=(0,r.Ay)(l.Ay.Completeness50Percent)(["color:",";"],n.Jy.Neutral30),x=r.Ay.div(["",";",";padding:2px 6px;border-radius:100px;color:",";background-color:","1A;"],s.Ay.Tiny,s.BO.DemiBold,n.Jy.Blue50,n.Jy.Blue50)},26426:function(e,t,i){"use strict";i.d(t,{R:function(){return u}});var r=i(74848),n=i(84976),o=i(81247),a=i(33093),l=i(34346),s=i(18509),d=i(41193);let c=i(38267).Ay.a(["cursor:pointer;"]),u=({type:e,children:t,className:i,eventCode:u})=>{let p=(0,d.J)(),h=(0,o.wA)(),x=(0,s.N)(l.Tp.careerInsightsData),m=x?.status===l.vq.success,g="insights"===e||p?.hasPremiumFeatures,y=e;return"cover-letter"===e&&(y="cover_letter_sample"),m&&g?(0,r.jsx)(n.N_,{to:`/career-profile/${e}`,className:i,onClick:()=>{u&&(0,a.xP)(u,{tool:y})},children:t}):(0,r.jsx)(c,{className:i,onClick:()=>(u&&(0,a.xP)(u,{tool:y}),m)?g?void 0:h(l.o1.setOpenedPaywallModalType(e)):h(l.o1.setCareerInsightsStatusModalType(e)),children:t})}},85266:function(e,t,i){"use strict";i.d(t,{eR:function(){return ei},s3:function(){return h},PN:function(){return B},z5:function(){return Q},x7:function(){return et},us:function(){return G},pG:function(){return el},IP:function(){return ea},YJ:function(){return eo},ZF:function(){return ee},qj:function(){return er},tU:function(){return Y}});var r,n,o=i(74848),a=i(34346),l=i(77378),s=i(11788),d=i(18509),c=i(25755),u=i(7908);let p="builder.career_profile.navigation_links",h=({type:e,canHavePendingBadge:t=!0,canHaveNewBadge:i=!0})=>{let{i18n:r}=(0,l.s)(),n=(0,s.B_)(),h=(0,d.N)(t=>a.Tp.isPageMarkedAsNew(t,e)),x=t&&n===a.vq.pending,m=x?(0,o.jsx)(u.wQ,{}):null,g=i&&h?(0,o.jsx)(u.Q7,{children:"New"}):null,y=null;return("insights"===e&&(y=(0,o.jsxs)(u.Kg,{type:e,eventCode:"click_profile_service",children:[(0,o.jsx)(u.aK,{name:"SalaryAnalyzerV2"}),(0,o.jsx)(u.EY,{children:r.t(`${p}.career_insights`)}),m||g]})),"pitch"===e&&(y=(0,o.jsxs)(u.Kg,{type:e,eventCode:"click_profile_service",children:[(0,o.jsx)(u.aK,{name:"Pitch"}),(0,o.jsx)(u.EY,{children:r.t(`${p}.professional_pitch`)}),m||g]})),"cover-letter"===e&&(y=(0,o.jsxs)(u.Kg,{type:e,eventCode:"click_profile_service",children:[(0,o.jsx)(u.aK,{name:"ResumeAndCoverLetters"}),(0,o.jsx)(u.EY,{children:r.t(`${p}.cover_letter`)}),m||g]})),y)?x?(0,o.jsx)(c.Ay,{value:r.t("builder.career_profile.loader.description_raw"),width:280,textAlign:"center",multiline:!0,children:y}):y:null};i(26426),i(18111),i(61701);var x=i(81247),m=i(85783);function g(e,t,i,r){let n=(r-90)*Math.PI/180;return{x:e+i*Math.cos(n),y:t+i*Math.sin(n)}}var y=i(38267),f=i(99701),b=i(49504);let _=y.Ay.div(["position:relative;stroke:",";color:",";background-color:",";border-radius:50%;",""],f.Jy.Orange40,f.Jy.Orange50,f.Jy.Orange10,e=>e.$isGood&&(0,y.AH)(["stroke:",";color:",";background-color:",";"],f.Jy.Green40,f.Jy.Green50,f.Jy.Green10)),v=y.Ay.svg(["position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;"]),j=y.Ay.div(["position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;display:flex;align-items:flex-start;gap:",";padding-left:10%;"],f.Kz["4XS"]),A=y.Ay.span(["",";",";"],b.Ay.S,b.BO.Medium),C=y.Ay.span(["",";",";"],b.Ay.Body,b.BO.DemiBold),w=({size:e,percent:t,strokeWidth:i=3})=>{var r,n,a;let l,s,d,c=e+i,u=e/2,p=(l=g(r=u+i/2,n=u+i/2,u,a=359.99*t/100),s=g(r,n,u,0),d=a-0<=180?"0":"1",["M",l.x,l.y,"A",u,u,0,d,0,s.x,s.y].join(" "));return(0,o.jsxs)(_,{$isGood:t>=90,style:{width:`${e}px`,height:`${e}px`,flex:`0 0 ${e}px`},children:[t<100&&(0,o.jsx)(v,{width:c,height:c,viewBox:`0 0 ${c} ${c}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:p,strokeLinecap:"round",strokeWidth:i,fill:"none"})}),(0,o.jsxs)(j,{children:[(0,o.jsx)(A,{children:t}),(0,o.jsx)(C,{children:"%"})]})]})};var k=i(14649),S=i(24833);let T=y.Ay.div(["display:flex;flex-flow:column;background-color:",";gap:",";padding:",";border-radius:",";",";position:relative;",""],f.Jy.Neutral5,f.Kz.XS,f.Kz.S,f.Kz.XS,b.Ay.Caption,e=>"m"===e.$size&&(0,y.AH)(["padding:"," ",";border-radius:",";"],f.Kz.L,f.Kz.M,f.Kz.S)),P=y.Ay.div(["display:flex;flex-flow:column;gap:",";align-items:center;"],f.Kz.S),J=y.Ay.div(["",""],e=>"m"===e.$size&&(0,y.AH)(["",";text-align:center;"],b.Ay.Body)),E=y.Ay.div(["display:flex;flex-flow:column;gap:",";"],f.Kz["2XS"]),R=y.Ay.div(["display:flex;gap:",";align-items:center;"],f.Kz["2XS"]),L=y.Ay.div(["color:",";"],f.Jy.Neutral50),N=y.Ay.div(["height:1px;background-color:",";"],f.Jy.Neutral15),I=(0,y.Ay)(k.Ay.Close)(["position:absolute;top:",";right:",";cursor:pointer;color:",";transition:color 0.2s ease-out;",""],f.Kz.S,f.Kz.S,f.Jy.Neutral40,S.A.Hover`
6772    &:hover {
6773      color: ${f.Jy.Neutral50};
6774    }
6775  `),M="builder.career_profile.completeness",B=({className:e,size:t="s"})=>{let{i18n:i}=(0,l.s)(),r=(0,x.wA)(),n=(0,d.N)(a.Tp.completenessPercent),s=(0,d.N)(a.Tp.completenessPendingItems),c=(0,d.N)(a.Tp.isCompletenessResultClosed);return"s"===t&&s?.length||"m"===t&&!c?(0,o.jsxs)(T,{className:e,$size:t,children:[(0,o.jsxs)(P,{children:[null!==n&&(0,o.jsx)(w,{size:80,percent:n}),(0,o.jsx)(J,{$size:t,children:100!==n?i.t(`${M}.text`):i.t(`${M}.text_completed`)}),100===n&&"m"===t&&(0,o.jsx)(I,{onClick:()=>r(a.o1.setIsCompletenessResultClosed(!0))})]}),s?.length?(0,o.jsxs)(o.Fragment,{children:["m"===t&&(0,o.jsx)(N,{}),(0,o.jsx)(E,{children:s.map(e=>(0,o.jsxs)(R,{children:[(0,o.jsxs)(m.E,{variant:"green",size:"medium",children:["+",e.value,"%"]}),(0,o.jsx)(L,{children:i.t(`${M}.pending_items.${e.key}`)})]},e.key))})]}):null]}):null};var D=i(40271);f.Jy.Neutral5,f.Kz.XS,f.Kz.S,f.Kz.XS,f.Kz["3XS"],b.BO.DemiBold;var $=i(16466),O=i(56298);let z=y.Ay.div(["position:relative;width:100%;max-width:544px;background-color:",";border-radius:",";"],f.Jy.White,f.Kz.S),F=y.Ay.div(["width:inherit;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;overflow:hidden;"]),H=y.Ay.div(["display:flex;flex-flow:column;padding:",";gap:",";"],f.Kz.L,f.Kz.M),V=y.Ay.div(["display:flex;flex-flow:column;gap:",";"],f.Kz["2XS"]),U=y.Ay.div(["display:flex;gap:",";align-items:start;",";",";"],f.Kz.XS,b.Ay.S,b.BO.DemiBold),W=y.Ay.div(["color:",";"],f.Jy.Neutral50),K=y.Ay.div(["display:flex;justify-content:end;gap:",";"],f.Kz["2XS"]),q=(0,y.Ay)(O.O)(["position:absolute;top:",";right:",";z-index:1;"],f.Kz.S,f.Kz.S),G=({onClose:e,header:t,title:i,description:r,buttons:n,customContent:a,closeOnOverlayClick:l=!0})=>(0,o.jsx)($.A,{onClick:l&&e,overlayFadeDuration:150,contentSlideDuration:0,
6775children:(0,o.jsxs)(z,{children:[e&&(0,o.jsx)(q,{onClick:e,version:"2"}),t&&(0,o.jsx)(F,{children:t}),(0,o.jsxs)(H,{children:[(0,o.jsxs)(V,{children:[i&&(0,o.jsx)(U,{children:i}),r&&(0,o.jsx)(W,{children:r}),a]}),n&&(0,o.jsx)(K,{children:n})]})]})});i(96540),i(33093),i(63695),i(86066);var Z=i(40968);i(91779),i(36188);var X=i(82721);i(82751);var Q=i.p+"media/career-insights-failed6784be04fd31a7cb.png",Y=i.p+"media/career-insights-required3e2208b7df864736.png",ee=i.p+"media/career-insights-pendingcebf3b737d90c6ee.png",et=i.p+"media/career-insights-readyd6978da7d8f0fca3.png",ei=i.p+"media/cover-letter-preview64afd0f1bfbf2de7.png",er=i.p+"media/professional-pitch-preview89e517a2ac921f23.png";i.p,(0,y.Ay)(X.mc)(["width:auto;padding:"," "," "," ",";background-color:",";",""],f.Kz.S,f.Kz.M,f.Kz.S,f.Kz.S,e=>e.isHovering?f.Jy.Indigo20:f.Jy.Indigo10,S.A.Phone`
6776    margin-bottom: 24px
6777  `),f.Kz.XS,b.BO.DemiBold,f.Jy.Neutral90,(0,y.Ay)(D.Ay)(["width:24px;height:24px;flex:0 0 24px;"]),(0,y.Ay)(Z.H3)(["flex-direction:column;align-items:stretch;overflow:hidden;"]),(0,y.Ay)(Z.gP)(["color:",";cursor:pointer;",""],f.Jy.Neutral50,S.A.Hover`
6778    &:hover {
6779      color: ${f.Jy.Blue50};
6780      background-color: ${f.Jy.Blue10};
6781    }
6782  `),f.Kz.S,f.Kz.M,f.Kz.M,f.Kz.S,f.Kz["3XS"],f.Jy.Neutral100,b.Ay.Subhead,b.BO.DemiBold,f.Kz["2XS"],b.Ay.Caption,b.BO.DemiBold,f.Kz.XS,(0,y.Ay)(D.Ay)(["width:20px;height:20px;flex:0 0 20px;"]),i.p,i.p,i(14603),i(47566),i(98721);var en=i(47767),eo=((r={}).returnUrl="returnUrl",r.section="section",r),ea=((n={}).workplaceType="workplaceType",n.experienceLevel="experienceLevel",n.salary="salary",n);let el=()=>{let e=(0,en.zy)();return new URLSearchParams({[eo.returnUrl]:e.pathname})}},82058:function(e,t,i){"use strict";i.d(t,{A:function(){return x},S:function(){return h}});var r=i(74848),n=i(96540),o=i(14649),a=i(38267),l=i(99701),s=i(49504);let d=a.Ay.div(["position:relative;margin-right:12px;width:18px;height:18px;"]),c=a.Ay.div(["position:absolute;width:100%;height:100%;left:0;top:0;display:flex;align-items:center;justify-content:center;color:",";z-index:1;"],l.Jy.White),u=a.Ay.input(["appearance:none;border:2px solid ",";will-change:background-color;transition:background-color 0.1s ease,border-color 0.1s ease;padding:7px;border-radius:3px;display:inline-block;position:relative;vertical-align:top;cursor:pointer;outline:none;:checked{border-color:",";background-color:",";:hover{border-color:",";background-color:",";","}}:hover{border-color:",";}"," :disabled,:disabled:hover{cursor:not-allowed;border-color:",";background:",";}"],l.Jy.Neutral40,l.Jy.Blue50,l.Jy.Blue50,l.Jy.Blue60,l.Jy.Blue60,e=>e.invalid&&(0,a.AH)(["border-color:",";background-color:",";"],l.Jy.Red60,l.Jy.Red60),e=>e.invalid?l.Jy.Red60:l.Jy.Blue50,e=>e.invalid&&(0,a.AH)(["border-color:",";:checked{border-color:",";background:",";}"],l.Jy.Red50,l.Jy.Red50,l.Jy.Red50),l.Jy.Neutral30,l.Jy.Neutral30),p=a.Ay.label(["",";display:flex;align-items:center;justify-content:flex-start;user-select:none;cursor:",";",";",";"],s.Ay.Caption,e=>e.disabled?"not-allowed":"pointer",({align:e})=>{if("top"===e)return`
6783          align-items: flex-start;
6784        `},({invalid:e})=>e&&`color: ${l.Jy.Red50};`),h=(0,n.memo)((0,n.forwardRef)(({label:e,align:t,className:i,onChange:a,checked:l=!1,invalid:s=!1,disabled:h=!1,...x},m)=>{let[g,y]=(0,n.useState)(l);return(0,n.useEffect)(()=>{y(l)},[l]),(0,r.jsxs)(p,{align:t,invalid:s,disabled:h,children:[(0,r.jsxs)(d,{className:i,align:t,children:[g&&(0,r.jsx)(c,{children:(0,r.jsx)(o.Ay.Tick,{})}),(0,r.jsx)(u,{ref:m,type:"checkbox",checked:g,invalid:s,disabled:h,onChange:e=>{a&&a(e),y(!g)},...x})]}),e]})}));var x=h},28480:function(e,t,i){"use strict";i.d(t,{S:function(){return D}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(33093),a=i(99701),l=i(14649),s=i(16466),d=i(91779),c=i(86066),u=i(57238),p=i(18509),h=i(36961),x=i(81740),m=i(77378),g=i(22130),y=i(38267),f=i(24833),b=i(49504);let _=y.Ay.div(["display:flex;position:relative;flex-direction:column;align-items:flex-start;width:100%;max-width:544px;background-color:",";border-radius:16px;z-index:999;",";"],a.Jy.White,f.A.Phone`
6785    max-width: 343px;
6786  `),v=y.Ay.img(["width:100%;border-radius:16px 16px 0 0;"]),j=y.Ay.div(["position:absolute;width:28px;height:28px;top:32px;right:32px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";}",";"],a.Jy.Neutral30,a.Jy.White,a.Jy.Blue50,f.A.Phone`
6787    top: 20px;
6788    right: 20px;
6789    padding: 2px;
6790  `),A=y.Ay.div(["display:flex;gap:24px;flex-direction:column;padding:16px 32px 32px 32px;",";"],f.A.Phone`
6791    gap: 16px;
6792    padding: 20px;
6793  `),C=y.Ay.div(["display:flex;gap:8px;flex-direction:column;align-items:flex-start;",";"],f.A.Phone`
6794    gap: 4px;
6795  `),w=y.Ay.div(["display:flex;gap:12px;flex-direction:column;align-items:flex-start;",";"],f.A.Phone`
6796    gap: 8px;
6797  `);a.Jy.Indigo10,f.A.Phone`
6798    width: 191px;
6799  `;let k=y.Ay.div(["display:flex;gap:4px;align-items:center;"]);b.BO.DemiBold,a.Jy.Indigo70;let S=(0,y.Ay)(l.EK.Crown)(["width:24px;height:24px;color:",";"],e=>e.iscolor),T=y.Ay.div(["",";",";"],b.Ay.S,b.BO.DemiBold),P=y.Ay.div(["color:",";"],a.Jy.Neutral50),J=y.Ay.div(["display:flex;gap:8px;flex-direction:column;",";"],f.A.Phone`
6800    gap: 12px;
6801  `),E=y.Ay.div(["",";",";color:",";"],b.Ay.Caps,b.BO.DemiBold,a.Jy.Neutral80),R=y.Ay.div(["display:flex;gap:8px;flex-wrap:wrap;padding:12px;background-color:",";",";"],a.Jy.Neutral5,e=>e.isMoreThanFour?`
6802    justify-content: space-between;
6803      `:`
6804    flex-direction: column;
6805      `),L=y.Ay.div(["display:flex;gap:4px;width:49%;",";"],f.A.Phone`
6806    width: 100%
6807  `),N=y.Ay.div(["",";"],b.Ay.Caption),I=(0,y.Ay)(l.EK.Tick)(["color:",";"],a.Jy.Green40),M=y.Ay.div(["display:flex;justify-content:flex-end;
6807gap:8px;"]),B="builder.resume_editor.cio_limit_modal",D=({documentType:e,title:t,subTitle:i,text:y,features:f,cancelButton:b,upgradebutton:D,tunerImg:$,onClose:O,isExploreJobs:z,handleUpgrade:F})=>{let H=(0,p.N)(u.Tp.getUpgradeUrl),{isPhone:V}=(0,c.e)(),{i18n:U}=(0,m.s)();(0,h.h)(()=>{e&&("resume"===e||"cover_letter"===e)&&(0,o.xP)(`see_${e}_limit_modal`),t&&(0,o.xP)("view_paywall",{...x.JU})});let W=(0,n.useCallback)(r=>"title"===r?t||("cover_letter"===e?U.t(`${B}.title_cover_letter`):U.t(`${B}.title_resume`)):i||("cover_letter"===e?U.t(`${B}.subtitle_cover_letter`):U.t(`${B}.subtitle_resume`)),[e,t,i]),K=(0,n.useCallback)(()=>{window.open((0,g.f)({upgradeURL:H}),"_self"),e&&("resume"===e||"cover_letter"===e)&&(0,o.xP)(`click_upgrade_${e}_limit_button`),t&&(0,o.xP)("click_upgrade_paywall",{...x.JU})},[e,H,t]),q=f||[{id:1,text:U.t(`${B}.document_features.feature_1`)},{id:2,text:U.t(`${B}.document_features.feature_2`)},{id:3,text:U.t(`${B}.document_features.feature_3`)}];return(0,r.jsx)(s.A,{onClick:O,overlayFadeDuration:150,contentSlideDuration:150,children:(0,r.jsxs)(_,{children:[(0,r.jsx)(j,{onClick:()=>O("close"),children:(0,r.jsx)(l.EK.Close,{})}),(0,r.jsx)(v,{src:$}),(0,r.jsxs)(A,{children:[(0,r.jsxs)(C,{children:[(0,r.jsx)(w,{children:(0,r.jsx)(T,{children:W("title")})}),(0,r.jsx)(P,{children:W("subTitle")})]}),(0,r.jsxs)(J,{children:[(0,r.jsxs)(k,{children:[z&&(0,r.jsx)(S,{iscolor:a.Jy.Amber40}),(0,r.jsxs)(E,{children:[y||U.t(`${B}.unlock_text`),":"]})]}),(0,r.jsx)(R,{isMoreThanFour:q.length>4,children:q.map(e=>(0,r.jsxs)(L,{children:[(0,r.jsx)(I,{}),(0,r.jsx)(N,{children:e.text})]},e.id))})]}),(0,r.jsxs)(M,{children:[(0,r.jsx)(d.Ay,{theme:"ghost",onClick:()=>O("skip"),size:V?d.Mp.small:d.Mp.default,children:b}),(0,r.jsx)(d.Ay,{onClick:z?F:K,size:V?d.Mp.small:d.Mp.default,children:D})]})]})]})})}},59729:function(e,t,i){"use strict";i.d(t,{A:function(){return r.S}});var r=i(28480)},67464:function(e,t,i){"use strict";i.d(t,{R:function(){return C}}),i(18111),i(22489),i(13579),i(61701);var r=i(74848),n=i(96540),o=i(87947),a=i(11214),l=i(8539),s=i(4332),d=i(14649),c=i(64861),u=i(38267),p=i(99701),h=i(49504),x=i(67592);let m=u.Ay.div(["gap:5px;width:100%;display:flex;flex-wrap:wrap;padding-top:var(--spacing-XS);"]),g=u.Ay.div(["",";height:24px;cursor:pointer;padding:4px 6px;border-radius:2px;display:flex;align-items:center;justify-content:center;color:",";background:",";&:hover,&:focus-visible{color:",";}"],h.Ay.Tiny,p.Jy.Neutral50,p.Jy.Neutral10,p.Jy.Blue60),y=u.Ay.div(["position:relative;input{border-radius:3px;padding:var(--spacing-XS);width:100%;display:block;caret-color:",";background-color:",";outline:none;border:0;color:",";transition:color 0.1s ease;&:disabled{pointer-events:none;color:",";}&::placeholder{color:",";opacity:1;}}.select__control{border:none;outline:none;width:100%;min-height:48px;cursor:text;border-radius:4px;box-shadow:none;background-color:",";}.select__placeholder{color:",";}.select__menu{margin:0;width:100%;box-shadow:none;border-top-left-radius:0;border-top-right-radius:0;background-color:",";border-top:2px solid ",";z-index:10;}.select__option{background-color:transparent;&:hover{cursor:pointer;color:",";background-color:",";}}.select__indicators{.select__clear-indicator{display:",";}.select__loading-indicator{display:",";}.select__indicator-separator{display:",";}.select__dropdown-indicator{display:none;}}.select__multi-value{",";height:32px;display:flex;border-radius:4px;padding:8px 4px 6px 4px;align-items:center;background-color:",";}.select__multi-value__label{color:",";}.select__multi-value__remove{padding:0;color:",";&:hover{cursor:pointer;color:",";background-color:transparent;}}",""],p.Jy.Blue50,p.Jy.Neutral10,p.Jy.Neutral90,p.Jy.Neutral50,p.Jy.Neutral40,p.Jy.Neutral10,p.Jy.Neutral50,p.Jy.Neutral10,p.Jy.Blue50,p.Jy.Blue50,p.Jy.Blue20,({clear:e})=>e?"block":"none",({loading:e})=>e?"block":"none",({separator:e})=>e?"block":"none",x.A.light.low,p.Jy.White,p.Jy.Neutral90,p.Jy.Neutral40,p.Jy.Blue50,({dropdown:e})=>e&&(0,u.AH)(["&:focus-within{.select__indicators{align-items:flex-end;}.select__dropdown-indicator{"," "," color:",";display:flex;span{margin-top:4px;}}}"],h.Ay.Caption,h.BO.Regular,p.Jy.Neutral50)),f=u.Ay.div(["position:absolute;bottom:0;left:0;right:0;height:2px;background-color:",";border-radius:0 0 2px 2px;pointer-events:none;",";"],({$hasError:e,$hasWarning:t})=>e?p.Jy.Red50:t?p.Jy.Amber40:p.Jy.Blue50,e=>({entering:"opacity: 1; transform: scaleX(1); transition: transform 0.1s ease;",entered:"opacity: 1; transform: scaleX(1)",exiting:"opacity: 0; transform: scaleX(1); transition: opacity 0.1s ease;",exited:"opacity: 0; transform: scaleX(0.5)",unmounted:null})[e.$in]),b=u.Ay.div(["display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:6px;"]),_=u.Ay.label(["display:flex;align-items:center;",";color:",";justify-content:'space-between';"],h.Ay.Caption,({$hasError:e})=>
6807e?p.Jy.Red50:p.Jy.Neutral50),v=u.Ay.div(["display:inline-block;"]),j=u.Ay.span(["color:",";"],p.Jy.Red50),A=u.Ay.div(["margin-top:4px;color:",";",";",";"],p.Jy.Neutral50,h.Ay.Caption,h.BO.Regular),C=e=>{let{list:t,selectedList:i,onSelect:u,onUnselect:p,description:h,error:x,errorNoMsg:C,required:w,warning:k,active:S,className:T,label:P,hint:J,showLimit:E,placeholder:R="",showIndicators:L,openMenuOnClick:N=!1,autoFocus:I=!1,loadOptions:M,defaultOptions:B,cacheOptions:D,creatable:$=!1,onCreateOption:O,...z}=e,F=$?s.A:l.A,[H,V]=(0,n.useState)(!1),U=(0,n.useRef)(null),W=(0,n.useCallback)(()=>{V(!0)},[]),K=(0,n.useCallback)(()=>{V(!1)},[]),q=!!x||C,G=!!k,Z=H||S||q||G,X=(t??[]).filter(e=>!i.some(t=>t.value.toLowerCase()===e.value.toLowerCase()||t.label.toLowerCase()===e.label.toLowerCase())).slice(0,E);return(0,r.jsxs)("div",{className:T,children:[P&&(0,r.jsx)(b,{children:(0,r.jsx)(_,{$hasError:q,children:(0,r.jsxs)("span",{children:[(0,r.jsx)(v,{children:P}),w&&(0,r.jsx)(j,{children:" *"})]})})}),(0,r.jsxs)(y,{...L,children:[(0,r.jsx)(F,{...z,isMulti:!0,autoFocus:I,isSearchable:!0,value:i,placeholder:R,openMenuOnClick:N,classNamePrefix:"select",onBlur:K,onFocus:W,loadOptions:M,defaultOptions:!!M&&(B??!0),cacheOptions:D,components:{DropdownIndicator:e=>(0,r.jsxs)(a.c.DropdownIndicator,{...e,children:[(0,r.jsx)("span",{children:"↵"})," Enter"]}),MultiValueRemove:e=>(0,r.jsx)("div",{children:(0,r.jsx)(a.c.MultiValueRemove,{...e,children:(0,r.jsx)(d.EK.Close,{})})})},onChange:e=>p(Array.isArray(e)?e:[e]),onCreateOption:O}),(0,r.jsx)(o.Ay,{in:Z,timeout:100,nodeRef:U,children:e=>(0,r.jsx)(f,{$in:e,$hasError:q,$hasWarning:G,ref:U})})]}),!q&&J&&(0,r.jsx)(A,{children:J}),(0,r.jsx)(c.X,{error:x,warning:k,description:h}),X.length>0&&(0,r.jsx)(m,{children:X.map(e=>(0,r.jsx)(g,{onClick:()=>u(e),children:e.label},e.value))})]})}},55408:function(e,t,i){"use strict";i.d(t,{A:function(){return y}});var r=i(74848),n=i(96540),o=i(7612),a=i(86066),l=i(38267),s=i(99701),d=i(24833),c=i(49504);let u=l.Ay.div(["position:relative;width:200px;border-radius:9px;background-color:",";"," "," ",""],s.Jy.Neutral100,d.A.Tablet`
6808    width: 250px;
6809  `,d.A.AboveTablet`
6810    & .react-colorful {
6811      width: 100%;
6812      height: 180px;
6813    }
6814
6815    & .react-colorful__hue {
6816      border-radius: 0;
6817    }
6818  `,d.A.Tablet`
6819    & .react-colorful {
6820      width: 100%;
6821      height: 228px;
6822    }
6823
6824    & .react-colorful__saturation {
6825      border-bottom-width: 14px;
6826    }
6827
6828    & .react-colorful__hue {
6829      height: 28px;
6830    }
6831
6832    & .react-colorful__hue-pointer,
6833    & .react-colorful__saturation-pointer {
6834      width: 32px;
6835      height: 32px;
6836      border-width: 3px;
6837    }
6838  `),p=l.Ay.div(["padding:12px;color:",";"],s.Jy.White),h=l.Ay.div(["position:relative;width:80px;margin:0 auto;",";&:before{content:'#';position:absolute;left:0;top:5px;width:16px;opacity:0.4;text-align:right;pointer-events:none;}"],c.Ay.Caption),x=(0,l.Ay)(o.HC)(["display:block;padding:4px 6px 4px 18px;width:100%;background:none;border:1px solid ",";border-radius:4px;text-transform:uppercase;font-variant-numeric:tabular-nums;caret-color:",";&::placeholder{color:",";opacity:0.4;}"],s.Jy.Neutral80,s.Jy.Blue50,s.Jy.White),m=l.Ay.div(["position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:0 0 4px 4px;opacity:0;transform:scaleX(0);background-color:",";transition:transform 0.1s 0.1s,opacity 0.1s;pointer-events:none;",":focus + &{opacity:1;transform:scaleX(1);transition:transform 0.1s 0s,opacity 0.1s;}"],s.Jy.Blue50,x),g=(0,n.forwardRef)((e,t)=>{let{hex:i,onChange:n,...l}=e,{isTablet:s}=(0,a.e)(),d=null===i?void 0:i;return(0,r.jsxs)(u,{ref:t,...l,children:[(0,r.jsx)(o.jI,{color:d,onChange:n}),!s&&(0,r.jsx)(p,{children:(0,r.jsxs)(h,{children:[(0,r.jsx)(x,{color:d,onChange:n}),(0,r.jsx)(m,{})]})})]})});var y=(0,n.memo)(g)},43400:function(e,t,i){"use strict";i.d(t,{A:function(){return x}});var r=i(74848),n=i(44837),o=i(38267),a=i(83640),l=i(99701),s=i(14649);let d=o.Ay.div(["position:relative;width:","px;height:","px;margin-right:8px;display:flex;align-items:center;justify-content:center;border-radius:50%;-webkit-tap-highlight-color:transparent;color:",";&:last-child{margin-right:0;}"],({size:e})=>e,({size:e})=>e,({color:e})=>e&&(0,a.Mj)(e).brightness()>.627?l.Jy.Neutral100:l.Jy.White),c=o.Ay.div(["position:absolute;top:4px;right:4px;bottom:4px;left:4px;border-radius:50%;overflow:hidden;"]),u=o.Ay.div(["position:relative;width:10px;height:10px;transition:transform 0.1s,visibility 0.1s;transform:scale(1);&[data-visible='false']{visibility:hidden;transform:scale(0);}&:after,&:before{content:'';position:absolute;background-color:currentColor;transition:transform 0.2s;}&:before{left:0;top:calc(50% - 1px);width:100%;height:2px;}&:after{top:0;left:calc(50% - 1px);width:2px;height:100%;}"]),p=(0,o.Ay)(s.qJ.Tick)(["position:absolute;z-index:1;top:50%;left:50%;margin:-12px 0 0 -12px;transition:transform 0.1s ease;transform:scale(1);&[data-visible='false']{transform:scale(0);}"]),h=(0,o.Ay)(d)(["cursor:pointer;background:linear-gradient(45deg,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%);background:conic-gradient( from 135deg at 50% 50%,#e43a3a 0deg,#e0ca53 45deg,#67c745 95deg,#42daa3 145deg,#31bbe7 190deg,#3851d6 230deg,#8f00ff 280deg,#e736a0 320deg,#c94949 360deg );"," &:before{content:'';position:absolute;top:2px;right:2px;bottom:2px;left:2px;background-color:",";border-radius:50%;}
6838&:hover ",":before{transform:scaleX(1.2);}&:hover ",":after{transform:scaleY(1.2);}"],e=>!e.active&&(0,o.AH)(["color:",";"],l.Jy.White),l.Jy.Neutral100,u,u),x=({color:e,active:t,size:i,onClick:o,showAddIcon:a=!0})=>{let l=t&&e,s=!!(l&&i>24);return(0,r.jsxs)(h,{active:t,size:i,onClick:o,children:[l&&(0,r.jsx)(c,{children:(0,r.jsx)(n.A,{size:i,background:{color:e,image:null}})}),a&&(0,r.jsx)(u,{"data-visible":!l}),(0,r.jsx)(p,{"data-visible":s})]})}},30647:function(e,t,i){"use strict";i.d(t,{J:function(){return y}});var r=i(74848),n=i(16466),o=i(91779),a=i(86066),l=i(38267),s=i(99701),d=i(56298),c=i(24833);let u=l.Ay.div(["position:relative;padding:32px;background-color:",";width:544px;border-radius:16px;box-shadow:",";",";"],s.Jy.White,s.qd.darkShadowHigh,c.A.Phone`
6839    width: 343px;
6840    padding: 20px;
6841  `),p=l.Ay.div(["display:flex;flex-direction:column;gap:12px;padding-right:36px;"]),h=l.Ay.h2(["",";font-weight:",";margin:0;"],s.o5.sizes.S,s.o5.weights.demibold),x=l.Ay.p(["color:",";margin:0;"],s.Jy.Neutral50),m=l.Ay.div(["display:flex;gap:8px;justify-content:flex-end;margin-top:32px;"]),g=(0,l.Ay)(d.O)(["position:absolute;top:32px;right:32px;",""],c.A.Phone`
6842    top: 20px;
6843    right: 20px;
6844  `),y=e=>{let{onClose:t,renderButtons:i,title:l,description:s,dataTestId:d}=e,{isPhone:c}=(0,a.e)(),y=c?o.Mp.small:o.Mp.default;return(0,r.jsx)(n.A,{overlayFadeDuration:150,contentSlideDuration:150,onClose:t,children:(0,r.jsxs)(u,{"data-testid":d,children:[(0,r.jsx)(g,{onClick:t}),(l||s)&&(0,r.jsxs)(p,{children:[l&&(0,r.jsx)(h,{children:l}),s&&(0,r.jsx)(x,{children:s})]}),i&&(0,r.jsx)(m,{children:i({size:y})})]})})}},83978:function(e,t,i){"use strict";i.d(t,{A:function(){return j}});var r=i(74848),n=i(96540),o=i(16466),a=i(91779),l=i(86066),s=i(62317),d=i(38267),c=i(99701),u=i(49504),p=i(14649),h=i(24833);let x=d.Ay.div(["padding:20px;background-color:",";width:544px;border-radius:12px;",";"],c.Jy.White,h.A.Phone`
6845    max-width: none;
6846    width: 343px;
6847    height: 100%;
6848    padding: 20px;
6849    overflow-y: auto;
6850    -webkit-overflow-scrolling: touch;
6851  `),m=d.Ay.div(["height:24px;width:24px;flex:0 0 auto;background-color:",";color:",";border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;&:hover{color:",";background-color:",";}"],c.Jy.Neutral10,c.Jy.Neutral50,c.Jy.Blue50,c.Jy.Blue10),g=d.Ay.div(["display:flex;justify-content:space-between;"]),y=(0,d.Ay)(p.Ay.Close)(["height:20px;width:20px;"]),f=d.Ay.p(["",";",";width:80%;"],u.Ay.S,u.BO.DemiBold),b=d.Ay.div(["",";color:",";padding:12px 0 32px;display:flex;flex-direction:column;gap:12px;",""],u.BO.Regular,c.Jy.Neutral50,h.A.Phone`
6852    padding: 8px 0 20px;
6853  `),_=d.Ay.p([""]),v=d.Ay.div(["display:flex;gap:8px;justify-content:flex-end;"]);var j=({title:e,description:t,secondaryDescription:i,cancelButton:d,successButton:c,successButtonTheme:u=a.Ox.default,successButtonId:p,cancelButtonId:h,onInit:j,onClose:A,onCancel:C,onSuccess:w,...k})=>{let{isPhone:S}=(0,l.e)(),T=(0,n.useRef)(null);return(0,s.L)(T,A),(0,n.useEffect)(()=>{j&&j()},[j]),(0,r.jsx)(o.A,{overlayFadeDuration:350,contentSlideDuration:350,onClose:A,children:(0,r.jsxs)(x,{...k,ref:T,children:[(0,r.jsxs)(g,{children:[(0,r.jsx)(f,{children:e}),(0,r.jsx)(m,{onClick:A,children:(0,r.jsx)(y,{})})]}),(0,r.jsxs)(b,{children:[(0,r.jsx)(_,{children:t}),i&&(0,r.jsx)(_,{children:i})]}),(0,r.jsxs)(v,{children:[(0,r.jsx)(a.Ay,{id:h,theme:a.Ox.ghost,size:S?a.Mp.small:a.Mp.default,onClick:C,children:d}),(0,r.jsx)(a.Ay,{id:p,theme:u,size:S?a.Mp.small:a.Mp.default,onClick:w,children:c})]})]})})}},23054:function(e,t,i){"use strict";i.d(t,{m:function(){return l}});var r=i(74848);i(96540);var n=i(38267),o=i(24833);let a=n.Ay.div(["max-width:1200px;width:100%;margin:0 auto;padding:0 40px;",""],o.A.Tablet`
6854    padding: 0 20px;
6855  `),l=({children:e,containerRef:t,...i})=>(0,r.jsx)(a,{...i,ref:t,children:e})},9883:function(e,t,i){"use strict";i.d(t,{A:function(){return J}});var r=i(74848),n=i(33093),o=i(96540),a=i(16466),l=i(14649),s=i(22130),d=i(77378),c=i.p+"media/critique33ab4fa3d18de215.png",u=i(38267),p=i(99701),h=i(24833),x=i(49504),m=i(91779);let g=u.Ay.div(["position:absolute;width:28px;height:28px;top:28px;right:28px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";z-index:999;&:hover{color:",";}",";"],p.Jy.Neutral50,p.Jy.Neutral10,p.Jy.Blue50,h.A.Phone`
6856    top: 20px;
6857    right: 20px;
6858    padding: 2px;
6859  `),y=u.Ay.div(["display:flex;border-radius:16px;background-color:",";position:relative;",";"],p.Jy.White,h.A.Tablet`
6860    flex-direction: column;
6861    max-width: 604px;
6862    width: 100%;
6863  `),f=u.Ay.div(["display:flex;flex-direction:column;padding:40px;max-width:447px;width:100%;",";",";"],h.A.Tablet`
6864    order: 2;
6865    max-width: unset;
6866  `,h.A.Phone`
6867    padding: 24px;
6868  `),b=u.Ay.span(["color:",";",";",";"],p.Jy.Neutral90,x.BO.DemiBold,x.Ay.M),_=u.Ay.span(["color:",";",";margin-top:20px;",";"],p.Jy.Neutral50,x.Ay.Caption,h.A.Phone`
6869    margin-top: 8px;
6870  `),v=u.Ay.span(["color:",";",";",";text-transform:uppercase;margin-top:24px;"],p.Jy.Neutral80,x.BO.DemiBold,x.Ay.Caps),j=u.Ay.div(["background-color:",";border-radius:4px;gap:8px;padding:12px;display:flex;flex-direction:column;margin-top:12px;",";",";"],p.Jy.Neutral5,h.A.Tablet`
6871    flex-direction: row;
6872    flex-wrap: wrap;
6873  `,h.A.Phone`
6874    flex-direction: column;
6875  `),A=u.Ay.div(["gap:4px;display:flex;align-items:center;",";"],h.A.Tablet`
6876    flex: 1 0 34%;
6877  `),C=(0,u.Ay)(l.EK.Tick)(["color:",";"],p.Jy.Blue50),w=u.Ay.span(["color:",";",";"],p.Jy.Neutral80,x.Ay.Caption),k=(0,u.Ay)(m.Ay)(["width:fit-content;margin-top:auto;",";",";"],h.A.Tablet`
6878    margin-left: auto;
6879    margin-top: 32px;
6880  `,h.A.Phone`
6881    width: 100%;
6882    margin-top: 20px;
6883  `),S=u.Ay.span(["color:",";",";",";",";"],p.Jy.Neutral90,x.BO.Medium,x.Ay.Subhead,h.A.Tablet`
6884    display: none;
6885  `),T=u.Ay.div(["background-color:",";padding:58px 62px 68px;display:flex;flex-direction:column;align-items:center;gap:40px;border-radius:16px;",";"],p.Jy.Blue10,h.A.Tablet`
6886    padding: 26px 0 14px;
6887  `),P=u.Ay.img(["width:412px;height:372px;",";"],h.A.Phone`
6888    width: 219px;
6889    height: 182px;
6890  `);var J=({onClose:e,redirectUrl:t,resumeIdToSendToCritique:i})=>{let{i18n:u}=(0,d.s)();return(0,o.useEffect)(()=>{(0,n.xP)("see_resume_critique_promo_modal")},[]),(0,r.jsx)(a.A,{overlayFadeDuration:350,contentSlideDuration:350,children:(0,r.jsxs)(y,{children:[(0,r.jsx)(g,{onClick:()=>{e&&e()},children:(0,r.jsx)(l.EK.Close,{})}),(0,r.jsxs)(f,{children:[(0,r.jsx)(b,{children:u.t("builder.critique_entry_points.critique_free_user_modal.title")}),(0,r.jsx)(_,{children:u.t("builder.critique_entry_points.critique_free_user_modal.subtitle")}),(0,r.jsx)(v,{children:u.t("builder.critique_entry_points.critique_free_user_modal.items.title")}),(0,r.jsxs)(j,{children:[(0,r.jsxs)(A,{children:[(0,r.jsx)(C,{}),(0,r.jsx)(w,{children:u.t("builder.critique_entry_points.critique_free_user_modal.items.one")})]}),(0,r.jsxs)(A,{children:[(0,r.jsx)(C,{}),(0,r.jsx)(w,{children:u.t("builder.critique_entry_points.critique_free_user_modal.items.two")})]}),(0,r.jsxs)(A,{children:[(0,r.jsx)(C,{}),(0,r.jsx)(w,{children:u.t("builder.critique_entry_points.critique_free_user_modal.items.three")})]}),(0,r.jsxs)(A,{children:[(0,r.jsx)(C,{}),(0,r.jsx)(w,{children:u.t("builder.critique_entry_points.critique_free_user_modal.items.four")})]})]}),(0,r.jsx)(k,{onClick:()=>{sessionStorage.setItem("sendToCritique",String(i)),e&&e(),(0,s.b)({onSuccessRedirect:t})},children:u.t("builder.critique_entry_points.critique_free_user_modal.get")})]}),(0,r.jsxs)(T,{children:[(0,r.jsx)(S,{children:u.t("builder.critique_entry_points.critique_free_user_modal.images")}),(0,r.jsx)(P,{src:c})]})]})})}},38561:function(e,t,i){"use strict";i(18111),i(61701);var r=i(74848),n=i(14649),o=i(45112),a=i(77378),l=i(7696),s=i(35110),d=i(36666);t.A=e=>{let{month:t,year:i,isPresent:c,showIsPresent:u,alignRight:p,currentlyLabel:h,noActiveMonth:x,noActiveYear:m,onChangeYear:g,onChoose:y,onIsPresentToggle:f,maxYear:b,maxMonth:_,minYear:v,minMonth:j,testId:A,containerRef:C}=e,{i18n:w}=(0,a.s)(),k=c||(0,d.rL)(i-1,v),S=c||(0,d.Wz)(i+1,b),T=e=>c||(0,d.Lf)(e,i,_,b)||(0,d.YZ)(e,i,j,v),P=e=>{let t=+(e.target.dataset.number||0);T(t)||y(t,i)};return(0,r.jsx)(s.ee,{"data-testid":A,ref:C,children:(0,r.jsx)(s.vo,{$alignRight:p,children:(0,r.jsxs)(s.tT,{children:[(0,r.jsxs)(s.wI,{children:[(0,r.jsx)(s.D9,{onClick:()=>{k||g(i-1)},$isDisabled:k,"data-testid":`${A}-decrement-year`,"data-disabled":k,children:(0,r.jsx)(n.Ay.ToggleArrow,{})}),(0,r.jsx)(s.Mn,{onClick:()=>{c||y(null,i)},$isActive:x&&!m,$isDisabled:c,"data-disabled":c,"data-testid":`${A}-year-value`,children:i}),(0,r.jsx)(s.UU,{onClick:()=>{S||g(+i+1)},$isDisabled:S,"data-testid":`${A}-increment-year`,"data-disabled":S,children:(0,r.jsx)(n.Ay.ToggleArrow,{})})]}),(0,r.jsx)(s.BR,{children:(0,l.S)().map(e=>{let i=T(e.number);return(0,r.jsx)(s.fF,{$isActive:!x&&e.number===t,"data-number":e.number,onClick:P,$isDisabled:i,"data-testid":`${A}-month-${e.number}`,"data-disabled":i,children:e.name},e.number)})}),u&&(0,r.jsx)(s.sV,{children:(0,r.jsx)(o.A,{tabIndex:-1,label:h||w.t("builder.date_range_picker.present"),checked:c,onChange:e=>{let t=e.target;f?.(t.checked)},testId:`${A}-toggle-present`})})]})})})}},3587:function(e,t,i){"use strict";i.d(t,{A:function(){return v}});var r=i(74848),n=i(86066),o=i(96540),a=i(87947),l=i(20646),s=i(57119),d=i(62317),c=i(36666),u=i(38561),p=i(35110),h=i(36961);let x=e=>
6890{let{props:{onChange:t=()=>{},value:i},dateField:r,isMonthHiddenField:n,canSetDateUntilPresent:a}=e,[l,s]=(0,o.useState)(null),[d,u]=(0,o.useState)(null),[p,x]=(0,o.useState)(0),[m,g]=(0,o.useState)(!1);return(0,h.h)(()=>{let[e,t,o]=(0,c.Cy)(i[r],{isMonthHidden:i[n],...a?{isDatePresent:i.isDateUntilPresent}:{}});s(e),u(t),x(o)}),{value:l,month:d,year:p,setValue:s,setMonth:u,setYear:x,onYearChange:(e,i)=>{u(e),x(i);let o=(0,c.K_)(e,i,{prevValue:l});o!==l&&(s(o),t({[r]:(0,c.Yu)(e,i,{isDateHidden:(0,c.t_)(o)}),[n]:!e}))},onInputValueChange:e=>{let i=(0,c.Cq)(e),o=(0,c.Rd)(e),l=(0,c.Yu)(i,o,{isDateHidden:(0,c.t_)(e)});s(e),u(i),x(o),t({[r]:l,[n]:(0,c.lO)(e),...a?{isDateUntilPresent:(0,c.Wo)(e)}:{}})},isPickerOpen:m,setIsPickerOpen:g,onDateSelect:(e,i,o=!0)=>{let a=(0,c.K_)(e,i),l=(0,c.Yu)(e,i);u(e),s(a),o&&g(!1),t({[r]:l,[n]:!e})},onInputBlur:()=>{let e=(0,c.K_)(d,p,{prevValue:l});if(!e&&!l||e===l)return;let i=(0,c.Yu)(d,p,{isDateHidden:(0,c.t_)(l)});s(e),t({[r]:i,[n]:(0,c.lO)(l),...a?{isDateUntilPresent:(0,c.Wo)(l)}:{}})}}},m=e=>{let{isUntilToday:t,onChange:i=()=>{}}=e,{value:r,setValue:n,month:a,setMonth:l,year:s,setYear:d,isPickerOpen:u,setIsPickerOpen:p,onYearChange:h,onInputValueChange:m,onDateSelect:g,onInputBlur:y}=x({props:e,dateField:"dateFrom",isMonthHiddenField:"isMonthFromHidden"}),{value:f,setValue:b,month:_,setMonth:v,year:j,setYear:A,isPickerOpen:C,setIsPickerOpen:w,onYearChange:k,onInputValueChange:S,onDateSelect:T,onInputBlur:P}=x({props:e,dateField:"dateUntil",isMonthHiddenField:"isMonthUntilHidden",canSetDateUntilPresent:!0}),[J,E]=(0,o.useState)(null),[R,L]=(0,o.useState)(1/0),[N,I]=(0,o.useState)(null),[M,B]=(0,o.useState)(0),D=(0,c.Wo)(f),$=f&&!D&&_||J,O=f&&!D&&j||R,z=r&&a||null,F=r&&s||0,H=(0,c.t_)(r),V=(0,c.t_)(f),U=!r||s<M||!!(s===M&&(!a||a&&N&&a<=N));return(0,o.useEffect)(()=>{let[,e,i]=(0,c.Cy)(new Date().toISOString());I(e),B(i),D||t?(E(e),L(i)):(E(null),L(1/0))},[D,t]),(0,o.useEffect)(()=>{u&&!r&&(O>=M?d(M):d(O))},[u]),(0,o.useEffect)(()=>{C&&!f&&(F<=M?A(M):A(F))},[C]),{startValue:r,startMonth:a,startYear:s,endValue:f,endMonth:_,endYear:j,maxStartMonth:$,maxStartYear:O,minEndMonth:z,minEndYear:F,maxEndMonth:J,maxEndYear:R,showIsPresent:U,nowMonth:N,nowYear:M,setEndMonth:v,setEndYear:A,setStartMonth:l,setStartYear:d,setStartValue:n,setEndValue:b,isPresentEndValue:D,handlePresentToggle:e=>{let t={isDateUntilPresent:e},[,r,n]=(0,c.Cy)(new Date().toISOString());e?(v(null),A(n),t.dateUntil=null):(v(r),A(n),t.dateUntil=(0,c.Yu)(r,n)),b((0,c.K_)(r,n,{isDatePresent:e})),i(t)},isStartDateHidden:H,isEndDateHidden:V,isStartPickerOpen:u,isEndPickerOpen:C,setIsStartPickerOpen:p,setIsEndPickerOpen:w,onStartYearChange:h,onStartInputValueChange:m,onStartDateSelect:g,onStartInputBlur:y,onEndYearChange:k,onEndInputValueChange:S,onEndDateSelect:T,onEndInputBlur:P}};var g=e=>{let{currentlyLabel:t,dateFromHighlightId:i,dateUntilHighlightId:n,isDisabled:h,errors:{startError:x,endError:g}={startError:!1,endError:!1}}=e,y=(0,o.useRef)(null),f=(0,o.useRef)(null),b=(0,o.useRef)(null),{startMonth:_,maxStartMonth:v,startYear:j,maxStartYear:A,endMonth:C,maxEndMonth:w,maxEndYear:k,minEndMonth:S,minEndYear:T,endYear:P,endValue:J,startValue:E,showIsPresent:R,isPresentEndValue:L,handlePresentToggle:N,isStartDateHidden:I,isEndDateHidden:M,isStartPickerOpen:B,isEndPickerOpen:D,setIsStartPickerOpen:$,setIsEndPickerOpen:O,onEndDateSelect:z,onStartDateSelect:F,onStartInputBlur:H,onEndInputBlur:V,onEndInputValueChange:U,onStartInputValueChange:W,onStartYearChange:K,onEndYearChange:q}=m(e);(0,d.L)(y,()=>{$(!1),O(!1)});let G=()=>{},Z=()=>{},X=()=>{};return(0,r.jsxs)(p.mc,{onKeyDown:e=>{9===e.keyCode&&(D&&O(!1),B&&$(!1))},ref:y,children:[(0,r.jsxs)(p.JU,{children:[(0,r.jsx)(p.ss,{$hasError:x||g,children:l.R.t("builder.date_range_picker.title")}),(0,r.jsx)(p.Qj,{multiline:!0,children:l.R.t("builder.date_range_picker.hint")})]}),(0,r.jsxs)(p.fI,{children:[(0,r.jsx)(p.cm,{children:(0,r.jsx)(s.A,{name:"startDate",onFocus:()=>{$(!0),O(!1)},onBlur:()=>{H()},onChange:e=>{W(e.target?.value)},value:E||"",active:B,placeholder:l.R.t("builder.date_range_picker.placeholder"),autoComplete:"off",errorNoMsg:x,"data-highlight-id":i,"data-testid":"start-date-input",disabled:h})}),(0,r.jsx)(p.cm,{children:(0,r.jsx)(s.A,{name:"endDate",onFocus:()=>{$(!1),O(!0)},onBlur:()=>{V()},onChange:e=>{U(e.target?.value)},value:J||"",active:D,placeholder:l.R.t("builder.date_range_picker.placeholder"),autoComplete:"off",errorNoMsg:g,"data-highlight-id":n,"data-testid":"end-date-input",disabled:h})})]}),(0,r.jsx)(a.Ay,{in:B,timeout:0,onEnter:G,onEntering:Z,onExiting:X,unmountOnExit:!0,appear:!0,nodeRef:f,children:(0,r.jsx)(u.A,{month:_,year:j,maxMonth:v,maxYear:A,onChangeYear:e=>{_&&v&&A&&(0,c.Lf)(_,e,v,A)?K(v,A):K(_,e)},onChoose:(e,t,i=!0)=>{F(e,t,i)},noActiveMonth:I||(0,c.lO)(E),noActiveYear:I,testId:"start-date-picker-panel",containerRef:f})}),(0,r.jsx)(a.Ay,{in:D,timeout:0,onEnter:G,onEntering:Z,onExiting:X,unmountOnExit:!0,nodeRef:b,appear:!0,children:(0,r.jsx)(u.A,{month:C,year:P,minMonth:S,minYear:T,maxMonth:w,maxYear:k,onChangeYear:e=>{C&&w&&k&&(0,c.Lf)(C,e,w,k)?q(w,k):S&&T&&(0,c.YZ)(C,e,S,T)?q(S,T):q(C,e)},onChoose:(e,t,i=!0)=>{z(e,t,i)},showIsPresent:R,isPresent:L,onIsPresentToggle:N,alignRight:!0,currentlyLabel:t,noActiveMonth:M||(0,c.lO)(J),noActiveYear:M,testId:"end-date-picker-panel",containerRef:b})})]})},y=i(69685),f=i(45112);let b="yyyy-MM";var _=e=>{let{value:t,currentlyLabel:i,isDisabled:n,errors:{startError:a,endError:s}={startError:!1,endError:!1},dateFromHighlightId:d,dateUntilHighlightId:u,onChange:h=()=>{},isUntilToday:x=!1}=e,{dateFrom:g,dateUntil:_,isDateUntilPresent:v}=t,j=(0,o.useRef)(null),A=(0,o.useRef)(null),{startValue:C,endValue:w,showIsPresent:k,setStartValue:S,setEndValue:T,handlePresentToggle:P}=m(e);(0,o.useEffect)(()=>{j.current&&(j.current.defaultValue=""),A.current&&(A.current.defaultValue="")},[]);let J=e=>{let{value:t,name:i}=e.target,r=t?(0,y.Yq)(t,"yyyy-MM-dd"):null;if("dateFrom"===i){let[e]=(0,c.Cy)(r,{isMonthHidden:!1});S(e)}else{let[e]=(0,c.Cy)(r,{isDatePresent:v,isMonthHidden:!1});T(e)}h({[i]:r,["dateFrom"===i?"isMonthFromHidden":"isMonthUntilHidden"]:!1})},E=(0,o.useMemo)(()=>x?(0,y.Yq)(new Date().toISOString(),b):"",[x]),R=(0,o.useMemo)(()=>v||v?E||"":_?(0,y.Yq)(_,b):"",[E,v,_]),L=(0,o.useMemo)(()=>g?(0,y.Yq)(g,b):"",[g]),N=!C?.length,I=!w?.length,M=l.R.t("builder.date_range_picker.placeholder");return(0,r.jsxs)(p.mc,{children:[(0,r.jsx)(p.JU,{children:(0,r.jsx)(p.ss,{$hasError:a||s,children:l.R.t("builder.date_range_picker.title")})}),(0,r.jsxs)(p.EQ,{children:[(0,r.jsxs)(p.pY,{$isEmpty:N,$hasError:a,children:[N?M:C,(0,r.jsx)(p.Xf,{ref:j,name:"dateFrom",onChange:J,value:g?(0,y.Yq)(g,b):"","data-highlight-id":d,max:R,disabled:n})]}),(0,r.jsxs)(p.pY,{$isEmpty:I,$hasError:s,children:[I?M:w,!v&&(0,r.jsx)(p.Xf,{ref:A,name:"dateUntil",onChange:J,value:_?(0,y.Yq)(_,b):"","data-highlight-id":u,min:L,max:E,disabled:n})]})]}
6890),k&&(0,r.jsx)(f.A,{label:i||l.R.t("builder.date_range_picker.present"),checked:v,onChange:()=>{let{isDateUntilPresent:e}=t;P(!e)},disabled:n})]})},v=e=>{let{isPhone:t,hover:i}=(0,n.e)();return(0,r.jsx)(t&&!i?_:g,{...e})}},7696:function(e,t,i){"use strict";i.d(t,{S:function(){return n}});var r=i(20646);let n=()=>[{number:1,name:r.R.t("builder.date_range_picker.month.january")},{number:2,name:r.R.t("builder.date_range_picker.month.february")},{number:3,name:r.R.t("builder.date_range_picker.month.march")},{number:4,name:r.R.t("builder.date_range_picker.month.april")},{number:5,name:r.R.t("builder.date_range_picker.month.may")},{number:6,name:r.R.t("builder.date_range_picker.month.june")},{number:7,name:r.R.t("builder.date_range_picker.month.july")},{number:8,name:r.R.t("builder.date_range_picker.month.august")},{number:9,name:r.R.t("builder.date_range_picker.month.september")},{number:10,name:r.R.t("builder.date_range_picker.month.october")},{number:11,name:r.R.t("builder.date_range_picker.month.november")},{number:12,name:r.R.t("builder.date_range_picker.month.december")}]},35110:function(e,t,i){"use strict";i.d(t,{BR:function(){return b},D9:function(){return f},EQ:function(){return j},JU:function(){return w},Mn:function(){return g},Qj:function(){return S},UU:function(){return y},Xf:function(){return C},cm:function(){return u},ee:function(){return p},fF:function(){return _},fI:function(){return c},mc:function(){return d},pY:function(){return A},sV:function(){return v},ss:function(){return k},tT:function(){return x},vo:function(){return h},wI:function(){return m}});var r=i(38267),n=i(99701),o=i(85363),a=i(24833),l=i(88355),s=i(49504);let d=r.Ay.div([""]),c=r.Ay.div(["width:100%;display:flex;flex-flow:row wrap;"]),u=r.Ay.div(["flex:1;display:flex;align-items:flex-end;&:first-child{margin-right:8px;}"]),p=r.Ay.div(["position:relative;"]),h=r.Ay.div(["",";border-radius:8px;position:absolute;top:8px;right:0;background-color:",";z-index:2;transition:transform 0.14s ease;transform-origin:50% 0;width:256px;box-shadow:0px 2px 4px -1px rgba(15,56,113,0.08),0px 8px 20px -4px rgba(15,56,113,0.12),0px 0px 1px 0px rgba(15,56,113,0.32);",";"],o.A.Shadow,n.Jy.White,e=>!e.$alignRight&&(0,r.AH)(["left:0;"])),x=r.Ay.div([""]),m=r.Ay.div(["padding:13px 24px 5px 24px;display:flex;align-items:center;justify-content:space-between;"]),g=r.Ay.div(["",";user-select:none;padding:0 16px;font-size:19px;line-height:38px;color:",";border-radius:19px;cursor:pointer;background-color:",";&:hover{color:",";background-color:",";}",";"],s.BO.Medium,e=>e.$isActive&&!e.$isDisabled?n.Jy.White:n.Jy.Neutral90,e=>e.$isActive&&!e.$isDisabled?n.Jy.Blue50:"transparent",e=>e.$isActive&&!e.$isDisabled?n.Jy.White:n.Jy.Blue50,e=>e.$isActive?n.Jy.Blue60:"#deeefc",e=>e.$isDisabled&&(0,r.AH)(["pointer-events:none;color:",";user-select:none;"],n.Jy.Neutral50)),y=r.Ay.div(["user-select:none;cursor:pointer;color:",";transition:color 0.1s ease;&:hover{color:",";}",";svg{pointer-events:none;}"],n.Jy.Neutral50,n.Jy.Blue50,e=>e.$isDisabled&&(0,r.AH)(["pointer-events:none;color:",";user-select:none;"],n.Jy.Neutral30)),f=(0,r.Ay)(y)(["transform:rotate(180deg);"]),b=r.Ay.div(["display:flex;justify-content:space-between;flex-wrap:wrap;margin:0px 12px 12px 12px;"]),_=r.Ay.div(["position:relative;user-select:none;cursor:pointer;font-size:19px;color:",";width:58px;height:38px;display:flex;align-items:center;justify-content:center;",";",";&:hover{color:",";}&:hover::before{content:'';width:58px;height:38px;border-radius:19px;background-color:",";display:block;position:absolute;left:0px;top:0px;z-index:-1;}"],e=>e.$isActive?n.Jy.White:n.Jy.Neutral90,e=>e.$isActive&&!e.$isDisabled&&(0,r.AH)(["&::before{content:'';width:58px;height:38px;border-radius:19px;background-color:",";display:block;position:absolute;left:0px;top:0px;z-index:-1;}"],n.Jy.Blue50),e=>e.$isDisabled&&(0,r.AH)(["pointer-events:none;color:",";user-select:none;"],n.Jy.Neutral50),e=>e.$isActive?n.Jy.White:n.Jy.Blue50,e=>e.$isActive?n.Jy.Blue60:"#deeefc"),v=r.Ay.div(["padding:0px 25px 20px 25px;"]),j=r.Ay.div(["display:flex;margin-bottom:12px;"]),A=r.Ay.label(["display:block;position:relative;flex:1;border-radius:3px;padding:11px 16px 11px;background-color:",";color:",";border-bottom:",";&:first-child{margin-right:8px;}"],n.Jy.Neutral10,e=>e.$isEmpty?n.Jy.Neutral50:n.Jy.Neutral90,e=>e.$hasError?`2px solid ${n.Jy.Red50}`:"none"),C=r.Ay.input.attrs({type:"month"})(["position:absolute;right:0;top:0;width:100%;height:100%;opacity:0;outline:none;border:none;&::-webkit-calendar-picker-indicator{position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;color:transparent;background:transparent;}&::-webkit-inner-spin-button{display:none;}&::-webkit-clear-button{display:none;}"]),w=r.Ay.div(["display:flex;align-items:center;",";color:",";margin-bottom:6px;"],s.o5.Caption,n.Jy.Neutral50),k=r.Ay.label(["color:",";"],e=>e.$hasError?n.Jy.Red50:n.Jy.Neutral50),S=(0,r.Ay)(l.Y)(["margin-left:6px;",";"],a.A.Tablet`
6891    display: none;
6892  `)},36666:function(e,t,i){"use strict";i.d(t,{Cq:function(){return a},Cy:function(){return s},K_:function(){return h},Lf:function(){return g},Rd:function(){return l},Wo:function(){return c},Wz:function(){return x},YZ:function(){return y},Yu:function(){return d},lO:function(){return p},rL:function(){return m},t_:function(){return u}}),i(18111),i(20116);var r=i(69685),n=i(20646),o=i(7696);let a=e=>{if(!e)return null;let t=(0,o.S)().find(t=>e.length<=3?e.toLowerCase()===t.name.toLowerCase().substr(0,e.length):e.toLowerCase().includes(t.name.toLowerCase()));if(t)return t.number;let i=e.match(/(0\d|1[012]|\d)\s?[\s/,]?\s?/);return i?+i[1]:null},l=e=>{let t=new Date().getFullYear();if(!e)return t;let i=e.match(/(19|20)\d\d/);if(i)return+i[0];let r=e.match(/.+\s?[\s/,]+\s?(\d{2})/);return r?+r[1]<t%100+10?+("20"+r[1]):+("19"+r[1]):t},s=(e,t={})=>{let i,{isDatePresent:a=!1,isMonthHidden:l=!1}=t;if(e){let t=(0,r._U)(e);i="number"==typeof t?new Date(t):t}else i=new Date;let s=i.getFullYear(),d=e&&!l?i.getMonth()+1:null;return[a?n.R.t("builder.date_range_picker.present"):e?l?`${s}`:`${(0,o.S)().find(e=>e.number===d)?.name}, ${s}`:"",d,s]},d=(e,t,i={})=>{let{isDateHidden:n}=i,o=new Date(t,e?e-1:0,1);
6892return n?null:(0,r.Yq)(o,"yyyy-MM-dd")},c=e=>!!e&&(""+e).toLowerCase()===n.R.t("builder.date_range_picker.present").toLowerCase(),u=e=>!e,p=e=>!!e&&!!(""+e).match(/^\s*(19|20)\d{2}\s*$/),h=(e,t,i={})=>{let{prevValue:r,isDatePresent:a=!1}=i;return"prevValue"in i&&u(r)?r??null:a||c(r)?n.R.t("builder.date_range_picker.present"):e?`${(0,o.S)().find(t=>t.number===e)?.name}, ${t}`:`${t}`},x=(e,t)=>!!t&&e>t,m=(e,t)=>!!t&&e<t,g=(e,t,i,r)=>{let n=!!r&&!!i&&!!e&&r===t&&e>i;return x(t,r)||n},y=(e,t,i,r)=>{let n=!!r&&!!i&&!!e&&r===t&&e<i;return m(t,r)||n}},43219:function(e,t,i){"use strict";i.d(t,{a:function(){return j}});var r=i(74848),n=i(96540),o=i(16466),a=i(86066),l=i(62317),s=i(38267),d=i(99701),c=i(49504),u=i(14649),p=i(24833),h=i(59332);let x=s.Ay.div(["background-color:",";width:","px;border-radius:12px;",";"," padding:",";",""],d.Jy.White,({$width:e})=>e,p.A.Phone`
6893    max-width: none;
6894    padding: 20px;
6895  `,({$fullScreen:e})=>e&&(0,s.AH)(["position:fixed;bottom:0;"]),d.Kz.L,({$maxHeight:e})=>e&&(0,s.AH)(["max-height:",";display:flex;flex-direction:column;overflow:hidden;"],e)),m=(0,s.Ay)(h.P)(["flex:1;min-height:0;"]),g=s.Ay.div(["margin-top:",";"],d.Kz.S),y=s.Ay.div(["margin-left:16px;height:28px;width:28px;flex:0 0 auto;background-color:",";color:",";border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;&:hover{color:",";background-color:",";}",""],d.Jy.Neutral10,d.Jy.Neutral50,d.Jy.Blue50,d.Jy.Blue10,p.A.Phone`
6896    height: 24px;
6897    width: 24px;
6898  `),f=s.Ay.div(["display:flex;justify-content:space-between;margin-bottom:",";",""],d.Kz.XS,p.A.Phone`
6899    margin-bottom: ${d.Kz.XS};
6900
6901  `),b=s.Ay.div(["",";",";color:",";"],c.Ay.S,c.BO.DemiBold,d.Jy.Neutral90),_=(0,s.Ay)(u.Ay.Close)(["height:20px;width:20px;"]),v=s.Ay.div(["",";",";color:",";"],c.Ay.Body,c.BO.Regular,d.Jy.Neutral50),j=({children:e,title:t,subtitle:i,onClose:s,width:d,className:c,padding:u,disableAutoCloseOutside:p,maxHeight:h,scrollableContent:j,footer:A})=>{let{isPhone:C}=(0,a.e)(),w=(0,n.useRef)(null),[k,S]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{S(!0)},[]),(0,l.L)(w,()=>k&&!p&&s()),(0,r.jsx)(o.A,{overlayFadeDuration:350,contentSlideDuration:350,onClose:s,children:(0,r.jsxs)(x,{$width:d||C?343:544,className:c,$padding:u,$maxHeight:h,ref:w,children:[(0,r.jsxs)(f,{children:[(0,r.jsx)(b,{children:t}),(0,r.jsx)(y,{onClick:s,children:(0,r.jsx)(_,{})})]}),j?(0,r.jsxs)(m,{children:[i&&(0,r.jsx)(v,{children:i}),e]}):(0,r.jsxs)(r.Fragment,{children:[i&&(0,r.jsx)(v,{children:i}),e]}),A&&(0,r.jsx)(g,{children:A})]})})}},82351:function(e,t,i){"use strict";i.d(t,{a:function(){return S.a},A:function(){return T}}),i(44114);var r=i(74848),n=i(96540),o=i(5556),a=i.n(o),l=i(16466),s=i(82058),d=i(91779),c=i(20646),u=i(12330),p=i(38267),h=i(14649),x=i(99701),m=i(49504),g=i(24833);let y=p.Ay.div(["position:relative;width:100%;max-width:540px;background-color:",";border-radius:6px;z-index:999;padding:32px 40px;",";"],x.Jy.White,g.A.Phone`
6902    padding: 20px;
6903  `),f=p.Ay.div(["position:absolute;top:0;right:0;padding:20px;color:",";cursor:pointer;transition:color 0.1s;&:hover{color:",";}"],x.Jy.Neutral30,x.Jy.Blue50),b=(0,p.Ay)(h.Ay.CloseLarge)(["display:block;"]),_=p.Ay.div(["",";font-weight:600;margin-bottom:4px;"],m.Ay.S),v=p.Ay.div(["margin-bottom:60px;",";"],g.A.Phone`
6904    margin-bottom: 32px;
6905  `),j=p.Ay.div(["display:flex;align-items:center;justify-content:space-between;",";"],g.A.Phone`
6906    flex-flow: column;
6907  `),A=p.Ay.div(["display:flex;align-items:center;justify-content:flex-end;",";"],g.A.Phone`
6908    width: 100%;
6909    justify-content: center;
6910  `),C=p.Ay.div(["display:flex;align-items:center;flex-grow:1;flex-shrink:1;",";"],g.A.Phone`
6911    margin-bottom: 24px;
6912  `),w=(0,p.Ay)(d.Ay)(["margin-right:12px;"]);class k extends n.Component{static propTypes={title:a().string,text:a().string,primaryButtonText:a().string,secondaryButtonText:a().string,isOpen:a().bool,swapButtons:a().bool,dontShowAgainId:a().string,closeAction:a().func,primaryAction:a().func,dontShowAgaianClicked:a().func,secondaryAction:a().func};static defaultProps={title:"Title",primaryButtonText:"Confirm",secondaryButtonText:"Cancel",text:"",dontShowAgainId:void 0,isOpen:!1,swapButtons:!1,primaryAction:()=>{},dontShowAgaianClicked:()=>{},secondaryAction:()=>{}};state={dontShowAgain:!1,dontShowAgainItem:!1};componentDidUpdate(e){!e.isOpen&&this.props.isOpen&&this.state.dontShowAgainItem&&this.props.primaryAction(),!e.isOpen&&this.props.isOpen&&this.setState({dontShowAgain:!1}
6912)}static getDerivedStateFromProps(e,t){return{dontShowAgainItem:JSON.parse(u.D.getItem(`DO_NOT_SHOW_DIALOG_MODAL_${e.dontShowAgainId}`))}}handleCheckboxChange=e=>{this.setState({dontShowAgain:e.target.checked}),this.props.dontShowAgaianClicked()};handleConfirm=()=>{this.state.dontShowAgain&&u.D.setItem(`DO_NOT_SHOW_DIALOG_MODAL_${this.props.dontShowAgainId}`,!0),this.props.primaryAction()};get buttonsProps(){let{swapButtons:e,primaryButtonText:t,secondaryAction:i,secondaryButtonText:r}=this.props,n={onClick:this.handleConfirm,children:t},o={onClick:i,children:r},a=[n];return this.props.secondaryAction&&(e?a.unshift(o):a.push(o)),a}render(){let{dontShowAgainId:e,title:t,text:i,closeAction:n,isOpen:o}=this.props,a=this.buttonsProps;return o&&!this.state.dontShowAgainItem&&(0,r.jsx)(l.A,{onClick:n,overlayFadeDuration:150,contentSlideDuration:150,children:(0,r.jsxs)(y,{children:[n&&(0,r.jsx)(f,{onClick:n,children:(0,r.jsx)(b,{})}),(0,r.jsx)(_,{children:t}),(0,r.jsx)(v,{children:i}),(0,r.jsxs)(j,{children:[(0,r.jsx)(C,{children:e&&(0,r.jsx)(s.A,{label:c.R.t("builder.resume_editor.dont_ask_again"),onChange:this.handleCheckboxChange,checked:this.state.dontShowAgain})}),(0,r.jsxs)(A,{children:[(0,r.jsx)(w,{theme:"ghost",...a[0]}),a.length>1?(0,r.jsx)(d.Ay,{...a[1]}):null]})]})]})})}}var S=i(43219),T=k},53404:function(e,t,i){"use strict";i.d(t,{Jz:function(){return m},UC:function(){return s},UY:function(){return h},i:function(){return d},sc:function(){return x},xm:function(){return u},z8:function(){return c}});var r=i(38267),n=i(99701),o=i(49504),a=i(85783),l=i(24833);let s=r.Ay.div(["flex:1 0 0;height:100%;width:100%;padding:0 36px 20px;overflow-y:visible;"," ",""],e=>e.$isPreviewZoomed&&(0,r.AH)(["position:fixed;overflow-y:unset;z-index:5;"]),l.A.Phone`
6913    padding: 0 4px;
6914  `),d=r.Ay.div(["position:relative;margin:16px auto;max-width:559px;",""],l.A.Phone`
6915    margin: 4px auto;
6916    max-width: 100%;
6917  `),c=r.Ay.div(["display:flex;justify-content:center;align-items:center;margin-top:6px;",";color:",";text-align:center;"],o.Ay.Tiny,n.Jy.Neutral50),u=r.Ay.div(["display:inline-block;margin:0 4px;font-variant-numeric:tabular-nums;"]),p=r.Ay.div(["display:inline-block;",""],e=>!e.isEnabled&&(0,r.AH)(["cursor:unset;pointer-events:none;color:",";"],n.Jy.Neutral30)),h=(0,r.Ay)(p)(["transform:scaleX(-1);"]),x=(0,r.Ay)(p)([""]),m=(0,r.Ay)(a.E).attrs({size:"medium",variant:"neutral"})(["position:absolute;z-index:5;top:8px;right:8px;transform:translateZ(0);"])},91023:function(e,t,i){"use strict";i.d(t,{N:function(){return o},p:function(){return r}});let r={amsterdam:{primary:{name:"Montserrat",id:"MontserratFamily"}},athens:{primary:{name:"Source Sans",id:"SourceSansFamily"},secondary:{name:"IBM Plex Sans",id:"IbmPlexSansFamily"}},barcelona:{primary:{name:"PT Serif",id:"PTSerifFamily"},secondary:{name:"Ubuntu",id:"UbuntuFamily"}},berlin:{primary:{name:"Montserrat",id:"MontserratFamily"},secondary:{name:"Montserrat",id:"MontserratFamily"}},boston:{primary:{name:"Norms",id:"NormsFamily"},secondary:{name:"Travels",id:"TravelsFamily"}},brussels:{primary:{name:"IBM Plex Sans",id:"IbmPlexSansFamily"}},cape_town:{primary:{name:"Inter",id:"InterFamily"}},chicago:{primary:{name:"Lato",id:"LatoFamily"},secondary:{name:"Playfair Display",id:"PlayfairDisplayFamily"}},copenhagen:{primary:{name:"Lato",id:"LatoFamily"}},dublin:{primary:{name:"Lato",id:"LatoFamily"},secondary:{name:"PT Serif",id:"PTSerifFamily"}},geneva:{primary:{name:"Arimo",id:"ArimoFamily"},secondary:{name:"Nimbus Roman",id:"NimbusRoman"}},helsinki:{primary:{name:"Open Sans",id:"OpensansFamily"}},seoul:{primary:{name:"Open Sans",id:"OpensansFamily"},secondary:{name:"PT Serif",id:"PTSerifFamily"}},specialist_traditional1:{primary:{name:"Garamond",id:"GaramondFamily"},secondary:{name:"Open Sans",id:"OpensansFamily"}},entry_level:{primary:{name:"Open Sans",id:"OpensansFamily"},secondary:{name:"PT Serif",id:"PTSerifFamily"}},lisbon:{primary:{name:"Norms",id:"NormsFamily"},secondary:{name:"Travels",id:"TravelsFamily"}},london:{primary:{name:"TimesNewRoman",id:"TimesNewRomanFamily"}},madrid:{primary:{name:"Lato",id:"LatoFamily"}},milan:{primary:{name:"Lato",id:"LatoFamily"}},moscow:{primary:{name:"Inter",id:"InterFamily"}},new_york:{primary:{name:"Source Sans",id:"SourceSansFamily"},secondary:{name:"Oswald",id:"OswaldFamily"}},oslo:{primary:{name:"Open Sans",id:"OpensansFamily"},secondary:{name:"Playfair Display",id:"PlayfairDisplayFamily"}},paris:{primary:{name:"Garamond",id:"GaramondFamily"}}
6917,prague:{primary:{name:"Roboto",id:"RobotoFamily"},secondary:{name:"Georgia",id:"GeorgiaFamily"}},rio:{primary:{name:"Jost",id:"JostFamily"},secondary:{name:"Le Murmure",id:"LeMurmureFamily"}},rirekisho:{primary:{name:"Noto Serif JP",id:"NotoSerifJP"}},rome:{primary:{name:"Montserrat",id:"MontserratFamily"},secondary:{name:"Zangezi",id:"ZangeziFamily"}},santiago:{primary:{name:"Garamond",id:"GaramondFamily"}},shanghai:{primary:{name:"IBM Plex Sans",id:"IbmPlexSansFamily"},secondary:{name:"Roboto New",id:"RobotoNewFamily"}},shokumukeirekisho:{primary:{name:"Noto Serif JP",id:"NotoSerifJP"}},singapore:{primary:{name:"Liberation Sans",id:"LiberationSansFamily"}},stockholm:{primary:{name:"Source Sans",id:"SourceSansFamily"}},sydney:{primary:{name:"Lato",id:"LatoFamily"},secondary:{name:"Oswald",id:"OswaldFamily"}},tokyo:{primary:{name:"Lato",id:"LatoFamily"},secondary:{name:"Roboto New",id:"RobotoNewFamily"},tertiary:{name:"Open Sans",id:"OpensansFamily"}},toronto:{primary:{name:"IBM Plex Sans",id:"IbmPlexSansFamily"},secondary:{name:"IBM Plex Mono",id:"IBMPlexMonoFamily"}},vancouver:{primary:{name:"Ubuntu",id:"UbuntuFamily"}},vienna:{primary:{name:"IBM Plex Sans",id:"IbmPlexSansFamily"}},academic:{primary:{name:"Open Sans",id:"OpensansFamily"},secondary:{name:"PT Serif",id:"PTSerifFamily"}}};var n,o=((n={}).A4="A4",n.US_LETTER="US_LETTER",n)},48707:function(e,t,i){"use strict";i.d(t,{z:function(){return d}}),i(18111),i(20116),i(61701);var r=i(96540),n=i(70738),o=i(18509),a=i(10494),l=i(77378);i(8037);var s=i(91023);let d=e=>{let t=(0,o.N)(t=>a.Tp.templatesByType(t,e?.type))??[],{i18n:i}=(0,l.s)(),d=t.find(t=>t.id===e?.template),c=e&&"templateSettings"in e?e?.templateSettings:void 0,u=e?.template&&c?.[(0,n.x)(e?.template)],{supportsLayoutFormats:p,supportsNewCustomization:h,supportsCustomColor:x,settings:m}=d||{},g=(0,r.useMemo)(()=>[{id:s.N.A4,name:i.t("builder.resume_editor.document_customization.sidebar.layout_tab.layout_format_a4"),factor:.71},{id:s.N.US_LETTER,name:i.t("builder.resume_editor.document_customization.sidebar.layout_tab.layout_format_us_letter"),factor:.773}],[i]);return{resume:e,templates:t,currentTemplate:d,letterFormatOptions:(0,r.useMemo)(()=>(Array.isArray(g)?g:Object.values(g)).map(e=>({id:e.id,name:e.name})),[g]),supportsLayoutFormats:p,selectedLayoutFormatOption:(0,r.useMemo)(()=>u?.format?u.format:m?.format||s.N.A4,[u?.format,m?.format]),templateName:e?.template,templatesSettings:c,resumeSpecificTemplateSettings:u,supportsCustomColor:x,supportsNewCustomization:h}}},97846:function(e,t,i){"use strict";i.d(t,{h7:function(){return s},vp:function(){return u},ze:function(){return l.z},Gd:function(){return d}});var r=i(81247),n=i(33093),o=i(32606),a=i(70738),l=i(48707);let s=(e,t,i)=>{let{settingsName:r,value:n}=t;if(!e)return null;let o=(0,a.x)(e);return{...i,[o]:{...i?i[o]:{},[r]:n}}},d=e=>{let t=(0,r.wA)(),{templatesSettings:i}=(0,l.z)(e);return{updateTemplateSettings:r=>{let{settingsName:a,value:l}=r,d=s(e?.template,{settingsName:a,value:l},i);if(!d)return;t(o.o1.updateSimpleField({name:"templateSettings",value:d}));let c={marginsBetweenCards:"resume_between_content_blocks_paddings",marginsInsideContentBlock:"resume_inside_content_block_paddings",verticalPageMargins:"resume_top_bottom_margins",horizontalPageMargins:"resume_left_right_margins",marginsBetweenSections:"resume_between_sections_paddings",marginsBetweenSectionNameAndContent:"resume_titles_content_paddings",fontSizePrimaryHeading:"font_size_primary_heading",fontSizeSecondaryHeading:"font_size_secondary_heading",fontSizeBody:"font_size_body",fontSizeSectionTitles:"font_size_section_titles",primaryFontWeight:"font_weight_primary",secondaryFontWeight:"font_weight_secondary",bodyFontWeight:"font_weight_body",sectionTitlesFontWeight:"font_weight_section_titles",headerAlignment:"header_alignment",dateAlignment:"date_alignment",locationAlignment:"location_alignment",dateFormat:"date_format",headerAndFooter:"resume_header_footer_margins",skillsLayout:"resume_skills_layout",skillsDivider:"resume_skills_divider",categorizedSkillsLayout:"resume_categorized_skills_layout",educationLayout:"resume_education_layout",educationOrder:"resume_education_order"};c[a]&&(0,n.xP)("customise_resume_template",{template:e?.template,label:c[a],new_value:l})}}};var c=i(8037);let u=e=>Math.min(Math.max(e,c.Es.min),c.Es.max)},49646:function(e,t,i){"use strict";i.d(t,{AZ:function(){return T},CJ:function(){return S},FL:function(){return j},FO:function(){return E},JP:function(){return _},MX:function(){return b},No:function(){return J},O2:function(){return y},UC:function(){return m},US:function(){return x},XX:function(){return k},ZD:function(){return P},eM:function(){return C},hE:function(){return h},kV:function(){return A},mO:function(){return p},mc:function(){return u},np:function(){return g},qU:function(){return v},vE:function(){return f},z4:function(){return w}});var r=i(38267),n=i(99701),o=i(91779),a=i(49504),l=i(24833),s=i(14649),d=i(67592),c=i(57119);let u=r.Ay.div(["background:",";padding:32px;border-radius:16px;",""],n.Jy.White,l.A.Phone`
6918    padding: 20px;
6919    border-radius: 12px;
6920  `),p=r.Ay.div(["display:flex;justify-content:space-between;gap:8px;"]),h=r.Ay.div([""," ",";color:",";width:436px;",""],a.Ay.S,a.BO.DemiBold,n.Jy.Neutral90,l.A.Phone`
6921    width:292px
6922  `),x=(0,r.Ay)(s.Ay.AddSmall)(({showHoverState:e})=>(0,r.AH)(["fill:",";background:",";border-radius:50%;position:relative;float:right;height:28px;width:28px;transform:rotate(225deg);"," ",""],n.Jy.Neutral70,n.Jy.Neutral10,e?`&:hover {
6923          background: ${n.Jy.Blue50};
6924          fill: ${n.Jy.White};
6925          cursor: pointer;
6926        }`:"",l.A.Phone`
6927        height: 24px;
6928        width: 24px;
6929        z-index: 2;
6930      `)),m=r.Ay.div(["margin-top:12px;"," ",";color:",";width:449px;",""],a.Ay.Body,a.BO.Regular,n.Jy.Neutral50,l.A.Phone`
6931    width: 303px; 
6932  `),g=r.Ay.div(["padding:16px;background:",";margin-top:24px;display:flex;",""],n.Jy.Blue10,l.A.Phone`
6933  padding: 12px;
6934  margin-top: 8px;
6935  `),y=r.Ay.div(["margin-top:24px;",""],l.A.Phone`
6936  margin-top: 20px;
6937  `),f=r.Ay.img(["width:48px;height:48px;",";border-radius:12px;",";"],d.A.lightWithBorder.low,l.A.Phone`
6938        width: 32px;
6939        height: 32px;
6940        border-radius: 4px;
6941      `),b=r.Ay.div(["display:flex;flex-direction:column;justify-content:center;margin-left:16px;",""],l.A.Phone`
6942  margin-left: 12px;
6943  `),_=r.Ay.div([""," "," max-width:221px;height:20px;border-radius:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:8px;",";"],a.Ay.Body,a.BO.Regular,l.A.Phone`
6944      max-width: 192px;  
6945      height: 16px; 
6946      margin-bottom: none
6947    `),v=(0,r.Ay)(s.EK.Edit)(["color:",";cursor:pointer;&:hover{color:",";}"],n.Jy.Neutral30,n.Jy.Blue50),j=(0,r.Ay)(s.EK.Revert)(["fill:",";"],e=>!0===e.isRefresh?n.Jy.Blue50:n.Jy.Neutral30),A=r.Ay.div([""," "," color:",";"],a.Ay.Caption,a.BO.Regular,n.Jy.Neutral50),C=r.Ay.div(["margin-top:32px;display:flex;justify-content:space-between;",""],l.A.Phone`
6948  margin-top: 20px;
6949  `),w=(0,r.Ay)(s.Ay.Revert)([""]),k=r.Ay.div(({isDisabled:e})=>(0,r.AH)(["padding:13px 0px;"," ",";color:",";background:",";align-items:center;cursor:",";display:flex;gap:8px;&:hover{color:",";}",""],a.Ay.Caption,a.BO.DemiBold,e?n.Jy.Neutral30:n.Jy.Blue50,n.Jy.White,e?"default":"pointer",e?n.Jy.Neutral30:n.Jy.Blue60,l.A.Phone`
6950      padding: 8px 0px;
6951    `)),S=(0,r.Ay)(o.Ay)(["padding:12px 24px 12px 20px;gap:4px;background:",";color:",";",";",";"," &:hover{background-color:",";}"],n.Jy.Indigo50,n.Jy.White,a.Ay.Body,a.BO.Medium,l.A.Phone`
6952    ${a.Ay.Caption};
6953    padding: 7px 12px 7px 8px;
6954    height: 34px;
6955  `,n.Jy.Indigo60),T=r.Ay.div(["display:flex;float:right;"]),P=(0,r.Ay)(o.Ay)(["margin-right:8px;"]),J=(0,r.Ay)(o.Ay)([""]);a.Ay.S,a.BO.DemiBold,n.Jy.Neutral90;let E=(0,r.Ay)(c.A)(["input{color:",";"," "," margin-bottom:16px;}"],n.Jy.Neutral90,a.Ay.Body,a.BO.Regular)},46450:function(e,t,i){"use strict";i.d(t,{Ds:function(){return o},I:function(){return n},K3:function(){return a},X1:function(){return l}});var r=i(32606);let n=({field:e,section:t,templateConfig:i})=>{if(i&&"string"==typeof t){let r=i.sectionsConfig?.[t];if(r){let t=r.hiddenFields;return!t||!t.includes(e)}}return!0},o=({section:e,templateConfig:t})=>{if(t&&"string"==typeof e){let i=t.sectionsConfig?.[e];return!i||!i.isHidden}return!0},a={[r.Gw.skills]:"builder.resume_editor.area_of_expertise",[r.Gw.workExperiences]:"builder.resume_editor.professional_experience",[r.Gw.socialProfiles]:"builder.resume_editor.links",[r.Gw.internships]:"builder.resume_editor.additional_experience",[r.Gw.courses]:"builder.resume_editor.professional_training",[r.Gw.activities]:"builder.resume_editor.extra_curricular_activities",[r.Gw.conferences]:"builder.resume_editor.conferences_section.title",[r.Gw.volunteerings]:"builder.resume_editor.volunteerings_section.title",[r.Gw.educations]:"builder.resume_editor.education",[r.Gw.hobbies]:"builder.resume_editor.hobbies_section.title",[r.Gw.languages]:"builder.resume_editor.languages_section.title",[r.Gw.references]:"builder.resume_editor.references_section.title",[r.Gw.accomplishments]:"builder.resume_editor.accomplishments_section.title",[r.Gw.publications]:"builder.resume_editor.publications_section.title",[r.Gw.metadata]:"builder.resume_editor.metadata_section.title",[r.Gw.awards]:"builder.resume_editor.awards",[r.Gw.affiliations]:"builder.resume_editor.affiliations",[r.Gw.licensesAndCertifications]:"builder.resume_editor.licenses_and_certifications",[r.Gw.technicalProficiencyCategories]:"builder.resume_editor.technical_proficiencies",[r.Gw.profile]:"builder.resume_editor.professional_summary.title"},l=e=>t=>e(a[t])},46912:function(e,t,i){"use strict";i.d(t,{a:function(){return x}}),i(18111),i(18237);var r=i(81247),n=i(33093);let o=(e,t)=>{let i=document.querySelector(e);
6955if(i)for(let[e,r]of Object.entries(t))i.style[e]=r};i(85922);var a=i(32606),l=i(57238),s=i(64961),d=i(41193),c=i(86066),u=i(18509),p=i(56075),h=i(46335);let x=()=>{let e=(0,d.J)(),t=(0,r.wA)(),{isPhone:i,isTablet:p}=(0,c.e)(),x=(0,u.N)(e=>e.ui.builderTour),m=e?.uiStates?.builderTourCompleted,g=x.isRunning&&!1,y=x.isStartModalOpen&&!1,f=()=>{m||(t(s.o1.setUIStatesConfigStatus({builder_tour_completed:!0})),t(l.o1.setUIUserState({builderTourCompleted:!0})))},b=e=>{let i=Object.values(a.Gw).reduce((t,i)=>(t[i]=e,t),{});t(a.o1.setOpenedSections(i))},_=({showSkipButton:e=!0,...t})=>{},v=()=>{requestAnimationFrame(()=>{o(".__floater",h.hH),o(".react-joyride__overlay",h.hH)})},j=(e,t)=>{setTimeout(()=>{_({isRunning:!0,isStartModalOpen:!1,stepIndex:e,stepName:t})},500)};return{isTourRunning:g,isStartModalOpen:y,isTourEnabled:!1,isTourCompleted:m,stepName:x.stepName,stepIndex:x.stepIndex,showSkipButton:x.showSkipButton,skipAll:()=>{},onEndTour:()=>{(0,n.xP)("rb_onboarding_completed"),_({isRunning:!1,isStartModalOpen:!1,stepIndex:0,showSkipButton:!1,isTourActive:!1}),f()},toggleTour:_,skipTourStep:(e,t)=>{},selectTemplate:e=>{},setTourCompleted:f,toggleAllSections:b,setAnimationStyles:v,toggleDelayedTour:j,startInitTourModal:()=>{},onUpdateDragSections:()=>{},onChangePhrasesSuggestions:()=>{}}}},56075:function(e,t,i){"use strict";i.d(t,{J:function(){return o},g:function(){return a}});var r,n,o=((r={})[r.CUSTOMIZE_TEMPLATE=0]="CUSTOMIZE_TEMPLATE",r[r.SELECT_TEMPLATE=1]="SELECT_TEMPLATE",r[r.SELECT_COLOR=2]="SELECT_COLOR",r),a=((n={})[n.EDIT_RESUME=0]="EDIT_RESUME",n[n.DRAG_SECTIONS=1]="DRAG_SECTIONS",n[n.PHRASES_SUGGESTIONS=2]="PHRASES_SUGGESTIONS",n[n.DOWNLOAD_RESUME=3]="DOWNLOAD_RESUME",n)},46335:function(e,t,i){"use strict";i.d(t,{C0:function(){return d},Gy:function(){return o},Mu:function(){return n},NT:function(){return u},R3:function(){return a},WC:function(){return s},hH:function(){return l},ow:function(){return c}});var r=i(33093);let n=1e4,o="builder.resume_editor.tour_steps",a={opacity:0,transition:"none",animation:"fadeIn 350ms ease-in-out 150ms forwards"},l={opacity:1,animation:"fadeOut 350ms ease-in-out"},s=()=>({zIndex:1e4,overlayColor:"rgba(0, 0, 0, 0.01)"}),d=e=>({floater:{filter:"none",...e?{}:a},floaterOpening:e?{}:{opacity:0},floaterWithAnimation:e?{}:{opacity:0}}),c=()=>{let e=document.querySelector(".react-joyride__overlay");e&&(e.onclick=()=>(0,r.xP)("rb_onboarding_misclick"))},u=()=>!!document.getElementById("phrases-suggestion-toggler")},39601:function(e,t,i){"use strict";i.d(t,{b:function(){return c}});var r=i(74848),n=i(81247),o=i(60195),a=i(77378),l=i(32606),s=i(18509);let d={disableBeacon:!0,placement:"top",disableScrolling:!1,spotlightClicks:!0,disableOverlayClose:!1,disableCloseOnEsc:!1},c=()=>{let{i18n:e}=(0,a.s)(),t=(0,n.wA)(),i=(0,s.N)(l.Tp.highlightedElementData);return(0,s.N)(l.Tp.autoTailoringFromJobBoard).enabled?null:i?(0,r.jsx)(o.Zl,{run:!0,steps:[{...d,...i}],styles:{options:{zIndex:1e4}},callback:e=>{let{action:r,lifecycle:n}=e;"complete"===n&&(["skip","close"].includes(r)&&t(l.o1.closeHighlightedElement(e)),"close"===r&&i?.onClose?.(),"skip"===r&&i?.onSkip?.())},isStepsCountEnabled:!1,finalButtonLabel:i.buttonLabel||e.t("builder.resume_editor.element_highlight.default_button_text"),showSkipOnLast:i.showSkipOnLast,skipButtonLabel:i.skipButtonLabel,nextButtonProps:i.nextButtonProps,skipButtonProps:i.skipButtonProps}):null}},6490:function(e,t,i){"use strict";i.d(t,{A9:function(){return h},H2:function(){return g},J3:function(){return d},US:function(){return f},Vi:function(){return y},gJ:function(){return m},hw:function(){return p},jy:function(){return c},nU:function(){return x},oV:function(){return u},vE:function(){return b}});var r=i(38267),n=i(99701),o=i(14649),a=i(64608),l=i(24833);let s=(0,r.i7)(["from{transform:translateY(30%);}to{transform:translateY(0%);}"]),d=r.Ay.div(["width:544px;height:556px;border-radius:16px;z-index:3;animation:"," 0.3s ease-out forwards;",";"],s,l.A.Phone`
6956    width: 343px;
6957    height: 410px;
6958  `),c=r.Ay.div(["width:544px;height:300px;background:",";border-top-left-radius:16px;border-top-right-radius:16px;overflow:hidden;",";"],n.Jy.Neutral100,l.A.Phone`
6959    width: 343px;
6960    height: 188px;
6961  `),u=r.Ay.div(["position:relative;width:544px;height:96px;top:-20%;background:linear-gradient(180deg,rgba(15,20,30,0) 0%,rgba(15,20,30,0.8) 100%);z-index:4;",";"],l.A.Phone`
6962    width: 343px;
6963    height: 48px;
6964    top: -63%;
6965  `),p=r.Ay.div(["width:544px;background:",";border-bottom-left-radius:16px;border-bottom-right-radius:16px;padding:32px;overflow:hidden;display:flex;flex-direction:column;",";"],n.Jy.White,l.A.Phone`
6966    width: 343px;
6967    padding: 20px;
6968  `),h=r.Ay.div(["display:flex;flex-direction:column;position:relative;width:352px;height:236px;border-radius:16px;top:60px;left:96px;background:",",linear-gradient(180deg,rgba(30,37,50,0.8) 0%,rgba(30,37,50,0) 100%);",""],"radial-gradient(100% 116.2% at 0% 0%, rgba(73, 81, 99, 0.2) 0%, rgba(0, 0, 0, 0) 100%)",l.A.Phone`
6969    width:279px;
6970    left:32px;
6971    top: 0px;
6972    z-index:1;
6973  `),x=(0,r.Ay)(o.Ay.Spinner)(["color:",";animation:"," 0.5s linear infinite;"],n.Jy.Blue50,a.ni),m=(0,r.Ay)(o.Ay.Success)(["fill:",";"],n.Jy.Green50),g=(0,r.Ay)(o.EK.WarningCircle)(["color:",";width:16px;height:16px;"],n.Jy.Red50),y=r.Ay.div(({showHoverState:e})=>(0,r.AH)(["",""],e?"":(0,r.AH)(["& svg{&:hover{background:",";fill:",";cursor:default;}}"],n.Jy.White,n.Jy.Neutral70))),f=(0,r.Ay)(o.Ay.AddSmall)(["fill:",";background:",";border-radius:50%;position:",";left:484px;top:32px;height:28px;width:28px;cursor:pointer;transform:rotate(225deg);z-index:",";&:hover{background:",";fill:",";}",""],n.Jy.Neutral70,n.Jy.White,e=>e.absolutePosition?"absolute":"relative",e=>e.absolutePosition?"1":"unset",n.Jy.Blue50,n.Jy.White,l.A.Phone`
6974    height: 24px;
6975    width: 24px;
6976    left: 299px;
6977    top: 20px;
6978    z-index: 2;
6979  `),b=r.Ay.img(({size:e})=>(0,r.AH)(["width:","px;height:","px;",";border-radius:4px;",";"],e,e,n.qd.lightWithBorderShadowLow,l.A.Phone`
6980      width: ${e}px;
6981      height: ${e}px;
6982    `))},33451:function(e,t,i){"use strict";i.d(t,{w:function(){return R}});var r=i(74848),n=i(86066),o=i(97846),a=i(96540),l=i(74755),s=i(20646),d=i(14649),c=i(33633),u=i(23217),p=i(30586),h=i(99701),x=i(38267),m=i(24833);let g=x.Ay.div(["position:relative;z-index:1;.react-transform-wrapper{overflow:unset;}"]),y=x.Ay.button(["border:none;outline:none;position:absolute;background-color:",";border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:",";"],h.Jy.White,h.qd.lightWithBorderShadowMid),f=(0,x.Ay)(y)(["top:50%;left:50%;transform:translate(-50%,-50%);color:",";"],h.Jy.Blue50),b=(0,x.Ay)(y)(["position:fixed;top:24px;right:20px;color:",";",""],h.Jy.Neutral80,m.A.Phone`
6983    bottom: 32px;
6984    right: 16px;
6985    top:unset;
6986  `),_=x.Ay.div(["position:fixed;bottom:32px;left:50%;transform:translateX(-50%);display:flex;height:48px;border-radius:24px;background-color:",";box-shadow:",";"],h.Jy.White,h.qd.lightWithBorderShadowMid),v=x.Ay.button(["border:none;outline:none;background-color:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:0 0 48px;min-width:48px;color:",";user-select:none;&:disabled{color:",";pointer-events:none;}"],h.Jy.Neutral70,h.Jy.Neutral30),j=x.Ay.div(["display:flex;align-items:center;justify-content:center;flex:auto;min-width:60px;border-left:0.5px solid ",";border-right:0.5px solid ",";color:",";"],h.Jy.Neutral15,h.Jy.Neutral15,h.Jy.Neutral80),A=()=>{let{zoomIn:e,zoomOut:t,instance:i}=(0,u._5)(),[n,o]=(0,a.useState)(i.transformState.scale),l=`${Math.round(100*n)}%`;return(0,u.Be)(({state:e})=>{o(e.scale)}),(0,r.jsxs)(_,{children:[(0,r.jsx)(v,{onClick:()=>t(.25),disabled:n<=1,children:(0,r.jsx)(p.qJ.Remove,{})}),(0,r.jsx)(j,{children:l}),(0,r.jsx)(v,{onClick:()=>e(.25),disabled:n>=3,children:(0,r.jsx)(p.qJ.Add,{})})]})},C=(0,a.memo)(e=>{let{children:t,onExpandStateChange:i}=e,[n,o]=(0,a.useState)(!1),l=(0,a.useRef)(null),s=(0,a.useRef)(i);return(0,a.useEffect)(()=>{s.current=i},[i]),(0,a.useEffect)(()=>
6986{if(l.current)if(n){let{scale:e}=l.current.instance.transformState;l.current.centerView(e+.5),s.current?.(!0)}else{l.current.resetTransform();let e=setTimeout(()=>{s.current?.(!1)},100);return()=>clearTimeout(e)}},[n]),(0,r.jsx)(g,{children:(0,r.jsxs)(u.GT,{disabled:!n,ref:l,minScale:1,maxScale:3,children:[(0,r.jsx)(u.WZ,{children:t}),!n&&(0,r.jsx)(f,{onClick:()=>o(!0),children:(0,r.jsx)(p.qJ.FullSize,{})}),n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b,{onClick:()=>o(!1),children:(0,r.jsx)(p.qJ.Close,{})}),(0,r.jsx)(A,{})]})]})})});var w=i(53404),k=(0,a.memo)(e=>{let{contentRef:t,previewBoxRef:i,previewRef:n,width:o,height:u,isDataLoaded:p,currentDocument:h,currentTemplate:x,currentPage:m,totalPagesNumber:g,applyBodyScrollLock:y=!0,handlePreviousPageClick:f,handleNextPageClick:b,handlePaginationStateChange:_,handlePreviewResize:v,renderPreview:j,disableZoom:A,...k}=e,[S,T]=(0,a.useState)(!1),P=window.devicePixelRatio||1,J=S?Math.min(3*P,3e3/o):P;(0,a.useEffect)(()=>{let e=t.current;return window.addEventListener("resize",v),v(),e&&y&&(0,l.disableBodyScroll)(e),()=>{window.removeEventListener("resize",v),e&&y&&(0,l.enableBodyScroll)(e)}},[t,v]);let E=(j||(e=>(0,r.jsx)(c.A,{...e,ref:e.previewRef})))({height:u,width:o,document:h,previewRef:n,onPaginationChange:_,pixelRatio:J});return(0,r.jsx)(w.UC,{ref:t,$isPreviewZoomed:S,...k,children:(0,r.jsxs)(w.i,{ref:i,children:[p&&o>0&&(A?E:(0,r.jsx)(C,{onExpandStateChange:T,children:E})),g>1&&(0,r.jsxs)(w.z8,{children:[(0,r.jsx)(w.UY,{isEnabled:m>1,onClick:f,children:(0,r.jsx)(d.Ay.Chevron,{})}),(0,r.jsxs)(w.xm,{children:[m," ",s.R.t("builder.resume_editor.of")," ",g]}),(0,r.jsx)(w.sc,{isEnabled:m<g,onClick:b,children:(0,r.jsx)(d.Ay.Chevron,{})})]}),p&&!x?.premium&&(0,r.jsx)(w.Jz,{children:"Free"})]})})}),S=i(77378),T=i(7350),P=i.n(T),J=i(51791),E=i(81458);let R=e=>{let{document:t,hideCustomizeButton:i=!1,switchToCustomizationTab:l,renderPreview:s,customPaginationHandlers:d,withContainerPadding:c=!0,paginationBottomPosition:u,paginationPosition:p,disableMobileZoom:h=!1,onPaginationChange:x}=e,{isPhone:m,isTablet:g}=(0,n.e)(),{currentTemplate:y}=(0,o.ze)(t),f=!!t,{i18n:b}=(0,S.s)(),{dimensions:_,contentRef:v,previewRef:j,previewBoxRef:A,totalPageNumber:C,currentPageNumber:w,handlePreviewResize:T,handleNextPageClick:R,handlePreviousPageClick:L,handlePaginationStateChange:N}=((e,t)=>{let i=(0,a.useRef)(null),r=(0,a.useRef)(null),n=(0,a.useRef)(null),[o,l]=(0,a.useState)(1),[s,d]=(0,a.useState)(0),c=(0,a.useMemo)(()=>1!==o,[o]),[u,p]=(0,a.useState)({width:0,height:0}),h=(0,J.A)(e),x=(0,a.useMemo)(()=>o<s,[o,s]),m=(0,a.useCallback)(()=>{t?.handlePreviousPageClick?t.handlePreviousPageClick():c&&(i.current?.previousPage(),l(o-1))},[o,c,i,t]),g=(0,a.useCallback)(()=>{t?.handleNextPageClick?t.handleNextPageClick():x&&(i.current?.nextPage(),l(o+1))},[o,x,i,t]),y=(0,a.useCallback)(e=>{l(e.currentPage+1),d(e.totalPagesCount)},[]),f=(0,a.useCallback)(()=>{if(!r.current)return;let e=r.current?.offsetWidth,t=e/h;p(i=>i.width===e&&i.height===t?i:{width:e,height:t}),i.current&&i.current?.resize(e)},[r,i,h]);return(0,a.useEffect)(()=>{let e=P()(f,150,{leading:!1,trailing:!0});window.addEventListener("resize",e),e();let t="u"<typeof ResizeObserver?null:new ResizeObserver(e);return t&&r.current&&t.observe(r.current),()=>{window.removeEventListener("resize",e),t?.disconnect(),e.cancel()}},[n,r,f]),{handlePreviousPageClick:m,handleNextPageClick:g,handlePaginationStateChange:y,handlePreviewResize:f,hasPreviousPage:c,hasNextPage:x,totalPageNumber:s,currentPageNumber:o,dimensions:u,previewRef:i,previewBoxRef:r,contentRef:n}})(t,d),I=e=>{N(e),x?.(e)},M=s||(e=>(0,r.jsx)(E.Q2,{...e,ref:e.previewRef}));return m||g?(0,r.jsx)(k,{..._,contentRef:v,previewBoxRef:A,previewRef:j,isDataLoaded:f,currentDocument:t,currentTemplate:y,currentPage:w,totalPagesNumber:C,handlePreviousPageClick:L,handleNextPageClick:R,handlePaginationStateChange:I,handlePreviewResize:T,applyBodyScrollLock:!1,renderPreview:s,disableZoom:h}):(0,r.jsx)(E.mc,{"data-testid":"preview-document-container",children:(0,r.jsxs)(E.P,{$withContainerPadding:c,children:[(0,r.jsx)(E.wO,{ref:A,children:M({..._,document:t,onPaginationChange:I,previewRef:j})}),!i&&l&&(0,r.jsx)(E.XA,{onClick:l,"data-testid":"preview-customize-button-container",children:(0,r.jsx)(E.is,{leadingIcon:(0,r.jsx)(E.jl,{}),children:(0,r.jsx)(E.nw,{children:b.t("builder.resume_editor.change_design")})})}),!!C&&(0,r.jsxs)(E.Uy,{"data-testid":"preview-pagination-container",$position:p,style:u&&g?{bottom:u,top:"unset"}:void 0,children:[(0,r.jsx)(E.rX,{"aria-label":"Previous page","data-testid":"preview-previous-page-button",onClick:L,disabled:1===w,children:(0,r.jsx)(E.rZ,{})}),(0,r.jsxs)(E.YW,{"data-testid":"preview-page-counter",children:[w," / ",C]}),(0,r.jsx)(E.rX,{"aria-label":"Next page","data-testid":"preview-next-page-button",onClick:R,disabled:w===C,children:(0,r.jsx)(E.wF,{})})]})]})})}},81458:function(e,t,i){"use strict";i.d(t,{P:function(){return c},Q2:function(){return v},Uy:function(){return p},XA:function(){return y},YW:function(){return g},is:function(){return b},jl:function(){return f},mc:function(){return d},nw:function(){return _},rX:function(){return h},rZ:function(){return m},wF:function(){return x},wO:function(){return u}});var r=i(38267),n=i(99701),o=i(14649),a=i(91779),l=i(33633),s=i(59332);let d=r.Ay.div(["position:relative;width:100%;height:100%;overflow:hidden;"]),c=(0,r.Ay)(s.r8)(["width:100%;height:100%;padding:",";"],e=>e.$withContainerPadding?"4px":"0"),u=r.Ay.div(["max-width:980px;margin:auto;"]),p=r.Ay.div(["position:",";display:flex;align-items:center;bottom:24px;padding:8px;border-radius:40px;width:fit-content;background-color:",";left:50%;transform:translateX(-50%);z-index:2;gap:2px;"],e=>e.$position??"absolute",n.Jy.Neutral100),h=r.Ay.button(["border:none;background:none;padding:0;width:24px;height:24px;
6986cursor:pointer;opacity:1;color:",";&:disabled{opacity:0.3;pointer-events:none;color:",";}&:hover{border-radius:50%;background-color:",";}"],n.Jy.White,n.Jy.Neutral50,n.Jy.Neutral80),x=(0,r.Ay)(o.qJ.ChevronRight)([""]),m=(0,r.Ay)(o.qJ.ChevronLeftCurrentColor)([""]),g=r.Ay.div(["width:100%;height:100%;margin-top:2px;color:",";",""],n.Jy.White,n.o5.sizes.Caption),y=r.Ay.div(["position:absolute;bottom:50%;left:50%;transform:translateX(-50%);z-index:2;width:fit-content;color:",";opacity:0;transition:opacity 0.1s ease-out;",":hover &{opacity:1;}"],n.Jy.White,d),f=(0,r.Ay)(o.qJ.Colors)(["opacity:1;transform:none;transition:none;"]),b=(0,r.Ay)(a.JQ)(["border-radius:32px;padding:16px 8px 16px 16px;padding-right:8px;transition:padding 0.2s ease-in-out;&:hover{padding-right:16px;}"]),_=r.Ay.span(["overflow:hidden;white-space:nowrap;display:inline-block;max-width:0px;transition:transform 0.2s ease-in-out,max-width 0.2s ease-in-out;",":hover &{max-width:200px;}"],b),v=(0,r.Ay)(l.A)(["border-radius:0;box-shadow:none;"])},55588:function(e,t,i){"use strict";i.d(t,{U_:function(){return y},Eo:function(){return g},LX:function(){return p},oR:function(){return f},mc:function(){return d},ax:function(){return x},Ao:function(){return u},ff:function(){return m},Q5:function(){return b},Sn:function(){return h},Lb:function(){return c}});var r=i(38267),n=i(99701),o=i(49504),a=i(34375),l=i(24833),s=i(74848);let d=r.Ay.div(["padding:24px 36px;margin-bottom:",";background:white;border-radius:12px;display:flex;flex-flow:column;gap:24px;",";"],n.Kz["3XS"],l.A.Phone`
6987    padding: 21px 20px;
6988  `),c=(0,r.Ay)(a.A)(["padding-top:0;"]),u=r.Ay.div(["display:flex;flex-flow:column;gap:16px;"]),p=r.Ay.div(["display:grid;grid-template-columns:1fr 1fr;gap:16px;",";",";",";"],l.A.Laptop`
6989    grid-template-columns: 1fr;
6990  `,l.A.Tablet`
6991    grid-template-columns: 1fr 1fr;
6992  `,l.A.Phone`
6993    grid-template-columns: 1fr;
6994  `),h=(0,r.Ay)(({className:e})=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",className:e,children:[(0,s.jsx)("rect",{width:"32",height:"20",rx:"4",fill:"var(--bg-color, #F1F2FF)",style:{transition:"fill 0.2s ease"}}),(0,s.jsx)("path",{opacity:"0.4",d:"M11.2611 3.29444C11.3175 3.15621 11.5132 3.15621 11.5697 3.29444L11.887 4.07168C11.9717 4.27902 12.1362 4.44355 12.3435 4.5282L13.1208 4.84554C13.259 4.90197 13.259 5.0977 13.1208 5.15414L12.3435 5.47147C12.1362 5.55612 11.9717 5.72066 11.887 5.92799L11.5697 6.70524C11.5132 6.84346 11.3175 6.84346 11.2611 6.70524L10.9437 5.92799C10.8591 5.72066 10.6945 5.55612 10.4872 5.47147L9.70996 5.15414C9.57174 5.0977 9.57174 4.90197 9.70996 4.84554L10.4872 4.5282C10.6945 4.44355 10.8591 4.27902 10.9437 4.07168L11.2611 3.29444Z",fill:"var(--star-color, #7A82F5)",style:{transition:"fill 0.2s ease"}}),(0,s.jsx)("path",{d:"M10.4303 12.4614C10.4868 12.3232 10.6825 12.3232 10.7389 12.4614L11.2979 13.8304C11.3825 14.0377 11.5471 14.2023 11.7544 14.2869L13.1234 14.8459C13.2616 14.9023 13.2616 15.098 13.1234 15.1545L11.7544 15.7134C11.5471 15.798 11.3825 15.9626 11.2979 16.1699L10.7389 17.5389C10.6825 17.6771 10.4868 17.6771 10.4303 17.5389L9.8714 16.1699C9.78675 15.9626 9.62222 15.798 9.41489 15.7134L8.0459 15.1545C7.90768 15.098 7.90768 14.9023 8.0459 14.8459L9.41489 14.2869C9.62222 14.2023 9.78675 14.0377 9.8714 13.8304L10.4303 12.4614Z",fill:"var(--star-color, #7A82F5)",style:{transition:"fill 0.2s ease"}}),(0,s.jsx)("path",{d:"M17.3272 3.93897C17.2989 3.86985 17.2011 3.86985 17.1728 3.93897L15.9674 6.89137C15.6288 7.7207 14.9707 8.37884 14.1414 8.71744L11.189 9.92285C11.1199 9.95107 11.1199 10.0489 11.189 10.0772L14.1414 11.2826C14.9707 11.6212 15.6288 12.2793 15.9674 13.1086L17.1728 16.061C17.2011 16.1301 17.2989 16.1301 17.3272 16.061L18.5326 13.1086C18.8712 12.2793 19.5293 11.6212 20.3586 11.2826L23.311 10.0772C23.3801 10.0489 23.3801 9.95107 23.311 9.92285L20.3586 8.71744C19.5293 8.37884 18.8712 7.7207 18.5326 6.89137L17.3272 3.93897Z",fill:"var(--star-color, #7A82F5)",stroke:"var(--star-color, #7A82F5)",strokeWidth:"0.833333",strokeMiterlimit:"3.99933",style:{transition:"fill 0.2s ease, stroke 0.2s ease"}})]}))(["--bg-color:",";--star-color:",";"],n.Jy.Indigo10,n.Jy.Indigo50),x=r.Ay.div(["display:flex;align-items:center;gap:8px;
6994cursor:pointer;&:hover ","{--bg-color:",";--star-color:",";}"],h,n.Jy.Indigo50,n.Jy.Indigo10),m=r.Ay.div(["padding:0 6px;background-color:",";color:",";border-radius:4px;transition:background-color 0.2s ease,color 0.2s ease;display:flex;",":hover &{color:",";background-color:",";}"],n.Jy.Indigo10,n.Jy.Indigo50,x,n.Jy.Indigo10,n.Jy.Indigo50),g=r.Ay.span(["",";color:",";"],n.o5.sizes.Caption,n.Jy.Neutral90),y=r.Ay.span(["background:",";color:",";",";",";border-radius:4px;text-align:center;padding:2px 0;width:","px;transition:background 0.2s ease,color 0.2s ease;",""],n.Jy.Green10,n.Jy.Green60,n.o5.sizes.Tiny,o.BO.DemiBold,e=>e.$width||32,e=>e.$enableHover&&(0,r.AH)(["&:hover{background:",";color:white;}"],n.Jy.Green50)),f=r.Ay.div(["display:flex;align-items:center;gap:8px;cursor:pointer;&:hover ","{background:",";color:white;}"],y,n.Jy.Green50),b=r.Ay.span(["",";color:",";"],n.o5.sizes.Caption,n.Jy.Neutral90)},24317:function(e,t,i){"use strict";i.d(t,{Mr:function(){return o},jz:function(){return n},vK:function(){return r}});let r={AUTO_APPLY:"auto-apply-button",RESUME_DISTRIBUTION:"resume-distribution-button",AI_REVIEW_TAB:"ai-review-tab"},n={AUTO_APPLY:"AUTO_APPLY_BUTTON_HIGHLIGHT_SHOWN",RESUME_DISTRIBUTION:"RESUME_DISTRIBUTION_BUTTON_HIGHLIGHT_SHOWN"},o="return_to_type"},84611:function(e,t,i){"use strict";i.d(t,{b:function(){return N}});var r=i(74848),n=i(96540),o=i(33093),a=i(8037),l=i(77378),s=i(28971),d=i(9888),c=i(12330),u=i.p+"media/review-avatar74bacd6c7f1dc0da.png",p=i(38267),h=i(99701),x=i(49504),m=i(24833),g=i(14649);let y=p.Ay.div(["position:relative;overflow:hidden;background-color:",";&:before{content:'';display:block;padding-bottom:","%;}"],h.Jy.White,100/.71),f=p.Ay.div(["",";color:",";max-width:'100%';text-align:center;position:absolute;left:0;top:50px;right:0;bottom:0;",""],x.Ay.Caption,h.Jy.Neutral50,m.A.Phone`
6995    ${x.Ay.Tiny};
6996    top: 25px;
6997  `),b=p.Ay.div(["position:absolute;left:0;top:0;right:0;bottom:0;background-image:url(",");background-repeat:no-repeat;background-size:contain;"],i(55402)),_=p.Ay.img(["position:absolute;left:0;top:0;width:100%;"]),v=p.Ay.div(["position:absolute;left:12px;top:12px;z-index:99999;background-color:",";color:",";font-size:14px;gap:2px;display:flex;align-items:center;filter:drop-shadow(0px 2px 4px rgba(15,56,113,0.08)) drop-shadow(0px 1px 2px rgba(15,56,113,0.12)) drop-shadow(0px 0px 1px rgba(15,56,113,0.32));border-radius:16px;padding:4px 8px;",""],h.Jy.White,h.Jy.Neutral90,m.A.Phone`
6998    padding: 4px;
6999  `),j=(0,p.i7)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),A=(0,p.Ay)(g.qJ.Spinner)(["color:",";animation:"," 0.5s infinite linear;"],h.Jy.Blue50,j),C=p.Ay.div(["position:absolute;left:3px;top:3px;z-index:99999;background-color:",";color:",";gap:8px;display:flex;align-items:center;border-radius:4px;padding:4px 8px;box-shadow:0px 2px 4px -1px rgba(15,56,113,0.08),0px 8px 20px -4px rgba(15,56,113,0.12);font-size:14px;width:98%;cursor:default;"],h.Jy.Red10,h.Jy.Red50),w=p.Ay.div(["background-color:",";border-radius:100%;width:16px;height:16px;display:flex;justify-content:center;align-items:center;",""],h.Jy.Red50,m.A.Phone`
7000    width: 18px;
7001    height: 18px;
7002    margin-bottom: auto;
7003    margin-top: 4px;
7004  `),k=(0,p.Ay)(g.EK.Close)(["color:white;width:14px;height:14px;"]),S=(0,p.Ay)(g.qJ.Close)(["color:",";margin-left:auto;cursor:pointer;"],h.Jy.Neutral100),T=p.Ay.div(["position:absolute;left:3px;top:3px;z-index:99999;background-color:",";color:",";display:flex;align-items:center;border-radius:4px;padding:4px 8px;box-shadow:0px 2px 4px -1px rgba(15,56,113,0.08),0px 8px 20px -4px rgba(15,56,113,0.12);font-size:14px;width:98%;cursor:default;justify-content:flex-end;cursor:pointer;"],h.Jy.Blue10,h.Jy.Neutral90),P=(0,p.Ay)(g.qJ.ChevronRight)(["color:",";"],h.Jy.Blue50),J=p.Ay.div(["width:24px;height:24px;border-radius:100%;background-color:",";border:3px solid white;display:flex;justify-content:center;align-items:center;z-index:2;"],h.Jy.Indigo80),E=(0,p.Ay)(g.EK.Star)(["color:white;"]),R=p.Ay.img(["width:20px;height:20px;border-radius:100%;margin-right:auto;margin-left:-8px;"]),L=p.Ay.span(["",""],m.A.Phone`
7005    display: none;
7006  `),N=({src:e,showUnavailablePreview:t=!1,critiqueReviewStatus:i,viewResumeCritiqueReview:p,...h})=>{let x=(e=>
7006{let[t,i]=(0,n.useState)(a.Hp.notAsked);return(0,n.useEffect)(()=>{let t=!0;if(e){i(a.Hp.loading);let r=new Image;r.onload=()=>t&&i(a.Hp.loaded),r.onerror=()=>t&&i(a.Hp.failed),r.src=e}return()=>{t=!1}},[e]),t})(e)===a.Hp.loaded&&"string"==typeof e,{i18n:m}=(0,l.s)(),[g,j]=(0,n.useState)(!0),N=(0,d.U)(),I=N?.features.critiqueEntryPoints;return n.useEffect(()=>{i===s.oV.finished&&I&&(0,o.xP)("see_resume_critique_banner",{where:"dash"})},[i]),(0,r.jsxs)(y,{...h,children:[i&&I&&(0,r.jsxs)(r.Fragment,{children:[i===s.oV.pending&&(0,r.jsxs)(v,{children:[(0,r.jsx)(A,{}),m.t("builder.critique_entry_points.image_preview.review")]}),i===s.oV.failed&&g&&!c.D.getItem("hideCritiqueFailed")&&(0,r.jsxs)(C,{onClick:e=>e.preventDefault(),children:[(0,r.jsx)(w,{children:(0,r.jsx)(k,{})}),m.t("builder.critique_entry_points.image_preview.failed"),(0,r.jsx)(S,{onClick:()=>{c.D.setItem("hideCritiqueFailed","true"),j(!1)}})]}),i===s.oV.finished&&(0,r.jsxs)(T,{onClick:e=>{e.preventDefault(),p&&p()},children:[(0,r.jsx)(J,{children:(0,r.jsx)(E,{})}),(0,r.jsx)(R,{src:u}),(0,r.jsx)(L,{children:m.t("builder.critique_entry_points.image_preview.read")}),(0,r.jsx)(P,{})]})]}),x?(0,r.jsx)(_,{alt:"Document",src:e}):(0,r.jsx)(b,{}),t&&(0,r.jsx)(f,{children:m.t("builder.dashboard.preview_unavailable")})]})}},89078:function(e,t,i){"use strict";i.d(t,{A:function(){return r.b}});var r=i(84611)},13974:function(e,t,i){"use strict";i.d(t,{AE:function(){return s},AP:function(){return m},B:function(){return y},HM:function(){return g},LO:function(){return c},Yu:function(){return f},cB:function(){return h},o6:function(){return p},qh:function(){return d},rP:function(){return x}});var r=i(84976),n=i(38267),o=i(99701),a=i(49504),l=i(24833);let s=n.Ay.div(["display:flex;flex-flow:row nowrap;align-items:flex-start;padding-right:26px;"]),d=n.Ay.div(["position:relative;max-width:100%;"]),c=n.Ay.div(["",";height:28px;min-width:1px;max-width:100%;position:relative;"],a.Ay.Subhead),u=(0,n.AH)(["display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;&:hover{color:",";}"],o.Jy.Blue50),p=(0,n.Ay)(r.N_)(["",";"],u),h=n.Ay.div(["position:relative;max-width:100%;"]),x=n.Ay.input(["",";display:block;position:absolute;border:none;padding:0;caret-color:",";top:0;left:0;right:-3px;bottom:0;width:100%;&::placeholder{color:",";}"],a.Ay.Subhead,o.Jy.Blue50,o.Jy.Neutral50),m=n.Ay.div(["position:absolute;bottom:0;left:0;right:0;height:2px;background-color:",";pointer-events:none;z-index:1;opacity:0;transform:scale(0.5,0);transition:transform 0.1s ease;",";"],o.Jy.Blue50,e=>({entering:"opacity: 1; transform: scale(1, 1);",entered:"opacity: 1; transform: scale(1, 1);",exiting:"opacity: 0; transform: scale(1, 1); transition: opacity 0.1s ease;",unmounted:null,exited:null})[e.in]),g=n.Ay.div(["",";min-width:74px;height:28px;white-space:pre;visibility:hidden;"],a.Ay.Subhead),y=n.Ay.div(({isEditIconVisible:e})=>(0,n.AH)(["position:absolute;top:2px;left:calc(100% + 2px);align-items:center;justify-content:center;display:none;",":hover &{display:flex;",";}",""],s,l.A.Phone`
7007          display: none;
7008        `,e&&(0,n.AH)(["display:flex;",";"],l.A.Phone`
7009          display: none;
7010      `))),f=n.Ay.div(["cursor:pointer;color:",";display:flex;justify-content:center;align-items:center;&:hover{color:",";}"],o.Jy.Neutral40,o.Jy.Blue50)},22661:function(e,t,i){"use strict";i.d(t,{Ch:function(){return d},Uf:function(){return u},cG:function(){return s},lN:function(){return c},mc:function(){return l},wF:function(){return p}});var r=i(38267),n=i(99701),o=i(24833),a=i(33637);let l=r.Ay.div([""]),s=r.Ay.div(["width:100%;height:1px;background-color:",";"],n.Jy.Neutral20),d=r.Ay.div(["position:relative;width:100%;height:142px;overflow:hidden;background-color:",";padding:16px;border-radius:0 0 4px 4px;display:flex;justify-content:center;"],n.Jy.Neutral10),c=r.Ay.div(["width:196px;height:200px;background-color:",";border-radius:4px;overflow:hidden;",";"],n.Jy.White,o.A.Phone`
7011    width: 303px;
7012    height: 310px;
7013  `),u=r.Ay.div(["position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:",";"],n.Jy.Neutral10),p=(0,r.Ay)(a.A)(["border-radius:3px 3px 0 0;"])},51390:function(e,t,i){"use strict";i.d(t,{A:function(){return g}});var r=i(74848),n=i(5556),o=i.n(n),a=i(77378),l=i(14649),s=i(38267),d=i(99701),c=i(49504),u=i(24833);let p=s.Ay.div(["position:relative;flex-shrink:0;color:",";transition:opacity 0.15s;touch-action:none;cursor:",";&:before{content:'';position:absolute;
7013left:-8px;right:-8px;top:-8px;bottom:-8px;}& svg{display:block;}",";",";"],d.Jy.Neutral40,e=>e.isDragging?"grabbing":"grab",u.A.Desktop`
7014    opacity: ${e=>e.isDragging||!e.showDragDropOnHover?1:0};
7015  `,u.A.Laptop`
7016    opacity: 1;
7017  `),h=s.Ay.div(["position:absolute;left:-4px;bottom:100%;margin-bottom:6px;display:",";padding:5px 8px;border-radius:3px;background-color:",";",";font-weight:400;color:",";white-space:nowrap;user-select:none;pointer-events:none;opacity:0;transition:opacity 0.2s ease;transition-delay:0;&::before{content:'';position:absolute;display:block;width:8px;height:8px;border-radius:0 0 2px 0;transform:translate(-50%,-50%) rotateZ(45deg);background-color:",";top:100%;left:14px;}"," ",""],e=>e.isDragging?"none":"block",d.Jy.Neutral80,c.Ay.Tiny,d.Jy.Neutral10,d.Jy.Neutral80,u.A.Hover`
7018    ${p}:hover & {
7019      opacity: 1;
7020      transition-delay: 0.4s;
7021    }
7022  `,u.A.Phone`
7023    display: none;
7024  `);var x=i(9888);let m=({isDragging:e,...t})=>{let{i18n:i}=(0,a.s)(),n=(0,x.U)(),o=n?.features.visibleDragAndDrop==="control"||n?.features.visibleDragAndDrop!=="test";return(0,r.jsxs)(p,{isDragging:e,showDragDropOnHover:o,...t,children:[(0,r.jsx)(h,{isDragging:e,children:i.t("builder.resume_editor.drag")}),(0,r.jsx)(l.EK.Drag,{})]})};m.propTypes={isDragging:o().bool};var g=m},72150:function(e,t,i){"use strict";i.d(t,{A:function(){return l}});var r=i(74848),n=i(96540),o=i(38267);let a=o.Ay.div(["width:",";height:calc(100vh - 80px);background:#fff;padding:12px 0;",""],({width:e})=>e,({isSubMenu:e,isOpen:t,width:i,subMenuWidth:r})=>e&&(0,o.AH)(["height:auto;position:fixed;width:",";display:",";left:",";border-radius:16px;box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 6px 8px -2px rgba(15,56,113,0.02),0px 16px 64px -8px rgba(15,56,113,0.18);"],r||"240px",t?"block":"none",e?i||"240px":0));var l=n.forwardRef((e,t)=>(0,r.jsx)(a,{ref:t,className:e.className,width:e.width,isOpen:e.isOpen,isSubMenu:e.isSubMenu,...e,children:e.children}))},59075:function(e,t,i){"use strict";i.d(t,{K:function(){return n},A:function(){return b}});var r=i(74848),n=i(97248),o=i(99701),a=i(14649),l=i(38267),s=i(49504),d=i(59332);let c=(0,l.Ay)(n._s.Overlay)(["position:fixed;inset:0;background-color:rgba(0,0,0,0.4);z-index:13000;"]),u=(0,l.Ay)(n._s.Content)(["background-color:",";display:flex;flex-direction:column;border-top-left-radius:16px;border-top-right-radius:16px;margin-top:6rem;position:fixed;bottom:0;left:0;right:0;height:",";max-height:",";z-index:13000;"],o.Jy.White,({$maxHeight:e})=>e??"100%",({$maxHeight:e})=>e??"none"),p=(0,l.Ay)(n._s.Close)(["position:absolute;top:15px;right:16px;border:none;padding:0;cursor:pointer;"]),h=l.Ay.div(["padding:16px;border-top-left-radius:16px;border-top-right-radius:16px;"]),x=(0,l.Ay)(n._s.Title)(["margin-bottom:16px;"," ",""],s.Ay.Caption,s.BO.Medium),m=l.Ay.p(["color:",";"],o.Jy.Neutral50),g=l.Ay.div(["padding:16px;margin-top:auto;display:flex;flex-flow:column;"]),y=(0,l.Ay)(n._s.Handle)(["width:40px;height:4px;border-radius:2px;background-color:",";margin:8px auto;flex-shrink:0;cursor:grab;&:active{cursor:grabbing;}"],o.Jy.Neutral20),f=(0,l.Ay)(d.P)(["flex:1;min-height:0;"]);function b({title:e,description:t,footer:i,children:l,trigger:s,scrollableContent:d,maxHeight:b,showHandle:_,...v}){return(0,r.jsxs)(n._s.Root,{...v,children:[s&&(0,r.jsx)(n._s.Trigger,{asChild:!0,children:s}),(0,r.jsxs)(n._s.Portal,{children:[(0,r.jsx)(c,{}),(0,r.jsxs)(u,{$maxHeight:b,children:[_&&(0,r.jsx)(y,{}),(e||t)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{children:(0,r.jsx)(a.qJ.CloseIcon,{color:o.Jy.Neutral5})}),(0,r.jsxs)(h,{children:[e&&(0,r.jsx)(x,{children:e}),t&&(0,r.jsx)(m,{children:t})]})]}),d?(0,r.jsx)(f,{children:l}):l,i&&(0,r.jsx)(g,{children:i})]})]})]})}},112:function(e,t,i){"use strict";i.d(t,{A:function(){return l}});var r=i(74848),n=i(38267),o=i(24833);let a=n.Ay.div(({fullWidth:e,quarterWidth:t})=>(0,n.AH)(["flex:0 0 ",";margin-right:",";",";&:last-child{margin-right:0;margin-bottom:0;}"],e?"100%":t?"calc(20% - 10px)":"calc(50% - 20px)",t?"20px":"40px",o.A.Phone`
7025      flex: 0 0 100%;
7026      margin-right: 0;
7027      margin-bottom: 20px;
7028    `));var l=e=>{let{fullWidth:t,quarterWidth:i,children:n,elementRef:o,...l}=e;return(0,r.jsx)(a,{ref:o,fullWidth:t,quarterWidth:i,...l,children:n&&"object"==typeof n&&"value"in n?n.value:n})}},4166:function(e,t,i){"use strict";i.d(t,{A:function(){return s}});var r=i(74848),n=i(5556),o=i.n(n);let a=i(38267).Ay.div(["margin-bottom:24px;display:flex;flex-flow:row wrap;&:last-child{margin-bottom:0;}"]),l=e=>(0,r.jsx)(a,{children:e.children});l.propTypes={children:o().oneOfType([o().arrayOf(o().node),o().node])};var s=l},84187:function(e,t,i){"use strict";i.d(t,{A:function(){return p}});var r=i(74848),n=i(96540),o=i(5556),a=i.n(o),l=i(28363),s=i(91779),d=i(50690);let c=()=>window.location.reload(!0);var u=()=>(0,r.jsx)(d.mc,{children:(0,r.jsxs)(d.UC,{children:[(0,r.jsx)(d.bF,{}),(0,r.jsx)(d.hE,{children:"Something went wrong"}),(0,r.jsxs)(d.EY,{children:["Please, try to reload the page. If the problem occurs again —"," ",(0,r.jsx)("a",{href:"/contact",children:"contact support"})]}),(0,r.jsx)(s.Ay,{onClick:c,children:"Reload the page"}),(0,r.jsx)(d.$5,{children:(0,r.jsx)("a",{href:"/app",children:"Open Dashboard"})})]})});class p extends n.Component{state={hasError:!1};static propTypes={children:a().node,fallback:a().node};static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){l.A.log(e,{level:"fatal"})}render(){return this.state.hasError?this.props.fallback||(0,r.jsx)(u,{}):this.props.children}}},47564:function(e,t,i){"use strict";var r=i(74848),n=i(91779),o=i(50690);let a=()=>window.location.reload();t.A=()=>(0,r.jsx)(o.S1,{children:(0,r.jsxs)("div",{children:[(0,r.jsx)(o.AP,{}),(0,r.jsx)(o.hE,{children:"Something went wrong"}),(0,r.jsxs)(o.Dm,{children:["Please, try to reload the page. If the problem occurs again —"," ",(0,r.jsx)("a",{href:"/contact",children:"contact support"})]}),(0,r.jsx)(n.$n,{size:"small",onClick:a,children:"Reload the page"})]})})},87661:function(e,t,i){"use strict";var r=i(74848),n=i(38267),o=i(91779),a=i(50690);let l=n.Ay.div(["width:100%;min-height:calc(100vh - 100px);display:flex;align-items:center;justify-content:center;padding:40px 20px;text-align:center;"]),s=()=>window.location.reload();t.A=()=>(0,r.jsx)(l,{children:(0,r.jsxs)("div",{children:[(0,r.jsx)(a.AP,{}),(0,r.jsx)(a.hE,{children:"Something went wrong"}),(0,r.jsxs)(a.Dm,{children:["Please, try to reload the page. If the problem occurs again —"," ",(0,r.jsx)("a",{href:"/contact",children:"contact support"})]}),(0,r.jsx)(o.$n,{size:"small",onClick:s,children:"Reload the page"})]})})},96156:function(e,t,i){"use strict";i.d(t,{N:function(){return a}});var r=i(74848);i(96540);var n=i(84187),o=i(47564);let a=(e,t={})=>{let{fallback:i}=t,a=t=>(0,r.jsx)(n.A,{fallback:i||(0,r.jsx)(o.A,{}),children:(0,r.jsx)(e,{...t})});return a.displayName=`WithErrorBoundary(${e.displayName||e.name||"Component"})`,a}},54542:function(e,t,i){"use strict";i.d(t,{Ay:function(){return r.A},vU:function(){return n.A}});var r=i(84187);i(96156);var n=i(47564);i(87661)},50690:function(e,t,i){"use strict";i.d(t,{$5:function(){return h},AP:function(){return d},Dm:function(){return m},EY:function(){return p},S1:function(){return x},UC:function(){return l},bF:function(){return s},hE:function(){return c},mc:function(){return a}});var r=i(38267),n=i(99701),o=i(49504);let a=r.Ay.div(["display:flex;align-items:center;justify-content:center;min-height:100vh;padding:40px 20px;background-color:",";"],n.Jy.Neutral10),l=r.Ay.div(["width:100%;max-width:415px;text-align:center;"]),s=r.Ay.div(["max-width:",";margin:0 auto 32px;background-image:url(",");background-size:contain;background-repeat:no-repeat;&:before{content:'';display:block;padding-bottom:72.727%;}"],"320px",i(28200)),d=(0,r.Ay)(s)(["max-width:",";margin:0 auto 24px;"],"160px"),c=r.Ay.div(["",";font-weight:600;margin-bottom:8px;"],o.Ay.S),u=r.Ay.div(["& a{color:",";}& a:hover{color:",";}"],n.Jy.Blue50,n.Jy.Blue70),p=(0,r.Ay)(u)(["margin-bottom:32px;"]),h=(0,r.Ay)(u)(["",";margin-top:20px;"],o.Ay.ButtonM),x=r.Ay.div(["width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px;background-color:",";text-align:center;border-radius:8px;"],n.Jy.Neutral5),m=r.Ay.p(["margin-bottom:24px;& a{text-decoration:underline;}"])},87253:function(e,t,i){"use strict";i.d(t,{lO:function(){return H},pw:function(){return V},aK:function(){return q},ms:function(){return K},H_:function(){return O}});var r={};i.r(r),i.d(r,{CareerAssessment:function(){return l},CareerAssessmentDisabled:function(){return s},CareerCoaching:function(){return n},CareerCoachingDisabled:function(){return o},CareerPath:function(){return a},CareerPathDisabled:function(){return d},Documents:function(){return c},DocumentsDisabled:function(){return u},Events:function(){return B},ExploreCareers:function(){return L},ExploreCareersDisabled:function(){return N},InterviewPrep:function(){return p},InterviewPrepDisabled:function(){return h},InterviewPrepV2:function(){return F},JobSearch:function(){return x},JobSearchDisabled:function(){return m},JobSearchStrategy:function(){return I},JobSearchStrategyDisabled:function(){return M},JobTracker:function(){return g},JobTrackerDisabled:function(){return y},Mentorship:function(){return f},MentorshipDisabled:function(){return b},OnlineEvents:function(){return J},OnlineEventsDisabled:function(){return E},Pitch:function(){return V},Planning:function(){return k},PlanningDisabled:function(){return S},ProResumeWriting:function(){return _},ProResumeWritingDisabled:function(){return v},ProfessionalHeadshot:function(){return $},ProfessionalProfile:function(){return C},ProfessionalProfileDisabled:function(){return w},ProfessionalWritingServices:function(){return z},Resource:function(){return T},ResourceDisabled:function(){return P},ResumeAndCoverLetters:function(){return O},ResumeDistribution:function(){return D},SalaryAnalyzer:function(){return j},SalaryAnalyzerDisabled:function(){return A},SalaryAnalyzerV2:function(){return H},careerIo:function(){return R}});
7028var n=i.p+"media/enabled7ac7fdbc10f6d596.svg",o=i.p+"media/disabledbe27d2302aa56dd3.svg",a=i.p+"media/enabled994208017c302398.svg",l=i.p+"media/enabled99342a63cea0079a.svg",s=i.p+"media/disabledcabc3e3245602fb3.svg",d=i.p+"media/disabled411c30c9eb44ef29.svg",c=i.p+"media/enabled857d551c2998a7ca.svg",u=i.p+"media/disablede5fc34ebe3d08821.svg",p=i.p+"media/enabledd60d2332568388da.svg",h=i.p+"media/disabledfa0b9ea61b4f6551.svg",x=i.p+"media/enablede80a620b016697ad.svg",m=i.p+"media/disabled65ab3395aeb0449e.svg",g=i(85227),y=i.p+"media/disabled61e8bac8c405c0fd.svg",f=i.p+"media/enabled7ac7fdbc10f6d596.svg",b=i.p+"media/disabledbe27d2302aa56dd3.svg",_=i.p+"media/enabled576df0dbee1a8dc4.svg",v=i.p+"media/disabled16d097a2218de93c.svg",j=i.p+"media/enabled74c9f878bb6c4b7a.svg",A=i.p+"media/disabled2263a5e657fdb229.svg",C=i.p+"media/enabled3dae4f69dac8a1ab.svg",w=i.p+"media/disabledbc8e93ad884a22e1.svg",k=i.p+"media/enabled7144d0c699b6ac03.svg",S=i.p+"media/disablede1b95c14e256d201.svg",T=i.p+"media/enabled3a7a1b1f06534ea8.svg",P=i.p+"media/disabled3a7a1b1f06534ea8.svg",J=i.p+"media/enabled75891938ac2a368d.svg",E=i.p+"media/disabled75891938ac2a368d.svg",R=i.p+"media/careerIOa9a2396ebc5aa370.svg",L=i.p+"media/enabled810c6f37e7457c19.svg",N=i.p+"media/disableda0748b27110ba917.svg",I=i.p+"media/enabled1411f43015925e20f.svg",M=i.p+"media/disabledbbd677894e14345a.svg",B=i.p+"media/enabledba5e1daf565ba074.svg",D=i.p+"media/enabled28411242c9d0892a.svg",$=i.p+"media/enabledd66a009c4f8a5e1c.svg",O=i.p+"media/enabled1034021d28074438.svg",z=i.p+"media/enabled326b1a8be401b503.svg",F=i.p+"media/enabled699b324dcb06fdc4.svg",H=i.p+"media/enabled9219f46301002185.svg",V=i.p+"media/enabled67a6f50e66091966.svg";i(18111),i(22489);var U=i(74848);i(96540);let W=i(38267).Ay.div(["display:inline-flex;width:40px;height:40px;& svg{width:100%;height:100%;}"]),K=Object.keys(r).filter(e=>!e.endsWith("Disabled")),q=({name:e,disabled:t,...i})=>{let n=r[t?`${e}Disabled`:e];return(0,U.jsx)(W,{...i,children:(0,U.jsx)("img",{alt:e,src:n})})}},64861:function(e,t,i){"use strict";i.d(t,{X:function(){return c}});var r=i(74848),n=i(96540),o=i(87947),a=i(38267),l=i(99701),s=i(49504);let d=a.Ay.div(["",";margin-top:4px;color:",";transition:max-height 0.2s ease;& a{color:",";}& a:hover,& a:focus-visible{text-decoration:",";}& a:active{text-decoration:",";}",";"],s.o5.Caption,e=>"error"===e.variant?l.Jy.Red50:l.Jy.Neutral50,l.Jy.Blue50,l.Jy.Blue60,l.Jy.Blue70,e=>({entering:"max-height: 80px;",entered:"max-height: auto;",exiting:"max-height: 0;",exited:"max-height: 0;",unmounted:null})[e.in]),c=({error:e,warning:t,description:i,dataTestId:a})=>{let l=e||t||i,s=e?"error":"default",c=(0,n.useRef)(null),u=(0,n.useMemo)(()=>"string"==typeof l?{dangerouslySetInnerHTML:{__html:l}}:{children:l},[l]);return(0,r.jsx)(o.Ay,{in:!!l,timeout:200,mountOnEnter:!0,unmountOnExit:!0,nodeRef:c,children:e=>(0,r.jsx)(d,{...u,variant:s,in:e,ref:c,"data-testid":a})})}},89492:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var r=i(74848),n=i(96540),o=i(38267),a=i(99701),l=i(49504);let s=o.Ay.div(["",";display:flex;align-items:center;justify-content:flex-start;position:relative;width:100%;color:",";font-weight:600;cursor:pointer;outline:none;justify-content:center;padding-top:8px;padding-bottom:8px;margin-top:24px;pointer-events:",";"],l.Ay.Caption,a.Jy.Blue50,e=>e.isDisabled?"none":"auto"),d=o.Ay.span([""]);var c=(0,n.memo)(e=>{let{onAdd:t,text:i,isDisabled:n=!1}=e;return(0,r.jsx)(s,{"data-testid":"add-more-btn",onClick:t,isDisabled:n,children:(0,r.jsx)(d,{children:i})})})},72388:function(e,t,i){"use strict";i.d(t,{CJ:function(){return S},DI:function(){return T},Dv:function(){return y},En:function(){return C},H2:function(){return _},JK:function(){return U},K5:function(){return E},LW:function(){return F},Mk:function(){return V},Ni:function(){return B},Si:function(){return $},Vl:function(){return P},Vz:function(){return J},WD:function(){return v},XX:function(){return w},ZT:function(){return L},Zb:function(){return m},_V:function(){return M},aB:function(){return h},c1:function(){return g},gJ:function(){return b},hE:function(){return N},jV:function(){return O},mP:function(){return j},nU:function(){return f},pT:function(){return c},qm:function(){return z},s_:function(){return x},tK:function(){return I},wg:function(){return A},xI:function(){return R},xW:function(){return D},yX:function(){return H},z4:function(){return k}});var r=i(38267),n=i(99701),o=i(49504),a=i(14649),l=i(64608),s=i(24833),d=i(91779);let c=r.Ay.div(["display:flex;gap:",";"],n.Kz.XS),u=r.Ay.div(["",";",";color:",";text-align:center;margin-bottom:12px;",""],o.Ay.M,o.BO.DemiBold,n.Jy.Neutral90,s.A.Phone`
7029    ${o.Ay.S};
7030    margin-bottom: 8px;
7031  `),p=r.Ay.div(["color:",";text-align:center;",";margin-bottom:40px;",""],n.Jy.Neutral50,o.Ay.Body,s.A.Phone`
7032    margin-bottom: 32px;
7033  `),h=r.Ay.div(["display:flex;justify-content:space-between;width:100%;margin-top:32px;",""],s.A.Phone`
7034    display: none;
7035  `),x=r.Ay.div(["display:none;",""],s.A.Phone`
7036    width: 100%;
7037    display: flex;
7038    flex-direction: column;
7039    margin-top: auto;
7040    margin-bottom: 21px;
7041    gap: ${n.Kz["2XS"]};
7042  `),m=(0,r.Ay)(d.Ay)(["padding:12px 24px;",""],s.A.Phone`
7043    display: none;
7044  `),g=(0,r.Ay)(d.Ay)(({isDisabled:e})=>(0,r.AH)(["width:120px;padding:12px 24px;background-color:",";",";",";&:hover{background-color:",";}",""],e?n.Jy.Neutral20:n.Jy.Indigo50,o.Ay.Body,o.BO.Medium,n.Jy.Indigo60,s.A.Phone`
7045      width: 100%;
7046    `)),y=r.Ay.div(["width:100%;"]),f=(0,r.Ay)(a.Ay.Spinner)(["color:",";animation:"," 0.5s linear infinite;"],n.Jy.Blue50,l.ni),b=(0,r.Ay)(a.Ay.Success)(["fill:",";"],n.Jy.Green50),_=(0,r.Ay)(a.EK.WarningCircle)(["color:",";width:16px;height:16px;"],n.Jy.Red50),v=(0,r.Ay)(d.Ay)([""]),j=(0,r.Ay)(a.Ay.Spinner)(["color:",";animation:"," 0.5s linear infinite;"],n.Jy.Neutral50,l.ni);(0,r.Ay)(u)(["margin-bottom:42px;",""],s.A.Phone`
7047    margin-bottom: 32px;
7048  `);let A=r.Ay.div(["display:flex;flex-direction:column;align-items:center;"]);o.Ay.Body,n.Jy.Neutral90,o.Ay.Caption,n.Jy.Neutral50;let C=r.Ay.div(["display:flex;align-items:center;margin-top:32px;width:100%;justify-content:space-between;",""],s.A.Phone`
7049    margin-top: auto;
7050    margin-bottom: 45px;
7051    flex-direction: column-reverse;
7052    gap: ${n.Kz.L};
7053  `),w=r.Ay.div([""," ",";color:",";align-items:center;cursor:pointer;display:flex;gap:9px;"],o.Ay.Caption,o.BO.DemiBold,n.Jy.Blue50),k=(0,r.Ay)(a.Ay.Revert)(["color:",";height:20px;width:20px;"],n.Jy.Blue50),S=(0,r.Ay)(d.Ay)(["padding:12px 24px;background:",";",";",";&:hover{background-color:",";}",""],n.Jy.Indigo50,o.Ay.Body,o.BO.Medium,n.Jy.Indigo60,s.A.Phone`
7054    width: 100%;
7055  `),T=(0,r.Ay)(S)([""]),P=(0,r.Ay)(u)(["margin-bottom:12px;",""],s.A.Phone`
7056    ${o.Ay.S};
7057    margin-bottom: 8px;
7058  `),J=(0,r.Ay)(p)([""]),E=r.Ay.img(["width:88px;height:120px;margin-top:48px;margin-bottom:12px;",""],s.A.Phone`
7059    margin-top: 100px;
7060    margin-bottom: 24px;
7061  `),R=r.Ay.div(["display:flex;flex-direction:column;align-items:center;gap:32px;",""],s.A.Phone`
7062    margin-top: 32px;
7063  `),L=r.Ay.div(["display:flex;flex-direction:column;gap:12px;padding:0 13px;",""],s.A.Phone`
7064    gap: 8px;
7065  `),N=r.Ay.p(["",";",";color:",";text-align:center;"],o.Ay.M,o.BO.DemiBold,n.Jy.Neutral90),I=r.Ay.p(["",";color:",";text-align:center;"],o.Ay.Body,n.Jy.Neutral50),M=r.Ay.img(["width:160px;height:100px;"]),B=r.Ay.div(["display:flex;flex-direction:column;gap:32px;",""],s.A.Phone`
7066    margin-top: 32px;
7067  `),D=r.Ay.div(["position:relative;display:flex;align-items:center;justify-content:center;margin-top:48px;"]),$=r.Ay.img(["width:90px;height:90px;position:absolute;border-radius:50%;display:flex;align-items:center;justify-content:center;"]),O=r.Ay.img(["width:24px;height:24px;position:absolute;top:-45px;left:-50px;"]),z=r.Ay.div(["display:inline-flex;padding:16px 32px 12px;flex-direction:column;align-items:center;border-radius:8px;background:linear-gradient(180deg,rgba(255,255,255,0.72) 0%,rgba(255,255,255,0.4) 100%),rgba(26,145,240,0.1);box-shadow:0px 1.099px 5.897px 0px rgba(26,145,240,0.2) inset;margin-top:36px;",""],s.A.Phone`
7068    padding: 16px 24px 12px;
7069  `),F=r.Ay.div(["",";",";color:",";max-width:272px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],o.Ay.Body,o.BO.Medium,n.Jy.Neutral90),H=r.Ay.div(["",";color:",";max-width:272px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],o.Ay.Caption,n.Jy.Neutral50),V=(0,r.Ay)(L)(["padding:0 66px;"]),U=r.Ay.img(["width:160px;height:100px;position:absolute;"])},22090:function(e,t,i){"use strict";i.d(t,{V:function(){return _},y:function(){return b}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(20646),s=i(18509),d=i(32606),c=i(8037),u=i(89492),p=i(71513);i(44114),i(22489);var h=i(57119),x=i(14649),m=i(3587),g=i(72958),y=i(96519),f=(0,n.memo)(e=>{let{cardData:t,allCards:i}=e,{institute:n,degree:o,date:a,isCollapsed:s}=t,{updateSimpleField:d,updateDateRange:u,onEditClick:f,onDelete:_}=(0,y.A)(c.ph.education,t);return s?(0,r.jsxs)(p.UX,{children:[(0,r.jsxs)(p.pG,{children:[(0,r.jsx)(p.i,{children:(n||o)&&(0,r.jsx)(p.L9,{children:[n,o].filter(
7069Boolean).join(", ")})}),(0,r.jsx)(p.v9,{onClick:()=>{let e=[];for(let r of i)r.id!==t.id&&b(r)&&e.push(r.id);f(e)},children:(0,r.jsx)(x.qJ.EditAlt,{})})]}),(0,r.jsx)(p.rR,{children:(0,g.t)(a)})]}):(0,r.jsxs)(r.Fragment,{children:[i.length>1&&(0,r.jsx)(p.i0,{children:(0,r.jsx)(x.qJ.RemoveAlt,{onClick:_})}),(0,r.jsxs)(p.Zp,{children:[(0,r.jsx)(h.A,{label:l.R.t("builder.ai_resume_draft.education.institution_name"),name:"institute",value:n,onChange:e=>{d("institute",e.target.value)}}),(0,r.jsx)(h.A,{label:l.R.t("builder.ai_resume_draft.education.degree"),name:"degree",value:o,onChange:e=>{d("degree",e.target.value)}}),(0,r.jsx)(m.A,{value:a,onChange:u,currentlyLabel:l.R.t("builder.date_range_picker.currently.study")})]})]})});let b=e=>{if(!e)return!0;let{institute:t,degree:i,date:{dateFrom:r,dateUntil:n,isDateUntilPresent:o}}=e;return!t&&!i&&!r&&!n&&!o},_=(0,n.memo)(()=>{let{cards:e}=(0,s.N)(e=>e.resumeEditor.aiResume.questionnaireData.userInput.education),t=e.length,i=(0,o.wA)();return(0,n.useEffect)(()=>{(0,a.xP)(c._t.seeEducationStep,{label:c.ux.aiResume})},[]),(0,r.jsxs)(p.Q_,{children:[e.map((t,i)=>(0,r.jsx)(p.Ox,{withTopMargin:i>0,children:(0,r.jsx)(f,{cardData:t,allCards:e})},t.id)),t<3&&(0,r.jsx)(u.A,{onAdd:()=>{(0,a.xP)(c._t.clickAddMore,{label:c.ux.education});let r=e[t-1];b(r)||(i(d.o1.setQuestionnaireCardData({cardType:c.ph.education,data:{...r,isCollapsed:!0}})),i(d.o1.pushEmptyEducationInQuestionnaire()))},text:l.R.t("builder.ai_resume_draft.education.add")})]})})},93871:function(e,t,i){"use strict";i.d(t,{ZI:function(){return b},Gh:function(){return j},IM:function(){return _},Yl:function(){return v}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(20646),s=i(18509),d=i(32606),c=i(8037),u=i(89492),p=i(71513);i(44114),i(22489);var h=i(57119),x=i(14649),m=i(3587),g=i(72958),y=i(96519),f=(0,n.memo)(e=>{let{cardData:t,allCards:i}=e,{position:n,company:a,date:s,isCollapsed:u,errors:f}=t,b=i[0]?.id??"",v=(0,o.wA)(),{updateSimpleField:j,updateDateRange:A,onEditClick:C,onDelete:w}=(0,y.A)(c.ph.workExperience,t),k=(e,i)=>{j(e,i),t.id===b&&i&&f&&f[e]&&v(d.o1.setQuestionnaireWorkExpCardErrors({...f,[e]:!1}))},S=(0,r.jsx)(p.np,{children:l.R.t("builder.ai_resume_draft.linkedin.link_empty")});return u?(0,r.jsxs)(p.UX,{children:[(0,r.jsxs)(p.pG,{children:[(0,r.jsx)(p.i,{children:(n||a)&&(0,r.jsx)(p.L9,{children:[n,a].filter(Boolean).join(", ")})}),(0,r.jsx)(p.v9,{onClick:()=>{let e=[];for(let r of i)r.id!==t.id&&_(r)&&e.push(r.id);C(e)},children:(0,r.jsx)(x.qJ.EditAlt,{})})]}),(0,r.jsx)(p.rR,{children:(0,g.t)(s)})]}):(0,r.jsxs)(r.Fragment,{children:[i.length>1&&(0,r.jsx)(p.i0,{children:(0,r.jsx)(x.qJ.RemoveAlt,{"data-testid":"delete-btn",onClick:()=>{_(t)?w():(v(d.o1.setConfirmDeleteQuestionnaireCardId({deleteCardId:t.id})),v(d.o1.setShowAIResumeWarningModal({showModal:!0,type:c.cK.removeJob})))}})}),(0,r.jsxs)(p.Zp,{children:[(0,r.jsx)(h.A,{label:l.R.t("builder.ai_resume_draft.work_experience.job_title"),name:"title",value:n,onChange:e=>{k("position",e.target.value)},error:f?.position&&S}),(0,r.jsx)(h.A,{label:l.R.t("builder.ai_resume_draft.work_experience.company_name"),name:"companyName",value:a,onChange:e=>{k("company",e.target.value)},error:f?.company&&S}),(0,r.jsx)(m.A,{value:s,onChange:e=>{if(A(e),t.id===b&&f){let{dateFrom:t,dateUntil:i,isDateUntilPresent:r}=e,n={};t&&f.dateFrom&&(n={dateFrom:!1}),(i||r)&&f.dateUntil&&(n={...n,dateUntil:!1}),v(d.o1.setQuestionnaireWorkExpCardErrors({...f,...n}))}},currentlyLabel:l.R.t("builder.date_range_picker.currently.work"),errors:{startError:f?.dateFrom||!1,endError:f?.dateUntil||!1}})]})]})});let b=e=>{if(!e)return!1;let{position:t,company:i,date:{dateFrom:r,dateUntil:n,isDateUntilPresent:o}}=e;return!!t&&!!i&&!!r&&(!!n||!!o)},_=e=>{if(!e)return!0;let{position:t,company:i,date:{dateFrom:r,dateUntil:n,isDateUntilPresent:o}}=e;return!t&&!i&&!r&&!n&&!o},v=e=>{if(!e)return{position:!0,company:!0,dateFrom:!0,dateUntil:!0};let{position:t,company:i,date:{dateFrom:r,dateUntil:n,isDateUntilPresent:o}}=e;return{position:!t,company:!i,dateFrom:!r,dateUntil:!n&&!o}},j=(0,n.memo)(()=>{let{cards:e}=(0,s.N)(e=>e.resumeEditor.aiResume.questionnaireData.userInput.workExperience),t=e.length,i=(0,o.wA)();return(0,n.useEffect)(()=>{(0,a.xP)(c._t.seeWorkExperienceStep,{label:c.ux.aiResume})},[]),(0,r.jsxs)(p.Q_,{children:[e.map((t,i)=>(0,r.jsx)(p.Ox,{withTopMargin:i>0,children:(0,r.jsx)(f,{cardData:t,allCards:e})},t.id)),t<3&&(0,r.jsx)(u.A,{onAdd:()=>
7069{if((0,a.xP)(c._t.clickAddMore,{label:c.ux.workExperience}),1===e.length&&!b(e[0])){let t=v(e[0]);i(d.o1.setQuestionnaireWorkExpCardErrors(t));return}_(e[t-1])||(i(d.o1.collapseQuestionnaireCards({cardType:c.ph.workExperience})),i(d.o1.pushEmptyWorkExpInQuestionnaire()))},text:l.R.t("builder.ai_resume_draft.work_experience.add")})]})})},71513:function(e,t,i){"use strict";i.d(t,{Al:function(){return J},E7:function(){return A},EE:function(){return B},FZ:function(){return _},Ig:function(){return E},JR:function(){return v},L9:function(){return y},Md:function(){return b},Ns:function(){return L},Ox:function(){return $},Q_:function(){return D},TA:function(){return j},UX:function(){return z},WD:function(){return w},Xi:function(){return I},Zp:function(){return O},bw:function(){return P},c1:function(){return k},cj:function(){return C},e7:function(){return M},i:function(){return g},i0:function(){return U},lh:function(){return R},np:function(){return f},pG:function(){return F},pZ:function(){return N},rR:function(){return H},v9:function(){return V},w0:function(){return T},zb:function(){return S}});var r=i(38267),n=i(99701),o=i(49504),a=i(24833),l=i(91779),s=i(57119),d=i(14649),c=i(72388);let{Neutral10:u,Neutral90:p,Neutral50:h,Blue50:x,Blue60:m}=n.Jy,g=r.Ay.div([""]),y=r.Ay.span([""]),f=r.Ay.div(["text-align:left;"]),b=r.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;flex-grow:1;"]),_=r.Ay.div(({isStepWithTabs:e})=>(0,r.AH)(["display:flex;flex-direction:column;gap:12px;margin-bottom:","px;text-align:center;"],e?16:40)),v=r.Ay.p(["",";",";color:",";"],o.Ay.M,o.BO.DemiBold,p),j=r.Ay.p(["",";color:",";"],o.Ay.Body,h),A=r.Ay.div(({onlyShowPrimaryButton:e,marginTop:t=32})=>(0,r.AH)(["display:flex;flex-direction:row;justify-content:",";width:100%;margin-top:","px;"],e?"center":"space-between",t)),C=r.Ay.div(["display:flex;flex-direction:row;gap:8px;",""],a.A.Phone`
7070    width: 100%;
7071    flex-flow: column-reverse;
7072    gap: 16px;
7073  `),w=r.Ay.button([""," "," display:inline-flex;align-items:center;justify-content:center;appearance:none;cursor:pointer;outline:none;white-space:nowrap;text-align:center;padding:12px 16px;border:none;&:hover,&:focus-visible{color:",";}"],o.Ay.Body,o.BO.Medium,x),k=(0,r.Ay)(l.$n).attrs({theme:l.Ox.alternative})(({isDisabled:e})=>(0,r.AH)([""," "," background:",""],o.Ay.Body,o.BO.Medium,e?n.Jy.Neutral20+" !important":"")),S=r.Ay.div(["width:100%;margin-top:auto;"]),T=r.Ay.img(["width:242px;height:242px;",""],a.A.Phone`
7074    width: 225px !important;
7075    height: 197px;
7076  `),P=(0,r.Ay)(T)(["width:276px;"]),J=r.Ay.p([""," font-weight:500;"],o.Ay.Body),E=r.Ay.p([""," margin-top:4px;color:",";",""],o.Ay.Body,n.Jy.Neutral50,a.A.AbovePhone`
7077    margin-top: 8px;
7078  `),R=(0,r.Ay)(d.Ay.RedWarning)(["margin-right:4px;"]),L=r.Ay.p([""," color:",";text-align:center;"],o.Ay.Body,n.Jy.Red50),N=r.Ay.div(["display:flex;align-items:center;"," ",""],a.A.AbovePhone`
7079    margin-top: 16px;
7080  `,a.A.Phone`
7081    margin-bottom: 16px;
7082  `),I=(0,r.Ay)(c.XX)(["color:",";padding:8px;margin-right:4px;"],p),M=(0,r.Ay)(c.z4)(["color:",";"],p),B=(0,r.Ay)(s.l)(["margin-top:32px;width:100%;"]),D=r.Ay.div(["width:100%;",""],a.A.Phone`
7083    margin-top: -20px;
7084  `),$=r.Ay.div(["margin-top:",";"],e=>e.withTopMargin?"16px":"0px"),O=r.Ay.div(["display:flex;flex-direction:column;gap:16px;"]),z=r.Ay.div(["display:flex;flex-direction:column;padding:16px;gap:4px;border-radius:8px;border:2px solid ",";"],u),F=r.Ay.div(["display:flex;align-items:center;justify-content:space-between;",";color:",";"],o.Ay.Body,p),H=r.Ay.div(["",";color:",";text-align:left;"],o.Ay.Caption,h),V=r.Ay.div(["&:hover{cursor:pointer;& path{stroke:",";}}"],m),U=r.Ay.div(["height:16px;text-align:end;& svg:hover{cursor:pointer;}"])},96519:function(e,t,i){"use strict";var r=i(81247),n=i(32606);t.A=(e,t)=>{let i=(0,r.wA)();return{updateDateRange:r=>{i(n.o1.setQuestionnaireCardData({cardType:e,data:{...t,date:{...t.date,...r}}}))},updateSimpleField:(r,o)=>{i(n.o1.setQuestionnaireCardData({cardType:e,data:{...t,[r]:o}}))},onEditClick:(r=[])=>
7084{for(let o of(i(n.o1.setQuestionnaireCardData({cardType:e,data:{...t,isCollapsed:!1}})),r))i(n.o1.deleteQuestionnaireCard({cardType:e,deleteCardId:o}));let o=[t.id];i(n.o1.collapseQuestionnaireCards({cardType:e,excludeCardsIds:o}))},onDelete:()=>{i(n.o1.deleteQuestionnaireCard({cardType:e,deleteCardId:t.id}))}}}},73303:function(e,t,i){"use strict";var r=i(74848),n=i(96540),o=i(33093),a=i(77378),l=i(18509),s=i(8037),d=i(32211),c=i(28159);t.A=(0,n.memo)(()=>{let{i18n:e}=(0,a.s)(),{validationError:t,errorSource:i}=(0,l.N)(e=>e.resumeEditor.prefillResumeSection);(0,n.useEffect)(()=>{i===s.zv.validation&&(0,o.xP)(s.x6.seeResumeUploadError,{error:t}),i===s.zv.parsing&&(0,o.xP)(s.x6.seeResumeParsingError)},[i,t]);let u=e.t("builder.upload_resume.generic_error");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.i,{children:(0,r.jsx)(c.pj,{src:d})}),(0,r.jsx)(c.ab,{children:e.t("builder.upload_resume.upload_failed")}),(0,r.jsx)(c.Kw,{children:t||u})]})})},56098:function(e,t,i){"use strict";var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(32606),s=i(18509),d=i(8037),c=i(77378),u=i(32211),p=i(29783),h=i(28159);t.A=(0,n.memo)(()=>{let{i18n:e}=(0,c.s)(),t=(0,s.N)(e=>e.resumeEditor.prefillResumeSection.selectedResume),i=(0,o.wA)(),x=(0,n.useCallback)(()=>{t&&(t.size>p.n9?(i(l.o1.setResumeValidationStatus(d.fA.failed)),i(l.o1.setResumeValidationError({error:e.t("builder.upload_resume.file_size_error"),errorSource:d.zv.validation}))):p.PX.test(t.type)?(i(l.o1.setResumeValidationStatus(d.fA.failed)),i(l.o1.setResumeValidationError({error:e.t("builder.upload_resume.unsupported_file_type_error"),errorSource:d.zv.validation}))):((0,a.xP)(d.x6.completeResumeUpload),i(l.o1.setResumeValidationStatus(d.fA.validated)),i(l.o1.setResumeValidationError({error:null,errorSource:null}))))},[i,e,t]);return(0,n.useEffect)(()=>{setTimeout(()=>{x()},2e3)},[x]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.G9,{children:e.t("builder.upload_resume.uploading")}),(0,r.jsx)(h.Bc,{children:(0,r.jsx)(h.E4,{src:u})})]})})},42248:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var r=i(74848),n=i(96540),o=i(18509),a=i(77378),l=i(41295),s=i.p+"media/upload-success-illustration0fd53dbdfbd9d779.png",d=i(28159),c=(0,n.memo)(()=>{let{i18n:e}=(0,a.s)(),t=(0,o.N)(e=>e.resumeEditor.prefillResumeSection.selectedResume),i=t?.name;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.i,{children:(0,r.jsx)(d.d6,{src:s})}),(0,r.jsx)(d.I,{children:e.t("builder.upload_resume.upload_complete")}),(0,r.jsx)(l.A,{value:i,multiline:!0,children:(0,r.jsx)(d.M,{children:i})})]})})},29783:function(e,t,i){"use strict";i.d(t,{D9:function(){return r},PX:function(){return a},fg:function(){return n},n9:function(){return o}});let r=[".doc",".docx","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/pdf"],n=r.join(","),o=1e7,a=/image\/(jpe?g|png|gif)/},28159:function(e,t,i){"use strict";i.d(t,{RL:function(){return w},Bc:function(){return J},I:function(){return R},pj:function(){return N},M:function(){return L},Ef:function(){return B},E4:function(){return T},d6:function(){return E},Kw:function(){return M},Yv:function(){return A},zp:function(){return j},ab:function(){return I},vj:function(){return v},i:function(){return _},G9:function(){return S}});var r=i(38267),n=i(99701),o=i(49504),a=i(8037),l=i(24833),s=i.p+"media/circle-onef9ac01762dc5de39.png",d=i.p+"media/circle-twodffab7b1e9173814.png",c=i.p+"media/circle-three014fc513e6faccc1.png",u=i.p+"media/circle-four80ab50c880d67919.png";let{White:p,Neutral10:h,Neutral50:x,Blue50:m,Red50:g}=n.Jy,{Caption:y,S:f}=o.Ay,{Regular:b}=o.BO,_=r.Ay.div([""]),v=r.Ay.div(["position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer;top:20px;right:20px;width:28px;height:28px;color:",";background:",";border-radius:32px;transition:color 0.15s;",""],x,h,l.A.AboveTablet`
7085    &:hover {
7086      color: ${m};
7087    }
7088  `),j=r.Ay.input(["display:none;"]),A=r.Ay.div(e=>{let{resumeValidationStatus:t}=e,i=t===a.fA.validated;return(0,r.AH)(["display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;position:relative;overflow:hidden;background-color:",";border-radius:16px;z-index:30;height:428px;width:604px;",";"],p,l.A.Phone`
7089      height: ${i?"311px":"374px"};
7090      width: 343px;
7091  `)}),C=r.Ay.div(["display:flex;flex-direction:column;justify-content:center;text-align:center;align-items:center;"]),w=(0,r.Ay)(C)(e=>{let{resumeValidationStatus:t}=e;return(0,r.AH)(["",";",";
7091",""],t===a.fA.uploading&&(0,r.AH)(["height:324px;",""],l.A.Phone`
7092        height: 247px;
7093      `),t===a.fA.validated&&(0,r.AH)(["height:292px;width:500px;",""],l.A.Phone`
7094          height: 234px;
7095          width: 310px;
7096      `),t===a.fA.failed&&(0,r.AH)(["width:406px;height:260px;",""],l.A.Phone`
7097          width: 311px;
7098          height: 242px;
7099      `))}),k=r.Ay.p(["",";font-weight:600;text-align:center;"],f),S=(0,r.Ay)(k)(["margin-bottom:24px;"]),T=r.Ay.img(["height:160px;",""],l.A.Phone`
7100    height: 117px;
7101  `),P=(0,r.i7)(["0%{background-image:none;}25%{background-image:url(",");}50%{background-image:url(",");}75%{background-image:url(",");}100%{background-image:url(",");}"],s,d,c,u),J=r.Ay.div(["width:272px;height:272px;display:flex;justify-content:center;align-items:center;background-repeat:no-repeat;background-size:cover;animation:"," 3s forwards;",""],P,l.A.Phone`
7102    width: 199px;
7103    height: 199px;
7104  `),E=r.Ay.img(["height:120px;",""],l.A.Phone`
7105    height: 96px;
7106  `),R=(0,r.Ay)(k)(["margin-bottom:12px;margin-top:26px;"]),L=r.Ay.div(["",";"," text-align:center;color:",";display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;"],y,b,x),N=r.Ay.img(["height:100px;",""],l.A.Phone`
7107    height: 72px;
7108  `),I=(0,r.Ay)(k)(["margin-top:16px;"]),M=r.Ay.p([""," ",";color:",";margin:12px 0 16px 0;width:406px;",""],y,b,g,l.A.Phone`
7109    width: 311px;
7110  `),B=r.Ay.div(e=>{let{showDoneButton:t,addSpaceWhenNotVisible:i}=e;return(0,r.AH)(["",""],t?(0,r.AH)(["display:flex;flex-direction:row;justify-content:center;text-align:center;margin-top:42px;& button:first-child{margin-right:16px;}",""],l.A.Phone`
7111          margin-top: 16px;
7112        `):i?"margin-top: 100px;":"")})},44706:function(e,t,i){"use strict";i.d(t,{DF:function(){return n},fg:function(){return o},kR:function(){return a}});var r,n=((r={}).voice_input="voice_input",r.text_input="text_input",r);let o=".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/pdf",a="fillByUrl"},17452:function(e,t,i){"use strict";i.d(t,{n:function(){return x}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(38267),a=i(99701),l=i(14649),s=i(49504);let d=(0,o.Ay)(l.EK.ChevronDown)(["height:24px;width:24px;color:",";flex-shrink:0;",""],a.Jy.Blue50,({$up:e})=>e&&(0,o.AH)(["transform:rotate(180deg);"])),c=o.Ay.div([""]),u=o.Ay.div(["border-bottom:1px solid ",";margin-bottom:",";padding-bottom:",";&:last-child{border-bottom:none;}"],a.Jy.Neutral15,a.Kz.M,a.Kz.M),p=o.Ay.div(["display:flex;justify-content:space-between;"," "," "," color:",";"],({$hasContent:e})=>e&&"cursor: pointer;",s.Ay.Body,s.BO.Medium,a.Jy.Neutral90),h=o.Ay.div(["display:",";overflow:hidden;max-height:",";transition:max-height 0.3s ease-out;margin-top:",";"," "," color:",";"],e=>e.$isOpen?"block":"none",e=>e.$isOpen?"auto":"0",a.Kz.XS,s.Ay.Caption,s.BO.Regular,a.Jy.Neutral50),x=({items:e})=>{let[t,i]=(0,n.useState)();return(0,r.jsx)(c,{children:e.map((e,n)=>(0,r.jsxs)(u,{children:[(0,r.jsxs)(p,{onClick:()=>{i(n===t?void 0:n)},$hasContent:!!e.content,children:[e.title," ",e.content&&(0,r.jsx)(d,{$up:n===t})]}),e.content&&(0,r.jsx)(h,{$isOpen:n===t,children:e.content})]},n))})}},18578:function(e,t,i){"use strict";i.d(t,{W:function(){return tP}});var r,n=i(74848),o=i(96540),a=i(81247),l=i(29567),s=i(18509),d=i(5005),c=i(26975),u=i(56749),p=i(33093),h=i(77378),x=i(91779),m=i(86066),g=i(43219);i(18111),i(22489);var y=i(63064),f=i(96230),b=i(49012),_=i(88224),v=i(38267),j=i(99701),A=i(24833);let C=v.Ay.div(["display:flex;justify-content:flex-end;margin-top:",";gap:",";",""],j.Kz.L,j.Kz["2XS"],A.A.Phone`
7113    margin-top: ${j.Kz.M};
7114  `),w="builder.job_search.alert_modal.delete_alert",k=()=>{let e,{i18n:t}=(0,h.s)(),i=(0,s.N)(l.Tp.alert),r=(e=(0,y.jE)(),(0,f.n)(async({id:e})=>(await b.R3.delete(`/job-alerts/v1/custom-subscriptions/${e}`)).data,{onSuccess:(t,{id:i})=>{e.setQueryData(["useGetCustomAlerts"],e=>(e||[]).filter(e=>e.id!==i))}})),o=(0,a.wA)(),{isPhone:c}=(0,m.e)();return(0,n.jsx)(g.a,{onClose:()=>o(l.o1.setAlertType({type:void 0})),title:t.t(`${w}.title`),subtitle:t.t(`${w}.subtitle`),children:(0,n.jsxs)(C,{children:[(0,n.jsx)(x.Ay,{size:c?x.Mp.small:x.Mp.default,theme:x.Ox.ghost,onClick:()=>o(l.o1.setAlertType({type:d._1.edit,editCustomAlert:i.editCustomAlert})),children:t.t(`${w}.cancel`)}),(0,n.jsx)(x.Ay,{size:c?x.Mp.small:x.Mp.default,theme:x.Ox.destructive,isLoading:r.isLoading,onClick:async()=>
7114{if(i.editCustomAlert&&"number"==typeof i.editCustomAlert.id)try{await r.mutateAsync({id:i.editCustomAlert?.id}),(0,p.xP)("delete_custom_alert",{label:(0,_.p)()}),o(l.o1.setAlertType({type:d._1.manage})),o(l.o1.setNotification(d.Bx.delete_job_alert))}catch(e){o(l.o1.setNotification(d.Bx.snackbar_fail))}},children:t.t(`${w}.delete`)})]})})};var S=i(41193),T=i.p+"media/confirmation7f736f3794ae1274.png";i(61701);let P="builder.job_search.alert_modal.frequencies",J=()=>{let{i18n:e}=(0,h.s)(),t=(0,o.useCallback)(t=>{switch(t){case d.fH.daily:return e.t(`${P}.day`);case d.fH.weekly:return e.t(`${P}.week`);case d.fH.monthly:return e.t(`${P}.month`);case d.fH.two_weeks:return e.t(`${P}.two_weeks`)}},[e]),i=(0,o.useMemo)(()=>[d.fH.daily,d.fH.weekly,d.fH.monthly],[]);return{frequencies:(0,o.useMemo)(()=>i.map(e=>({id:e,name:t(e)})),[i,t]),getTranslatedTextFrequency:t}};var E=i(49504);let R=v.Ay.div(["display:flex;align-items:center;flex-direction:column;margin-top:20px;",";"],A.A.Phone`
7115    margin-top: 0;
7116  `),L=v.Ay.div(["",";",";padding:12px 0;"],E.Ay.S,E.BO.Medium),N=v.Ay.div(["color:",";text-align:center;",";",";& b{color:",";",";",";}padding-bottom:48px;",";"],j.Jy.Neutral50,E.Ay.Body,E.BO.Regular,j.Jy.Neutral90,E.Ay.Body,E.BO.Medium,A.A.Phone`
7117    padding-bottom: 20px;
7118  `),I=v.Ay.img(["width:209px;height:196px;flex-shrink:0;"]),M="builder.job_search.alert_modal.confirmation_alert",B=()=>{let{i18n:e}=(0,h.s)(),t=(0,a.wA)(),i=(0,S.J)(),r=(0,s.N)(l.Tp.alert),{getTranslatedTextFrequency:o}=J();return(0,n.jsx)(g.a,{onClose:()=>{t(l.o1.setAlertType({type:void 0})),t(l.o1.setNotification(d.Bx.create_job_alert))},children:(0,n.jsxs)(R,{children:[(0,n.jsx)(I,{src:T}),(0,n.jsx)(L,{children:e.t(`${M}.title`)}),(0,n.jsx)(N,{dangerouslySetInnerHTML:{__html:e.t(`${M}.subtitle`,{email:i?.email,frequency:r.editCustomAlert?.frequency?o(r.editCustomAlert?.frequency).toLowerCase():""})}})]})})};var D=i(57119),$=i(14649),O=i(33637),z=i(43623),F=i(12796),H=i(59075),V=i(45112),U=i(42692),W=i(40434);i(51244);var K=i(59238),q=i(36822);let G=()=>{let e=(0,y.jE)();return(0,f.n)(async e=>{let t=await b.R3.put(`/job-alerts/v1/custom-subscriptions/${e.data.id}`,(0,K.WK)(e.data));return(0,K.Pk)(t.data)},{onSuccess:(t,i)=>{i.shouldUpdateCache&&e.setQueryData(["useGetCustomAlerts"],e=>(e||[]).map(e=>e.id===t.id?t:e))}})};var Z=i(50045);E.Ay.Subhead,E.BO.Medium,E.Ay.Subhead,E.BO.Medium;let X=v.Ay.div(["margin:"," 0;display:flex;flex-direction:column;gap:16px;",""],j.Kz.L,A.A.Phone`
7119    margin: 0;
7120    padding: 0 16px;
7121    overflow-y: auto;
7122  `),Q=v.Ay.div(["height:72px;",""],A.A.Phone`
7123    height: 66px;
7124  `),Y=v.Ay.div(["display:flex;justify-content:space-between;align-items:center;"]),ee=v.Ay.div(["color:",";gap:",";cursor:pointer;&:hover{color:",";}"],j.Jy.Red50,j.Kz["3XS"],j.Jy.Red60),et=v.Ay.div(["display:flex;gap:",";"],j.Kz["2XS"]),ei=v.Ay.div(["",";",";color:",";display:flex;"],E.Ay.Body,E.BO.Regular,j.Jy.Neutral90),er=v.Ay.span(["",";",";color:",";"],E.Ay.Tiny,E.BO.Regular,j.Jy.Red50),en=v.Ay.div(["",";",";color:",";display:flex;align-items:center;justify-content:flex-end;gap:",";"],E.Ay.Body,E.BO.Regular,j.Jy.Neutral90,j.Kz["2XS"]),eo=v.Ay.button(["",";",";display:flex;align-items:center;gap:",";background:transparent;border:0;padding:0;cursor:pointer;color:",";&:hover{color:",";}"],E.Ay.Body,E.BO.Regular,j.Kz["3XS"],j.Jy.Blue50,j.Jy.Blue60),ea=v.Ay.hr(["margin:0;border:0;border-top:1px solid ",";"],j.Jy.Neutral15),el=v.Ay.div(["display:flex;flex-direction:column;gap:",";"],j.Kz.XS),es=v.Ay.div(["",";",";color:",";"],E.Ay.Body,E.BO.Medium,j.Jy.Neutral90),ed=v.Ay.div(["",";",";color:",";"],E.Ay.Caption,E.BO.Regular,j.Jy.Neutral60),ec=v.Ay.div(["display:flex;justify-content:space-between;align-items:center;"]),eu=v.Ay.div(["",";",";color:",";display:flex;align-items:center;gap:",";"],E.Ay.Caption,E.BO.Regular,j.Jy.Neutral90,j.Kz["3XS"]),ep=v.Ay.span(["",";",";color:",";"],E.Ay.Body,E.BO.Medium,j.Jy.Neutral90),eh=(0,v.Ay)(Z.F)(["width:100%;max-width:none;"]),ex=v.Ay.div(["display:flex;flex-wrap:wrap;gap:",";"],j.Kz.XS),em=v.Ay.div(["",";",";display:flex;align-items:flex-start;gap:",";padding:",";border-radius:8px;background:",";color:",";"],E.Ay.Caption,E.BO.Regular,j.Kz["3XS"],j.Kz["2XS"],j.Jy.Blue15,j.Jy.Neutral90),eg=v.Ay.span(["display:inline-flex;color:",";flex-shrink:0;"],j.Jy.Blue60),ey="builder.job_search.alert_modal.form_alert",ef=[W.y.ANY_CONTRACT_TYPE,W.y.FULL_TIME,W.y.PART_TIME,W.y.CONTRACT,W.y.TEMPORARY,W.y.FREELANCE,W.y.GIG],eb=[W.X.REMOTE,W.X.HYBRID,W.X.ONSITE];var e_=((r={}).create="create",r.edit="edit",r);let ev=({mode:e})=>{let t,{i18n:i}=(0,h.s)(),r=(0,s.N)(l.Tp.alert),{frequencies:c}=J(),{isPhone:u}=(0,m.e)(),v=r.editCustomAlert?.location||"",j={text:v,value:r.editCustomAlert?.locationId||void 0},[A,C]=(0,o.useState)({desiredRole:{text:r.editCustomAlert?.targetRole||"",selectedValue:r.editCustomAlert?.targetRole?{text:r.editCustomAlert?.targetRole}:void 0},desiredLocation:{text:v,selectedValue:r.editCustomAlert?.location?j:void 0}}),[w,k]=(0,o.useState)(r.editCustomAlert?.frequency||c[0].id),[S,T]=(0,o.useState)(r.editCustomAlert?.onlyRemoteJobs),[P,E]=(0,o.useState)(!1),{features:R}=(0,U.t)(),L=!!R.jobSearchV2,[N,I]=(0,o.useState)(()=>{let e=r.editCustomAlert;return!!e&&!!(e.jobLocationTypes?.length||e.employmentTypes?.length||null!=e.minYearsExperience||null!=e.maxYearsExperience||null!=e.salaryMin||null!=e.salaryMax||null!=e.radius)}),[M,B]=(0,o.useState)([r.editCustomAlert?.minYearsExperience??0,r.editCustomAlert?.maxYearsExperience??11]),[Z,e_]=(0,o.useState)(!!r.editCustomAlert&&r.editCustomAlert?.minYearsExperience
7124==null&&r.editCustomAlert?.maxYearsExperience==null),[ev,ej]=(0,o.useState)([r.editCustomAlert?.salaryMin??4e4,r.editCustomAlert?.salaryMax??3e5]),[eA,eC]=(0,o.useState)(!!r.editCustomAlert&&r.editCustomAlert?.salaryMin==null&&r.editCustomAlert?.salaryMax==null),[ew,ek]=(0,o.useState)(r.editCustomAlert?.radius??25),[eS,eT]=(0,o.useState)(!!r.editCustomAlert&&null==r.editCustomAlert.radius),[eP,eJ]=(0,o.useState)(()=>{let e=r.editCustomAlert?.employmentTypes??[];return 0===e.length&&r.editCustomAlert?[W.y.ANY_CONTRACT_TYPE]:e}),[eE,eR]=(0,o.useState)(r.editCustomAlert?.jobLocationTypes??[]),eL=(e,t)=>t.includes(e)?t.filter(t=>t!==e):[...t,e],eN=(t=(0,y.jE)(),(0,f.n)(async e=>(await b.R3.post("/job-alerts/v1/custom-subscriptions",(0,K.WK)(e))).data,{onSuccess:()=>{t.invalidateQueries(["useGetCustomAlerts"])}})),eI=G(),{mutateAsync:eM}=(0,F.A)(),eB=(0,a.wA)(),eD=e=>t=>{C(i=>({...i,[e]:{text:t.target.value,selectedValue:void 0}}))},e$=e=>(t,{suggestion:i})=>{C(t=>({...t||{},[e]:{text:i.formatted||i.text,selectedValue:i}}))},eO=()=>L?{employmentTypes:eP.includes(W.y.ANY_CONTRACT_TYPE)?[]:eP,jobLocationTypes:eE,minYearsExperience:Z?void 0:M[0],maxYearsExperience:Z?void 0:M[1],salaryMin:eA?void 0:ev[0],salaryMax:eA?void 0:ev[1],radius:eS?null:ew}:{},ez=async()=>{let t;if(E(!0),t=!1,A.desiredRole.selectedValue||(C(e=>({...e,desiredRole:{text:"",selectedValue:void 0}})),t=!0),A.desiredLocation.selectedValue||(C(e=>({...e,desiredLocation:{text:"",selectedValue:void 0}})),(!S||A.desiredLocation.text)&&(t=!0)),!t){if("create"===e)try{await eN.mutateAsync({active:!0,targetRole:A.desiredRole.selectedValue?.text,location:A.desiredLocation.selectedValue?.formatted||A.desiredLocation.selectedValue?.text,locationId:parseInt(A.desiredLocation.selectedValue?.value),onlyRemoteJobs:S,frequency:w,...eO()}),(0,p.xP)("create_custom_alert",{label:(0,_.p)()}),eB(l.o1.setAlertType({type:d._1.confirmation_success,editCustomAlert:{frequency:w}}))}catch(e){eB(l.o1.setNotification(d.Bx.snackbar_fail))}if("edit"===e&&r.editCustomAlert)try{await eI.mutateAsync({data:{id:r.editCustomAlert.id,targetRole:A.desiredRole.selectedValue?.text,location:A.desiredLocation.selectedValue?.formatted||A.desiredLocation.selectedValue?.text,locationId:A.desiredLocation.selectedValue?.id,onlyRemoteJobs:S,frequency:w,...eO()},shouldUpdateCache:!0}),eB(l.o1.setAlertType({type:d._1.manage}))}catch(e){eB(l.o1.setNotification(d.Bx.snackbar_fail))}}},eF=i.t(`${ey}.title_${e}`),eH=i.t(`${ey}.subtitle`),eV=()=>eB(l.o1.setAlertType({type:void 0})),eU=(0,n.jsxs)(Y,{children:[(0,n.jsx)(ee,{onClick:()=>{"edit"===e&&r.editCustomAlert&&eB(l.o1.setAlertType({type:d._1.delete,editCustomAlert:{active:!0,location:A.desiredLocation.selectedValue?.text,locationId:A.desiredLocation.selectedValue?.value,targetRole:A.desiredRole.selectedValue?.text,id:r.editCustomAlert.id,frequency:w}}))},children:"edit"===e&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)($.EK.TrashIcon,{})," ",i.t(`${ey}.delete_job_alert`)]})}),(0,n.jsxs)(et,{children:[(0,n.jsx)(x.Ay,{size:x.Mp.default,theme:x.Ox.ghost,onClick:()=>eB(l.o1.setAlertType({type:d._1.manage})),children:i.t(`${ey}.${L?"cancel":"back"}`)}),(0,n.jsx)(x.Ay,{size:x.Mp.default,theme:x.Ox.default,isDisabled:eN.isLoading||eI.isLoading,isLoading:eN.isLoading,onClick:ez,children:i.t(`${ey}.confirmation_${e}`)})]})]}),eW=(0,n.jsxs)(X,{children:[(0,n.jsx)(Q,{children:(0,n.jsx)(z.wc,{highlightedQuery:!0,showInputAsSuggestion:!0,value:A.desiredRole.text,onChange:eD("desiredRole"),onSuggestionSelected:e$("desiredRole"),fetchItems:async e=>(await eM(e)).map(e=>({text:e.standardTitle,id:e.id})),children:({key:e,...t})=>(0,o.createElement)(D.A,{...t,key:e,error:P&&!A.desiredRole.selectedValue,name:"jobTitle",label:i.t(`${ey}.desired_role`),placeholder:i.t(`${ey}.desired_role_placeholder`)})})}),P&&!A.desiredRole.selectedValue&&(0,n.jsx)(er,{children:i.t(`${ey}.error_target_role`)}),(0,n.jsx)(Q,{children:(0,n.jsx)(z.wc,{fetchItems:q.G,onChange:eD("desiredLocation"),value:A.desiredLocation.text,onSuggestionSelected:e$("desiredLocation"),shouldRenderSuggestions:()=>!0,getSuggestionValue:e=>e.formatted||e.text,children:({key:e,...t})=>(0,o.createElement)(D.A,{...t,key:e,label:i.t(`${ey}.desired_location`),error:P&&!S&&!A.desiredLocation.selectedValue,placeholder:i.t(`${ey}.desired_location_placeholder`)})})}),!L&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(ei,{children:[(0,n.jsx)(V.A,{onClick:()=>{T(e=>!e)},checked:S}),(0,n.jsx)("span",{children:i.t(`${ey}.remote_label`)})]}),P&&!S&&!A.desiredLocation.selectedValue&&(0,n.jsx)(er,{children:i.t(`${ey}.error_location`)})]}),(0,n.jsx)(Q,{children:(0,n.jsx)(O.A,{label:i.t(`${ey}.frequency`),selected:w,onSelect:k,disabled:1===c.length,options:c})}),L&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(en,{children:(0,n.jsxs)(eo,{type:"button",onClick:()=>I(e=>!e),children:[(0,n.jsx)($.qJ.Settings2,{}),i.t(`${ey}.more_settings`)]})}),N&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ea,{}),(0,n.jsxs)(el,{children:[(0,n.jsx)(es,{children:i.t(`${ey}.workplace_type`)}),(0,n.jsx)(ed,{children:i.t(`${ey}.workplace_type_subtitle`)}),(0,n.jsx)(ex,{children:eb.map(e=>(0,n.jsx)(x.c7,{selected:eE.includes(e),onClick:()=>eR(t=>eL(e,t)),children:i.t(`${ey}.location_type_options.${e}`)},e))})]}),(0,n.jsx)(ea,{}),(0,n.jsxs)(el,{children:[(0,n.jsxs)(ec,{children:[(0,n.jsx)(es,{children:i.t(`${ey}.experience`)}),(0,n.jsxs)(eu,{children:[(0,n.jsx)("span",{children:i.t(`${ey}.open_to_all`)}),(0,n.jsx)(V.A,{checked:Z,onClick:()=>e_(e=>!e)})]})]}),(0,n.jsx)(ep,{children:Z?i.t(`${ey}.any`):M[0]===M[1]?i.t(`${ey}.experience_value`,{value:M[0],count:M[0]}):i.t(`${ey}.experience_range`,{min:M[0],max:M[1]})}),(0,n.jsx)(eh,{lowValue:M[0],highValue:M[1],min:0,max:11,onChange:(e,t)=>
7124B([e,t]),disabled:Z})]}),(0,n.jsx)(ea,{}),(0,n.jsxs)(el,{children:[(0,n.jsxs)(ec,{children:[(0,n.jsx)(es,{children:i.t(`${ey}.salary`)}),(0,n.jsxs)(eu,{children:[(0,n.jsx)("span",{children:i.t(`${ey}.open_to_all`)}),(0,n.jsx)(V.A,{checked:eA,onClick:()=>eC(e=>!e)})]})]}),(0,n.jsx)(ep,{children:eA?i.t(`${ey}.any`):ev[0]===ev[1]?i.t(`${ey}.salary_value`,{value:Math.floor(ev[0]/1e3)}):i.t(`${ey}.salary_range`,{min:Math.floor(ev[0]/1e3),max:Math.floor(ev[1]/1e3)})}),(0,n.jsx)(eh,{lowValue:ev[0],highValue:ev[1],min:4e4,max:3e5,onChange:(e,t)=>ej([e,t]),prefixLabel:"$",suffixLabel:"k",step:1e4,disabled:eA})]}),(0,n.jsx)(ea,{}),(0,n.jsxs)(el,{children:[(0,n.jsxs)(ec,{children:[(0,n.jsx)(es,{children:i.t(`${ey}.distance`)}),(0,n.jsxs)(eu,{children:[(0,n.jsx)("span",{children:i.t(`${ey}.open_to_all`)}),(0,n.jsx)(V.A,{checked:eS,onClick:()=>eT(e=>!e)})]})]}),(0,n.jsx)(ep,{children:eS?i.t(`${ey}.any`):i.t(`${ey}.distance_value`,{value:ew,count:ew})}),(0,n.jsx)(eh,{single:!0,highValue:ew,min:5,max:200,onChange:(e,t)=>ek(t),disabled:eS})]}),(0,n.jsx)(ea,{}),(0,n.jsxs)(el,{children:[(0,n.jsx)(es,{children:i.t(`${ey}.job_type`)}),(0,n.jsx)(ex,{children:ef.map(e=>(0,n.jsx)(x.c7,{selected:eP.includes(e),onClick:()=>eJ(t=>e===W.y.ANY_CONTRACT_TYPE?t.includes(W.y.ANY_CONTRACT_TYPE)?[]:[W.y.ANY_CONTRACT_TYPE]:eL(e,t.filter(e=>e!==W.y.ANY_CONTRACT_TYPE))),children:i.t(`${ey}.job_type_options.${e===W.y.FREELANCE?"freelancer":e}`)},e))})]}),(0,n.jsxs)(em,{children:[(0,n.jsx)(eg,{children:(0,n.jsx)($.EK.InfoRegular,{})}),(0,n.jsx)("span",{children:i.t(`${ey}.info_strict_filters`)})]})]})]})]});return u?(0,n.jsx)(H.A,{open:!0,onOpenChange:e=>{e||eV()},title:eF,description:eH,footer:eU,maxHeight:"90vh",scrollableContent:!0,showHandle:!0,handleOnly:!0,children:eW}):(0,n.jsx)(g.a,{onClose:eV,title:eF,subtitle:eH,maxHeight:"calc(100vh - 80px)",scrollableContent:!0,footer:eU,children:eW})};i(20116),i(44114);var ej=i(69352),eA=i(9888),eC=i(40271),ew=i(62317);let ek=v.Ay.div(["display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;z-index:12000;transition-property:opacity;transition-timing-function:ease-out;background:rgba(15,20,31,0.8);"]),eS=v.Ay.div(["display:flex;justify-content:center;align-items:center;margin:auto;border-radius:12px;flex-direction:column;"]),eT=v.Ay.div(["background-color:",";width:","px;border-radius:12px;",";padding:",";"],j.Jy.White,({$width:e})=>e,A.A.Phone`
7125    max-width: 328px;
7126    height: 100%;
7127    padding: 20px;
7128
7129  `,j.Kz.L),eP=v.Ay.div(["height:28px;width:28px;flex:0 0 auto;background-color:",";color:",";border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;&:hover{color:",";background-color:",";}",""],j.Jy.Neutral10,j.Jy.Neutral50,j.Jy.Blue50,j.Jy.Blue10,A.A.Phone`
7130    height: 24px;
7131    width: 24px;
7132  `),eJ=v.Ay.div(["display:flex;justify-content:space-between;margin-bottom:",";",""],j.Kz.XS,A.A.Phone`
7133    margin-bottom: ${j.Kz["2XS"]};
7134
7135  `),eE=v.Ay.div(["",";",";color:",";"],E.Ay.S,E.BO.DemiBold,j.Jy.Neutral90),eR=(0,v.Ay)($.Ay.Close)(["height:20px;width:20px;"]),eL=v.Ay.div(["",";",";color:",";"],E.Ay.Body,E.BO.Regular,j.Jy.Neutral50),eN=({children:e,title:t,subtitle:i,onClose:r,width:a,className:l,padding:s})=>{let{isPhone:d}=(0,m.e)(),c=(0,o.useRef)(null),[u,p]=(0,o.useState)(!1);return(0,o.useEffect)(()=>(p(!0),document.body.style.overflow="hidden",()=>{document.body.style.overflow="auto"}),[]),(0,ew.L)(c,()=>u&&r()),(0,n.jsx)(ek,{children:(0,n.jsx)(eS,{children:(0,n.jsxs)(eT,{$width:a||d?343:544,className:l,$padding:s,ref:c,children:[(0,n.jsxs)(eJ,{children:[(0,n.jsx)(eE,{children:t}),(0,n.jsx)(eP,{onClick:r,children:(0,n.jsx)(eR,{})})]}),i&&(0,n.jsx)(eL,{children:i}),e]})})})};var eI=i(57295),eM=i(27754),eB=i(49595),eD=i(9421);let e$=()=>(0,eD.I)(["useGetRecommendationAlert"],async()=>{let e=await b.R3.get("/job-alerts/v1/recommendation-subscription");return(0,K.ec)(e.data)},{staleTime:3e3}),eO=()=>{let e=(0,y.jE)();return(0,f.n)(async e=>{let t=await b.R3.put("/job-alerts/v1/recommendation-subscription",e.data);return(0,K.ec)(t.data)},{onSuccess:(t,i)=>{i.shouldUpdateCache&&e.setQueryData(["useGetRecommendationAlert"],()=>t)}})};var ez=i(14529);let eF=v.Ay.div(["display:flex;gap:6px;color:",";"," ",""],j.Jy.Neutral90,E.Ay.Subhead,E.BO.Medium),eH=(0,v.Ay)(x.Ay)(["margin-top:16px;width:100%;height:96px;"," &:hover ","{color:",";}"],A.A.Phone`
7136    margin-top: 12px;
7137    border-radius: ${j.Kz["2XS"]};
7138    height: 70px;
7139  `,eF,j.Jy.Blue50),eV=({onClick:e})=>{let{i18n:t}=(0,h.s)();return(0,n.jsx)(eH,{theme:x.Ox.ghost,onClick:e,children:(0,n.jsxs)(eF,{children:[(0,n.jsx)($.Ay.Add,{})," ",t.t("builder.job_search.alert_modal.create_new_alert")]})})};var eU=i(31699);let eW=v.Ay.div(["display:flex;gap:6px;color:",";"," ",""],j.Jy.Neutral90,E.Ay.Subhead,E.BO.Medium),eK=v.Ay.div(["& svg{width:24px;height:24px;}& path{stroke:",";}"],j.Jy.Neutral50),eq=v.Ay.div(["& div{margin:0;}"]),eG=v.Ay.div(["display:flex;gap:4px;color:",";"," "," display:flex;overflow:hidden;& svg{flex-shrink:0;}align-items:center;"],j.Jy.Neutral50,E.Ay.Body,E.BO.Regular),eZ=v.Ay.div(["display:flex;padding:",";justify-content:center;align-items:center;align-self:stretch;border-radius:0px 0px "," ",";background:",";color:",";gap:4px;
7139height:40px;cursor:pointer;"],j.Kz["2XS"],j.Kz["2XS"],j.Kz["2XS"],j.Jy.Blue10,j.Jy.Blue50),eX=e=>`
7140  
7141  border-top: 1px solid ${e};
7142  border-right: 1px solid ${e};
7143  border-left: 1px solid ${e};
7144`,eQ=v.Ay.div(["display:flex;justify-content:space-between;align-items:center;align-items:start;gap:12px;border-radius:",";background:",";width:100%;border-radius:8px 8px 0px 0px;transition:border-color 100ms ease-out;"," padding:16px 16px 12px;",""],j.Kz["2XS"],j.Jy.White,eX(j.Jy.Neutral15),A.A.AbovePhone`
7145    padding: 20px 24px 16px;
7146  `),eY=v.Ay.div(["",""],e=>e.$active?`
7147        &:hover ${eQ} {
7148          ${eX(j.Jy.Blue30)}
7149        }
7150
7151        &:hover ${eZ} {
7152          background-color: ${j.Jy.Blue20};
7153          color: ${j.Jy.Blue50};
7154        }
7155      `:(0,v.AH)(["","{","}","{background-color:",";color:",";}"],eQ,eX(j.Jy.Neutral15),eZ,j.Jy.Neutral20,j.Jy.Neutral50)),e0=v.Ay.div(["display:flex;flex-direction:column;width:100%;overflow:hidden;"]),e1=v.Ay.div(["display:flex;padding-top:6px;flex-wrap:wrap;gap:4px;"," ",""],A.A.Phone`
7156    flex-direction: column;
7157  `,A.A.AbovePhone`
7158    gap: 10px;
7159  `),e2=({active:e,id:t,targetRole:i,onlyRemoteJobs:r,location:o,frequency:s,onClick:c})=>{let{getTranslatedTextFrequency:u}=J(),{i18n:p}=(0,h.s)(),x=G(),m=(0,a.wA)(),g=async()=>{try{await x.mutateAsync({data:{id:t,active:!e},shouldUpdateCache:!0})}catch(e){m(l.o1.setNotification(d.Bx.snackbar_fail))}};return(0,n.jsxs)(eY,{"data-custom-alert-id":t,$active:!!e,children:[(0,n.jsxs)(eQ,{children:[(0,n.jsxs)(e0,{children:[(0,n.jsx)(eW,{children:i}),(0,n.jsxs)(e1,{children:[(0,n.jsxs)(eG,{children:[(0,n.jsx)($.Ay.NewLocation,{}),o,r&&o&&", ",r&&p.t("builder.job_search.remote")]}),(0,n.jsxs)(eG,{children:[(0,n.jsx)(eK,{children:(0,n.jsx)($.EK.Clock,{})}),s&&u(s)]})]})]}),(0,n.jsx)(eq,{children:(0,n.jsx)(V.A,{disabled:x.isLoading,checked:e,onClick:g})})]}),(0,n.jsxs)(eZ,{onClick:c,children:[(0,n.jsx)(eU.SettingNew,{}),p.t("builder.job_search.alert_modal.custom_alert.customize")]})]})};E.Ay.Subhead,E.BO.Medium;let e3=v.Ay.div(["padding-right:10px;color:",";margin-top:32px;display:flex;gap:20px;flex-direction:column;max-height:calc(100vh - 264px);overflow:hidden auto;",""],j.Jy.Neutral50,A.A.Phone`
7160    margin-top: 20px;
7161    gap: 12px;
7162  `),e5=v.Ay.div(["display:flex;justify-content:center;height:260px;align-content:center;align-items:center;"]);var e4=i(47767),e6=i.p+"media/bg1a5bdf838b6ec26f.png";let e8=v.Ay.div(["display:flex;border-radius:",";flex-direction:column;padding:16px;gap:16px;background-image:url(",");background-size:cover;background-color:",";",""],j.Kz["2XS"],e6,j.Jy.Blue10,A.A.AbovePhone` 
7163    padding: 20px 24px 24px;
7164    gap: 20px;
7165  `),e9=v.Ay.div(["color:",";"," ",""],j.Jy.Neutral90,E.Ay.Body,E.BO.Medium),e7=v.Ay.div(["color:",";"," ",""],j.Jy.Blue80,E.Ay.Subhead,E.BO.Medium),te=v.Ay.div(["color:",";"," ",""],j.Jy.Blue80,E.Ay.Body,E.BO.Regular),tt="builder.job_search.alert_modal.card_recommended_disabled",ti=()=>{let{i18n:e}=(0,h.s)(),t=(0,e4.Zp)(),i=async()=>{t(`/career-profile/edit?section=jobPreferences&returnUrl=${encodeURIComponent("/job-search?view=recommendation&open_job_alert=true")}`)};return(0,n.jsxs)(e8,{children:[(0,n.jsxs)(e9,{children:[(0,n.jsxs)(e7,{children:[" ",e.t(`${tt}.title`)]}),(0,n.jsx)(te,{children:e.t(`${tt}.subtitle`)})]}),(0,n.jsxs)(x.Ay,{size:x.Mp.small,onClick:i,children:[(0,n.jsx)($.Ay.Unlocked,{}),e.t(`${tt}.button`)]})]})},tr=v.Ay.div(["display:flex;padding-bottom:12px;border-bottom:1px solid ",";"],j.Jy.Neutral15),tn=v.Ay.div([""," "," color:",";"],E.BO.Medium,E.Ay.Body,j.Jy.Neutral90),to=v.Ay.div([""," "," color:",";"],E.BO.Regular,E.Ay.Caption,j.Jy.Neutral50),ta=v.Ay.div(["display:flex;flex-direction:column;width:100%;"]),tl=v.Ay.div([""," "," color:",";white-space:nowrap;cursor:pointer;"],E.BO.Medium,E.Ay.Body,j.Jy.Blue50),ts="builder.job_search.alert_modal.manage_your_job_alerts.email_notifications",td=({enabled:e,onClick:t})=>{let{i18n:i}=(0,h.s)();return(0,n.jsxs)(tr,{children:[(0,n.jsxs)(ta,{children:[(0,n.jsx)(tn,{children:i.t(`${ts}.email_notifications`)}),(0,n.jsx)(to,{children:i.t(`${ts}.${e?"enabled":"disabled"}`)})]}),(0,n.jsx)(tl,{onClick:t,children:`${i.t(`${ts}.turn_all`)} ${i.t(e?`${ts}.off_word`:`${ts}.on_word`)}`})]})};var tc=i(25755);let tu=(0,v.Ay)(x.Ay)(["height:40px;gap:4px;"]),tp=(0,v.Ay)(e8)(["gap:0;",""],({$enableHover:e})=>e&&`
7166        &:hover ${tu} {
7167          background-color: ${j.Jy.Blue60};
7168        }
7169    `),th=v.Ay.div(["display:flex;flex-direction:row;gap:16px;justify-content:space-between;"]),tx=v.Ay.div(["display:flex;flex-direction:column;max-width:286px;margin-right:24px;",""],A.A.Phone`
7170    margin-right: 0;
7171  `);A.A.Phone`
7172    margin: auto 0;
7173  `;let tm=v.Ay.div(["display:flex;flex-shrink:0;display:flex;justify-content:center;align-items:center;gap:4px;color:",";margin-left:24px;height:22px;",""],j.Jy.Blue50,A.A.Phone`
7174    margin-left: 0;
7175  `),tg=v.Ay.div(["color:",";"," "," padding-bottom:3px;"],j.Jy.Blue80,E.Ay.Subhead,E.BO.Medium),ty=v.Ay.div(["color:",";"," ",""],j.Jy.Blue80,E.Ay.Body,E.BO.Regular),tf=v.Ay.div(["& div{margin:0;}"]),tb=v.Ay.span(["& svg svg *{fill:transparent;stroke:currentColor;}"]),t_=v.Ay.div(["color:",";"," "," padding:12px 0 16px;"," display:flex;gap:4px;"],j.Jy.Blue80,E.Ay.Body,E.BO.Regular,A.A.AbovePhone`
7176    padding: 12px 0 20px;
7177  `),tv=v.Ay.div(["& svg{width:24px;height:24px;}& path{stroke:",";}"],j.Jy.Blue80),tj="builder.job_search.alert_modal",tA=({recommendedAlert:e,onClick:t})=>{let{i18n:i}=(0,h.s)(),r=eO(),o=(0,a.wA)(),{isPhone:s}=(0,m.e)(),{getTranslatedTextFrequency:c}=J(),u=async()=>{try{let t=!e?.active;(0,p.xP)("switch_recommended_alert",{label:(0,_.p)(),parameter:t?"on":"off"}),await r.mutateAsync({data:{active:t},shouldUpdateCache:!0})}catch(e){o(l.o1.setNotification(d.Bx.snackbar_fail))}};return(0,n.jsxs)(tp,{$enableHover:!!e?.active,children:[(0,n.jsxs)(th,{children:[(0,n.jsxs)(tx,{children:[(0,n.jsxs)(tg,{children:[i.t(`${tj}.card_recommended.title`),"\xa0",(0,n.jsx)(tb,{children:(0,n.jsx)($.Ay.Near,{})})]}),(0,n.jsx)(ty,{children:i.t(`${tj}.card_recommended.subtitle`)})]}),(0,n.jsx)(tc.QP,{position:"top",zIndex:12001,multiline:!0,content:i.t(`${tj}.card_recommended.tooltip`),children:(0,n.jsxs)(tm,{children:[(0,n.jsx)($.Ay.Info,{}),(0,n.jsx)(tf,{children:(0,n.jsx)(V.A,{disabled:r.isLoading,onClick:u,checked:e?.active})})]})})]}),(0,n.jsxs)(t_,{children:[(0,n.jsx)(tv,{children:(0,n.jsx)($.EK.Time,{})}),e&&c(e?.frequency)]}),(0,n.jsxs)(tu,{size:s?x.Mp.small:x.Mp.default,isDisabled:!e?.active,onClick:t,children:[(0,n.jsx)(eU.SettingNew,{}),i.t(`${tj}.card_recommended.customize`)]})]})},tC=({selectedTab:e})=>{let{i18n:t}=(0,h.s)(),i=(0,a.wA)(),r=(0,s.N)(l.Tp.enableJobAlertFeature),o=(0,eA.U)(ej.l1.country),c=(0,eM.Q)(r),u=e$(),x=eO(),m=G(),{careerProfileData:g}=(0,eI.B)(),f=(0,s.N)(l.Tp.searchForm),b=(0,y.jE)(),_=!g?.targetRoles||g?.targetRoles.length===0||g?.targetRoles[0].standardTitle==="",v=!g?.resumeTargetRoles||g?.resumeTargetRoles.length===0,j=_&&v,A=!!(u.data?.active||c.data?.find(e=>e.active)),C=async()=>{let e,t=[];for(let i of(j||(e=x.mutateAsync({data:{active:!A},shouldUpdateCache:!1})),c.data||[]))i.active===A?t.push(m.mutateAsync({data:{id:i.id,active:!A},shouldUpdateCache:!1}
7177)):t.push(Promise.resolve(i));try{(0,p.xP)("turn_alerts_button",{parameter:A?"off":"on"});let i=await e,r=await Promise.all(t);i&&b.setQueryData(["useGetRecommendationAlert"],()=>i),b.setQueryData(["useGetCustomAlerts"],()=>r)}catch(e){i(l.o1.setNotification(d.Bx.snackbar_fail))}};return(0,n.jsx)(eN,{onClose:()=>i(l.o1.setAlertType({type:void 0})),title:t.t("builder.job_search.alert_modal.manage_your_job_alerts.title"),children:c.isLoading||u.isLoading?(0,n.jsx)(e5,{children:(0,n.jsx)(eC.Ay,{})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(e3,{children:[(0,n.jsx)(td,{enabled:A,onClick:C}),j?(0,n.jsx)(ti,{}):(0,n.jsx)(tA,{recommendedAlert:u.data,onClick:()=>{i(l.o1.setAlertType({type:d._1.edit_recommend_alert})),(0,p.xP)("customize_job_alerts",{parameter:"recommend_alert"})}}),(c.data||[]).map(e=>(0,n.jsx)(e2,{...e,onClick:()=>{i(l.o1.setAlertType({type:d._1.edit,editCustomAlert:e})),(0,p.xP)("customize_job_alerts",{parameter:"custom_alert"})}},e.id))]}),o&&c.data&&o.jobAlertsLimit>c.data.length&&(0,n.jsx)(eV,{onClick:()=>{let t;e&&e===eB.En.search&&(t=(0,ez.T)({targetRole:f.term,filters:f.filters,selectedLocation:f.selectedLocation})),i(l.o1.setAlertType({type:d._1.create,editCustomAlert:t}))}})]})})},tw=v.Ay.div(["margin-top:20px;",""],A.A.AbovePhone`
7178    margin-top: ${j.Kz.L};
7179  `),tk=v.Ay.div(["display:flex;justify-content:flex-end;margin-top:20px;gap:",";margin-top:",";",""],j.Kz["2XS"],j.Kz.M,A.A.AbovePhone`
7180    margin-top: ${j.Kz.L};
7181  `),tS="builder.job_search.alert_modal.edit_recommend_alert",tT=()=>{let{i18n:e}=(0,h.s)(),{frequencies:t}=J(),i=eO(),r=e$(),s=(0,a.wA)(),{isPhone:c}=(0,m.e)(),[u,p]=(0,o.useState)(r.data?.frequency||d.fH.daily),y=async()=>{await i.mutateAsync({data:{frequency:u},shouldUpdateCache:!0}),s(l.o1.setAlertType({type:d._1.manage}))};return(0,n.jsxs)(g.a,{onClose:()=>s(l.o1.setAlertType({type:void 0})),title:e.t(`${tS}.title`),subtitle:e.t(`${tS}.subtitle`),children:[(0,n.jsx)(tw,{children:(0,n.jsx)(O.A,{label:e.t(`${tS}.frequency`),selected:u,onSelect:p,disabled:1===t.length,options:t})}),(0,n.jsxs)(tk,{children:[(0,n.jsx)(x.Ay,{size:c?x.Mp.small:x.Mp.default,theme:x.Ox.ghost,onClick:()=>s(l.o1.setAlertType({type:d._1.manage})),children:e.t(`${tS}.back`)}),(0,n.jsx)(x.Ay,{size:c?x.Mp.small:x.Mp.default,isLoading:i.isLoading,onClick:y,children:e.t(`${tS}.save`)})]})]})},tP=({selectedTab:e})=>{let t=(0,s.N)(l.Tp.enableJobAlertFeature),i=(0,s.N)(l.Tp.alert),[r,p]=(0,c.p)(u.Mg),h=(0,a.wA)();if((0,o.useEffect)(()=>{t&&"true"===r&&(p(null),h(l.o1.setAlertType({type:d._1.manage})))},[t,r]),!t)return null;switch(i.type){case d._1.manage:return(0,n.jsx)(tC,{selectedTab:e});case d._1.create:return(0,n.jsx)(ev,{mode:e_.create});case d._1.edit:return(0,n.jsx)(ev,{mode:e_.edit});case d._1.delete:return(0,n.jsx)(k,{});case d._1.confirmation_success:return(0,n.jsx)(B,{});case d._1.edit_recommend_alert:return(0,n.jsx)(tT,{});default:return null}}},88224:function(e,t,i){"use strict";i.d(t,{p:function(){return r}});let r=()=>{let e=window.location.pathname,t="";return"/app/job-search"===e&&(t="job-search"),"/app/account"===e&&(t="account_settings"),t}},27754:function(e,t,i){"use strict";i.d(t,{Q:function(){return a}}),i(18111),i(61701);var r=i(9421),n=i(49012),o=i(59238);let a=e=>(0,r.I)(["useGetCustomAlerts"],async()=>(await n.R3.get("/job-alerts/v1/custom-subscriptions")).data.map(o.Pk),{enabled:e,staleTime:3e3,select:e=>{if(Array.isArray(e))return e.sort((e,t)=>(e.id||0)-(t.id||0))}})},59238:function(e,t,i){"use strict";i.d(t,{Pk:function(){return r},WK:function(){return n},ec:function(){return o}});let r=e=>({active:e.active,frequency:e.frequency,id:e.id,location:e.location,onlyRemoteJobs:e.only_remote_jobs,locationId:e.location_id,targetRole:e.target_role,jobLocationTypes:e.job_location_types??[],employmentTypes:e.employment_types??[],minYearsExperience:e.min_years_experience??void 0,maxYearsExperience:e.max_years_experience??void 0,salaryMin:e.salary_min??void 0,salaryMax:e.salary_max??void 0,salaryMustHaveValue:e.salary_must_have_value??void 0,radius:e.radius??void 0}),n=e=>({active:e.active,location:e.location,target_role:e.targetRole,location_id:e.locationId,only_remote_jobs:e.onlyRemoteJobs,frequency:e.frequency,job_location_types:e.jobLocationTypes,employment_types:e.employmentTypes,min_years_experience:e.minYearsExperience,max_years_experience:e.maxYearsExperience,salary_min:e.salaryMin,salary_max:e.salaryMax,salary_must_have_value:e.salaryMustHaveValue,radius:e.radius}),o=e=>({active:e.active,frequency:e.frequency,id:e.id})},14529:function(e,t,i){"use strict";i.d(t,{B:function(){return n},T:function(){return o}});var r=i(40434);let n=e=>1===e.length&&e.includes(r.X.REMOTE),o=({targetRole:e,filters:t,selectedLocation:i})=>{let r,o;return i?.locationType==="near_me"&&(r=i.text),(i?.locationType==="string_location"||i?.locationType==="location_id")&&(r=i?.formatted),("string"==typeof i?.value||"number"==typeof i?.value)&&(o=parseInt(i.value)),{active:!0,targetRole:e,onlyRemoteJobs:n(t.jobLocationType),location:r,locationId:o}}},89221:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var r=i(74848),n=i(96540),o=i(40961),a=i(43623),l=i(14649),s=i(81846);let d=e=>e.title&&(0,r.jsx)(s.X3,{children:e.title});var c=({placeholder:e,disabled:t,icon:i,renderIconMenu:c,defaultSuggestions:u,clearPreviousSuggestions:p,value:h,onChange:x,onClear:m,onClick:g,onBlur:y,onSuggestionSelected:f,readOnly:b,overwritePopupWidth:_,withHover:v=!0,renderCustomItemSuggestion:j,testId:A,mobileV2Focus:C,matchFieldWidth:w,onExpandedChange:k,...S})=>
7181{let[T,P]=(0,n.useState)(!1),J=(0,n.useCallback)(e=>{P(e),k?.(e)},[k]),E=!!m&&(h.length>0||C&&T),R=(0,n.useCallback)(e=>{let t=e.target;void 0!==t.value&&x(t.value)},[x]);return(0,r.jsxs)(s.mc,{onClick:g,withHover:v,"data-testid":A,$mobileV2Focus:C,$isExpanded:T,children:[C&&T&&(0,o.createPortal)((0,r.jsx)(s.pM,{}),document.body),(0,r.jsx)(a.wc,{...S,value:h,onChange:e=>x(e.target.value),multiSection:0===h.length,renderSuggestionsContainer:({containerProps:{key:e,...t},children:i})=>T?(0,n.createElement)(s.W1,{...t,key:e,$overwritePopupWidth:_,$mobileV2Focus:C,$matchFieldWidth:w,$empty:!i,children:[(0,r.jsx)(s.n6,{}),(i||C)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.wv,{$mobileV2Focus:C,$empty:!i}),i]})]}):null,renderSectionTitle:d,renderSuggestion:(e,t)=>e?(0,r.jsxs)(s.q7,{$isHighlighted:t.isHighlighted,children:[(0,r.jsxs)("div",{children:[c?c(e):i,e.formatted??e.text]}),(0,r.jsx)(s.gZ,{children:j&&j(e)})]}):null,getSectionSuggestions:e=>e&&e.suggestions||[],shouldRenderSuggestions:()=>!0,defaultSuggestions:u,onSuggestionSelected:(e,t)=>{J(!1),f(t.suggestion)},inputProps:{placeholder:e,value:h,onBlur:()=>{J(!1),y&&y()},disabled:t,onChange:R,onFocus:()=>J(!0),onClick:()=>J(!0),onKeyDown:e=>{("Enter"===e.key||"Escape"===e.key)&&J(!1)},readOnly:b},clearPreviousSuggestions:p,children:({key:e,...t})=>(0,r.jsx)(s.EV,{$isExpanded:T,$overwritePopupWidth:_,children:(0,r.jsx)(s.A0,{$isExpanded:T,$matchFieldWidth:w,children:(0,r.jsxs)(s.oi,{$mobileV2Focus:C,$isExpanded:T,children:[(0,r.jsx)(s.hh,{$mobileV2Focus:C,$isExpanded:T,children:i}),(0,n.createElement)(s.pd,{...t,key:e,$mobileV2Focus:C}),E&&(0,r.jsx)(s.cE,{children:(0,r.jsx)(l.EK.RejectIcon,{onClick:m})})]})})})})]})}},81846:function(e,t,i){"use strict";i.d(t,{A0:function(){return p},EV:function(){return u},W1:function(){return y},X3:function(){return b},bE:function(){return s},cE:function(){return g},gZ:function(){return _},hh:function(){return m},mc:function(){return c},n6:function(){return j},oi:function(){return h},pM:function(){return A},pd:function(){return x},q7:function(){return v},wv:function(){return f}});var r=i(38267),n=i(99701),o=i(78561),a=i(49504),l=i(24833);let s=61,d=(0,r.AH)(["z-index:1;transition:0.2s all;box-shadow:0px 0px 1px ",",0px 2px 4px -1px ",",0px 8px 20px -4px ",";"],(0,o.j)(n.Jy.Blue80,.32),(0,o.j)(n.Jy.Blue80,.08),(0,o.j)(n.Jy.Blue80,.12)),c=r.Ay.div(["position:relative;flex:1;cursor:pointer;background-color:",";"," "," ",""],n.Jy.White,l.A.Tablet`   width: 100%;`,e=>e.withHover&&`
7182    &:hover {
7183      ${d}
7184    }
7185  `,({$mobileV2Focus:e,$isExpanded:t})=>e&&t&&l.A.Phone`
7186      &,
7187      &:hover {
7188        z-index: 601;
7189      }
7190    `),u=r.Ay.div(["position:relative;display:flex;align-items:center;justify-content:center;height:","px;width:",";",""],s,({$overwritePopupWidth:e,$isExpanded:t})=>e&&t?`${e-10}px`:"100%",l.A.Tablet` 
7191     flex-direction: column;
7192     width: 100%;
7193  `),p=r.Ay.div(["display:flex;min-width:100%;overflow:hidden;align-items:center;position:relative;top:0;"," ",""],({$isExpanded:e})=>e&&`
7194    position: absolute;
7195    left:0;
7196    z-index: 9999;
7197`,({$isExpanded:e,$matchFieldWidth:t})=>e&&t&&l.A.AboveTablet`
7198      right: 0;
7199      min-width: 0;
7200    `),h=r.Ay.div(["display:flex;position:relative;left:0;width:100%;gap:",";padding-left:",";align-items:center;",""],n.Kz["2XS"],n.Kz["2XS"],({$mobileV2Focus:e,$isExpanded:t})=>e&&t&&l.A.Phone`
7201      padding-left: 0;
7202    `),x=r.Ay.input(["border:none;height:","px;width:100%;background-color:transparent;&:disabled{color:",";}",""],s,n.Jy.Neutral10,({$mobileV2Focus:e})=>e&&l.A.Phone`
7203      font-size: 19px;
7204      line-height: 24px;
7205      ${a.BO.Regular}
7206
7207      &::placeholder {
7208        font-size: 19px;
7209        line-height: 24px;
7210      }
7211    `),m=r.Ay.div(["display:flex;",""],({$mobileV2Focus:e,$isExpanded:t})=>e&&t&&l.A.Phone`
7212      display: none;
7213    `),g=r.Ay.div(["flex-shrink:0;display:flex;padding-right:",";height:100%;align-items:center;& svg{cursor:pointer;fill:",";}"],n.Kz.S,n.Jy.Neutral30),y=r.Ay.div(["position:absolute;padding:0 ",";padding-bottom:0;min-width:",";white-space:nowrap;
7213align-items:unset;z-index:666;border-radius:8px;box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 2px 4px -1px rgba(15,56,113,0.08),0px 8px 20px -4px rgba(15,56,113,0.12);background:white;flex-direction:column;& input{height:60px;}"," "," "," "," ",""],n.Kz["2XS"],({$overwritePopupWidth:e})=>e?`${e}px`:"100%",l.A.AboveTablet`
7214    top: -2px;
7215    left: -8px;
7216    padding-top: 2px;
7217  `,l.A.Tablet`
7218    top: -9px;
7219    left: -7px;
7220    right: -7px;
7221    min-width: 100%;
7222    padding-bottom: 10px;
7223  `,({$mobileV2Focus:e})=>e&&l.A.Phone`
7224      top: 0;
7225      left: calc(${n.Kz["3XS"]} - ${n.Kz.M});
7226      right: calc(${n.Kz["3XS"]} - ${n.Kz.M});
7227      min-width: 100%;
7228    `,({$mobileV2Focus:e,$empty:t})=>e&&t&&l.A.Phone`
7229      padding-bottom: 0;
7230    `,({$matchFieldWidth:e})=>e&&l.A.AboveTablet`
7231      box-sizing: border-box;
7232      min-width: 0;
7233      width: 100%;
7234      max-width: 100%;
7235      overflow: hidden;
7236      left: 0;
7237    `),f=r.Ay.div(["height:1px;margin:0 ",";background:",";"," "," ",""],n.Kz["2XS"],n.Jy.Neutral15,({$empty:e})=>e&&l.A.AboveTablet`
7238      display: none;
7239    `,({$mobileV2Focus:e})=>e&&l.A.Phone`
7240      height: 2px;
7241      margin: 0 calc(${n.Kz["2XS"]} * -1) ${n.Kz.XS};
7242      background: ${n.Jy.Blue50};
7243    `,({$mobileV2Focus:e,$empty:t})=>e&&t&&l.A.Phone`
7244      margin-bottom: 0;
7245    `),b=r.Ay.div([""," "," color:",";text-transform:uppercase;letter-spacing:1.8px;padding-left:",";margin-top:16px;margin-bottom:4px;"],a.Ay.Tiny,a.BO.DemiBold,n.Jy.Neutral50,n.Kz["2XS"]),_=r.Ay.div(["display:flex;",""],l.A.Desktop`
7246    display: none;
7247  `),v=r.Ay.div([""," "," display:flex;align-items:center;justify-content:space-between;padding:"," ",";cursor:pointer;overflow:hidden;svg{margin-right:8px;flex-shrink:0;}"," &:hover ","{","}"],a.Ay.Body,a.BO.Regular,n.Kz.XS,n.Kz["2XS"],e=>e.$isHighlighted&&(0,r.AH)(["background-color:",";"],n.Jy.Neutral5),_,l.A.Desktop`
7248    
7249      display: flex;
7250      `),j=r.Ay.div(["height:61px;"]),A=r.Ay.div(["",""],l.A.Phone`
7251    position: fixed;
7252    inset: 0;
7253    background-color: ${n.Jy.Neutral90};
7254    opacity: 0.05;
7255    z-index: 600;
7256    pointer-events: none;
7257  `)},67557:function(e,t,i){"use strict";i.d(t,{_:function(){return p}});var r=i(74848);i(96540);var n=i(77378),o=i(38267),a=i(99701),l=i(14649),s=i(24833),d=i(49504);let c=o.Ay.div(["",";",";position:sticky;top:16px;left:0;display:inline-flex;margin:",";margin-left:0;padding:4px 16px 4px 8px;align-items:center;border-radius:20px;background:",";align-items:center;color:",";z-index:3;cursor:pointer;",";& path{fill:currentColor;}",";"],d.Ay.Caption,d.BO.DemiBold,a.Kz.S,a.Jy.Neutral10,a.Jy.Neutral50,s.A.Hover`
7258    &:hover {
7259      background: ${a.Jy.Blue10};
7260      color: ${a.Jy.Blue50}
7261    }
7262  `,s.A.AboveTablet`
7263    display: none;
7264  `),u=(0,o.Ay)(l.qJ.ChevronLeft)(["padding-left:3px;"]),p=({onClick:e})=>{let{i18n:t}=(0,n.s)();return(0,r.jsxs)(c,{onClick:e,children:[(0,r.jsx)(u,{}),t.t("builder.job_search.job_search_results.back")]})}},64015:function(e,t,i){"use strict";i.d(t,{V:function(){return c}});var r=i(74848),n=i(47767),o=i(33093),a=i(77378),l=i(91779),s=i.p+"media/no_results_recommandations9a515b6e93a6f299.png",d=i(94974);let c=({handleSearch:e,CustomContainer:t})=>{let{i18n:i}=(0,a.s)(),c=(0,n.Zp)(),u=t||d.ak;return(0,r.jsx)(u,{"data-testid":"no-results-recommendation",children:(0,r.jsxs)(d.fE,{children:[(0,r.jsx)(d.pK,{src:s}),(0,r.jsx)(d.hE,{children:i.t("builder.job_search.no_results_recommendations.title")}),(0,r.jsx)(d.Pd,{children:i.t("builder.job_search.no_results_recommendations.subtitle_line_one")}),(0,r.jsx)(d.Pd,{children:i.t("builder.job_search.no_results_recommendations.subtitle_line_two")}),(0,r.jsxs)(d.Xn,{children:[(0,r.jsx)(l.Ay,{"data-testid":"search-jobs-button",theme:l.Ox.ghost,onClick:e,children:i.t("builder.job_search.no_results_recommendations.go_search_button")}),(0,r.jsx)(l.Ay,{onClick:()=>{(0,o.xP)("view_profile_editor",{label:"recommended_jobs"}),c("/career-profile/edit?section=workExperiences&returnUrl=/job-search?view=recommendation")},children:i.t("builder.job_search.no_results_recommendations.change_work_button")})]})]})})}},94974:function(e,t,i){"use strict";i.d(t,{Pd:function(){return c},Xn:function(){return p},ak:function(){return y},fE:function(){return s},gY:function(){return x},hE:function(){return d},lA:function(){return g},pK:function(){return u},vV:function(){return h},v_:function(){return m}});var r=i(38267),n=i(99701),o=i(78561),a=i(49504),l=i(24833);n.Jy.White,(0,o.j)(n.Jy.Neutral50,.2),l.A.Phone`
7265     flex-direction: column;
7266     gap: 5px;
7267  `,a.BO.DemiBold,a.Ay.L;let s=r.Ay.div(["display:flex;flex-direction:column;width:100%;justify-content:center;align-items:center;background-color:",";border-radius:",";flex:1.25;text-align:center;"],n.Jy.White,n.Kz.S),d=r.Ay.span(["",";",";max-width:398px;width:100%;color:",";"],a.BO.DemiBold,a.Ay.S,n.Jy.Neutral90),c=r.Ay.span(["color:",";",";",""],n.Jy.Neutral60,a.Ay.Body,({withMaxWidth:e})=>e&&(0,r.AH)(["max-width:544px;"])),u=r.Ay.img(["width:112px;height:105px;margin-bottom:",";"],n.Kz.M),p=r.Ay.div(["display:flex;gap:",";margin-top:",";align-items:center;button{width:fit-content;","}",""],n.Kz.XS,n.Kz.M,l.A.Phone`
7268      width: 100%;
7269    `,l.A.Phone`
7270    flex-direction: column;
7271    width: 100%;
7272  `),h=r.Ay.img(["width:60px;height:80px;margin-bottom:",";",""],n.Kz.L,l.A.Phone`
7273    width: 48px;
7274    height: 64px;
7275  `),x=r.Ay.div(["display:flex;flex-direction:column;width:100%;justify-content:center;align-items:center;text-align:center;flex:0.75;"]),m=r.Ay.div(["display:flex;flex-direction:column;gap:",";align-items:center;"],n.Kz["2XS"]),g=r.Ay.div(["display:flex;flex-direction:column;height:calc(100vh - 260px);",""],l.A.Phone`
7276    height: 100%;
7277    margin-top: 16px;
7278  `),y=r.Ay.div(["display:flex;flex-direction:column;height:calc(100vh - 330px);",""],l.A.Tablet`
7279    height: 100%;
7280    margin-bottom: 36px;
7281  `)},15555:function(e,t,i){"use strict";i.d(t,{_:function(){return u}}),i(18111),i(20116);var r=i(74848),n=i(99701),o=i(18509),a=i(20023),l=i(14649),s=i(52087),d=i(81408);let c=(0,i(38267).Ay)(l.Ay.Heart)(["width:20px;height:20px;color:",";"],n.Jy.Neutral50),u=({job:e,selectedTabId:t,trackingLabel:i})=>{let{isPresent:u,handleAddJobBoard:p}=(0,s.G)(e,t,i),h=(0,o.N)(a.Tp.selectJobs).find(t=>
7281t.company===e.company&&t.title===e.job_title&&t.externalSlugId===e.external_slug_id&&t.status!==a.Sy.recommended);return(0,r.jsxs)(d.u,{onClick:p,isDisabled:!!h?.autoApplyStatus,children:[u&&(0,r.jsx)(l.Ay.HeartFullFilled,{}),!u&&(0,r.jsx)(c,{color:n.Jy.Neutral50})]})}},81408:function(e,t,i){"use strict";i.d(t,{u:function(){return s}});var r=i(74848),n=i(96540),o=i(38267),a=i(99701);let l=o.Ay.div(["width:32px;height:32px;display:flex;justify-content:center;align-items:center;border-radius:4px;cursor:",";position:relative;transition:all 0.1s ease;",""],e=>e.isDisabled?"not-allowed":"pointer",e=>e.isDisabled?null:(0,o.AH)([":hover{background:",";}"],a.Jy.Neutral10)),s=(0,n.forwardRef)(({isDisabled:e,children:t,onClick:i,...n},o)=>(0,r.jsx)(l,{ref:o,isDisabled:e,onClick:t=>{t.preventDefault(),t.stopPropagation(),e||i?.(t)},...n,children:t}));s.displayName="IconActionButton"},7852:function(e,t,i){"use strict";i.d(t,{d:function(){return a},k:function(){return o}});var r=i(9421),n=i(49012);let o="useGetJob",a=(e,t,i)=>(0,r.I)([o,e],async()=>(await n.R3.get(`/jobs/v1/search/${e}`,{params:{source_id:t,source:i}})).data,{enabled:!!e,useErrorBoundary:!1,refetchOnWindowFocus:!1})},97885:function(e,t,i){"use strict";i.d(t,{M:function(){return a},R:function(){return l}});var r=i(9421),n=i(63064),o=i(8559);let a=(e,t=!1)=>(0,r.I)(["useGetRecommendationJob",t],async()=>{let{jobs:e,stats:i}=await (0,o.RU)(0,{autoApplyCompatible:t,postedWithinDays:0,jobLocationType:[],jobType:[],requiresSalary:!1,requiresExperience:!1});return{jobs:e,stats:i}},{enabled:e,useErrorBoundary:!1}),l=()=>{let e=(0,n.jE)();return{invalidate:()=>{e.invalidateQueries(["useGetRecommendationJob"])}}}},30282:function(e,t,i){"use strict";i.d(t,{B8:function(){return f},Cm:function(){return u},E_:function(){return b},Ef:function(){return m},UC:function(){return d},XD:function(){return _},hE:function(){return h},k3:function(){return x},mm:function(){return g},n8:function(){return p},ts:function(){return y},zZ:function(){return c}});var r=i(38267),n=i(99701),o=i(67592),a=i(24833),l=i(49504),s=i(82352);let d=r.Ay.div(["display:flex;gap:32px;",""],a.A.Desktop`
7282    height: calc(100vh - 242px);
7283  `),c=r.Ay.div(["width:736px;overflow:auto;border-radius:",";",""],n.Kz["2XS"],a.A.Desktop`
7284    ${o.A.lightWithBorder.low};
7285  `),u=r.Ay.div(["display:none;",""],a.A.Desktop`
7286    display: block;
7287  `),p=(0,r.Ay)(s.A)(["padding:0;"]),h=r.Ay.div(["color:",";"," "," display:flex;align-items:center;",""],n.Jy.Neutral80,l.BO.Regular,l.Ay.Body,a.A.Phone`
7288    text-align: center;
7289  
7290  `),x=r.Ay.div(["display:flex;flex-direction:row;justify-content:space-between;margin-bottom:",";",";"],n.Kz.M,a.A.Phone`
7291    flex-direction: column;
7292    align-items: center;
7293    
7294  `),m=r.Ay.div(["padding-top:12px;display:flex;flex-direction:column;margin:0 24px;"]),g=r.Ay.div(["height:800px;width:304px;"]),y=r.Ay.div(["color:",";",";text-transform:uppercase;",";margin:0 24px;"],n.Jy.Neutral50,l.Ay.Caps,l.BO.DemiBold),f=r.Ay.ul(["list-style:none;padding:0px;margin:0px;"]),b=r.Ay.div(["margin:32px 0;"]),_=r.Ay.div(["display:flex;justify-content:center;height:100vh;width:100vh;align-content:center;align-items:center;"])},3773:function(e,t,i){"use strict";i.d(t,{A:function(){return eT}}),i(18111),i(20116),i(30531),i(61701);var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(77378),s=i(20023),d=i(18509),c=i(8037),u=i(95525),p=i(14649),h=i(87748),x=i(85261),m=i(5096),g=i(42692),y=i(77185),f=i(95807),b=i(46904),_=i(17452),v=i(67557),j=i(47767),A=i(38267),C=i(99701),w=i(49504);let k=A.Ay.div(["display:flex;gap:4px;justify-content:center;margin:0 0 ",";",""],C.Kz.M,({$setCenter:e})=>e&&(0,A.AH)(["align-items:center;"])),S=A.Ay.div([""]),T=A.Ay.p(["",";"," color:",";"],w.Ay.Caption,w.BO.Regular,C.Jy.Neutral80),P=A.Ay.span(["",";"," color:",";cursor:pointer;"],w.Ay.Caption,w.BO.Regular,C.Jy.Blue50),J="builder.job_search.auto_apply.action_buttons",E=({jobId:e,isResumeTailoringEnabled:t})=>{let{i18n:i}=(0,l.s)(),n=(0,j.Zp)(),o=t?"_tailor_resume":"";return(0,r.jsxs)(k,{$setCenter:!0,children:[(0,r.jsx)(S,{children:(0,r.jsx)(p.Ay.Info,{})}),(0,r.jsxs)(T,{children:[i.t(`${J}.info_text${o}`)," ",(0,r.jsx)(P,{onClick:()=>{t&&(0,a.xP)("click_documents_section");let i=t?`?application_id=${e}
7294`:"";n(`/job-tracking${i}`)},children:i.t(`${J}.link_text${o}`)})]})]})};var R=i(58657),L=i(15555),N=i(9219);i(22489);var I=i(40961),M=i(91779),B=i(9397),D=i(25755),$=i(19611),O=i(99180),z=i(12138),F=i(24184),H=i(86066),V=i(19673),U=i.p+"media/CircleCheck5758421b21a5303d.svg",W=i(29567),K=i(41193),q=i(30850),G=i(49967),Z=i(64961),X=i(5005),Q=i(9888),Y=i(26975),ee=i(62287),et=i.p+"media/Shapebd901f016787fdb6.svg",ei=i(17944),er=i(99418),en=i(24833);let eo=`1px solid ${C.Jy.Blue20}`,ea=A.Ay.div(["position:relative;display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:8px;background:",";color:",";outline:",";"],C.Jy.Blue10,C.Jy.Blue80,eo),el=A.Ay.div(({$left:e,$mobileVertical:t})=>(0,A.AH)(["position:absolute;top:-6px;left:",";width:12px;height:12px;border-radius:2px;background:",";transform:translateX(-50%) rotate(45deg);border-left:",";border-top:",";",""],e,C.Jy.Blue10,eo,eo,t&&en.A.Phone`
7295      display: none;
7296    `)),es=A.Ay.div(["display:flex;flex-shrink:0;color:",";& svg{fill:currentColor;}"],C.Jy.Blue50),ed=A.Ay.p(["margin:0;",";",";& b{",";}"],w.Ay.Caption,w.BO.Regular,w.BO.Medium),ec=["free_1","free_2","free_3"],eu=e=>{let{hasUserCompletedQuestionnaire:t,cardIndex:i=0,creditCount:n,creditCountUsed:o=0,pointerLeft:a="50%",mobileVertical:s}=e,{i18n:d}=(0,l.s)(),c="∞"===n,u=c||Number(n)>0,p=!c&&o>0,h=!u&&p?"premium_exhausted":u&&p?"premium_remaining":u&&!t?"free_2":u?"premium":ec[Math.abs(i)%ec.length],x=d.t(`builder.job_search.auto_apply.promo_banner.${h}`,{count:n});return(0,r.jsxs)(ea,{children:[(0,r.jsx)(el,{$left:a,$mobileVertical:s}),(0,r.jsx)(es,{children:(0,r.jsx)(B.e,{color:C.Jy.Blue50})}),(0,r.jsx)(ed,{dangerouslySetInnerHTML:{__html:er.A.sanitize(x)}})]})};C.Jy.Neutral50,w.Ay.Caption,C.Jy.Blue50,(0,A.Ay)(M.Ay)(["gap:5px;"]),(0,A.Ay)(p.Ay.Screen)(["width:24px;flex-shrink:0;"]),(0,A.Ay)(M.Ay)([""," img{","}"],e=>e.isDisabled&&(0,A.AH)(["background:",";color:",";"],C.Jy.Neutral20,C.Jy.Neutral50),e=>e.isDisabled&&(0,A.AH)(["filter:saturate(0);opacity:0.9;"]));let ep=A.Ay.img(["padding-right:10px;"]),eh=(0,A.Ay)(M.Ay)(["cursor:not-allowed;"]),ex=(0,A.Ay)(M.Ay)(["cursor:not-allowed;background:",";display:flex;align-items:center;color:",";&:hover,&:focus-visible{background-color:inherit;}&:active{background-color:inherit;}"],C.Jy.Neutral10,C.Jy.Neutral90),em=A.Ay.img(["margin-right:4px;width:18px;"]),eg=A.Ay.div(["display:flex;flex-direction:column;gap:12px;margin:0 -32px;padding:"," 32px ",";background:",";z-index:1;",""],C.Kz.M,C.Kz.S,C.Jy.White,en.A.AboveTablet`
7297    position: sticky;
7298    top: 0;
7299  `),ey=A.Ay.div(({$mobileVertical:e})=>(0,A.AH)(["display:flex;gap:8px;& > *{flex:1 1 33.3% !important;}& ","{flex:1;}",""],M.Ay,en.A.Phone`
7300      ${e&&"flex-direction: column;"}
7301    `));w.Ay.Caption,w.BO.DemiBold,C.Jy.Neutral10,C.Jy.Neutral50,en.A.Hover`
7302    &:hover {
7303      background: ${C.Jy.Blue10};
7304      color: ${C.Jy.Blue50};
7305    }
7306  `,en.A.AboveTablet`
7307    display: none;
7308  `,en.A.Phone`
7309    position: unset;
7310    align-self: start;
7311    margin-bottom: 12px;
7312  `;let ef=n.forwardRef((e,t)=>{let{job:i,setApplyDialog:u,mobileVertical:h,selectedTabId:m}=e,g=(0,o.wA)(),y=(0,d.N)(e=>Z.Tp.documentsByType(e,c.VC.resume)),{i18n:f}=(0,l.s)(),{hover:b}=(0,H.e)(),{isAutoApplyLimitReached:_,isAutoApplyFeatureEnabled:v,isUserOnAutoApplyPlan:j,getCredit
7312Count:A,getCreditCountUsed:C,hasUserCompletedQuestionnaire:w}=(0,x.J)(),{trigger:k,disabledModal:S}=(0,G.fb)(),T=(0,Q.U)(),[P,J]=(0,Y.p)("trigger_tailor"),E=!!T?.features.autotailoringFromJobBoard,R=(0,d.N)(W.Tp.modal),L=(0,F.E)(),[N,er]=(0,n.useState)(!1),en=(0,d.N)(s.Tp.selectAlreadyAppliedJob),eo={status:s.Sy.wishlist,title:i.job_title,company:i.company,link:i.url,description:(0,$.Q)(i.description),open:!0,external_slug_id:i.external_slug_id,location:i.location,logo:i.company_logo},ea=(0,d.N)(s.Tp.selectJobs),el=ea.find(e=>e.externalSlugId===eo.external_slug_id&&e.status!==s.Sy.recommended),es=ea.find(e=>e.company===eo.company&&e.title===eo.title&&e.externalSlugId===i.external_slug_id&&(e.status===s.Sy.auto_apply||null!==e.autoApplyStatus)),ed=(0,K.J)(),ec=!ed?.hasPremiumFeatures,{data:ef}=(0,V.i)(v),eb=(ef?.autoApplied??0)>0,e_=v&&!eb,ev=(0,n.useRef)(null),ej=(0,n.useRef)(null),eA=v&&!i.auto_apply_compatible,eC=e_&&!es&&!eA,ew=(0,ee.r)({rowRef:ev,targetRef:ej,enabled:eC}),ek=ea.filter(({status:e})=>e===s.Sy.applied).find(({company:e,title:t})=>e===eo.company&&t===eo.title);(0,n.useEffect)(()=>()=>{g(W.o1.setModal())},[g]);let eS=(0,n.useCallback)(()=>{(0,O.V)(i.url),(0,a.xP)("apply_for_job",{title:i.job_title,position:i.position,parameter:m,label:"job_search"}),u?.(!0)},[i,m,u]),eT=(0,n.useCallback)(async()=>{(0,a.xP)("auto_apply_for_job",{title:i.job_title,label:"job_search",position:i.position,parameter:m,system_recommended:(0,s.vW)({jobs:ea,externalSlugId:i.external_slug_id})}),await k(i)&&(0,a.xP)("add_to_job_tracker",{title:i.job_title,label:"save",position:i.position,parameter:m})},[i,ea,m,k]),eP=(0,n.useCallback)(()=>{if(!E)return null;(0,a.xP)("click_tailor_resume",{label:ec?"free":"paid"}),g(W.o1.setModal(X.qA.resume_select))},[E,ec,g]);(0,n.useEffect)(()=>{"true"===P&&setTimeout(()=>{eP(),J(null)},1e3)},[P,eP,J]);let eJ=(0,n.useMemo)(()=>v?es?(0,r.jsxs)(ex,{children:[(0,r.jsx)(em,{src:U}),f.t("builder.job_search.auto_apply.action_buttons.applied")]}):i.auto_apply_compatible?(0,r.jsx)(D.QP,{position:"bottom",multiline:!0,isActive:b,value:f.t("builder.job_search.auto_apply_description"),children:(0,r.jsxs)(M.$n,{onClick:eT,id:"auto_apply_button",ref:ej,children:[(0,r.jsx)(B.e,{size:18,style:{marginRight:4}}),f.t("builder.job_search.auto_apply.action_buttons.apply")]})}):(0,r.jsxs)(M.$n,{onClick:eS,children:[(0,r.jsx)(ei.I_,{}),f.t("builder.job_search.auto_apply.action_buttons.apply")]}):en||ek?(0,r.jsxs)(eh,{children:[(0,r.jsx)(ep,{src:et}),f.t("builder.job_search.auto_apply.action_buttons.applied")]}):(0,r.jsx)(M.JQ,{onClick:eS,leadingIcon:(0,r.jsx)(ei.I_,{}),theme:ec?M.Ox.secondary:M.Ox.default,children:f.t("builder.job_search.auto_apply.action_buttons.apply")}),[ec,en,ek,eS,eT,f,v,es,b,i.auto_apply_compatible]),eE=(0,n.useMemo)(()=>{if(!E||v)return null;let e=ec&&E,t=_(1,!1),i=!ec&&(!j||t);return e||i?(0,r.jsx)(M.JQ,{leadingIcon:(0,r.jsx)(p.Ay.ArrowTargetAutoTailoring,{}),"data-testid":"tailor-resume-button",onClick:eP,children:f.t(`builder.job_search.job_details.tailor_resume.${ec?"free":"paid"}`)}):null},[f,ec,eP,_,j,E,v]),eR=(0,n.useMemo)(()=>v?null:!eE&&E?(0,r.jsx)(M.JQ,{leadingIcon:(0,r.jsx)(p.Ay.ArrowTargetAutoTailoring,{}),theme:M.Ox.secondary,"data-testid":"tailor-resume-button",onClick:eP,children:f.t("builder.job_search.job_details.tailor_resume.paid")}):null,[eE,eP,f,E,v]);return(0,r.jsxs)(eg,{ref:t,children:[(0,r.jsxs)(ey,{ref:ev,$mobileVertical:h,children:[eE,eJ,eR]}),eC&&(0,r.jsx)(eu,{hasUserCompletedQuestionnaire:w,cardIndex:i.position,creditCount:A(),creditCountUsed:C(),pointerLeft:ew,mobileVertical:h}),I.createPortal((0,r.jsx)(z.A,{visible:N,selectedJob:eo,onClose:()=>er(!1),trackingLabel:"job_search"}),L),R===X.qA.resume_select&&I.createPortal((0,r.jsx)(q.A,{title:f.t("builder.job_search.job_details.resume_select_modal"),onClose:()=>g(W.o1.setModal()),submitSelectedResume:e=>{g(W.o1.autoTailoringFromJS({cardId:el?.id,resumeId:e.id,job:i,forceAnalysisStep:!0}))},onCreateResume:()=>{g(W.o1.autoTailoringFromJS({cardId:el?.id,resumeId:void 0,job:i}))},disableDefaultCreateResumeBehavior:!0,allowCreateResume:0===y.length||!ec,isResumeDistributionCreateAction:!1}),document.body),S&&I.createPortal(S,document.body)]})});var eb=i(29810);let e_=A.Ay.div(["display:flex;flex-wrap:wrap;gap:",";margin-bottom:",";"],C.Kz["2XS"],C.Kz.L),ev=(0,A.AH)(["display:inline;padding:10px;padding:2px 6px;border-radius:",";"," "," color:",";"],C.Kz["3XS"],w.Ay.Caption,w.BO.Regular,C.Jy.Neutral90),ej=A.Ay.span(["",";color:",";background:",";"],ev,C.Jy.Green50,C.Jy.Green10),eA=A.Ay.span(["",";color:",";background:",";"],ev,C.Jy.Neutral90,C.Jy.Neutral10),eC=e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),ew=[],ek=[],eS=({title:e})=>
7312{if(!ek.length)return null;let t=new Map(ek.map(e=>[eC(e),e])),i=new Map(ew?.map(e=>[eC(e),e])||[]);return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsxs)(e_,{children:[ew?.map(e=>{let i=eC(e);return t.has(i)?(0,r.jsx)(ej,{children:t.get(i)},e):null}),ek.map(e=>{let t=eC(e);return i.has(t)?null:(0,r.jsx)(eA,{children:e},e)})]})]})};var eT=({job:e,setApplyDialog:t,goBack:i,selectedTabId:j,customActionButtons:A,hideActionButtons:C})=>{let{i18n:w}=(0,l.s)(),k=(0,o.wA)(),{features:S}=(0,g.t)(),{isUserOnAutoApplyPlan:T,isAutoApplyFeatureEnabled:P,isResumeTailoringEnabled:J}=(0,x.J)(),I=P&&e.auto_apply_compatible,M=S?.superApp||S?.international,B=(0,n.useRef)(null),D=function(e,t={}){let[i,r]=(0,n.useState)(!1),o=(0,n.useRef)(t);return(0,n.useEffect)(()=>{if(!("IntersectionObserver"in window&&"IntersectionObserverEntry"in window))return;let t=new IntersectionObserver(([e])=>{r(e.isIntersecting)},o.current),i=e?.current;return i&&t.observe(i),()=>{i&&t.unobserve(i)}},[e]),i}(B),$=(0,d.N)(s.Tp.selectFetchStatus);(0,n.useEffect)(()=>{$===c.Hp.notAsked&&k(s.o1.fetchJobsRequest())},[k,$]);let O=(0,d.N)(s.Tp.selectJobs).find(t=>t.company===e.company&&t.title===e.job_title&&t.externalSlugId===e.external_slug_id&&t.status!==s.Sy.recommended),z=O?.status===s.Sy.auto_apply||O?.autoApplyStatus,{data:F}=(0,h.K)(e.job_title,1),H=F?.length&&F[0].id,{data:V}=(0,m.N)({jobTitleId:H,perPage:3,total:3}),U=(0,n.useMemo)(()=>{let e=V?.pages.flatMap(e=>e.items);return Array.isArray(e)&&e.length>=3?e.slice(0,3).map(e=>({title:e.content})):[]},[V]);return(0,n.useEffect)(()=>{let t=e?.external_slug_id;k(s.o1.fetchAlreadyAppliedJobRequest(t))},[k,e]),(0,r.jsxs)(ei.mc,{"data-testid":"job-details-container",children:[(0,r.jsx)(v._,{onClick:i}),(0,r.jsxs)(ei.B3,{children:[(0,r.jsx)(f.gu,{src:e.company_logo||(0,R.x)()}),(0,r.jsxs)(ei.Y9,{children:[(0,r.jsx)(ei.CC,{children:e.company}),(0,r.jsx)(ei.yX,{children:e.job_title})]}),(0,r.jsxs)(ei.lX,{children:[I&&(0,r.jsx)(N.v,{job:e,selectedTabId:j,setApplyDialog:t}),(0,r.jsx)(L._,{job:e,selectedTabId:j})]})]}),(0,r.jsxs)(ei.vD,{children:[(0,r.jsx)(b.aZ,{job:e}),(0,r.jsx)(b.dP,{job:e}),(0,r.jsx)(b.V$,{job:e}),(0,r.jsx)(b.eH,{job:e,clamp:{past:{days:60}}})]}),T&&z&&(0,r.jsxs)(ei.qX,{children:[(0,r.jsx)(b.w$,{}),O.autoApplyStatus&&(0,r.jsx)(u.I,{autoApplyStatus:O.autoApplyStatus,status:O.status})]}),!C&&(A||(0,r.jsx)(ef,{job:e,mobileVertical:!0,setApplyDialog:t,selectedTabId:j,ref:B})),P&&z&&(0,r.jsx)(E,{jobId:O.id,isResumeTailoringEnabled:J}),(0,r.jsx)(eS,{title:(0,r.jsx)(ei.hE,{children:w.t("builder.job_search.job_search_results.required_skills")})}),(0,r.jsx)(eb.c,{header:(0,r.jsx)(ei.hE,{children:w.t("builder.job_search.job_search_results.summary")}),text:e.description}),M&&U?.length>0&&(0,r.jsxs)(ei.oh,{children:[(0,r.jsx)(ei.hE,{children:w.t("builder.job_search.job_search_results.accordion_title")}),(0,r.jsxs)(ei.Px,{to:`/interview-preparation/questions-library?jobTitleId=${H}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>{(0,a.xP)("click_explore_interview_questions",{label:"job_search",parameter:j})},children:[w.t("builder.job_search.job_search_results.accordion_title_button"),(0,r.jsx)(p.Ay.ChevronRight,{})]})]}),M&&(0,r.jsx)(_.n,{items:U}),!C&&!A&&!D&&(0,r.jsx)(ei.Dw,{children:(0,r.jsx)(ef,{job:e,setApplyDialog:t,selectedTabId:j,mobileVertical:!0})}),S.learningHub&&(0,r.jsx)(ei.$l,{children:(0,r.jsx)(y.sp,{})})]})}},29810:function(e,t,i){"use strict";i.d(t,{c:function(){return u}});var r=i(74848),n=i(8559),o=i(38267),a=i(99701),l=i(24833),s=i(49504);let d=o.Ay.div(["position:relative;"]),c=o.Ay.div([""," color:",";"," b,strong,h1,h2,h3,h4,h5,h6{"," color:",";","}p{margin:12px 0px;","}li{","}"],s.Ay.Body,a.Jy.Neutral60,({isHTMLContent:e})=>!e&&"white-space: pre-line;",s.BO.DemiBold,a.Jy.Neutral90,l.A.Tablet`
7313      ${s.Ay.Subhead}
7314    `,l.A.Tablet`
7315      ${s.Ay.Subhead}
7316    `,l.A.Tablet`
7317      ${s.Ay.Subhead}
7318    `),u=({header:e,text:t,...i})=>(0,r.jsxs)(d,{children:[e,(0,r.jsx)(c,{...i,isHTMLContent:(0,n.Rt)(t),dangerouslySetInnerHTML:{__html:t}})]})},17944:function(e,t,i){"use strict";i.d(t,{$l:function(){return A},B3:function(){return c},CC:function(){return h},Dw:function(){return j},I_:function(){return f},Px:function(){return v},Y9:function(){return u},hE:function(){return _},lX:function(){return p},mc:function(){return d},oh:function(){return b},qX:function(){return g},vD:function(){return m},wv:function(){return y},yX:function(){return x}});var r=i(38267),n=i(84976),o=i(99701),a=i(49504),l=i(24833),s=i(14649);let d=r.Ay.div(["position:sticky;top:0;padding:",";"," ",""],o.Kz.L,l.A.Tablet`
7319    padding: ${o.Kz.S};
7320  `,l.A.Phone`
7321    padding: ${o.Kz.XS};
7322  `),c=r.Ay.div(["display:flex;",""],l.A.Tablet`
7323    margin-top: 10px;
7324  `),u=r.Ay.div(["margin-left:16px;width:100%;"]),p=r.Ay.div(["display:flex;align-items:center;gap:",";margin-left:auto;"],o.Kz["2XS"]),h=r.Ay.div(["color:",";margin-bottom:8px;"],o.Jy.Neutral50),x=r.Ay.h1([""," "," margin-bottom:8px;"],a.Ay.S,a.BO.DemiBold),m=r.Ay.div(["display:flex;flex-wrap:wrap;margin-top:",";color:",";align-items:center;> :not(:last-child){margin-right:16px;}svg{color:",";fill:currentColor;margin-right:4.1px;}"],o.Kz.S,o.Jy.Neutral50,o.Jy.Neutral50),g=r.Ay.div(["display:flex;flex-wrap:wrap;color:",";margin-top:",";align-items:center;> :not(:last-child){margin-right:12px;}svg{margin-right:4.2px;}
7324"],o.Jy.Neutral50,o.Kz.S),y=r.Ay.div(["margin:32px 0px;height:1px;background-color:",";"],o.Jy.Neutral20),f=(0,r.Ay)(s.Ay.ExternalLink)(["flex:1;"]),b=r.Ay.div(["display:flex;justify-content:space-between;margin-top:",";margin-bottom:",";gap:",";"],o.Kz.XL,o.Kz.L,o.Kz.S),_=r.Ay.div([""," "," color:",";"],a.Ay.Subhead,a.BO.DemiBold,o.Jy.Neutral90),v=(0,r.Ay)(n.N_)(["cursor:pointer;"," "," color:",";display:flex;justify-content:center;align-items:center;"],a.Ay.Body,a.BO.Regular,o.Jy.Blue50),j=r.Ay.div(["position:sticky;bottom:0px;margin-bottom:10px;display:block;",""],l.A.AboveTablet`
7325  display: none;
7326  `),A=r.Ay.div(["margin-top:",";margin-bottom:",";"],o.Kz.L,o.Kz.L)},51244:function(e,t,i){"use strict";i.d(t,{DQ:function(){return r},Rh:function(){return o},fm:function(){return a},kr:function(){return n}});let r=[5,25,50,100,200],n={postedWithinDays:0,autoApplyCompatible:!1,jobLocationType:[],jobType:[],minimumSalary:void 0,maximumSalary:void 0,requiresSalary:!1,experienceMin:void 0,experienceMax:void 0,requiresExperience:!1},o={...n,radius:25};function a(e){let t={...e};return delete t.radius,t}},46904:function(e,t,i){"use strict";i.d(t,{V$:function(){return h},aZ:function(){return p},dP:function(){return m},eH:function(){return x},w$:function(){return g}});var r=i(74848),n=i(38267),o=i(14649),a=i(77378),l=i(69685),s=i(84403),d=i(8559);let c=n.Ay.span(["display:flex;align-items:center;",""],({overwriteSVGColor:e})=>e&&(0,n.AH)(["& svg path{fill:currentColor;}"])),u=({icon:e,value:t,overwriteSVGColor:i})=>(0,r.jsxs)(c,{overwriteSVGColor:i,children:[e,(0,r.jsx)("span",{children:t})]}),p=({job:e})=>(0,r.jsx)(u,{overwriteSVGColor:!0,icon:(0,r.jsx)(o.Ay.NewLocation,{}),value:(0,d.ZH)(e?.location||"N/A")}),h=({job:e})=>null,x=({job:e,clamp:t})=>{let{i18n:i}=(0,a.s)();if(!e||!e.posted_at)return null;let n="builder.job_search.time_difference",d=["day_ago","days_ago","hours_ago","hour_ago","minute_ago","minutes_ago","second_ago","seconds_ago","month_ago","months_ago","year_ago","years_ago"],c=["about"];return(0,r.jsx)(u,{icon:(0,r.jsx)(o.Ay.ClockIcon,{style:{position:"relative",top:3}}),value:(e=>{let r,o,a=t?(0,s.M)(e,t):e,u=(0,l.PI)(a,{addSuffix:!0}),[p,h,x]=-1===(o=(r=u.split(" ")).findIndex(e=>!isNaN(Number(e))&&""!==e))?["",null,void 0]:[r[o],r.slice(0,o).join("")||null,r.slice(o+1).join("_")];if(!x||!d?.includes(x))return u;let m=h&&c?.includes(h)?i.t(`${n}.${h}`):h;return`${m||""} ${p} ${i.t(`${n}.${x}`)}`})(e.posted_at)})},m=({job:e})=>null,g=()=>{let{i18n:e}=(0,a.s)();return(0,r.jsx)(u,{icon:(0,r.jsx)(o.Ay.Simple,{}),value:e.t("builder.job_search.auto_apply.meta_label")})}},95807:function(e,t,i){"use strict";i.d(t,{CC:function(){return p},JQ:function(){return f},NN:function(){return b},Tu:function(){return y},UC:function(){return d},bL:function(){return g},gu:function(){return c},hE:function(){return u},mc:function(){return s},tB:function(){return h},v5:function(){return v},vD:function(){return m},xI:function(){return _},yX:function(){return x}});var r=i(38267),n=i(99701),o=i(78561),a=i(49504),l=i(24833);let s=r.Ay.li(["scroll-margin-top:150px;cursor:pointer;background-color:",";padding:24px;border-radius:8px;display:flex;z-index:2;box-shadow:0px 0px 1px ",",0px 1px 2px ",",0px 2px 4px ",";&:hover{","}",""],n.Jy.White,(0,o.j)(n.Jy.Blue80,.32),(0,o.j)(n.Jy.Blue80,.12),(0,o.j)(n.Jy.Blue80,.08),e=>!e.isActive&&(0,r.AH)(["box-shadow:0px 8px 20px -4px ",",0px 2px 4px -1px ",",0px 0px 1px 0px ",";"],(0,o.j)(n.Jy.Blue80,.12),(0,o.j)(n.Jy.Blue80,.08),(0,o.j)(n.Jy.Blue80,.32)),e=>e.isActive&&(0,r.AH)(["box-shadow:0 0 0 2px "," !important;"],n.Jy.Blue50)),d=r.Ay.div(["margin-left:16px;display:flex;flex-direction:column;width:100%;"]),c=r.Ay.div(["flex-shrink:0;border:1px solid ",";border-radius:8px;width:48px;height:48px;background-image:url(",");background-position:center;background-size:contain;border-radius:var(--Spacing-2XS,8px);"],n.Jy.Neutral15,e=>`"${e.src}"`),u=r.Ay.div(["display:flex;flex-direction:column;flex-grow:1;"]),p=r.Ay.div(["display:flex;justify-content:space-between;"]),h=r.Ay.p([""," color:",";"],a.Ay.Body,n.Jy.Neutral50),x=r.Ay.span([""," "," margin-right:4px;"],a.Ay.Body,a.BO.DemiBold),m=r.Ay.div(["display:flex;font-size:17px;margin-top:16px;color:",";flex-wrap:wrap;> :not(:last-child){margin-right:12px;}svg{margin-right:4px;}"],n.Jy.Neutral50),g=r.Ay.div(["display:flex;position:fixed;justify-content:center;position:fixed;bottom:24px;width:fit-content;z-index:999;background-color:",";align-items:center;border-radius:8px;box-shadow:0px 2px 4px -1px rgba(15,20,30,0.16),0px 8px 20px -4px rgba(15,20,30,0.24);left:50%;transform:translate(-50%);"," z-index:12001;"],n.Jy.Neutral100,l.A.Phone` 
7327    bottom: 84px;
7328    width: max-content;
7329    flex-direction: column;
7330    margin: ${n.Kz.XS} 0;
7331  `),y=r.Ay.div(["padding:4px;display:flex;justify-content:center;align-items:center;"]),f=r.Ay.p(["color:",";",";
7331"],n.Jy.White,a.Ay.Body),b=r.Ay.div(["gap:8px;display:flex;align-items:center;padding:"," ",";"],n.Kz.XS,n.Kz.S),_=r.Ay.div(["border-left:1px solid ",";padding:14px ",";"],n.Jy.Neutral50,n.Kz.S),v=r.Ay.span(["color:",";",";",";cursor:pointer;"],n.Jy.White,a.Ay.Caption,a.BO.DemiBold)},40434:function(e,t,i){"use strict";i.d(t,{X:function(){return a},y:function(){return o}});var r,n,o=((r={}).ANY_CONTRACT_TYPE="any_contract_type",r.FULL_TIME="full_time",r.PART_TIME="part_time",r.CONTRACT="contract",r.TEMPORARY="temporary",r.FREELANCE="freelance",r.GIG="gig",r.FULL_TIME_PART_TIME="full_part_time",r),a=((n={}).REMOTE="remote",n.ONSITE="onsite",n.HYBRID="hybrid",n)},17994:function(e,t,i){"use strict";i.d(t,{x:function(){return l}});var r=i(74848),n=i(91779),o=i(77378),a=i(33386);let l=({Images:e,translationKey:t,onClick:i,CustomContainer:l,subtitleClassname:s,titleClassname:d})=>{let{i18n:c}=(0,o.s)(),u=l||a.mc;return(0,r.jsxs)(u,{children:[e,(0,r.jsx)(a.hE,{className:d,children:c.t(`builder.job_search.recommendations.${t}.title`)}),(0,r.jsx)(a.Pd,{className:s,children:c.t(`builder.job_search.recommendations.${t}.subtitle`)}),(0,r.jsx)(n.Ay,{onClick:i,children:c.t(`builder.job_search.recommendations.${t}.button`)})]})}},33386:function(e,t,i){"use strict";i.d(t,{Dw:function(){return _},Pd:function(){return u},Pg:function(){return w},QR:function(){return b},R_:function(){return x},VG:function(){return j},VI:function(){return p},VJ:function(){return h},aj:function(){return v},c5:function(){return s},hE:function(){return c},hS:function(){return y},kh:function(){return C},ky:function(){return k},ls:function(){return T},mc:function(){return l},q1:function(){return d},sz:function(){return g},xj:function(){return m},yf:function(){return A},ys:function(){return S}});var r=i(38267),n=i(99701),o=i(49504),a=i(24833);let l=r.Ay.div(["display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center;background-color:",";border-radius:",";padding:183px 95px;text-align:center;",""],n.Jy.White,n.Kz.S,a.A.Phone`
7332    padding: 183px 0;
7333  `),s=r.Ay.div(["display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center;background-color:",";border-radius:",";padding:"," 95px;text-align:center;",""],n.Jy.White,n.Kz.S,n.Kz["2XL"],a.A.Phone`
7334    padding: ${n.Kz["2XL"]} 0;
7335  `),d=r.Ay.div(["display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center;text-align:center;position:absolute;inset:0;background:radial-gradient(ellipse,rgba(255,255,255,1) 40%,rgba(255,255,255,0) 90%);backdrop-filter:blur(2px);"]),c=r.Ay.span(["color:",";",";",";max-width:398px;width:100%;&.collapsed{max-width:300px;}"],n.Jy.Neutral90,o.BO.DemiBold,o.Ay.S),u=r.Ay.span(["color:",";",";max-width:360px;width:100%;margin-top:",";margin-bottom:",";&.expanded{max-width:480px;}"],n.Jy.Neutral60,o.Ay.Body,n.Kz["2XS"],n.Kz.S),p=r.Ay.div(["width:320px;height:216px;position:relative;overflow:hidden;"]),h=r.Ay.div(["position:absolute;border-radius:100%;transform:translate(-50%);left:calc(50%);width:100%;height:calc(150%);background:radial-gradient( 65% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );"],n.Jy.Blue10),x=r.Ay.div(["position:absolute;border-radius:100%;top:40px;transform:translate(-50%);left:calc(50%);width:calc(80%);height:calc(120%);background:radial-gradient( 60% 50% at 50% 50%,rgba(195,229,254,0) 68.75%,"," 100% );"],n.Jy.Blue10),m=r.Ay.div(["position:absolute;border-radius:100%;top:80px;transform:translate(-50%);left:calc(50%);width:calc(60%);height:calc(100%);background:radial-gradient( 80% 50% at 50% 50%,rgba(195,229,254,0) 40%,"," 100% );"],n.Jy.Blue10),g=r.Ay.div(["width:70px;height:70px;display:flex;justify-content:center;align-items:center;border-radius:50%;border:3px solid ",";z-index:2;position:absolute;transform:translate(-50%);left:calc(50%);bottom:24px;"],n.Jy.Blue40),y=r.Ay.img(["width:64px;height:64px;flex:0 0 64px;border-radius:50%;"]),f=r.Ay.img(["position:absolute;display:flex;justify-content:center;align-items:center;z-index:2;border-radius:100%;background-color:white;box-shadow:0px 1.5px 3px -0.75px rgba(15,56,113,0.08),0px 6px 15px -3px rgba(15,56,113,0.12);"]),b=(0,r.Ay)(f)(["width:44px;height:44px;top:46px;left:236px;"]),_=(0,r.Ay)(f)(["width:32px;height:32px;top:168px;left:53px;"]),v=(0,r.Ay)(f)(["width:36px;height:36px;top:157px;left:234px;"]),j=(0,r.Ay)(f)(["width:36px;height:36px;top:60px;left:21px;"]),A=(0,r.Ay)(f)(["width:28px;height:28px;top:100px;left:89px;"]),C=(0,r.Ay)(f)(["width:28px;height:28px;top:81px;left:184px;"]),w=r.Ay.img(["width:134px;height:115px;margin-bottom:",";"],n.Kz.S),k=r.Ay.img(["width:197px;height:114px;margin-bottom:",";"],n.Kz.S),S=r.Ay.img(["width:131px;height:146px;margin-bottom:",";"],n.Kz.S),T=r.Ay.div(["display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center;background-color:",";border-radius:",";padding:40px 144px ",";text-align:center;",""],n.Jy.Neutral5,n.Kz.S,n.Kz["4XL"],a.A.Phone`
7336    padding: 40px 10px;
7337  `)},44206:function(e,t,i){"use strict";i.d(t,{l:function(){return v},L:function(){return w}});var r=i(74848),n=i(38267),o=i(99701),a=i(78561),l=i(49504),s=i(24833);let d=n.Ay.div(["display:flex;align-items:flex-start;gap:",";padding:",";width:100%;background-color:",";border-radius:",";box-shadow:0px 2px 4px 0px ",",0px 1px 2px 0px ",",0px 0px 1px 0px ",";"," ",";"],o.Kz.S,o.Kz.M,o.Jy.Blue10,o.Kz["2XS"],(0,a.j)(o.Jy.Blue80,.08),(0,a.j)(o.Jy.Blue80,.12),(0,a.j)(o.Jy.Blue80,.32),s.A.Laptop`
7338    flex-wrap: wrap;
7339    `,e=>{if("vertical"===e.layout)return(0,n.AH)(["flex-direction:column;height:100%;gap:20px;padding:",";"],o.Kz.L)}),c=n.Ay.aside(["width:107.31px;height:62.09px;flex-shrink:0;",";"],e=>{if("vertical"===e.layout)return(0,n.AH)(["width:119.53px;height:96px;"])}),u=n.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;",";"],e=>{if("vertical"===e.layout)return(0,n.AH)(["flex-grow:1;"])}),p=n.Ay.span(["",";",";"],l.BO.DemiBold,l.Ay.Body),h=n.Ay.span(["word-wrap:break-word;word-break:break-word;",";",";color:",";"],l.BO.Regular,l.Ay.Caption,o.Jy.Neutral50),x=n.Ay.div(["",";"],e=>{if("vertical"===e.layout)return(0,n.AH)(["margin-top:auto;"])}),m=n.Ay.img(["width:100%;height:100%;object-fit:contain;"]),g=n.Ay.img(["width:273.46px;height:158.22px;margin-bottom:36px;object-fit:contain;"]);var y=i.p+"media/location_pin68c45522870ec500.png",f=i(91779),b=i(77378);let _=({layout:e,translationKey:t,Image:i,onClick:n})=>{let{i18n:o}=(0,b.s)(),a="builder.job_search.recommendations.missing_profile_information";return(0,r.jsxs)(d,{layout:e,children:[(0,r.jsx)(c,{layout:e,children:i}),(0,r.jsxs)(u,{layout:e,children:[(0,r.jsx)(p,{children:o.t(`${a}.${t}.title`)}),(0,r.jsx)(h,{children:o.t(`${a}.${t}.subtitle`)}),(0,r.jsx)(x,{layout:e,children:(0,r.jsx)(f.Ay,{size:f.Mp.small,onClick:n,children:o.t(`${a}.${t}.button`)})})]})]})},v=({layout:e,onClick:t})=>(0,r.jsx)(_,{Image:(0,r.jsx)(m,{src:y,alt:"no location"}),layout:e,translationKey:"no_location",onClick:t});i(96540);var j=i(32760),A=i(57358);let C="builder.job_search.recommendations.missing_profile_information.set_location",w=({closeHandler:e,afterSetLocationHandler:t})=>{let{i18n:i}=(0,b.s)();return(0,r.jsx)(j.m,{setClose:e,showBackButton:!1,includeLocation:!0,translationKey:C,handleAfterSave:t,eventLabel:"recommended_jobs",defaultStep:"location",locationData:{buttonText:i.t(`${C}.button`),subtitle:i.t(`${C}.subtitle`),Image:(0,r.jsx)(g,{src:A,alt:"target-location"})}})}},66629:function(e,t,i){"use strict";i.d(t,{x:function(){return B},A:function(){return D}}),i(18111),i(61701),i(44114);var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(43623),s=i(14649),d=i(55030),c=i(62317),u=i(42692),p=i(77378),h=i(29567),x=i(18509),m=i(5005),g=i(9888),y=i(69352),f=i(36822),b=i(23630),_=i(49595),v=i(51244),j=i(27754),A=i(14529),C=i(48429),w=i(78108),k=i(56749),S=i(38267),T=i(99701),P=i(24833),J=i(67592),E=i(81846);let R=S.Ay.div(["top:","px;z-index:",";position:fixed;display:flex;align-items:center;right:0;left:0;background:",";border-radius:",";padding:"," ",";margin:0 20px;"," ","  ","  ",";"],w.xE,w.Rw,T.Jy.White,T.Kz["2XS"],T.Kz["2XS"],T.Kz.S,P.A.AboveTablet`
7340    display: none;
7341  `,P.A.Tablet`
7342    height: 64px;
7343    left: 80px;
7344  `,P.A.Phone`
7345    height: 48px;
7346    left: -5px;
7347    right: -5px;
7348  `,J.A.lightWithBorder.low),L=S.Ay.div(["display:flex;align-items:center;padding-right:",";"],T.Kz["2XS"]),N=S.Ay.div(["border:none;height:","px;width:100%;background-color:transparent;display:flex;align-items:center;"],E.bE),I=S.Ay.div(["flex-shrink:0;display:flex;right:0;height:100%;align-items:center;& svg{cursor:pointer;fill:",";}"],T.Jy.Neutral30),M=({value:e,onClear:t,onClick:i})=>(0,r.jsxs)(R,{onClick:i,children:[(0,r.jsx)(L,{children:(0,r.jsx)(s.Ay.NewSearch,{})}),(0,r.jsx)(N,{children:e}),e.length>0&&(0,r.jsx)(I,{children:(0,r.jsx)(s.EK.RejectIcon,{onClick:t})})]}),B=204;var D=({showBlackValues:e,searchBarType:t,onSearch:i,term:S,nearMeLocation:T,locationText:P,selectedLocation:J,setScrollableSearchBarType:E,handleChangeSelectedTabId:R,updateSearchParams:L,setTerm:N,setLocationText:I,setSelectedLocation:B,selectedTabId:D,filters:$=v.Rh,inStickyHeader:O,isStuck:z,ownsEnterKey:F=!0,isSuperseded:H=!1,showErrorMessage:V,setShowErrorMessage:U})=>{let{features:W}=(0,u.t)(),K=(0,n.useRef)(null),[q,G]=(0,d.M)(k.e6,[]),[Z,X]=(0,d.M)(k.wt,[]),[Q,Y]=(0,n.use
7348State)([]),[ee,et]=(0,n.useState)(!1),ei=V??ee,er=U??et,[en,eo]=(0,n.useState)(!1),{i18n:ea}=(0,p.s)(),el=(0,n.useRef)(()=>{}),es=(0,x.N)(h.Tp.enableJobAlertFeature),ed=(0,j.Q)(es),ec=(0,g.U)(y.l1.country);(0,c.L)(K,()=>{"scrollable_expanded"===t&&E&&E("scrollable_initial")});let eu=(0,o.wA)();(0,n.useEffect)(()=>{let e=[];if(q.length){let t=q.slice(-3).reverse().map(e=>({text:e}));e.push({title:"Recent",suggestions:t})}Y(e)},[q]);let ep=(0,n.useCallback)(async()=>{"scrollable_expanded"===t&&E&&E("scrollable_initial"),R&&R(_.En.search),(0,a.xP)("search_for_job",{term:S,location:(0,C.xU)(J,T),period:$.postedWithinDays});let e=(0,A.B)($.jobLocationType);er(""===S&&!e&&!J),(""!==S||e||J)&&(L&&L({}),i&&i())},[i,eu,R,T,t,J,E,S,L,$.jobLocationType,$.postedWithinDays,er]);el.current=ep,(0,n.useEffect)(()=>{if(!F)return;let e=e=>{"Enter"===e.key&&el.current()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[F]);let eh=(0,n.useMemo)(()=>(0,C.V7)(Z),[Z]),ex=(0,n.useMemo)(()=>{let e=(0,r.jsxs)(r.Fragment,{children:[T?.formatted,"\xa0",(0,r.jsxs)(b.xo,{children:["(",ea.t("builder.job_search.search_bar.location.near_me"),")"]})]});return(0,C.rZ)(ea.t,!0,T,e,eh)},[ea,T,eh]),em=(0,n.useCallback)(e=>{N(e.text),er(!1);let t=q.findIndex(t=>t.toLowerCase()===e.text.toLowerCase());-1!==t&&q.splice(t,1),G([...q,e.text])},[q,G,N,er]),eg=(0,n.useCallback)(e=>{if(er(!1),I("near_me"===e.locationType&&T?T.formatted||"":e.formatted||""),B(e),(0,a.xP)("pick_location",{label:"job_search"}),e?.locationType==="location_id"){let t=JSON.stringify(e),i=Z.map(e=>JSON.parse(e)).findIndex(t=>t.value===e.value&&t.formatted===e.formatted);-1!==i&&Z.splice(i,1),X([...Z,t])}},[T,Z,I,X,B,er]),ey=(0,n.useCallback)(e=>{N(e),er(!1)},[N,er]);return"scrollable_initial"===t?(0,r.jsx)(M,{value:S,onClear:()=>N(""),onClick:()=>{E&&E("scrollable_expanded")}}):(0,r.jsxs)(w.kp,{$searchBarType:t,ref:K,$isDashboardV2:!!W.superApp||!!W.international,$hasMissingFields:ei,$isV2:!!W.jobSearchV2,$inStickyHeader:O,$isStuck:z,$superseded:H,$isLocationFocused:!!W.jobSearchV2&&en,children:[(0,r.jsx)(w.cA,{children:(0,r.jsx)(w.yP,{$isStuck:z,$isV2:!!W.jobSearchV2,children:(0,r.jsxs)(w.C8,{$searchBarType:t,$isStuck:z,$isV2:!!W.jobSearchV2,children:[(0,r.jsx)(w.j2,{testId:H?void 0:"job-search-title-field",mobileV2Focus:!!W.jobSearchV2,matchFieldWidth:!!W.jobSearchV2,value:e?"":S,onClick:()=>{D===_.En.recommendation&&R&&requestAnimationFrame(()=>R(_.En.search))},overwritePopupWidth:W.jobSearchV2?void 0:481,onChange:ey,placeholder:ea.t("builder.job_search.search_bar.placeholders.term"),icon:(0,r.jsx)(s.qJ.NewSearch,{}),defaultSuggestions:Q,fetchItems:(0,l.$Z)("job-title",{limit:5}),onClear:()=>ey(""),onSuggestionSelected:em,renderCustomItemSuggestion:e=>es&&ec&&ed.data&&ec.jobAlertsLimit>ed.data.length?(0,r.jsx)(w.hC,{onClick:()=>{eu(h.o1.setAlertType({type:m._1.create,editCustomAlert:(0,A.T)({targetRole:e.text,filters:$,selectedLocation:J})}))},children:ea.t("builder.job_search.create_job_alert")}):null}),(0,r.jsx)(w.wv,{$isStuck:z}),(0,r.jsx)(w.j2,{testId:H?void 0:"job-search-location-field",$isStuck:z,$withDivider:!0,mobileV2Focus:!!W.jobSearchV2,matchFieldWidth:!!W.jobSearchV2,onExpandedChange:eo,overwritePopupWidth:W.jobSearchV2?void 0:481,value:e?"":P,onClick:()=>{D===_.En.recommendation&&R&&requestAnimationFrame(()=>R(_.En.search))},onChange:e=>{I(e),B(void 0)},onBlur:()=>{J||I("")},onSuggestionSelected:eg,placeholder:ea.t(W.jobSearchV2?"builder.job_search.search_bar.placeholders.location_v2":"builder.job_search.search_bar.placeholders.location"),icon:(0,r.jsx)(s.qJ.NewLocation,{}),renderIconMenu:()=>(0,r.jsx)(s.qJ.NewLocation,{}),defaultSuggestions:ex,getSuggestionValue:e=>e.formatted||e.text,fetchItems:f.G}),(0,r.jsx)(w.vd,{"data-testid":H?void 0:"job-search-button",onClick:ep,$isV2:!!W.jobSearchV2,$isStuck:z,children:ea.t(W.jobSearchV2?"builder.job_search.search_bar.button_v2":"builder.job_search.search_bar.button")})]})})}),ei&&(0,r.jsx)(w.bz,{children:ea.t("builder.job_search.search_bar.empty_search_input")})]})}},56749:function(e,t,i){"use strict";i.d(t,{A8:function(){return f},CU:function(){return r},Eg:function(){return o},Et:function(){return g},Mg:function(){return l},S8:function(){return x},Uv:function(){return u},WS:function(){return n},Y2:function(){return s},_t:function(){return p},bi:function(){return c},cv:function(){return a},e6:function(){return b},hw:function(){return d},iZ:function(){return m},ky:function(){return h},uf:function(){return y},wt:function(){return _}});let r="location",n="location_id",o="location_latitude",a="location_longitude",l="open_job_alert",s="external_slug_id",d="job_location_type",c="job_type",u="min_salary",p="max_salary",h="salary_exists",x="min_experience",m="max_experience",g="experience_exists",y="within_n_days",f
7348="auto_apply_compatible",b="JOB_SEARCH_HISTORY_QUERY_V3",_="JOB_SEARCH_HISTORY_LOCATIONS_V3"},82352:function(e,t,i){"use strict";t.A=i(66629).A},78108:function(e,t,i){"use strict";i.d(t,{C8:function(){return f},Rw:function(){return u},bz:function(){return m},cA:function(){return x},hC:function(){return j},j2:function(){return _},kp:function(){return h},vd:function(){return y},wv:function(){return v},xE:function(){return p},yP:function(){return g}});var r=i(38267),n=i(99701),o=i(24833),a=i(91779),l=i(67592),s=i(49504),d=i(89221),c=i(81846);let u=547,p=81;n.Jy.Neutral10;let h=r.Ay.div(["top:","px;z-index:",";margin-bottom:32px;"," "," "," "," "," "," "," ",""],p,u,({$searchBarType:e})=>{if(e?.includes("scrollable"))return(0,r.AH)(["position:fixed;width:100%;"])},({$isDashboardV2:e,$searchBarType:t})=>o.A.AboveTablet`
7349    ${"job"!==t&&"position: sticky;"}
7350    top: ${e?81:5}px;
7351  `,({$hasMissingFields:e})=>e&&"background: white",({$isV2:e})=>e&&o.A.Phone`
7352    position: relative;
7353    top: 0;
7354    z-index: auto;
7355    margin-bottom: 2px;
7356  `,({$inStickyHeader:e})=>e&&o.A.AboveTablet`
7357      position: static;
7358      top: auto;
7359    `,({$inStickyHeader:e,$isStuck:t})=>e&&t&&o.A.AboveTablet`
7360      margin-bottom: 0;
7361    `,({$superseded:e})=>e&&o.A.AboveTablet`
7362      visibility: hidden;
7363    `,({$isLocationFocused:e})=>e&&o.A.Phone`
7364      z-index: auto;
7365    `),x=r.Ay.div(["display:flex;max-width:1120px;margin:0 auto;"," ",""],o.A.Tablet`
7366    flex-direction: column;
7367  `,({$searchBarType:e})=>{if(e?.includes("scrollable"))return(0,r.AH)(["",";"],l.A.lightWithBorder.low)}),m=(0,r.Ay)(x)(["padding:10px 0;justify-content:center;color:",";background:",";",""],n.Jy.Red40,n.Jy.White,o.A.Tablet`
7368    margin-bottom: 0;
7369    text-align: center;
7370  `),g=r.Ay.div(["border-radius:12px;display:flex;width:100%;background-color:",";height:64px;margin:0 auto;position:relative;"," "," ",""],n.Jy.White,({$isStuck:e})=>e&&o.A.AboveTablet`
7371      height: ${48}px;
7372      border-radius: 4px;
7373    `,o.A.Tablet`
7374  height: unset;
7375`,({$isV2:e})=>e&&o.A.Phone`
7376      border-radius: 0 0 12px 12px;
7377      box-shadow: ${l.A.light.mid};
7378    `),y=(0,r.Ay)(a.Ay)(["flex:0.5;"," "," "," ",""],({$isStuck:e})=>o.A.AboveTablet`
7379      margin-left: ${e?"0":n.Kz.S};
7380    `,o.A.Tablet`
7381    width: 100%;
7382  `,({$isV2:e})=>e&&o.A.AboveTablet`
7383      flex: 0 0 auto;
7384    `,({$isStuck:e})=>e&&o.A.AboveTablet`
7385      align-self: stretch;
7386      height: auto;
7387      border-radius: 0 4px 4px 0;
7388    `),f=r.Ay.div(["display:flex;align-items:center;box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 2px 4px -1px rgba(15,56,113,0.08),0px 8px 20px -4px rgba(15,56,113,0.12);border-radius:8px;padding:",";"," "," "," "," ",""],n.Kz["2XS"],({$searchBarType:e,$isStuck:t})=>o.A.AboveTablet`
7389    background-color: ${n.Jy.White};
7390    position: absolute;
7391    left: ${t||"job"===e?0:-10}px;
7392    right: ${t||"job"===e?0:-10}px;
7393    height: 64px;
7394`,({$isStuck:e})=>e&&o.A.AboveTablet`
7395      height: ${48}px;
7396      padding: 0;
7397      border-radius: 4px;
7398      ${l.A.lightWithBorder.low};
7399
7400      [data-testid='job-search-title-field'] {
7401        border-radius: 4px 0 0 4px;
7402      }
7403
7404      ${c.EV}, ${c.pd}, ${c.n6} {
7405        height: ${48}px;
7406      }
7407
7408      ${c.W1} {
7409        border-radius: 4px;
7410      }
7411    `,({$searchBarType:e})=>o.A.Tablet`
7412    flex-grow: 1;
7413    display: flex;
7414    flex-direction: column;
7415    ${"scrollable_expanded"===e&&`
7416        & ${y} {
7417          display: block;
7418        }
7419    `}
7420  `,({$isV2:e,$isStuck:t})=>e&&!t&&o.A.AboveTablet`
7421      ${c.W1} {
7422        left: calc(${n.Kz["2XS"]} * -1);
7423        width: calc(100% + ${n.Kz["2XS"]} + 4px);
7424        max-width: calc(100% + ${n.Kz["2XS"]} + 4px);
7425      }
7426    `,({$isV2:e})=>e&&o.A.Phone`
7427      padding: 0 ${n.Kz.M} ${n.Kz.M};
7428      box-shadow: none;
7429      border-radius: 0 0 12px 12px;
7430    `),b=(0,r.AH)(["",""],o.A.Tablet`
7431  width : 100%;
7432  `),_=(0,r.Ay)(d.A)(["flex:1;"," ",""],b,({$isStuck:e,$withDivider:t})=>e&&t&&o.A.AboveTablet`
7433      border-left: 1px solid ${n.Jy.Neutral20};
7434    `),v=r.Ay.div(["background-color:",";height:24px;width:1px;margin:auto 5px;flex-shrink:0;"," ",""],n.Jy.Neutral20,({$isStuck:e})=>e&&o.A.AboveTablet`
7435      display: none;
7436    `,o.A.Tablet`
7437    margin: 0 16px;
7438    background-color: ${n.Jy.Neutral20};
7439    height: 1px;
7440    width: 100%;
7441    display: flex;
7442  `),j=r.Ay.div(["",";"," color:",";"],s.Ay.Caption,s.BO.Medium,n.Jy.Blue50)},48429:function(e,t,i){"use strict";i.d(t,{V7:function(){return r},rZ:function(){return n},xU:function(){return o}}),i(18111),i(61701),i(22489);let r=e=>{try{let t=e.map(e=>JSON.parse(e)).filter(e=>"location_id"===e.locationType).slice(-3).reverse();if(0===t.length)return;return{title:"Recent",suggestions:t}}catch{return}}
7442,n=(e,t=!0,i,r,n)=>[{suggestions:[i?{formatted:r,text:i.formatted,value:i.value,locationType:"near_me",lat:i.lat,lng:i.lng}:void 0,t?{formatted:e("builder.job_search.search_bar.location.remote"),value:e("builder.job_search.search_bar.location.remote"),locationType:"remote"}:void 0].filter(Boolean)},n].filter(Boolean),o=(e,t)=>e?.locationType==="location_id"?e?.formatted:e?.locationType==="near_me"?t?.formatted:""},9219:function(e,t,i){"use strict";i.d(t,{v:function(){return h}});var r=i(74848),n=i(96540),o=i(99701),a=i(33093),l=i(14649),s=i(25755),d=i(77378),c=i(86066),u=i(99180),p=i(81408);let h=({job:e,selectedTabId:t,setApplyDialog:i,onClick:h})=>{let{i18n:x}=(0,d.s)(),{hover:m}=(0,c.e)(),g=(0,n.useCallback)(()=>{h?h():((0,u.V)(e.url),(0,a.xP)("apply_for_job",{title:e.job_title,position:e.position,parameter:t,label:"job_search"}),i?.(!0))},[e,t,i,h]);return(0,r.jsx)(s.QP,{position:"top",width:170,multiline:!0,textAlign:"center",isActive:m,value:x.t("builder.job_search.job_details.view_tooltip"),children:(0,r.jsx)(p.u,{onClick:g,children:(0,r.jsx)(l.Ay.ExternalLink,{color:o.Jy.Neutral50})})})}},62287:function(e,t,i){"use strict";i.d(t,{r:function(){return n}});var r=i(96540);let n=({rowRef:e,targetRef:t,enabled:i,defaultLeft:n="50%"})=>{let[o,a]=(0,r.useState)(n);return(0,r.useLayoutEffect)(()=>{if(!i)return;let r=e.current;if(!r)return;let n=()=>{let e=t.current;if(!e)return;let i=r.getBoundingClientRect();if(0===i.width)return;let n=e.getBoundingClientRect(),o=n.left+n.width/2-i.left;a(`${o/i.width*100}%`)};n();let o=new ResizeObserver(n);o.observe(r);let l=t.current;return l&&o.observe(l),()=>o.disconnect()},[i,e,t]),o}},50572:function(e,t,i){"use strict";i.d(t,{U:function(){return o}});var r=i(96540),n=i(49012);let o=(e=!0)=>{let[t,i]=(0,r.useState)(!0),[o,a]=(0,r.useState)();return(0,r.useEffect)(()=>{if(!e){i(!1),a(void 0);return}!async function(){try{let e=await n.uE.get("/resumes");e.data.resumes.sort((e,t)=>Date.parse(t.updatedAt)-Date.parse(e.updatedAt));let t=e.data.resumes[0];if(!t)return void a(void 0);let i=await n.uE.get(`/resumes/${t?.id}`);a(i.data)}finally{i(!1)}}()},[e]),{loading:t,resume:o}}},23630:function(e,t,i){"use strict";i.d(t,{$$:function(){return v},De:function(){return m},E_:function(){return E},Gc:function(){return y},KW:function(){return j},Ku:function(){return J},O0:function(){return f},T9:function(){return x},V8:function(){return A},Zb:function(){return u},aO:function(){return T},ar:function(){return p},bw:function(){return k},cf:function(){return h},gW:function(){return C},iO:function(){return w},j:function(){return S},pz:function(){return g},vR:function(){return P},xo:function(){return b},y_:function(){return _}});var r=i(38267),n=i(99701),o=i(24833),a=i(49504),l=i(23054),s=i(14649),d=i(39204),c=i(78108);let u=0,p=5,h=(0,r.Ay)(l.m)(["position:relative;top:","px;width:100%;"," background-color:",";",""],({$dashboardV2:e})=>e?"1":"81",({$isV2:e})=>e&&"max-width: 920px;",n.Jy.White,({$isV2:e})=>e&&o.A.Phone`
7443      top: 0;
7444      background-color: ${n.Jy.Neutral10};
7445      padding-left: 0;
7446      padding-right: 0;
7447    `),x=r.Ay.div(["",""],o.A.Phone`
7448    background-color: ${n.Jy.White};
7449    border-radius: 12px;
7450    padding: ${n.Kz.S} ${n.Kz.S} 0;
7451  `),m=r.Ay.div([""," "," ",""],o.A.Phone`
7452    position: sticky;
7453    top: 0;
7454    z-index: ${c.Rw};
7455  `,({$isStuck:e})=>e&&o.A.Phone`
7456      padding-top: ${n.Kz.S};
7457      background-color: ${n.Jy.White};
7458    `,({$superseded:e})=>e&&o.A.AboveTablet`
7459      visibility: hidden;
7460    `),g=r.Ay.div(["display:none;",""],({$visible:e,$dashboardV2:t})=>e&&o.A.AboveTablet`
7461      position: fixed;
7462      top: ${t?u:p}px;
7463      z-index: ${c.Rw};
7464      display: flex;
7465      flex-direction: column;
7466      gap: ${n.Kz.XS};
7467      padding: ${n.Kz.XS} ${n.Kz.S} ${n.Kz.S};
7468      background-color: ${n.Jy.Neutral5};
7469      border-radius: 12px 12px 0 0;
7470      box-sizing: border-box;
7471    `),y=r.Ay.div(["&:empty{display:none;}"," ",""],({$isStuck:e})=>e&&o.A.AboveTablet`
7472      display: none;
7473    `,({$isStuck:e,$hidePhone:t})=>e&&t&&o.A.Phone`
7474      display: none;
7475    `),f=(0,r.Ay)(y)(["margin-top:",";margin-bottom:",";"," &:empty{display:none;}& > div{margin-top:0;}"],n.Kz.S,n.Kz.S,o.A.Phone`
7476    margin-bottom: 0;
7477  `),b=r.Ay.span([""," "," color:",";"],a.Ay.Caption,a.BO.Regular,n.Jy.Neutral50),_=r.Ay.span(["color:",";"],n.Jy.Neutral30);a.Ay.Subhead,a.BO.DemiBold,n.Jy.Neutral90,n.Jy.Neutral50,o.A.Tablet`
7478      margin-right: 20px;
7479    `,a.Ay.Caption,n.Jy.Blue90,o.A.Tablet`
7480    padding: 0 20px;
7481  `,o.A.Phone`
7482    align-items: flex-start;
7483  `;let v=r.Ay.div(["display:flex;align-items:center;padding:"," 0 0;",""],n.Kz.XS,o.A.Phone`
7484    padding: 0;
7485    overflow-x: auto;
7486    gap: ${n.Kz.S};
7487    -webkit-overflow-scrolling: touch;
7488
7489    &::-webkit-scrollbar {
7490      display: none;
7491    }
7492  `),j=r.Ay.div(["display:flex;align-items:center;gap:",";margin-left:auto;",""],n.Kz.S,o.A.Phone`
7493    flex-shrink: 0;
7494  `),A=(0,r.Ay)(s.qJ.Heart)([""]),C=(0,r.Ay)(s.qJ.HeartFullFilled)(["display:none;"]),w=r.Ay.div(["cursor:pointer;display:flex;align-items:center;gap:4px;color:",";&:hover ","{display:none;}&:hover ","{display:block;}"],n.Jy.Blue50,A,C),k=r.Ay.span(["display:flex;align-items:center;justify-content:center;background:",";border-radius:30px;",";",";color:",";min-width:35px;height:32px;padding:4px;"],n.Jy.Blue10,a.BO.DemiBold,a.Ay.Body,n.Jy.Blue50),S=r.Ay.div(["position:relative;background-color:",";"],n.Jy.White),T=r.Ay.div(["position:absolute;right:0;top:0;"]),P=(0,r.Ay)(d.oz)(["& > div{padding:10px var(--Spacing-2XS,8px) 10px var(--Spacing-XS,12px);display:flex;justify-content:center;}"]),J=r.Ay.img(["width:273px;height:158px;"]),E=r.Ay.div(["margin:"," 0;"," ",""],n.Kz.L,o.A.Tablet`
7495    margin: ${n.Kz.M} 0 ;
7496
7497  `,o.A.Phone`
7498    margin: ${n.Kz.XS} 0;
7499
7500  `)},49595:function(e,t,i){"use strict";i.d(t,{En:function(){return l},Ig:function(){return d},gx:function(){return s},mD:function(){return p},r2:function(){return u},zv:function(){return c}});var r,n,o,a,l=((r={}).recommendation="recommendation",r.search="search",r),s=((n={}).mostRelevant="relevance",n.mostRecent="recency",n);let d="showCheckProfileBanner",c="onboardingStructuredResumeData";var u=((o={}).Profile="profile",o.TargetRole="target_roles",o.TargetLocation="target_locations",o.WorkExperience="work_experience",o.WorkExperienceWithDetails="work_experience_with_description_and_title",o),p=((a={}).Country="country",a.State="state",a.County="county",a.City="city",a.ZipCode="zip_code",a)},52087:function(e,t,i){"use strict";i.d(t,{G:function(){return s}}),i(18111),i(20116);var r=i(81247),n=i(33093),o=i(18509),a=i(20023),l=i(19611);let s=(e,t,i)=>{let s=(0,r.wA)(),d={status:a.Sy.wishlist,title:e.job_title,company:e.company,link:e.url,description:(0,l.Q)(e.description),open:!1,external_slug_id:e.external_slug_id,location:e.location,logo:e.company_logo,auto_apply_compatible:e.auto_apply_compatible},c=(0,o.N)(a.Tp.selectJobs).find(e=>e.externalSlugId===d.external_slug_id),u=!!c&&c.status!==a.Sy.recommended;return{isPresent:u,handleAddJobBoard:()=>{u||(0,n.xP)("add_to_job_tracker",{title:e.job_title,label:i??"icon",position:e.position,parameter:t}),u?s(a.o1.deleteJobRequest({id:c.id})):s(a.o1.createJobRequest(d))},newTrackerCard:d}}},8559:function(e,t,i){"use strict";i.d(t,{HH:function(){return l},RU:function(){return s},Rt:function(){return x},UO:function(){return m},YQ:function(){return u},ZH:function(){return g},aK:function(){return c},an:function(){return p},dF:function(){return h},jQ:function(){return d},k0:function(){return a}}),i(18111),i(7588),i(14603),i(47566),i(98721),i(61701);var r=i(49012),n=i(28363),o=i(56749);let a=async e=>{delete e.correct_term;let{jobs:t,corrected_term:i,...n}=(await r.R3.get("jobs/v1/search",{params:e})).data;return{jobs:t,stats:n,correctedTerm:i}},l=async e=>{let{jobs:t,...i}=(await r.R3.get("jobs/v1/search/similar-jobs",{params:e})).data;return{jobs:t,stats:i}},s=async(e,t,i)=>{let n={};t&&(n={[o.uf]:String(t.postedWithinDays),[o.A8]:t?.autoApplyCompatible||void 0,[o.hw]:t?.jobLocationType.join(",")||void 0,[o.bi]:t?.jobType.join(",")||void 0,[o.Uv]:t.minimumSalary?t.minimumSalary.toString():"",[o._t]:t.maximumSalary?t.maximumSalary.toString():"",[o.ky]:t.requiresSalary?"true":"false",[o.S8]:t.experienceMin?.toString()??"",[o.iZ]:t.experienceMax?.toString()??"",[o.Et]:t.requiresExperience?"true":"false"}),Object.keys(n).forEach(e=>{(""===n[e]||void 0===n[e])&&delete n[e]});let{jobs:a,...l}=(await r.R3.get("career/v1/recommended-jobs",{params:{...n,page:e,...i?{sort:i}:{}}})).data;return{jobs:a,stats:l}},d=async e=>{try{await r.R3.post("career/v1/profile/exclude_job",{externalId:e})}catch(e){n.A.log(e)}},c=async e=>{let t=(await r.R3.get(`/jobs/v1/search/location/${e}`,{params:{}})).data;return{value:String(t.id),text:t.name,formatted:t.formatted_name,locationCategory:t.type,locationType:"location_id"}},u=async e=>(await r.R3.get(`/jobs/v1/search/${e}`,{params:{}})).data,p=async()=>{let e=await new Promise((e,t)=>
7500{let i=setTimeout(()=>{},5e3);navigator.geolocation.getCurrentPosition(t=>{clearInterval(i),e(t)},t,{timeout:5e3})});if(e?.coords){let t=(await r.R3.get("/jobs/v1/search/location",{params:{lat:e?.coords?.latitude,lng:e?.coords?.longitude}})).data;return{value:String(t.id),text:t.name,formatted:t.formatted_name,locationCategory:t.type,locationType:"near_me",lat:String(e?.coords?.latitude),lng:String(e?.coords?.longitude)}}};function h(e){let t=new URLSearchParams;for(let i in e)void 0!==e[i]&&null!==e[i]&&t.append(i,e[i].toString());return t.toString()}function x(e){return/<\/?[a-z][\s\S]*>/i.test(e)}function m(e){return{workplace_type:e.jobLocationType,employment_type:e.jobType,posted_within_days:e.postedWithinDays,min_salary:e.minimumSalary,max_salary:e.maximumSalary,requires_salary:e.requiresSalary,min_experience:e.experienceMin,max_experience:e.experienceMax,requires_experience:e.requiresExperience,radius:e.radius}}function g(e){let t=e.split(",").map(e=>e.trim());return t.length>0&&/^\d+$/.test(t[0])&&t.shift(),t.join(", ")}},36822:function(e,t,i){"use strict";i.d(t,{G:function(){return n}}),i(18111),i(61701);var r=i(49012);let n=async e=>{try{let t=await r.R3.get("/jobs/v1/search/suggest-locations",{params:{location:e,limit:5}});return t.data?t.data.suggested_locations.map(e=>({value:String(e.id),text:e.name,formatted:e.formatted_name,locationCategory:e.location_type,locationType:"location_id"})):[]}catch(e){return[]}}},58657:function(e,t,i){"use strict";i.d(t,{x:function(){return n}});var r=i.p+"media/default_logo55bad58945e34985.png";let n=()=>r},21434:function(e,t,i){"use strict";i.d(t,{H:function(){return _}});var r=i(74848),n=i(47767),o=i(33093),a=i(17994),l=i.p+"media/no_work_experienceae2058afcfa33aa5.png",s=i(33386);let d=({CustomContainer:e})=>{let t=(0,n.Zp)();return(0,r.jsx)(a.x,{CustomContainer:e,Images:(0,r.jsx)(s.ys,{src:l,alt:"multiple_errors"}),translationKey:"multiple_errors",onClick:()=>{(0,o.xP)("view_profile_editor",{label:"recommended_jobs"}),t("/career-profile/edit?section=jobPreferences&returnUrl=/job-search?view=recommendation")}})};var c=i(96540),u=i(57358);let p=({CustomContainer:e,analyticEventsLabel:t})=>{let i=(0,n.Zp)();return(0,c.useEffect)(()=>{(0,o.xP)("show_missing_error",{label:t,missing_info:"target_location"})},[t]),(0,r.jsx)(a.x,{CustomContainer:e,Images:(0,r.jsx)(s.ky,{src:u,alt:"no_location"}),translationKey:"no_target_location",onClick:()=>{(0,o.xP)("view_profile_editor",{label:"recommended_jobs"}),i("/career-profile/edit?section=jobPreferences&returnUrl=/job-search?view=recommendation")}})},h=({CustomContainer:e})=>{let t=(0,n.Zp)();return(0,r.jsx)(a.x,{CustomContainer:e,Images:(0,r.jsx)(s.ys,{src:l,alt:"no_location_no_work_experience"}),translationKey:"no_target_location_no_work_experience",onClick:()=>{(0,o.xP)("view_profile_editor",{label:"recommended_jobs"}),t("/career-profile/edit?section=jobPreferences&returnUrl=/job-search?view=recommendation")}})};var x=i.p+"media/no_role5f1884fe8271f1b0.png";let m=({CustomContainer:e,analyticEventsLabel:t})=>{let i=(0,n.Zp)();return(0,c.useEffect)(()=>{(0,o.xP)("show_missing_error",{label:t,missing_info:"target_role"})},[t]),(0,r.jsx)(a.x,{CustomContainer:e,Images:(0,r.jsx)(s.Pg,{src:x,alt:"no_role"}),translationKey:"no_target_role",onClick:()=>{(0,o.xP)("view_profile_editor",{label:"recommended_jobs"}),i("/career-profile/edit?section=jobPreferences&returnUrl=/job-search?view=recommendation")}})},g=({CustomContainer:e})=>{let t=(0,n.Zp)();return(0,r.jsx)(a.x,{CustomContainer:e,Images:(0,r.jsx)(s.Pg,{src:x,alt:"no_role_no_location"}),translationKey:"no_target_role_no_location",onClick:()=>{(0,o.xP)("view_profile_editor",{label:"recommended_jobs"}),t("/career-profile/edit?section=jobPreferences&returnUrl=/job-search?view=recommendation")}})},y=({CustomContainer:e})=>{let t=(0,n.Zp)();return(0,r.jsx)(a.x,{CustomContainer:e,Images:(0,r.jsx)(s.ys,{src:l,alt:"no_role_no_work_experience"}),translationKey:"no_target_role_no_work_experience",onClick:()=>{(0,o.xP)("view_profile_editor",{label:"recommended_jobs"}),t("/career-profile/edit?section=jobPreferences&returnUrl=/job-search?view=recommendation")}})},f=({CustomContainer:e,analyticEventsLabel:t})=>{let i=(0,n.Zp)();return(0,c.useEffect)(()=>{(0,o.xP)("show_missing_error",{label:t,missing_info:"work_experience"})},[t]),(0,r.jsx)(a.x,{CustomContainer:e,Images:(0,r.jsx)(s.ys,{src:l,alt:"no_work_experience"}),translationKey:"no_work_experience",onClick:()=>{(0,o.xP)("view_profile_editor",{label:"recommended_jobs"}),i("/career-profile/edit?section=workExperiences&returnUrl=/job-search?view=recommendation")}})};var b=i(49595);let _=e=>{let{TargetRole:t,TargetLocation:i,WorkExperience:r,WorkExperienceWithDetails:n}=b.r2,o=!e.includes(t),a=!e.includes(i),l=!e.includes(r)&&!e.includes(n);return!o&&a&&l?m:o&&!a&&l?p:o&&a&&!l?f:o||a||!l?o||!a||l?!o||a||l?a&&o&&l?null:d:h:y:g}},17832:function(e,t,i){"use strict";var r=i(74848),n=i(82721);t.A=({totalSteps:e,completedSteps:t})=>(0,r.jsxs)(n.a3,{children:[(0,r.jsxs)(n.Z5,{children:[t,"/",e]}),(0,r.jsxs)(n.C8,{width:"40",height:"40",children:[(0,r.jsx)(n.Vo,{"stroke-width":"3",r:"18.5",cx:"20",cy:"20"}),(0,r.jsx)(n.EZ,{"stroke-width":"3",fill:"transparent",r:"18.5",cx:"20",cy:"20",offset:116.238-t/e*116.238})]})]})},36188:function(e,t,i){"use strict";i(18111),i(22489);var r=i(74848),n=i(96540),o=i(81247),a=i(64961),l=i(18509),s=i(63695),d=i(86066),c=i(17832),u=i(82721),p=i(82751);t.A=({resumeEditor:e,currentWidgetName:t,isHelperModalOpen:i,setIsHelperModalOpen:h,modalAsCentre:x,setModalAsCentre:m,labelPayload:g,onStepActionClick:y,handleClose:f,widgetFetchCondition:b,TrackingEvents:_,helperLabel:v})=>{let j=(0,o.wA)(),{isMidDesktop:A,isLaptop:C}
7500=(0,d.e)(),w=(0,l.N)(a.Tp.helperWidgets),[k,S]=(0,n.useState)(!1),{isScrolled:T}=(0,p.y)(),P=(0,n.useMemo)(()=>w?.filter(e=>e.widgetCollectionName===t)?.[0],[t,w]);(0,n.useEffect)(()=>{b&&j(a.o1.fetchHelperWidgets({widgetName:t}))},[t,j,b]);let J=()=>{S(!0)},E=()=>{S(!1)},R=()=>{h(e=>!e)},L=()=>P?.widgetsList?.filter(e=>e.status===a.TY.COMPLETED)?.length||0,N=()=>P?.widgetsList?.length||0;return(0,r.jsxs)(r.Fragment,{children:[e&&A&&!C?(0,r.jsx)(u.MU,{onMouseOver:J,onMouseOut:E,onClick:R,isHelperOpen:i,children:(0,r.jsx)(c.A,{totalSteps:N(),completedSteps:L()})}):(0,r.jsxs)(u.mc,{onMouseOver:J,isHovering:k,onMouseOut:E,isScrolled:T,resumeEditor:e,onClick:R,isHelperOpen:i,currentWidgetName:t,children:[(0,r.jsx)(u.aq,{isScrolled:T,children:(0,r.jsx)(u.W8,{children:g?.buttonTitle})}),(0,r.jsx)(c.A,{totalSteps:N(),completedSteps:L()}),(0,r.jsxs)(u.EY,{children:[(0,r.jsx)(u.hE,{children:g?.buttonTitle}),(0,r.jsx)(u.tK,{isHovering:k,children:g?.buttonDescription})]})]}),(0,r.jsx)(s.m,{totalSteps:N(),completedSteps:L(),isHelperModalOpen:i,currentWidgetName:t,JobSearchHelper:s.m,labelPayload:g,setIsHelperModalOpen:h,onStepActionClick:y,setModalAsCentre:m,handleClose:f,modalAsCentre:x,TrackingEvents:_,helperLabel:v})]})}},82751:function(e,t,i){"use strict";i.d(t,{y:function(){return a}});var r=i(96540),n=i(7350),o=i.n(n);let a=()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=o()(()=>{window.scrollY>75?t(!0):t(!1)},100);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),{isScrolled:e}}},82721:function(e,t,i){"use strict";i.d(t,{C8:function(){return f},EY:function(){return u},EZ:function(){return b},MU:function(){return d},Vo:function(){return g},W8:function(){return h},Z5:function(){return y},a3:function(){return m},aq:function(){return c},hE:function(){return p},mc:function(){return s},tK:function(){return x}});var r=i(38267),n=i(99701),o=i(24833),a=i(49504);let l=(0,r.i7)(["0%{opacity:0;},95%{opacity:0;},100%{opacity:1;}"]),s=r.Ay.div(["display:flex;width:294px;padding:16px;align-items:center;gap:12px;position:fixed;bottom:",";right:16px;cursor:pointer;z-index:10;transition:height 0.15s ease-in,width 0.2s ease-in,background-color 0.15s ease-in,bottom 0.4s ease-in-out;height:",";border-radius:16px 16px 0px 0px;background-color:",";box-shadow:0px 2px 4px 0px rgba(15,56,113,0.08),0px 1px 2px 0px rgba(15,56,113,0.12);",";",";",";",";",";"],e=>e.isHelperOpen?"-200px":"0",e=>e.isHovering?"76px":"70px",e=>e.isHovering?"#D7EEFF":n.Jy.Blue10,e=>e.isScrolled?o.A.Laptop`
7501        width: 60px;
7502      `:o.A.Laptop`
7503        width: 213px;
7504      `,o.A.Laptop`
7505    height: 60px;
7506    bottom: 20px;
7507    gap: 12px;
7508    text-align: center;
7509    padding: 10px;
7510    justify-content: end;
7511    right: 20px;
7512    border-radius: 1000px;
7513    
7514  `,e=>e.resumeEditor?o.A.Laptop`
7515        bottom: 100px;
7516        right: 24px;
7517      `:o.A.Laptop`
7518        bottom: 20px;
7519      `,e=>e.isScrolled?o.A.Phone`
7520        bottom: 113px;
7521        width: 60px;
7522      `:o.A.Phone`
7523        bottom: 20px;
7524        width: 213px;
7525      `,e=>e.resumeEditor?o.A.Phone`
7526        bottom: 88px;
7527        right: 16px;
7528      `:o.A.Phone`
7529        bottom: ${e.isScrolled?"113px":"20px"};
7530      `),d=r.Ay.div(["display:flex;align-items:center;position:fixed;cursor:pointer;z-index:10;transition:height 0.15s ease-in,width 0.2s ease-in,background-color 0.15s ease-in,bottom 0.4s ease-in-out;height:60px;bottom:",";gap:12px;text-align:center;padding:10px;justify-content:end;right:16px;border-radius:1000px;background-color:",";box-shadow:0px 2px 4px 0px rgba(15,56,113,0.08),0px 1px 2px 0px rgba(15,56,113,0.12);"],e=>e.isHelperOpen?"-300px":"16px",n.Jy.Blue10),c=r.Ay.div(["display:none;",";"],e=>e.isScrolled?o.A.Laptop`
7531          display: none;
7532          opacity: 0;
7533      `:o.A.Laptop`
7534          display: flex;
7535          opacity: 100;
7536          width: fit-content;
7537          padding-right: 4px;
7538          text-align: center;
7539      `),u=r.Ay.div(["display:flex;flex-direction:column;width:fit-content;",";"],o.A.Laptop`
7540    display: none;
7541    width: 0;
7542  `),p=r.Ay.div(["color:",";",";",";",";"],n.Jy.Blue70,a.Ay.Body,a.BO.Medium,o.A.Laptop`
7543    ${a.Ay.Caption};
7544  `),h=r.Ay.div(["color:",";",";",";animation:"," 1s ease-out;",";"],n.Jy.Blue70,a.Ay.Body,a.BO.Medium,l,o.A.Laptop`
7545    ${a.Ay.Caption};
7546  `),x=r.Ay.div(["color:",";",";height:0;transition:opacity 0.15s ease-in,height 0.15s ease-in;opacity:0;",";"],n.Jy.Blue70,a.Ay.Caption,e=>
7546e.isHovering&&(0,r.AH)(["height:auto;opacity:100;"])),m=r.Ay.div(["display:flex;justify-content:center;align-items:center;position:relative;"]),g=r.Ay.circle(["stroke:#bbdefb;fill:transparent;"]),y=r.Ay.span(["",";",";color:",";position:absolute;"],a.Ay.Caption,a.BO.DemiBold,n.Jy.Blue50),f=r.Ay.svg(["transform:rotate(-90deg);stroke:",";stroke-width:2;"],n.Jy.Blue50),b=r.Ay.circle(["stroke:",";stroke-dasharray:116.238;stroke-dashoffset:",";transition:stroke-dashoffset 0.35s;stroke-linecap:round;"],n.Jy.Blue50,e=>e.offset)},21682:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var r=i(74848),n=i(96540),o=i(87947),a=i(7987),l=i(38267);let s=l.Ay.div(["height:0;opacity:0;overflow:hidden;",";"],({duration:e})=>e&&(0,l.AH)(["transition:height ","ms ease,opacity ","ms ease;"],e,e));class d extends n.Component{transitionRef=(0,n.createRef)();handleEnter=()=>{let e=this.transitionRef.current;e&&(e.style.height="0",e.style.overflowY="hidden",e.style.opacity="0")};handleEntering=()=>{let e=this.transitionRef.current;e&&(e.style.height=`${e.scrollHeight}px`,e.style.opacity="1")};handleEntered=()=>{let e=this.transitionRef.current;e&&(e.style.overflow="visible",e.style.height="auto")};handleExiting=()=>{let e=this.transitionRef.current;e&&(e.style.overflowY="hidden",e.style.height=`${e.scrollHeight}px`,(0,a.q)(e),e.style.height="0",e.style.opacity="0")};render(){let{isOpen:e,duration:t=200,unmountOnExit:i=!0}=this.props;return(0,r.jsx)(o.Ay,{in:e,timeout:200,onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered,onExiting:this.handleExiting,unmountOnExit:i,appear:!0,nodeRef:this.transitionRef,children:(0,r.jsx)(s,{ref:this.transitionRef,duration:t,children:this.props.children})})}}var c=d},71726:function(e,t,i){"use strict";i.d(t,{CJ:function(){return x},DZ:function(){return u},E_:function(){return m},FE:function(){return h},Gr:function(){return f},Pz:function(){return p},_m:function(){return y},w7:function(){return c},xV:function(){return g}});var r=i(38267),n=i(99701),o=i(91779),a=i(24833),l=i(49504);let s=(0,r.i7)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),d=r.Ay.div(["background:",";display:flex;flex-direction:row;border-radius:4px;margin-bottom:40px;align-items:center;justify-content:space-between;",""],n.Jy.Indigo10,a.A.Phone`
7547    flex-direction: column;
7548    align-items: start;
7549  `),c=r.Ay.div(["display:flex;flex-direction:row;align-items:center;margin-bottom:8px;",""],a.A.Phone`
7550    margin-bottom: 6px;
7551  `),u=r.Ay.span(["color:",";",";",";"],n.Jy.Indigo80,l.Ay.Body,l.BO.DemiBold),p=r.Ay.div(["color:",";",";",""],n.Jy.Indigo80,l.Ay.Caption,a.A.Phone`
7552    ${l.Ay.Tiny};
7553  `),h=r.Ay.img(({$showAnimation:e})=>e?(0,r.AH)(["animation:"," 1s infinite linear;"],s):""),x=(0,r.Ay)(o.Ay)(["padding:12px 24px 12px 20px;gap:4px;background:",";color:",";",";",";"," &:hover{background-color:",";}"],n.Jy.Indigo50,n.Jy.White,l.Ay.Body,l.BO.Medium,a.A.Phone`
7554    ${l.Ay.Caption};
7555    padding: 7px 12px 7px 8px;
7556    width: 100%;
7557    margin-top: 10px;
7558    height: 34px;
7559  `,n.Jy.Indigo60),m=(0,r.Ay)(d)(["padding:16px;"]),g=r.Ay.div(["margin-right:23px;",""],a.A.Phone`
7560    margin-right: 0px;
7561  `),y=r.Ay.div(["display:flex;padding:2px 8px 2px 4px;justify-content:center;align-items:center;border-radius:4px;background:rgba(219,222,255,0.5);color:",";margin-left:8px;"],n.Jy.Indigo60),f=r.Ay.div(["",";",";margin-left:2px;"],l.Ay.Tiny,l.BO.DemiBold);(0,r.Ay)(d)(["padding:24px 16px;",""],a.A.Phone`
7562    padding: 16px 16px 26px 16px;
7563  `),a.A.Phone`
7564    margin-right: 0px;
7565  `,a.A.Phone`
7566    margin-bottom: 0px;   
7567  `,(0,r.Ay)(x)(["height:48px;width:144px;padding:12px 24px 12px 20px;",";",""],l.Ay.Body,a.A.Phone`
7568    padding: 7px 12px 7px 8px;
7569    ${l.Ay.Caption};
7570    width: 100%;
7571    height: 34px;
7572  `)},98297:function(e,t,i){"use strict";i.d(t,{O9:function(){return o},cT:function(){return n}});var r,n=((r={}).Shokumukeirekisho="shokumukeirekisho",r.Rirekisho="rirekisho",r.Brussels="brussels",r.Athens="athens",r.Prague="prague",r.Shanghai="shanghai",r.Helsinki="helsinki",r.Seoul="seoul",r.SpecialistTraditional1="specialist_traditional1",r.EntryLevel="entry_level",r.Academic="academic",r);
7572let o=["athens","brussels","prague","shanghai","helsinki","seoul","specialist_traditional1","entry_level","academic"]},51791:function(e,t,i){"use strict";i(8037);var r=i(33809),n=i(70738);t.A=function(e){let t=(0,r.PI)(e)&&e?.templateSettings?.[(0,n.x)(e?.template)]?.format;return t?"US_LETTER"===t?.773:.71:"US_LETTER"===((0,r.PI)(e)&&e?.templateConfig?.settings?.format)?.773:.71}},40968:function(e,t,i){"use strict";i.d(t,{iN:function(){return F},gP:function(){return E},H3:function(){return f}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(33093),a=i(91779),l=i(86066),s=i(64961),d=i(17832),c=i(38267),u=i(75874),p=i(99701),h=i(24833),x=i(14649),m=i(67592),g=i(49504);let y=c.Ay.div(["position:relative;display:flex;width:388px;align-items:flex-start;gap:var(--2XS,8px);",""],h.A.Phone`
7573    width: 100%;
7574    align-items: initial;
7575    gap: initial;
7576  `),f=(0,c.Ay)(u.CS.div)(["position:relative;",";display:flex;justify-content:center;align-items:center;width:100%;max-width:352px;background-color:",";border-radius:12px;z-index:9999999999;",""],m.A.lightWithBorder.high,p.Jy.White,h.A.Phone`
7577    max-width: 100%;
7578    border-radius: 12px 12px 0 0;
7579  `),b=c.Ay.div(["padding:0;width:100%;"]),_=c.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;padding:8px 24px;transition:background-color 0.4s ease-in;&:hover{background-color:",";transition:background-color 0.4s ease-in;border-bottom-left-radius:","px;border-bottom-right-radius:","px;}"],p.Jy.Neutral5,e=>e.isLastStep&&12,e=>e.isLastStep&&12),v=c.Ay.div(["",";",";max-width:236px;margin-bottom:8px;"],g.Ay.Subhead,g.BO.Medium),j=c.Ay.div(["max-width:260px;",";",";",";color:",";padding-bottom:12px;"],g.Ay.Caption,g.BO.Regular,p.Jy.White,p.Jy.Neutral70),A=c.Ay.div(["padding:24px 24px 0 24px;"]),C=c.Ay.img(["width:189.653px;height:180px;flex-shrink:0;"]),w=c.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;max-width:260px;height:555px;"]),k=c.Ay.div(["display:flex;justify-content:center;flex-direction:column;text-align:center;align-items:center;max-width:260px;"]),S=c.Ay.div(["",";",";",";color:",";"],g.Ay.Body,g.BO.Regular,p.Jy.White,p.Jy.Neutral70),T=c.Ay.div(["display:flex;padding:",";flex-direction:column;align-items:flex-start;gap:var(--XS,12px);align-self:stretch;overflow:hidden;transition:max-height 0.3s ease-out;max-height:",";"],({showContent:e})=>e?"8px 0":"0",({showContent:e})=>e?"500px":"0"),P=c.Ay.div(["width:100%;cursor:pointer;"]),J=c.Ay.div(["width:100%;height:1px;background:",";"],p.Jy.Neutral20),E=c.Ay.div(["width:28px;height:28px;flex-shrink:0;border-radius:var(--L,32px);background:",";display:flex;justify-content:center;align-items:center;position:absolute;right:0px;top:0px;z-index:12000;"],e=>e.onHover?p.Jy.Blue10:p.Jy.Neutral10),R=(0,c.Ay)(x.EK.Close)(["color:",";width:20px;height:20px;flex-shrink:0;"],e=>e.onHover?p.Jy.Blue50:p.Jy.Neutral50),L=c.Ay.div(["position:absolute;top:24px;right:24px;",""],h.A.Phone`
7580    top: 20px;
7581    right: 20px;
7582  `),N=c.Ay.div(["",";",";color:",";text-decoration:",";",""],g.Ay.Body,g.BO.Regular,e=>e.isVisible?p.Jy.Neutral40:p.Jy.Neutral80,e=>e.isVisible&&"line-through",h.A.Phone`
7583  ${g.Ay.Caption};
7584  `),I=(0,c.Ay)(x.qJ.Chevron)(["transform:",";color:",";position:absolute;right:0;"],e=>e.isVisible?"rotate(-90deg)":"rotate(90deg)",p.Jy.Neutral30),M=c.Ay.div(["display:flex;align-items:center;gap:var(--2XS,8px);position:relative;align-self:stretch;cursor:pointer;padding-top:8px;padding-bottom:8px;",""],h.A.Phone`
7585padding: 8px 0px;
7586  `),B=c.Ay.div(["display:flex;width:100%;"]),D=(0,c.Ay)(x.EK.StatusDone)(["color:",";"],p.Jy.Green50),$=(0,c.Ay)(x.EK.StatusStarted)(["color:",";"],p.Jy.Neutral30),O=({onChange:e,isVisible:t,label:i,onSelected:n,selected:o})=>(0,r.jsxs)(M,{children:[(0,r.jsx)("div",{onClick:n,children:o?(0,r.jsx)(D,{}):(0,r.jsx)($,{})}),(0,r.jsxs)(B,{onClick:e,children:[(0,r.jsx)(N,{isVisible:o,children:i}),(0,r.jsx)(I,{isVisible:t})]})]});var z=i.p+"media/completionIllustration9e5cd9666382b7cd.png";let F=({dropDownContent:e,heading:t,subHeading:i,action:c,handleClose:u,handleStepCompleteClick:p,totalSteps:h,completedSteps:x,animationHeading:m,animationSubHeading:g,helperLabel:N})=>
7586{let[I,M]=(0,n.useState)([!0,!1,!1]),[B,D]=(0,n.useState)(!1),[$,F]=(0,n.useState)(!1),{isPhone:H}=(0,l.e)(),V=e=>{e&&c(e)};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(y,{children:[!H&&(0,r.jsx)(E,{"data-testid":"close-button",onHover:B,onClick:u,onMouseOver:()=>{D(!0)},onMouseOut:()=>{D(!1)},children:(0,r.jsx)(R,{onHover:B})}),(0,r.jsx)(f,{children:$?(0,r.jsxs)(w,{children:[(0,r.jsx)(C,{src:z,alt:"Steps Completed Illustration"}),(0,r.jsxs)(k,{children:[(0,r.jsx)(v,{children:m}),(0,r.jsx)(j,{children:g})]})]}):(0,r.jsxs)(b,{children:[(0,r.jsxs)(A,{children:[(0,r.jsx)(v,{children:t}),(0,r.jsx)(j,{children:i})]}),(0,r.jsx)(L,{children:(0,r.jsx)(d.A,{totalSteps:h,completedSteps:x})}),e.map((t,i)=>(0,r.jsxs)(n.Fragment,{children:[(0,r.jsxs)(_,{isLastStep:i===e.length-1,children:[(0,r.jsx)(O,{onChange:()=>{M(e=>e.map((e,t)=>t===i&&!e))},label:t.title,isVisible:I[i],selected:t.status===s.TY.COMPLETED,onSelected:()=>{p(t?.status===s.TY.PENDING?s.TY.COMPLETED:s.TY.PENDING,t?.id),t?.status===s.TY.PENDING&&x+1===h&&((0,o.xP)("helper_done",{label:N}),setTimeout(()=>{F(!0),setTimeout(()=>{F(!1)},3e3)},1e3))}}),(0,r.jsxs)(T,{showContent:I[i],children:[(0,r.jsx)(P,{onClick:()=>{V(t?.name)},children:t.visual}),(0,r.jsx)(S,{children:t.text}),(0,r.jsx)(a.$n,{size:"small",onClick:()=>{V(t?.name)},children:t.buttonName})]})]}),i!==e.length-1&&(0,r.jsx)(J,{})]},i))]})})]})})}},80335:function(e,t,i){"use strict";i.d(t,{i:function(){return s}});var r=i(74848),n=i(96540),o=i(87947),a=i(36961);let l=i(38267).Ay.div(["opacity:0;transform:translateX(10px);transition:opacity 500ms ease-out,transform 400ms ease-out;",";"],e=>({entering:null,entered:"opacity: 1; transform: translateX(0);",exiting:"opacity: 0; translateX(10px);",exited:null,unmounted:null})[e?.transitionState||"entered"]),s=({timeout:e,children:t,...i})=>{let[s,d]=(0,n.useState)(!1),c=(0,n.useRef)(null);return(0,a.h)(()=>{d(!0)}),(0,r.jsx)(o.Ay,{in:s,timeout:e,nodeRef:c,children:e=>(0,r.jsx)(l,{transitionState:e,...i,ref:c,children:t})})}},37075:function(e,t,i){"use strict";i.d(t,{a:function(){return s}});var r=i(74848),n=i(96540),o=i(87947),a=i(36961);let l=i(38267).Ay.div(["opacity:0;transform:translateX(10px);transition:opacity ","ms ease-out,transform ","ms ease-out;",";"],e=>e.durationMs,e=>e.durationMs>=500?e.durationMs-100:.8*e.durationMs,e=>({entering:"opacity: 1; transform: translateX(0);",entered:"opacity: 1; transform: none",exiting:"opacity: 0; translateX(10px);",exited:null,unmounted:null})[e?.transitionState||"entered"]),s=({durationMs:e=500,children:t,...i})=>{let[s,d]=(0,n.useState)(!1),c=(0,n.useRef)(null);return(0,a.h)(()=>{setTimeout(()=>{d(!0)})}),(0,r.jsx)(o.Ay,{in:s,timeout:{appear:0,enter:e,exit:0},nodeRef:c,children:n=>(0,r.jsx)(l,{transitionState:n,durationMs:e,...i,ref:c,children:t})})}},97323:function(e,t,i){"use strict";i.r(t),i.d(t,{Add:function(){return o},AiIcon:function(){return eG},Apply4Me:function(){return er},Apply4MeActive:function(){return ey},ArrowDownRegular:function(){return eK},ArrowLeft:function(){return l},ArrowRightRegular:function(){return eW},ArrowTarget:function(){return V},ArrowTarget2:function(){return eR},Brave:function(){return eF},Calendar:function(){return M},Check:function(){return eT},ChevronDown:function(){return s},ChevronDownRegular:function(){return c},ChevronLeft:function(){return h},ChevronRight:function(){return p},ChevronRightRegular:function(){return u},ChevronUp:function(){return d},Chrome:function(){return eA},Clock:function(){return g},Clock2:function(){return y},Close:function(){return m},Coaching:function(){return ed},CoachingActive:function(){return ev},Completeness50Percent:function(){return eN},Complitness:function(){return eL},Copy:function(){return Z},Crown:function(){return a},Dashboard:function(){return X},DashboardActive:function(){return eu},DashboardIcon:function(){return eX},Delete:function(){return eB},Documents:function(){return Q},DocumentsActive:function(){return ep},Drag:function(){return f},Edge:function(){return ez},Edit:function(){return b},Expand:function(){return eS},ExpandNew:function(){return eU},ExpertWritten:function(){return eq},ExpertiseIcon:function(){return x},Featured:function(){return F},Generic:function(){return eH},Hint:function(){return $},Hint2:function(){return O},Idea:function(){return I},Info:function(){return R},InfoMedium:function(){return N},InfoRegular:function(){return L},InterviewPrep:function(){return et},InterviewPrepActive:function(){return em},Job:function(){return eD},JobSearch:function(){return es},JobSearchActive:function(){return e_},JobTracker:function(){return ee},JobTrackerActive:function(){return ex},Jobs:function(){return Y},JobsActive:function(){return eh},Knowledge:function(){return eZ},LearningHub:function(){return eo},LearningHubActive:function(){return ea},Like:function(){return e$},More:function(){return ec},MoreActive:function(){return ej},Mute:function(){return eP},Near:function(){return eO},Pause:function(){return W},Play:function(){return K},Processing:function(){return eI},QuestionIcon:function(){return eE},Refresh:function(){return S},RejectIcon:function(){return eC},ResumeDistribution:function(){return en},ResumeDistributionActive:function(){return ef},Revert:function(){return _},SalaryAnalyzer:function(){return ei},SalaryAnalyzerActive:function(){return eg},Settings:function(){return B},Spinner:function(){return z},Star:function(){return D},StatusCanceled:function(){return w},StatusDone:function(){return C},StatusHalf:function(){return A},StatusNew:function(){return v},StatusOffer:function(){return k},StatusStarted:function(){return j},Stop:function(){return eM},SuccessCircle:function(){return J},SuccessIcon:function(){return eJ},TRLogo:function(){return ew},ThumbsUp:function(){return H},Tick:function(){return T},Tile:function(){return eV},Time:function(){return q},Tips:function(){return ek},Trash:function(){return P},TrashIcon:function(){return G},Update:function(){return U},Upload:function(){return eQ}
7586,VirtualEvents:function(){return el},VirtualEventsActive:function(){return eb},WarningCircle:function(){return E}});var r=i(74848),n=i(96540);let o=()=>(0,r.jsx)("path",{d:"M11 5H9v4H5v2h4v4h2v-4h4V9h-4V5z"}),a=()=>(0,r.jsx)("path",{d:"M5 12.5H15V14H5V12.5Z M5 11L4 7L8 8L10 4L12 8L16 7L15 11H5Z"}),l=()=>(0,r.jsx)("path",{d:"M7.14236 10.8333l3.42074 3.1357-1.12618 1.2286-5-4.5833c-.36031-.3303-.36031-.89832 0-1.2286l5-4.58333 1.12618 1.22859-3.42074 3.1357 8.69104-.00002v1.66666H7.14236z"}),s=()=>(0,r.jsx)("path",{d:"M10.243 10.414l2.828-2.828L14.485 9l-4.242 4.243L6 9l1.414-1.414 2.829 2.828z"}),d=()=>(0,r.jsx)("path",{d:"M10.243 9.586l-2.828 2.828L6 11l4.242-4.243L14.485 11l-1.414 1.414-2.828-2.828z"}),c=()=>(0,r.jsx)("path",{d:"M6.25 7.5022L10.4179 11.6701L14.5857 7.5022",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),u=()=>(0,r.jsx)("path",{d:"M7.91797 5.83594L12.0858 10.0038L7.91797 14.1717",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),p=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M7.91406 5.83496L12.0819 10.0028L7.91406 14.1707",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}),h=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M12.0859 5.83496L7.91808 10.0028L12.0859 14.1707",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}),x=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.97891 5.36489C7.97891 4.72875 8.4946 4.21306 9.13073 4.21306H10.8826C11.5187 4.21306 12.0344 4.72875 12.0344 5.36489L4.75183 5.36489C3.78432 5.36489 3 6.14921 3 7.11672V8.81161V9.41161V10.0116V13.2481C3 14.2156 3.78432 14.9999 4.75183 14.9999H15.2628C16.2303 14.9999 17.0146 14.2156 17.0146 13.2481V10.0116V9.41161V8.81161V7.11672C1
75867.0146 6.14921 16.2303 5.36489 15.2628 5.36489L13.2344 5.36489C13.2344 4.06601 12.1814 3.01306 10.8826 3.01306H9.13073C7.83186 3.01306 6.77891 4.06601 6.77891 5.36489H7.97891ZM15.8146 8.81161H4.2V7.11672C4.2 6.81195 4.44706 6.56489 4.75183 6.56489H15.2628C15.5675 6.56489 15.8146 6.81195 15.8146 7.11672V8.81161ZM15.8146 13.2481V10.0116H4.2V13.2481C4.2 13.5529 4.44706 13.7999 4.75183 13.7999H15.2628C15.5676 13.7999 15.8146 13.5529 15.8146 13.2481Z",fill:"#0F141E"})}),m=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.4 5.2 5.2 6.4 8.8 10l-3.6 3.6 1.2 1.1 3.6-3.5 3.6 3.5 1.1-1.1-3.5-3.6 3.5-3.6-1.1-1.2L10 8.8 6.4 5.2Z"}),g=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",color:"transparent",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M10.442 15.8699C9.72905 15.8699 9.02308 15.7295 8.36439 15.4566C7.7057 15.1838 7.10721 14.7839 6.60307 14.2797C6.09893 13.7756 5.69903 13.1771 5.42619 12.5184C5.15336 11.8597 5.01293 11.1538 5.01293 10.4408C5.01293 9.72784 5.15336 9.02187 5.42619 8.36318C5.69903 7.70449 6.09893 7.106 6.60307 6.60186C7.10721 6.09772 7.7057 5.69782 8.36439 5.42498C9.02308 5.15215 9.72905 5.01172 10.442 5.01172C11.155 5.01172 11.8609 5.15215 12.5196 5.42498C13.1783 5.69782 13.7768 6.09772 14.281 6.60186C14.7851 7.106 15.185 7.7045 15.4578 8.36318C15.7307 9.02187 15.8711 9.72785 15.8711 10.4408C15.8711 11.1538 15.7307 11.8597 15.4578 12.5184C15.185 13.1771 14.7851 13.7756 14.281 14.2797C13.7768 14.7839 13.1783 15.1838 12.5196 15.4566C11.8609 15.7295 11.155 15.8699 10.442 15.8699L10.442 15.8699Z",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M8.35156 2.50586L12.5278 2.50586",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M13.1562 10.4411C13.1562 10.0846 13.086 9.73164 12.9496 9.40229C12.8132 9.07295 12.6132 8.7737 12.3612 8.52163C12.1091 8.26956 11.8099 8.06961 11.4805 7.93319C11.1512 7.79678 10.7982 7.72656 10.4417 7.72656",strokeWidth:"1.4",strokeLinecap:"round"})]}),y=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("path",{d:"M10.0212 16.7048C9.14369 16.7048 8.2748 16.532 7.4641 16.1962C6.65341 15.8604 5.9168 15.3682 5.29632 14.7477C4.67585 14.1273 4.18366 13.3907 3.84786 12.58C3.51206 11.7693 3.33923 10.9004 3.33923 10.0229C3.33923 9.1454 3.51206 8.27651 3.84786 7.46582C4.18366 6.65513 4.67585 5.91852 5.29633 5.29804C5.9168 4.67756 6.65341 4.18537 7.46411 3.84957C8.2748 3.51378 9.14369 3.34094 10.0212 3.34094C10.8987 3.34094 11.7676 3.51378 12.5782 3.84958C13.3889 4.18537 14.1256 4.67756 14.746 5.29804C15.3665 5.91852 15.8587 6.65513 16.1945 7.46582C16.5303 8.27651 16.7031 9.14541 16.7031 10.0229C16.7031 10.9004 16.5303 11.7693 16.1945 12.58C15.8587 13.3907 15.3665 14.1273 14.746 14.7477C14.1255 15.3682 13.3889 15.8604 12.5782 16.1962C11.7676 16.532 10.8987 16.7048 10.0212 16.7048L10.0212 16.7048Z",stroke:"currentColor",fill:"transparent",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M12.1115 11.6935L10.0234 10.4406L10.0234 6.68201",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",fill:"transparent"})]}),f=()=>(0,r.jsx)("path",{d:"M8.5 4c0 .82843-.67157 1.5-1.5 1.5S5.5 4.82843 5.5 4 6.17157 2.5 7 2.5s1.5.67157 1.5 1.5zM7 11.5c.82843 0 1.5-.6716 1.5-1.5 0-.82843-.67157-1.5-1.5-1.5s-1.5.67157-1.5 1.5c0 .8284.67157 1.5 1.5 1.5zm0 6c.82843 0 1.5-.6716 1.5-1.5s-.67157-1.5-1.5-1.5-1.5.6716-1.5 1.5.67157 1.5 1.5 1.5zm6 0c.8284 0 1.5-.6716 1.5-1.5s-.6716-1.5-1.5-1.5-1.5.6716-1.5 1.5.6716 1.5 1.5 1.5zm1.5-7.5c0 .8284-.6716 1.5-1.5 1.5s-1.5-.6716-1.5-1.5c0-.82843.6716-1.5 1.5-1.5s1.5.67157 1.5 1.5zM13 5.5c.8284 0 1.5-.67157 1.5-1.5s-.6716-1.5-1.5-1.5-1.5.67157-1.5 1.5.6716 1.5 1.5 1.5z"}),b=()=>(0,r.jsx)("path",{d:"M17.4413 6.25577c.7449.7448.7449 1.95236 0 2.69716L8.81405 17.5791c-.26829.2682-.63216.4189-1.01157.4189h-3.3719C3.64049 17.998 3 17.3576 3 16.5676v-3.3714c0-.3794.15072-.7432.41901-1.0115l8.62729-8.6261c.7449-.7448 1.9526-.7448 2.6975 0l2.6975 2.69717zM16.0926 7.6043l-2.6975-2.69717-6.62463 6.62377 2.69752 2.6971 6.62461-6.6237zm-7.97337 7.9723l-2.69752-2.6972-.44072.4407.01168 2.6855 2.68584.0117.44072-.4407z"}),_=()=>(0,r.jsx)("path",{d:"M10 15C7.58104 15 5.56329 13.2822 5.10002 11H3.07089C3.55612 14.3923 6.47353 17 10 17C13.866 17 17 13.866 17 10C17 6.13401 13.866 3 10 3C8.04131 3 6.27052 3.80447 5 5.10102V3H3V8C3 8.19605 3.05642 8.37893 3.15391 8.53328C3.33105 8.81373 3.64377 9 4 9H5.10002H9V7H5.99963C6.91184 5.78555 8.36418 5 10 5C12.7614 5 15 7.23858 15 10C15 12.7614 12.7614 15 10 15Z"}),v=()=>(0,r.jsx)("path",{d:"M18.695 12.33l-1.932-.516A7.014 7.014 0 0017 10c0-.63-.083-1.237-.237-1.814l1.932-.516c.2.743.305 1.524.305 2.33a9.01 9.01 0 01-.305 2.33zm-.9-6.83l-1.73 1a7.044 7.044 0 00-2.566-2.564l1.002-1.732A9.044 9.044 0 0117.796 5.5zM12.33 1.304l-.516 1.932A7.012 7.012 0 0010 3c-.63 0-1.237.083-1.814.237L7.67 1.305A9.012 9.012 0 0110 1c.806 0 1.587.106 2.33.305zm-6.83.9l1 1.73a7.044 7.044 0 00-2.564 2.566L2.204 5.499A9.044 9.044 0 015.5 2.204zM1.304 7.67A9.012 9.012 0 001 10c0 .806.106 1.587.305 2.33l1.932-.516A7.012 7.012 0 013 10c0-.63.083-1.237.237-1.814L1.305 7.67zm.9 6.83l1.73-1a7.044 7.044 0 002.566 2.564l-1.002 1.732A9.044 9.044 0 012.204 14.5zm5.465 4.195l.516-1.932A7.014 7.014 0 0010 17c.63 0 1.238-.083 1.814-.237l.516 1.932A9.01 9.01 0 0110 19a9.011 9.011 0 01-2.33-.305zm6.83-.9l-1-1.73a7.043 7.043 0 002.564-2.566l1.732 1.002a9.043 9.043 0 01-3.295 3.295z"}),j=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 17a7 7 0 100-14 7 7 0 000 14zm0 2a9 9 0 100-18 9 9 0 000 18z"}),A=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 10a7 7 0 11-14 0 7 7 0 0114 0zm2 0a9 9 0 11-18 0 9 9 0 0118 0zm-9-5a5 5 0 015 5H5a5 5 0 015-5z"}),C=()=>(0,r.jsx)("path",{d:"M19 10a9 9 0 11-18 0 9 9 0 0118 0zm-8.94 2.854l4.647-4.647-1.414-1.414L9 11.086 6.707 8.793l-1.414 1.414 2.646 2.647a1.5 1.5 0 002.122 0z"}),w=()=>(0,r.jsx)("path",{d:"M10 19a9 9 0 100-18 9 9 0 000 18zm2.293-5.293L10 11.414l-2.293 2.293-1.414-1.414L8.586 10 6.293 7.707l1.414-1.414L10 8.586l2.293-2.293 1.414 1.414L11.414 10l2.293 2.293-1.414 1.414z"}),k=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10ZM10.0607 12.8536L14.7071 8.20711L13.2929 6.79289L9.00001 11.0858L6.70712 8.79289L5.29291 10.2071L7.93935 12.8536C8.52514 13.4393 9.47489 13.4393 10.0607 12.8536Z"}),S=()=>(0,r.jsx)("path",{d:"M14.3885 11c-.4547 2.004-2.2469 3.5-4.3885 3.5-1.49778 0-2.82469-.7318-3.64265-1.8573L8 11H4v4l1.28678-1.2868C6.38552 15.106 8.08838 16 10 16c2.973 0 5.441-2.1623 5.9171-5h-1.5286zM5.61156 9C6.
758606629 6.99601 7.85846 5.5 10 5.5c1.4979 0 2.8247.73177 3.6427 1.85729L12 9h4V5l-1.2867 1.28672C13.6145 4.894 11.9117 4 10 4 7.02705 4 4.55909 6.16229 4.08301 9h1.52855z"}),T=()=>(0,r.jsx)("path",{d:"M14.0973 6L15.5 7.42884L9.75408 13.6135C9.2759 14.138 8.84826 14.1196 8.35134 13.6135L4.5 10.2408L5.90275 8.81201L9.05271 11.4702L14.0973 6Z"}),P=()=>(0,r.jsx)("path",{d:"M14 6h3v2H3V6h3V3c0-.55228.44772-1 1-1h6c.5523 0 1 .44772 1 1v3zm-9 4h10v8H5v-8zm2 6h6v-4H7v4zm5-10V4H8v2h4z"}),J=()=>(0,r.jsx)("path",{d:"M10 18a8 8 0 110-16 8 8 0 010 16zm3.097-10.929l-3.544 3.9-2.15-1.9L6 10.5l2.851 2.613c.497.507.925.525 1.403 0L14.5 8.5l-1.403-1.429z"}),E=()=>(0,r.jsx)("path",{d:"M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19ZM9 11.5V5H11V11.5H9ZM11.2544 14.0044C11.2544 14.6947 10.6948 15.2544 10.0044 15.2544C9.31404 15.2544 8.75439 14.6947 8.75439 14.0044C8.75439 13.314 9.31404 12.7544 10.0044 12.7544C10.6948 12.7544 11.2544 13.314 11.2544 14.0044Z"}),R=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19a9 9 0 100-18 9 9 0 000 18zm1.3-13a1.2 1.2 0 11-2.5 0 1.2 1.2 0 012.5 0zm-.3 9V9H9v6h2z"}),L=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M10.0172 16.6954C9.14016 16.6954 8.27176 16.5227 7.46153 16.1871C6.6513 15.8515 5.9151 15.3596 5.29498 14.7394C4.67485 14.1193 4.18294 13.3831 3.84733 12.5729C3.51173 11.7627 3.33899 10.8943 3.33899 10.0173C3.33899 9.14028 3.51173 8.27188 3.84733 7.46165C4.18294 6.65142 4.67485 5.91522 5.29498 5.2951C5.9151 4.67497 6.6513 4.18306 7.46153 3.84746C8.27176 3.51185 9.14016 3.33911 10.0172 3.33911C10.8941 3.33911 11.7625 3.51185 12.5728 3.84746C13.383 4.18307 14.1192 4.67498 14.7393 5.2951C15.3594 5.91522 15.8514 6.65142 16.187 7.46165C16.5226 8.27188 16.6953 9.14028 16.6953 10.0173C16.6953 10.8943 16.5226 11.7627 16.187 12.5729C15.8514 13.3831 15.3594 14.1193 14.7393 14.7394C14.1192 15.3596 13.383 15.8515 12.5728 16.1871C11.7625 16.5227 10.8941 16.6954 10.0171 16.6954L10.0172 16.6954Z",stroke:"currentColor",strokeWidth:"1.2",fill:"none"}),(0,r.jsx)("path",{d:"M10.5727 7.27875C11.0135 7.27875 11.4342 6.90812 11.4342 6.43731C11.4342 6.03662 11.1437 5.71606 10.733 5.71606C10.2722 5.71606 9.86148 6.09672 9.86148 6.56753C9.86148 6.9582 10.152 7.27875 10.5727 7.27875ZM9.92159 13.1388C10.5126 13.1388 10.9634 12.7983 11.2839 11.506H11.1136C10.8732 12.1972 10.6428 12.5679 10.4325 12.5679C10.2622 12.5679 10.2321 12.4276 10.3022 12.057L11.1136 7.86977H11.0636L9.21036 8.46079L9.20034 8.51087C9.46079 8.74127 9.55095 9.05181 9.41071 9.77305L9.05009 11.6463C9.02003 11.8266 9 11.9869 9 12.1271C9 12.8383 9.39067 13.1388 9.92159 13.1388Z",fill:"currentColor"})]}),N=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M10.0172 16.6954C9.14022 16.6954 8.27182 16.5227 7.46159 16.1871C6.65136 15.8515 5.91516 15.3596 5.29504 14.7394C4.67491 14.1193 4.183 13.3831 3.8474 12.5729C3.51179 11.7627 3.33905 10.8943 3.33905 10.0173C3.33905 9.14028 3.51179 8.27188 3.8474 7.46165C4.18301 6.65142 4.67491 5.91522 5.29504 5.2951C5.91516 4.67497 6.65136 4.18306 7.46159 3.84746C8.27182 3.51185 9.14022 3.33911 10.0172 3.33911C10.8942 3.33911 11.7626 3.51185 12.5728 3.84746C13.3831 4.18307 14.1193 4.67498 14.7394 5.2951C15.3595 5.91522 15.8514 6.65142 16.187 7.46165C16.5226 8.27188 16.6954 9.14028 16.6954 10.0173C16.6954 10.8943 16.5226 11.7627 16.187 12.5729C15.8514 13.3831 15.3595 14.1193 14.7394 14.7394C14.1193 15.3596 13.3831 15.8515 12.5728 16.1871C11.7626 16.5227 10.8942 16.6954 10.0172 16.6954L10.0172 16.6954Z",stroke:"currentColor",strokeWidth:"1.4",fill:"none"}),(0,r.jsx)("path",{d:"M10.2831 8.00345C10.8541 8.00345 11.385 7.52262 11.385 6.91157C11.385 6.40069 11.0043 6 10.4634 6C9.8924 6 9.36148 6.48083 9.36148 7.09188C9.36148 7.59274 9.74214 8.00345 10.2831 8.00345ZM9.62193 13.8134C10.4033 13.8134 10.9342 13.3927 11.2047 12.0704H11.0344C10.7839 12.8117 10.5636 13.1122 10.3933 13.1122C10.263 13.1122 10.223 13.0221 10.2831 12.7116L11.1045 8.50431H11.0544L8.62021 9.21553L8.61019 9.26562C8.88066 9.51605 8.96079 9.99688 8.84059 10.638L8.55009 12.1506C8.52003 12.3309 8.5 12.4912 8.5 12.6414C8.5 13.4228 8.94076 13.8134 9.62193 13.8134Z",fill:"currentColor"})]}),I=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 14.3a5 5 0 1 1 5 0v4.2h-5v-4.2Zm4.2-1.3-.7.5V17H9v-3.5l-.7-.5a3.5 3.5 0 1 1 3.4 0Z M9.3 1v2h1.5V1H9.3ZM5.5 4.5 4 3 3 4l1.5 1.5 1-1ZM15.5 5.5 17 4l-1-1-1.5 1.5 1 1ZM1 10.7h2V9.2H1v1.5ZM17 10.7h2V9.2h-2v1.5Z"}),M=()=>(0,r.jsx)("path",{d:"M13 6h3v11H4V6h3V4.5h2V6h2V4.5h2V6zM6 9v6h8V9H6zm1 4v-2h2v2H7zm4 0v-2h2v2h-2z"}),B=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.07 7.15 10 4.31l4.93 2.84v5.7L10 15.68l-4.93-2.85zM9.5 2.3a1 1 0 0 1 1 0l5.93 3.42c.3.18.5.51.5.87v6.84a1 1 0 0 1-.5.87L10.5 17.7a1 1 0 0 1-1 0L3.57 14.3a1 1 0 0 1-.5-.87V6.58a1 1 0 0 1 .5-.87zM11 10a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm2 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"}),D=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 13.8l-3.8 2.1c-.2.2-.5 0-.6-.1l-.1-.4 1-4.1-3.3-2.8a.5.5 0 010-.7c0-.1.1-.2.3-.2l4.3-.4 1.7-3.9a.5.5 0 011 0l1.7 3.9 4.3.4c.3 0 .5.3.5.5s0 .3-.2.4l-3.3 2.8 1 4.1c0 .3-.1.5-.4.6h-.3L10 13.7z"}),$=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4 9.6c.6-.6 1.2-1.2 1.2-2.4 0-1.8-1.3-3-3.5-3-2 0-3.4 1.3-3.5 3.5h2.1c0-1 .7-1.6 1.4-1.6 1 0 1.4.5 1.4 1.3 0 .6-.4 1-.9 1.4a4 4 0 0 0-1.5 3.3h2c0-1.2.7-1.9 1.3-2.5ZM10 13.4c-.6 0-1.2.6-1.2 1.2 0 .7.6 1.3 1.2 1.3.7 0 1.3-.6 1.3-1.3 0-.6-.6-1.2-1.3-1.2Z"}),O=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10ZM17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10ZM12.46 8.02C12.46 8.92202 11.997 9.37698 11.5299 9.83594C11.0546 10.303 
758610.575 10.7742 10.575 11.725H9.08C9.08 10.3082 9.71163 9.72604 10.2307 9.24764C10.5927 8.91396 10.9 8.63074 10.9 8.15C10.9 7.565 10.51 7.175 9.86 7.175C9.275 7.175 8.82 7.63 8.82 8.41H7.26C7.325 6.785 8.365 5.745 9.86 5.745C11.485 5.745 12.46 6.72 12.46 8.02ZM9.86 12.375C9.405 12.375 9.015 12.765 9.015 13.22C9.015 13.675 9.405 14.065 9.86 14.065C10.315 14.065 10.705 13.675 10.705 13.22C10.705 12.765 10.315 12.375 9.86 12.375Z"}),z=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5C7.23858 5 5 7.23858 5 10C5 12.7614 7.23858 15 10 15C12.7605 15 14.9986 12.7628 15 10.0026C14.9946 9.07428 14.7347 8.20531 14.2859 7.45903C14.0013 6.98574 14.1542 6.37132 14.6275 6.08669C15.1008 5.80207 15.7152 5.95501 15.9998 6.4283C16.628 7.4729 16.9931 8.69366 17 9.99469L17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C10.5523 3 11 3.44772 11 4C11 4.55228 10.5523 5 10 5Z"}),F=()=>(0,r.jsx)("path",{xmlns:"http://www.w3.org/2000/svg",d:"M5.208 2.978c-.131.072-.169.165-.343.843-.224.872-.177.823-.998 1.03-.34.086-.666.179-.727.207-.278.129-.278.588 0 .718.061.028.39.122.733.209.818.206.768.156.975.972.184.722.226.828.355.894.187.097.482.035.565-.12.02-.037.11-.354.201-.705.09-.35.187-.672.215-.714.088-.136.198-.18.844-.345.347-.088.662-.177.701-.198.221-.118.222-.586.002-.703a8.516 8.516 0 0 0-.705-.201c-.655-.169-.755-.21-.842-.343-.028-.043-.125-.364-.215-.715a9.12 9.12 0 0 0-.201-.705c-.08-.149-.391-.218-.56-.124m5.709 1.898c-.291.118-.475.285-.579.524-.036.082-.241.832-.455 1.667-.214.834-.406 1.534-.428 1.555-.021.021-.721.214-1.555.428s-1.586.419-1.67.455a1.025 1.025 0 0 0-.469.462c-.112.217-.112.683 0 .9.101.193.255.355.42.44.072.037.843.25 1.713.475l1.583.407.408 1.583c.224.87.438 1.642.475 1.714.085.165.247.319.44.419.217.113.683.113.9 0 .193-.1.355-.254.44-.419.037-.072.251-.844.475-1.714l.407-1.583 1.583-.407c.871-.224 1.642-.438 1.714-.475.165-.085.319-.247.42-.44.065-.125.078-.201.078-.45 0-.25-.013-.326-.078-.45a1.041 1.041 0 0 0-.42-.44c-.072-.037-.843-.251-1.714-.476l-1.583-.407-.407-1.583c-.224-.87-.438-1.641-.475-1.713a1.036 1.036 0 0 0-.44-.42c-.176-.091-.616-.12-.783-.052m.669 2.992c.177.687.351 1.309.388 1.382a.988.988 0 0 0 .426.432c.114.059 2.555.718 2.657.718.087 0-.167.071-1.258.352-.687.177-1.317.357-1.399.399a.988.988 0 0 0-.426.432c-.052.104-.707 2.552-.707 2.641 0 .087-.072-.168-.353-1.259-.177-.686-.351-1.308-.388-1.382a.988.988 0 0 0-.426-.432c-.114-.059-2.555-.718-2.657-.718-.087 0 .167-.071 1.258-.352.687-.177 1.316-.356 1.399-.399a.988.988 0 0 0 .426-.432c.052-.104.707-2.551.707-2.641 0-.086.072.168.353 1.259",fillRule:"evenodd"}),H=()=>(0,r.jsx)("path",{d:"M12.9979 6.66667H15.0834C16.3843 6.66667 17.174 7.46673 17.1532 8.7716L17.1433 8.88659L16.3256 14.1352C16.1734 15.1227 15.3107 15.8444 14.3165 15.8333H8.00004L8.00004 15.8333H4.66671C4.20647 15.8333 3.83337 15.4602 3.83337 15V8.33333C3.83337 7.8731 4.20647 7.5 4.66671 7.5H7.48501L9.75468 2.96066C9.89584 2.67834 10.1844 2.5 10.5 2.5C11.9378 2.5 12.9935 3.56862 12.9935 4.99781L12.9979 6.66667ZM15.0834 8.33333H12.1667C11.7073 8.33333 11.3346 7.96157 11.3334 7.50219L11.3268 5C11.3268 4.66453 11.1938 4.41273 10.9595 4.2778L8.83337 8.53006V14.1666L14.3258 14.1666C14.5046 14.1686 14.6532 14.0442 14.6786 13.88L15.4872 8.68969C15.4878 8.36809 15.4353 8.33333 15.0834 8.33333Z"}),V=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M16.6663 9.99992C16.6663 13.6818 13.6816 16.6666 9.99967 16.6666C6.31778 16.6666 3.33301 13.6818 3.33301 9.99992C3.33301 6.31802 6.31778 3.33325 9.99967 3.33325",stroke:"currentColor",strokeLinecap:"round",fill:"transparent"}),(0,r.jsx)("path",{d:"M8.97027 6.82989C8.41941 7.00888 7.9247 7.32831 7.53489 7.75671C7.14508 8.1851 6.87362 8.70768 6.74727 9.27294C6.62092 9.83819 6.64404 10.4266 6.81435 10.9802C6.98466 11.5338 7.29628 12.0335 7.7185 12.43C8.14072 12.8265 8.65897 13.1061 9.22217 13.2413C9.78538 13.3765 10.3741 13.3627 10.9303 13.2011C11.4865 13.0395 11.991 12.7357 12.3941 12.3198C12.7972 11.9038 13.0849 11.3901 13.2289 10.829",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",fill:"transparent"}),(0,r.jsx)("path",{d:"M9.99853 9.99804L11.5357 8.46085M11.5357 8.46085L11.3753 6.16125C11.3551 5.87251 11.4611 5.58921 11.6657 5.38454L14.4179 2.63235L14.3539 5.64267L17.3642 5.5
75867862L14.612 8.33082C14.4074 8.53549 14.1241 8.64143 13.8353 8.62129L11.5357 8.46085Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",fill:"transparent"})]}),U=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M16.1217 3.33428C16.1217 2.94768 15.8083 2.63428 15.4217 2.63428C15.0351 2.63428 14.7217 2.94768 14.7217 3.33428V5.48192C14.1976 4.93497 13.5797 4.48037 12.8932 4.14183C11.734 3.57017 10.4313 3.3551 9.14987 3.5238C7.86843 3.69251 6.66579 4.23742 5.69403 5.08963C4.72228 5.94183 4.02505 7.06306 3.69053 8.31152C3.59047 8.68495 3.81208 9.06878 4.1855 9.16884C4.55893 9.2689 4.94277 9.04729 5.04283 8.67387C5.30568 7.69286 5.85354 6.81184 6.61712 6.1422C7.38069 5.47256 8.32569 5.04439 9.33261 4.91183C10.3395 4.77926 11.3631 4.94826 12.274 5.39745C12.9545 5.73303 13.5492 6.21372 14.0183 6.80214H11.2538C10.8672 6.80214 10.5538 7.11554 10.5538 7.50214C10.5538 7.88874 10.8672 8.20214 11.2538 8.20214H15.4217C15.8083 8.20214 16.1217 7.88874 16.1217 7.50214V3.33428Z",fill:"#1A91F0"}),(0,r.jsx)("path",{d:"M3.74944 15.9117C3.74944 16.2983 4.06284 16.6117 4.44944 16.6117C4.83604 16.6117 5.14944 16.2983 5.14944 15.9117L5.14944 13.7641C5.67346 14.311 6.29138 14.7656 6.97787 15.1041C8.13708 15.6758 9.43978 15.8909 10.7212 15.7222C12.0027 15.5535 13.2053 15.0086 14.1771 14.1563C15.1488 13.3041 15.846 12.1829 16.1806 10.9345C16.2806 10.561 16.059 10.1772 15.6856 10.0771C15.3122 9.97707 14.9283 10.1987 14.8283 10.5721C14.5654 11.5531 14.0176 12.4341 13.254 13.1038C12.4904 13.7734 11.5454 14.2016 10.5385 14.3341C9.53157 14.4667 8.50795 14.2977 7.59708 13.8485C6.9166 13.5129 6.32187 13.0323 5.85283 12.4438L8.6173 12.4438C9.0039 12.4438 9.3173 12.1304 9.3173 11.7438C9.3173 11.3572 9.0039 11.0438 8.6173 11.0438L4.44944 11.0438C4.06284 11.0438 3.74944 11.3572 3.74944 11.7438L3.74944 15.9117Z",fill:"#1A91F0"})]}),W=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{x:"6",y:"5",width:"3",height:"10",rx:"1",fill:"currentColor"}),(0,r.jsx)("rect",{x:"11",y:"5",width:"3",height:"10",rx:"1",fill:"currentColor"})]}),K=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M7.5145 4.9087C6.84797 4.50878 6 4.9889 6 5.76619V14.2338C6 15.0111 6.84797 15.4912 7.5145 15.0913L14.5708 10.8575C15.2182 10.4691 15.2182 9.53091 14.5708 9.14251L7.5145 4.9087Z",fill:"currentColor"})}),q=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M10.442 15.8699C9.72905 15.8699 9.02308 15.7295 8.36439 15.4566C7.7057 15.1838 7.10721 14.7839 6.60307 14.2797C6.09893 13.7756 5.69903 13.1771 5.42619 12.5184C5.15336 11.8597 5.01293 11.1538 5.01293 10.4408C5.01293 9.72784 5.15336 9.02187 5.42619 8.36318C5.69903 7.70449 6.09893 7.106 6.60307 6.60186C7.10721 6.09772 7.7057 5.69782 8.36439 5.42498C9.02308 5.15215 9.72905 5.01172 10.442 5.01172C11.155 5.01172 11.8609 5.15215 12.5196 5.42498C13.1783 5.69782 13.7768 6.09772 14.281 6.60186C14.7851 7.106 15.185 7.7045 15.4578 8.36318C15.7307 9.02187 15.8711 9.72785 15.8711 10.4408C15.8711 11.1538 15.7307 11.8597 15.4578 12.5184C15.185 13.1771 14.7851 13.7756 14.281 14.2797C13.7768 14.7839 13.1783 15.1838 12.5196 15.4566C11.8609 15.7295 11.155 15.8699 10.442 15.8699L10.442 15.8699Z",stroke:"currentColor",strokeWidth:"1.4",fill:"transparent"}),(0,r.jsx)("path",{d:"M8.35156 2.50586L12.5278 2.50586",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M13.1562 10.4411C13.1562 10.0846 13.086 9.73164 12.9496 9.40229C12.8132 9.07295 12.6132 8.7737 12.3612 8.52163C12.1091 8.26956 11.8099 8.06961 11.4805 7.93319C11.1512 7.79678 10.7982 7.72656 10.4417 7.72656",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]}),G=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.21152 5.89502V4.79062H11.8201V5.89502H8.21152ZM6.81152 5.89502V4.50801C6.81152 3.8909 7.31179 3.39062 7.92891 3.39062H12.1028C12.7199 3.39062 13.2201 3.8909 13.2201 4.50801V5.89502H15.0249C15.4115 5.89502 15.7249 6.20842 15.7249 6.59502C15.7249 6.98162 15.4115 7.29502 15.0249 7.29502H14.2374L13.5508 15.4538C13.5021 16.0326 13.0181 16.4775 12.4373 16.4775H7.59515C7.01436 16.4775 6.5304 16.0326 6.4817 15.4538L5.79509 7.29502H5.00762C4.62102 7.29502 4.30762 6.98162 4.30762 6.59502C4.30762 6.20842 4.62102 5.89502 5.00762 5.89502H6.81152ZM7.85498 15.0775L7.20004 7.29502H12.8324L12.1775 15.0775H7.85498Z",fill:"currentColor"})}),Z=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.34493 3.49023C7.55252 3.49023 6.91016 4.1326 6.91016 4.92501V6.82935H5.00899C4.21659 6.82935 3.57422 7.47172 3.57422 8.26412V14.9423C3.57422 15.7347 4.21659 16.377 5.00899 16.377H11.6872C12.4796 16.377 13.1219 15.7347 13.1219 14.9423V13.0379H15.0231C15.8155 13.0379 16.4579 12.3956 16.4579 11.6032V4.925C16.4579 4.1326 15.8155 3.49023 15.0231 3.49023H8.34493ZM11.9219 13.0379H8.34493C7.55253 13.0379 6.91016 12.3956 6.91016 11.6032V8.02935H5.00899C4.87933 8.02935 4.77422 8.13446 4.77422 8.26412V14.9423C4.77422 15.0719 4.87933 15.177 5.00899 15.177H11.6872C11.8168 15.177 11.9219 15.0719 11.9219 14.9423V13.0379ZM8.11016 4.92501C8.11016 4.79534 8.21527 4.69023 8.34493 4.69023H15.0231C15.1527 4.69023 15.2579 4.79535 15.2579 4.925V11.6032C15.2579 11.7328 15.1527 11.8379 15.0231 11.8379H8.34493C8.21527 11.8379 8.11016 11.7328 8.11016 11.6032V4.92501Z"})}),X=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_530_38575",fill:"white",children:(0,r.jsx)("rect",{x:"4",y:"4",width:"5",height:"5",rx:"0.8"})}),(0,r.jsx)("rect",{x:"4",y:"4",width:"5",height:"5",rx:"0.8",stroke:"currentColor",strokeWidth:"2.8",mask:"url(#path-1-inside-1_530_38575)",fill:"none"}),(0,r.jsx)("mask",{id:"path-2-inside-2_530_38575",fill:"white",children:(0,r.jsx)("rect",{x:"4",y:"10.6953",width:"5",height:"5",rx:"0.8"})}),(0,r.jsx)("rect",{x:"4",y:"10.6953",width:"5",height:"5",rx:"0.8",stroke:"currentColor",strokeWidth:"2.8",mask:"url(#path-2-inside-2_530_38575)",fill:"none"}),(0,r.jsx)("mask",{id:"path-3-inside-3_530_38575",fill:"white",children:(0,r.jsx)("rect",{x:"10.6914",y:"4",width:"5",height:"5",rx:"0.8"})}),(0,r.jsx)("rect",{x:"10.6914",y:"4",width:"5",height:"5",rx:"0.8",stroke:"currentColor",strokeWidth:"2.8",mask:"url(#path-3-inside-3_530_38575)",fill:"none"}),(0,r.jsx)("mask",{id:"path-4-inside-4_530_38575",fill:"white",children:(0,r.jsx)("rect",{x:"10.6914",y:"10.6953",width:"5",height:"5",rx:"0.8"})}),(0,r.jsx)("rect",{x:"10.6914",y:"10.6953",width:"5",height:"5",rx:"0.8",stroke:"currentColor",strokeWidth:"2.8",mask:"url(#path-4-inside-4_530_38575)",fill:"none"})]}),Q=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M9.9987 3.33594H6.2487C6.01858 3.33594 5.83203 3.52249 5.83203 3.7526V10.8359V16.2526C5.83203 16.4827 6.01858 16.6693 6.2487 16.6693H13.7487C13.9788 16.6693 14.1654 16.4827 14.1654 16.2526V7.5026M9.9987 3.33594L14.1654 7.5026M9.9987 3.33594V7.08594C9.9987 7.31606 10.1852 7.5026 10.4154 7.5026H14.1654",stroke:"currentColor",strokeWidth:"1.4",strokeLinejoin:"round",fill:"none"})}),Y=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.07891 6.45183C8.07891 5.87092 8.54983 5.4 9.13073 5.4H10.8826C11.4635 5.4 11.9344 5.87092 11.9344 6.45183L4.75183 6.45183C3.78432 6.45183 3 7.23615 3 8.20366V9.79855V10.4985V11.1985V14.335C3 15.3026 3.78432 16.
75860869 4.75183 16.0869H15.2628C16.2303 16.0869 17.0146 15.3026 17.0146 14.3351V11.1985V10.4985V9.79855V8.20366C17.0146 7.23615 16.2303 6.45183 15.2628 6.45183L13.3344 6.45183C13.3344 5.09772 12.2367 4 10.8826 4H9.13073C7.77663 4 6.67891 5.09772 6.67891 6.45183H8.07891ZM15.6146 9.79855H4.4V8.20366C4.4 8.00935 4.55752 7.85183 4.75183 7.85183H15.2628C15.4571 7.85183 15.6146 8.00935 15.6146 8.20366V9.79855ZM15.6146 14.3351V11.1985H4.4V14.335C4.4 14.5294 4.55752 14.6869 4.75183 14.6869H15.2628C15.4571 14.6869 15.6146 14.5294 15.6146 14.3351Z",fill:"currentColor"})}),ee=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{x:"4.16797",y:"4.16406",width:"4.58333",height:"5.83333",rx:"0.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("rect",{x:"11.25",y:"10",width:"4.58333",height:"5.83333",rx:"0.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("rect",{x:"11.25",y:"4.16406",width:"4.58333",height:"3.33333",rx:"0.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("rect",{x:"4.16797",y:"12.5",width:"4.58333",height:"3.33333",rx:"0.5",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinejoin:"round"})]}),et=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.50986 8.16094C5.50986 7.16682 6.31575 6.36094 7.30986 6.36094C8.30397 6.36094 9.10986 7.16682 9.10986 8.16094C9.10986 9.15505 8.30397 9.96094 7.30986 9.96094C6.31575 9.96094 5.50986 9.15505 5.50986 8.16094ZM7.30986 4.96094C5.54255 4.96094 4.10986 6.39363 4.10986 8.16094C4.10986 9.92825 5.54255 11.3609 7.30986 11.3609C9.07717 11.3609 10.5099 9.92825 10.5099 8.16094C10.5099 6.39363 9.07717 4.96094 7.30986 4.96094ZM7.30856 12.4609C6.45428 12.4609 5.61505 12.6858 4.87522 13.1129C4.1354 13.5401 3.52104 14.1544 3.0939 14.8943C2.9006 15.2291 3.01531 15.6572 3.35012 15.8505C3.68492 16.0438 4.11304 15.9291 4.30633 15.5943C4.6106 15.0673 5.04822 14.6296 5.57522 14.3254C6.10222 14.0211 6.70003 13.8609 7.30856 13.8609C7.91708 13.8609 8.51489 14.0211 9.04189 14.3254C9.56889 14.6296 10.0065 15.0673 10.3108 15.5943C10.5041 15.9291 10.9322 16.0438 11.267 15.8505C11.6018 15.6572 11.7165 15.2291 11.5232 14.8943C11.0961 14.1544 10.4817 13.5401 9.74189 13.1129C9.00206 12.6858 8.16283 12.4609 7.30856 12.4609Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M10.0352 4H16.7018V9.83333L15.0352 8.16667H12.1185",stroke:"currentColor",fill:"none",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),ei=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"9.16537",cy:"10.8333",r:"5.83333",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M9.9987 3.83594C9.9987 3.55979 10.2229 3.33399 10.4982 3.35468C11.2027 3.40761 11.8953 3.57226 12.5499 3.84341C13.3588 4.17844 14.0937 4.6695 14.7127 5.28856C15.3318 5.90762 15.8229 6.64254 16.1579 7.45138C16.429 8.10599 16.5937 8.79863 16.6466 9.50307C16.6673 9.77844 16.4415 10.0026 16.1654 10.0026L10.4987 10.0026C10.2226 10.0026 9.9987 9.77875 9.9987 9.5026V3.83594Z",fill:"white",stroke:"currentColor",strokeWidth:"1.4",strokeLinejoin:"round"})]}),er=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M14.1654 7.5L10.4154 3.75V7C10.4154 7.27614 10.6392 7.5 10.9154 7.5H14.1654Z",fill:"none"}),(0,r.jsx)("path",{d:"M10.4154 3.75H6.33203C6.05589 3.75 5.83203 3.97386 5.83203 4.25V10M10.4154 3.75L14.1654 7.5M10.4154 3.75V7C10.4154 7.27614 10.6392 7.5 10.9154 7.5H14.1654M14.1654 7.5V15.75C14.1654 16.0261 13.9415 16.25 13.6654 16.25H11.6654",stroke:"currentColor",strokeWidth:"1.4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.33203 14.4423L5.83203 16.6645L11.2487 11.25",stroke:"currentColor",fill:"none",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),en=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M14.1654 7.5L10.4154 3.75V7.08333C10.4154 7.31345 10.6019 7.5 10.832 7.5H14.1654Z",fill:"none"}),(0,r.jsx)("path",{d:"M10.4154 3.75H6.2487C6.01858 3.75 5.83203 3.93655 5.83203 4.16667V6.66667M10.4154 3.75L14.1654 7.5M10.4154 3.75V7.08333C10.4154 7.31345 10.6019 7.5 10.832 7.5H14.1654M14.1654 7.5V15.8333C14.1654 16.0635 13.9788 16.25 13.7487 16.25H9.9987",stroke:"currentColor",strokeWidth:"1.4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.33203 14.4418L5.83203 16.6641M5.83203 16.6641L8.33203 14.4418M5.83203 16.6641V9.16406",stroke:"currentColor",strokeWidth:"1.4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})]}),eo=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M3.59961 6.00001C3.59961 4.67452 4.67413 3.60001 5.99961 3.60001L17.9996 3.60001C19.3251 3.60001 20.3996 4.67452 20.3996 6.00001L20.3996 18C20.3996 19.3255 19.3251 20.4 17.9996 20.4L5.99961 20.4C4.67413 20.4 3.59961 19.3255 3.59961 18L3.59961 6.00001Z",stroke:"#9FA6BB",strokeWidth:"1.68",fill:"none"}),(0,r.jsx)("circle",{cx:"12.0249",cy:"10.068",r:"2.52",stroke:"#9FA6BB",strokeWidth:"1.68",fill:"none"}),(0,r.jsx)("path",{d:"M15.6635 17.2078C15.2949 16.5693 14.7647 16.0391 14.1262 15.6705C13.4877 15.3019 12.7634 15.1078 12.0262 15.1078C11.2889 15.1078 10.5647 15.3019 9.92617 15.6705C9.28769 16.0391 8.75749 16.5693 8.38886 17.2078",stroke:"#9FA6BB",strokeWidth:"1.68",strokeLinecap:"round",fill:"none"})]}),ea=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("path",{d:"M3.59961 6.00001C3.59961 4.67452 4.67413 3.60001 5.99961 3.60001L17.9996 3.60001C19.3251 3.60001 20.3996 4.67452 20.3996 6.00001L20.3996 18C20.3996 19.3255 19.3251 20.4 17.9996 20.4L5.99961 20.4C4.67413 20.4 3.59961 19.3255 3.59961 18L3.59961 6.00001Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.68"}),(0,r.jsx)("circle",{cx:"12.0249",cy:"10.068",r:"2.52",fill:"white",stroke:"white",strokeWidth:"1.68"}),(0,r.jsx)("mask",{id:"path-3-inside-1_787_27566",fill:"white",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.60469 17.2693C7.44684 17.6282 7.73374 18 8.1258 18H15.8754C16.2674 18 16.5543 17.6282 
758616.3965 17.2693C15.6534 15.5797 13.9648 14.4 12.0006 14.4C10.0364 14.4 8.34781 15.5797 7.60469 17.2693Z"})}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.60469 17.2693C7.44684 17.6282 7.73374 18 8.1258 18H15.8754C16.2674 18 16.5543 17.6282 16.3965 17.2693C15.6534 15.5797 13.9648 14.4 12.0006 14.4C10.0364 14.4 8.34781 15.5797 7.60469 17.2693Z",fill:"white"}),(0,r.jsx)("path",{d:"M16.3965 17.2693L15.2981 17.7524L16.3965 17.2693ZM7.60469 17.2693L6.50624 16.7862L7.60469 17.2693ZM8.1258 18V19.2H15.8754V18V16.8H8.1258V18ZM12.0006 14.4V15.6C13.4719 15.6 14.7396 16.4827 15.2981 17.7524L16.3965 17.2693L17.4949 16.7862C16.5671 14.6768 14.4577 13.2 12.0006 13.2V14.4ZM7.60469 17.2693L8.70313 17.7524C9.26159 16.4827 10.5293 15.6 12.0006 15.6V14.4V13.2C9.54353 13.2 7.43404 14.6768 6.50624 16.7862L7.60469 17.2693ZM15.8754 18V19.2C16.9723 19.2 18.0644 18.0808 17.4949 16.7862L16.3965 17.2693L15.2981 17.7524C15.1919 17.511 15.2409 17.2418 15.3743 17.0599C15.4979 16.8912 15.6867 16.8 15.8754 16.8V18ZM8.1258 18V16.8C8.31452 16.8 8.5033 16.8912 8.62692 17.0599C8.76024 17.2418 8.80932 17.511 8.70313 17.7524L7.60469 17.2693L6.50624 16.7862C5.9368 18.0808 7.02886 19.2 8.1258 19.2V18Z",fill:"white",mask:"url(#path-3-inside-1_787_27566)"})]}),el=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M3 5C3 3.89543 3.89543 3 5 3L15 3C16.1046 3 17 3.89543 17 5V15C17 16.1046 16.1046 17 15 17H5C3.89543 17 3 16.1046 3 15L3 5Z",stroke:"currentColor",strokeWidth:"1.4",fill:"none"}),(0,r.jsx)("circle",{cx:"10.0211",cy:"8.39004",r:"2.1",fill:"none",stroke:"currentColor",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M13.0523 14.3398C12.7451 13.8078 12.3033 13.3659 11.7712 13.0588C11.2392 12.7516 10.6356 12.5898 10.0212 12.5898C9.40686 12.5898 8.80331 12.7516 8.27124 13.0588C7.73917 13.3659 7.29734 13.8078 6.99015 14.3398",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",fill:"none"})]}),es=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M14.1891 9.18245C14.1891 11.9486 11.9467 14.1911 9.1805 14.1911C6.41431 14.1911 4.17188 11.9486 4.17188 9.18245C4.17188 6.41626 6.41431 4.17383 9.1805 4.17383C11.9467 4.17383 14.1891 6.41626 14.1891 9.18245Z",stroke:"currentColor",strokeWidth:"1.4",fill:"none",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M14.1875 14.1909L15.6901 15.6935",stroke:"currentColor",fill:"none",strokeWidth:"1.4",strokeLinecap:"round"})]}),ed=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_530_38585)",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.91583 7.51604C2.91583 6.01461 4.13298 4.79746 5.63441 4.79746C7.13584 4.79746 8.35298 6.01461 8.35298 7.51604C8.35298 9.01747 7.13584 10.2346 5.63441 10.2346C4.13298 10.2346 2.91583 9.01747 2.91583 7.51604ZM5.63441 3.39746C3.35978 3.39746 1.51583 5.24141 1.51583 7.51604C1.51583 9.79066 3.35978 11.6346 5.63441 11.6346C7.90903 11.6346 9.75298 9.79066 9.75298 7.51604C9.75298 5.24141 7.90903 3.39746 5.63441 3.39746ZM5.63441 13.6532C4.51139 13.6532 3.40815 13.9488 2.43559 14.5103C1.46303 15.0718 0.655408 15.8794 0.093899 16.852C-0.0994006 17.1868 0.0153122 17.6149 0.350117 17.8082C0.684922 18.0015 1.11304 17.8868 1.30633 17.552C1.74497 16.7923 2.37586 16.1614 3.13559 15.7227C3.89533 15.2841 4.75714 15.0532 5.63441 15.0532C6.51167 15.0532 7.37348 15.2841 8.13322 15.7227C8.89295 16.1614 9.52384 16.7923 9.96248 17.552C10.1558 17.8868 10.5839 18.0015 10.9187 17.8082C11.2535 17.6149 11.3682 17.1868 11.1749 16.852C10.6134 15.8794 9.80578 15.0718 8.83322 14.5103C7.86066 13.9488 6.75742 13.6532 5.63441 13.6532Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7166 5.4303C12.7166 4.30899 13.6256 3.4 14.7469 3.4C15.8682 3.4 16.7772 4.30899 16.7772 5.4303C16.7772 6.5516 15.8682 7.46059 14.7469 7.46059C13.6256 7.46059 12.7166 6.5516 12.7166 5.4303ZM14.7469 2C12.8524 2 11.3166 3.5358 11.3166 5.4303C11.3166 7.32479 12.8524 8.86059 14.7469 8.86059C16.6414 8.86059 18.1772 7.32479 18.1772 5.4303C18.1772 3.5358 16.6414 2 14.7469 2ZM14.7469 10.1909C13.8253 10.1909 12.9198 10.4335 12.1217 10.8943C11.3235 11.3552 10.6607 12.018 10.1999 12.8161C10.0066 13.1509 10.1213 13.5791 10.4561 13.7724C10.7909 13.9657 11.219 13.8509 11.4123 13.5161C11.7502 12.9308 12.2363 12.4447 12.8217 12.1068C13.407 11.7688 14.071 11.5909 14.7469 11.5909C15.4228 11.5909 16.0868 11.7688 16.6722 12.1068C17.2575 12.4447 17.7436 12.9308 18.0815 13.5161C18.2748 13.8509 18.703 13.9657 19.0378 13.7724C19.3726 13.5791 19.4873 13.1509 19.294 12.8161C18.8331 12.018 18.1703 11.3552 17.3722 10.8943C16.574 10.4335 15.6686 10.1909 14.7469 10.1909Z",fill:"currentColor"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_530_38585",children:(0,r.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]}),ec=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16667 8.33073C5.08714 8.33073 5.83333 9.07692 5.83333 9.9974C5.83333 10.9179 5.08714 11.6641 4.16667 11.6641C3.24619 11.6641 2.5 10.9179 2.5 9.9974C2.5 9.07692 3.24619 8.33073 4.16667 8.33073ZM10 8.33073C10.9205 8.33073 11.6667 9.07692 11.6667 9.99739C11.6667 10.9179 10.9205 11.6641 10 11.6641C9.07952 11.6641 8.33333 10.9179 8.33333 9.99739C8.33333 9.07692 9.07952 8.33073 10 8.33073ZM17.5 9.99739C17.5 9.07692 16.7538 8.33073 15.8333 8.33073C14.9129 8.33073 14.1667 9.07692 14.1667 9.99739C14.1667 10.9179 14.9129 11.6641 15.8333 11.6641C16.7538 11.6641 17.5 10.9179 17.5 9.99739Z",fill:"currentColor"})}),eu=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_530_38572",fill:"white",children:(0,r.jsx)("rect",{x:"4.18359",y:"4.17969",width:"5.01923",height:"5.01923",rx:"0.836538"})}),(0,r.jsx)("rect",{x:"4.18359",y:"4.17969",width:"5.01923",height:"5.01923",rx:"0.836538",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"2.8",mask:"url(#path-1-inside-1_530_38572)"}),(0,r.jsx)("mask",{id:"path-2-inside-2_530_38572",fill:"white",children:(0,r.jsx)("rect",{x:"4.18359",y:"10.875",width:"5.01923",height:"5.01923",rx:"0.836538"})}),(0,r.jsx)("rect",{x:"4.18359",y:"10.875",width:"5.01923",height:"5.01923",rx:"0.836538",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"2.8",mask:"url(#path-2-inside-2_530_38572)"}),(0,r.jsx)("mask",{id:"path-3-inside-3_530_38572",fill:"white",children:(0,r.jsx)("rect",{x:"10.875",y:"4.17969",width:"5.01923",height:"5.01923",rx:"0.836538"})}),(0,r.jsx)("rect",{x:"10.875",y:"4.17969",width:"5.01923",height:"5.01923",rx:"0.836538",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"2.8",mask:"url(#path-3-inside-3_530_38572)"}),(0,r.jsx)("mask",{id:"path-4-inside-4_530_38572",fill:"white",children:(0,r.jsx)("rect",{x:"10.875",y:"10.875",width:"5.01923",height:"5.01923",rx:"0.836538"})}),(0,r.jsx)("rect",{x:"10.875",y:"10.875",width:"5.01923",height:"5.01923",rx:"0.836538",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"2.8",mask:"url(#path-4-inside-4_530_38572)"})]}),ep=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M13.7487 16.6693H6.2487C6.01858 16.6693 5.83203 16.4827 5.83203 16.2526V10.8359V3.7526C5.83203 3.52249 6.01858 3.33594 6.2487 3.33594H9.9987L14.1654 7.5026V16.2526C14.1654 16.4827 13.9788 16.6693 13.7487 16.6693Z",fill:"#1A91F0"}),(0,r.jsx)("path",{d:"M9.9987 3.33594H6.2487C6.01858 3.33594 5.83203 3.52249 5.83203 3.7526V10.8359V16.2526C5.83203 16.4827 6.01858 16.6693 6.2487 16.6693H13.7487C13.9788 16.6693 14.1654 16.4827 14.1654 16.2526V7.5026M9.9987 3.33594L14.1654 7.5026M9.9987 3.33594V7.08594C9.9987 7.31606 10.1852 7.5026 10.4154 7.5026H14.1654",stroke:"#1A91F0",fill:"#1A91F0",strokeWidth:"1.4",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M10 7.08333V4L13.5 7.5H10.4167C10.1865 7.5 10 7.31345 10 7.08333Z",fill:"#EAF6FF",stroke:"#EAF6FF",strokeWidth:"1.4",strokeLinejoin:"round"})]}),eh=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M3.7 8.20349C3.7 7.62258 4.17092 7.15166 4.75183 7.15166H15.2628C15.8437 7.15166 16.3146 7.62258 16.3146 8.20349V10.4984V14.3349C16.3146 14.9158 
758615.8437 15.3867 15.2628 15.3867H4.75183C4.17092 15.3867 3.7 14.9158 3.7 14.3349V10.4984V8.20349Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M3 10.5H17",stroke:"#EAF6FF",strokeWidth:"1.8",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12.6344 6.45202V6.45202C12.6344 5.48451 11.8501 4.7002 10.8826 4.7002H9.13073C8.16323 4.7002 7.37891 5.48451 7.37891 6.45202V6.45202",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinecap:"round"})]}),ex=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{x:"4.16797",y:"4.16406",width:"4.58333",height:"5.83333",rx:"0.5",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinejoin:"round"}),(0,r.jsx)("rect",{x:"11.25",y:"10",width:"4.58333",height:"5.83333",rx:"0.5",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinejoin:"round"}),(0,r.jsx)("rect",{x:"11.25",y:"4.16406",width:"4.58333",height:"3.33333",rx:"0.5",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinejoin:"round"}),(0,r.jsx)("rect",{x:"4.16797",y:"12.5",width:"4.58333",height:"3.33333",rx:"0.5",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinejoin:"round"})]}),em=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("path",{d:"M9.80981 8.16113C9.80981 9.54184 8.69053 10.6611 7.30981 10.6611C5.9291 10.6611 4.80981 9.54184 4.80981 8.16113C4.80981 6.78042 5.9291 5.66113 7.30981 5.66113C8.69053 5.66113 9.8
75860981 6.78042 9.80981 8.16113Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M9.96834 13.7223C10.4452 13.9379 10.8744 14.2091 11.2421 14.5253C11.5531 14.7927 11.3363 15.2474 10.9262 15.2474L3.68912 15.2474C3.27897 15.2474 3.06224 14.7927 3.37324 14.5253C3.74093 14.2091 4.17011 13.9379 4.64697 13.7223C5.45592 13.3566 6.37356 13.1641 7.30766 13.1641C8.24175 13.1641 9.15939 13.3566 9.96834 13.7223Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M16.7018 4H10.0352C10.0352 4 11.0819 5.12681 11.5 6C11.88 6.79364 12.1185 8.16667 12.1185 8.16667H15.0352L16.7018 9.83333V4Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),eg=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("circle",{cx:"9.16537",cy:"10.8333",r:"5.83333",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M10 2.5C10 2.22386 10.2241 1.99837 10.4997 2.01562C11.3793 2.07067 12.2451 2.2708 13.0615 2.60896C14.0321 3.011 14.914 3.60028 15.6569 4.34315C16.3997 5.08602 16.989 5.96793 17.391 6.93853C17.7292 7.75494 17.9293 8.62066 17.9844 9.50032C18.0016 9.77593 17.7761 10 17.5 10L10.5 10C10.2239 10 10 9.77614 10 9.5V2.5Z",fill:"#1A91F0",stroke:"#EAF6FF",strokeWidth:"1.4",strokeLinejoin:"round"})]}),ey=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("path",{d:"M13.7487 16.6694H6.2487C6.01858 16.6694 5.83203 16.4828 5.83203 16.2527V10.836V4.16178C5.83203 3.93166 6.01858 3.74512 6.2487 3.74512H9.9987L14.1654 8.00293V16.2527C14.1654 16.4828 13.9788 16.6694 13.7487 16.6694Z",fill:"#1A91F0"}),(0,r.jsx)("path",{d:"M9.9987 3.74512H6.2487C6.01858 3.74512 5.83203 3.93166 5.83203 4.16178V10.836V16.2527C5.83203 16.4828 6.01858 16.6694 6.2487 16.6694H13.7487C13.9788 16.6694 14.1654 16.4828 14.1654 16.2527V8.00293M9.9987 3.74512L14.1654 8.00293M9.9987 3.74512V7.58626C9.9987 7.81638 10.1852 8.00293 10.4154 8.00293H14.1654",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.33203 14.4423L5.83203 16.6645L11.2487 11.25",stroke:"#EAF6FF",strokeWidth:"4.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.33203 14.4423L5.83203 16.6645L11.2487 11.25",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),ef=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("path",{d:"M6.2487 3.75H10.4154L14.1654 7.5V15.8333C14.1654 16.0635 13.9788 16.25 13.7487 16.25H9.9987H6.2487C6.01858 16.25 5.83203 16.0635 5.83203 15.8333V6.66667V4.16667C5.83203 3.93655 6.01858 3.75 6.2487 3.75Z",fill:"#1A91F0"}),(0,r.jsx)("path",{d:"M10.4154 3.75H6.2487C6.01858 3.75 5.83203 3.93655 5.83203 4.16667V6.66667V15.8333C5.83203 16.0635 6.01858 16.25 6.2487 16.25H9.9987H13.7487C13.9788 16.25 14.1654 16.0635 14.1654 15.8333V7.5M10.4154 3.75L14.1654 7.5M10.4154 3.75V7.08333C10.4154 7.31345 10.6019 7.5 10.832 7.5H14.1654",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.33203 14.4418L5.83203 16.6641M5.83203 16.6641L8.33203 14.4418M5.83203 16.6641V9.16406",stroke:"#EAF6FF",strokeWidth:"4.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.33203 14.4418L5.83203 16.6641M5.83203 16.6641L8.33203 14.4418M5.83203 16.6641V9.16406",stroke:"#1A91F0",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),eb=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("path",{d:"M3 5C3 3.89543 3.89543 3 5 3L15 3C16.1046 3 17 3.89543 17 5V15C17 16.1046 16.1046 17 15 17H5C3.89543 17 3 16.1046 3 15L3 5Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4"}),(0,r.jsx)("circle",{cx:"10.0211",cy:"8.39004",r:"2.1",fill:"#EAF6FF",stroke:"#EAF6FF",strokeWidth:"1.4"}),(0,r.jsx)("mask",{id:"path-3-inside-1_530_38567",fill:"white",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.3367 14.3911C6.20516 14.6901 6.44425 15 6.77096 15H13.229C13.5557 15 13.7948 14.6901 13.6632 14.3911C13.0439 12.9831 11.6368 12 9.99996 12C8.36316 12 6.95598 12.9831 6.3367 14.3911Z"})}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.3367 14.3911C6.20516 14.6901 6.44425 15 6.77096 15H13.229C13.5557 15 13.7948 14.6901 13.6632 14.3911C13.0439 12.9831 11.6368 12 9.99996 12C8.36316 12 6.95598 12.9831 6.3367 14.3911Z",fill:"#EAF6FF"}),(0,r.jsx)("path",{d:"M6.77096 16H13.229V14H6.77096V16ZM9.99996 13C11.226 13 12.2825 13.7356 12.7478 14.7937L14.5786 13.9885C13.8054 12.2306 12.0475 11 9.99996 11V13ZM7.25207 14.7937C7.71746 13.7356 8.77391 13 9.99996 13V11C7.95241 11 6.1945 12.2306 5.42133 13.9885L7.25207 14.7937ZM13.229 16C14.1431 16 15.0531 15.0673 14.5786 13.9885L12.7478 14.7937C12.6594 14.5925 12.7003 14.3682 12.8113 14.2166C12.9144 14.076 13.0717 14 13.229 14V16ZM6.77096 14C6.92823 14 7.08555 14.076 7.18857 14.2166C7.29967 14.3682 7.34056 14.5925 7.25207 14.7937L5.42133 13.9885C4.9468 15.0674 5.85685 16 6.77096 16V14Z",fill:"#EAF6FF",mask:"url(#path-3-inside-1_530_38567)"})]}),e_=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("path",{d:"M14.1891 9.18245C14.1891 11.9486 11.9467 14.1911 9.1805 14.1911C6.41431 14.1911 4.17188 11.9486 4.17188 9.18245C4.17188 6.41626 6.41431 4.17383 9.1805 4.17383C11.9467 4.17383 14.1891 6.41626 14.1891 9.18245Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M7.82852 7.82843C7.04738 8.60938 6.09759 8.92585 5.70712 8.53528C5.31664 8.14471 5.63333 7.195 6.41448 6.41405C7.19562 5.63309 8.1454 5.31662 8.53588 5.70719C8.92636 6.09776 8.60966 7.04747 7.82852 7.82843Z",fill:"#EAF6FF",stroke:"#EAF6FF",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M14.1875 14.1909L15.6901 15.6935",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinecap:"round"})]}),ev=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",children:[(0,r.jsx)("circle",{cx:"6.6344",cy:"7.51623",r:"3.41858",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M9.93084 15.1832C10.663 15.5825 11.3042 16.1099 11.8219 16.7345C12.0711 17.0351 11.8389 17.4592 11.4484 17.4592L1.83147 17.4592C1.44101 17.4592 1.20876 17.0351 1.45794 16.7345C1.97564 16.1099 2.61692 15.5825 3.34904 15.1832C4.3496 14.6374 5.48459 14.3501 6.63994 14.3501C7.79529 14.3501 8.93028 14.6374 9.93084 15.1832Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.2",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M18.3769 11.5551C18.9072 11.8444 19.3778 12.2179 19.7692 12.6571C20.029 12.9486 19.7989 13.372 19.4084 13.372L12.0915 13.372C11.701 13.372 11.4709 12.9486 11.7307 12.6571C12.1221 12.2179 12.5927 11.8444 13.123 11.5551C13.9217 11.1195 14.8277 10.8901 15.75 10.8901C16.6722 10.8901 17.5782 11.1195 18.3769 11.5551Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.2",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"15.7469",cy:"5.43049",r:"2.7303",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.4"})]}),ej=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16667 8.33073C5.08714 8.33073 5.83333 9.07692 5.83333 9.9974C5.83333 10.9179 5.08714 11.6641 4.16667 11.6641C3.24619 11.6641 2.5 10.9179 2.5 9.9974C2.5 9.07692 3.24619 8.33073 4.16667 8.33073ZM10 8.33073C10.9205 8.33073 11.6667 9.07692 11.6667 9.99739C11.6667 10.9179 10.9205 11.6641 10 11.6641C9.07952 11.6641 8.33333 10.9179 8.33333 9.99739C8.33333 9.07692 9.07952 8.33073 10 8.33073ZM17.5 9.99739C17.5 9.07692 16.7538 8.33073 15.8333 8.33073C14.9129 8.33073 14.1667 9.07692 14.1667 9.99739C14.1667 10.9179 14.9129 11.6641 15.8333 11.6641C16.7538 11.6641 17.5 10.9179 17.5 9.99739Z",fill:"#1A91F0"})}),eA=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.9507 6.25C7.90675 6.25 6.25 7.90829 6.25 9.95385C6.25 11.9994 7.90675 13.6579 9.9507 13.6579C11.9942 13.6579 13.6512 11.9994 13.6512 9.95385C13.6512 7.90829 11.9942 
75866.25 9.9507 6.25Z",fill:"#4B81E8"}),(0,r.jsx)("path",{d:"M0 10.0158C0 7.91228 0.648357 5.96028 1.756 4.34912L5.26125 11.6165C5.92821 13.5955 7.79787 15.0207 10.0002 15.0206C10.6642 15.0206 11.298 14.8911 11.8777 14.6558L9.30619 20.0014C4.10674 19.6447 0 15.3098 0 10.0158Z",fill:"#539F55"}),(0,r.jsx)("path",{d:"M13.3072 6.26318H19.2731C19.7418 7.42219 19.9999 8.68907 19.9999 10.0163C19.9999 15.3108 15.8923 19.6455 10.6934 20.0019L14.1631 12.789C14.6918 11.9953 15 11.0419 15 10.0165C15 8.5218 14.3452 7.18018 13.3072 6.26318Z",fill:"#F1BF46"}),(0,r.jsx)("path",{d:"M5.20037 8.60418L2.62036 3.25506C4.44879 1.25463 7.07841 0 10.001 0C13.702 0 16.9338 2.01285 18.6629 5.00457H10.0009C7.72659 5.00463 5.80698 6.52422 5.20037 8.60418Z",fill:"#D65241"})]}),eC=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M13.673 14.662a.7.7 0 0 0 .99-.99L10.99 9.999l3.67-3.67a.7.7 0 1 0-.99-.99L10 9.008l-3.67-3.67a.7.7 0 1 0-.99.99l3.67 3.67-3.673 3.673a.7.7 0 1 0 .99.99L10 10.989l3.673 3.673Z",clipRule:"evenodd"})}),ew=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M18.7276 10.5902C19.1785 9.86542 19.41 9.02526 19.3938 8.17147C19.3938 6.71019 18.8907 5.39406 17.7728 4.52734C17.0355 3.94952 15.7364 3.57129 13.6471 3.57129H9.28577V16.9224H12.6923V6.56643H13.9467C14.4353 6.56531 14.9157 6.69183 15.3406 6.9335C15.5923 7.10471 15.7969 7.33663 15.9355 7.60787C16.0741 7.87911 16.1422 8.18094 16.1337 8.4855C16.1337 9.22522 15.7908 9.85747 15.3768 10.1268C14.9252 10.4157 14.1879 10.4883 13.3223 10.4883H12.7648L16.2493 16.9294H19.7632L16.9978 12.0152C17.7042 11.7248 18.3069 11.2283 18.7276 10.5902Z",fill:"#1A91F0"}),(0,r.jsx)("path",{d:"M8.63617 3.58398H0V6.57494H2.62598V16.9156H6.02692V6.57494H8.63617V3.58398Z",fill:"#0E0F47"})]}),ek=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 10C19 5.03368 14.9663 1 10 1C5.03368 1 1 5.03368 1 10C1 14.9663 5.03368 19 10 19C14.9663 19 19 14.9663 19 10ZM9.95337 7.34197C9.72021 7.31865 9.48705 7.41192 9.30052 7.57513C9.13731 7.73834 9.1 7.9715 9.1 8.20466H7.3C7.3 7.43523 7.36528 6.68912 7.92487 6.15285C8.48446 5.61658 9.23057 5.33679 10.0233 5.3601C11.4689 5.43005 12.658 6.61917 12.728 8.06477C12.7746 9.2772 12.0751 10.3964 10.9326 10.8394C10.9093 10.8627 10.8627 10.9093 10.8627 10.9793V11.8H8.88083V10.9793C8.88083 10.0933 9.39378 9.32383 10.1865 9.02073C10.5363 8.88083 10.7461 8.53109 10.7228 8.15803C10.7461 7.73834 10.3731 7.36528 9.95337 7.34197ZM10 14.95C10.6213 14.95 11.125 14.4463 11.125 13.825C11.125 13.2036 10.6213 12.7 10 12.7C9.37868 12.7 8.875 13.2036 8.875 13.825C8.875 14.4463 9.37868 14.95 10 14.95Z"})}),eS=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 14H2L2 12L8 12L8 18H6L6 14ZM12 8L12 2L14 2L14 6L18 6V8L12 8Z",fill:"currentColor"})}),eT=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",children:(0,r.jsx)("path",{d:"M15.9 4.886c-.076.032-1.566 1.499-4.308 4.24L7.4 13.316l-1.592-1.59c-1.095-1.095-1.63-1.606-1.715-1.641a.59.59 0 0 0-.775.774c.071.172 3.644 3.755 3.832 3.844a.557.557 0 0 0 .5 0c.19-.09 8.961-8.871 9.032-9.044a.546.546 0 0 0 0-.451.532.532 0 0 0-.289-.312.589.589 0 0 0-.493-.01",fillRule:"evenodd"})}),eP=()=>(0,r.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 10 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M1.5 7.25195V4.75195C1.5 4.19967 1.94772 3.75195 2.5 3.75195H5.04673L7.7302 0.914689C8.04092 0.586157 8.59346 0.806063 8.59346 1.25826V10.7456C8.59346 11.1978 8.04092 11.4178 7.7302 11.0892L5.04673 8.25195H2.5C1.94772 8.25195 1.5 7.80424 1.5 7.25195Z",stroke:"currentColor",strokeWidth:"1.3",fill:"none"}),(0,r.jsx)("rect",{x:"0.783203",y:"2.2168",width:"1.3066",height:"16",rx:"0.653299",transform:"rotate(-45 0.783203 2.2168)",fill:"currentColor"}),(0,r.jsx)("rect",{x:"1.70898",y:"1.29297",width:"1.30925",height:"16",rx:"0.654626",transform:"rotate(-45 1.70898 1.29297)",fill:"white"})]}),eJ=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{fill:"#339D5D",d:"M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Z"}),(0,r.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M11.097 5.071 12.5 6.5l-4.246 4.613c-.478.525-.906.507-1.403 0L4 8.5l1.403-1.429 2.15 1.9 3.544-3.9Z",clipRule:"evenodd"})]}),eE=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M12.248 9.473c.629-.614 1.252-1.223 1.252-2.43C13.5 5.304 12.187 4 10 4 7.987 4 6.588 5.391 6.5 7.56
75865h2.1c0-1.043.613-1.652 1.4-1.652.875 0 1.4.522 1.4 1.304 0 .644-.414 1.022-.901 1.469C9.8 9.326 8.95 10.105 8.95 12h2.013c0-1.272.645-1.902 1.285-2.527ZM10 13.25c-.673 0-1.25.577-1.25 1.25s.577 1.25 1.25 1.25 1.25-.577 1.25-1.25-.577-1.25-1.25-1.25Z",clipRule:"evenodd"})}),eR=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{fill:"none"},children:[(0,r.jsx)("path",{d:"M9.99804 9.99804L11.5352 8.46085M11.5352 8.46085L11.3748 6.16125C11.3546 5.87251 11.4606 5.58921 11.6653 5.38454L14.4175 2.63235L14.3534 5.64267L17.3637 5.57862L14.6115 8.33082C14.4069 8.53549 14.1236 8.64143 13.8348 8.62129L11.5352 8.46085Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M8.76393 6.19577C8.1029 6.41056 7.50925 6.79387 7.04148 7.30795C6.5737 7.82203 6.24795 8.44912 6.09633 9.12743C5.94471 9.80573 5.97246 10.5118 6.17683 11.1762C6.3812 11.8405 6.75515 12.4401 7.26181 12.9159C7.76848 13.3917 8.39038 13.7272 9.06622 13.8895C9.74206 14.0517 10.4485 14.0351 11.116 13.8412C11.7834 13.6473 12.3888 13.2828 12.8725 12.7837C13.3562 12.2845 13.7015 11.668 13.8743 10.9948",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),eL=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1804 7.71656C16.4803 8.44047 16.6346 9.21635 16.6346 9.99991C16.6346 10.7835 16.4803 11.5593 16.1804 12.2833C15.8806 13.0072 15.4411 13.6649 14.887 14.219C14.3329 14.773 13.6752 15.2125 12.9513 15.5124C12.2274 15.8122 11.4515 15.9666 10.6679 15.9666C9.88438 15.9666 9.1085 15.8122 8.38459 15.5124C7.66068 15.2125 7.00292 14.773 6.44886 14.219C5.89481 13.6649 5.45531 13.0072 5.15545 12.2832C4.8556 11.5593 4.70127 10.7835 4.70127 9.99991C4.70127 9.21635 4.8556 8.44047 5.15545 7.71656C5.45531 6.99265 5.89481 6.33489 6.44887 5.78084C7.00292 5.22678 7.66068 4.78728 8.38459 4.48742C9.1085 4.18757 9.88438 4.03324 10.6679 4.03324C11.4515 4.03324 12.2274 4.18757 12.9513 4.48743C13.6752 4.78728 14.333 5.22678 14.887 5.78084C15.4411 6.33489 15.8806 6.99265 16.1804 7.71656ZM18.0346 9.99991C18.0346 9.0325 17.8441 8.07457 17.4738 7.18081C17.1036 6.28704 16.561 5.47495 15.877 4.79089C15.1929 4.10683 14.3808 3.5642 13.487 3.19399C12.5933 2.82378 11.6353 2.63324 10.6679 2.63324C9.70053 2.63324 8.7426 2.82378 7.84883 3.19399C6.95507 3.5642 6.14297 4.10683 5.45892 4.79089C4.77486 5.47494 4.23223 6.28704 3.86202 7.1808C3.49181 8.07457 3.30127 9.0325 3.30127 9.99991C3.30127 10.9673 3.49181 11.9252 3.86202 12.819C4.23223 13.7128 4.77486 14.5249 5.45892 15.2089C6.14297 15.893 6.95507 16.4356 7.84883 16.8058C8.7426 17.176 9.70053 17.3666 10.6679 17.3666C11.6353 17.3666 12.5933 17.176 13.487 16.8058C14.3808 16.4356 15.1929 15.893 15.877 15.2089C16.561 14.5249 17.1036 13.7128 17.4738 12.819C17.8441 11.9252 18.0346 10.9673 18.0346 9.99991ZM9.39041 12.1616C9.66378 12.435 10.107 12.435 10.3804 12.1616L13.4104 9.13155C13.6838 8.85818 13.6838 8.41497 13.4104 8.1416C13.137 7.86823 12.6938 7.86823 12.4204 8.1416L9.88538 10.6767L8.66293 9.45421C8.38957 9.18085 7.94635 9.18085 7.67298 9.45421C7.39962 9.72758 7.39962 10.1708 7.67298 10.4442L9.39041 12.1616Z",fill:"currentColor"})}),eN=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.1396 4.86151C16.5024 6.22428 17.268 8.07258 17.268 9.99982C17.268 11.9271 16.5024 13.7754 15.1396 15.1381C13.7789 16.4988 11.9342 17.2642 10.0101 17.2665L10.0026 17.2665C9.52313 17.2665 9.04848 17.2191 8.58495 17.1269C8.25995 17.0623 8.0489 16.7464 8.11355 16.4214C8.1782 16.0964 8.49408 15.8853 8.81908 15.95C9.20559 16.0269 9.60139 16.0664 10.0013 16.0665V16.0665C11.6103 16.0665 13.1534 15.4273 14.2911 14.2896C15.4288 13.1519 16.068 11.6088 16.068 9.99982C16.068 8.39084 15.4288 6.84776 14.2911 5.71004C13.1553 4.5742 11.6154 3.93527 10.0093 3.93316L10.0026 3.9332C9.60225 3.9332 9.206 3.97277 8.81908 4.04974C8.49408 4.11439 8.1782 3.90333 8.11355 3.57833C8.0489 3.25333 8.25995 2.93745 8.58496 2.8728C9.04806 2.78068 9.52227 2.73328 10.0013 2.7332V2.73315C11.928
75866 2.73315 13.7769 3.49875 15.1396 4.86151ZM3.93596 9.99986C3.93596 10.4002 3.97553 10.7965 4.0525 11.1834C4.11716 11.5084 3.9061 11.8243 3.5811 11.8889C3.25609 11.9536 2.94022 11.7425 2.87556 11.4175C2.78336 10.954 2.73596 10.4794 2.73596 9.99986C2.73596 9.52037 2.78336 9.04571 2.87556 8.58219C2.94022 8.25719 3.25609 8.04613 3.5811 8.11078C3.9061 8.17543 4.11716 8.49131 4.0525 8.81631C3.97553 9.20324 3.93596 9.59949 3.93596 9.99986ZM4.12614 13.2048C4.40167 13.0207 4.77426 13.0948 4.95836 13.3703C5.17753 13.6984 5.42974 14.0065 5.71285 14.2896C5.99596 14.5728 6.30413 14.825 6.63215 15.0441C6.90768 15.2282 6.9818 15.6008 6.7977 15.8764C6.6136 16.1519 6.24101 16.226 5.96548 16.0419C5.57252 15.7793 5.20337 15.4772 4.86432 15.1382C4.52526 14.7991 4.22315 14.43 3.96059 14.037C3.77649 13.7615 3.85061 13.3889 4.12614 13.2048ZM4.12614 6.79493C3.85061 6.61084 3.77649 6.23824 3.96059 5.96271C4.22315 5.56975 4.52527 5.20061 4.86432 4.86155C5.20337 4.5225 5.57252 4.22038 5.96548 3.95782C6.24101 3.77372 6.61361 3.84784 6.7977 4.12337C6.9818 4.3989 6.90768 4.7715 6.63215 4.95559C6.30413 5.17476 5.99596 5.42697 5.71285 5.71008C5.42974 5.99319 5.17753 6.30136 4.95836 6.62938C4.77426 6.90491 4.40167 6.97903 4.12614 6.79493ZM7.07709 10.3734L8.79451 12.0908C9.02883 12.3251 9.40872 12.3251 9.64304 12.0908L12.6731 9.06075C12.9074 8.82644 12.9074 8.44654 12.6731 8.21223C12.4388 7.97791 12.0589 7.97791 11.8245 8.21223L9.21877 10.818L7.92561 9.52484C7.6913 9.29052 7.3114 9.29052 7.07709 9.52484C6.84277 9.75915 6.84277 10.1391 7.07709 10.3734Z",fill:"currentColor"})}),eI=()=>(0,r.jsxs)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M10.5212 16.7048C9.64369 16.7048 8.7748 16.532 7.9641 16.1962C7.15341 15.8604 6.4168 15.3682 5.79632 14.7477C5.17585 14.1273 4.68366 13.3907 4.34786 12.58C4.01206 11.7693 3.83923 10.9004 3.83923 10.0229C3.83923 9.1454 4.01206 8.27651 4.34786 7.46582C4.68366 6.65513 5.17585 5.91852 5.79633 5.29804C6.4168 4.67756 7.15341 4.18537 7.96411 3.84957C8.7748 3.51378 9.64369 3.34094 10.5212 3.34094C11.3987 3.34094 12.2676 3.51378 13.0782 3.84958C13.8889 4.18537 14.6256 4.67756 15.246 5.29804C15.8665 5.91852 16.3587 6.65513 16.6945 7.46582C17.0303 8.27651 17.2031 9.14541 17.2031 10.0229C17.2031 10.9004 17.0303 11.7693 16.6945 12.58C16.3587 13.3907 15.8665 14.1273 15.246 14.7477C14.6255 15.3682 13.8889 15.8604 13.0782 16.1962C12.2676 16.532 11.3987 16.7048 10.5212 16.7048L10.5212 16.7048Z",fill:"none",stroke:"currentColor",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M12.6115 11.6935L10.5234 10.4406L10.5234 6.68201",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),eM=()=>(0,r.jsxs)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M10.3502 16.6954C9.47317 16.6954 8.60477 16.5226 7.79454 16.187C6.98431 15.8514 6.24811 15.3595 5.62799 14.7394C5.00786 14.1193 4.51595 13.3831 4.18034 12.5728C3.84473 11.7626 3.672 10.8942 3.672 10.0172C3.672 9.14022 3.84473 8.27182 4.18034 7.46159C4.51595 6.65136 5.00786 5.91516 5.62799 5.29504C6.24811 4.67491 6.98431 4.183 7.79454 3.84739C8.60477 3.51179 9.47317 3.33905 10.3502 3.33905C11.2271 3.33905 12.0955 3.51179 12.9058 3.8474C13.716 4.183 14.4522 4.67491 15.0723 5.29504C15.6925 5.91516 16.1844 6.65136 16.52 7.46159C16.8556 8.27182 17.0283 9.14022 17.0283 10.0172C17.0283 10.8942 16.8556 11.7626 16.52 12.5728C16.1844 13.3831 15.6925 14.1193 15.0723 14.7394C14.4522 15.3595 13.716 15.8514 12.9058 16.187C12.0955 16.5226 11.2271 16.6954 10.3502 16.6954L10.3502 16.6954Z",fill:"none",stroke:"currentColor",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M7.33301 10.1241L13.5813 10.1241",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),eB=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.21152 5.89502V4.79062H11.8201V5.89502H8.21152ZM6.81152 5.89502V4.50801C6.81152 3.8909 7.31179 3.39062 7.92891 3.39062H12.1028C12.7199 3.39062 13.2201 3.8909 13.2201 4.50801V5.89502H15.0249C15.4115 5.89502 15.7249 6.20842 15.7249 6.59502C15.7249 6.98162 15.4115 7.29502 15.0249 7.29502H14.2374L13.5508 15.4538C13.5021 16.0326 13.0181 16.4775 12.4373 16.4775H7.59515C7.01436 16.4775 6.5304 16.0326 6.4817 15.4538L5.79509 7.29502H5.00762C4.62102 7.29502 4.30762 6.98162 4.30762 6.59502C4.30762 6.20842 4.62102 5.89502 5.00762 5.89502H6.81152ZM7.85498 15.0775L7.20004 7.29502H12.8324L12.1775 15.0775H7.85498Z",fill:"#DA0C22"})}),eD=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.07891 5.36491C8.07891 4.784 8.54983 4.31309 9.13073 4.31309H10.8826C11.4635 4.31309 11.9344 4.784 11.9344 5.36491L4.75183 5.36492C3.78432 5.36492 3 6.14923 3 7.11674V8.71164V9.41164V10.1116V13.2481C3 14.2156 3.78432 15 4.75183 15H15.2628C16.2303 15 17.0146 14.2156 17.0146 13.2481V10.1116V9.41164V8.71164V7.11674C17.0146 6.14924 16.2303 5.36492 15.2628 5.36492L13.3344 5.36491C13.3344 4.01081 12.2367 2.91309 10.8826 2.91309H9.13073C7.77663 2.91309 6.67891 4.01081 6.67891 5.36491H8.07891ZM15.6146 8.71164H4.4V7.11674C4.4 6.92243 4.55752 6.76492 4.75183 6.76492H15.2628C15.4571 6.76492 15.6146 6.92243 15.6146 7.11674V8.71164ZM15.6146 13.2481V10.1116H4.4V13.2481C4.4 13.4424 4.55752 13.6 4.75183 13.6H15.2628C15.4571 13.6 15.6146 13.4424 15.6146 13.2481Z",fill:"#27241D"})}),e$=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_14341_27987)",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_14341_27987",fill:"white",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5147 11.0476L10.8684 15.6939C10.2164 16.3458 9.15932 16.3458 8.50733 15.6939L3.78516 10.9717L3.78613 10.9707C2.15731 9.34062 2.15769 6.69875 3.7873 5.06915C5.41722 3.43922 8.05982 3.43916 9.68983 5.06896C11.3198 3.43916 13.9624 3.43922 15.5924 5.06915C17.2223 6.69914 17.2223 9.34188 15.5924 10.9719C15.5667 10.9975 15.54
758608 11.0227 15.5147 11.0476Z"})}),(0,r.jsx)("path",{d:"M15.5147 11.0476L14.5503 10.0327L14.5374 10.045L14.5248 10.0576L15.5147 11.0476ZM3.78516 10.9717L2.79521 9.98173L1.80526 10.9717L2.79521 11.9616L3.78516 10.9717ZM3.78613 10.9707L4.77608 11.9607L5.76565 10.9711L4.77646 9.98114L3.78613 10.9707ZM9.68983 5.06896L8.69994 6.05897L9.68983 7.04874L10.6797 6.05897L9.68983 5.06896ZM14.5248 10.0576L9.87847 14.7039L11.8584 16.6838L16.5047 12.0375L14.5248 10.0576ZM9.87847 14.7039C9.7732 14.8092 9.60254 14.8092 9.49728 14.7039L7.51738 16.6838C8.71611 17.8825 10.6596 17.8825 11.8584 16.6838L9.87847 14.7039ZM9.49728 14.7039L4.77511 9.98173L2.79521 11.9616L7.51738 16.6838L9.49728 14.7039ZM4.77511 11.9616L4.77608 11.9607L2.79618 9.98075L2.79521 9.98173L4.77511 11.9616ZM4.77646 9.98114C3.69399 8.89783 3.69425 7.1421 4.77724 6.0591L2.79735 4.0792C0.621138 6.25541 0.620622 9.78341 2.7958 11.9603L4.77646 9.98114ZM4.77724 6.0591C5.86046 4.97588 7.61667 4.97584 8.69994 6.05897L10.6797 4.07895C8.50297 1.90248 4.97399 1.90256 2.79735 4.0792L4.77724 6.0591ZM10.6797 6.05897C11.763 4.97584 13.5192 4.97589 14.6024 6.0591L16.5823 4.0792C14.4057 1.90256 10.8767 1.90248 8.69994 4.07895L10.6797 6.05897ZM14.6024 6.0591C15.6857 7.14236 15.6857 8.89866 14.6024 9.98192L16.5823 11.9618C18.759 9.78509 18.759 6.25593 16.5823 4.0792L14.6024 6.0591ZM14.6024 9.98192C14.5852 9.99913 14.5678 10.0161 14.5503 10.0327L16.4791 12.0624C16.5138 12.0294 16.5482 11.9959 16.5823 11.9618L14.6024 9.98192Z",fill:"#0C264C",mask:"url(#path-1-inside-1_14341_27987)"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_14341_27987",children:(0,r.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]}),eO=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"white",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"10",cy:"10",r:"5",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("circle",{cx:"10.0002",cy:"9.99967",r:"0.833333",stroke:"#1E2532",strokeWidth:"1.66667"}),(0,r.jsx)("path",{d:"M15 10H16.6667",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M3.3335 10H5.00016",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M10 5V3.33333",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M10 16.667V15.0003",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),ez=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_369_32056)",children:[(0,r.jsx)("path",{d:"M18.0514 14.8869C17.7848 15.0264 17.5098 15.1493 17.228 15.2549C16.3312 15.5905 15.3811 15.7614 14.4235 15.7595C10.7269 15.7595 7.50675 13.2167 7.50675 9.95365C7.51148 9.51599 7.63293 9.08753 7.85856 8.71249
7586C8.08419 8.33744 8.40583 8.02941 8.79026 7.82019C5.44672 7.96081 4.5874 11.445 4.5874 13.4862C4.5874 19.2578 9.9066 19.8429 11.0526 19.8429C11.6706 19.8429 12.6025 19.6632 13.1619 19.4866L13.2642 19.4523C15.4166 18.7082 17.2515 17.2535 18.467 15.3275C18.5042 15.2689 18.5209 15.1995 18.5142 15.1303C18.5076 15.0612 18.4782 14.9962 18.4305 14.9457C18.3828 14.8951 18.3197 14.8619 18.251 14.8513C18.1824 14.8407 18.1121 14.8532 18.0514 14.8869Z",fill:"url(#paint0_linear_369_32056)"}),(0,r.jsx)("path",{opacity:"0.35",d:"M18.0514 14.8869C17.7848 15.0264 17.5098 15.1493 17.228 15.2549C16.3312 15.5905 15.3811 15.7614 14.4235 15.7595C10.7269 15.7595 7.50675 13.2167 7.50675 9.95365C7.51148 9.51599 7.63293 9.08753 7.85856 8.71249C8.08419 8.33744 8.40583 8.02941 8.79026 7.82019C5.44672 7.96081 4.5874 11.445 4.5874 13.4862C4.5874 19.2578 9.9066 19.8429 11.0526 19.8429C11.6706 19.8429 12.6025 19.6632 13.1619 19.4866L13.2642 19.4523C15.4166 18.7082 17.2515 17.2535 18.467 15.3275C18.5042 15.2689 18.5209 15.1995 18.5142 15.1303C18.5076 15.0612 18.4782 14.9962 18.4305 14.9457C18.3828 14.8951 18.3197 14.8619 18.251 14.8513C18.1824 14.8407 18.1121 14.8532 18.0514 14.8869Z",fill:"url(#paint1_radial_369_32056)"}),(0,r.jsx)("path",{d:"M8.26049 18.8618C7.56371 18.4293 6.95985 17.8626 6.48404 17.1947C5.94172 16.4517 5.56852 15.599 5.39064 14.6965C5.21275 13.794 5.23447 12.8634 5.45428 11.9702C5.67409 11.077 6.08666 10.2427 6.66306 9.52575C7.23946 8.80886 7.96573 8.22675 8.79092 7.82025C9.03466 7.70542 9.45104 7.49762 10.0049 7.50777C10.3951 7.51061 10.7794 7.60378 11.1276 7.77998C11.4758 7.95617 11.7784 8.2106 12.0118 8.52334C12.3273 8.94455 12.5012 9.45486 12.5087 9.98106C12.5087 9.96465 14.4195 3.7627 6.25905 3.7627C2.82958 3.7627 0.009441 7.01718 0.009441 9.87247C-0.00408634 11.3829 0.319088 12.8773 0.955476 14.2472C1.99551 16.4663 3.81425 18.2261 6.06632 19.1926C8.31839 20.1591 10.847 20.2648 13.1719 19.4898C12.3579 19.7465 11.4978 19.8235 10.6511 19.7156C9.80441 19.6078 8.99118 19.3175 8.26752 18.8649L8.26049 18.8618Z",fill:"url(#paint2_linear_369_32056)"}),(0,r.jsx)("path",{opacity:"0.41",d:"M8.26049 18.8618C7.56371 18.4293 6.95985 17.8626 6.48404 17.1947C5.94172 16.4517 5.56852 15.599 5.39064 14.6965C5.21275 13.794 5.23447 12.8634 5.45428 11.9702C5.67409 11.077 6.08666 10.2427 6.66306 9.52575C7.23946 8.80886 7.96573 8.22675 8.79092 7.82025C9.03466 7.70542 9.45104 7.49762 10.0049 7.50777C10.3951 7.51061 10.7794 7.60378 11.1276 7.77998C11.4758 7.95617 11.7784 8.2106 12.0118 8.52334C12.3273 8.94455 12.5012 9.45486 12.5087 9.98106C12.5087 9.96465 14.4195 3.7627 6.25905 3.7627C2.82958 3.7627 0.009441 7.01718 0.009441 9.87247C-0.00408634 11.3829 0.319088 12.8773 0.955476 14.2472C1.99551 16.4663 3.81425 18.2261 6.06632 19.1926C8.31839 20.1591 10.847 20.2648 13.1719 19.4898C12.3579 19.7465 11.4978 19.8235 10.6511 19.7156C9.80441 19.6078 8.99118 19.3175 8.26752 18.8649L8.26049 18.8618Z",fill:"url(#paint3_radial_369_32056)"}),(0,r.jsx)("path",{d:"M11.9 11.6309C11.8368 11.7129 11.6422 11.8262 11.6422 12.0731C11.6422 12.277 11.775 12.473 12.011 12.6379C13.1343 13.4191 15.2522 13.316 15.2576 13.316C16.09 13.314 16.9066 13.0887 17.6223 12.6637C18.3443 12.2421 18.9435 11.6391 19.3605 10.9144C19.7775 10.1898 19.9978 9.36872 19.9995 8.53267C20.0198 6.782 19.3746 5.61801 19.1136 5.10242C17.4583 1.86434 13.8851 0.00195317 9.99938 0.00195317C7.37156 0.00169333 4.84926 1.03587 2.978 2.88081C1.10675 4.72576 0.0369536 7.23316 0 9.86071C0.0374977 7.0062 2.87482 4.70088 6.24961 4.70088C6.52303 4.70088 8.08231 4.72744 9.53065 5.48755C10.8071 6.15782 11.4758 6.96714 11.9407 7.76944C12.4234 8.60298 12.5094 9.65604 12.5094 10.0755C12.5094 10.495 12.2953 11.1169 11.9 11.6309Z",fill:"url(#paint4_radial_369_32056)"}),(0,r.jsx)("path",{d:"M11.9 11.6309C11.8368 11.7129 11.6422 11.8262 11.6422 12.0731C11.6422 12.277 11.775 12.473 12.011 12.6379C13.1343 13.4191 15.2522 13.316 15.2576 13.316C16.09 13.314 16.9066 13.0887 17.6223 12.6637C18.3443 12.2421 18.9435 11.6391 19.3605 10.9144C19.7775 10.1898 19.9978 9.36872 19.9995 8.53267C20.0198 6.782 19.3746 5.61801 19.1136 5.10242C17.4583 1.86434 13.8851 0.00195317 9.99938 0.00195317C7.37156 0.00169333 4.84926 1.03587 2.978 2.88081C1.10675 4.72576 0.0369536 7.23316 0 9.86071C0.0374977 7.0062 2.87482 4.70088 6.24961 4.70088C6.52303 4.70088 8.08231 4.72744 9.53065 5.48755C10.8071 6.15782 11.4758 6.96714 11.9407 7.76944C12.4234 8.60298 12.5094 9.65604 12.5094 10.0755C12.5094 10.495 12.2953 11.1169 11.9 11.6309Z",fill:"url(#paint5_radial_369_32056)"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_369_32056",x1:"4.5874",y1:"13.8331",x2:"18.5193",y2:"13.8331",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0C59A4"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#114A8B"})]}),(0,r.jsxs)("radialGradient",{id:"paint1_radial_369_32056",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(12.2822 13.9429) scale(7.4511 7.07854)",children:[(0,r.jsx)("stop",{offset:"0.72",stopOpacity:"0"}),(0,r.jsx)("stop",{offset:"0.95",stopOpacity:"0.53"}),(0,r.jsx)("stop",{offset:"1"})]}),(0,r.jsxs)("linearGradient",{id:"paint2_linear_369_32056",x1:"11.9329",y1:"7.78979",x2:"3.23111",y2:"17.2681",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#1B9DE2"}),(0,r.jsx)("stop",{offset:"0.16",stopColor:"#1595DF"}),(0,r.jsx)("stop",{offset:"0.67",stopColor:"#0680D7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#0078D4"})]}),(0,r.jsxs)("radialGradient",{id:"paint3_radial_369_32056",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(5.5157 15.5485) rotate(-81.3844) scale(11.2045 9.05208)",children:[(0,r.jsx)("stop",{offset:"0.76",stopOpacity:"0"}),(0,r.jsx)("stop",{offset:"0.95",stopOpacity:"0.5"}),(0,r.jsx)("stop",{offset:"1"})]}),(0,r.jsxs)("radialGradient",{id:"paint4_radial_369_32056",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(2.02038 3.70304) rotate(92.2906) scale(15.8265 33.7072)",children:[(0,r.jsx)("stop",{stopColor:"#35C1F1"}),(0,r.jsx)("stop",{offset:"0.11",stopColor:"#34C1ED"}),(0,r.jsx)("stop",{offset:"0.23",stopColor:"#2FC2DF"}),(0,r.jsx)("stop",{offset:"0.31",stopColor:"#2BC3D2"}),(0,r.jsx)("stop",{offset:"0.67",stopColor:"#36C752"})]}),(0,r.jsxs)("radialGradient",{id:"paint5_radial_369_32056",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(18.7545 6.04893) rotate(73.7398) scale(7.60421 6.18375)",children:[(0,r.jsx)("stop",{stopColor:"#66EB6E"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#66EB6E",stopOpacity:"0"})]}),(0,r.jsx)("clipPath",{id:"clip0_369_32056",children:(0,r.jsx)("rect",{width:"20",height:"20",fill:"white",transform:"translate(0 0.00195312)"})})]})]}),eF=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",children:[(0,r.jsx)("path",{d:"M17.1272 4.79346L17.6099 3.64107C17.6099 3.64107 17.0027 3.00423 16.2553 2.2764C15.508 1.54858 13.9355 1.97314 13.9355 1.97314L12.145 0.00195312H5.85498L4.04893 1.98831C4.04893 1.98831 2.47642 1.56374 1.72909 2.29157C0.981762 3.01939 0.374555 3.65624 0.374555 3.65624L0.857206 4.80863L0.25 6.50688C0.25 6.50688 2.05605 13.1483 2.25845 13.9671C2.67883 15.5592 2.95907 16.1809 4.14235 16.9997C5.32562 17.8185 7.45863 19.2135 7.81673 19.4258C8.15925 19.638 8.61077 20.002 9 20.002C9.38923 20.002 9.82518 19.638 10.1833 19.4258C10.5258 19.2135 12.6744 17.8033 13.8577 16.9997C15.0409 16.196 15.3212 15.5744 15.74
758615 13.9671C15.9595 13.1483 17.75 6.50688 17.75 6.50688L17.1272 4.79346Z",fill:"url(#paint0_linear_365_11716)"}),(0,r.jsx)("path",{d:"M13.436 3.2469C13.436 3.2469 15.7403 5.96107 15.7403 6.55243C15.7403 7.14379 15.4444 7.28026 15.1486 7.58352C14.8528 7.88678 13.5761 9.20596 13.4204 9.37275C13.2491 9.53954 12.9222 9.79731 13.109 10.2674C13.3114 10.7223 13.6072 11.3136 13.2803 11.9201C12.9533 12.5115 12.3928 12.9209 12.0347 12.8451C11.6766 12.7844 10.8203 12.3447 10.5089 12.1476C10.1975 11.9505 9.21668 11.162 9.21668 10.8587C9.21668 10.5555 10.2443 10.0096 10.4311 9.88829C10.6179 9.76699 11.4742 9.28177 11.4898 9.09982C11.5054 8.91786 11.5054 8.85721 11.2407 8.38715C10.9916 7.9171 10.5245 7.29542 10.6024 6.88602C10.6802 6.47662 11.412 6.26433 11.9413 6.06722C12.4707 5.8701 13.4827 5.50618 13.6072 5.44553C13.7318 5.38488 13.7007 5.33939 13.3114 5.2939C12.9222 5.26358 11.8479 5.11195 11.3497 5.24841C10.8515 5.38488 10.0263 5.582 9.94844 5.68814C9.88616 5.79428 9.82388 5.79428 9.88616 6.17336C9.94844 6.53727 10.3221 8.3265 10.3532 8.64493C10.3844 8.96335 10.4622 9.17563 10.1041 9.25145C9.7616 9.32726 9.16997 9.46373 8.96757 9.46373C8.76516 9.46373 8.17353 9.32726 7.831 9.25145C7.48847 9.17563 7.55075 8.96335 7.58189 8.64493C7.61303 8.3265 7.97112 6.55243 8.04897 6.17336C8.11125 5.80944 8.06454 5.79428 7.98669 5.68814C7.92442 5.582 7.08367 5.38488 6.58545 5.24841C6.08723 5.11195 5.01294 5.24841 4.62371 5.2939C4.23447 5.32423 4.20333 5.38488 4.32789 5.44553C4.45244 5.50618 5.46445 5.8701 5.99381 6.06722C6.52317 6.26433 7.25493 6.47662 7.33278 6.88602C7.41063 7.29542 6.95911 7.9171 6.69443 8.38715C6.44532 8.85721 6.42975 8.9027 6.44532 9.09982C6.46089 9.28177 7.31721 9.76699 7.50404 9.88829C7.69088 10.0096 8.71845 10.5555 8.71845 10.8587C8.71845 11.162 7.73758 11.9505 7.4262 12.1476C7.11481 12.3447 6.27406 12.7693 5.9004 12.8451C5.5423 12.9057 4.9818 12.5115 4.65484 11.9201C4.32789 11.3288 4.6237 10.7374 4.82611 10.2674C5.02851 9.81248 4.68598 9.55471 4.51472 9.37275C4.34346 9.20596 3.08234 7.88678 2.78652 7.58352C2.4907 7.28026 2.21045 7.12863 2.21045 6.55243C2.21045 5.97624 4.51472 3.2469 4.51472 3.2469C4.51472 3.2469 6.46089 3.61081 6.72557 3.61081C6.99025 3.61081 7.55075 3.39853 8.08011 3.23173C8.60947 3.06494 8.952 3.06494 8.952 3.06494C8.952 3.06494 9.29452 3.06494 9.82388 3.23173C10.3532 3.39853 10.9137 3.61081 11.1784 3.61081C11.4431 3.61081 13.436 3.2469 13.436 3.2469ZM11.7078 13.6336C11.8479 13.7245 11.7701 13.8913 11.6299 13.9671C11.5054 14.0581 9.74603 15.3773 9.59034 15.5289C9.41908 15.6806 9.16997 15.908 8.9987 15.908C8.82744 15.908 8.57833 15.6654 8.40707 15.5289C8.2358 15.3773 6.49203 14.0581 6.36748 13.9671C6.24292 13.8762 6.14951 13.7094 6.28963 13.6336C6.42975 13.5426 6.88127 13.3303 7.48847 13.0119C8.11125 12.6934 8.87415 12.4357 8.9987 12.4357C9.12326 12.4357 9.88616 12.6934 10.5089 13.0119C11.1161 13.3303 11.5677 13.5577 11.7078 13.6336Z",fill:"white"}),(0,r.jsx)("path",{d:"M13.9359 1.98831L12.1454 0.00195312H5.85538L4.04933 1.98831C4.04933 1.98831 2.47682 1.56374 1.72949 2.29157C1.72949 2.29157 3.83136 2.10961 4.54755 3.24684C4.54755 3.24684 6.49373 3.61075 6.75841 3.61075C7.02309 3.61075 7.58358 3.39847 8.11294 3.23167C8.6423 3.06488 8.98483 3.06488 8.98483 3.06488C8.98483 3.06488 9.32735 3.06488 9.85671 3.23167C10.3861 3.39847 10.9466 3.61075 11.2113 3.61075C11.4759 3.61075 13.4221 3.24684 13.4221 3.24684C14.1383 2.10961 16.2402 2.29157 16.2402 2.29157C15.5084 1.56374 13.9359 1.98831 13.9359 1.98831Z",fill:"url(#paint1_linear_365_11716)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_365_11716",x1:"0.26025",y1:"9.99749",x2:"17.7466",y2:"9.99749",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#FF5500"}),(0,r.jsx)("stop",{offset:"0.41",stopColor:"#FF5500"}),(0,r.jsx)("stop",{offset:"0.582",stopColor:"#FF2000"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FF2000"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_365_11716",x1:"2.05378",y1:"1.80021",x2:"16.2627",y2:"1.80021",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#FF452A"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FF2000"})]})]})]}),eH=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z",clipRule:"evenodd"})}),eV=()=>(0,r.jsxs)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_6196_28677",fill:"white",children:(0,r.jsx)("rect",{x:"4.68359",y:"4.18359",width:"5.01923",height:"5.01923",rx:"0.836538"})}),(0,r.jsx)("rect",{x:"4.68359",y:"4.18359",width:"5.01923",height:"5.01923",rx:"0.836538",stroke:"#828BA2",strokeWidth:"2.8",mask:"url(#path-1-inside-1_6196_28677)"}),(0,r.jsx)("mask",{id:"path-2-inside-2_6196_28677",fill:"white",children:(0,r.jsx)("rect",{x:"4.68359",y:"10.875",width:"5.01923",height:"5.01923",rx:"0.836538"})}),(0,r.jsx)("rect",{x:"4.68359",y:"10.875",width:"5.01923",height:"5.01923",rx:"0.836538",stroke:"#828BA2",strokeWidth:"2.8",mask:"url(#path-2-inside-2_6196_28677)"}),(0,r.jsx)("mask",{id:"path-3-inside-3_6196_28677",fill:"white",children:(0,r.jsx)("rect",{x:"11.375",y:"4.18359",width:"5.01923",height:"5.01923",rx:"0.836538"})}),(0,r.jsx)("rect",{x:"11.375",y:"4.18359",width:"5.01923",height:"5.01923",rx:"0.836538",stroke:"#828BA2",strokeWidth:"2.8",mask:"url(#path-3-inside-3_6196_28677)"}),(0,r.jsx)("mask",{id:"path-4-inside-4_6196_28677",fill:"white",children:(0,r.jsx)("rect",{x:"11.375",y:"10.875",width:"5.01923",height:"5.01923",rx:"0.836538"})}),(0,r.jsx)("rect",{x:"11.375",y:"10.875",width:"5.01923",height:"5.01923",rx:"0.836538",stroke:"#828BA2",strokeWidth:"2.8",mask:"url(#path-4-inside-4_6196_28677)"})]}),eU=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 14L10 14V16H4L4 10H6L6 14ZM16 4L16 10H14L14 6L10 6V4L16 4Z",fill:"currentColor"}),eW=()=>(0,r.jsx)("path",{d:"M11.6686 6.66858L15.0029 10.0029M15.0029 10.0029L11.6686 13.3372M15.0029 10.0029H5",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),eK=()=>(0,r.jsx)("path",{d:"M6.66797 11.67L10.0023 15.0043M10.0023 15.0043L13.3365 11.67M10.0023 15.0043V5.00146",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),eq=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M10.8332 5.83341L7.24983 2.25008C6.87348 1.87554 6.36413 1.66528 5.83317 1.66528C5.30221 1.66528 4.79285 1.87554 4.4165 2.25008L2.24984 4.41675C1.8753 4.7931 1.66504 5.30245 1.66504 5.83341C1.66504 6.36437 1.8753 6.87373 2.24984 7.25008L5.83317 10.8334",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M6.6665 4.99992L8.33317 3.33325",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M15 13.3334L16.6667 11.6667",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M14.1665 9.16675L17.7498 12.7501C18.5332 13.5334 18.5332 14.8001 17.7498 15.5834L15.5832 17.7501C14.7998 18.5334 13.5332 18.5334 12.7498 17.7501L9.1665 14.1667",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M17.6448 5.67658C18.0854 5.2361 18.3329 4.638
758663 18.333 4.01562C18.3331 3.39261 18.0857 2.79508 17.6452 2.35449C17.2047 1.9139 16.6073 1.66634 15.9842 1.66626C15.3612 1.66618 14.7637 1.9136 14.3231 2.35408L3.20145 13.4782C3.00797 13.6712 2.86488 13.9087 2.78478 14.1699L1.68395 17.7966C1.66241 17.8686 1.66079 17.9452 1.67924 18.0181C1.6977 18.091 1.73555 18.1576 1.78878 18.2107C1.84201 18.2639 1.90863 18.3016 1.98158 18.32C2.05453 18.3383 2.13108 18.3366 2.20312 18.3149L5.83062 17.2149C6.09159 17.1355 6.32909 16.9933 6.52228 16.8007L17.6448 5.67658Z",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12.5 4.16675L15.8333 7.50008",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]}),eG=()=>(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{opacity:"0.4",d:"M5.26228 3.2946C5.31872 3.15638 5.51445 3.15638 5.57089 3.2946L5.88822 4.07185C5.97287 4.27918 6.13741 4.44372 6.34474 4.52837L7.12199 4.8457C7.26021 4.90214 7.26021 5.09787 7.12199 5.15431L6.34474 5.47164C6.13741 5.55629 5.97287 5.72083 5.88822 5.92816L5.57089 6.70541C5.51445 6.84363 5.31872 6.84363 5.26228 6.70541L4.94495 5.92816C4.8603 5.72083 4.69576 5.55629 4.48843 5.47164L3.71118 5.15431C3.57296 5.09787 3.57296 4.90214 3.71118 4.8457L4.48843 4.52837C4.69576 4.44372 4.8603 4.27918 4.94495 4.07185L5.26228 3.2946Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M4.42911 12.4613C4.48555 12.323 4.68128 12.323 4.73772 12.4613L5.29665 13.8302C5.3813 14.0376 5.54583 14.2021 5.75316 14.2868L7.12215 14.8457C7.26038 14.9021 7.26037 15.0979 7.12215 15.1543L5.75316 15.7132C5.54583 15.7979 5.3813 15.9624 5.29665 16.1697L4.73772 17.5387C4.68128 17.677 4.48555 17.677 4.42911 17.5387L3.87018 16.1697C3.78553 15.9624 3.621 15.7979 3.41367 15.7132L2.04468 15.1543C1.90645 15.0979 1.90645 14.9021 2.04468 14.8457L3.41367 14.2868C3.621 14.2021 3.78553 14.0376 3.87018 13.8302L4.42911 12.4613Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M11.3272 3.93897C11.2989 3.86985 11.2011 3.86985 11.1728 3.93897L9.96744 6.89137C9.62884 7.7207 8.9707 8.37884 8.14137 8.71744L5.18897 9.92285C5.11985 9.95107 5.11985 10.0489 5.18897 10.0772L8.14137 11.2826C8.9707 11.6212 9.62884 12.2793 9.96744 13.1086L11.1728 16.061C11.2011 16.1301 11.2989 16.1301 11.3272 16.061L12.5326 13.1086C12.8712 12.2793 13.5293 11.6212 14.3586 11.2826L17.311 10.0772C17.3801 10.0489 17.3801 9.95107 17.311 9.92285L14.3586 8.71744C13.5293 8.37884 12.8712 7.7207 12.5326 6.89137L11.3272 3.93897Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.833333",strokeMiterlimit:"3.99933"})]}),eZ=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M4.167 4.867h3.475c.257 0 .503.102.684.283a2.5 2.5 0 0 0 3.348 0 .967.967 0 0 1 .684-.283h3.475c.534 0 .967.433.967.967v7.5a.967.967 0 0 1-.967.966h-3.288a2.9 2.9 0 0 0-1.218.337l-.83.498a1.033 1.033 0 0 1-.994 0l-.83-.498a2.9 2.9 0 0 0-1.218-.337H4.167A.967.967 0 0 1 3.2 13.333v-7.5c0-.534.433-.966.967-.966Z",fill:"none",stroke:"currentColor",strokeWidth:"1.4"}),(0,r.jsx)("path",{d:"M10 5.833v9.167",fill:"none",stroke:"currentColor",strokeWidth:"1.4"})]}),eX=()=>{let e=(0,n.useId)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("mask",{id:`${e}-1`,fill:"white",children:(0,r.jsx)("rect",{x:"4",y:"4",width:"5",height:"5",rx:"0.8"})}),(0,r.jsx)("rect",{x:"4",y:"4",width:"5",height:"5",rx:"0.8",stroke:"currentColor",strokeWidth:"2.8",mask:`url(#${e}-1)`,fill:"none"}),(0,r.jsx)("mask",{id:`${e}-2`,fill:"white",children:(0,r.jsx)("rect",{x:"4",y:"10.6953",width:"5",height:"5",rx:"0.8"})}),(0,r.jsx)("rect",{x:"4",y:"10.6953",width:"5",height:"5",rx:"0.8",stroke:"currentColor",strokeWidth:"2.8",mask:`url(#${e}-2)`,fill:"none"}),(0,r.jsx)("mask",{id:`${e}-3`,fill:"white",children:(0,r.jsx)("rect",{x:"10.6914",y:"4",width:"5",height:"5",rx:"0.8"})}),(0,r.jsx)("rect",{x:"10.6914",y:"4",width:"5",height:"5",rx:"0.8",stroke:"currentColor",strokeWidth:"2.8",mask:`url(#${e}-3)`,fill:"none"}),(0,r.jsx)("mask",{id:`${e}-4`,fill:"white",children:(0,r.jsx)("rect",{x:"10.6914",y:"10.6953",width:"5",height:"5",rx:"0.8"})}),(0,r.jsx)("rect",{x:"10.6914",y:"10.6953",width:"5",height:"5",rx:"0.8",stroke:"currentColor",strokeWidth:"2.8",mask:`url(#${e}-4)`,fill:"none"})]})},eQ=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M10 13.333V4.167M10 4.167 6.25 7.917M10 4.167l3.75 3.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("path",{d:"M3.333 12.5v2.083c0 .92.747 1.667 1.667 1.667h10c.92 0 1.667-.746 1.667-1.667V12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})},31699:function(e,t,i){"use strict";i.r(t),i.d(t,{Add:function(){return n},AddMiddle:function(){return a},AddSmall:function(){return o},Ai:function(){return i2},AiIcon:function(){return i4},AlignCenter:function(){return i8},AlignJustify:function(){return i7},AlignLeft:function(){return i6},AlignRight:function(){return i9},ArrowDown:function(){return c},ArrowRight:function(){return ic},ArrowRight2:function(){return iu},ArrowTarget:function(){return ig},ArrowTargetAutoTailoring:function(){return iy},ArrowUp:function(){return d},AttachMedium:function(){return iR},AutoApply:function(){return tU},AutoApplyActive:function(){return t5},Bag:function(){return eD},BellIcon:function(){return ip},BindLink:function(){return U},Bold:function(){return $},Brave:function(){return im},Briefcase:function(){return ta},Burger:function(){return ej},BurgerClose:function(){return eA},Calendar:function(){return eg},CalendarOutlined:function(){return ey},CareerTick:function(){return f},Careerminds:function(){return L},Cash:function(){return u},Chat:function(){return iM},CheckLine:function(){return rr},Chevron:function(){return _},ChevronDown:function(){return tg},ChevronDownV2:function(){return iB},ChevronLeft:function(){return v},ChevronLeftCurrentColor:function(){return j},ChevronLightDown:function(){return tj},ChevronLightUp:function(){return t_},ChevronRight:function(){return A},ChevronUp:function(){return C},ChevronUp2:function(){return ty},CircleError:function(){return eq},CircleSuccess:function(){return eW},CircleWithLines:function(){return io},ClockIcon:function(){return ia},ClockLine:function(){return ra},Close:function(){return w},CloseBig:function(){return T},CloseIcon:function(){return k},CloseLarge:function(){return S},CloseV2:function(){return P},Coaching:function(){return tX},CoachingActive:function(){return t7}
7586,ColorBaseline:function(){return i0},Colors:function(){return iG},Combine:function(){return eF},Company:function(){return em},Completeness0Percent:function(){return tM},Completeness50Percent:function(){return tB},Complitness100:function(){return iS},Conversation:function(){return iI},Crosshair:function(){return rs},Crown:function(){return re},Dashboard:function(){return tz},DashboardActive:function(){return t0},DashboardBuilder:function(){return ir},Deal:function(){return i_},Delete:function(){return ik},Description:function(){return p},DocumentMedium:function(){return iN},Documents:function(){return tF},DocumentsActive:function(){return t1},Docx:function(){return i$},DocxStaticColor:function(){return iF},DoubleStars:function(){return tm},Download:function(){return ee},Download2:function(){return et},DownloadIcon:function(){return id},Duplicate:function(){return Q},Edge:function(){return ix},Edit:function(){return er},EditAlt:function(){return en},EditMedium:function(){return iE},Ellipsis:function(){return th},Email:function(){return ec},Error:function(){return eK},Error2:function(){return tO},EventSearch:function(){return tx},Export:function(){return ew},Extension:function(){return tn},ExternalLink:function(){return e1},ExternalLinkV2:function(){return e2},FaceBad:function(){return eX},FaceGood:function(){return e0},FaceNormal:function(){return eQ},Facebook:function(){return el},FeaturedIcon:function(){return is},FeaturedRegular:function(){return iU},FilePdfColor:function(){return e5},FilePdfGray:function(){return e4},FileTxt:function(){return eO},FileTxtColor:function(){return e9},FileWord:function(){return ez},FileWordColor:function(){return e6},FileWordGray:function(){return e8},Filter:function(){return e_},FontSize:function(){return J},FontSizeLock:function(){return E},ForwardIcon:function(){return tD},FullSize:function(){return N},FullSizeLarge:function(){return I},Ghost:function(){return ro},Gift:function(){return ev},Google:function(){return ed},Grid:function(){return g},GridRound:function(){return rc},HandModern:function(){return ib},Heart:function(){return ts},HeartFullFilled:function(){return tc},HeartOutlined:function(){return td},HighlightPicker:function(){return iY},Hint:function(){return eJ},HintClose:function(){return eR},HintOutlined:function(){return eE},Home:function(){return tt},IconSend:function(){return ih},ImageLarge:function(){return eP},ImageSmall:function(){return eT},Info:function(){return tE},InfoRegular:function(){return tR},InfoRegularFilled:function(){return tL},Interview:function(){return tr},InterviewPrep:function(){return tK},InterviewPrepActive:function(){return t4},Invisible:function(){return eL},InvisibleSmall:function(){return eN},Italic:function(){return O},Job:function(){return eY},JobMedium:function(){return iT},JobSearch:function(){return eH},JobSearchMethod:function(){return tZ},JobSearchMethodActive:function(){return t9},JobTracker:function(){return ti},Jobs:function(){return tH},JobsActive:function(){return t2},LeftArrow:function(){return X},Like:function(){return tu},LikeFilled:function(){return tp},LineSpacingIcon:function(){return R},Link:function(){return K},Linkedin:function(){return es},ListIcon:function(){return tI},LoaderQuarter:function(){return e3},Location:function(){return ef},Location1Medium:function(){return iP},LocationOutlined:function(){return eb},Lock:function(){return eC},LogOut:function(){return tN},Mail:function(){return eI},MailLine:function(){return rd},Mic:function(){return tS},MicClosed:function(){return tT},Microphone:function(){return tP},MoneyIcon:function(){return il},MoneyMedium:function(){return iL},More:function(){return eM},MoreMenu:function(){return tY},NavJobTracker:function(){return tV},NavJobTrackerActive:function(){return t3},NavMore:function(){return tQ},NavMoreActive:function(){return ie},Near:function(){return ij},Near2:function(){return iA},NewLocation:function(){return tw},NewSearch:function(){return tv},None:function(){return i1},OrderedList:function(){return F},Pdf:function(){return tb},PdfCurrentColor:function(){return iD},PdfStaticColor:function(){return iz},Person:function(){return h},Pin:function(){return eB},Play:function(){return eu},RedWarning:function(){return eZ},RejectRegular:function(){return iX},Remove:function(){return l},RemoveAlt:function(){return s},ResumeDistribution:function(){return tG},ResumeDistributionActive:function(){return t8},Revert:function(){return eo},RightArrow:function(){return Z},Rotate:function(){return ea},SalaryAnalyzer:function(){return tq},SalaryAnalyzerActive:function(){return t6},Saved:function(){return iZ},Scan:function(){return ru},Screen:function(){return tl},Search:function(){return ex},SearchOff:function(){return rl},SettingNew:function(){return iw},Settings:function(){return D},Settings2:function(){return tJ},Share:function(){return M},ShieldCheck:function(){return rh},Simple:function(){return e7},SimpleFilled:function(){return te},SnackbarWarning:function(){return eV},Sound:function(){return tk},Sparkles:function(){return rp},SpellCheck:function(){return q},SpellCheckPending:function(){return G},Spinner:function(){return ek},SpinnerV2:function(){return eS},Star:function(){return eh},Strike:function(){return H},StudyOutlineIcon:function(){return iK},StudySolidIcon:function(){return iq},Success:function(){return eU},Target:function(){return t$},Text:function(){return tC},Tick:function(){return y},TickIcon:function(){return e$},TickLarge:function(){return b},TickSuccess:function(){return i3},ToggleArrow:function(){return x},Tracker:function(){return tW},TrackerActive:function(){return it},Trash:function(){return m},TrendingUp:function(){return rn},TryItChevron:function(){return ii},Tune:function(){return rx}
7586,TurnLeftRegular:function(){return iW},Twitter:function(){return ep},Txt:function(){return iO},TxtStaticColor:function(){return iH},UnbindLink:function(){return W},Underline:function(){return V},UndoRegular:function(){return iQ},Unlocked:function(){return iC},UnorderedList:function(){return z},UpNDown:function(){return iV},UpdateIcon:function(){return iv},Upload:function(){return Y},UploadResume:function(){return tf},UrlMedium:function(){return iJ},User:function(){return rt},View:function(){return B},Warning:function(){return i5},WarningTriangle:function(){return eG},Word:function(){return tA},WorkBag:function(){return to},Zoom:function(){return ei}});var r=i(74848);let n=()=>(0,r.jsx)("polygon",{points:"13 11 18 11 18 13 13 13 13 18 11 18 11 13 6 13 6 11 11 11 11 6 13 6"}),o=()=>(0,r.jsx)("polygon",{points:"13 11 17 11 17 13 13 13 13 17 11 17 11 13 7 13 7 11 11 11 11 7 13 7"}),a=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2 6H10.8V10.8H6V13.2H10.8L10.8 18H13.2L13.2 13.2L18 13.2V10.8L13.2 10.8V6Z"}),l=()=>(0,r.jsx)("path",{d:"M6 11h12v2H6z"}),s=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.70078 7.19922V5.59922H14.3008V7.19922H9.70078ZM8.30078 7.19922V5.39922C8.30078 4.73648 8.83804 4.19922 9.50078 4.19922H14.5008C15.1635 4.19922 15.7008 4.73648 15.7008 5.39922V7.19922H15.7427H18.0008C18.3874 7.19922 18.7008 7.51262 18.7008 7.89922C18.7008 8.28582 18.3874 8.59922 18.0008 8.59922H16.9301L16.0969 18.4999C16.0446 19.1214 15.5248 19.5992 14.9011 19.5992H9.10047C8.47674 19.5992 7.957 19.1214 7.9047 18.4999L7.0715 8.59922H6.00078C5.61418 8.59922 5.30078 8.28582 5.30078 7.89922C5.30078 7.51262 5.61418 7.19922 6.00078 7.19922H8.25891H8.30078ZM15.0008 8.59922H9.00078H8.47645L9.28435 18.1992H14.7172L15.5251 8.59922H15.0008Z",fill:"#1A91F0"}),d=()=>(0,r.jsx)("path",{d:"M13,8.57080187 L13,19 L11,19 L11,8.57080187 L7.23715414,12.6757246 L5.76284586,11.3242754 L11.2628459,5.32427537 C11.6591824,4.89190821 12.3408176,4.89190821 12.7371541,5.32427537 L18.2371541,11.3242754 L16.7628459,12.6757246 L13,8.57080187 Z"}),c=()=>(0,r.jsx)("path",{d:"M11,16.4291981 L11,5.5 L13,5.5 L13,16.4291981 L16.7628459,12.3242754 L18.2371541,13.6757246 L12.7371541,19.6757246 C12.3408176,20.1080918 11.6591824,20.1080918 11.2628459,19.6757246 L5.76284586,13.6757246 L7.23715414,12.3242754 L11,16.4291981 Z"}),u=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0zm-2 0a1 1 0 11-2 0 1 1 0 012 0z M5 9h2v6H5V9zM19 9h-2v6h2V9z M2 6a1 1 0 011-1h18a1 1 0 011 1v12a1 1 0 01-1 1H3a1 1 0 01-1-1V6zm2 11V7h16v10H4z"}),p=()=>(0,r.jsx)("path",{d:"M21 5H3v2h18V5zm0 4H3v2h18V9zM3 13h18v2H3v-2zm11.5 4H3v2h11.5a.5.5 0 00.5-.5v-1a.5.5 0 00-.5-.5z"}),h=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 6V5h4v1h-4zM8 4a1 1 0 011-1h6a1 1 0 011 1h3a1 1 0 011 1v14a1 1 0 01-1 1H5a1 1 0 01-1-1V5a1 1 0 011-1h3zm8 2v1a1 1 0 01-1 1H9a1 1 0 01-1-1V6H6v12h1.1a5.009 5.009 0 013.043-3.644 3 3 0 113.714 0A5.009 5.009 0 0116.9 18H18V6h-2zm-4 10c1.306 0 2.417.835 2.83 2H9.17A3.001 3.001 0 0112 16zm1-4a1 1 0 11-2 0 1 1 0 012 0z"}),x=()=>(0,r.jsx)("path",{d:"M9.431 7.257l1.352-1.474 5.893 5.48a1 1 0 0 1 0 1.474l-5.893 5.45-1.352-1.475L14.521 12 9.43 7.257z"}),m=()=>(0,r.jsx)("path",{d:"M8,19 L16,19 L16,13 L8,13 L8,19 Z M16,7 L20,7 L20,9 L4,9 L4,7 L8,7 L8,3 L16,3 L16,7 Z M14,7 L14,5 L10,5 L10,7 L14,7 Z M6,11 L18,11 L18,21 L6,21 L6,11 Z",fillRule:"nonzero"}),g=()=>(0,r.jsx)("path",{d:"M5.5 5.5v4h4v-4h-4zM11 4v7H4V4h7zm3.5 1.5v4h4v-4h-4zM20 4v7h-7V4h7zM5.5 14.5v4h4v-4h-4zM11 13v7H4v-7h7zm3.5 1.5v4h4v-4h-4zM20 13v7h-7v-7h7z"}),y=()=>(0,r.jsx)("path",{d:"M16.6917162,8.75389189 L18.3082838,10.2461081 L12.3082838,16.7461081 C11.8845221,17.2051833 11.1639539,17.2195889 10.7221825,16.7778175 L6.22218254,12.2778175 L7.77781746,10.7221825 L11.4682653,14.4126304 L16.6917162,8.75389189 Z"}),f=()=>(0,r.jsx)("path",{d:"M20 7.40113L11.1061 17.4761C10.502 18.1605 9.45117 18.1766 8.82691 17.5111L4 12.3648L5.49827 10.9171L9.9391 15.6517L18.4593 6L20 7.40113Z"}),b=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m21 7.4-8.9 10.
758608c-.6.68-1.65.7-2.27.03L5 12.36l1.5-1.44 4.44 4.73L19.46 6 21 7.4Z"}),_=()=>(0,r.jsx)("path",{d:"M9.32427537,7.23715414 L10.6757246,5.76284586 L16.6757246,11.2628459 C17.1080918,11.6591824 17.1080918,12.3408176 16.6757246,12.7371541 L10.6757246,18.2371541 L9.32427537,16.7628459 L14.5201072,12 L9.32427537,7.23715414 Z"}),v=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5684 16.743L13.2169 18.2173L7.32379 12.7371C6.89142 12.3408 6.89142 11.6591 7.32379 11.2628L13.2169 5.81372L14.5684 7.28803L9.4794 11.9999L14.5684 16.743Z",fill:"#828BA2"}),j=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5684 16.743L13.2169 18.2173L7.32379 12.7371C6.89142 12.3408 6.89142 11.6591 7.32379 11.2628L13.2169 5.81372L14.5684 7.28803L9.4794 11.9999L14.5684 16.743Z",fill:"currentColor"}),A=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.42969 7.25556L10.7811 5.78125L16.6743 11.2614C17.1066 11.6578 17.1066 12.3394 16.6743 12.7358L10.7811 18.1848L9.42969 16.7105L14.5186 11.9986L9.42969 7.25556Z"}),C=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M17 14L12 9L7 14",fill:"none",stroke:"#0F141E",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),w=()=>(0,r.jsx)("path",{d:"M11.987107,10.5728934 L16.2800002,6.28000021 L17.6942138,7.69421377 L13.4013206,11.987107 L17.6942138,16.2800002 L16.2800002,17.6942138 L11.987107,13.4013206 L7.69421377,17.6942138 L6.28000021,16.2800002 L10.5728934,11.987107 L6.28000021,7.69421377 L7.69421377,6.28000021 L11.987107,10.5728934 Z"}),k=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"28",height:"28",rx:"14",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9498 12.5356L10.4142 9L9 10.4142L12.5356 13.9498L9.00003 17.4853L10.4142 18.8995L13.9498 15.364L17.4853 18.8995L18.8995 17.4853L15.364 13.9498L18.8995 10.4142L17.4853 9.00001L13.9498 12.5356Z",fill:"#828BA2"})]}),S=()=>(0,r.jsx)("path",{d:"M10.5857864,12 L3.79289322,5.20710678 L5.20710678,3.79289322 L12,10.5857864 L18.7928932,3.79289322 L20.2071068,5.20710678 L13.4142136,12 L20.2071068,18.7928932 L18.7928932,20.2071068 L12,13.4142136 L5.20710678,20.2071068 L3.79289322,18.7928932 L10.5857864,12 Z"}),T=()=>(0,r.jsx)("path",{d:"M4.29285 18.2928L5.70706 19.7071L12 13.4142L18.2928 19.7071L19.7071 18.2928L13.4142 12L19.7071 5.70706L18.2928 4.29285L12 10.5857L5.70706 4.29285L4.29285 5.70706L10.5857 12L4.29285 18.2928Z"}),P=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M7 7L17 17",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M17 7L7 17",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),J=()=>(0,r.jsx)("path",{d:"M11.835 17h1.615L8.89 5.03H7.56L3 17h1.615l1.14-2.945h4.94L11.835 17zm-3.61-9.5l1.995 5.225H6.23L8.225 7.5zM17.9113 8.355c-1.9 0-3.04 1.14-3.23 2.565h1.52c.19-.76.665-1.235 1.71-1.235s1.805.76 1.805 1.615v.475c-4.275 0-5.415 1.14-5.415 2.755 0 1.425 1.14 2.565 2.85 2.565 1.71 0 2.565-1.045 2.565-1.045l.38.95h1.045v-5.7c0-1.615-1.33-2.945-3.23-2.945zm-.76 7.41c-.855 0-1.425-.57-1.425-1.14 0-.95.57-1.52 3.99-1.52v.665c0 .95-1.045 1.995-2.565 1.995z"}),E=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.45 17h-1.615l-1.14-2.945h-4.94L4.615 17H3L7.56 5.03h1.33L13.45 17zm-3.23-4.275L8.225 7.5 6.23 12.725h3.99zM15.8999 11.0004V12H15.5c-.2761 0-.5.2239-.5.5v4c0 .2761.2239.5.5.5h6c.2761 0 .5-.2239.5-.5v-4c0-.2761-.2239-.5-.5-.5h-.4001v-.9996c0-.4972-.117-1.14079-.5218-1.67492-.4265-.56273-1.1131-.92509-2.0782-.92509-.9651 0-1.6517.36236-2.0782.92509-.4048.53413-.5218 1.17772-.5218 1.67492zm1.4782-.9501c-.1952.2575-.2782.614-.2782.9501V12h2.8v-.9996c0-.3361-.083-.6926-.2782-.9501-.1735-.22893-.4869-.44991-1.1218-.44991-.6349 0-.9483.22098-1.1218.44991z"}),R=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M15.835 17H17.45L12.89 5.03003H11.56L7 17H8.615L9.755 14.055H14.695L15.835 17ZM12.225 7.50003L14.22 12.725H10.23L12.225 7.50003Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 22H3V21.3H21V22Z",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 1.99999H3V1.29999H21V1.99999Z",fill:"white"})]}),L=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"mask0_3984_1940",maskUnits:"userSpaceOnUse",x:"0",y:"4",width:"24",height:"16",children:(0,r.jsx)("path",{d:"M24 4H0V20H24V4Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask0_3984_1940)",children:[(0,r.jsx)("mask",{id:"mask1_3984_1940",maskUnits:"userSpaceOnUse",x:"0",y:"4",width:"24",height:"16",children:(0,r.jsx)("path",{d:"M24 4H0V20H24V4Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask1_3984_1940)",children:[(0,r.jsx)("path",{d:"M0 12C0 16.4183 3.58172 20 8 20V4C3.58172 4 0 7.58173 0 12Z",fill:"#1D264A"}),(0,r.jsx)("path",{d:"M8.5 12.5C8.5 16.6421 11.8579 20 16 20V11.5C16 7.35787 12.6421 4 8.5 4V12.5Z",fill:"#C6E8E6"}),(0,r.jsx)("path",{d:"M16.5 12.5C16.5 16.6421 19.8579 20 24 20V11.5C24 7.35787 20.6421 4 16.5 4V12.5Z",fill:"#C6E8E6"})]})]})]}),N=()=>(0,r.jsx)("path",{d:"M8,17 L12,17 L12,19 L6,19 L6,13 L8,13 L8,17 Z M18,6 L18,12 L16,12 L16,8 L12,8 L12,6 L18,6 Z"}),I=()=>(0,r.jsx)("path",{d:"M7 17h4v2H5v-6h2v4zM19 5v6h-2V7h-4V5h6z"}),M=()=>(0,r.jsx)("path",{d:"M13,6.16414207 L13,13 L11,13 L11,6.16414207 L8.5,8.25257669 L7.18299078,6.74742331 L11.3414954,3.24742331 C11.7185214,2.91752556 12.2814786,2.91752556 12.6585046,3.24742331 L16.8170092,6.74742331 L15.5,8.25257669 L13,6.16414207 Z M16,18 L16,
758611 L18,11 L18,19 C18,19.5522847 17.5522847,20 17,20 L7,20 C6.44771525,20 6,19.5522847 6,19 L6,11 L8,11 L8,18 L16,18 Z"}),B=()=>(0,r.jsx)("path",{d:"M12 6C8.46687 6 5.37921 8.01049 3.6911 11.0097C3.5299 11.2961 3.31086 11.7813 3.16293 12.1201C3.05691 12.3628 3.05604 12.6378 3.16037 12.8813C3.27961 13.1597 3.44162 13.5262 3.56075 13.7514C5.217 16.8823 8.37388 19 12 19C15.6054 19 18.7468 16.9066 20.4106 13.8053C20.5386 13.5668 20.7126 13.1751 20.8383 12.8829C20.9435 12.6384 20.9425 12.3621 20.8354 12.1185C20.6782 11.761 20.4401 11.2373 20.2645 10.9315C18.567 7.97556 15.5024 6 12 6ZM12 16.8333C9.74186 16.8333 7.90913 14.892 7.90913 12.5C7.90913 10.108 9.74186 8.16667 12 8.16667C14.2582 8.16667 16.0909 10.108 16.0909 12.5C16.0909 14.892 14.2582 16.8333 12 16.8333ZM12 9.9C10.6419 9.9 9.54549 11.0613 9.54549 12.5C9.54549 13.9387 10.6419 15.1 12 15.1C13.3582 15.1 14.4546 13.9387 14.4546 12.5C14.4546 11.0613 13.3582 9.9 12 9.9Z",fill:"currentColor"}),D=()=>(0,r.jsx)("path",{d:"M6,17 L6,15 L8,15 L8,17 L21,17 L21,19 L8,19 L8,21 L6,21 L6,19 L3,19 L3,17 L6,17 Z M16,11 L16,9 L18,9 L18,11 L21,11 L21,13 L18,13 L18,15 L16,15 L16,13 L3,13 L3,11 L16,11 Z M6,5 L6,3 L8,3 L8,5 L21,5 L21,7 
7586L8,7 L8,9 L6,9 L6,7 L3,7 L3,5 L6,5 Z"}),$=()=>(0,r.jsx)("path",{d:"M8,17 L8,7 L11.7707948,7 C13.0770244,7 14.0677723,7.23236947 14.7430684,7.69711538 C15.4183644,8.1618613 15.7560074,8.84294423 15.7560074,9.74038462 C15.7560074,10.2303138 15.6204573,10.6618571 15.349353,11.0350275 C15.0782488,11.4081978 14.7011731,11.6817757 14.2181146,11.8557692 C14.7701814,11.983975 15.205174,12.242672 15.5231054,12.6318681 C15.8410367,13.0210642 16,13.4972499 16,14.0604396 C16,15.0219828 15.6697507,15.7499975 15.0092421,16.2445055 C14.3487336,16.7390135 13.4072766,16.9908424 12.1848429,17 L8,17 Z M10.2181146,12.6456044 L10.2181146,15.3447802 L12.1182994,15.3447802 C12.6407913,15.3447802 13.0486738,15.2291678 13.3419593,14.9979396 C13.6352448,14.7667113 13.7818854,14.4473464 13.7818854,14.0398352 C13.7818854,13.1240797 13.2717241,12.6593407 12.2513863,12.6456044 L10.2181146,12.6456044 Z M10.2181146,11.1895604 L11.8595194,11.1895604 C12.9784406,11.1712453 13.5378928,10.7568722 13.5378928,9.94642857 C13.5378928,9.4931296 13.3961813,9.1668966 13.1127542,8.96771978 C12.829327,8.76854296 12.3820117,8.66895604 11.7707948,8.66895604 L10.2181146,8.66895604 L10.2181146,11.1895604 Z"}),O=()=>(0,r.jsx)("path",{d:"M10.1737981,15.5714286 L11.5584135,8.42857143 L9.95714286,8.42857143 C9.7598983,8.42857143 9.6,8.26867312 9.6,8.07142857 L9.6,7.35714286 C9.6,7.1598983 9.7598983,7 9.95714286,7 L15.6428571,7 C15.8401017,7 16,7.1598983 16,7.35714286 L16,8.07142857 C16,8.26867312 15.8401017,8.42857143 15.6428571,8.42857143 L13.7330228,8.42857143 L12.3484075,15.5714286 L14.0428571,15.5714286 C14.2401017,15.5714286 14.4,15.7313269 14.4,15.9285714 L14.4,16.6428571 C14.4,16.8401017 14.2401017,17 14.0428571,17 L8.35714286,17 C8.1598983,17 8,16.8401017 8,16.6428571 L8,15.9285714 C8,15.7313269 8.1598983,15.5714286 8.35714286,15.5714286 L10.1737981,15.5714286 Z"}),z=()=>(0,r.jsx)("path",{d:"M9,6.7 L9,8.3 C9,8.41045695 9.08954305,8.5 9.2,8.5 L19.8,8.5 C19.9104569,8.5 20,8.41045695 20,8.3 L20,6.7 C20,6.58954305 19.9104569,6.5 19.8,6.5 L9.2,6.5 C9.08954305,6.5 9,6.58954305 9,6.7 Z M9.2,18.5 L19.8,18.5 C19.9104569,18.5 20,18.4104569 20,18.3 L20,16.7 C20,16.5895431 19.9104569,16.5 19.8,16.5 L9.2,16.5 C9.08954305,16.5 9,16.5895431 9,16.7 L9,18.3 C9,18.4104569 9.08954305,18.5 9.2,18.5 Z M9.2,13.5 C9.08954305,13.5 9,13.4104569 9,13.3 L9,11.7 C9,11.5895431 9.08954305,11.5 9.2,11.5 L19.8,11.5 C19.9104569,11.5 20,11.5895431 20,11.7 L20,13.3 C20,13.4104569 19.9104569,13.5 19.8,13.5 L9.2,13.5 Z M5.5,9 C4.67157288,9 4,8.32842712 4,7.5 C4,6.67157288 4.67157288,6 5.5,6 C6.32842712,6 7,6.67157288 7,7.5 C7,8.32842712 6.32842712,9 5.5,9 Z M5.5,14 C4.67157288,14 4,13.3284271 4,12.5 C4,11.6715729 4.67157288,11 5.5,11 C6.32842712,11 7,11.6715729 7,12.5 C7,13.3284271 6.32842712,14 5.5,14 Z M5.5,19 C4.67157288,19 4,18.3284271 4,17.5 C4,16.6715729 4.67157288,16 5.5,16 C6.32842712,16 7,16.6715729 7,17.5 C7,18.3284271 6.32842712,19 5.5,19 Z"}),F=()=>(0,r.jsx)("path",{d:"M9,6.2 L9,7.8 C9,7.91045695 9.08954305,8 9.2,8 L19.8,8 C19.9104569,8 20,7.91045695 20,7.8 L20,6.2 C20,6.08954305 19.9104569,6 19.8,6 L9.2,6 C9.08954305,6 9,6.08954305 9,6.2 Z M9.2,18 L19.8,18 C19.9104569,18 20,17.9104569 20,17.8 L20,16.2 C20,16.0895431 19.9104569,16 19.8,16 L9.2,16 C9.08954305,16 9,16.0895431 9,16.2 L9,17.8 C9,17.9104569 9.08954305,18 9.2,18 Z M9.2,13 C9.08954305,13 9,12.9104569 9,12.8 L9,11.2 C9,11.0895431 9.08954305,11 9.2,11 L19.8,11 C19.9104569,11 20,11.0895431 20,11.2 L20,12.8 C20,12.9104569 19.9104569,13 19.8,13 L9.2,13 Z M4,16 L4,15 L7,15 L7,19 L4,19 L4,18 L6,18 L6,17.5 L5,17.5 L5,16.5 L6,16.5 L6,16 L4,16 Z M5,9 L5,6 L4,6 L4,5 L6,5 L6,9 L5,9 Z M4,11 L4,10 L7,10 L7,10.9 L5.2,13 L7,13 L7,14 L4,14 L4,13.1 L5.8,11 L4,11 Z"}),H=()=>(0,r.jsx)("path",{d:"M8.218776,10.6611638 C7.9938233,10.2394416 7.88134766,9.77395634 7.88134766,9.26470588 C7.88134766,8.63368668 8.0527191,8.07085809 8.39546712,7.57620321 C8.73821515,7.08154833 9.23042485,6.69518856 9.872111,6.4171123 C10.5137972,6.13903604 11.2340726,6 12.032959,6 C12.8369995,6 13.5534094,6.15106801 14.1822103,6.45320856 C14.8110112,6.7553491 15.2993554,7.18181543 15.6472575,7.73262032 C15.9951596,8.28342521 16.1691081,8.90908741 16.1691081,9.60962567 L13.8497721,9.60962567 C13.8497721,9.07486364 13.6874202,8.65909239 13.3627116,8.36229947 C13.0380029,8.06550654 12.5818714,7.9171123 11.9943034,7.9171123 C11.4273518,7.9171123 10.9866823,8.04144261 10.6722819,8.29010695 C10.3578815,8.5387713 10.2006836,8.86630813 10.2006836,9.27272727 C10.2006836,9.65240832 10.3849401,9.97058695 10.7534587,10.2272727 C10.9695179,10.3777654 11.2453678,10.5227422 11.5810116,10.6622047 C10.7381999,10.6611638 9.35727946,10.6622047 8.218776,10.6611638 Z M13.842041,14.7754011 C13.842041,14.3208533 13.6874202,13.9719264 13.3781738,13.7286096 C13.2203718,13.6044501 12.9981534,13.4768105 12.7115165,13.3456897 C12.9823481,13.3439472 15.4837341,13.3456897 15.8720434,13.3439472 C16.0700871,13.7665751 16.
75861691081,14.2383774 16.1691081,14.7593583 C16.1691081,15.7700585 15.800595,16.5628314 15.0635579,17.1377005 C14.3265208,17.7125697 13.3343704,18 12.0870768,18 C11.2211871,18 10.4326207,17.8355631 9.72135417,17.5066845 C9.01008759,17.1778058 8.46762611,16.7272756 8.09395345,16.1550802 C7.72028079,15.5828848 7.53344727,14.9197899 7.53344727,14.1657754 L9.86051432,14.1657754 C9.86051432,15.4545519 10.6026944,16.0989305 12.0870768,16.0989305 C12.6385661,16.0989305 13.0689275,15.9826215 13.3781738,15.75 C13.6874202,15.5173785 13.842041,15.1925155 13.842041,14.7754011 Z M7.43231072,11.3549113 L16.5676893,11.3549113 C16.8064479,11.3549113 17,11.5484634 17,11.7872221 L17,12.2195328 C17,12.4582914 16.8064479,12.6518435 16.5676893,12.6518435 L7.43231072,12.6518435 C7.1935521,12.6518435 7,12.4582914 7,12.2195328 L7,11.7872221 C7,11.5484634 7.1935521,11.3549113 7.43231072,11.3549113 Z"}),V=()=>(0,r.jsx)("path",{d:"M16.3453125,7 L16.3453125,13.402819 C16.3453125,14.4666225 15.951127,15.3078604 15.1627441,15.9265579 C14.3743613,16.5452553 13.2972725,16.8545994 11.9314453,16.8545994 C10.586712,16.8545994 9.51885161,16.5541573 8.72783203,15.9532641 C7.93681245,15.3523709 7.53339852,14.5267115 7.51757812,13.4762611 L7.51757812,7 L9.890625,7 L9.890625,13.4161721 C9.890625,14.0526738 10.0712384,14.5166899 10.4324707,14.8082344 C10.793703,15.0997789 11.2933562,15.245549 11.9314453,15.245549 C13.2656317,15.245549 13.9432616,14.6535668 13.9643555,13.4695846 L13.9643555,7 L16.3453125,7 Z M7.87982196,17.4807122 L16.120178,17.4807122 C16.3299479,17.4807122 16.5,17.6507642 16.5,17.8605341 L16.5,18.620178 C16.5,18.8299479 16.3299479,19 16.120178,19 L7.87982196,19 C7.67005208,19 7.5,18.8299479 7.5,18.620178 L7.5,17.8605341 C7.5,17.6507642 7.67005208,17.4807122 7.87982196,17.4807122 Z"}),U=()=>(0,r.jsx)("path",{d:"M16.2130943,7.78690569 C15.2823632,6.85617459 13.77335,6.85617459 12.8426189,7.78690569 L7.78690569,12.8426189 C6.85617459,13.77335 6.85617459,15.2823632 7.78690569,16.2130943 C8.71763678,17.1438254 10.22665,17.1438254 11.1573811,16.2130943 L16.2130943,11.1573811 C17.1438254,10.22665 17.1438254,8.71763678 16.2130943,7.78690569 Z M13.943728,15.6737311 L12.280873,17.3365861 C10.7296545,18.8878046 8.21463236,18.8878046 6.66341387,17.3365861 C5.11219538,15.7853676 5.11219538,13.2703455 6.66341387,11.719127 L8.32626889,10.056272 L9.45091165,11.1809148 L11.1361494,9.49567706 L10.0115066,8.3710343 L11.719127,6.66341387 C13.2703455,5.11219538 15.7853676,5.11219538 17.3365861,6.66341387 C18.8878046,8.21463236 18.8878046,10.7296545 17.3365861,12.280873 L15.6289657,13.9884934 L15.6301166,13.9896443 L13.9448789,15.6748821 L13.943728,15.6737311 Z M13.943728,15.6737311 L15.6289657,13.9884934 L14.5054739,12.8650016 L12.8202362,14.5502393 L13.943728,15.6737311 Z M13.9658723,10.0344648 C13.6556286,9.72422109 13.1526242,9.72422109 12.8423805,10.0344648 L10.033651,12.8431943 C9.72340725,13.153438 9.72340725,13.6564425 10.033651,13.9666862 C10.3438947,14.2769299 10.8468991,14.2769299 11.1571428,13.9666862 L13.9658723,11.1579566 C14.276116,10.8477129 14.276116,10.3447085 13.9658723,10.0344648 Z"}),W=()=>(0,r.jsx)("path",{d:"M11.7289758,8.90054871 L10.605484,7.7770569 L11.719127,6.66341387 C13.2703455,5.11219538 15.7853676,5.11219538 17.3365861,6.66341387 C18.8878046,8.21463236 18.8878046,10.7296545 17.3365861,12.280873 L16.2229431,13.394516 L15.0994513,12.2710242 L16.2130943,11.1573811 C17.1438254,10.22665 17.1438254,8.71763678 16.2130943,7.78690569 C15.2823632,6.85617459 13.77335,6.85617459 12.8426189,7.78690569 L11.7289758,8.90054871 Z M8.90054871,11.7289758 L7.78690569,12.8426189 C6.85617459,13.77335 6.85617459,15.2823632 7.78690569,16.2130943 C8.71763678,17.1438254 10.22665,17.1438254 11.1573811,16.2130943 L12.2710242,15.0994513 L13.394516,16.2229431 L12.280873,17.3365861 C10.7296545,18.8878046 8.21463236,18.8878046 6.66341387,17.3365861 C5.11219538,15.7853676 5.11219538,13.2703455 6.66341387,11.719127 L7.7770569,10.605484 L8.90054871,11.7289758 Z M13.9760363,11.1476092 L12.8527279,10.0243008 C13.1637094,9.72425892 13.6590544,9.72764691 13.9658723,10.0344648 C14.2726902,10.3412827 14.2760782,10.8366277 13.9760363,11.
75861476092 Z M11.1476231,13.9760503 C10.8366936,14.2768978 10.3407412,14.2737764 10.033651,13.9666862 C9.72656068,13.6595959 9.72343931,13.1636435 10.0242868,12.852714 L11.1476231,13.9760503 Z M6.43431458,7.56568542 L7.56568542,6.43431458 L17.5656854,16.4343146 L16.4343146,17.5656854 L6.43431458,7.56568542 Z"}),K=()=>(0,r.jsx)("path",{d:"M5.636 11.646l1.945-1.944 1.414 1.414-1.945 1.945a2.75 2.75 0 103.89 3.889l1.944-1.945 1.414 1.414-1.944 1.945a4.75 4.75 0 11-6.718-6.718zM16.95 10.94l-1.945 1.944 1.414 1.414 1.945-1.944a4.75 4.75 0 00-6.718-6.718L9.702 7.581l1.414 1.414 1.945-1.945a2.75 2.75 0 013.889 3.89z M9.313 13.273a.7.7 0 000 .99l.424.424a.7.7 0 00.99 0l3.96-3.96a.7.7 0 000-.99l-.424-.424a.7.7 0 00-.99 0l-3.96 3.96z"}),q=()=>(0,r.jsx)("path",{d:"M12.435 15.21L11.67 13H7.58995L6.82495 15.21H4.69995L8.69495 4.5H10.565L14.56 15.21H12.435ZM9.62995 7.22L8.26995 11.13H10.99L9.62995 7.22ZM19.9999 14.4288L18.5972 13L13.5527 18.4702L10.4027 15.812L8.99994 17.2408L12.8513 20.6135C13.3482 21.1196 13.7758 21.138 14.254 20.6135L19.9999 14.4288Z"}),G=()=>(0,r.jsx)("path",{d:"M12.435 15.21L11.67 13H7.58995L6.82495 15.21H4.69995L8.69495 4.5H10.565L14.56 15.21H12.435ZM9.62995 7.22L8.26995 11.13H10.99L9.62995 7.22Z"}),Z=()=>(0,r.jsx)("path",{d:"M16.4292 11L12.3243 7.23718L13.6757 5.76287L19.6757 11.2629C20.1081 11.6592 20.1081 12.3408 19.6757 12.7372L13.6757 18.2372L12.3243 16.7629L16.4292 13L5.5 13L5.5 11L16.4292 11Z"}),X=()=>(0,r.jsx)("path",{d:"M8,3.57080187 L8,14 L6,14 L6,3.57080187 L2.23715414,7.6757246 L0.76284586,6.3242754 L6.2628459,0.32427537 C6.6591824,-0.10809179 7.3408176,-0.10809179 7.7371541,0.32427537 L13.2371541,6.3242754 L11.7628459,7.6757246 L8,3.57080187 Z"}),Q=()=>(0,r.jsx)("path",{d:"M5 9h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V10a1 1 0 0 1 1-1zm1 2v8h8v-8H6zm12-4H9V5h10a1 1 0 0 1 1 1v10h-2V7z"}),Y=()=>(0,r.jsx)("path",{d:"M8.035 11.97h2.435v6.023h4.06V11.97h2.435L12.5 6.537 8.035 11.97zm-1.919 2.008A1.11 1.11 0 0 1 5 12.874c0-.254.088-.5.25-.696l6.384-7.77a1.125 1.125 0 0 1 1.57-.16c.087.074.087.074.162.16l6.384 7.77a1.096 1.096 0 0 1-.162 1.553c-.2.16-.448.247-.704.247H16.56v4.918c0 .61-.5 1.104-1.117 1.104H9.557a1.11 1.11 0 0 1-1.117-1.104v-4.918H6.116z"}),ee=()=>(0,r.jsx)("path",{d:"M9,6 L9,13 L7.20376823,13 L12,18.4814077 L16.7962318,13 L15,13 L15,6 L9,6 Z M7,11 L7,5 C7,4.44771525 7.44771525,4 8,4 L16,4 C16.5522847,4 17,4.44771525 17,5 L17,11 L19,11 C19.8591588,11 20.3183367,12.0119217 19.7525767,12.6585046 L12.7525767,20.6585046 C12.3541654,21.1138318 11.6458346,21.1138318 11.2474233,20.6585046 L4.24742331,12.6585046 C3.68166327,12.0119217 4.14084119,11 5,11 L7,11 Z"}),et=()=>(0,r.jsx)("path",{d:"M6 20H18M7.5 10.5L11.6263 15.0796C11.8252 15.3033 12.1748 15.3033 12.3737 15.0796L16.5 10.5M12 4V15",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),ei=()=>(0,r.jsx)("path",{d:"M11.5,15.5 C13.709139,15.5 15.5,13.709139 15.5,11.5 C15.5,9.290861 13.709139,7.5 11.5,7.5 C9.290861,7.5 7.5,9.290861 7.5,11.5 C7.5,13.709139 9.290861,15.5 11.5,15.5 Z M16.4027819,14.9595737 L18.6821579,17.1305862 L17.2679443,18.5447998 L14.9935823,16.3785629 C14.0096341,17.084429 12.803348,17.5 11.5,17.5 C8.1862915,17.5 5.5,14.8137085 5.5,11.5 C5.5,8.1862915 8.1862915,5.5 11.5,5.5 C14.8137085,5.5 17.5,8.1862915 17.5,11.5 C17.5,12.7883707 17.093925,13.9818975 16.4027819,14.9595737 Z"}),er=()=>(0,r.jsx)("path",{d:"M11.695 15.117l6.531-6.344L15.5 6l-6.625 6.296 2.82 2.82zM10.27 16.52l-2.828-2.829-.446.446v2.828h2.829l.445-.445zm2.122.707l-1.415 1.414a1 1 0 0 1-.63.29H6.116c-.612.047-1.132-.306-1.085-.917v-4.4a1 1 0 0 1 .29-.63l2.12-2.121.018.017 6.909-6.578a1.6 1.6 0 0 1 2.263 0l3.292 3.338a1.6 1.6 0 0 1 0 2.263l-7.531 7.324z"}),en=()=>(0,r.jsx)("path",{d:"M16.5 10.5L7.6133 19.3867C7.53961 19.4604 7.44474 19.5092 7.34195 19.5263L5.19048 19.8849C4.85207 19.9413 4.55868 19.6479 4.61508 19.3095L4.97366 17.1581C4.99079 17.0553 5.03961 16.9604 5.1133 16.8867L14 8M16.5 10.5L19.1464 7.85355C19.3417 7.65829 19.3417 7.34171 19.1464 7.14645L17.3536 5.35355C17.1583 5.15829 16.8417 5.15829 16.6464 5.35355L14 8M16.5 10.5L14 8",fill:"#fff",stroke:"#1A91F0",strokeWidth:"1.4"}),eo=()=>(0,r.jsx)("path",{d:"M6 12a6 6 0 101.5-4H10v2H5a1 1 0 01-1-1V4h2v2.7A8 8 0 0120 12a8 8 0 11-16 0h2z"}),ea=()=>(0,r.jsx)("path",{d:"M18 12a6 6 0 11-1.5-4H14v2h5c.6 0 1-.4 1-1V4h-2v2.7A8 8 0 004 12a8 8 0 1016 0h-2z"}),el=()=>(0,r.jsx)("path",{fill:"#3B5998",d:"M9.73 6.486v2.478H8v3.03h1.73l.013 8.506h3.552l-.014-8.505h2.384s.223-1.453.331-3.042h-2.701V6.881c0-.31.387-.726.77-.726H16V3h-2.631c-3.728 0-3.64 3.033-3.64 3.486z"}),es=()=>(0,r.jsx)("path",{fill:"#0077B5",d:"M7.86 7.704V18.5H4.214V7.704H7.86zm.24-3.34c0 1.037-.792 1.867-2.063 1.867h-.023C4.791 6.23 4 5.4 4 4.365 4 3.306 4.815 2.5 6.061 2.5c1.247 0 2.015.806 2.038 1.865zM21 12.31v6.19h-3.644v-5.776c0-1.45-.527-2.44-1.846-2.44-1.007 0-1.606.667-1.87 1.311-.096.231-.12.553-.12.876V18.5H9.876s.048-9.783 0-10.796h3.644v1.53c.484-.735 1.35-1.783 3.285-1.783C19.202 7.45 21 8.994 21 12.31z"}),ed=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M19 12.3058C19 11.8203 18.9606 11.3322 18.8767 10.8546L12.1404 10.8546V13.6048H15.9979C15.8379 14.4917 15.3235 15.2764 14.5704 15.775V17.5594H16.8718C18.2232 16.3155 19 14.4786 19 12.3058Z",fill:"#4285F4"}),(0,r.jsx)("path",{d:"M12.1404 19.2833C14.0665 19.2833 15.6909 18.6509 16.8744 17.5592L14.573 15.7748C13.9327 16.2104 13.1061 16.4571 12.143 16.4571C10.2798 16.4571 8.70009 15.2001 8.13327 13.5101H5.75839V15.3497C6.97076 17.7613 9.44011 19.2833 12.1404 19.2833Z",fill:"#34A853"}),(0,r.jsx)("path",{d:"M8.13065 13.5102C7.83149 12.6233 7.83149 11.6628 8.13065 10.7758V8.93628H5.75839C4.74545 10.9543 4.74545 13.3318 5.75839 15.3498L8.13065 13.5102Z",fill:"#FBBC04"}),(0,r.jsx)("path",{d:"M12.1404 7.82623C13.1586 7.81049 14.1426 8.19362 14.88 8.8969L16.919 6.85791C15.6279 5.64554 13.9143 4.979 12.1404 4.99999C9.44011 4.99999 6.97076 6.52202 5.75839 8.93626L8.13065 10.7758C8.69485 9.08322 10.2772 7.82623 12.1404 7.82623Z",fill:"#EA4335"})]}),ec=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 6C3.44772 6 3 6.44772 3 7L3 18C3 18.5523 3.44772 19 4 19L20 19C20.5523 19 21 18.5523 21 18L21 7C21 6.44772 20.5523 6 20 6L4 6ZM5 10.2296L5 17H19V10.2296L12.5215 14.5252C12.2013 14.7209 11.7987 14.7209 11.4785 14.5252L5 10.2296ZM18.75 8L5.25 8L12 12.5L18.75 8Z",fill:"#1188F2"}),eu=()=>(0,r.jsx)("path",{d:"M7.5 4.85a1 1 0 0 0-1.5.87v12.56a1 1 0 0 0 1.5.87l10.98-6.28a1 1 0 0 0 0-1.74L7.5 4.85Z"}),ep=()=>(0,r.jsx)("path",{fill:"#1DA1F2",d:"M22 6.657a7.644 7.644 0 0 1-2.121.557 3.577 3.577 0 0 0 1.624-1.956c-.714.405-1.504.7-2.345.858A3.767 3.767 0 0 0 16.462 5c-2.04 0-3.693 1.582-3.693 3.534 0 .277.033.547.096.806-3.07-.148-5.79-1.555-7.612-3.693-.318.522-.5 1.129-.5 1.777 0 1.226.652 2.308 1.643 2.942a3.804 3.804 0 0 1-1.673-.443v.045c0 1.712 1.273 3.14 2.962 3.465a3.856 3.856 0 0 1-1.667.061c.47 1.404 1.833 2.426 3.45 2.454a7.623 7.623 0 0 1-4.587 1.513c-.298 0-.592-.016-.881-.049A10.795 10.795 0 0 0 9.66 19c6.793 0 10.508-5.386 10.508-10.056a9.82 9.82 0 0 0-.01-.457A7.332 7.332 0 0 0 22 6.657z"}),eh=()=>(0,r.jsx)("path",{d:"M10 13.762l-3.754 2.169a.515.515 0 0 1-.695-.172.481.481 0 0 1-.058-.36l.96-4.144-3.28-2.803a.484.484 0 0 1-.047-.695.512.512 0 0 1 .334-.166L7.808 7.2l1.727-3.9a.512.512 0 0 1 .93 0l1.727 3.9 4.348.392a.497.497 0 0 1 .458.537.489.489 0 0 1-.17.324l-3.28 2.803.96 4.144a.493.493 0 0 1-.384.589.519.519 0 0 1-.37-.057L10 13.762z"}),ex=()=>(0,r.jsx)("path",{d:"M12.2698261,15.8318852 C15.0312499,15.8318852 17.2698261,13.5933089 17.2698261,10.8318852 C17.2698261,8.07046142 15.0312499,5.83188517 12.2698261,5.83188517 C9.50840238,5.83188517 7.26982613,8.07046142 7.26982613,10.8318852 C7.26982613,13.5933089 9.50840238,15.8318852 12.2698261,15.8318852 Z M11.2702413,17.7610557 C7.87774473,17.2760047 5.26982613,14.3585009 5.26982613,10.8318852 C5.26982613,6.96589192 8.40383288,3.83188517 12.2698261,3.83188517 C16.1358194,3.83188517 19.2698261,6.96589192 19.2698261,10.8318852 C19.2698261,14.3582132 16.662333,17.2755287 13.2702412,17.7609369 L13.2720045,21.7077671 L11.2720045,21.7077671 L11.2702413,17.7610557 Z",transform:"rotate(-45 12.27 12.77)"}),em=()=>(0,r.jsx)("path",{d:"M10.8,12 L10.8,4.8 L20.4,4.8 L20.4,19.2 L4.8,19.2 L4.8,12 L10.8,12 Z M13.2,7.2 L13.2,9.6 L18,9.6 L18,7.2 L13.2,7.2 Z M13.2,10.8 L13.2,13.2 L18,13.2 L18,10.8 L13.2,10.8 Z M13.2,14.4 L13.2,16.8 L18,16.8 L18,14.4 L13.2,14.4 Z M7.2,14.4 L7.2,16.8 L10.8,16.8 L10.8,14.4 L7.2,14.4 Z"}),eg=()=>(0,r.jsx)("path",{d:"M15.6,6 L19.2,6 L19.2,19.2 L4.8,19.2 L4.8,6 L8.4,6 L8.4,4.2 L10.8,4.2 L10.8,6 L13.2,6 L13.2,4.2 L15.6,4.2 L15.6,6 Z M7.2,9.6 L7.2,16.8 L16.8,16.8 L16.8,9.6 L7.2,9.6 Z M8.4,14.4 L8.4,12 L10.8,12 L10.8,14.4 L8.4,14.4 Z M13.2,14.4 L13.2,12 L15.6,12 L15.6,14.4 L13.2,14.4 Z"}),ey=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 7V18H18.5V7H12.5H6.5ZM5.5 5C4.94772 5 4.5 5.44772 4.5 6V19C4.5 19.5523 4.94772 20 5.5 20H19.5C20.0523 20 20.5 19.5523 20.5 19V6C20.5 5.44772 20.0523 5 19.5 5H5.5Z"}),(0,r.jsx)("path",{d:"M5.5 10H19.5",stroke:"currentColor",strokeWidth:"2"}),(0,r.jsx)("path",{d:"M9.5 8L9.5 4",stroke:"currentColor",strokeWidth:"2"}),(0,r.jsx)("path",{d:"M15.5 8L15.5 4",stroke:"currentColor",strokeWidth:"2"})]}),ef=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.407 4.43a.7.7 0 0 0-.814 0l-7 5a.7.7 0 1 0 .814 1.14L12 5.86l6.593 4.71a.7.7 0 0 0 .814-1.14l-7-5ZM7.7 12a.7.7 0 1 0-1.4 0v6a.7.7 0 0 0 .7.7h10a.7.7 0 0 0 .7-.7v-6a.7.7 0 1 0-1.4 0v5.3H7.7V12Z",fill:"#1E2532"}),eb=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 10C18.5 12.4318 16.9395 14.9523 15.0208 17.0607C14.1115 18.06 13.196 18.8854 12.5 19.4658C11.804 18.8854 10.8885 18.06 9.97918 17.0607C8.06045 14.9523 6.5 12.4318 6.5 10C6.5 6.68629 9.18629 4 12.5 4C15.8137 4 18.5 6.68629 18.5 10ZM20.5 10C20.5 16.4183 12.5 22 12.5 22C12.5 22 4.5 16.4183 4.5 10C4.5 5.58172 8.08172 2 12.5 2C16.9183 2 20.5 5.58172 20.5 10ZM13.5 10C13.5 10.5523 13.0523 11 12.5 11C11.9477 11 11.5 10.5523 11.5 10C11.5 9.44772 11.9477 9 12.5 9C13.0523 9 13.5 9.44772 13.5 10ZM15.5 10C15.5 11.6569 14.1569 13 12.5 13C10.8431 13 9.5 11.6569 9.5 10C9.5 8.34315 10.8431 7 12.5 7C14.1569 7 15.5 8.34315 15.5 10Z"}),e_=()=>(0,r.jsx)("path",{d:"M6 7H18.2M8 12H16.2M10 17H14.2",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),ev=()=>(0,r.jsx)("path",{d:"M13 14v5h-2v-5H7v5h10v-5h-4zm0-2h5v-2H6v2h5v-2h2v2zm4.965-4H19a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1v6a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h1.035A3.5 3.5 0 0 1 12 5.05 3.5 3.5 0 0 1 17.965 8zm-4.88 0h2.83a1.5 1.5 0 1 0-2.83 0zm-5 0h2.83a1.5 1.5 0 1 0-2.83 0z"}),ej=()=>(0,r.jsx)("path",{d:"M1 4h22v3H1V4zm0 7h22v3H1v-3zm0 7h22v3H1v-3z"}),eA=()=>(0,r.jsx)("path",{d:"M12 9.879l6.718-6.718 2.121 2.121L14.121 12l6.718 6.718-2.121 2.121L12 14.121l-6.718 6.718-2.121-2.121L9.879 12 3.161 5.282l2.121-2.121z"}),eC=()=>
7586(0,r.jsx)("path",{d:"M8,11 C8,7.83333333 9.375,6 12,6 C14.625,6 16,7.83333333 16,11 C16.5522847,11 17,11.4477153 17,12 L17,17 C17,17.5522847 16.5522847,18 16,18 L8,18 C7.44771525,18 7,17.5522847 7,17 L7,12 C7,11.4477153 7.44771525,11 8,11 Z M10,11 L14,11 C14,8.83333333 13.375,8 12,8 C10.625,8 10,8.83333333 10,11 Z"}),ew=()=>(0,r.jsx)("path",{d:"M6,4 L14.9793444,4 C15.3056582,4 15.6114477,4.15921098 15.7985764,4.42653766 L18.8192319,8.74175989 C18.9368904,8.90984342 19,9.11005013 19,9.31522223 L19,20 C19,20.5522847 18.5522847,21 18,21 L6,21 C5.44771525,21 5,20.5522847 5,20 L5,5 C5,4.44771525 5.44771525,4 6,4 Z M7,6 L7,19 L17,19 L17,9.63044446 L14.4586889,6 L7,6 Z M9,11 L15,11 L15,13 L9,13 L9,11 Z M9,14 L15,14 L15,16 L9,16 L9,14 Z"}),ek=()=>(0,r.jsx)("path",{d:"M17,12 C17,9.23857625 14.7614237,7 12,7 C9.23857625,7 7,9.23857625 7,12 C7,14.7614237 9.23857625,17 12,17 C12.5522847,17 13,17.4477153 13,18 C13,18.5522847 12.5522847,19 12,19 C8.13400675,19 5,15.8659932 5,12 C5,8.13400675 8.13400675,5 12,5 C15.8659932,5 19,8.13400675 19,12 C19,12.5522847 18.5522847,13 18,13 C17.4477153,13 17,12.5522847 17,12 Z"}),eS=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19",stroke:"url(#paint0_angular_13868_15969)",strokeWidth:"1.8",strokeLinecap:"round"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("radialGradient",{id:"paint0_angular_13868_15969",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(12 12) rotate(90) scale(7)",children:[(0,r.jsx)("stop",{offset:"0.764601"}),(0,r.jsx)("stop",{offset:"0.978601",stopOpacity:"0"})]})})]}),eT=()=>(0,r.jsx)("path",{d:"M7 7h10v10H7V7zm5 3l-3 4h6l-3-4z"}),eP=()=>(0,r.jsx)("path",{d:"M15 16h4l-4.5-8-3.192 4.643L9.5 11 5 16h10zM2 2h20v20H2V2z"}),eJ=()=>(0,r.jsx)("path",{d:"M22.8,12 C22.8,6.04041451 17.9595855,1.2 12,1.2 C6.04041451,1.2 1.2,6.04041451 1.2,12 C1.2,17.9595855 6.04041451,22.8 12,22.8 C17.9595855,22.8 22.8,17.9595855 22.8,12 Z M11.9440415,8.81036269 C11.6642487,8.78238342 11.384456,8.89430052 11.1606218,9.09015544 C10.9647668,9.28601036 10.92,9.56580311 10.92,9.84559585 L8.76,9.84559585 C8.76,8.92227979 8.83834197,8.02694301 9.50984456,7.38341969 C10.1813472,6.73989637 11.0766839,6.40414508 12.0279793,6.43212435 C13.7626943,6.51606218 15.1896373,7.94300518 15.2735751,9.67772021 C15.3295337,11.1326425 14.4901554,12.4756477 13.119171,13.0072539 C13.0911917,13.0352332 13.0352332,13.0911917 13.0352332,13.1751295 L13.0352332,14.16 L10.6569948,14.16 L10.6569948,13.1751295 C10.6569948,12.1119171 11.2725389,11.188601 12.2238342,10.8248705 C12.6435233,10.6569948 12.8953368,10.2373057 12.8673575,9.78963731 C12.8953368,9.28601036 12.4476684,8.83834197 11.9440415,8.81036269 Z M12,17.94 C11.2544156,17.94 10.65,17.3355844 10.65,16.59 C10.65,15.8444156 11.2544156,15.24 12,15.24 C12.7455844,15.24 13.35,15.8444156 13.35,16.59 C13.35,17.3355844 12.7455844,17.94 12,17.94 Z"}),eE=()=>(0,r.jsx)("path",{d:"M12 24C5.373 24 0 18.627 0 12S5.373 0 12 0s12 5.373 12 12-5.373 12-12 12zm0-1.5c5.799 0 10.5-4.701 10.5-10.5S17.799 1.5 12 1.5 1.5 6.201 1.5 12 6.201 22.5 12 22.5zm3.69-13.47c0 2.73-2.827 2.73-2.827 5.558H10.62c0-3.608 2.73-3.608 2.73-5.363 0-.877-.585-1.462-1.56-1.462-.877 0-1.56.682-1.56 1.852H7.89c.098-2.438 1.657-3.998 3.9-3.998 2.438 0 3.9 1.463 3.9 3.413zm-5.167 7.8a1.29 1.29 0 0 1 1.267-1.267 1.29 1.29 0 0 1 1.268 1.267 1.29 1.29 0 0 1-1.268 1.268 1.29 1.29 0 0 1-1.267-1.268z"}),eR=()=>(0,r.jsx)("path",{d:"M10.4726494,12 L7.45632468,15.0163247 L8.98367532,16.5436753 L12,13.5273506 L15.0163247,16.5436753 L16.5436753,15.0163247 L13.5273506,12 L16.5436753,8.98367532 L15.0163247,7.45632468 L12,10.4726494 L8.98367532,7.45632468 L7.45632468,8.98367532 L10.4726494,12 Z M22.8,12 C22.8,17.9595855 17.9595855,22.8 12,22.8 C6.04041451,22.8 1.2,17.9595855 1.2,12 C1.2,6.04041451 6.04041451,1.2 12,1.2 C17.9595855,1.2 22.8,6.04041451 22.8,12 Z"}),eL=()=>(0,r.jsx)("path",{d:"M4.617 15.365c-.398-.5-.753-1.04-1.056-1.614-.107-.2-.238-.486-.396-.856a1 1 0 0 1 .002-.789c.208-.48.383-.845.524-1.096C5.38 8.01 8.467 6 12 6c1.5 0 2.92.362 4.187 1.01L13.899 8.66A3.89 3.89 0 0 0 12 8.167c-2.258 0-4.09 1.941-4.09 4.333 0 .159.007.316.023.47l-3.316 2.395zm3.196 2.626l2.288-1.652a3.89 3.89 0 0 0 1.899.494c2.258 0 4.09-1.941 4.09-4.333 0-.159-.007-.316-.023-.47l3.316-2.395c.324.406.62.84.881 1.296.154.267.342.658.567 1.173a1 1 0 0 1 .003.793c-.169.394-.31.696-.423.908C18.747 16.907 15.605 19 12 19c-1.5 0-2.92-.362-4.187-1.01zm4.362-8.085l-2.52 1.82C9.965 10.666 10.896 9.9 12 9.9c.059 0 .117.002.175.006zm2.17 3.368c-.31 1.06-1.241 1.826-2.345 1.826-.059 0-.117-.002-.175-.006l2.52-1.82zM3.585 19.81l-1.17-1.622 18-13 1.17 1.622-18 13z"}),eN=()=>(0,r.jsx)("path",{d:"M5.84757 13.8042C5.5156 13.3882 5.22039 12.938 4.96725 12.4595C4.87867 12.2921 4.76876 12.0543 4.63751 11.7462C4.54794 11.5359 4.54866 11.2981 4.6395 11.0884L4.63948 11.0884C4.81271 10.6884 4.95817 10.3839 5.07588 10.1748C6.48263 7.67541 9.05568 6 12 6C13.2502 6 14.4334 6.30207 15.4889 6.84102L13.5825 8.21783C13.1095 7.95455 12.5711 7.80555 12 7.80555C10.1182 7.80555 8.5909 9.42333 8.5909 11.4167C8.5909 11.5491 8.59764 11.6798 8.61077 11.8085L5.84757 13.8042ZM8.5111 15.9923L10.4174 14.6155C10.8905 14.8788 11.4289 15.0278 12 15.0278C13.8818 15.0278 15.4091 13.41 15.4091 11.4167C15.4091 11.2843 15.4023 11.1535 15.3892 11.0248L18.1524 9.02913C18.4226 9.36772 18.6684 9.72888 18.887 10.1095C19.0146 10.3318 19.172 10.6576 19.3591 11.087C19.4508 11.2975 19.4516 11.5364 19.3613 11.7475L19.3614 11.7475C19.2211 12.0755 19.1036 12.3278 19.0088 12.5044C17.6223 15.0888 15.0044 16.8333 12 16.8333C10.7498 16.8333 9.56655 16.5313 8.5111 15.9923ZM12.1459 9.2554L10.0462 10.7718C10.3046 9.88903 11.0803 9.25 12 9.25C12.0491 9.25 12.0977 9.25182 12.1459 9.2554ZM13.9538 12.0615C13.6953 12.9443 12.9197 13.5833 12 13.5833C11.9509 13.5833 11.9023 13.5815 11.8541 13.5779L13.9538 12.0615ZM4.9879 17.5089L4.01208 16.1578L19.0121 5.32443L19.9879 6.67556L4.9879 17.5089Z"}),eI=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.0001 6c-.5523 0-1 .4477-1 1v11c0 .5523.4477 1 1 1h16c.5523 0 1-.4477 1-1V7c0-.5523-.4477-1-1-1h-16zm1 4.2296V17h14v-6.7704l-6.4785 4.2956a.9997.9997 0 0 1-1.0429 0l-6.4786-4.2956zM18.7501 8h-13.5l6.75 4.5 6.75-4.5z"}),eM=()=>(0,r.jsx)("path",{d:"M6.5,14 C5.67157288,14 5,13.3284271 5,12.5 C5,11.6715729 5.67157288,11 6.5,11 C7.32842712,11 8,11.6715729 8,12.5 C8,13.3284271 7.32842712,14 6.5,14 Z M12.5,14 C11.6715729,14 11,13.3284271 11,12.5 C11,11.6715729 11.6715729,11 12.5,
758611 C13.3284271,11 14,11.6715729 14,12.5 C14,13.3284271 13.3284271,14 12.5,14 Z M18.5,14 C17.6715729,14 17,13.3284271 17,12.5 C17,11.6715729 17.6715729,11 18.5,11 C19.3284271,11 20,11.6715729 20,12.5 C20,13.3284271 19.3284271,14 18.5,14 Z"}),eB=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10c0 2.432-1.56 4.952-3.48 7.06-.909 1-1.824 1.825-2.52 2.406a25.76 25.76 0 01-2.52-2.405C7.56 14.952 6 12.43 6 10a6 6 0 1112 0zm2 0c0 6.418-8 12-8 12s-8-5.582-8-12a8 8 0 1116 0zm-7 0a1 1 0 11-2 0 1 1 0 012 0zm2 0a3 3 0 11-6 0 3 3 0 016 0z"}),eD=()=>(0,r.jsx)("path",{d:"M4.01470461,16.8420411 L4.01470461,8.66856283 C3.91571585,7.88952094 4.31650779,7.5 5.21708044,7.5 C6.11765308,7.5 7.2385336,7.5 8.57972199,7.5 L8.57972199,5.63333333 C8.66429615,4.54444444 9.42156837,4 10.8515386,4 C11.4895067,4 12.247873,4 13.1382211,4 C14.5894015,4 15.3539574,4.54444444 15.4318888,5.63333333 L15.4318888,7.5 C17.0529266,7.5 18.2195379,7.5 18.9317228,7.5 C19.6439076,7.5 20,7.88952094 20,8.66856283 L20,16.8420411 C20,17.6140137 19.6439076,18 18.9317228,18 C18.2500168,18 6.31912268,18 5.21708044,18 C4.41549655,18 4.01470461,17.6140137 4.01470461,16.8420411 Z M10.22,6 L10.22,7.5 L13.82,7.5 L13.8173374,6 L10.22,6 Z"}),e$=()=>(0,r.jsx)("path",{d:"M5 13L9.5 17.5L19 8"}),eO=()=>(0,r.jsx)("path",{d:"M17 19V7.87116L14.1643 5H7v14h10zm1 2H6c-.55228 0-1-.4477-1-1V4c0-.55228.44772-1 1-1h8.5821c.2674 0 .5236.10707.7115.2973l3.4179 3.46058c.1848.18717.2885.43963.2885.7027V20c0 .5523-.4477 1-1 1z M15 10H9v2h2v4h2v-4h2v-2z"}),ez=()=>(0,r.jsx)("path",{d:"M17 19V7.82843L14.1716 5H7v14h10zm1 2H6c-.55228 0-1-.4477-1-1V4c0-.55228.44772-1 1-1h8.5858c.2652 0 .5196.10536.7071.29289l3.4142 3.41422c.1875.18753.2929.44189.2929.7071V20c0 .5523-.4477 1-1 1z M10.5169 12.8175L9.66292 10H8l1.75281 5h1.30339L12 12.2222 12.9438 15h1.3034L16 10h-1.6629l-.854 2.8175L12.5393 10h-1.0786l-.9438 2.8175z"}),eF=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 15H8V19C8 19.5523 8.44771 20 9 20H19C19.5523 20 20 19.5523 20 19V9C20 8.44772 19.5523 8 19 8H15V4C15 3.44772 14.5523 3 14 3H4C3.44772 3 3 3.44772 3 4V14C3 14.5523 3.44772 15 4 15ZM5 5V13H8V9C8 8.44771 8.44772 8 9 8H13V5H5ZM13 13V11H15V13H17V15H15V17H13V15H11V13H13ZM10 10H18V18H10V10Z"}),eH=()=>(0,r.jsx)("g",{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2 16.6c-.5.2-1.1.4-1.7.4a3.5 3.5 0 113-1.8l1.7 1.6-1.4 1.4-1.6-1.6zm-.2-3.1a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z M7 6V4c0-1.1.9-2 2-2h6a2 2 0 012 2v2h3a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V8c0-1.1.9-2 2-2h3zm2-2h6v2H9V4zM4 8v12h16V8H4z"})}),eV=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 11-16 0 8 8 0 0116 0z",fill:"#4F5259"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 13V8h2v5h-2zm2.25 2.75a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0z",fill:"#fff"})]}),eU=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-3.5-1.5-1.4-1.4-3.5 3.9-2.2-2L8 12.6l2.9 2.6c.4.5.9.5 1.4 0l4.2-4.6Z"}),eW=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.097 9.07098L16.5 10.5L12.254 15.113C11.776 15.638 11.348 15.62 10.851 15.113L8 12.5L9.403 11.071L11.553 12.971L15.097 9.07098Z",fill:"#fff"})]}),eK=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",fill:"#98A1B3"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m12 10.6 1.8-1.8 1.4 1.4-1.8 1.8 1.8 1.8-1.4 1.4-1.8-1.8-1.8 1.8-1.4-1.4 1.8-1.8-1.8-1.8 1.4-1.4 1.8 1.8Z",fill:"#fff"})]}),eq=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",fill:"#FB4458"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9999 10.5861L13.7676 8.81836L15.1818 10.2326L13.4141 12.0003L15.1818 13.7681L13.7676 15.1823L11.9999 13.4146L10.2321 15.1823L8.81787 13.7681L10.5856 12.0003L8.81787 10.2326L10.2321 8.81836L11.9999 10.5861Z",fill:"white"})]}),eG=()=>(0,r.jsx)("g",{transform:"translate(4, 4)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.895 1.344C6.936-.448 9.524-.448 10.565 1.344l5.527 9.517c1.044 1.8-.255 4.055-2.336 4.056H2.704C.623 14.917-.676 12.661.369 10.861l5.526-9.517Zm3.46.703c-.502-.862-1.747-.862-2.249 0L1.58 11.564c-.503.867.122 1.952 1.124 1.953h11.053c1.001-.001 1.626-1.085 1.124-1.952L9.354 2.047ZM8.23 10.017a.7.7 0 0 1 .7.7v.01a.7.7 0 0 1-1.4 0v-.01a.7.7 0 0 1 .7-.7Zm0-5.5a.7.7 0 0 1 .7.7v3a.7.7 0 0 1-1.4 0v-3a.7.7 0 0 1 .7-.7Z",fill:"currentColor"})}),eZ=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z",fill:"#FB4458"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 13V8H13V13H11ZM13.25 15.75C13.25 16.4404 12.6904 17 12 17C11.3096 17 10.75 16.4404 10.75 15.75C10.75 15.0596 11.3096 14.5 12 14.5C12.6904 14.5 13.25 15.0596 13.25 15.75Z",fill:"white"})]}),eX=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M12 24a12 12 0 1 0 0-24 12 12 0 0 0 0 24Z",fill:"#FFC1A9"}),(0,r.jsx)("path",{d:"M9 19a3.4 3.4 0 0 1 2-2 3.5 3.5 0 0 1 4 2M10 9l-2 4 3 1.6M14 9c.3 1.6 2.1 2 3 2 .9 0 2 0 3-2M3.7 9A3.6 3.6 0 0 0 7 11c1 0 2.3-1 3-2",fill:"transparent",stroke:"#823C21",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),eQ=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M12 24a12 12 0 1 0 0-24 12 12 0 0 0 0 24Z",fill:"#FFDB80"}),(0,r.jsx)("path",{d:"M4 9h6M14 9h5M10 9l-2 4 3 1.4M9 17l8 1",fill:"transparent",stroke:"#523D1D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),eY=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.9 6.99998C9.9 6.39246 10.3925 5.89998 11 5.89998H13C13.6075 5.89998 14.1 6.39246 14.1 6.99998C14.1 6.99999 14.1 7 14.1 7.00001H6C4.89543 7.
758600001 4 7.89544 4 9.00001V10.72V11.62V12.52V16C4 17.1046 4.89543 18 6 18H18C19.1046 18 20 17.1046 20 16V12.52V11.62V10.72V9.00001C20 7.89544 19.1046 7.00001 18 7.00001H15.9C15.9 7 15.9 6.99999 15.9 6.99998C15.9 5.39835 14.6016 4.09998 13 4.09998H11C9.39837 4.09998 8.1 5.39835 8.1 6.99998H9.9ZM18.2 10.72H5.8V9.00001C5.8 8.88956 5.88954 8.80001 6 8.80001H18C18.1105 8.80001 18.2 8.88956 18.2 9.00001V10.72ZM18.2 16V12.52H5.8V16C5.8 16.1105 5.88954 16.2 6 16.2H18C18.1105 16.2 18.2 16.1105 18.2 16Z",fill:"#0F141E"})}),e0=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M12 24a12 12 0 1 0 0-24 12 12 0 0 0 0 24Z",fill:"#95D9B2"}),(0,r.jsx)("path",{d:"M4.8 6.7C5 6.5 6.5 4.8 8 5.5 9 6 9.6 6.8 10 9M8 16.5s1.9 2.4 3.9 2.5a5.2 5.2 0 0 0 5.1-4.4c-7.1.2-9 1.9-9 1.9ZM14.4 8.2c.2-.2 1.5-1.7 3.1-1.3a3.1 3.1 0 0 1 2.2 2.6M10 9l-2 3 4 3",stroke:"#293F24",fill:"transparent",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),e1=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4h6v6h-2V7.3L12.3 13 11 11.6 16.5 6H14V4Zm-2 2H7a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-5h-2v4H8V8h4V6Z"}),e2=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M17.6466 4.51415C17.3782 4.23586 16.9351 4.22781 16.6568 4.49616C16.3785 4.76451 16.3704 5.20765 16.6388 5.48594L18.3524 7.26301H14.4998C11.9041 7.26301 9.7998 9.36727 9.7998 11.963V14C9.7998 14.3866 10.1132 14.7 10.4998 14.7C10.8864 14.7 11.1998 14.3866 11.1998 14V11.963C11.1998 10.1405 12.6773 8.66301 14.4998 8.66301H18.3524L16.6388 10.4401C16.3704 10.7184 16.3785 11.1615 16.6568 11.4299C16.9351 11.6982 17.3782 11.6902 17.6466 11.4119L20.5037 8.44891C20.7652 8.17774 20.7652 7.74828 20.5037 7.47712L17.6466 4.51415Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M7.9998 5.30005C6.50864 5.30005 5.2998 6.50888 5.2998 8.00005V16C5.2998 17.4912 6.50864 18.7 7.9998 18.7H15.9998C17.491 18.7 18.6998 17.4912 18.6998 16V14.5C18.6998 14.1135 18.3864 13.8 17.9998 13.8C17.6132 13.8 17.2998 14.1135 17.2998 14.5V16C17.2998 16.718 16.7178 17.3 15.9998 17.3H7.9998C7.28183 17.3 6.6998 16.718 6.6998 16V8.00005C6.6998 7.28208 7.28183 6.70005 7.9998 6.70005H8.9998C9.3864 6.70005 9.6998 6.38665 9.6998 6.00005C9.6998 5.61345 9.3864 5.30005 8.9998 5.30005H7.9998Z",fill:"currentColor"})]}),e3=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.67 2a1 1 0 1 1 0-2c3.35 0 6.26 1.09 8.67 3.26C22.78 5.46 24 8.5 24 12.33a1 1 0 0 1-2 0c0-3.28-1-5.79-3-7.59A10.55 10.55 0 0 0 11.67 2Z"}),e5=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M6 1a2 2 0 0 0-2 2v18c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V7h-4a2 2 0 0 1-2-2V1H6Z",fill:"#D8544E"}),(0,r.jsx)("path",{d:"M12.5 10.2c0-.5-.1-.8-.2-.9a.8.8 0 0 0-.7-.3 1 1 0 0 0-.9.6v.5c0 .6.2 1.2.4 1.7-.2 1-.6 2.3-1.1 3.3-1.2.5-1.9 1-2 1.8 0 .3.1.7.5 1l.5.1c.4 0 .7-.3 1-.8l.8-1.3 2.6-.8c.5.4 1 .7 1.4.7.4 0 .8-.2 1-.5l.2-.6v-.4c-.3-.4-.7-.5-1.3-.5h-1c-.5-.5-1-1.3-1.4-2a7 7 0 0 0 .2-1.6Zm-1 4.3c0-.4.2-.9.4-1.3l.6 1-1 .3Z",fill:"#fff"}),(0,r.jsx)("path",{d:"m14 1 3 3 3 3h-4a2 2 0 0 1-2-2V1Z",fill:"#E39494"})]}),e4=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 19V7.87116L14.1643 5H7V19H17ZM18 21H6C5.44772 21 5 20.5523 5 20V4C5 3.44772 5.44772 3 6 3H14.5821C14.8495 3 15.1057 3.10707 15.2936 3.2973L18.7115 6.75788C18.8963 6.94505 19 7.19751 19 7.46058V20C19 20.5523 18.5523 21 18 21Z",fill:"#1A91F0"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.8141 12.6739C15.3543 12.6816 15.7083 12.7657 15.8685 12.9272L15.8707 12.925C15.9281 12.9826 15.9801 13.0656 15.9887 13.1331C16.0169 13.3599 15.9952 13.5812 15.8913 13.7427C15.8382 13.8246 15.7505 13.8844 15.6477 13.9131C15.5806 13.932 15.4983 13.9408 15.402 13.9408C14.8628 13.9408 14.0098 13.6631 13.3147 13.2636C12.4043 13.403 11.365 13.6564 10.4513 13.9596C9.65994 15.3704 9.08509 16 8.59143 16C8.49941 16 8.40955 15.9779 8.32403 15.9336L8.12592 15.834C8.00359 15.7621 7.98518 15.6061 8.009 15.4844C8.08586 15.1026 8.54596 14.6224 9.2399 14.1986C9.32217 14.1477 9.67076 13.9585 9.68592 13.9508L9.88945 13.8401C10.0865 13.4949 10.3041 13.0888 10.5444 12.6086L10.5747 12.5499L10.5813 12.5368C10.807 12.0841 11.0628 11.5713 11.2665 11.0628L11.3401 10.8802C11.0532 9.75602 10.8941 8.88852 11.0478 8.30871C11.0976 8.12393 11.2903 8 11.5274 8L11.6551 8.00332C11.8673 7.99336 12.0026 8.16598 12.0719 8.32863L12.0936 8.38728C12.1109 8.43928 12.1174 8.4603 12.1261 8.5278C12.1932 9.02573 11.9388 10.4996 11.9388 10.4996C11.9269 10.5549 11.9139 10.608 11.8987 10.67C12.1326 11.3272 12.5093 11.9237 12.9596 12.3541C13.1274 12.5134 13.3407 12.6473 13.5475 12.769C14.0098 12.7037 14.4493 12.6705 14.8
7586141 12.6739ZM9.45858 14.4232C8.93028 14.8658 8.57302 15.3638 8.48317 15.616C8.72675 15.5032 9.09699 15.1447 9.64803 14.2451C9.57333 14.3181 9.49105 14.3956 9.45858 14.4232ZM11.8673 9.05228C11.8597 8.66833 11.7688 8.25892 11.6097 8.25892C11.538 8.25892 11.5435 8.82598 11.5436 8.84065L11.5436 8.84094C11.5436 9.14523 11.588 9.60996 11.6779 9.90539C11.7872 9.70622 11.8749 9.43624 11.8673 9.05228ZM11.0197 12.8586C10.9017 13.0855 10.788 13.299 10.6765 13.5015C11.2849 13.2625 11.9756 13.0667 12.7745 12.9051C12.7193 12.8631 12.6674 12.8199 12.6186 12.7779C12.2257 12.4382 11.8911 12.0133 11.6227 11.5142C11.4873 11.8705 11.3065 12.3032 11.0197 12.8586ZM15.4388 13.5048C15.5275 13.5048 15.6672 13.4871 15.7159 13.4562C15.7646 13.4241 15.7603 13.2736 15.4767 13.1994C15.1982 13.1264 15.1101 13.1264 14.83 13.1264H14.8174C14.6582 13.1264 14.4818 13.1342 14.2891 13.1485C14.7914 13.3698 15.1497 13.5048 15.4388 13.5048Z",fill:"#1A91F0"})]}),e6=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 1a2 2 0 0 0-2 2v18c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V7h-4a2 2 0 0 1-2-2V1H6Z",fill:"#6390F7"}),(0,r.jsx)("path",{d:"M10.52 14.82 9.66 12H8l1.75 5h1.3l.95-2.78.94 2.78h1.3L16 12h-1.66l-.86 2.82-.94-2.82h-1.08l-.94 2.82Z",fill:"#fff"}),(0,r.jsx)("path",{d:"m14 1 3 3 3 3h-4a2 2 0 0 1-2-2V1Z",fill:"#A0BBF8"})]}),e8=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 1a2 2 0 0 0-2 2v18c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V7h-4a2 2 0 0 1-2-2V1H6Z",fill:"#CFD6E6"}),(0,r.jsx)("path",{d:"M10.5 14.8 9.7 12H8l1.8 5H11l.9-2.8 1 2.8h1.2l1.8-5h-1.7l-.8 2.8-1-2.8h-1l-1 2.8Z",fill:"#fff"}),(0,r.jsx)("path",{d:"m14 1 3 3 3 3h-4a2 2 0 0 1-2-2V1Z",fill:"#DDE3F0"})]}),e9=()=>(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M6 1a2 2 0 0 0-2 2v18c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V7h-4a2 2 0 0 1-2-2V1H6Z",fill:"#1DA1F2"}),(0,r.jsx)("path",{d:"M15 11H9v2h2v4h2v-4h2v-2Z",fill:"#fff"}),(0,r.jsx)("path",{d:"m14 1 3 3 3 3h-4a2 2 0 0 1-2-2V1Z",fill:"#85D0FF"})]}),e7=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 4a1 1 0 0 1 1 1c0 3.4 3 6 6 6a1 1 0 1 1 0 2c-1.42 0-2.93.72-4.1 1.9a6.03 6.03 0 0 0-1.9 4.1 1 1 0 1 1-2 0c0-3-2.6-6-6-6a1 1 0 1 1 0-2c3.45 0 6-2.55 6-6a1 1 0 0 1 1-1Zm.05 4.9a7.66 7.66 0 0 1-3.16 3.15 8.38 8.38 0 0 1 3.16 3.28 9.14 9.14 0 0 1 3.28-3.28 8.38 8.38 0 0 1-3.28-3.16ZM4 4a1 1 0 0 1 1 1c0 .55.5 1 1 1a1 1 0 0 1 0 2c-.17 0-.43.1-.67.33-.23.24-.33.5-.33.67a1 1 0 1 1-2 0c0-.5-.45-1-1-1a1 1 0 0 1 0-2c.6 0 1-.4 1-1a1 1 0 0 1 1-1ZM6.98 15a1 1 0 0 1 1 .83c.12.63.24.83.32.91.07.07.24.19.83.27a1 1 0 0 1 0 1.98c-.65.1-.84.2-.9.27-.05.05-.18.2-.23.83a1 1 0 0 1-1.99.06c-.1-.66-.2-.85-.27-.92-.03-.04-.17-.18-.83-.23a1 1 0 0 1 .02-2c.6-.04.74-.15.79-.2.06-.05.2-.24.29-.94a1 1 0 0 1 .97-.86Z"}),te=()=>(0,r.jsxs)("g",{stroke:"null",id:"svg_4",children:[(0,r.jsx)("path",{stroke:"currentColor",id:"svg_1",strokeLinejoin:"round",strokeWidth:"1.5",fill:"currentColor",d:"m20.76114,11.56774c-2.992,0 -5.984,-2.59361 -5.984,-6.05169c0,3.45811 -2.56446,6.05169 -5.98394,6.05169c3.41943,0 5.98394,3.02584 5.98394,6.05169c0,-3.02584 2.992,-6.05169 5.984,-6.05169z"}),(0,r.jsx)("path",{stroke:"currentColor",id:"svg_2",strokeLinejoin:"round",strokeWidth:"1.5",d:"m6.65829,7.2451c-0.85486,0 -1.70971,-0.74103 -1.70971,-1.72905c0,0.98802 -0.73271,1.72905 -1.70971,1.72905c0.97697,0 1.70971,0.86453 1.70971,1.72905c0,-0.86453 0.85486,-1.72905 1.70971,-1.72905z"}),(0,r.jsx)("path",{stroke:"currentColor",id:"svg_3",strokeLinejoin:"round",strokeWidth:"1.5",d:"m9.22397,16.7549c-1.13816,-0.1559 -1.50516,-0.54725 -1.70971,-1.72908c-0.17512,1.28976 -0.58327,1.64436 -1.70971,1.72908c1.28149,0.11513 1.54021,0.59739 1.70971,1.72905c0.11109,-1.22835 0.5333,-1.56364 1.70971,-1.72905z"})]}),tt=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 14c0-.6.4-1 1-1h4c.6 0 1 .4 1 1v6h3v-9.2l-6-6-6 6V20h3v-6Zm2 7c0 .5-.4 1-1 1H5a1 1 0 0 1-1-1V10.4c0-.3.1-.5.3-.7l7-7a1 1 0 0 1 1.4 0l7 7c.2.2.3.4.3.7V21c0 .5-.4 1-1 1h-5a1 1 0 0 1-1-1v-6h-2v6Z"}),ti=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 3a2 2 0 0 0-2 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2h-4Zm0 2h4v7h-4V5Zm9 5a2 2 0 0 0-2 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2h-4Zm0 2h4v7h-4v-7Zm-2-7c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V5Zm6 0h-4v2h4V5Zm-13 10a2 2 0 0 0-2 2v2c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-4Zm0 2h4v2h-4v-2Z"}),tr=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 17h-7v2h4v2H7v-2h4v-2H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1h16c.6 0 1 .4 1 1v12c0 .6-.4 1-1 1ZM5 15V5h14v10h-2.1a5 5 0 0 0-3-3.6 3 3 0 1 0-3.8 0 5 5 0 0 0-3 3.6H5Zm4.2 0h5.6a3 3 0 0 0-5.6 0ZM13 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),tn=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5C10 4.44772 10.4477 4 11 4C11.5523 4 12 4.44772 12 5V7H14H17V10V12H19C19.5523 12 20 12.4477 20 13C20 13.5523 19.5523 14 19 14H17V16V19H14.874C14.4299 17.2748 12.8638 16 11 16C9.13616 16 7.57006 17.2748 7.12602 19H5V16.874C6.72523 16.4299 8 14.8638 8 13C8 11.1362 6.72523 9.57006 5 9.12
7586602V7H8H10V5ZM19 16V20C19 20.5523 18.5523 21 18 21H14C13.4477 21 13 20.5523 13 20C13 18.8954 12.1046 18 11 18C9.89543 18 9 18.8954 9 20C9 20.5523 8.55228 21 8 21H4C3.44772 21 3 20.5523 3 20V16C3 15.4477 3.44772 15 4 15C5.10457 15 6 14.1046 6 13C6 11.8954 5.10457 11 4 11C3.44772 11 3 10.5523 3 10V6C3 5.44772 3.44772 5 4 5H8C8 3.34315 9.34315 2 11 2C12.6569 2 14 3.34315 14 5H18C18.5523 5 19 5.44772 19 6V10C20.6569 10 22 11.3431 22 13C22 14.6569 20.6569 16 19 16Z"}),to=()=>(0,r.jsx)("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.6 4H15V2C15 0.9 14.1 0 13 0L7.00002 0C5.90002 0 5.00002 0.9 5.00002 2L5.00002 4L2.40002 4C1.30002 4 0.400024 4.9 0.400024 6L0.400024 16C0.400024 17.1 1.30002 18 2.40002 18L17.6 18C18.7 18 19.6 17.1 19.6 16L19.6 6C19.6 4.9 18.7 4 17.6 4ZM12 8H8.00002C7.45002 8 7.00002 8.45 7.00002 9V9.99C4.68002 9.96 2.77002 8.24 2.45002 6L6.00002 6L14 6L17.55 6C17.23 8.24 15.32 9.96 13 9.99V9C13 8.45 12.55 8 12 8ZM11 10V12H9.00002V10H11ZM7.00002 2L13 2V4L7.00002 4L7.00002 2ZM2.40002 16L2.40002 10.07C3.59002 11.24 5.20002 11.98 7.00002 12V13C7.00002 13.55 7.45002 14 8.00002 14H12C12.55 14 13 13.55 13 13V12C14.79 11.98 16.41 11.25 17.6 10.08L17.6 16L2.40002 16Z",fill:"currentColor"})}),ta=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.6004 6H17.0004V4C17.0004 2.9 16.1004 2 15.0004 2L9.00039 2C7.90039 2 7.00039 2.9 7.00039 4L7.00039 6L4.40039 6C3.30039 6 2.40039 6.9 2.40039 8L2.40039 18C2.40039 19.1 3.30039 20 4.40039 20L19.6004 20C20.7004 20 21.6004 19.1 21.6004 18L21.6004 8C21.6004 6.9 20.7004 6 19.6004 6ZM14.0004 10H10.0004C9.45039 10 9.00039 10.45 9.00039 11V11.99C6.68039 11.96 4.77039 10.24 4.45039 8H8.00039L16.0004 8L19.5504 8C19.2304 10.24 17.3204 11.96 15.0004 11.99V11C15.0004 10.45 14.5504 10 14.0004 10ZM13.0004 12V14H11.0004V12H13.0004ZM9.00039 4L15.0004 4V6L9.00039 6V4ZM4.40039 18L4.40039 12.07C5.59039 13.24 7.20039 13.98 9.00039 14V15C9.00039 15.55 9.45039 16 10.0004 16H14.0004C14.5504 16 15.0004 15.55 15.0004 15V14C16.7904 13.98 18.4104 13.25 19.6004 12.08L19.6004 18L4.40039 18Z"}),tl=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 17H13V19H17V21H7V19H11V17H4C3.44772 17 3 16.5523 3 16V4C3 3.44772 3.44772 3 4 3H20C20.5523 3 21 3.44772 21 4V16C21 16.5523 20.5523 17 20 17ZM5 15V5H19V15H16.8999C16.5623 13.3369 15.3993 11.9736 13.857 11.3562C14.5531 10.8069 14.9999 9.95561 14.9999 9C14.9999 7.34315 13.6568 6 11.9999 6C10.3431 6 8.99991 7.34315 8.99991 9C8.99991 9.95561 9.44671 10.8069 10.1428 11.3562C8.60057 11.9736 7.43752 13.3369 7.09993 15H5ZM9.17062 15H14.8292C14.4174 13.8348 13.3061 13 11.9999 13C10.6937 13 9.58245 13.8348 9.17062 15ZM12.9999 9C12.9999 9.55228 12.5522 10 11.9999 10C11.4476 10 10.9999 9.55228 10.9999 9C10.9999 8.44772 11.4476 8 11.9999 8C12.5522 8 12.9999 8.44772 12.9999 9Z"}),ts=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_1703_48172)",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_1703_48172",fill:"white",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.53553 13.143L4.53516 13.1426C2.58291 11.1899 2.58304 8.02438 4.53553 6.07189C6.48803 4.11939 9.65357 4.11927 11.6062 6.07151C13.5589 4.11927 16.7244 4.11939 18.6769 6.07189C20.6294 8.02438 20.6295 11.1899 18.6773 13.1426C18.6772 13.1427 18.677 13.1428 18.6769 13.143L11.6062 20.2136L4.53553 13.143Z"})}),(0,r.jsx)("path",{d:"M4.53516 13.1426L3.12079 14.5566L3.12094 14.5568L4.53516 13.1426ZM11.6062 6.07151L10.1922 7.48587L11.6062 8.89964L13.0203 7.48587L11.6062 6.07151ZM18.6773 13.1426L20.0915 14.5568L20.0917 14.5566L18.6773 13.1426ZM18.6769 13.143L20.0911 14.5572L18.6769 13.143ZM11.6062 20.2136L10.192 21.6279L11.6062 23.0421L13.0204 21.6279L11.6062 20.2136ZM3.12094 14.5568L3.12132 14.5572L5.94975 11.7287L5.94937 11.7284L3.12094 14.5568ZM3.12132 4.65767C0.387826 7.39117 0.38765 11.8229 3.12079 14.5566L5.94952 11.7285C4.77817 10.5569 4.77825 8.6576 5.94975 7.4861L3.12132 4.65767ZM13.0203 4.65715C10.2866 1.924 5.85482 1.92418 3.12132 4.65767L5.94975 7.4861C7.12124 6.31461 9.02057 6.31453 10.1922 7.48587L13.0203 4.65715ZM13.0203 7.48587C14.1919 6.31453 16.0912 6.3146 17.2627 7.4861L20.0911 4.65767C17.3576 1.92418 12.9259 1.924 10.1922 4.65715L13.0203 7.48587ZM17.2627 7.4861C18.4342 8.6576 18.4343 10.5569 17.2629 11.7285L20.0917 14.5566C22.8248 11.8229 22.8246 7.39117 20.0911 4.65767L17.2627 7.4861ZM17.2631 11.7284C17.263 11.7284 17.263 11.7285 17.2629 11.7286C17.2628 11.7286 17.2628 11.7287 17.2627 11.7287L20.0911 14.5572C20.0912 14.5571 20.0913 14.557 20.0913 14.557C20.0914 14.5569 20.0914 14.5569 20.0915 14.5568L17.2631 11.7284ZM13.0204 21.6279L20.0911 14.5572L17.2627 11.7287L10.192 18.7994L13.0204 21.6279ZM3.12132 14.5572L10.192 21.6279L13.0204 18.7994L5.94975 11.7287L3.12132 14.5572Z",mask:"url(#path-1-inside-1_1703_48172)"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1703_48172",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),td=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_656_17397)",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_656_17397",fill:"white",children:(0,r.jsx)("path",{d:"M4.53553 6.07189
7586C6.48792 4.1195 9.65323 4.11927 11.6059 6.0712C13.5585 4.11906 16.7238 4.11971 18.6763 6.07189C20.6288 8.02438 20.6285 11.1889 18.6763 13.1416L18.677 13.1423L13.0201 18.7991C12.2391 19.5802 10.9727 19.5802 10.1917 18.7991L4.53484 13.1423C2.58291 11.1896 2.58314 8.02428 4.53553 6.07189Z"})}),(0,r.jsx)("path",{d:"M11.6059 6.0712L10.3334 7.34423L11.606 8.61641L12.8786 7.34412L11.6059 6.0712ZM18.6763 6.07189L19.9491 4.7991L19.949 4.79899L18.6763 6.07189ZM18.6763 13.1416L17.4034 11.8689L16.1308 13.1417L17.4035 14.4144L18.6763 13.1416ZM18.677 13.1423L19.9498 14.4151L21.2226 13.1423L19.9498 11.8695L18.677 13.1423ZM4.53484 13.1423L3.26181 14.4148L3.26205 14.4151L4.53484 13.1423ZM4.53553 6.07189L5.80833 7.34468C7.05785 6.09515 9.08365 6.095 10.3334 7.34423L11.6059 6.0712L12.8785 4.79816C10.2228 2.14353 5.918 2.14384 3.26274 4.7991L4.53553 6.07189ZM11.6059 6.0712L12.8786 7.34412C14.1279 6.09505 16.1537 6.0951 17.4036 7.34479L18.6763 6.07189L19.949 4.79899C17.2938 2.14431 12.989 2.14307 10.3333 4.79827L11.6059 6.0712ZM18.6763 6.07189L17.4035 7.34468C18.6529 8.5941 18.653 10.619 17.4034 11.8689L18.6763 13.1416L19.9492 14.4142C22.6041 11.7588 22.6047 7.45467 19.9491 4.7991L18.6763 6.07189ZM18.6763 13.1416L17.4035 14.4144L17.4042 14.4151L18.677 13.1423L19.9498 11.8695L19.9491 11.8688L18.6763 13.1416ZM18.677 13.1423L17.4042 11.8695L11.7473 17.5263L13.0201 18.7991L14.2929 20.0719L19.9498 14.4151L18.677 13.1423ZM13.0201 18.7991L11.7473 17.5263C11.6692 17.6044 11.5426 17.6044 11.4645 17.5263L10.1917 18.7991L8.91891 20.0719C10.4029 21.5559 12.8089 21.5559 14.2929 20.0719L13.0201 18.7991ZM10.1917 18.7991L11.4645 17.5263L5.80764 11.8695L4.53484 13.1423L3.26205 14.4151L8.91891 20.0719L10.1917 18.7991ZM4.53484 13.1423L5.80788 11.8697C4.55865 10.62 4.5588 8.59421 5.80833 7.34468L4.535
758653 6.07189L3.26274 4.7991C0.607488 7.45435 0.607176 11.7592 3.26181 14.4148L4.53484 13.1423Z",fill:"#9FA6BB",stroke:"none",mask:"url(#path-1-inside-1_656_17397)"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_656_17397",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),tc=()=>(0,r.jsx)("g",{children:(0,r.jsx)("path",{fill:"#DA0C22",d:"m6.11916,12.81625c-1.62386,-1.6239 -1.62386,-4.2567 0,-5.8806c1.62385,-1.62381 4.25665,-1.62381 5.88055,0c1.6238,-1.62381 4.2573,-1.62381 5.8811,0c1.6239,1.6239 1.6239,4.2567 0,5.8806c-0.0148,0.0148 -0.0297,0.0294 -0.0447,0.044l-5.129,5.129c-0.3905,0.3906 -1.0237,0.3906 -1.4142,0l-5.12907,-5.129c-0.01498,-0.0146 -0.02987,-0.0292 -0.04468,-0.044z"})}),tu=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_763_41988)",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_763_41988",fill:"white",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.53553 13.1449L4.53516 13.1445C2.58291 11.1919 2.58304 8.02634 4.53553 6.07384C6.48803 4.12135 9.65357 4.12122 11.6062 6.07346C13.5589 4.12122 16.7244 4.12135 18.6769 6.07384C20.6294 8.02634 20.6295 11.1919 18.6773 13.1445C18.6772 13.1447 18.677 13.1448 18.6769 13.1449L13.0204 18.8014C12.2394 19.5824 10.9731 19.5824 10.192 18.8014L4.53553 13.1449Z"})}),(0,r.jsx)("path",{d:"M4.53516 13.1445L3.26223 14.4172L3.26236 14.4173L4.53516 13.1445ZM4.53553 13.1449L5.80833 11.8721L4.53553 13.1449ZM11.6062 6.07346L10.3336 7.34639L11.6062 8.61878L12.8789 7.34639L11.6062 6.07346ZM18.6773 13.1445L19.9501 14.4173L19.9502 14.4172L18.6773 13.1445ZM10.192 18.8014L8.91922 20.0742L10.192 18.8014ZM3.26236 14.4173L3.26274 14.4177L5.80833 11.8721L5.80795 11.8717L3.26236 14.4173ZM3.26274 4.80105C0.607347 7.45644 0.607176 11.7616 3.26223 14.4172L5.80808 11.8719C4.55865 10.6222 4.55873 8.59623 5.80833 7.34663L3.26274 4.80105ZM12.8789 4.80054C10.2233 2.14548 5.91814 2.14565 3.26274 4.80105L5.80833 7.34663C7.05792 6.09704 9.08387 6.09696 10.3336 7.34639L12.8789 4.80054ZM12.8789 7.34639C14.1286 6.09696 16.1545 6.09704 17.4041 7.34663L19.9497 4.80105C17.2943 2.14566 12.9892 2.14548 10.3336 4.80054L12.8789 7.34639ZM17.4041 7.34663C18.6537 8.59623 18.6538 10.6222 17.4044 11.8719L19.9502 14.4172C22.6053 11.7616 22.6051 7.45644 19.9497 4.80105L17.4041 7.34663ZM17.4045 11.8717C17.4044 11.8718 17.4044 11.8719 17.4043 11.8719C17.4042 11.872 17.4042 11.8721 17.4041 11.8721L19.9497 14.4177C19.9498 14.4176 19.9498 14.4176 19.9499 14.4175C19.95 14.4174 19.95 14.4174 19.9501 14.4173L17.4045 11.8717ZM14.2932 20.0742L19.9497 14.4177L17.4041 11.8721L11.7476 17.5286L14.2932 20.0742ZM8.91922 20.0742C10.4032 21.5582 12.8092 21.5582 14.2932 20.0742L11.7476 17.5286C11.6695 17.6067 11.5429 17.6067 11.4648 17.5286L8.91922 20.0742ZM3.26274 14.4177L8.91922 20.0742L11.4648 17.5286L5.80833 11.8721L3.26274 14.4177Z",fill:"currentColor",mask:"url(#path-1-inside-1_763_41988)"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_763_41988",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),tp=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_763_41995)",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_763_41995",fill:"white",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.53553 13.1449L4.53516 13.1445C2.58291 11.1919 2.58304 8.02634 4.53553 6.07384C6.48803 4.12135 9.65357 4.12122 11.6062 6.07346C13.5589 4.12122 16.7244 4.12135 18.6769 6.07384C20.6294 8.02634 20.6295 11.1919 18.6773 13.1445C18.6772 13.1447 18.677 13.1448 18.6769 13.1449L13.0204 18.8014C12.2394 19.5824 10.9731 19.5824 10.192 18.8014L4.53553 13.1449Z"})}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.53553 13.1449L4.53516 13.1445C2.58291 11.1919 2.58304 8.02634 4.53553 6.07384C6.48803 4.12135 9.65357 4.12122 11.6062 6.07346C13.5589 4.12122 16.7244 4.12135 18.6769 6.07384C20.6294 8.02634 20.6295 11.1919 18.6773 13.1445C18.6772 13.1447 18.677 13.1448 18.6769 13.1449L13.0204 18.8014C12.2394 19.5824 10.9731 19.5824 10.192 18.8014L4.53553 13.1449Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M4.53516 13.1445L3.26223 14.4172L3.26236 14.4173L4.53516 13.1445ZM4.535
758653 13.1449L5.80833 11.8721L4.53553 13.1449ZM11.6062 6.07346L10.3336 7.34639L11.6062 8.61878L12.8789 7.34639L11.6062 6.07346ZM18.6773 13.1445L19.9501 14.4173L19.9502 14.4172L18.6773 13.1445ZM10.192 18.8014L8.91922 20.0742L10.192 18.8014ZM3.26236 14.4173L3.26274 14.4177L5.80833 11.8721L5.80795 11.8717L3.26236 14.4173ZM3.26274 4.80105C0.607347 7.45644 0.607176 11.7616 3.26223 14.4172L5.80808 11.8719C4.55865 10.6222 4.55873 8.59623 5.80833 7.34663L3.26274 4.80105ZM12.8789 4.80054C10.2233 2.14548 5.91814 2.14565 3.26274 4.80105L5.80833 7.34663C7.05792 6.09704 9.08387 6.09696 10.3336 7.34639L12.8789 4.80054ZM12.8789 7.34639C14.1286 6.09696 16.1545 6.09704 17.4041 7.34663L19.9497 4.80105C17.2943 2.14566 12.9892 2.14548 10.3336 4.80054L12.8789 7.34639ZM17.4041 7.34663C18.6537 8.59623 18.6538 10.6222 17.4044 11.8719L19.9502 14.4172C22.6053 11.7616 22.6051 7.45644 19.9497 4.80105L17.4041 7.34663ZM17.4045 11.8717C17.4044 11.8718 17.4044 11.8719 17.4043 11.8719C17.4042 11.872 17.4042 11.8721 17.4041 11.8721L19.9497 14.4177C19.9498 14.4176 19.9498 14.4176 19.9499 14.4175C19.95 14.4174 19.95 14.4174 19.9501 14.4173L17.4045 11.8717ZM14.2932 20.0742L19.9497 14.4177L17.4041 11.8721L11.7476 17.5286L14.2932 20.0742ZM8.91922 20.0742C10.4032 21.5582 12.8092 21.5582 14.2932 20.0742L11.7476 17.5286C11.6695 17.6067 11.5429 17.6067 11.4648 17.5286L8.91922 20.0742ZM3.26274 14.4177L8.91922 20.0742L11.4648 17.5286L5.80833 11.8721L3.26274 14.4177Z",fill:"currentColor",mask:"url(#path-1-inside-1_763_41995)"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_763_41995",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),th=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M2 12C2.82843 12 3.5 12.6716 3.5 13.5C3.5 14.3284 2.82843 15 2 15C1.17157 15 0.5 14.3284 0.5 13.5C0.5 12.6716 1.17157 12 2 12Z",fill:"#0F141E"}),(0,r.jsx)("path",{d:"M2 6C2.82843 6 3.5 6.67157 3.5 7.5C3.5 8.32843 2.82843 9 2 9C1.17157 9 0.5 8.32843 0.5 7.5C0.5 6.67157 1.17157 6 2 6Z",fill:"#0F141E"}),(0,r.jsx)("path",{d:"M2 0C2.82843 0 3.5 0.671573 3.5 1.5C3.5 2.32843 2.82843 3 2 3C1.17157 3 0.5 2.32843 0.5 1.5C0.5 0.671573 1.17157 0 2 0Z",fill:"#0F141E"})]}),tx=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2 11C15.2 13.3196 13.3196 15.2 11 15.2C8.6804 15.2 6.8 13.3196 6.8 11C6.8 8.6804 8.6804 6.8 11 6.8C13.3196 6.8 15.2 8.6804 15.2 11ZM17 11C17 14.3137 14.3137 17 11 17C7.68629 17 5 14.3137 5 11C5 7.68629 7.68629 5 11 5C14.3137 5 17 7.68629 17 11ZM19.4364 18.1636L17.6364 16.3636C17.2849 16.0121 16.7151 16.0121 16.3636 16.3636C16.0121 16.7151 16.0121 17.2849 16.3636 17.6364L18.1636 19.4364C18.5151 19.7879 19.0849 19.7879 19.4364 19.4364C19.7879 19.0849 19.7879 18.5151 19.4364 18.1636Z",fill:"#828BA2"})}),tm=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.98411 4.87682C7.85509 4.37667 7.14482 4.37667 7.01581 4.87682L6.75338 5.89412C6.70793 6.07033 6.57033 6.20793 6.39412 6.25338L5.37682 6.51581C4.87667 6.64482 4.87667 7.35509 5.37682 7.48411L6.39412 7.74653C6.57033 7.79199 6.70793 7.92959 6.75338 8.10579L7.01581 9.1231C7.14482 9.62324 7.85509 9.62324 7.98411 9.1231L8.24653 8.10579C8.29199 7.92958 8.42959 7.79199 8.60579 7.74653L9.6231 7.48411C10.1232 7.35509 10.1232 6.64482 9.6231 6.51581L8.60579 6.25338C8.42958 6.20793 8.29199 6.07033 8.24653 5.89412L7.98411 4.87682ZM15.1619 6.70197C14.8523 5.50162 13.1476 5.50162 12.838 6.70197L11.8873 10.3873L8.20197 11.338C7.00162 11.6476 7.00162 13.3523 8.20197 13.6619L11.8873 14.6126L12.838 18.2979C13.1476 19.4983 14.8523 19.4983 15.1619 18.2979L16.1126 14.6126L19.7979 13.6619C20.9983 13.3523 20.9983 11.6476 19.7979 11.338L16.1126 10.3873L15.1619 6.70197ZM13.2135 10.8513L14 7.80241L14.7864 10.8513C14.8955 11.2742 15.2258 11.6044 15.6487 11.7135L18.6975 12.5L15.6487 13.2864C15.2258 13.3955 14.8955 13.7258 14.7864 14.1487L14 17.1975L13.2135 14.1487C13.1044 13.7258 12.7742 13.3955 12.3513 13.2864L9.30241 12.5L12.3513 11.7135C12.7742 11.6044 13.1044 11.2742 13.2135 10.8513Z",fill:"currentColor"}),tg=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M7 10L12 15L17 10",fill:"none",stroke:"#0F141E",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),ty=()=>(0,r.jsx)("path",{d:"M17 14L12 9L7 14",stroke:"currentColor",fill:"none",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),tf=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M14.7279 0.800049C14.9127 0.833368 15.0975 0.854926 15.2784 0.900005C15.6855 0.999653 16.0516 1.22465 16.3259 1.54371C16.6002 1.86276 16.769 2.26001 16.8088 2.6802C16.8486 3.10038 16.7574 3.52263 16.548 3.88819C16.3386 4.25376 16.0213 4.54447 15.6402 4.7199C15.0898 4.97469 14.5295 5.11189 13.9304 4.89434C13.4773 4.75334 13.0894 4.45334 12.8371 4.04878C12.5848 3.64423 12.4848 3.16193 12.5552 2.68942C12.617 2.21803 12.8317 1.78043 13.1659 1.44475C13.5001 1.10906 13.9351 0.894115 14.4031 0.833367C14.4569 0.825283 14.5101 0.81416 14.5626 0.800049H14.7279Z",fill:"#1A91F0"}),(0,r.jsx)("path",{d:"M15.1165 29.1856C7.03429 29.1856 4.04652 30.5576 4.02901 25.3794C4.01928 23.0452 3.52521 14.8252 7.03429 17.622C8.26364 18.602 7.20158 24.2642 7.91351 26.0497C11.584 26.3261 22.2747 26.1026 23.5507 25.4618C23.8016 23.0589 22.8038 18.406 24.603 17.0341C27.8145 14.5724 27.1318 23.1726 27.1609 25.6009C27.2387 30.7536 24.78 29.1856 15.1165 29.1856Z",fill:"#1A91F0"}),(0,r.jsx)("path",{d:"M13.9948 10.6449C13.742 10.9134 12.2734 12.8831 11.8902 13.1928C11.7554 13.3097 11.5979 13.3969 11.4278 13.4489C11.2576 13.5009 11.0785 13.5164 10.902 13.4946C10.1843 13.3927 9.77967 12.7106 9.99558 11.9913C10.2134 10.8154 11.9407 9.44342 12.7344 8.26747C12.870
75865 8.07148 13.8237 6.53293 13.9948 6.36242C14.6367 5.71956 14.9674 5.70388 15.7299 6.20367C16.1034 6.45258 17.1188 8.13223 17.4631 8.42622C18.6029 9.40619 19.1573 9.71781 19.9918 10.9741C20.3069 11.4523 20.41 12.3461 19.9607 12.7067C19.7836 12.8805 19.5563 12.9931 19.3116 13.0283C19.0668 13.0635 18.8174 13.0195 18.599 12.9027C18.0894 12.6871 17.7801 12.252 17.3075 11.7757C16.6772 11.1407 16.2279 10.6664 16.047 10.5037C16.0587 10.7174 16.4516 14.4687 16.5197 16.0621C16.5877 17.6947 16.7511 18.8785 16.8348 20.5092C16.9068 21.9458 16.1423 22.5945 15.5743 22.573C15.3201 22.5634 15.0705 22.5017 14.8407 22.3917C14.611 22.2816 14.4059 22.1255 14.2381 21.9329C14.0702 21.7403 13.9431 21.5152 13.8645 21.2714C13.7859 21.0277 13.7574 20.7703 13.7809 20.5151C13.8392 19.2391 13.9968 18.6041 13.9968 15.2683C14.0046 14.2746 13.9929 10.7154 13.9948 10.6449Z",fill:"#1A91F0"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1009_10231",children:(0,r.jsx)("rect",{width:"23.2",height:"30.6043",fill:"white",transform:"translate(4 0.800049)"})})})]}),tb=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 3.30005C5.83726 3.30005 5.3 3.83731 5.3 4.50005V7.00005H4C3.44772 7.00005 3 7.44776 3 8.00005V16C3 16.5523 3.44772 17 4 17H5.3V19.5C5.3 20.1628 5.83726 20.7001 6.5 20.7001H17.5C18.1627 20.7001 18.7 20.1628 18.7 19.5V7.70716C18.7 7.3889 18.5736 7.08367 18.3485 6.85863L15.1414 3.65152C14.9164 3.42648 14.6112 3.30005 14.2929 3.30005H6.5ZM6.7 17V19.3H17.3V7.79L14.2101 4.70005H6.7V7.00005H12C12.5523 7.00005 13 7.44776 13 8.00005V16C13 16.5523 12.5523 17 12 17H6.7ZM5.25 10.5C5.25 9.80969 5.80964 9.25005 6.5 9.25005H9.5C10.1904 9.25005 10.75 9.80969 10.75 10.5V12C10.75 12.6904 10.1904 13.25 9.5 13.25H6.75V14.5C6.75 14.9143 6.41421 15.25 6 15.25C5.58579 15.25 5.25 14.9143 5.25 14.5V12.5V10.5ZM6.75 11.75H9.25V10.75H6.75V11.75Z",fill:"#DA0C22"})}),t_=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M17 14L12 9L7 14",stroke:"#0F141E",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}),tv=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2 11C15.2 13.3196 13.3196 15.2 11 15.2C8.6804 15.2 6.8 13.3196 6.8 11C6.8 8.6804 8.6804 6.8 11 6.8C13.3196 6.8 15.2 8.6804 15.2 11ZM17 11C17 14.3137 14.3137 17 11 17C7.68629 17 5 14.3137 5 11C5 7.68629 7.68629 5 11 5C14.3137 5 17 7.68629 17 11ZM19.4364 18.1636L17.6364 16.3636C17.2849 16.0121 16.7151 16.0121 16.3636 16.3636C16.0121 16.7151 16.0121 17.2849 16.3636 17.6364L18.1636 19.4364C18.5151 19.7879 19.0849 19.7879 19.4364 19.4364C19.7879 19.0849 19.7879 18.5151 19.4364 18.1636Z",fill:"#1E2532"})}),tj=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M7 10L12 15L17 10",stroke:"#495163",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),tA=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 3.30005C5.83726 3.30005 5.3 3.83731 5.3 4.50005V7.50005H4C3.44772 7.50005 3 7.94776 3 8.50005V16.5C3 17.0523 3.44772 17.5 4 17.5H5.3V19.5C5.3 20.1628 5.83726 20.7001 6.5 20.7001H17.5C18.1627 20.7001 18.7 20.1628 18.7 19.5V7.70716C18.7 7.3889 18.5736 7.08367 18.3485 6.85863L15.1414 3.65152C14.9164 3.42648 14.6112 3.30005 14.2929 3.30005H6.5ZM6.7 17.5V19.3H17.3V7.79L14.2101 4.70005H6.7V7.50005H12C12.5523 7.50005 13 7.94776 13 8.50005V16.5C13 17.0523 12.5523 17.5 12 17.5H6.7ZM5.359 9.86528C5.70943 9.78741 6.05665 10.0084 6.13452 10.3588L6.71972 12.9922L7.31098 11.7252C7.42873 11.4728 7.68785 11.3316 7.95 11.3518C8.21215 11.3316 8.47127 11.4728 8.58902 11.7252L9.24803 13.1373L9.86548 10.3588C9.94335 10.0084 10.2906 9.78741 10.641 9.86528C10.9914 9.94316 11.2124 10.2904 11.1345 10.6408L10.1345 15.1408C10.0636 15.4601 9.76903 15.6719 9.45218 15.6481C9.18929 15.6693 8.92906 15.5279 8.81098 15.2749L7.95 13.43L7.08902 15.2749C6.93721 15.6002 6.55043 15.7409 6.22512 15.5891C6.0984 15.5299 5.9997 15.4351 5.9354 15.3222C5.9195 15.2943 5.9
75860554 15.2651 5.89375 15.2345C5.88068 15.2007 5.87044 15.1658 5.86314 15.1303L4.86548 10.6408C4.7876 10.2904 5.00856 9.94316 5.359 9.86528Z",fill:"#1170CD"})}),tC=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5 3.30005C5.83726 3.30005 5.3 3.83731 5.3 4.50005V7.00005H4C3.44772 7.00005 3 7.44776 3 8.00005V16C3 16.5523 3.44772 17 4 17H5.3V19.5C5.3 20.1628 5.83726 20.7001 6.5 20.7001H17.5C18.1627 20.7001 18.7 20.1628 18.7 19.5V7.70716C18.7 7.3889 18.5736 7.08367 18.3485 6.85863L15.1414 3.65152C14.9164 3.42648 14.6112 3.30005 14.2929 3.30005H6.5ZM6.7 17V19.3H17.3V7.79L14.2101 4.70005H6.7V7.00005H12C12.5523 7.00005 13 7.44776 13 8.00005V16C13 16.5523 12.5523 17 12 17H6.7ZM5.25 10C5.25 9.58584 5.58579 9.25005 6 9.25005H8H10C10.4142 9.25005 10.75 9.58584 10.75 10C10.75 10.4143 10.4142 10.75 10 10.75H8.75V14.5C8.75 14.9143 8.41421 15.25 8 15.25C7.58579 15.25 7.25 14.9143 7.25 14.5V10.75H6C5.58579 10.75 5.25 10.4143 5.25 10Z",fill:"#656E83"})}),tw=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0001 5.89998C10.8403 5.89998 9.9001 6.84018 9.9001 7.99998C9.9001 9.15977 10.8403 10.1 12.0001 10.1C13.1599 10.1 14.1001 9.15977 14.1001 7.99998C14.1001 6.84018 13.1599 5.89998 12.0001 5.89998ZM15.9001 7.99998C15.9001 9.84412 14.6201 11.3893 12.9001 11.7956V15C12.9001 15.497 12.4972 15.9 12.0001 15.9C11.503 15.9 11.1001 15.497 11.1001 15L11.1001 11.7956C9.38008 11.3893 8.1001 9.84412 8.1001 7.99998C8.1001 5.84607 9.84619 4.09998 12.0001 4.09998C14.154 4.09998 15.9001 5.84607 15.9001 7.99998ZM16.1693 13.1303C15.689 13.0023 15.1959 13.2879 15.0679 13.7682C14.94 14.2485 15.2256 14.7416 15.7059 14.8696C16.5688 15.0996 17.2205 15.3932 17.6347 15.6928C18.0649 16.004 18.1001 16.2111 18.1001 16.2631C18.1001 16.3059 18.0815 16.4435 17.8391 16.6675C17.5957 16.8925 17.1941 17.1365 16.6221 17.3602C15.4838 17.8052 13.85 18.1 12.0001 18.1C10.1502 18.1 8.51636 17.8052 7.37807 17.3602C6.80614 17.1365 6.40451 16.8925 6.16111 16.6675C5.91871 16.4435 5.9001 16.3059 5.9001 16.2631C5.9001 16.2154 5.92693 16.0386 6.27324 15.7628C6.61219 15.4928 7.15514 15.217 7.89427 14.9853C8.36857 14.8367 8.63256 14.3317 8.4839 13.8574C8.33525 13.3831 7.83024 13.1191 7.35593 13.2677C6.49474 13.5376 5.72519 13.898 5.15172 14.3549C4.58561 14.8058 4.1001 15.4466 4.1001 16.2631C4.1001 16.9761 4.47324 17.5585 4.93928 17.9893C5.40431 18.4192 6.02781 18.7649 6.72263 19.0366C8.11784 19.5821 9.98403 19.9 12.0001 19.9C14.0162 19.9 15.8824 19.5821 17.2776 19.0366C17.9724 18.7649 18.5959 18.4192 19.0609 17.9893C19.527 17.5585 19.9001 16.9761 19.9001 16.2631C19.9001 15.3744 19.3283 14.6963 18.6895 14.2343C18.0347 13.7606 17.1551 13.393 16.1693 13.1303Z",fill:"currentColor"})}),tk=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("g",{id:"Group 337943",children:(0,r.jsxs)("g",{id:"Group 337942",children:[(0,r.jsx)("path",{id:"Union",d:"M7.85714 15.9999L8.6164 15.3491L8.31708 14.9999H7.85714V15.9999ZM7.85714 7.99992V8.99992H8.31708L8.6164 8.65071L7.85714 7.99992ZM11.2407 4.05238L12 4.70317V4.70317L11.2407 4.05238ZM11.2407 19.9475L12 19.2967H12L11.2407 19.9475ZM7.85714 14.9999H5V16.9999H7.85714V14.9999ZM5 14.9999C4.44771 14.9999 4 14.5522 4 13.9999H2C2 15.6568 3.34315 16.9999 5 16.9999V14.9999ZM4 13.9999V9.99992H2V13.9999H4ZM4 9.99992C4 9.44763 4.44772 8.99992 5 8.99992V6.99992C3.34315 6.99992 2 8.34306 2 9.99992H4ZM5 8.99992H7.85714V6.99992H5V8.99992ZM8.6164 8.65071L12 4.70317L10.4815 3.40159L7.09789 7.34913L8.6164 8.65071ZM12 4.70317H14C14 2.84636 11.6899 1.99179 10.4815 3.40159L12 4.70317ZM12 4.70317V19.2967H14V4.70317H12ZM12 19.2967L12 19.2967L10.4815 20.5982C11.6899 22.008 14 21.1535 14 19.2967H12ZM12 19.2967L8.6164 15.3491L7.09789 16.6507L10.4815 20.5982L12 19.2967Z",fill:"currentColor"}),(0,r.jsx)("path",{id:"Ellipse 147",d:"M16.2939 8.5C16.7485 9.57589 16.9999 10.7586 16.9999 12C16.9999 13.2414 16.7485 14.4241 16.2939 15.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("path",{id:"Ellipse 148",d:"M20 6C20.6439 7.84438 21 9.87187 21 12C21 14.1281 20.6439 16.1556 20 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})})}),tS=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("g",{id:"Group 337944",children:(0,r.jsx)("g",{id:"Group 337939",children:(0,r.jsxs)("g",{id:"Group 337930",children:[(0,r.jsx)("path",{id:"Vector 87",d:"M8 22H16",stroke:"#1A91F0",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("path",{id:"Vector 88",d:"M12 19V22",stroke:"#1A91F0",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("rect",{id:"Rectangle 5589",x:"8",y:"2",width:"8",he
7586ight:"13",rx:"4",stroke:"#1A91F0",strokeWidth:"2"}),(0,r.jsx)("path",{id:"Ellipse 143",d:"M19.6017 13.5C18.5519 16.6939 15.5453 19 12.0001 19C8.45484 19 5.44823 16.6939 4.39844 13.5",stroke:"#1A91F0",strokeWidth:"2",strokeLinecap:"round"})]})})})}),tT=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M8 22H16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M12 19V22",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("rect",{x:"8",y:"2",width:"8",height:"13",rx:"4",stroke:"currentColor",strokeWidth:"2"}),(0,r.jsx)("path",{d:"M19.6017 13.5C18.5519 16.6939 15.5453 19 12.0001 19C8.45484 19 5.44823 16.6939 4.39844 13.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("rect",{x:"1",y:"3.82812",width:"2",height:"26.9731",rx:"1",transform:"rotate(-45 1 3.82812)",fill:"white"}),(0,r.jsx)("rect",{x:"2.41406",y:"2.41406",width:"2",height:"26.9731",rx:"1",transform:"rotate(-45 2.41406 2.41406)",fill:"currentColor"})]}),tP=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M9 7.25C9 5.59315 10.3431 4.25 12 4.25C13.6569 4.25 15 5.59315 15 7.25V11.25C15 12.9069 13.6569 14.25 12 14.25C10.3431 14.25 9 12.9069 9 11.25V7.25Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M12 16.75V19.75M12 16.75C14.6118 16.7493 16.8335 15.0799 17.657 12.75M12 16.75H11.9984C9.38599 16.75 7.16352 15.0804 6.33984 12.75M12 19.75H9M12 19.75H15M12 14.25C10.3431 14.25 9 12.9069 9 11.25V7.25C9 5.59315 10.3431 4.25 12 4.25C13.6569 4.25 15 5.59315 15 7.25V11.25C15 12.9069 13.6569 14.25 12 14.25Z",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),tJ=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.92822 8.38119L11.9282 4.91708L17.9282 8.38119V15.3094L11.9282 18.7735L5.92822 15.3094V8.38119ZM11.3509 2.94102C11.7081 2.73475 12.1483 2.73475 12.5056 2.94102L19.3509 6.89315C19.7081 7.09942 19.9282 7.48062 19.9282 7.89315V15.7974C19.9282 16.21 19.7081 16.5912 19.3509 16.7974L12.5056 20.7496C12.1483 20.9558 11.7081 20.9558 11.3509 20.7496L4.50557 16.7974C4.14831 16.5912 3.92822 16.21 3.92822 15.7974V7.89315C3.92822 7.48062 4.14831 7.09942 4.50557 6.89315L11.3509 2.94102ZM13.3923 11.8453C13.3923 12.6539 12.7368 13.3094 11.9282 13.3094C11.1196 13.3094 10.4641 12.6539 10.4641 11.8453C10.4641 11.0367 11.1196 10.3812 11.9282 10.3812C12.7368 10.3812 13.3923 11.0367 13.3923 11.8453ZM15.3923 11.8453C15.3923 13.7585 13.8414 15.3094 11.9282 15.3094C10.0151 15.3094 8.46412 13.7585 8.46412 11.8453C8.46412 9.93212 10.0151 8.38119 11.9282 8.38119C13.8414 8.38119 15.3923 9.93212 15.3923 11.8453Z"})]}),tE=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:(0,r.jsx)("path",{d:"M10.8 3.185a8.494 8.494 0 0 0-2.7.833c-.985.482-1.613.929-2.383 1.699S4.5 7.115 4.018 8.1c-.631 1.291-.898 2.451-.898 3.9 0 1.449.267 2.609.898 3.9.482.985.929 1.613 1.699 2.383.772.771 1.402 1.22 2.383 1.697 1.308.637 2.449.9 3.9.9 1.403 0 2.6-.269 3.833-.86a8.504 8.504 0 0 0 2.451-1.736 8.445 8.445 0 0 0 1.755-2.494c.576-1.209.841-2.403.841-3.79 0-1.451-.263-2.592-.9-3.9-.477-.981-.926-1.611-1.697-2.383-.77-.77-1.398-1.217-2.383-1.699a8.392 8.392 0 0 0-2.752-.837c-.586-.076-1.771-.074-2.348.004m2.1 1.78a7.328 7.328 0 0 1 2.82.992 7.174 7.174 0 0 1 3.319 5.119c.06.431.06 1.417 0 1.848-.373 2.661-2.16 4.869-4.659 5.757a6.794 6.794 0 0 1-2.38.405c-.66 0-1.074-.048-1.66-.193-1.308-.323-2.372-.915-3.314-1.844a7.115 7.115 0 0 1-2.065-4.125c-.06-.431-.06-1.417 0-1.848.372-2.66 2.163-4.872 4.659-5.757 1.068-.379 2.112-.491 3.28-.354m-.505 1.93c-.842.301-1.164 1.328-.619 1.973.059.07.206.176.326.235.197.096.252.105.549.089.378-.021.575-.104.852-.359.616-.567.51-1.567-.201-1.898-.232-.108-.662-.127-.907-.04m-.362 3.358c-.762.224-1.398.418-1.412.432-.014.014.021.093.077.176.295.435.295.877-.001 2.407-.2 1.037-.221 1.194-.208 1.572.016.48.115.76.353.99.26.253.44.3
75861.979.31.462 0 .491-.005.747-.131.471-.232.819-.737 1.028-1.492.108-.389.108-.446-.002-.43-.069.01-.122.098-.252.413-.196.472-.354.724-.507.802-.138.072-.228.039-.261-.093-.016-.064.167-1.093.481-2.706.278-1.432.506-2.617.506-2.633-.002-.059-.159-.02-1.528.383",fillRule:"evenodd"})}),tR=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7443 9.2064C19.1112 10.0921 19.3 11.0413 19.3 12C19.3 12.9586 19.1112 13.9079 18.7443 14.7936C18.3774 15.6793 17.8397 16.484 17.1619 17.1619C16.484 17.8397 15.6793 18.3774 14.7936 18.7443C13.9079 19.1112 12.9586 19.3 12 19.3C11.0413 19.3 10.0921 19.1112 9.2064 18.7443C8.32072 18.3774 7.51598 17.8397 6.83811 17.1619C6.16024 16.484 5.62253 15.6793 5.25567 14.7936C4.88881 13.9079 4.69999 12.9586 4.69999 12C4.69999 11.0413 4.88881 10.0921 5.25567 9.2064C5.62253 8.32072 6.16024 7.51598 6.83811 6.83811C7.51598 6.16024 8.32072 5.62253 9.2064 5.25567C10.0921 4.88881 11.0413 4.69999 12 4.69999C12.9586 4.69999 13.9079 4.88881 14.7936 5.25567C15.6793 5.62253 16.484 6.16024 17.1619 6.83811C17.8397 7.51598 18.3774 8.32072 18.7443 9.2064ZM20.7 12C20.7 10.8575 20.475 9.72618 20.0377 8.67064C19.6005 7.61511 18.9597 6.65603 18.1518 5.84816C17.3439 5.04029 16.3849 4.39945 15.3293 3.96224C14.2738 3.52502 13.1425 3.29999 12 3.29999C10.8575 3.29999 9.72618 3.52502 8.67064 3.96224C7.61511 4.39945 6.65603 5.04029 5.84816 5.84816C5.04029 6.65603 4.39945 7.61511 3.96224 8.67064C3.52502 9.72617 3.29999 10.8575 3.29999 12C3.29999 13.1425 3.52502 14.2738 3.96224 15.3293C4.39945 16.3849 5.04029 17.3439 5.84816 18.1518C6.65603 18.9597 7.61511 19.6005 8.67064 20.0377C9.72617 20.475 10.8575 20.7 12 20.7C13.1425 20.7 14.2738 20.475 15.3293 20.0377C16.3849 19.6005 17.3439 18.9597 18.1518 18.1518C18.9597 17.3439 19.6005 16.3849 20.0377 15.3293C20.475 14.2738 20.7 13.1425 20.7 12ZM13.6504 8.12797C13.6504 8.69197 13.1464 9.13597 12.6184 9.13597C12.1144 9.13597 11.7664 8.75197 11.7664 8.28397C11.7664 7.71996 12.2584 7.26397 12.8104 7.26397C13.3024 7.26397 13.6504 7.64797 13.6504 8.12797ZM13.4704 14.2C13.0864 15.748 12.5464 16.156 11.8384 16.156C11.2024 16.156 10.7344 15.796 10.7344 14.944C10.7344 14.776 10.7584 14.584 10.7944 14.368L11.2264 12.124C11.3944 11.26 11.2864 10.888 10.9744 10.612L10.9864 10.552L13.2064 9.84397H13.2664L12.2944 14.86C12.2104 15.304 12.2464 15.472 12.4504 15.472C12.7024 15.472 12.9784 15.028 13.2664 14.2H13.4704Z",fill:"currentColor"})}),tL=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"8.7",fill:"currentColor"}),(0,r.jsx)("path",{d:"M13.6504 8.12797C13.6504 8.69197 13.1464 9.13597 12.6184 9.13597C12.1144 9.13597 11.7664 8.75197 11.7664 8.28397C11.7664 7.71996 12.2584 7.26397 12.8104 7.26397C13.3024 7.26397 13.6504 7.64797 13.6504 8.12797ZM13.4704 14.2C13.0864 15.748 12.5464 16.156 11.8384 16.156C11.2024 16.156 10.7344 15.796 10.7344 14.944C10.7344 14.776 10.7584 14.584 10.7944 14.368L11.2264 12.124C11.3944 11.26 11.2864 10.888 10.9744 10.612L10.9864 10.552L13.2064 9.84397H13.2664L12.2944 14.86C12.2104 15.304 12.2464 15.472 12.4504 15.472C12.7024 15.472 12.9784 15.028 13.2664 14.2H13.4704Z",fill:"white"})]}),tN=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 18H6L6 6L13 6V4H5C4.44772 4 4 4.44772 4 5V19C4 19.5523 4.44772 20 5 20H13V18ZM14.7474 8.49999L16.8359 11H10L10 13H16.8359L14.7474 15.5L16.2526 16.817L19.7526 12.6585C20.0825 12.2815 20.0825 11.7185 19.7526 11.3415L16.2526 7.18298L14.7474 8.49999Z"})}),tI=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M6 7H18.2M6 12H14.2M6 17H18.2",stroke:"#828BA2",strokeWidth:"1.8",strokeLinecap:"round"})}),tM=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.84028 13.4241C4.74767 12.9586 4.70005 12.4818 4.70005 12C4.70005 11.5182 4.74767 11.0414 4.84028 10.5
7586758C4.91571 10.1967 4.66948 9.82813 4.29031 9.75271C3.91114 9.67728 3.54261 9.92351 3.46719 10.3027C3.35679 10.8576 3.30005 11.4259 3.30005 12C3.30005 12.5741 3.35679 13.1423 3.46719 13.6973C3.54261 14.0765 3.91114 14.3227 4.29031 14.2473C4.66948 14.1718 4.91571 13.8033 4.84028 13.4241ZM5.9303 16.0557C5.71552 15.7342 5.28082 15.6478 4.95937 15.8625C4.63792 16.0773 4.55145 16.512 4.76623 16.8335C5.08058 17.3039 5.44229 17.7459 5.84822 18.1518C6.25415 18.5577 6.69611 18.9195 7.16658 19.2338C7.48803 19.4486 7.92273 19.3621 8.13751 19.0407C8.35228 18.7192 8.26581 18.2845 7.94436 18.0697C7.54965 17.806 7.17883 17.5025 6.83817 17.1619C6.49751 16.8212 6.19403 16.4504 5.9303 16.0557ZM4.76623 7.16652C4.55145 7.48797 4.63792 7.92267 4.95937 8.13745C5.28082 8.35222 5.71552 8.26575 5.9303 7.9443C6.19403 7.54959 6.49751 7.17877 6.83817 6.83811C7.17883 6.49745 7.54965 6.19396 7.94436 5.93024C8.26581 5.71546 8.35228 5.28076 8.13751 4.95931C7.92273 4.63786 7.48803 4.55139 7.16658 4.76617C6.69611 5.08052 6.25415 5.44223 5.84822 5.84816C5.44229 6.25409 5.08058 6.69605 4.76623 7.16652ZM10.5759 19.1598C10.1967 19.0843 9.82819 19.3306 9.75277 19.7097C9.67734 20.0889 9.92357 20.4574 10.3027 20.5329C10.8571 20.6431 11.4248 20.6999 11.9983 20.7C11.9989 20.7 11.9995 20.7 12 20.7C12.5741 20.7 13.1424 20.6432 13.6974 20.5329C14.0765 20.4574 14.3228 20.0889 14.2473 19.7097C14.1719 19.3306 13.8034 19.0843 13.4242 19.1598C12.9586 19.2524 12.4818 19.3 12 19.3C11.5183 19.3 11.
75860415 19.2524 10.5759 19.1598ZM10.3027 3.46713C9.92357 3.54255 9.67734 3.91108 9.75277 4.29025C9.8282 4.66942 10.1967 4.91565 10.5759 4.84022C11.0411 4.74769 11.5175 4.70007 11.9988 4.69999C11.9992 4.69999 11.9996 4.69999 12 4.69999C12.4818 4.69999 12.9586 4.74761 13.4242 4.84022C13.8034 4.91565 14.1719 4.66942 14.2473 4.29025C14.3228 3.91108 14.0765 3.54256 13.6974 3.46713C13.143 3.35684 12.5752 3.3001 12.0017 3.29999C12.0012 3.29999 12.0006 3.29999 12 3.29999C11.426 3.29999 10.8577 3.35673 10.3027 3.46713ZM19.1598 10.5758C19.2524 11.0414 19.3 11.5182 19.3 12C19.3 12.4818 19.2524 12.9586 19.1598 13.4242C19.0844 13.8033 19.3306 14.1718 19.7098 14.2473C20.089 14.3227 20.4575 14.0765 20.5329 13.6973C20.6433 13.1423 20.7 12.5741 20.7 12C20.7 11.4259 20.6433 10.8576 20.5329 10.3027C20.4575 9.92351 20.089 9.67728 19.7098 9.75271C19.3306 9.82814 19.0844 10.1967 19.1598 10.5758ZM18.0698 7.9443C18.2846 8.26575 18.7193 8.35223 19.0407 8.13745C19.3622 7.92267 19.4486 7.48797 19.2339 7.16652C18.9195 6.69605 18.5578 6.25409 18.1519 5.84816C17.7459 5.44223 17.304 5.08052 16.8335 4.76617C16.5121 4.55139 16.0774 4.63786 15.8626 4.95931C15.6478 5.28076 15.7343 5.71546 16.0557 5.93024C16.4504 6.19397 16.8213 6.49745 17.1619 6.83811C17.5026 7.17877 17.8061 7.54959 18.0698 7.9443ZM19.2339 16.8335C19.4486 16.512 19.3622 16.0773 19.0407 15.8625C18.7193 15.6478 18.2846 15.7342 18.0698 16.0557C17.8061 16.4504 17.5026 16.8212 17.1619 17.1619C16.8213 17.5025 16.4504 17.806 16.0557 18.0697C15.7343 18.2845 15.6478 18.7192 15.8626 19.0407C16.0774 19.3621 16.5121 19.4486 16.8335 19.2338C17.304 18.9195 17.7459 18.5578 18.1519 18.1518C18.5578 17.7459 18.9195 17.3039 19.2339 16.8335Z"})}),tB=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.89998 12C4.89998 12.4686 4.94629 12.9323 5.03637 13.3851C5.13334 13.8726 4.81676 14.3464 4.32926 14.4434C3.84175 14.5404 3.36794 14.2238 3.27096 13.7363C3.15802 13.1686 3.09998 12.5872 3.09998 12C3.09998 11.4127 3.15802 10.8314 3.27096 10.2636C3.36794 9.77614 3.84175 9.45956 4.32926 9.55654C4.81676 9.65351 5.13334 10.1273 5.03637 10.6148C4.94629 11.0677 4.89998 11.5314 4.89998 12ZM4.84819 15.6962C5.26148 15.4201 5.82037 15.5313 6.09652 15.9445C6.35302 16.3284 6.64818 16.6891 6.97952 17.0204C7.31086 17.3518 7.67151 17.6469 8.0554 17.9034C8.46869 18.1796 8.57987 18.7385 8.30373 19.1518C8.02758 19.5651 7.46869 19.6762 7.0554 19.4001C6.57411 19.0785 6.12198 18.7085 5.70672 18.2932C5.29147 17.878 4.92144 17.4258 4.59986 16.9446C4.32372 16.5313 4.4349 15.9724 4.84819 15.6962ZM4.84819 8.30373C4.4349 8.02758 4.32372 7.46869 4.59986 7.0554C4.92144 6.57411 5.29147 6.12198 5.70673 5.70672C6.12198 5.29147 6.57411 4.92144 7.0554 4.59986C7.46869 4.32372 8.02759 4.4349 8.30373 4.84819C8.57987 5.26148 8.46869 5.82037 8.0554 6.09652C7.67151 6.35302 7.31086 6.64818 6.97952 6.97952C6.64818 7.31086 6.35302 7.67151 6.09652 8.0554C5.82038 8.46869 5.26148 8.57987 4.84819 8.30373ZM9.55654 19.6707C9.65352 19.1832 10.1273 18.8666 10.6148 18.9636C11.0677 19.0537 11.5314 19.1 12 19.1L12.0017 19.1C13.8841 19.0995 15.6893 18.3515 17.0204 17.0204C18.3519 15.6889 19.1 13.883 19.1 12C19.1 10.1169 18.3519 8.31103 17.0204 6.97952C15.6889 5.64801 13.883 4.89998 12 4.89997C11.5314 4.89997 11.0677 4.94629 10.6148 5.03637C10.1273 5.13334 9.65352 4.81676 9.55654 4.32926C9.45956 3.84175 9.77614 3.36794 10.2636 3.27096C10.8314 3.15802 11.4127 3.09998 12 3.09998L12.0008 3.09998C14.3609 3.1002 16.6243 4.03785 18.2932 5.70673C19.9623 7.3758 20.9 9.63955 20.9 12C20.9 14.3604 19.9623 16.6242 18.2932 18.2932C16.6242 19.9623 14.3604 20.9 12 20.9C11.4127 20.9 10.8314 20.8419 10.2636 20.729C9.77614 20.632 9.45956 20.1582 9.55654 19.6707ZM10.4261 14.6363C10.7775 14.9878 11.3474 14.9878 11.6988 14.6363L15.3349 11.0003C15.6864 10.6488 15.6864 10.079 15.3349 9.72751C14.9834 9.37604 14.4136 9.37604 14.0621 9.72751L11.0625 12.7272L9.63794 11.3026C9.28647 10.9512 8.71662 10.9512 8.36515 11.3026C8.01367 11.6541 8.01367 12.224 8.36515 12.5754L10.4261 14.6363Z"})}),tD=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M7.49614 4.85494C6.82948 4.47399 6 4.95536 6 5.72318L6 18.2768C6 19.0446 6.82948 19.526 7.49614 19.1451L18.4806 12.8682C19.1524 12.4844 19.1524 11.5157 18.4806 11.1318L7.49614 4.85494Z",fill:"white"}),(0,r.jsx)("rect",{x:"22",y:"19",width:"2",height:"14",transform:"rotate(-180 22 19)",fill:"white"})]}),t$=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"6",stroke:"#1A91F0",strokeWidth:"2",fill:"none"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"1",stroke:"#1A91F0",strokeWidth:"2",fill:"none"})]}),tO=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M0.9 12C0.9 5.86964 5.86964 0.9 12 0.9C18.1304 0.9 23.1 5.86964 23.1 12C23.1 18.1304 18.1304 23.1 12 23.1C5.86964 23.1 0.9 18.1304 0.9 12Z",stroke:"#FB4458",fill:"none",strokeWidth:"1.8"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.698 15.9697C15.0495 16.3211 15.6193 16.3211 15.9708 15.9697C16.3222 15.6182 16.3222 15.0483 15.9708 14.6969L13.2728 11.9989L15.9687 9.303C16.3202 8.95153 16.3202 8.38168 15.9687 8.03021C15.6172 7.67873 15.0474 7.67873 14.6959 8.03021L12 10.7261L9.30411 8.03021C8.95263 7.67873 8.38278 7.67873 8.03131 8.03021C7.67984 8.38168 7.67984 8.95153 8.03131 9.303L10.7272 11.9989L8.02923 14.6969C7.67776 15.0483 7.67776 15.6182 8.02923 15.9697C8.3807 16.3211 8.950
758655 16.3211 9.30202 15.9697L12 13.2717L14.698 15.9697Z",fill:"#FB4458"})]}),tz=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M13.2577 9.22152C13.3423 10.0118 13.9779 10.6474 14.7678 10.7355C15.3546 10.8009 15.957 10.8571 16.5711 10.8571C17.1854 10.8571 17.7878 10.8009 18.3746 10.7355C19.1645 10.6474 19.8002 10.0118 19.8847 9.22152C19.9471 8.63812 19.9998 8.03916 19.9998 7.42853C19.9998 6.81789 19.9471 6.21893 19.8847 5.63553C19.8002 4.84523 19.1645 4.20961 18.3746 4.12157C17.7878 4.05617 17.1854 4 16.5713 4C15.957 4 15.3546 4.05617 14.7678 4.12157C13.9779 4.20961 13.3423 4.84523 13.2577 5.63553C13.1953 6.21893 13.1426 6.81789 13.1426 7.42853C13.1426 8.03916 13.1953 8.63812 13.2577 9.22152Z",fill:"#BEC4D5",stroke:"#BEC4D5",strokeWidth:"0.72642",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M4.11513 9.22152C4.19968 10.0118 4.83533 10.6474 5.62525 10.7355C6.21199 10.8009 6.81443 10.8571 7.42864 10.8571C8.04285 10.8571 8.64528 10.8009 9.23201 10.7355C10.0219 10.6474 10.6576 10.0118 10.7421 9.22152C10.8046 8.63812 10.8573 8.03916 10.8573 7.42853C10.8573 6.81789 10.8046 6.21893 10.7421 5.63553C10.6576 4.84523 10.0219 4.20961 9.23201 4.12157C8.64528 4.05617 8.04285 4 7.42864 4C6.81443 4 6.21199 4.05617 5.62525 4.12157C4.83533 4.20961 4.19968 4.84523 4.11513 5.63553C4.05271 6.21893 4 6.81789 4 7.42853C4 8.03916 4.05271 8.63812 4.11513 9.22152Z",fill:"#BEC4D5",stroke:"#BEC4D5",strokeWidth:"0.72642",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M4.11513 18.3644C4.19968 19.1547 4.83533 19.7902 5.62525 19.8784C6.21199 19.9437 6.81443 19.9999 7.42864 19.9999C8.04285 19.9999 8.64528 19.9437 9.23201 19.8784C10.0219 19.7902 10.6576 19.1547 10.7421 18.3644C10.8046 17.781 10.8573 17.182 10.8573 16.5714C10.8573 15.9607 10.8046 15.3618 10.7421 14.7784C10.6576 13.9881 10.0219 13.3524 9.23201 13.2644C8.64528 13.199 8.04285 13.1428 7.42864 13.1428C6.81443 13.1428 6.21199 13.199 5.62525 13.2644C4.83533 13.3524 4.19968 13.9881 4.11513 14.7784C4.05271 15.3618 4 15.9607 4 16.5714C4 17.182 4.05271 17.781 4.11513 18.3644Z",fill:"#BEC4D5",stroke:"#BEC4D5",strokeWidth:"0.72642",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M13.2577 18.3644C13.3423 19.1547 13.9779 19.7902 14.7678 19.8784C15.3546 19.9437 15.957 19.9999 16.5711 19.9999C17.1854 19.9999 17.7878 19.9437 18.3746 19.8784C19.1645 19.7902 19.8002 19.1547 19.8847 18.3644C19.9471 17.781 19.9998 17.182 19.9998 16.5714C19.9998 15.9607 19.9471 15.3618 19.8847 14.7784C19.8002 13.9881 19.1645 13.3524 18.3746 13.2644C17.7878 13.199 17.1854 13.1428 16.5713 13.1428C15.957 13.1428 15.3546 13.199 14.7678 13.2644C13.9779 13.3524 13.3423 13.9881 13.2577 14.7784C13.1953 15.3618 13.1426 15.9607 13.1426 16.5714C13.1426 17.182 13.1953 17.781 13.2577 18.3644Z",fill:"#BEC4D5",stroke:"#BEC4D5",strokeWidth:"0.72642",strokeLinecap:"round",strokeLinejoin:"round"})]}),tF=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5546 4.54419C12.5546 4.24405 12.3085 4 12.0035 4C10.2924 4 8.90921 4.05078 7.47815 4.14761C5.96128 4.25024 4.75448 5.43941 4.65909 6.93519C4.55479 8.57056 4.5 10.2646 4.5 12C4.5 13.7354 4.55479 15.4294 4.65909 17.0649C4.75448 18.5606 5.96128 19.7498 7.47815 19.8524C8.90921 19.9492 10.2924 20 12.0035 20C13.7146 20 15.0978 19.9492 16.5288 19.8524C18.0458 19.7498 19.2526 18.5606 19.3479 17.0649C19.4305 15.7685 19.4822 14.4354 19.5 13.074C19.5006 13.0245 19.4952 12.9747 19.4832 12.9267C19.1808 11.7241 18.5784 11.0824 17.9172 10.7136C17.131 10.2751 16.1574 10.1645 15.2154 10.1709C13.7847 10.1807 12.5546 9.12183 12.5546 7.63782V4.54419ZM19.4651 9.91999C19.4711 9.92526 19.4806 9.92091 19.4804 9.91297C19.4649 9.31072 19.2665 8.72217 18.9004 8.23142C17.7703 6.71618 16.8541 5.75637 15.3583 4.62023C15.1948 4.49601 15.0196 4.39045 14.8363 4.30401C14.4816 4.13682 14.1178 4.43018 14.1178 4.81719V7.63782C14.1178 8.19301 14.5632 8.63685 15.2045 8.63248C16.2348 8.62545 17.5419 8.73599 18.6879 9.37511C18.9628 9.52847 19.2232 9.70921 19.4651 9.91999Z",fill:"#BEC4D
75865"})}),tH=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M19.2364 14.1357C19.6343 14.0666 20.0061 14.3961 20.0001 14.8359C19.9957 15.1459 19.9862 15.3869 19.9669 15.5977C19.9265 16.0359 19.8414 16.3489 19.7091 16.8379L19.7071 16.8467C19.4357 17.8508 18.7438 18.7936 17.6798 19.0391C15.68 19.5 13.0134 19.5 12.0167 19.5H11.9835C10.9867 19.5 8.32014 19.5 6.32039 19.0391C5.25627 18.7936 4.56458 17.8508 4.29304 16.8467L4.29011 16.8379C4.15784 16.3489 4.07369 16.0359 4.03328 15.5977C4.01384 15.3869 4.00447 15.1461 4.00007 14.8359C3.99402 14.3962 4.36583 14.0664 4.76374 14.1357C7.43785 14.6012 10.6945 14.6006 11.9766 14.6006H12.0235C13.3055 14.6006 16.5623 14.6012 19.2364 14.1357ZM11.7139 4.5C12.5023 4.5 13.2836 4.76236 13.88 5.26465C14.4807 5.77078 14.8575 6.49517 14.8575 7.29102V8.0459C15.7948 8.10958 16.8017 8.22041 17.6798 8.42285C18.7438 8.6682 19.4357 9.61113 19.7071 10.6152L19.7091 10.624C19.8414 11.1131 19.9265 11.426 19.9669 11.8643C19.9716 11.9161 19.9759 11.9703 19.9796 12.0264C19.986 12.1289 19.9271 12.2245 19.835 12.2461C17.2186 12.8576 13.4568 12.8613 12.0001 12.8613C10.5433 12.8613 6.78149 12.8576 4.16511 12.2461C4.07281 12.2244 4.01392 12.1283 4.02058 12.0254C4.0242 11.9695 4.02851 11.916 4.03328 11.8643C4.07368 11.426 4.15785 11.1131 4.29011 10.624L4.29304 10.6152C4.56458 9.61112 5.25627 8.66818 6.32039 8.42285C7.02223 8.26105 7.80631 8.158 8.57136 8.08984V7.29102C8.57136 6.49509 8.948 5.77079 9.5489 5.26465C10.1452 4.76242 10.9257 4.50008 11.7139 4.5ZM11.7139 6.23047C11.2902 6.23055 10.9084 6.3742 10.6475 6.59375C10.3912 6.80967 10.2852 7.06583 10.2852 7.29102V7.81445C10.7579 7.80188 11.2347 7.79492 11.7139 7.79492C12.1948 7.79492 12.6712 7.80219 13.1427 7.81543V7.29102C13.1427 7.06582 13.0377 6.80967 12.7813 6.59375C12.5204 6.37404 12.1379 6.23047 11.7139 6.23047Z",fill:"#BEC4D5"})}),tV=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5.59283C3 4.16085 4.15134 3 5.57159 3H6.85739C8.27764 3 9.42898 4.16085 9.42898 5.59283C9.42898 7.0248 8.27764 8.18565 6.85739 8.18565H5.57159C4.15134 8.18565 3 7.0248 3 5.59283ZM3 12.7231C3 11.2911 4.15134 10.1303 5.57159 10.1303H6.85739C8.27764 10.1303 9.42898 11.2911 9.42898 12.7231C9.42898 14.1551 8.27764 15.3159 6.85739 15.3159H5.57159C4.15134 15.3159 3 14.1551 3 12.7231ZM13.9293 3C12.509 3 11.3577 4.16085 11.3577 5.59283L11.3579 5.6305C11.3643 6.083 11.8974 6.21994 12.2953 6.0104C12.8018 5.7436 13.3779 5.59275 13.989 5.59275C15.0025 5.59275 15.9199 6.00779 16.5832 6.67851C16.8838 6.98261 17.3987 7.02877 17.5701 6.63571C17.7094 6.3166 17.7867 5.96381 17.7867 5.59283C17.7867 4.16085 16.6354 3 15.2151 3H13.9293ZM11.464 14.6212C9.24367 15.5545 8.78952 18.5259 10.6282 20.0899L10.8002 20.2363C11.3801 20.7294 12.1143 21 12.873 21H18.6418C19.302 21 19.9696 20.657 20.2928 20.0027C20.7358 19.1062 21 18.141 21 16.8546C21 15.0938 20.1314 13.96 18.9891 13.271C18.0783 12.7216 16.9956 12.4524 16.0447 12.3125V9.286C16.0447 8.14125 15.1243 7.21324 13.9889 7.21324C12.8536 7.21324 11.9331 8.14125 11.9331 9.286V14.424L11.464 14.6212Z",fill:"#BEC4D5"})}),tU=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M9.18234 7.3117C12.5438 7.05529 15.6734 7.05527 19.0349 7.3117C19.9844 7.38415 20.7392 8.1456 20.8112 9.10467C21.0647 12.4794 21.0647 15.6401 20.8112 19.0148C20.7392 19.9738 19.9844 20.7353 19.0349 20.8078C15.6734 21.0643 12.5438 21.0643 9.18234 20.8078C8.23267 20.7353 7.47802 19.9739 7.40597 19.0148C7.15246 15.6401 7.15246 12.4794 7.40597 9.10467C7.47802 8.14559 8.23268 7.38414 9.18234 7.3117ZM18.7087 11.1066C18.3793 10.7774 17.858 10.757 17.5046 11.0451L17.4362 11.1066L13.03 15.5119L11.0954 13.5773L11.0271 13.5148C10.6735 13.2265 10.1515 13.2478 9.82199 13.5773C9.49295 13.9069 9.47232 14.4281 9.76046 14.7814L9.82199 14.8498L12.3943 17.4211L12.4626 17.4826C12.816 17.7709 13.3372 17.7504 13.6667 17.4211L18.7087 12.3801C19.0602 12.0286 19.0601 11.4581 18.7087 11.1066ZM4.96652 3.19256C8.328 2.93614 11.4576 2.93614 14.8191 3.19256C15.7685 3.26499 16.5232 4.02557 16.5954 4.98455C16.6171 5.27164 16.3852 5.5128 16.1003 5.50408C13.7611 5.43093 11.4666 5.48646 9.05929 5.6701C7.30633 5.80382 5.91309 7.20897 5.77999 8.97967C5.59861 11.394 5.54306 13.7045 5.61495 16.0558C5.62594 16.4195 5.32584 16.716 4.96652 16.6887C4.01677 16.6162 3.26219 15.8547 3.19015 14.8957C2.93662 11.5208 2.93661 8.35947 3.19015 4.98455C3.26241 4.02569 4.01699 3.26499 4.96652 3.19256Z",fill:"#BEC4D
75865"})}),tW=()=>(0,r.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{x:"5.83496",y:"5.83008",width:"6.41667",height:"8.16667",rx:"0.7",stroke:"#9FA6BB",strokeWidth:"1.8",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("rect",{x:"15.75",y:"14",width:"6.41667",height:"8.16667",rx:"0.7",stroke:"#9FA6BB",strokeWidth:"1.8",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("rect",{x:"15.75",y:"5.83008",width:"6.41667",height:"4.66667",rx:"0.7",stroke:"#9FA6BB",strokeWidth:"1.8",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("rect",{x:"5.83496",y:"17.5",width:"6.41667",height:"4.66667",rx:"0.7",stroke:"#9FA6BB",strokeWidth:"1.8",strokeLinejoin:"round",fill:"none"})]}),tK=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M12 3C14.0268 3 15.9787 3.11396 17.8799 3.31055C19.3038 3.45782 20.4761 4.53528 20.6816 5.97559C20.8839 7.39299 21 8.87023 21 10.377C21 11.8756 20.8729 13.3284 20.6748 14.7314C20.4688 16.1907 19.2839 17.2951 17.834 17.4424C16.0033 17.6284 14.1128 17.7487 12.1592 17.7549C10.7919 19.2852 9.65865 20.1004 7.78613 20.9414C7.57986 21.0341 7.34024 21.0163 7.15039 20.8936C6.96054 20.7706 6.8457 20.5591 6.8457 20.333V17.4492L6.5459 17.4209L6.25586 17.3936C4.7879 17.2567 3.5116 16.1757 3.2998 14.6543C3.10709 13.2698 3 11.8446 3 10.377C3.00002 8.86024 3.10671 7.36647 3.31348 5.93457C3.51878 4.51283 4.67715 3.45497 6.08008 3.30762C7.9823 3.10782 9.96885 3 12 3ZM12 11.877C10.9172 11.877 9.86774 12.25 9.0293 12.9336C8.71024 13.1938 8.42902 13.4934 8.19141 13.8223C8.15253 13.8761 8.11466 13.9309 8.07812 13.9863C7.94472 14.1889 7.98676 14.4565 8.17285 14.6123C8.72207 15.0718 9.35561 15.4347 10.0469 15.6738C10.6586 15.8854 11.3161 16 12 16C13.4568 16 14.7918 15.4784 15.8271 14.6123C16.0132 14.4564 16.0553 14.1888 15.9219 13.9863C15.662 13.5923 15.342 13.2364 14.9707 12.9336C14.1323 12.25 13.0828 11.877 12 11.877ZM12 5C10.3432 5 9 6.35465 9 8.02539C9.00013 9.69604 10.3432 11.0508 12 11.0508C13.6568 11.0508 14.9999 9.69604 15 8.02539C15 6.35465 13.6569 5 12 5Z",fill:"#BEC4D5"})}),tq=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2375 4.30076C11.2375 4.12016 11.0825 3.97825 10.9043 4.00276C7.00446 4.53928 4 7.89919 4 11.964C4 16.4021 7.58171 20 12 20C14.3929 20 16.5405 18.9446 18.0066 17.2719C18.1255 17.1362 18.0932 16.9279 17.943 16.8281L12.6741 13.3297C11.7771 12.7341 11.2375 11.7261 11.2375 10.646V4.30076ZM18.7855 15.5512C18.9355 15.6508 19.1388 15.5993 19.2166 15.4364C19.7187 14.3854 20 13.2077 20 11.964C20 7.89923 16.9956 4.53934 13.0957 4.00278C12.9176 3.97827 12.7625 4.12017 12.7625 4.30077V10.646C12.7625 11.2118 13.0452 11.7398 13.515 12.0518L18.7855 15.5512Z",fill:"#BEC4D5"})}),tG=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M5.50008 11C5.96383 11 6.35277 11.3159 6.4659 11.7441C6.47154 11.7641 6.47745 11.7841 6.48152 11.8047L6.49519 11.8975C6.49862 11.9312 6.50008 11.9654 6.50008 12V16.9863H8.00008C8.19334 16.9863 8.36952 17.0978 8.45222 17.2725L8.47859 17.3389L8.49422 17.4082C8.50848 17.4984 8.49642 17.5904 8.46199 17.6748C8.46126 17.6774 8.46109 17.6801 8.46004 17.6826L8.42781 17.7451C8.41563 17.7652 8.40198 17.7852 8.3868 17.8037C7.46787 18.9253 6.89613 19.4978 5.81551 20.375C5.63188 20.524 5.36823 20.524 5.18465 20.375C4.10399 19.4978 3.53234 18.9254 2.61336 17.8037C2.4909 17.6543 2.46538 17.4471 2.54793 17.2725C2.63059 17.0979 2.80691 16.9864 3.00008 16.9863H4.50008V12L4.50496 11.8975C4.50808 11.8667 4.51279 11.8365 4.51863 11.8066L4.52058 11.7988L4.545 11.7021C4.6717 11.2953 5.05154 11.0001 5.50008 11ZM11.5079 4C11.813 4 12.0595 4.24392 12.0596 4.54395V7.6377C12.0596 9.12154 13.2904 10.1804 14.7218 10.1709C15.6643 10.1645 16.6391 10.2754 17.4259 10.7139C18.0874 11.0827 18.6897 11.7244 18.9923 12.9268C19.0043 12.9748 19.0105 13.0247 19.0098 13.0742C18.9921 14.4354 18.9402 15.7683 18.8575 17.0645C18.7621 18.5602 17.5541 19.7499 16.0362 19.8525C14.6044 19.9493 13.2199 20 11.5079 20C10.4084 20 9.4442 19.9762 8.5157 19.9355C8.84151 19.5904 9.17021 19.2137 9.54695 18.7539L9.63484 18.6396C10.021 18.0925 10.1068 17.387 9.86433 16.7627L9.80769 16.6309L9.74129 16.5029C9.41218 15.92 8.81229 15.5394 8.14461 15.4912L8.00008 15.4863V12C8.00008 10.6193 6.88078 9.5 5.50008 9.5C4.94844 9.50003 4.43991 9.68074 4.02644 9.9834C4.05206 8.94833 4.09573 7.93104 4.15926 6.93555C4.25471 5.4398 5.46277 4.25014 6.98055 4.14746C8.4122 4.05066 9.79612 4.00001 11.5079 4ZM13.6241 4.81738C13.6241 4.43043 13.988 4.13669 14.3428 4.30371C14.5263 4.39014 14.7017 4.49591 14.8653 4.62012C16.362 5.75621 17.2785 6.7163 18.4093 8.23145C18.7755 8.72219 18.9748 9.31083 18.9903 9.91309C18.9903 9.92092 18.9807 9.92506 18.9747 9.91992C18.7328 9.70923 18.4723 9.52831 18.1973 9.375C17.0506 8.73591 15.7419 8.62578 14.711 8.63281C14.0695 8.637 13.6241 8.19277 13.6241 7.6377V4.81738Z",fill:"#BEC4D
75865"})}),tZ=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.57758 10.7327C5.57758 7.8856 7.88561 5.57756 10.7327 5.57756C13.5798 5.57756 15.8878 7.8856 15.8878 10.7327C15.8878 13.5798 13.5798 15.8878 10.7327 15.8878C7.88561 15.8878 5.57758 13.5798 5.57758 10.7327ZM10.7327 3C6.46206 3 3 6.46206 3 10.7327C3 15.0034 6.46206 18.4654 10.7327 18.4654C12.4028 18.4654 13.9492 17.9359 15.2132 17.0359L18.7999 20.6225C19.3032 21.1258 20.1193 21.1258 20.6225 20.6225C21.1258 20.1191 21.1258 19.3032 20.6225 18.7999L17.0359 15.2132C17.9361 13.9491 18.4654 12.4027 18.4654 10.7327C18.4654 6.46206 15.0034 3 10.7327 3Z",fill:"#BEC4D5"})}),tX=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M8.38091 15.9141C9.53338 15.9141 10.6674 16.2062 11.668 16.7627L11.9317 16.917C12.5359 17.2905 13.0735 17.7573 13.5215 18.2969L13.6172 18.4316C13.8107 18.7547 13.8011 19.1333 13.6416 19.4336C13.4861 19.7261 13.1931 19.9404 12.8409 19.9893L12.6866 19.999H4.07524C3.65518 19.9989 3.29795 19.7677 3.12017 19.4336C2.938 19.0903 2.95139 18.6452 3.24028 18.2969L3.43852 18.0703C3.91161 17.5519 4.47032 17.1095 5.0938 16.7627L5.47466 16.5664C6.37779 16.1376 7.37233 15.9141 8.38091 15.9141ZM16.6729 12.7021C17.6133 12.7021 18.5386 12.9403 19.3555 13.3945L19.5489 13.5078C19.9935 13.7797 20.3946 14.1129 20.7383 14.4961L20.8399 14.6289C21.0471 14.9484 21.0463 15.3308 20.8868 15.6367C20.7323 15.9322 20.4377 16.1457 20.086 16.1943L19.9317 16.2051H13.4141C12.9952 16.2049 12.6354 15.9745 12.459 15.6367C12.2767 15.2871 12.3025 14.8375 12.6084 14.4961L12.7588 14.335C13.1184 13.9663 13.5333 13.6488 13.9903 13.3945L14.3018 13.2344C15.0389 12.8845 15.8502 12.7022 16.6729 12.7021ZM8.37602 6.29688C10.4936 6.29727 12.1884 8.04416 12.1885 10.1699C12.1883 12.2956 10.4935 14.0426 8.37602 14.043C6.2584 14.0427 4.56476 12.2957 4.5645 10.1699C4.56462 8.04407 6.25831 6.29712 8.37602 6.29688ZM16.6709 5C18.4428 5.00018 19.8565 6.46123 19.8565 8.23438C19.8562 10.0073 18.4426 11.4686 16.6709 11.4688C14.8992 11.4687 13.4857 10.0074 13.4854 8.23438C13.4854 6.46117 14.899 5.00007 16.6709 5Z",fill:"#BEC4D5"})}),tQ=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"5",cy:"12",r:"2.5",fill:"#BEC4D5"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"2.5",fill:"#BEC4D5"}),(0,r.jsx)("circle",{cx:"19",cy:"12",r:"2.5",fill:"#BEC4D5"})]}),tY=()=>(0,r.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.83333 11.6673C7.122 11.6673 8.16667 12.712 8.16667 14.0006C8.16667 15.2893 7.122 16.334 5.83333 16.334C4.54467 16.334 3.5 15.2893 3.5 14.0006C3.5 12.712 4.54467 11.6673 5.83333 11.6673ZM14.0002 11.6673C15.2889 11.6673 16.3336 12.712 16.3336 14.0006C16.3336 15.2893 15.2889 16.334 14.0002 16.334C12.7116 16.334 11.6669 15.2893 11.6669 14.0006C11.6669 12.712 12.7116 11.6673 14.0002 11.6673ZM24.4998 14.0006C24.4998 12.712 23.4551 11.66
758673 22.1664 11.6673C20.8778 11.6673 19.8331 12.712 19.8331 14.0006C19.8331 15.2893 20.8778 16.334 22.1664 16.334C23.4551 16.334 24.4998 15.2893 24.4998 14.0006Z",fill:"#9FA6BB"})}),t0=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M13.2577 9.22152C13.3423 10.0118 13.9779 10.6474 14.7678 10.7355C15.3546 10.8009 15.957 10.8571 16.5711 10.8571C17.1854 10.8571 17.7878 10.8009 18.3746 10.7355C19.1645 10.6474 19.8002 10.0118 19.8847 9.22152C19.9471 8.63812 19.9998 8.03916 19.9998 7.42853C19.9998 6.81789 19.9471 6.21893 19.8847 5.63553C19.8002 4.84523 19.1645 4.20961 18.3746 4.12157C17.7878 4.05617 17.1854 4 16.5713 4C15.957 4 15.3546 4.05617 14.7678 4.12157C13.9779 4.20961 13.3423 4.84523 13.2577 5.63553C13.1953 6.21893 13.1426 6.81789 13.1426 7.42853C13.1426 8.03916 13.1953 8.63812 13.2577 9.22152Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"0.72642",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M4.11513 9.22152C4.19968 10.0118 4.83533 10.6474 5.62525 10.7355C6.21199 10.8009 6.81443 10.8571 7.42864 10.8571C8.04285 10.8571 8.64528 10.8009 9.23201 10.7355C10.0219 10.6474 10.6576 10.0118 10.7421 9.22152C10.8046 8.63812 10.8573 8.03916 10.8573 7.42853C10.8573 6.81789 10.8046 6.21893 10.7421 5.63553C10.6576 4.84523 10.0219 4.20961 9.23201 4.12157C8.64528 4.05617 8.04285 4 7.42864 4C6.81443 4 6.21199 4.05617 5.62525 4.12157C4.83533 4.20961 4.19968 4.84523 4.11513 5.63553C4.05271 6.21893 4 6.81789 4 7.42853C4 8.03916 4.05271 8.63812 4.11513 9.22152Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"0.72642",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M4.11513 18.3644C4.19968 19.1547 4.83533 19.7902 5.62525 19.8784C6.21199 19.9437 6.81443 19.9999 7.42864 19.9999C8.04285 19.9999 8.64528 19.9437 9.23201 19.8784C10.0219 19.7902 10.6576 19.1547 10.7421 18.3644C10.8046 17.781 10.8573 17.182 10.8573 16.5714C10.8573 15.9607 10.8046 15.3618 10.7421 14.7784C10.6576 13.9881 10.0219 13.3524 9.23201 13.2644C8.64528 13.199 8.04285 13.1428 7.42864 13.1428C6.81443 13.1428 6.21199 13.199 5.62525 13.2644C4.83533 13.3524 4.19968 13.9881 4.11513 14.7784C4.05271 15.3618 4 15.9607 4 16.5714C4 17.182 4.05271 17.781 4.11513 18.3644Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"0.72642",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M13.2577 18.3644C13.3423 19.1547 13.9779 19.7902 14.7678 19.8784C15.3546 19.9437 15.957 19.9999 16.5711 19.9999C17.1854 19.9999 17.7878 19.9437 18.3746 19.8784C19.1645 19.7902 19.8002 19.1547 19.8847 18.3644C19.9471 17.781 19.9998 17.182 19.9998 16.5714C19.9998 15.9607 19.9471 15.3618 19.8847 14.7784C19.8002 13.9881 19.1645 13.3524 18.3746 13.2644C17.7878 13.199 17.1854 13.1428 16.5713 13.1428C15.957 13.1428 15.3546 13.199 14.7678 13.2644C13.9779 13.3524 13.3423 13.9881 13.2577 14.7784C13.1953 15.3618 13.1426 15.9607 13.1426 16.5714C13.1426 17.182 13.1953 17.781 13.2577 18.3644Z",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"0.72642",strokeLinecap:"round",strokeLinejoin:"round"})]}),t1=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5546 4.54419C12.5546 4.24405 12.3085 4 12.0035 4C10.2924 4 8.90921 4.05078 7.47815 4.14761C5.96128 4.25024 4.75448 5.43941 4.65909 6.93519C4.55479 8.57056 4.5 10.2646 4.5 12C4.5 13.7354 4.55479 15.4294 4.65909 17.0649C4.75448 18.5606 5.96128 19.7498 7.47815 19.8524C8.90921 19.9492 10.2924 20 12.0035 20C13.7146 20 15.0978 19.9492 16.5288 19.8524C18.0458 19.7498 19.2526 18.5606 19.3479 17.0649C19.4305 15.7685 19.4822 14.4354 19.5 13.074C19.5006 13.0245 19.4952 12.9747 19.4832 12.9267C19.1808 11.7241 18.5784 11.0824 17.9172 10.7136C17.131 10.2751 16.1574 10.1645 15.2154 10.1709C13.7847 10.1807 12.5546 9.12183 12.5546 7.63782V4.54419ZM19.4651 9.91999C19.4711 9.92526 19.4806 9.92091 19.4804 9.91297C19.4649 9.31072 19.2665 8.72217 18.9004 8.23142C17.7703 6.71618 16.8541 5.75637 15.3583 4.62023C15.1948 4.49601 15.0196 4.39
7586045 14.8363 4.30401C14.4816 4.13682 14.1178 4.43018 14.1178 4.81719V7.63782C14.1178 8.19301 14.5632 8.63685 15.2045 8.63248C16.2348 8.62545 17.5419 8.73599 18.6879 9.37511C18.9628 9.52847 19.2232 9.70921 19.4651 9.91999Z",fill:"#1A91F0"})}),t2=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M19.2364 14.1357C19.6343 14.0666 20.0061 14.3961 20.0001 14.8359C19.9957 15.1459 19.9862 15.3869 19.9669 15.5977C19.9265 16.0359 19.8414 16.3489 19.7091 16.8379L19.7071 16.8467C19.4357 17.8508 18.7438 18.7936 17.6798 19.0391C15.68 19.5 13.0134 19.5 12.0167 19.5H11.9835C10.9867 19.5 8.32014 19.5 6.32039 19.0391C5.25627 18.7936 4.56458 17.8508 4.29304 16.8467L4.29011 16.8379C4.15784 16.3489 4.07369 16.0359 4.03328 15.5977C4.01384 15.3869 4.00447 15.1461 4.00007 14.8359C3.99402 14.3962 4.36583 14.0664 4.76374 14.1357C7.43785 14.6012 10.6945 14.6006 11.9766 14.6006H12.0235C13.3055 14.6006 16.5623 14.6012 19.2364 14.1357ZM11.7139 4.5C12.5023 4.5 13.2836 4.76236 13.88 5.26465C14.4807 5.77078 14.8575 6.49517 14.8575 7.29102V8.0459C15.7948 8.10958 16.8017 8.22041 17.6798 8.42285C18.7438 8.6682 19.4357 9.61113 19.7071 10.6152L19.7091 10.624C19.8414 11.1131 19.9265 11.426 19.9669 11.8643C19.9716 11.9161 19.9759 11.9703 19.9796 12.0264C19.986 12.1289 19.9271 12.2245 19.835 12.2461C17.2186 12.8576 13.4568 12.8613 12.0001 12.8613C10.5433 12.8613 6.78149 12.8576 4.16511 12.2461C4.07281 12.2244 4.01392 12.1283 4.02058 12.0254C4.0242 11.9695 4.02851 11.916 4.03328 11.8643C4.07368 11.426 4.15785 11.1131 4.29011 10.624L4.29304 10.6152C4.56458 9.61112 5.25627 8.66818 6.32039 8.42285C7.02223 8.26105 7.80631 8.158 8.57136 8.08984V7.29102C8.57136 6.49509 8.948 5.77079 9.5489 5.26465C10.1452 4.76242 10.9257 4.50008 11.7139 4.5ZM11.7139 6.23047C11.2902 6.23055 10.9084 6.3742 10.6475 6.59375C10.3912 6.80967 10.2852 7.06583 10.2852 7.29102V7.81445C10.7579 7.80188 11.2347 7.79492 11.7139 7.79492C12.1948 7.79492 12.6712 7.80219 13.1427 7.81543V7.29102C13.1427 7.06582 13.0377 6.80967 12.7813 6.59375C12.5204 6.37404 12.1379 6.23047 11.7139 6.23047Z",fill:"#1A91F0"})}),t3=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5.59283C3 4.16085 4.15134 3 5.57159 3H6.85739C8.27764 3 9.42898 4.16085 9.42898 5.59283C9.42898 7.0248 8.27764 8.18565 6.85739 8.18565H5.57159C4.15134 8.18565 3 7.0248 3 5.59283ZM3 12.7231C3 11.2911 4.15134 10.1303 5.57159 10.1303H6.85739C8.27764 10.1303 9.42898 11.2911 9.42898 12.7231C9.42898 14.1551 8.27764 15.3159 6.85739 15.3159H5.57159C4.15134 15.3159 3 14.1551 3 12.7231ZM13.9293 3C12.509 3 11.3577 4.16085 11.3577 5.59283L11.3579 5.6305C11.3643 6.083 11.8974 6.21994 12.2953 6.0104C12.8018 5.7436 13.3779 5.59275 13.989 5.59275C15.0025 5.59275 15.9199 6.00779 16.5832 6.67851C16.8838 6.98261 17.3987 7.02877 17.5701 6.63571C17.7094 6.3166 17.7867 5.96381 17.7867 5.59283C17.7867 4.16085 16.6354 3 15.2151 3H13.9293ZM11.464 14.6212C9.24367 15.5545 8.78952 18.5259 10.6282 20.0899L10.8002 20.2363C11.3801 20.7294 12.1143 21 12.873 21H18.6418C19.302 21 19.9696 20.657 20.2928 20.0027C20.7358 19.1062 21 18.141 21 16.8546C21 15.0938 20.1314 13.96 18.9891 13.271C18.0783 12.7216 16.9956 12.4524 16.0447 12.3125V9.286C16.0447 8.14125 15.1243 7.21324 13.9889 7.21324C12.8536 7.21324 11.9331 8.14125 11.9331 9.286V14.424L11.464 14.6212Z",fill:"#1A91F0"})}),t5=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M9.18234 7.3117C12.5438 7.05529 15.6734 7.05527 19.0349 7.3117C19.9844 7.38415 20.7392 8.1456 20.8112 9.10467C21.0647 12.4794 21.0647 15.6401 20.8112 19.0148C20.7392 19.9738 19.9844 20.7353 19.0349 20.8078C15.6734 21.0643 12.5438 21.0643 9.18234 20.8078C8.23267 20.7353 7.47802 19.9739 7.40597 19.0148C7.15246 15.6401 7.15246 12.4794 7.40597 9.10467C7.47802 8.14559 8.23268 7.38414 9.18234 7.3117ZM18.7087 11.1066C18.3793 10.7774 17.858 10.757 17.5046 11.0451L17.4362 11.1066L13.03 15.5119L11.0954 13.5773L11.0271 13.5148C10.6735 13.2265 10.1515 13.2478 9.82199 13.5773C9.49295 13.9069 9.47232 14.4281 9.76046 14.7814L9.82199 14.8498L12.3943 17.4211L12.4626 17.4826C12.816 17.7709 13.3372 17.7504 13.6667 17.4211L18.7087 12.3801C19.0602 12.0286 19.0601 11.4581 18.7087 11.1066ZM4.96652 3.19256C8.328 2.93614 11.4576 2.93614 14.8191 3.19256C15.7685 3.26499 16.5232 4.02557 16.5954 4.98455C16.6171 5.27164 16.3852 5.5128 16.1003 5.50408C13.7611 5.43093 11.4666 5.48646 9.05929 5.6701C7.30633 5.80382 5.91309 7.20897 5.77999 8.97967C5.59861 11.394 5.54306 13.7045 5.61495 16.0558C5.62594 16.4195 5.32584 16.716 4.96652 16.6887C4.01677 16.6162 3.26219 15.8547 3.19015 14.8957C2.93662 11.5208 2.93661 8.35947 3.19015 4.98455C3.26241 4.02569 4.01699 3.26499 4.96652 3.19256Z",fill:"#1A91F0"})}),t4=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M12 3C14.0268 3 15.9787 3.11396 17.8799 3.31055C19.3038 3.45782 20.4761 4.53528 20.6816 5.97559C20.8839 7.39299 21 8.87023 21 10.377C21 11.8756 20.8729 13.3284 20.6748 14.7314C20.4688 16.1907 19.2839 17.2951 17.834 17.4424C16.0033 17.6284 14.1128 17.7487 12.1592 17.7549C10.7919 19.2852 9.65865 20.1004 7.78613 20.9414C7.57986 21.0341 7.34024 21.0163 7.15039 20.8936C6.96054 20.7706 6.8457 20.5591 6.8457 20.333V17.4492L6.5459 17.4209L6.25586 17.3936C4.7879 17.2567 3.5116 16.1757 3.2998 14.6543C3.10709 13.2698 3 11.8446 3 10.377C3.00002 8.86024 3.10671 7.36647 3.31348 5.93457C3.51878 4.51283 4.67715 3.45497 6.08008 3.30762C7.9823 3.10782 9.96885 3 12 3ZM12 11.877C10.9172 11.877 9.86774 12.25 9.0293 12.9336C8.71024 13.1938 8.42902 13.4934 8.19141 13.8223C8.15253 13.8761 8.11466 13.9309 8.07812 13.9863C7.94472 14.1889 7.98676 14.4565 8.17285 14.6123C8.72207 15.0718 9.35561 15.4347 10.0469 15.6738C10.6586 15.8854 11.3161 16 12 16C13.4568 16 14.7918 15.4784 15.8271 14.6123C16.0132 14.4564 16.0553 14.1888 15.9219 13.9863C15.662 13.5923 15.342 13.2364 14.9707 12.9336C14.1323 12.25 13.0828 11.877 12 11.877ZM12 5C10.3432 5 9 6.35465 9 8.02539C9.00013 9.69604 10.3432 11.0508 12 11.
75860508C13.6568 11.0508 14.9999 9.69604 15 8.02539C15 6.35465 13.6569 5 12 5Z",fill:"#1A91F0"})}),t6=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2375 4.30076C11.2375 4.12016 11.0825 3.97825 10.9043 4.00276C7.00446 4.53928 4 7.89919 4 11.964C4 16.4021 7.58171 20 12 20C14.3929 20 16.5405 18.9446 18.0066 17.2719C18.1255 17.1362 18.0932 16.9279 17.943 16.8281L12.6741 13.3297C11.7771 12.7341 11.2375 11.7261 11.2375 10.646V4.30076ZM18.7855 15.5512C18.9355 15.6508 19.1388 15.5993 19.2166 15.4364C19.7187 14.3854 20 13.2077 20 11.964C20 7.89923 16.9956 4.53934 13.0957 4.00278C12.9176 3.97827 12.7625 4.12017 12.7625 4.30077V10.646C12.7625 11.2118 13.0452 11.7398 13.515 12.0518L18.7855 15.5512Z",fill:"#1A91F0"})}),t8=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M5.50008 11C5.96383 11 6.35277 11.3159 6.4659 11.7441C6.47154 11.7641 6.47745 11.7841 6.48152 11.8047L6.49519 11.8975C6.49862 11.9312 6.50008 11.9654 6.50008 12V16.9863H8.00008C8.19334 16.9863 8.36952 17.0978 8.45222 17.2725L8.47859 17.3389L8.49422 17.4082C8.50848 17.4984 8.49642 17.5904 8.46199 17.6748C8.46126 17.6774 8.46109 17.6801 8.46004 17.6826L8.42781 17.7451C8.41563 17.7652 8.40198 17.7852 8.3868 17.8037C7.46787 18.9253 6.89613 19.4978 5.81551 20.375C5.63188 20.524 5.36823 20.524 5.18465 20.375C4.10399 19.4978 3.53234 18.9254 2.61336 17.8037C2.4909 17.6543 2.46538 17.4471 2.54793 17.2725C2.63059 17.0979 2.80691 16.9864 3.00008 16.9863H4.50008V12L4.50496 11.8975C4.50808 11.8667 4.51279 11.8365 4.51863 11.8066L4.52058 11.7988L4.545 11.7021C4.6717 11.2953 5.05154 11.0001 5.50008 11ZM11.5079 4C11.813 4 12.0595 4.24392 12.0596 4.54395V7.6377C12.0596 9.12154 13.2904 10.1804 14.7218 10.1709C15.6643 10.1645 16.6391 10.2754 17.4259 10.7139C18.0874 11.0827 18.6897 11.7244 18.9923 12.9268C19.0043 12.9748 19.0105 13.0247 19.0098 13.0742C18.9921 14.4354 18.9402 15.7683 18.8575 17.0645C18.7621 18.5602 17.5541 19.7499 16.0362 19.8525C14.6044 19.9493 13.2199 20 11.5079 20C10.4084 20 9.4442 19.9762 8.5157 19.9355C8.84151 19.5904 9.17021 19.2137 9.54695 18.7539L9.63484 18.6396C10.021 18.0925 10.1068 17.387 9.86433 16.7627L9.80769 16.6309L9.74129 16.5029C9.41218 15.92 8.81229 15.5394 8.14461 15.4912L8.00008 15.4863V12C8.00008 10.6193 6.88078 9.5 5.50008 9.5C4.94844 9.50003 4.43991 9.68074 4.02644 9.9834C4.05206 8.94833 4.09573 7.93104 4.15926 6.93555C4.25471 5.4398 5.46277 4.25014 6.98055 4.14746C8.4122 4.05066 9.79612 4.00001 11.5079 4ZM13.6241 4.81738C13.6241 4.43043 13.988 4.13669 14.3428 4.30371C14.5263 4.39014 14.7017 4.49591 14.8653 4.62012C16.362 5.75621 17.2785 6.7163 18.4093 8.23145C18.7755 8.72219 18.9748 9.31083 18.9903 9.91309C18.9903 9.92092 18.9807 9.92506 18.9747 9.91992C18.7328 9.70923 18.4723 9.52831 18.1973 9.375C17.0506 8.73591 15.7419 8.62578 14.711 8.63281C14.0695 8.637 13.6241 8.19277 13.6241 7.6377V4.81738Z",fill:"#1A91F0"})}),t9=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.57758 10.7327C5.57758 7.8856 7.88561 5.57756 10.7327 5.57756C13.5798 5.57756 15.8878 7.8856 15.8878 10.7327C15.8878 13.5798 13.5798 15.8878 10.7327 15.8878C7.88561 15.8878 5.57758 13.5798 5.57758 10.7327ZM10.7327 3C6.46206 3 3 6.46206 3 10.7327C3 15.0034 6.46206 18.4654 10.7327 18.4654C12.4028 18.4654 13.9492 17.9359 15.2132 17.0359L18.7999 20.6225C19.3032 21.1258 20.1193 21.1258 20.6225 20.6225C21.1258 20.1191 21.1258 19.3032 20.6225 18.7999L17.0359 15.2132C17.9361 13.9491 18.4654 12.4027 18.4654 10.7327C18.4654 6.46206 15.0034 3 10.7327 3Z",fill:"#1A91F0"})}),t7=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M8.38091 15.9141C9.53338 15.9141 10.6674 16.2062 11.668 16.7627L11.9317 16.917C12.5359 17.2905 13.0735 17.7573 13.5215 18.2969L13.6172 18.4316C13.8107 18.7547 13.8011 19.1333 13.6416 19.4336C13.4861 19.7261 13.1931 19.9404 12.8409 19.9893L12.6866 19.999H4.07524C3.65518 19.9989 3.29795 19.7677 3.12017 19.4336C2.938 19.0903 2.95139 18.6452 3.24028 18.2969L3.43852 18.0703C3.91161 17.5519 4.47032 17.1095 5.0938 16.7627L5.47466 16.5664C6.37779 16.1376 7.37233 15.9141 8.38091 15.9141ZM16.6729 12.7021C17.6133 12.7021 18.5386 12.9403 19.3555 13.3945L19.5489 13.5078C19.9935 13.7797 20.3946 14.1129 20.7383 14.4961L20.8399 14.6289C21.0471 14.9484 21.0463 15.3308 20.8868 15.6367C20.7323 15.9322 20.4377 16.1457 20.086 16.1943L19.9317 16.2051H13.4141C12.9952 16.2049 12.6354 15.9745 12.459 15.6367C12.2767 15.2871 12.3025 14.8375 12.6084 14.4961L12.7588 14.335C13.1184 13.9663 13.5333 13.6488 13.9903 13.3945L14.3018 13.2344C15.0389 12.8845 15.8502 12.7022 16.6729 12.7021ZM8.37602 6.29688C10.4936 6.29727 12.1884 8.04416 12.1885 10.1699C12.1883 12.2956 10.4935 14.0426 8.37602 14.043C6.2584 14.0427 4.56476 12.2957 4.5645 10.1699C4.56462 8.04407 6.25831 6.29712 8.37602 6.29688ZM16.6709 5C18.4428 5.00018 19.8565 6.46123 19.8565 8.23438C19.8562 10.
75860073 18.4426 11.4686 16.6709 11.4688C14.8992 11.4687 13.4857 10.0074 13.4854 8.23438C13.4854 6.46117 14.899 5.00007 16.6709 5Z",fill:"#1A91F0"})}),ie=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"5",cy:"12",r:"2.5",fill:"#1A91F0"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"2.5",fill:"#1A91F0"}),(0,r.jsx)("circle",{cx:"19",cy:"12",r:"2.5",fill:"#1A91F0"})]}),it=()=>(0,r.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"28",height:"28",fill:"white"}),(0,r.jsx)("rect",{x:"5.83496",y:"5.83008",width:"6.41667",height:"8.16667",rx:"0.7",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.96",strokeLinejoin:"round"}),(0,r.jsx)("rect",{x:"15.75",y:"14",width:"6.41667",height:"8.16667",rx:"0.7",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.96",strokeLinejoin:"round"}),(0,r.jsx)("rect",{x:"15.75",y:"5.83008",width:"6.41667",height:"4.66667",rx:"0.7",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.96",strokeLinejoin:"round"}),(0,r.jsx)("rect",{x:"5.83496",y:"17.5",width:"6.41667",height:"4.66667",rx:"0.7",fill:"#1A91F0",stroke:"#1A91F0",strokeWidth:"1.96",strokeLinejoin:"round"})]}),ii=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M9.5 7L14.5 12L9.5 17",stroke:"#1A91F0",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})}),ir=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:(0,r.jsx)("g",{id:"24x24/Menu",children:(0,r.jsx)("path",{id:"Shape",fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 5C3.5 4.17157 4.17157 3.5 5 3.5C5.82843 3.5 6.5 4.17157 6.5 5C6.5 5.82843 5.82843 6.5 5 6.5C4.17157 6.5 3.5 5.82843 3.5 5ZM3.5 12C3.5 11.1716 4.17157 10.5 5 10.5C5.82843 10.5 6.5 11.1716 6.5 12C6.5 12.8284 5.82843 13.5 5 13.5C4.17157 13.5 3.5 12.8284 3.5 12ZM5 17.5C4.17157 17.5 3.5 18.1716 3.5 19C3.5 19.8284 4.17157 20.5 5 20.5C5.82843 20.5 6.5 19.8284 6.5 19C6.5 18.1716 5.82843 17.5 5 17.5ZM10.5 5C10.5 4.17157 11.1716 3.5 12 3.5C12.8284 3.5 13.5 4.17157 13.5 5C13.5 5.82843 12.8284 6.5 12 6.5C11.1716 6.5 10.5 5.82843 10.5 5ZM12 10.5C11.1716 10.5 10.5 11.1716 10.5 12C10.5 12.8284 11.1716 13.5 12 13.5C12.8284 13.5 13.5 12.8284 13.5 12C13.5 11.1716 12.8284 10.5 12 10.5ZM10.5 19C10.5 18.1716 11.1716 17.5 12 17.5C12.8284 17.5 13.5 18.1716 13.5 19C13.5 19.8284 12.8284 20.5 12 20.5C11.1716 20.5 10.5 19.8284 10.5 19ZM19 3.5C18.1716 3.5 17.5 4.17157 17.5 5C17.5 5.82843 18.1716 6.5 19 6.5C19.8284 6.5 20.5 5.82843 20.5 5C20.5 4.17157 19.8284 3.5 19 3.5ZM17.5 12C17.5 11.1716 18.1716 10.5 19 10.5C19.8284 10.5 20.5 11.1716 20.5 12C20.5 12.8284 19.8284 13.5 19 13.5C18.1716 13.5 17.5 12.8284 17.5 12ZM19 17.5C18.1716 17.5 17.5 18.1716 17.5 19C17.5 19.8284 18.1716 20.5 19 20.5C19.8284 20.5 20.5 19.8284 20.5 19C20.5 18.1716 19.8284 17.5 19 17.5Z",fill:"currentColor"})})}),io=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"6",fill:"white",stroke:"#0F141E",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"1",fill:"white",stroke:"black",strokeWidth:"2"}),(0,r.jsx)("path",{d:"M18 12H20",stroke:"#0F141E",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M4 12H6",stroke:"#0F141E",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12 6V4",stroke:"#0F141E",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12 20V18",stroke:"#0F141E",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]}),ia=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M10.0212 16.7057C9.14369 16.7057 8.2748 16.5329 7.4641 16.1971C6.65341 15.8613 5.9168 15.3691 5.29632 14.7486C4.67585 14.1281 4.18366 13.3915 3.84786 12.5808C3.51206 11.7701 3.33923 10.9012 3.33923 10.0237C3.33923 9.14626 3.51206 8.27736 3.84786 7.46667C4.18366 6.65598 4.67585 5.91937 5.29633 5.29889C5.9168 4.67842 6.65341 4.18623 7.46411 3.85043C8.2748 3.51463 9.14369 3.3418 10.0212 3.3418C10.8987 3.3418 11.7676 3.51463 12.5782 3.85043C13.3889 4.18623 14.1256 4.67842 14.746 5.29889C15.3665 5.91937 15.8587 6.65598 16.1945 7.46668C16.5303 8.27737 16.7031 9.14626 16.7031 10.0237C16.7031 10.9
7586012 16.5303 11.7701 16.1945 12.5808C15.8587 13.3915 15.3665 14.1281 14.746 14.7486C14.1255 15.3691 13.3889 15.8613 12.5782 16.1971C11.7676 16.5329 10.8987 16.7057 10.0212 16.7057L10.0212 16.7057Z",stroke:"#828BA2",strokeWidth:"1.4",fill:"white"}),(0,r.jsx)("path",{d:"M12.1115 11.6931L10.0234 10.4402L10.0234 6.68164",stroke:"#828BA2",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",fill:"white"})]}),il=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("path",{fill:"#828BA2",fillRule:"evenodd",d:"M4 7.4h16a.6.6 0 0 1 .6.6v8a.6.6 0 0 1-.6.6H4a.6.6 0 0 1-.6-.6V8a.6.6 0 0 1 .6-.6ZM2 8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8Zm8.7 4a1.3 1.3 0 1 1 2.6 0 1.3 1.3 0 0 1-2.6 0ZM12 9.3a2.7 2.7 0 1 0 0 5.4 2.7 2.7 0 0 0 0-5.4Zm6 2.7a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM7 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"})}),is=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{stroke:"#1A91F0",strokeWidth:1.8,fill:"white",d:"M13.037 6.134a.5.5 0 0 1 .926 0l1.632 3.997a.5.5 0 0 0 .274.274l3.997 1.632a.5.5 0 0 1 0 .926l-3.997 1.632a.5.5 0 0 0-.274.274l-1.632 3.997a.5.5 0 0 1-.926 0l-1.632-3.997a.5.5 0 0 0-.274-.274l-3.997-1.632a.5.5 0 0 1 0-.926l3.997-1.632a.5.5 0 0 0 .274-.274l1.632-3.997Z"}),(0,r.jsx)("path",{fill:"#1A91F0",d:"M6.016 3.877c.129-.5.84-.5.968 0l.365 1.415a.5.5 0 0 0 .36.359l1.414.365c.5.129.5.84 0 .968l-1.415.365a.5.5 0 0 0-.359.36l-.365 1.414c-.129.5-.84.5-.968 0L5.65 7.708a.5.5 0 0 0-.36-.359l-1.414-.365c-.5-.129-.5-.84 0-.968l1.415-.365a.5.5 0 0 0 .359-.36l.365-1.414Z"})]}),id=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("path",{stroke:"#1A91F0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.4,d:"M6 19h12M7.5 9.5l4.126 4.58a.5.5 0 0 0 .748 0L16.5 9.5M12 3v11"})}),ic=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M13.6686 8.66846L17.0029 12.0027M17.0029 12.0027L13.6686 15.337M17.0029 12.0027H7",stroke:"#0F3871",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),iu=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M13.6686 8.66846L17.0029 12.0027M17.0029 12.0027L13.6686 15.337M17.0029 12.0027H7",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),ip=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{fill:"white",stroke:"#1A91F0",strokeWidth:1.8,d:"M7.33 17h9.34a.2.2 0 0 0 .178-.292l-.863-1.661a3.677 3.677 0 0 1-.414-1.695v-3.78a3.571 3.571 0 0 0-7.142 0v3.78c0 .59-.142 1.171-.414 1.695l-.863 1.66a.2.2 0 0 0 .177.293Z"}),(0,r.jsx)("circle",{cx:12,cy:5.5,r:1,fill:"#1A91F0",transform:"rotate(-180 12 5.5)"}),(0,r.jsx)("path",{fill:"#1A91F0",d:"M14 17.5a2 2 0 0 1-4 0h4Z"})]}),ih=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M19 7H4L8.5 11.5V18L19 7Z",stroke:"currentColor",fill:"transparent",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),ix=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_157_43092)",children:[(0,r.jsx)("path",{d:"M21.6617 17.864C21.3417 18.0313 21.0117 18.1788 20.6736 18.3055C19.5974 18.7082 18.4573 18.9134 17.3082 18.9111C12.8722 18.9111 9.0081 15.8598 9.0081 11.9441C9.01378 11.4189 9.15952 10.9047 9.43028 10.4547C9.70103 10.0046 10.087 9.63498 10.5483 9.38391C6.53607 9.55265 5.50488 13.7336 5.50488 16.1832C5.50488 23.109 11.8879 23.8111 13.2631 23.8111C14.0047 23.8111 15.123 23.5955 15.7942 23.3837L15.917 23.3424C18.4999 22.4495 20.7018 20.7038 22.1604 18.3927C22.2051 18.3223 22.225 18.2391 22.2171 18.1561C22.2092 18.0731 22.1738 17.9951 22.1166 17.9345C22.0594 17.8738 21.9836 17.834 21.9012 17.8212C21.8188 17.8085 21.7346 17.8235 21.6617 17.864Z",fill:"url(#paint0_linear_157_43092)"}),(0,r.jsx)("path",{opacity:"0.35",d:"M21.6617 17.864C21.3417 18.0313 21.0117 18.1788 20.6736 18.3055C19.5974 18.7082 18.4573 18.9134 17.3082 18.9111C12.8722 18.9111 9.0081 15.8598 9.0081 11.9441C9.01378 11.4189 9.15952 10.9047 9.43028 10.4547C9.70103 10.0046 10.087 9.63498 10.5483 9.38391C6.53607 9.55265 5.50488 13.7336 5.50488 16.1832C5.50488 23.109 11.8879 23.8111 13.2631 23.8111C14.0047 23.8111 15.123 23.5955 15.7942 23.3837L15.917 23.3424C18.4999 22.4495 20.7018 20.7038 22.1604 18.3927C22.2051 18.3223 22.225 18.2391 22.2171 18.1561C22.2092 18.0731 22.1738 17.9951 22.1166 17.9345C22.0594 17.8738 21.9836 17.834 21.9012 17.8212C2
75861.8188 17.8085 21.7346 17.8235 21.6617 17.864Z",fill:"url(#paint1_radial_157_43092)"}),(0,r.jsx)("path",{d:"M9.91249 22.6338C9.07635 22.1148 8.35172 21.4348 7.78075 20.6333C7.12996 19.7416 6.68213 18.7184 6.46866 17.6354C6.2552 16.5524 6.28126 15.4358 6.54504 14.3639C6.80881 13.292 7.3039 12.2908 7.99558 11.4306C8.68726 10.5703 9.55878 9.87175 10.549 9.38396C10.8415 9.24616 11.3411 8.9968 12.0058 9.00899C12.4741 9.0124 12.9352 9.1242 13.353 9.33563C13.7708 9.54706 14.134 9.85238 14.4141 10.2277C14.7926 10.7331 15.0014 11.3455 15.0103 11.9769C15.0103 11.9572 17.3033 4.51489 7.51076 4.51489C3.39539 4.51489 0.0112315 8.42027 0.0112315 11.8466C-0.00500126 13.6591 0.382808 15.4525 1.14647 17.0963C2.39451 19.7592 4.577 21.871 7.27949 23.0308C9.98198 24.1905 13.0163 24.3175 15.8062 23.3875C14.8293 23.6955 13.7973 23.7879 12.7812 23.6584C11.7652 23.529 10.7893 23.1806 9.92093 22.6375L9.91249 22.6338Z",fill:"url(#paint2_linear_157_43092)"}),(0,r.jsx)("path",{opacity:"0.41",d:"M9.91249 22.6338C9.07635 22.1148 8.35172 21.4348 7.78075 20.6333C7.12996 19.7416 6.68213 18.7184 6.46866 17.6354C6.2552 16.5524 6.28126 15.4358 6.54504 14.3639C6.80881 13.292 7.3039 12.2908 7.99558 11.4306C8.68726 10.5703 9.55878 9.87175 10.549 9.38396C10.8415 9.24616 11.3411 8.9968 12.0058 9.00899C12.4741 9.0124 12.9352 9.1242 13.353 9.33563C13.7708 9.54706 14.134 9.85238 14.4141 10.2277C14.7926 10.7331 15.0014 11.3455 15.0103 11.9769C15.0103 11.9572 17.3033 4.51489 7.51076 4.51489C3.39539 4.51489 0.0112315 8.42027 0.0112315 11.8466C-0.00500126 13.6591 0.382808 15.4525 1.14647 17.0963C2.39451 19.7592 4.577 21.871 7.27949 23.0308C9.98198 24.1905 13.0163 24.3175 15.8062 23.3875C14.8293 23.6955 13.7973 23.7879 12.7812 23.6584C11.7652 23.529 10.7893 23.1806 9.92093 22.6375L9.91249 22.6338Z",fill:"url(#paint3_radial_157_43092)"}),(0,r.jsx)("path",{d:"M14.28 13.9567C14.2041 14.0551 13.9707 14.1911 13.9707 14.4873C13.9707 14.732 14.1301 14.9673 14.4132 15.1651C15.7612 16.1025 18.3026 15.9788 18.3092 15.9788C19.308 15.9764 20.288 15.7061 21.1468 15.196C22.0132 14.6901 22.7323 13.9665 23.2326 13.0969C23.733 12.2274 23.9974 11.2421 23.9994 10.2388C24.0238 8.13801 23.2495 6.74122 22.9364 6.12251C20.9499 2.23681 16.6621 0.00195318 11.9993 0.00195318C8.84587 0.00164137 5.81911 1.24266 3.5736 3.45659C1.3281 5.67052 0.0443444 8.6794 0 11.8325C0.0449972 8.40705 3.44978 5.64066 7.49953 5.64066C7.82764 5.64066 9.69877 5.67254 11.4368 6.58467C12.9686 7.38899 13.771 8.36018 14.3288 9.32293C14.9081 10.3232 15.0113 11.5869 15.0113 12.0903C15.0113 12.5937 14.7544 13.3399 14.28 13.9567Z",fill:"url(#paint4_radial_157_43092)"}),(0,r.jsx)("path",{d:"M14.28 13.9567C14.2041 14.0551 13.9707 14.1911 13.9707 14.4873C13.9707 14.732 14.1301 14.9673 14.4132 15.1651C15.7612 16.1025 18.3026 15.9788 18.3092 15.9788C19.308 15.9764 20.288 15.7061 21.1468 15.196C22.0132 14.6901 22.7323 13.9665 23.2326 13.0969C23.733 12.2274 23.9974 11.2421 23.9994 10.2388C24.0238 8.13801 23.2495 6.74122 22.9364 6.12251C20.9499 2.23681 16.6621 0.00195318 11.9993 0.00195318C8.84587 0.00164137 5.81911 1.24266 3.5736 3.45659C1.3281 5.67052 0.0443444 8.6794 0 11.8325C0.0449972 8.40705 3.44978 5.64066 7.49953 5.64066C7.82764 5.64066 9.69877 5.67254 11.4368 6.58467C12.9686 7.38899 13.771 8.36018 14.3288 9.32293C14.9081 10.3232 15.0113 11.5869 15.0113 12.0903C15.0113 12.5937 14.7544 13.3399 14.28 13.9567Z",fill:"url(#paint5_radial_157_43092)"})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_157_43092",x1:"5.50488",y1:"16.5994",x2:"22.2232",y2:"16.5994",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#0C59A4"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#114A8B"})]}),(0,r.jsxs)("radialGradient",{id:"paint1_radial_157_43092",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(14.7387 16.7312) scale(8.94132 8.49425)",children:[(0,r.jsx)("stop",{offset:"0.72",stopOpacity:"0"}),(0,r.jsx)("stop",{offset:"0.95",stopOpacity:"0.53"}),(0,r.jsx)("stop",{offset:"1"})]}),(0,r.jsxs)("linearGradient",{id:"paint2_linear_157_43092",x1:"14.3194",y1:"9.3474",x2:"3.87724",y2:"20.7214",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#1B9DE2"}),(0,r.jsx)("stop",{offset:"0.16",stopColor:"#1595DF"}),(0,r.jsx)("stop",{offset:"0.67",stopColor:"#0680D7"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#0078D4"})]}),(0,r.jsxs)("radialGradient",{id:"paint3_radial_157_43092",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.61874 18.6579) rotate(-81.3844) scale(13.4454 10.8625)",children:[(0,r.jsx)("stop",{offset:"0.76",stopOpacity:"0"}),(0,r.jsx)("stop",{offset:"0.95",stopOpacity:"0.5"}),(0,r.jsx)("stop",{offset:"1"})]}),(0,r.jsxs)("radialGradient",{id:"paint4_radial_157_43092",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(2.42446 4.44325) rotate(92.2906) scale(18.9918 40.4486)",children:[(0,r.jsx)("stop",{stopColor:"#35C1F1"}),(0,r.jsx)("stop",{offset:"0.11",stopColor:"#34C1ED"}),(0,r.jsx)("stop",{offset:"0.23",stopColor:"#2FC2DF"}),(0,r.jsx)("stop",{offset:"0.31",stopColor:"#2BC3D2"}),(0,r.jsx)("stop",{offset:"0.67",stopColor:"#36C752"})]}),(0,r.jsxs)("radialGradient",{id:"paint5_radial_157_43092",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(22.5054 7.25832) rotate(73.7398) scale(9.12506 7.42049)",children:[(0,r.jsx)("stop",{stopColor:"#66EB6E"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#66EB6E",stopOpacity:"0"})]}),(0,r.jsx)("clipPath",{id:"clip0_157_43092",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(0 0.00195312)"})})]})]}),im=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"24",viewBox:"0 0 22 24",fill:"none",children:[(0,r.jsx)("path",{d:"M20.7527 5.75176L21.3319 4.3689C21.3319 4.3689 20.6032 3.60468 19.7064 2.73129C18.8096 1.8579 16.9226 2.36738 16.9226 2.36738L14.774 0.00195312H7.22598L5.05872 2.38558C5.05872 2.38558 3.17171 1.8761 2.27491 2.74949C1.37811 3.62288 0.649466 4.38709 0.649466 4.38709L1.22865 5.76996L0.5 7.80787C0.5 7.80787 2.66726 15.7775 2.91014 16.7601C3.41459 18.6706 3.75089 19.4167 5.17082 20.3992C6.59075 21.3818 9.15036 23.0558 9.58007 23.3105C9.9911 23.5653 10.5329 24.002 11 24.002C11.4671 24.002 11.9902 23.5653 12.4199 23.3105C12.831 23.0558 15.4093 21.3636 16.8292 20.3992C18.2491 19.4349 18.5854 18.6888 19.0899 16.7601C19.3514 15.7775 21.5 7.80787 21.5 7.80787L20.7527 5.75176Z",fill:"url(#paint0_linear_314_315)"}),(0,r.jsx)("path",{d:"M16.3232 3.89596C16.3232 3.89596 19.0883 7.15297 19.0883 7.8626C19.0883 8.57223 18.7333 8.73599 18.3783 9.0999C18.0234 9.46381 16.4913 
758611.0468 16.3045 11.247C16.099 11.4471 15.7066 11.7565 15.9308 12.3205C16.1737 12.8664 16.5287 13.576 16.1363 14.3038C15.744 15.0135 15.0714 15.5048 14.6417 15.4138C14.212 15.341 13.1844 14.8133 12.8107 14.5768C12.4371 14.3402 11.26 13.3941 11.26 13.0302C11.26 12.6662 12.4931 12.0112 12.7173 11.8656C12.9415 11.7201 13.9691 11.1378 13.9878 10.9195C14.0065 10.7011 14.0065 10.6283 13.6888 10.0643C13.3899 9.5002 12.8294 8.75419 12.9228 8.2629C13.0162 7.77162 13.8944 7.51688 14.5296 7.28034C15.1648 7.0438 16.3792 6.6071 16.5287 6.53432C16.6782 6.46154 16.6408 6.40695 16.1737 6.35237C15.7066 6.31597 14.4175 6.13402 13.8196 6.29778C13.2218 6.46154 12.2315 6.69808 12.1381 6.82545C12.0634 6.95282 11.9887 6.95282 12.0634 7.40771C12.1381 7.84441 12.5865 9.99149 12.6239 10.3736C12.6613 10.7557 12.7547 11.0104 12.325 11.1014C11.9139 11.1924 11.204 11.3562 10.9611 11.3562C10.7182 11.3562 10.0082 11.1924 9.5972 11.1014C9.18617 11.0104 9.2609 10.7557 9.29827 10.3736C9.33563 9.99149 9.76535 7.8626 9.85877 7.40771C9.9335 6.97102 9.87745 6.95282 9.78403 6.82545C9.7093 6.69808 8.7004 6.46154 8.10254 6.29778C7.50467 6.13402 6.21553 6.29778 5.74845 6.35237C5.28136 6.38876 5.244 6.46154 5.39346 6.53432C5.54293 6.6071 6.75734 7.0438 7.39257 7.28034C8.02781 7.51688 8.90592 7.77162 8.99934 8.2629C9.09275 8.75419 8.55094 9.5002 8.23332 10.0643C7.93439 10.6283 7.91571 10.6829 7.93439 10.9195C7.95307 11.1378 8.98065 11.7201 9.20485 11.8656C9.42905 12.0112 10.6621 12.6662 10.6621 13.0302C10.6621 13.3941 9.4851 14.3402 9.11144 14.5768C8.73777 14.8133 7.72887 15.3228 7.28047 15.4138C6.85076 15.4866 6.17816 15.0135 5.78581 14.3038C5.39346 13.5942 5.74845 12.8846 5.99133 12.3205C6.23421 11.7747 5.82318 11.4653 5.61766 11.247C5.41215 11.0468 3.8988 9.46381 3.54382 9.0999C3.18884 8.73599 2.85254 8.55403 2.85254 7.8626C2.85254 7.17117 5.61766 3.89596 5.61766 3.89596C5.61766 3.89596 7.95307 4.33265 8.27069 4.33265C8.5883 4.33265 9.2609 4.07792 9.89613 3.87776C10.5314 3.67761 10.9424 3.67761 10.9424 3.67761C10.9424 3.67761 11.3534 3.67761 11.9887 3.87776C12.6239 4.07792 13.2965 4.33265 13.6141 4.33265C13.9317 4.33265 16.3232 3.89596 16.3232 3.89596ZM14.2493 16.3599C14.4175 16.4691 14.3241 16.6693 14.1559 16.7602C14.0065 16.8694 11.8952 18.4524 11.7084 18.6344C11.5029 18.8164 11.204 19.0893 10.9984 19.0893C10.7929 19.0893 10.494 18.7982 10.2885 18.6344C10.083 18.4524 7.99044 16.8694 7.84097 16.7602C7.69151 16.6511 7.57941 16.4509 7.74756 16.3599C7.91571 16.2508 8.45752 15.996 9.18617 15.6139C9.9335 15.2318 10.849 14.9225 10.9984 14.9225C11.1479 14.9225 12.0634 15.2318 12.8107 15.6139C13.5394 15.996 14.0812 16.269 14.2493 16.3599Z",fill:"white"}),(0,r.jsx)("path",{d:"M16.9231 2.38558L14.7745 0.00195312H7.22646L5.0592 2.38558C5.0592 2.38558 3.17219 1.8761 2.27539 2.74949C2.27539 2.74949 4.79763 2.53114 5.65706 3.89581C5.65706 3.89581 7.99247 4.33251 8.31009 4.33251C8.6277 4.33251 9.3003 4.07777 9.93553 3.87762C10.5708 3.67746 10.9818 3.67747 10.9818 3.67747C10.9818 3.67747 11.3928 3.67746 12.0281 3.87762C12.6633 4.07777 13.3359 4.33251 13.6535 4.33251C13.9711 4.33251 16.3065 3.89581 16.3065 3.89581C17.166 2.53114 19.6882 2.74949 19.6882 2.74949C18.8101 1.8761 16.9231 2.38558 16.9231 2.38558Z",fill:"url(#paint1_linear_314_315)"}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_314_315",x1:"0.5123",y1:"11.9966",x2:"21.4959",y2:"11.9966",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#FF5500"}),(0,r.jsx)("stop",{offset:"0.41",stopColor:"#FF5500"}),(0,r.jsx)("stop",{offset:"0.582",stopColor:"#FF2000"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FF2000"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_314_315",x1:"2.66454",y1:"2.15986",x2:"19.7152",y2:"2.15986",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#FF452A"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FF2000"})]})]})]}),ig=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsxs)("g",{id:"24x24/ArrowTarget",children:[(0,r.jsx)("path",{id:"Ellipse",d:"M20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("path",{id:"Line 4",d:"M11.9982 11.9977L13.8429 10.1531M13.8429 10.1531L13.644 7.30269C13.6239 7.01395 13.7298 6.73065 13.9345 6.52599L17.3015 3.15891L17.2247 6.77131L20.8371 6.69445L17.47 10.0615C17.2653 10.2662 16.982 10.3721 16.6933 10.352L13.8429 10.1531Z",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{id:"Ellipse 148",d:"M10.7639 8.19577C10.1029 8.41056 9.50925 8.79387 9.04148 9.30795C8.5737 9.82203 8.24795 10.4491 8.09633 11.1274C7.94471 11.8057 7.97246 12.5118 8.17683 13.1762C8.3812 13.8405 8.75515 14.4401 9.26181 14.9159C9.76848 15.3917 10.3904 15.7272 11.0662 15.8895C11.7421 16.0517 12.4485 16.0351 13.116 15.8412C13.7834 15.6473 14.3888 15.2828 14.8725 14.7837C15.3562 14.2845 15.7015 13.668 15.8743 12.9948",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]})}),iy=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.0266 7.08281C12.8805 7.22883 12.8
7586049 7.43097 12.8193 7.63698L12.9722 9.82796L15.1632 9.98082C15.3692 9.99519 15.5713 9.9196 15.7173 9.77357L17.6463 7.84458L16.0136 7.87932C15.7219 7.88553 15.4403 7.77239 15.234 7.56609C15.0278 7.3598 14.9146 7.07823 14.9208 6.78655L14.9556 5.15382L13.0266 7.08281ZM10.8677 10.4189L10.684 7.78596C10.6265 6.96191 10.9289 6.15336 11.513 5.56925L15.3254 1.75683C15.6345 1.44781 16.1003 1.35771 16.5023 1.52924C16.9042 1.70076 17.1615 2.09945 17.1522 2.53637L17.0846 5.71556L20.2638 5.64792C20.7007 5.63862 21.0994 5.89591 21.2709 6.29786C21.4424 6.69981 21.3523 7.16568 21.0433 7.4747L17.2309 11.2871C16.6468 11.8712 15.8382 12.1736 15.0142 12.1161L12.3813 11.9324L10.5325 13.7812C10.1146 14.1991 9.43693 14.1991 9.01897 13.7812C8.60101 13.3632 8.60101 12.6856 9.01897 12.2676L10.8677 10.4189Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.03221 7.26814C9.21487 7.83029 8.90723 8.43407 8.34508 8.61672C7.57866 8.86575 6.89036 9.31018 6.34801 9.90621C5.80566 10.5023 5.42797 11.2293 5.25218 12.0158C5.07639 12.8022 5.10855 13.6209 5.34551 14.3911C5.58246 15.1614 6.01603 15.8566 6.60347 16.4082C7.19092 16.9599 7.91197 17.3489 8.69556 17.537C9.47915 17.7252 10.2982 17.7059 11.0721 17.481C11.846 17.2562 12.5479 16.8336 13.1087 16.2549C13.6695 15.6762 14.0698 14.9614 14.2702 14.1808C14.4172 13.6083 15.0005 13.2634 15.573 13.4104C16.1455 13.5574 16.4905 14.1406 16.3435 14.7131C16.0506 15.8539 15.4655 16.8987 14.6458 17.7445C13.8262 18.5903 12.8003 19.2079 11.6693 19.5365C10.5382 19.8651 9.34112 19.8933 8.19587 19.6184C7.05062 19.3434 5.99678 18.7748 5.13821 17.9686C4.27963 17.1623 3.64596 16.1463 3.29964 15.0205C2.95333 13.8948 2.90631 12.6983 3.16324 11.5488C3.42017 10.3994 3.97217 9.33677 4.76484 8.46564C5.5575 7.59451 6.56348 6.94496 7.68363 6.581C8.24578 6.39834 8.84956 6.70599 9.03221 7.26814Z",fill:"currentColor"})]}),ib=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5 3C16.0858 3 15.75 3.33579 15.75 3.75V10.5524C16.2887 10.6085 16.8037 10.7165 17.25 10.9084V3.75C17.25 3.33579 16.9142 3 16.5 3ZM18.75 3.75C18.75 2.50736 17.7426 1.5 16.5 1.5C15.2574 1.5 14.25 2.50736 14.25 3.75V6.87803C14.0154 6.79512 13.763 6.75 13.5 6.75C12.9237 6.75 12.3981 6.96664 12 7.32292C11.6019 6.96664 11.0763 6.75 10.5 6.75C10.237 6.75 9.98458 6.79512 9.75 6.87803V5.25C9.75 4.00736 8.74264 3 7.5 3C6.25736 3 5.25 4.00736 5.25 5.25V14.25C5.25 17.9779 8.27208 21 12 21C15.7279 21 18.75 17.9779 18.75 14.25V3.75ZM8.25 5.25C8.25 4.83579 7.91421 4.5 7.5 4.5C7.08579 4.5 6.75 4.83579 6.75 5.25V14.25C6.75 17.1495 9.10051 19.5 12 19.5C14.8995 19.5 17.25 17.1495 17.25 14.25V13.125C17.25 12.8812 17.1914 12.7299 17.1192 12.6254C17.0434 12.5156 16.9161 12.4051 16.7013 12.306C16.2466 12.0961 15.5401 12 14.625 12H12.375C11.7537 12 11.25 12.5037 11.25 13.125C11.25 13.7463 11.7537 14.25 12.375 14.25H15V15.75C13.7574 15.75 12.75 16.7574 12.75 18H11.25C11.25 17.145 11.5362 16.3567 12.018 15.7259C10.8188 15.5628 9.87706 14.5899 9.76186 13.3761C8.88177 13.0706 8.25 12.2341 8.25 11.25V5.25ZM10.0713 11.8655C9.87709 11.73 9.75 11.5048 9.75 11.25V9C9.75 8.58579 10.0858 8.25 10.5 8.25C10.9142 8.25 11.25 8.58579 11.25 9V10.7526C10.7497 10.9903 10.3365 11.3816 10.0713 11.8655ZM12.75 10.5H14.25V9C14.25 8.58579 13.9142 8.25 13.5 8.25C13.0858 8.25 12.75 8.58579 12.75 9V10.5Z",fill:"white"})}),i_=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 6L20 6V18L18 18V16H16V18H4V6L16 6L16 8H18L18 6ZM2 6C2 4.89543 2.89543 4 4 4H20C21.1046 4 22 4.89543 22 6V18C22 19.1046 21.1046 20 20 20H4C2.89543 20 2 19.1046 2 18V6ZM9 9.5C9 8.67157 8.32843 8 7.5 8C6.67157 8 6 8.67157 6 9.5C6 10.3284 6.67157 11 7.5 11C8.32843 11 9 10.3284 9 9.5ZM12.5 13C13.3284 13 14 13.6716 14 14.5C14 15.3284 13.3284 16 12.5 16C11.6716 16 11 15.3284 11 14.5C11 13.6716 11.6716 13 12.5 13ZM18 10H16V14L18 14V10ZM6.29297 14.2928L12.293 8.29282L13.7072 9.70703L7.70718 15.707L6.29297 14.2928Z",fill:"white"})}),iv=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.5 3.3a.7.7 0 0 1 .7.7v5a.7.7 0 0 1-.7.7h-5a.7.7 0 1 1 0-1.4h3.6a6.3 6.3 0 0 0-11.185 2.07.7.7 0 1 1-1.352-.362 7.7 7.7 0 0 1 13.238-3.072V4.001a.7.7 0 0 1 .7-.7M5.34 19.79a.7.7 0 0 1-.7-.7v-5a.7.7 0 0 1 .7-.7h5a.7.7 0 1 1 0 1.4H6.743a6.3 6.3 0 0 0 11.
7586184-2.07.7.7 0 0 1 1.352.362 7.7 7.7 0 0 1-13.237 3.072v2.935a.7.7 0 0 1-.7.7",clipRule:"evenodd"})}),ij=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"6",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"1",stroke:"black",strokeWidth:"2"}),(0,r.jsx)("path",{d:"M18 12H20",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M4 12H6",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12 6V4",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12 20V18",stroke:"#1E2532",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),iA=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"6",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"1",stroke:"currentColor",strokeWidth:"2"}),(0,r.jsx)("path",{d:"M18 12H20",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M4 12H6",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12 6V4",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12 20V18",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),iC=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2 8.00005C11.2 7.28208 11.782 6.70005 12.5 6.70005C13.218 6.70005 13.8 7.28208 13.8 8.00005V9.00005C13.8 9.38665 14.1134 9.70005 14.5 9.70005C14.8866 9.70005 15.2 9.38665 15.2 9.00005V8.00005C15.2 6.50888 13.9912 5.30005 12.5 5.30005C11.0088 5.30005 9.8 6.50888 9.8 8.00005V11H9.5C8.39543 11 7.5 11.8955 7.5 13V17C7.5 18.1046 8.39543 19 9.5 19H15.5C16.6046 19 17.5 18.1046 17.5 17V13C17.5 11.8955 16.6046 11 15.5 11H11.2V8.00005ZM8.9 13C8.9 12.6687 9.16863 12.4 9.5 12.4H15.5C15.8314 12.4 16.1 12.6687 16.1 13V17C16.1 17.3314 15.8314 17.6 15.5 17.6H9.5C9.16863 17.6 8.9 17.3314 8.9 17V13Z",fill:"white"})}),iw=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",children:[(0,r.jsx)("path",{d:"M1 11H4",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M1 3H8",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M8 11H15",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M12 3L15 3",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"6",cy:"11",r:"2",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",fill:"transparent"}),(0,r.jsx)("circle",{cx:"10",cy:"3",r:"2",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",fill:"transparent"})]}),ik=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("rect",{width:"24",height:"24",rx:"4",fill:"none"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6998 7.20001V5.60001H14.2998V7.20001H9.6998ZM8.2998 7.20001V5.40001C8.2998 4.73727 8.83706 4.20001 9.4998 4.20001H14.4998C15.1625 4.20001 15.6998 4.73727 15.6998 5.40001V7.20001H15.7417H17.9998C18.3864 7.20001 18.6998 7.51341 18.6998 7.90001C18.6998 8.28661 18.3864 8.60001 17.9998 8.60001H16.9291L16.0959 18.5006C16.0436 19.1222 15.5238 19.6 14.9001 19.6H9.09949C8.47576 19.6 7.95603 19.1222 7.90372 18.5006L7.07053 8.60001H5.9998C5.61321 8.60001 5.2998 8.28661 5.2998 7.90001C5.2998 7.51341 5.61321 7.20001 5.9998 7.20001H8.25793H8.2998ZM14.9998 8.60001H8.9998H8.47547L9.28337 18.2H14.7162L15.5241 8.60001H14.9998Z",fill:"currentColor"})]}),iS=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5592 9.28292C18.916 10.1443 19.0996 11.0676 19.0996 12C19.0996 12.9324 18.916 13.8556 18.5592 14.717C18.2023 15.5784 17.6794 16.3611 17.0201 17.0204C16.3608 17.6797 15.5781 18.2027 14.7167 18.5595C13.8552 18.9163 12.932 
758619.1 11.9996 19.1C11.0672 19.1 10.144 18.9163 9.28256 18.5595C8.42114 18.2027 7.63845 17.6797 6.97915 17.0204C6.31985 16.3611 5.79687 15.5784 5.44006 14.717C5.08326 13.8556 4.89961 12.9324 4.89961 12C4.89961 11.0676 5.08326 10.1443 5.44006 9.28292C5.79687 8.42151 6.31985 7.63881 6.97915 6.97952C7.63845 6.32022 8.42115 5.79724 9.28256 5.44043C10.144 5.08362 11.0672 4.89998 11.9996 4.89998C12.932 4.89998 13.8553 5.08362 14.7167 5.44043C15.5781 5.79724 16.3608 6.32022 17.0201 6.97952C17.6794 7.63881 18.2023 8.42151 18.5592 9.28292ZM20.8996 12C20.8996 10.8312 20.6694 9.67389 20.2221 8.59409C19.7749 7.5143 19.1193 6.53317 18.2929 5.70673C17.4664 4.88028 16.4853 4.22472 15.4055 3.77745C14.3257 3.33018 13.1684 3.09998 11.9996 3.09998C10.8308 3.09998 9.67352 3.33018 8.59373 3.77745C7.51393 4.22471 6.5328 4.88028 5.70636 5.70672C4.87992 6.53317 4.22435 7.51429 3.77708 8.59409C3.32981 9.67389 3.09961 10.8312 3.09961 12C3.09961 13.1687 3.32981 14.3261 3.77708 15.4059C4.22435 16.4857 4.87992 17.4668 5.70636 18.2932C6.5328 19.1197 7.51393 19.7752 8.59373 20.2225C9.67352 20.6698 10.8308 20.9 11.9996 20.9C13.1684 20.9 14.3257 20.6698 15.4055 20.2225C16.4853 19.7752 17.4664 19.1197 18.2929 18.2932C19.1193 17.4668 19.7749 16.4857 20.2221 15.4059C20.6694 14.3261 20.8996 13.1687 20.8996 12ZM10.4257 14.6364C10.7772 14.9878 11.347 14.9878 11.6985 14.6364L15.3346 11.0003C15.686 10.6489 15.686 10.079 15.3346 9.72753C14.9831 9.37606 14.4132 9.37606 14.0618 9.72753L11.0621 12.7272L9.63759 11.3027C9.28612 10.9512 8.71627 10.9512 8.3648 11.3027C8.01333 11.6541 8.01333 12.224 8.3648 12.5755L10.4257 14.6364Z",fill:"currentColor"})}),iT=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.9 6.99998C9.9 6.39246 10.3925 5.89998 11 5.89998H13C13.6075 5.89998 14.1 6.39246 14.1 6.99998C14.1 6.99999 14.1 7 14.1 7.00001H6C4.89543 7.00001 4 7.89544 4 9.00001V10.72V11.62V12.52V16C4 17.1046 4.89543 18 6 18H18C19.1046 18 20 17.1046 20 16V12.52V11.62V10.72V9.00001C20 7.89544 19.1046 7.00001 18 7.00001H15.9C15.9 7 15.9 6.99999 15.9 6.99998C15.9 5.39835 14.6016 4.09998 13 4.09998H11C9.39837 4.09998 8.1 5.39835 8.1 6.99998H9.9ZM18.2 10.72H5.8V9.00001C5.8 8.88956 5.88954 8.80001 6 8.80001H18C18.1105 8.80001 18.2 8.88956 18.2 9.00001V10.72ZM18.2 16V12.52H5.8V16C5.8 16.1105 5.88954 16.2 6 16.2H18C18.1105 16.2 18.2 16.1105 18.2 16Z",fill:"currentColor"})}),iP=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9996 5.89998C10.8398 5.89998 9.89961 6.84018 9.89961 7.99998C9.89961 9.15977 10.8398 10.1 11.9996 10.1C13.1594 10.1 14.0996 9.15977 14.0996 7.99998C14.0996 6.84018 13.1594 5.89998 11.9996 5.89998ZM15.8996 7.99998C15.8996 9.84412 14.6196 11.3893 12.8996 11.7956V15C12.8996 15.497 12.4967 15.9 11.9996 15.9C11.5026 15.9 11.0996 15.497 11.0996 15L11.0996 11.7956C9.37959 11.3893 8.09961 9.84412 8.09961 7.99998C8.09961 5.84607 9.8457 4.09998 11.9996 4.09998C14.1535 4.09998 15.8996 5.84607 15.8996 7.99998ZM16.1688 13.1303C15.6886 13.0023 15.1954 13.2879 15.0675 13.7682C14.9395 14.2485 15.2251 14.7416 15.7054 14.8696C16.5683 15.0996 17.22 15.3932 17.6342 15.6928C18.0645 16.004 18.0996 16.2111 18.0996 16.2631C18.0996 16.3059 18.081 16.4435 17.8386 16.6675C17.5952 16.8925 17.1936 17.1365 16.6216 17.3602C15.4833 17.8052 13.8495 18.1 11.9996 18.1C10.1497 18.1 8.51587 17.8052 7.37758 17.3602C6.80565 17.1365 6.40402 16.8925 6.16062 16.6675C5.91822 16.4435 5.89961 16.3059 5.89961 16.2631C5.89961 16.2154 5.92644 16.0386 6.27275 15.7628C6.6117 15.4928 7.15465 15.217 7.89378 14.9853C8.36808 14.8367 8.63207 14.3317 8.48342 13.8574C8.33476 13.3831 7.82975 13.1191 7.35544 13.2677C6.49425 13.5376 5.72471 13.898 5.15123 14.3549C4.58512 14.8058 4.09961 15.4466 4.09961 16.2631C4.09961 16.9761 4.47275 17.5585 4.93879 17.9893C5.40383 18.4192 6.02732 18.7649 6.72214 19.0366C8.11735 19.5821 9.98354 19.9 11.9996 19.9C14.0157 19.9 15.8819 19.5821 17.2771 19.0366C17.9719 18.7649 18.5954 18.4192 19.0604 17.9893C19.5265 17.5585 19.8996 16.9761 19.8996 16.2631C19.8996 15.3744 19.3278 14.6963 18.6891 14.2343C18.0342 13.7606 17.1546 13.393 16.1688 13.1303Z",fill:"currentColor"})}),iJ=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.8418 5.111C17.1235 3.39269 14.3376 3.39269 12.6193 5.111L10.1444 7.58587C9.79291 7.93734 9.79291 8.50719 10.1444 8.85866C10.4959 9.21013 11.0657 9.21013 11.4172 8.85866L13.892 6.38379C14.9074 5.36842 16.5536 5.36842 17.569 6.38379C18.5844 7.39915 18.5844 9.04538 17.569 10.0607L15.0941 12.5356C14.7427 12.8871 14.7427 13.4569 15.0941 13.8084C15.4456 14.1599 16.0155 14.1599 16.3669 13.8084L18.8418 11.3335C20.5601 9.61523 20.5601 6.8293 18.8418 5.111ZM4.83853 19.1116C3.12023 17.3933 3.12023 14.6073 4.83853 12.889L7.31341 10.4142C7.66488 10.0627 8.23473 10.0627 8.5862 10.4142C8.93767 10.7656 8.93767 11.3355 8.5862 11.687L6.11133 14.1618C5.09596 15.1772 5.09596 16.8234 6.11133 17.8388C7.12669 18.8541 8.77292 18.8541 9.78828 17.8388L12.2632 15.3639C12.6146 15.0124 13.1845 15.0124 13.5359 15.3639C13.8874 15.7154 13.8874 16.2852 13.5359 16.6367L11.0611 19.1116C9.34277 20.8299 6.55684 20.8299 4.83853 19.1116ZM8.37538 14.3032C8.02391 14.6547 8.02391 15.2246 8.37538 15.576C8.72685 15.9275 9.2967 15.9275 9.64817 15.576L15.305 9.91917C15.6565 9.5677 15.6565 8.99785 15.305 8.64638C14.9536 8.29491 14.3837 8.29491 14.0322 8.64638L8.37538 14.3032Z",fill:"currentColor"})}),iE=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M16.5 10.5L7.6133 19.3867C7.53961 19.4604 7.44474 19.5092 7.34195 19.5263L5.19048 19.8849C4.85207 19.9413 4.55868 19.6479 4.61508 19.3095L4.97366 17.1581C4.99079 17.0553 5.03961 16.9604 5.
75861133 16.8867L14 8M16.5 10.5L19.1464 7.85355C19.3417 7.65829 19.3417 7.34171 19.1464 7.14645L17.3536 5.35355C17.1583 5.15829 16.8417 5.15829 16.6464 5.35355L14 8M16.5 10.5L14 8",stroke:"currentColor",strokeWidth:"1.8",fill:"none"})}),iR=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M12.4336 5.4669L5.59325 12.3073C4.03115 13.8694 4.03115 16.402 5.59325 17.9641V17.9641C7.15534 19.5262 9.688 19.5262 11.2501 17.9641L18.908 10.3063C19.9494 9.26487 19.9494 7.57643 18.908 6.53503V6.53503C17.8666 5.49363 16.1781 5.49363 15.1367 6.53503L7.73325 13.9385C7.21255 14.4592 7.21255 15.3034 7.73325 15.8241V15.8241C8.25395 16.3448 9.09817 16.3448 9.61887 15.8241L16.2049 9.23813",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",fill:"none"})}),iL=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 7.8H20C20.1105 7.8 20.2 7.88954 20.2 8V16C20.2 16.1105 20.1105 16.2 20 16.2H4C3.88954 16.2 3.8 16.1105 3.8 16V8C3.8 7.88954 3.88954 7.8 4 7.8ZM2 8C2 6.89543 2.89543 6 4 6H20C21.1046 6 22 6.89543 22 8V16C22 17.1046 21.1046 18 20 18H4C2.89543 18 2 17.1046 2 16V8ZM10.9 12C10.9 11.3925 11.3925 10.9 12 10.9C12.6075 10.9 13.1 11.3925 13.1 12C13.1 12.6075 12.6075 13.1 12 13.1C11.3925 13.1 10.9 12.6075 10.9 12ZM12 9.1C10.3984 9.1 9.1 10.3984 9.1 12C9.1 13.6016 10.3984 14.9 12 14.9C13.6016 14.9 14.9 13.6016 14.9 12C14.9 10.3984 13.6016 9.1 12 9.1ZM18 12C18 12.5523 17.5523 13 17 13C16.4477 13 16 12.5523 16 12C16 11.4477 16.4477 11 17 11C17.5523 11 18 11.4477 18 12ZM7 13C7.55228 13 8 12.5523 8 12C8 11.4477 7.55228 11 7 11C6.44772 11 6 11.4477 6 12C6 12.5523 6.44772 13 7 13Z",fill:"currentColor"})}),iN=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.09998 4.49998C6.09998 3.72678 6.72678 3.09998 7.49998 3.09998H12C12.2387 3.09998 12.4676 3.1948 12.6364 3.36358L17.6364 8.36358C17.8052 8.53236 17.9 8.76128 17.9 8.99998V19.5C17.9 20.2732 17.2732 20.9 16.5 20.9H7.49998C6.72678 20.9 6.09998 20.2732 6.09998 19.5V4.49998ZM7.89998 4.89998V19.1H16.1V9.89998H12.5C11.7268 9.89998 11.1 9.27317 11.1 8.49998V4.89998H7.89998ZM12.9 6.17277L14.8272 8.09998H12.9V6.17277Z",fill:"currentColor"})}),iI=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 3.29999C12.1134 3.29999 11.8 3.61339 11.8 3.99999C11.8 4.38659 12.1134 4.69999 12.5 4.69999H19.8V9.31004L18.9949 8.50501C18.8637 8.37374 18.6856 8.29999 18.5 8.29999H15C14.6134 8.29999 14.3 8.61339 14.3 8.99999C14.3 9.38659 14.6134 9.69999 15 9.69999H18.21L20.005 11.495C20.2052 11.6952 20.5063 11.7551 20.7678 11.6467C21.0294 11.5384 21.2 11.2831 21.2 11V3.99999C21.2 3.61339 20.8866 3.29999 20.5 3.29999H12.5ZM9.23044 6.69996C7.96018 6.69996 6.93044 7.72971 6.93044 8.99996C6.93044 10.2702 7.96018 11.3 9.23044 11.3C10.5007 11.3 11.5304 10.2702 11.5304 8.99996C11.5304 7.72971 10.5007 6.69996 9.23044 6.69996ZM5.53044 8.99996C5.53044 6.95651 7.18699 5.29996 9.23044 5.29996C11.2739 5.29996 12.9304 6.95651 12.9304 8.99996C12.9304 11.0434 11.2739 12.7 9.23044 12.7C7.18699 12.7 5.53044 11.0434 5.53044 8.99996ZM6.38044 15.0636C7.24695 14.5633 8.22988 14.3 9.23044 14.3C10.231 14.3 11.2139 14.5633 12.0804 15.0636C12.9469 15.5639 13.6665 16.2834 14.1668 17.15C14.3601 17.4848 14.2454 17.9129 13.9106 18.1062C13.5758 18.2995 13.1476 18.1848 12.9543 17.85C12.5769 17.1963 12.0341 16.6535 11.3804 16.2761C10.7268 15.8986 9.98525 15.7 9.23044 15.7C8.47563 15.7 7.73412 15.8986 7.08044 16.2761C6.42676 16.6535 5.88393 17.1963 5.50653 17.85C5.31323 18.1848 4.88512 18.2995 4.55031 18.1062C4.21551 17.9129 4.10079 17.4848 4.29409 17.15C4.79437 16.2835 5.51393 15.5639 6.38044 15.0636Z",fill:"currentColor"})}),iM=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M5 8C5 7.44772 5.44772 7 6 7H18C18.5523 7 19 7.44772 19 8V15C19 15.5523 18.5523 16 18 16H12.3333C12.117 16 11.9064 16.0702 11.7333 16.2L8.32 18.76C8.18815 18.8589 8 18.7648 8 18.6V17C8 16.4477 7.55228 16 7 16H6C5.44772 16 5 15.5523 5 15V8Z",stroke:"currentColor",strokeWidth:"1.8",fill:"none"})}),iB=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.50501 9.50501C6.23165 9.77838 6.23165 10.2216 6.50501 10.495L11.505 15.495C11.7784 15.7683 12.2216 15.7683 12.495 15.495L17.495 10.495C17.7683 10.2216 17.7683 9.77838 17.495 9.50501C17.2216 9.23165 16.7784 9.23165 16.505 9.50501L12 14.01L7.49496 9.50501C7.2216 9.23165 6.77838 9.23165 6.50501 9.50501Z",fill:"currentColor"})}),iD=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_166_2178",fill:"transparent",children:(0,r.jsx)("path",{d:"M14.293 3.3C14.5714 3.30002 14.8402 3.39657 15.0537 3.57149L15.1416 3.65157L18.3486 6.8586L18.4287 6.94649C18.6036 7.15998 18.7002 7.42885 18.7002 7.70723V19.5002C18.7001 20.1628 18.1627 20.7004 17.5 20.7004H6.5C5.83732 20.7004 5.29991 20.1629 5.2998 19.5002V17.0002H4C3.44778 17.0002 3.00011 16.5524 3 16.0002V8.0002C3 7.44791 3.44772 7.0002 4 7.0002H5.2998V4.5002C5.2998 3.83746 5.83726 3.3 6.5 3.3H14.293ZM6.5 9.2502C5.80964 9.2502 5.25 9.80984 5.25 10.5002V14.5002C5.25011 14.9143 5.58585 15.2502 6 15.2502C6.41415 15.2502 6.74989 14.9143 6.75 14.5002V13.2502H9.5C10.1903 13.2502 10.7499 12.6905 10.75 12.0002V10.5002C10.75 9.80984 10.1904 9.2502 9.5 9.2502H6.5ZM9.25 11.7502H6.75V10.7502H9.25V11.7502ZM6.7002 19.3H17.2998V7.79024L14.21 4.70039H6.7002V7.0002H12C12.5523 7.0002 13 7.44791 13 8.0002V16.0002C12.9999 16.5524 12.5522 17.0002 12 17.0002H6.7002V19.3Z"})}),(0,r.jsx)("path",{d:"M14.293 3.3C14.5714 3.30002 14.8402 3.39657 15.0537 3.57149L15.1416 3.65157L18.3486 6.8586L18.4287 6.94649C18.6036 7.15998 18.7002 7.42885 18.7002 7.70723V19.5002C18.7001 20.1628 18.1627 20.7004 17.5 20.7004H6.5C5.83732 20.7004 5.29991 20.1629 5.2998 19.5002V17.0002H4C3.44778 17.0002 3.00011 16.5524 3 16.0002V8.0002C3 7.44791 3.44772 7.0002 4 7.0002H5.2998V4.5002C5.2998 3.83746 5.83726 3.3 6.5 3.3H14.293ZM6.5 9.2502C5.80964 9.2502 5.25 9.80984 5.25 10.5002V14.5002C5.25011 14.9143 5.58585 15.2502 6 15.2502C6.41415 15.2502 6.74989 14.9143 6.75 14.5002V13.2502H9.5C10.1903 13.2502 10.7499 12.6905 10.75 12.0002V10.5002C10.75 9.80984 10.1904 9.2502 9.5 9.2502H6.5ZM9.25 11.7502H6.75V10.7502H9.25V11.7502ZM6.7002 19.3H17.2998V7.79024L14.21 4.70039H6.7002V7.0002H12C12.5523 7.0002 13 7.44791 13 8.0002V16.0002C12.9999 16.5524 12.5522 17.0002 12 17.0002H6.7002V19.3Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M14.293 3.3L14.293 2.3H14.293V3.3ZM15.0537 3.57149L15.7272 2.83229L15.7078 2.8146L15.6875 2.79794L15.0537 3.57149ZM15.1416 3.65157L15.8487 2.94446L15.8323 2.92802L15.8151 2.91237L15.1416 3.65157ZM18.3486 6.8586L19.0878 6.18511L19.0722 6.16793L19.0557 6.15149L18.3486 6.8586ZM18.4287 6.94649L19.2023 6.31284L19.1856 6.29247L19.1679 6.273L18.4287 6.94649ZM18.7002 7.70723H19.7002V7.70717L18.7002 7.70723ZM18.7002 19.5002L19.7002 19.5004V19.5002H18.7002ZM17.5 20.7004V21.7004V20.7004ZM6.5 20.7004L6.5 21.7004H6.5V20.7004ZM5.2998 19.5002H4.2998V19.5004L5.2998 19.5002ZM5.2998 17.0002H6.2998V16.0002H5.2998V17.0002ZM4 17.0002L4 18.0002H4V17.0002ZM3 16.
75860002H2V16.0004L3 16.0002ZM3 8.0002H2H3ZM4 7.0002V6.0002V7.0002ZM5.2998 7.0002V8.0002H6.2998V7.0002H5.2998ZM6.5 3.3V2.3V3.3ZM5.25 14.5002H4.25V14.5005L5.25 14.5002ZM6.75 14.5002L7.75 14.5005V14.5002H6.75ZM6.75 13.2502V12.2502H5.75V13.2502H6.75ZM10.75 12.0002L11.75 12.0004V12.0002H10.75ZM10.75 10.5002H11.75H10.75ZM9.25 11.7502V12.7502H10.25V11.7502H9.25ZM6.75 11.7502H5.75V12.7502H6.75V11.7502ZM6.75 10.7502V9.7502H5.75V10.7502H6.75ZM9.25 10.7502H10.25V9.7502H9.25V10.7502ZM6.7002 19.3H5.7002V20.3H6.7002V19.3ZM17.2998 19.3V20.3H18.2998V19.3H17.2998ZM17.2998 7.79024H18.2998V7.37602L18.0069 7.08313L17.2998 7.79024ZM14.21 4.70039L14.9171 3.99329L14.6242 3.70039H14.21V4.70039ZM6.7002 4.70039V3.70039H5.7002V4.70039H6.7002ZM6.7002 7.0002H5.7002V8.0002H6.7002V7.0002ZM12 7.0002V6.0002V7.0002ZM13 8.0002H14H13ZM13 16.0002L14 16.0004V16.0002H13ZM12 17.0002V18.0002V17.0002ZM6.7002 17.0002V16.0002H5.7002V17.0002H6.7002ZM14.293 3.3L14.2929 4.3C14.3402 4.30001 14.3851 4.31645 14.42 4.34503L15.0537 3.57149L15.6875 2.79794C15.2953 2.47668 14.8026 2.30003 14.293 2.3L14.293 3.3ZM15.0537 3.57149L14.3802 4.31068L14.4681 4.39076L15.1416 3.65157L15.8151 2.91237L15.7272 2.83229L15.0537 3.57149ZM15.1416 3.65157L14.4345 4.35867L17.6415 7.5657L18.3486 6.8586L19.0557 6.15149L15.8487 2.94446L15.1416 3.65157ZM18.3486 6.8586L17.6094 7.53209L17.6895 7.61998L18.4287 6.94649L19.1679 6.273L19.0878 6.18511L18.3486 6.8586ZM18.4287 6.94649L17.6551 7.58013C17.6837 7.61511 17.7002 7.66017 17.7002 7.70729L18.7002 7.70723L19.7002 7.70717C19.7002 7.19753 19.5234 6.70484 19.2023 6.31284L18.4287 6.94649ZM18.7002 7.70723H17.7002V19.5002H18.7002H19.7002V7.70723H18.7002ZM18.7002 19.5002L17.7002 19.5C17.7002 19.6107 17.6102 19.7004 17.5 19.7004V20.7004V21.7004C18.7151 21.7004 19.7 20.715 19.7002 19.5004L18.7002 19.5002ZM17.5 20.7004V19.7004H6.5V20.7004V21.7004H17.5V20.7004ZM6.5 20.7004L6.5 19.7004C6.38977 19.7004 6.29982 19.6107 6.2998 19.5L5.2998 19.5002L4.2998 19.5004C4.3 20.715 5.28488 21.7004 6.5 21.7004L6.5 20.7004ZM5.2998 19.5002H6.2998V17.0002H5.2998H4.2998V19.5002H5.2998ZM5.2998 17.0002V16.0002H4V17.0002V18.0002H5.2998V17.0002ZM4 17.0002L4 16.0002L4 16L3 16.0002L2 16.0004C2.00021 17.1045 2.89531 18.0002 4 18.0002L4 17.0002ZM3 16.0002H4V8.0002H3H2V16.0002H3ZM3 8.0002H4V7.0002V6.0002C2.89543 6.0002 2 6.89563 2 8.0002H3ZM4 7.0002V8.0002H5.2998V7.0002V6.0002H4V7.0002ZM5.2998 7.0002H6.2998V4.5002H5.2998H4.2998V7.0002H5.2998ZM5.2998 4.5002H6.2998C6.2998 4.38974 6.38954 4.3 6.5 4.3V3.3V2.3C5.28497 2.3 4.2998 3.28517 4.2998 4.5002H5.2998ZM6.5 3.3V4.3H14.293V3.3V2.3H6.5V3.3ZM6.5 9.2502V8.2502C5.25736 8.2502 4.25 9.25756 4.25 10.5002H5.25H6.25C6.25 10.3621 6.36193 10.2502 6.5 10.2502V9.2502ZM5.25 10.5002H4.25V14.5002H5.25H6.25V10.5002H5.25ZM5.25 14.5002L4.25 14.5005C4.25025 15.4664 5.03331 16.2502 6 16.2502V15.2502V14.2502C6.13839 14.2502 6.24996 14.3622 6.25 14.4999L5.25 14.5002ZM6 15.2502V16.2502C6.96669 16.2502 7.74975 15.4664 7.75 14.5005L6.75 14.5002L5.75 14.4999C5.75004 14.3622 5.86161 14.2502 6 14.2502V15.2502ZM6.75 14.5002H7.75V13.2502H6.75H5.75V14.5002H6.75ZM6.75 13.2502V14.2502H9.5V13.2502V12.2502H6.75V13.2502ZM9.5 13.2502V14.2502C10.7427 14.2502 11.7498 13.2426 11.75 12.0004L10.75 12.0002L9.75 12C9.74998 12.1383 9.63785 12.2502 9.5 12.2502V13.2502ZM10.75 12.0002H11.75V10.5002H10.75H9.75V12.0002H10.75ZM10.75 10.5002H11.75C11.75 9.25756 10.7426 8.2502 9.5 8.2502V9.2502V10.2502C9.63807 10.2502 9.75 10.3621 9.75 10.5002H10.75ZM9.5 9.2502V8.2502H6.5V9.2502V10.2502H9.5V9.2502ZM9.25 11.7502V10.7502H6.75V11.7502V12.7502H9.25V11.7502ZM6.75 11.7502H7.75V10.7502H6.75H5.75V11.7502H6.75ZM6.75 10.7502V11.7502H9.25V10.7502V9.7502H6.75V10.7502ZM9.25 10.7502H8.25V11.7502H9.25H10.25V10.7502H9.25ZM6.7002 19.3V20.3H17.2998V19.3V18.3H6.7002V19.3ZM17.2998 19.3H18.2998V7.79024H17.2998H16.2998V19.3H17.2998ZM17.2998 7.79024L18.0069 7.08313L14.9171 3.99329L14.21 4.70039L13.5029 5.4075L16.5927 8.49734L17.2998 7.79024ZM14.21 4.70039V3.70039H6.7002V4.70039V5.70039H14.21V4.70039ZM6.7002 4.70039H5.7002V7.0002H6.7002H7.7002V4.70039H6.7002ZM6.7002 7.0002V8.0002H12V7.0002V6.0002H6.7002V7.0002ZM12 7.0002V8.0002H13H14C14 6.89563 13.1046 6.0002 12 6.0002V7.0002ZM13 8.0002H12V16.0002H13H14V8.0002H13ZM13 16.0002L12 16V16.0002V17.0002V18.0002C13.1047 18.0002 13.9998 17.1045 14 16.0004L13 16.0002ZM12 17.0002V16.0002H6.7002V17.0002V18.0002H12V17.0002ZM6.7002 17.0002H5.7002V19.3H6.7002H7.7002V17.0002H6.7002Z",fill:"currentColor",mask:"url(#path-1-inside-1_166_2178)"})]}),i$=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M14.293 3.3C14.5714 3.30002 14.8402 3.39656 15.0537 3.57148L15.1416 3.65156L18.3486 6.85859L18.4287 6.94648C18.6036 7.15997 18.7002 7.42885 18.7002 7.70723V19.5002C18.7001 20.1628 18.1627 20.7004 17.5 20.7004H6.5C5.83732 20.7004 5.29991 20.1628 5.2998 19.5002V17.5002H4C3.44778 17.5002 3.00011 17.0524 3 16.5002V8.50019C3 7.94791 3.44772 7.50019 4 7.50019H5.2998V4.50019C5.2998 3.83745 5.83726 3.3 6.5 3.3H14.293ZM10.6406 9.86543C10.2904 9.78802 9.94306 10.0094 9.86523 10.3596L9.24707 13.1369L8.58887 11.7258L8.52148 11.6125C8.40892 11.4608 8.23701 11.3683 8.05469 11.3527H7.84473C7.66231 11.3684 7.49042 11.4608 7.37793 11.6125L7.31055 11.7258L6.71973 12.9914L6.13477 10.3596L6.09277 10.2346C5.96947 9.95868 5.66585 9.79762 5.35938 9.86543C5.0528 9.93376 4.8443 10.2086 4.84961 10.5109L4.86523 10.6408L5.86523 15.1408L5.87891 15.1818C5.88508 15.2029 5.89115 15.224 5.89941 15.2443L5.90723 15.2658C5.91362 15.2801 5.92237 15.2932 5.92969 15.3068C5.93656 15.3196 5.94344 15.3326 5.95117 15.3449C5.96577 15.3681 5.9818 15.3904 5.99902 15.4113C6.00702 15.4211 6.01485 15.4313 6.02344 15.4406C6.07872 15.5004 6.14496 15.5488 6.21777 15.5842C6.22035 15.5854 6.223 15.5878 6.22559 15.5891C6.23269 15.5924 6.24088 15.5939 6.24805 15.5969C6.27583 15.6087 6.30464 15.6183 6.33398 15.6262C6.34587 15.6293 6.35817 15.6315 6.37012 15.634C6.39735 15.6396 6.42505 15.6437 6.45312 15.6457C6.4674 15.6467 6.48186 15.6476 6.49609 15.6477C6.52162 15.6478 6.54738 15.6457 6.57324 15.6428C6.58717 15.6412 6.60147 15.6404 6.61523 15.6379C6.62337 15.6364 6.63247 15.6367 6.64062 15.635C6.66008 15.6306 6.67864 15.6224 6.69727 15.6164C6.70824 15.6129 6.71969 15.6097 6.73047 15.6057C6.76143 15.5939 6.79112 15.5796 6.81934 15.5637C6.82529 15.5603 6.83202 15.5574 6.83789 15.5539C6.86826 15.5354 6.89627 15.5134 6.92285 15.4904C6.93043 15.4839 6.93897 15.4778 6.94629 15.4709C6.97192 15.4466 6.99534 15.4198 7.0166 15.3918C7.02342 15.3828 7.02976 15.3729 7.03613 15.3635C7.05323 15.3383 7.06859 15.3117 7.08203 15.2844C7.08367 15.281 7.08715 15.278 7.08887 15.2746L7.94922 13.4289L8.81055 15.2746L8.87793 15.3879C9.01373 15.571 9.23596 15.6671 9.45898 15.6467C9.77304 15.6668 10.0641 15.4575 10.1348 15.1408L11.1348 10.6408C11.2123 10.2906 10.9907 9.94342 10.6406 9.86543ZM12 7.50019C12.5523 7.50019 13 7.94791 13 8.50019V16.5002C12.9999 17.0524 12.5522 17.5002 12 17.5002H6.7002V19.3H17.2998V7.79023L14.21 4.70039H6.7002V7.50019H12Z",fill:"currentColor"})}),iO=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M14.293 3.3C14.5714 3.30002 14.8402 3.39656 15.0537 3.57148L15.1416 3.65156L18.3486 6.85859L18.4287 6.94648C18.6036 7.15997 18.7002 7.42885 18.7002 7.70723V19.5002C18.7001 20.1628 18.1627 20.7004 17.5 20.7004H6.5C5.83732 20.7004 5.29991 20.1628 5.2998 19.5002V17.0002H4C3.44778 17.0002 3.00011 16.5524 3 16.0002V8.0002C3 7.44791 3.44772 7.0002 4 7.0002H5.2998V4.5002C5.2998 3.83745 5.83726 3.3 6.5 3.3H14.293ZM6 9.2502C5.58579 9.2502 5.25 9.58598 5.25 10.0002C5.25011 10.4143 5.58585 10.7502 6 10.7502H7.25V14.5002C7.25011 14.9143 7.58585 15.2502 8 15.2502C8.41415 15.2502 8.74989 14.9143 8.75 14.5002V10.7502H10C10.4141 10.7502 10.7499 10.4143 10.75 10.0002C10.75 9.58598 10.4142 9.2502 10 9.2502H6ZM6.7002 19.3H17.2998V7.79023L14.21 4.70039H6.7002V7.0002H12C12.5523 7.0002 13 7.44791 13 8.0002V16.0002C12.9999 16.5524 12.5522 17.0002 12 17.0002H6.7002V19.3Z",fill:"currentColor"})}),iz=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M6 1C4.89543 1 4 1.89543 4 3V21C4 22.1046 4.89543 23 6 23H18C19.1046 23 20 22.1046 20 21V7H16C14.8954 7 14 6.10457 14 5V1H6Z",fill:"#D8544E"}),(0,r.jsx)("path",{d:"M12.5169 10.2046C12.5269 9.67062 12.3574 9.3961 12.2759 9.30426C12.1281 9.1123 11.8919 8.99784 11.6494 9.00003C11.5459 9.00003 11.4459 9.01928 11.3484 9.05068C11.0875 9.13442 10.8788 9.33212 10.7731 9.58334C10.6982 9.75385 10.673 9.94041 10.673 10.1266C10.676 10.6909 10.9056 11.3172 11.1418 11.8487C10.8788 12.8671 10.451 14.0717 10.0025 15.0652C8.82222 15.6276 8.11661 16.1538 8.00784 16.8677C8.0002 16.9014 8.0002 16.9419 8.0002 16.9766C7.99426 17.234 8.12001 17.5808 8.47671 17.8401C8.61349 17.9436 8.78251 18 8.95543 18C9.39631 17.9912 9.73299 17.687 10.0797 17.2073C10.3205 16.87 10.5684 16.4321 10.8274 15.8964C11.6088 15.5641 12.5564 15.2606 13.3844 15.0779C13.8789 15.5241 14.3466 15.7829 14.826 15.7875C15.2019 15.791 15.5508 15.6024 15.769 15.2891C15.9093 15.0901 16 14.8819 16 14.6597C16.0012 14.5405 15.973 14.4188 15.917 14.3107C15.7066 13.9201 15.2669 13.8002 14.7337 13.8012C14.4494 13.8012 14.1226 13.8321 13.7503 13.8931C13.2347 13.3219 12.6963 12.521 12.301 11.7329C12.4607 11.0415 12.5169 10.5577 12.5169 10.2046ZM11.4312 14.4946C11.5936 14.0759 11.7473 13.6455 11.8836 13.2208C12.0923 13.5512 12.3144 13.8676 12.5425 14.1573C12.1729 14.2555 11.7982 14.369 11.4312 14.4946Z",fill:"white"}),(0,r.jsx)("path",{d:"M14 1L17 4L20 7L15.9993 6.9985C14.895 6.99809 14 6.10278 14 4.9985V1Z",fill:"#E39494"})]}),iF=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 1C4.89543 1 4 1.89543 4 3V21C4 22.1046 4.89543 23 6 23H18C19.1046 23 20 22.1046 20 21V7H16C14.8954 7 14 6.10457 14 5V1H6Z",fill:"#6390F7"}),(0,r.jsx)("path",{d:"M10.5169 14.8175L9.66292 12H8L9.75281 17H11.0562L12 14.2222L12.9438 17H14.2472L16 12H14.3371L13.4831 14.8
7586175L12.5393 12H11.4607L10.5169 14.8175Z",fill:"white"}),(0,r.jsx)("path",{d:"M14 1L17 4L20 7L15.9993 6.9985C14.895 6.99809 14 6.10278 14 4.9985V1Z",fill:"#A0BBF8"})]}),iH=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M6 1C4.89543 1 4 1.89543 4 3V21C4 22.1046 4.89543 23 6 23H18C19.1046 23 20 22.1046 20 21V7H16C14.8954 7 14 6.10457 14 5V1H6Z",fill:"#1DA1F2"}),(0,r.jsx)("path",{d:"M15 11H9V13L11 13V17H13L13 13H15V11Z",fill:"white"}),(0,r.jsx)("path",{d:"M14 1L17 4L20 7L15.9993 6.9985C14.895 6.99809 14 6.10278 14 4.9985V1Z",fill:"#85D0FF"})]}),iV=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("path",{d:"M9 15L12 18L15 15",stroke:"currentColor",fill:"transparent",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M9 9L12 6L15 9",stroke:"currentColor",fill:"transparent",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}),iU=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M6.51581 4.87682C6.64482 4.37667 7.35509 4.37667 7.48411 4.87682L7.74653 5.89412C7.79199 6.07033 7.92958 6.20793 8.10579 6.25338L9.1231 6.51581C9.62324 6.64482 9.62324 7.35509 9.1231 7.48411L8.10579 7.74653C7.92959 7.79199 7.79199 7.92958 7.74653 8.10579L7.48411 9.1231C7.35509 9.62324 6.64482 9.62324 6.51581 9.1231L6.25338 8.10579C6.20793 7.92959 6.07033 7.79199 5.89412 7.74653L4.87682 7.48411C4.37667 7.35509 4.37667 6.64482 4.87682 6.51581L5.89412 6.25338C6.07033 6.20793 6.20793 6.07033 6.25338 5.89412L6.51581 4.87682Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M13.0371 6.13379C13.2064 5.71912 13.7936 5.71912 13.9629 6.13379L15.5949 10.1311C15.6457 10.2555 15.7445 10.3543 15.8689 10.4051L19.8662 12.0371C20.2809 12.2064 20.2809 12.7936 19.8662 12.9629L15.8689 14.5949C15.7445 14.6457 15.6457 14.7445 15.5949 14.8689L13.9629 18.8662C13.7936 19.2809 13.2064 19.2809 13.0371 18.8662L11.4051 14.8689C11.3543 14.7445 11.2555 14.6457 11.1311 14.5949L7.13379 12.9629C6.71912 12.7936 6.71912 12.2064 7.13379 
758612.0371L11.1311 10.4051C11.2555 10.3543 11.3543 10.2555 11.4051 10.1311L13.0371 6.13379Z",stroke:"currentColor",fill:"transparent",strokeWidth:"1.4"})]}),iW=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.8 3.99999C4.8 3.61339 5.1134 3.29999 5.5 3.29999C5.8866 3.29999 6.2 3.61339 6.2 3.99999V6.93538C7.07273 5.93595 8.19499 5.17228 9.46374 4.72968C11.2065 4.1217 13.1098 4.16 14.8267 4.8376C16.5436 5.51521 17.96 6.78703 18.8179 8.42138C19.6757 10.0557 19.9179 11.9439 19.5004 13.7418C19.0828 15.5398 18.0333 17.1279 16.543 18.217C15.0527 19.306 13.2208 19.8235 11.3809 19.6751C9.54111 19.5267 7.81579 18.7223 6.51929 17.4085C5.22279 16.0947 4.44137 14.3588 4.31739 12.5172C4.29142 12.1315 4.58306 11.7977 4.96879 11.7718C5.35451 11.7458 5.68826 12.0374 5.71423 12.4232C5.81567 13.93 6.45501 15.3502 7.51578 16.4251C8.57656 17.5001 9.98818 18.1582 11.4935 18.2796C12.9988 18.401 14.4977 17.9776 15.717 17.0866C16.9364 16.1956 17.7951 14.8962 18.1367 13.4251C18.4783 11.9541 18.2801 10.4092 17.5783 9.07204C16.8764 7.73484 15.7175 6.69426 14.3128 6.13985C12.908 5.58545 11.3508 5.55411 9.92488 6.05155C8.70628 6.47666 7.65284 7.26378 6.90096 8.29999H10.5C10.8866 8.29999 11.2 8.61339 11.2 8.99999C11.2 9.38659 10.8866 9.69999 10.5 9.69999H5.5C5.1134 9.69999 4.8 9.38659 4.8 8.99999V3.99999Z",fill:"currentColor"})}),iK=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M12.9193 13.3486C12.2851 13.701 11.5138 13.701 10.8795 13.3486L2.29616 8.5798L11.4444 4.42278C11.7336 4.29131 12.0652 4.29131 12.3545 4.42278L21.5027 8.5798L12.9193 13.3486Z",stroke:"currentColor",strokeWidth:"1.8",fill:"none"}),(0,r.jsx)("path",{d:"M7 11V16.1029C7 16.1281 7.01169 16.1519 7.03166 16.1673V16.1673C9.95898 18.4255 14.041 18.4255 16.9683 16.1673V16.1673C16.9883 16.1519 17 16.1281 17 16.1029V11",stroke:"currentColor",strokeWidth:"1.8",fill:"none"}),(0,r.jsx)("path",{d:"M21 9L21 14",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",fill:"none"}),(0,r.jsx)("circle",{cx:"21.0001",cy:"16.9",r:"0.9",fill:"none",stroke:"currentColor",strokeWidth:"1.4"})]}),iq=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_1801_97839)",children:[(0,r.jsx)("path",{d:"M17 17.1029V12H7V17.1029C7 17.1281 7.01169 17.1519 7.03166 17.1673C9.95898 19.4255 14.041 19.4255 16.9683 17.1673C16.9883 17.1519 17 17.1281 17 17.1029Z",fill:"#BEC4D5",stroke:"#BEC4D5",strokeWidth:"1.8"}),(0,r.jsx)("path",{d:"M22.7166 7.16006C23.8071 7.75292 23.8355 9.34341 22.7228 9.96155L13.7929 14.9224C12.6152 15.5764 11.1836 15.5764 10.006 14.9224L1.07598 9.96155C-0.0723879 9.32354 -0.00533291 7.64915 1.19061 7.10551L10.6993 2.78414C11.4618 2.43753 12.337 2.43753 13.0996 2.78414L22.6082 7.10551L22.7166 7.16006Z",stroke:"white",strokeWidth:"1.8"}),(0,r.jsx)("path",{d:"M12.9193 13.3486C12.2851 13.701 11.5138 13.701 10.8795 13.3486L2.29616 8.5798L11.4444 4.42278C11.7336 4.29131 12.0652 4.29131 12.3545 4.42278L21.5027 8.5798L12.9193 13.3486Z",fill:"#BEC4D5",stroke:"#BEC4D5",strokeWidth:"1.8"}),(0,r.jsx)("path",{d:"M21 9L21 14",stroke:"#BEC4D5",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"21.0001",cy:"16.9",r:"0.9",fill:"#BEC4D5"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1801_97839",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),iG=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M12 22C6.49 22 2 17.51 2 12C2 6.49 6.49 2 12 2C17.51 2 22 6.04 22 11C22 14.31 19.31 17 16 17H14.23C13.95 17 13.73 17.22 13.73 17.5C13.73 17.62 13.78 17.73 13.86 17.83C14.27 18.3 14.5 18.89 14.5 19.5C14.5 20.88 13.38 22 12 22ZM12 4C7.59 4 4 7.59 4 12C4 16.41 7.59 20 12 20C12.28 20 12.5 19.78 12.5 19.5C12.5 19.34 12.42 19.22 12.36 19.15C11.95 18.69 11.73 18.1 11.73 17.5C11.73 16.12 12.85 15 14.23 15H16C18.21 15 20 13.21 20 11C20 7.14 16.41 4 12 4Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M6.5 13C7.32843 13 8 12.3284 8 11.5C8 10.6716 7.32843 10 6.5 10C5.67157 10 5 10.6716 5 11.5C5 12.3284 5.67157 13 6.5 13Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M9.5 9C10.3284 9 11 8.32843 11 7.5C11 6.67157 10.3284 6 9.5 6C8.67157 6 8 6.67157 8 7.5C8 8.32843 8.67157 9 9.5 9Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M14.5 9C15.3284 9 16 8.32843 16 7.5C16 6.67157 15.3284 6 14.5 6C13.6716 6 13 6.67157 13 7.5C13 8.32843 13.6716 9 14.5 9Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M17.5 13C18.3284 13 19 12.3284 19 11.5C19 10.6716 18.3284 10 17.5 10C16.6716 10 16 10.6716 16 11.5C16 12.3284 16.6716 13 17.5 13Z",fill:"currentColor"})]}),iZ=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("path",{d:"M12.5 4C15.9302 4 18.7373 6.6572 18.9805 10.0254C21.2398 10.2652 23 12.177 23 14.5C23 16.8162 21.2499 18.7219 19 18.9707V19H6V18.9756C3.19684 18.7229 1 16.369 1 13.5C1 10.4631 3.46138 8.00106 6.49805 8C7.4776 5.65103 9.79603 4 12.5 4Z",fill:"#495163"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.2475 9.34155L15.7527 10.6586L12.2527 14.6586C11.8717 15.0939 11.202 15.1162 10.793 14.7072L8.29297 12.2072L9.70718 10.793L11.4514 12.5371L14.2475 9.34155Z",fill:"#EFF2F9"})]}),iX=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.505 17.495C16.7784 17.7684 17.2216 17.7684 17.495 17.495C17.7683 17.2217 17.7683 16.7784 17.495 16.5051L12.9899 12L17.495 7.49502C17.7683 7.22166 17.7683 6.77844 17.495 6.50507C17.2216 6.23
7586171 16.7784 6.23171 16.505 6.50507L12 11.0101L7.49496 6.50507C7.2216 6.23171 6.77838 6.23171 6.50501 6.50507C6.23165 6.77844 6.23165 7.22166 6.50501 7.49502L11.01 12L6.50501 16.5051C6.23165 16.7784 6.23165 17.2217 6.50501 17.495C6.77838 17.7684 7.2216 17.7684 7.49496 17.495L12 12.99L16.505 17.495Z",fill:"currentColor"}),iQ=()=>(0,r.jsx)("path",{d:"M8 5L4 9M4 9L8 13M4 9H14C16.2091 9 18 10.7909 18 13V14.5C18 16.7091 16.2091 18.5 14 18.5H7",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),iY=e=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{x:"2",y:"15",width:"16",height:"3",fill:e?.color||"currentColor"}),(0,r.jsx)("path",{d:"M8.12501 5.8125L4 9.93751V12H10.1875L12.25 9.93751",stroke:"currentColor",fill:"none",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M17.0624 6.50001L13.8999 9.66252C13.6429 9.91446 13.2973 10.0556 12.9374 10.0556C12.5775 10.0556 12.2319 9.91446 11.9749 9.66252L8.39989 6.08751C8.14795 5.83048 8.00684 5.48492 8.00684 5.12501C8.00684 4.7651 8.14795 4.41953 8.39989 4.16251L11.5624 1",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]}),i0=e=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{x:"2",y:"15",width:"16",height:"3",fill:e?.color||"currentColor"}),(0,r.jsx)("path",{d:"M7.93103 10.7302H12.069L12.8448 13H15L10.9483 2H9.05172L5 13H7.15517L7.93103 10.7302ZM8.62069 8.80952L10 4.79365L11.3793 8.80952H8.62069Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M34.125 5.8125L30 9.93751V12H36.1875L38.25 9.93751",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M43.0624 6.50001L39.8999 9.66252C39.6429 9.91446 39.2973 10.0556 38.9374 10.0556C38.5775 10.0556 38.2319 9.91446 37.9749 9.66252L34.3999 6.08751C34.148 5.83048 34.0068 5.48492 34.0068 5.12501C34.0068 4.7651 34.148 4.41953 34.3999 4.16251L37.5624 1",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]}),i1=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"9.1",stroke:"currentColor",fill:"none",strokeWidth:"1.8"}),(0,r.jsx)("path",{d:"M17 4L8 20",stroke:"currentColor",strokeWidth:"1.8"})]}),i2=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("path",{opacity:"0.4",d:"M6.31484 3.95352C6.38256 3.78765 6.61744 3.78765 6.68516 3.95352L7.06596 4.88622C7.16754 5.13501 7.36499 5.33246 7.61378 5.43404L8.54648 5.81484C8.71235 5.88256 8.71235 6.11744 8.54648 6.18516L7.61378 6.56596C7.36499 6.66754 7.16754 6.86499 7.06596 7.11378L6.68516 8.04648C6.61744 8.21235 6.38256 8.21235 6.31484 8.04648L5.93404 7.11378C5.83246 6.86499 5.63501 6.66754 5.38622 6.56596L4.45352 6.18516C4.28765 6.11744 4.28765 5.88256 4.45352 5.81484L5.38622 5.43404C5.63501 5.33246 5.83246 5.13501 5.93404 4.88622L6.31484 3.95352Z",fill:"#1A91F0"}),(0,r.jsx)("path",{d:"M5.31484 14.9535C5.38256 14.7876 5.61744 14.7876 5.68516 14.9535L6.35588 16.5963C6.45746 16.8451 6.6549 17.0425 6.9037 17.1441L8.54648 17.8148C8.71235 17.8826 8.71235 18.1174 8.54648 18.1852L6.9037 18.8559C6.6549 18.9575 6.45746 19.1549 6.35588 19.4037L5.68516 21.0465C5.61744 21.2124 5.38256 21.2124 5.31484 21.0465L4.64412 19.4037C4.54254 19.1549 4.3451 18.9575 4.0963 18.8559L2.45352 18.1852C2.28765 18.1174 2.28765 17.8826 2.45352 17.8148L4.0963 17.1441C4.3451 17.0425 4.54254 16.8451 4.64412 16.5963L5.31484 14.9535Z",fill:"#1A91F0"}),(0,r.jsx)("path",{d:"M13.5926 4.72676C13.5587 4.64382 13.4413 4.64382 13.4074 4.72676L11.9609 8.26965C11.5546 9.26484 10.7648 10.0546 9.76965 10.4609L6.22676 11.9074C6.14382 11.9413 6.14382 12.0587 6.22676 12.0926L9.76965 13.5391C10.7648 13.9454 11.5546 14.7352 11.9609 15.7304L13.4074 19.2732C13.4413 19.3562 13.5587 19.3562 13.5926 19.2732L15.0391 15.7304C15.4454 14.7352 16.2352 13.9454 17.2304 13.5391L20.7732 12.0926C20.8562 12.0587 20.8562 11.9413 20.7732 11.9074L17.2304 10.4609C16.2352 10.0546 15.4454 9.26484 15.0391 8.26965L13.5926 4.72676Z",fill:"#1A91F0",stroke:"#1A91F0",strokeMiterlimit:"3.99933"})]}),i3=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"8.1",fill:"#339D5D",stroke:"#339D5D",strokeWidth:"1.8"}),(0,r.jsx)("path",{d:"M16.296 8.80047L10.1797 14.9167L7.70488 12.4419",stroke:"white",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]}),i5=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M9.72363 5.24341C10.8415 3.31895 13.6214 3.31885 14.7393 5.24341L20.2656 14.761C21.3877 16.6941 19.9929 19.117 17.7578 19.1174H6.70508C4.46977 19.1172 3.07499 16.6942 4.19727 14.761L9.72363 5.24341ZM13.1826 6.147
758671C12.7587 5.41758 11.7043 5.41768 11.2803 6.14771L5.75391 15.6643C5.32816 16.3975 5.8573 17.3164 6.70508 17.3167H17.7578C18.6054 17.3162 19.1346 16.3974 18.709 15.6643L13.1826 6.14771ZM12.2314 13.8167C12.7284 13.8168 13.1318 14.2201 13.1318 14.717V14.7268C13.1318 15.2238 12.7284 15.627 12.2314 15.6272C11.7344 15.6272 11.3311 15.2239 11.3311 14.7268V14.717C11.3311 14.22 11.7344 13.8167 12.2314 13.8167ZM12.2314 8.31665C12.7283 8.31682 13.1318 8.72012 13.1318 9.21704V12.217C13.1318 12.714 12.7284 13.1173 12.2314 13.1174C11.7344 13.1174 11.3311 12.7141 11.3311 12.217V9.21704C11.3311 8.72002 11.7344 8.31665 12.2314 8.31665Z",fill:"currentColor"})}),i4=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{opacity:"0.4",d:"M6.31484 3.95352C6.38256 3.78765 6.61744 3.78765 6.68516 3.95352L7.06596 4.88622C7.16754 5.13501 7.36499 5.33246 7.61378 5.43404L8.54648 5.81484C8.71235 5.88256 8.71235 6.11744 8.54648 6.18516L7.61378 6.56596C7.36499 6.66754 7.16754 6.86499 7.06596 7.11378L6.68516 8.04648C6.61744 8.21235 6.38256 8.21235 6.31484 8.04648L5.93404 7.11378C5.83246 6.86499 5.63501 6.66754 5.38622 6.56596L4.45352 6.18516C4.28765 6.11744 4.28765 5.88256 4.45352 5.81484L5.38622 5.43404C5.63501 5.33246 5.83246 5.13501 5.93404 4.88622L6.31484 3.95352Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M5.31484 14.9535C5.38256 14.7876 5.61744 14.7876 5.68516 14.9535L6.35588 16.5963C6.45746 16.8451 6.6549 17.0425 6.9037 17.1441L8.54648 17.8148C8.71235 17.8826 8.71235 18.1174 8.54648 18.1852L6.9037 18.8559C6.6549 18.9575 6.45746 19.1549 6.35588 19.4037L5.68516 21.0465C5.61744 21.2124 5.38256 21.2124 5.31484 21.0465L4.64412 19.4037C4.54254 19.1549 4.3451 18.9575 4.0963 18.8559L2.45352 18.1852C2.28765 18.1174 2.28765 17.8826 2.45352 17.8148L4.0963 17.1441C4.3451 17.0425 4.54254 16.8451 4.64412 16.5963L5.31484 14.9535Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M13.5926 4.72676C13.5587 4.64382 13.4413 4.64382 13.4074 4.72676L11.9609 8.26965C11.5546 9.26484 10.7648 10.0546 9.76965 10.4609L6.22676 11.9074C6.14382 11.9413 6.14382 12.0587 6.22676 12.0926L9.76965 13.5391C10.7648 13.9454 11.5546 14.7352 11.9609 15.7304L13.4074 19.2732C13.4413 19.3562 13.5587 19.3562 13.5926 19.2732L15.0391 15.7304C15.4454 14.7352 16.2352 13.9454 17.2304 13.5391L20.7732 12.0926C20.8562 12.0587 20.8562 11.9413 20.7732 11.9074L17.2304 10.4609C16.2352 10.0546 15.4454 9.26484 15.0391 8.26965L13.5926 4.72676Z",fill:"currentColor",stroke:"currentColor",strokeMiterlimit:"3.99933"})]}),i6=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{x:"4",y:"5",width:"16",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"4",y:"9",width:"11",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"4",y:"13",width:"16",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"4",y:"17",width:"11",height:"2",rx:"0.2",fill:"currentColor"})]}),i8=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{x:"4",y:"5",width:"16",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"6.5",y:"9",width:"11",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"4",y:"13",width:"16",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"6.5",y:"17",width:"11",height:"2",rx:"0.2",fill:"currentColor"})]}),i9=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{x:"4",y:"5",width:"16",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"9",y:"9",width:"11",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"4",y:"13",width:"16",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"9",y:"17",width:"11",height:"2",rx:"0.2",fill:"currentColor"})]}),i7=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{x:"4",y:"5",width:"16",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"4",y:"9",width:"16",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"4",y:"13",width:"16",height:"2",rx:"0.2",fill:"currentColor"}),(0,r.jsx)("rect",{x:"4",y:"17",width:"16",height:"2",rx:"0.2",fill:"currentColor"})]}),re=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("path",{d:"M7 14.5H17V16H7V14.5Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M7 13L6 9L10 10L12 6L14 10L18 9L17 13H7Z",fill:"currentColor"})]}),rt=()=>(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.69997 9.00005C9.69997 7.72979 10.7297 6.70005 12 6.70005C13.2702 6.70005 14.3 7.72979 14.3 9.00005C14.3 10.2703 13.2702 11.3 12 11.3C10.7297 11.3 9.69997 10.2703 9.69997 9.00005ZM12 5.30005C9.95652 5.30005 8.29997 6.9566 8.29997 9.00005C8.29997 11.0435 9.95652 12.7 12 12.7C14.0434 12.7 15.7 11.0435 15.7 9.00005C15.7 6.9566 14.0434 5.30005 12 5.30005ZM12 14.3C10.9994 14.3 10.0165 14.5634 9.14997 15.0637C8.28346 15.564 7.5639 16.2835 7.06363 17.1501C6.87033 17.4849 6.98504 17.913 7.31984 18.1063C7.65465 18.2996 8.08276 18.1849 8.27606 17.85C8.65347 17.1964 9.19629 16.6535 9.84997 16.2761C10.5037 15.8987 11.2452 15.7 12 15.7C12.7548 15.7 13.4963 15.8987 14.15 16.2761C14.8037 16.6535 15.3465 17.1964 15.7239 17.85C15.9172 18.1849 16.3453 18.2996 16.6801 18.1063C17.0149 17.913 17.1296 17.4849 16.9363 17.15C16.436 16.2835 15.7165 15.564 14.85 15.0637C13.9835 14.5634 13.0005 14.3 12 14.3Z",fill:"currentColor"}),ri={fill:"none",stroke:"currentColor",strokeWidth:1.8,strokeLinecap:"round",strokeLinejoin:"round"},rr=()=>(0,r.jsx)("g",{...ri,strokeWidth:2.4,children:(0,r.jsx)("polyline",{points:"20,6 9,17 4,12"})}),rn=()=>(0,r.jsxs)("g",{...ri,strokeWidth:2,children:[(0,r.jsx)("polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17"}),(0,r.jsx)("polyline",{points:"16 7 22 7 22 13"})]}),ro=()=>(0,r.jsxs)("g",{...ri,children:[(0,r.jsx)("path",{d:"M9 10h.01"}),(0,r.jsx)("path",{d:"M15 10h.01"}),(0,r.jsx)("path",{d:"M12 2a8 8 0 0 0-8 8v11l3-2.5 2.5 2.5L12 18.5l2.5 2.5L17 18.5l3 2.5V10a8 8 0 0 0-8-8Z"})]}),ra=()=>(0,r.jsxs)("g",{...ri,children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,r.jsx)("path",{d:"M12 7v5l3 2"})]}),rl=()=>(0,r.jsxs)("g",{...ri,children:[(0,r.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,r.jsx)("path",{d:"m21 21-3.8-3.8"}),(0,r.jsx)("path",{d:"m9 9 4 4M13 9l-4 4"})]}
7586),rs=()=>(0,r.jsxs)("g",{...ri,children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"1.5"})]}),rd=()=>(0,r.jsxs)("g",{...ri,children:[(0,r.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),(0,r.jsx)("path",{d:"m3 7 9 6 9-6"})]}),rc=()=>(0,r.jsxs)("g",{...ri,children:[(0,r.jsx)("rect",{x:"3",y:"3",width:"7",height:"9",rx:"1.5"}),(0,r.jsx)("rect",{x:"14",y:"3",width:"7",height:"5",rx:"1.5"}),(0,r.jsx)("rect",{x:"14",y:"12",width:"7",height:"9",rx:"1.5"}),(0,r.jsx)("rect",{x:"3",y:"16",width:"7",height:"5",rx:"1.5"})]}),ru=()=>(0,r.jsxs)("g",{...ri,children:[(0,r.jsx)("path",{d:"M3 7V5a2 2 0 0 1 2-2h2M17 3h2a2 2 0 0 1 2 2v2M21 17v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2"}),(0,r.jsx)("circle",{cx:"11",cy:"11",r:"3"}),(0,r.jsx)("path",{d:"m14 14 2 2"})]}),rp=()=>(0,r.jsxs)("g",{...ri,children:[(0,r.jsx)("path",{d:"M9 3l1.6 4.4L15 9l-4.4 1.6L9 15l-1.6-4.4L3 9l4.4-1.6Z"}),(0,r.jsx)("path",{d:"M18 13l.8 2.2L21 16l-2.2.8L18 19l-.8-2.2L15 16l2.2-.8Z"})]}),rh=()=>(0,r.jsxs)("g",{...ri,children:[(0,r.jsx)("path",{d:"M12 3l7 3v5c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6Z"}),(0,r.jsx)("path",{d:"m9 12 2 2 4-4"})]}),rx=()=>(0,r.jsx)("g",{...ri,children:(0,r.jsx)("path",{d:"M5 16H8M8 16C8 17.1046 8.89543 18 10 18C11.1046 18 12 17.1046 12 16M8 16C8 14.8954 8.89543 14 10 14C11.1046 14 12 14.8954 12 16M5 8H12M12 8C12 9.10457 12.8954 10 14 10C15.1046 10 16 9.10457 16 8M12 8C12 6.89543 12.8954 6 14 6C15.1046 6 16 6.89543 16 8M12 16H19M16 8L19 8"})})},65353:function(e,t,i){"use strict";i.r(t),i.d(t,{ArrowTarget:function(){return u},CIOProductsInterview:function(){return l},CIOProductsJobTracker:function(){return o},CIOProductsPitch:function(){return a},Colors:function(){return x},Crown:function(){return s},Document:function(){return c},JobTracking:function(){return m},OkHand:function(){return h},Settings3:function(){return n},Templates:function(){return d},Writing:function(){return p}});var r=i(74848);let n=()=>(0,r.jsx)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56099 11.7007L15.9986 7.40661L23.4362 11.7007V20.2889L15.9986 24.583L8.56099 20.2889V11.7007ZM15.4986 5.61682C15.808 5.43819 16.1892 5.43819 16.4986 5.61682L24.7362 10.3728C25.0456 10.5514 25.2362 10.8816 25.2362 11.2388V20.7508C25.2362 21.1081 25.0456 21.4382 24.7362 21.6168L16.4986 26.3728C16.1892 26.5514 15.808 26.5514 15.4986 26.3728L7.26099 21.6168C6.95159 21.4382 6.76099 21.1081 6.76099 20.7508V11.2388C6.76099 10.8816 6.95159 10.5514 7.26099 10.3728L15.4986 5.61682ZM13.7892 14.6037L15.8986 13.3859C15.9605 13.3502 16.0367 13.3502 16.0986 13.3859L18.208 14.6037C18.2699 14.6395 18.308 14.7055 18.308 14.777V17.2127C18.308 17.2841 18.2699 17.3502 18.208 17.3859L16.0986 18.6037C16.0367 18.6395 15.9605 18.6395 15.8986 18.6037L13.7892 17.3859C13.7273 17.3502 13.6892 17.2841 13.6892 17.2127V14.777C13.6892 14.7055 13.7273 14.6395 13.7892 14.6037Z",fill:"currentColor"})}),o=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,r.jsx)("rect",{width:"32",height:"32",rx:"8",fill:"#F1F2FF"}),(0,r.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,r.jsx)("path",{d:"M5.19995 10.3172C5.19995 9.47928 5.87924 8.79999 6.71719 8.79999H21.8896C22.7276 8.79999 23.4068 9.47928 23.4068 10.3172V17.9034C23.4068 18.7414 22.7276 19.4207 21.8896 19.4207H6.71719C5.87924 19.4207 5.19995 18.7414 5.19995 17.9034V10.3172Z",fill:"url(#paint0_linear_4291_8953)"})}),(0,r.jsx)("g",{filter:"url(#filter0_b_4291_8953)",children:(0,r.jsx)("path",{d:"M8.99377 14.1549C8.99377 13.2924 9.69649 12.5931 10.5633 12.5931H25.6311C26.498 12.5931 27.2007 13.2923 27.2007 14.1549V21.6519C27.2007 22.5145 26.498 23.2138 25.6311 23.2138H10.5633C9.69649 23.2138 8.99377 22.5145 8.99377 21.6519V14.1549Z",fill:"#96D0AD",fillOpacity:"0.01"})}),(0,r.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,r.jsx)("path",{d:"M8.99377 14.1549C8.99377 13.2924 9.69649 12.5931 10.5633 12.5931H25.6311C26.498 12.5931 27.2007 13.2923 27.2007 14.1549V21.6519C27.2007 22.5145 26.498 23.2138 25.6311 23.2138H10.5633C9.69649 23.2138 8.99377 22.5145 8.99377 21.6519V14.1549Z",fill:"#9BA1FB"})}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_b_4291_8953",x:"3.99708",y:"7.59639",width:"28.2003",height:"20.6141",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"Backgroun
7586dImageFix"}),(0,r.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"2.49835"}),(0,r.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_4291_8953"}),(0,r.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_4291_8953",result:"shape"})]}),(0,r.jsxs)("linearGradient",{id:"paint0_linear_4291_8953",x1:"14.3034",y1:"8.79999",x2:"14.3034",y2:"19.4207",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#DBDEFF"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#BBC1FF"})]})]})]}),a=()=>(0,r.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"32",height:"32",rx:"8",fill:"#EAF6FF"}),(0,r.jsx)("path",{d:"M24 15.9992C24 17.9992 23.2 19.2752 23.6 21.1992C24.1501 23.8453 24.8 25.1992 24.4 25.5992C24 25.9992 22.8677 25.228 20.8 24.3992C19.2 23.7579 17.4123 24.7992 15.2 24.7992C10.3399 24.7992 6.40002 20.8593 6.40002 15.9992C6.40002 11.1391 10.3399 7.19922 15.2 7.19922C20.0601 7.19922 24 11.1391 24 15.9992Z",fill:"url(#paint0_linear_4291_8964)"}),(0,r.jsx)("g",{filter:"url(#filter0_b_4291_8964)",children:(0,r.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 17.7433V17.5672V17.5672C16 16.1244 16.5731 14.7408 17.5933 13.7206C18.6135 12.7004 19.9972 12.1272 21.44 12.1272C22.8828 12.1272 24.2665 12.7004 25.2867 13.7206C26.3069 14.7408 26.88 16.1244 26.88 17.5672V17.5672V17.744C25.2798 18.6695 23.4221 19.1992 21.4406 19.1992C19.4586 19.1992 17.6004 18.6693 16 17.7433ZM24.16 8.31924C24.16 9.82146 22.9422 11.0392 21.44 11.0392C19.9378 11.0392 18.72 9.82146 18.72 8.31924C18.72 6.81703 19.9378 5.59924 21.44 5.59924C22.9422 5.59924 24.16 6.81703 24.16 8.31924Z",fill:"#111111",fillOpacity:"0.01"})})}),(0,r.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 17.7433V17.5672V17.5672C16 16.1244 16.5731 14.7408 17.5933 13.7206C18.6135 12.7004 19.9972 12.1272 21.44 12.1272C22.8828 12.1272 24.2665 12.7004 25.2867 13.7206C26.3069 14.7408 26.88 16.1244 26.88 17.5672V17.5672V17.744C25.2798 18.6695 23.4221 19.1992 21.4406 19.1992C19.4586 19.1992 17.6004 18.6693 16 17.7433ZM24.16 8.31924C24.16 9.82146 22.9422 11.0392 21.44 11.0392C19.9378 11.0392 18.72 9.82146 18.72 8.31924C18.72 6.81703 19.9378 5.59924 21.44 5.59924C22.9422 5.59924 24.16 6.81703 24.16 8.31924Z",fill:"#54AFF8"})}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_b_4291_8964",x:"12",y:"1.59924",width:"18.88",height:"21.6",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"2"}),(0,r.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_4291_8964"}),(0,r.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_4291_8964",result:"shape"})]}),(0,r.jsxs)("linearGradient",{id:"paint0_linear_4291_8964",x1:"9.20002",y1:"22.7992",x2:"21.6",y2:"12.3992",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#96D4FF"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#C3E5FE"})]})]})]}),l=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,r.jsx)("rect",{width:"32",height:"32",rx:"8",fill:"#E7F4ED"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.373 5.59857C8.18514 5.59828 5.60067 8.18229 5.60038 11.3701L5.59998 15.8029C5.59997 15.8232 5.60029 15.8434 5.60091 15.8635V20.0404C5.60091 20.5547 6.22264 20.8122 6.58626 20.4486L9.30752 17.7273L16.0006 17.7279C19.1884 17.7282 21.7729 15.1442 21.7732 11.9564L21.7732 11.3716C21.7735 8.18375 19.1895 5.59928 16.0017 5.59899L11.373 5.59857Z",fill:"url(#paint0_linear_4291_8627)"}),(0,r.jsx)("g",{filter:"url(#filter0_b_4291_8627)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0877 10.3151C12.8999 10.3151 10.3157 12.8994 10.3157 16.0872V16.6723C10.3157 19.8602 12.8999 22.4444 16.0877 22.4444H22.4463L24.8472 24.8453C25.4532 25.4513 26.4894 25.0221 26.4894 24.165V18.4013H26.488V16.0872C26.488 12.8994 23.9038 10.3151 20.716 10.3151
7586H16.0877Z",fill:"#7A81F5",fillOpacity:"0.01"})}),(0,r.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0877 10.3146C12.8999 10.3146 10.3157 12.8988 10.3157 16.0866V16.6718C10.3157 19.8596 12.8999 22.4438 16.0877 22.4438H22.4463L25.5041 25.5016C25.8677 25.8652 26.4894 25.6077 26.4894 25.0935V18.4008H26.488V16.0866C26.488 12.8988 23.9038 10.3146 20.716 10.3146H16.0877Z",fill:"#48BA75"})}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_b_4291_8627",x:"5.50563",y:"5.50508",width:"25.7939",height:"24.4339",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"2.40502"}),(0,r.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_4291_8627"}),(0,r.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_4291_8627",result:"shape"})]}),(0,r.jsxs)("linearGradient",{id:"paint0_linear_4291_8627",x1:"13.6866",y1:"5.59857",x2:"13.6866",y2:"20.6188",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#C6E4D2"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#9BD6B3"})]})]})]}),s=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,r.jsx)("path",{d:"M7.66664 20.1666H24.3333V22.6666H7.66664V20.1666Z",fill:"#7A82F5"}),(0,r.jsx)("path",{d:"M7.66664 17.6666L5.99997 10.9999L12.6666 12.6666L16 5.99994L19.3333 12.6666L26 10.9999L24.3333 17.6666H7.66664Z",fill:"#7A82F5"})]}),d=()=>(0,r.jsx)("svg",{width:"32",height:"32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5c0-1.1.9-2 2-2h7.6c.5 0 1 .2 1.4.6L25.4 8c.4.4.6.9.6 1.4V21a2 2 0 01-2 2h-3v3a2 2 0 01-2 2H7a2 2 0 01-2-2V10c0-1.1.9-2 2-2h3V5zm0 5H7v16h12v-3h-7a2 2 0 01-2-2V10zm8-5h-6v16h12V11h-3a3 3 0 01-3-3V5zm2 .4V8c0 .6.4 1 1 1h2.6L20 5.4z",fill:"currentColor"})}),c=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"29",height:"32",viewBox:"0 0 29 32",fill:"none",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_1435_8217)",children:[(0,r.jsx)("path",{d:"M2.82399 9.04348L15.1791 0.828613L18.8438 5.55216L20.519 2.47159L21.7755 5.24411L25.0213 5.55216L23.5555 7.5032L23.8696 11.6106L27.5342 16.3342L26.1731 17.361L28.5813 20.647L14.2368 30.9156L1.25342 13.8697L4.18514 11.7133C3.73212 10.8234 3.2784 9.93343 2.82399 9.04348Z",fill:"transparent"}),(0,r.jsx)("path",{d:"M14.5895 27.1892C14.2639 27.1892 14.0733 26.9551 13.9048 26.7148C11.8662 23.7934 9.79299 21.0188 7.7879 18.3367L7.75651 18.2936C5.80063 15.6781 3.77774 12.9724 1.78836 10.1239C1.57895 9.823 1.35383 8.89163 1.72867 8.58358C2.02603 8.34124 2.37888 8.05783 2.74325 7.79906C3.54528 7.22812 5.92102 5.67243 9.80346 3.17819L9.90817 3.10939L13.9225 0.520683C14.1833 0.350224 14.6701 0.0657844 14.9696 0.00725346C15.7475 -0.143695 17.604 2.02606 17.7966 2.77977C17.8521 2.99747 17.8312 3.45442 17.5872 3.70394C17.3715 3.92472 16.9464 3.95758 16.7496 3.90932C16.3307 3.80663 14.8649 2.06097 14.8649 2.06097L3.5568 9.76241L4.19237 10.6024C5.72838 12.7865 7.42145 14.9665 9.05798 17.0716L9.21923 17.277C10.8798 19.4159 13.1205 22.1412 14.6701 24.351L14.7989 24.5338L14.9801 24.4013C16.5779 23.2338 18.651 21.6586 20.3912 20.2939L20.4195 20.2713C22.1021 18.9507 24.0506 17.4813 25.7856 16.2131L25.9489 16.094L25.8379 15.9256C25.7709 15.8229 25.0086 14.7735 24.7992 14.4695C24.6694 14.2806 24.0789 13.4591 24.7071 12.843C25.106 12.4518 25.7887 12.7177 25.8589 12.7886C26.3112 13.2619 26.8567 13.8206 27.5781 14.7242C28.176 15.4738 28.5885 16.5725 27.7791 17.1969C25.8149 18.7146 23.7784 20.3154 21.811 21.8639L21.5827 22.0436C19.6048 23.5983 17.561 25.2053 15.5685 26.7446C15.4359 26.8492 15.2936 26.9413 15.1434 27.0198C14.9748 27.1179 14.7851 27.1759 14.5895 27.1892Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M16.0406 7.8596C16.3285 7.99823 16.6164 8.15328 16.8949 8.31039C17.1127 8.43053 17.3389 8.55478 17.5682 8.6739C17.6164 8.9758 17.4415 10.0088 17.3588 10.5222C17.3043 10.8447 17.2541 11.124 17.2332 11.3252C17.1557 11.9958 17.4687 12.3408 17.7441 12.5144C17.8479 12.5774 17.9
7586657 12.6148 18.0875 12.6232C18.4247 12.6509 18.8362 12.4918 19.1346 12.2125C19.2393 12.119 19.4047 11.9588 19.5984 11.774C19.9837 11.4084 20.5114 10.9063 20.7093 10.7471C20.8391 10.6477 21.0002 10.5958 21.1648 10.6003C21.2405 10.608 21.3128 10.6353 21.3742 10.6794L21.3931 10.6927L21.414 10.7019C21.6726 10.8282 22.0045 11.088 22.327 11.3386C22.6195 11.583 22.9326 11.8025 23.2631 11.9948C23.3991 12.0673 23.5487 12.112 23.7028 12.1262C24.218 12.1693 24.6253 11.8377 24.6933 11.3201C24.7373 10.9884 24.6452 10.5151 24.5551 10.0622C24.4961 9.80242 24.4555 9.53891 24.4337 9.27359V9.251L24.3918 9.00044C24.219 7.97872 24.2054 7.89554 24.6504 7.46734L24.6588 7.45913C24.7635 7.35028 24.9342 7.1983 25.0943 7.04838C25.4367 6.74032 25.6482 6.54111 25.7435 6.3953C26 6.00407 26.0482 5.60154 25.8786 5.26576C25.7883 5.10102 25.6568 4.96157 25.4963 4.86059C25.3358 4.75962 25.1517 4.70044 24.9614 4.68866C24.7844 4.6712 24.6075 4.65478 24.4305 4.6404C23.907 4.59727 23.3353 4.5603 22.6233 4.52436H22.6024C22.5343 4.5182 22.5291 4.5182 22.4977 4.45351C22.3617 4.20651 22.2418 3.95134 22.1385 3.68953C21.9957 3.31146 21.811 2.9499 21.5878 2.61133L21.5574 2.56409C21.3637 2.26425 21.0695 1.80935 20.5355 1.76519C20.373 1.75359 20.21 1.77889 20.0591 1.83913C19.6466 1.99624 19.4633 2.53842 19.2299 3.22539C19.0267 3.82405 18.7974 4.50075 18.4215 4.83139C18.1597 4.92802 17.889 4.99989 17.6132 5.04601C17.279 5.10329 16.9516 5.19413 16.6363 5.3171L16.5379 5.35715C16.2408 5.46342 15.9564 5.60115 15.6898 5.76789C15.2343 6.0934 15.0197 6.44356 15.0532 6.8081C15.0888 7.20549 15.4197 7.56078 16.0406 7.8596ZM19.6256 5.92911C19.7963 5.76584 20.1356 5.00493 20.4957 3.90825C20.5041 3.93392 21.1889 5.39822 21.2946 5.63748C21.5595 6.23306 23.4316 6.27516 23.7028 6.26797C23.685 6.28645 22.5511 7.32563 22.5354 7.34104C22.127 7.67682 23.017 10.0581 23.0505 10.1546C22.8212 10.0119 21.3208 8.55992 20.9627 8.53014C20.3764 8.48085 20.1555 8.90084 19.7712 9.32801C19.7178 9.38449 18.9514 10.2768 18.9336 10.3046L19.0969 8.40897C19.1764 7.62753 17.5326 6.56679 17.4865 6.55138C18.1263 6.4487 19.3377 6.20328 19.6256 5.92911Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M15.3885 18.9599C17.3381 17.5932 18.5296 16.9236 19.9442 15.6442C20.2668 15.3603 20.5636 15.0494 20.831 14.7149C21.1933 14.2476 21.2289 13.9961 20.8247 13.5494C20.7034 13.412 20.5534 13.3017 20.385 13.2259C20.2132 13.1483 20.0262 13.1086 19.8371 13.1099C19.648 13.1111 19.4615 13.1532 19.2908 13.2331C19.0999 13.3198 18.9206 13.4291 18.7568 13.5586L17.7632 14.3411C16.6292 15.2314 16.0272 15.7212 14.8974 16.6556C14.4524 17.0243 13.9216 17.4022 13.5509 17.9587C13.2734 18.3756 13.5572 18.7802 13.9289 19.1242C14.132 19.3029 14.8084 19.3645 15.3885 18.9599Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M14.7391 13.5381C14.9984 13.3167 15.2458 13.0822 15.4804 12.8357C15.7725 12.5205 15.9924 11.6702 15.0218 11.3458C14.603 11.203 14.2365 11.4228 13.9214 11.6179C13.1151 12.1169 12.7874 12.2412 11.7163 12.9815C11.3588 13.239 11.0246 13.5262 10.7174 13.84C10.5482 13.9932 10.4338 14.1958 10.3914 14.4178C10.3489 14.6398 10.3806 14.8693 10.4818 15.0722C10.6137 15.3515 11.3195 15.6801 11.8294 15.4347C11.9885 15.3567 12.1896 15.292 12.377 15.1944C13.4753 14.6194 13.9099 14.2702 14.6805 13.5853L14.7391 13.5381Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M11.6189 7.84624C11.539 7.8462 11.4593 7.85446 11.3812 7.87089C11.165 7.91277 10.9587 7.99391 10.7729 8.11014L10.4671 8.31552C9.91221 8.68313 9.34052 9.05896 8.80652 9.47587C8.43865 9.78541 8.1103 10.1374 7.8286 10.5243C7.70304 10.6827 7.63305 10.8767 7.62908 11.0773C7.62512 11.2779 7.6874 11.4743 7.80662 11.6374C7.87341 11.7392 7.96026 11.8268 8.06209 11.8951C8.16392 11.9638 8.27845 12.0123 8.39923 12.0379C8.47994 12.056 8.56251 12.065 8.6453 12.0646C8.82632 12.0636 9.00496 12.024 9.16882 11.9485C9.28858 11.8945 9.40286 11.8295 9.51016 11.7545C10.3991 11.1024 11.1771 10.5222 11.889 9.96773C12.1099 9.79299 12.301 9.58504 12.4555 9.35162C12.5514 9.20472 12.6053 9.03526 12.6116 8.86093C12.6178 8.68661 12.5762 8.51385 12.4911 8.3607C12.4059 8.20703 12.2805 8.07838 12.1278 7.98795C11.9746 7.89749 11.7998 7.84826 11.621 7.84521L11.6189 7.84624Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M14.0515 32C13.8906 31.9999 13.7318 31.9643 13.5868 31.8959C13.4418 31.8275 13.3144 31.7279 13.2139 31.6047C10.701 28.5108 8.52941 25.5822 6.56411 22.8764C4.70979 20.3257 2.79475 17.6887 0.235774 14.5486C0.146314 14.4399 0.0803919 14.3144 0.0420608 14.1799C0.00451434 14.0463 -0.00580789 13.9067 0.0116924 13.7692C0.0303529 13.6311 0.0769949 13.4981 0.148861 13.3779C0.221072 13.2574 0.317624 13.1526 0.432606 13.0699L2.9518 11.2298C3.06467 11.
7586147 3.19314 11.0869 3.3298 11.0531C3.41708 11.0315 3.50674 11.0204 3.59677 11.0203C3.64757 11.02 3.69833 11.0235 3.74861 11.0305C3.88787 11.0486 4.02208 11.0935 4.14348 11.1628C4.26488 11.2321 4.37103 11.3244 4.45578 11.4342C4.54052 11.5441 4.60217 11.6694 4.63715 11.8028C4.67212 11.9362 4.67974 12.0751 4.65954 12.2114C4.63994 12.3469 4.59294 12.4771 4.52132 12.5944C4.44985 12.7143 4.35483 12.819 4.24177 12.9025L2.59896 14.1019L2.73715 14.2744C4.92967 17.0192 6.65206 19.3881 8.31686 21.6791C9.95025 23.9269 11.9177 26.5946 14.1154 29.3435L14.2473 29.5089L27.2673 19.8862C27.4569 19.7418 27.6901 19.6634 27.9301 19.6633C27.9767 19.6634 28.0232 19.6664 28.0694 19.6726C28.2103 19.6906 28.3461 19.7356 28.4693 19.8051C28.592 19.874 28.6993 19.9663 28.7851 20.0765C28.8708 20.1867 28.9333 20.3126 28.9688 20.4468C29.0048 20.5804 29.013 20.7197 28.9929 20.8565C28.9727 20.9932 28.9246 21.1246 28.8515 21.2427C28.7788 21.3629 28.6824 21.4676 28.5678 21.5507L14.7049 31.7967C14.5182 31.9341 14.2912 32.0086 14.0578 32.0093L14.0515 32Z",fill:"currentColor"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1435_8217",children:(0,r.jsx)("rect",{width:"29",height:"32",fill:"transparent"})})})]}),u=()=>(0,r.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M26.6663 15.9999C26.6663 21.891 21.8907 26.6666 15.9997 26.6666C10.1086 26.6666 5.33301 21.891 5.33301 15.9999C5.33301 10.1089 10.1086 5.33325 15.9997 5.33325",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",fill:"none"}),(0,r.jsx)("path",{d:"M15.9976 15.9969L18.4571 13.5374M18.4571 13.5374L18.192 9.73684C18.1651 9.35186 18.3064 8.97412 18.5793 8.70123L23.0687 4.2118L22.9662 9.02833L27.7828 8.92585L23.2933 13.4153C23.0204 13.6882 22.6427 13.8294 22.2577 13.8026L18.4571 13.5374Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("path",{d:"M14.3522 10.9278C13.4709 11.2142 12.6793 11.7252 12.0556 12.4107C11.4319 13.0961 10.9976 13.9322 10.7954 14.8367C10.5933 15.7411 10.6303 16.6825 10.9028 17.5683C11.1753 18.4541 11.6739 19.2535 12.3494 19.8879C13.025 20.5223 13.8542 20.9697 14.7553 21.1861C15.6564 21.4024 16.5983 21.3802 17.4883 21.1216C18.3782 20.8631 19.1854 20.3771 19.8303 19.7116C20.4753 19.0461 20.9356 18.224 21.1661 17.3264",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]}),p=()=>(0,r.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M21.2422 3.37476C22.9845 2.77532 23.1556 4.4615 22.6699 5.71851C22.2573 6.75915 21.9902 7.88964 21.6582 8.98315C22.92 7.98359 24.3306 6.93804 25.7559 6.63257C27.2416 6.31828 27.3563 8.08982 27.1562 9.17554C26.8419 10.7469 25.6418 12.2329 24.8418 13.6042C24.7427 13.7695 24.6157 14.0293 24.4668 14.3171C24.8777 14.1571 25.2747 13.9567 25.6992 13.6609C26.7562 12.9469 27.5271 13.4329 27.4414 14.7185C27.3269 16.6039 25.9555 17.6329 24.6699 18.8328C23.0848 20.2893 21.5473 21.7935 20.0225 23.3103C20.866 23.0751 21.7265 22.9337 22.3271 23.2039C24.2986 24.061 21.8986 25.3466 21.0986 25.7751C18.6415 27.118 15.6129 27.8895 12.8701 28.5466C10.2417 29.1466 6.98486 29.7752 4.92773 27.6042C4.66096 27.3041 4.80348 26.9174 5.06445 26.7488L4.39453 25.5173C4.16493 25.6877 3.83775 25.698 3.69922 25.3748C1.89944 21.4035 3.24159 16.8897 5.32715 13.2898C6.38423 11.4613 7.69873 9.77545 9.09863 8.17554C10.2415 6.86125 11.6707 4.66055 13.3564 4.03198C13.642 3.91818 13.927 4.14707 14.0127 4.40405C14.2984 5.404 14.0418 6.23272 13.6133 7.17554C13.4987 7.43302 12.8706 8.43238 13.1562 8.54663C13.3283 8.63143 14.4692 7.63372 14.6416 7.48999C16.6416 6.00428 18.8422 4.20333 21.2422 3.37476ZM27.9277 4.97534C28.2134 4.6898 28.6421 4.71825 28.9277 4.97534C29.213 5.23251 29.1846 5.71826 28.9277 5.97534C28.7277 6.17534 28.5555 6.34663 28.3555 6.54663C28.0698 6.80359 27.6411 6.80371 27.3555 6.54663C27.07 6.28951 27.0986 5.80376 27.3555 5.54663C27.5555 5.34663 27.7277 5.17534 27.9277 4.97534ZM23.3555 1.34644C23.6411 1.06083 24.0698 1.08958 24.3555 1.34644C24.6412 1.60358 24.6126 2.08929 24.3555 2.34644C24.127 2.54639 23.9272 2.77516 23.7559 3.00366C23.5273 3.31795 23.013 3.23223 22.7559 3.00366C22.6416 2.86081 22.5557 2.66041 22.5557 2.48901C22.5558 2.28926 22.6417 2.14641 22.7559 2.00366C22.9558 1.77515 23.1555 1.54639 23.3555 1.34644Z",fill:"#F68559"}),(0,r.jsx)("path",{d:"M4.89773 25.8037C5.26916 25.0037 5.84058 24.318 6.44058 23.6323C10.4692 18.9466 15.2692 14.9466 19.012 10.0323C19.4406 10.8037 19.8977 11.5466 20.3263 12.318C20.4977 12.6037 20.6692 12.9466 20.6406 13.2608C20.612 13.5466 20.4692 13.8037 20.3263 14.0323C19.1549 15.8894 17.9834 17.7751 16.8406 19.6323C17.9263 17.7466 19.0406 15.8323 19.8692 13.8037C20.0977 13.2608 20.2692 12.518 19.8406 12.118C19.5549 11.8323 19.0692 11.8323 18.6977 12.0037C18.3263 12.1751 18.0406 12.4894 17.7549 12.7751C14.2692 16.6323 10.812 20.4323 7.35487 24.2323C6.61201 25.0323 5.84058 25.8894 4.78344 26.2323C7.46916 25.2037 9.15487 22.6037 11.3549 20.7751C9.9263 22.4037 8.46916 24.0037 7.04059 25.6323",fill:"white"}),(0,r.jsx)("path",{d:"M5.49773 26.1466C7.06916 23.1466 10.0692 20.6894 12.4406 18.318C14.8977 15.8323 17.3549 13.3
758618 19.4977 10.5466C19.1263 10.4894 18.7549 10.4608 18.3834 10.4037C18.7549 11.0608 19.2977 11.7466 19.5549 12.4608C19.9549 13.5466 19.3549 14.2037 18.812 15.0894C17.9263 16.4894 17.0692 17.8894 16.1834 19.2894C16.5834 19.518 17.012 19.7751 17.412 20.0037C18.1263 18.7751 18.8406 17.518 19.4977 16.2608C19.9834 15.318 20.6692 14.2037 20.7549 13.118C20.9549 10.8608 18.5549 10.9466 17.3549 12.1751C15.1834 14.3751 13.1834 16.7751 11.0977 19.0608C10.0406 20.2037 8.98344 21.3751 7.95487 22.518C6.98344 23.6037 5.98344 25.0037 4.58344 25.5466C4.69773 26.0037 4.84058 26.4608 4.95487 26.918C7.81201 25.718 9.55487 23.2323 11.8406 21.2608C11.4977 20.918 11.1549 20.5751 10.8406 20.2608C9.41201 21.8894 7.95487 23.4894 6.5263 25.118C5.9263 25.8037 6.9263 26.8037 7.5263 26.118C8.95487 24.4894 10.412 22.8894 11.8406 21.2608C12.4692 20.5751 11.5263 19.6608 10.8406 20.2608C8.78344 22.0323 7.15487 24.4608 4.58344 25.5466C3.75487 25.8894 4.09773 27.2608 4.95487 26.918C6.66916 26.2608 7.75487 24.8323 8.95487 23.518C10.6406 21.6894 12.2977 19.8608 13.9834 18.0323C14.7834 17.1466 15.5834 16.2608 16.3834 15.3751C16.7549 14.9751 17.1263 14.5466 17.4977 14.1466C17.9263 13.6608 18.2406 12.9466 18.8977 13.1751C19.6406 13.4037 18.8692 14.3466 18.612 14.8608C18.3834 15.318 18.1549 15.7751 17.9263 16.2037C17.3834 17.2323 16.7834 18.2608 16.1834 19.2894C15.7263 20.0894 16.9263 20.8037 17.412 20.0037C18.0406 19.0037 18.6692 17.9751 19.2977 16.9751C19.8692 16.0323 20.6692 15.0608 21.0977 14.0323C21.7549 12.518 20.2977 10.918 19.5834 9.66084C19.3834 9.28941 18.7549 9.14656 18.4692 9.51799C16.212 12.4323 13.6406 15.0323 11.0406 17.6608C8.7263 20.0323 5.84058 22.4608 4.26916 25.4323C3.84058 26.2608 5.06916 26.9751 5.49773 26.1466Z",fill:"white"}),(0,r.jsx)("path",{d:"M11.2985 17.9179C13.3557 15.4893 15.47 13.175 17.6985 10.8893C18.3557 10.2322 17.3271 9.23219 16.6985 9.88933C14.47 12.175 12.3271 14.4893 10.27 16.9179C9.69854 17.6322 10.6985 18.6322 11.2985 17.9179Z",fill:"#1E2882"}),(0,r.jsx)("path",{d:"M18.9552 9.60369C19.6123 10.2894 20.2695 11.0608 20.7266 11.8894C21.4409 13.2608 20.498 14.318 19.8409 15.4608C18.8123 17.1466 17.698 18.6608 16.2695 20.0037C15.5838 20.6323 16.6123 21.6323 17.2695 21.0037C19.2123 19.2037 20.6409 17.0037 21.9266 14.718C23.2409 12.3751 21.5552 10.2894 19.9552 8.60369C19.3266 7.91798 18.298 8.94655 18.9552 9.60369Z",fill:"#1E2882"}),(0,r.jsx)("path",{d:"M19.0115 11.8895C16.1258 15.4324 13.0115 18.7752 10.0686 22.261C9.46861 22.9467 10.4972 23.9752 11.0686 23.261C14.04 19.7752 17.1543 16.4324 20.0115 12.8895C20.5829 12.1752 19.5829 11.1752 19.0115 11.8895Z",fill:"#1E2882"}),(0,r.jsx)("path",{d:"M4.46998 28.2609C4.64141 27.1181 5.09856 25.7466 5.61284 24.7181C5.98427 23.9752 6.69855 23.3181 7.24141 22.6895C7.98427 21.8038 8.72713 20.9181 9.46998 20.0324C10.0414 19.3181 9.04141 18.3181 8.46998 19.0324C7.18427 20.6038 5.32713 22.2324 4.38427 24.0324C3.81284 25.1466 3.26998 26.6324 3.09856 27.8895C2.98427 28.7752 4.3557 29.1752 4.46998 28.2609Z",fill:"#1E2882"}),(0,r.jsx)("path",{d:"M4.15493 28.8036C5.49779 28.0893 6.81208 27.2607 8.12636 26.4607C8.89779 25.975 8.18351 24.7464 7.41208 25.2322C6.09779 26.0322 4.81208 26.8607 3.44065 27.575C2.61208 28.0036 3.32636 29.2322 4.15493 28.8036Z",fill:"#1E2882"}),(0,r.jsx)("path",{d:"M5.46913 24.5465C5.98342 25.0894 6.58342 25.6037 7.09771 26.1465C7.72628 26.8037 8.75485 25.8037 8.09771 25.1465C7.58342 24.6037 6.98342 24.0894 6.46913 23.5465C5.84056 22.8608 4.81199 23.8608 5.46913 24.5465Z",fill:"#1E2882"}),(0,r.jsx)("path",{d:"M11.7558 16.5467C12.3558 17.1181 12.9558 17.6895 13.5844 18.2609C14.2415 18.8895 15.2701 17.8895 14.5844 17.2609C13.9844 16.6895 13.3844 16.1181 12.7558 15.5467C12.0986 14.9181 11.0986 15.9181 11.7558 16.5467Z",fill:"#1E2882"})]}),h=()=>(0,r.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M10.0342 7.36792C12.2852 3.83365 16.6068 2.4815 20.376 4.1189C23.8384 5.64432 26.0349 9.213 26.2676 13.1355C26.4742 16.9489 24.9501 21.253 20.9971 21.907C20.9824 21.9094 20.9668 21.9105 20.9521 21.9128C20.9667 21.9105 20.9816 21.9094 20.9961 21.907C22.2519 21.4073 21.3472 17.0486 20.7012 15.0056C20.5723 12.8324 20.314 11.3282 18.2471 9.14917C18.2476 8.05945 20.4362 6.01578 18.8926 5.33569C11.9164 5.06367 10.2369 11.7366 9.97852 9.82983L10.4023 8.34155C10.6449 7.89395 10.3623 7.47513 10.0039 7.35913C10.0139 7.36233 10.
75860243 7.36423 10.0342 7.36792ZM18.6348 15.9587L18.376 18.4109L17.6016 21.1345H15.5342L13.9834 18.6833L15.0176 16.5037L16.8262 13.78L18.6348 15.9587Z",fill:"#B8DDF0"}),(0,r.jsx)("path",{d:"M16.0488 4.92651C16.9626 4.50888 18.1899 3.9348 19.208 4.45679C21.2751 5.51068 19.7677 7.66314 18.2949 8.87964C19.8687 9.37446 20.7 10.9957 21.1152 12.6179C21.353 13.554 21.4337 14.7354 21.002 15.5281C21.5124 15.8145 21.9076 16.3163 22.0713 16.949C22.5106 18.6106 21.9158 20.2451 21.7607 21.8523C21.5799 23.5684 21.8388 25.1485 20.5986 26.5105C18.1956 29.1801 14.7065 28.9621 11.8125 27.5183C11.0636 27.1368 11.7097 25.9661 12.459 26.3474C14.4225 27.3279 16.2572 27.6546 18.2725 26.5925C18.9185 26.2384 19.6163 25.7472 20.0039 25.0662C20.5463 24.0856 20.3405 22.9146 20.418 21.8523C20.5213 20.5721 21.3474 18.6383 20.7793 17.3308C19.9524 15.3967 18.9442 17.7118 18.8408 18.5291C18.7375 19.1283 18.7375 19.7824 18.5566 20.3816C17.8071 22.8328 14.9657 22.6419 13.958 20.49C13.3896 19.2914 13.3375 18.1747 13.751 16.9216C13.9835 16.2952 14.3966 15.9136 14.7842 15.3689C15.3268 14.6062 15.7146 13.7618 15.8955 12.8083C15.9728 12.3739 16.32 12.2433 16.6357 12.3269C16.7547 12.3399 16.8672 12.3938 16.957 12.5037C17.0825 12.6178 17.1711 12.7762 17.1885 12.9685C17.52 13.6872 18.1217 14.7362 18.8408 14.8787C20.8818 15.2872 19.7717 12.3737 19.4355 11.6648C18.0144 8.69567 15.2758 10.5477 13.6221 12.1003C13.0019 12.6724 12.0968 11.7184 12.7168 11.1736C13.728 10.2385 14.8612 9.25142 16.1494 8.87476C16.1874 8.73556 16.2858 8.60986 16.4658 8.52905C17.3274 8.13751 18.3464 7.48438 18.7119 6.54468C19.0769 5.63156 18.3719 5.47484 17.5889 5.70972C15.8919 6.20566 14.2214 7.32854 12.916 8.45093C12.2894 8.99909 11.3493 8.05892 12.002 7.53687C13.2029 6.49282 14.5869 5.57905 16.0488 4.92651ZM5.92188 20.3816C5.66349 19.5372 6.9295 19.1827 7.16211 20.0271C7.44634 21.0078 7.70444 22.0431 8.24707 22.9148C8.8155 23.7592 9.51296 24.3586 10.2881 24.9851C10.9599 25.5027 10.3144 26.6736 9.64258 26.156C8.73821 25.475 7.96238 24.8213 7.31641 23.8679C6.61896 22.8329 6.28355 21.6072 5.92188 20.3816ZM16.6934 14.7009C16.5465 15.0311 16.3762 15.3525 16.1797 15.6687C15.7404 16.3497 15.1462 16.9217 14.9395 17.7117C14.7327 18.4471 14.8107 19.2914 15.1982 19.9724C15.5342 20.5445 16.4126 21.1987 17.0586 20.5994C17.6012 20.0818 17.4972 18.883 17.6006 18.2292C17.7105 17.5174 17.9172 16.7358 18.334 16.1521C17.6952 15.8505 17.1344 15.3105 16.6934 14.7009ZM10.9863 13.3533C11.3997 12.5908 12.5104 13.2714 12.0977 14.0339C11.3483 15.4232 10.8566 16.8945 10.624 18.5017C10.4948 19.3733 9.25459 18.9916 9.38379 18.1472C9.61637 16.4584 10.1595 14.8514 10.9863 13.3533ZM7.60156 4.60913C8.6609 3.8196 10.2109 4.22809 10.5469 5.61694C10.7278 6.37967 10.5986 7.22444 10.5986 8.0144C10.5986 8.85466 10.5964 9.72018 10.5732 10.5623C10.6347 10.7263 10.6386 10.9196 10.5469 11.1199C9.77175 12.8632 9.35828 14.6886 8.9707 16.5681C8.78952 17.412 7.54967 17.0579 7.73047 16.2136C8.11849 14.3473 8.55171 12.5288 9.28711 10.781C9.28213 10.7418 9.279 10.7005 9.28027 10.657C9.33195 9.5129 9.30619 8.39579 9.33203 7.25171C9.35787 6.7069 9.51326 5.78028 8.91895 5.5896C8.06633 5.29018 7.62679 6.95215 7.52344 7.52417C7.03251 10.4116 7.13611 13.5442 7.05859 16.4861C7.03275 17.3578 5.74069 17.3579 5.71484 16.5134C5.79236 14.2253 5.81816 11.9099 5.99902 9.62183C6.12822 7.93292 6.15455 5.69875 7.60156 4.60913Z",fill:"#1E2882"})]}),x=()=>(0,r.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_836_28852)",children:[(0,r.jsx)("path",{d:"M12.668 17.7543C12.2908 13.5943 13.6851 9.32003 20.2394 9.22288C25.6908 9.13717 29.6394 13.64 28.5994 18.1829C27.8623 21.3315 24.9823 24.5486 21.2051 25.04C16.308 25.6686 12.9823 21.1829 12.668 17.7543Z",fill:"#F68558"}),(0,r.jsx)("path",{d:"M6.47351 27.2742C2.69637 24.0514 1.98208 18.5199 6.91922 14.8857C11.1192 11.7942 15.1478 13.9257 16.8849 16.0285C18.6221 18.1314 19.4221 25.1085 16.1192 27.2571C12.2449 29.7999 8.46779 28.9771 6.47351 27.2742Z",fill:"#F5CF6E"}),(0,r.jsx)("path",{d:"M5.57629 13.3544C4.08486 9.60009 5.42772 5.00581 9.85629 3.42866C13.8163 2.01724 16.8163 3.22866 19.262 7.06866C20.5363 9.06866 21.5477 14.823 16.0791 17.5372C13.4391 18.8458 7.742 18.8001 5.57629 13.3544Z",fill:"white"}),(0,r.jsx)("path",{d:"M12.8853 18.9086C11.704 19.0514 10.5056 18.9044 9.39389 18.4801C7.71389 17.7829 6.59961 15.4801 6.59961 15.4801C6.59961 15.4801 7.17104 14.3372 9.45675 13.7658C11.9939 13.1315 13.4568 13.7658 13.4568 13.7658C14.063 12.4046 15.0341 11.2377 16.2625 10.3943C17.5105 9.70669 18.8927 9.29732 20.3139 9.19434C20.6326 10.723 20.4996 12.3114 19.931 13.7658C19.4112 15.026 18.548 16.1149 17.4396 16.9086C17.9379 17.6525 18.2783 18.4908 18.4396 19.3715C19.011 21.8401 18.0282 24.6515 18.0282 24.6515C16.9442 24.3352 15.9602 23.7448 15.171 22.9372C14.1113 21.7867 13.3293 20.4085 12.8853 18.9086Z",fill:"#797BFF"}),(0,r.jsx)("path",{d:"M6.14233 16.2C6.52844 16.8638 7.05502 17.4353 7.68519 17.8742C8.25203 18.3184 8.88948 18.6642 9.5709 18.8971C10.2171 19.1414 10.8822 19.3326 11.5595 19.4685C12.1687 19.5685 12.7902 19.5685 13.3995 19.4685C13.6171 19.4046 13.8013 19.2585 13.9132 19.0613C14.0252 18.864 14.0561 18.631 13.9995 18.4114C13.9319 18.1962 13.7852 18.0146 13.589 17.9033C13.3929 17.7919 13.1618 17.7591 12.9423 17.8114C12.7195 17.8457 13.0566 17.8114 12.9423 17.8114H12.7823H12.4566C12.3481 17.8171 12.2394 17.8171 12.1309 17.8114C12.0966 17.8114 11.8795 17.7714 12.0966 17.8114H11.9538C11.3424 17.6848 10.7409 17.5149 10.1538 17.3028L9.90805 17.2228L9.79376 17.1771C9.87376 17.2114 9.65662 17.1142 9.66805 17.1142C9.59914 17.0845 9.53232 17.0501 9.46805 17.0114C9.19123 16.8615 8.92576 16.6915 8.67376 16.5028L8.39948 16.2742C8.28341 16.1715 8.17278 16.0628 8.06805 15.9485L7.90233 15.7657L7.84519 15.7028C7.88519 15.7542 7.88519 15.7542 7.84519 15.7028C7.76012 15.5858 7.68554 15.4615 7.62233 15.3314C7.57018 15.2248 7.49659 15.13 7.40616 15.0532C7.31574 14.9763 7.21042 14.9189 7.0968 14.8845C6.98317 14.8502 6.86369 14.8397 6.74582 14.8536C6.62795 14.8676 6.51422 14.9057 6.41175 14.9656C6.30928 15.0255 6.22027 15.1059 6.15029 15.2018C6.08031 15.2977 6.03087 15.4069 6.00504 15.5228C5.97922 15.6386 5.97758 15.7586 6.00022 15.8751C6.02286 15.9916 6.06929 16.1022 6.13662 16.2H6.14233Z",fill:"#1E2882"}),(0,r.jsx)("path",{d:"M12.8047 13.8057C12.4789 16 12.4675 18.3143 13.4275 20.36C14.2314 22.1306 15.5946 23.5882 17.3075 24.5086C17.5063 24.6159 17.7384 24.6437 17.9569 24.5864C18.1754 24.5291 18.3641 24.391 18.4847 24.2C18.5962 24.0022 18.6264 23.7687 18.5688 23.549C18.5112 23.3292 18.3704 23.1406 18.1761 23.0229C16.7586 22.265 15.6315 21.0595 14.9704 19.5943C14.1704 17.9772 14.1989 15.9715 14.4561 14.2286C14.511 14.0136 14.4826 13.7858 14.3766 13.5908C14.2706 13.3958 14.0949 13.2481 13.8847 13.1772C13.6649 13.1175 13.4305 13.147 13.2325 13.2594C13.0345 13.3718 12.8889 13.5579 12.8275 13.7772L12.8047 13.8057Z",fill:"#1E2882"}),(0,r.jsx)("path",{d:"M13.1696 4.62298C13.5075 4.61648 13.845 4.64908 14.1754 4.72012C14.3696 4.76583 14.5582 4.81726 14.74
758668 4.88012L14.9754 4.96012C15.1639 5.02869 14.9068 4.92012 15.0725 5.00012C15.3807 5.14601 15.6769 5.31607 15.9582 5.50869L16.0954 5.61155L16.2782 5.76012C16.4039 5.86869 16.5239 5.98298 16.6439 6.09726C16.7639 6.21155 16.8725 6.33726 16.9811 6.46298L17.1239 6.64012C17.1868 6.72012 17.1925 6.72012 17.1239 6.64012L17.1925 6.73155C17.3811 7.00012 17.5582 7.26869 17.7239 7.55441C17.8896 7.84012 18.0154 8.12583 18.1468 8.40012C18.2382 8.60012 18.1468 8.33155 18.1868 8.48583L18.2611 8.68012C18.3182 8.82869 18.3696 8.97726 18.4211 9.13155C18.4869 9.34454 18.6331 9.52352 18.8287 9.6305C19.0243 9.73748 19.2538 9.76405 19.4687 9.70458C19.6835 9.64511 19.8668 9.50426 19.9795 9.31193C20.0922 9.11961 20.1256 8.89092 20.0725 8.67441C19.6277 7.22878 18.8441 5.9103 17.7868 4.82869C16.5595 3.60735 14.9011 2.91771 13.1696 2.90869C12.9423 2.90869 12.7243 2.999 12.5636 3.15974C12.4028 3.32049 12.3125 3.53851 12.3125 3.76583C12.3125 3.99316 12.4028 4.21118 12.5636 4.37193C12.7243 4.53267 12.9423 4.62298 13.1696 4.62298Z",fill:"#1E2882"}),(0,r.jsx)("path",{d:"M6.01116 10.9144C6.0337 9.68387 6.36162 8.47823 6.96545 7.40582C7.51659 6.44852 8.35676 5.69037 9.36545 5.2401C9.55291 5.12487 9.68926 4.94237 9.74662 4.72994C9.80398 4.5175 9.77801 4.29117 9.67402 4.09725C9.55602 3.91289 9.37355 3.77913 9.16223 3.72207C8.95091 3.66502 8.72591 3.68876 8.53116 3.78868C5.74259 5.00582 4.40545 8.02296 4.29688 10.9144C4.29688 11.1417 4.38718 11.3597 4.54793 11.5205C4.70867 11.6812 4.92669 11.7715 5.15402 11.7715C5.38135 11.7715 5.59936 11.6812 5.76011 11.5205C5.92085 11.3597 6.01116 11.1417 6.01116 10.9144Z",fill:"#1E2882"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_836_28852",children:(0,r.jsx)("rect",{width:"25.3257",height:"26.0171",fill:"white",transform:"translate(3.42773 2.85718)"})})})]}),m=()=>(0,r.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_836_28857)",children:[(0,r.jsx)("path",{d:"M18.0384 17.289C17.0611 17.7771 16.5725 19.106 16.4639 20.3534C16.4096 20.8958 16.4096 21.4382 16.5454 21.9535C16.6539 22.3603 16.844 22.7128 17.0611 23.0383C17.9027 24.2315 19.2329 24.8552 20.5088 24.6654C21.7847 24.4756 22.952 23.445 23.522 22.062C23.7935 21.4111 23.9021 20.6789 23.7935 19.9738C23.6578 19.1602 23.1691 18.4551 22.5991 18.0212C22.0018 17.5873 21.296 17.0991 20.6173 16.9906C19.7215 16.8279 18.7985 17.1262 18.0656 17.75",fill:"#B8DDF0"}),(0,r.jsx)("path",{d:"M17.6855 16.6923C15.8667 17.8313 15.2423 20.7874 16.0839 22.6857C17.0883 24.9366 19.8301 26.1027 22.029 24.8281C24.0378 23.662 25.2323 20.8145 24.0378 18.672C22.7891 16.4211 19.803 15.5533 17.7127 17.1534C17.034 17.6686 17.7127 18.8619 18.3913 18.3195C19.803 17.2347 21.7575 17.6686 22.7619 19.1873C23.7392 20.6789 22.7619 22.8213 21.3232 23.6349C17.9298 25.6146 15.4323 19.7026 18.3642 17.8856C19.0971 17.4246 18.4185 16.2313 17.6855 16.6923Z",fill:"#B8DDF0"}),(0,r.jsx)("path",{d:"M4.02993 15.9871C3.62273 16.5024 3.56844 17.2617 3.51415 17.9668C3.487 18.5906 3.43271 19.2415 3.59559 19.8381C3.92135 21.0856 5.00721 21.872 6.09308 22.1432C6.63601 22.2788 7.20609 22.3331 7.72187 22.1432C8.64486 21.8178 9.32352 20.8144 9.43211 19.7296C9.59499 18.4008 8.94347 17.0448 7.96619 16.3397C6.98891 15.6346 5.74017 15.5261 4.6543 15.8787C4.46428 15.9329 4.27425 16.0143 4.16567 16.177",fill:"#B8DDF0"}),(0,r.jsx)("path",{d:"M3.43271 15.6346C2.42828 17.2617 2.45543 20.1364 3.81276 21.5737C5.17009 22.9839 7.69473 23.5263 9.1335 21.9534C12.2282 18.5906 7.39611 12.7328 3.67703 15.6617C2.99836 16.2041 3.94849 17.1533 4.62716 16.6109C5.60444 15.8515 7.34182 16.4482 8.02049 17.2889C8.88918 18.3194 9.10635 20.1093 8.04763 21.1127C6.98891 22.1161 5.0615 21.2754 4.43713 20.1635C3.8942 19.1872 4.00279 17.2617 4.60001 16.3126C5.0615 15.5803 3.8942 14.9024 3.43271 15.6346Z",fill:"#B8DDF0"}),(0,r.jsx)("path",{d:"M13.8312 17.0176C15.5686 17.0176 15.5686 14.3057 13.8312 14.3057C12.0667 14.3057 12.0667 17.0176 13.8312 17.0176Z",fill:"#FFB69B"}),(0,r.jsx)("path",{d:"M23.4404 5.73657C24.9878 5.41117 26.915 5.24807 27.9736 6.6311C28.7609 7.66164 28.6793 9.07187 28.4893 10.2922C28.2993 11.404 27.9197 12.4615 27.6211 13.5461C26.861 16.2851 26.1005 19.0245 25.1504 21.7092C25.1358 21.7531 25.117 21.7931 25.0967 21.8303C24.559 24.3626 22.1712 26.3775 19.3955 25.9397C18.5269 25.8041 18.9066 24.5032 19.748 24.6116C22.3541 25.0184 24.3634 22.1973 23.7119 19.8108C23.1791 17.7356 19.9824 15.4268 18.0928 17.3118C18.0637 17.3595 18.0282 17.4066 17.9834 17.4514C16.4632 18.9972 16.4638 21.8183 17.6582 23.554C18.146 24.2589 16.9788 24.9366 16.4902 24.2317C15.0784 22.1779 15.0914 19.0407 16.5684 17.0237C16.5776 17.0037 16.5881 16.9832 16.5996 16.9631C16.73 16.7323 16.862 16.5022 16.9932 16.2717C16.3352 15.481 16.0342 14.3998 15.0791 13.845C14.1018 13.2483 12.6634 13.2756 12.0391 14.3333C11.5233 15.2011 11.2781 16.1498 10.708 16.9905C10.6299 17.1075 10.5329 17.184 10.4297 17.2336C10.9403 18.7874 10.8988 20.5523 10.1924 21.8997C9.78495 22.6582 8.61808 21.9801 8.99805 21.2209C9.81231 19.621 9.324 17.4519 8.23828 16.0959C7.02813 14.5663 4.80587 14.8538 3.76074 16.3069C2.92673 18.0867 3.49117 20.1245 4.76367 21.7903C5.30659 22.4683 4.1115 23.1469 3.5957 22.469C2.28275 20.7281 1.6 18.4417 2.24805 16.3665C2.25375 16.2793 2.27569 16.1883 2.32031 16.0959C2.34775 16.0391 2.37714 15.9832 2.40723 15.928C2.46281 15.793 2.52394 15.659 2.5918 15.5266C3.89483 13.0316 6.90756 11.4579 8.9707 9.64087C9.62222 9.07142 10.5996 10.0208 9.9209 10.6174C9.46537 11.0156 8.99252 11.3963 8.51465 11.7727C8.75717 11.8921 8.99081 12.034 9.21484 12.1907C9.51342 12.3805 9.64988 12.7871 9.45996 13.1125C9.29714 13.4108 8.83573 13.5733 8.53711 13.3567C8.32003 13.194 8.07527 13.0316 7.83105 12.9231C7.7497 12.896 7.66827 12.8682 7.58691 12.8411C7.53262 12.8139 7.28795 12.7874 7.39648 12.7874C7.3481 12.7804 7.3011 12.77 7.25586 12.7571C6.85993 13.0683 6.46866 13.3852 6.08496 13.7102C6.9811 13.6758 7.88021 13.925 8.61816 14.5227C9.09148 14.896 9.49252 15.367 9.81641 15.8977C10.3022 14.9752 10.5811 13.8972 11.251 13.1125C11.3332 13.0187 11.4216 12.9341 11.5127 12.8557C11.5499 12.7842 11.6062 12.715 11.6855 12.6516C13.5314 11.0788 15.1873 9.31576 17.0332 7.79712C17.6847 7.22761 18.6621 8.17683 17.9834 8.74634C16.6739 9.84288 15.458 11.0463 14.2041 12.2063C14.2333 12.2101 14.2628 12.2138 14.292 12.218C15.3234 12.3537 16.1925 12.8682 16.8711 13.6545C17.1649 14.003 17.3988 14.586 17.6943 15.0452C18.8979 12.9557 20.1293 10.8783 21.377 8.80103C21.8113 8.04168 23.0054 8.71942 22.5439 9.47876C21.8649 10.6093 21.192 11.7408 20.5244 12.8733C21.8985 12.7487 23.1596 13.2792 24.3086 14.1975C24.9873 14.7399 24.0371 15.6891 23.3584 15.1467C22.2183 14.2248 21.024 13.9257 19.6396 14.468C19.6186 14.4764 19.5976 14.4832 19.5771 14.4895C19.3957 14.8011 19.2134 15.112 19.0332 15.4241C19.9244 15.2811 20.8884 15.422 21.7568 15.7161C23.1061 16.1654 24.1747 17.3224 24.749 18.6311C25.4978 16.2531 26.1661 13.8488 26.833 11.4583C27.1045 10.4277 27.4308 9.20731 27.1865 8.14966C26.8064 6.57682 25.0688 6.76714 23.793 7.03833C22.9516 7.22793 22.5989 5.92639 23.4404 5.73657ZM12.3643 6.76685C13.9659 5.24817 17.0607 2.753 19.2324 4.73267C19.8839 5.32929 18.9337 6.27851 18.2822 5.68188C16.8434 4.35312 14.2374 6.84825 13.3145 7.71606C12.6901 8.3124 11.7402 7.36344 12.3643 6.76685Z",fill:"#1E2882"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_836_28857",children:(0,r.jsx)("rect",{width:"32",height:"32",fill:"white"})})})]})},86295:function(e,t,i){"use strict";i.d(t,{H7:function(){return V},BJ:function(){return z},Yh:function(){return U},qJ:function(){return H},$s:function(){return W},EK:function(){return F}});var r={};i.r(r),i.d(r,{Columns:function(){return h},RecordingIcon:function(){return u},SettingIcon:function(){return x},Settings:function(){return p},SuccessIcon:function(){return m}});var n={};i.r(n),i.d(n,{Error3:function(){return b}});var o={};i.r(o),i.d(o,{CreateDocument:function(){return A},Document:function(){return v},Unicorn:function(){return _},Upload:function(){return j}});var a={};i.r(a),i.d(a,{HeartMessageIcon:function(){return E},MicOffIcon:function(){return S},MicOnIcon:function(){return k},PeopleIcon:function(){return P},StopOnIcon:function(){return T},TargetIcon:function(){return J},VideoOffIcon:function(){return w},VideoOnIcon:function(){return C}});var l={};i.r(l),i.d(l,{AI:function(){return D},Builder:function(){return N},Costumization:function(){return R},Star:function(){return M},Template:function(){return L},UploadResume:function(){return B},Word:function(){return I}});var s=i(74848);i(96540);var d=i(73916),c=i.n(d);let u=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("circle",{cx:"8",cy:"8",r:"7",stroke:"#FB4458",strokeWidth:"2"}),(0,s.jsx)("circle",{cx:"8",cy:"8",r:"5",fill:"#FB4458"})]}),p=()=>(0,s.jsx)("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.87178 5.03883L6.99998 2.07806L12.1282 5.03883V10.9604L6.99998 13.9211L1.87178 10.9604V5.03883ZM6.49998 0.288271C6.80938 0.109639 7.19058 0.109639 7.49998 0.288271L13.4282 3.71092C13.7376 3.88955 13.9282 4.21968 13.9282 4.57695V11.4222C13.9282 11.7795 13.7376 12.1096 13.4282 12.2883L7.49998 15.7109C7.19058 15.889
75866 6.80938 15.8896 6.49998 15.7109L0.571777 12.2883C0.262376 12.1096 0.0717773 11.7795 0.0717773 11.4222V4.57695C0.0717773 4.21968 0.262376 3.88955 0.571777 3.71092L6.49998 0.288271ZM5.36793 6.94186L6.89998 6.05733C6.96186 6.02161 7.0381 6.02161 7.09998 6.05733L8.63203 6.94186C8.69391 6.97759 8.73203 7.04361 8.73203 7.11507V8.88413C8.73203 8.95558 8.69391 9.0216 8.63203 9.05733L7.09998 9.94186C7.0381 9.97759 6.96186 9.97759 6.89998 9.94186L5.36793 9.05733C5.30605 9.0216 5.26793 8.95558 5.26793 8.88413V7.11507C5.26793 7.04361 5.30605 6.97759 5.36793 6.94186Z",fill:"currentColor"})}),h=()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("path",{stroke:"#1E2532",fill:"white",strokeWidth:1.4,d:"M1 3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3ZM8 15V1"})}),x=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{stroke:"#1A91F0",strokeLinecap:"round",strokeWidth:1.4,d:"M1 11h3M1 3h7M8 11h7M12 3h3"}),(0,s.jsx)("circle",{cx:6,cy:11,r:2,stroke:"#1A91F0",fill:"white",strokeLinecap:"round",strokeWidth:1.4}),(0,s.jsx)("circle",{cx:10,cy:3,r:2,stroke:"#1A91F0",fill:"white",strokeLinecap:"round",strokeWidth:1.4})]}),m=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{fill:"#339D5D",d:"M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Z"}),(0,s.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M11.097 5.071 12.5 6.5l-4.246 4.613c-.478.525-.906.507-1.403 0L4 8.5l1.403-1.429 2.15 1.9 3.544-3.9Z",clipRule:"evenodd"})]});var g=i(97323),y=i(65353),f=i(31699);let b=()=>(0,s.jsxs)("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M18 36C8.059 36 0 27.941 0 18C0 8.059 8.059 0 18 0C27.941 0 36 8.059 36 18C36 27.941 27.941 36 18 36Z",fill:"#DA0C22"}),(0,s.jsx)("path",{d:"M11 11L18.25 18.25M25.5 25.5L18.25 18.25M18.25 18.25L25.5 11M18.25 18.25L11 25.5",stroke:"white",strokeWidth:"2"})]}),_=()=>(0,s.jsxs)("svg",{fill:"none",height:"40",width:"40",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{stroke:"white",strokeLinejoin:"round",strokeWidth:"2",children:[(0,s.jsx)("path",{d:"m8 32h-5s-.5-14 5.2-20 8.3-6.5 13.8-7l2 5"}),(0,s.jsx)("path",{d:"m25 9.5 8.521-7.1a.2.2 0 0 1 .322.203l-2.843 10.897m0 0 6 9.5c-1 2.5-4 5-6 5-3.572 0-5.672-3-9-3-2 0-3.5-2-4-4",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"m12.5 15.5c-4.5 5.5-4.5 19.5-4.5 19.5h18s-1.5-3.5-2-9",strokeLinecap:"round"})]}),(0,s.jsx)("path",{clipRule:"evenodd",d:"m25 9.5c-1.5 1-3 .5-3 .5s-3.5-3-6-6c-2 1-5 6 0 9",fill:"currentColor",fillRule:"evenodd"}),(0,s.jsx)("path",{d:"m25 9.5c-1.5 1-3 .5-3 .5s-3.5-3-6-6c-2 1-5 6 0 9m11 6.082c0-1-.923-1.666-1.5-2-.577-.333-1.5-.5-2.5 0",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]}),v=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99988 5H23.9999L31.9999 13V34C31.9999 34.5523 31.5522 35 30.9999 35H8.99988C8.44759 35 7.99988 34.5523 7.99988 34V6C7.99988 5.44772 8.44759 5 8.99988 5Z",fill:"white"}),(0,s.jsx)("path",{d:"M26.9999 17H12.9999V19H26.9999V17Z",fill:"#CFD6E6"}),(0,s.jsx)("path",{d:"M26.9999 21.0001H12.9999V23.0001H26.9999V21.0001Z",fill:"#CFD6E6"}),(0,s.jsx)("path",{d:"M20.9999 25H12.9999V27H20.9999V25Z",fill:"#CFD6E6"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 5L32 13H25C24.4477 13 24 12.5523 24 12V5Z",fill:"#CFD6E6"})]}),j=()=>(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_499_37979)",children:[(0,s.jsx)("path",{d:"M18.4085 1C18.6395 1.04165 18.8705 1.0686 19.0966 1.12494C19.6054 1.24951 20.0631 1.53075 20.4059 1.92957C20.7488 2.32839 20.9597 2.82495 21.0095 3.35018C21.0592 3.87542 20.9453 4.40322 20.6835 4.86018C20.4217 5.31713 20.0251 5.68053 19.5488 5.89982C18.8607 6.2183 18.1605 6.3898 17.4116 6.11786C16.8452 5.94161 16.3603 5.56661 16.0449 5.06092C15.7295 4.55522 15.6045 3.95235 15.6925 3.36171C15.7697 2.77247 16.0381 2.22548 16.4559 1.80587C16.8737 1.38626 17.4174 1.11758 18.0024 1.04165C18.0696 1.03154 18.1362 1.01
7586764 18.2018 1H18.4085Z",fill:"#currentColor"}),(0,s.jsx)("path",{d:"M18.8956 36.482C8.79286 36.482 5.05815 38.197 5.03626 31.7243C5.0241 28.8065 4.40652 18.5315 8.79287 22.0276C10.3295 23.2525 9.00198 30.3303 9.89189 32.5622C14.4801 32.9076 27.8434 32.6283 29.4384 31.8272C29.752 28.8236 28.5047 23.0075 30.7538 21.2926C34.7681 18.2155 33.9147 28.9657 33.9512 32.0011C34.0484 38.4419 30.9751 36.482 18.8956 36.482Z",fill:"#currentColor"}),(0,s.jsx)("path",{d:"M17.4926 13.3062C17.1765 13.6418 15.3407 16.104 14.8617 16.4911C14.6933 16.6372 14.4964 16.7463 14.2837 16.8112C14.071 16.8762 13.8472 16.8957 13.6266 16.8684C12.7293 16.741 12.2236 15.8884 12.4935 14.9893C12.7658 13.5193 14.9249 11.8044 15.917 10.3345C16.0872 10.0895 17.2786 8.16629 17.4926 7.95315C18.295 7.14958 18.7083 7.12998 19.6614 7.7547C20.1283 8.06584 21.3975 10.1654 21.8279 10.5329C23.2527 11.7579 23.9457 12.1474 24.9888 13.7178C25.3826 14.3156 25.5115 15.4327 24.9499 15.8835C24.7285 16.1007 24.4444 16.2414 24.1385 16.2855C23.8326 16.3295 23.5207 16.2745 23.2478 16.1285C22.6108 15.859 22.2242 15.3151 21.6333 14.7198C20.8455 13.926 20.2839 13.3331 20.0578 13.1298C20.0724 13.3968 20.5635 18.086 20.6486 20.0777C20.7337 22.1185 20.9379 23.5983 21.0425 25.6366C21.1325 27.4324 20.1769 28.2433 19.4669 28.2163C19.1491 28.2044 18.8371 28.1273 18.5499 27.9897C18.2628 27.8521 18.0064 27.657 17.7966 27.4162C17.5868 27.1755 17.4279 26.8941 17.3296 26.5894C17.2314 26.2847 17.1958 25.963 17.2251 25.6439C17.2981 24.049 17.495 23.2553 17.495 19.0855C17.5047 17.8434 17.4901 13.3944 17.4926 13.3062Z",fill:"#currentColor"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_499_37979",children:(0,s.jsx)("rect",{width:"29",height:"38.2553",fill:"white",transform:"translate(5 1)"})})})]}),A=()=>(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_499_37992)",children:[(0,s.jsx)("path",{d:"M18.7587 35.9536C16.5404 35.9536 14.3244 35.9774 12.1085 35.9416C10.9174 35.9225 9.32595 35.9416 8.12997 35.7459C5.5186 35.3402 5.06046 34.0752 5.06046 31.6883C5.06046 30.2563 4.9423 28.8767 5.03634 27.4637C5.14003 25.9337 5.32009 25.3763 5.45753 23.8511C5.5374 23.2034 5.69943 22.5683 5.93978 21.9608C6.1809 21.4094 6.51607 20.9869 7.09236 20.8748C7.66865 20.7626 8.27387 21.0585 8.58492 21.734C8.83019 22.2835 9.03488 22.8499 9.19737 23.4287C9.7182 25.1949 9.58877 30.4711 9.67076 31.4497C9.69487 31.7289 15.8083 31.6892 19.8085 31.7179C20.896 31.7179 29.3634 31.2826 29.4116 30.7336C29.4912 29.829 29.6696 28.0866 29.6937 27.182C29.7395 25.485 29.8842 23.8711 30.1277 22.809C30.4822 21.2576 31.2875 20.5988 32.5245 21.3769C33.1104 21.7517 33.4022 22.3579 33.5734 23.0477C33.8724 24.2411 34.0219 25.8287 33.9978 27.6308C33.9857 28.6308 34.0122 31.6883 33.5734 33.3591C33.0116 35.7244 26.9618 35.703 25.6163 35.7459C22.9639 35.8509 21.4014 35.913 18.7443 35.9846L18.7587 35.9536Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M21.2394 15.4418C21.1245 16.3764 21.1245 17.3209 21.2394 18.2555C21.3956 19.3811 21.3797 20.5228 21.1922 21.644C20.8768 23.2843 18.4281 23.5789 17.7601 22.0367C17.1541 20.5712 17.3478 19.8049 17.3478 18.2555C17.3478 17.6928 17.3104 15.5411 16.8286 15.4286C16.0091 15.3304 15.0854 15.4585 14.0474 15.4418C12.4232 15.4178 10.6848 15.5112 10.3992 14.2037C9.96461 12.2089 12.0705 12.3622 14.2435 12.2544C15.1762 12.186 16.33 12.305 17.2102 12C17.4337 11.9282 17.472 9.22758 17.3652 7.75246C17.1715 4.93871 17.9488 4 19.116 4C20.477 4 21.1847 5.15663 21.0605 7.93924C21.0439 9.1928 20.9132 10.6329 21.0605 11.8785C21.9634 12.0203 23.0739 11.896 23.9885 11.8785C26.2832 11.8282 28.635 11.639 28.6573 13.3799C28.6797 14.9892 27.0471 14.9854 24.8418 15.0476C23.7069 15.0859 21.9496 15.2885 21.2394 15.4418Z",fill:"#currentColor"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_499_37992",children:(0,s.jsx)("rect",{width:"29",height:"32",fill:"white",transform:"translate(5 4)"})})})]}),C=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("rect",{x:"12",y:"17",width:"18",height:"14",rx:"4",stroke:"white",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M30 26.1792V21.8208C30 21.4987 30.1551 21.1963 30.4168 21.0085L34.4167 18.1367C35.0783 17.6617 35.9999 18.1345 35.9999 18.949V29.051C35.9999 29.8655 35.0783 30.3383 34.4167 29.8633L30.4168 26.9915C30.1551 26.8037 30 26.5013 30 26.1792Z",stroke:"white",strokeWidth:"2"})]}),w=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("circle",{cx:"24",cy:"24",r:"24",fill:"#FB4458"}),(0,s.jsx)("rect",{x:"12",y:"17",width:"18",height:"14",rx:"4",stroke:"white",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M30 26.1792V21.8208C30 21.4987 30.1551 21.1963 30.4168 21.0085L34.4167 18.1367C35.0783 17.6617 35.9999 18.1345 35.9999 18.949V29.051C35.9999 29.8655 35.0783 30.3383 34.4167 29.8633L30.4168 26.9915C30.1551 26.8037 30 26.5013 30 26.1792Z",stroke:"white",strokeWidth:"2"}),(0,s.jsx)("rect",{x:"12.7266",y:"15.5547",width:"2",height:"26.9731",rx:"1",transform:"rotate(-45 12.7266 15.5547)",fill:"white"}),(0,s.jsx)("rect",{x:"14.1406",y:"14.1406",width:"2",height:"26.9731",rx:"1",transform:"rotate(-45 14.1406 14.1406)",fill:"#FB4458"})]}),k=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M20 34H28",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M24 31V34",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}
7586),(0,s.jsx)("rect",{x:"20",y:"13",width:"8",height:"14",rx:"4",stroke:"white",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M32 23C32 27.4183 28.4183 31 24 31C19.5817 31 16 27.4183 16 23",stroke:"white",strokeWidth:"2",strokeLinecap:"round"})]}),S=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M20 34H28",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M24 31V34",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("rect",{x:"20",y:"13",width:"8",height:"14",rx:"4",stroke:"white",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M32 23C32 27.4183 28.4183 31 24 31C19.5817 31 16 27.4183 16 23",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("rect",{x:"13.7266",y:"15.5547",width:"2",height:"26.9731",rx:"1",transform:"rotate(-45 13.7266 15.5547)",fill:"white"}),(0,s.jsx)("rect",{x:"15.1406",y:"14.1406",width:"2",height:"26.9731",rx:"1",transform:"rotate(-45 15.1406 14.1406)",fill:"currentColor"})]}),T=()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("rect",{x:"16",y:"16",width:"16",height:"16",rx:"4",fill:"white"})}),P=()=>(0,s.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_1319_34449)",children:[(0,s.jsx)("path",{d:"M14.3301 44.7119C11.1162 44.6608 7.90074 44.6159 4.68685 44.557C3.55715 44.5353 3.45723 44.4687 3.36655 43.3673C3.11294 40.1869 3.68317 37.1583 5.24477 34.373C6.23153 32.6116 7.83927 31.4901 9.60683 30.6334C11.7433 29.597 13.9965 29.0269 16.3927 29.3321C17.7038 29.4979 18.9411 29.9053 20.0124 30.7263C21.0299 31.5009 21.7031 32.545 22.175 33.7084C23.0024 35.7899 23.6203 37.9499 24.0194 40.1559C24.2745 41.4975 24.419 42.8592 24.6173 44.2116C24.6634 44.5214 24.5681 44.6685 24.2284 44.6685C21.6308 44.6608 19.0348 44.6685 16.4373 44.6685H14.3316L14.3301 44.7119Z",fill:"transparent"}),(0,s.jsx)("path",{d:"M41.6897 28.277C41.453 27.5427 39.4995 21.8202 34.0201 20.7575C28.9925 19.7831 25.2898 23.5645 24.8871 23.9905C21.5687 27.4931 21.8961 31.9423 21.9576 32.6347L23.6314 37.9761C24.4737 37.9994 25.3298 38.0164 26.192 38.0288C27.6138 38.0505 29.0586 38.0567 30.5341 38.0458C33.147 38.0257 34.9915 38.162 37.4368 38.0458C38.5527 38.0458 41.6728 38.6655 42.6627 37.8677C42.9424 37.6415 42.8317 36.2427 42.9701 33.9949C43.07 32.2908 42.346 30.3064 41.6897 28.277Z",fill:"transparent"}),(0,s.jsx)("path",{d:"M25.709 35.9688L26.3238 38.5837C26.1856 37.6975 25.98 36.8233 25.709 35.9688Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M26.5173 40.2288C26.5051 40.1851 26.4959 40.1405 26.4897 40.0955C26.4559 39.5874 26.3995 39.0845 26.3206 38.5867L25.7058 35.9717C25.4518 35.1727 25.1473 34.3909 24.7944 33.631C23.7354 31.3507 22.0569 28.886 17.8348 27.814C15.683 27.2672 13.3652 27.2749 11.1596 27.6204C11.0781 27.6328 10.9966 27.6405 10.9152 27.6467C10.293 27.849 9.68151 28.0833 9.08305 28.3485C6.62383 29.5057 4.67335 31.2298 3.56977 33.7906C2.85967 35.4373 1.80836 42.221 2.03276 43.9901C2.10641 44.6131 2.38473 45.1934 2.82341 45.6387C3.26208 46.0839 3.8359 46.3684 4.45355 46.447C5.95675 46.6747 8.39753 47.0666 9.91917 46.9721C10.2773 46.9489 10.637 46.935 10.9951 46.9396C12.9932 46.9582 15.0051 47.0109 17.0094 46.9985C19.3856 46.983 21.7649 46.9768 24.135 46.8436C25.8979 46.7429 26.7479 45.9513 26.7018 44.1357V44.0691C26.7018 44.0691 26.5389 40.2303 26.5173 40.2288ZM23.1867 44.0799C20.9949 44.0799 18.8031 44.0799 16.6113 44.0799H14.8376C14.8368 44.0938 14.8368 44.1078 14.8376 44.1217C12.1248 44.0799 8.79715 43.8863 6.07665 43.8367C5.12216 43.8197 5.03609 43.7623 4.96231 42.8329C4.74713 40.1482 5.53563 36.6627 6.85438 34.3126C7.68744 32.827 9.04462 31.8805 10.5432 31.157C12.3477 30.2818 14.4026 30.4212 16.4254 30.6784C17.532 30.8178 18.5771 31.1632 19.4794 31.8479C20.3386 32.5001 21.0564 33.8479 21.4591 34.8316C22.158 36.5878 22.6796 38.4105 23.016 40.2721C23.2312 41.4046 23.3526 42.554 23.5202 43.6957C23.554 43.9591 23.4772 44.0815 23.1867 44.0799Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M25.5441 36.2139C25.4804 36.2163 25.4167 36.2131 25.3535 36.2046L25.4719 40.0372C25.4719 39.8652 25.4719 39.6917 25.4719 39.512C25.8454 39.512 26.1789 39.512 26.5124 39.512H26.5385L25.7608 36.1953L25.5441 36.2139Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M44.6527 36.1641C43.1157 36.1641 42.962 38.4878 42.962 38.4878C42.962 38.4878 34.8496 38.432 33.992 38.3995C31.8601 38.3158 27.887 38.336 25.7598 38.5187L26.5375 41.8354C28.9967 41.8153 33.3003 41.8045 35.7595 41.7626C36.1622 41.7626 41.7062 41.6557 44.1609 41.6077C44.9109 41.5938 45.7624 41.2483 45.8761 40.5001C46.0913 39.126 46.1897 36.1641 44.6527 36.1641Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M44.9608 28.8843C43.9602 24.9697 41.69 22.8969 37.7983 21.8605C37.7752 21.8605 35.9539 21.6266 35.0578 21.6251C34.2986 21.6251 33.5393 21.6251 32.78 21.6251C31.5313 21.6196 30.2995 21.9161 29.188 22.4895L29.1695 22.4988C27.5265 23.3632 26.0848 24.4817 24.9551 25.9828C24.5355 26.5389 23.9022 27.9115 24.0544 28.5977C24.1696 29.1182 24.4156 29.5489 24.9397 29.724C25.4638 29.899 25.9234 29.6868 26.3045 29.3258C26.7349 28.9184 27.6095 27.7163 28.0199 27.2872C29.145 26.116 31.7425 24.5498 34.8165 24.5498C39.4275 24.5498 40.7786 26.5947 41.5271 27.7504C43.2701 30.43
758666 42.8013 34.0336 44.346 33.9996C45.3005 33.9779 45.8645 33.0701 45.7293 31.9857C45.5756 30.7433 45.4711 30.8781 44.9608 28.8843Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M14.2286 27.0558C16.7226 27.0558 18.7444 24.7933 18.7444 22.0025C18.7444 19.2116 16.7226 16.9492 14.2286 16.9492C11.7347 16.9492 9.71289 19.2116 9.71289 22.0025C9.71289 24.7933 11.7347 27.0558 14.2286 27.0558Z",fill:"transparent"}),(0,s.jsx)("path",{d:"M34.5607 20.9933C37.1183 20.9933 39.1917 18.7308 39.1917 15.94C39.1917 13.1491 37.1183 10.8867 34.5607 10.8867C32.0031 10.8867 29.9297 13.1491 29.9297 15.94C29.9297 18.7308 32.0031 20.9933 34.5607 20.9933Z",fill:"transparent"}),(0,s.jsx)("path",{d:"M13.8969 28.4282C9.91606 28.4189 7.11719 25.3702 7.11719 21.7173C7.11719 18.0645 10.6523 14.9414 13.9123 14.9414C17.1723 14.9414 20.5214 17.7949 20.5214 21.4478C20.5214 25.1006 17.1615 28.4282 13.8969 28.4282ZM14.0183 17.7748C12.1739 17.7748 10.1758 19.801 10.1758 21.8722C10.1758 23.9434 11.5192 25.8334 13.8385 25.8334C15.6829 25.8334 17.3737 23.6026 17.3737 21.5314C17.3737 19.4602 15.8689 17.7748 14.0183 17.7748Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M20.9513 12.5323C23.509 12.5323 25.5823 10.2699 25.5823 7.47906C25.5823 4.68821 23.509 2.42578 20.9513 2.42578C18.3937 2.42578 16.3203 4.68821 16.3203 7.47906C16.3203 10.2699 18.3937 12.5323 20.9513 12.5323Z",fill:"transparent"}),(0,s.jsx)("path",{d:"M34.1835 22.7689C30.052 22.8433 27.2854 19.8349 27.2854 16.182C27.2854 12.5292 30.55 9.17528 33.8945 9.056C38.1982 8.90109 40.9648 12.2193 40.9648 15.8722C40.9648 19.525 38.6593 22.8433 34.1835 22.7689ZM34.3095 12.1155C32.4113 12.1155 30.3671 14.1418 30.3671 16.213C30.3671 18.2842 31.7504 20.1741 34.1205 20.1741C36.0187 20.1741 37.7509 17.9418 37.7509 15.8722C37.7509 13.8025 36.2062 12.1155 34.3095 12.1155Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M21.2379 14.726C17.1064 14.8003 14.3398 11.7919 14.3398 8.13905C14.3398 4.48619 17.6029 1.13386 20.949 1.01303C25.2526 0.858117 28.0192 4.17636 28.0192 7.82922C28.0192 11.4821 25.7137 14.7926 21.2379 14.726ZM21.3624 4.07257C19.4642 4.07257 17.42 6.09884 17.42 8.17003C17.42 10.2412 18.8033 12.1312 21.1749 12.1312C23.0731 12.1312 24.8038 9.90042 24.8038 7.82922C24.8038 5.75803 23.2606 4.06483 21.3624 4.06483V4.07257Z",fill:"currentColor"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_1319_34449",children:(0,s.jsx)("rect",{width:"44",height:"46",fill:"transparent",transform:"translate(2 1)"})})})]}),J=()=>(0,s.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_1319_34468)",children:[(0,s.jsx)("path",{d:"M4.61709 29.6823C3.69491 19.11 8.23877 8.48798 17.5799 5.79564C28.5512 2.62975 41.1134 10.6471 42.5817 22.665C43.9552 33.8897 35.1781 44.7434 23.8356 45.1408C15.4723 45.4339 5.42481 38.9548 4.61709 29.6823Z",fill:"transparent"}),(0,s.jsx)("path",{d:"M24.6402 36.757C23.5243 36.757 21.7299 36.713 20.492 36.43C17.65 35.7828 14.0011 33.2839 12.838 29.9327C11.8355 27.1364 11.7147 24.0802 12.4931 21.2075C13.1683 18.7628 14.4924 16.6111 16.1534 15.3422C18.9466 13.2074 21.1508 12.8008 22.8915 12.8008C23.0759 12.7997 23.2601 12.8173 23.4413 12.8534C24.2547 13.0228 24.7248 13.3819 24.8761 13.9427C24.9606 14.304 24.9113 14.6851 24.7379 15.0101C24.6516 15.1618 24.536 15.2932 24.3986 15.3962C24.2611 15.4991 24.1047 15.5713 23.9391 15.6081C23.8984 15.62 23.8334 15.6336 23.7439 15.6539C21.1915 16.213 19.4346 16.2587 17.6126 18.49C16.2054 20.213 15.1399 23.371 15.5596 26.2275C15.8589 28.2605 16.5812 30.4223 18.2958 31.6761C19.6965 32.7011 22.8606 33.9802 27.4058 32.3537C32.6114 30.4901 31.9607 25.4075 31.9607 22.6967C31.9665 22.35 32.0597 22.0109 32.231 21.7135C32.4023 21.4162 32.6457 21.171 32.9368 21.0025C33.2621 20.8331 33.9128 21.0025 34.2382 21.3414C34.8678 21.997 35.2989 23.471 35.2143 25.0686C34.9686 29.7362 33.5875 35.4016 24.6402 36.757Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M27.012 19.6266C26.2897 19.4961 25.9432 18.8032 26.0961 17.9121C26.21 17.2733 27.5797 13.9866 28.1328 12.9988C28.2207 12.8396 28.3102 12.682 28.3997 12.5228L28.6144 12.1399C28.7973 11.8009 28.99
758666 11.4718 29.2114 11.1538C29.4408 10.8794 29.6734 10.7218 29.9028 10.7404C31.1456 10.837 30.9781 11.7739 30.8203 12.3618C30.6918 12.8379 29.8442 15.0726 29.8442 15.0726C31.8891 13.0768 34.9588 9.83065 37.0654 7.74847L37.0899 7.72475L37.1094 7.69594C37.2057 7.55078 37.2752 7.38818 37.3143 7.21648C37.3143 7.21648 38.6678 3.845 39.0013 2.85049C39.1054 2.54384 39.4048 2.14909 39.7041 2.05083C39.819 2.01725 39.9377 2.00015 40.0571 2C40.1628 2.00022 40.2682 2.01329 40.371 2.03897C40.5198 2.07144 40.6627 2.12865 40.794 2.20839C41.3309 2.54723 41.2284 3.23847 41.1194 3.61459C40.9957 4.0483 40.8493 4.48372 40.7094 4.90388L40.6574 5.06144C40.5744 5.3088 40.4947 5.54599 40.4182 5.78487L40.2165 6.40834L40.9551 6.17454C41.5049 6.00512 42.0222 5.8357 42.5395 5.66628H42.5656C42.8649 5.5731 43.2293 5.45789 43.5839 5.37487C43.7102 5.34289 43.8396 5.3264 43.9695 5.32574C44.0733 5.32537 44.1769 5.33616 44.2786 5.35793C44.4382 5.39062 44.5859 5.46927 44.7048 5.58495C44.8258 5.7038 44.913 5.85502 44.9569 6.02206C45.1196 6.60148 44.7812 7.35202 44.1598 7.61293C43.9418 7.70611 41.2983 8.66334 40.4182 8.9683C39.9302 9.13772 38.6906 10.2711 37.874 11.1335C36.7076 12.3635 35.4338 13.4969 34.2056 14.5931L34.0934 14.693C33.646 15.0929 33.1823 15.5063 32.7317 15.9197L31.7963 16.5973C31.7963 16.5973 33.9404 16.2585 34.2365 16.2585C35.0596 16.2585 35.3215 17.1056 35.3752 17.4444C35.5379 18.461 34.2365 18.6304 33.4231 18.7998C32.7203 18.9472 28.0548 19.818 27.012 19.6266Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M23.4413 28.4284C23.2774 28.4287 23.1139 28.4117 22.9533 28.3776C21.6519 28.0913 20.6954 27.3831 20.2024 26.3259C19.6591 25.162 19.6916 23.6033 20.2854 22.3513C20.9361 20.9722 22.3254 19.9336 23.5064 19.9336C23.6469 19.9327 23.7871 19.9475 23.9245 19.9777C25.2487 20.2657 26.2768 20.9569 26.9015 21.9752C27.1778 22.4304 27.3646 22.9384 27.4509 23.4694C27.5372 24.0005 27.5213 24.5442 27.4042 25.0688C27.0219 26.7918 25.0958 28.4216 23.443 28.4216L23.4413 28.4284Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M43.6714 31.6911C42.4448 37.2939 38.0721 42.5341 33.7139 44.7518C28.6791 47.3236 20.324 48.2148 13.6087 44.557C10.9993 43.1521 8.73622 41.1396 6.99514 38.6758C5.25407 36.212 4.08194 33.3633 3.56985 30.351C2.20336 22.3983 3.2445 15.491 7.52291 10.2678C12.6847 3.96361 19.33 2.26093 24.9814 2.57944C27.8787 2.74886 30.5304 3.38927 33.1918 4.95134C33.5808 5.18617 33.8665 5.56988 33.9881 6.02078C34.1096 6.47169 34.0574 6.95419 33.8425 7.36559C33.7418 7.56878 33.603 7.74883 33.4342 7.89503C33.2654 8.04124 33.0701 8.15062 32.8599 8.21668C32.6498 8.28274 32.429 8.30413 32.2107 8.27958C31.9925 8.25503 31.7812 8.18504 31.5894 8.07377C29.3558 6.76923 27.3907 6.3084 24.9928 6.17287C20.3012 5.90857 14.967 7.21989 10.5682 12.5922C6.93889 17.0226 5.5057 22.1595 6.69813 29.0973C7.61237 34.4256 10.5552 38.7865 14.7686 41.0821C22.3819 45.2279 29.4095 42.8695 32.3149 41.382C36.8259 39.0779 39.5622 33.6649 40.5268 30.4594C42.2691 24.6686 41.7193 20.3229 38.9538 15.7486C38.456 14.9252 38.7097 13.3682 39.5101 12.8853C40.3105 12.4025 41.2508 12.7498 41.7632 13.563C44.8915 18.5271 45.2982 24.2196 43.6714 31.6911Z",fill:"currentColor"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_1319_34468",children:(0,s.jsx)("rect",{width:"42",height:"45",fill:"transparent",transform:"translate(3 2)"})})})]}),E=()=>(0,s.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_1319_34479)",children:[(0,s.jsx)("path",{d:"M10.0571 43.8345C10.201 41.8307 11.4522 38.486 9.20958 32.6252C8.3322 30.319 4.55774 25.2555 3.09777 22.9493C2.46957 21.958 1.97296 21.1712 1.72729 20.7183C0.913086 16.8717 2.86263 13.0444 4.09974 11.1019C6.31951 7.60498 9.16397 5.15716 12.5577 3.81261C15.3127 2.72508 18.3343 2.42435 21.5385 2.91741C26.2237 3.64126 30.472 5.82507 34.1728 9.40763C35.8188 11.0022 37.7929 13.2192 38.4614 16.2143C39.209 19.5189 38.8458 22.2971 37.3489 24.7083C35.8498 27.0855 33.8713 29.1266 31.5389 30.7019C30.6799 31.2892 29.7547 31.7739 28.7822 32.1461C27.4868 32.628 26.1651 33.0366 24.8234 33.37L24.7498 33.3893C22.8687 34.003 22.2931 34.8475 21.0911 34.9629C20.3155 35.0311 19.7031 35.087 19.303 35.2444C19.1735 35.2902 19.0543 35.3609 18.952 35.4524C17.7693 36.5574 15.5478 37.0033 14.423 38.159C13.8965 38.7028 13.3929 39.2833 12.9086 39.8463C12.6981 40.091 12.4869 40.3341 12.2751 40.5754C12.1839 40.6628 11.9646 40.9828 10.9872 42.4445C10.6801 42.9095 10.3256 43.4411 10.0571 43.8345Z",fill:"transparent"}),(0,s.jsx)("path",{d:"M37.7047 9.02404C33.0142 3.00415 30.547 1.98481 26.2987 0.806355C24.1193 0.204891 21.1696 -0.0678662 18.8516 0.0143106C16.7892 0.0661111 14.751 0.470031 12.8257 1.2085C7.78426 3.1108 1.51096 7.18293 0.256306 15.7835C-0.796551 22.015 1.3969 27.3757 6.74892 31.7153C7.4947 32.3116 8.31945 32.9392 9.27054 33.6386C9.71625 33.9638 9.85487 34.3275 9.74958 34.8905C9.29159 37.3208 8.8143 39.9068 8.43878 42.4683C8.3141 43.4878 8.26834 44.5154 8.3019 45.542V45.9162C8.31296 46.3175 8.41429 46.7113 8.59845 47.0684C8.7395 47.3546 8.95914 47.5951 9.23185 47.7619C9.50456 47.9287 9.81916 48.015 10.
75861391 48.0108C10.4137 48.0081 10.6846 47.9474 10.9339 47.8325C11.1832 47.7177 11.4051 47.5514 11.5851 47.3447C11.9536 46.9268 12.3256 46.5124 12.6976 46.0963C13.3293 45.3969 13.9803 44.6626 14.6103 43.9387C15.4876 42.9176 17.3863 40.2372 18.8656 38.5815C19.2165 38.1968 23.3753 37.0341 23.7789 36.833C25.1827 36.1336 24.8704 34.9797 24.4931 34.2104L24.4773 34.1789C24.0053 33.2242 22.7681 33.5687 21.3187 34.0285C20.5905 34.2593 17.446 34.873 16.9318 35.4273C16.9318 35.4273 12.5677 40.9191 11.8974 41.7112L11.8062 41.8196L11.6798 41.7531C11.564 41.6919 11.564 41.6919 11.6693 40.9838C12.9134 32.5913 12.4449 31.224 11.829 30.6855C11.6833 30.5876 11.478 30.4757 11.2043 30.3358C9.51971 29.4476 5.93999 27.6852 4.17646 21.9643C3.33944 18.4884 3.73428 14.5649 5.25039 12.0541C8.50547 6.66014 13.5346 3.68954 19.4096 3.68954C20.1427 3.69028 20.8751 3.73407 21.603 3.82067C26.4549 4.39766 28.9256 5.47295 32.1807 8.42083C34.111 10.1693 35.7867 12.9528 36.429 15.495C37.0625 17.9726 37.3537 21.4799 35.8832 23.8876C33.4266 27.909 30.812 29.5333 27.9079 31.4968C26.2321 32.6298 26.7673 36.0637 29.7942 34.595C31.3209 33.8537 32.221 33.4008 34.4794 31.7555C37.3958 29.6312 39.3928 27.0347 40.5 23.5379C41.7968 19.4832 40.4421 12.9388 37.7047 9.02404Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M21.0407 29.9043C21.4287 29.9037 21.8031 29.7619 22.0936 29.5056C22.9499 28.7503 23.7413 28.0981 24.5046 27.4687C26.7858 25.5856 28.7582 23.9596 30.7937 20.9995C32.2115 18.9381 32.5923 16.2017 31.7658 14.0302C31.0639 12.1628 29.5443 10.855 27.5105 10.3584C27.0375 10.2416 26.5519 10.1829 26.0646 10.1836C24.1621 10.1987 22.3212 10.8578 20.8442 12.0527L20.7389 12.1401L20.6284 12.0597C19.0514 10.9395 17.1638 10.3358 15.2272 10.3322C14.3178 10.3188 13.4146 10.4834 12.5688 10.8165C11.8192 11.1129 11.1402 11.5626 10.5759 12.1366C10.0116 12.7106 9.57442 13.3962 9.29258 14.1491C8.52575 16.2175 8.98024 18.3995 9.60142 19.6392C11.4632 23.3494 15.4308 26.2203 19.6317 29.2556L20.1002 29.6018C20.3735 29.7996 20.7029 29.9056 21.0407 29.9043ZM26.0418 13.3465C26.2781 13.3439 26.5139 13.3703 26.7437 13.4252C27.765 13.6787 28.4546 14.261 28.795 15.1527C29.2565 16.3643 29.0056 17.9939 28.1738 19.2073C26.391 21.8003 24.6643 23.2287 22.4796 25.0261L22.4638 25.0401C22.0093 25.4143 21.5443 25.7972 21.06 26.2063L20.9548 26.2955L20.8424 26.2133C16.9416 23.3843 13.8479 20.9995 12.4529 18.2194C12.1686 17.6547 11.8721 16.3504 12.2774 15.2471C12.4073 14.9011 12.6106 14.5872 12.8735 14.3268C13.1364 14.0664 13.4527 13.8656 13.8006 13.7382C14.2617 13.5623 14.7529 13.4779 15.2465 13.4899C16.5994 13.4899 18.4542 13.997 19.5983 15.4132C19.7488 15.5975 19.9385 15.7463 20.1536 15.8487C20.3687 15.9512 20.604 16.0049 20.8424 16.0059C20.8758 16.0077 20.9091 16.0077 20.9425 16.0059C21.1974 15.9898 21.4446 15.9128 21.6633 15.7813C21.8821 15.6498 22.0657 15.4678 22.1989 15.2506C22.9341 14.0599 24.7293 13.3465 26.0418 13.3465Z",fill:"currentColor"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_1319_34479",children:(0,s.jsx)("rect",{width:"41",height:"48",fill:"transparent",transform:"matrix(-1 0 0 1 41 0)"})})})]}),R=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"38",height:"42",viewBox:"0 0 38 42",fill:"none",children:[(0,s.jsx)("path",{d:"M21.3211 12.3228C21.2612 12.6186 21.3211 13.2694 21.1414 13.506C20.8419 13.8609 20.183 13.8609 19.7638 13.8609C17.9668 13.9201 16.1099 13.8609 14.3129 13.6243C14.0733 13.6243 13.8337 13.5651 13.654 13.3877C13.5342 13.2694 13.5342 13.0327 13.4743 12.8552C13.2946 10.7256 13.3545 8.53672 13.5941 6.40703C13.5941 6.22956 13.654 5.99292 13.7738 5.87461C13.9535 5.75629 14.1332 5.75629 14.3728 5.75629C16.4094 5.81545 18.5059 5.93377 20.5424 6.11124C20.782 6.11124 21.6206 6.64366 21.5008 6.82113C21.5607 6.82113 21.5008 10.5481 21.3211 12.3228Z",fill:"#B8DDF0"}),(0,s.jsx)("path",{d:"M19.8237 12.3228C19.7638 12.6186 19.7638 12.6778 19.9434 12.5003C20.183 12.3228 20.1231 12.3228 19.7039 12.382C19.2846 12.2637 18.6257 12.382 18.2064 12.382C17.6673 12.382 15.2114 12.5595 14.9119 12.2045C14.7921 12.0862 14.9119 10.3706 14.9119 9.95651C14.9119 9.18746 14.6723 7.35356 15.0916 6.70282C14.7921 6.93945 14.4926 7.17608 14.1931 7.35356C15.2114 6.93945 17.0084 7.35356 18.0866 7.47187C18.3262 7.47187 20.183 7.76766 20.2429 7.64935C19.7638 8.30009 20.2429 6.22956 20.0033 7.23524C19.8237 7.88598 20.0033 8.83251 19.9434 9.5424C19.9434 10.4298 19.9434 11.3763 19.8237 12.3228C19.644 14.2159 22.6389 14.2159 22.8186 12.3228C22.9983 10.8439 22.9983 9.36493 22.9983 7.82682C22.9983 6.93945 23.0582 6.11124 22.3394 5.4605C20.9617 4.15903 18.5658 4.45482 16.8287 4.39566C15.3312 4.3365 12.9951 3.80408 12.2763 5.57882C11.5576 7.2944 11.8571 9.89735 11.917 11.6721C11.9769 13.3877 12.1565 14.6891 14.0733 15.0441C16.05 15.399 18.446 15.5174 20.4825 15.2216C22.2196 14.9849 22.6988 13.8609 22.8186 12.2637C22.9384 10.4298 19.9434 10.4298 19.8237 12.3228Z",fill:"#B8DDF0"}),(0,s.jsx)("path",{d:"M19.9122 20.0449C19.9122 19.3966 19.3991 18.8873 18.7927 18.8873
7586L14.3145 18.8409C14.0813 18.8409 13.8014 18.8409 13.6148 19.0262C13.4282 19.2114 13.3816 19.4893 13.3349 19.7208C13.195 20.8785 13.0084 22.0825 13.1483 23.2865C13.195 23.8885 13.4282 24.6294 13.988 24.8146C14.1746 24.9072 14.3612 24.9072 14.5944 24.9072C15.9005 24.9535 17.2066 24.9072 18.5128 24.8146C18.746 24.8146 19.0259 24.7683 19.2125 24.6294C19.4457 24.4442 19.539 24.1663 19.5857 23.8885C19.8189 22.8697 19.9122 21.1563 19.9122 20.0449Z",fill:"#F68559"}),(0,s.jsx)("path",{d:"M21.0784 20.0449C20.7985 17.5443 18.6061 17.7296 16.6935 17.7296C15.9005 17.7296 15.1075 17.6833 14.3612 17.7296C12.5886 17.7759 12.262 18.9799 12.0755 20.508C11.8889 21.9436 11.609 23.9348 12.5886 25.1851C13.5215 26.4354 15.3874 26.1112 16.7402 26.0649C18.1862 26.0186 19.8655 26.1575 20.5186 24.6294C21.125 23.2402 21.0784 21.4805 21.0784 20.0449C21.125 18.5631 18.7927 18.5631 18.746 20.0449C18.746 20.9711 18.746 21.9436 18.5594 22.916C18.5594 23.0549 18.4661 23.6106 18.4661 23.6569C18.3728 23.7496 17.16 23.7496 17.0201 23.7496C16.367 23.7959 14.6877 24.0737 14.3612 23.4717C14.1279 23.0549 14.1746 20.7396 14.4545 20.2765C14.6411 19.9523 14.1746 20.1376 14.781 20.0449C15.2941 19.9523 15.9005 20.0449 16.4136 20.0449C16.5536 20.0449 18.746 19.9986 18.746 20.0449C18.9326 21.4805 21.265 21.5268 21.0784 20.0449Z",fill:"#F68559"}),(0,s.jsx)("path",{d:"M9.1833 15.6472C9.13665 15.0915 8.62353 14.6747 8.01712 14.6747L4.47193 14.86C4.28534 14.86 4.09875 14.86 3.91216 14.9526C3.35239 15.2304 3.21245 16.064 3.21245 16.7123C3.21245 17.5921 2.79263 20.6021 3.72557 20.6947C5.21828 20.8799 7.08417 20.8336 8.57688 20.8336C8.71683 20.8336 8.90341 20.8336 8.99671 20.6947C9.09 20.6021 9.13665 20.4632 9.13665 20.3706C9.50983 19.1666 9.32324 16.9438 9.1833 15.6472Z",fill:"#B8DDF0"}),(0,s.jsx)("path",{d:"M10.3028 15.323C9.64977 12.915 6.89758 13.5633 4.98505 13.656C3.95881 13.7023 3.07251 13.8412 2.51275 14.8137C1.99963 15.7861 2.09292 17.129 2.04627 18.1941C1.99963 19.2129 1.95298 20.4632 2.65269 21.2967C3.58563 22.3618 5.8247 22.0376 7.03753 22.0376C8.57688 22.0376 9.9763 22.2229 10.3961 20.4632C10.7693 18.935 10.5361 17.2216 10.3495 15.6472C10.1629 14.1653 7.83053 14.1653 8.01712 15.6472C8.11041 16.5733 8.20371 17.4995 8.20371 18.4256C8.20371 18.7498 8.01712 19.537 8.15706 19.8149C8.11041 19.7223 9.09 19.7686 8.25035 19.7223C7.97047 19.7223 7.73723 19.7223 7.45735 19.7223C6.38446 19.7223 5.26493 19.5833 4.19204 19.6296C4.56522 19.6296 4.28534 20.0927 4.42528 19.6759C4.47193 19.5833 4.37863 19.3981 4.37863 19.2592C4.33199 18.8887 4.37863 18.472 4.37863 18.0552C4.37863 17.5921 4.28534 16.7123 4.47193 16.2492C4.61187 15.8324 4.79846 15.9713 5.26493 15.925C5.63811 15.925 7.97047 15.6009 8.06376 15.8787C8.43694 17.3606 10.676 16.7586 10.3028 15.323Z",fill:"#B8DDF0"}),(0,s.jsx)("path",{d:"M17.081 7.62704C17.3953 7.27536 17.7147 6.92931 18.0399 6.59124C19.28 5.22061 21.3469 7.19431 20.1658 8.51012C19.8062 8.87298 19.4591 9.24353 19.121 9.61973C19.6448 10.127 20.171 10.6343 20.6972 11.1416C22.0554 12.4025 19.9296 14.3216 18.6304 13.0606C18.1967 12.6257 17.7578 12.1908 17.3153 11.7559C17.0236 12.1166 16.7345 12.479 16.4454 12.8413C15.973 13.4444 15.2053 13.7733 14.4375 13.3347C13.788 13.0058 13.4336 12.0738 13.9061 11.4707C14.3526 10.9053 14.8062 10.3335 15.2691 9.76405C14.8745 9.38262 14.4789 9.0012 14.0832 8.61977C12.784 7.35879 14.8509 5.38508 16.1501 6.70089C16.458 7.0096 16.7685 7.31832 17.081 7.62704Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M7.31743 16.0189C6.33783 15.1391 4.75183 15.4169 4.14542 16.6209C3.539 17.8249 3.91218 19.5383 5.3116 19.9551C6.47778 20.3255 7.83055 19.6309 8.20372 18.4732C8.5769 17.2229 7.83055 16.0652 6.66437 15.6021C6.05795 15.3706 5.40489 15.8337 5.2183 16.3894C5.03171 17.0377 5.45154 17.5934 6.0113 17.8249C5.96466 17.8249 5.91801 17.7786 5.87136 17.7323C6.05795 17.9175 5.87136 17.686 5.91801 17.7786C5.96466 17.9175 5.91801 17.6397 5.91801 17.8249C5.91801 17.9638 5.91801 17.7323 5.91801 17.686C5.91801 17.8249 5.82472 17.7786 5.91801 17.7323C6.05795 17.5934 5.82472 17.7786 5.91801 17.7323C5.96466 17.7323 6.05795 17.6397 5.96466 17.686C5.91801 17.686 5.87136 17.686 5.96466 17.686C6.05795 17.686 6.0113 17.686 5.91801 17.686C6.1046 17.7786 6.05795 17.7786 6.19789 17.9
7586638C6.15125 17.9175 6.15125 17.7323 6.19789 17.686C6.19789 17.7786 6.19789 17.7323 6.24454 17.5934V17.6397L6.15125 17.7323C6.1046 17.7323 6.1046 17.7323 6.05795 17.7786C6.19789 17.7323 6.19789 17.7323 6.1046 17.7786C5.96466 17.7786 5.82472 17.7786 5.68477 17.6397C6.15125 18.0564 6.85095 18.1027 7.31743 17.6397C7.7839 17.2229 7.7839 16.4357 7.31743 16.0189Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M33.6136 8.83657C33.3591 9.39585 33.8681 9.14163 33.2573 9.09079C32.952 9.03995 32.5957 8.88741 32.2904 8.78573C31.527 8.5315 30.3055 8.27728 29.6948 7.718C29.2877 7.36209 29.3386 7.56547 29.2877 7.10787C29.2368 6.59943 29.7966 5.88761 30.0511 5.43002C30.4582 4.7182 31.0689 3.19288 31.6797 2.73528C31.3743 2.83697 31.0689 2.9895 30.7636 3.09119C31.6797 3.04034 33.1556 4.05723 34.0207 4.41313C34.4788 4.61651 34.9368 4.92158 35.4457 5.07411C34.9877 4.92158 35.7511 4.31145 35.344 4.87073C34.5806 5.9893 34.2243 7.56547 33.6136 8.83657C32.8502 10.311 35.0895 11.5821 35.802 10.1077C36.4636 8.78573 37.0234 7.41294 37.5833 6.04015C37.9904 5.07411 38.1431 4.41313 37.4306 3.49794C36.3618 2.12515 33.8172 1.51502 32.2395 0.854049C30.5091 0.193076 29.7966 0.701517 28.9314 2.22684C27.5064 4.7182 25.0636 7.92138 28.4225 9.85345C29.6439 10.5653 31.0689 11.0737 32.4431 11.4805C34.0716 11.9381 35.0895 11.6838 35.802 10.1077C36.4636 8.63319 34.2752 7.31125 33.6136 8.83657Z",fill:"#F68559"}),(0,s.jsx)("path",{d:"M33.625 4.50272C32.927 3.92367 31.88 3.63414 31.1239 4.09739C30.7749 4.2711 30.4841 4.61854 30.3096 5.02387C29.9606 5.71874 30.0187 6.58732 30.3677 7.22428C30.7749 7.91914 31.4729 8.38239 32.2872 8.44029C33.276 8.4982 34.323 7.91914 34.6138 6.99266C34.9046 6.06617 34.323 5.08178 33.625 4.50272Z",fill:"#F68559"}),(0,s.jsx)("path",{d:"M34.6138 3.46043C33.1015 2.24441 30.8912 1.89698 29.4952 3.51833C28.1574 5.08178 28.3319 7.57171 29.9024 8.90353C31.4147 10.1775 33.7413 10.1775 35.1373 8.67191C36.6496 7.10847 36.1843 4.79225 34.6138 3.46043C33.2178 2.24441 31.1239 4.2711 32.578 5.48712C32.8688 5.77664 33.3923 6.18198 33.1015 6.64522C32.8688 6.99266 32.2872 6.99266 31.9382 6.81894C31.0657 6.29779 31.5892 4.79225 32.578 5.54502C33.2178 6.00826 34.0322 6.12407 34.6138 5.54502C35.1373 5.02387 35.2536 3.92367 34.6138 3.46043Z",fill:"#F68559"}),(0,s.jsx)("path",{d:"M15.1542 25.7895C12.5886 25.0023 5.03178 20.9735 3.58572 25.6506C2.88601 27.9197 5.17172 29.9109 6.89767 31.0223C9.50992 32.6431 12.6819 33.4303 15.714 33.8934C17.1601 34.1249 17.8131 31.9021 16.3204 31.6706C14.5478 31.3927 12.7286 31.0223 11.0493 30.4203C10.0697 30.0498 5.03178 28.0123 5.96473 26.3915C6.57114 25.2801 8.81021 25.9748 9.6965 26.3452C11.2825 26.9935 12.9152 27.5029 14.5478 28.0123C15.9939 28.4754 16.6003 26.2526 15.1542 25.7895Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M33.2067 20.8346C32.2271 18.3803 30.6878 14.3052 27.3292 14.4905C25.0434 14.6294 23.6907 17.2689 23.9706 19.3065C24.1571 20.5568 24.5303 21.7608 24.8569 22.9185C24.9968 23.5668 26.023 26.2063 25.5566 26.762C25.0434 27.4103 21.7781 27.0398 20.9385 26.9935C18.9327 26.9009 17.0668 26.2989 15.1542 25.7432C13.7082 25.3265 13.1018 27.5492 14.5478 27.966C17.4866 28.8458 20.2854 29.4478 23.4108 29.3552C25.0434 29.3089 27.3758 29.3089 27.8423 27.364C28.3554 25.3265 27.2359 22.6869 26.7227 20.742C26.4895 19.8158 26.023 18.7508 26.4429 17.8246C28.0755 14.4905 30.5012 20.2326 30.9676 21.3903C31.5274 22.8258 33.7665 22.2238 33.2067 20.8346Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M24.2504 40.8395C27.9356 39.7744 31.7606 38.0147 33.8131 34.6343C35.5391 31.7632 35.5391 28.4291 34.6528 25.2801C34.2329 23.8446 31.9939 24.4466 32.4137 25.8821C34.3262 32.6431 29.9414 36.8107 23.644 38.6167C22.198 38.9872 22.8044 41.2563 24.2504 40.8395Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M3.77231 25.2801C-0.239355 25.4654 -0.379296 29.6331 1.95307 32.0874C5.31167 35.653 10.7694 37.3201 15.4808 37.9221C16.9735 38.1073 16.9735 35.792 15.4808 35.6067C12.3087 35.19 9.18339 34.1712 6.4312 32.5967C5.40496 31.9947 4.37872 31.3464 3.58572 30.4666C3.02595 29.8646 1.76648 27.6881 3.77231 27.6418C5.26502 27.5492 5.26502 25.2338 3.77231 25.2801Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M12.7286 41.4878C16.7402 41.8583 20.2388 41.8583 24.1571 40.8395C25.6032 40.469 24.9968 38.2463 23.5507 38.6167C19.819 39.5892 16.5536 39.5429 12.7286 39.1724C11.2359 39.0335 11.2359 41.3489 12.7286 41.4878Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M1.11341 31.1149C-2.33848 35.7457 4.23878 39.0798 7.97056 40.2375C9.41662 40.7006 10.023 38.4315 8.57697 38.0147C7.08426 37.5517 5.6382 36.7181 4.28543 35.9309C2.69942 34.9584 1.81312 33.986 3.0726 32.3189C4.00554 31.1149 1.99971 29.9572 1.11341 31.1149Z",fill:"#1E2882"})]}),L=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"42",viewBox:"0 0 33 42",fill:"none",children:[(0,s.jsx)("path",{d:"M0.571409 18.999C1.00003 26.7133 0.830422 28.7022 0.604035 37.1971C0.558758 38.7537 0.377649 40.7552 1.78125 41.5112C2.46041 41.8671 3.86401 41.6447 4.63372 41.6447C8.4823 41.6447 12.3309 41.6447 16.1795 41.6002C18.715 41.6002 21.2052 41.6002 23.7408 41.6002C24.6011 41.6002 25.5066 41.6002 26.3216 41.3778C27.1366 41.1554 27.9516 40.6662 28.3591 39.9101C28.6307 39.3764 28.7666 38.7982 28.7666 38.1756C28.6307 30.8815 27.5472 24.2667 28 16.8392C25.6003 17.195 23.1592 16.9282 20.7142 16.8392C20.0804 16.7947 19.8813 16.8723 19.4285 16.4276C19.0663 16.0718 18.6619 15.6311 18.5714 15.1419C18.3903 14.0745 18.9094 11.1109 19 9.99897C16.1491 9.85777 12.4864 9.84615 8.2857 9.99898C5.84072 10.0879 0.999932 9.57044 0.571431 10.8562",fill:"#FFD15A"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.8919 16.5934C5.66277 16.6065 5.43266 16.6214 5.20095 16.638C3.78667 16.7237 3.82953 14.5808 5.20095 14.4951C6.40095 14.4094 7.5581 14.3665 8.7581 14.4094C10.1295 14.4522 10.1295 16.5951 8.7581 16.5522C8.51602 16.5436 8.27568 16.5384 8.03638 16.5364C8.01373 17.3227 8.00157 18.1017 8.02256 18.8963C8.02609 18.9284 8.02842 18.9613 8.02947 18.995V19.1236C8.07233 20.495 5.92947 20.495 5.88661 19.1236C5.85715 18.2692 5.8682 17.4351 5.8919 16.5934Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M19.8149 3.99435C19.9006 2.06578 21.5292 2.45149 22.9863 2.49435C24.5292 2.49435 26.2435 2.32292 27.7435 2.53721C28.8578 2.70864 29.6292 2.96578 29.8863 4.03721C30.0149 4.55149 29.8863 5.15149 29.9292 5.66578C29.972 6.90864 30.0149 8.19435 30.1006 9.43721C30.1863 10.8086 32.3292 10.8086 32.2435 9.43721C32.1578 7.38007 32.4149 5.02292 31.9435 3.00864C31.4721 0.951495 29.672 0.480066 27.7863 0.394352C25.4292 0.265781 22.6435 -0.0770767 20.2863 0.351495C18.3149 0.694352 17.7578 2.06578 17.7149 3.95149C17.6292 5.36578 
758619.7721 5.36578 19.8149 3.99435Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M17.5011 9.30982C17.4582 11.667 16.6011 16.767 19.2154 18.0098C20.5011 18.6527 22.3011 18.3527 23.6725 18.3955C26.0296 18.3955 28.3868 18.3955 30.7011 18.3955C32.0725 18.3955 32.0725 16.2527 30.7011 16.2527C27.7011 16.2098 24.6582 16.2955 21.6582 16.2527C20.7154 16.2527 20.1582 16.3812 19.7296 15.267C19.5582 14.7098 19.6439 13.9384 19.6011 13.3384C19.5154 12.0098 19.5582 10.6813 19.6011 9.30982C19.6439 7.93839 17.5011 7.93839 17.5011 9.30982Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M22.0439 4.97985C21.7439 5.15128 21.8297 5.837 21.7868 6.09414C21.7011 7.637 21.8296 9.09414 21.8296 10.637C21.8296 11.1941 21.7868 11.6227 21.8725 12.2656C21.9154 12.437 21.8725 12.7799 21.9582 12.9513C22.0868 13.2513 22.4296 13.2941 22.6868 13.2941C24.3154 13.337 25.9439 12.9513 27.5725 13.1227C27.6582 13.1227 27.7011 12.9513 27.7868 12.9084C27.8297 12.8656 28.1297 12.7799 28.1725 12.737C28.3439 12.437 28.3439 12.6084 28.3011 12.2656C28.2582 12.0513 28.3011 11.5799 28.3011 11.3227C28.1297 9.77985 28.1725 5.70843 27.9582 5.15128C27.8725 4.89414 27.5725 4.80843 27.1439 4.80843C26.5011 4.85128 25.3868 4.72271 24.7011 4.67985C24.0582 4.67985 22.3868 4.76557 22.0439 4.97985Z",fill:"#F68559"}),(0,s.jsx)("path",{d:"M21.3154 4.20843C20.2868 5.537 20.7582 7.76557 20.7582 9.30843C20.7582 10.5941 20.2868 13.0799 21.5297 13.9799C22.2154 14.4941 23.1154 14.3656 23.9297 14.3227C25.0868 14.237 26.5011 14.4084 27.6154 14.1941C27.9154 14.1513 28.0868 14.0227 28.3868 13.8941C28.6868 13.7227 28.1297 14.0656 28.4297 13.8513C28.8582 13.5513 29.2011 13.3799 29.3297 12.8227C29.6297 11.7513 29.2868 10.2513 29.2439 9.17985C29.2011 7.89414 29.3725 6.39414 29.0725 5.15128C28.7297 3.69414 27.4868 3.82271 26.2439 3.737C24.8297 3.65128 23.1582 3.437 21.7868 3.95128C20.5011 4.46557 21.0582 6.52271 22.3439 6.00843C23.0725 5.75128 23.9297 5.75128 24.7011 5.75128C25.2582 5.75128 26.2439 6.05128 26.7154 5.87985C27.2297 6.00843 27.3154 5.87985 26.9725 5.45128C26.9725 5.537 26.9725 5.62271 27.0154 5.70843C26.7582 6.26557 27.1011 7.67985 27.1011 8.32271C27.1439 9.26557 27.1868 10.2513 27.2297 11.1941C27.2297 11.4941 27.1439 12.0084 27.2297 12.2656C27.2297 12.7799 27.3582 12.6513 27.5297 11.8799C27.4011 11.9227 27.2725 11.9656 27.1439 12.0513C27.0582 12.0941 26.9725 12.1799 26.9297 12.2656C27.1011 11.8799 26.8868 11.7941 26.3725 11.9656C25.7297 11.837 24.8725 12.0513 24.2297 12.137C23.9297 12.1799 23.6297 12.1799 23.3297 12.1799C22.9011 12.3513 22.7725 12.1799 22.9011 11.6656C22.7297 11.1084 22.9011 10.2084 22.9011 9.65128C22.9011 8.87985 22.8582 8.15128 22.8582 7.37986C22.8582 7.16557 22.7297 5.837 22.8154 5.70843C23.6297 4.67986 22.1297 3.137 21.3154 4.20843Z",fill:"#F68559"}),(0,s.jsx)("path",{d:"M23.6298 8.15086C23.3727 8.66515 23.2441 9.26515 23.3727 9.82229C23.5441 10.5937 24.3584 11.0223 25.087 11.0223C25.8156 11.0223 26.5013 10.6794 26.8441 10.0794C27.2727 9.308 27.0584 8.49372 26.5013 7.85086C25.9441 7.25086 25.087 7.03658 24.3584 7.46515C23.7584 7.76515 23.3298 8.49372 23.3298 9.17943C23.3727 10.0794 24.187 10.5937 25.0013 10.508C25.8584 10.4223 26.7156 9.608 26.4156 8.66515C26.2441 8.19372 25.8584 7.89372 25.387 7.89372C25.387 7.89372 25.387 7.89372 25.3441 7.89372C25.0013 7.85086 24.5727 8.108 24.4013 8.408C24.4013 8.408 24.4013 8.408 24.4013 8.45086C24.1441 8.96515 24.2727 9.65086 24.787 9.908C25.3013 10.1651 25.987 10.0366 26.2441 9.52229C26.2441 9.52229 26.2441 9.52229 26.2441 9.47943C25.9441 9.65086 25.6441 9.82229 25.3013 9.99372C25.3013 9.99372 25.3013 9.99372 25.3441 9.99372C25.0013 9.73658 24.6584 9.47943 24.3156 9.22229C24.2727 8.708 24.4013 8.45086 24.7441 8.408C24.8727 8.36515 24.9155 8.36515 24.8298 8.36515C24.7441 8.36515 24.7441 8.36515 24.9156 8.408C25.087 8.66515 25.2584 8.96515 25.4298 9.22229C25.4298 9.26515 25.387 9.26515 25.387 9.308C25.4298 9.22229 25.4298 9.22229 25.387 9.26515C25.3441 9.308 25.3441 9.308 25.4298 9.22229C25.3441 9.26515 25.3013 9.308 25.2156 9.35086C25.087 9.39372 24.8727 9.22229 24.8298 9.26515C24.787 9.22229 24.787 9.22229 24.8298 9.26515C24.8727 9.308 24.9156 9.308 24.9156 9.35086L24.8727 9.308C24.9584 9.43658 24.9584 9.43658 24.9156 9.26515C24.9156 9.09372 24.9156 9.13658 24.9584 8.96515C24.8727 9.05086 24.9156 9.05086 24.9584 8.96515C25.0441 8.87943 25.0441 8.92229 25.1727 8.87943C25.1298 8.87943 25.087 8.87943 25.087 8.87943C25.1298 8.87943 25.1298 8.87943 25.1727 8.87943C25.087 8.83658 25.0441 8.83658 25.1298 8.87943C25.2156 8.92229 25.3013 8.96515 25.3013 9.09372C25.4298 9.17943 25.4727 9.308 25.4727 9.47943C25.4727 9.43658 25.4727 9.43658 25.4727 9.39372C25.4727 9.35086 25.5155 9.13658 25.4727 9.308C25.4298 9.47943 25.4727 9.26515 25.5156 9.22229
7586C25.6441 8.92229 25.5584 9.13658 25.5156 9.22229C25.7298 8.708 25.687 8.06515 25.1298 7.76515C24.6584 7.55086 23.887 7.63658 23.6298 8.15086Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M23.0727 13.8937C24.187 12.2223 26.3298 12.3937 27.5727 13.8937C27.8298 13.2937 28.087 12.6937 28.3441 12.0509C26.3298 12.2651 24.3155 12.2651 22.2584 12.2651C20.887 12.2651 20.887 14.408 22.2584 14.408C24.2727 14.408 26.3298 14.408 28.3441 14.1937C29.287 14.108 29.7156 13.1223 29.1156 12.3509C26.9727 9.73658 23.0727 10.0366 21.2727 12.7794C20.4584 13.9794 22.3013 15.0509 23.0727 13.8937Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M15.0587 19.8518H11.073C9.65867 19.8518 9.65867 17.709 11.073 17.709H15.0587C16.4301 17.709 16.4301 19.8518 15.0587 19.8518Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M24.573 24.909H6.35867C4.94438 24.909 4.94438 22.7661 6.35867 22.7661H24.573C25.9444 22.7661 25.9444 24.909 24.573 24.909Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M6.18726 30.009H24.7016C26.073 30.009 26.073 27.8661 24.7016 27.8661H6.18726C4.81583 27.8661 4.81583 30.009 6.18726 30.009Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M24.7016 35.0661H6.18726C4.81583 35.0661 4.81583 32.9233 6.18726 32.9233H24.7016C26.073 32.9233 26.073 35.0661 24.7016 35.0661Z",fill:"#1E2882"})]}),N=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"38",viewBox:"0 0 42 38",fill:"none",children:[(0,s.jsx)("path",{d:"M5.77506 8.81995C5.77506 6.92973 7.30489 5.3961 9.1951 5.39139L33.2922 5.33142C35.215 5.32664 36.7658 6.90369 36.7287 8.8261L36.3384 29.0602C36.3031 30.8923 34.8334 32.3727 33.0016 32.4214L9.29472 33.0515C7.36618 33.1027 5.77506 31.5533 5.77506 29.6241L5.77506 8.81995Z",fill:"#B8DDF0"}),(0,s.jsx)("path",{d:"M21.9136 25.0627C25.681 20.464 30.2856 13.3568 30.2856 13.3568C30.2856 13.3568 26.5811 12.1159 26.1469 12.143C20.2817 12.5095 13.8202 15.8183 12.2856 22.5543C12.2856 22.5543 15.6345 27.5711 17.3089 27.5711C18.9833 27.5711 21.9136 25.0627 21.9136 25.0627Z",fill:"white"}),(0,s.jsx)("path",{d:"M9.6717 4.30071C8.60027 4.30071 7.52885 4.34357 6.45742 4.34357C5.60027 4.34357 4.65742 4.47214 3.80027 4.42928C2.85742 4.38643 2.4717 3.78643 3.3717 3.14357C4.95742 2.02928 4.5717 5.37214 4.5717 6.27214C4.61456 7.77214 4.61456 9.315 4.70027 10.815C4.74313 12.1864 6.88599 12.1864 6.84313 10.815C6.80027 9.18643 6.75742 7.55786 6.71456 5.97214C6.6717 4.815 6.92885 3.18643 6.3717 2.115C5.51456 0.486428 3.32885 0.314999 2.00027 1.47214C0.628846 2.62928 -0.0140113 5.02928 1.74313 6.10071C2.90027 6.78643 4.44313 6.52928 5.68599 6.48643C7.01456 6.44357 8.30027 6.44357 9.62885 6.44357C11.0431 6.44357 11.0431 4.30071 9.6717 4.30071Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M31.1434 6.22925C33.7577 6.22925 36.6719 6.27211 39.2434 5.5864C41.0862 5.07211 41.9862 2.92925 40.7005 1.34354C39.4577 -0.15646 36.9719 -0.0278885 35.9434 1.64354C35.1719 2.84354 35.3434 4.30068 35.3434 5.62925C35.3434 7.21497 35.3005 8.80068 35.3005 10.3864C35.3005 11.7578 37.4434 11.7578 37.4434 10.3864C37.4434 9.01497 37.4434 7.60068 37.4434 6.22925C37.4434 5.50068 37.2719 4.55783 37.4434 3.87211C37.4862 2.80068 37.8719 2.2864 38.6434 2.45783C39.2005 3.01497 39.2434 3.35783 38.7719 3.44354C38.2577 4.04354 35.8577 3.87211 35.1291 3.95783C33.8005 4.04354 32.4291 4.0864 31.1005 4.0864C29.7719 4.0864 29.7719 6.22925 31.1434 6.22925Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M6.58622 17.329C6.58622 17.2862 6.58622 17.2433 6.58622 17.2004C5.85764 17.2004 5.17193 17.2004 4.44336 17.2004C4.44336 19.129 4.44336 21.1004 4.44336 23.029C5.17193 23.029 5.85764 23.029 6.58622 23.029C6.58622 22.6433 6.58622 22.2576 6.58622 21.8719C5.85764 21.8719 5.17193 21.8719 4.44336 21.8719C4.44336 22.2147 4.44336 22.5147 4.44336 22.8576C4.44336 24.229 6.58622 24.229 6.58622 22.8576C6.58622 22.5147 6.58622 22.2147 6.58622 21.8719C6.58622 20.5004 4.44336 20.5004 4.44336 21.8719C4.44336 22.2576 4.44336 22.6433 4.44336 23.029C4.44336 24.4004 6.58622 24.4004 6.58622 23.029C6.58622 21.1004 6.58622 19.129 6.58622 17.2004C6.58622 15.829 4.44336 15.829 4.44336 17.2004C4.44336 17.2433 4.44336 17.2862 4.44336 17.329C4.44336 18.7004 6.58622 18.7004 6.58622 17.329Z",fill:"#1E2882"}
7586),(0,s.jsx)("path",{d:"M17.6003 6.68389C19.4003 6.59818 21.2003 6.55532 23.0003 6.59818C24.3718 6.64103 24.3718 4.49818 23.0003 4.45532C21.2003 4.41246 19.4003 4.41246 17.6003 4.54103C16.2289 4.62675 16.2289 6.76961 17.6003 6.68389Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M35.3433 16.5579C35.3433 18.4436 35.3433 20.3293 35.3433 22.215C36.0718 22.215 36.7575 22.215 37.4861 22.215C37.4861 21.4864 37.4861 20.715 37.4861 19.9864C37.4861 18.615 35.3433 18.615 35.3433 19.9864C35.3433 20.715 35.3433 21.4864 35.3433 22.215C35.3433 23.5864 37.4861 23.5864 37.4861 22.215C37.4861 20.3293 37.4861 18.4436 37.4861 16.5579C37.4861 15.1864 35.3433 15.1864 35.3433 16.5579Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M4.40034 29.4149C4.4432 30.1434 4.4432 30.872 4.48606 31.6434C4.52892 32.5006 4.87177 34.5148 4.4432 35.2863C3.75749 36.4434 2.72892 34.772 3.58606 34.2149C3.97177 33.9577 5.00034 34.172 5.51463 34.172C6.88606 34.2149 8.25749 34.172 9.62892 34.1291C11.0003 34.0863 11.0003 31.9434 9.62892 31.9863C8.0432 32.0291 6.50034 31.9863 4.95749 31.9863C3.97177 31.9863 2.9432 31.9863 2.08606 32.5863C0.457487 33.7434 0.886058 36.1006 2.30034 37.2148C3.80034 38.4148 5.90034 37.9863 6.50034 36.0577C7.1432 34.0006 6.71463 31.5149 6.62892 29.372C6.50034 28.0434 4.35749 28.0434 4.40034 29.4149Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M17.2146 33.9576C19.486 33.8719 21.7146 33.9148 23.986 33.829C25.3575 33.7862 25.3575 31.6433 23.986 31.6862C21.7575 31.7719 19.486 31.729 17.2146 31.8148C15.8432 31.8576 15.8432 34.0005 17.2146 33.9576Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M35.2577 28.9852C35.2577 30.1423 35.3862 31.2137 35.2577 32.328C35.1291 33.528 35.1291 34.5137 35.8148 35.5423C36.8434 37.0423 38.8148 37.8566 40.1005 36.2709C41.1719 34.9852 41.1291 32.8423 39.7148 31.8566C38.6434 31.0852 37.4005 31.2566 36.1577 31.3423C34.7434 31.428 33.3291 31.428 31.9148 31.428C30.5434 31.428 30.5434 33.5709 31.9148 33.5709C33.2434 33.5709 34.5719 33.5709 35.9434 33.4852C36.5005 33.4423 37.2291 33.2709 37.7862 33.3995C38.3005 33.4852 39.1577 34.1709 38.5577 34.8137C38.2577 35.1137 38.0862 34.9423 37.7434 34.5566C37.1862 33.9137 37.3148 33.1423 37.4005 32.3709C37.5291 31.2137 37.4434 30.0995 37.4005 28.9423C37.3577 27.6137 35.2148 27.6137 35.2577 28.9852Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M26.272 11.4662C24.9487 9.78434 22.1417 10.6048 20.4976 11.2611C17.7307 12.4097 15.6456 14.5838 14.0416 17.1271C12.4777 19.6704 11.4752 22.747 13.1594 25.4954C14.5228 27.7515 17.1292 27.9977 19.3748 27.0542C22.1818 25.9056 24.3873 23.2392 26.1918 20.86C27.1541 19.5473 28.0363 18.1526 28.7982 16.7169C29.4398 15.4863 30.322 14.0505 30.2819 12.6148C30.2418 10.2766 28.2368 9.86638 26.6729 11.138C24.7883 12.6968 23.3848 15.1581 22.3422 17.3322C20.8986 20.3267 20.2169 23.1982 22.9036 25.6185C25.750
75867 28.2028 28.2368 26.767 30.8032 24.5519C31.8057 23.6905 30.3621 22.2547 29.3997 23.1162C28.2368 24.1007 26.9536 25.4954 25.3497 24.8391C23.9061 24.2648 22.8635 22.747 23.064 21.1472C23.3447 19.0551 24.8685 16.7989 25.9913 15.0761C26.4324 14.4197 26.8734 13.8044 27.3947 13.2711C28.7982 11.8354 28.1165 13.4762 27.6754 14.4607C26.6729 16.6348 25.4299 18.7269 23.9061 20.5729C22.4625 22.3368 20.7783 24.3058 18.6129 25.2082C15.0842 26.644 13.4401 22.9111 14.8035 19.9165C15.806 17.7014 17.4901 15.4452 19.4951 14.0915C20.4575 13.4352 23.8259 11.6303 24.8284 12.9019C25.6304 13.9275 27.0739 12.4917 26.272 11.4662Z",fill:"#1E2882"})]}),I=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"35",height:"39",viewBox:"0 0 35 39",fill:"none",children:[(0,s.jsx)("path",{d:"M22.5424 3.20204C25.9778 2.57967 30.3039 3.36801 32.3821 6.14794C34.2482 8.63744 35.0116 11.9568 34.7147 15.0271C34.3754 18.222 32.2548 20.9604 29.5829 22.7446C27.7167 23.9893 25.2568 24.1968 23.0938 23.6159C20.9308 23.035 17.9195 22.1222 16.4351 20.4625C14.1449 17.8071 13.9328 15.0686 13.7207 11.5833C13.6359 10.0067 14.3993 7.06076 15.8837 6.52137C15.9262 6.52137 19.1071 3.82441 22.5424 3.20204Z",fill:"#FFD15A"}),(0,s.jsx)("path",{d:"M1.8327 35.9611C1.63768 28.4442 1.63768 20.966 1.7937 13.449C1.7937 12.8397 2.23658 12.5207 2.70025 12.488C2.72207 12.472 2.74492 12.4566 2.76882 12.4416C7.48845 8.10597 10.9989 5.78114 15.1333 2.87105C15.7184 2.28985 16.8495 2.71606 16.8105 3.5685C16.6807 8.52701 16.9833 13.4855 17.286 18.444C17.6195 23.9085 17.953 29.373 17.7077 34.8375C17.6687 35.4187 17.2786 35.7287 16.7325 35.8062C12.091 36.3486 7.44939 36.7361 2.80782 36.9298C2.26176 36.9686 1.8327 36.4649 1.8327 35.9611Z",fill:"#B8DDF0"}),(0,s.jsx)("path",{d:"M1.44194 11.5952C6.11119 7.64967 11.0475 4.00759 16.2509 0.743893C16.7614 0.174059 17.9805 0.379301 17.9805 1.35962C18.1106 6.73762 18.1713 12.0984 18.232 17.4649C18.2623 20.1406 18.2926 22.8177 18.3315 25.4991C18.3315 26.739 16.3813 26.739 16.3813 25.4991C16.3424 22.8177 16.3121 20.1406 16.2818 17.4649C16.2278 12.6934 16.1738 7.92646 16.0711 3.14789C11.4844 6.11024 7.0919 9.35532 2.92254 12.8545L2.81207 36.2291C7.62718 35.5021 12.4753 35.1084 17.3565 35.1084C18.6046 35.1084 18.6046 37.0458 17.3565 37.0458C12.2468 37.0458 7.13721 37.4332 2.06659 38.2857C1.41683 38.3898 0.969816 37.9009 0.882892 37.3962C0.866312 37.3238 0.857422 37.2457 0.857422 37.162L0.974436 12.4026C0.974436 12.0076 1.17228 11.7385 1.44194 11.5952Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M18.2927 8.83781C21.4911 8.3341 24.7285 8.25661 27.9659 8.37285C27.6539 8.06287 27.3028 7.71414 26.9908 7.40417C27.1858 14.4562 27.3808 21.5081 27.6539 28.5989C27.6929 29.8388 29.6431 29.8388 29.6041 28.5989C29.3311 21.5469 29.136 14.4949 28.941 7.40417C28.941 6.861
758671 28.512 6.47424 27.9659 6.43549C24.5335 6.31925 21.14 6.43549 17.7856 6.97795C16.5375 7.17168 17.0445 9.03155 18.2927 8.83781Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M19.3067 33.5969C21.179 33.3645 23.0902 33.2482 24.9624 33.287C26.2106 33.287 26.2106 31.3496 24.9624 31.3496C23.0512 31.3496 21.179 31.4659 19.3067 31.6596C18.0586 31.8146 18.0586 33.7519 19.3067 33.5969Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M18.0195 13.5651C20.2038 13.3713 22.388 13.1776 24.5723 13.1776C25.8204 13.1776 25.8204 11.2402 24.5723 11.2402C22.9341 11.2402 21.2959 11.371 19.6577 11.5018C19.1116 11.5454 18.5656 11.589 18.0195 11.6277C16.7713 11.7052 16.7713 13.6426 18.0195 13.5651Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M18.0195 20.2296C19.9307 20.0262 21.842 20.0304 23.7532 20.0346L23.7552 20.0346C24.0276 20.0352 24.2999 20.0358 24.5723 20.0358C25.8204 20.0358 25.8204 18.0985 24.5723 18.0985C22.388 18.0985 20.2038 18.0985 18.0195 18.2922C16.7713 18.4085 16.7713 20.3458 18.0195 20.2296Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M24.2993 26.0029C22.076 26.0029 19.8137 26.0029 17.6295 26.4291C16.4203 26.6616 15.8742 24.8017 17.0834 24.5693C19.4627 24.1043 21.881 24.0655 24.2993 24.0655C25.5474 24.0655 25.5474 26.0029 24.2993 26.0029Z",fill:"#1E2882"}),(0,s.jsx)("path",{d:"M3.7824 18.0195C4.67951 22.2042 5.49862 26.4276 6.43473 30.6123C6.62976 31.5035 8.15094 31.5422 8.30696 30.6123C9.00905 26.7376 9.47711 22.7854 10.0232 18.8719C9.3991 18.8719 8.77502 18.8719 8.15094 18.8719C8.89203 22.1267 9.67213 25.3814 10.7643 28.5587C11.1153 29.6049 12.5975 29.4112 12.6755 28.2875C13.1046 23.1729 13.5726 18.0582 14.0017 12.9436C14.1187 11.7037 12.1684 11.7037 12.0514 12.9436C11.6224 18.0582 11.1543 23.1729 10.7253 28.2875C11.3493 28.21 12.0124 28.1325 12.6365 28.0163C11.5444 24.839 10.7643 21.623 10.0232 18.3295C9.82815 17.4383 8.26796 17.3608 8.15094 18.3295C7.56587 22.2429 7.13682 26.1564 6.43473 30.0699C7.05881 30.0699 7.68288 30.0699 8.30696 30.0699C7.37085 25.8852 6.55175 21.6617 5.65464 17.477C5.42061 16.2759 3.54838 16.7796 3.7824 18.0195Z",fill:"#1E2882"})]}),M=()=>(0,s.jsxs)("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{filter:"url(#filter0_di_4885_8205)",children:[(0,s.jsx)("path",{d:"M22.1615 3.30787C24.8044 -1.10263 31.1956 -1.10262 33.8385 3.30787C35.3798 5.88003 35.6403 9.92311 38.5489 9.1942C43.5364 7.94433 48.0557 12.4636 46.8058 17.4511C46.0769 20.3598 50.12 20.6202 52.6921 22.1615C57.1026 24.8044 57.1026 31.1956 52.6921 33.8385C50.12 35.3798 46.0769 35.6403 46.8058 38.5489C48.0557 43.5364 43.5364 48.0557 38.5489 46.8058C35.6403 46.0769 35.3798 50.12 33.8385 52.6921C31.1956 57.1026 24.8044 57.1026 22.1615 52.6921C20.6202 50.12 20.3598 46.0769 17.4511 46.8058C12.4636 48.0557 7.94433 43.5364 9.1942 38.5489C9.92311 35.6403 5.88003 35.3798 3.30787 33.8385C-1.10262 31.1956 -1.10262 24.8044 3.30787 22.1615C5.88003 20.6202 9.92311 20.3598 9.1942 17.4511C7.94433 12.4636 12.4636 7.94433 17.4511 9.1942C20.3598 9.92311 20.6202 5.88003 22.1615 3.30787Z",fill:"#E846E8"}),(0,s.jsx)("path",{d:"M22.1615 3.30787C24.8044 -1.10263 31.1956 -1.10262 33.8385 3.30787C35.3798 5.88003 35.6403 9.92311 38.5489 9.1942C43.5364 7.94433 48.0557 12.4636 46.8058 17.4511C46.0769 20.3598 50.12 20.6202 52.6921 22.1615C57.1026 24.8044 57.1026 31.1956 52.6921 33.8385C50.12 35.3798 46.0769 35.6403 46.8058 38.5489C48.0557 43.5364 43.5364 48.0557 38.5489 46.8058C35.6403 46.0769 35.3798 50.12 33.8385 52.6921C31.1956 57.1026 24.8044 57.1026 22.1615 52.6921C20.6202 50.12 20.3598 46.0769 17.4511 46.8058C12.4636 48.0557 7.94433 43.5364 9.1942 38.5489C9.92311 35.6403 5.88003 35.3798 3.30787 33.8385C-1.10262 31.1956 -1.10262 24.8044 3.30787 22.1615C5.88003 20.6202 9.92311 20.3598 9.1942 17.4511C7.94433 12.4636 12.4636 7.94433 17.4511 9.1942C20.3598 9.92311 20.6202 5.88003 22.1615 3.30787Z",fill:"white",fillOpacity:"0.88"})]}),(0,s.jsx)("defs",{children:(0,s.jsxs)("filter",{id:"filter0_di_4885_8205",x:"-2.33333",y:"-4.66667",width:"60.6667",height:"60.6667",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,s.jsx)("feFlood",{floodOpacity:"0",result:"Backgroun
7586dImageFix"}),(0,s.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,s.jsx)("feOffset",{dy:"-2.33333"}),(0,s.jsx)("feGaussianBlur",{stdDeviation:"1.16667"}),(0,s.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,s.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"}),(0,s.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4885_8205"}),(0,s.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4885_8205",result:"shape"}),(0,s.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,s.jsx)("feOffset",{}),(0,s.jsx)("feGaussianBlur",{stdDeviation:"3.5"}),(0,s.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,s.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.909804 0 0 0 0 0.27451 0 0 0 0 0.909804 0 0 0 0.4 0"}),(0,s.jsx)("feBlend",{mode:"normal",in2:"shape",result:"effect2_innerShadow_4885_8205"})]})})]}),B=()=>(0,s.jsxs)("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_34_8982)",children:[(0,s.jsx)("path",{d:"M25.7734 
75861.40015C26.0968 1.45845 26.4202 1.49618 26.7368 1.57507C27.4492 1.74945 28.0899 2.1432 28.5699 2.70155C29.0498 3.25989 29.3452 3.95507 29.4149 4.6904C29.4845 5.42573 29.325 6.16466 28.9585 6.8044C28.592 7.44413 28.0367 7.95289 27.3699 8.25989C26.4066 8.70577 25.4262 8.94586 24.3778 8.56515C23.5849 8.31841 22.906 7.79341 22.4644 7.08543C22.0229 6.37746 21.8478 5.53344 21.9711 4.70654C22.0792 3.88161 22.4549 3.11582 23.0398 2.52837C23.6247 1.94092 24.3859 1.56476 25.205 1.45845C25.299 1.44431 25.3922 1.42484 25.4841 1.40015H25.7734Z",fill:"#1A91F0"}),(0,s.jsx)("path",{d:"M26.4538 51.0749C12.31 51.0749 7.0814 53.4759 7.05077 44.4141C7.03375 40.3292 6.16912 25.9443 12.31 30.8387C14.4614 32.5536 12.6028 42.4625 13.8486 45.5871C20.2721 46.0708 38.9807 45.6798 41.2137 44.5582C41.6529 40.3532 39.9066 32.2106 43.0553 29.8097C48.6754 25.5018 47.4806 40.5521 47.5316 44.8017C47.6678 53.8188 43.3651 51.0749 26.4538 51.0749Z",fill:"#1A91F0"}),(0,s.jsx)("path",{d:"M24.4905 18.6285C24.048 19.0984 21.4779 22.5454 20.8073 23.0873C20.5715 23.2919 20.2959 23.4446 19.9981 23.5355C19.7003 23.6265 19.3869 23.6538 19.0781 23.6155C17.822 23.4372 17.1139 22.2436 17.4918 20.9848C17.873 18.9269 20.8958 16.526 22.2847 14.4681C22.5229 14.1251 24.1909 11.4326 24.4905 11.1342C25.6138 10.0092 26.1925 9.9818 27.5269 10.8564C28.1805 11.292 29.9574 14.2314 30.5599 14.7459C32.5546 16.4608 33.5248 17.0062 34.9851 19.2047C35.5366 20.0416 35.717 21.6056 34.9307 22.2367C34.6207 22.5408 34.223 22.7378 33.7947 22.7995C33.3665 22.8611 32.9299 22.7842 32.5478 22.5797C31.656 22.2024 31.1147 21.441 30.2876 20.6075C29.1846 19.4963 28.3983 18.6662 28.0817 18.3816C28.1022 18.7554 28.7898 25.3202 28.9089 28.1087C29.0281 30.9658 29.314 33.0374 29.4604 35.891C29.5863 38.4051 28.2485 39.5404 27.2546 39.5027C26.8097 39.486 26.3729 39.378 25.9708 39.1854C25.5687 38.9928 25.2099 38.7196 24.9161 38.3826C24.6224 38.0455 24.3999 37.6516 24.2624 37.225C24.1248 36.7984 24.075 36.348 24.116 35.9013C24.2182 33.6685 24.4939 32.5572 24.4939 26.7196C24.5075 24.9806 24.4871 18.752 24.4905 18.6285Z",fill:"#1A91F0"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_34_8982",children:(0,s.jsx)("rect",{width:"40.6",height:"53.5574",fill:"white",transform:"translate(7 1.40002)"})})})]}),D=()=>(0,s.jsxs)("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_844_61668)",children:[(0,s.jsx)("path",{d:"M28.3742 44.0184C35.749 44.0184 41.7275 37.9541 41.7275 30.4733C41.7275 22.9926 35.749 16.9282 28.3742 16.9282C20.9994 16.9282 15.0209 22.9926 15.0209 30.4733C15.0209 37.9541 20.9994 44.0184 28.3742 44.0184Z",fill:"#B8DDF0"}),(0,s.jsx)("path",{d:"M51.3479 16.8801C50.8655 16.7706 50.376 16.6969 49.8831 16.6596C48.7301 16.5541 47.6433 16.4487 45.1579 14.8286C42.1432 12.8252 41.9259 8.68398 41.9731 6.99683V6.87222C41.9759 6.64982 41.8939 6.43493 41.7442 6.27239C41.5946 6.10985 41.3888 6.01222 41.1699 5.99988C40.943 5.97574 40.7161 6.04398 40.5388 6.1896C40.3616 6.33521 40.2486 6.54628 40.2248 6.77636C39.8657 10.1986 39.2137 13.5825 36.8416 15.1929C34.2333 16.9663 31.7951 16.5829 30.7461 16.8321C30.5419 16.8843 30.3636 17.0108 30.2452 17.1875C30.1267 17.3642 30.0763 17.5788 30.1035 17.7907C30.1267 18.0009 30.2251 18.1951 30.3802 18.3365C30.5353 18.4779 30.7361 18.5566 30.9446 18.5576C34.3656 18.5576 35.4335 19.4108 37.6165 21.7306C39.2684 23.6118 40.1918 26.0368 40.2154 28.5559C40.21 28.7834 40.2916 29.0043 40.4431 29.1722C40.5946 29.3402 40.8042 29.4422 41.0281 29.457H41.0754C41.2923 29.455 41.5005 29.37 41.6583 29.2189C41.816 29.0678 41.9116 28.8618 41.9259 28.6422C42.1223 26.4836 42.808 24.4003 43.9294 22.555C45.4603 20.1873 47.6245 19.0082 51.1589 18.596C51.3584 18.5698 51.5427 18.4743 51.6806 18.3258C51.8185 18.1772 51.9013 17.9847 51.9149 17.7811C51.9323 17.5884 51.8861 17.3953 51.7834 17.2322C51.6808 17.0691 51.5275 16.9452 51.3479 16.8801Z",fill:"#9092FE"}),(0,s.jsx)("path",{d:"M23.1764 23.7515C21.4531 20.9494 20.2041 15.9881 19.4813 12.7678C18.4513 18.9892 18.5926 22.6508 14.8125 25.5266C11.9315 27.6201 9.00474 28.4389 5.625 29.5206C9.79282 30.0677 13.3642 32.0758 16.125 35.2898C19.1404 38.7419 19.6262 43.1248 20.0625 47.7157C19.9812 43.912 21.243 39.4376 23.1764 36.1774C26.1875 32.1833 30.125 30.7677 34.9375 29.5206C31.875 28.5488 32.3125 29.5206 28.375 27.3017",fill:"white"}),(0,s.jsx)("path",{d:"M23.1764 23.7515C21.4531 20.9494 20.2041 15.9881 19.4813 12.7678C18.4513 18.9892 18.5926 22.6508 14.8125 25.5266C11.9315 27.6201 9.00474 28.4389 5.625 29.5206C9.79282 30.0677 13.3642 32.0758 16.125 35.2898C19.1404 38.7419 19.6262 43.1248 20.0625 47.7157C19.9812 43.912 21.243 39.4376 23.1764 36.1774C26.1875 32.1833 30.125 30.7677 34.9375 29.5206C31.875 28.5488 32.3125 29.5206 28.375 27.3017",stroke:"#1E2882",strokeWidth:"2.6",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_844_61668",children:(0,s.jsx)("rect",{width:"49",he
7586ight:"44",fill:"white",transform:"translate(3 6)"})})})]}),$=({size:e,...t})=>(0,s.jsx)("svg",{width:e,height:e,viewBox:`0 0 ${e} ${e}`,version:"1.1",xmlns:"http://www.w3.org/2000/svg",...t}),O=(e,t)=>i=>(0,s.jsx)($,{size:t,...i,children:(0,s.jsx)(e,{})}),z=c()(r,e=>O(e,16)),F=c()(g,e=>O(e,20)),H=c()(f,e=>O(e,24)),V=c()(y,e=>O(e,32));c()(n,e=>O(e,36));let U=c()(o,e=>O(e,40));c()(a,e=>O(e,48));let W=c()(l,e=>O(e,56))},14649:function(e,t,i){"use strict";i.d(t,{Ay:function(){return r.qJ},BJ:function(){return r.BJ},EK:function(){return r.EK},H7:function(){return r.H7},Yh:function(){return r.Yh},qJ:function(){return r.qJ}});var r=i(86295)},75914:function(e,t,i){"use strict";i.d(t,{A:function(){return _}}),i(18111),i(22489);var r,n=i(96540),o=i(81247),a=i(33093),l=i(18509),s=i(32606),d=i(64667),c=i(3161),u=i(23699),p=i(9888),h=i(86066),x=i(5505),m=i(90019),g=i(15978),y=i(52986),f=((r={}).jobTitle="position",r.workExperiences="workExperience",r),b=i(44506),_=()=>{let e=(0,o.wA)(),t=(0,p.U)(),i=(0,l.N)(s.Tp.resume),{isPhone:r}=(0,h.e)(),{jobTitle:_}=(0,l.N)(s.Tp.attachedJobPostingAPIData)||{},{skills:v}=(0,l.N)(s.Tp.resumeScoreAPIData)||{},j=!!(0,l.N)(s.Tp.attachedJobPostingId),{firstName:A,lastName:C,email:w,workExperiences:k=[]}=i||{},S=i?.score||0,T=t?.features.resumeOptimizer,P=(0,l.N)(s.Tp.hasUsedAiProfileWriter),J=t?.features.aiProfileSummary&&!P,E=t?.features.aiCoverLetters,R=S<100,{allKeywords:L,addedKeywords:N,isKeywordsAvailable:I}=(0,x.wb)(),M=(0,l.N)(s.Tp.resumeScore),B=!!v?.filter(e=>"full_match"!==e.matchType).length,D=(0,b.zz)(i?.profile),{showApplyAllButton:$,tryToStartAutoTailoring:O}=(0,y.G)(),z=(0,n.useCallback)(t=>{let r=t.sectionName;if("section"===t.type&&r){let t=i&&(0,d.oi)(r,i);if(t){let i=t.cid||t.id;e(s.o1.openCard({id:i,sectionId:r})),c.A.scrollToAnchor(i),g.A.focus(i)}else e(s.o1.addCard({sectionName:r,cardId:(0,u.M)(),options:{scrollIntoViewport:!0,shouldOpen:!0}}));(0,a.xP)("click_suggestion_recommendations_panel",{tailored:!!j,score:M,suggestion_type:(0,m.C)(r)})}"simpleField"===t.type&&t.fieldId&&(e(s.o1.setOpenedSections({[s.Gw.details]:!0})),c.A.scrollToAnchor(t.sectionId||t.fieldId),g.A.focus(t.fieldId),(0,a.xP)("click_suggestion_recommendations_panel",{tailored:!!j,score:M,suggestion_type:(0,m.C)(t.fieldId)}))},[e,j,i,M]),F=(0,n.useCallback)(e=>{let t=100-S;return(e.points>t&&(e.points=t),j)?"position_8"===e.key||"skills"===e.sectionName?e.points:Math.ceil(e.points/2):e.points},[S,j]),H=(0,n.useMemo)(()=>!!E&&!!A&&!!C&&!!w&&-1!==k.findIndex(({title:e,employer:t,dateFrom:i})=>e&&t&&i),[E,w,A,C,k]),V=(0,n.useCallback)(()=>{e(s.o1.setIsClickedOnAiCVBanner(!0)),(0,a.xP)("click_suggestion_recommendations_panel",{tailored:!!j,score:M,suggestion_type:"ai_cover_letter"})},[e,j,M]),U=(0,n.useCallback)(()=>{e(s.o1.setIsAiProfileSummaryModalOpen({status:!0})),(0,a.xP)("click_suggestion_recommendations_panel",{tailored:!!j,score:M,suggestion_type:"ai_profile_summary"}),c.A.scrollToAnchor("profile")},[j,M,e]),W=(0,n.useCallback)(t=>{let i;i=t in f?f[t]:t,t===s.jK.skills||t===s.jK.jobTitle?e(s.o1.setOpenedAISuggestionsPopup(t)):e(s.o1.setOpenedKeywordsModalType(t)),(0,a.xP)("click_suggestion_recommendations_panel",{tailored:!!j,score:M,suggestion_type:`${(0,m.C)(i)}_tailored`})},[e,j,M]);return{handleSuggestionClick:z,getSuggestionScore:F,isAICoverLetterActive:H,handleClickCoverLetter:V,isAIProfileWriterActive:J,handleClickAIWriteProfileSummary:U,handleAddTailored:W,isSuggestionsActive:R,isPhone:r,keywordsCount:(0,n.useMemo)(()=>I?`${N.length}/${L.length}`:null,[N.length,L.length,I]),hasSkillsToTailor:B,showAISuggestedJobTitleButton:!!_,handleApplyAll:(0,n.useCallback)(()=>{O(),(0,a.xP)("click_apply_all_auto_tailoring",{label:"recommendations_panel"})},[O]),isResumeOptimizerFeatureEnabled:T,showApplyAllButton:$,isLinkedToJobPosting:j,hasProfileSummary:D}}},26573:function(e,t,i){"use strict";i.d(t,{A$:function(){return o},CA:function(){return n},G4:function(){return a},uJ:function(){return r}}),i(18111),i(20116);let r=[{id:1,name:"High School Diploma",key:"HighSchool"},{id:2,name:"College, No Degree",key:"College"},{id:3,name:"Associate's Degree",key:"Associate"},{id:4,name:"Bachelor's Degree",key:"Bachelor"},{id:5,name:"Master's Degree",key:"Master"},{id:6,name:"Doctoral Degree",key:"Doctoral"}];function n(e){let t=r.find(t=>
7586t.id===e);return t?t.name:""}function o(e){let t=r.find(t=>t.name===e);return t?t.id:-1}function a(e){let t=r.find(t=>t.name===e);return t?t.key:""}},58512:function(e,t,i){"use strict";i.d(t,{$W:function(){return r},lc:function(){return n},or:function(){return a},zt:function(){return o}}),i(18111),i(20116);let r=[{id:1,name:"Fresher",key:"Fresher"},{id:2,name:"1-3 years",key:"1-3"},{id:3,name:"3-6 years",key:"3-6"},{id:4,name:"6-9 years",key:"6-9"},{id:5,name:"10+ years",key:"10+"}];function n(e){let t=r.find(t=>t.id===e);return t?t.name:""}function o(e){let t=r.find(t=>t.name===e);return t?t.id:-1}function a(e){let t=r.find(t=>t.name===e);return t?t.key:""}},63695:function(e,t,i){"use strict";i.d(t,{m:function(){return J}}),i(18111),i(20116),i(61701),i(22489);var r=i(74848),n=i(81247),o=i(96540),a=i(40968),l=i(16466),s=i(64961),d=i(18509),c=i(86066),u=i(38267),p=i(75874),h=i(24833);let x=(0,u.i7)(["from{right:30%;bottom:15%;}to{right:0%;bottom:0;}"]),m=(0,u.Ay)(p.CS.div)([""," opacity:",";transition:height 0.5s ease-in-out,opacity 0.3s ease-in-out,bottom 0.4s ease-in-out;"," "," ",""],e=>e.$modalAsCentre?(0,u.AH)(["display:flex;justify-content:center;align-items:center;position:fixed;left:0;right:",";bottom:",";top:0;z-index:",";"],e.$isHelper?"0":"-100vh",e.$isHelper?"0":"-100vh",12e3*!!e.$isOverlay):(0,u.AH)(["flex-direction:column;position:fixed;right:25px;bottom:",";z-index:9999999999;"],e.$isHelper?"32px":"-100vh"),e=>e.$isHelper?"100":"1",h.A.Phone`
7587    left: 0;
7588    right: 0;
7589    top: initial;
7590    display: initial;
7591    justify-content: initial;
7592    align-items: initial;
7593    animation: none;
7594  `,e=>e.$isHelper?h.A.Phone`
7595      bottom: 0px;
7596    `:h.A.Phone`
7597      bottom: -100vh;
7598    `,e=>e.$helperAnimation&&(0,u.AH)(["animation:"," 0.5s ease-in-out;"],x));var g=i(57238),y=i(49269),f=i(99701);let b=u.Ay.div(["width:304px;height:172px;border-radius:var(--2XS,8px);background:",";position:relative;display:flex;justify-content:center;align-items:center;margin:0;",""],e=>e.onHover?"#E2F1E8":f.Jy.Green10,h.A.Phone`
7599    width: 100%;
7600  `),_=u.Ay.div(["position:relative;width:128px;height:134px;border-radius:50%;",""],h.A.Phone`
7601    width: 130px;
7602    height: 130px;
7603  `),v=u.Ay.img(["position:absolute;bottom:0;left:0;z-index:1200000000000;"]),j=u.Ay.img(["width:100%;border:2.5px solid ",";height:100%;border-radius:50%;"],f.Jy.White);var A=i.p+"media/TrackJobsccfe1c180b2049a8.svg";let C=u.Ay.div(["width:304px;height:172px;border-radius:var(--2XS,8px);background:",";position:relative;display:flex;justify-content:center;align-items:center;margin:0;",""],e=>e.onHover?"#EDEEFE":f.Jy.Indigo10,h.A.Phone`
7604    width: 100%;
7605  `),w=u.Ay.div(["position:relative;width:236.826px;height:236.826px;z-index:1;"]),k=u.Ay.img(["width:100%;height:100%;"]),S=u.Ay.img(["position:absolute;z-index:100;top:134px;width:40px;left:91.5px;height:40px;border-radius:50%;padding:2px;"]),T=u.Ay.iframe(["display:flex;height:171px;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--3XS,4px);border:0;"]),P=[{id:1,name:"improve_resume",title:"Improve your resume",text:"Learn the essential elements of a targeted resume",buttonName:"Learn More",visual:(0,r.jsx)(({videoUrl:e})=>(0,r.jsx)(T,{src:e}),{videoUrl:"https://www.youtube.com/embed/rEhjcu597vs?si=WxQZHtPxmbTAyeH1&showinfo=0"})},{id:2,name:"apply_jobs",title:"Apply for at least 5 jobs",text:"Explore best-matched jobs and add at least five to the job tracker",buttonName:"Open Job Search",visual:(0,r.jsx)(()=>{let e=(0,d.N)(g.Tp.photoUrl),[t,i]=(0,o.useState)(!0);return(0,r.jsx)(C,{onMouseOver:()=>{i(!0)},onMouseOut:()=>{i(!1)},onHover:t,children:(0,r.jsxs)(w,{children:[(0,r.jsx)(k,{src:A}),e&&(0,r.jsx)(S,{src:e})]})})},{})},{id:3,name:"interview_prep",title:"Prepare for interviews",text:"Practice an interview and get detailed AI-powered feedback",buttonName:"Prepare For Interview",visual:(0,r.jsx)(()=>{let e=(0,d.N)(g.Tp.photoUrl),[t,i]=(0,o.useState)(!0);return(0,r.jsx)(b,{onMouseOver:()=>{i(!0)},onMouseOut:()=>{i(!1)},onHover:t,children:(0,r.jsxs)(_,{children:[(0,r.jsx)(j,{src:e}),(0,r.jsx)(v,{src:y})]})})},{})}],J=({currentWidgetName:e,isHelperModalOpen:t,totalSteps:i,completedSteps:u,modalAsCentre:p,labelPayload:h,onStepActionClick:x,handleClose:g,TrackingEvents:y,helperLabel:f})=>{let b=(0,n.wA)(),{isPhone:_}=(0,c.e)(),[v,j]=(0,o.useState)([]),A=(0,d.N)(s.Tp.helperWidgets),C=(0,d.N)(s.Tp.resumeUpdateStatus);return(0,o.useEffect)(()=>
7605{if(C===s.dk.Started)return;b(s.o1.fetchDocuments());let t=A?.find(t=>t.widgetCollectionName===e);j(P?.map(e=>{let i=t?.widgetsList.find(t=>e.name===t.name);return{...e,status:i?.status,id:i?.id}}).filter(Boolean)||[])},[e,b,A,C]),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(m,{$modalAsCentre:p,$isOverlay:t,$isHelper:t,children:[t&&(_||p)&&(0,r.jsx)(l.A,{onClick:g,children:" "}),(0,r.jsx)(a.iN,{dropDownContent:v,heading:h?.modalTitle,subHeading:h?.modalDescription,action:x,helperLabel:f,animationHeading:h?.allStepCompletionStateTitle,animationSubHeading:h?.allStepCompletionStateSubTitle,handleStepCompleteClick:(t,i)=>{let r=A?.filter(t=>t.widgetCollectionName===e)?.[0];if(!r||!i)return;b(s.o1.updateHelperWidgets({stepId:i,status:t}));let n=r?.widgetsList?.map(e=>e.id===i?(y(e),{...e,status:t}):e);b(s.o1.setHelperWidgets({...r,widgetsList:n}))},handleClose:g,totalSteps:i,completedSteps:u})]})})}},95525:function(e,t,i){"use strict";i.d(t,{I:function(){return h}});var r=i(74848),n=i(20023),o=i(20646),a=i(83838),l=i(85275),s=i(21700),d=i(10022),c=i(51350),u=i(21742),p=i(90922);let h=({autoApplyStatus:e,status:t,...i})=>{let h=(0,n.nU)(t,e);return h.showOnCard?(0,r.jsx)(a.io,{tone:h.tone,...i,children:(0,r.jsx)(a.DJ,{placement:"bottom",content:(0,r.jsx)(a.Ue,{children:o.R.t(`builder.job_tracking.auto_apply.tooltip.${e}`)}),children:(0,r.jsxs)(a.ZG,{children:[(0,r.jsx)(a.GC,{src:"processing"===e?d:"auto_applied"===e?s:"error"===e?c:"information_required"===e?p:"no_application_made"===e?u:"auto_tailoring_failed"===e?l:d}),o.R.t(h.labelKey)]})})}):null}},12138:function(e,t,i){"use strict";i.d(t,{A:function(){return e$}});var r=i(74848),n=i(40961),o=i(47767),a=i(33093),l=i(96540),s=i(41193),d=i(19611),c=i(52486),u=i(22130),p=i(24184),h=i(77378),x=i(38267),m=i(99701),g=i(49504),y=i(67592),f=i(91779),b=i(24833),_=i(87253);let v=(0,x.AH)(["visibility:visible;opacity:1;transform:translateY(0);"]),j=(0,x.AH)(["visibility:hidden;opacity:0;transform:translateY(24px);"]),A=(0,x.AH)(["transition:opacity 0.3s ease,transform 0.3s ease,visibility 0.3s ease;"]),C=x.Ay.div(["position:fixed;width:100%;padding:16px;bottom:0;display:flex;justify-content:center;"," ",";z-index:99999;"],A,e=>e.isVisible?v:j),w=x.Ay.div(["",";width:100%;max-width:800px;padding:24px;background-color:",";border-radius:12px;"],y.A.lightWithBorder.mid,m.Jy.White),k=x.Ay.div(["display:flex;justify-content:space-between;align-items:center;",""],b.A.Phone`
7606    flex-direction: column;
7607  `),S=(0,x.Ay)(f.Ay)(["",""],b.A.Phone`
7608    margin-top: 12px;
7609    flex: 1;
7610  `),T=x.Ay.div(["display:flex;align-items:center;",":first-child{margin-right:8px;}",""],S,b.A.Phone`
7611    width: 100%;
7612  `),P=(0,x.Ay)(_.aK)(["min-width:48px;width:48px;height:48px;margin-right:16px;"]),J=x.Ay.div([""," font-weight:600;"],g.Ay.Subhead),E=x.Ay.div(["",";color:",";"],g.Ay.Caption,m.Jy.Neutral50);var R=i(87748),L=i(14649),N=i(64608);let I=x.Ay.div(["display:flex;align-items:center;"]),M=(0,x.Ay)(L.qJ.Spinner)(["color:",";animation:"," 0.5s infinite linear;"],m.Jy.Blue50,N.ni),B=x.Ay.div([""," color:",";margin-left:8px;"],g.Ay.Caption,m.Jy.Neutral90),D=({type:e,error:t=""})=>{let{i18n:i}=(0,h.s)();return"error"===e&&t?(0,r.jsx)(I,{children:(0,r.jsx)(B,{children:t})}):"loading"===e?(0,r.jsxs)(I,{children:[(0,r.jsx)(M,{}),(0,r.jsx)(B,{children:i.t("builder.job_tracking.interview_mock.generating")})]}):(0,r.jsx)(r.Fragment,{})};i(18111),i(61701);let $=x.Ay.div(["max-width:368px;width:100%;padding:32px;display:flex;flex-direction:column;align-items:center;border-radius:24px;background-color:",";",";"],m.Jy.Neutral5,y.A.light.high),O=(0,x.Ay)($)(["background-color:",";"],m.Jy.Green10),z=x.Ay.div(["width:","px;height:","px;"],e=>e.size||0,e=>e.size||0),F=x.Ay.div(["width:100%;height:1px;background-color:",";margin:24px 0;"],e=>e.color),H=x.Ay.div(["margin-top:29px;"]),V=x.Ay.div(["display:flex;flex-direction:column;"]),U=x.Ay.div(["display:flex;"]),W=x.Ay.div([""," color:",";max-width:320px;"],g.Ay.Body,m.Jy.Neutral50),K=x.Ay.img(["flex-shrink:0;width:48px;height:48px;margin-right:16px;",""],b.A.Phone`
7613    width: 40px;
7614    height: 40px;
7615    margin-right: 12px;
7616  `);var q=({list:e=[]})=>(0,r.jsx)(H,{children:e.map((t,i)=>(0,r.jsxs)(V,{children:[(0,r.jsxs)(U,{children:[(0,r.jsx)(K,{src:t.iconUrl}),(0,r.jsx)(W,{children:t.title})]}),i!==e.length-1&&(0,r.jsx)(z,{size:32})]},i))});let G=[{iconUrl:i.p+"media/magic-hand11aad765f1a72a30.svg",title:"AI created mock interview with questions you will face in a real job interview"},{iconUrl:i.p+"media/double-faces03992f8740421d6a.svg",title:"We analyze your answers and give instant feedback how to improve yourself"}];var Z=i(16466),X=i(83838),Q=i(78561);let Y=`
7617  0px 2px 10px -1px rgba(205, 211, 213, 0.2),
7618  0px 8px 40px -4px rgba(205, 211, 213, 0.4)
7619`,ee=`
7620  0px 2px 10px -1px ${((0,Q.j)(m.Jy.Green20),.5)},
7621  0px 8px 40px -4px ${m.Jy.Green20}
7622`,et=x.Ay.div(["display:flex;justify-content:center;align-items:flex-end;border-radius:50%;box-shadow:",";"],Y),ei=(0,x.Ay)(et)(["width:140px;height:140px;background-color:",";"],m.Jy.Neutral5),er=(0,x.Ay)(et)(["width:110px;height:110px;background-image:linear-gradient( 0deg,",","," );background-color:",";"],(0,Q.j)(m.Jy.White,.5),(0,Q.j)(m.Jy.White,.5),m.Jy.Neutral5),en=(0,x.Ay)(et)(["width:80px;height:80px;align-items:center;background-color:",";"],m.Jy.White),eo=(0,x.Ay)(ei)(["background-color:",";box-shadow:",";"],m.Jy.Green10,ee),ea=(0,x.Ay)(er)(["background-color:",";box-shadow:",";
7622"],m.Jy.Green10,ee),el=(0,x.Ay)(en)(["box-shadow:",";"],ee),es=({children:e,type:t})=>"default"===t?(0,r.jsx)(eo,{children:(0,r.jsx)(ea,{children:(0,r.jsx)(el,{children:e})})}):(0,r.jsx)(ei,{children:(0,r.jsx)(er,{children:(0,r.jsx)(en,{children:e})})}),ed=x.Ay.div(["padding:4px 12px;color:",";border-radius:24px;background:",";",""],m.Jy.Green50,m.Jy.White,g.Ay.Caption),ec=(0,x.Ay)(ed)(["border:1px solid ",";background:transparent;padding:3px 12px;color:",";"],m.Jy.Neutral15,m.Jy.Neutral50),eu=x.Ay.div(["background-color:",";border-radius:24px;width:104px;height:28px;"],m.Jy.Neutral10),ep=({type:e})=>{let{i18n:t}=(0,h.s)();return"empty"===e||"error"===e?(0,r.jsx)(eu,{}):"loading"===e?(0,r.jsx)(ec,{children:t.t("builder.job_tracking.interview_mock.generating")}):(0,r.jsx)(ed,{children:t.t("builder.job_tracking.interview_mock.ai_generated")})};i(22489);var eh=i(85363);let ex=x.Ay.div(["margin-bottom:8px;color:",";font-weight:600;text-align:center;",""],e=>e.color||m.Jy.Neutral90,g.Ay.S),em=x.Ay.div(["color:",";",""],m.Jy.Green70,g.Ay.Caption),eg=x.Ay.div(["width:200px;height:19px;border-radius:2px;background-color:",";",""],m.Jy.Neutral10,e=>e.animated&&eh.A.placeholderBackground),ey=({type:e,job:t})=>{let i=[t?.title||"N/A",t?.company].filter(Boolean).join(" at ");return["loading","empty","error"].includes(e)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ex,{children:i}),(0,r.jsx)(eg,{animated:"loading"===e})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ex,{color:m.Jy.Green80,children:i}),(0,r.jsx)(em,{children:"Interview based off this specific job's description"})]})};var ef=i.p+"media/card-level8f42d23f5784b251.svg",eb=i.p+"media/card-messagebda7d659f46a89e9.svg",e_=i.p+"media/card-time3706cd5a07351d48.svg";let ev=x.Ay.div(["display:grid;grid-template-columns:repeat(3,auto);gap:16px;"]),ej=(0,x.Ay)(ev)(["width:100%;"]),eA=x.Ay.div(["display:flex;align-items:center;color:",";"," img{margin-right:4px;}"],m.Jy.Green70,g.Ay.Caption),eC=x.Ay.div(["width:100%;height:24px;border-radius:2px;background-color:",";",""],m.Jy.Neutral10,e=>e.animated&&eh.A.placeholderBackground),ew=({type:e})=>{let{i18n:t}=(0,h.s)();return["empty","loading","error"].includes(e)?(0,r.jsxs)(ej,{children:[(0,r.jsx)(eC,{animated:"loading"===e}),(0,r.jsx)(eC,{animated:"loading"===e}),(0,r.jsx)(eC,{animated:"loading"===e})]}):(0,r.jsxs)(ev,{children:[(0,r.jsxs)(eA,{children:[(0,r.jsx)("img",{src:ef}),(0,r.jsx)(r.Fragment,{children:t.t("builder.job_tracking.interview_mock.card_info.easy")})]}),(0,r.jsxs)(eA,{children:[(0,r.jsx)("img",{src:e_}),(0,r.jsx)(r.Fragment,{children:t.t("builder.job_tracking.interview_mock.card_info.duration")})]}),(0,r.jsxs)(eA,{children:[(0,r.jsx)("img",{src:eb}),(0,r.jsx)(r.Fragment,{children:t.t("builder.job_tracking.interview_mock.card_info.questions")})]})]})};var ek=({type:e="default",job:t})=>{let i="default"===e?O:$;return(0,r.jsxs)(i,{children:[(0,r.jsx)(z,{size:16}),(0,r.jsx)(es,{type:e,children:(0,r.jsx)(X.Qj,{size:44,src:t?.logo,alt:t?.company,style:{margin:0}})}),(0,r.jsx)(z,{size:32}),(0,r.jsx)(ep,{type:e}),(0,r.jsx)(z,{size:16}),(0,r.jsx)(ey,{type:e,job:t}),(0,r.jsx)(F,{color:"default"===e?m.Jy.Green20:m.Jy.Neutral15}),(0,r.jsx)(ew,{type:e})]})};let eS=x.Ay.div(["width:100%;max-width:1000px;background-color:",";border-radius:16px;display:flex;overflow:hidden;position:relative;overflow:visible;height:576px;",""],m.Jy.White,b.A.Tablet`
7623    max-width: 544px;
7624    height: unset;
7625  `),eT=x.Ay.div(["flex:1 50%;padding:48px;position:relative;display:flex;flex-direction:column;justify-content:space-between;"," ",""],b.A.Tablet`
7626    padding: 32px;
7627    flex: 1 100%;
7628  `,b.A.Phone`
7629    padding: 20px;
7630    flex: 1 100%;
7631  `),eP=x.Ay.div(["flex:1 50%;background-color:",";display:flex;justify-content:center;align-items:center;border-bottom-right-radius:16px;border-top-right-radius:16px;",""],e=>e.isGreen?m.Jy.Green20:m.Jy.Neutral10,b.A.Tablet`
7632    display: none;
7633  `),eJ=x.Ay.div(["display:flex;align-items:center;"]),eE=x.Ay.div(["display:flex;margin-right:15px;"]),eR=x.Ay.div(["color:",";font-weight:500;"," ",""],m.Jy.Neutral90,g.Ay.Body,b.A.Tablet`
7634    ${g.Ay.Subhead}
7635  `),eL=x.Ay.div([""," font-weight:600;margin-top:32px;"," "," ",""],g.Ay.M,b.A.AboveTablet`
7636    max-width: 300px;
7637  `,b.A.Tablet`
7638    ${g.Ay.S}
7639    margin-top: 48px;
7640  `,b.A.Phone`
7641    margin-top: 24px;
7642    max-width: 200px;
7643  `);g.Ay.Body,m.Jy.Neutral50,b.A.Tablet`
7644    margin-bottom: 19px;
7645    `,b.A.Phone`
7646    margin-bottom: 16px;
7647  `;let eN=(0,x.Ay)(_.aK)(["width:32px;height:32px;"," ",""],b.A.Tablet`
7648    width: 40px;
7649    height: 40px;
7650  `,b.A.Phone`
7651    width: 32px;
7652    height: 32px;
7653  `),eI=x.Ay.div(["position:absolute;width:28px;height:28px;border-radius:100%;background-color:",";cursor:pointer;display:flex;align-items:center;justify-content:center;right:24px;top:24px;transition:color 0.15s;color:",";"," "," &:hover{color:",";}"],m.Jy.White,m.Jy.Neutral50,b.A.Tablet`
7654    top: 16px;
7655    right: 16px;
7656    z-index: 10;
7657    background-color: ${m.Jy.Neutral10};
7658
7659    right: 32px;
7660    top: 32px;
7661  `,b.A.Phone`
7662    right: 20px;
7663    top: 20px;
7664    width: 24px;
7665    height: 24px;
7666  `,m.Jy.Blue50),eM=x.Ay.div(["display:flex;align-items:center;justify-content:space-between;"," ",""],b.A.Tablet`
7667    margin-top: 48px
7668    `,b.A.Phone`
7669    margin-top: 32px
7670  `);var eB=({children:e,cardType:t="default",title:i,job:n,onClose:o,action:a})=>{let{i18n:l}=(0,h.s)();return(0,r.jsx)(Z.A,{children:(0,r.jsxs)(eS,{children:[(0,r.jsx)(eI,{onClick:o,children:(0,r.jsx)(L.EK.Close,{})}),(0,r.jsxs)(eT,{children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)(eJ,{children:[(0,r.jsx)(eE,{children:(0,r.jsx)(eN,{name:"InterviewPrep"})}),(0,r.jsx)(eR,{children:l.t("builder.job_tracking.interview_mock.modal.header")})]}),(0,r.jsx)(eL,{children:i}),e]}),a]}),(0,r.jsx)(eP,{isGreen:"default"===t,children:(0,r.jsx)(ek,{type:t,job:n})})]})})},eD=({job:e,onClose:t,onStart:i,isLoading:n})=>{let{i18n:o}=(0,h.s)();return(0,r.jsx)(eB,{cardType:"default",title:o.t("builder.job_tracking.interview_mock.modal.existing_data_title"),job:e,onClose:t,action:(0,r.jsxs)(eM,{children:[(0,r.jsx)(f.$n,{isLoading:n,onClick:i,children:o.t("builder.job_tracking.interview_mock.modal.start_interview")}),n&&(0,r.jsx)(D,{type:"loading",error:""})]}),children:(0,r.jsx)(q,{list:G})})},e$=({visible:e,selectedJob:t,onClose:i,trackingLabel:x})=>{let m=(0,o.Zp)(),g=(0,p.E)(),y=(0,s.J)(),{i18n:f}=(0,h.s)(),b=y?.hasPremiumFeatures,{mutateAsync:_,isLoading:v}=(0,c.D)(),{data:j}=(0,R.K)(b?t?.title??null:null,1),[A,L]=(0,l.useState)(!1),N=async()=>
7670{if(j&&j?.length>0){(0,a.xP)("generated_interview",{label:x});let e=j[0];return await _({jobTitleCode:Number(e.id),company:t?.company||void 0,jobDescription:t?.description?(0,d.Q)(t?.description):"",kind:"custom"}),m("/interview-preparation/interview-player")}m("/interview-preparation/custom-interview",{state:{company:t?.company,description:t?.description?(0,d.Q)(t?.description):""}})};return n.createPortal((0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C,{isVisible:e&&!A,children:(0,r.jsx)(w,{children:(0,r.jsxs)(k,{children:[(0,r.jsxs)(T,{children:[(0,r.jsx)(P,{name:"InterviewPrep"}),(0,r.jsxs)("div",{children:[(0,r.jsx)(J,{children:f.t("builder.job_tracking.interview_mock.notification.title")}),(0,r.jsx)(E,{children:f.t("builder.job_tracking.interview_mock.notification.subtitle")})]})]}),(0,r.jsxs)(T,{children:[(0,r.jsx)(S,{theme:"ghost",onClick:i,children:f.t("builder.job_tracking.interview_mock.notification.close")}),b&&(0,r.jsx)(S,{onClick:()=>{L(!0)},children:f.t("builder.job_tracking.interview_mock.notification.get_started")}),!b&&(0,r.jsx)(S,{onClick:()=>{(0,u.b)({onSuccessRedirect:window.location.href})},children:f.t("builder.job_tracking.interview_mock.notification.upgrade")})]})]})})}),t&&A&&(0,r.jsx)(eD,{job:t,onClose:()=>{L(!1),i()},onStart:N,isLoading:v})]}),g)}},87748:function(e,t,i){"use strict";i.d(t,{K:function(){return o}});var r=i(9421),n=i(49012);let o=(e,t)=>(0,r.I)(["useFuzzyJobTitles",e],async()=>(await n.R3.get("/career-data/v1/fuzzy-job-titles",{params:{query:e,limit:t}})).data,{enabled:!!e,useErrorBoundary:!1})},27626:function(e,t,i){"use strict";i.d(t,{U:function(){return o}});var r=i(96230),n=i(49012);let o=({id:e})=>{let t=`/job-cards/${e}/retry_auto_tailoring`;return(0,r.n)({mutationFn:async()=>n.R3.post(t,{})})}},19977:function(e,t,i){"use strict";i.d(t,{h:function(){return s}});var r=i(96540),n=i(81247),o=i(18509),a=i(20023);let l={activeCardId:null,applyConfirmModal:null,resumeSelectorModal:null,deleteJobModal:null,cioLimitModal:!1,limitPaywallModal:!1,cardDrawer:!1,statusDrawer:!1,interviewJob:null,tailoredBanner:!1,applicationDrawer:null,deleteApplicationJobModal:null,addJobModal:null};function s(e){let t=(0,n.wA)(),i=(0,o.N)(t=>t.jobTracking.modals[e]),s=(0,r.useCallback)(i=>{t(a.o1.setModal({key:e,data:void 0===i||i}))},[t,e]);return{data:i,isOpen:null!==i&&!1!==i,open:s,close:(0,r.useCallback)(()=>{t(a.o1.setModal({key:e,data:l[e]}))},[t,e]),openModal:(0,r.useCallback)((e,i)=>{t(a.o1.setModal({key:e,data:void 0===i||i}))},[t])}}},83838:function(e,t,i){"use strict";i.d(t,{AC:function(){return Z},AW:function(){return C},BW:function(){return F},C0:function(){return em},Ch:function(){return en},D2:function(){return z},DJ:function(){return ec},EY:function(){return et},GC:function(){return eu},Gx:function(){return L},HD:function(){return b},HF:function(){return eh},JX:function(){return Y},Kt:function(){return G},Mh:function(){return $},Q_:function(){return P},Qj:function(){return E},RF:function(){return j},UC:function(){return f},UN:function(){return V},Ue:function(){return ed},Uq:function(){return y},VS:function(){return B},Y1:function(){return ee},YU:function(){return _},Yi:function(){return k},ZG:function(){return es},aR:function(){return N},bv:function(){return K},c1:function(){return X},d4:function(){return S},eM:function(){return er},f1:function(){return v},fm:function(){return w},gH:function(){return T},gN:function(){return ep},io:function(){return el},jl:function(){return U},kw:function(){return q},mc:function(){return g},mo:function(){return Q},qF:function(){return W},qj:function(){return D},rW:function(){return R},rk:function(){return ei},so:function(){return A},uO:function(){return I},wk:function(){return J},xQ:function(){return O},xd:function(){return H},yE:function(){return ex},zh:function(){return eo}}),i(49091);var r=i(20001),n=i(38267),o=i(99701),a=i(14649),l=i(98186),s=i(25755),d=i(49504),c=i(85363),u=i(24833),p=i(67592),h=(i(31441),i(91779));let x={wishlist:"#C2E4Fc",auto_apply:"#daddfd",applied:"#E0DCD1",interview:"#daddfd",offer:"#C5E3D1"},m={applied:{background:o.Jy.Beige10,color:o.Jy.Beige50,hover:o.Jy.Beige20},interview:{background:o.Jy.Indigo10,color:o.Jy.Indigo50,hover:o.Jy.Indigo20}},g=n.Ay.div(["display:flex;flex-direction:column;width:100%;height:calc(100vh - 80px);padding-left:22px;",""],u.A.Phone` 
7671    padding-left: 0; 
7672    height: calc(100vh - 163px);
7673  `);u.A.Phone`
7674    padding: 20px 20px 0;
7675  `;let y=n.Ay.div(["padding-right:22px;",""],u.A.Phone`
7676    padding: 0 16px;
7677  `);d.o5.L,u.A.Phone`
7678    margin-right: auto;
7679  `;let f=n.Ay.div(["display:flex;flex-direction:row;user-select:none;overflow:hidden;background-color:",";",""],o.Jy.White,e=>e.cardsContent&&(0,n.AH)(["flex:1;min-height:0;",""],u.A.Phone`
7680        margin-left: 0px;
7681     `)),b=n.Ay.div(["display:flex;user-select:none;overflow-y:hidden;overflow-x:auto;width:100%;height:100%;background-color:",";cursor:grab;-webkit-overflow-scrolling:touch;&::-webkit-scrollbar{display:none;}"," ",""],o.Jy.White,u.A.Tablet`
7682    scroll-padding: 0 32px;
7683  `,u.A.Phone`
7684    scroll-padding: 0;
7685  `),_=n.Ay.div(["display:flex;flex-direction:row;height:100%;padding-top:22px;",""],u.A.Phone`
7686    padding: 22px 0;
7687    & > :first-child {
7688      margin-left: 20px;
7689    }
7690  `),v=n.Ay.div(["height:100%;border-radius:12px;margin-right:","px;width:","px;"],9,288),j=n.Ay.div(["flex:1;min-height:0;border-bottom-left-radius:12px;border-bottom-right-radius:12px;width:","px;"],288),A=n.Ay.div(["position:relative;display:flex;flex-direction:column;padding-bottom:4px;max-height:100%;border-bottom-left-radius:10px;border-bottom-right-radius:10px;&:last-of-type{margin-right:0px;}"," "," transition:background-color 0.2s ease;",""],u.A.Tablet`
7691    scroll-snap-align: start;
7692  `,u.A.Phone`
7693    width: 100%;
7694    margin-right: 0;
7695    scroll-snap-align: center;
7696  `,({isDragging:e,isDraggedOver:t,status:i})=>{let r=e&&t;return"wishlist"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Blue20:o.Jy.Blue10):"auto_apply"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Indigo20:o.Jy.Indigo10):"applied"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Beige20:o.Jy.Beige10):"interview"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Indigo20:o.Jy.Indigo10):"offer"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Green20:o.Jy.Green10):(0,n.AH)(["background-color:",";"],r?o.Jy.Neutral20:o.Jy.Neutral10)}),C=n.Ay.div(["position:relative;display:flex;align-items:center;flex-shrink:0;padding:12px 20px;padding-right:4px;min-height:24px;border-top-left-radius:12px;border-top-right-radius:12px;transition:background-color 0.2s ease;",""],({isDragging:e,isDraggedOver:t,status:i})=>{let r=e&&t;return"wishlist"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Blue20:o.Jy.Blue10):"auto_apply"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Indigo20:o.Jy.Indigo10):"applied"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Beige20:o.Jy.Beige10):"interview"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Indigo20:o.Jy.Indigo10):"offer"===i?(0,n.AH)(["background-color:",";"],r?o.Jy.Green20:o.Jy.Green10):(0,n.AH)(["background-color:",";"],r?o.Jy.Neutral20:o.Jy.Neutral10)}),w=n.Ay.span(["margin-left:8px;flex-grow:1;font-size:19px;font-weight:400;align-self:flex-end;"," ",""],({status:e})=>"wishlist"!==e?"":(0,n.AH)(["display:flex;align-items:center;"]),({status:e})=>"wishlist"===e?(0,n.AH)(["color:",";"],o.Jy.Neutral100):"recommended"===e?(0,n.AH)(["color:",";"],o.Jy.Beige70):"auto_apply"===e?(0,n.AH)(["color:",";"],o.Jy.Indigo90):"applied"===e?(0,n.AH)(["color:",";"],o.Jy.Beige70):"interview"===e?(0,n.AH)(["color:",";"],o.Jy.Indigo70):"offer"===e?(0,n.AH)(["color:",";"],o.Jy.Neutral100):(0,n.AH)(["color:",";"],o.Jy.Neutral60)),k=n.Ay.span([""," "," margin-left:8px;opacity:0.48;"],d.o5.Body,d.BO.Regular);o.Jy.Neutral20;let S=n.Ay.div(["position:relative;overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;padding-left:4px;padding-right:4px;overscroll-behavior:contain;&::-webkit-scrollbar{width:0px;background-color:transparent;}"," ",";"],({isSafari:e})=>e&&u.A.Phone`
7697    z-index: 1;
7698  `,u.A.AbovePhone`
7699    &::-webkit-scrollbar {
7700      width: 0px;
7701      background-color: transparent;
7702    }
7703
7704    &::-webkit-scrollbar-thumb {
7705      background-color: ${o.Jy.Neutral20};
7706      border: none;
7707      border-radius: 4px;
7708      border: 2px solid ${o.Jy.Neutral10};
7709      transition: border-color 0.1s ease;
7710
7711      &:hover {
7712        background-color: ${o.Jy.Neutral30};
7713      }
7714    }
7715  `),T=n.Ay.div(["flex-shrink:0;padding:0 2px;"]),P=n.Ay.div(["padding:16px;margin-bottom:4px;background-color:",";border-radius:8px;cursor:pointer;",";",";width:100%;",";&:focus{outline:none;",";}&:hover{box-shadow:0px 2px 4px -1px rgba(15,20,30,0.16),0px 8px 20px -4px rgba(15,20,30,0.24);}"],o.Jy.White,({isSystemRecommended:e})=>e&&(0,n.AH)(["border:2px solid ",";"],o.Jy.Indigo30),e=>e.isDragging&&c.A.Shadow,p.A.light.low,({isDragging:e})=>!e&&(0,n.AH)(["box-shadow:0 0 0 1px "," inset;"],o.Jy.Blue50)),J=n.Ay.div(["",";",";margin-top:16px;text-overflow:ellipsis;overflow:hidden;"],d.o5.Body,d.BO.Regular),E=(0,n.Ay)(l.A)([""]),R=n.Ay.div(["position:relative;width:fit-content;"]),L=n.Ay.div(["position:absolute;bottom:-6px;right:-6px;display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background-color:",";border:2px solid ",";color:",";& svg{width:12px;height:12px;}"],o.Jy.Indigo50,o.Jy.White,o.Jy.White),N=n.Ay.div(["display:flex;justify-content:space-between;align-items:center;"]),I=n.Ay.div(["color:",";",";",";text-overflow:ellipsis;overflow:hidden;"],o.Jy.Neutral50,d.o5.Caption,d.BO.Regular),M=n.Ay.div(["margin-right:6px;margin-top:6px;padding:2px 8px;",";background-color:",";color:",";border-radius:10px;"],d.o5.Tiny,o.Jy.Neutral10,o.Jy.Neutral50);(0,n.Ay)(M)(["transition:background-color 0.15s,color 0.15s;&:hover{background-color:",";color:",";}"],o.Jy.Neutral15,o.Jy.Neutral60),(0,n.Ay)(s.Ay)(["display:flex;margin-right:6px;margin-top:6px;color:",";transition:color 0.15s;&:hover{color:",";}& svg{pointer-events:none;width:20px;height:20px;}"],o.Jy.Neutral40,o.Jy.Neutral50),o.Jy.Blue50,o.Jy.Neutral15,o.Jy.Neutral50,d.o5.Caption,o.Jy.Neutral20,(0,n.Ay)(a.Ay.Add)(["margin-right:4px;"]),d.o5.Body,o.Jy.Blue50,o.Jy.Blue70;let B=n.Ay.div(["height:26px;max-width:120px;border-radius:6px;margin-bottom:8px;",";"],c.A.placeholderBackground),D=n.Ay.div(["height:32px;border-radius:6px;margin-bottom:8px;",";"],c.A.placeholderBackground),$=n.Ay.div(["height:","px;margin-bottom:8px;border-radius:6px;background:",";padding:16px;display:flex;justify-content:space-between;"],({big:e})=>e?134:106,o.Jy.White),O=n.Ay.div(["padding-top:4px;&::before,&::after{content:'';display:block;height:14px;margin-bottom:12px;width:80px;border-radius:3px;",";}&::after{width:120px;}"],c.A.placeholderBackground),z=n.Ay.div(["width:28px;height:28px;border-radius:50%;",";"],c.A.placeholderBackground),F=n.Ay.div(["padding:22px 0;width:100%;margin:0 auto;",""],u.A.Phone`
7716    padding: 24px 20px;
7717  `),H=n.Ay.div(["width:","px;display:flex;",""],1476,u.A.Phone`
7718    overflow-x: hidden;
7719    width: 100%;
7720  `),V=n.Ay.div(["width:","px;margin-right:","px;&:last-child{margin-right:0;}",""],288,9,u.A.Phone`
7721    width: calc(100vw - 100px);
7722  `),U=n.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:16px;width:100%;border-radius:8px;"]),W=n.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;padding:0px;width:137px;height:40px;"]),K=n.Ay.div([""," color:",";"],d.o5.Body,o.Jy.Neutral100),q=n.Ay.div([""," letter-spacing:0.3px;color:",";"],d.o5.Caption,o.Jy.Neutral50),G=n.Ay.a(["",";",";display:flex;flex-direction:row;align-items:center;padding:8px 12px;gap:2px;font-size:15px;line-height:18px;border-radius:360px;background-color:#282b8f;color:",";transition:background-color 0.15s;margin-top:16px;height:36px;&:hover,&:active{background:",";}"],d.o5.Caption,d.BO.DemiBold,o.Jy.White,o.Jy.Indigo90),Z=(0,n.Ay)(a.EK.Crown)(["margin-right:4px;"]);(0,n.Ay)(h.$n)(["",";",";width:100%;margin:10px 0;"],d.o5.Caption,d.BO.Medium),o.Jy.Neutral50,o.Jy.Red20,(0,n.Ay)(a.qJ.Trash)(["margin-right:4px;color:",";margin-left:2px;"],o.Jy.Red50);let X=(0,n.Ay)(a.qJ.Add)(["margin-right:17px;margin-left:2px;cursor:pointer;height:20px;width:20px;",""],({status:e})=>"wishlist"===e?(0,n.AH)(["color:",";"],o.Jy.Blue40):"interview"===e?(0,n.AH)(["color:",";"],o.Jy.Indigo40):"applied"===e?(0,n.AH)(["color:",";"],o.Jy.Beige40):"offer"===e?(0,n.AH)(["color:",";"],o.Jy.Green40):(0,n.AH)(["color:",";"],o.Jy.Neutral40)),Q=(0,n.Ay)(a.qJ.Info)(["margin-right:17px;margin-left:2px;height:20px;width:20px;color:",";"],o.Jy.Neutral50),Y=n.Ay.button(["border:1px solid;background:transparent;border-radius:12px;width:100%;padding:8px 16px;text-align:left;font-size:16px;font-weight:400;display:flex;align-items:center;cursor:pointer;"," &:hover{","}"],({status:e})=>"wishlist"===e?(0,n.AH)(["border-color:",";color:",";"],o.Jy.Blue20,o.Jy.Blue50):"auto_apply"===e?(0,n.AH)(["border-color:",";color:",";"],o.Jy.Indigo20,o.Jy.Indigo50):"applied"===e?(0,n.AH)(["border-color:",";color:",";"],o.Jy.Beige20,o.Jy.Beige50):"interview"===e?(0,n.AH)(["border-color:",";color:",";"],o.Jy.Indigo20,o.Jy.Indigo50):"offer"===e?(0,n.AH)(["border-color:",";color:",";"],o.Jy.Green20,o.Jy.Green50):(0,n.AH)(["border-color:",";color:",";justify-content:center;gap:",";"],o.Jy.Neutral20,o.Jy.Neutral50,o.Kz["2XS"]),({status:e})=>{let t=x[e];return t?(0,n.AH)(["background-color:",";"],t):(0,n.AH)(["background-color:",";"],o.Jy.Neutral20)}),ee=n.Ay.div(["border-top:1px solid ",";margin-top:8px;padding-top:8px;position:relative;display:flex;height:35px;align-items:center;justify-content:",";
7722"],o.Jy.Neutral10,({score:e})=>e<70?"space-between":"");d.o5.Caption,d.BO.Regular;let et=n.Ay.div(["",";",";color:",";line-height:13px;text-align:center;margin-left:4px;"],d.o5.Caption,d.BO.Regular,o.Jy.Neutral50),ei=(0,n.Ay)(h.$n)(["",";",";width:100%;border-radius:4px;margin-top:8px;height:28px;background-color:",";color:",";&:hover{background-color:",";}"],d.o5.Caption,d.BO.Regular,e=>m[e.status].background,e=>m[e.status].color,e=>m[e.status].hover),er=n.Ay.div(["width:",";",";"],({isImproveResume:e})=>e?"85px":"100%",({addScoreSeparator:e})=>e?"margin-top: 5px;":""),en=(0,n.Ay)(h.$n)(["",";",";width:100%;border-radius:4px;margin-top:8px;background-color:",";color:",";height:28px;&:hover{background-color:",";}"],d.o5.Caption,d.BO.Regular,o.Jy.Blue10,o.Jy.Blue50,o.Jy.Blue20),eo=(0,n.Ay)(h.$n)(["",";",";width:100%;border-radius:4px;margin-top:8px;background-color:",";height:28px;"," color:",";&:hover{","}&:disabled{cursor:auto;color:",";background-color:",";}"],d.o5.Caption,d.BO.Regular,o.Jy.Blue10,e=>e.$secondary?(0,n.AH)(["background-color:",";"],o.Jy.White):(0,n.AH)(["background-color:",";"],o.Jy.Blue10),o.Jy.Blue50,e=>e.$secondary?(0,n.AH)(["background-color:#c3e5fe24;"]):(0,n.AH)(["background-color:",";"],o.Jy.Blue20),o.Jy.Neutral50,o.Jy.Neutral20),ea={ready:{background:o.Jy.Blue10,color:o.Jy.Blue50},inProgress:{background:o.Jy.Indigo10,color:o.Jy.Indigo50},applied:{background:o.Jy.Green10,color:o.Jy.Green50},error:{background:o.Jy.Red10,color:o.Jy.Red50},neutral:{background:o.Jy.Neutral10,color:o.Jy.Neutral50},expired:{background:o.Jy.Amber10,color:o.Jy.Amber50}},el=n.Ay.div(["display:flex;width:fit-content;& > :last-child{margin-right:5px;}background:",";color:",";",";",";border-radius:var(--spacing-3XS);padding-left:var(--spacing-2XS);padding-right:var(--spacing-2XS);text-align:center;"],e=>ea[e.tone].background,e=>ea[e.tone].color,d.o5.Caption,d.BO.Medium),es=n.Ay.div(["display:flex;align-items:center;& > :first-child{margin-right:4px;}"]),ed=n.Ay.div(["",";",";font-weight:400;letter-spacing:0.3px;white-space:normal;color:",";background:",";"],d.o5.Caption,p.A.dark.mid,o.Jy.White,o.Jy.Neutral90),ec=(0,n.Ay)(r.A)(["background:",";max-width:242px !important;padding:8px 12px !important;"],o.Jy.Neutral90),eu=n.Ay.img(["width:20px;"]),ep=n.Ay.div(["cursor:pointer;",";font-weight:400;color:",";margin-left:auto;"],d.o5.ButtonS,o.Jy.Blue50),eh=n.Ay.img(["margin-left:auto;margin-bottom:1px;"]),ex=n.Ay.div(["height:100%;display:flex;flex-direction:column;"]),em=n.Ay.div(["display:flex;align-items:center;justify-content:center;margin-top:1px;gap:2px;"])},90239:function(e,t,i){"use strict";i.d(t,{RZ:function(){return n},S$:function(){return a},YQ:function(){return l},id:function(){return o}}),i(18111),i(22489),i(61701),i(18237),i(20116),i(44826);var r=i(20023);function n(e,t,i){return e.filter(e=>e!==r.Sy.deleted&&(e!==r.Sy.auto_apply||!!t)&&(e!==r.Sy.recommended||i>0))}function o(e){return Object.assign({},...Object.values(r.Sy).map(t=>({[t]:e.filter(e=>e.status===t).length})))}function a(e,t){return e.reduce((e,i)=>(e[i]=t.filter(e=>e.status===i),e),{})}function l(e,t){return t?e.find(e=>e.id===t)??null:null}},60195:function(e,t,i){"use strict";i.d(t,{Zl:function(){return A}});var r=i(74848),n=i(2543),o=i(96540),a=i(1753),l=i(77378),s=i(91779),d=i(38267),c=i(99701),u=i(49504);let p=d.Ay.div(["display:flex;flex-direction:column;gap:12px;padding:20px;width:352px;border-radius:16px;background:",";box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 2px 4px -1px rgba(15,56,113,0.08),0px 8px 20px -4px rgba(15,56,113,0.12);"],c.Jy.White),h=d.Ay.div(["display:flex;flex-direction:column;gap:2px;"]),x=d.Ay.div(["color:",";",";",";"],c.Jy.Neutral90,u.Ay.Body,u.BO.Medium),m=d.Ay.div(["color:",";",";",";"],c.Jy.Neutral50,u.Ay.Caption,u.BO.Regular),g=d.Ay.div(["display:flex;align-items:center;justify-content:space-between;"]),y=d.Ay.div(["color:",";",";",";"],c.Jy.Neutral50,u.Ay.Caption,u.BO.Medium),f=d.Ay.div(["display:flex;gap:8px;margin-left:auto;"]),b=(0,d.Ay)(s.JQ).attrs({size:s.Mp.small})([""]),_=(0,d.Ay)(s.JQ).attrs({size:s.Mp.small})([""]),v=({step:e,size:t,index:i,isLastStep:n,skipProps:o,closeProps:a,primaryProps:d,tooltipProps:c,skipButtonLabel:u,nextButtonLabel:v,finalButtonLabel:j,isStepsCountEnabled:A=!0,showSkipOnLast:C=!1,nextButtonProps:w,skipButtonProps:k})=>{let{i18n:S}=(0,l.s)();return(0,r.jsxs)(p,{...c,style:{...e.styles.tooltipContainer,textAlign:"start"},"data-testid":"joyride-tooltip",children:[(0,r.jsxs)(h,{children:[e.title&&(0,r.jsx)(x,{children:e.title}),(0,r.jsx)(m,{children:e.content})]}),(0,r.jsxs)(g,{children:[A&&(0,r.jsxs)(y,{children:[i+1," ",S.t("builder.dashboard_v2.steps.progress.of")," ",t]}),(0,r.jsxs)(f,{children:[(!n||C)&&(0,r.jsx)(b,{theme:s.Ox.ghost,...k,...o,"data-testid":"skip-button",children:u}),!n&&(0,r.jsx)(_,{...w,...d,"data-testid":"next-button",children:v}),n&&(0,r.jsx)(_,{...w,...a,"data-testid":"final-button",children:j})]})]})]})},j={color:"#fff",length:10,spread:22},A=o.forwardRef(({skipButtonLabel:e,nextButtonLabel:t,finalButtonLabel:i,isStepsCountEnabled:l=!0,arrow:s=j,customToolTip:d,showSkipOnLast:c=!1,nextButtonProps:u,skipButtonProps:p,continuous:h=!0,disableScrolling:x=!0,disableCloseOnEsc:m=!0,disableOverlayClose:g=!0,disableScrollParentFix:y=!0,...f},b)=>{let _=(0,o.useCallback)(n=>(0,r.jsx)(v,{...n,skipButtonLabel:e||"",nextButtonLabel:t||"",finalButtonLabel:i||"",isStepsCountEnabled:l,showSkipOnLast:c,nextButtonProps:u,skipButtonProps:p}),[i,l,t,e,u,p,c]);return(0,r.jsx)(a.Ay,{ref:b,continuous:h,disableScrolling:x,disableCloseOnEsc:m,disableOverlayClose:g,disableScrollParentFix:y,floaterProps:(0,n.merge)({styles:{arrow:s}},f.floaterProps),tooltipComponent:d||_,...f})})},54761:function(e,t,i){"use strict";i.d(t,{T:function(){return C}}),i(18111),i(22489),i(61701);var r=i(74848),n=i(96540),o=i(33031),a=i.n(o),l=i(7309),s=i.n(l),d=i(24713),c=i.n(d),u=i(23699),p=i(38267),h=i(99701);let x=["red","orange","amber","green","indigo"],m=({currentRating:e=0,isDisabled:t},i=.4)=>{let r=x[e-1];return r&&!t?`var(--${r}-${100*i})`:null},g=p.Ay.label(["display:inline-block;position:relative;flex-grow:1;cursor:pointer;&:before{content:'';position:absolute;top:0;left:0;right:-1px;height:100%;background-color:",";transition:background-color 0.1s;border-radius:4px;}&:hover:before{background-color:",";}&:after{content:'';position:absolute;
7722left:0;top:50%;width:1px;height:14px;margin-top:-7px;background-color:",";}&:first-child:after{display:none;}& input{position:absolute;top:0;left:0;opacity:0;pointer-events:none;}"],e=>m(e,.1)||h.Jy.Blue10,e=>m(e,.2),e=>m(e,.3)||h.Jy.Neutral30),y=({disabled:e,rating:t,id:i,inputName:n,onSelect:o,checked:a})=>(0,r.jsx)(g,{rating:t,currentRating:t,isDisabled:e,checked:a,children:(0,r.jsx)("input",{type:"radio",name:n,value:i,checked:a,onChange:()=>o(i),disabled:e})});var f=i(49504);let b=p.Ay.div([""]),_=p.Ay.label(["",";display:block;color:",";margin-bottom:6px;"],f.Ay.Caption,h.Jy.Neutral50),v=p.Ay.span(["transition:color 0.2s;color:",";"],e=>m(e)||h.Jy.Neutral30),j=p.Ay.div(["display:flex;position:relative;overflow:hidden;height:48px;border-radius:4px;background-color:",";transition:background-color 0.2s;transform:translateZ(0);pointer-events:",";"],e=>m(e,.1)||h.Jy.Neutral10,e=>e.isDisabled?"none":"auto"),A=p.Ay.div(["position:absolute;top:0;left:0;height:100%;transition:transform 0.2s,opacity 0.2s;will-change:transform,opacity;opacity:",";&:before{content:'';position:absolute;left:-3px;right:-3px;top:0;height:100%;border-radius:4px;transition:background-color 0.2s;background-color:",";}"],e=>+((e.currentRating??0)>=0),e=>m(e)||h.Jy.Neutral30),C=({options:e,selected:t,onChange:i,label:o,disabled:l=!1})=>{let d=(0,n.useMemo)(()=>(0,u.M)(),[]),p=(0,n.useCallback)(()=>{let{rating:i}=s()(e,{id:t})||{};return i},[e,t]),h=e=>{i&&i(e)},x=a()(e,["rating"]).filter(({rating:e})=>"number"==typeof e&&e>=0),m=s()(x,{id:t}),g=c()(x,{id:t}),f=(0,n.useMemo)(()=>p(),[p]),C={width:`${100/x.length}%`,transform:`translateX(${100*g}%)`};return(0,r.jsxs)(b,{children:[o&&(0,r.jsxs)(_,{children:[o,m&&" — ",m&&(0,r.jsx)(v,{currentRating:f,isDisabled:l,children:m.name})]}),(0,r.jsxs)(j,{currentRating:f,isDisabled:l,children:[x.map(({id:e})=>(0,r.jsx)(y,{disabled:l,id:e,rating:f,onSelect:h,inputName:d,checked:e===t},e)),(0,r.jsx)(A,{currentRating:f,style:C,isDisabled:l})]})]})}},7971:function(e,t,i){"use strict";i.d(t,{jT:function(){return f},B7:function(){return M},B8:function(){return a},Zq:function(){return N},tb:function(){return R},$c:function(){return A},L:function(){return _},sH:function(){return T},ck:function(){return s}});var r=i(74848),n=i(38267);let o=n.Ay.ul(["list-style-type:none;padding:0;margin:0;"]),a=({children:e})=>(0,r.jsx)(o,{children:e}),l=n.Ay.div(["display:flex;justify-content:space-between;padding:",";"],e=>e.padding||"16px 0"),s=({padding:e,children:t})=>(0,r.jsxs)(l,{padding:e,children:[" ",t," "]});var d=i(96540),c=i(14649);let u=n.Ay.div([""]),p=n.Ay.div(["display:flex;justify-content:space-between;padding:",";"],e=>e.padding||"16px 0"),h=n.Ay.div(["width:100%;display:flex;align-items:center;"]),x=(0,n.Ay)(c.Ay.ChevronLightUp)(["svg{fill:none;}"]),m=(0,n.Ay)(c.Ay.ChevronLightDown)(["svg{fill:none;}"]),g=n.Ay.div([""]),y=n.Ay.div([""]),f=({isExpanded:e=!1,padding:t,header:i,children:n})=>{let[o,a]=(0,d.useState)(e);return(0,r.jsxs)(u,{children:[(0,r.jsx)(p,{"data-testid":"list-item-collapse",padding:t,children:(0,r.jsxs)(h,{children:[i,(0,r.jsx)(g,{"data-testid":"list-item-collapse-button",onClick:()=>a(!o),children:o?(0,r.jsx)(x,{}):(0,r.jsx)(m,{})})]})}),o&&(0,r.jsx)(y,{"data-testid":"list-item-collapsible-items",children:n})]})},b=n.Ay.div([""]),_=({icon:e})=>(0,r.jsx)(b,{"data-testid":"list-item-icon",children:e});var v=i(98186);let j=n.Ay.div([""]),A=({src:e,alt:t,size:i,color:n})=>(0,r.jsx)(j,{children:(0,r.jsx)(v.A,{src:e,alt:t,size:i,color:n})}),C=n.Ay.div(["flex:",";display:flex;justify-content:",";align-items:center;overflow:hidden;"],e=>e.size||1,e=>"center"===e.position?"center":`flex-${e.position}`),w=n.Ay.div(["display:flex;align-items:center;overflow:hidden;"]),k=n.Ay.div(["display:flex;align-items:center;overflow:hidden;"]),S=n.Ay.div(["margin:",";padding:",";align-items:center;overflow:hidden;"],e=>e.margin,e=>e.padding),T=({avatar:e,icon:t,header:i,text:n,subText:o,columnWidth:a,columnTextPadding:l,columnTextMargin:s,columnTextPosition:d})=>e?(0,r.jsx)(C,{size:a,position:d,children:(0,r.jsxs)(w,{children:[e,(0,r.jsxs)(S,{padding:l,margin:s,children:[i&&i,n&&n,o&&o]})]})}):t?(0,r.jsx)(C,{size:a,position:d,children:(0,r.jsxs)(k,{children:[t,(0,r.jsxs)(S,{padding:l,margin:s,children:[i&&i,n&&n,o&&o]})]})}):(0,r.jsx)(C,{size:a,position:d,children:(0,r.jsxs)(S,{padding:l,margin:s,children:[i&&i,n&&n,o&&o]})});var P=i(99701),J=i(49504);let E=n.Ay.div(["",";",";color:",";"],J.Ay.Body,J.BO.Medium,P.Jy.Neutral90),R=({text:e,...t})=>(0,r.jsx)(E,{...t,children:e}),L=n.Ay.p(["",";",";color:",";white-space:nowrap;min-width:0;text-overflow:ellipsis;overflow:hidden;"],J.Ay.Body,J.BO.Regular,P.Jy.Neutral90),N=({text:e})=>(0,r.jsx)(L,{children:e}),I=n.Ay.p(["",";",";color:",";white-space:nowrap;min-width:0;text-overflow:ellipsis;overflow:hidden;"],J.Ay.Caption,J.BO.Regular,P.Jy.Neutral50),M=({text:e,...t})=>(0,r.jsx)(I,{...t,children:e})},33156:function(e,t,i){"use strict";i.d(t,{g:function(){return s},A:function(){return s}});var r=i(74848);i(96540);var n=i(18509),o=i(69352),a=i(95742);let l=i(38267).Ay.span(["display:inline-block;width:",";height:",";background-repeat:no-repeat;background-position:0 50%;background-size:contain;background-image:",";vertical-align:middle;"],e=>e.imageUrl?"125px":"120px",e=>e.imageUrl?"35.9px":"32px",e=>`url(${e.imageUrl})`),s=({variant:e="default",...t})=>{let i=(0,n.N)(o.Tp.logo),s=i?.[e],{getHost:d}=(0,a.Ay)(),c=a.GT.includes(d);return(0,r.jsx)(l,{imageUrl:s,isCioDomain:c,...t})}},35980:function(e,t,i){"use strict";i.d(t,{Dr:function(){return u},sW:function(){return B},W1:function(){return a}});var r=i(74848),n=i(38267);let o=n.Ay.ul(["height:100%;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;"]),a=({children:e})=>(0,r.jsx)(o,{children:e});var l=i(96540),s=i(72150);let d=n.Ay.li(["cursor:pointer;width:100%;",""],({position:e})=>"end"===e&&(0,n.AH)(["margin-top:auto;"])),c=(0,n.Ay)(s.A)(["z-index:2;"," ",""],({position:e})=>e&&(0,n.AH)(["top:","px;"],e),({subMenuHorizontalOffset:e})=>e&&(0,n.AH)(["transform:translateX(","px);"],e)),u=e=>{let{width:t,subMenu:i,children:n,className:o,position:a,subMenuHorizontalOffset:s}=e,[u,p]=(0,l.useState)(!1),[h,x]=(0,l.useState)(0),m=(0,l.useRef)(null),g=(0,l.useRef)(null);return(0,l.useEffect)(()=>{u&&x((()=>{let e=m.current?.getBoundingClientRect(),t=g.current?.clientHeight||0;if(!t)return;let i=e?.top||0;if(window.innerHeight-i<t){let e=t-(window.innerHeight-i);return i-e-10}return i-10})()||0)},[u]),(0,r.jsxs)(d,{ref:m,className:o,position:a,onTouchStart:()=>i?p(!0):void 0,onMouseEnter:()=>i?p(!0):void 0,onMouseLeave:()=>i?p(!1):void 0,children:[n,i&&(0,r.jsx)(c,{ref:g,isOpen:u,isSubMenu:!0,width:t,position:h,subMenuHorizontalOffset:s,children:i})]})};var p=i(81247),h=i(47767),x=i(84976),m=i(33093),g=i(85922),y=i(99701),f=i(49504),b=i(14649),_=i(25755);
7722let v=(0,n.Ay)(x.N_)([""]),j=n.Ay.div(["gap:6px;display:flex;align-items:center;justify-content:space-between;padding:8px 10px;margin:0 8px;border-radius:12px;transition:all 0.2s ease-in-out;",";",";color:",";&:hover{color:",";background-color:",";}",""],f.Ay.Caption,f.BO.Medium,y.Jy.Neutral60,({active:e})=>e?y.Jy.Blue50:y.Jy.Neutral70,({active:e})=>e?y.Jy.Blue10:y.Jy.Neutral10,({active:e})=>e&&(0,n.AH)(["color:",";background-color:",";"],y.Jy.Blue50,y.Jy.Blue10)),A=n.Ay.div(["padding-top:2px;"]),C=n.Ay.div(["gap:6px;display:flex;align-items:center;"]),w=n.Ay.div(["position:relative;display:inline-block;color:",";",""],y.Jy.White,({active:e})=>!e&&(0,n.AH)(["svg{color:",";}",":hover &{svg{color:",";}}"],y.Jy.Neutral40,j,y.Jy.Neutral50)),k=n.Ay.div([""]),S=n.Ay.div(["top:-2px;right:-3px;position:absolute;padding:4px 4px;border-radius:50%;border:2px solid ",";background-color:",";"],y.Jy.White,y.Jy.Blue50),T=(0,n.Ay)(b.EK.Crown).attrs({width:16,height:16})(["position:absolute;bottom:-5px;right:-5px;background-color:",";border-radius:40%;color:"," !important;"],y.Jy.White,y.Jy.Indigo70),P=(0,n.Ay)(_.Ay)(["& > :first-child{padding:4px 8px;max-width:142px;margin-left:",";"," ","}& > div > svg{color:",";left:-10px;height:5px;width:16px;}"],({$isOpen:e})=>e?"-38px":"-128px",f.Ay.Tiny,f.BO.Regular,y.Jy.Neutral90);var J=i(77378);i(49091);var E=i(99773);let R=(0,n.AH)(["content:'';position:absolute;border-style:solid;"]),L=n.Ay.div(["background:transparent;&[data-placement^='top'] > .tippy-arrow:before{"," bottom:-9px;left:0;border-width:9px 9px 0;border-top-color:",";}&[data-placement^='top'] > .tippy-arrow:after{"," bottom:-8px;left:0;border-width:9px 9px 0;border-color:transparent;border-top-color:initial;}&[data-placement^='bottom'] > .tippy-arrow:before{"," top:-9px;left:0;border-width:0 9px 9px;border-bottom-color:",";}&[data-placement^='bottom'] > .tippy-arrow:after{"," top:-8px;left:0;border-width:0 9px 9px;border-color:transparent;border-bottom-color:initial;}&[data-placement^='left'] > .tippy-arrow:before{"," right:-9px;border-width:9px 0 9px 9px;border-left-color:",";}&[data-placement^='left'] > .tippy-arrow:after{"," right:-8px;border-width:9px 0 9px 9px;border-color:transparent;border-left-color:initial;}&[data-placement^='right'] > .tippy-arrow:before{"," left:-9px;border-width:9px 9px 9px 0;border-right-color:",";}&[data-placement^='right'] > .tippy-arrow:after{"," left:-8px;border-width:9px 9px 9px 0;border-color:transparent;border-right-color:initial;}"],R,y.Jy.Neutral15,R,R,y.Jy.Neutral15,R,R,y.Jy.Neutral15,R,R,y.Jy.Neutral15,R),N=n.Ay.div(["color:",";height:16px;width:16px;"],y.Jy.White),I=({children:e,component:t,containerStyles:i,...n})=>(0,r.jsx)(E.A,{...n,render:e=>(0,r.jsxs)(L,{...e,style:i,className:"tippy-box",children:[(0,r.jsx)(N,{"data-popper-arrow":"",className:"tippy-arrow"}),t]}),children:e}),M=(0,l.memo)(({open:e,popover:t,children:i,isPostPremium:n})=>{let{i18n:o}=(0,J.s)(),[a,s]=(0,l.useState)(!1);return t?(0,r.jsx)(I,{visible:a,component:t,placement:"right",containerStyles:{margin:"20px 0 16px"},children:(0,r.jsx)("div",{style:{position:"relative"},onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:i})}):n?(0,r.jsx)(P,{$isOpen:e,position:"right",value:o.t("builder.side_menu.post_premium_tooltip"),multiline:!0,children:i}):(0,r.jsx)(r.Fragment,{children:i})}),B=({to:e,children:t,href:i,hrefTarget:n,open:o,active:a,subMenu:l,endDecoration:s,startDecoration:d,startDecorationActive:c,className:u,eventParam:y,isPostPremium:f,popover:b,onClickLink:_,onClick:P,...J})=>{let E=(0,h.RQ)(e),R=(0,p.wA)(),[L]=(0,x.ok)(),N=a||!!E||e.split("?")[1]===L.toString(),I=!o&&!l&&s;return(0,r.jsx)(v,{to:f||P||i?"#":e,onClick:t=>{y&&("chrome_extension"===y?(0,m.xP)("click_install_chrome",{source:"left_hand_nav"}):e.includes("/career-profile")?(0,m.xP)("click_profile_service",{tool:y}):(0,m.xP)("click_left_nav_menu_link",{target:y})),f&&f&&R(g.o1.setTrackJobPaywall(!0)),P&&P(),i&&i&&window.open(i,n||"_blank"),_&&(t.stopPropagation(),t.preventDefault(),_(e))},children:(0,r.jsx)(M,{open:o,isPostPremium:f,popover:b,children:(0,r.jsxs)(j,{...J,className:u,open:o,active:N,children:[(0,r.jsxs)(C,{children:[(0,r.jsxs)(w,{children:[I&&(f?(0,r.jsx)(T,{}):(0,r.jsx)(S,{})),N?c:d]}),o&&(0,r.jsx)(A,{children:t})]}),o&&(0,r.jsx)(k,{children:s})]})})})}},89123:function(e,t,i){"use strict";i.d(t,{U:function(){return s}});var r=i(96540),n=i(81247),o=i(64961),a=i(18509),l=i(8037);let s=()=>{let e=(0,n.wA)(),t=(0,a.N)(o.Tp.documentsStatus),i=(0,a.N)(e=>o.Tp.documentsByType(e,l.VC.resume)),s=(0,a.N)(e=>o.Tp.documentsByType(e,l.VC.coverLetter)),d=(0,a.N)(e=>o.Tp.documentsByType(e,l.VC.resume,!0)),c=(0,r.useMemo)(()=>
7722[...i,...d],[i,d]);return(0,r.useEffect)(()=>{t===l.Hp.notAsked&&e(o.o1.fetchDocuments())},[t,e]),{resumes:i,coverLetters:s,autoTailoredResumes:d,allResumes:c}}},56298:function(e,t,i){"use strict";i.d(t,{O:function(){return c}});var r=i(74848),n=i(14649),o=i(38267),a=i(99701),l=i(24833);let s={1:(0,o.AH)(["background:",";color:",";",""],a.Jy.Neutral10,a.Jy.Neutral50,l.A.Hover`
7723      &:hover {
7724        background: ${a.Jy.Blue10};
7725        color: ${a.Jy.Blue50};
7726      }
7727    `),2:(0,o.AH)(["background:",";color:",";",""],a.Jy.White,a.Jy.Neutral50,l.A.Hover`
7728      &:hover {
7729        background: ${a.Jy.White};
7730        color: ${a.Jy.Blue50};
7731      }
7732    `)},d=o.Ay.button(({version:e="1"})=>(0,o.AH)(["--modal-close-size:28px;margin:0;padding:0;border:none;outline:none;display:flex;align-items:center;justify-content:center;cursor:pointer;width:var(--modal-close-size);height:var(--modal-close-size);flex:0 0 var(--modal-close-size);border-radius:50%;transition:all 0.1s ease-out;"," ",""],s[e],l.A.Phone`
7733      --modal-close-size: 24px;
7734    `)),c=e=>(0,r.jsx)(d,{...e,children:(0,r.jsx)(n.EK.Close,{})})},16466:function(e,t,i){"use strict";i.d(t,{A:function(){return h}});var r=i(74848),n=i(96540),o=i(5556),a=i.n(o),l=i(83035),s=i(74755),d=i(7987),c=i(56155),u=({onPress:e,children:t})=>((0,c.j)(e),t||null);class p extends n.Component{static propTypes={children:a().element,onClick:a().func,onClose:a().func,overlayFadeDuration:a().number,contentSlideDuration:a().number,fullScreen:a().bool,backgroundOpacity:a().number,background:a().string,disableBodyScroll:a().bool};static defaultProps={overlayFadeDuration:0,contentSlideDuration:100,backgroundOpacity:.8,disableBodyScroll:!0};state={isVisible:!1,fullScreen:!1};constructor(e){super(e),this.overlayRef=(0,n.createRef)(),this.contentRef=(0,n.createRef)()}componentDidMount(){this.show(),this.props.disableBodyScroll&&(0,s.disableBodyScroll)(this.overlayRef.current)}componentWillUnmount(){(0,s.enableBodyScroll)(this.overlayRef.current)}show=()=>{(0,d.q)(this.overlayRef.current),this.setState({isVisible:!0})};handleOverlayClick=e=>{if(!this.props.onClick)return;let{current:t}=this.overlayRef,{current:i}=this.contentRef;(t===e.target||i===e.target)&&this.props.onClick(e)};render(){let{isVisible:e}=this.state,{overlayFadeDuration:t,contentSlideDuration:i,fullScreen:n,backgroundOpacity:o,background:a}=this.props,s=this.props.onClose||this.props.onClick;return(0,r.jsxs)(l.h,{onClick:this.handleOverlayClick,ref:this.overlayRef,isVisible:e,duration:t,fullScreen:n,backgroundOpacity:o,background:a,children:[s&&(0,r.jsx)(u,{onPress:s}),(0,r.jsx)(l.U,{ref:this.contentRef,isVisible:e,duration:i,fullScreen:n,children:this.props.children})]})}}var h=p},83035:function(e,t,i){"use strict";i.d(t,{U:function(){return a},h:function(){return o}});var r=i(38267),n=i(24833);let o=r.Ay.div(["display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;padding:",";z-index:12000;pointer-events:auto;opacity:",";transition-property:opacity;transition-timing-function:ease-out;transition-duration:",";background:",";overflow-y:auto;-webkit-overflow-scrolling:touch;",";"],({fullScreen:e})=>e?"0":"32px 40px",e=>+!!e.isVisible,e=>`${e.duration}ms`,e=>e.background?e.background:`rgba(15, 20, 31, ${e.backgroundOpacity})`,n.A.Phone`
7735    padding: ${({fullScreen:e})=>e?"0":"16px"};
7736  `),a=r.Ay.div(["display:flex;justify-content:center;align-items:center;width:100%;margin:auto;transform:",";opacity:",";transition-property:opacity,transform;transition-timing-function:ease-out;transition-duration:",";",""],e=>e.isVisible?"none":"translateY(-100px)",e=>+!!e.isVisible,e=>`${e.duration}ms`,({fullScreen:e})=>e&&`
7737    height: 100%;
7738  `)},52646:function(e,t,i){"use strict";i.d(t,{G:function(){return h}});var r=i(74848),n=i(20646),o=i(41193),a=i(22130),l=i(38267),s=i(99701),d=i(49504),c=i(14649);let u=l.Ay.a(["",";",";background:",";color:",";display:flex;justify-content:center;align-items:center;border-radius:16px;padding:6px 12px 6px 10px;transition:background-color 0.25s;&:hover,&:active{background:",";}"],d.Ay.Caption,d.BO.DemiBold,s.Jy.Indigo80,s.Jy.White,s.Jy.Indigo90),p=(0,l.Ay)(c.EK.Crown)(["margin-right:2px;"]),h=({...e})=>{let t=(0,o.J)();return(0,r.jsxs)(u,{onClick:()=>{t&&(0,a.b)({upgradeURL:t?.billingInfo.upgradeUrl})},href:t?(0,a.f)({upgradeURL:t?.billingInfo.upgradeUrl}):null,...e,children:[(0,r.jsx)(p,{}),n.R.t("builder.navbar.upgrade_now_button")]})}},5562:function(e,t,i){"use strict";i.d(t,{k:function(){return k}});var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(25755),s=i(86066),d=i(85922),c=i(20646),u=i(22130),p=i(9888),h=i(18509),x=i(57238),m=i(38267),g=i(99701),y=i(49504),f=i(91779),b=i(14649);let _=m.Ay.div(["display:flex;justify-content:center;align-items:center;gap:8px;margin-right:",";"],e=>e.daysLeftPremium<1?"-4px":"12px"),v=m.Ay.div(["display:flex;justify-content:center;align-items:center;padding:4px 12px 4px 4px;gap:6px;flex-shrink:0;border-radius:32px;background:",";"],g.Jy.Indigo10),j=m.Ay.div(["width:26px;height:26px;border-radius:50%;border:3px solid ",";display:flex;justify-content:center;align-items:center;"],g.Jy.Indigo30),A=(0,m.Ay)(b.EK.Crown)(["color:",";"],g.Jy.Indigo80),C=m.Ay.div(["",";",";color:",";"],y.Ay.Caption,y.BO.DemiBold,g.Jy.Indigo80),w=(0,m.Ay)(f.Ay)(["",";",";color:",";padding:7px 12px;border-radius:32px;background:",";&:hover{background:",";}"],y.Ay.Caption,y.BO.DemiBold,g.Jy.White,g.Jy.Indigo80,g.Jy.Indigo90),k=({daysLeftPremium:e,...t})=>{let{isPhone:i}=(0,s.e)(),m=(0,o.wA)(),g=(0,p.U)(),y=(0,h.N)(x.Tp.userData),f=(0,n.useCallback)(()=>{m(d.o1.openRestartSubscriptionModal())},[m]);return(0,r.jsxs)(_,{daysLeftPremium:e,...t,children:[(0,r.jsx)(l.Ay,{position:"bottom",multiline:!!i,value:e<1?c.R.t("builder.navigation.post_premium.premium_over"):c.R.t("builder.navigation.post_premium.premium_warning"),children:(0,r.jsxs)(v,{children:[(0,r.jsx)(j,{children:(0,r.jsx)(A,{})}),(0,r.jsx)(C,{children:c.R.t(i?"builder.navigation.post_premium.days_left_shorthand":"builder.navigation.post_premium.days_left",{days_left_count:e<1?0:e})})]})}),!i&&(0,r.jsxs)(w,{onClick:()=>{g?.features.reactivatePremium&&y?.billingInfo.canRestartSubscription?(f(),(0,a.xP)("click_keep_premium",{where:"dash"})):(e>0&&(0,a.xP)("click_keep_premium",{label:"navigation"}),(0,u.b)())},children:[e<1?c.R.t("builder.navigation.post_premium.renew"):c.R.t("builder.navigation.post_premium.keep")," ",c.R.t("builder.navigation.post_premium.premium")
7738]})]})}},33414:function(e,t,i){"use strict";i.d(t,{F:function(){return r}});let r=e=>e?Math.floor((new Date(e).getTime()-new Date().getTime())/864e5):0},99901:function(e,t,i){"use strict";i.d(t,{N:function(){return n},h:function(){return r}});let r="super-app-navigation-bar-logo",n=["/job-search"]},65333:function(e,t,i){"use strict";i.d(t,{M$:function(){return 80},Vx:function(){return tI},hT:function(){return r.h},aD:function(){return D}});var r=i(99901);i(18111),i(13579),i(14603),i(47566),i(98721);var n=i(74848),o=i(96540),a=i(62846),l=i(47767),s=i(45588),d=i(33093),c=i.p+"media/TRxCIO93c647812fbcbd58.svg";i(22489),i(61701);var u=i(81247),p=i(9888),h=i(77378),x=i(69352),m=i(18509),g=i(57238),y=i(72603),f=i(86066),b=i(42692),_=i(95742),v=i(41193);i(20116);var j=i(12330),A=i(56102),C=i(56155),w=i(83530),k=i(62317),S=i(38267),T=i(84976),P=i(99701),J=i(49504),E=i(78561),R=i(67592),L=i(14649),N=i(52646);let I=(0,S.i7)(["from{transform:scale(0.5);opacity:0;}to{transform:scale(1);opacity:1;}"]),M=S.Ay.div(["display:flex;align-items:center;position:relative;margin-left:",";"],e=>e.isPremium?"0":"16px"),B=S.Ay.button(["position:relative;display:flex;overflow:hidden;width:32px;height:32px;margin:0;padding:0;border:none;border-radius:50%;background:none;cursor:pointer;outline:none;&:after,&:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;}&:before{border:1px solid ",";}&:after{border:2px solid ",";opacity:",";transition:opacity 0.2s;}&:hover:after,&:focus-visible:after{opacity:1;}&:active:after{border-color:",";}"],(0,E.j)(P.Jy.Neutral90,.04),P.Jy.Blue50,e=>+!!e.isOpen,P.Jy.Blue60),D=S.Ay.img(["width:100%;height:100%;"]),$=S.Ay.menu(["",";position:absolute;z-index:",";right:0;top:calc(100% + 12px);padding:0;margin:0;width:280px;border-radius:8px;background-color:",";transform-origin:100% 0;animation:"," 0.25s;animation-fill-mode:forwards;"],R.A.lightWithBorder.mid,551,P.Jy.White,I),O=(0,S.Ay)(T.N_)(["display:flex;justify-content:space-between;align-items:center;"]),z=S.Ay.div(["display:flex;flex-direction:column;padding:20px;border-bottom:1px solid ",";"],P.Jy.Neutral15),F=S.Ay.div(["position:relative;overflow:hidden;flex-shrink:0;margin-right:16px;width:40px;height:40px;border-radius:50%;&:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;border:1px solid ",";}"],(0,E.j)(P.Jy.Neutral90,.04)),H=S.Ay.img(["width:100%;height:100%;"]),V=S.Ay.div(["flex-grow:1;"]),U=S.Ay.div(["font-weight:600;transition:color 0.2s;",":hover &{color:",";}"],O,P.Jy.Blue60),W=S.Ay.div(["",";color:",";"],J.Ay.Tiny,P.Jy.Neutral50),K=(0,S.Ay)(L.qJ.Chevron)(["margin-left:12px;color:",";transition:color 0.2s;",":hover &{color:",";}"],P.Jy.Neutral30,O,P.Jy.Blue50),q=S.Ay.div(["padding:12px 0;"]),G=S.Ay.a(["display:block;padding:6px 20px;color:",";transition:color 0.2s;cursor:pointer;border:none;background:none;margin:0;&:hover{color:",";}"],e=>e.secondary?P.Jy.Neutral50:P.Jy.Neutral90,P.Jy.Blue60),Z=(0,S.Ay)(N.G)(["margin-top:16px;"]),X=(0,o.memo)(({user:e,photoUrl:t,isOpen:i,onToggle:r})=>{let{i18n:a}=(0,h.s)(),l=(0,p.U)(),{isPhone:s}=(0,f.e)(),d=(0,o.useRef)(null);return(0,k.L)(d,()=>r(!1)),(0,C.j)(()=>r(!1)),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(M,{ref:d,isPremium:e.hasPremiumFeatures,children:[(0,n.jsx)(B,{isOpen:i,onClick:()=>r(!i),children:(0,n.jsx)(D,{src:t,alt:e.fullName})}),i&&(0,n.jsxs)($,{children:[(0,n.jsxs)(z,{children:[(0,n.jsxs)(O,{to:"/account",children:[(0,n.jsx)(F,{children:(0,n.jsx)(H,{src:t,alt:e.fullName})}),(0,n.jsxs)(V,{children:[(0,n.jsx)(U,{children:e.fullName}),(0,n.jsx)(W,{children:a.t("builder.navbar.account_settings")})]}),(0,n.jsx)(K,{})]}),!e?.hasPremiumFeatures&&s&&(0,n.jsx)(Z,{})]}),(0,n.jsxs)(q,{children:[l?.links.updates&&(0,n.jsx)(G,{href:l.links.updates,target:"_blank",rel:"noreferrer noopener",children:a.t("builder.navbar.updates")}),l?.links.help&&(0,n.jsx)(G,{href:l.links.help,target:"_blank",rel:"noreferrer noopener",children:a.t("builder.navbar.faq")}),(0,n.jsx)(G,{as:"button",onClick:()=>w.y.logout(),secondary:!0,children:a.t("builder.navbar.log_out")})]})]})]})})});
7738var Q=i(6638),Y=i.n(Q),ee=i(64608),et=i(24833);let ei=S.Ay.i(["display:grid;grid-template-columns:repeat(3,1fr);grid-gap:4px;padding:4px 4px;box-sizing:content-box;"]),er=S.Ay.span(["width:3px;height:3px;border-radius:50%;background-color:currentColor;will-change:transform,opacity,border-radius;transition:transform 0.25s,opacity 0.25s,border-radius 0.25s;"]),en=e=>(0,S.AH)(["transform:translate(",");opacity:0;"],e),eo=(e,t)=>(0,S.AH)(["transform:rotate(","deg) scale(0.65,3.3) translateY(","px);border-radius:0.5px;"],e,t),ea=S.Ay.button(["position:relative;display:flex;align-items:center;margin:0;padding:9px 16px;border:none;background:none;color:",";transition:color 0.2s;cursor:pointer;outline:none;margin-left:24px;background-color:",";border-radius:32px;padding-left:12px;padding-right:16px;","{color:",";}"," "," &:before{content:'';width:100%;height:100%;position:absolute;top:-4px;left:-4px;padding:4px;box-sizing:content-box;}&:hover,&:focus-visible{color:",";background-color:",";}",";"],P.Jy.Neutral90,P.Jy.Neutral5,er,P.Jy.Blue50,et.A.Tablet`
7739     margin-left: 16px;
7740  `,et.A.Phone`
7741     margin-left: 0;
7742  `,P.Jy.Blue60,P.Jy.Blue10,e=>e.isActive&&(0,S.AH)(["& ",":nth-child(2){","}& ",":nth-child(4){","}& ",":nth-child(5){opacity:0;}& ",":nth-child(6){","}& ",":nth-child(8){","}& ",":nth-child(1){","}& ",":nth-child(3){","}& ",":nth-child(7){","}& ",":nth-child(9){","}"],er,en("0, 6px"),er,en("6px, 0"),er,er,en("-6px, 0"),er,en("0, -6px"),er,eo(-45,1.5),er,eo(45,1.5),er,eo(45,-1.5),er,eo(-45,-1.5))),el=S.Ay.span(["",";animation:"," 0.25s;padding-left:8px;white-space:nowrap;transition:opacity 0.25s,visibility 0.25s;"],J.BO.Regular,ee.qG),es=(0,o.memo)(({isActive:e,...t})=>{let{i18n:i}=(0,h.s)();return(0,n.jsxs)(ea,{isActive:e,...t,children:[(0,n.jsx)(ei,{children:Y()(9,e=>(0,n.jsx)(er,{},e))}),(0,n.jsx)(el,{children:i.t("builder.navbar.services")})]})});var ed=i(64961),ec=i.p+"media/welcome_modal_play_Buttons_hover.svgfa2151d5edbd95f7.svg";let eu=S.Ay.div(["display:flex;justify-content:center;cursor:pointer;align-items:center;"]),ep=S.Ay.div(["height:40px;width:59px;display:flex;justify-content:center;align-items:center;background-image:url(",");background-position:top;background-size:cover;background-color:",";border-radius:8px;margin-right:12px;"],i(89376),P.Jy.Blue10),eh=S.Ay.img(["width:28px;height:28px;margin-top:3.2px;transition:opacity 0.25s ease-in-out;opacity:",";"],e=>e.isHovered?1:.75),ex=S.Ay.div(["color:",";transition:color 0.25s;"],e=>e.isHovered?P.Jy.Blue50:P.Jy.Neutral90),em=S.Ay.div(["width:1px;height:32px;margin-left:25px;margin-right:25px;background:",";"],P.Jy.Neutral15),eg=()=>{let{i18n:e}=(0,h.s)(),t=(0,u.wA)(),{getHost:i}=(0,_.Ay)(),[r,a]=(0,o.useState)(!1);return(0,n.jsxs)(eu,{onClick:()=>{t(ed.o1.setOpenWelcomeModal(!0)),(0,d.xP)("click_play_video",{label:"navigation",website_host:i})},onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[(0,n.jsx)(ep,{children:(0,n.jsx)(eh,{isHovered:r,src:ec})}),(0,n.jsx)(ex,{isHovered:r,children:e.t("builder.navigation.modal_button")}),(0,n.jsx)(em,{})]})};var ey=i(5562),ef=i(33414),eb=i(85266),e_=i(34346),ev=i(95813),ej=i(7908),eA=i(85783);let eC=(0,S.i7)(["from{transform:scale(0.5);opacity:0;}to{transform:scale(1);opacity:1;}"]),ew=S.Ay.div(["display:flex;align-items:center;position:relative;margin-left:",";"],e=>e.isPremium?"0":"16px"),ek=S.Ay.div(["position:relative;display:flex;align-items:center;height:40px;border-radius:1000px;padding:4px 8px 4px 4px;cursor:pointer;gap:8px;background-color:",";will-change:background-color;transition:background-color 0.2s ease-out;"," "," &:hover{background-color:",";}"],P.Jy.White,e=>e.isOpen&&(0,S.AH)(["background-color:",";"],P.Jy.Neutral5),e=>e.hasCompletenessBadge&&(0,S.AH)(["",""],et.A.Phone`
7743        padding: 4px;
7744        margin-right: 14px;
7745      `),P.Jy.Neutral5),eS=S.Ay.div(["color:",";",""],P.Jy.Neutral100,et.A.Phone`
7746    display: none;
7747  `),eT=S.Ay.img(["width:32px;height:32px;border-radius:50%;"]),eP=S.Ay.div(["position:relative;"]),eJ=S.Ay.img(["position:absolute;bottom:0;right:0;width:16px;height:16px;"]),eE=(0,S.Ay)(eA.E)(["min-width:36px;border-radius:100px;",""],et.A.Phone`
7748    top: 0;
7749    left: 26px;
7750    position: absolute;
7751    border: 2px solid ${P.Jy.White};
7752  `),eR=S.Ay.menu(["",";position:absolute;z-index:",";right:0;top:100%;padding:12px 24px 24px;margin:0;width:352px;border-radius:16px;background-color:",";display:flex;flex-flow:column;gap:12px;transform-origin:100% 0;animation:"," 0.25s;animation-fill-mode:forwards;",";"],R.A.lightWithBorder.high,551,P.Jy.White,eC,et.A.Phone`
7753    right: -20px;
7754    width: 100vw;
7755    border-radius: 0;
7756    top: calc(100% + 20px);
7757    height: calc(100vh - 80px);
7758  `),eL=(0,S.Ay)(T.N_)(["--user-name-color:",";--my-profile-text-color:",";display:flex;flex-direction:column;padding:8px 2px;gap:2px;",""],P.Jy.Neutral100,P.Jy.Neutral50,et.A.Hover`
7759    &:hover {
7760      --user-name-color: ${P.Jy.Blue60};
7761      --my-profile-text-color: ${P.Jy.Blue60};
7762    }
7763  `),eN=S.Ay.div(["",";",";color:var(--user-name-color);will-change:color;transition:color 0.2s ease-out;"],J.Ay.S,J.BO.DemiBold),eI=S.Ay.div(["",";",";color:",";color:var(--my-profile-text-color);will-change:color;transition:color 0.2s ease-out;"],J.Ay.Caption,J.BO.Regular,P.Jy.Neutral50),eM=S.Ay.div([""]),eB=S.Ay.div(["flex:0 0 1px;background-color:",";"],P.Jy.Neutral15),eD=S.Ay.div([""]),e$=S.Ay.a([""]),eO=(0,S.Ay)(T.N_)([""]),ez=S.Ay.div(["width:100%;display:flex;align-items:center;padding:4px;gap:12px;transition:color 0.1s ease-out;cursor:pointer;border:none;background:none;margin:0;",""],et.A.Hover`
7764    &:hover {
7765      color: ${P.Jy.Blue60};
7766    }
7767  `);(0,S.Ay)(N.G)(["margin-top:16px;"]);var eF=i.p+"media/completed-badge31501172dbae36a9.svg";
7767let eH=(0,o.memo)(({user:e,photoUrl:t,isOpen:i,onToggle:r})=>{let{i18n:a}=(0,h.s)(),l=(0,p.U)(),s=(0,o.useRef)(null),c=(0,m.N)(e_.Tp.completenessPercent),u=null!==c&&100!==c,x=100===c?(0,n.jsx)(eJ,{src:eF,alt:"Completed on 100%"}):null,g=u&&(0,n.jsx)(eb.PN,{});return(0,k.L)(s,()=>r(!1)),(0,C.j)(()=>r(!1)),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(ew,{ref:s,isPremium:e.hasPremiumFeatures,children:[(0,n.jsxs)(ek,{isOpen:i,hasCompletenessBadge:u,onClick:()=>{(0,d.xP)("click_career_profile"),r(!i)},children:[(0,n.jsxs)(eP,{children:[(0,n.jsx)(eT,{src:t,alt:e.fullName}),x]}),(0,n.jsx)(eS,{children:a.t("builder.navbar.career_profile")}),u&&(0,n.jsxs)(eE,{variant:c>=90?"green":"orange",size:"small",children:[c,"%"]})]}),i&&(0,n.jsxs)(eR,{children:[(0,n.jsxs)(eL,{to:"/career-profile/profile",onClick:()=>{(0,d.xP)("click_profile_name")},children:[(0,n.jsx)(eN,{children:e.fullName}),(0,n.jsx)(eI,{children:a.t("builder.navbar.my_career_profile")})]}),g,(0,n.jsxs)(eM,{children:[(0,n.jsx)(eb.s3,{type:"insights"}),(0,n.jsxs)(ev.ZD,{to:"/job-search?view=recommendation",children:[(0,n.jsx)(ej.aK,{name:"JobTracker"}),(0,n.jsx)(ej.EY,{children:a.t("builder.career_profile.navigation_links.recommended_jobs")})]}),(0,n.jsx)(eb.s3,{type:"pitch"}),(0,n.jsx)(eb.s3,{type:"cover-letter"})]}),(0,n.jsx)(eB,{}),(0,n.jsxs)(eD,{children:[(0,n.jsx)(eO,{to:"/account",children:(0,n.jsxs)(ez,{children:[(0,n.jsx)(L.Ay.Settings2,{}),a.t("builder.navbar.account_settings")]})}),l?.links.help&&(0,n.jsx)(e$,{href:l.links.help,target:"_blank",rel:"noreferrer noopener",children:(0,n.jsxs)(ez,{children:[(0,n.jsx)(L.Ay.Info,{}),a.t("builder.navbar.faq")]})}),(0,n.jsxs)(ez,{onClick:()=>w.y.logout(),children:[(0,n.jsx)(L.Ay.LogOut,{}),a.t("builder.navbar.log_out")]})]})]})]})})});var eV=i(23054),eU=i(33156);let eW=S.Ay.nav(["position:absolute;z-index:",";top:0;left:0;width:100%;"," ",""],550,e=>!e.isTransparent&&(0,S.AH)(["position:fixed;background:",";backdrop-filter:blur(8px) saturate(200%);"],(0,E.j)(P.Jy.White,.92)),et.A.Tablet`
7768    position: fixed;
7769      background: ${(0,E.j)(P.Jy.White,.92)};
7770      backdrop-filter: blur(8px) saturate(200%);
7771  `),eK=(0,S.Ay)(eV.m)(["display:flex;align-items:center;position:relative;height:","px;"],80),eq=(0,S.Ay)(T.N_).withConfig({shouldForwardProp:e=>!1===["isMenuOpen"].includes(e)})(["display:flex;transition:opacity 0.2s,visibility 0.2s;opacity:",";visibility:",";",""],e=>+!e.isMenuOpen,e=>e.isMenuOpen?"hidden":"visible",et.A.Phone`
7772    position: absolute;
7773    left: calc(50% + 17px);
7774    top: 50%;
7775    transform: translate(-50%, -50%);
7776  `),eG=S.Ay.img(["display:inline-block;width:120px;height:32px;vertical-align:middle;"]),eZ=(0,S.Ay)(eU.g)(["",""],et.A.Tablet`
7777    background-size: auto 32px;
7778    width: 34px;
7779  `),eX=S.Ay.div(["margin-left:auto;display:flex;align-items:center;opacity:",";visibility:",";transition:opacity 0.2s,visibility 0.2s;"],e=>+!e.isMenuOpen,e=>e.isMenuOpen?"hidden":"visible"),eQ=(0,o.memo)(({features:e,isMenuOpen:t,isUserDropdownOpen:i,isTransparent:a,onMenuToggle:d,onUserDropdownToggle:c})=>{let u,h=(0,p.U)(),x=(0,v.J)(),{isPhone:y}=(0,f.e)(),b=(0,m.N)(g.Tp.photoUrl),_=(u=(0,l.zy)(),(0,o.useMemo)(()=>e.find(e=>(e.paths||[e.to]).some(e=>e&&(0,s.B6)(e,u.pathname))),[e,u.pathname])),C=_&&y,w=(0,l.zy)(),k=h?.features.superApp,S=h?.features.careerProfile,T=j.D.getItem("promoBanner"),P=(0,o.useMemo)(()=>x?.billingInfo?.premiumEndsAt?(0,ef.F)(x?.billingInfo?.premiumEndsAt)+1:0,[x?.billingInfo.premiumEndsAt]),J=(0,o.useMemo)(()=>w.pathname?.includes("/upsider-loading"),[w.pathname]),E=(0,o.useMemo)(()=>"/"===w.pathname,[w.pathname]),R=(0,o.useMemo)(()=>P<=7&&x?.billingStatus!==g.Xw.subscription&&x?.billingInfo.userType&&[g.ut.premium,g.ut.postPremium].includes(x?.billingInfo.userType),[P,x]);return(0,n.jsx)(eW,{isTransparent:a,children:(0,n.jsxs)(eK,{children:[!C&&!J&&(0,n.jsx)(eq,{"aria-label":"Logo",isMenuOpen:!1,to:"1"===T?"/?tr_promo_banner=1":"/",children:(0,n.jsx)(eZ,{id:r.h,variant:"default"})}),!J&&(0,n.jsx)(es,{feature:_,isActive:t,onClick:()=>d(!t)}),J&&(0,n.jsx)(eq,{"aria-label":"Logo",isMenuOpen:!1,to:"1"===T?"/?tr_promo_banner=1":"/",children:(0,n.jsx)(eG,{src:A})}),!J&&(0,n.jsxs)(eX,{isMenuOpen:!1,children:[!y&&k&&E&&(0,n.jsx)(eg,{}
7779),!x?.hasPremiumFeatures&&x?.billingInfo.userType!==g.ut.postPremium&&!y&&(0,n.jsx)(N.G,{}),R&&(0,n.jsx)(ey.k,{daysLeftPremium:P}),x&&(S?(0,n.jsx)(eH,{user:x,photoUrl:b,isOpen:i,onToggle:c}):(0,n.jsx)(X,{user:x,photoUrl:b,isOpen:i,onToggle:c}))]})]})})});var eY=i(300),e0=i(20646),e1=i(94394),e2=i.n(e1);let e3=S.Ay.menu(["position:fixed;z-index:",";right:0;top:0;width:100vw;height:100%;padding:0;margin:0;background-color:",";&.menu-transition-enter{opacity:0;}&.menu-transition-enter-active{opacity:1;transition:opacity ","ms;}&.menu-transition-exit{opacity:1;}&.menu-transition-exit-active{opacity:0;transition:opacity ","ms;}"],549,P.Jy.White,225,300),e5=S.Ay.div(["position:absolute;top:","px;right:0;left:0;",";&:after{content:'';display:block;max-width:100%;height:1px;background-color:",";}"],80,et.A.Tablet`
7780    right: 20px;
7781    left: 20px;
7782  `,P.Jy.Neutral10),e4=S.Ay.div(["position:absolute;top:","px;right:0;bottom:0;left:0;overflow-y:auto;-webkit-overflow-scrolling:touch;"],80),e6=S.Ay.div(["display:flex;margin-left:32px;justify-content:space-around;flex-wrap:wrap;"," ",""],et.A.Tablet`
7783    margin-left: 0;
7784    display: grid;
7785    grid-template-columns: repeat(2, 1fr);
7786  `,et.A.Phone`
7787    grid-template-columns: repeat(1, 1fr);
7788  `),e8=S.Ay.div(["width:352px;padding-left:20px;"]),e9=(0,S.Ay)(eV.m)(["padding-top:33px;padding-bottom:16px;display:flex;"," "," ",".menu-transition-enter &{transform:translateY(8px);}",".menu-transition-enter-active &{transform:translateY(0);transition:transform ","ms;}",".menu-transition-exit &{transform:translateY(0);}",".menu-transition-exit-active &{opacity:0;transition:opacity ","ms;}"],et.A.Tablet`
7789    padding-top: 32px;
7790    flex-direction: column;
7791  `,et.A.Phone`
7792    padding-top: 16px;
7793    padding-bottom: 16px;
7794  `,e3,e3,300,e3,e3,300),e7=S.Ay.section(["width:288px;margin:0 0 32px 0;",""],et.A.Phone`
7795    margin-bottom: 24px;
7796  `),te=S.Ay.div(["",";"," color:",";margin-bottom:16px;letter-spacing:1.8px;text-transform:uppercase;",""],J.BO.DemiBold,J.o5.Caps,P.Jy.Neutral40,et.A.Phone`
7797    margin-bottom: 12px;
7798  `),tt=(0,S.Ay)(T.N_)(["display:flex;align-items:flex-start;pointer-events:",";&:not(:last-child){margin-bottom:24px;}",""],e=>e.$isDisabled?"none":"auto",et.A.Phone`
7799    align-items: center;
7800
7801    &:not(:last-child) {
7802      margin-bottom: 16px;
7803    }
7804  `),ti=S.Ay.div(["flex-shrink:0;margin:4px 20px 4px 0;width:40px;height:40px;background-color:",";border-radius:8px;",";"],P.Jy.Blue10,et.A.Phone`
7805    margin: 0 12px 0 0;
7806  `),tr=S.Ay.div(["flex-grow:1;"]),tn=S.Ay.div(["",";color:",";"],J.BO.Medium,e=>e.isDisabled?P.Jy.Neutral50:P.Jy.Neutral90),to=(0,S.Ay)(eA.E)(["margin-left:8px;"]),ta=S.Ay.div(["",";max-width:15em;color:",";transition:color 0.2s;",":hover &{color:",";}"],J.o5.Caption,P.Jy.Neutral50,tt,P.Jy.Neutral90),tl=S.Ay.div([""]),ts=S.Ay.div(["margin-top:32px;"]),td=(0,S.Ay)(eA.E)(["margin-left:8px;padding:0;border-radius:50%;"]),tc=S.Ay.div(["margin-top:35px;"]),tu=[{name:"dashboard",Icon:L.qJ.Home,to:"/"}],tp=S.Ay.div(["display:flex;flex-direction:column;margin-right:auto;width:288px;flex-shrink:0;"," ",""],et.A.Tablet`
7807    flex-direction: row;
7808    margin: 0 0 40px 0;
7809    width: 100%;
7810  `,et.A.Phone`
7811    flex-direction: column;
7812    margin-bottom: 32px;
7813  `);var th=i(90811);let tx=(0,S.Ay)(L.Ay.Chevron)(["opacity:0;transition:right 0.25s;position:absolute;fill:",";top:35px;right:40px;"," ",""],P.Jy.Neutral40,et.A.Tablet`
7814    opacity: 1;
7815    right: 25px;
7816    top: 50%;
7817    transform: translateY(-50%);
7818  `,et.A.Phone`
7819    right: 20px;
7820  `),tm=S.Ay.p(["",";color:",";margin:0;transition:color 0.25s;",""],J.Ay.Caption,P.Jy.Neutral50,et.A.Phone`
7821    display: none;
7822  `),tg=S.Ay.div(["margin-bottom:30px;svg{fill:",";}",""],P.Jy.Neutral50,et.A.Tablet`
7823    margin: 0 14px 0 0;
7824  `),ty=(0,S.Ay)(T.N_)(["border-radius:16px;background:",";padding:34px 32px 32px;width:100%;display:flex;flex-direction:column;position:relative;&:hover{background-color:",";","{}","{opacity:1;fill:",";right:30px;}","{svg{fill:",";}}}"," & + &{margin-top:20px;","}",""],P.Jy.Neutral5,P.Jy.Blue10,tm,tx,P.Jy.Blue50,tg,P.Jy.Blue50,et.A.Tablet`
7825    padding: 24px;
7826    flex-direction: row;
7827    align-items: center;
7828  `,et.A.Tablet`
7829      margin: 0 0 0 16px
7830    `,et.A.Phone`
7831    padding: 18px;
7832  `),tf=S.Ay.div(["border-radius:16px;background:",";width:100%;display:flex;justify-content:space-between;align-items:center;position:relative;margin-bottom:8px;padding:18px 2.3px 18px 18px;height:60px;"],P.Jy.Neutral5),tb=S.Ay.span(["",";",";color:",";"],J.Ay.Body,J.BO.Medium,P.Jy.Neutral90),t_=S.Ay.div(["display:flex;flex-direction:column;"]),tv=S.Ay.div(["height:40px;width:59px;display:flex;justify-content:center;align-items:center;background-image:url(",");background-position:top;background-size:cover;background-color:",";border-radius:8px;margin-right:8px;"],i(89376),P.Jy.Blue10),tj=S.Ay.img(["width:28px;height:28px;margin-top:3.2px;"]),tA=({name:e,to:t,Icon:i})=>(0,n.jsxs)(ty,{onClick:()=>(0,d.xP)("click_super_app_menu_link",{target:e}),to:t,children:[(0,n.jsx)(tg,{children:(0,n.jsx)(i,{})}),(0,n.jsxs)(t_,{children:[(0,n.jsx)(tb,{children:th.Ru.t(`builder.navigation.panels.${e}.title`)}),(0,n.jsx)(tm,{children:th.Ru.t(`builder.navigation.panels.${e}.description`)})]}),(0,n.jsx)(tx,{})]},e);var tC=i.p+"media/welcome_modal_play_Buttons533316d443964ec1.svg";let tw=()=>{let e=(0,u.wA)();return(0,n.jsxs)(tf,{onClick:()=>{e(ed.o1.setOpenWelcomeModal(!0))},children:[(0,n.jsx)(t_,{children:(0,n.jsx)(tb,{children:"Explore Career.io"})}),(0,n.jsx)(tv,{children:(0,n.jsx)(tj,{src:tC})})]})},tk=()=>{let{isPhone:e}=(0,f.e)(),t=(0,l.zy)(),i=j.D.getItem("promoBanner"),r=(0,o.useMemo)(()=>"/"===t.pathname,[t.pathname]);return(0,n.jsxs)(tp,{children:[e&&r&&(0,n.jsx)(tw,{}),tu.map(e=>(0,n.jsx)(tA,{...e,to:"1"===i?"/?tr_promo_banner=1":"/"},e.name))]})};var tS=i(85922),tT=i(87253);let tP=({feature:e})=>{let{isPhone:t}=(0,f.e)(),{getHost:i}=(0,_.Ay)(),r=(0,p.U)(),o=(0,u.wA)(),a=r?.features.superApp,l=r?.features.international,s=e.to??"/",c=["job_tracking","salary_analyzer","interview_prep","job_search_strategy"].includes(e.name)&&e.isPostPremiumActive;return(0,n.jsxs)(tt,{to:s,$isDisabled:!e.enabled,onClick:async t=>{if((0,d.xP)("click_super_app_menu_link",{target:e?.eventTarget,website_host:i}),"pro_resume_writing_latest"===e.name&&(t.preventDefault(),l?window.open(e.cioDomainUrl,"_blank"):window.open(e.to,"_blank")),c)t.preventDefault(),o(tS.o1.setTrackJobPaywall(!0));else if("career_advice"===e.name&&a){t.preventDefault();let i=e.isCareerURL?`https://${window.location.hostname}${e.to}`:e.to;window.open(i,"_self")}},children:[(0,n.jsx)(ti,{children:e.iconName&&(0,n.jsx)(tT.aK,{name:e?.iconName,disabled:!e.enabled})}),(0,n.jsxs)(tr,{children:[(0,n.jsxs)(tn,{isDisabled:!e.enabled,children:[e.title,e.isPostPremiumActive&&(0,n.jsx)(td,{variant:"indigo",children:(0,n.jsx)(L.EK.Crown,{width:24,height:24,color:P.Jy.Indigo70})}),!e.enabled&&(0,n.jsx)(to,{variant:"neutral",children:"Soon"})]}),!t&&(0,n.jsx)(ta,{children:e.text})]})]})},tJ=({category:e,...t})=>(0,n.jsxs)(e7,{...t,children:[(0,n.jsx)(te,{children:e?.title}),e?.features.map((e,t)=>(0,n.jsx)(tP,{feature:e},t))]}),tE=(0,o.memo)(({onToggle:e,features:t,containerRef:i})=>{let r=(e=>{let{i18n:t}=(0,h.s)();return(0,o.useMemo)(()=>Object.entries(e2()(e,"categoryName")).map(([e,i])=>({title:t.t(`builder.navigation.categories.${e}.title`),features:i})),[e,t])})(t),a=t.length>8,l=t.length<=8,s=(0,o.useRef)(null);(0,eY.y)(s,{reserveScrollBarGap:!0}),(0,C.j)(()=>e(!1));let d=e=>{let i=Math.ceil(t.length/2),r=t.slice(0,i),o=t.slice(i,t.length),a=e?e0.R.t("builder.localize_titles.career_services"):"";return(0,n.jsx)(tJ,{category:{title:a,features:e?r:o}})},c=(e,t,i)=>r?.slice(e,t)?.map((e,t)=>{let r=e.features.find(e=>e.isLeftColumn===i);return r?.isLeftColumn===i&&(0,n.jsx)(tJ,{category:e},t)});return(0,n.jsxs)(e3,{ref:i,children:[(0,n.jsx)(e5,{}),(0,n.jsx)(e4,{ref:s,children:(0,n.jsxs)(e9,{children:[(0,n.jsxs)(tl,{children:[(0,n.jsx)(tk,{}),(0,n.jsx)(ts,{children:a&&c(0,5,!0)})]}),(0,n.jsx)("div",{children:l?(0,n.jsxs)(e6,{children:[(0,n.jsx)(e8,{children:d(!0)}),(0,n.jsxs)(e8,{children:[(0,n.jsx)(tc,{}),d(!1)]})]}):(0,n.jsxs)(e6,{children:[(0,n.jsx)(e8,{children:c(0,3,!1)}),(0,n.jsx)(e8,{children:c(3,5,!1)})]})})]})})]})}),tR=S.Ay.header(["height:","px;"],e=>80*!e.isTranslucent);P.Jy.Neutral90;let tL=S.Ay.div(["width:100%;display:flex;justify-content:center;padding:20px 0;"]),tN=S.Ay.img([""]),tI=(0,o.memo)(()=>{let e=(0,l.zy)(),t=(0,o.useRef)(e),i=(()=>{let e=(0,p.U)(x.l1.app),t=(0,b.t)(),{i18n:i}=(0,h.s)(),{isDesktop:r}=(0,f.e)(),n=(0,m.N)(g.Tp.postPremium),a=(0,u.d4)(y.Tp.getInterviewUrl);return(0,o.useMemo)(()=>e?[{enabled:t?.showResumeDistribution(),categoryName:"documents",name:"resume_distribution",to:"/resume-distribution",iconName:"ResumeDistribution",isLeftColumn:r,isPremiumService:!1,eventTarget:"resume_distribution"},{enabled:!0,categoryName:"documents",name:"documents",to:"/resumes",paths:["/resumes","/cover-letters"],iconName:"Documents",isLeftColumn:r,eventTarget:"documents",isPremiumService:!1},{enabled:!!t.features.resumeWriting,to:"https://topresume.com/resume-writing?pt=UWYxd6Xe2VTS0&utm_source=careerio&utm_medium=ciomenu&utm_campaign=tr_promo_in_ciomenu&utm_content=resume_writing_services",categoryName:"documents",name:"pro_resume_writing_latest",iconName:"ProResumeWriting",isLeftColumn:r,eventTarget:"pro_resume_writing",isPremiumService:!1,cioDomainUrl:"https://topresume.com/resume-writing?pt=UWYxd6Xe2VTS0&utm_source=resumeio&utm_medium=riomenu&utm_campaign=tr_promo_in_riomenu&utm_content=resume_writing_services"}
7832,{enabled:!!t.features.jobSearch,categoryName:"jobs",name:"job_search",to:"/job-search?view=recommendation",iconName:"JobSearch",isLeftColumn:!1,eventTarget:"job_search",isPremiumService:!0},{enabled:!!t.features.jobTracking,categoryName:"jobs",name:"job_tracking",to:"/job-tracking",iconName:"JobTracker",isLeftColumn:!1,eventTarget:"job_tracking",isPremiumService:!0,isPostPremiumActive:n===g.ut.postPremium},{enabled:!!t.features.salaryAnalyzer,categoryName:"jobs",name:"salary_analyzer",to:"/offer-analyzer",paths:["/offer-analyzer","/offer-analyzer-result"],iconName:"SalaryAnalyzer",isLeftColumn:!1,eventTarget:"salary_analyzer",isPremiumService:!0,isPostPremiumActive:n===g.ut.postPremium},{enabled:!!t.features.jobSearchPlan,categoryName:"jobs",name:"job_search_strategy",to:"/career-plans/execute-a-job-search",iconName:"JobSearchStrategy",isLeftColumn:!1,eventTarget:"job_search_strategy",isPremiumService:!0,isPostPremiumActive:n===g.ut.postPremium},{enabled:!0,categoryName:"development",name:"interview_prep",to:a,iconName:"InterviewPrep",isLeftColumn:!1,eventTarget:"interview_prep",isPremiumService:!0,isPostPremiumActive:n===g.ut.postPremium},{enabled:!!t.features.careerCoaching,categoryName:"development",name:"career_coaching",to:"/career-coaching",iconName:"CareerCoaching",isLeftColumn:!1,eventTarget:"career_coaching",isPremiumService:!0},{enabled:!!t.features.careerPlans,categoryName:"development",name:"career_planning",to:"/career-plans",iconName:"Planning",isLeftColumn:!1,eventTarget:"career_planning",isPremiumService:!0},{enabled:e?.features.careerProfile,categoryName:"goals",name:"career_assessment",to:"/career-profile/insights",iconName:"CareerAssessment",isBeta:!0,isLeftColumn:!1,eventTarget:"career_profile",isPremiumService:!1},{enabled:!!t.features.careerPath,categoryName:"goals",name:"career_path",to:"/career-path",iconName:"CareerPath",isBeta:!0,isLeftColumn:!1,eventTarget:"career_path",isPremiumService:!0},{enabled:!!t.features.careerExplorer,categoryName:"goals",name:"explore_careers",to:"/explore-careers",iconName:"ExploreCareers",isBeta:!0,isLeftColumn:!1,eventTarget:"explore_careers",isPremiumService:!0},{enabled:!!t.features.careerAdvice,categoryName:"expert_content",name:"career_advice",to:"/career-advice/",isCareerURL:!0,iconName:"Resource",isBeta:!0,isLeftColumn:!1,eventTarget:"professional_resources",isPremiumService:!0}].filter(e=>e.enabled).map(e=>({...e,title:i.t(`builder.navigation.items.${e.name}.title`),text:i.t(`builder.navigation.items.${e.name}.description`)})):[],[e,t,i,r,n])})(),{getHost:v}=(0,_.Ay)(),[j,A]=(0,o.useState)(!1),[C,w]=(0,o.useState)(!1),k=(0,o.useRef)(null),S=r.N.some(t=>(0,s.B6)(t,e.pathname)),T=new URLSearchParams(e.search).get("fromDashboard"),P=e?.pathname?.includes("/critique"),J=(0,o.useMemo)(()=>e.pathname?.includes("/premium-trail-access-loading")||e.pathname?.includes("/premium-trail-activated")||e.pathname?.includes("/premium-trail-onboarding"),[e.pathname]);return((0,o.useEffect)(()=>{t.current!==e&&(t.current=e,w(!1),A(!1))},[e]),(0,o.useEffect)(()=>{j&&(0,d.xP)("open_super_app_menu",{website_host:v})},[v,j]),J)?(0,n.jsx)(n.Fragment,{}):(0,n.jsxs)(tR,{isTranslucent:S,children:[P&&"1"!==T?(0,n.jsxs)(tL,{children:[(0,n.jsx)(tN,{src:c,alt:"Top Resume and Career.io"})," "]}):(0,n.jsx)(eQ,{isMenuOpen:j,isUserDropdownOpen:C,isTransparent:S,onUserDropdownToggle:w,onMenuToggle:A,features:i}),(0,n.jsx)(a.A,{in:j,classNames:"menu-transition",timeout:300,mountOnEnter:!0,unmountOnExit:!0,appear:!0,nodeRef:k,children:(0,n.jsx)(tE,{features:i,onToggle:A,containerRef:k})})]})})},17363:function(e,t,i){"use strict";i.d(t,{A:function(){return T}});var r=i(74848),n=i(81247),o=i(96540),a=i(18509),l=i(77378),s=i(86066),d=i(36925),c=i(28971),u=i(76551),p=i(12330),h=i(38267),x=i(99701),m=i(24833),g=i(14649),y=i(49504);let f=h.Ay.div(["display:absolute;height:80px;left:160px;margin-top:","px;margin-bottom:","px;background:",";",";",";@media (max-width:280px){height:160px;}"],e=>!e.isCritiquePage&&-25,e=>!e.isCritiquePage&&15,x.Jy.Indigo10,m.A.Tablet`
7833    height: 100px;
7834  `,m.A.Phone`
7835    height: 144px;
7836  `),b=h.Ay.img(["width:48px;height:48px;position:absolute;margin-top:40px;margin-left:46px;flex-shrink:0;border-radius:50%;margin-top:16px;margin-left:16px;"]),_=h.Ay.div(["position:absolute;width:24px;height:24px;flex-shrink:0;border-radius:50%;margin-top:38px;margin-left:48px;color:",";box-shadow:0 0 0 4px ",";background-color:",";"],x.Jy.White,x.Jy.Indigo10,x.Jy.Indigo80),v=(0,h.Ay)(g.EK.Star)(["width:24px;height:24px;"]),j=h.Ay.div(["position:absolute;height:24px;padding-top:28px;padding-left:84px;",";",";display:flex;align-items:center;color:",";",";"],y.Ay.Body,y.BO.DemiBold,x.Jy.Indigo80,m.A.Phone`
7837    padding-top: 5px;
7838    height: 45px;
7839    padding-left: 16px;
7840    ${y.Ay.Body};
7841    ${y.BO.DemiBold};
7842    margin-bottom: 4px;
7843    color: ${x.Jy.Indigo80};
7844  `),A=h.Ay.div(["position:absolute;height:20px;padding-top:50px;padding-left:84px;",";",";display:flex;align-items:center;color:",";",";",";@media (max-width:280px){margin-top:5px;}"],y.Ay.Caption,y.BO.Regular,x.Jy.Indigo80,m.A.Tablet`
7845    margin-top:10px;
7846    width: 550px;
7847  `,m.A.Phone`
7848    width: 100%;
7849    height: 85px;
7850    margin-top: -5px;
7851    padding-left: 16px;
7852    padding-right: 16px;
7853    ${y.Ay.Caption};
7854    ${y.BO.Regular};
7855    flex-grow: 1;
7856    color: ${x.Jy.Indigo80};
7857  `),C=h.Ay.div(["",";",";border-radius:4px;color:",";cursor:pointer;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2px;gap:2px;position:absolute;height:36px;"],y.Ay.Caption,y.BO.DemiBold,x.Jy.White),w=(0,h.Ay)(C)(["width:","px;background-color:",";margin-top:22px;right:15px;color:",";",";@media (max-width:280px){margin-top:110px;}"],e=>e.disabled?88:148,e=>e.disabled?x.Jy.Neutral20:x.Jy.Indigo80,e=>e.disabled?x.Jy.Neutral50:x.Jy.White,m.A.Phone`
7858  margin-top: 90px;
7859  left: 17px;
7860  `),k=(0,h.Ay)(g.EK.ChevronDown)(["transform:rotate(-90deg);position:absolute;right:3px;"]),S=i(33749);var T=({isReviewPage:e})=>{let{i18n:t}=(0,l.s)(),{isPhone:i}=(0,s.e)(),h=(0,n.wA)(),x=(0,a.N)(d.Tp.tunerResumeId),m=(0,a.N)(d.Tp.triggeredCritiqueStatus),g=(0,a.N)(c.Tp.critiques);(0,o.useEffect)(()=>{g?.length<1&&h(c.o1.fetchCritiques())},[g?.length,h]),(0,o.useEffect)(()=>{let e;return e=setInterval(()=>{m?.status===d.oV.pending&&x?h(d.o1.fetchCritiqueReviewStatus({resumeId:x})):clearInterval(e)},3e4),()=>clearInterval(e)},[m?.status,h,x]);let y=(0,a.N)(d.Tp.isCritiquePageCount);p.D.setItem("visitedBefore",y?"true":"false");let C=(0,a.N)(d.Tp.triggeredCritiqueStatus),T=C.status===d.oV.failed||C.status===d.oV.pending;return(0,o.useMemo)(()=>(0,c.fB)(C.createdAt),[C.createdAt])?(0,r.jsx)(r.Fragment,{}):(0,r.jsxs)(f,{isCritiquePage:e,children:[!i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b,{src:T?S:C.reviewer?.photoUrl}),(0,r.jsx)(_,{children:(0,r.jsx)(v,{})})]}),e?(0,r.jsx)(j,{children:T?t.t("builder.panel.critique_review_pending_state.title"):t.t("builder.panel.critique_review_success_state.t
7860itle")}):(0,r.jsx)(j,{children:"We have already wrapped your resume in the winning template!"}),e?(0,r.jsx)(A,{children:T?t.t("builder.panel.critique_review_pending_state.text"):t.t("builder.panel.critique_review_success_state.text",{critiqueName:C.reviewer?.name})}):(0,r.jsxs)(A,{children:["Check your personalized tips below by resume expert"," ",C.reviewer?.name," on how else you can improve your uploaded resume"]}),e&&(0,r.jsxs)(w,{disabled:T,onClick:()=>{var e;(e=C.iframeUrl)&&(h(d.o1.setCritiquePageVisitedCount(!0)),window.open(`${e}${u.Kw}`))},children:[T?t.t("builder.panel.critique_review_pending_state.button"):t.t("builder.panel.critique_review_success_state.button"),!T&&(0,r.jsx)(k,{})]})]})}},53609:function(e,t,i){"use strict";i.d(t,{l:function(){return d},o:function(){return c}});var r=i(74848),n=i(96540),o=i(99701),a=i(14649),l=i(20646),s=i(81038);let d=({setShowCaption:e,tooltipId:t})=>(0,r.jsxs)(s.$b,{"aria-describedby":null!=e?t:void 0,onMouseEnter:()=>e&&e(!0),onMouseLeave:()=>e&&e(!1),onFocus:()=>e&&e(!0),onBlur:()=>e&&e(!1),tabIndex:e?0:void 0,children:[(0,r.jsx)(a.EK.ExpertWritten,{color:o.Jy.Blue50,style:{fill:"white"}}),(0,r.jsx)(s.xY,{children:l.R.t("builder.dashboard.expert_review.title")})]}),c=()=>{let[e,t]=(0,n.useState)(!1),i=(0,n.useId)();return(0,r.jsxs)(s.Co,{children:[(0,r.jsx)(d,{setShowCaption:t,tooltipId:i}),(0,r.jsx)(s.ej,{showCaption:e,id:i,role:"tooltip","aria-hidden":!e,children:l.R.t("builder.dashboard.expert_review.caption")})]})}},51189:function(e,t,i){"use strict";i.d(t,{u:function(){return h}});var r=i(74848),n=i(77378),o=i.p+"media/ArrowTarget234ddbe7b223c1b9.svg",a=i.p+"media/ArrowTargetDisabled9c99505dc141983e.svg",l=i(38267),s=i(99701),d=i(49504);let c=l.Ay.img([""]),u=l.Ay.div(["",";",";margin:0px 8px;white-space:nowrap;"],d.Ay.Body,d.BO.Regular),p=l.Ay.div(["display:flex;align-items:center;margin-bottom:12px;&:hover{color:",";}","{color:",";}"],e=>e.disabled?s.Jy.Neutral50:s.Jy.Blue50,u,e=>e.disabled&&s.Jy.Neutral50),h=e=>{let{i18n:t}=(0,n.s)();return(0,r.jsxs)(p,{disabled:e.disabled,onClick:e.disabled?void 0:e.onClick,children:[(0,r.jsx)(c,{src:e.disabled?a:o}),(0,r.jsx)(u,{children:t.t("builder.resume_optimizer.pill.title")})]})}},81038:function(e,t,i){"use strict";i.d(t,{$b:function(){return I},AB:function(){return f},Ar:function(){return j},Az:function(){return w},B:function(){return A},Co:function(){return D},Hg:function(){return x},Ht:function(){return L},MG:function(){return E},N1:function(){return R},N6:function(){return _},Oo:function(){return y},PV:function(){return S},R8:function(){return C},Vr:function(){return N},aB:function(){return P},cO:function(){return v},ej:function(){return B},j8:function(){return h},ks:function(){return T},mE:function(){return g},p5:function(){return b},tQ:function(){return k},wU:function(){return J},xY:function(){return M}});var r=i(38267),n=i(84976),o=i(99701),a=i(78561),l=i(24833),s=i(49504),d=i(89078),c=i(25755),u=i(14649);i(8037);var p=i(28971);let h=r.Ay.article(["position:relative;display:flex;align-items:flex-start;cursor:",";"],e=>e.onClick?"pointer":"default"),x=r.Ay.div(["flex-shrink:0;width:","px;margin-right:32px;"," ",""],192,l.A.Phone`
7861    margin-right: 24px;
7862    width: ${104}px;
7863  `,e=>e.$miniature?"width: 54px;":null),m=(0,r.AH)(["border-radius:6px;border:1px solid ",";"],(0,a.j)(o.Jy.Neutral60,.16)),g=(0,r.Ay)(d.A)(["",";"],m),y=r.Ay.div(["",";position:relative;padding-bottom:","%;"],m,100/.71),f=r.Ay.div(["position:absolute;left:calc(50% - 32px);top:calc(50% - 32px);width:64px;height:64px;border-radius:50%;color:",";background-color:",";transition:background-color 0.15s,color 0.15s;&:after,&:before{content:'';position:absolute;top:calc(50% - 1px);left:calc(50% - 12px);width:24px;height:2px;background-color:currentColor;}&:after{transform:rotate(90deg);}"],o.Jy.Neutral30,o.Jy.Neutral10),b=r.Ay.article(["position:relative;display:flex;align-items:flex-start;cursor:",";","{transform:",";color:",";background:",";}&:hover ","{transform:",";color:",";background:",";}"],e=>e.onClick?"pointer":"default",f,e=>e.isClicked?"rotate(45deg)":"rotate(90deg)",e=>e.isClicked?o.Jy.Blue50:o.Jy.Neutral30,e=>e.isClicked?o.Jy.Blue10:o.Jy.Neutral10,f,e=>e.isClicked?"rotate(45deg)":"rotate(90deg)",e=>e.isClicked?o.Jy.Blue50:o.Jy.White,e=>e.isClicked?o.Jy.Blue10:o.Jy.Blue50),_=r.Ay.div(["flex-grow:1;min-width:0;pointer-events:",";"],e=>e.isDisabled?"none":"all"),v=r.Ay.div(["",";color:",";transition:color 0.15s;",":hover &{color:",";}"],s.Ay.Subhead,o.Jy.Neutral50,h,o.Jy.Blue50),j=r.Ay.div(["",";color:",";margin-top:4px;margin-bottom:4px;max-width:240px;",""],s.Ay.Tiny,o.Jy.Neutral50,l.A.Phone`
7864    margin-bottom: 20px;
7865  `),A=r.Ay.div(["margin-top:16px;margin-bottom:12px;display:block;"]),C=r.Ay.svg(["margin-right:8px;transition:color 0.15s;flex-shrink:0;"]),w=r.Ay.button(["display:flex;align-items:center;margin:0;padding:0;border:none;background:none;cursor:pointer;user-select:none;color:",";pointer-events:",";transition:color 0.15s;&:hover{color:",";}&:not(:last-child){margin-bottom:12px;}& ","{color:",";}"],({isDisabled:e,isActive:t})=>e?o.Jy.Neutral50:t?o.Jy.Blue70:o.Jy.Neutral90,e=>e.isDisabled?"none":"all",o.Jy.Blue50,C,e=>e.isDisabled?o.Jy.Neutral50:o.Jy.Blue50),k=r.Ay.div(["position:relative;"]),S=(0,r.Ay)(c.Ay)(["position:absolute;top:12px;left:12px;",";"],l.A.Phone`
7866    top: 4px;
7867    left: 4px;
7868  `),T=(0,r.Ay)(n.N_)(["display:flex;align-items:center;padding:4px;border-radius:14px;background-color:",";box-shadow:0 0 1px rgba(15,56,113,0.32),0 1px 2px rgba(15,56,113,0.12),0 2px 4px rgba(15,56,113,0.08);pointer-events:",";"," ",""],o.Jy.White,e=>e.status===p.oV.finished?"auto":"none",e=>e.status===p.oV.pending&&(0,r.AH)(["padding-left:12px;padding-right:12px;"]),e=>e.status===p.oV.failed&&(0,r.AH)(["padding-right:12px;"])),P=r.Ay.div(["display:flex;flex-shrink:0;margin-right:6px;align-items:center;"]),J=r.Ay.div(["display:flex;align-items:center;justify-content:center;background-color:",";color:",";position:relative;z-index:1;width:20px;height:20px;box-shadow:0 0 0 2px ",";border-radius:50%;"],e=>e.status===p.oV.failed?o.Jy.Red50:o.Jy.Indigo80,o.Jy.White,o.Jy.White),E=r.Ay.img(["margin-left:-4px;width:20px;height:20px;border-radius:50%;background-color:",";"],o.Jy.Neutral15),R=r.Ay.svg(["width:14px;
7868height:14px;"]),L=r.Ay.div(["",";white-space:nowrap;"],s.Ay.Tiny),N=(0,r.Ay)(u.EK.ChevronDown)(["color:",";transition:color 0.15s;transform:rotate(-90deg);",":hover &{color:",";}"],o.Jy.Neutral40,T,o.Jy.Indigo60),I=r.Ay.div(["display:inline-flex;padding:8px 16px 8px 8px;align-items:center;gap:8px;border-radius:6px;background:",";width:fit-content;"],o.Jy.Blue10),M=r.Ay.span(["color:",";",";",";"],o.Jy.Blue80,s.Ay.Caption,s.BO.Medium),B=r.Ay.div(["display:",";padding:12px;flex-direction:column;align-items:center;border-radius:4px;background:",";box-shadow:0 2px 4px -1px rgba(15,20,30,0.16),0 8px 20px -4px rgba(15,20,30,0.24);color:",";position:absolute;top:100%;left:-12px;width:190px;&::before{content:'';position:absolute;top:-18px;left:50%;transform:translateX(-50%);border-width:12px;border-style:solid;border-color:transparent transparent ",";}"],e=>e.showCaption?"flex":"none",o.Jy.Neutral90,o.Jy.White,o.Jy.Neutral90),D=r.Ay.div(["position:relative;margin-block:12px;"])},94191:function(e,t,i){"use strict";i.d(t,{k:function(){return a},z:function(){return l}});var r=i(12891),n=i(69685);let o=e=>{let t=(0,n._U)(e),i=(0,r.A)(t)?"d MMMM, HH:mm":"d MMMM yyyy, HH:mm";return(0,n.Yq)(t,i)},a=e=>o(e.updatedAt||e.createdAt),l=e=>o(e.createdAt)},44086:function(e,t,i){"use strict";i.d(t,{BT:function(){return p},E3:function(){return C},G7:function(){return v},IH:function(){return j},PT:function(){return b},Q1:function(){return u},Sv:function(){return k},VI:function(){return m},XN:function(){return _},dl:function(){return A},g8:function(){return c},kW:function(){return g},mC:function(){return h},mT:function(){return f},nn:function(){return y},pf:function(){return w}});var r=i(38267),n=i(99701),o=i(28971),a=i(49504),l=i(24833),s=i(14649),d=i(91779);let c=r.Ay.div(["display:flex;align-items:center;padding:16px;border-radius:0 0 6px 6px;background-color:",";color:",";"," ",";"],n.Jy.Indigo10,n.Jy.Indigo80,e=>e.status===o.oV.failed&&(0,r.AH)(["background-color:",";color:",";"],n.Jy.Red10,n.Jy.Neutral90),l.A.Tablet`
7869    align-items: flex-start;
7870  `),u=r.Ay.div(["display:flex;align-items:center;padding:16px;width:100%;max-width:1120px;height:88px;margin-bottom:24px;margin-top:-10px;border-radius:0 0 6px 6px;background-color:",";color:",";"," ",";"],n.Jy.Indigo10,n.Jy.Indigo80,e=>e.status===o.oV.failed&&(0,r.AH)(["background-color:",";color:",";"],n.Jy.Red10,n.Jy.Neutral90),l.A.Phone`
7871    margin-top: 24px;
7872    align-items: flex-start;
7873    height: auto;
7874  `),p=r.Ay.div(["display:flex;flex-direction:row-reverse;flex-shrink:0;margin-right:16px;",";",";"],l.A.Tablet`
7875    flex-direction: column-reverse;
7876    margin-right: 0;
7877    margin-left: 48px;
7878  `,l.A.Phone`
7879    display: none;
7880  `),h=r.Ay.div(["display:flex;flex-direction:row-reverse;flex-shrink:0;margin-right:28px;margin-left:16px;position:relative;",";",";"],l.A.Tablet`
7881    flex-direction: column-reverse;
7882    margin-left: 14px;  
7883  `,l.A.Phone`
7884    flex-direction: column-reverse;
7885    margin-right: 0;
7886    margin-left: 48px;  
7887  `),x=(0,r.AH)(["position:relative;width:40px;height:40px;flex-shrink:0;box-shadow:0 0 0 4px ",";border-radius:50%;&:not(:last-child){margin-left:-8px;}",";"],n.Jy.Indigo10,l.A.Tablet`
7888    &:not(:last-child) {
7889      margin-left: 0;
7890      margin-top: -4px;
7891    }
7892  `),m=r.Ay.div(["",";display:flex;align-items:center;justify-content:center;background-color:",";color:",";",""],x,n.Jy.Indigo80,n.Jy.White,e=>e.status===o.oV.failed&&(0,r.AH)(["background-color:",";box-shadow:none;"],n.Jy.Red50)),g=r.Ay.svg(["width:24px;height:24px;"]),y=r.Ay.img(["",";"],x),f=r.Ay.img(["",";width:56px;height:56px;"],x),b=r.Ay.img(["position:absolute;top:32px;left:30px;"]),_=r.Ay.div(["display:flex;justify-content:space-between;align-items:center;flex-grow:1;",";"],l.A.Tablet`
7893    order: -1;
7894    flex-direction: column;
7895    align-items: flex-start;
7896  `),v=r.Ay.div(["display:flex;justify-content:space-between;align-items:center;flex-grow:1;",";"],l.A.Phone`
7897    order: -1;
7898    flex-direction: column;
7899    align-items: flex-start;
7900  `),j=r.Ay.div(["flex-grow:1;"]),A=r.Ay.div(["",";font-weight:600;"],a.Ay.Body),C=r.Ay.div(["",";"],a.Ay.Caption),w=(0,r.Ay)(d.$n)(["flex-shrink:0;margin-left:32px;",";",";"],l.A.Tablet`
7901    margin-top: 12px;
7902    margin-left: 0;
7903  `,e=>e.status===o.oV.finished&&(0,r.AH)(["background-color:",";&:hover{background-color:",";}"],n.Jy.Indigo80,n.Jy.Indigo90)),k=(0,r.Ay)(s.EK.ChevronDown)(["margin-right:-8px;margin-left:2px;transform:rotate(-90deg);"])},49502:function(e,t,i){"use strict";i.d(t,{$t:function(){return u},aH:function(){return s},mc:function(){return a},x8:function(){return c},z$:function(){return l}});var r=i(38267),n=i(99701),o=i(64608);let a=r.Ay.div(["position:relative;border-radius:6px;background-color:",";overflow:hidden;box-shadow:",";width:",";height:",";"],n.Jy.White,n.qd.lightShadowMid,e=>`${e.$w}px`,e=>`${e.$h}px`),l=r.Ay.div(["animation:"," 1s linear infinite;background:",";background:linear-gradient( to right,"," 5%,#eaeef6 15%,"," 25% );background-size:100vw 100vh;"],o.D7,n.Jy.Neutral10,n.Jy.Neutral10,n.Jy.Neutral10),s=r.Ay.img(["height:100%;width:100%;"]),d=r.Ay.canvas(["transform:scale(",");transform-origin:top left;opacity:",";transition:",";z-index:",";"],e=>e.$ratio,e=>+!!e.$visible,e=>
7903e.$visible?"none":"opacity 0.2s",e=>e.$visible?1:2),c=(0,r.Ay)(d)(["position:relative;"]),u=(0,r.Ay)(d)(["position:absolute;top:0;left:0;"])},11431:function(e,t,i){"use strict";i.d(t,{A:function(){return p}});var r=i(74848),n=i(96540),o=i(5556),a=i.n(o),l=i(20646),s=i(14649),d=()=>(0,r.jsx)("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M7,35 L33,35 L33,30 L24.9627594,26.8044586 C24.5698041,26.6156354 24.3340309,26.2379889 24.3340309,25.8225778 L24.3340309,24.6518737 C24.3340309,24.3875212 24.412622,24.1231687 24.6090996,23.9343454 C25.9058522,22.5370535 26.770354,20.4599979 27.0061272,19.8557636 C27.0454227,19.7424697 27.1240138,19.6291757 27.2026048,19.5536464 C27.438378,19.3648232 27.8313333,18.8738828 28.1064021,17.7031787 C28.3421753,16.5702393 27.9099244,15.9282403 27.6348557,15.6261232 C27.4776736,15.4750646 27.3990825,15.2862413 27.3990825,15.0974181 L27.3990825,10.2257787 C26.8882406,7.43119483 25.1592371,6.1094322 23.4302337,5.50519785 C21.5833436,4.82543421 18.2825188,4.82543421 16.3963333,5.5429625 C14.7459209,6.18496149 13.056213,7.46895948 12.5846666,10.2257787 L12.5846666,15.0974181 C12.5846666,15.2862413 12.5060755,15.4750646 12.3488934,15.6261232 C12.0738246,15.9282403 11.6415738,16.5702393 11.877347,17.7031787 C12.1131202,18.8738828 12.545371,19.3648232 12.7811442,19.5536464 C12.8597353,19.6291757 12.9383264,19.7424697 12.9776219,19.8557636 C13.2133951,20.4977626 14.0778968,22.4992889 15.3353539,23.8965808 C15.5318315,24.1231687 15.6497181,24.4252858 15.6497181,24.727403 L15.6497181,25.7470485 C15.6497181,26.2379889 15.3746494,26.6534 14.903103,26.8799879 L7,30 L7,35 Z"})}),c=i(9131);class u extends n.PureComponent{static propTypes={imageUrl:a().string,onUpload:a().func,onDelete:a().func,onClick:a().func,isLocked:a().bool,isUploading:a().bool};handleUpload=()=>{this.fileInput.click()};handleChooseFile=e=>{e.target.files[0]&&this.props.onUpload({file:e.target.files[0]})};handleDelete=()=>{this.props.onDelete()};render(){return(0,r.jsxs)(c.mc,{children:[(0,r.jsx)(c.zp,{type:"file",accept:"image/x-png,image/gif,image/jpeg, .jpg, .jpeg, .gif, .png, .tiff",ref:e=>{this.fileInput=e},onChange:this.handleChooseFile}),this.renderBody()]})}renderBody(){let{imageUrl:e,isLocked:t,isUploading:i}=this.props;return i?this.renderUploading():t?this.renderLock():e?this.renderEdit():this.renderUpload()}renderUpload(){let{onClick:e}=this.props;return(0,r.jsxs)(c.mO,{onClick:e||this.handleUpload,children:[(0,r.jsx)(c.OS,{children:(0,r.jsx)(d,{})}),(0,r.jsx)(c.Y4,{children:(0,r.jsx)(c.s5,{children:l.R.t("builder.resume_editor.upload_photo")})})]})}renderUploading(){let{imageUrl:e}=this.props;return(0,r.jsxs)(c.mO,{children:[(0,r.jsx)(c.$_,{imageUrl:e,children:(0,r.jsx)(c.FM,{enable:!!e,children:(0,r.jsx)(c.y$,{dark:!!e,children:(0,r.jsx)(s.Ay.Spinner,{})})})}),(0,r.jsx)(c.Y4,{children:(0,r.jsx)(c.HL,{children:l.R.t("builder.resume_editor.uploading_image")})})]})}renderLock(){let{imageUrl:e}=this.props;return(0,r.jsxs)(c.mO,{children:[(0,r.jsx)(c.$_,{imageUrl:e,children:(0,r.jsx)(c.FM,{enable:!!e,children:(0,r.jsx)(c.c_,{dark:!!e,children:(0,r.jsx)(s.Ay.Lock,{})})})}),(0,r.jsx)(c.Y4,{children:(0,r.jsx)(c.HL,{children:l.R.t("builder.resume_editor.photo_not_supported")})})]})}renderEdit(){let{imageUrl:e,onClick:t}=this.props;return(0,r.jsxs)(c.mO,{children:[(0,r.jsx)(c.$_,{imageUrl:e}),(0,r.jsxs)(c.Y4,{children:[(0,r.jsxs)(c.lg,{onClick:t||this.handleUpload,children:[(0,r.jsx)(c.Vo,{children:(0,r.jsx)(s.EK.Edit,{})}),l.R.t("builder.resume_editor.edit_photo")]}),(0,r.jsxs)(c.et,{onClick:this.handleDelete,children:[(0,r.jsx)(c.Vo,{children:(0,r.jsx)(s.EK.Trash,{})}),l.R.t("builder.resume_editor.delete")]})]})]})}}var p=u},9131:function(e,t,i){"use strict";i.d(t,{$_:function(){return c},FM:function(){return p},HL:function(){return g},OS:function(){return u},Vo:function(){return _},Y4:function(){return m},c_:function(){return h},et:function(){return b},lg:function(){return f},mO:function(){return d},mc:function(){return s},s5:function(){return y},y$:function(){return x},zp:function(){return v}});var r=i(38267),n=i(78561),o=i(99701),a=i(49504),l=i(64608);let s=r.Ay.div(["padding-top:14px;user-select:none;"]),d=r.Ay.div(["display:flex;flex-flow:row nowrap;cursor:",";"],e=>e.onClick?"pointer":"auto"),c=r.Ay.div(["flex:0 0 60px;width:60px;height:60px;border-radius:3px;margin-right:16px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background-color:",";background-image:",";background-size:cover;"],o.Jy.Neutral10,e=>e.imageUrl?`url("${e.imageUrl}")`:"none"),u=(0,r.Ay)(c)(["color:",";transition:background-color 0.1s ease,color 0.1s ease;",":hover &{background-color:",";color:",";}"],o.Jy.Neutral30,d,o.Jy.Blue10,o.Jy.Blue50),p=r.Ay.div(["position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:",";"],e=>(0,n.j)(o.Jy.Neutral100,.3*!!e.enable)),h=r.Ay.div(["width:30px;height:30px;border-radius:15px;background-color:",";color:",";border-color:",";border-style:solid;border-width:",";display:flex;align-items:center;justify-content:center;"],e=>e.dark?o.Jy.Neutral100:o.Jy.Neutral10,e=>e.dark?o.Jy.White:o.Jy.Neutral30,o.Jy.Neutral30,e=>e.dark?0:"1px"),x=(0,r.Ay)(h)(["animation:"," 0.5s infinite linear;"],l.ni),m=r.Ay.div(["display:flex;flex-flow:column nowrap;justify-content:center;"]),g=r.Ay.div(["",";color:",";max-width:180px;"],a.Ay.Caption,o.Jy.Neutral50),y=r.Ay.div(["",";color:",";transition:color 0.1s ease;",":hover &{color:",";}"],a.Ay.Caption,o.Jy.Blue50,d,o.Jy.Blue70),f=r.Ay.div(["",";display:flex;flex-flow:row nowrap;align-items:center;color:",";transition:color 0.1s ease;padding:4px 0;cursor:pointer;&:hover{color:",";}"],a.Ay.Caption,o.Jy.Blue50,o.Jy.Blue70),b=(0,r.Ay)(f)(["color:",";&:hover{color:",";}"],o.Jy.Neutral50,o.Jy.Red50),_=r.Ay.div(["margin-right:4px;display:flex;"," &{color:",";}",":hover &{color:",";}"],b,o.Jy.Neutral30,b,o.Jy.Red50),v=r.Ay.input(["visibility:hidden;position:absolute;width:0px;height:0px;pointer-events:none;"])},93807:function(e,t,i){"use strict";i.d(t,{A:function(){return j}});var r=i(74848),n=i(96540),o=i(18503);i(18111),i(20116);var a=i(81247),l=i(77378),s=i(9888),d=i(32606),c=i(28793),u=i(77279),p=i(81187),h=i(73685),x=i(18509),m=i(83864),g=i(44506),y=i(90074),f=i(38267);let b=f.Ay.div(()=>(0,f.AH)(["position:relative;",";"],u.Iq)),_=f.Ay.div([""]);var v=(0,n.memo)(({isStepByStepFlow:e,isFoldable:t=!0})=>{let{i18n:i}=(0,l.s)(),o=(0,s.U)(),{updateSimpleField:f}
7903=(0,h.x)(),v=(0,a.wA)(),j=(0,n.useRef)(null),[A,C]=(0,n.useState)(!1),w=(0,x.N)(d.Tp.resume),k=w?.powerStatement,S=w?.sectionTitles,T=w?.locale,P=S?.powerStatement,J=(0,x.N)(e=>d.Tp.isSectionOpened(e,d.Gw.powerStatement)),{isSectionDisabled:E,disabledTooltipText:R}=(0,m.R)({sectionsConfig:w?.templateConfig?.sectionsConfig}),L=!!o?.features?.aiWriter,N=(0,n.useCallback)(e=>f({name:"powerStatement",value:e}),[f]),I=(0,n.useCallback)(e=>{v(d.o1.renameSection({id:d.Gw.powerStatement,value:e}))},[v]),M=(0,n.useMemo)(()=>({mode:"ai_writer",editorContainerRef:j,locale:T||"",section:d.Gw.powerStatement,editorText:k||"",canImprove:(0,g.zz)(k),canGenerate:!0,sectionContext:"power_statement",onApplyChanges:N,dataGetter:e=>e.changes?.find(e=>"powerStatement"===e.path)?.after}),[T,k,N]),B=(0,n.useCallback)(()=>{t&&v(d.o1.setOpenedSections({[d.Gw.powerStatement]:!J}))},[v,t,J]);return(0,r.jsxs)(b,{"data-testid":`section-${d.Gw.powerStatement}`,children:[(0,r.jsx)(u.X3,{isOpened:J,onClick:B,isStepByStepFlow:e,setShowDisabledTooltipOnHover:C,children:(0,r.jsx)(p.A,{title:i.t("builder.resume_editor.power_statement_section.title"),customTitle:P,onRename:I,renamable:!0,isOpened:J,isFoldable:t,isDisabled:E(d.Gw.powerStatement),showDisabledTooltipOnHover:A,disabledTooltipText:R})}),(0,r.jsx)(u.Mg,{isOpened:J,isStepByStepFlow:e,children:(0,r.jsx)(_,{"data-testid":"power-statement-card",children:L?(0,r.jsx)(y.Kt,{...M,children:(0,r.jsx)(c.Ay,{value:k||"",onChange:N,locale:T,containerRef:j,additionalToolbarActions:(0,r.jsx)(y.ee,{}),disableToolbar:E(d.Gw.powerStatement),disabled:E(d.Gw.powerStatement)})}):(0,r.jsx)(c.Ay,{value:k||"",onChange:N,locale:T,containerRef:j,disabled:E(d.Gw.powerStatement)})})})]})}),j=(0,n.memo)(e=>{let{sectionId:t,isStepByStepFlow:i,isFoldable:n=!0}=e;return(0,r.jsx)(o.Ay,{id:t,scrollOffsetTop:70,children:(0,r.jsx)(v,{isFoldable:n,isStepByStepFlow:i})})})},84708:function(e,t,i){"use strict";i.d(t,{U:function(){return n}});var r,n=((r={}).trailModalPeriod="trailModalPeriod",r.lastShownTrialModal="lastShownTrialModal",r)},33633:function(e,t,i){"use strict";i.d(t,{A:function(){return B},D:function(){return q}});var r=i(74848),n=i(96540),o=i(81247),a=i(18509),l=i(69352),s=i(13807),d=i(34209),c=i(49502);let u=(0,n.lazy)(()=>i.e("3525").then(i.bind(i,61557))),p=(0,n.forwardRef)((e,t)=>{let{width:i,height:o,document:a,forceLoadingState:l,className:s,onPaginationChange:p}=e,[h,x]=(0,n.useState)(!0),m=(0,n.useRef)(null),g=(0,n.useCallback)(()=>{x(!1),window.isPlaywright&&(window.__pdfRenderCount=(window.__pdfRenderCount??0)+1)},[]),y=(0,n.useCallback)(e=>{window.isPlaywright&&(window.__pdfPageInfo={current:e.currentPage+1,total:e.totalPagesCount}),p(e)},[p]);(0,n.useImperativeHandle)(t,()=>({nextPage:()=>m.current?.nextPage(),previousPage:()=>m.current?.previousPage(),reset:()=>m.current?.reset(),resize:e=>m.current?.resize(e??i)}),[i]);let f=(0,r.jsx)(c.z$,{"data-testid":"preview-loader",children:(0,r.jsx)(c.aH,{src:d})});return(0,r.jsxs)(c.mc,{"data-testid":"pdf-preview",$w:i,$h:o,className:s,children:[(h||l||!a)&&f,a&&!l&&(0,r.jsx)(n.Suspense,{fallback:f,children:(0,r.jsx)(u,{ref:m,...e,onPaginationChange:y,onPageRender:g})})]})});var h=i(38221),x=i.n(h),m=i(28363),g=i(36961),y=i(30343),f=i(38267),b=i(99701),_=i(64608);let v=f.Ay.div(["position:relative;border-radius:6px;background-color:",";overflow:hidden;width:",";height:",";"],b.Jy.White,e=>`${e.$w}px`,e=>`${e.$h}px`),j=f.Ay.div(["animation:"," 1s linear infinite;background:",";background:linear-gradient( to right,"," 5%,#eaeef6 15%,"," 25% );background-size:100vw 100vh;"],_.D7,b.Jy.Neutral10,b.Jy.Neutral10,b.Jy.Neutral10),A=f.Ay.img(["height:100%;width:100%;"]),C=f.Ay.img(["display:block;width:100%;"]),w=window.devicePixelRatio||1,k=(0,n.forwardRef)((e,t)=>{let{width:i,height:a,document:l,onPaginationChange:c,forceLoadingState:u,pixelRatio:p,className:h}=e,f=(0,o.wA)(),[b,_]=(0,n.useState)(null),[k,S]=(0,n.useState)(1),[T,P]=(0,n.useState)(1),[J,E]=(0,n.useState)(null),R=(0,n.useRef)(k);R.current=k;let L=(0,n.useRef)(T);L.current=T;let N=(0,n.useRef)(J);N.current=J;let I=(0,n.useCallback)(e=>new Promise((t,i)=>f(s.o1.fetchServerPreview({...e,resolve:t,reject:i}))),[f]),M=(0,n.useCallback)(async()=>{try{let e=R.current,t=i*(p||w);E(i);let{image:r,pageCount:n}=await I({document:l,page:e,size:t});c({currentPage:e-1,totalPagesCount:n}),_(r),P(n)}catch(e){m.A.log(e)}},[i,p,l,I,c]),B=(0,n.useRef)(M);B.current=M;let D=(0,n.useMemo)(()=>x()(()=>B.current(),1e3),[]),$=(0,n.useRef)(null),O=(0,n.useRef)(p),z=(0,n.useRef)(!1);return(0,g.h)(()=>()=>{D.cancel()}),(0,n.useEffect)(()=>
7903{if(!i){z.current=!1,D.cancel();return}let e=$.current,t=O.current;z.current&&t===p&&(e||!l)?(0,y.k)(e,l)||D():l&&M(),$.current=l,O.current=p,z.current=!0},[l,p,i,M,D]),(0,n.useImperativeHandle)(t,()=>({nextPage:()=>{let e=R.current+1;S(e),R.current=e,c({currentPage:e-1,totalPagesCount:L.current}),B.current()},previousPage:()=>{let e=R.current-1;S(e),R.current=e,c({currentPage:e-1,totalPagesCount:L.current}),B.current()},reset:()=>{},resize:e=>{null!==N.current&&(e??i)-N.current>0&&D()}}),[i,c,D]),(0,r.jsxs)(v,{$w:i,$h:a,className:h,children:[(!b||u)&&(0,r.jsx)(j,{children:(0,r.jsx)(A,{src:d})}),b&&!u&&(0,r.jsx)(C,{src:b})]})});var S=i(77378),T=i(49504),P=i(52097);let J=f.Ay.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border-radius:6px;background-color:",";overflow:hidden;width:",";height:",";text-align:center;padding:8px;"],b.Jy.White,e=>`${e.$w}px`,e=>`${e.$h}px`),E=f.Ay.div(["width:40px;height:40px;margin-bottom:8px;background-image:url(",");"],P),R=f.Ay.div(["",";font-weight:600;"],T.Ay.Subhead),L=f.Ay.div(["",";color:",";max-width:350px;"],T.Ay.Caption,b.Jy.Neutral50),N=()=>{},I=(0,n.forwardRef)((e,t)=>{let{i18n:i}=(0,S.s)();return(0,n.useImperativeHandle)(t,()=>({previousPage:N,nextPage:N,reset:N,resize:N})),(0,r.jsxs)(J,{$w:e.width,$h:e.height,children:[(0,r.jsx)(E,{}),(0,r.jsx)(R,{children:i.t("builder.resume_editor.no_connection")}),(0,r.jsx)(L,{children:i.t("builder.resume_editor.preview_is_not_available")})]})});var M=i(8037);let B=(0,n.forwardRef)((e,t)=>{let i=(0,o.d4)(s.Tp.renderer),n=(0,a.N)(l.Tp.isOnline),d=i===M.vy.server?k:p;return n||(d=I),(0,r.jsx)(d,{ref:t,...e,renderer:i})});i(18111),i(20116);var D=i(33093),$=i(87665),O=i(47942),z=i(83113),F=i(91779);let H=f.Ay.img(["filter:blur(5px);border-radius:8px;"]),V=f.Ay.div(["position:absolute;top:","px;transform:translate(-55px,-50%);width:","px;background-color:white;padding:"," 55px;border-radius:",";box-shadow:0px 0px 1px 0px rgba(15,56,113,0.32),0px 6px 8px -2px rgba(15,56,113,0.02),0px 16px 64px -8px rgba(15,56,113,0.18);display:flex;align-items:center;"],e=>e.$height/2,e=>e.$width+110,b.Kz.M,b.Kz.XS),U=f.Ay.span(["color:",";",";",";"],b.Jy.Neutral90,T.BO.Medium,T.Ay.Subhead),W=(0,f.Ay)(F.Ay)(["margin-left:auto;"]),K=f.Ay.div(["position:relative;"]),q=e=>{let{width:t,height:i,currentDocument:o,handleUnlockClick:l,onPaginationChange:s,analyticsLabel:d,className:c}=e,{resumeTemplates:u}=(0,a.N)(e=>e.generalEditor),h=u.find(e=>e.id===o.template)?.thumbnail||"/assets/templates/london-439731a637642c0540010c1e00960577fa3f5914c0b0baa48f130ed0284401e0.jpg",[x,m]=(0,n.use
7903State)(!1),[g,y]=(0,n.useState)(1),f=(0,n.useRef)(null),{i18n:b}=(0,S.s)(),_=(0,n.useRef)(!1),v=async()=>{z.Ay.listen({name:"client-renderer",op:"rendering",tags:{renderNumber:g,documentType:o.type,template:o.template,locale:o.locale,pixelRatio:window.devicePixelRatio||1,memory:window.navigator.deviceMemory,viewportWidth:100*Math.floor(window.innerWidth/100)}}),y(g);let e=async()=>{z.Ay.operation("loadConfig");let e=await O.A.getConfig(o.locale);return z.Ay.operationEnd("loadConfig"),e},t=async()=>{z.Ay.operation("loadRendererWorker");let e=await (0,$.xd)();return z.Ay.operationEnd("loadRendererWorker"),e},[i,{renderWorker:r}]=await Promise.all([e(),t()]),n=async()=>{z.Ay.operation("rendering");let e=await r({document:o,config:i});return z.Ay.operationEnd("rendering"),e};return await n()};return x?(0,r.jsxs)(K,{className:c,children:[(0,r.jsx)(H,{src:h,width:t,height:i}),(0,r.jsxs)(V,{$height:i,$width:t,children:[(0,r.jsx)(U,{children:b.t("builder.sign_up.sign_up_guest_banner.description")}),(0,r.jsx)(W,{onClick:()=>{l(),(0,D.xP)("click_provide_email")},children:b.t("builder.sign_up.sign_up_guest_banner.button")})]})]}):(0,r.jsx)(p,{height:i,width:t,document:o,ref:f,onPaginationChange:s,getPdfBuffer:v,fallbackRenderer:e=>{console.warn("Rendering failed. Falling back to static preview. Details:",e),z.Ay.finish({status:"internal_error"}),m(!0),s({currentPage:1,totalPagesCount:1}),_.current||(_.current=!0,(0,D.xP)("show_preview_placeholder",{label:d}))},onDone:()=>{z.Ay.finish({status:"ok"}),_.current||(_.current=!0,(0,D.xP)("load_resume_preview",{label:d}))},className:c})}},15237:function(e,t,i){"use strict";i.d(t,{_:function(){return u}}),i(18111),i(20116);var r=i(96540),n=i(81247),o=i(18509),a=i(32606),l=i(77378),s=i(9888),d=i(76117),c=i(46912);let u=e=>{let{editorInstanceRef:t,editorContainerRef:i,isStepByStepFlow:u}=e,{i18n:p}=(0,l.s)(),h=(0,n.wA)(),{onChangePhrasesSuggestions:x}=(0,c.a)(),m=(0,o.N)(e=>e.generalEditor.suggestionLocales),g=(0,o.N)(a.Tp.isAiProfileSummaryModalOpen),y=(0,o.N)(a.Tp.attachedJobPostingAPIData),f=(0,o.N)(a.Tp.resume),{locale:b="en",position:_}=f||{},v=(0,a.ep)(f,a.Gw.profile),j=(0,s.U)(),A=j?.features.aiProfileSummary||!1,C=!!m.profile?.includes(b),w=(0,d.t)(f,a.Gw.workExperiences),k=A&&!(u&&w),S=(0,r.useMemo)(()=>{if(w)return!1;if(!w&&v);else if(!v)return!0;return!1},[v,w]);return{mode:k?"ai_writer":"prewritten_phrases",shouldRenderAiWriterButton:k||C,onChangePhrasesSuggestions:x,locale:b,jobTitle:_,section:a.Gw.profile,jobPosting:y,editorText:t.current?.getEditorText()||"",phraseSuggestionScope:a.Gw.profile,canImprove:S,canGenerate:!w,onGenerateClick:()=>{w&&h(a.o1.highlightEmptyWorkExperience({title:p.t("builder.ai_profile_summary.work_experience.title"),content:p.t("builder.ai_profile_summary.work_experience.description"),buttonLabel:p.t("builder.ai_profile_summary.work_experience.button_text")}))},editorContainerRef:i,onApplyChanges:e=>{h(a.o1.updateSimpleField({name:"profile",value:e,debounce:!1})),h(a.o1.setHasUsedAiProfileWriter(!0))},onAddPhrase:e=>{t.current?.addPhrase(e,!1)},isForceOpen:g,onClose:()=>{h(a.o1.setIsAiProfileSummaryModalOpen({status:!1}))},sectionContext:"profile",dataGetter:e=>e.changes?.find(e=>"profile"===e.path)?.after}}},90997:function(e,t,i){"use strict";i.d(t,{q:function(){return r}});let r=new(i(36740)).E({defaultOptions:{queries:{staleTime:1/0,refetchOnReconnect:!1,refetchOnWindowFocus:!0,retry:!1,useErrorBoundary:!0}}})},65665:function(e,t,i){"use strict";i.d(t,{s:function(){return c}});var r=i(74848),n=i(38267),o=i(99701),a=i(67592);let l=n.Ay.div(["",";display:none;width:6px;height:6px;border-radius:50%;background:",";"],a.A.light.low,o.Jy.White),s=n.Ay.div(["display:flex;align-items:center;justify-content:center;border-radius:50%;width:18px;height:18px;border:2px solid ",";transition:background-color 0.1s ease,border-color 0.1s ease;outline:none;"," &:focus-visible{border-color:",";}"],o.Jy.Neutral30,e=>e.invalid&&(0,n.AH)(["border-color:",";"],o.Jy.Red50),e=>e.invalid?o.Jy.Red60:o.Jy.Blue50),d=n.Ay.input(["display:none;& + ","{cursor:pointer;}:disabled + ","{cursor:not-allowed;","{box-shadow:none;background:",";}}:checked + ","{background:",";border-color:",";"," ","{display:block;}}:disabled + ","{border-color:",";background:",";}:hover:not(:checked):not(:disabled) + ","{border-color:",";}"],s,s,l,o.Jy.Neutral15,s,o.Jy.Blue50,o.Jy.Blue50,e=>e.invalid&&(0,n.AH)(["background:",";border-color:",";"],o.Jy.Red50,o.Jy.Red50),l,s,o.Jy.Neutral30,o.Jy.Neutral30,s,e=>e.invalid?o.Jy.Red60:o.Jy.Blue50),c=({checked:e,className:t,onChange:i=()=>{},...n})=>(0,r.jsxs)("div",{children:[(0,r.jsx)(d,{checked:e,type:"radio",onChange:e=>{i(e.target.value)},...n}),(0,r.jsx)(s,{invalid:n.invalid,onKeyPress:e=>{"Enter"===e.key&&i(String(n.value))},tabIndex:e?-1:0,className:t,children:(0,r.jsx)(l,{})})]})},65945:function(e,t,i){"use strict";i.d(t,{z:function(){return u}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(38267);let a=o.Ay.div(["display:flex;flex-direction:column;align-items:flex-start;gap:10px;"]);var l=i(65665),s=i(99701),d=i(49504);let c=o.Ay.label(["",";color:",";gap:12px;display:flex;align-items:center;cursor:",";width:100%;"],d.Ay.Caption,s.Jy.Neutral90,e=>
7903e.disabled?"not-allowed":"pointer"),u=({value:e,onChange:t,...i})=>{let o=e=>{t(e)};return(0,r.jsx)(a,{...i,children:n.Children.map(i.children,t=>n.cloneElement(t,{checked:e?.toString()===t.props.value,onChange:o}))})};u.Control=({label:e,...t})=>(0,r.jsxs)(c,{disabled:t.disabled,children:[(0,r.jsx)(l.s,{...t}),e]})},32093:function(e,t,i){"use strict";i.d(t,{w:function(){return f}}),i(14603),i(47566),i(98721);var r,n=i(74848),o=i(96540),a=i(47767),l=i(33093),s=i(8037),d=i(28971),c=i(36925),u=i(18509),p=i(38267),h=i(40271);let x=p.Ay.div(["position:relative;"]),m=p.Ay.iframe.attrs({frameBorder:0})(["width:100%;border:none;&[data-status=","]{opacity:0;pointer-events:none;}"],s.Hp.loading),g=(0,p.Ay)(h.Ay)(["position:absolute;top:calc(50% - 18px);left:calc(50% - 18px);"]);var y=((r={}).Loaded="loaded",r.Resize="resize",r.LinkClick="link_click",r.Error="error",r);let f=({critique:e,...t})=>{let i=(0,a.Zp)(),r=(0,a.zy)(),[p,h]=(0,o.useState)(s.Hp.loading),[f,b]=(0,o.useState)(600),_=(0,o.useRef)(null),v=new URLSearchParams(r.
7903search),j="1"===v.get("review"),A=(0,u.N)(c.Tp.triggeredCritiqueStatus),C=j&&A?.status===d.oV.pending,w="1"===v.get("lowLeads"),k=p===s.Hp.loading;return(0,o.useEffect)(()=>{e?.status===d.oV.failed&&i("/",{replace:!0})},[e?.status,i]),(0,o.useEffect)(()=>{let e=({data:e,source:t})=>{_.current&&t===_.current.contentWindow&&"object"==typeof e&&null!==e&&"type"in e&&(e=>{let{type:t}=e;(t===y.Loaded||t===y.Resize)&&b(e.height),t===y.LinkClick&&(e.url.match(/(cv|resume)-writing/i)?((0,l.xP)("click_resume_get_professional_help_button",{section:"review_body"}),window.open(d.hb)):window.open(e.url))})(e)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[]),(0,n.jsxs)(x,{...t,children:[(C||k)&&(0,n.jsx)(g,{}),j&&A?.status===d.oV.finished?(0,n.jsx)(m,{ref:_,src:A?.iframeUrl,style:{height:f},scrolling:"no","data-status":p,onLoad:()=>h(s.Hp.loaded)}):e?.status===d.oV.finished?(0,n.jsx)(m,{ref:_,src:e.iframeUrl,style:{height:f},scrolling:"no","data-status":p,onLoad:()=>h(s.Hp.loaded)}):w&&e?.iframeUrl?(0,n.jsx)(m,{ref:_,src:e?.iframeUrl,style:{height:f},scrolling:"no","data-status":p,onLoad:()=>h(s.Hp.loaded)}):void 0]})}},95204:function(e,t,i){"use strict";i.d(t,{A:function(){return C}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(20646),a=i(16466),l=i(91779),s=i(86066),d=i(38267),c=i(99701),u=i(49504),p=i(14649),h=i(57119);let x=d.Ay.div(["width:95%;max-width:550px;padding:20px;border-radius:12px;background-color:",";"],c.Jy.White),m=d.Ay.div(["display:flex;justify-content:space-between;height:24px;"]),g=d.Ay.div([""," "," margin:12px 0px 24px 0px;color:",";"],u.Ay.Body,u.BO.Regular,c.Jy.Neutral50),y=d.Ay.div([""," "," color:",";width:95%;height:276px;"],u.Ay.S,u.BO.DemiBold,c.Jy.Neutral90),f=(0,d.Ay)(p.EK.Close)(["background-color:",";border-radius:32px;"],c.Jy.Neutral10),b=(0,d.Ay)(h.A)(["input{color:",";"," "," margin-bottom:16px;}"],c.Jy.Neutral90,u.Ay.Body,u.BO.Regular),_=d.Ay.div(["display:flex;justify-content:right;"]),v=(0,d.Ay)(l.$n)(["margin-right:8px;"]),j=(0,d.Ay)(l.$n)([""]);var A=i(75057),C=(0,n.memo)(({newJobTitle:e,newEmployerName:t,onJobTitleChange:i,onCompanyNameChange:n,onCancelJobDetails:d,onSaveJobDetails:c,onCancelEditJobDetails:u,isSaveButtonDisabled:p})=>{let{isPhone:h}=(0,s.e)(),C=h?l.Mp.small:l.Mp.default,w=[{key:A.g.jobTitle,label:o.R.t("builder.resume_optimizer.edit_job_details.job_title"),value:e,onValueChange:i},{key:A.g.companyName,label:o.R.t("builder.resume_optimizer.edit_job_details.company_name"),value:t,onValueChange:n}];return(0,r.jsx)(a.A,{children:(0,r.jsxs)(x,{children:[(0,r.jsxs)(m,{children:[(0,r.jsx)(y,{children:o.R.t("builder.resume_optimizer.edit_job_details.edit_job_title")}),(0,r.jsx)(f,{onClick:u})]}),(0,r.jsx)(g,{children:o.R.t("builder.ai_cover_letter.edit_job_details.content")}),w.map(e=>(0,r.jsx)(b,{label:e.label,value:e.value??"",onChange:e.onValueChange},e.key)),(0,r.jsxs)(_,{children:[(0,r.jsx)(v,{size:C,theme:"ghost",onClick:d,children:o.R.t("builder.resume_optimizer.job_posting.cancel")}),(0,r.jsx)(j,{size:C,onClick:c,isDisabled:p,children:o.R.t("builder.resume_optimizer.edit_job_details.save")})]})]})})})},75057:function(e,t,i){"use strict";i.d(t,{a:function(){return a},g:function(){return o}});var r,n,o=((r={}).jobTitle="jobTitle",r.companyName="companyName",r),a=((n={}).SAVED="saved",n.NOT_SAVED="not_saved",n.SAVE="save",n)},34375:function(e,t,i){"use strict";i.d(t,{X:function(){return ec},A:function(){return ep}});var r=i(74848),n=i(96540),o=i(75874),a=i(81247),l=i(38621),s=i(32606),d=i(77378),c=i(18509),u=i(31441),p=i(8037),h=i(9849),x=i(6490),m=i(38267),g=i(99701),y=i(49504),f=i(24833);let b=m.Ay.div(["display:block;user-select:none;position:sticky;top:0px;background-color:",";z-index:2;padding-top:12px;",";&:before{right:100%;}&:after{left:100%;}"],g.Jy.White,f.A.Phone`
7904    &:before,
7905    &:after {
7906      width: 20px;
7907    }
7908  `),_=m.Ay.div(["display:flex;flex-flow:row nowrap;position:relative;max-width:100%;overflow:hidden;"]),v=m.Ay.div(["margin-right:8px;margin-bottom:8px;display:flex;flex:0 1 auto;overflow:hidden;"]),j=m.Ay.p(["",";color:",";margin-right:5px;display:block;max-width:180px;height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],y.Ay.Caption,g.Jy.Neutral50),A=(0,m.Ay)(o.CS.div)(["display:inline-block;",";"," border-radius:4px;margin-right:8px;color:",";font-variant-numeric:tabular-nums;width:fit-content;height:20px;padding:2px 4.5px;background-color:",";&:after{content:'%';}"],y.Ay.Tiny,y.BO.DemiBold,g.Jy.White,({points:e})=>(0,u.Oz)(e)),C=m.Ay.div(["height:3px;background-color:",";"],g.Jy.Neutral10),w=(0,m.Ay)(o.CS.div)(["height:3px;width:100%;transform-origin:left;"]);var k=i(33093),S=i(40961),T=i(86066),P=i(24184),J=i(95204),E=i(62317),R=i(
790856155),L=i(25755),N=i(57119),I=i(14649),M=i(75057);let B=m.Ay.div(["display:flex;flex-flow:row nowrap;position:relative;flex:0 1 auto;overflow:hidden;"]),D=m.Ay.div(["display:flex;flex-flow:row nowrap;position:relative;flex:0 1 auto;overflow:hidden;"]),$=(0,m.Ay)(N.A)(["input{height:24px;color:",";"," "," background-color:",";}"],g.Jy.Neutral50,y.Ay.Caption,y.BO.Regular,e=>!0===e.isJobDetailsFocused?g.Jy.White:g.Jy.Blue10),O=m.Ay.p([""," "," color:",";margin:0px 4px;"],y.Ay.Caption,y.BO.Regular,g.Jy.Neutral50),z=(0,m.Ay)(N.A)(["input{height:24px;color:",";"," "," background-color:",";}"],g.Jy.Neutral50,y.Ay.Caption,y.BO.Regular,e=>!0===e.isJobDetailsFocused?g.Jy.White:g.Jy.Blue10),F=m.Ay.p(["",";color:",";margin-right:5px;display:block;max-width:180px;height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 0px;flex:auto;",";"],y.Ay.Caption,g.Jy.Neutral50,f.A.Phone`
7909    max-width: 160px;
7910  `),H=m.Ay.div(["color:",";cursor:pointer;user-select:none;position:relative;margin-right:4px;",";& svg{display:block;}"],g.Jy.Neutral30,f.A.Hover`
7911    &:hover {
7912      color: ${g.Jy.Blue50};
7913    }
7914  `),V=(0,m.Ay)(I.EK.Revert)(["fill:",";margin-left:12px;"],e=>!0===e.isRefresh?g.Jy.Blue50:g.Jy.Neutral30),U=(0,m.Ay)(I.EK.Tick)(["fill:",";margin:2px 0px 0px 8px;border-radius:32px;"],g.Jy.Neutral30),W=(0,m.Ay)(I.EK.StatusCanceled)(["fill:",";margin:2px 0px 0px 8px;"],g.Jy.Red50),K=m.Ay.p([""," "," margin-left:8px;color:",";margin-top:4px;"],y.Ay.Tiny,y.BO.DemiBold,e=>e.formState===M.a.SAVED?g.Jy.Green50:e.formState===M.a.NOT_SAVED?g.Jy.Red50:g.Jy.Blue50),q=m.Ay.div(["display:flex;cursor:pointer;"," ",""],e=>e.formState===M.a.SAVED&&(0,m.AH)(["","{background-color:",";fill:",";}"],U,g.Jy.Green50,g.Jy.White),e=>e.formState===M.a.SAVE&&(0,m.AH)(["","{fill:",";}"],U,g.Jy.Blue50)),G=(0,n.memo)(({recommendedJobTitle:e,companyName:t,onRefresh:i,onJobTitleChange:o,onCompanyNameChange:a,formState:l,onSaveJobDetails:s,isRefresh:c,onJobDetailsFocus:u,isJobDetailsFocused:p,onClose:h})=>{let x=(0,n.useRef)(null),{i18n:m}=(0,d.s)();return(0,E.L)(x,h),(0,R.j)(h),(0,r.jsxs)(B,{ref:x,children:[(0,r.jsx)($,{inputTheme:"white",active:!0,value:e,onChange:o,onFocus:u,isJobDetailsFocused:p}),(0,r.jsx)(O,{children:m.t("builder.resume_editor.labels.at")}),(0,r.jsx)(z,{inputTheme:"white",active:!0,value:t,onChange:a,onFocus:u,isJobDetailsFocused:p}),(0,r.jsxs)(q,{onClick:s,formState:l,children:[l===M.a.NOT_SAVED?(0,r.jsx)(W,{}):(0,r.jsx)(U,{}),(0,r.jsx)(K,{formState:l,children:m.t(`builder.resume_optimizer.edit_job_details.${l}`)})]}),l===M.a.SAVE&&(0,r.jsx)(L.QP,{value:m.t("builder.resume_optimizer.edit_job_details.revert_changes"),position:"top",children:(0,r.jsx)(V,{isRefresh:c,onClick:i})})]})});var Z=i(9888),X=i(4551);let Q=(0,n.memo)(({onEditMenuClose:e})=>{let t=(0,a.wA)(),i=(0,Z.U)(),{i18n:o}=(0,d.s)(),l=i?.features.resumeOptimizer,c=(0,n.useCallback)(()=>{t(s.o1.setIsClickedOnEditJobDetails(!0)),(0,k.xP)("click_edit_job_title_resume_optimizer")},[t]),u=(0,n.useCallback)(()=>{t(s.o1.setEditorPanelType("tailoring")),t(s.o1.setIsEditJobPosting(!0))},[t]),p=(0,n.useCallback)(()=>{t(s.o1.setIsClickedOnDeleteJobPosting(!0))},[t]),h=(0,n.useMemo)(()=>{let e=[{text:o.t("builder.resume_optimizer.edit_job_details.edit_job_title"),icon:(0,r.jsx)(I.Ay.Edit,{}),onClick:c},{text:o.t("builder.resume_optimizer.edit_job_details.clear_job_title"),icon:(0,r.jsx)(I.EK.Trash,{}),onClick:p}];return l&&e.splice(1,0,{text:o.t("builder.resume_optimizer.edit_job_details.change_job_link"),icon:(0,r.jsx)(I.Ay.BindLink,{}),onClick:u}),e},[l,o,u,p,c]);return(0,r.jsx)(X.W,{actions:h,onClose:e})}),Y=(0,n.memo)(({tailoredJobTitle:e,onLinkChange:t,onPencilClick:i,onDelete:n})=>{let o=(0,a.wA)(),{isPhone:l}=(0,T.e)(),{i18n:u}=(0,d.s)(),p=(0,c.N)(e=>e.resumeEditor.showToolTip),h=(0,Z.U)(),x=h?.features.resumeOptimizer,m="bottom";return(0,r.jsxs)(B,{onMouseLeave:()=>{o(s.o1.ShowToolTip(!1))},children:[(0,r.jsxs)(D,{onMouseEnter:()=>{o(s.o1.ShowToolTip(!0))},children:[(0,r.jsx)(L.QP,{multiline:!0,value:e,position:m,children:(0,r.jsx)(F,{"data-testid":"attached-job-posting-title",children:e})}),(0,r.jsx)(L.QP,{value:u.t("builder.resume_optimizer.edit_job_details.edit_job_title"),position:m,children:(0,r.jsx)(H,{onClick:i,children:(0,r.jsx)(I.qJ.Edit,{})})})]}),p&&!l&&(0,r.jsxs)(D,{children:[x&&(0,r.jsx)(L.QP,{value:u.t("builder.resume_optimizer.edit_job_details.change_job_link"),position:m,children:(0,r.jsx)(H,{onClick:t,children:(0,r.jsx)(I.qJ.BindLink,{})})}),(0,r.jsx)(L.QP,{value:u.t("builder.resume_optimizer.edit_job_details.clear_job_title"),position:m,children:(0,r.jsx)(H,{onClick:n,children:(0,r.jsx)(I.EK.Trash,{})})})]})]})});var ee=i(20646),et=i(16466),ei=i(91779);let er=m.Ay.div(["width:352px;padding:24px;border-radius:8px;z-index:5;background-color:",";",""],g.Jy.White,f.A.Phone`
7915    width: 95%;
7916    padding: 20px;
7917    max-width: 500px;
7918  `),en=m.Ay.div(["display:flex;justify-content:space-between;margin-bottom:24px;",""],f.A.Phone`
7919    margin-bottom: 24px;
7920  `),eo=m.Ay.div([""," "," color:",";width:260px;"],y.Ay.S,y.BO.DemiBold,g.Jy.Neutral90),ea=(0,m.Ay)(I.EK.Close)(["background-color:",";border-radius:32px;
7920cursor:pointer;"],g.Jy.Neutral10),el=m.Ay.div(["display:flex;justify-content:right;"]),es=(0,m.Ay)(ei.$n)(["margin-right:8px;"]),ed=(0,m.Ay)(ei.$n)([""]);var ec=(0,n.memo)(({handleDeleteJobPosting:e,handleCancelDeleteJobPosting:t})=>{let{isPhone:i}=(0,T.e)(),n=i?ei.Mp.small:ei.Mp.default;return(0,r.jsx)(et.A,{overlayFadeDuration:300,contentSlideDuration:300,children:(0,r.jsxs)(er,{children:[(0,r.jsxs)(en,{children:[(0,r.jsx)(eo,{children:ee.R.t("builder.resume_optimizer.edit_job_details.delete_message")}),(0,r.jsx)(ea,{onClick:t})]}),(0,r.jsxs)(el,{children:[(0,r.jsx)(es,{size:n,theme:"ghost",onClick:t,children:ee.R.t("builder.resume_optimizer.job_posting.cancel")}),(0,r.jsx)(ed,{size:n,onClick:e,children:ee.R.t("builder.account.delete_dialog.delete")})]})]})})});let eu=(0,n.memo)(({tailoredJobTitle:e})=>{let{i18n:t}=(0,d.s)(),{isPhone:i}=(0,T.e)(),o=(0,a.wA)(),l=(0,c.N)(e=>e.resumeEditor.isEditJobDetails),{id:u}=(0,c.N)(s.Tp.attachedJobPostingAPIData)||{},{id:p,jobTitle:h,companyName:x}=(0,c.N)(s.Tp.resume)||{},[m,g]=(0,n.useState)(h),[y,f]=(0,n.useState)(x),[b,_]=(0,n.useState)(!1),v=(0,P.E)();(0,n.useEffect)(()=>{g(h),f(x)},[h,x]);let j=(0,n.useCallback)(()=>{p&&u&&(o(s.o1.deleteJobPosting({jobPostingId:u,resumeId:p})),(0,k.xP)("click_confirm_delete_job_title_resume_optimizer"))},[o,u,p]),A=(0,n.useCallback)(()=>{o(s.o1.editJobDetails({jobTitle:m||"",companyName:y||"",successMessage:t.t("builder.resume_optimizer.edit_job_details.success_message")})),(0,k.xP)("click_save_job_title_resume_optimizer"),_(!1)},[o,t,y,m]),C=(0,c.N)(e=>e.resumeEditor.isClickedOnEditJobDetails),w=(0,c.N)(e=>e.resumeEditor.isClickedOnDeleteJobPosting),E=(0,c.N)(e=>e.resumeEditor.isClickedOnAiCVBanner),R=()=>{o(s.o1.setIsClickedOnEditJobDetails(!1))},L=(0,n.useCallback)(()=>{o(s.o1.setEditorPanelType("tailoring")),o(s.o1.setIsEditJobPosting(!0)),o(s.o1.setChangeJobPostingLink(!0)),(0,k.xP)("click_change_job_link_resume_optimizer")},[o]),N=(0,n.useCallback)(()=>{o(s.o1.setIsEditJobDetails(!0))},[o]),I=(0,n.useCallback)(()=>{g(h),f(x),(0,k.xP)("click_revert_job_title_resume_optimizer"),_(!1)},[x,h]),B=e=>{g(e.target.value)},D=e=>{f(e.target.value)},$=m!==h||y!==x,O=!!u,z=C&&(i||E&&!O);(0,n.useEffect)(()=>{l&&i?(0,k.xP)("click_edit_menu_resume_optimizer"):l&&(0,k.xP)("click_edit_job_title_resume_optimizer")},[l,i]);let F=!m||!y;return(0,r.jsxs)(r.Fragment,{children:[l?i?(0,r.jsx)(Q,{onEditMenuClose:()=>{o(s.o1.setIsEditJobDetails(!1))}}):(0,r.jsx)(G,{recommendedJobTitle:m||"",companyName:y||"",onRefresh:I,onJobTitleChange:B,onCompanyNameChange:D,formState:M.a.SAVE,onSaveJobDetails:A,isRefresh:$,onJobDetailsFocus:()=>{_(!0)},isJobDetailsFocused:b,onClose:()=>{$||o(s.o1.setIsEditJobDetails(!1))}}):(0,r.jsx)(Y,{tailoredJobTitle:e,onPencilClick:N,onLinkChange:L,onDelete:()=>{o(s.o1.setIsClickedOnDeleteJobPosting(!0)),(0,k.xP)("click_clear_job_title_resume_optimizer")}}),z&&(0,r.jsx)(J.A,{isSaveButtonDisabled:F,newJobTitle:m||"",newEmployerName:y||"",onJobTitleChange:B,onCompanyNameChange:D,onSaveJobDetails:A,onCancelJobDetails:R,onCancelEditJobDetails:R}),w&&S.createPortal((0,r.jsx)(ec,{handleDeleteJobPosting:j,handleCancelDeleteJobPosting:()=>{o(s.o1.setIsClickedOnDeleteJobPosting(!1))}}),v)]})}),ep=e=>{let{customHeaderText:t}=e,i=(0,n.useRef)(null),{i18n:m}=(0,d.s)(),g=(0,a.wA)(),y=(0,c.N)(s.Tp.attachedJobPostingAPIData),f=(0,c.N)(s.Tp.resumeScore)||0,k=(0,c.N)(s.Tp.resume),{jobTitle:S,companyName:T}=k||{},P=k?.averageScore||f,J=(0,h.F)(S||y?.jobTitle,T||y?.companyName),E=(0,c.N)(e=>e.resumeEditor.editJobPosting);(0,n.useEffect)(()=>{E&&(g(s.o1.setFetchResumeScoreStatus(p.Hp.notAsked)),g(s.o1.setAttachJobPostingStatus(p.Hp.notAsked)),g(s.o1.setIsEditJobPosting(!1)))},[g,E]);let R=(0,n.useMemo)(()=>(0,u.Oz)(P),[P]),L=(0,o.zh)({config:o.$W.slow,from:{points:0},to:{points:Math.min(P,100)}}),N=!!S||!!y;return(0,r.jsxs)(b,{ref:i,...e,children:[(0,r.jsx)(_,{children:(0,r.jsxs)(v,{children:[(0,r.jsx)(A,{points:P,children:L.points.to(e=>e.toFixed(0))}),N?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.vE,{style:{marginRight:"8px"},size:20,src:l}),(0,r.jsx)(eu,{tailoredJobTitle:J})]}):(0,r.jsx)(j,{children:t||m.t("builder.resume_tuner.banner.dashboard_score")})]})}),(0,r.jsx)(C,{children:(0,r.jsx)(w,{style:{transform:L.points.to(e=>`scaleX(${e/100})`),backgroundColor:R}})})]})}},7208:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return eP}}),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(18111),i(7588);var r,n=i(74848),o=i(96540),a=i(87947),l=i(35143),s=i(9404),d=i(67228),c=i(78394),u=i(16266),p=i(82637),h=i(99701),x=i(86066),m=i(29522),g=i(44506),y=i(12330),f=i(46628),b=((r={}).Bold="BOLD",r.Italic="ITALIC",r.Underline="UNDERLINE",r.Strike="STRIKETHROUGH",r.OrderedList="ordered-list-item",r.UnorderedList="unordered-list-item",r.ColorPicker="TEXT_COLOR",r.Highlight="TEXT_HIGHLIGHT",r),_=i(38267);let v=_.Ay.div(["display:flex;align-items:center;justify-content:space-between;padding:12px 12px 0 12px;"]),j=_.Ay.div(["width:24px;height:24px;background-color:",";cursor:pointer;display:flex;align-items:center;justify-content:center;color:",";&:hover{color:",";}",";",";"],h.Jy.Neutral10,h.Jy.Neutral70,h.Jy.Blue60,({isActive:e})=>e&&`
7921    color: ${h.Jy.Blue60};
7922  `,({isDisabled:e})=>e&&`
7923    color: ${h.Jy.Neutral40};
7924    pointer-events: none;
7925  `),A=_.Ay.div(["display:flex;align-items:center;justify-content:space-between;margin-right:12px;"]),C=_.Ay.div(["height:20px;width:1px;margin:0 10px;background-color:",";"],h.Jy.Neutral30);h.Jy.Blue50;let w=_.Ay.div(["position:relative;"]),k=_.Ay.div(["display:flex;align-items:center;position:absolute;
7925left:3px;bottom:3px;"]),S=(0,_.i7)(["0%{opacity:0;}50%{opacity:1;}100%{opacity:0;}"]),T=_.Ay.div(["width:3px;height:3px;margin-right:2px;background-color:",";border-radius:50%;opacity:0;animation:"," 1.5s infinite linear;&:last-child{margin:0;}"],h.Jy.Blue50,S),P=(0,_.Ay)(T)([""]),J=(0,_.Ay)(T)(["animation-delay:0.2s;"]),E=(0,_.Ay)(T)(["animation-delay:0.4s;"]);i(44114);var R=i(99974),L=i(4124),N=i.n(L),I=i(33093),M=i(94826),B=i(14649),D=i(31699),$=i(41295),O=i(20646);i(61701);var z=i(74408),F=i(91779);let H=[{name:"white",color:"#FFFFFF"},{name:"lightGray",color:"#D3D3D3"},{name:"darkGray",color:"#808080"},{name:"black",color:"#000000"},{name:"red",color:"#FF6B6B"},{name:"darkRed",color:"#C92A2A"},{name:"yellow",color:"#FFD43B"},{name:"darkYellow",color:"#F59F00"},{name:"green",color:"#51CF66"},{name:"darkGreen",color:"#2B8A3E"},{name:"cyan",color:"#22B8CF"},{name:"darkCyan",color:"#0B7285"},{name:"blue",color:"#4DABF7"},{name:"darkBlue",color:"#1971C2"},{name:"magenta",color:"#CC5DE8"},{name:"darkMagenta",color:"#862E9C"}],V=_.Ay.div(["position:absolute;z-index:99;background:white;display:grid;gap:8px;padding:8px;grid-template-columns:repeat(4,auto);box-shadow:0 4px 6px rgba(0,0,0,0.1);border-radius:8px;transform:translate(calc(-50% + 12px),8px);"]),U=_.Ay.button(["background-color:",";width:24px;height:24px;border-radius:50%;cursor:pointer;border:",";&:hover{box-shadow:",";}&:focus{outline:2px solid ",";outline-offset:2px;}&[data-active='true']{outline:2px solid ",";outline-offset:2px;}"],e=>e.color,e=>["#FFFFFF"].includes(e.color)?"1px solid #ccc":"none",h.qd.lightShadowLow,h.Jy.Blue50,h.Jy.Blue50),W=_.Ay.div(["position:absolute;top:-2px;width:12px;height:12px;background:white;left:50%;transform:rotate(45deg) translateX(-50%);"]),K=(0,_.Ay)(F.$n)(["grid-column:span 4;height:32px;text-align:left;display:flex;align-items:center;justify-content:flex-start;background:none;color:",";padding:6px;gap:4px;margin:0 -8px;border-radius:0;& span{transform:translateY(1px);}&:hover{color:",";}"],h.Jy.Neutral70,h.Jy.Blue50),q=e=>(0,n.jsxs)(z.A,{children:[(0,n.jsx)(z.A.Button,{as:j,isDisabled:e.isDisabled,isActive:e.isActive,children:e.children}),(0,n.jsx)(z.A.Panel,{children:(0,n.jsxs)(V,{children:[(0,n.jsx)(W,{}),H.map(t=>(0,n.jsx)(U,{type:"button",title:t.color,onClick:()=>e.onClick(t),color:t.color,"data-active":e.currentColor===t.color},t.name)),(0,n.jsxs)(K,{type:"button",size:"small",theme:"secondary",onClick:()=>e.onClick({name:"none",color:"none"}),children:[(0,n.jsx)(B.Ay.None,{}),(0,n.jsx)("span",{children:"None"})]})]})})]});var G=(0,o.memo)(e=>{let{boldButtonDisable:t,italicButtonDisable:i,linkButtonDisable:r,isSpellCheckerVisible:o,additionalToolbarActions:a}=e,s=(e=>{let{editorState:t,isSpellCheckerEnabled:i,focusEditor:r,onChange:n,onToggleInline:o,onToggleBlock:a,onToggleAlignment:s,onToggleSpellChecker:d}=e,c=()=>{setTimeout(()=>{r()},50)};return{handleClickBlock:(e,i)=>{let r,n;e.preventDefault(),a(i),c(),(0,I.xP)("click_rich_text_toolbar_button",{button:N()(i),action:(r=t.getSelection(),((n=t.getCurrentContent().getBlockForKey(r.getStartKey()))?n.getType():null)===i)?"disable":"enable"})},handleClickLink:e=>{e.preventDefault();let i=(0,M._4)(t),r=i?.getType()===R.zQ.LINK;if(r)(()=>{let e=(0,M.V1)(t);if(e){let{blockKey:i,startOffset:r,endOffset:o}=e;n((0,M.Vs)(t,i,r,o))}})();else{let e=window.prompt("Enter the URL of the link:");if(!e)return;(e=>{let i=t.getCurrentContent(),r=t.getSelection(),o=r,a=!1;if(r.isCollapsed()){let e=(0,M.V1)(t);e&&(a=!0,r=r.merge({anchorOffset:e.startOffset,focusOffset:e.endOffset,isBackward:!1}))}else a=!0;if(a){let a=(i=i.createEntity(R.zQ.LINK,"MUTABLE",{url:e})).getLastCreatedEntityKey(),s=l.EditorState.push(t,i,"");s=l.RichUtils.toggleLink(s,r,a),n(s=l.EditorState.acceptSelection(s,o))}c()})(e)}(0,I.xP)("click_rich_text_toolbar_button",{button:"link",action:r?"disable":"enable"})},handleClickMark:(e,i)=>{e.preventDefault(),o(i);let r=t.getSelection(),n=!!t.getCurrentContent().getBlockForKey(r.getStartKey())&&t.getCurrentInlineStyle().has(i);(0,I.xP)("click_rich_text_toolbar_button",{button:N()(i),action:n?"disable":"enable"})},handleClickAlignment:(e,i)=>{e.preventDefault();let r=t.getSelection(),n=t.getCurrentContent().getBlockForKey(r.getStartKey()),o=n?.getData()?.get("textAlign");s(i),c(),(0,I.xP)("click_rich_text_toolbar_button",{button:`align_${i}`,action:o===i?"disable":"enable"})},handleClickSpellCheck:()=>{(0,I.xP)("click_rich_text_toolbar_button",{button:"spell_check",action:i?"disable":"enable"}),d()},handleClickHighlight:e=>{if(t.getSelection().isCollapsed())return;let i=(0,M.M6)(t);"none"===e.name?n((0,M.rk)(t)):n((0,M.Nc)(t,e)),(0,I.xP)("click_rich_text_toolbar_button",{button:"TEXT_HIGHLIGHT",action:i?"disable":"enable"})},handleClickColorPicker:e=>{if(t.getSelection().isCollapsed())return;let i=(0,M.$Q)(t);"none"===e.name?n((0,M.uu)(t)):n((0,M.CL)(t,e)),(0,I.xP)("click_rich_text_toolbar_button",{button:"TEXT_COLOR",action:i?"disable":"enable"})}}})(e),{renderBlockButton:d,renderLinkButton:c,renderMarkButton:u,renderSpellCheckButton:p,renderHighlightButton:h,renderColorPickerButton:x,renderAlignmentButton:m}=(e=>
7925{let t,i,{isDisabled:r,editorState:o,isSpellCheckerPending:a,isSpellCheckerEnabled:l,actions:{handleClickBlock:s,handleClickLink:d,handleClickMark:c,handleClickAlignment:u,handleClickSpellCheck:p}}=e,h=()=>(0,M._4)(o),x=e=>{switch(e){case b.Bold:return(0,n.jsx)(B.Ay.Bold,{});case b.Italic:return(0,n.jsx)(B.Ay.Italic,{});case b.Underline:return(0,n.jsx)(B.Ay.Underline,{});case b.Strike:return(0,n.jsx)(B.Ay.Strike,{});case b.OrderedList:return(0,n.jsx)(B.Ay.OrderedList,{});case b.UnorderedList:return(0,n.jsx)(B.Ay.UnorderedList,{});case b.ColorPicker:return(0,n.jsx)(B.Ay.ColorBaseline,{});case b.Highlight:return(0,n.jsx)(B.Ay.HighlightPicker,{});default:return(0,n.jsx)(B.Ay.Add,{})}},m=(t=o.getSelection(),i=o.getCurrentContent().getBlockForKey(t.getStartKey()),i?.getData()?.get("textAlign")||void 0);return{renderBlockButton:e=>{let t,i,a=e===(t=o.getSelection(),(i=o.getCurrentContent().getBlockForKey(t.getStartKey()))?i.getType():null);return(0,n.jsx)(j,{"data-testid":`toolbar-btn-${e}`,onMouseDown:t=>s(t,e),isActive:a,isDisabled:r,children:x(e)})},renderLinkButton:()=>{let e=o.getSelection(),t=h(),i=!e.isCollapsed(),a=t?.getType()===R.zQ.LINK,l=i||a,s=a?(0,n.jsx)(B.Ay.UnbindLink,{}):(0,n.jsx)(B.Ay.BindLink,{});return(0,n.jsx)(j,{"data-testid":"toolbar-btn-hyperlink",onClick:d,isDisabled:!l||r,isActive:a,children:s})},renderMarkButton:e=>{let t=o.getSelection(),i=!!o.getCurrentContent().getBlockForKey(t.getStartKey())&&o.getCurrentInlineStyle().has(e);return(0,n.jsx)(j,{"data-testid":`toolbar-btn-${e}`,onMouseDown:t=>c(t,e),isActive:i,isDisabled:r,children:x(e)})},renderAlignmentButton:e=>{let t=m===e;return(0,n.jsx)(j,{"data-testid":`toolbar-btn-align-${e}`,onMouseDown:t=>u(t,e),isActive:t,isDisabled:r,children:(e=>{switch(e){case"left":return(0,n.jsx)(B.Ay.AlignLeft,{});case"center":return(0,n.jsx)(B.Ay.AlignCenter,{});case"right":return(0,n.jsx)(B.Ay.AlignRight,{});case"justify":return(0,n.jsx)(B.Ay.AlignJustify,{})}})(e)})},renderSpellCheckButton:()=>{let e=O.R.t(`builder.resume_editor.spell_checker_${l?"disable":"enable"}`);return(0,n.jsx)(j,{isActive:l,onClick:p,isDisabled:r,children:(0,n.jsx)($.A,{value:e,children:a?(0,n.jsxs)(w,{children:[(0,n.jsx)(B.Ay.SpellCheckPending,{}),(0,n.jsxs)(k,{children:[(0,n.jsx)(P,{}),(0,n.jsx)(J,{}),(0,n.jsx)(E,{})]})]}):(0,n.jsx)(B.Ay.SpellCheck,{})})})},renderHighlightButton:t=>{let i=h(),o=i?.getType()===t,a=i?.getData(),l=a?.color||"currentColor";return(0,n.jsx)(q,{"data-testid":"toolbar-btn-highlight",isDisabled:r,isActive:o,currentColor:l,onClick:t=>{e.actions.handleClickHighlight(t)},children:(0,n.jsx)(D.HighlightPicker,{color:o?l:"currentColor"})})},renderColorPickerButton:t=>{let i=h(),o=i?.getType()===t,a=i?.getData(),l=a?.color||"currentColor";return(0,n.jsx)(q,{"data-testid":"toolbar-btn-color-picker",isDisabled:r,isActive:o,currentColor:l,onClick:t=>{e.actions.handleClickColorPicker(t)},children:(0,n.jsx)(D.ColorBaseline,{color:o?l:"currentColor"})})}}})({...e,actions:s});return(0,n.jsxs)(v,{"data-testid":"rich-text-toolbar",children:[(0,n.jsxs)(A,{children:[!t&&u(b.Bold),!i&&u(b.Italic),u(b.Underline),u(b.Strike),(0,n.jsx)(C,{}),m("left"),m("center"),m("right"),m("justify"),(0,n.jsx)(C,{}),d(b.OrderedList),d(b.UnorderedList),!r&&(0,n.jsx)(C,{}),!r&&c(),(0,n.jsx)(C,{}),x(b.ColorPicker),h(b.Highlight),o&&(0,n.jsx)(C,{}),o&&p()]}),a]})});i(20116);var Z=i(40961);let X=_.Ay.div(({isOpen:e})=>(0,_.AH)(["display:",";position:absolute;top:100%;left:-12px;background-color:",";border-radius:3px;box-shadow:0px 0px 1px rgba(23,68,130,0.2),0px 2px 14px rgba(23,68,130,0.15);min-width:192px;padding:7px 0px;user-select:none;z-index:2;"],e?"block":"none",h.Jy.White)),Q=_.Ay.div(["padding:5px 12px;display:flex;flex-flow:row nowrap;cursor:pointer;&:hover{background-color:",";color:",";}"],h.Jy.Green50,h.Jy.White),Y=_.Ay.div(["padding:5px 12px;color:",";"],h.Jy.Neutral40),ee=_.Ay.div(["height:1px;background-color:",";margin:5px 12px;"],h.Jy.Neutral15),et=_.Ay.div(["padding:5px 12px;display:flex;flex-flow:row nowrap;cursor:pointer;&:hover{background-color:",";}"],h.Jy.Neutral10),ei=_.Ay.div(["display:inline-block;margin-right:8px;"," &{color:",";}"," &{color:",";}",":hover &{color:",";}"],Q,h.Jy.Green50,et,h.Jy.Neutral30,Q,h.Jy.White);var er=e=>{let t=y.D.getItem("SPELL_CHECKER_INCORRECT_WORDS"),i=t?JSON.parse(t):[],{isOpen:r,top:a,left:s,word:d,handleMouseOver:c,handleMouseLeave:u,handleIgnoreClick:p,handleSuggestionItemClick:h}=(e=>{let{spellCheckEmitter:t,editorState:i,setEditorState:r,handleChange:n,locale:a}=e,[s,d]=(0,o.useState)(!1),[c,u]=(0,o.useState)(0),[p,h]=(0,o.useState)(0),[x,m]=(0,o.useState)(""),[g,f]=(0,o.useState)(""),[b,_]=(0,o.useState)(""),[v,j]=(0,o.useState)(0),[A,C]=(0,o.useState)(0),w=({wordId:e,word:t,position:i,wordStartIndex:r,wordEndIndex:n,blockKey:o})=>{d(!0),u(i.top),h(i.left),m(o),f(t),_(e),j(r),C(n)},k=()=>{d(!1),_("")},S=e=>{let o=((e,t,i,r,n)=>{let o=e.getCurrentContent();if(!o.getBlockForKey(n))return e;let a=e.getSelection().merge({anchorKey:n,anchorOffset:i,focusOffset:r,focusKey:n}),s=l.Modifier.replaceText(o,a,t,e.getCurrentInlineStyle());return l.EditorState.push(e,s,"insert-spellcheck-suggestion")})(i,e,v,A,x);
7925t.hideSuggestionsInstantly({wordId:b}),r(o),n(o)};return(0,o.useEffect)(()=>(t.on("showDropdown",w),t.on("hideDropdown",k),()=>{t.removeListener("showDropdown",w),t.removeListener("hideDropdown",k)}),[]),{isOpen:s,top:c,left:p,word:g,handleMouseOver:()=>{t.showSuggestions({wordId:b,position:{top:c,left:p},word:g,wordStartIndex:v,wordEndIndex:A,blockKey:x})},handleMouseLeave:()=>{t.hideSuggestions({wordId:b})},handleIgnoreClick:()=>{let e=y.D.getItem("SPELL_CHECKER_IGNORED_WORDS"),t=e?JSON.parse(e):[];t.push(g),y.D.setItem("SPELL_CHECKER_IGNORED_WORDS",JSON.stringify(t)),(0,I.xP)("click_spellcheck_ignore_word",{word:g,locale:a}),S(g)},handleSuggestionItemClick:e=>{S(e)}}})(e),x=i.find(e=>e.word===d);return x?Z.createPortal((0,n.jsxs)(X,{isOpen:r,onMouseEnter:c,onMouseLeave:u,style:{top:`${a}px`,left:`${s}px`},children:[x?.suggestions.map(e=>(0,n.jsxs)(Q,{onClick:()=>h(e),children:[(0,n.jsx)(ei,{children:(0,n.jsx)(B.Ay.Tick,{})}),e]},e)),!x?.suggestions.length&&(0,n.jsx)(Y,{children:O.R.t("builder.resume_editor.spell_checker_unknown_word")}),(0,n.jsx)(ee,{}),(0,n.jsxs)(et,{onClick:p,children:[(0,n.jsx)(ei,{children:(0,n.jsx)(B.Ay.InvisibleSmall,{})}),"Ignore"]})]}),document.body):null},en=i(78561);let eo=_.Ay.span(({disabled:e})=>(0,_.AH)(["position:relative;",""],!e&&`
7926    background-size: 100% 2px;
7927    background-position: 0 100%;
7928    background-image: linear-gradient(
7929      ${(0,en.j)(h.Jy.Red50,.6)},
7930      ${(0,en.j)(h.Jy.Red50,.6)}
7931    );
7932    padding-bottom: 1px;
7933  `));var ea=i(44329),el=e=>{let{children:t}=e,{handleMouseEnter:i,handleMouseLeave:r}=(e=>{let{children:t,decoratedText:i,spellCheckEmitter:r}=e,[n,a]=(0,o.useState)(!1),l=(0,o.useRef)((0,ea.Ak)()),s=e=>{l.current===e&&a(!0)},d=e=>{l.current===e&&a(!1)};return(0,o.useEffect)(()=>(r.on("highlightWord",s),r.on("dimWord",d),()=>{r.removeListener("highlightWord",s),r.removeListener("dimWord",d)}),[r]),{isActive:n,handleMouseEnter:e=>{let n=e.target.getBoundingClientRect(),o=window.scrollY||window.pageYOffset||(document.documentElement?document.documentElement.scrollTop:0),a={top:Math.round(n.top+o+n.height+1),left:Math.round(n.left-16)};r.showSuggestions({blockKey:t[0].props.block.getKey(),wordId:l.current,word:i,position:a,wordStartIndex:t[0].props.start,wordEndIndex:t[0].props.start+i.length})},handleMouseLeave:()=>{r.hideSuggestions({wordId:l.current})}}})(e);return(0,n.jsx)(eo,{onMouseEnter:i,onMouseLeave:r,children:t})},es=i(30228),ed=i(38221),ec=i.n(ed);class eu extends es.EventEmitter{wordId=null;isDropdownOpen=!1;showSuggestions({wordId:e,word:t,position:i,wordStartIndex:r,wordEndIndex:n,blockKey:o}){if(this.wordId===e&&!this.isDropdownOpen){this.showDropdown.cancel(),this.showDropdown({wordId:e,word:t,position:i,wordStartIndex:r,wordEndIndex:n,blockKey:o});return}if(this.wordId===e&&this.isDropdownOpen)return void this.hideDropdown.cancel();if(this.wordId!==e&&this.isDropdownOpen){this.emit("dimWord",this.wordId),this.emit("highlightWord",e),this.emit("showDropdown",{wordId:e,word:t,position:i,wordStartIndex:r,wordEndIndex:n,blockKey:o}),this.wordId=e,this.hideDropdown.cancel();return}null===this.wordId&&(this.wordId=e,this.showDropdown({wordId:e,word:t,position:i,wordStartIndex:r,wordEndIndex:n,blockKey:o}),this.hideDropdown.cancel())}hideSuggestions({wordId:e}){if(!this.isDropdownOpen){this.showDropdown.cancel(),this.wordId=null,this.emit("dimWord",e);return}this.hideDropdown(e)}showDropdown=ec()(({wordId:e,word:t,position:i,wordStartIndex:r,wordEndIndex:n,blockKey:o})=>{this.isDropdownOpen=!0,this.emit("highlightWord",e),this.emit("showDropdown",{wordId:e,word:t,position:i,wordStartIndex:r,wordEndIndex:n,blockKey:o})},300);hideDropdown=ec()(e=>{this.isDropdownOpen=!1,this.wordId=null,this.emit("dimWord",e),this.emit("hideDropdown")},1e3);hideSuggestionsInstantly=({wordId:e})=>{this.isDropdownOpen=!1,this.wordId=null,this.emit("dimWord",e),this.emit("hideDropdown")}}var ep=i(77378),eh=({length:e,recommendedLength:t})=>{let{i18n:i}=(0,ep.s)(),r=(0,o.useMemo)(()=>e>=t?B.Ay.FaceGood:e>t/3?B.Ay.FaceNormal:B.Ay.FaceBad,[e,t]);return(0,n.jsxs)(f.ke,{children:[(0,n.jsx)(f.uW,{children:i.t("builder.resume_editor.phrase_suggestion.progress_label",{count:t})}),(0,n.jsxs)(f.Iy,{isIdle:0===e,children:[(0,n.jsxs)(f.Cz,{children:[(0,n.jsx)(f.rf,{children:e}),e<t&&(0,n.jsxs)("span",{children:["\xa0/\xa0",t,"+"]})]}),(0,n.jsx)(f.h5,{isVisible:e>0,children:(0,n.jsx)(r,{})})]})]})},ex=e=>{let{length:t,ranges:{good:i,bad:r},label:a}=e,l=(0,o.useCallback)(()=>t>=r.start&&t<=r.end?(0,n.jsx)(B.Ay.FaceBad,{"data-testid":"icon-bad-face"}):t>=i.start&&t<=i.end?(0,n.jsx)(B.Ay.FaceGood,{"data-testid":"icon-good-face"}):(0,n.jsx)(B.Ay.FaceNormal,{"data-testid":"icon-normal-face"}),[t,r,i]);return(0,n.jsxs)(f.ke,{style:{alignItems:"flex-start"},children:[(0,n.jsx)(f.uW,{children:a}),(0,n.jsxs)(f.Iy,{isIdle:0===t,children:[(0,n.jsxs)(f.Cz,{children:[(0,n.jsx)(f.rf,{children:t}),(0,n.jsxs)("span",{children:["\xa0/\xa0",t<i.start?`${i.start}+`:`${i.end}`]})]}),(0,n.jsx)(f.h5,{isVisible:t>0,children:l()})]})]})},em=i(4435);let eg=(e,t)=>t.includes(e[0]),ey=(e,t,i,r)=>{i||(i=t.getFirstBlock().getKey());let n=new l.SelectionState({anchorKey:i,anchorOffset:0,focusKey:i,focusOffset:r===ef.OL?2:1}),o=l.Modifier.replaceText(t,n,""),a=l.EditorState.push(e,o,"insert-characters");return a=l.RichUtils.toggleBlockType(a,r),a=l.EditorState.forceSelection(a,o.getSelectionAfter())},ef={UL:"unordered-list-item",OL:"ordered-list-item",TEXT:"unstyled"};
7933var eb=i(59012),e_=i(62173),ev=i(94698),ej=i(82520);let eA={decorators:[{strategy:(e,t,i)=>{e.findEntityRanges(e=>{let t=e.getEntity();return null!==t&&"LINK"===i.getEntity(t).getType()},t)},component:e=>{let{children:t,contentState:i,entityKey:r}=e,{url:o}=i.getEntity(r).getData();return(0,n.jsx)(f.Ft,{href:o,title:o,children:t})}}]},eC=(0,p.A)({component:({href:e,children:t})=>(0,n.jsx)(f.Ft,{href:e,title:e,children:t})}),ew=(()=>{let{olRegex:e,ulChars:t}={olRegex:/\d\./,ulChars:["-","–","*"]};return{handleBeforeInput(i,r,n,{setEditorState:o}){if(" "===i){let i=r.getCurrentContent(),n=r.getSelection(),a=n.getStartKey(),l=i.getBlockForKey(a);if(l.getType()!==ef.TEXT)return"not-handled";let s=n.getStartOffset(),d=`${l.getText()} `;if(s===d.indexOf(" ")&&1===d.trim().length){if(eg(d,t))return o(ey(r,i,a,ef.UL)),"handled";if(e.test(d))return o(ey(r,i,a,ef.OL)),"handled"}else{let n=null,l=e.exec(d);if(l&&0===l.index?n=ef.OL:eg(d,t)&&(n=ef.UL),n)return o(ey(r,i,a,n)),"handled"}}return"not-handled"}}})(),ek={decorators:[eb.A]},eS={decorators:[e_.A]},eT=e=>{let t=e.getData()?.get("textAlign");return t?`rich-text-align-${t}`:""};var eP=(0,o.memo)(e=>{var t;let i,r,{height:p=200,disableToolbar:b,label:_="",locale:v="en",boldButtonDisable:j=!1,linkButtonDisable:A=!1,italicButtonDisable:C=!1,placeholder:w="",recommendedLength:k,ranges:S,recommendedRangeLabel:T="",isAnimating:P,value:J="",onTextLengthChange:E,instanceRef:R,additionalToolbarActions:L,containerRef:N,readOnly:I,disabled:M,enableSpeechToText:B=!1}=e,{animationPlaceholderRef:D,editorId:$,editorRef:O,editorState:z,isFocused:F,isSpellCheckerEnabled:H,isSpellCheckerPending:V,isSpellingChecked:U,textLength:W,shouldHidePlaceholder:K,focusEditor:q,handleChange:Z,handleToggleInline:X,handleToggleBlock:Q,handleToggleAlignment:Y,handleToggleSpellChecker:ee,handleFocus:et,handleBlur:ei,handleKeyBinding:en,handleKeyCommand:eo,supportsLocale:ea,setEditorState:es,addPhrase:ed,replacePhrase:ec,getEditorText:ep,handleTranscript:eg}=(0,em.c)(e),ey=(0,o.useRef)(null),ef=(r=(0,o.useRef)(null),(0,o.useEffect)(()=>{N&&("function"==typeof N?N(r.current):N.current=r.current)}),r),eb=(t=(e,t)=>{let i=y.D.getItem("SPELL_CHECKER_IGNORED_WORDS"),r=y.D.getItem("SPELL_CHECKER_INCORRECT_WORDS"),n=y.D.getItem("EDITORS_WITH_SPELL_CHECK"),o=new Set(i?JSON.parse(i):[]),a=r?JSON.parse(r):[];(n?JSON.parse(n):[]).includes($.current)&&a.forEach(i=>{o.has(i.word)||((e,t,i)=>{let r,n,o=t.getText();for(;null!==(r=e.exec(o));){let e=(n=r.index)+r[0].length,t=o.slice(e,e+1),a=0===n||/[\s\W]/.test(o.slice(n-1,n));(""===t||/[\W]/.test(t))&&a&&i(n,n+r[0].length)}})(RegExp(i.word,"g"),e,t)})},{emitter:i=new eu,decorators:[{strategy:t,component:el,props:{spellCheckEmitter:i}}]}),{isPhone:e_,isTablet:eP}=(0,x.e)(),eJ=(0,o.useMemo)(()=>{let e=z.getCurrentContent().getBlockMap().first();return e?.getData()?.get("textAlign")||void 0},[z]),eE=k&&!S,eR=!k&&S,eL=(0,o.useMemo)(()=>W&&k?(0,m.N)(W/k,0,1):W&&S?(0,m.N)(W/S.good.start,0,1):1,[S,k,W]),eN=(0,o.useMemo)(()=>{if(0===W)return h.Jy.Blue50;if(k)return W/k>=1?h.Jy.Green50:W/k>.33?h.Jy.Amber40:h.Jy.Orange40;if(S){let{good:e,bad:t}=S;return W>=t.start&&W<=t.end?h.Jy.Red40:W>=e.start&&W<=e.end?h.Jy.Green40:h.Jy.Amber40}return h.Jy.Blue50},[S,k,W]);return(0,o.useEffect)(()=>{let e=(0,c.W)(z.getCurrentContent(),ev.M);if(J&&J!==e){let e=(0,u.T)((0,g.c2)(J),ev.R),t=l.EditorState.createWithContent(e),i=z.getCurrentContent().getBlockMap().first(),r=i?.getData()?.get("textAlign"),n=t.getCurrentContent().getBlockMap().first()?.getData()?.get("textAlign");if(r&&!n){let e=t.getCurrentContent().getBlockMap(),i=e.first().getKey(),n=e.last().getKey(),o=e.last().getLength(),a=new l.SelectionState({anchorKey:i,anchorOffset:0,focusKey:n,focusOffset:o}),d=l.Modifier.mergeBlockData(t.getCurrentContent(),a,(0,s.Map)({textAlign:r}));t=l.EditorState.set(t,{currentContent:d})}es((0,em.L)(t))}},[J]),(0,o.useEffect)(()=>{E?.(W)},[E,W]),(0,o.useEffect)(()=>{R&&(R.current={focusEditor:q,addPhrase:ed,replacePhrase:ec,getEditorText:ep})},[R,q,ed,ec,ep]),(0,n.jsxs)(f.YJ,{children:[(0,n.jsxs)(f.JU,{children:[" ",_," "]}),(0,n.jsxs)(f.fs,{height:p,children:[!b&&!I&&(0,n.jsx)(G,{isDisabled:M,onChange:Z,editorState:z,onToggleInline:X,onToggleBlock:Q,onToggleAlignment:Y,focu
7933sEditor:q,onToggleSpellChecker:ee,isSpellCheckerEnabled:H,isSpellCheckerVisible:!(e_||eP)&&ea(v)&&U,isSpellCheckerPending:V,boldButtonDisable:j,italicButtonDisable:C,linkButtonDisable:A,additionalToolbarActions:L}),(0,n.jsxs)(f._6,{children:[P&&(0,n.jsx)(f.kp,{children:(0,n.jsx)(f.WX,{ref:D})}),(0,n.jsxs)(f.j,{isAnimated:!!P,isDisabled:M,textAlign:eJ,ref:ef,children:[(0,n.jsx)(d.Ay,{placeholder:K?void 0:w,editorState:z,onChange:Z,onFocus:et,onBlur:ei,keyBindingFn:en,handleKeyCommand:eo,blockStyleFn:eT,plugins:[eS,ek,eb,eA,eC,ew],ref:O,readOnly:I||M}),(0,n.jsx)(er,{editorState:z,handleChange:Z,setEditorState:es,spellCheckEmitter:eb.emitter,locale:v}),B&&(0,n.jsx)(ej.P,{onTranscript:eg})]})]}),(0,n.jsx)(a.Ay,{in:F,timeout:100,nodeRef:ey,children:e=>(0,n.jsx)(f.yP,{in:e,scale:eL,bgColor:eN,ref:ey})})]}),eE&&(0,n.jsx)(eh,{length:W,recommendedLength:k}),eR&&(0,n.jsx)(ex,{length:W,ranges:S,label:T})]})})},82520:function(e,t,i){"use strict";i.d(t,{P:function(){return u}});var r=i(74848),n=i(96540),o=i(75200),a=i(38267);let l=a.Ay.div(["width:100%;padding:0 8px 8px 16px;"]),s=a.Ay.div(["display:flex;gap:4px;align-items:center;overflow:hidden;justify-content:flex-end;"]),d=a.Ay.div(["display:flex;align-items:center;justify-content:flex-end;gap:4px;"]),c=n.memo(()=>(0,r.jsxs)(s,{children:[(0,r.jsx)(o.A.VoiceVisualiser,{height:32,isActive:!0}),(0,r.jsx)(o.A.ListeningTimer,{isActive:!0}),(0,r.jsxs)(d,{children:[(0,r.jsx)(o.A.StopButton,{}),(0,r.jsx)(o.A.CompleteButton,{})]})]})),u=e=>{let{onTranscript:t}=e;return(0,r.jsx)(l,{children:(0,r.jsx)(o.A,{onTranscript:t,children:e=>e.isListening?(0,r.jsx)(c,{}):(0,r.jsx)(d,{children:(0,r.jsx)(o.A.StartButton,{})})})})}},94826:function(e,t,i){"use strict";i.d(t,{J$:function(){return A},rk:function(){return p},V1:function(){return f},M6:function(){return h},ee:function(){return C},Vs:function(){return _},Nc:function(){return u},fw:function(){return j},uu:function(){return g},IM:function(){return v},_4:function(){return b},CL:function(){return m},$Q:function(){return y}}),i(18111),i(61701),i(44114);var r=i(35143),n=i(16266),o=i(78394),a=i(14425),l=i.n(a),s=i(44506),d=i(94698),c=i(59012);let u=(e,t)=>{let i=e.getCurrentContent(),n=e.getSelection();if(n.isCollapsed())return e;let o=i.createEntity(c.Q,"MUTABLE",{color:t.color,name:t.name}),a=o.getLastCreatedEntityKey(),l=r.Modifier.applyEntity(o,n,a);return r.EditorState.push(e,l,"apply-entity")},p=e=>{let t=e.getSelection(),i=e.getCurrentContent(),n=r.Modifier.applyEntity(i,t,null);return r.EditorState.push(e,n,"apply-entity")},h=e=>{let t=e.getSelection(),i=e.getCurrentContent(),r=t.getStartKey(),n=t.getStartOffset(),o=i.getBlockForKey(r).getEntityAt(n);if(o){let e=i.getEntity(o);if(e.getType()===c.Q)return e.getData()}return null};var x=i(62173);let m=(e,t)=>{let i=e.getCurrentContent(),n=e.getSelection();if(n.isCollapsed())return e;let o=i.createEntity(x.u,"MUTABLE",{name:t.name,color:t.color}),a=o.getLastCreatedEntityKey(),l=r.Modifier.applyEntity(o,n,a);return r.EditorState.push(e,l,"apply-entity")},g=e=>{let t=e.getSelection(),i=e.getCurrentContent(),n=r.Modifier.applyEntity(i,t,null);return r.EditorState.push(e,n,"apply-entity")},y=e=>{let t=e.getSelection(),i=e.getCurrentContent(),r=t.getStartKey(),n=t.getStartOffset(),o=i.getBlockForKey(r).getEntityAt(n);if(o){let e=i.getEntity(o);if(e.getType()===x.u)return e.getData()}return null},f=e=>{let t=e.getSelection(),i=t.getStartKey(),r=e.getCurrentContent().getBlockForKey(i),n=t.getStartOffset();if(!r)return null;if(t.isCollapsed())return((e,t)=>{let i=e.getEntityAt(t);if(null==i)return null;let r=t;for(;r>0&&e.getEntityAt(r-1)===i;)r-=1;let n=r,o=e.getLength();for(;n<o&&e.getEntityAt(n+1)===i;)n+=1;return{entityKey:i,blockKey:e.getKey(),startOffset:r,endOffset:n+1}})(r,0===n?n:n-1);if(i!==t.getEndKey())return null;let o=t.getEndOffset(),a=r.getEntityAt(n);for(let e=n;e<o;e++){let t=r.getEntityAt(e);if(null==t||t!==a)return null}return{entityKey:a,blockKey:r.getKey(),startOffset:n,endOffset:o}},b=e=>{let t=e.getCurrentContent(),i=f(e);if(!i)return null;try{return t.getEntity(i.entityKey)}catch{return null}},_=(e,t,i,n)=>{let o=e.getCurrentContent(),a=o.getBlockMap(),l=a.get(t),s=l.getCharacterList().map((e,t)=>(t??0)>=i&&(t??0)<n?r.CharacterMetadata.applyEntity(e,null):e),d=l.set("characterList",s),c=a.set(t,d),u=o.set("blockMap",c);return r.EditorState.push(e,u,"apply-entity")},v=(e,t)=>
7933{let i=r.EditorState.moveSelectionToEnd(e),n=i.getSelection(),o=i.getCurrentContent(),a=0===o.getLastBlock().getLength()?"":" ",l=r.Modifier.insertText(o,n,a+t),s=r.EditorState.push(i,l,"insert-characters");return r.EditorState.moveSelectionToEnd(s)},j=(e,t)=>{let i=l()(e.phrase);return e.isSubphrase?{text:i}:{html:t?`<ul><li>${i}</li></ul>`:`<p>${i}</p>`}},A=(e,t,i)=>{var a;let l,c,u,p,h,x=j(e,i);if("text"in x)return v(t,x.text);return a=x.html,c=(l=t.getCurrentContent()).hasText(),u=(0,o.W)(l,d.M),p=c?(0,n.T)((0,s.c2)(u+a),d.R):(0,n.T)((0,s.c2)(a),d.R),h=r.EditorState.push(t,p,"insert-fragment"),r.EditorState.moveSelectionToEnd(h)},C=(e,t)=>{let i=r.ContentState.createFromText(e),n=r.EditorState.push(t,i,"insert-characters");return r.EditorState.forceSelection(n,i.getSelectionAfter())}},94698:function(e,t,i){"use strict";i.d(t,{R:function(){return d},M:function(){return s}});var r=i(9404);i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698);let n=/text-align:\s*([^;"'\s]+)/,o=new Set(["left","center","right","justify"]);var a=i(59012),l=i(62173);let s={blockStyleFn:e=>{let t=e.getData()?.get("textAlign");return t&&o.has(t)?{style:{textAlign:t}}:{}},entityStyleFn:e=>{if(e.getType()===a.Q){let{color:t,name:i}=e.getData();return{element:"span",style:{backgroundColor:t},attributes:{"data-highlight-hex":t,"data-highlight-name":i}}}if(e.getType()===l.u){let{color:t,name:i}=e.getData();return{element:"span",style:{color:t},attributes:{"data-color-hex":t,"data-color-name":i}}}}},d={customBlockFn:e=>{let t=(e.getAttribute("style")||"").match(n);return t&&o.has(t[1])?{data:(0,r.Map)({textAlign:t[1]})}:{}},customInlineFn:(e,{Entity:t})=>{if(e.hasAttribute("data-highlight-hex")||e.hasAttribute("data-highlight-name")){let i=e.getAttribute("data-highlight-hex"),r=e.getAttribute("data-highlight-name");return t(a.Q,{color:i,name:r})}if(e.hasAttribute("data-color-hex")||e.hasAttribute("data-color-name"))return t("TEXT_COLOR",{color:e.getAttribute("data-color-hex"),name:e.getAttribute("data-color-name")})}}},28793:function(e,t,i){"use strict";i.d(t,{Ay:function(){return p},fw:function(){return u.fw},nK:function(){return a.nK},Lw:function(){return c.c}});var r=i(74848),n=i(96540),o=i(86066),a=i(46628);let l=(0,n.lazy)(()=>Promise.resolve().then(i.bind(i,7208))),s=(0,n.lazy)(()=>Promise.all([i.e("333"),i.e("140"),i.e("9815")]).then(i.bind(i,48863))),d=({label:e="",height:t=200})=>(0,r.jsxs)(a.YJ,{children:[(0,r.jsx)(a.JU,{children:e}),(0,r.jsx)(a.FX,{height:t})]});var c=i(4435),u=i(94826),p=e=>{let{isPhone:t}=(0,o.e)();return(0,r.jsx)(n.Suspense,{fallback:(0,r.jsx)(d,{...e}),children:t?(0,r.jsx)(s,{...e}):(0,r.jsx)(l,{...e})})}},46628:function(e,t,i){"use strict";i.d(t,{Cz:function(){return b},FX:function(){return x},Ft:function(){return p},Iy:function(){return y},JU:function(){return d},WX:function(){return j},YJ:function(){return s},_6:function(){return A},fs:function(){return c},h5:function(){return f},j:function(){return h},ke:function(){return m},kp:function(){return v},nK:function(){return l},rf:function(){return _},uW:function(){return g},yP:function(){return u}});var r=i(38267),n=i(99701),o=i(49504);i(56586);var a=i(64608);let l=(0,r.DU)([".public-DraftEditor-content,.public-DraftEditorPlaceholder-root{margin:0;padding:8px 16px 16px;}.public-DraftEditorPlaceholder-root{position:absolute;top:0;left:0;color:",";pointer-events:none;}.public-DraftEditor-content{min-height:200px;overflow:auto;cursor:text;}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{padding:4px 0;margin:0;}.public-DraftStyleDefault-ol:has(+ .public-DraftStyleDefault-ol,+ .public-DraftStyleDefault-ul),.public-DraftStyleDefault-ul:has(+ .public-DraftStyleDefault-ol,+ .public-DraftStyleDefault-ul){padding-bottom:0;}.public-DraftStyleDefault-ol + .public-DraftStyleDefault-ol,.public-DraftStyleDefault-ol + .public-DraftStyleDefault-ul,.public-DraftStyleDefault-ul + .public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul + .public-DraftStyleDefault-ul{padding-top:0;}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:24px;}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:48px;}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-unorderedListItem{list-style-type:circle;}.rich-text-align-left .public-DraftStyleDefault-ltr,.rich-text-align-left .public-DraftStyleDefault-rtl{text-align:left;}li.rich-text-align-left.public-DraftStyleDefault-unorderedListItem,li.rich-text-align-justify.public-DraftStyleDefault-unorderedListItem{list-style-type:none;position:relative;}li.rich-text-align-left.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-listLTR::before,li.rich-text-align-justify.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-listLTR::before{position:absolute;
7933left:-36px;width:30px;text-align:right;content:'•';}li.rich-text-align-left.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR::before,li.rich-text-align-justify.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR::before{content:'○';font-size:0.65em;}li.rich-text-align-justify.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR::before,li.rich-text-align-justify.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-listLTR::before{left:-24px;width:24px;text-align:left;white-space:nowrap;}li.rich-text-align-justify.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR::before,li.rich-text-align-justify.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR::before{left:-16px;width:16px;}.rich-text-align-center .public-DraftStyleDefault-ltr,.rich-text-align-center .public-DraftStyleDefault-rtl{text-align:center;}.rich-text-align-right .public-DraftStyleDefault-ltr,.rich-text-align-right .public-DraftStyleDefault-rtl{text-align:right;}.rich-text-align-justify .public-DraftStyleDefault-ltr,.rich-text-align-justify .public-DraftStyleDefault-rtl{text-align:justify;}li.rich-text-align-center,li.rich-text-align-right{list-style-position:inside;}li.rich-text-align-right{margin-left:0 !important;}li.rich-text-align-right.public-DraftStyleDefault-depth0{margin-right:24px;}li.rich-text-align-right.public-DraftStyleDefault-depth1{margin-right:24px;}li.rich-text-align-right{text-align:right;}li.rich-text-align-justify{text-align:justify;}li.rich-text-align-center{text-align:center;}li.rich-text-align-center.public-DraftStyleDefault-depth1.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-listLTR{margin-left:72px;}li.rich-text-align-center.public-DraftStyleDefault-depth1.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR{margin-left:24px;}li.rich-text-align-center > .public-DraftStyleDefault-block,li.rich-text-align-right > .public-DraftStyleDefault-block{display:inline;}li.rich-text-align-center.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR::before,li.rich-text-align-right.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR::before{position:static;text-align:inherit;width:auto;}li.rich-text-align-center.public-DraftStyleDefault-unorderedListItem,li.rich-text-align-right.public-DraftStyleDefault-unorderedListItem{list-style-type:none;}li.rich-text-align-center.public-DraftStyleDefault-unorderedListItem::before,li.rich-text-align-right.public-DraftStyleDefault-unorderedListItem::before{content:'•';margin-right:0.4em;}li.rich-text-align-center.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1::before,li.rich-text-align-right.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1::before{content:'○';font-size:0.65em;margin-right:0.4em;}"],n.Jy.Neutral50),s=r.Ay.div(["display:block;width:100%;position:relative;"]),d=r.Ay.label(["display:block;",";color:",";margin-bottom:6px;"],o.Ay.Caption,n.Jy.Neutral50),c=r.Ay.div(["position:relative;border-radius:3px;resize:none;display:block;caret-color:",";background-color:",";outline:none;border:0;&:focus{background-color:",";}",";"],n.Jy.Blue50,n.Jy.Neutral10,n.Jy.Neutral20,({height:e})=>(0,r.AH)([".public-DraftEditor-content{min-height:","px;}"],e)),u=r.Ay.div(["position:absolute;bottom:0;left:0;right:0;height:2px;background-color:",";border-radius:0 0 2px 2px;pointer-events:none;transform-origin:0 0;transition:transform 0.2s ease,background-color 0.2s ease,opacity 0.2s ease;",";",""],e=>e.bgColor||n.Jy.Blue50,e=>e.in&&({entering:(0,r.AH)(["opacity:1;transform:scaleX(",");"],e.scale),entered:(0,r.AH)(["opacity:1;transform:scaleX(",");"],e.scale),exiting:(0,r.AH)(["opacity:0;transform:scaleX(",");"],e.scale),exited:(0,r.AH)(["opacity:0;transform:scaleX(0);"])})[e.in],e=>1===e.scale&&(0,r.AH)(["transform-origin:50% 0;"])),p=r.Ay.a(["color:",";"],n.Jy.Blue50),h=r.Ay.div(["position:relative;overflow:hidden;"," "," ",""],({isAnimated:e})=>e?"opacity: 0;":"",({isDisabled:e})=>e?(0,r.AH)([".public-DraftStyleDefault-block{color:",";-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}"],n.Jy.Neutral50):void 0,({textAlign:e})=>e&&["left","center","right","justify"].includes(e)&&(0,r.AH)([".public-DraftEditorPlaceholder-root{text-align:",";}"],e)),x=r.Ay.div(["height:",";border-radius:3px;background:",";background:linear-gradient( to right,"," 5%,#eaeef6 15%,"," 25% );background-size:100vw 100vh;animation:"," 1s linear infinite;"],e=>`${e.height+36}px`,n.Jy.Neutral10,n.Jy.Neutral10,n.Jy.Neutral10,a.D7),m=r.Ay.div(["display:flex;align-items:center;justify-content:space-between;margin-top:10px;color:",";",";"],n.Jy.Neutral50,o.Ay.Caption),g=r.Ay.div([""]),y=r.Ay.div(["display:flex;align-items:center;position:relative;padding-right:","px;transition:padding-right 0.3s ease;"],e=>32*!e.isIdle),f=r.Ay.div(["position:absolute;right:0;width:24px;height:24px;border-radius:50%;background-color:#f9d1e0;margin-left:8px;opacity:",";transform:scale(",");transition:transform 0.3s ease,opacity 0.3s ease;"],e=>+!!e.isVisible,e=>e.isVisible?1:.6),b=r.Ay.div(["color:",";display:flex;align-items:baseline;"],n.Jy.Neutral50),_=r.Ay.div(["color:",";"],n.Jy.Neutral90),v=r.Ay.div(["position:absolute;background-color:rgba(255,255,255,0);width:100%;height:100%;"]),j=r.Ay.textarea(["width:100%;height:100%;background-color:rgba(255,255,255,0);border:none;color:",";padding:12px 16px;"],n.Jy.Indigo60),A=r.Ay.div(["position:relative;width:100%;height:100%;"])},62173:function(e,t,i){"use strict";i.d(t,{u:function(){return n}});var r=i(74848);let n="TEXT_COLOR";t.A={strategy:(e,t,i)=>{e.findEntityRanges(e=>{let t=e.getEntity();return null!==t&&i.getEntity(t).getType()===n},t)}
7933,component:e=>{let{children:t,contentState:i,entityKey:n}=e,{color:o,name:a}=i.getEntity(n).getData();return(0,r.jsx)("span",{"data-color-hex":o,"data-color-name":a,style:{color:o},children:t})}}},59012:function(e,t,i){"use strict";i.d(t,{Q:function(){return n}});var r=i(74848);let n="TEXT_HIGHLIGHT";t.A={strategy:(e,t,i)=>{e.findEntityRanges(e=>{let t=e.getEntity();return null!==t&&i.getEntity(t).getType()===n},t)},component:e=>{let{children:t,contentState:i,entityKey:n}=e,{color:o,name:a}=i.getEntity(n).getData();return(0,r.jsx)("span",{"data-color-hex":o,"data-color-name":a,style:{backgroundColor:o},children:t})}}},4435:function(e,t,i){"use strict";i.d(t,{L:function(){return v},c:function(){return j}}),i(18111),i(7588),i(44114),i(22489);var r=i(96540),n=i(38221),o=i.n(n),a=i(44826),l=i.n(a),s=i(35143),d=i(9404),c=i(16266),u=i(78394),p=i(44329),h=i(52413),x=i(28363);let m=new class{initialization;supportedLocales=[];init(){return this.initialization||(this.initialization=this.loadSupportedLocales().then(e=>{this.supportedLocales=e})),this.initialization}isServiceEnabled(){return!0}checkSpelling(e,t){return this.isServiceEnabled()?h.A.client.post("https://spell.resume.io/spellcheck",{text:e,locale:t}).then(e=>e.data.incorrectWords):Promise.reject(Error("The Spellchecker service isn't enabled. Please check that the SPELL_HOST variable is configured in the current env."))}loadSupportedLocales(){return this.isServiceEnabled()?h.A.client.get("https://spell.resume.io/info").then(e=>Array.isArray(e.data.supportedLocales)?e.data.supportedLocales||[]:(x.A.log(Error(`Spellchecker: Invalid response from the server - ${JSON.stringify(e.data)}`),{tag:"spellchecker"}),[])).catch(e=>(x.A.log(e,{tag:"spellchecker"}),[])):Promise.resolve([])}},g=()=>({spellchecker:m,supportedLocales:m.supportedLocales});var y=i(44506),f=i(12330),b=i(94826),_=i(94698);let v=e=>{let t,i=e.getCurrentContent(),r=i.getBlockMap(),n=!1;if(r.forEach(e=>{let i=e?.getData()?.get("textAlign");i?t||(t=i):n=!0}),!t||!n)return e;let o=r.first().getKey(),a=r.last().getKey(),l=r.last().getLength(),c=new s.SelectionState({anchorKey:o,anchorOffset:0,focusKey:a,focusOffset:l}),u=s.Modifier.mergeBlockData(i,c,(0,d.Map)({textAlign:t})),p=s.EditorState.set(e,{currentContent:u});return s.EditorState.set(p,{selection:e.getSelection()})},j=e=>
7933{let{value:t="",onChange:i,locale:n="en",autoFocus:a,isAnimating:h,onAnimationEnd:x,onFocus:j}=e,{spellchecker:A,supportedLocales:C}=(()=>{let e=(0,r.useRef)(!0),[t,i]=(0,r.useState)(g);return(0,r.useEffect)(()=>{if(m.isServiceEnabled()&&!m.supportedLocales.length)return m.init().then(()=>{e.current&&i(g)}),()=>{e.current=!1}},[]),t})(),w=(0,r.useRef)(n),k=(0,r.useRef)(n);w.current=n;let S=(0,r.useCallback)(e=>C.includes(e)&&!["hu","ro","gr"].includes(e),[C]),[T,P]=(0,r.useState)(!1),[J,E]=(0,r.useState)(0),[R,L]=(0,r.useState)(""),[N,I]=(0,r.useState)(S(n)),[M,B]=(0,r.useState)(!1),[D,$]=(0,r.useState)(!1),[O,z]=(0,r.useState)(!0),[F,H]=(0,r.useState)(()=>{let e=(0,c.T)((0,y.c2)((0,y.B2)((0,y.mT)(t))),_.R);return v(s.EditorState.createWithContent(e))}),[V,U]=(0,r.useState)(null),W=f.D.getItem("SPELL_CHECKER_INCORRECT_WORDS"),K=f.D.getItem("EDITORS_WITH_SPELL_CHECK"),q=(0,r.useMemo)(()=>W?JSON.parse(W):[],[W]),G=(0,r.useMemo)(()=>K?JSON.parse(K):[],[K]),Z=(0,r.useRef)(null),X=(0,r.useRef)((0,p.Ak)()),Q=(0,r.useRef)(null),Y=(0,r.useCallback)(()=>{let e=F.getCurrentContent(),t=s.EditorState.createWithContent(e,F.getDecorator());H(s.EditorState.set(t,{selection:F.getSelection(),undoStack:F.getUndoStack(),redoStack:F.getRedoStack(),lastChangeType:F.getLastChangeType()}))},[F]),ee=(0,r.useCallback)(o()(e=>l()(e).length&&e!==R?(z(!1),A.checkSpelling(e,w.current).then(t=>{if(t.length>0){let e=[...q];t.forEach(t=>{let i=e.findIndex(e=>e.word===t.word);-1!==i?e[i]=t:e.push(t)}),f.D.setItem("SPELL_CHECKER_INCORRECT_WORDS",JSON.stringify(e))}L(e),B(!1)}).catch(()=>{I(!1),B(!1)})):void B(!1),2e3),[]),et=(0,r.useCallback)(e=>{N&&T&&(B(!(!l()(e).length||e===R)),$(!0),ee(e))},[ee,R,T,N]),ei=(0,r.useCallback)(e=>{let t=(e=v(e)).getCurrentContent(),i=F.getCurrentContent(),r=t.hasText()?(0,u.W)(t,_.M):"",n=i.hasText()?(0,u.W)(i,_.M):"",o=t.getPlainText();H(((e,t)=>{let i=e.getSelection(),r=t.getSelection();if(i.getAnchorKey()===r.getAnchorKey()&&0===i.getAnchorOffset()&&1===r.getAnchorOffset()&&i.getFocusKey()===r.getFocusKey()&&0===i.getFocusOffset()&&1===r.getFocusOffset()&&!i.getHasFocus()&&!r.getHasFocus()){let e=r.merge({hasFocus:!0});return s.EditorState.forceSelection(t,e)}return t})(F,e)),E(o.length),n!==r&&(U(r),N&&et(o))},[F,N,et]);(0,r.useEffect)(()=>{null!==V&&i(V)},[V]);let er=(0,r.useCallback)(()=>{Z.current?.focus()},[]),en=(0,r.useCallback)(e=>{let t=[...G];e&&!t.includes(X.current)?t.push(X.current):e||(t=t.filter(e=>e!==X.current)),f.D.setItem("EDITORS_WITH_SPELL_CHECK",JSON.stringify(t))},[G]),eo=(0,r.useMemo)(()=>{let e=F.getCurrentContent();return e.hasText()||"unstyled"!==e.getBlockMap().first().getType()},[F]),ea=(0,r.useCallback)((e,t,i)=>{if(!t)return()=>{};let r=t?.replace(/<\/p><p><br><\/p><p>/g,"\n\n").replace(/<[^>]*>/g,"")??"",n=r.length,o=0;requestAnimationFrame(()=>{e.current&&(e.current.value="")}
7933);let a=setInterval(()=>{requestAnimationFrame(()=>{if(e.current){let{scrollHeight:t,scrollTop:i,clientHeight:n}=e.current;e.current.value=r.substring(0,o+1),t-i>n&&(e.current.scrollTop=e.current.scrollHeight)}o+1>=n&&(i(),clearInterval(a)),o++})},10);return()=>clearInterval(a)},[]),el=(0,r.useCallback)((e,t)=>{ei((0,b.J$)(e,F,t))},[ei,F]),es=(0,r.useCallback)(e=>{ei((0,b.ee)(e,F))},[ei,F]),ed=(0,r.useCallback)(()=>F.getCurrentContent().getPlainText(),[F]);return(0,r.useEffect)(()=>{if(a){let e=setTimeout(()=>{er()},0);return()=>clearTimeout(e)}},[a,er]),(0,r.useEffect)(()=>{en(N),z(!1)},[q,N,en]),(0,r.useEffect)(()=>{O||(Y(),z(!0))},[O,Y]),(0,r.useEffect)(()=>{let e=S(n);if(I(e),k.current!==n&&(k.current=n,L(""),f.D.removeItem("SPELL_CHECKER_INCORRECT_WORDS"),z(!1),e)){let e=F.getCurrentContent().getPlainText();l()(e).length&&(B(!0),$(!0),ee(e))}},[n,S]),(0,r.useEffect)(()=>{if(N&&T){let e=F.getCurrentContent().getPlainText();e&&(M||e!==R)&&et(e)}},[T,N]),(0,r.useEffect)(()=>{if(h&&t){let e=ea(Q,t,()=>{x&&x()});return()=>e()}},[ea,h,t,x]),{animationPlaceholderRef:Q,editorId:X,editorRef:Z,editorState:F,isFocused:T,isSpellCheckerEnabled:N,isSpellCheckerPending:M,isSpellingChecked:D,textLength:J,shouldHidePlaceholder:eo,focusEditor:er,handleChange:ei,handleToggleInline:e=>{ei(s.RichUtils.toggleInlineStyle(F,e))},handleToggleBlock:e=>{ei(s.RichUtils.toggleBlockType(F,e))},handleToggleAlignment:e=>{let t=F.getCurrentContent(),i=t.getBlockMap(),r=i.first().getKey(),n=i.last().getKey(),o=i.last().getLength(),a=new s.SelectionState({anchorKey:r,anchorOffset:0,focusKey:n,focusOffset:o}),l=s.Modifier.mergeBlockData(t,a,(0,d.Map)({textAlign:e})),c=s.EditorState.push(F,l,"change-block-data");ei(s.EditorState.set(c,{selection:F.getSelection()}))},handleToggleSpellChecker:()=>{M||I(!N)},handleFocus:()=>{P(!0),j?.()},handleBlur:()=>{P(!1)},handleKeyBinding:e=>{let t;return"Tab"===e.key&&(t=s.RichUtils.onTab(e,F,1))!==F&&ei(t),(0,s.getDefaultKeyBinding)(e)},handleKeyCommand:(e,t)=>{let i=s.RichUtils.handleKeyCommand(t,e);return i?(ei(i),"handled"):"not-handled"},supportsLocale:S,setEditorState:H,addPhrase:el,replacePhrase:es,getEditorText:ed,handleTranscript:e=>{ei((0,b.IM)(F,e.trim()))}}}},59332:function(e,t,i){"use strict";i.d(t,{P:function(){return o},r8:function(){return l},zH:function(){return a}});var r=i(38267),n=i(99701);let o=r.Ay.div(["overflow-y:auto;&::-webkit-scrollbar{width:12px;background-color:transparent;}&::-webkit-scrollbar-thumb{background-color:",";border:4px solid ",";border-radius:6px;&:hover{background-color:",";}}"],n.Jy.Neutral20,n.Jy.White,n.Jy.Neutral30),a=(0,r.AH)(["overflow-y:auto;scrollbar-width:none;&::-webkit-scrollbar{width:0;background-color:transparent;}&::-webkit-scrollbar-thumb{background-color:transparent;}"]),l=r.Ay.div(["",""],a)},7805:function(e,t,i){"use strict";i.d(t,{R:function(){return s}});var r=i(74848),n=i(96540),o=i(20646),a=i(45112),l=i(87829);let s=(0,n.memo)(e=>{let{hideSkillLevel:t,updateSimpleField:i}=e;return(0,r.jsx)(l.Gw,{onClick:e=>e.stopPropagation(),children:(0,r.jsx)(a.A,{label:o.R.t("builder.resume_editor.skills_hide_level"),checked:t,onChange:e=>{i&&i("hideSkillLevel",e.target.checked)}})})})},83864:function(e,t,i){"use strict";i.d(t,{R:function(){return n}});var r=i(77378);let n=({sectionsConfig:e})=>{let{i18n:t}=(0,r.s)();return{isSectionDisabled:t=>!!t&&(e?.[t]?.isHidden??!1),disabledTooltipText:t.t("builder.resume_editor.section_disabled.tooltip")}}},77279:function(e,t,i){"use strict";i.d(t,{VE:function(){return w},G3:function(){return k},Iq:function(){return m.Iq},Mg:function(){return C},X3:function(){return j},ZI:function(){return v},Ay:function(){return T},FF:function(){return P}});var r=i(74848),n=i(96540),o=i(77378),a=i(23265),l=i(81187),s=i(82351),d=i(32606),c=i(98297),u=i(81247),p=i(20646),h=i(45112),x=i(18509),m=i(87829);let g=(0,n.memo)(()=>{let e=(0,u.wA)(),t=(0,x.N)(d.Tp.resume),i=!!t?.referencesUponRequest;return(0,r.jsx)(m.Gw,{children:(0,r.jsx)(h.A,{label:p.R.t("builder.resume_editor.references_section.hide"),checked:i,onChange:t=>e(d.o1.updateSimpleField({name:"referencesUponRequest",value:t.target.checked})),onClick:e=>e.stopPropagation()})})});var y=i(7805),f=i(33093),b=i(14649);let _=(0,n.memo)(()=>{let e=(0,u.wA)(),{i18n:t}
7933=(0,o.s)(),[i,a]=(0,n.useState)(!1),l=()=>a(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(m.nd,{onClick:()=>a(!0),"data-testid":"delete-all-skills-button",children:[(0,r.jsx)(b.EK.Trash,{}),t.t("builder.resume_editor.skills_section.delete_all")]}),(0,r.jsx)(s.A,{title:t.t("builder.resume_editor.skills_section.delete_all_dialog.title"),text:t.t("builder.resume_editor.skills_section.delete_all_dialog.text"),primaryButtonText:t.t("builder.resume_editor.delete"),secondaryButtonText:t.t("builder.resume_editor.cancel"),isOpen:i,primaryAction:()=>{a(!1),e(d.o1.deleteAllSkills()),(0,f.xP)("delete_all_skills")},secondaryAction:l,closeAction:l})]})}),v=({children:e})=>(0,r.jsx)(m.SQ,{children:e}),j=e=>{let{children:t,isOpened:i,isStepByStepFlow:n,setShowDisabledTooltipOnHover:o,...a}=e;return(0,r.jsx)(m.Q$,{$isOpened:i,$isStepByStepFlow:n,onMouseEnter:()=>o?.(!0),onMouseLeave:()=>o?.(!1),"data-testid":"section-header",...a,children:t})};var A=i(21682);let C=e=>{let{isOpened:t,children:i,isDragging:n,isStepByStepFlow:o}=e;return n?null:(0,r.jsx)(A.A,{isOpen:t,children:(0,r.jsx)(m.kd,{isStepByStepFlow:o,children:i})})},w=e=>{let{isOpened:t,children:i,isDragging:n}=e;return n?null:(0,r.jsx)(A.A,{isOpen:t,children:(0,r.jsx)(m.df,{children:i})})},k=e=>{let{elementRef:t,isOpened:i,isDisabled:r}=e;(0,n.useEffect)(()=>{let e=t.current;if(r||!e||i)return;let n=e.getBoundingClientRect();if(n.top>=0)return;let o=document.documentElement.scrollTop,a=setTimeout(()=>{document.documentElement.scrollTo({top:o+n.top})});return()=>clearTimeout(a)},[r,i,t])};var S=i(83864);let T=e=>{let{triggerScroll:t,setContentOffset:i,item:u,isDragging:p,onAdd:h,template:x,hideSkillLevel:f,updateSimpleField:b,onRename:A,onDelete:T,children:P,onToggle:J,dragHandleListeners:E,isStepByStepFlow:R,isFoldable:L=!0,onToggleAllCards:N,isAllCardsOpen:I,canToggleAllCards:M,toggleAllCardsTopPosition:B,templateConfig:D}=e,{isCustom:$,id:O,title:z,customTitle:F,hintText:H,addButtonText:V,single:U,sortable:W,removable:K,renamable:q,items:G,badgeComponents:Z}
7933=u,[X,Q]=(0,n.useState)(!1),[Y,ee]=(0,n.useState)(!1),et=(0,n.useRef)(null),{i18n:ei}=(0,o.s)(),er=x===c.cT.Prague,en=`${O}`,eo=(!L||e.isOpened)??!0,{isSectionDisabled:ea,disabledTooltipText:el}=(0,S.R)({sectionsConfig:D?.sectionsConfig});(0,n.useEffect)(()=>{t&&et.current&&i?.(et.current.offsetTop)},[t]),k({elementRef:et,isOpened:eo});let es=()=>{Q(!1)},ed=!!h&&!U&&!ea(O),ec=O===d.Gw.skills&&!!G?.length&&!ea(O);return(0,r.jsxs)(m.nA,{isDragging:p,ref:et,className:"content",value:en,"data-testid":`section-${O}`,children:[(0,r.jsx)(s.A,{title:ei.t("builder.resume_editor.delete_section"),text:ei.t("builder.resume_editor.sure_to_delete_section"),primaryButtonText:ei.t("builder.resume_editor.delete"),secondaryButtonText:ei.t("builder.resume_editor.cancel"),isOpen:X,primaryAction:()=>{Q(!1),T?.(u.id,{sortId:u.sortId,isCustom:u.isCustom})},secondaryAction:es,closeAction:es}),(z||F)&&(0,r.jsxs)(j,{isOpened:eo,onClick:()=>{L&&J?.(O)},setShowDisabledTooltipOnHover:ee,isStepByStepFlow:R,children:[(0,r.jsx)(l.A,{id:O,title:z,customTitle:F,sortable:W,renamable:q,removable:K,isDragging:p,isCustom:$,badgeComponents:Z,onRename:e=>{u.id===d.Gw.skillCategories?A?.({id:d.Gw.skills,value:e}):A?.({id:u.id,value:e})},onDelete:()=>{Q(!0)},isOpened:eo,dragHandleListeners:E,isStepByStepFlow:R,isFoldable:L,isDisabled:ea(O),disabledTooltipText:el,showDisabledTooltipOnHover:Y}),(0,r.jsxs)(w,{isOpened:eo,isDragging:p,children:[H&&(0,r.jsx)(v,{children:H}),O===d.Gw.references&&(0,r.jsx)(g,{}),O===d.Gw.skills&&!!G?.length&&!er&&(0,r.jsx)(y.R,{hideSkillLevel:f,updateSimpleField:b})]})]}),(0,r.jsxs)(C,{isOpened:eo,isDragging:p,isStepByStepFlow:R,children:[(0,r.jsxs)(m.RG,{isDragging:p,children:[(0,r.jsxs)(m.NC,{children:[M&&N&&(0,r.jsxs)(m.tl,{onClick:()=>{N?.(O)},style:{top:B},children:[I?ei.t("builder.resume_editor.close_all_cards",{sectionTitle:z}):ei.t("builder.resume_editor.open_all_cards",{sectionTitle:z}),(0,r.jsx)(m.NQ,{$isOpen:I})]}),P]}),(ed||ec)&&(0,r.jsxs)(m.lF,{children:[ed&&(0,r.jsx)(a.A,{onAdd:()=>{h?.(u.id)},text:V}),ec&&(0,r.jsx)(_,{})]})]}),u.contentAfter]})]})},P=e=>{let t=(0,u.wA)(),i=(0,x.N)(t=>d.Tp.isSectionOpened(t,e)),r=(0,n.useCallback)(()=>{t(d.o1.setOpenedSections({[e]:!i}))},[t,i,e]);return{isOpened:i,handleToggle:r}}},87829:function(e,t,i){"use strict";i.d(t,{Gw:function(){return p},Iq:function(){return l},NC:function(){return u},NQ:function(){return b},Q$:function(){return d},RG:function(){return c},SQ:function(){return m},ay:function(){return f},df:function(){return g},kd:function(){return y},lF:function(){return h},nA:function(){return s},nd:function(){return x},tl:function(){return _}});var r=i(38267),n=i(99701),o=i(30586),a=i(24833);let l=(0,r.AH)(["background-color:",";border-radius:",";margin-bottom:4px;"],n.Jy.White,n.Kz.XS),s=r.Ay.div(e=>{let{isDragging:t}=e;return(0,r.AH)(["position:relative;opacity:",";"," pointer-events:auto !important;-webkit-touch-callout:none;user-select:none;&:before{content:'';display:",";position:absolute;background-color:",";box-shadow:0px 3px 12px rgba(112,131,151,0.3);pointer-events:none;left:0;right:0;top:0;bottom:0;border-radius:",";}"],t?.6:1,l,t?"block":"none",n.Jy.White,n.Kz.XS)}),d=r.Ay.div(["position:relative;margin-bottom:16px;cursor:pointer;margin-bottom:0;padding:",";z-index:2;",";"],e=>e.$isStepByStepFlow?"20px 0":"20px 36px",a.A.Phone`
7934    padding: 21px 20px;
7935  `),c=r.Ay.div(["position:relative;",""],e=>e.isDragging&&(0,r.AH)(["overflow:hidden;max-height:140px;"])),u=r.Ay.div(["position:relative;"]),p=r.Ay.div(["margin-top:12px;"]),h=r.Ay.div(["display:flex;flex-wrap:wrap;align-items:center;gap:8px;"]),x=r.Ay.button.attrs({type:"button"})(["",";display:flex;align-items:center;gap:2px;flex-shrink:0;padding:6px 14px;border:none;border-radius:4px;background-color:transparent;color:",";font-weight:",";cursor:pointer;transition:background-color 0.15s;",";"],n.o5.sizes.Caption,n.Jy.Red50,n.o5.weights.medium,a.A.Hover`
7936    &:hover {
7937      background-color: ${n.Jy.Red10};
7938    }
7939  `),m=r.Ay.div(["margin-top:2px;",";color:",";"],n.o5.sizes.Caption,n.Jy.Neutral50),g=r.Ay.div([""]),y=r.Ay.div(["padding:",";",";"],e=>e.isStepByStepFlow?"0 0 20px":"0 36px 20px;",a.A.Phone`
7940    padding: 0 20px 21px;
7941  `),f=r.Ay.button.attrs({type:"button"})(["",";font-weight:",";box-shadow:",";border-radius:100px;border:none;padding:8px 8px 8px 12px;display:flex;align-items:center;gap:4px;
7941transition:box-shadow 0.15s ease-out,background-color 0.15s ease-out,opacity 0.15s ease-out;background-color:",";cursor:pointer;&:hover{box-shadow:",";}&:active{box-shadow:",";background-color:",";}"],n.o5.sizes.ButtonS,n.o5.weights.medium,n.qd.lightWithBorderShadowLow,n.Jy.White,n.qd.lightWithBorderShadowMid,n.qd.lightWithBorderShadowLow,n.Jy.Neutral10),b=(0,r.Ay)(o.EK.ChevronDown)(["transition:transform 0.15s ease-out;transform:",";"],e=>e.$isOpen?"rotate(180deg)":"rotate(0deg)"),_=(0,r.Ay)(f)(["position:sticky;z-index:2;margin-top:-43px;margin-bottom:7px;margin-left:50%;transform:translateX(-50%);top:0;opacity:0;pointer-events:none;",":hover &{opacity:1;pointer-events:auto;}"," ",""],u,a.A.Tablet`
7942    margin-top: -18px;
7943    margin-bottom: -18px;
7944    margin-right: 16px;
7945    margin-left: auto;
7946    transform: translateX(0);
7947    top: 76px;
7948    opacity: 1;
7949    pointer-events: auto;
7950  `,a.A.Phone`
7951    margin-top: -12px;
7952    margin-bottom: 8px;
7953    margin-right: auto;
7954    margin-left: auto;
7955  `)},52898:function(e,t,i){"use strict";i.d(t,{_:function(){return s}});var r=i(74848),n=i(96540),o=i(86066),a=i(24976),l=i(32169);let s=({children:e,showTooltip:t,tooltipText:i})=>{let{isPhone:s,isTablet:d}
7955=(0,o.e)(),[c,u]=(0,n.useState)(t);return(0,n.useEffect)(()=>{u(t)},[t]),(0,n.useEffect)(()=>{if(!c)return;let e=setTimeout(()=>{(s||d)&&u(!1)},4e3);return()=>clearTimeout(e)},[c,s,d]),(0,r.jsx)(a.Q,{multiline:!0,width:331,value:(0,r.jsx)(l.ZI,{dangerouslySetInnerHTML:{__html:i??""}}),visible:c,children:e})}},81187:function(e,t,i){"use strict";i.d(t,{A:function(){return f}}),i(18111),i(13579),i(61701);var r=i(74848),n=i(96540),o=i(44826),a=i.n(o),l=i(33093),s=i(87947),d=i(77378),c=i(44050);i(44114);var u=i(86066),p=i(14649),h=i(4551),x=i(25755),m=i(32169),g=({onEdit:e,onRevert:t,onDelete:i,isForcedVisible:o})=>{let{i18n:a}=(0,d.s)(),{isPhone:l}=(0,u.e)(),[s,c]=(0,n.useState)(!1),g=[];e&&g.push({icon:(0,r.jsx)(p.Ay.Edit,{}),iconSmall:(0,r.jsx)(p.EK.Edit,{}),text:a.t("builder.resume_editor.rename"),onClick:e}),t&&g.push({icon:(0,r.jsx)(p.Ay.Revert,{}),iconSmall:(0,r.jsx)(p.EK.Revert,{}),text:a.t("builder.resume_editor.revert_section_name"),onClick:t}),i&&g.push({icon:(0,r.jsx)(p.Ay.Trash,{}),iconSmall:(0,r.jsx)(p.EK.Trash,{}),text:a.t("builder.resume_editor.delete"),onClick:i});let y=l&&g.length>1;return(0,r.jsxs)(m.T9,{$isForcedVisible:o,onClick:e=>e.stopPropagation(),children:[!y&&g.map((e,t)=>(0,r.jsx)(x.QP,{content:e.text,children:(0,r.jsx)(m.DN,{onClick:e.onClick,children:e.iconSmall})},t)),y&&(0,r.jsxs)(n.Fragment,{children:[(0,r.jsx)(m.DN,{onClick:()=>c(!0),children:(0,r.jsx)(p.Ay.More,{})}),s&&(0,r.jsx)(h.A,{onClose:()=>c(!1),actions:g})]})]})},y=i(52898),f=e=>{let{sortable:t,renamable:i,removable:o,isDragging:u,isCustom:p,onDelete:h,onRename:x,badgeComponents:f,isOpened:b,dragHandleListeners:_,isDisabled:v,disabledTooltipText:j,showDisabledTooltipOnHover:A,isFoldable:C=!0,rightText:w,isLoading:k=!1}=e,S=""===e.customTitle,T=S||!!e.customTitle&&a()(e.customTitle).length>0,{i18n:P}=(0,d.s)(),J=P.t("builder.resume_editor.untitled"),E=S?J:T?e.customTitle:e.title,[R,L]=(0,n.useState)(S?"":E),[N,I]=(0,n.useState)(!1),M=(0,n.useRef)(null),{hoverRef:B}=(0,c.M)(),[D,$]=(0,n.useState)([]),O=D.some(Boolean),z=(0,n.useRef)(null);(0,n.useEffect)(()=>{N&&M.current&&(M.current.focus(),M.current.select())},[N]),(0,n.useEffect)(()=>{N||L(S?"":E)},[N,S,E]);let F=(0,n.useMemo)(()=>(f||[]).map((e,t)=>e=>$(i=>((i=[...i])[t]=e,i))),[f]),H=e=>{e.stopPropagation()};return(0,r.jsxs)(m.mc,{ref:B,children:[(0,r.jsxs)(m.aW,{children:[(0,r.jsx)(m.hE,{$isEditing:N,children:N?R:E}),v&&(0,r.jsx)(y._,{showTooltip:A,tooltipText:j,children:(0,r.jsx)(m.yr,{children:(0,r.jsx)(m.XA,{})})}),N&&(0,r.jsx)(m.pd,{value:R||"",placeholder:P.t("builder.resume_editor.untitled"),onKeyUp:e=>{let t=e.target;"Enter"===e.key&&t.blur()},onChange:e=>{L(e.target.value),x?.(e.target.value)},onBlur:()=>{I(!1)},ref:M,maxLength:80,onClick:H}),(0,r.jsx)(s.Ay,{in:N,timeout:100,appear:!0,nodeRef:z,children:e=>(0,r.jsx)(m.yP,{$in:e,onClick:H,ref:z})})]}),!v&&(i||o)&&(0,r.jsx)(g,{isForcedVisible:N||O,onEdit:i?()=>{I(!0),(0,l.xP)("rename_resume_section")}:null,onRevert:!p&&T?()=>{x?.(null)}:null,onDelete:o?h:null}),t&&(0,r.jsx)(m.WP,{id:"drag-handle-card",isDragging:u,onClick:H,..._}),f?.length?(0,r.jsx)(m.cP,{onClick:H,children:f.map((e,t)=>(0,r.jsx)(e,{onActiveStateChange:F[t]},t))}):null,k?(0,r.jsx)(m.xj,{}):(0,r.jsxs)(r.Fragment,{children:[w&&(0,r.jsx)(m.Sn,{children:w}),C&&(0,r.jsx)(m.KQ,{$isDragging:u,$isOpened:b})]})]})}},32169:function(e,t,i){"use strict";i.d(t,{DN:function(){return g},KQ:function(){return b},Sn:function(){return v},T9:function(){return m},WP:function(){return y},XA:function(){return A},ZI:function(){return C},aW:function(){return u},cP:function(){return f},hE:function(){return p},mc:function(){return c},pd:function(){return h},xj:function(){return _},yP:function(){return x},yr:function(){return j}});var r=i(38267),n=i(99701),o=i(49504),a=i(24833),l=i(51390),s=i(40271),d=i(14649);let c=r.Ay.div(["position:relative;display:flex;flex-flow:row nowrap;align-items:center;gap:4px;"]),u=r.Ay.div(["",";position:relative;display:inline-flex;align-items:center;min-width:0;height:28px;font-weight:600;"],o.Ay.Subhead),p=r.Ay.div(["overflow:hidden;text-overflow:ellipsis;white-space:pre;",";"],e=>e.$isEditing&&(0,r.AH)(["visibility:hidden;min-width:74px;"])),h=r.Ay.input(["font:inherit;position:absolute;border:none;padding:0;caret-color:",";top:0;left:0;right:0;bottom:0;width:100%;&::placeholder{color:",";}"],n.Jy.Blue50,n.Jy.Neutral50),x=r.Ay.div(["position:absolute;bottom:0;left:0;right:0;height:2px;background-color:",";pointer-events:none;z-index:1;opacity:0;transform:scale(0.5,0);transition:transform 0.1s ease;",";"],n.Jy.Blue50,e=>({entering:"opacity: 1; transform: scale(1, 1);",entered:"opacity: 1; transform: scale(1, 1);",exiting:"opacity: 0; transform: scale(1, 1); transition: opacity 0.1s ease;",exited:null,unmounted:null})[e.$in]),m=r.Ay.div(e=>(0,r.AH)(["display:flex;flex-flow:row nowrap;align-items:center;user-select:none;",";",";"],a.A.Hover`
7956      display: ${e.$isForcedVisible?"flex":"none"};
7957
7958      ${c}:hover & {
7959        display: flex;
7960      }
7961    `,a.A.Laptop`
7962      display: flex;
7963    `)),g=r.Ay.div(["color:",";cursor:pointer;user-select:none;position:relative;",";& svg{display:block;}"],n.Jy.Neutral30,a.A.Hover`
7964    &:hover {
7965      color: ${n.Jy.Blue50};
7966    }
7967  `);a.A.Hover`
7968    &:hover {
7969      color: ${n.Jy.Blue50};
7970    }
7971  `;let y=(0,r.Ay)(l.A)(["position:absolute;opacity:1;right:100%;top:2px;margin-right:8px;",";&:before{right:0;}",";"],a.A.Phone`
7972    margin-right: 0;
7973  `,a.A.Hover`
7974    ${c}:hover & {
7975      color: ${n.Jy.Blue50};
7976    }
7977  `),f=r.Ay.div(["position:relative;display:flex;flex-flow:row nowrap;align-items:center;gap:4px;"]),b=(0,r.Ay)(d.Ay.ToggleArrow)(["display:",";position:absolute;transform:rotate(",");right:-16px;top:0;color:",";&:before{content:'';position:absolute;
7977left:-8px;right:-8px;top:-8px;bottom:-8px;}",""],e=>e.$isDragging&&"none",e=>e.$isOpened?"-90deg":"90deg",n.Jy.Neutral40,a.A.Phone`
7978    right: 0;
7979  `),_=(0,r.Ay)(s.hQ).attrs({$width:"24px",$height:"24px"})(["position:absolute;right:-16px;top:0;",""],a.A.Phone`
7980    right: 0;
7981  `),v=r.Ay.div(["",";color:",";margin-left:auto;margin-right:16px;",""],o.Ay.Caption,n.Jy.Neutral50,a.A.Phone`
7982    margin-right: 30px;
7983  `),j=r.Ay.div([""]),A=(0,r.Ay)(d.Ay.Lock)(["color:",";"],n.Jy.Neutral60),C=r.Ay.div(["i{",";",";}"],o.Ay.Caption,o.BO.Medium)},7773:function(e,t,i){"use strict";i.d(t,{i:function(){return x},w:function(){return h}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(44329),a=i(43627),l=i(74979),s=i(98668),d=i(18503),c=i(77279),u=i(25008),p=i(29123);let h=e=>{let{item:t,levels:i,locale:l,hideSkillLevel:h,isCardOpen:x,onCardDelete:m,onCardChange:g,onCardToggle:y,foldableDuration:f,templateConfig:b,updateSimpleField:_,position:v,isRecommendedLengthHidden:j,onCardMove:A,isStepByStepFlow:C,onAddCardSubItem:w,onDeleteCardSubItem:k,onSubItemMove:S,isDisabled:T,scrollAnchorPosition:P}=e,{hidden:J,CardComponent:E}=t,R=(0,n.useMemo)(()=>t.items?.map(e=>e.cid||e.id||(0,o.Ak)())||[],[t.items]),L=(0,n.useCallback)(({active:e,over:i})=>{i&&e.id!==i.id&&A({oldIndex:R.indexOf(e.id),newIndex:R.indexOf(i.id),sectionId:t.id})},[A,R,t.id]);return J?null:(0,r.jsx)(d.Ay,{id:t.anchorId||t.id,scrollAnchorPosition:P,children:(0,r.jsx)(c.Ay,{...e,item:t,children:(0,r.jsx)(s.Mp,{onDragEnd:L,collisionDetection:s.fp,children:(0,r.jsx)(a.gB,{items:R,strategy:a._G,children:t.items?.map((e,n)=>{let o=R[n];return(0,r.jsx)(u.Rf,{sortId:o,CardComponent:E,item:e,index:n,sectionId:t.id,sectionTitle:t.title,levels:i,locale:l,hideSkillLevel:h,foldableDuration:f,isOpen:x(o,t.id),onChange:g,onResumeSimpleFieldChange:_,onDelete:m,onToggle:y,templateConfig:b,jobTitle:v,isRecommendedLengthHidden:j,isDeleteVisible:C&&(0,p.e)(e,t.id),possibleSubItems:t.possibleSubItems,onAddSubItem:w,onDeleteSubItem:k,onSubItemMove:S,isDisabled:T},o)})})})})})},x=e=>{let{id:t,sortId:i,sortable:n}=e.item,{attributes:o,listeners:s,setNodeRef:d,transform:c,transition:u,isDragging:p}=(0,a.gl)({id:i||t,disabled:!n});if(n){let t={transform:l.Ks.Transform.toString(c?{...c,scaleX:1,scaleY:1}:null),transition:u,position:"relative",zIndex:p?1:void 0};return(0,r.jsx)("div",{ref:d,style:t,...o,children:(0,r.jsx)(h,{...e,isDragging:p,dragHandleListeners:s})})}return(0,r.jsx)(h,{...e})}},63045:function(e,t,i){"use strict";i.d(t,{fp:function(){return b},pr:function(){return x},a1:function(){return g},S3:function(){return m},j4:function(){return y},k9:function(){return f},DG:function(){return h}}),i(18111),i(61701),i(22489),i(7588),i(44114);var r=i(74848),n=i(20646),o=i(32606),a=i(25008),l=i(95319),s=i(46450),d=i(98297),c=i(5505),u=i(68997);let p=e=>(0,r.jsx)(u.IG,{type:o.jK.skills,...e});function h(e){let t=(0,s.X1)(n.R.t);return[{id:o.Gw.technicalProficiencyCategories,title:t(o.Gw.technicalProficiencyCategories),customTitle:e.sectionTitles.skillCategories,addButtonText:e.technicalProficiencyCategories?.length?n.R.t("builder.resume_editor.skills_section.add_one_more_skill_category"):n.R.t("builder.resume_editor.skills_section.add_skill_category"),CardComponent:a.Ay.SkillCategory,items:e.technicalProficiencyCategories,hintText:n.R.t("builder.resume_editor.skills_section.hint"),sortable:!0,renamable:!0,sortId:o.Gw.technicalProficiencyCategories,badgeComponents:[e=>(0,r.jsx)(l.TQ,{sectionName:"skills",...e})]},{id:o.Gw.skills,title:t(o.Gw.skills),customTitle:e.sectionTitles.skills,addButtonText:e.skills?.length?n.R.t("builder.resume_editor.skills_section.add_one_more"):n.R.t("builder.resume_editor.skills_section.add"),CardComponent:a.Ay.Skill,items:e.skills,hintText:n.R.t("builder.resume_editor.skills_section.hint"),sortable:!0,renamable:!0,badgeComponents:[p,e=>(0,r.jsx)(l.TQ,{sectionName:"skills",...e})]}]}function x(e){return{id:o.Gw.powerStatement,title:n.R.t("builder.resume_editor.power_statement_section.title"),customTitle:e.sectionTitles.powerStatement,hidden:!1,CardComponent:()=>null}}function m(e){return{id:o.Gw.metadata,title:n.R.t("builder.resume_editor.metadata_section.title"),customTitle:e.sectionTitles.metadata,CardComponent:()=>null,removable:!1,sortable:!1,renamable:!1,hidden:!e.sectionsOrder.includes(o.Gw.metadata)}}function g(e){let{sectionsOrder:t,template:i}=e,u=(0,s.X1)(n.R.t),p=i===d.cT.Academic,x=[{id:o.Gw.profile,title:n.R.t("builder.resume_editor.professional_summary.title"),customTitle:e.sectionTitles.profile,single:!0,CardComponent:a.Ay.Profile,items:[{id:"profile",cid:"profile",description:e.profile}],sortable:!0,renamable:!0,hintText:n.R.t("builder.resume_editor.professional_summary.label"),badgeComponents:[e=>(0,r.jsx)(c.JN,{section:o.Gw.profile,...e}),e=>(0,r.jsx)(l.TQ,{sectionName:"profile",...e})]},{id:o.Gw.accomplishments,single:!0,title:u(o.Gw.accomplishments),customTitle:e.sectionTitles.accomplishments,CardComponent:a.Ay.Accomplishments,items:[{id:"accomplishments",cid:"accomplishments",description:e.accomplishments}],sortable:!0,renamable:!0},{id:o.Gw.publications,single:!0,title:u(o.Gw.publications),customTitle:e.sectionTitles.publications,CardComponent:a.Ay.Publications,items:[{id:"publications",cid:"publications",description:e.publications||""}],sortable:!0,renamable:!0,hidden:!p},{id:o.Gw.workExperiences,title:u(o.Gw.workExperiences),customTitle:e.sectionTitles.workExperiences,addButtonText:e.workExperiences.length?n.R.t("builder.resume_editor.work_experience_section.add_one_more"):n.R.t("builder.resume_editor.work_experience_section.add"),CardComponent:a.Ay.WorkExperience,items:e.workExperiences,hintText:n.R.t("builder.resume_editor.work_experience_section.hint"),sortable:!0,renamable:!0,badgeComponents:[c.Mw,e=>(0,r.jsx)(l.TQ,{sectionName:"workExperiences",...e})]},{id:o.Gw.educations,title:u(o.Gw.educations),customTitle:e.sectionTitles.educations,addButtonText:e.educations.length?n.R.t("builder.resume_editor.educations_section.add_one_more"):n.R.t("builder.resume_editor.educations_section.add"),CardComponent:a.Ay.Education,items:e.educations,hintText:n.R.t("builder.resume_editor.educations_section.hint"),sortable:!0,renamable:!0,badgeComponents:[e=>(0,r.jsx)(l.TQ,{sectionName:"educations",...e})]},...h(e),{id:o.Gw.courses,title:u(o.Gw.courses),customTitle:e.sectionTitles.courses,addButtonText:e.courses.length?n.R.t("builder.resume_editor.courses_section.add_one_more"):n.R.t("builder.resume_editor.courses_section.add"),CardComponent:a.Ay.Course,items:e.courses,sortable:!0,renamable:!0,removable:!0,hidden:!t.includes("courses")&&0===e.courses.length},{id:o.Gw.internships,title:u(o.Gw.internships),customTitle:e.sectionTitles.internships,addButtonText:n.R.t("builder.resume_editor.additional_experience_section.add"),CardComponent:a.Ay.WorkExperience,items:e.internships,sortable:!0,renamable:!0,removable:!0,badgeComponents:[e=>(0,r.jsx)(l.TQ,{sectionName:"internships",...e})],hidden:!t.includes("internships")&&0===e.internships.length},{id:o.Gw.activities,title:u(o.Gw.activities),customTitle:e.sectionTitles.activities,addButtonText:e.activities.length?n.R.t("builder.resume_editor.activities_section.add_one_more"):n.R.t("builder.resume_editor.activities_section.add"),CardComponent:a.Ay.Activity,items:e.activities,sortable:!0,renamable:!0,removable:!0,hidden:!t.includes("activities")&&0===e.activities.length},{id:o.Gw.awards,title:u(o.Gw.awards),customTitle:e.sectionTitles.awards,addButtonText:(e.awards||[]).length?n.R.t("builder.resume_editor.awards_section.add_one_more"):n.R.t("builder.resume_editor.awards_section.add"),CardComponent:a.Ay.Award,items:e.awards||[],sortable:!0,renamable:!0,removable:!0,hidden:!t.includes("awards")&&0===(e.awards||[]).length},{id:o.Gw.affiliations,title:u(o.Gw.affiliations),customTitle:e.sectionTitles.affiliations,addButtonText:(e.affiliations||[]).length?n.R.t("builder.resume_editor.affiliations_section.add_one_more"):n.R.t("builder.resume_editor.affiliations_section.add"),CardComponent:a.Ay.Affiliation,items:e.affiliations||[],sortable:!0,renamable:!0,removable:!0,hidden:!t.includes("affiliations")&&0===(e.affiliations||[]).length},{id:o.Gw.licensesAndCertifications,title:u(o.Gw.licensesAndCertifications),customTitle:e.sectionTitles.licensesAndCertifications,addButtonText:(e.licensesAndCertifications||[]).length?n.R.t("builder.resume_editor.licenses_and_certifications_section.add_one_more"):n.R.t("builder.resume_editor.licenses_and_certifications_section.add"),CardComponent:a.Ay.LicenseAndCertification,items:e.licensesAndCertifications||[],sortable:!0,renamable:!0,removable:!0,hidden:!t.includes("licensesAndCertifications")&&0===(e.licensesAndCertifications||[]).length},{id:o.Gw.conferences,title:u(o.Gw.conferences),customTitle:e.sectionTitles.conferences,addButtonText:(e.conferences||[]).length?n.R.t("builder.resume_editor.conferences_section.add_one_more"):n.R.t("builder.resume_editor.conferences_section.add"),CardComponent:a.Ay.Conference,items:e.conferences||[],sortable:!0,renamable:!0,removable:!0,hidden:!t.includes("conferences")&&0===(e.conferences||[]).length},{id:o.Gw.volunteerings,title:u(o.Gw.volunteerings),customTitle:e.sectionTitles.volunteerings,addButtonText:(e.volunteerings||[]).length?n.R.t("builder.resume_editor.volunteerings_section.add_one_more"):n.R.t("builder.resume_editor.volunteerings_section.add"),CardComponent:a.Ay.Volunteering,items:e.volunteerings||[],sortable:!0,renamable:!0,removable:!0,hidden:!t.includes("volunteerings")&&0===(e.conferences||[]).length},{id:o.Gw.hobbies,title:u(o.Gw.hobbies),customTitle:e.sectionTitles.hobbies,single:!0,CardComponent:a.Ay.Hobby,items:e.hobbies,sortable:!0,renamable:!0,removable:!0,hidden:!t.includes("hobbies")&&0===e.hobbies.length},{id:o.Gw.languages,title:u(o.Gw.languages),customTitle:e.sectionTitles.languages,addButtonText:e.languages.length?n.R.t("builder.resume_editor.languages_section.add_one_more"):n.R.t("builder.resume_editor.languages_section.add"),CardComponent:a.Ay.Language,items:e.languages,sortable:!0,renamable:!0,removable:!0,badgeComponents:[e=>(0,r.jsx)(l.TQ,{sectionName:"languages",...e})],hidden:!t.includes("languages")&&0===e.languages.length},{id:o.Gw.socialProfiles,title:u(o.Gw.socialProfiles),customTitle:e.sectionTitles.socialProfiles,addButtonText:e.socialProfiles.length?n.R.t("builder.resume_editor.links_section.add_one_more"):n.R.t("builder.resume_editor.links_section.add"),CardComponent:a.Ay.Social,items:e.socialProfiles,sortable:!0,renamable:!0,hintText:n.R.t("builder.resume_editor.links_section.hint")},{id:o.Gw.references,title:u(o.Gw.references),customTitle:e.sectionTitles.references,addButtonText:e.references.length?n.R.t("builder.resume_editor.references_section.add_one_more"):n.R.t("builder.resume_editor.references_section.add"),CardComponent:a.Ay.Reference,items:e.references,sortable:!0,renamable:!0,removable:!0,hidden:!t.includes("references")&&0===e.references.length},...e.customSections.map(e=>{let t="simple"===e.type?a.Ay.CustomSimple:a.Ay.CustomAdvanced,i=`custom:${e.externalId}`;return{id:e.externalId,title:n.R.t("builder.resume_editor.untitled"),customTitle:e.title,addButtonText:e.items.length?n.R.t("builder.resume_editor.add_one_more_item"):n.R.t("builder.resume_editor.add_item"),CardComponent:t,items:e.items,sortable:!0,removable:!0,renamable:!0,isCustom:!0,sortId:i,anchorId:i}})];return[...x.filter(e=>!e.hidden).sort((e,i)=>t.indexOf(e.sortId||e.id)-t.indexOf(i.sortId||i.id)),...x.filter(e=>e.hidden)]}let y=(e,t)=>!!e.items?.length||(0,s.Ds)({section:e.id,templateConfig:t.templateConfig});function f(e){let t=g(e).filter(t=>!t.hidden&&y(t,e)).map(e=>e.id);return[...e.sectionsOrder.includes(o.Gw.metadata)?[o.Gw.metadata]:[],o.Gw.details,o.Gw.powerStatement,...t]}let b=(e,t)=>{let i=new Map;
7983return e.forEach(e=>{let r=e[t];i.has(r)?i.get(r)?.push(e):i.set(r,[e])}),Array.from(i.entries()).map(([e,i])=>({[t]:e,sections:i}))}},33967:function(e,t,i){"use strict";i.d(t,{wn:function(){return ew.w},iu:function(){return ew.i},a1:function(){return eC.a1},Ay:function(){return ek},fp:function(){return eC.fp},DG:function(){return eC.DG}}),i(18111),i(22489),i(61701),i(81148);var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(98668),s=i(43627),d=i(32606),c=i(36925),u=i(41370),p=i(23699),h=i(90019),x=i(9888),m=i(18509),g=i(57238),y=i(3161),f=i(28971),b=i(76551),_=i(77378),v=i(86066);i(7588);var j=i(20646),A=i.p+"media/writingHandDefault7be26d6b85fe2e3d.png",C=i.p+"media/writingHandHovered7d25494d84882a7a.png",w=i(38267),k=i(99701),S=i(91779),T=i(24833),P=i(49504),J=i(14649);let E=(0,w.i7)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),R=w.Ay.span(["color:",";font-size:12px;font-weight:600;line-height:16px;letter-spacing:1.6px;border-radius:4px;background:",";text-transform:uppercase;position:absolute;top:-10px;left:74px;display:inline-flex;padding:2px 8px;justify-content:center;align-items:center;&:hover{background:",";}"],k.Jy.White,k.Jy.Indigo40,k.Jy.Indigo60),L=(0,w.Ay)(S.Ay)(["padding:",";gap:4px;background:",";color:",";",";",";"," &:hover{background-color:",";}"],e=>e.$showCritiqueBanner?"8px 12px":"12px 24px 12px 20px",k.Jy.Indigo50,k.Jy.White,P.Ay.Body,P.BO.Medium,T.A.Phone`
7984    ${P.Ay.Caption};
7985    padding: 7px 12px 7px 8px;
7986    width: 100%;
7987    margin-top: 10px;
7988    height: 34px;
7989  `,k.Jy.Indigo60),N=w.Ay.div(["background:",";display:flex;flex-direction:row;border-radius:8px;margin-bottom:40px;align-items:center;justify-content:space-between;position:relative;"," "," &:hover ","{background-color:",";}&:hover ","{background:",";}&:hover{background:rgba(219,222,255,0.6);}"],k.Jy.Indigo10,T.A.Phone`
7990    flex-direction: column;
7991    align-items: start;
7992  `,({$showCritiqueBanner:e})=>e&&(0,w.AH)(["",""],T.A.Phone`
7993          margin-bottom: 0;
7994      `),L,k.Jy.Indigo60,R,k.Jy.Indigo60),I=w.Ay.p(["color:",";",";"],k.Jy.Indigo80,P.Ay.Tiny),M=w.Ay.img(["width:47px;transition:opacity 0.1s ease-out;",""],T.A.Phone`
7995    width: 46px;
7996  `),B=(0,w.Ay)(J.EK.Featured)(({$showAnimation:e})=>e?(0,w.AH)(["animation:"," 1s infinite linear;"],E):""),D=w.Ay.div(["display:flex;flex:0 0 auto;position:relative;"]),$=(0,w.Ay)(M)(["opacity:1;"," ",""],T.A.Hover`
7997    ${N}:hover & {
7998      opacity: 0;
7999    }
8000  `,T.A.Phone`
8001    opacity: 0;
8002  `),O=(0,w.Ay)(M)(["opacity:0;position:absolute;left:0;top:0;"," ",""],T.A.Hover`
8003    ${N}:hover & {
8004      opacity: 1;
8005    }
8006  `,T.A.Phone`
8007    opacity: 1;
8008  `),z=(0,w.Ay)(N)(["padding:16px;flex:1;",""],({$showCritiqueBanner:e})=>e&&(0,w.AH)(["padding:16px 12px 16px 16px;gap:29px;",""],T.A.Phone`
8009        gap: 0;
8010      `)),F=w.Ay.div(["display:flex;flex-direction:row;align-items:center;gap:12px;"]);var H=({onBannerGenerateClick:e,hideHeading:t=!1})=>{let i=(0,n.useRef)(null),l=(0,o.wA)(),{viewGenerateCLBannerEventTracked:s}=(0,m.N)(e=>e.resumeEditor),c=(0,x.U)(),u=c?.features.critiqueEntryPoints,p=(0,n.useCallback)(e=>{e.forEach(e=>{e.isIntersecting&&((0,a.xP)("see_ai_cover_letter_banner"),l(d.o1.setGenerateCLBannerEventTracked(!0)))})},[l]);return(0,n.useEffect)(()=>{if(s)return;let e=new IntersectionObserver(p),t=i.current;return t&&e.observe(t),()=>{t&&e.unobserve(t)}},[p,s,i]),(0,r.jsxs)(z,{ref:i,$showCritiqueBanner:u,children:[!t&&(0,r.jsx)(R,{children:j.R.t("builder.ai_cover_letter.badge_banner.title")}),(0,r.jsxs)(F,{children:[(0,r.jsxs)(D,{children:[(0,r.jsx)($,{src:A,alt:"Default Image"}),(0,r.jsx)(O,{src:C,alt:"Hovered Image"})]}),(0,r.jsx)(I,{children:u?j.R.t("builder.ai_cover_letter.badge_banner.content_new_v2"):j.R.t("builder.ai_cover_letter.badge_banner.content_new")})]}),(0,r.jsxs)(L,{onClick:e,$showCritiqueBanner:u,children:[!u&&(0,r.jsx)(B,{$showAnimation:!1}),j.R.t("builder.ai_cover_letter.generate")]})]})},V=e=>{let{onClickGenerate:t}=e,i=(0,n.useCallback)(()=>{t(),(0,a.xP)("click_ai_cover_letter_banner")},[t]);return(0,r.jsx)(H,{onBannerGenerateClick:i,hideHeading:e.hideHeading})},U=i.p+"media/StarIndigoacaca35a58b43810.svg",W=i(33467),K=i(71726),q=({onBannerGenerateClick:e})=>{let t=(0,n.useRef)(null),i=(0,o.wA)(),{viewGenerateCLBannerEventTracked:l}=(0,m.N)(e=>e.resumeEditor),s=(0,n.useCallback)(e=>
8010{e.forEach(e=>{e.isIntersecting&&((0,a.xP)("see_ai_cover_letter_banner"),i(d.o1.setGenerateCLBannerEventTracked(!0)))})},[i]);return(0,n.useEffect)(()=>{if(l)return;let e=new IntersectionObserver(s),i=t.current;return i&&e.observe(i),()=>{i&&e.unobserve(i)}},[s,l,t]),(0,r.jsxs)(K.E_,{ref:t,children:[(0,r.jsxs)(K.xV,{children:[(0,r.jsxs)(K.w7,{children:[(0,r.jsx)(K.DZ,{children:j.R.t("builder.ai_cover_letter.cover_letter")}),(0,r.jsxs)(K._m,{children:[(0,r.jsx)(K.FE,{$showAnimation:!1,src:U,alt:"Star Image"}),(0,r.jsx)(K.Gr,{children:j.R.t("builder.ai_cover_letter.ai_powered")})]})]}),(0,r.jsx)(K.Pz,{children:j.R.t("builder.ai_cover_letter.badge_banner.content")})]}),(0,r.jsxs)(K.CJ,{onClick:e,children:[(0,r.jsx)(K.FE,{$showAnimation:!1,src:W,alt:"Star Image"}),j.R.t("builder.ai_cover_letter.generate")]})]})},G=e=>{let t=(0,x.U)(),{onClickGenerate:i}=e,o=t?.features.aiCoverLetters,l=(0,m.N)(d.Tp.resumeScore),s=(0,n.useCallback)(()=>{i(),(0,a.xP)("click_ai_cover_letter_banner",{score:l})},[i,l]);return o?(0,r.jsx)(q,{onBannerGenerateClick:s}):null},Z=i(93807),X=i(83864),Q=i.p+"media/expertsDefault4b2e4a6203f8ff80.png",Y=i.p+"media/expertsHoveredebad8a91113678e3.png",ee=i.p+"media/review-avatar74bacd6c7f1dc0da.png";let et=(0,w.Ay)(S.Ay)(["margin-left:30px;padding:8px 12px;gap:4px;background:",";color:",";",";",";&:hover{background-color:",";}@media (max-width:1550px){margin-left:10px;}"," ",""],k.Jy.Blue50,k.Jy.White,P.Ay.Body,P.BO.Medium,k.Jy.Blue60,T.A.Tablet`
8011    margin-left: 30px;
8012  `,T.A.Phone`
8013    ${P.Ay.Caption};
8014    padding: 7px;
8015    width: 100%;
8016    margin-top: 10px;
8017    height: 34px;
8018    margin-left: 0;
8019  `),ei=w.Ay.div(["background-color:",";display:flex;flex-direction:row;border-radius:8px;margin-bottom:40px;align-items:center;justify-content:flex-end;position:relative;"," &:hover ","{background-color:",";}",""],e=>e.$isError?k.Jy.Red10:k.Jy.Blue10,T.A.Phone`
8020    flex-direction: column;
8021    align-items: start;
8022    margin-bottom: ${k.Kz.M};
8023  `,et,k.Jy.Blue60,e=>!e.$isError&&`
8024      &:hover {
8025        background: linear-gradient(0deg,
8026        rgba(195, 229, 254, 0.5) 0%, rgba(195, 229, 254, 0.5) 100%), #fff;
8027      }
8028    `),er=w.Ay.p(["color:",";",";"," "," "," ",""],e=>e.$isError?k.Jy.Red50:k.Jy.Blue80,P.Ay.Tiny,e=>e.$useMaxWidth&&"max-width: 133px;",e=>e.$addMarginRight&&"margin-right: 20px;",e=>e.$isError&&P.BO.Medium,T.A.Phone`
8029    max-width: unset;
8030  `),en=w.Ay.img(["width:47px;transition:opacity 0.1s ease-out;",""],T.A.Phone`
8031    width: 46px;
8032  `),eo=w.Ay.div(["display:flex;flex:0 0 auto;position:relative;margin-right:auto;"]),ea=(0,w.Ay)(en)(["opacity:1;width:59px;height:32px;"," ",""],T.A.Hover`
8033    ${ei}:hover & {
8034      opacity: 0;
8035    }
8036  `,T.A.Phone`
8037    opacity: 1;
8038  `),el=(0,w.Ay)(en)(["width:59px;height:32px;"]),es=(0,w.Ay)(en)(["opacity:0;position:absolute;left:0;top:0;width:84px;height:32px;",""],T.A.Hover`
8039    ${ei}:hover & {
8040      opacity: 1;
8041    }
8042  `),ed=(0,w.Ay)(ei)(["padding:16px 12px 16px 16px;flex:1;"," "," ",""],e=>e.$hide&&"display: none;",e=>e.$reducePadding&&`
8043    @media (max-width: 1550px) {
8044      padding-left: 4px;
8045      padding-right: 8px;
8046    }
8047  `,T.A.Tablet`
8048    padding: 16px 12px 16px 16px;
8049  `),ec=w.Ay.div(["display:flex;flex-direction:row;align-items:center;width:100%;"]),eu=(0,w.i7)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),ep=(0,w.Ay)(J.qJ.Spinner)(["color:",";animation:"," 0.5s infinite linear;margin-right:4px;margin-left:auto;"],k.Jy.Blue50,eu),eh=(0,w.Ay)(J.qJ.ChevronRight)(["color:",";cursor:pointer;margin-left:auto;"],k.Jy.Blue50),ex=(0,w.Ay)(J.qJ.Close)(["color:",";cursor:pointer;margin-left:auto;"],k.Jy.Neutral100),em=w.Ay.img(["width:32px;height:32px;border-radius:100%;"]),eg=w.Ay.div(["width:20px;height:20px;border-radius:100%;background-color:",";border:3px solid white;display:flex;justify-content:center;align-items:center;z-index:2;margin-left:-10px;margin-top:auto;margin-right:13px;"],k.Jy.Indigo80),ey=(0,w.Ay)(J.EK.Star)(["color:white;"]),ef=w.Ay.div(["background-color:",";border-radius:100%;width:24px;height:24px;display:flex;justify-content:center;align-items:center;margin-right:12px;"],k.Jy.Red50),eb=(0,w.Ay)(J.EK.Close)(["color:white;"]);var e_=({sendResumeToReview:e,critiqueReviewStatus:t,viewResumeCritiqueReview:i})=>{let{i18n:o}
8049=(0,_.s)(),[a,l]=(0,n.useState)(!1);return(0,r.jsxs)(ed,{$isError:"failed"===t,$reducePadding:!t,$hide:a,"data-testid":"critique-review-banner",children:[(0,r.jsxs)(ec,{children:["pending"===t&&(0,r.jsx)(el,{src:Q}),!t&&(0,r.jsxs)(eo,{children:[(0,r.jsx)(ea,{src:Q,alt:"Default Image"}),(0,r.jsx)(es,{src:Y,alt:"Hovered Image"})]}),"finished"===t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(em,{src:ee}),(0,r.jsx)(eg,{children:(0,r.jsx)(ey,{})})]}),"pending"===t&&(0,r.jsx)(ep,{}),"failed"===t&&(0,r.jsx)(ef,{children:(0,r.jsx)(eb,{})}),(0,r.jsxs)(er,{$addMarginRight:"pending"===t,$useMaxWidth:!t,$isError:"failed"===t,children:[!t&&o.t("builder.critique_entry_points.critique_review_banner.no_status"),"pending"===t&&o.t("builder.critique_entry_points.critique_review_banner.pending"),"finished"===t&&o.t("builder.critique_entry_points.critique_review_banner.finished"),"failed"===t&&o.t("builder.critique_entry_points.critique_review_banner.failed")]}),"finished"===t&&(0,r.jsx)(eh,{onClick:i}),"failed"===t&&(0,r.jsx)(ex,{onClick:()=>l(!0)})]}),!t&&(0,r.jsx)(et,{onClick:e,children:o.t("builder.critique_entry_points.critique_review_banner.send")})]})},ev=i(9883),ej=i(46912),eA=i(38552),eC=i(63045),ew=i(7773);let ek=e=>{let{resume:t,levels:i,addCustomSection:j,renameSection:A,deleteSection:C,moveCard:w,deleteCard:k,updateCard:S,updateSimpleField:T,moveSection:P,addCard:J,addCardSubItem:E,deleteCardSubItem:R,moveCardSubItem:L}=e,{hideSkillLevel:N,locale:I,position:M,firstName:B,lastName:D,email:$,workExperiences:O,sectionsOrder:z}=t,F=(0,x.U)(),H=(0,o.wA)(),{onUpdateDragSections:U}=(0,ej.a)(),W=(0,m.N)(d.Tp.openedCards),K=(0,m.N)(d.Tp.openedSections),q=(0,m.N)(d.Tp.autoTailoringFromJobBoard),Q=(0,m.N)(g.Tp.userData),Y=Q?.billingInfo.userType===g.ut.free,ee=(0,m.N)(e=>f.Tp.critique(e,t.id)),et=ee?.status,ei=et===f.oV.pending,er=et===f.oV.finished,en=et===f.oV.failed,eo=(0,m.N)(f.Tp.userHasAtLeastOneCritique),[ea,el]=(0,n.use
8049State)(!1),es=F?.features.critiqueEntryPoints,{i18n:ed}=(0,_.s)(),{isPhone:ec,isTablet:eu,isAboveTablet:ep}=(0,v.e)(),eh=eu?"80px":"16px",ex=ep?void 0:"center";(0,n.useEffect)(()=>{H(f.o1.fetchCritiques())},[H]);let em=(0,n.useCallback)((e,t)=>{J((0,p.M)(),e,{...t||{},shouldOpen:!0})},[J]),eg=(0,n.useCallback)(()=>{H(d.o1.setIsClickedOnAiCVBanner(!0))},[H]),ey=(0,n.useCallback)((e,t)=>!!e&&!!W[t]?.[e],[W]),ef=(0,n.useCallback)((e,t)=>{H(d.o1.toggleCard({id:e,sectionId:t}))},[H]),eb=(0,n.useCallback)(e=>{let t=K[e]??!0;H(d.o1.setOpenedSections({[e]:!t}))},[H,K]),ek=(0,n.useCallback)(({active:e,over:t})=>{if(!t||e.id===t.id)return;let i=e.id,r=z.indexOf(e.id),n=z.indexOf(t.id);P({offset:n-r,sectionId:i}),U(),(0,a.xP)("change_sections_order",{section:"string"==typeof i?(0,h.C)(i):i,old_position:r+1,new_position:n+1})},[P,U,z]),eS=(0,n.useMemo)(()=>!!F?.features.aiCoverLetters&&!!B&&!!D&&!!$&&-1!==O.findIndex(({title:e,employer:t,dateFrom:i})=>e&&t&&i),[F?.features.aiCoverLetters,B,D,$,O]),eT=(0,eC.a1)(t),eP=(0,eC.pr)(t),eJ=(0,eC.S3)(t),{isSectionDisabled:eE}=(0,X.R)({sectionsConfig:t.templateConfig?.sectionsConfig}),eR=eT.filter(e=>(0,eC.j4)(e,t)),eL=(0,eC.fp)(eR,"sortable"),eN=er?f.oV.finished:en?f.oV.failed:ei?f.oV.pending:void 0;return(0,r.jsxs)(eA.uO,{children:[(t.powerStatement||!eP.hidden)&&(0,r.jsx)(Z.A,{sectionId:d.Gw.powerStatement}),eL.map((e,n)=>{let o=e.sections.map((e,n)=>{let o=(e.items?.length??0)>1&&!ec,l=o&&!!e.items?.every(t=>!!W[e.id]?.[t.cid||t.id||""]);return(0,r.jsx)(ew.i,{index:n,isOpened:K[e.id]??!0,item:e,levels:i,position:M,hideSkillLevel:N,locale:I,onRename:A,onDelete:C,onToggle:eb,onAdd:em,isCardOpen:ey,onCardChange:S,onCardDelete:k,onCardMove:w,onCardToggle:ef,template:t.template,updateSimpleField:T,onAddCardSubItem:E,onDeleteCardSubItem:R,onSubItemMove:L,isAllCardsOpen:l,onToggleAllCards:e=>{H(d.o1.toggleAllCardsInSection({sectionId:e})),(0,a.xP)(l?"click_close_all":"click_open_all",{section:e})},canToggleAllCards:o,toggleAllCardsTopPosition:eh,isDisabled:eE(e.id),templateConfig:t.templateConfig,scrollAnchorPosition:ex},e.id)});return e.sortable?(0,r.jsx)(l.Mp,{onDragEnd:ek,collisionDetection:l.fp,children:(0,r.jsx)(s.gB,{items:z,strategy:s._G,children:o})},n):(0,r.jsx)("div",{children:o},n)}),(0,r.jsxs)(eA.GN,{children:[(0,r.jsx)(eA.o6,{children:eS&&(0,r.jsxs)(eA.uZ,{children:[es&&(0,r.jsx)(eA.xv,{children:ed.t("builder.sections_list.recommended_steps")}),(0,r.jsxs)(eA.I$,{children:[!q.enabled&&(F?.features.resumeOptimizer?(0,r.jsx)(V,{onClickGenerate:eg,hideHeading:es}):(0,r.jsx)(G,{onClickGenerate:eg})),(!eo||eN)&&es&&(0,r.jsx)(e_,{sendResumeToReview:()=>{Y?el(!0):((0,a.xP)("click_send_resume_review",{where:"builder"}),H(f.o1.sendResumeToCritique({resumeId:t.id})))},critiqueReviewStatus:eN,viewResumeCritiqueReview:()=>{var e;(e=ee?.iframeUrl||"")&&((0,a.xP)("click_read_resume_critique_banner",{where:"builder"}),H(c.o1.setCritiquePageVisitedCount(!0)),window.open(`${e}${b.Kw}`))}})]})]})}),(0,r.jsx)(u.a,{sections:[...eT,eP,eJ],templateConfig:t.templateConfig,onAdd:e=>{e===d.Gw.metadata?(H(d.o1.updateSimpleField({name:"sectionsOrder",value:[...t.sectionsOrder,d.Gw.metadata]})),y.A.scrollToAnchor(d.Gw.metadata)):em(e,{scrollIntoViewport:!0,shouldOpen:!0})},onAddCustom:(e,t)=>j(e,t,{scrollIntoViewport:!0})})]}),ea&&(0,r.jsx)(ev.A,{onClose:()=>el(!1),redirectUrl:`/app/resumes/${t.id}/edit`,resumeIdToSendToCritique:t.id})]})}},38552:function(e,t,i){"use strict";i.d(t,{GN:function(){return d},I$:function(){return p},o6:function(){return c},uO:function(){return s},uZ:function(){return u},xv:function(){return h}});var r=i(38267),n=i(99701),o=i(24833),a=i(49504),l=i(87829);let s=r.Ay.div([""]),d=r.Ay.div([""," padding:24px 36px 36px;",";",";"],l.Iq,o.A.AboveTablet`
8050    margin-bottom: 0;
8051    border-bottom-left-radius: 0;
8052    border-bottom-right-radius: 0;
8053  `,o.A.Phone`
8054    padding: 16px 20px 36px;
8055  `),c=r.Ay.div(["margin-top:8px;"]),u=r.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),p=r.Ay.div(["display:flex;gap:8px;",";"],o.A.Phone`
8056    flex-direction: column;
8057  `),h=r.Ay.span(["color:var(--amber-amber-80-ext,#582c0c);",";",";padding:2px 8px;border-radius:4px;background-color:",";width:fit-content;",";"],a.Ay.Caps,a.BO.DemiBold,n.Jy.Amber20,o.A.Phone`
8058    display: none;
8059  `)},91973:function(e,t,i){"use strict";i.d(t,{f:function(){return a},Y:function(){return l}});var r=i(38267),n=i(99701),o=i(24833);let a=r.Ay.div(["--color-default:",";--color-active:",";--color-hover:",";--background-default:",";--background-active:",";--background-hover:",";",";font-weight:",";transition:all 0.2s ease-out;color:var(--color-default);background-color:var(--background-default);padding:",";border-radius:8px;white-space:nowrap;cursor:pointer;display:flex;align-items:center;justify-content:center;",""],n.Jy.Neutral50,n.Jy.Neutral90,n.Jy.Neutral70,n.Jy.Neutral5,n.Jy.White,n.Jy.Neutral10,n.o5.sizes.Body,n.o5.weights.medium,n.Kz.XS,e=>e.$isActive?(0,r.AH)(["box-shadow:",";background-color:var(--background-active);color:var(--color-active);z-index:1;"],n.qd.lightShadowLow):o.A.Hover`
8060          &:hover {
8061            background-color: var(--background-hover);
8062            color: var(--color-hover);
8063          }
8064        `),l=r.Ay.div(["position:relative;display:flex;gap:0;padding:",";border-radius:",";background-color:",";"],n.Kz["3XS"],n.Kz.XS,n.Jy.Neutral5)},33637:function(e,t,i){"use strict";i.d(t,{l:function(){return N},A:function(){return N}}),i(18111),i(20116);var r=i(74848),n=i(86066),o=i(64861),a=i(38267),l=i(99701),s=i(49504);let d=a.Ay.div(["position:relative;",";border-radius:8px;"],s.o5.Body),c=a.Ay.label(["",";color:",";display:block;margin-bottom:6px;"],s.o5.Caption,l.Jy.Neutral50),u=({label:e,error:t,warning:i,description:n,children:a,...l})=>(0,r.jsxs)("div",{...l,children:[e&&(0,r.jsx)(c,{children:e}),(0,r.jsx)(d,{children:a}),(0,r.jsx)(o.X,{error:t,warning:i,description:n})]});var p=i(72533);i(61701);var h=i(67592),x=i(78561),m=i(64608);let g=(0,a.i7)(["0%{transform:scaleY(0.75);opacity:0;}100%{transform:scaleY(1);opacity:1;}"]),y=a.Ay.div(["",";position:absolute;z-index:10;width:100%;max-height:156px;overflow-y:auto;top:100%;left:0;right:0;background-color:",";border-radius:0 0 8px 8px;transform-origin:50% 0;animation:"," 0.15s ease-out;outline:none;&::-webkit-scrollbar{width:12px;background-color:transparent;border-right:2px solid transparent;}&::-webkit-scrollbar-thumb{background-color:",";border:4px solid ",";border-radius:6px;&:hover{background-color:",";}}"],h.q.light.low,l.Jy.Neutral10,g,l.Jy.Neutral30,l.Jy.Neutral10,l.Jy.Blue50),f=(0,a.Ay)(y)(["border-right:1px solid ",";"],l.Jy.Neutral15),b=a.Ay.div(["padding:6px 0;animation:"," 0.15s 0.05s ease-out backwards;border-radius:0 0 8px 8px;&.templates-filter{border:1px solid ",";border-right:0;border-top:0;}"],m.qG,l.Jy.Neutral15),_=a.Ay.div(["padding:6px 16px;color:",";cursor:pointer;",";",";",";"],e=>e.isSelected?l.Jy.Neutral40:l.Jy.Neutral90,e=>e.isActive&&(0,a.AH)(["color:",";background-color:",";"],l.Jy.Blue50,(0,x.j)(l.Jy.Blue20,.5)),e=>
8064!e.isFirst&&e.isTemplateFilter&&`border-top: 1px solid ${l.Jy.Neutral70}`,e=>e.isTemplateFilter&&`
8065    &:hover {
8066      background-color: ${l.Jy.Neutral70};
8067    }
8068  `),v=a.Ay.div(["border-radius:8px 8px 0 0;"]),j=({options:e,optionsListClassname:t})=>(0,r.jsx)(p.W.Options,{as:"templates-filter"===t?f:y,children:(0,r.jsx)(b,{className:t,children:e.map((e,i)=>(0,r.jsx)(p.W.Option,{as:"div",value:e.id,children:({active:n,selected:o})=>(0,r.jsx)(_,{isActive:n,isSelected:o,isFirst:0===i,isTemplateFilter:"templates-filter"===t,children:e.name})},String(e.id)??"empty"))})});var A=i(96540),C=i(87947),w=i(24833),k=i(14649);let S=a.Ay.button(["",";display:flex;align-items:center;gap:",";position:relative;overflow:hidden;width:100%;height:48px;margin:0;padding:12px 44px 12px 16px;border:none;border-radius:8px;background:",";color:",";white-space:nowrap;text-align:left;text-overflow:ellipsis;outline:none;cursor:pointer;",";",";",";",";"],s.o5.Body,l.Kz["2XS"],l.Jy.Neutral10,l.Jy.Neutral90,w.$.Phone`
8069    height: 44px;
8070  `,e=>e.$isDisabled&&(0,a.AH)(["background-color:",";color:",";cursor:not-allowed;"],l.Jy.Neutral20,l.Jy.Neutral60),e=>e.$isPlaceholder&&(0,a.AH)(["color:",";"],l.Jy.Neutral40),e=>e.$isOpen&&(0,a.AH)(["",";transition:box-shadow 0.15s ease-out;border-radius:8px 8px 0 0;"],h.q.light.low)),T=(0,a.Ay)(k.qJ.Chevron)(["position:absolute;top:calc(50% - 12px);right:12px;color:",";transform:rotate(","deg);transition:transform 0.15s ease-out;",""],e=>e.$isDisabled?l.Jy.Neutral40:l.Jy.Blue50,e=>e.$isOpen?-90:90,e=>e.$useWhite&&"color: white;"),P=a.Ay.div(["position:absolute;bottom:0;left:0;right:0;height:2px;border-radius:",";pointer-events:none;background-color:",";",";"],e=>e.isOpen?0:"0 0 2px 2px",e=>e.hasError?l.Jy.Red50:e.hasWarning?l.Jy.Amber40:l.Jy.Blue50,e=>({entering:"opacity: 1; transform: scaleX(1); transition: transform 0.1s ease;",entered:"opacity: 1; transform: scaleX(1)",exiting:"opacity: 0; transform: scaleX(1); transition: opacity 0.1s ease;",exited:"opacity: 0; transform: scaleX(0.5)",unmounted:null})[e.state]),J=(0,A.forwardRef)((e,t)=>{let{isOpen:i,isDisabled:n,isPlaceholder:o,hasError:a,hasWarning:l,children:s,icon:d,useWhiteArrow:c,buttonOnClick:u,...p}=e,[h,x]=(0,A.useState)(!1),m=(0,A.useRef)(null);return(0,r.jsxs)(S,{ref:t,$isOpen:i,$isDisabled:n,$isPlaceholder:o,onFocus:()=>x(!0),onBlur:()=>x(!1),onClick:u,...p,children:[d&&d,s,(0,r.jsx)(T,{$isOpen:i,$isDisabled:n,$useWhite:!!c}),(0,r.jsx)(C.Ay,{in:i||h||a||l,timeout:100,nodeRef:m,children:e=>(0,r.jsx)(P,{state:e,isOpen:i,hasError:a,hasWarning:l,ref:m})})]})}),E=({isDisabled:e,value:t,options:i,onChange:n,icon:o,optionsListClassname:a,buttonOnClick:l,...s})=>(0,r.jsx)(p.W,{disabled:e,value:t,onChange:n,as:v,children:({open:t})=>(0,r.jsxs)("div",{style:{borderRadius:"8px 8px 0 0"},children:[(0,r.jsx)(p.W.Button,{as:J,isOpen:t,isDisabled:e,useWhiteArrow:"templates-filter"===a,onClick:l,icon:o,...s}),(0,r.jsx)(j,{options:i,optionsListClassname:a})]})}),R=a.Ay.select(["position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;outline:none;"]),L=({value:e,options:t,onChange:i,isDisabled:n,optionsListClassname:o,buttonOnClick:a,...l})=>{let s=(0,A.useMemo)(()=>t.map(e=>({...e,id:JSON.stringify(e.id)})),[t]);return(0,r.jsxs)("div",{onClick:a,children:[(0,r.jsx)(J,{isDisabled:n,useWhiteArrow:"templates-filter"===o,...l}),(0,r.jsx)(R,{value:JSON.stringify(e),onChange:e=>i(JSON.parse(e.target.value)),disabled:n,children:s.map(({id:e,name:t})=>(0,r.jsx)("option",{value:e,children:t},`${e}${t}`))})]})},N=({className:e,disabled:t=!1,options:i=[],label:o,error:a,warning:l,description:s,selected:d,onSelect:c=()=>{},format:p,optionsListClassname:h,buttonOnClick:x,useNativeSelectOnMobile:m=!0})=>{let g=(0,n.e)(),y=!g.hover&&g.isTablet,f=null===d||""===d,b=i.find(e=>e.id===d)?.name,_=p?p(d,b):b;return(0,r.jsx)(u,{className:e,label:o,error:a,warning:l,description:s,children:(0,r.jsx)(y&&m?L:E,{value:d,options:i,onChange:c,isDisabled:t,isPlaceholder:f,hasError:!!a,hasWarning:!!l,optionsListClassname:h,icon:i.find(e=>e.id===d)?.icon,buttonOnClick:x,children:_})})}},72096:function(e,t,i){"use strict";i.d(t,{l:function(){return l}}),i(44114),i(18111),i(22489);var r=i(96540),n=i(8037);i(61701);var o=i(9421),a=i(49012);let l=(e,t,i=!1)=>{let l=Array.isArray(e)?e:[e],s=l.includes(n.VC.resume),d=l.includes(n.VC.coverLetter),c=l.includes(n.VC.trDocument),{data:u=[],isLoading:p,error:h}=((e=!0)=>(0,o.I)({queryKey:["select-document-modal-resumes"],queryFn:async()=>{let{data:e}=await a.uE.get("/resumes");return e.resumes.filter(e=>!e.autoTailored)},cacheTime:0,enabled:e}))(s),{data:x=[],isLoading:m,error:g}=((e=!0)=>(0,o.I)({queryKey:["select-document-modal-cover-letters"],queryFn:async()=>{let{data:e}=await a.uE.get("/cover-letters");return e.coverLetters},cacheTime:0,enabled:e}))(d),{data:y=[],isLoading:f,error:b}=(e=>{let{filterType:t,fetch:i=!0}=e||{},r=async()=>{let e,{data:i}=await a.R3.get("/documents");return e=i.map(e=>({...e,type:"tr_document",createdAt:e.created_at})),t?e.filter(e=>e.doc_type===t):e};return(0,o.I)({queryKey:["documents",t],queryFn:r,useErrorBoundary:!1,cacheTime:0,enabled:i})})({fetch:c,filterType:t}),_=(0,r.useMemo)(()=>{let e=[];return s&&e.push(...u),d&&e.push(...x),c&&e.push(...y),(i?e.filter(e=>!e.autoTailored):e).sort((e,t)=>
8070{let i=new Date(e.updatedAt||e.createdAt||0).getTime();return new Date(t.updatedAt||t.createdAt||0).getTime()-i})},[s,d,c,u,x,y,i]);return{documents:_,isLoading:s&&p||d&&m||c&&f,error:h||g||b||null}}},19754:function(e,t,i){"use strict";i.d(t,{x:function(){return _}});var r=i(74848),n=i(96540),o=i(49785),a=i(77378),l=i(57119),s=i(54890),d=i(83773),c=i(38267),u=i(99701),p=i(49504);let h=c.Ay.span(["color:",";cursor:pointer;&:hover{color:",";}& b{",";}"],u.Jy.Blue50,u.Jy.Blue60,p.BO.DemiBold),x=({email:e,onAgree:t})=>{let{i18n:i}=(0,a.s)(),[n,o]=e.split("@");return(0,r.jsxs)(r.Fragment,{children:[i.t("builder.sign_up.did_you_mean")," ",(0,r.jsxs)(h,{onClick:t,children:[n,"@",(0,r.jsx)("b",{children:o})]}),"?"]})};var m=i(27073),g=i(14649);let y=c.Ay.div(["display:flex;align-items:center;border:1px solid ",";border-radius:4px;padding:16px 24px;text-align:left;"],u.Jy.Neutral15),f=(0,c.Ay)(g.EK.WarningCircle)(["flex-shrink:0;margin-right:16px;color:",";"],u.Jy.Amber40),b=c.Ay.div(["",";color:",";flex-grow:1;"],p.o5.Caption,u.Jy.Neutral60),_=({defaultValue:e="",placeholder:t,allowAvailableOnly:i,autoFocus:c,isPending:u,onSubmit:p,...h})=>{let{i18n:g}
8070=(0,a.s)(),[_,v]=(0,n.useState)(!1),[j,A]=(0,n.useState)(null),[C,w]=(0,n.useState)(!1),k=(0,o.mN)({defaultValues:{email:e}}),S=k.watch("email");(0,n.useEffect)(()=>{A(null)},[S]),(0,n.useEffect)(()=>{j&&w(!0)},[j]);let T=async({email:e})=>{try{if(v(!0),!C){let t=await (0,d.a)(e);if(t)throw A(t)}let{message:t}=await (0,m.D)(e,{allowAvailableOnly:i});if(t)throw k.setError("email",{message:t});p({email:e})}finally{v(!1)}},P=(0,n.useMemo)(()=>j?(0,r.jsx)(x,{email:j,onAgree:()=>k.setValue("email",j)}):null,[k,j]);return(0,r.jsxs)(s.l,{...h,onSubmit:k.handleSubmit(T),isPending:u||_,submitButtonText:C?g.t("builder.sign_up.confirm"):void 0,children:[(0,r.jsx)(s.f,{children:(0,r.jsx)(l.A,{...k.register("email",{required:g.t("builder.sign_up.field_is_required"),pattern:{value:/\S+@\S+\.\S+/,message:g.t("builder.sign_up.invalid_email")}}),type:"email",label:g.t("builder.sign_up.email"),placeholder:t,autoFocus:c,error:k.formState.errors.email?.message,warning:P,"data-testid":"email-input",errorDataTestId:"email-error"})}),j&&(0,r.jsxs)(y,{children:[(0,r.jsx)(f,{}),(0,r.jsx)(b,{children:g.t("builder.sign_up.you_made_typo")})]})]})}},27073:function(e,t,i){"use strict";i.d(t,{D:function(){return d}});var r,n=i(49012);i(8037);var o=i(9541),a=i(20646),l=i(12330),s=((r={}).taken="email_taken",r.invalid="email_invalid",r);let d=async(e,t={},i,r)=>{let{data:d}=await n.uE.post("/sign-up/validate",{email:e},{signal:r});if(d?.activatedBy&&(d?.activatedBy.includes("resume.io")||d?.activatedBy.includes("resume.test"))&&l.D.setItem(o.n3.SHOW_RIO_CIO_INFO_MODAL_FLAG,"true"),!d.success&&d.errorCode===s.invalid)return{message:i?"Invalid email":a.R.t("builder.sign_up.invalid_email"),response:d};if(t.allowAvailableOnly&&!d.success&&d.errorCode===s.taken){let e=`<a href="/app/auth/sign-in">${i?"Log In":a.R.t("builder.sign_up.log_in")}</a>`;return{message:i?`This email is already registered. ${e} or try another email`:a.R.t("builder.sign_up.email_is_taken",{logInLink:e}),response:d}}return{message:null}}},54890:function(e,t,i){"use strict";i.d(t,{l:function(){return _},f:function(){return x}});var r=i(74848),n=i(77378),o=i(91779);i(18111),i(61701);var a=i(38267),l=i(99701);let s=a.Ay.div(["display:flex;justify-content:center;align-items:center;width:100%;height:20px;gap:8px;bottom:0;background-color:",";padding:10px;"],l.Jy.White),d=a.Ay.div(["width:16px;height:6px;border-radius:8px;background:",";"],l.Jy.Blue50),c=a.Ay.div(["width:6px;height:6px;border-radius:8px;background:",";"],l.Jy.Neutral20),u=e=>{let{totalStep:t,currentStep:i}=e;return(0,r.jsx)(s,{children:Array.from({length:t},(e,t)=>t).map(e=>e===i?(0,r.jsx)(d,{},e):(0,r.jsx)(c,{},e))})};var p=i(24833);let h=a.Ay.form(["width:100%;"]),x=a.Ay.div([""," &:not(:last-child){margin-bottom:20px;}"],e=>e.position&&(0,a.AH)(["position:",";"],e.position||"static")),m=a.Ay.div(["width:100%;"]),g=a.Ay.div(({signUpFlow:e,singleSignFlow:t})=>{let i;return e&&(i=28),t&&(i=0),(0,a.AH)(["display:flex;align-items:center;justify-content:space-between;margin-top:","px;margin-bottom:",";",";& ",":last-child{margin-left:auto;}"],void 0!==i?i:48,t&&"12px",p.$.Phone`
8071        margin-top: 32px;
8072      `,o.$n)}),y=a.Ay.div(["flex:1;"]),f=a.Ay.div(["padding-top:10px;"]),b=a.Ay.div(["margin-top:32px;",";"],p.$.Phone`
8073    margin-top: 24px;
8074  `),_=({children:e,submitButtonText:t,onBackClick:i,onSubmit:a,isDisabled:l=!1,isPending:s=!1,signUpFlow:d,singleSignFlow:c=!1,disabledI18n:p,processIndicator:x,showButtons:_=!0,...v})=>{let{i18n:j}=(0,n.s)();return(0,r.jsxs)(h,{...v,onSubmit:e=>{e.preventDefault(),a&&!l&&a(e)},children:[(0,r.jsx)(m,{children:e}),(0,r.jsx)(y,{}),_&&(0,r.jsxs)(f,{children:[(0,r.jsxs)(g,{signUpFlow:d,singleSignFlow:c,children:[i&&(0,r.jsx)(o.$n,{onClick:i,theme:"ghost",type:"button",children:p?"Back":j.t("builder.sign_in.back")}),a&&(0,r.jsx)(o.$n,{isDisabled:l||s,isLoading:s,type:"submit",style:c?{width:"100%"}:{},children:t||(p?"Continue":j.t("builder.sign_in.continue"))})]}),x&&(0,r.jsx)(b,{children:(0,r.jsx)(u,{totalStep:x.totalStep,currentStep:x.currentStep})})]})]})}},50045:function(e,t,i){"use strict";i.d(t,{F:function(){return m}}),i(18111),i(18237),i(61701);var r=i(74848),n=i(96540),o=i(38267),a=i(99701),l=i(24833);let s=o.Ay.div(["position:absolute;
8074left:",";width:var(--thumb-size);height:var(--thumb-size);border-radius:var(--thumb-size);background-color:",";box-shadow:0 1px 4px rgba(0,0,0,0.15);touch-action:none;z-index:2;cursor:",";",";"],({position:e})=>`${e}%`,({disabled:e})=>e?a.Jy.Neutral10:a.Jy.White,({disabled:e})=>e?"not-allowed":"grab",l.A.Phone`
8075    width: 32px;
8076    height: 32px;
8077  `),d=o.Ay.div(["position:absolute;left:0;right:0;width:calc(100% - var(--thumb-size));height:100%;display:flex;align-items:center;touch-action:none;"]),c=o.Ay.div(["position:relative;width:100%;height:40px;cursor:pointer;touch-action:none;display:flex;align-items:center;"]),u=o.Ay.div(["--thumb-size:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:20px;margin-left:auto;margin-right:auto;",";"],l.A.Phone`
8078    margin-bottom: 24px;
8079    --thumb-size: 32px;
8080  `),p=o.Ay.div(["position:absolute;left:0;right:0;height:6px;border-radius:2px;background-color:",";"],a.Jy.Neutral20),h=o.Ay.div(["position:absolute;left:",";width:",";height:6px;border-radius:2px;background-color:",";"],({low:e})=>`${e}%`,({low:e,high:t})=>`${t-e}%`,({disabled:e})=>e?"":a.Jy.Blue50),x=o.Ay.span(["position:absolute;"," transform:translateY(24px);font-size:13px;color:",";font-weight:500;white-space:nowrap;",";"],({position:e})=>"left"===e?(0,o.AH)(["left:0;"]):(0,o.AH)(["right:0;"]),a.Jy.Neutral50,l.A.Phone`
8081    margin-top: 8px;
8082    margin-bottom: 4px;
8083  `),m=({lowValue:e,highValue:t,min:i,max:o,disabled:a,onChange:l,onChangeCommit:m,prefixLabel:g,suffixLabel:y,unitLabel:f,step:b,className:_,single:v=!1,snapPoints:j})=>{let A=(0,n.useCallback)(e=>Math.min(o,Math.max(i,Math.round(e))),[i,o]),C=(0,n.useCallback)(e=>j&&0!==j.length?j.reduce((t,i)=>Math.abs(i-e)<Math.abs(t-e)?i:t):e,[j]),[w,k]=(0,n.useState)(A(e??i)),[S,T]=(0,n.use
8083State)(A(t??o)),P=(0,n.useRef)(null),J=(0,n.useRef)(null),E=(0,n.useRef)(null);(0,n.useEffect)(()=>{J.current||(k(A(e??i)),T(A(t??o)))},[e,t,i,o,A]);let R=(0,n.useRef)(w),L=(0,n.useRef)(S),N=(0,n.useRef)(l),I=(0,n.useRef)(m);R.current=w,L.current=S,N.current=l,I.current=m;let M=e=>(e-i)/(o-i)*100,B=(0,n.useCallback)(e=>{if(null===P.current)return i;let t=P.current.getBoundingClientRect();return A(i+Math.min(1,Math.max(0,(e-t.left)/t.width))*(o-i))},[i,o,A]),D=(0,n.useCallback)(e=>{if(!J.current||null==e.clientX)return;e.preventDefault();let t=B(e.clientX);if(b&&(t=Math.min(o,Math.max(i,t=Math.round(t/b)*b))),t=C(t),"low"===J.current){let e=Math.min(t,L.current);R.current=e,k(e),N.current(e,L.current)}else{let e=Math.max(t,R.current);L.current=e,T(e),N.current(R.current,e)}},[B,b,i,o,C]),$=(0,n.useCallback)(()=>{J.current=null;let e=E.current;E.current=null,e&&(e.low!==R.current||e.high!==L.current)&&I.current?.(R.current,L.current),window.removeEventListener("pointermove",D),window.removeEventListener("pointerup",$)},[D]);(0,n.useEffect)(()=>()=>{window.removeEventListener("pointermove",D),window.removeEventListener("pointerup",$)},[D,$]);let O=e=>t=>{a||(t.stopPropagation(),t.preventDefault(),J.current=e,E.current={low:R.current,high:L.current},window.addEventListener("pointermove",D),window.addEventListener("pointerup",$))};return(0,r.jsx)(u,{className:_,children:(0,r.jsxs)(c,{ref:P,onPointerDown:e=>{if(a||null==e.clientX)return;E.current={low:R.current,high:L.current};let t=B(e.clientX);if(b&&(t=Math.min(o,Math.max(i,t=Math.round(t/b)*b))),t=C(t),v)J.current="high",T(t),l(w,t);else if(w===S&&S===o)J.current="low",k(t),l(t,S);else if(Math.abs(t-w)<Math.abs(t-S)){J.current="low";let e=Math.min(t,S);k(e),l(e,S)}else{J.current="high";let e=Math.max(t,w);T(e),l(w,e)}window.addEventListener("pointermove",D),window.addEventListener("pointerup",$)},children:[(0,r.jsx)(p,{}),(0,r.jsx)(h,{low:v?0:M(w),high:M(S),disabled:a}),(0,r.jsxs)(d,{children:[!v&&(0,r.jsx)(s,{position:M(w),onPointerDown:O("low"),disabled:a}),(0,r.jsx)(s,{position:M(S),onPointerDown:O("high"),disabled:a})]}),[i,o].map(e=>{let t=b?Math.floor(Number(e)/1e3):e;return(0,r.jsxs)(x,{position:e===i?"left":"right",children:[g,t,0!==t&&y,e===o&&"+",f?` ${f}`:""]},e)})]})})}},9091:function(e,t,i){"use strict";i.d(t,{X:function(){return l},_:function(){return s}});var r=i(74848),n=i(96540),o=i(89486);let a={text:"",type:o.r.simple,isDismissible:!1,isAutoDismissible:!0,action:{},autoDismissTime:4,bottom:{phone:20,desktop:40}},l=(0,n.createContext)({...a,isOpen:!1,openSnackBar:()=>{},closeSnackBar:()=>{},clearSnackBarState:()=>{}}),s=({children:e})=>{let[t,i]=(0,n.useState)(!1),[s,d]=(0,n.useState)(a),c=(0,n.useCallback)(({text:e="",type:t=o.r.simple,isDismissible:r=!1,isAutoDismissible:n=!0,action:{onClick:a,text:l}={},autoDismissTime:s=4,bottom:c={phone:20,desktop:40}})=>{i(!0),d({text:e,type:t,isDismissible:r,isAutoDismissible:n,action:{onClick:a,text:l||""},autoDismissTime:Math.min(Math.max(s,4),10),bottom:c})},[]),u=(0,n.useCallback)(()=>{i(!1)},[]),p=(0,n.useCallback)(()=>{d(a)},[]);(0,n.useEffect)(()=>{let e;return t&&s.isAutoDismissible&&(e=setTimeout(()=>{u()},1e3*s.autoDismissTime)),()=>{e&&clearTimeout(e)}},[s,u,t]);let h=(0,n.useMemo)(()=>({...s,isOpen:t,openSnackBar:c,closeSnackBar:u,clearSnackBarState:p}),[s,t,c,u,p]);return(0,r.jsx)(l.Provider,{value:h,children:e})}},83968:function(e,t,i){"use strict";i.d(t,{rK:function(){return w.r},Wb:function(){return S},Xj:function(){return C.X}});var r=i(74848),n=i(96540),o=i(87947),a=i(77378),l=i(86066),s=i(14649),d=i(38267),c=i(99701),u=i(24833),p=i(49504),h=i(64608),x=i(91779);let m=d.Ay.div(e=>{let t,i,r,n,o,{$bottom:a,$transitionState:l,$isPhone:s}=e,c=(t=a?.desktop||40,i=a?.phone||20,r=s?i:t,{entering:{transform:`translateY(-${s?i+8:t+8}px)`},entered:{transform:`translateY(-${r}px)`},exiting:{transform:`translateY(${r}px)`},exited:{transform:`translateY(${r}px)`},unmounted:{transform:`translateY(${r}px)`}})[l]||(0,d.AH)([""]),p=(n=a?.desktop||40,o=a?.phone||20,{transform:`translateY(-${s?o:n}px)`,transition:"transform 0.3s ease"});return(0,d.AH)(["position:fixed;width:720px;
8083display:flex;justify-content:center;left:calc(50% - 360px);bottom:0;z-index:1500;pointer-events:none;",";",";"," ",""],p,c,u.A.Tablet`
8084      width: 100%;
8085      left: 0;
8086      padding: 0 32px;
8087    `,u.A.Phone`
8088      width: 100%;
8089      left: 0;
8090      padding: 0 20px;
8091      bottom: 0;
8092    `)}),g=(0,d.Ay)(x.Ay)(["display:flex;align-items:center;justify-content:center;",";color:",";background-color:",";padding:0 14px;height:100%;border-left:1px solid ",";border-radius:0 "," "," 0;&:hover{background-color:",";}",""],p.Ay.Caption,c.Jy.White,c.Jy.Neutral90,c.Jy.Neutral70,c.Kz["2XS"],c.Kz["2XS"],c.Jy.Neutral90,u.A.Phone`
8093    border-left: unset;
8094    width: 100%;
8095    justify-content: flex-end;
8096    padding: 0;
8097  `),y=d.Ay.div(["pointer-events:all;display:flex;justify-content:center;align-items:center;background-color:",";border-radius:8px;color:",";",";"],c.Jy.Neutral90,c.Jy.White,u.A.Phone`
8098    width: 335px;
8099    flex-direction: column;
8100    align-items: flex-start;
8101    padding: ${c.Kz.S};
8102    gap: ${c.Kz.XS};
8103  `),f=d.Ay.div(["display:flex;flex-direction:row;justify-content:center;align-items:center;gap:",";padding:"," ",";",";"],c.Kz["3XS"],c.Kz.XS,c.Kz.S,u.A.Phone`
8104    padding: 0;
8105    align-items: flex-start;
8106  `),b=d.Ay.div(["",";"],p.Ay.Caption),_=d.Ay.div([""]),v=d.Ay.div(["color:",";"],c.Jy.Green50),j=d.Ay.div(["width:24px;height:24px;background-size:contain;margin-right:10px;flex-shrink:0;"]),A=(0,d.Ay)(j)(["background-image:url(",");animation:"," 0.5s infinite linear;"],i(85393),h.ni);var C=i(9091),w=i(89486);let k=({type:e})=>{let t={[w.r.success]:(0,r.jsx)(v,{children:(0,r.jsx)(s.qJ.CircleSuccess,{})}),[w.r.failure]:(0,r.jsx)(s.qJ.CircleError,{}),[w.r.loading]:(0,r.jsx)(A,{}),[w.r.simple]:null};return(0,r.jsx)(_,{children:t[e]})},S=()=>{let{i18n:e}=(0,a.s)(),{isPhone:t}=(0,l.e)(),{isOpen:i,text:s,type:d,isDismissible:c,action:u,bottom:p,closeSnackBar:h,clearSnackBarState:x}=(0,n.useContext)(C.X),_=d??w.r.simple,v=(0,n.useRef)(null);return(0,r.jsx)(o.Ay,{in:i,onExited:x,timeout:{enter:300,exit:300},mountOnEnter:!0,unmountOnExit:!0,nodeRef:v,children:i=>(0,r.jsx)(m,{"data-testid":"snack-bar",$transitionState:i,$bottom:p,$isPhone:t,ref:v,children:(0,r.jsxs)(y,{children:[(0,r.jsxs)(f,{children:[d!==w.r.simple&&(0,r.jsx)(k,{type:_}),(0,r.jsx)(b,{"data-testid":"snack-bar-text",children:s})]}),c&&(0,r.jsx)(g,{onClick:h,children:e.t("builder.resume_editor.dismiss")}),u?.onClick&&u.text&&!c&&(0,r.jsx)(g,{onClick:u.onClick,children:u.text})]})})})}},89486:function(e,t,i){"use strict";i.d(t,{r:function(){return n}});var r,n=((r={}).simple="simple",r.success="success",r.failure="failure",r.loading="loading",r)},75200:function(e,t,i){"use strict";i.d(t,{A:function(){return f}});var r=i(74848),n=i(96540),o=i(33093),a=i(14649),l=i(99701),s=i(38267);let d=s.Ay.button(["width:32px;height:32px;border:none;background-color:transparent;cursor:pointer;padding:4px;border-radius:50%;transition:background-color scale 0.2s ease;&:disabled{cursor:not-allowed;background-color:",";color:",";&:hover{color:",";background-color:",";svg > path{fill:",";stroke:",";}}}&[data-is-connecting='true']{cursor:wait;svg{animation:spin 1s linear infinite;}}@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}svg > path{fill:",";stroke:",";}&:hover{background-color:",";svg > path{fill:",";stroke:",";}}"],l.Jy.Neutral10,l.Jy.Neutral20,l.Jy.Neutral20,l.Jy.Neutral10,l.Jy.Neutral70,l.Jy.Neutral70,l.Jy.Neutral70,l.Jy.Neutral70,l.Jy.Blue10,l.Jy.Blue50,l.Jy.Blue50),c=s.Ay.button(["width:32px;height:32px;border:none;background-color:transparent;cursor:pointer;padding:4px;border-radius:50%;background-color:",";color:",";transition:background-color scale 0.2s ease;&:hover{background-color:",";}"],l.Jy.Neutral10,l.Jy.Neutral70,l.Jy.Neutral20),u=s.Ay.button(["width:32px;height:32px;border:none;background-color:transparent;cursor:pointer;padding:4px;border-radius:50%;background-color:",";color:",";transition:background-color scale 0.2s ease;&:disabled{cursor:not-allowed;background-color:",";color:",";}&:hover{background-color:",";}"],l.Jy.Blue50,l.Jy.White,l.Jy.Neutral10,l.Jy.Neutral20,l.Jy.Blue40),p=s.Ay.div(["width:32px;color:",";text-align:center;font-family:'TT Talent';",";font-style:normal;font-weight:400;"],l.Jy.Neutral90,l.o5.sizes.Tiny),h=s.Ay.div(["display:inline-block;width:100%;height:5px;background:repeating-linear-gradient( to right,#ddd 0px,#ddd 2px,transparent 2px,transparent 6px );background-size:200% 100%;animation:slide 5s linear infinite;@keyframes slide{0%{background-position:0% 0;}100%{background-position:100% 0;}}"]);i(18111),i(7588),i(16573),i(78100),i(77936),i(21903),i(91134),i(28845),i(37467),i(44732),i(79577),i(44114);let x={width:"100%",height:"32px"};i(64979);var m=i(52413);let g=n.createContext(null),y=e=>{let t=function({onFinalTranscript:e}){let t=n.useRef(null),i=n.useRef(null),r=n.useRef(null),a=n.useRef(""),[l,s]=n.useState(""),[d,c]=n.useState(""),[u,p]=n.useState(!1),[h,x]=n.useState(!1),[g,y]=n.useState("");return n.useEffect(()=>{d&&d!==a.current&&(a.current=d,e?.(d+" "))},[d,e]),{isSupported:!0,transcript:d,interimTranscript:l,isListening:u,isConnecting:h,error:g,start:async()=>{try{y(""),x(!0);let{data:e}=await m.A.client.post("https://ssr.resume.tools/openai-realtime-token"),n=e.token;console.log("[OpenAI STT] Connecting to WebSocket...");let a=new WebSocket("wss://api.openai.com/v1/realtime",["realtime",`openai-insecure-api-key.${n}`]);t.current=a,a.onopen=async()=>{console.log("[OpenAI STT] WebSocket connection opened");try{let e=(()=>{try{return(navigator.language||"en-US").split("-")[0]||"en"}catch{return"en"}})();a.send(JSON.stringify({type:"transcription_session.update",input_audio_format:"pcm16",input_audio_transcription:{model:"gpt-4o-transcribe",language:e},turn_detection:{type:"server_vad",threshold:.5,silence_duration_ms:500}}
8106));let t=await navigator.mediaDevices.getUserMedia({audio:!0});r.current=t;let n=new AudioContext({sampleRate:24e3});i.current=n,await n.audioWorklet.addModule("/pcm-processor.js");let o=n.createMediaStreamSource(t),l=new AudioWorkletNode(n,"pcm-processor");l.port.onmessage=e=>{a.send(JSON.stringify({type:"input_audio_buffer.append",audio:btoa(String.fromCharCode(...new Uint8Array(e.data)))}))},o.connect(l),p(!0),x(!1),console.log("[OpenAI STT] Audio streaming started")}catch(t){let e=t instanceof Error?t.message:"Failed to start audio streaming";console.error("[OpenAI STT] Error in onopen:",e),y(e),x(!1),p(!1),(0,o.xP)("transcribtion_error",{message:e})}},a.onmessage=e=>{let t=JSON.parse(e.data);"conversation.item.input_audio_transcription.delta"===t.type&&s(t.delta),"conversation.item.input_audio_transcription.completed"===t.type&&(c(t.transcript),s(""),(0,o.xP)("transcribtion_success"))},a.onerror=e=>{console.error("[OpenAI STT] WebSocket error:",e),y("WebSocket connection error"),x(!1),p(!1),(0,o.xP)("transcribtion_error",{message:"WebSocket error"})},a.onclose=e=>{console.log("[OpenAI STT] WebSocket connection closed",{code:e.code,reason:e.reason}),x(!1),p(!1)}}catch(t){let e=t instanceof Error?t.message:"Failed to start speech recognition";console.error("[OpenAI STT] Error starting:",e),y(e),x(!1),p(!1),(0,o.xP)("transcribtion_error",{message:e})}},stop:()=>{console.log("[OpenAI STT] Stopping..."),r.current?.getTracks().forEach(e=>e.stop()),i.current?.close(),t.current?.close(),p(!1)},discard:()=>{console.log("[OpenAI STT] Discarding transcript"),r.current?.getTracks().forEach(e=>e.stop()),i.current?.close(),t.current?.close(),p(!1),c(""),s(""),a.current=""}}}({onFinalTranscript:e.onTranscript});return(0,r.jsx)(g.Provider,{value:t,children:"function"==typeof e.children?e.children(t):e.children})};y.StartButton=function(e){let t=n.useContext(g);if(!t)throw Error("StartButton needs to be used inside SpeechToTextProvider");return(0,r.jsx)(d,{type:"button",disabled:!t.isSupported,"data-is-connecting":t.isConnecting,...e,onClick:i=>{t.start(),(0,o.xP)("click_record"),e.onClick&&e.onClick(i)},children:t.isConnecting?(0,r.jsx)(a.qJ.Spinner,{}):(0,r.jsx)(a.qJ.Microphone,{})})},y.StopButton=function(e){let t=n.useContext(g);if(!t)throw Error("StopButton needs to be used inside SpeechToTextProvider");return(0,r.jsx)(c,{type:"button",...e,onClick:i=>{t.stop(),(0,o.xP)("recording_finished"),e.onClick&&e.onClick(i)},children:(0,r.jsx)(a.qJ.Close,{})})},y.CompleteButton=function(e){let t=n.useContext(g);if(!t)throw Error("CompleteButton needs to be used inside SpeechToTextProvider");return(0,r.jsx)(u,{type:"button",...e,onClick:i=>{t.stop(),(0,o.xP)("recording_finished"),e.onClick&&e.onClick(i)},children:(0,r.jsx)(a.EK.Check,{})})},y.VoiceVisualiser=n.memo(e=>{let t=function(){let e=n.useRef(null),t=n.useRef(null),i=n.useRef(null),r=n.useRef(null),o=n.useRef(null),a=n.useRef(null),l=n.useRef([]),[s,d]=n.useState(!1),[c,u]=n.useState(!1),[p,h]=n.useState(""),x=async()=>{try{u(!0);let n=e.current;if(!n){h("Canvas not ready"),u(!1);return}if(0===n.width||0===n.height){console.warn("Canvas has zero dimensions, waiting..."),h("Canvas dimensions not ready"),u(!1);return}let s=Math.floor(n.width/5);l.current=Array(s).fill(0);let c=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}});t.current=c;let p=new AudioContext;i.current=p;let x=p.createAnalyser();x.fftSize=256,x.smoothingTimeConstant=.5,r.current=x,p.createMediaStreamSource(c).connect(x);let m=x.frequencyBinCount;o.current=new Uint8Array(m);let g=()=>{if(!r.current||!o.current)return;r.current.getByteFrequencyData(o.current);let t=o.current[20];l.current.shift(),l.current.push(t),(()=>{let t=e.current;if(!t)return;let i=t.getContext("2d");if(!i)return;let r=t.width,n=t.height,o=n/2;i.clearRect(0,0,r,n),l.current.forEach((e,t)=>{let r=Math.max(3,e/255*18);i.fillStyle="#000000",i.fillRect(5*t,o-r/2,2,r)})})(),a.current=requestAnimationFrame(g)};a.current=requestAnimationFrame(g),d(!0),u(!1)}catch(e){h(e.message),d(!1),u(!1)}},m=()=>{a.current&&cancelAnimationFrame(a.current),t.current&&t.current.getTracks().forEac
8106h(e=>e.stop()),i.current?.close(),d(!1)};return n.useEffect(()=>()=>{m()},[]),{canvasRef:e,isLoading:c,isListening:s,error:p,start:x,stop:m}}(),{isActive:i,...o}=e;return(n.useEffect(()=>(i?t.start():t.isListening&&!i&&t.stop(),()=>{t.isListening&&t.stop()}),[i]),t.isLoading)?(0,r.jsx)(h,{}):(0,r.jsx)("canvas",{ref:t.canvasRef,style:x,...o},"voice-visualiser")}),y.ListeningTimer=n.memo(e=>{let t,[i,o]=(0,n.useState)(0);return((0,n.useEffect)(()=>{if(!e.isActive)return void o(0);let t=setInterval(()=>{o(e=>e+1)},1e3);return()=>clearInterval(t)},[e.isActive]),e.isActive||0!==i)?(0,r.jsx)(p,{children:(t=Math.floor(i/60),`${t.toString().padStart(2,"0")}:${(i%60).toString().padStart(2,"0")}`)}):null}),y.displayName="SpeechToText";var f=y},40271:function(e,t,i){"use strict";i.d(t,{hQ:function(){return u},Ml:function(){return h},Qw:function(){return p},b8:function(){return x},Ay:function(){return c},F6:function(){return y},y$:function(){return c}});var r=i(38267),n=i(64608),o=i.p+"media/spinner909aa9f4c7b18268.svg",a=i.p+"media/spinner-black55de51d55ee55678.png",l=i.p+"media/spinner-light86158f4edc0d1d99.png",s=i.p+"media/spinner-whitee867566b0f4c9909.png",d=i.p+"media/spinner-indigob3e5f1844f3b1b49.png";let c=r.Ay.div(["width:",";height:",";background-image:url(",");background-size:100% 100%;background-position:center center;animation:"," 0.6s infinite linear;"],({$width:e})=>e||"32px",({$height:e})=>e||"32px",o,n.ni),u=(0,r.Ay)(c)(["background-image:url(",");"],a),p=(0,r.Ay)(c)(["background-image:url(",");"],l),h=(0,r.Ay)(c)(["background-image:url(",");"],d),x=(0,r.Ay)(c)(["background-image:url(",");"],s);var m=i(74848);let g=r.Ay.div(["display:flex;justify-content:center;align-items:center;height:calc(100vh - var(--top-nav-bar-height,80px));"]),y=()=>(0,m.jsx)(g,{children:(0,m.jsx)(c,{})})},95319:function(e,t,i){"use strict";i.d(t,{qz:function(){return p},TQ:function(){return u}});var r=i(74848),n=i(96540),o=i(25755),a=i(75914),l=i(55588);let s=({suggestion:e,score:t})=>{let{handleSuggestionClick:i}=(0,a.A)(),s=(0,n.useCallback)(()=>{i(e)},[e,i]);return(0,r.jsx)(o.QP,{content:e.text,children:(0,r.jsxs)(l.U_,{onClick:s,$enableHover:!0,$width:39,children:["+",t,"%"]})})};i(18111),i(20116);var d=i(18509),c=i(32606);let u=({sectionName:e})=>{let{suggestions:t}=(0,d.N)(c.Tp.scoreSuggestions),{getSuggestionScore:i}=(0,a.A)(),n=t.find(t=>"section"===t.type&&t.sectionName===e||"profile"===e&&"simpleField"===t.type&&"profile"===t.fieldId);if(!n)return null;let o=i(n);return(0,r.jsx)(s,{suggestion:n,score:o})},p=({fieldId:e,sectionId:t})=>{let{suggestions:i}=(0,d.N)(c.Tp.scoreSuggestions),{getSuggestionScore:n}=(0,a.A)(),o=i.find(i=>"simpleField"===i.type&&i.fieldId===e&&i.sectionId===t);if(!o)return null;let l=n(o);return(0,r.jsx)(s,{suggestion:o,score:l})}},56701:function(e,t,i){"use strict";i.d(t,{A:function(){return k}});var r=i(74848),n=i(96540),o=i(81247),a=i(47767),l=i(14649),s=i(85922),d=i(64961),c=i(91779),u=i(86066),p=i(18509),h=i(16466),x=i(38267),m=i(99701),g=i(24833),y=i(49504);let f=x.Ay.div(["box-shadow:0px 16px 64px -8px rgba(15,20,30,0.32),0px 6px 8px -2px rgba(15,20,30,0.08);display:flex;position:relative;flex-direction:column;align-items:flex-start;width:100%;max-width:544px;background-color:",";border-radius:16px;z-index:999;",";"],m.Jy.White,g.A.Phone`
8107    max-width: 343px;
8108  `);m.Jy.Neutral70,m.Jy.Neutral50;let b=x.Ay.div(["position:absolute;width:28px;height:28px;top:32px;right:32px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";}",";"],m.Jy.Neutral30,m.Jy.White,m.Jy.Blue50,g.A.Phone`
8109    top: 20px;
8110    right: 20px;
8111    padding: 2px;
8112  `),_=x.Ay.div(["display:flex;gap:24px;flex-direction:column;padding:32px;",";"],g.A.Phone`
8113    gap: 16px;
8114    padding: 20px;
8115  `),v=x.Ay.div(["display:flex;gap:8px;flex-direction:column;align-items:flex-start;padding-right:",";",";"],e=>e.isDuplicationLoading?"0":"50px",g.A.Phone`
8116    gap: 4px;
8117  `),j=x.Ay.div(["display:flex;gap:12px;flex-direction:column;align-items:flex-start;",";"],g.A.Phone`
8118    gap: 8px;
8119  `);m.Jy.Indigo10,g.A.Phone`
8120    width: 191px;
8121  `,y.BO.DemiBold,m.Jy.Indigo70,(0,x.Ay)(l.EK.Crown)(["width:24px;height:24px;color:",";"],m.Jy.Indigo70);let A=x.Ay.div(["",";",";padding-bottom:10px;"],y.Ay.S,y.BO.DemiBold),C=x.Ay.div(["color:",";"],m.Jy.Neutral50);g.A.Phone`
8122    gap: 12px;
8123  `,y.Ay.Caps,y.BO.DemiBold,m.Jy.Neutral80,m.Jy.Neutral5,y.Ay.Caption,(0,x.Ay)(l.EK.Tick)(["color:",";"],m.Jy.Green40);let w=x.Ay.div(["display:flex;justify-content:flex-end;
8123gap:8px;"]);var k=({id:e})=>{let{isPhone:t}=(0,u.e)(),i=(0,o.wA)(),x=(0,p.N)(e=>e.panel.duplicationUrl),m=(0,p.N)(e=>e.panel.isDuplicationLoading),g=(0,p.N)(t=>t.panel.trDocuments[e]),y=(0,a.Zp)(),k=(0,n.useCallback)(()=>i(s.o1.closeTREditModal(e)),[i,e]);return(0,n.useEffect)(()=>{x&&(y(x.replace("app","")),i(d.o1.setDuplicationUrl("")),i(s.o1.closeTREditModal(e)))},[x,y,i,e]),(0,r.jsx)(h.A,{onClick:k,overlayFadeDuration:150,contentSlideDuration:150,backgroundOpacity:.4,children:(0,r.jsxs)(f,{children:[(0,r.jsx)(b,{onClick:k,children:(0,r.jsx)(l.qJ.CloseLarge,{})}),(0,r.jsxs)(_,{children:[(0,r.jsxs)(v,{isDuplicationLoading:m,children:[(0,r.jsx)(j,{children:(0,r.jsx)(A,{children:m?"Your document is loading":"Clicking “edit” will automatically duplicate your document."})}),(0,r.jsx)(C,{children:m?"Please double check the information in your document — minor details can be lost during the duplication process.":g?.doc_type==="cover_letter"?"This means potentially losing formatting. Your original document will stay intact. Duplicates will be located in My Cover Letters.":`This means potentially losing quality and formatting. When applying for jobs, we
8124                  recommend using the expert document. Duplicates will be located in My Resumes.`})]}),(0,r.jsxs)(w,{children:[(0,r.jsx)(c.Ay,{theme:"ghost",onClick:k,size:t?c.Mp.small:c.Mp.default,children:"Cancel"}),(0,r.jsx)(c.Ay,{onClick:()=>{i(d.o1.duplicateTRDocument({id:e,docType:g?.doc_type||"resume"}))},size:t?c.Mp.small:c.Mp.default,isLoading:m,isDisabled:m,children:"Duplicate"})]})]})]})})}},39204:function(e,t,i){"use strict";i.d(t,{oz:function(){return r.oz},Ay:function(){return a},tU:function(){return a}});var r=i(17232);i(18111),i(61701);var n=i(74848),o=i(96540);let a=({children:e,Container:t,...i})=>{let a=(0,o.useRef)(null),l=(0,o.useRef)(null),[s,d]=(0,o.useState)(0),[c,u]=(0,o.useState)(0),p=0,h=o.Children.map(e,(e,t)=>(0,o.isValidElement)(e)&&e.props.isActive?(p=t,o.cloneElement(e,{...e.props,ref:l})):e),x=(0,o.useCallback)(()=>{if(!l.current||!a.current)return;let{left:e,width:t}=l.current.getBoundingClientRect();u(e-a.current.getBoundingClientRect().left+a.current.scrollLeft),d(t)},[]);(0,o.useLayoutEffect)(()=>{x()},[p,x,h]),(0,o.useLayoutEffect)(()=>(window.addEventListener("load",x),window.addEventListener("resize",x),()=>{window.removeEventListener("load",x),window.removeEventListener("resize",x)}),[x]);let m=t||r.aW;return(0,n.jsxs)(m,{ref:a,...i,children:[h,!i?.disableSelector&&(0,n.jsx)(r.Bq,{width:s,offset:c})]})}},17232:function(e,t,i){"use strict";i.d(t,{Bq:function(){return l},aW:function(){return o},oz:function(){return a}});var r=i(38267),n=i(99701);let o=r.Ay.div(["position:relative;display:flex;border-bottom:1px solid ",";"],n.Jy.Neutral20),a=r.Ay.div(["color:",";margin-right:24px;padding-bottom:16px;transition:color 0.1s;cursor:pointer;&:last-child{margin-right:0;}&:hover{color:",";}"],e=>e.isActive?n.Jy.Neutral90:n.Jy.Neutral50,e=>e.isActive?n.Jy.Neutral90:n.Jy.Blue50),l=r.Ay.div(["display:",";position:absolute;left:0;bottom:-1px;width:100px;height:2px;background-color:",";transform-origin:0 0;transition:transform 0.3s;transform:",";"],e=>e.width?"block":"none",n.Jy.Blue50,e=>`translateX(${e.offset}px) scaleX(${e.width/100})`)},57119:function(e,t,i){"use strict";i.d(t,{l:function(){return w},A:function(){return C}});var r=i(74848),n=i(96540),o=i(87947),a=i(64861),l=i(38267),s=i(99701),d=i(49504),c=i(24833),u=i(88355);let p=l.Ay.div([""]),h=l.Ay.div(["position:relative;"]),x=l.Ay.div(["position:absolute;bottom:0;left:0;right:0;height:2px;background-color:",";border-radius:0 0 2px 2px;pointer-events:none;",";"],({hasError:e,hasWarning:t})=>e?s.Jy.Red50:t?s.Jy.Amber40:s.Jy.Blue50,e=>({entering:"opacity: 1; transform: scaleX(1); transition: transform 0.1s ease;",entered:"opacity: 1; transform: scaleX(1)",exiting:"opacity: 0; transform: scaleX(1); transition: opacity 0.1s ease;",exited:"opacity: 0; transform: scaleX(0.5)",unmounted:null})[e.in]),m=l.Ay.input(["border-radius:3px;padding-top:12px;padding-bottom:12px;padding-left:",";padding-right:",";width:100%;display:block;caret-color:",";background-color:",";outline:none;border:0;color:",";transition:color 0.1s ease;textarea&{resize:none;}&:disabled{pointer-events:none;color:",";}&::placeholder{color:",";opacity:1;}"],e=>
8124"left"===e.iconPosition?"36px":"16px",e=>"right"===e.iconPosition?"36px":"16px",s.Jy.Blue50,e=>"white"===e.inputTheme?s.Jy.White:s.Jy.Neutral10,s.Jy.Neutral90,s.Jy.Neutral50,s.Jy.Neutral40),g=l.Ay.span(["position:absolute;",":8px;top:50%;transform:translateY(-50%);color:",";pointer-events:none;& svg{display:block;}"],e=>e.iconPosition,s.Jy.Blue50),y=l.Ay.div(["display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:6px;"]),f=l.Ay.div(["display:flex;gap:4px;align-items:center;"]),b=l.Ay.label(["display:flex;align-items:center;",";color:",";"],d.Ay.Caption,({hasError:e})=>e?s.Jy.Red50:s.Jy.Neutral50),_=l.Ay.div(["display:inline-block;"]),v=(0,l.Ay)(u.Y)(["margin-left:6px;",";"],c.A.Tablet`
8125    display: none;
8126  `),j=l.Ay.span(["color:",";"],s.Jy.Red50),A=({className:e,active:t,label:i,hint:l,hintIcon:s,tagName:d,inputTheme:c="default",inputIcon:u=null,inputIconPosition:A="left",error:C,errorNoMsg:w=!1,warning:k,description:S,onFocus:T=()=>{},onBlur:P=()=>{},required:J,badges:E,errorDataTestId:R,...L},N)=>{let[I,M]=(0,n.useState)(!1),B=(0,n.useRef)(null),D=(0,n.useRef)(null),$=!!C||w,O=!!k,z=!L.readOnly&&(I||t||$||O);(0,n.useImperativeHandle)(N,()=>B.current);let F=(0,n.useCallback)(e=>{T(e),M(!0)},[T]),H=(0,n.useCallback)(e=>{P(e),M(!1)},[P]);return(0,n.useEffect)(()=>{I||B.current!==document.activeElement||B.current?.focus()},[I]),(0,r.jsxs)(p,{className:e,children:[i&&(0,r.jsxs)(y,{children:[(0,r.jsx)(b,{hasError:$,style:{alignItems:"center",justifyContent:"space-between"},children:(0,r.jsxs)("span",{style:{alignItems:"center"},children:[(0,r.jsx)(_,{children:i}),J&&(0,r.jsx)(j,{children:" *"}),l&&!E&&(0,r.jsx)(v,{multiline:!0,icon:s,children:l})]})}),E&&(0,r.jsx)(f,{children:E})]}),(0,r.jsxs)(h,{children:[(0,r.jsx)(m,{...L,as:d??"input",ref:B,onFocus:F,onBlur:H,inputTheme:c,iconPosition:null===u?void 0:A}),u&&(0,r.jsx)(g,{iconPosition:A,children:u}),(0,r.jsx)(o.Ay,{in:z,timeout:100,nodeRef:D,children:e=>(0,r.jsx)(x,{in:e,hasError:$,hasWarning:O,ref:D})})]}),(0,r.jsx)(a.X,{error:C,warning:k,description:S,dataTestId:R})]})},C=(0,n.forwardRef)(A),w=(0,n.forwardRef)((e,t)=>A({...e,tagName:"textarea"},t))},25963:function(e,t,i){"use strict";i.d(t,{l:function(){return h}});var r=i(74848),n=i(96540),o=i(38267),a=i(99701),l=i(49504),s=i(67592);let d=o.Ay.div(["flex:0 0 30px;width:30px;height:18px;border-radius:9px;transition:background-color 0.14s ease;background-color:",";margin-right:12px;position:relative;"," "," ",""],a.Jy.Neutral20,e=>e.theme.checked&&(0,o.AH)(["background-color:",";"],e.theme.style?.checked?.default||a.Jy.Blue50),e=>
8126e.theme.invalid&&(0,o.AH)(["background-color:",";"],e.theme.style?.invalid?.default||a.Jy.Red50),e=>e.theme.disabled&&(0,o.AH)(["background-color:",";"],e.theme.style?.disabled?.default||a.Jy.Neutral30)),c=o.Ay.label(["",";display:flex;align-items:center;justify-content:flex-start;user-select:none;cursor:",";&:hover ","{background-color:",";"," "," ","}"],l.Ay.Caption,e=>e.theme.disabled?"not-allowed":"pointer",d,a.Jy.Neutral30,e=>e.theme.checked&&(0,o.AH)(["background-color:",";"],e.theme.style?.checked?.hover||a.Jy.Blue70),e=>e.theme.invalid&&(0,o.AH)(["background-color:",";"],e.theme.style?.invalid?.hover||a.Jy.Red60),e=>e.theme.disabled&&(0,o.AH)(["background-color:",";"],e.theme.style?.disabled?.hover||a.Jy.Neutral30)),u=o.Ay.div(["",";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:7px;background-color:",";transition:transform 0.14s ease;transform:translateX(","px);"],s.A.light.low,e=>e.theme.disabled?a.Jy.Neutral15:a.Jy.White,e=>12*!!e.theme.checked),p=o.Ay.input(["appearance:none;width:0;height:0;overflow:hidden;opacity:0;position:absolute;"]),h=n.forwardRef(({label:e,onChange:t,tabIndex:i,checked:a=!1,invalid:l=!1,disabled:s=!1,testId:h,isControlled:x=!1,style:m,...g},y)=>{let[f,b]=(0,n.useState)(a);return(0,n.useEffect)(()=>{b(a)},[a]),(0,r.jsx)(o.NP,{theme:{disabled:s,checked:f,invalid:l,style:m},children:(0,r.jsxs)(c,{"data-testid":h,children:[(0,r.jsx)(p,{disabled:s,tabIndex:i,type:"checkbox",onChange:e=>{t&&t(e),x||b(!f)},checked:f,ref:y,...g}),(0,r.jsx)(d,{children:(0,r.jsx)(u,{})}),e]})})})},45112:function(e,t,i){"use strict";i.d(t,{l:function(){return r.l}});var r=i(25963);t.A=r.l},41295:function(e,t,i){"use strict";i.d(t,{m:function(){return g},A:function(){return y}});var r=i(74848),n=i(96540),o=i(38267),a=i(99701),l=i(49504),s=i(67592);let d=(e,t)=>{if("top"===t||"bottom"===t)return`translateY(${"top"===t?`-${e}px`:`${e}px`})`},c=e=>`translateX(${"center"===e?"-50%":0})`,u=o.Ay.div(["",";",";font-weight:400;letter-spacing:0.3px;white-space:",";position:absolute;color:",";padding:8px 12px;width:",";border-radius:4px;background-color:",";user-select:none;pointer-events:none;opacity:0;transition:opacity 0.1s ease-in-out,transform 0.1s ease-in-out;transform:",";",";",";",";",";"," ",""],l.Ay.Caption,s.q.dark.mid,e=>e.theme.multiline?"normal":"nowrap",a.Jy.White,e=>e.theme.multiline?e.theme.width||"200px":"auto",a.Jy.Neutral90,e=>d(8,e.theme.position),e=>`${"top"===e.theme.position?"bottom":"top"}: 100%`,e=>"center"===e.theme.align&&(0,o.AH)(["left:50%;transform:",";"],e=>`${d(8,e.theme.position)} ${c(e.theme.align)}`),e=>"left"===e.theme.align&&(0,o.AH)(["left:","px;"],e.theme.offset??0),e=>"right"===e.theme.align&&(0,o.AH)(["right:","px;"],e.theme.offset??0),e=>"right"===e.theme.position&&(0,o.AH)(["bottom:initial;top:50%;transform:translateY(-50%) translateX(calc(100% + 8px));"]),e=>
8126"left"===e.theme.position&&(0,o.AH)(["bottom:initial;left:initial;top:50%;transform:translateY(-50%) translateX(calc(-100% - 8px));"])),p=o.Ay.div(["position:relative;&:hover,&:focus-within{","{opacity:1;transform:",";",";",";}}"],u,e=>`${d(16,e.theme.position)} ${c(e.theme.align)}`,e=>"right"===e.theme.position&&(0,o.AH)(["transform:translateY(-50%) translateX(calc(100% + 16px));"]),e=>"left"===e.theme.position&&(0,o.AH)(["transform:translateY(-50%) translateX(calc(-100% - 16px));"])),h=(0,o.Ay)(e=>(0,r.jsx)("svg",{width:"24",height:"8",viewBox:"0 0 24 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M24 0V0.00171492C22.8155 0.00840678 22.1125 0.0412078 21.5083 0.201989C20.8354 0.381051 20.1934 0.676253 19.607 1.07629C18.9455 1.52754 18.3834 2.15794 17.2593 3.41875L15.186 5.74412C14.0745 6.99082 13.5187 7.61417 12.8735 7.84668C12.3063 8.05111 11.6932 8.05111 11.1259 7.84668C10.4808 7.61417 9.92499 6.99082 8.81344 5.74412L6.74016 3.41875C5.61604 2.15794 5.05398 1.52754 4.39247 1.07629C3.80606 0.676255 3.16409 0.381053 2.49116 0.201991C1.90672 0.0464747 1.19182 0.0106943 1.9813e-10 0.00246231L0 2.2739e-06L24 0Z",fill:"currentColor"})}))(["position:absolute;"," "," "," "," "," "," ",""],e=>"top"===e.theme.position&&(0,o.AH)(["left:50%;color:",";top:100%;transform:translate(-50%,0);"],a.Jy.Neutral90),e=>"right"===e.theme.position&&(0,o.AH)(["bottom:initial;top:50%;right:calc(100% - 8px);left:initial;transform:translateY(-50%) rotate(90deg);"]),e=>
8126"left"===e.theme.position&&(0,o.AH)(["bottom:initial;top:50%;left:calc(100% - 8px);right:initial;transform:translateY(-50%) rotate(270deg);"]),e=>"bottom"===e.theme.position&&(0,o.AH)(["transform:translate(-50%,0.2px) rotate(180deg);bottom:100%;top:auto;color:",";"],a.Jy.Neutral90),e=>"left"===e.theme.align&&(0,o.AH)(["left:20px;"]),e=>"right"===e.theme.align&&(0,o.AH)(["right:20px;left:auto;"]),e=>"center"===e.theme.align&&(0,o.AH)(["left:50%;"])),x=()=>(0,r.jsx)(h,{});var m=i(36830);let g=({value:e="",multiline:t=!1,position:i="top",align:n="center",width:a,zIndex:l=10,textAlign:s="left",children:d,offset:c,...h})=>{let g=(0,m.g)(e);return(0,r.jsx)(o.NP,{theme:{position:i,align:n,multiline:t,offset:c},children:(0,r.jsxs)(p,{...h,children:[(0,r.jsxs)(u,{style:{textAlign:s,zIndex:l,width:a},children:[g,(0,r.jsx)(x,{})]}),d]})})};var y=n.memo(g)},19195:function(e,t,i){"use strict";i.d(t,{Q:function(){return p}});var r=i(74848),n=i(96540),o=i(36830),a=i(38267),l=i(20001);i(49091);var s=i(99701),d=i(49504),c=i(67592);let u=(0,a.Ay)(l.A)(["",";",";",";letter-spacing:0.3px;white-space:",";width:",";color:",";background-color:",";border-radius:4px;z-index:1201;",";.tippy-content{padding:8px 12px;}.tippy-arrow{color:",";}.tippy-box[data-placement^='top'] .tippy-arrow::before{border-top-color:",";}.tippy-box[data-placement^='bottom'] .tippy-arrow::before{border-bottom-color:",";}.tippy-box[data-placement^='left'] .tippy-arrow::before{border-left-color:",";}.tippy-box[data-placement^='right'] .tippy-arrow::before{border-right-color:",";}"],d.Ay.Caption,c.A.dark.mid,d.BO.Regular,e=>e.$isMultiline?"normal":"nowrap",e=>e.$isMultiline?`${e.$width??200}px`:"auto",s.Jy.White,s.Jy.Neutral90,e=>e.$textAlign&&(0,a.AH)(["text-align:",";"],e.$textAlign),s.Jy.Neutral90,s.Jy.Neutral90,s.Jy.Neutral90,s.Jy.Neutral90,s.Jy.Neutral90),p=(0,n.memo)(e=>{let{value:t="",multiline:i=!1,width:n,textAlign:a="left",children:l,position:s="top",isActive:d=!0,...c}=e,p=(0,o.g)(t);return d?(0,r.jsx)(u,{maxWidth:n,content:p,placement:s,$isMultiline:i,$textAlign:a,$width:n,zIndex:c.zIndex||13e3,...c,children:l}):l||null})},24976:function(e,t,i){"use strict";i.d(t,{Q:function(){return r.Q}});var r=i(19195)},25755:function(e,t,i){"use strict";i.d(t,{QP:function(){return n.Q},m_:function(){return r.m}});var r=i(41295),n=i(24976);t.Ay=r.m},36830:function(e,t,i){"use strict";i.d(t,{g:function(){return n}}),i(18111),i(61701);var r=i(74848);let n=e=>"string"!=typeof e?e:e.split("\n").map((e,t)=>e.length>0?(0,r.jsx)("div",{children:e},t):(0,r.jsx)("br",{},t))},88355:function(e,t,i){"use strict";i.d(t,{Y:function(){return d}});var r=i(74848),n=i(38267),o=i(99701),a=i(25755),l=i(14649);let s=(0,n.Ay)(a.Ay)(["display:inline-block;width:16px;height:16px;color:",";transition:color 0.1s ease;cursor:pointer;&:hover{color:",";}& > svg{display:block;width:100%;height:100%;}"],o.Jy.Blue50,o.Jy.Blue70),d=({icon:e,children:t,...i})=>(0,r.jsx)(s,{value:t,...i,children:e||(0,r.jsx)(l.Ay.HintOutlined,{})})},19282:function(e,t,i){"use strict";i.d(t,{A:function(){return k}});var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(85922),s=i(16466),d=i(91779),c=i(86066),u=i(77378),p=i(38267),h=i(99701),x=i(24833),m=i(14649),g=i(49504);let y=p.Ay.div(["max-width:544px;background:",";border-radius:16px;position:relative;",""],h.Jy.White,x.A.Phone`
8127    border-radius: 12px;
8128  `),f=p.Ay.img(["width:100%;border-radius:16px 16px 0 0;",""],x.A.Phone`
8129    border-radius: 12px 12px 0 0;
8130  `),b=p.Ay.div(["padding:32px;",""],x.A.Phone`
8131    padding: 20px;
8132  `),_=p.Ay.div(["",";width:fit-content;padding:4px 12px;border-radius:40px;margin-bottom:12px;color:",";background:",";"],g.BO.DemiBold,h.Jy.Neutral60,h.Jy.Neutral10),v=p.Ay.div(["",";",";margin-bottom:8px;",""],g.Ay.S,g.BO.DemiBold,x.A.Phone`
8133    margin-bottom: 4px;
8134  `),j=p.Ay.div(["color:",";margin-bottom:24px;",""],h.Jy.Neutral50,x.A.Phone`
8135    margin-bottom: 20px;
8136  `),A=p.Ay.div(["width:100%;display:flex;justify-content:flex-end;"]),C=(0,p.Ay)(m.Ay.Close)(["color:",";"],h.Jy.Neutral50),w=p.Ay.div(["width:28px;height:28px;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;position:absolute;top:32px;right:32px;background:",";&:hover ","{color:",";}",""],h.Jy.White,C,h.Jy.Blue50,x.A.Phone`
8137    top: 20px;
8138    right: 20px;
8139  `);var k=({text:e,title:t,visual:i,eventName:p,trackingLabel:h,onClose:x})=>{let m=(0,o.wA)(),{isPhone:g}=(0,c.e)(),{i18n:k}=(0,u.s)(),S=(0,n.useCallback)(()=>{x?x():m(l.o1.setShowUpcomingCareersModal(!1)),p&&h&&(0,a.xP)(p,{label:h})},[m,p,x,h]);return(0,r.jsx)(s.A,{onClick:S,overlayFadeDuration:150,contentSlideDuration:150,children:(0,r.jsxs)(y,{children:[(0,r.jsx)(w,{onClick:S,children:(0,r.jsx)(C,{})}),(0,r.jsx)(f,{src:i}),(0,r.jsxs)(b,{children:[(0,r.jsx)(_,{children:k.t("builder.dashboard.service_data.comming_soon")}),(0,r.jsx)(v,{children:t}),(0,r.jsx)(j,{children:e}),(0,r.jsx)(A,{children:(0,r.jsx)(d.Ay,{onClick:S,size:g?d.Mp.small:d.Mp.default,children:"Got It"})})]})]})})}},91558:function(e,t,i){"use strict";i.d(t,{j:function(){return u},y:function(){return p}}),i(18111),i(20116);var r=i(74848),n=i(96540),o=i(55030),a=i(10494),l=i(18509),s=i(10364);let d={},c=(0,s.g)(),u=(0,n.createContext)({resume:null,updateResumeFields:()=>{},showEmailRequiredError:0,shouldFocusEmailField:0,setShowEmailRequiredError:()=>{},setShouldFocusEmailField:()=>{},toggleEmailRequiredError:()=>{},resetResume:()=>{},setFileForPrefill:()=>{},fileForPrefill:null,tailorJobUrl:null,setTailorJobUrl:()=>{}}),p=e=>{let{children:t}
8139=e,[i,s]=(0,o.M)("GUEST_EDITOR_RESUME",d),[p,h]=(0,n.useState)(0),[x,m]=(0,n.useState)(0),[g,y]=(0,n.useState)(null),[f,b]=(0,n.useState)(null),_=(0,l.N)(a.Tp.resumeTemplates),v=i.template??c.template,j=_.find(e=>e.id===v)??_[0],A=(0,n.useMemo)(()=>j?{...c,...i,templateConfig:j}:null,[j,i]),C=(0,n.useCallback)(e=>{s(t=>({...t,...e}))},[s]),w=(0,n.useCallback)(()=>{i.email||h(Math.random()+1),m(Math.random()+1)},[i.email]),k=(0,n.useCallback)(e=>{s({...d,...e})},[s]),S=(0,n.useMemo)(()=>({resume:A,updateResumeFields:C,showEmailRequiredError:p,setShowEmailRequiredError:h,setShouldFocusEmailField:m,toggleEmailRequiredError:w,resetResume:k,shouldFocusEmailField:x,fileForPrefill:g,setFileForPrefill:y,tailorJobUrl:f,setTailorJobUrl:b}),[A,C,p,w,k,x,g,f]);return(0,r.jsx)(u.Provider,{value:S,children:t})}},90811:function(e,t,i){"use strict";i.d(t,{CY:function(){return _},Ru:function(){return a.a},gJ:function(){return b}}),i(44114),i(18111),i(61701),i(22489),i(7588);var r=i(74848),n=i(96540),o=i(94112),a=i.n(o),l=i(63375),s=i.n(l),d=i(63560),c=i.n(d),u=i(49012),p=i(69352),h=i(18509);i(28363);var x=i(98640),m=i(69685),g=i(91558);a().defaultLocale="en",a().fallbacks=!0;let y=(e,t)=>`${e}.${t}`;class f extends Error{constructor(e,t,i){super(`Failed to load "${y(e,t)}" translations`,{cause:i}),this.name="TranslationsFetchingError"}}a().missingTranslation=e=>(y(a().locale,e),"");let b=n.createContext({i18n:a()}),_=({children:e})=>{let t=(0,h.N)(p.Tp.locale),i=(0,h.N)(e=>e.user.data?.locale)||t,{isEditPage:o,isCoverLetterEditor:l,isGuestResumeEditor:d}=(0,x.c)(),_=(0,h.N)(e=>p.Tp.config(e,p.l1.app)),v=_?.features.languageSwitcher,j=(0,h.N)(p.Tp.resumeLocale)||i,A=(0,h.N)(p.Tp.coverLetterLocale)||i,C=(0,n.useContext)(g.j).resume?.locale||i,w=l?A:d?C:j,[k,S]=(0,n.useState)(i),[T,P]=(0,n.useState)({}),[J,E]=(0,n.useState)({});(0,n.useEffect)(()=>{!o&&i&&(a().locale=i,(0,m.xS)(i),S(i))},[i,o]),(0,n.useEffect)(()=>{if(o){let e=v?i:w;e&&(a().locale=e,(0,m.xS)(e),S(e))}},[i,w,o,v]);let R=(0,n.useCallback)(e=>!!k&&T[y(k,e)],[k,T]),L=(0,n.useCallback)(e=>!!k&&J[y(k,e)],[k,J]),N=(0,n.useCallback)(e=>!!w&&T[y(w,e)],[w,T]),I=(0,n.useCallback)(e=>!!w&&J[y(w,e)],[w,J]),M=(0,n.useCallback)(async e=>{if(k)try{var t;let i=s()([k,a().defaultLocale,...w?[w]:[]]);for(let t of i){let r=y(t,e),n=J[r],o=T[r];n||o?i=i.filter(e=>e!==t):E(e=>({...e,[r]:!0}))}(await (t=i,Promise.all(t.map(t=>u.uE.get(`/translations/${t}/${e}`).then(e=>[t,e.data]))))).forEach(([t,i])=>{let r=y(t,e);c()(a().translations,r,i),P(e=>({...e,[r]:!0})),E(e=>({...e,[r]:!1}))})}catch(t){throw new f(k,e,t)}},[k,w,J,T]),B=(0,n.useMemo)(()=>({i18n:a(),isScopeLoaded:R,loadScope:M,isEditorScopeLoaded:N,isScopeLoading:L,isEditorScopeLoading:I}),[R,M,N,L,I]);return(0,r.jsx)(b.Provider,{value:B,children:e})}},58918:function(e,t,i){"use strict";i.d(t,{H1:function(){return p},Q5:function(){return x},Tq:function(){return h},Ww:function(){return u},_6:function(){return d},ed:function(){return s},li:function(){return c},tg:function(){return a},yi:function(){return o},zF:function(){return l}}),i(18111),i(61701),i(20116),i(18237);var r=i(19611);let n=e=>e?.type==="multiselect"||e?.type==="select"&&e?.multiple===!0,o=e=>e?.type==="checkbox",a=e=>e?.optionsKind==="closed"&&(e?.options?.length??0)>0,l=e=>n(e)&&a(e),s=e=>e.label||e.value,d=(e=[])=>e.map(e=>({value:e.value,label:s(e)})),c=(e,t)=>{let i=(0,r.Q)(e??"").trim();return l(t)?i?i.split(", ").map(e=>{let i=t?.options?.find(t=>t.value===e||s(t)===e);return i?{value:i.value,label:s(i)}:{value:e,label:e}}):[]:o(t)?"true"===i.toLowerCase()||"yes"===i.toLowerCase():i},u=(e,t)=>Array.isArray(e)?e.map(e=>e.value).join(", "):o(t)||"boolean"==typeof e?e?"true":"false":(0,r.Q)(String(e??"")).trim(),p=(e,t)=>Array.isArray(e)?e.length>0:!!o(t)||(0,r.Q)(String(e??"")).trim().length>0,h=(e,t,i,a)=>{let l=(0,r.Q)(e??"").trim();if(!l)return"";if(o(t)){let e=l.toLowerCase();return"true"===e||"yes"===e?i:"false"===e||"no"===e?a:l}if(n(t))return l.split(", ").map(e=>{let i=t?.options?.find(t=>t.value===e);return i?s(i):e}).join(", ");let d=t?.options?.find(e=>e.value===l);return d?s(d):l},x=(e,t)=>e.reduce((e,i)=>(e[i.id]=u(t[i.id],i.field),e),{})},35130:function(e,t,i){"use strict";i.d(t,{c:function(){return s}}),i(18111),i(22489),i(61701);var r=i(96540),n=i(63064),o=i(9421),a=i(49012);let l=["job-cards-daily-recommendations"],s=(e=!0)=>{let t=(0,n.jE)(),i=async()=>(await a.R3.get("job-cards/daily-recommendations")).data,s=(0,o.I)({queryKey:l,queryFn:i,useErrorBoundary:!1,enabled:e,refetchOnMount:"always"}),d=(0,r.useCallback)(e=>{t.setQueryData(l,t=>{if(!t)return t;let i=t.data.filter(t=>t.id!==e);return i.length===t.data.length?t:{...t,data:i,total:Math.max(t.total-1,0)}})},[t]);return{...s,reviewQueueIds:s.data?.data.map(e=>e.id)||[],removeFromReviewQueue:d}}},46385:function(e,t,i){"use strict";i.d(t,{c:function(){return o}});var r=i(9421),n=i(49012);let o=e=>{let t=async()=>(await n.R3.get(`/job-cards/${e.jobId}`)).data;return(0,r.I)({queryKey:["job-card-poll",e.jobId],queryFn:t,refetchInterval:e=>!!e&&"processing"===e.autoTailoringStatus&&5e3,useErrorBoundary:!1,enabled:e.enabled&&!!e.jobId,onSuccess:e.onSuccess})}},83452:function(e,t,i){"use strict";i.d(t,{R:function(){return a}});var r=i(81247),n=i(20023),o=i(35130);let a=()=>{let e=(0,r.wA)(),{data:t}=(0,o.c)();return async()=>{let[i]=t?.data??[];i?.id!=null&&e(n.o1.setModal({key:"applicationDrawer",data:{id:i.id,source:"queue"}}))}}},89401:function(e,t,i){"use strict";i.d(t,{b:function(){return o}});var r=i(96230),n=i(49012);let o=e=>{let t=async t=>(await n.R3.patch(`/job-cards/${e}/document-overwrite`,t)).data;return(0,r.n)({mutationKey:["replace-resume-job-card",e],mutationFn:t,useErrorBoundary:!1})}},49967:function(e,t,i){"use strict";i.d(t,{hV:function(){return nz},fb:function(){return n3},D0:function(){return nY},uH:function(){return nG}}),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(18111),i(22489);var r,n=i(74848),o=i(96540),a=i(49785),l=i(81247),s=i(97248),d=i(99701),c=i(14649),u=i(86066),p=i(77378),h=i(18509),x=i(20023),m=i(13807),g=i(85922),y=i(85261),f=i(63833),b=i(98186),_=i(4
81396904);let v="builder.auto_apply_copilot.job_application_drawer.status",j=[x.Sy.applied,x.Sy.interview,x.Sy.offer,x.Sy.rejected],A=["error","auto_tailoring_failed","no_application_made"],C=(e,t,i,r)=>{let n=(0,x.nU)(t,i),o={badgeLabel:e(n.labelKey),tone:n.tone},a={banner:{title:e(`${v}.applied_banner_title`)},documentHint:e(`${v}.applied_document_hint`)};return"auto_applied"===i?{...o,locked:!0,needsInfo:!1,footerMode:"deleteOnly",...a}:t===x.Sy.auto_apply?"information_required"===i?{...o,locked:!0,needsInfo:!0,footerMode:"needsInfo",banner:{title:e(`${v}.needs_info_banner_title`),description:e(`${v}.needs_info_banner_description`)},documentHint:e(`${v}.needs_info_document_hint`)}:A.includes(i)?{...o,locked:!0,needsInfo:!1,footerMode:"deleteOnly"}:{...o,locked:!0,needsInfo:!1,footerMode:"none",banner:{title:e(`${v}.in_progress_banner_title`)},documentHint:e(`${v}.in_progress_document_hint`)}:t&&j.includes(t)?{...o,locked:!0,needsInfo:!1,footerMode:"deleteOnly",...a}:r?{badgeLabel:e(`${v}.expired`),tone:"expired",locked:!1,needsInfo:!1,footerMode:"full"}:{...o,locked:!1,needsInfo:!1,footerMode:"full"}},w=(0,o.createContext)(null),k=({status:e,autoApplyStatus:t,expiredAt:i,children:r})=>{let{i18n:o}=(0,p.s)();return(0,n.jsx)(w.Provider,{value:C(o.t,e,t,i),children:r})},S=()=>{let{i18n:e}=(0,p.s)();return(0,o.useContext)(w)??C(e.t)};var T=i(38267),P=i(24833);let J={ready:{background:d.Jy.Blue10,color:d.Jy.Blue50,dot:d.Jy.Blue50},inProgress:{background:d.Jy.Indigo10,color:d.Jy.Indigo50,dot:d.Jy.Indigo50},applied:{background:d.Jy.Green10,color:d.Jy.Green50,dot:d.Jy.Green50},error:{background:d.Jy.Red10,color:d.Jy.Red50,dot:d.Jy.Red50},neutral:{background:d.Jy.Neutral10,color:d.Jy.Neutral50,dot:d.Jy.Neutral50},expired:{background:d.Jy.Amber10,color:d.Jy.Amber50,dot:d.Jy.Amber50}},E=T.Ay.header(["display:flex;flex-direction:column;gap:",";padding:"," "," ",";"],d.Kz.S,d.Kz.L,d.Kz.L,d.Kz.M),R=T.Ay.div(["display:flex;gap:20px;"]),L=T.Ay.div(["align-self:flex-start;width:52px;"]),N=T.Ay.div(["display:flex;flex-direction:column;flex:1;min-width:0;gap:",";"],d.Kz["3XS"]),I=T.Ay.div(["display:flex;align-items:center;gap:",";"],d.Kz.S),M=T.Ay.span(["",";color:",";"],d.o5.sizes.Body,d.Jy.Neutral50),B=T.Ay.button(["all:unset;cursor:text;",";color:",";border-radius:4px;padding:2px 4px;margin-left:-4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;&:hover{background-color:",";}"],d.o5.sizes.Body,d.Jy.Neutral50,d.Jy.Neutral10),D=T.Ay.input(["",";color:",";border:none;outline:none;border-radius:4px;padding:2px 4px;margin-left:-4px;max-width:100%;background-color:",";&:focus{background-color:",";}"],d.o5.sizes.Body,d.Jy.Neutral50,d.Jy.Neutral10,d.Jy.Neutral15),$=T.Ay.div(["display:flex;flex-direction:column;"]),O=T.Ay.span(["display:inline-flex;align-items:center;gap:",";padding:"," ",";border-radius:",";background-color:",";color:",";",";font-weight:",";&::before{content:'';width:5px;height:5px;border-radius:50%;background-color:",";}"],d.Kz["3XS"],d.Kz["4XS"],d.Kz["2XS"],d.Kz["3XS"],({$tone:e})=>J[e].background,({$tone:e})=>J[e].color,d.o5.sizes.Caption,d.o5.weights.medium,({$tone:e})=>J[e].dot),z=T.Ay.h2(["",";font-weight:",";color:",";margin:0;"],d.o5.sizes.Subhead,d.o5.weights.demibold,d.Jy.Neutral100),F=T.Ay.div(["display:flex;flex-wrap:wrap;align-items:center;gap:",";",";color:",";svg{color:",";}"],d.Kz.S,d.o5.sizes.Caption,d.Jy.Neutral50,d.Jy.Neutral50),H=T.Ay.a(["margin-left:auto;display:inline-flex;align-items:center;gap:",";color:",";",";font-weight:",";cursor:pointer;text-decoration:none;&:hover{color:",";}svg{color:",";}",""],d.Kz["3XS"],d.Jy.Blue50,d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Blue60,d.Jy.Blue50,P.A.Phone`
8140    display: none;
8141  `),V="builder.auto_apply_copilot.job_application_drawer",U=({job:e})=>{let t=(0,l.wA)(),{i18n:i}=(0,p.s)(),[r,a]=(0,o.useState)(!1),[s,d]=(0,o.useState)(e.company??""),c=(0,o.useRef)(!1);(0,o.useEffect)(()=>{d(e.company??"")},[e.company,e.id]);let u=i.t(`${V}.header.company_placeholder`);return r?(0,n.jsx)(D,{autoFocus:!0,value:s,placeholder:u,onChange:e=>d(e.target.value),onBlur:()=>{if(c.current){c.current=!1;return}a(!1);let i=s.trim();i!==(e.company??"")&&t(x.o1.editJobRequest({id:e.id,company:i}))},onKeyDown:t=>{"Enter"===t.key?(t.preventDefault(),t.currentTarget.blur()):"Escape"===t.key&&(c.current=!0,d(e.company??""),a(!1))},"data-testid":"job-drawer-company-input"}):(0,n.jsx)(B,{type:"button",onClick:()=>a(!0),"data-testid":"job-drawer-company-edit",children:e.company||u})}
8141,W=({job:e,applyManually:t})=>{let{i18n:i}=(0,p.s)(),{badgeLabel:r,tone:o,locked:a}=C(i.t,e.status,e.autoApplyStatus,e.expiredAt),l=!e.externalSlugId;return(0,n.jsx)(E,{children:(0,n.jsxs)(R,{children:[(0,n.jsx)(L,{children:(0,n.jsx)(b.A,{src:e.logo||void 0,alt:e.company||e.title||"",size:52,borderRadius:"10px"})}),(0,n.jsxs)(N,{children:[(0,n.jsxs)($,{children:[(0,n.jsxs)(I,{children:[l&&!a?(0,n.jsx)(U,{job:e}):(0,n.jsx)(M,{children:e.company}),(0,n.jsx)(O,{$tone:o,children:r})]}),(0,n.jsx)(z,{children:e.title})]}),(0,n.jsxs)(F,{children:[(0,n.jsx)(_.aZ,{job:{location:e.location}}),t&&(0,n.jsxs)(H,{onClick:t,children:[i.t(`${V}.header.apply_manually`),(0,n.jsx)(c.qJ.ExternalLink,{})]})]})]})]})})};var K=i(91779),q=i(25755);let G=T.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:",";padding:"," ",";border-top:1px solid ",";background-color:",";",""],d.Kz.M,d.Kz.XS,d.Kz.L,d.Jy.Neutral15,d.Jy.White,P.A.Phone`
8142    gap: ${d.Kz["2XS"]};
8143    padding: ${d.Kz.XS} ${d.Kz.M};
8144    flex-direction: column-reverse;
8145  `),Z=T.Ay.p(["",";color:",";margin:0;"],d.o5.sizes.Caption,d.Jy.Neutral50),X=T.Ay.span(["font-weight:",";color:",";"],d.o5.weights.medium,d.Jy.Neutral90),Q=T.Ay.div(["display:flex;align-items:center;gap:",";",""],d.Kz.XS,P.A.Phone`
8146    width: 100%;
8147  `),Y=T.Ay.strong(["font-weight:",";"],d.o5.weights.demibold),ee=T.Ay.div(["flex:1;display:inline-flex;"]),et="builder.auto_apply_copilot.job_application_drawer.footer",ei=({creditsRemaining:e,drawerPlacement:t,isSubmitting:i,isSkipping:r,skipLabel:a,submitLabel:l,isSubmitDisabled:s=!1,submitDisabledTooltip:d,showMeta:
8147h=!0,showSkip:x=!0,showSubmit:m=!0,showTooltip:g=!0,onSubmit:y,onSkipAndRemove:f})=>{let{i18n:b}=(0,p.s)(),{hover:_}=(0,u.e)(),[v,j]=(0,o.useState)(!1),A=s&&!!d,C=x&&"jobTracking"===t;return((0,o.useEffect)(()=>{if(!g||!_)return;let e=setTimeout(()=>j(!0),400);return()=>clearTimeout(e)},[g,_]),m||C)?(0,n.jsxs)(G,{children:[h&&m&&(0,n.jsxs)(Z,{children:[b.t(`${et}.uses_credit`)," \xb7 ",(0,n.jsx)(X,{children:b.t(`${et}.credits_left`,{count:e})})]}),(0,n.jsxs)(Q,{children:[C&&(0,n.jsx)(K.JQ,{theme:K.Ox.ghost,size:K.Mp.small,onClick:f,isLoading:r,style:{flex:1},children:a??b.t(`${et}.skip_and_remove`)}),m&&(0,n.jsx)(q.QP,{multiline:!0,width:232,..._&&{visible:g&&v},isActive:A||!s&&_,value:A?d:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Y,{children:b.t(`${et}.submit_tooltip_title`)})," ",b.t(`${et}.submit_tooltip_description`)]}),children:(0,n.jsx)(ee,{onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),children:(0,n.jsx)(K.JQ,{id:"job_application_drawer_auto_apply_button",size:K.Mp.small,theme:K.Ox.default,onClick:y,isLoading:i,isDisabled:s,leadingIcon:(0,n.jsx)(c.qJ.FeaturedRegular,{}),style:{flex:1},children:l??b.t(`${et}.submit_application`)})})})]})]}):null};i(81148);var er=i(83419),en=i(58918);let eo="builder.auto_apply_copilot.job_application_drawer.footer",ea=({applicationAnswers:e,jobCardId:t,drawerPlacement:i,onDelete:r})=>{let s=(0,l.wA)(),{i18n:d}=(0,p.s)(),{control:c,getValues:u}=(0,a.xW)(),h=(0,a.FH)({control:c}),{dirtyFields:m}=(0,a.lN)({control:c}),[g,y]=(0,o.useState)(!1),b=e.length>0&&e.filter(e=>e.field?.required===!0).every(e=>(0,er.d4)(e,()=>(0,en.H1)(h?.[e.id],e.field)));return(0,n.jsx)(ei,{submitLabel:d.t(`${eo}.submit_answers`),onSubmit:()=>{f.$.drawerSubmitAnswers(),y(!0);let i=e.filter(e=>!(0,er.Gs)(e)&&!!m[e.id]);s(x.o1.submitReviewAnswersRequest({jobCardId:t,answers:(0,en.Q5)(i,u())},{onSuccess:()=>y(!1),onError:()=>y(!1)}))},isSubmitting:g,isSubmitDisabled:!b,showMeta:!1,drawerPlacement:i,skipLabel:d.t(`${eo}.delete`),onSkipAndRemove:r})},el=T.Ay.div(["flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:",";padding:"," ",";"],d.Kz.S,d.Kz.XL,d.Kz.L),es=T.Ay.div(["display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;background-color:",";margin-bottom:",";svg{width:40px;height:40px;}"],d.Jy.Green10,d.Kz.XS),ed=T.Ay.h2(["",";font-weight:",";color:",";margin:0;"],d.o5.sizes.Subhead,d.o5.weights.demibold,d.Jy.Neutral90),ec=T.Ay.p(["",";color:",";margin:0;max-width:360px;"],d.o5.sizes.Body,d.Jy.Neutral50),eu=T.Ay.div(["display:flex;align-items:center;justify-content:flex-end;gap:",";padding:"," ",";border-top:1px solid ",";background-color:",";"],d.Kz.XS,d.Kz.XS,d.Kz.L,d.Jy.Neutral15,d.Jy.White),ep=(0,T.Ay)(c.qJ.TickSuccess)(["path{fill:none;}"]),eh=(0,T.Ay)(c.EK.ArrowRightRegular)(["color:",";"],d.Jy.White),ex="builder.auto_apply_copilot.job_application_drawer.applied_success",em=({hasNext:e,onNext:t,onClose:i})=>{let{i18n:r}=(0,p.s)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(el,{children:[(0,n.jsx)(es,{children:(0,n.jsx)(ep,{})}),(0,n.jsx)(ed,{children:r.t(`${ex}.title`)}),(0,n.jsx)(ec,{children:r.t(`${ex}.description`)})]}),(0,n.jsxs)(eu,{children:[(0,n.jsx)(K.JQ,{theme:K.Ox.ghost,size:K.Mp.small,onClick:i,children:r.t(`${ex}.close`)}),e&&(0,n.jsx)(K.JQ,{theme:K.Ox.default,size:K.Mp.small,onClick:t,trailingIcon:(0,n.jsx)(eh,{}),children:r.t(`${ex}.next`)})]})]})};i(61701);var eg=i(39204),ey=((r={}).jobDetails="jobDetails",r.application="application",r.resume="resume",r.coverLetter="coverLetter",r.notes="notes",r);let ef="builder.auto_apply_copilot.job_application_drawer",eb="application_tab",e_={[ey.jobDetails]:`${ef}.tabs.job_details`,[ey.application]:`${ef}.tabs.application`,[ey.resume]:`${ef}.tabs.resume`,[ey.coverLetter]:`${ef}.tabs.cover_letter`,[ey.notes]:`${ef}.tabs.notes`},ev=[x.Sy.applied,x.Sy.interview,x.Sy.offer,x.Sy.rejected,x.Sy.deleted],ej=e=>!!e&&!e.autoApplyStatus&&ev.includes(e.status),eA=(0,T.Ay)(eg.tU)(["padding:0 ",";border-bottom:1px solid ",";",""],d.Kz.L,d.Jy.Neutral15,P.A.Phone`
8148    flex-wrap: nowrap;
8149    overflow-x: auto;
8150    overflow-y: hidden;
8151    scrollbar-width: none;
8152    -ms-overflow-style: none;
8153
8154    &::-webkit-scrollbar {
8155      display: none;
8156    }
8157
8158    & > * {
8159      flex-shrink: 0;
8160      white-space: nowrap;
8161    }
8162  `),eC=({job:e,activeTab:t,onTabSelect:i})=>{let{i18n:r}=(0,p.s)(),o=!ej(e)&&e?.autoApplyCompatible,a=[{tab:ey.jobDetails,enabled:!0},{tab:ey.application,enabled:o},{tab:ey.resume,enabled:o},{tab:ey.coverLetter,enabled:o},{tab:ey.notes,enabled:!0}];return(0,n.jsx)(eA,{children:a.filter(e=>e.enabled).map(({tab:e})=>(0,n.jsx)(eg.oz,{isActive:e===t,onClick:()=>i(e),children:r.t(e_[e])},e))})};var ew=i(8037),ek=i(21798),eS=i(47123),eT=i(72096),eP=i(99773),eJ=i(69685);let eE=T.Ay.div(["display:flex;flex-direction:column;width:320px;background-color:",";border:1px solid ",";border-radius:12px;box-shadow:0 12px 32px rgba(15,20,30,0.12);padding:",";"],d.Jy.White,d.Jy.Neutral15,d.Kz["2XS"]),eR=T.Ay.div(["",";color:",";font-weight:",";padding:"," "," ",";"],d.o5.sizes.Caps,d.Jy.Neutral50,d.o5.weights.medium,d.Kz.XS,d.Kz.S,d.Kz["3XS"]),eL=T.Ay.div(["display:flex;flex-direction:column;max-height:230px;overflow-y:auto;"]),eN=T.Ay.button(["display:flex;align-items:center;gap:",";width:100%;padding:"," ",";border:none;border-radius:8px;background-color:",";color:",";text-align:left;cursor:pointer;&:hover{background-color:",";}"],d.Kz.XS,d.Kz["2XS"],d.Kz.S,({$selected:e})=>e?d.Jy.Blue10:"transparent",d.Jy.Neutral100,({$selected:e})=>e?d.Jy.Blue10:d.Jy.Neutral5),eI=T.Ay.div(["display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;background-color:",";border:1px solid ",";border-radius:8px;color:",";svg{width:20px;height:20px;}"],d.Jy.Neutral5,d.Jy.Neutral15,d.Jy.Neutral50),eM=T.Ay.div(["display:flex;flex-direction:column;min-width:0;flex:1;"]),eB=T.Ay.span(["",";font-weight:",";color:",";overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Neutral90),eD=T.Ay.span(["",";color:",";overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],d.o5.sizes.Tiny,d.Jy.Neutral50),e$=T.Ay.div(["display:flex;align-items:center;justify-content:space-between;"]),eO=T.Ay.span(["display:inline-flex;align-items:center;align-self:flex-start;gap:",";padding:2px ",";border-radius:4px;background:",";color:",";",";font-weight:",";svg{width:12px;height:12px;color:",";fill:",";}"],d.Kz["3XS"],d.Kz["3XS"],d.Jy.Blue10,d.Jy.Blue80,d.o5.sizes.Tiny,d.o5.weights.medium,d.Jy.Blue50,d.Jy.White),ez=T.Ay.span(["display:inline-flex;align-items:center;justify-content:center;color:",";svg{width:20px;height:20px;}"],d.Jy.Blue50),eF=T.Ay.div(["height:1px;margin:"," ",";background-color:",";"],d.Kz["2XS"],d.Kz["2XS"],d.Jy.Neutral15),eH=T.Ay.button(["display:inline-flex;align-items:center;gap:",";width:100%;padding:"," ",";border:none;border-radius:8px;background-color:transparent;color:",";",";font-weight:",";cursor:pointer;text-align:left;&:hover{background-color:",";}svg{width:20px;height:20px;color:",";}"],d.Kz["2XS"],d.Kz["2XS"],d.Kz.S,d.Jy.Blue50,d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Blue10,d.Jy.Blue50),eV="builder.auto_apply_copilot.job_application_drawer.document_switcher",eU=({items:e,selectedId:t,groupLabel:i,createNewLabel:r,onSelect:o,onCreateNew:a})=>{let{i18n:l}=(0,p.s)();return(0,n.jsxs)(eE,{children:[(0,n.jsx)(eR,{children:i??l.t(`${eV}.group_label`)}),(0,n.jsx)(eL,{children:e.map(e=>{let i=e?.id===t;return(0,n.jsxs)(eN,{type:"button",$selected:i,onClick:()=>o?.(e),children:[(0,n.jsx)(eI,{children:(0,n.jsx)(c.qJ.Documents,{})}),(0,n.jsxs)(eM,{children:[(0,n.jsx)(eB,{children:(e.type===ew.VC.trDocument?e.title:e.name)||l.t(`${eV}.untitled`)}),(0,n.jsxs)(e$,{children:[(0,n.jsx)(eD,{children:(0,eJ.Yq)(e.updatedAt||e.createdAt)}),e.type===ew.VC.trDocument&&(0,n.jsxs)(eO,{children:[(0,n.jsx)(c.EK.ExpertWritten,{}),l.t("builder.dashboard.expert_review.title")]})]})]}),i&&(0,n.jsx)(ez,{children:(0,n.jsx)(c.qJ.Tick,{})})]},e.id)})}),a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eF,{}),(0,n.jsxs)(eH,{type:"button",onClick:a,children:[(0,n.jsx)(c.qJ.Add,{}),r??l.t(`${eV}.create_new`)]})]})]})},eW=T.Ay.button(["display:inline-flex;align-items:center;gap:",";padding:"," ",";background-color:",";border:1px solid ",";border-radius:8px;color:",";",";font-weight:",";cursor:pointer;white-space:nowrap;&:hover{border-color:",";}svg{color:",";width:18px;height:18px;}"],d.Kz["3XS"],d.Kz["2XS"],d.Kz.S,d.Jy.White,d.Jy.Neutral15,d.Jy.Neutral90,d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Neutral30,d.Jy.Neutral60),eK=({documents:e=[],selectedDocumentId:t,selectedDocumentType:i,onSelectDocument:r,onCreateNewDocument:a})=>{let{i18n:l}=(0,p.s)(),[s,d]=(0,o.useState)(!1),u=i===ek.K.coverLetter,h=e=>{d(!1),r?.(e)},x=()=>{d(!1),a?.()};return(0,n.jsx)(eP.A,{visible:s,placement:"bottom-end",interactive:!0,onClickOutside:()=>d(!1),render:i=>(0,n.jsx)("div",{...i,children:(0,n.jsx)(eU,{items:e,selectedId:t,onSelect:h,onCreateNew:x})}),children:(0,n.jsxs)(eW,{type:"button",onClick:()=>{d(e=>!e)},children:[(0,n.jsx)(c.qJ.Documents,{}),l.t(`builder.auto_apply_copilot.job_application_drawer.document_switcher.${u?"switch_cover_letter":"switch_resume"}`),(0,n.jsx)(c.qJ.ChevronDown,{})]})})},eq="builder.auto_apply_copilot.job_application_drawer.document_header";var eG=i(91973),eZ=i(77484);let eX=T.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:",";"],d.Kz.M),eQ=T.Ay.div(["display:flex;flex-direction:column;gap:",";min-width:0;"],d.Kz["3XS"]),eY=T.Ay.span(["",";font-weight:",";color:",";overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],d.o5.sizes.Body,d.o5.weights.demibold,d.Jy.Neutral100);d.Kz["3XS"],d.o5.sizes.Caption,d.Jy.Neutral60,d.Jy.Blue50,d.o5.weights.medium,d.Jy.Blue50;let e0=T.Ay.button(["display:inline-flex;align-items:center;gap:",";padding:"," ",";border:none;border-radius:8px;background-color:",";color:",";",";font-weight:",";cursor:pointer;white-space:nowrap;&:disabled{pointer-events:none;opacity:0.5;cursor:not-allowed;color:",";background-color:",";svg{color:",";}}&:hover{background-color:",";}svg{color:",";width:16px;height:16px;}"],d.Kz["3XS"],d.Kz["2XS"],d.Kz.S,d.Jy.Blue10,d.Jy.Blue60,d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Neutral50,d.Jy.Neutral10,d.Jy.Neutral50,d.Jy.Blue15,d.Jy.Blue60),e1=T.Ay.button(["display:inline-flex;align-items:center;gap:",";padding:"," ",";border:none;border-radius:8px;background-color:",";color:",";",";font-weight:",";cursor:pointer;white-space:nowrap;&:disabled{pointer-events:none;opacity:0.5;cursor:not-allowed;color:",";background-color:",";svg{color:",";}}&:hover{background-color:",";}svg{color:",";width:16px;height:16px;}"],d.Kz["3XS"],d.Kz["2XS"],d.Kz.S,d.Jy.Red10,d.Jy.Red60,d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Neutral50,d.Jy.Neutral10,d.Jy.Neutral50,d.Jy.Red20,d.Jy.Red60),e2=T.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:",";"],d.Kz.M),e3=T.Ay.div(["display:flex;align-items:center;gap:",";min-width:0;
8162"],d.Kz.S),e5=(0,T.Ay)(eG.f)(["",";padding:8px 12px;",""],d.o5.sizes.ButtonS,e=>e.$disabled&&(0,T.AH)(["pointer-events:none;opacity:0.5;cursor:not-allowed;color:",";"],d.Jy.Neutral50)),e4=T.Ay.span(["display:inline-flex;align-items:center;gap:",";svg{color:",";width:16px;height:16px;}"],d.Kz["3XS"],d.Jy.Blue50),e6=T.Ay.span(["",";color:",";overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],d.o5.sizes.Caption,d.Jy.Neutral50),e8=T.Ay.div(["display:flex;flex-direction:column;gap:",";"],d.Kz.XS),e9=(0,T.Ay)(eZ.E)(["border-radius:4px;"]),e7=(0,T.Ay)(eZ.E)(["border-radius:8px;"]),te=T.Ay.div(["display:flex;gap:4px;"]),tt=({variant:e,documentName:t,documentHint:i,isUploadedDocument:r=!1})=>{let{i18n:o}=(0,p.s)();return(0,n.jsxs)(eQ,{children:[(0,n.jsx)(eY,{children:t||o.t(`${eq}.untitled`)}),(0,n.jsx)(e6,{children:i||o.t(`${eq}.submit_${r?"uploaded":"tailored"===e?"tailored":"original"}_hint`)})]})},ti=({showEditButton:e=!1,isUploadedDocument:t=!1,disableEditButton:i=!1,showDeleteButton:r=!1,disableDeleteButton:o=!1,onEditInBuilder:a,onDeleteDocument:l})=>{let{i18n:s}=(0,p.s)();return(0,n.jsxs)(te,{children:[e&&(t?(0,n.jsx)(q.Ay,{multiline:!0,width:230,position:"bottom",align:"right",value:s.t(`${eq}.edit_uploaded_tooltip`),children:(0,n.jsxs)(e0,{type:"button",disabled:!0,children:[(0,n.jsx)(c.qJ.Edit,{}),s.t(`${eq}.edit_in_builder`)]})}):(0,n.jsxs)(e0,{type:"button",disabled:i,onClick:a,children:[(0,n.jsx)(c.qJ.Edit,{}),s.t(`${eq}.edit_in_builder`)]})),r&&(0,n.jsxs)(e1,{type:"button",disabled:o,onClick:l,children:[(0,n.jsx)(c.qJ.Trash,{}),s.t(`${eq}.delete_tailored`)]})]})};var tr=i(40271);let tn=({variant:e,hasTailoredDocument:t=!1,isTailoringInProgress:i=!1,disableVariant:r,onVariantChange:o})=>{let{i18n:a}=(0,p.s)(),l="base"===r,s="tailored"===r;return(0,n.jsxs)(eG.Y,{children:[(0,n.jsx)(e5,{$isActive:"tailored"===e,$disabled:s,onClick:()=>s?void 0:o?.("tailored"),children:(0,n.jsxs)(e4,{children:[i?(0,n.jsx)(tr.y$,{$width:"16px",$height:"16px"}):(0,n.jsx)(c.EK.AiIcon,{}),a.t(`${eq}.${i?"tailoring":t?"tailored":"tailor"}`)]})}),(0,n.jsx)(e5,{$isActive:"base"===e,$disabled:l,onClick:()=>l?void 0:o?.("base"),children:(0,n.jsx)(e4,{children:a.t(`${eq}.base`)})})]})},to=()=>(0,n.jsxs)(e8,{children:[(0,n.jsxs)(eX,{children:[(0,n.jsx)(eQ,{children:(0,n.jsx)(e9,{$width:"200px",$height:"20px"})}),(0,n.jsx)(e7,{$width:"120px",$height:"32px"})]}),(0,n.jsxs)(e2,{children:[(0,n.jsxs)(e3,{children:[(0,n.jsx)(e7,{$width:"160px",$height:"36px"}),(0,n.jsx)(e9,{$width:"180px",$height:"14px"})]}),(0,n.jsx)(e7,{$width:"120px",$height:"36px"})]})]}),ta=({isLoading:e=!1,documentName:t,submitHint:i,variant:r,showEditButton:o=!0,disableEditButton:a=!1,showDeleteButton:l=!1,disableDeleteButton:s=!1,banner:d,showVariantSegment:c=!0,hasTailoredDocument:u=!0,isTailoringInProgress:p=!1,disableVariant:h,showSwitcherButton:x=!0,documents:m,selectedDocumentId:g,selectedDocumentType:y,onEditInBuilder:f,onDeleteDocument:b,onVariantChange:_,onSelectDocument:v,onCreateNewDocument:j})=>{if(e)return(0,n.jsx)(to,{});let A=y===ek.K.uploadedDocument;return(0,n.jsxs)(e8,{children:[(0,n.jsxs)(eX,{children:[(0,n.jsx)(tt,{documentName:t,documentHint:i,variant:r,isUploadedDocument:A}),(0,n.jsx)(ti,{showEditButton:o,isUploadedDocument:A,disableEditButton:a,onEditInBuilder:f,showDeleteButton:l,disableDeleteButton:s,onDeleteDocument:b})]}),d,(0,n.jsxs)(e2,{children:[(0,n.jsx)(e3,{children:c&&(0,n.jsx)(tn,{variant:r,hasTailoredDocument:u,isTailoringInProgress:p,disableVariant:h,onVariantChange:_})}),x&&(0,n.jsx)(eK,{documents:m,selectedDocumentId:g,selectedDocumentType:y,onSelectDocument:v,onCreateNewDocument:j})]})]})},tl=T.Ay.div(["display:flex;align-items:center;gap:",";padding:",";background-color:",";border-radius:12px;",""],d.Kz.S,d.Kz.XS,d.Jy.Indigo10,P.A.Phone`
8163    flex-wrap: wrap;
8164  `),ts=T.Ay.div(["width:32px;height:32px;border-radius:50%;background-color:",";display:inline-flex;align-items:center;justify-content:center;color:",";flex-shrink:0;"],d.Jy.White,d.Jy.Indigo50),td=T.Ay.div(["display:flex;flex-direction:column;gap:",";flex:1;min-width:0;"],d.Kz["4XS"]),tc=T.Ay.p(["",";font-weight:",";color:",";margin:0;"],d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Indigo80),tu=T.Ay.p(["",";color:",";margin:0;"],d.o5.sizes.Tiny,d.Jy.Indigo70),tp=T.Ay.button(["display:inline-flex;align-items:center;gap:",";padding:"," ",";border:none;border-radius:8px;background-color:",";color:",";",";font-weight:",";cursor:pointer;white-space:nowrap;flex-shrink:0;&:hover{background-color:",";}
8164&:disabled{pointer-events:none;opacity:0.5;}svg{width:16px;height:16px;}",""],d.Kz["3XS"],d.Kz["2XS"],d.Kz.S,d.Jy.Indigo60,d.Jy.White,d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Indigo70,P.A.Phone`
8165    width: 100%;
8166    justify-content: center;
8167  `),th="builder.auto_apply_copilot.job_application_drawer.tailor_banner",tx=({kind:e="resume",company:t,isLoading:i=!1,onTailor:r})=>{let{i18n:o}=(0,p.s)(),a="coverLetter"===e?"cover_letter":"resume";return(0,n.jsxs)(tl,{children:[(0,n.jsx)(ts,{children:(0,n.jsx)(c.qJ.Ai,{})}),(0,n.jsxs)(td,{children:[(0,n.jsx)(tc,{children:t?o.t(`${th}.${a}.title`,{company:t}):o.t(`${th}.${a}.title_no_company`)}),(0,n.jsx)(tu,{children:o.t(`${th}.${a}.description`)})]}),(0,n.jsxs)(tp,{type:"button",disabled:i,onClick:r,children:[(0,n.jsx)(c.EK.AiIcon,{}),o.t(`${th}.action`)]})]})};var tm=i(99418);let tg=(0,T.i7)(["0%,100%{transform:scale(1);box-shadow:0 0 0 0 ",";opacity:1;}50%{transform:scale(1.04);box-shadow:0 0 0 12px rgba(146,205,252,0);opacity:0.95;}"],d.Jy.Blue30),ty=(0,T.i7)(["0%{transform:translateX(-100%);}100%{transform:translateX(250%);}"]),tf=T.Ay.div(["position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:420px;padding:"," ",";background-color:",";border-radius:12px;overflow:hidden;"],d.Kz.XL,d.Kz.L,d.Jy.Neutral5),tb=T.Ay.div(["position:absolute;inset:0;display:flex;flex-direction:column;gap:",";padding:"," ",";filter:blur(6px);opacity:0.35;pointer-events:none;&::before,&::after{content:'';height:12px;background:linear-gradient( 90deg,"," 0%,"," 50%,"," 100% );border-radius:6px;}&::before{width:60%;align-self:center;height:18px;margin-bottom:",";}&::after{width:100%;}"],d.Kz["2XS"],d.Kz.XL,d.Kz.L,d.Jy.Neutral15,d.Jy.Neutral10,d.Jy.Neutral15,d.Kz.S),t_=T.Ay.div(["position:relative;display:flex;flex-direction:column;align-items:center;gap:",";text-align:center;max-width:360px;"],d.Kz.S),tv=T.Ay.div(["display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,"," 0%,"," 100%);color:",";animation:"," 2s ease-in-out infinite;svg path{fill:",";stroke:",";opacity:1;}"],d.Jy.Blue40,d.Jy.Blue60,d.Jy.White,tg,d.Jy.White,d.Jy.White),tj=T.Ay.h3(["",";font-weight:",";color:",";margin:0;"],d.o5.sizes.Subhead,d.o5.weights.demibold,d.Jy.Neutral100),tA=T.Ay.p(["",";color:",";margin:0;strong{color:",";font-weight:",";}"],d.o5.sizes.Body,d.Jy.Neutral60,d.Jy.Neutral90,d.o5.weights.demibold),tC=T.Ay.div(["width:100%;height:6px;margin-top:",";background-color:",";border-radius:999px;overflow:hidden;"],d.Kz["2XS"],d.Jy.Neutral15),tw=T.Ay.div(["width:40%;height:100%;border-radius:999px;background:linear-gradient(90deg,"," 0%,"," 100%);animation:"," 1.6s ease-in-out infinite;"],d.Jy.Blue40,d.Jy.Blue60,ty),tk=T.Ay.div(["display:inline-flex;align-items:center;gap:",";",";color:",";font-weight:",";"],d.Kz["2XS"],d.o5.sizes.Caption,d.Jy.Neutral70,d.o5.weights.medium),tS="builder.auto_apply_copilot.job_application_drawer.tailoring_loader",tT=["step_1","step_2","step_3","step_4","step_5"],tP=({jobTitle:e,company:t,documentType:i})=>{let{i18n:r}=(0,p.s)(),[a,l]=(0,o.useState)(0),s=tT.map(e=>r.t(`${tS}.statuses.${i}.${e}`));(0,o.useEffect)(()=>{let e=setInterval(()=>{l(e=>(e+1)%s.length)},5e3);return()=>clearInterval(e)},[s.length]);let d=e&&t?r.t(`${tS}.subtitle_full`,{job_title:e,company:t}):e?r.t(`${tS}.subtitle_job`,{job_title:e}):t?r.t(`${tS}.subtitle_company`,{company:t}):null;return(0,n.jsxs)(tf,{children:[(0,n.jsx)(tb,{}),(0,n.jsxs)(t_,{children:[(0,n.jsx)(tv,{children:(0,n.jsx)(c.qJ.Ai,{})}),(0,n.jsx)(tj,{children:r.t(`${tS}.title_${i}`)}),d&&(0,n.jsx)(tA,{dangerouslySetInnerHTML:{__html:tm.A.sanitize(d)}}),(0,n.jsx)(tC,{children:(0,n.jsx)(tw,{})}),(0,n.jsxs)(tk,{children:[(0,n.jsx)(tr.Ml,{$width:"16px",$height:"16px"}),s[a]]})]})]})},tJ=T.Ay.div(["position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:420px;padding:"," ",";background-color:",";border-radius:12px;overflow:hidden;"],d.Kz.XL,d.Kz.L,d.Jy.Neutral5),tE=T.Ay.div(["position:relative;display:flex;flex-direction:column;align-items:center;gap:",";text-align:center;max-width:360px;
8167"],d.Kz.S),tR=T.Ay.div(["display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background-color:",";"],d.Jy.Red10),tL=T.Ay.h3(["",";font-weight:",";color:",";margin:0;"],d.o5.sizes.Subhead,d.o5.weights.demibold,d.Jy.Neutral100),tN=T.Ay.p(["",";color:",";margin:0;"],d.o5.sizes.Body,d.Jy.Neutral60),tI=T.Ay.div(["display:flex;gap:",";margin-top:",";"],d.Kz["2XS"],d.Kz["2XS"]),tM=T.Ay.p(["",";color:",";margin:0;"],d.o5.sizes.Caption,d.Jy.Neutral60),tB=T.Ay.a(["color:",";text-decoration:none;"],d.Jy.Blue50),tD="builder.job_tracking.auto_apply",t$=`${tD}.auto_tailoring`,tO=({job:e,retryIsLoading:t,onRetry:i})=>{let{i18n:r}=(0,p.s)(),o=e.autoTailoringRetryCount>=3;return(0,n.jsx)(tJ,{children:(0,n.jsxs)(tE,{children:[(0,n.jsx)(tR,{children:(0,n.jsx)(c.qJ.RedWarning,{})}),(0,n.jsx)(tL,{children:r.t(`${tD}.labels.auto_tailoring_failed`)}),(0,n.jsx)(tN,{children:r.t(`${tD}.status_info.auto_tailoring_failed`)}),(0,n.jsx)(tI,{children:(0,n.jsx)(q.QP,{multiline:!0,isActive:o,value:r.t(`${t$}.limit_tooltip`),children:(0,n.jsx)("div",{children:(0,n.jsx)(K.JQ,{onClick:i,size:K.Mp.small,isLoading:t,isDisabled:o,theme:K.Ox.default,style:{width:"100%"},children:r.t(`${t$}.try_again`)})})})}),(0,n.jsxs)(tM,{children:[r.t(`${tD}.contact.auto_tailor_contact`)," ",(0,n.jsx)(tB,{href:`mailto:${r.t(`${tD}.contact.email`)}`,children:r.t(`${tD}.contact.email`)})]})]})})};var tz=i(33451),tF=i(88067),tH=i(23199);let tV=T.Ay.div(["display:flex;justify-content:center;padding:",";background-color:",";border-radius:12px;"],d.Kz.L,d.Jy.Neutral5),tU=T.Ay.div(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:",";width:100%;min-height:420px;padding:"," ",";text-align:center;background-color:",";border:1px solid ",";border-radius:12px;"],d.Kz.S,d.Kz.XL,d.Kz.L,d.Jy.White,d.Jy.Neutral15),tW=T.Ay.div(["display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:12px;background-color:",";svg path{fill:",";}"],d.Jy.Blue10,d.Jy.Blue50),tK=T.Ay.p(["",";font-weight:",";color:",";margin:0;word-break:break-word;"],d.o5.sizes.Body,d.o5.weights.demibold,d.Jy.Neutral100),tq=T.Ay.p(["",";color:",";margin:0;max-width:320px;"],d.o5.sizes.Body,d.Jy.Neutral60);d.Kz.XS;let tG=T.Ay.div(["position:relative;width:100%;min-width:0;"]),tZ=T.Ay.button(["position:absolute;top:",";right:",";z-index:2;display:inline-flex;align-items:center;gap:",";padding:"," ",";border:none;border-radius:8px;background-color:rgba(0,0,0,0.6);color:",";",";font-weight:",";cursor:pointer;opacity:0;transition:opacity 0.15s;
8167svg path{fill:",";}",":hover &,&:focus-visible{opacity:1;}@media (hover:none){opacity:1;}"],d.Kz.S,d.Kz.S,d.Kz["3XS"],d.Kz["3XS"],d.Kz.XS,d.Jy.White,d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.White,tG),tX=T.Ay.div(["position:fixed;inset:0;z-index:99999;pointer-events:auto;display:flex;align-items:center;justify-content:center;padding:",";overflow:hidden;background-color:rgba(15,20,31,0.75);"],d.Kz.XL),tQ=T.Ay.div(["position:relative;width:100%;max-width:820px;max-height:100vh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;}"]),tY=T.Ay.button(["position:fixed;top:",";right:",";display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;border-radius:50%;background-color:rgba(255,255,255,0.15);color:",";cursor:pointer;transition:background 0.15s;&:hover{background-color:rgba(255,255,255,0.3);}svg path{fill:",";}"],d.Kz.M,d.Kz.M,d.Jy.White,d.Jy.White),t0=T.Ay.a(["display:inline-flex;align-items:center;gap:",";margin-top:",";padding:"," ",";border-radius:8px;border:1px solid ",";background-color:",";color:",";",";font-weight:",";text-decoration:none;cursor:pointer;transition:background 0.15s,border-color 0.15s;&:hover{background-color:",";border-color:",";}svg path{fill:",";}"],d.Kz["2XS"],d.Kz.XS,d.Kz["2XS"],d.Kz.S,d.Jy.Neutral20,d.Jy.White,d.Jy.Neutral90,d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Neutral5,d.Jy.Neutral30,d.Jy.Neutral70),t1="builder.auto_apply_copilot.job_application_drawer.document_preview",t2=()=>{let{i18n:e}=(0,p.s)();return(0,n.jsx)(tV,{children:(0,n.jsxs)(tU,{children:[(0,n.jsx)(tW,{children:(0,n.jsx)(c.qJ.AiIcon,{})}),(0,n.jsx)(tK,{children:e.t(`${t1}.no_cover_letter`)}),(0,n.jsx)(tq,{children:e.t(`${t1}.no_cover_letter_hint`)})]})})},t3="builder.auto_apply_copilot.job_application_drawer.document_preview",t5=({uploadedDocumentFileName:e,uploadedDocumentUrl:t})=>{let{i18n:i}=(0,p.s)();return(0,n.jsx)(tV,{children:(0,n.jsxs)(tU,{children:[(0,n.jsx)(tW,{children:(0,n.jsx)(c.qJ.DocumentMedium,{})}),e&&(0,n.jsx)(tK,{children:e}),(0,n.jsx)(tq,{children:i.t(`${t3}.uploaded_hint`)}),t&&(0,n.jsxs)(t0,{href:t,target:"_blank",rel:"noopener noreferrer",download:e??!0,children:[(0,n.jsx)(c.qJ.Download,{}),i.t(`${t3}.download_document`)]})]})})};var t4=i(40961),t6=i(68374);let t8=({document:e,uploadedDocumentUrl:t,uploadedDocumentFileName:i,onClose:r})=>{let{i18n:a}=(0,p.s)();return((0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&(e.stopImmediatePropagation(),e.preventDefault(),r())};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[r]),e||t)?(0,t4.createPortal)((0,n.jsxs)(tX,{onClick:r,children:[(0,n.jsx)(tY,{type:"button",onClick:r,"aria-label":a.t("builder.auto_apply_copilot.job_application_drawer.document_preview.close_preview"),children:(0,n.jsx)(c.qJ.Close,{})}),(0,n.jsx)(t6.A,{forwardProps:!0,removeScrollBar:!1,children:(0,n.jsx)(tQ,{onClick:e=>e.stopPropagation(),children:t?(0,n.jsx)(tH.$,{url:t,filename:i||"document.pdf"}):e?.type===ew.VC.trDocument?(0,n.jsx)(tF.J,{document:e}):(0,n.jsx)(tz.w,{document:e,switchToCustomizationTab:()=>{},hideCustomizeButton:!0,disableMobileZoom:!0})})})]}),window.document.body):null},t9="builder.auto_apply_copilot.job_application_drawer.document_preview",t7=({document:e,uploadedDocumentUrl:t,uploadedDocumentFileName:i,isEmptyCoverLetter:r})=>{let{i18n:a}=(0,p.s)(),[l,s]=(0,o.useState)(!1);if(r)return(0,n.jsx)(t2,{});if(t&&((0,tH.Z)(i)||(0,tH.Z)(t))){let e=i||t.split("/").pop()||"document.pdf";return(0,n.jsxs)(tV,{children:[(0,n.jsxs)(tG,{children:[(0,n.jsx)(tH.$,{url:t,filename:e,paginationPosition:"absolute"}),(0,n.jsxs)(tZ,{type:"button",onClick:()=>s(!0),children:[(0,n.jsx)(c.qJ.Zoom,{}),a.t(`${t9}.expand`)]})]}),l&&(0,n.jsx)(t8,{uploadedDocumentUrl:t,uploadedDocumentFileName:e,onClose:()=>s(!1)})]})}return t||i?(0,n.jsx)(t5,{uploadedDocumentFileName:i,uploadedDocumentUrl:t}):e?(0,n.jsxs)(tV,{children:[(0,n.jsxs)(tG,{children:[e?.type===ew.VC.trDocument?(0,n.jsx)(tF.J,{document:e}):(0,n.jsx)(tz.w,{document:e,switchToCustomizationTab:()=>{},hideCustomizeButton:!0,disableMobileZoom:!0}),(0,n.jsxs)(tZ,{type:"button",onClick:()=>s(!0),children:[(0,n.jsx)(c.qJ.Zoom,{}),a.t(`${t9}.expand`)]})]}),l&&(0,n.jsx)(t8,{document:e,onClose:()=>s(!1)})]}):null},ie=T.Ay.section(["display:flex;flex-direction:column;min-height:100%;padding:"," 0;gap:",";& + &{border-top:1px solid ",";}"],d.Kz.S,d.Kz.M,d.Jy.Neutral15),it=(e,t)=>
8167"tailored"===e?t.tailored:t.base,ii=(e,t)=>e?(e?.type===ew.VC.trDocument?e.title:e?.name)||t("builder.auto_apply_copilot.job_application_drawer.selected_documents.untitled"):void 0,ir=e=>e.resumeType===ek.K.trDocument||!e.externalSlugId,io=({locked:e,canTailor:t,hasTailoredDocument:i,autoTailoringStatus:r})=>!e&&t&&null==r&&!i,ia=({locked:e,showTailorBanner:t,canTailor:i,hasTailoredDocument:r})=>!e&&!t&&(i||r);i(14603),i(47566),i(98721);var il=i(47767),is=i(63064),id=i(64961),ic=i(27626),iu=i(24317);let ip=(0,o.createContext)(null),ih=({job:e,children:t})=>{let[i,r]=(0,o.useState)({resume:e.documentOverride?.sendTailoredResume?"tailored":"base",coverLetter:e.documentOverride?.sendTailoredCoverLetter?"tailored":"base"}),a=(0,o.useCallback)((e,t)=>r(i=>({...i,[e]:t})),[]);return(0,n.jsx)(ip.Provider,{value:{variant:i,setVariant:a},children:t})},ix=()=>{let e=(0,o.useContext)(ip);if(!e)throw Error("useDocumentVariant must be used within a DocumentVariantProvider");return e};var im=i(89401);let ig=({job:e,drawerPlacement:t,kind:i})=>{let r=(0,l.wA)(),n=(0,il.Zp)(),o=(0,is.jE)(),{variant:a,setVariant:s}=ix(),d=a[i],{mutateAsync:c,isLoading:u}=(0,im.b)(e.id),{mutateAsync:p,isLoading:h}=(0,ic.U)({id:e.id}),m=e?.autoTailoringStatus==="failed",g=e?.autoTailoringStatus==="processing",y=()=>{let r=`application_id=${e?.id}&${eb}=${i}`;return"jobSearch"===t?`/job-search?view=recommendation&${r}`:`/job-tracking?${r}`};return{variant:d,retryIsLoading:h,isTailoringFailed:m,isTailoringInProgress:g,isPatchingDocuments:u,setVariant:e=>s(i,e),patchAndSync:async e=>{let t=await c(e);return r(x.o1.updateJob(t)),t},onTailoringRetry:async()=>{await p();let t={...e,autoTailoringStatus:"processing",autoApplyStatus:"processing"};r(x.o1.updateJob(t))},onEditDocument:({documentId:e,documentType:t})=>{if(!e)return;f.$.drawerEditInBuilder(t),o.invalidateQueries({queryKey:["builder-document",t,e]});let i=new URLSearchParams({auto_apply_return_to:y(),[iu.Mr]:"job_application"}),r=t===ek.K.coverLetter?"cover-letters":"resumes";n(`/${r}/${e}/edit?${i.toString()}`)},onCreateDocument:e=>{r(id.o1.createDocument({type:e,autoApplyReturnTo:y(),returnToType:"job_application"}))},patchDocumentsJobCard:c}},iy=({jobId:e,hasTailoredDocument:t,hasSavedChoice:i,locked:r,forceTailored:n=!1,setVariant:a})=>{let l=(0,o.useRef)(null);(0,o.useEffect)(()=>{let o;l.current===e||(n?o="tailored":!i&&r&&t&&(o="tailored"),o&&(l.current=e,a(o)))},[e,n,i,r,t,a])},ib=e=>{let{variant:t,isTailoringFailed:i,retryIsLoading:r,getDocumentTitle:o,hasTailoredDocument:a,isTailoringInProgress:s,selectedDocumentId:d,selectedDocumentType:c,uploadedDocumentUrl:u,uploadedDocumentFileName:p,isTailoringDisabled:h,isPatchingDocuments:m,showTailorBanner:g,showVariantSegment:y,isEditDisabled:b,locked:_,documentHint:v,onEditInBuilder:j,onVariantChange:A,onTailoringRetry:C,onCreateDocument:w,onSelectDocument:k,onActivateTailoring:T}=(e=>{let t=(0,l.wA)(),{locked:i,documentHint:r}=S(),{variant:n,setVariant:o,patchDocumentsJobCard:a,patchAndSync:s,isTailoringFailed:d,isTailoringInProgress:c,isPatchingDocuments:u,retryIsLoading:p,onTailoringRetry:h,onCreateDocument:m,onEditDocument:g}=ig({...e,kind:"resume"}),{job:y,jobCopilot:b}=e,_=!!y.tailoredResumeId,v=y.resumeType===ek.K.uploadedDocument,j="base"===n&&v,A=ir(y)||!v&&y.documentId!==b?.copilot?.documentId,C="tailored"===n&&v?ek.K.resume:y.resumeType,w=it(n,{tailored:y.tailoredResumeId,base:y.documentId}),k=io({locked:i,canTailor:!A,hasTailoredDocument:_,autoTailoringStatus:y.autoTailoringStatus}),T=ia({locked:i,showTailorBanner:k,canTailor:!A,hasTailoredDocument:_}),P="tailored"===n&&(c||!w);iy({locked:i,hasTailoredDocument:_,hasSavedChoice:y.documentOverride?.sendTailoredResume!=null,jobId:y.id,setVariant:o});let J=async e=>{f.$.drawerSwitchDocument("resume"),await s({documentId:Number(e.id),documentType:e.type,tailorResumeForJob:!1,tailorCoverLetterForJob:!1,sendTailoredResume:!1,sendTailoredCoverLetter:!1}),o("base")},E=async()=>{f.$.drawerTailorDocument();let e={tailorResumeForJob:!0,tailorCoverLetterForJob:!0,sendTailoredResume:!0};y.coverLetterId||(e.sendTailoredCoverLetter=!0);let i=await a(e);t(x.o1.updateJob({...i,autoTailoringStatus:"processing"})),o("tailored")},R=async e=>{f.$.drawerSwitchDocumentVariant(e),await s({sendTailoredResume:"tailored"===e}),o(e)};return{variant:n,retryIsLoading:p,hasTailoredDocument:_,isTailoringFailed:d,isTailoringInProgress:c,isPatchingDocuments:u,onTailoringRetry:h,isTailoringDisabled:A,showTailorBanner:k,showVariantSegment:T,isEditDisabled:P,locked:i,documentHint:r,getDocumentTitle:e=>j?y.uploadedDocumentFilename:e?.type===ew.VC.trDocument?e.title:e?.name,selectedDocumentId:w,selectedDocumentType:C,uploadedDocumentUrl:j?y.uploadedResumeUrl:void 0,uploadedDocumentFileName:j?y.uploadedDocumentFilename:void 0,onEditInBuilder:()=>{g({documentId:w,documentType:ek.K.resume})},onSelectDocument:J,onVariantChange:R,onActivateTailoring:E,onCreateDocument:()=>m(ew.VC.resume)}})(e),{data:P,isLoading:J,isFetched:E}=(0,eS.R)(d,c,{refetchOnMount:"always"}),{documents:R}=(0,eT.l)([ew.VC.resume,ew.VC.trDocument]);return(0,n.jsxs)(ie,{children:[(0,n.jsx)(ta,{variant:t,documents:R,hasTailoredDocument:a,isTailoringInProgress:s,isLoading:E&&J,showVariantSegment:y,banner:g?(0,n.jsx)(tx,{company:e.job?.company,isLoading:m,onTailor:T}):void 0,showEditButton:!_,showSwitcherButton:!_,submitHint:v,disableEditButton:b||c===ek.K.trDocument,selectedDocumentId:d,selectedDocumentType:c,documentName:o(P),disableVariant:h?"tailored":void 0,onEditInBuilder:j,onVariantChange:A,onSelectDocument:k,onCreateNewDocument:w}),"tailored"===t&&s?(0,n.jsx)(tP,{jobTitle:e?.job?.title,company:e?.job?.company,documentType:ek.K.resume}):"tailored"===t&&i?(0,n.jsx)(tO,{job:e?.job,retryIsLoading:r,onRetry:C}):(0,n.jsx)(t7,{document:P,uploadedDocumentUrl:u,uploadedDocumentFileName:p})]})},i_="builder.auto_apply_copilot.job_application_drawer.document_preview",iv=({tone:e})=>{let{i18n:t}=(0,p.s)();return(0,n.jsx)(tV,{children:(0,n.jsxs)(tU,{children:[(0,n.jsx)(tW,{children:(0,n.jsx)(c.qJ.DocumentMedium,{})}),(0,n.jsx)(tK,{children:t.t(`${i_}
8167.locked_no_cover_letter_title`)}),(0,n.jsx)(tq,{children:t.t(`${i_}.${"applied"===e?"locked_no_cover_letter_applied":"locked_no_cover_letter_in_progress"}`)})]})})},ij=e=>{let{variant:t,isTailoringFailed:i,retryIsLoading:r,hasTailoredDocument:o,isTailoringInProgress:a,disabledVariant:s,isEmptyCoverLetter:d,isEditDisabled:c,isPatchingDocuments:u,showTailorBanner:p,showVariantSegment:h,locked:m,tone:g,documentHint:y,selectedDocumentId:b,onEditInBuilder:_,onVariantChange:v,onActivateTailoring:j,onDeleteTailoredCoverLetter:A,onTailoringRetry:C,onCreateDocument:w,onSelectDocument:k}=(e=>{let t=(0,l.wA)(),{locked:i,tone:r,documentHint:n}=S(),{variant:o,isTailoringFailed:a,isTailoringInProgress:s,isPatchingDocuments:d,retryIsLoading:c,setVariant:u,patchAndSync:p,patchDocumentsJobCard:h,onTailoringRetry:m,onCreateDocument:g,onEditDocument:y}=ig({...e,kind:"coverLetter"}),{job:b,jobCopilot:_}=e,v=!b.coverLetterId,j=!!b.tailoredCoverLetterId,A=ir(b)||b.documentId!==_?.copilot?.documentId,C=v&&!b.tailoredCoverLetterId,w=it(o,{tailored:b.tailoredCoverLetterId,base:b.coverLetterId}),k=s&&"tailored"===o||!w,T=null!=b.coverLetterId&&b.coverLetterId!==_?.copilot?.coverLetterId,P=!A&&!T,J=v?"base":A?"tailored":void 0,E=io({locked:i,canTailor:P,hasTailoredDocument:j,autoTailoringStatus:b.autoTailoringStatus}),R=ia({locked:i,showTailorBanner:E,canTailor:P,hasTailoredDocument:j});return iy({locked:i,hasTailoredDocument:j,hasSavedChoice:b.documentOverride?.sendTailoredCoverLetter!=null,jobId:b.id,forceTailored:v,setVariant:u}),{variant:o,retryIsLoading:c,isTailoringFailed:a,hasTailoredDocument:j,isTailoringInProgress:s,disabledVariant:J,isEmptyCoverLetter:C,isEditDisabled:k,isPatchingDocuments:d,showTailorBanner:E,showVariantSegment:R,locked:i,tone:r,documentHint:n,selectedDocumentId:w,onEditInBuilder:()=>{y({documentId:w,documentType:ek.K.coverLetter})},onSelectDocument:async e=>{f.$.drawerSwitchDocument("cover_letter"),await p({coverLetterId:Number(e.id),tailorResumeForJob:!1,tailorCoverLetterForJob:!1,sendTailoredResume:!1,sendTailoredCoverLetter:!1}),u("base")},onVariantChange:async e=>{f.$.drawerSwitchDocumentVariant(e),await p({sendTailoredCoverLetter:"tailored"===e}),u(e)},onActivateTailoring:async()=>{f.$.drawerTailorDocument();let e=await h({tailorResumeForJob:!0,tailorCoverLetterForJob:!0,sendTailoredCoverLetter:!0});t(x.o1.updateJob({...e,autoTailoringStatus:"processing"})),u("tailored")},onTailoringRetry:m,onDeleteTailoredCoverLetter:async()=>{let e=await h({tailorCoverLetterForJob:!1,sendTailoredCoverLetter:!1});t(x.o1.editJobRequest({...e,tailoredCoverLetterId:null})),u("base")},onCreateDocument:()=>g(ew.VC.coverLetter)}})(e),{data:T,isLoading:P,isFetched:J}=(0,eS.R)(b,ek.K.coverLetter,{refetchOnMount:"always"}),{documents:E}=(0,eT.l)([ew.VC.coverLetter]),R=m&&d;return(0,n.jsxs)(ie,{children:[!R&&(0,n.jsx)(ta,{variant:t,documents:E,hasTailoredDocument:o,isTailoringInProgress:a,isLoading:J&&P,documentName:T?.name,showVariantSegment:h,banner:p?(0,n.jsx)(tx,{kind:"coverLetter",company:e.job?.company,isLoading:u,onTailor:j}):void 0,showEditButton:!m,showSwitcherButton:!m,submitHint:y,disableEditButton:c,showDeleteButton:!m&&o&&"tailored"===t,disableDeleteButton:u,disableVariant:s,selectedDocumentId:b,selectedDocumentType:ek.K.coverLetter,onEditInBuilder:_,onDeleteDocument:A,onVariantChange:v,onSelectDocument:k,onCreateNewDocument:w}),"tailored"===t&&a?(0,n.jsx)(tP,{jobTitle:e.job?.title,company:e.job?.company,documentType:ek.K.coverLetter}):"tailored"===t&&i?(0,n.jsx)(tO,{job:e.job,retryIsLoading:r,onRetry:C}):m&&d?(0,n.jsx)(iv,{tone:g}):(0,n.jsx)(t7,{document:T,isEmptyCoverLetter:d})]})};var iA=i(29810),iC=i(1802),iw=i(39593),ik=i(49816),iS=i(3724);let iT=ik.m8.map(e=>({value:e.name,label:e.name}));var iP=i(19744);i(13579);var iJ=i(65945),iE=i(33637);let iR="__custom_answer__",iL=T.Ay.div(["margin-top:",";
8167"],d.Kz.S),iN=({name:e,options:t,control:i,orientation:r="vertical",placeholder:l})=>{let s=(0,iC.c)(),{isTablet:d}=(0,u.e)(),{setValue:c,formState:p}=(0,a.xW)(),h=String((0,a.FH)({name:e})??""),x=t.some(e=>e.value===h),[m,g]=(0,o.useState)(!1),y=m||h.length>0&&!x,f=y?iR:h,b=p.errors[e],_="string"==typeof b?.message?b.message:void 0,v=t=>{if(t===iR){g(!0),x&&c(e,"");return}g(!1),c(e,t)},j=s.jobApplicationDrawer.customAnswer,A="radio"===i?(0,n.jsx)("div",{"data-testid":`radio-field-group-${e}`,children:(0,n.jsx)(iJ.z,{value:f,onChange:v,style:{flexDirection:d||"horizontal"!==r?"column":"row"},children:[...t.map(e=>(0,n.jsx)(iP.A1.Radio,{value:e.value,label:(0,en.ed)(e)},e.value)),(0,n.jsx)(iP.A1.Radio,{value:iR,label:j},iR)]})}):(0,n.jsx)("div",{"data-testid":`select-field-${e}`,children:(0,n.jsx)(iE.A,{selected:f,onSelect:v,options:[...t.map(e=>({id:e.value,name:(0,en.ed)(e)})),{id:iR,name:j}],format:(e,t)=>!e&&l?l:t??""})});return(0,n.jsxs)(n.Fragment,{children:[A,y?(0,n.jsx)(iL,{children:(0,n.jsx)(iP.A_,{name:e,placeholder:s.jobApplicationDrawer.customAnswerPlaceholder})}):_&&(0,n.jsx)(iP.Kw,{children:_})]})},iI={number:"number",email:"email",url:"url"},iM=({name:e,field:t,placeholder:i,label:r})=>{let a=(0,o.useId)(),l=t?.type??"unknown",s=t?.options??[];if((0,en.yi)(t))return(0,n.jsx)(iP.Yh,{name:e,label:r??""});if((0,en.zF)(t)){let t=(0,en._6)(s),r=async e=>{let i=e.trim().toLowerCase();return i?t.filter(e=>e.label.toLowerCase().includes(i)):t};return(0,n.jsx)(iP.hU,{name:e,loadOptions:r,defaultOptions:t,placeholder:i,openMenuOnClick:!0,creatable:!0})}if((0,en.tg)(t)){let t="radio"===l&&s.length<=4;return(0,n.jsx)(iN,{name:e,options:s,control:t?"radio":"select",orientation:2===s.length&&s.every(e=>(0,en.ed)(e).length<=24)?"horizontal":"vertical",placeholder:i})}if("date"===l)return(0,n.jsx)(iP.vM,{name:e,placeholder:i});if("phone"===l)return(0,n.jsx)(iP.PV,{name:e});if("textarea"===l)return(0,n.jsx)(iP.l2,{name:e,rows:4,placeholder:i,maxLength:t?.maxLength??void 0});let d=s.length>0?s:void 0;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(iP.A_,{name:e,type:iI[l]??"text",placeholder:i,list:d?a:void 0,maxLength:t?.maxLength??void 0,min:t?.minValue??void 0,max:t?.maxValue??void 0}),d&&(0,n.jsx)("datalist",{id:a,children:d.map(e=>(0,n.jsx)("option",{value:(0,en.ed)(e)},e.value))})]})};var iB=i(83978);let iD=(0,T.Ay)(iB.A)(["padding:32px;gap:32px;",""],P.$.Phone`
8168    width: 100%;
8169    padding: 20px;
8170  `),i$=({onCancel:e,onConfirm:t,copy:i})=>{let r=(0,iC.c)(),o=i??r.jobApplicationDrawer.saveForAllModal;return(0,n.jsx)(iD,{title:o.title,description:o.description,cancelButton:r.common.cancel,successButton:o.confirm,onClose:e,onCancel:e,onSuccess:t})};var iO=i(25593),iz=i(30647);let iF=({onCancel:e,onRemoveForApplication:t,onRemoveForAll:i})=>{let r=(0,iC.c)().jobApplicationDrawer.removeAnswerModal;return(0,n.jsx)(iz.J,{onClose:e,title:r.title,description:r.description,dataTestId:"remove-answer-modal",renderButtons:({size:e})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(K.JQ,{size:e,theme:iO.O.ghost,onClick:t,children:r.forApplication}),(0,n.jsx)(K.JQ,{size:e,theme:iO.O.destructive,onClick:i,children:r.forAll})]})})},iH={invalidFields:new Set,focusField:null,clearField:()=>{},clearFocus:()=>{}},iV=(0,o.createContext)(iH),iU=iV.Provider,iW=()=>(0,o.useContext)(iV),iK=(0,T.i7)(["from{opacity:0;transform:translateY(-3px);}to{opacity:1;transform:translateY(0);}"]),iq=T.Ay.div([""]),iG=T.Ay.h3(["",";font-weight:",";color:",";letter-spacing:0.6px;margin:0 0 "," 0;"],d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Neutral50,d.Kz.S),iZ=T.Ay.p(["",";color:",";margin:0 0 "," 0;"],d.o5.sizes.Caption,d.Jy.Neutral50,d.Kz.S),iX=T.Ay.section(["display:flex;flex-direction:column;padding:"," 0;"],d.Kz.S),iQ=T.Ay.div(["display:flex;flex-direction:column;gap:4px;padding:14px 0;border-bottom:1px solid ",";&:last-of-type{border-bottom:none;}",""],d.Jy.Neutral10,({$hasError:e})=>e&&(0,T.AH)(["border-left:2px solid ",";padding-left:",";"],d.Jy.Red50,d.Kz.XS)),iY=T.Ay.span(["",";font-weight:",";text-transform:uppercase;letter-spacing:0.04em;color:",";"],d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Neutral50),i0=T.Ay.div(["display:flex;align-items:flex-start;justify-content:space-between;gap:",";animation:"," 0.18s ease-out;"],d.Kz.XS,iK),i1=T.Ay.span(["",";color:",";word-break:break-word;",""],d.o5.sizes.Body,d.Jy.Neutral90,({$multiline:e})=>e&&(0,T.AH)(["white-space:pre-wrap;"])),i2=T.Ay.a(["display:inline-flex;align-items:center;gap:",";min-width:0;flex:1;",";color:",";text-decoration:none;&:hover{color:",";span{text-decoration:underline;}}svg{width:16px;height:16px;flex-shrink:0;color:currentColor;}"],d.Kz["3XS"],d.o5.sizes.Body,d.Jy.Blue50,d.Jy.Blue60),i3=T.Ay.span(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),i5=T.Ay.button(["all:unset;cursor:pointer;flex-shrink:0;",";font-weight:",";color:",";transition:color 0.15s ease;&:hover:not(:disabled){color:",";}
8170&:disabled{opacity:0.5;cursor:default;}"],d.o5.sizes.ButtonS,d.o5.weights.medium,d.Jy.Blue50,d.Jy.Blue60),i4=(0,T.Ay)(i5)(["color:",";&:hover:not(:disabled){color:",";}"],d.Jy.Neutral60,d.Jy.Neutral80),i6=(0,T.Ay)(i5)(["color:",";"],d.Jy.Red50),i8=T.Ay.button(["all:unset;cursor:pointer;align-self:flex-start;margin-top:",";",";color:",";transition:color 0.15s ease;&:hover{color:",";}"],d.Kz.XS,d.o5.sizes.Body,d.Jy.Blue50,d.Jy.Blue60);d.o5.sizes.Body,d.Jy.Neutral90,d.Jy.Neutral30,d.Jy.Blue50;let i9=T.Ay.div(["display:flex;align-items:center;gap:",";margin-top:4px;"],d.Kz.S),i7=T.Ay.div(["display:flex;flex-direction:column;gap:",";animation:"," 0.18s ease-out;"],d.Kz.XS,iK),re=T.Ay.div(["display:flex;gap:",";"],d.Kz.S),rt=T.Ay.button(["all:unset;box-sizing:border-box;flex:1;min-width:0;display:flex;align-items:center;gap:",";padding:"," ",";border:1px solid ",";border-radius:12px;background-color:",";cursor:pointer;transition:border-color 0.15s ease,background-color 0.15s ease;&:hover{border-color:",";background-color:",";}"],d.Kz.XS,d.Kz["2XS"],d.Kz.XS,d.Jy.Neutral15,d.Jy.White,d.Jy.Blue40,d.Jy.Neutral5),ri=T.Ay.div(["flex-shrink:0;display:flex;align-items:center;color:",";svg{width:24px;height:24px;}",""],d.Jy.Blue50,({$filled:e})=>e&&(0,T.AH)(["svg path{fill:",";}"],d.Jy.Blue50)),rr=T.Ay.div(["flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left;"]),rn=T.Ay.div(["display:flex;align-items:center;gap:",";"],d.Kz.XS),ro=T.Ay.span(["",";font-size:13px;font-weight:",";text-transform:uppercase;color:",";"],d.o5.sizes.Tiny,d.o5.weights.medium,d.Jy.Neutral50),ra=T.Ay.span(["display:inline-flex;align-items:center;gap:",";",";font-weight:",";color:",";svg{width:16px;height:16px;color:",";}"],d.Kz["3XS"],d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Indigo50,d.Jy.Indigo60),rl=T.Ay.span(["",";font-weight:",";color:",";overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Neutral90),rs=T.Ay.span(["flex-shrink:0;display:flex;align-items:center;",""],P.A.Phone`
8171    display: none;
8172  `),rd=({edit:e,onClose:t,onSaved:i,autoInvalid:r=!1,saveForAllCopy:l})=>{let s=(0,iC.c)(),d=(0,a.mN)({defaultValues:{[e.formName]:e.initialValue}}),[c,u]=(0,o.useState)(!1),[p,h]=(0,o.useState)(!1),[x,m]=(0,o.useState)(!1),g="text"===e.editor.type||"textarea"===e.editor.type,y=d.watch(e.formName);(0,o.useEffect)(()=>{r&&(d.setError(e.formName,{type:"required",message:s.common.required}),g&&d.setFocus(e.formName))},[]),(0,o.useEffect)(()=>{(Array.isArray(y)?y.length>0:String(y??"").trim().length>0)&&d.clearErrors(e.formName)},[y,e.formName,d]);let f=t=>{let i=Array.isArray(t)?0===t.length:!String(t??"").trim();return!!r&&!!i&&(d.setError(e.formName,{type:"required",message:s.common.required}),!0)},b=async t=>{u(!0);try{await t(),i()}catch{d.setError(e.formName,{type:"save",message:s.jobApplicationDrawer.saveError})}finally{u(!1)}},_=(e,t)=>b(()=>t(e)),{remove:v}=e,j=e=>(m(!1),b(e)),A=d.handleSubmit(async t=>{let i=t[e.formName];f(i)||await _(i,e.save)}),C=d.handleSubmit(async t=>{let{saveForAll:i}=e;if(!i)return;let r=t[e.formName];f(r)||await _(r,i)});return(0,n.jsxs)(a.Op,{...d,children:[(0,n.jsxs)(i7,{children:[(e=>{let{editor:t,formName:i}=e;switch(t.type){case"text":return(0,n.jsx)(iP.A_,{name:i,type:t.inputType??"text",placeholder:t.placeholder});case"date":return(0,n.jsx)(iP.vM,{name:i,placeholder:t.placeholder});case"textarea":return(0,n.jsx)(iP.l2,{name:i,rows:t.rows,placeholder:t.placeholder});case"select":return(0,n.jsx)(iP.zM,{name:i,options:t.options,placeholder:t.placeholder});case"review":return(0,n.jsx)(iM,{name:i,field:t.field,placeholder:t.placeholder});case"cluster":return(0,n.jsx)(iP.hU,{name:i,loadOptions:t.loadOptions,maxLimit:t.maxLimit,defaultOptions:t.defaultOptions??!0,placeholder:t.placeholder,openMenuOnClick:!0});default:return null}})(e),(0,n.jsxs)(i9,{children:[(0,n.jsx)(i5,{type:"button",onClick:A,disabled:c,children:c?s.jobApplicationDrawer.saving:s.common.save}),e.saveForAll&&(0,n.jsx)(q.QP,{multiline:!0,width:232,position:"bottom",value:s.jobApplicationDrawer.saveForAllTooltip,children:(0,n.jsx)(i5,{type:"button",onClick:()=>
8172h(!0),disabled:c,children:s.jobApplicationDrawer.saveForAll})}),v&&(0,n.jsx)(i6,{type:"button",onClick:()=>m(!0),disabled:c,children:s.common.remove}),(0,n.jsx)(i4,{type:"button",onClick:t,disabled:c,children:s.common.cancel})]})]}),x&&v&&(0,n.jsx)(iF,{onCancel:()=>m(!1),onRemoveForApplication:()=>j(v.forApplication),onRemoveForAll:()=>j(v.forAll)}),p&&(0,n.jsx)(i$,{copy:l,onCancel:()=>h(!1),onConfirm:()=>{h(!1),C()}})]})},rc=({row:e})=>{let t=(0,iC.c)(),{locked:i}=S(),{invalidFields:r,focusField:a,clearField:l,clearFocus:s}=iW(),[d,u]=(0,o.useState)(!1),p=(0,o.useRef)(null),h=e.edit?.formName,x=!!e.edit&&!i,m=!!h&&r.has(h);return(0,o.useEffect)(()=>{h&&a===h&&x&&(u(!0),p.current?.scrollIntoView({behavior:"smooth",block:"center"}),s())},[h,a,x,s]),(0,n.jsxs)(iQ,{ref:p,$hasError:m&&!d,children:[(0,n.jsx)(iY,{children:e.label}),d&&e.edit?(0,n.jsx)(rd,{edit:e.edit,onClose:()=>u(!1),onSaved:()=>{u(!1),h&&l(h)},autoInvalid:m,saveForAllCopy:e.saveForAllCopy}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(i0,{children:[e.href?(0,n.jsxs)(i2,{href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)(i3,{children:e.value}),(0,n.jsx)(c.qJ.ExternalLink,{})]}):(0,n.jsx)(i1,{$multiline:e.multiline,children:e.value||"—"}),x&&(0,n.jsx)(i5,{type:"button",onClick:()=>u(!0),children:t.common.edit})]}),m&&(0,n.jsx)(iP.Kw,{children:t.common.required})]})]})},ru=T.Ay.section(["display:flex;flex-direction:column;padding:"," 0;user-select:text;& + &{border-top:1px solid ",";}"],d.Kz.S,d.Jy.Neutral15),rp=T.Ay.div(["display:flex;flex-direction:column;gap:8px;padding:14px 0;"]),rh=T.Ay.span(["",";font-weight:",";text-transform:uppercase;letter-spacing:0.04em;color:",";"],d.o5.sizes.Caption,d.o5.weights.medium,d.Jy.Neutral50),rx=({job:e})=>{let t,i,r,o,a,s,d,c,p,h,m,g,{isPhone:y}=(0,u.e)(),{locked:f}=S(),{isCustomCard:b,rows:_,descriptionRow:v,description:j,descriptionLabel:A}=(t=(0,iC.c)(),i=(0,l.wA)(),r=t.jobApplicationDrawer.jobDetails,o=!e.externalSlugId,a=(t,r)=>(i(x.o1.editJobRequest({id:e.id,[t]:r})),Promise.resolve()),s=(e,t,i,r=e=>e.trim())=>o?{formName:e,editor:i,initialValue:t,save:t=>a(e,r(String(t??"")))}:void 0,d=(e,t,i)=>o?{formName:e,editor:i,initialValue:t?[{value:t,label:t}]:[],save:t=>a(e,(Array.isArray(t)?t:[])[0]?.label??"")}:void 0,c=e.title??"",p=e.location??"",h=e.link??"",m=e.salary??"",g=e.description??"",{isCustomCard:o,rows:[{key:"title",label:r.fields.title,value:c,edit:d("title",c,{type:"cluster",loadOptions:iw.rc,maxLimit:1,defaultOptions:iT,placeholder:r.placeholders.title})},{key:"location",label:r.fields.location,value:p,edit:d("location",p,{type:"cluster",loadOptions:iw.lw,maxLimit:1,defaultOptions:!1,placeholder:r.placeholders.location})},{key:"url",label:r.fields.url,value:h,href:h?(0,iS.qD)(h):void 0,edit:s("link",h,{type:"text",placeholder:r.placeholders.url},iS.qD)},{key:"salary",label:r.fields.salary,value:m,edit:s("salary",m,{type:"text",placeholder:r.placeholders.salary})}],descriptionRow:{key:"description",label:r.fields.description,value:g,multiline:!0,edit:s("description",g,{type:"textarea",rows:6,placeholder:r.placeholders.description})},description:g,descriptionLabel:r.fields.description}),C=b&&!f,w=C?_:_.filter(e=>!!e.value);return(0,n.jsxs)(ru,{"data-vaul-no-drag":!y||void 0,children:[w.map(e=>(0,n.jsx)(rc,{row:e},e.key)),(C||!!j)&&(b?(0,n.jsx)(rc,{row:v}):(0,n.jsxs)(rp,{children:[(0,n.jsx)(rh,{children:A}),(0,n.jsx)(iA.c,{text:j})]}))]})};var rm=i(9397);let rg=T.Ay.div(["display:flex;gap:",";align-items:",";padding:",";background-color:",";border-radius:12px;"],d.Kz.S,e=>e.$centered?"center":"flex-start",d.Kz.XS,d.Jy.Blue10),ry=T.Ay.div(["width:32px;height:32px;border-radius:50%;background-color:",";display:inline-flex;align-items:center;justify-content:center;color:",";flex-shrink:0;"],d.Jy.White,d.Jy.Blue50),rf=T.Ay.div(["display:flex;flex-direction:column;gap:",";"],d.Kz["4XS"]),rb=T.Ay.p(["",";font-weight:",";color:",";margin:0;"],d.o5.sizes.Body,d.o5.weights.medium,d.Jy.Blue80),r_=T.Ay.p(["",";color:",";margin:0;"],d.o5.sizes.Caption,d.Jy.Blue70),rv=({title:e,description:t})=>(0,n.jsxs)(rg,{$centered:!t,children:[(0,n.jsx)(ry,{children:(0,n.jsx)(rm.e,{color:d.Jy.Blue50})}),(0,n.jsxs)(rf,{children:[(0,n.jsx)(rb,{children:e}),t&&(0,n.jsx)(r_,{dangerouslySetInnerHTML:{__html:tm.A.sanitize(t)}})]})]});
8172var rj=i(10022),rA=i(21700),rC=i(51350),rw=i(90922),rk=i(21742),rS=i(85275),rT=i(49504);let rP=T.Ay.div(["display:flex;gap:",";align-items:center;padding:"," ",";background-color:",";border-radius:12px;"],d.Kz.S,d.Kz.XS,d.Kz.S,({$bg:e})=>e||d.Jy.Indigo10),rJ=T.Ay.div(["width:48px;height:48px;border-radius:50%;background-color:",";display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;"],d.Jy.White),rE=T.Ay.img(["width:24px;height:24px;"]),rR=T.Ay.div(["display:flex;flex-direction:column;gap:",";"],d.Kz["4XS"]),rL=T.Ay.span([""," "," color:",";"],rT.Ay.Body,rT.BO.Medium,({$color:e})=>e||d.Jy.Indigo70),rN=T.Ay.span([""," "," color:",";"],rT.Ay.Caption,rT.BO.Regular,({$color:e})=>e||d.Jy.Neutral60),rI=T.Ay.span(["span{text-decoration:underline;color:",";cursor:pointer;}"],d.Jy.Blue50),rM=T.Ay.span([""," "," color:",";"],rT.Ay.Caption,rT.BO.Regular,({$color:e})=>e||d.Jy.Neutral50),rB=T.Ay.a([""," "," color:",";"],rT.Ay.Caption,rT.BO.Regular,d.Jy.Blue50),rD="builder.job_tracking",r$={processing:{bg:d.Jy.Indigo10,heading:d.Jy.Indigo80,body:d.Jy.Indigo70},auto_applied:{bg:d.Jy.Green10,heading:d.Jy.Green80,body:d.Jy.Green70},error:{bg:d.Jy.Red10,heading:d.Jy.Red80,body:d.Jy.Red70},information_required:{bg:d.Jy.Red10,heading:d.Jy.Red80,body:d.Jy.Red70},auto_tailoring_failed:{bg:d.Jy.Red10,heading:d.Jy.Red80,body:d.Jy.Red70},no_application_made:{bg:d.Jy.Neutral10,heading:d.Jy.Neutral80,body:d.Jy.Neutral70}},rO={processing:rj,auto_applied:rA,error:rC,information_required:rw,no_application_made:rk,auto_tailoring_failed:rS},rz=({job:e,onTabSelect:t})=>{let{i18n:i}=(0,p.s)();if(!e?.autoApplyStatus)return null;let r=e.autoApplyStatus,o=r$[r],a=()=>({info:i.t((()=>{if("information_required"===r){let t=e.applicationAnswers.length?"with_review_button":"email_only";return`${rD}.auto_apply.status_info.information_required.${t}`}return`${rD}.auto_apply.status_info.${r}`})()),contact:i.t(`${rD}.contact.${"auto_tailoring_failed"===r?"auto_tailor_contact":"text"}`)});return(0,n.jsxs)(rP,{$bg:o.bg,children:[(0,n.jsx)(rJ,{children:(0,n.jsx)(rE,{src:rO[r],alt:""})}),(0,n.jsxs)(rR,{children:[(0,n.jsx)(rL,{$color:o.heading,children:i.t(`${rD}.auto_apply.labels.${r}`)}),(0,n.jsxs)(rN,{$color:o.body,children:[(0,n.jsx)(rI,{onClick:e=>{let i=e.target;i!==e.currentTarget&&"SPAN"===i.tagName&&t?.(ey.notes)},dangerouslySetInnerHTML:{__html:a().info}}),(0,n.jsxs)(rM,{$color:o.body,children:[" ",a().contact," ",(0,n.jsx)(rB,{href:"mailto:[email protected]",children:i.t(`${rD}.contact.email`)})]})]})]})]})},rF=({title:e,rows:t,initialVisible:i,hint:r})=>{let a=(0,iC.c)(),{invalidFields:l}=iW(),[s,d]=(0,o.useState)(!1);if(!t.length)return null;let c=void 0===i?0:t.length-i,u=c>0&&t.slice(i).some(e=>!!e.edit?.formName&&l.has(e.edit.formName)),p=s||u,h=p||c<=0?t:t.slice(0,i);return(0,n.jsxs)(iX,{children:[(0,n.jsx)(iG,{children:e}),r&&(0,n.jsx)(iZ,{children:r}),h.map(e=>(0,n.jsx)(rc,{row:e},e.key)),c>0&&(0,n.jsx)(i8,{type:"button",onClick:()=>d(e=>!e),children:p?a.jobApplicationDrawer.showLess:a.jobApplicationDrawer.showMore({count:c})})]})};var rH=i(6492),rV=i(26944);let rU=T.Ay.span(["color:",";"],d.Jy.Red50),rW=T.Ay.div(["color:",";"],d.Jy.Red50),rK=T.Ay.div(["",";margin-bottom:8px;color:",";"],d.o5.sizes.Caption,d.Jy.Neutral50),rq=({item:e,label:t,value:i})=>{let r=(0,iC.c)(),{locked:l,needsInfo:s}=S(),{getValues:d}=(0,a.xW)(),[c,u]=(0,o.useState)(!1),[p,h]=(0,o.useState)(!1),[x,m]=(0,o.useState)(!1),g=(0,rV._)(),{field:y}=e,f=y?.required===!0,b=(0,er.yD)(e),_=async()=>{if(m(!1),b){u(!0),h(!1);try{await g.mutateAsync({[b]:(0,en.Ww)(d(e.id),y)})}catch{h(!0)}finally{u(!1)}}};return l&&!s?(0,n.jsxs)(iQ,{children:[(0,n.jsx)(iY,{children:t}),e.note&&(0,n.jsx)(rK,{children:e.note}),(0,n.jsx)(i0,{children:(0,n.jsx)(i1,{$multiline:!0,children:(0,en.Tq)(i,y,r.common.yes,r.common.no)||"—"})})]}):(0,n.jsxs)(iQ,{children:[(0,n.jsxs)(iY,{children:[t,f&&(0,n.jsx)(rU,{children:" *"})]}),e.note&&(0,n.jsx)(rK,{children:e.note}),(0,n.jsx)(iM,{name:e.id,field:y,label:t,placeholder:r.jobApplicationDrawer.answerPlaceholder}),b&&(0,n.jsx)(i9,{children:(0,n.jsx)(q.QP,{multiline:!0,width:232,position:"bottom",value:r.jobApplicationDrawer.saveForAllTooltip,children:(0,n.jsx)(i5,{type:"button",onClick:()=>
8172m(!0),disabled:c,children:c?r.jobApplicationDrawer.saving:r.jobApplicationDrawer.saveForAll})})}),p&&(0,n.jsx)(rW,{children:r.jobApplicationDrawer.saveError}),x&&(0,n.jsx)(i$,{onCancel:()=>m(!1),onConfirm:_})]})},rG=["pdf","doc","docx","txt","png","jpg","jpeg","webp"],rZ=rG.map(e=>`.${e}`).join(","),rX=T.Ay.span(["color:",";"],d.Jy.Red50),rQ=T.Ay.div(["",";margin-bottom:",";color:",";"],d.o5.sizes.Caption,d.Kz["3XS"],d.Jy.Neutral50),rY=T.Ay.div(["",";color:",";"],d.o5.sizes.Caption,d.Jy.Red50),r0=T.Ay.div(["",";color:",";"],d.o5.sizes.Caption,d.Jy.Neutral50),r1=T.Ay.label(["display:inline-flex;align-items:center;gap:",";align-self:",";padding:"," ",";border:1px dashed ",";border-radius:8px;cursor:",";",";font-weight:",";color:",";&:hover{border-color:",";}svg{width:20px;height:20px;color:currentColor;}"],d.Kz["3XS"],e=>e.$centered?"center":"flex-start",d.Kz["2XS"],d.Kz.XS,d.Jy.Neutral20,e=>e.$disabled?"default":"pointer",d.o5.sizes.ButtonS,d.o5.weights.medium,e=>e.$disabled?d.Jy.Neutral50:d.Jy.Blue50,e=>e.$disabled?d.Jy.Neutral20:d.Jy.Blue50),r2=T.Ay.input(["position:absolute;width:1px;height:1px;opacity:0;"]),r3=({item:e,label:t,document:i,onUpload:r,onRemove:a})=>{let l=(0,iC.c)(),s=l.jobApplicationDrawer,{locked:d,needsInfo:u}=S(),p=(0,o.useRef)(null),[h,x]=(0,o.useState)(!1),[m,g]=(0,o.useState)(null),y=e.field?.required===!0,f=u||!d,b=(0,er.$z)(e),_=(0,er.IN)(e),v=!!(b||_),j=()=>{p.current&&(p.current.value="")},A=e=>{g(e),j()},C=async e=>{if(e){let t;if(e.size>0xa00000)return A(l.documents.fileUpload.errors.fileSizeExceeded);if(!rG.includes((t=e.name,t.split(".").pop()?.toLowerCase()??"")))return A(s.file.invalidFileType);g(null),x(!0);try{await r(e)}catch{g(l.documents.fileUpload.errors.uploadFailed)}finally{x(!1),j()}}},w=async()=>{if(a){g(null),x(!0);try{await a()}catch{g(l.documents.fileUpload.errors.uploadFailed)}finally{x(!1)}}},k=t=>(0,n.jsxs)(r1,{htmlFor:`file-answer-${e.id}`,$disabled:h,$centered:v,children:[(0,n.jsx)(c.EK.Upload,{}),h?l.documents.fileUpload.uploading:t,(0,n.jsx)(r2,{ref:p,id:`file-answer-${e.id}`,"data-testid":`file-answer-${e.id}`,type:"file",accept:rZ,disabled:h,onChange:e=>C(e.target.files?.[0]??null)})]});return(0,n.jsxs)(iQ,{children:[(0,n.jsxs)(iY,{children:[t,y&&f&&(0,n.jsx)(rX,{children:" *"})]}),e.note&&(0,n.jsx)(rQ,{children:e.note}),v?(0,n.jsxs)(i0,{children:[i?(0,n.jsx)(i2,{href:i.documentFile.url,target:"_blank",rel:"noreferrer",children:(0,n.jsx)(i3,{children:i.documentFile.filename})}):(0,n.jsx)(i1,{children:_||s.file.attached}),f&&(0,n.jsxs)(i9,{children:[k(l.common.replace),a&&(0,n.jsx)(i6,{type:"button",onClick:w,disabled:h,children:l.common.remove})]})]}):f?(0,n.jsxs)(n.Fragment,{children:[k(s.file.upload),(0,n.jsx)(r0,{children:s.file.uploadHint})]}):(0,n.jsx)(i0,{children:(0,n.jsx)(i1,{children:"—"})}),m&&(0,n.jsx)(rY,{children:m})]})},r5=({items:e,emailValue:t,jobCardId:i,answerDocuments:r,isSubmitted:o})=>{let a=(0,iC.c)(),{upload:l,remove:s}=(0,rH.u)(i??0,e),d=(0,er.RL)((0,er.B5)(e,r)),c=o?a.jobApplicationDrawer.sections.submittedAnswers:a.jobApplicationDrawer.sections.reviewQuestions;return(0,n.jsx)(n.Fragment,{children:d.map(e=>(0,n.jsxs)(iX,{children:[(0,n.jsx)(iG,{children:e.step??c}),e.items.map(o=>{let a=(0,er.Nw)(r,o),d=a?.documentType===rH.i&&a.providerDocumentId===o.documentId?a:void 0;return(0,er.Gs)(o)&&null!=i?(0,n.jsx)(r3,{item:o,label:(0,er.IR)(o,e.items),document:a,onUpload:e=>l(o.id,e,d),onRemove:d&&(()=>s(o.id,d))},o.id):(0,n.jsx)(rq,{item:o,label:(0,er.IR)(o,e.items),value:(0,er._e)(o,t)},o.id)})]},e.step??"questions"))})};var r4=i(27292),r6=i(49012),r8=i(65403),r9=i(90997);let r7=[],ne=[],nt=[],ni={},nr=(e,t)=>{let i=(0,l.wA)(),r=t?Number(t):null,n=(0,h.N)(e=>x.Tp.selectApplicationReview(e,r)),a=!!(e&&null!=r),s=n?.status;(0,o.useEffect)(()=>{a&&null!=r&&s!==ew.Hp.loading&&s!==ew.Hp.loaded&&i(x.o1.fetchApplicationReviewRequest({jobCardId:r}))},[a,r,s,i]);let d=a&&s!==ew.Hp.loaded&&s!==ew.Hp.failed;return{id:r,applicationAnswers:n?.applicationAnswers??r7,profileOverwrite:n?.profileOverwrite??ni,memoryAnswers:n?.memoryAnswers??ne,memoryAnswersOverwrite:n?.memoryAnswersOverwrite??nt,isLoading:d}},nn=({jobCardId:e})=>{let t=(0,iC.c)(),i=t.jobApplicationDrawer,{locked:r}=S(),{data:a}=(0,r4.m)(),{memoryAnswers:s,saveForApplication:d,saveForAll:c,removeForApplication:u,removeForAll:p}=((e,t)=>{let i=(0,l.wA)(),{id:r,memoryAnswers:n,memoryAnswersOverwrite:a,isLoading:s}=nr(e,t),d=(0,o.useMemo)(()=>
8172{if(0===a.length)return n;let e=new Map(a.map(e=>[e.id,e.answer]));return n.map(t=>{let i=e.get(t.id);return void 0===i?t:{...t,answer:i}})},[n,a]),c=()=>{null!=r&&i(x.o1.fetchApplicationReviewRequest({jobCardId:r}))},u=async(e,t)=>{if(null==r)throw Error("Missing jobCardId");let i=[...a.filter(t=>t.id!==e.id),{id:e.id,answer:t}];await r6.R3.patch(`job-cards/${r}`,{jobCard:{memoryAnswersOverwrite:i}}),c()},p=async(t,i)=>{if(!e)throw Error("Missing copilotId");if(null==r)throw Error("Missing jobCardId");await r6.R3.patch(`auto-apply-copilots/${e}`,{copilot:{memoryAnswers:t}}),r9.q.invalidateQueries({queryKey:r8.Z}),i.length!==a.length&&await r6.R3.patch(`job-cards/${r}`,{jobCard:{memoryAnswersOverwrite:i}}),c()};return{memoryAnswers:d,saveForApplication:(e,t)=>u(e,t),saveForAll:(e,t)=>p(n.map(i=>i.id===e.id?{...i,answer:t}:i),a.filter(t=>t.id!==e.id)),removeForApplication:e=>u(e,""),removeForAll:e=>p(n.filter(t=>t.id!==e.id),a.filter(t=>t.id!==e.id)),isLoading:s}})(a?.copilot?.id!=null?String(a.copilot.id):void 0,e);return(0,n.jsx)(rF,{title:i.sections.memory,hint:i.sections.memoryHint,rows:s.map(e=>{let{answer:n}=e;return{key:e.id,label:e.question,value:(0,en.Tq)(n,e.field,t.common.yes,t.common.no),multiline:!0,saveForAllCopy:i.saveForMemoryModal,edit:r?void 0:{formName:`remembered_${e.id}`,editor:{type:"review",field:e.field},initialValue:(0,en.li)(n,e.field),save:t=>d(e,(0,en.Ww)(t,e.field)),saveForAll:t=>
8172c(e,(0,en.Ww)(t,e.field)),remove:{forApplication:()=>u(e),forAll:()=>p(e)}}}}),initialVisible:3})},no="builder.auto_apply_copilot.job_application_drawer.selected_documents",na=`${no}.not_selected`,nl=`${no}.tailored`,ns=`${no}.tailoring_in_progress`,nd=({job:e,onTabSelect:t})=>{let{i18n:i}=(0,p.s)(),{isPhone:r}=(0,u.e)(),{hasResume:o,resumeTitle:a,hasCoverLetter:l,coverLetterTitle:s,isResumeTailored:d,isCoverLetterTailored:h,isTailoringInProgress:x}=(e=>{let{i18n:t}=(0,p.s)(),{variant:i}=ix(),r=e.resumeType===ek.K.uploadedDocument,n="base"===i.resume&&r,o="tailored"===i.resume&&r?ek.K.resume:e.resumeType,a=it(i.resume,{tailored:e.tailoredResumeId,base:e.documentId}),l=it(i.coverLetter,{tailored:e.tailoredCoverLetterId,base:e.coverLetterId}),{data:s}=(0,eS.R)(a,o,{refetchOnMount:"always"}),{data:d}=(0,eS.R)(l,ek.K.coverLetter,{refetchOnMount:"always"});return{resumeTitle:n?e.uploadedDocumentFilename:ii(s,t.t),coverLetterTitle:ii(d,t.t),hasResume:!!a||n,hasCoverLetter:!!l,isResumeTailored:"tailored"===i.resume,isCoverLetterTailored:"tailored"===i.coverLetter,isTailoringInProgress:"processing"===e.autoTailoringStatus}})(e),m=(e,t)=>t&&x?i.t(ns):e||i.t(na),g=[{tab:ey.resume,label:i.t(e_[ey.resume]),name:m(a,d),isTailored:d,icon:(0,n.jsx)(c.qJ.Documents,{}),isSelected:o},{tab:ey.coverLetter,label:i.t(e_[ey.coverLetter]),name:m(s,h),isTailored:h,icon:(0,n.jsx)(c.qJ.Documents,{}),isSelected:l}];return(0,n.jsx)(re,{children:g.map(e=>(0,n.jsxs)(rt,{type:"button",onClick:()=>t(e.tab),children:[(0,n.jsx)(ri,{$filled:e.isSelected,children:e.icon}),(0,n.jsxs)(rr,{children:[(0,n.jsxs)(rn,{children:[(0,n.jsx)(ro,{children:e.label}),e.isTailored&&e.isSelected&&(0,n.jsxs)(ra,{children:[(0,n.jsx)(c.EK.AiIcon,{}),r?null:i.t(nl)]})]}),(0,n.jsx)(rl,{children:e.name})]}),e.isSelected&&(0,n.jsx)(rs,{children:(0,n.jsx)(c.EK.SuccessIcon,{})})]},e.tab))})},nc=({job:e,profileFields:t,screeningQuestions:i,additionalQuestions:r,applicationAnswers:o,email:a,onTabSelect:l})=>{let s=(0,iC.c)(),{banner:d,locked:c}=S(),u=(0,er.B5)(o,e.autoApplyDocuments),p=d?.title??s.jobApplicationDrawer.infoBanner.title,h=d?d.description:s.jobApplicationDrawer.infoBanner.description,x="auto_applied"===e.autoApplyStatus,m=e=>c?e.filter(e=>!!e.value):e.filter(e=>!!e.value||e.required);return(0,n.jsxs)(iq,{children:[(0,n.jsx)(iX,{children:e.autoApplyStatus?(0,n.jsx)(rz,{job:e,onTabSelect:l}):(0,n.jsx)(rv,{title:p,description:h})}),(0,n.jsx)(iX,{children:(0,n.jsx)(nd,{job:e,onTabSelect:l})}),u.length>0?(0,n.jsx)(r5,{items:o,emailValue:a,jobCardId:e.id,answerDocuments:e.autoApplyDocuments,isSubmitted:x}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(rF,{title:s.jobApplicationDrawer.sections.profile,rows:m(t.map((e,t)=>({key:`${e.label}-${t}`,label:e.label,value:e.value,edit:e.edit,required:e.required})))}),(0,n.jsx)(rF,{title:s.jobApplicationDrawer.sections.screening,rows:m(i.map(e=>({key:e.id,label:e.question,value:e.answer,edit:e.edit,required:e.required})))}),(0,n.jsx)(rF,{title:s.jobApplicationDrawer.sections.additionalQuestions,rows:r}),!c&&(0,n.jsx)(nn,{jobCardId:String(e.id)})]})]})};var nu=i(38221),np=i.n(nu),nh=i(57119);let nx=T.Ay.div(["display:flex;flex-direction:column;gap:",";padding:"," 0;"],d.Kz["2XS"],d.Kz.S),nm=T.Ay.span(["align-self:flex-end;",";color:",";"],d.o5.sizes.Caption,d.Jy.Neutral50),ng=T.Ay.div(["display:flex;flex-direction:column;gap:",";margin-top:",";"],d.Kz.XS,d.Kz.M),ny=T.Ay.span(["",";color:",";"],d.o5.sizes.Caption,d.Jy.Neutral50),nf=T.Ay.div(["display:flex;flex-wrap:wrap;gap:",";"],d.Kz.S),nb=T.Ay.a(["display:block;width:120px;border-radius:8px;overflow:hidden;box-shadow:",";"],d.qd.lightWithBorderShadowMid),n_=T.Ay.img(["display:block;width:100%;height:100%;object-fit:cover;"]),nv="builder.auto_apply_copilot.job_application_drawer.notes",nj=({job:e})=>{let t=(0,l.wA)(),{i18n:i}=(0,p.s)(),[r,a]=(0,o.useState)(e.notes??""),s=(0,o.useMemo)(()=>np()((e,i)=>{t(x.o1.editJobRequest({id:e,notes:i}))},800),[t]);(0,o.useEffect)(()=>{s.flush(),a(e.notes??"")},[e.id]),(0,o.useEffect)(()=>()=>s.flush(),[s]);let d=(e.autoApplyDocuments??[]).filter(e=>"auto_applied"===e.documentType&&e.documentFile);return(0,n.jsxs)(nx,{children:[(0,n.jsx)(nm,{children:i.t(`${nv}.autosave_hint`)}
8172),(0,n.jsx)(nh.l,{rows:10,value:r,onChange:t=>{let i=t.target.value;a(i),s(e.id,i)},onBlur:()=>s.flush(),placeholder:i.t(`${nv}.placeholder`),"data-testid":"job-application-notes"}),d.length>0&&(0,n.jsxs)(ng,{children:[(0,n.jsx)(ny,{children:i.t(`${nv}.application_confirmation`)}),(0,n.jsx)(nf,{children:d.map(({id:e,documentFile:t})=>(0,n.jsx)(nb,{href:t.url,target:"_blank",rel:"noreferrer",children:(0,n.jsx)(n_,{src:t.url,alt:t.filename})},e))})]})]})},nA=({activeTab:e,onTabSelect:t,...i})=>{switch(e){case ey.resume:return(0,n.jsx)(ib,{...i.resume});case ey.jobDetails:return(0,n.jsx)(rx,{...i.jobDetails});case ey.application:return(0,n.jsx)(nc,{...i.application,onTabSelect:t});case ey.coverLetter:return(0,n.jsx)(ij,{...i.coverLetter});case ey.notes:return(0,n.jsx)(nj,{...i.notes});default:return null}};i(20116);var nC=i(41193);let nw=(e,t)=>e.find(e=>e.id===t)?.name??"",nk=e=>!0===e?"yes":!1===e?"no":"",nS=e=>null==e?"":String(e),nT=ik.m8.map(e=>({value:e.name,label:e.name})),nP=(e,t)=>{if(null==e)return"";let i=e.toLocaleString("en-US");return t?`${t} ${i}`:i},nJ=e=>Array.isArray(e)?e:[],nE=e=>{let t=String(e).replace(/[^0-9.]/g,"");if(""===t)return null;let i=Number(t);return Number.isNaN(i)?null:i};var nR=i(46385);i(18237);var nL=i(26975);let nN=(0,T.Ay)(s._s.Overlay)(["position:fixed;inset:0;background-color:rgba(0,0,0,0.4);z-index:1000;"]),nI=(0,T.Ay)(s._s.Content)(["background-color:",";display:flex;flex-direction:column;position:fixed;top:0;right:0;bottom:0;width:100%;max-width:720px;z-index:1001;outline:none;&&{user-select:text;-webkit-user-select:text;}&:focus,&:focus-visible{outline:none;}",""],d.Jy.White,P.A.Phone`
8173    border-radius: 16px 16px 0 0;
8174  `),nM=(0,T.Ay)(s._s.Close)(["position:absolute;top:",";right:",";background:transparent;border:none;padding:0;cursor:pointer;color:",";display:inline-flex;align-items:center;justify-content:center;transition:color 0.1s;z-index:1;&:hover{color:",";}"],d.Kz.M,d.Kz.M,d.Jy.Neutral50,d.Jy.Neutral90),nB=T.Ay.div(["flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 ",";"],d.Kz.L),nD=T.Ay.div(["display:flex;flex-direction:column;height:100%;position:relative;",""],P.A.Phone`
8175    height: ${90}%;
8176  `),n$="builder.auto_apply_copilot.job_application_drawer",nO=({open:e,job:t,drawerPlacement:i,isReviewQueue:r,hasNext:b,onClose:_,onSubmit:v,onNext:j,onSkipAndRemove:A,onDelete:w})=>{var S;let T,P,[J,E]=(0,o.useState)(ey.application),[R,L]=(0,o.useState)(!1),[N,I]=(0,o.useState)(!1),M=(0,l.wA)(),{i18n:B}=(0,p.s)(),{isPhone:D}=(0,u.e)(),$=(e=>{let{data:t}=(0,r4.m)(),{applicationAnswers:i}=nr(t?.copilot?.id!=null?String(t.copilot.id):void 0,String(e.id)),{profileFields:r,screeningQuestions:n,additionalQuestions:a,email:s}=(e=>{let t,i,r,n,a,s,d=(0,iC.c)(),c=(0,nC.J)(),u=d.jobApplicationDrawer,{data:p}=(0,r4.m)(),{resolve:h,saveField:m,saveFieldForAll:g}=((e,t)=>{let i=(0,l.wA)(),r=(0,rV._)(),{id:n,profileOverwrite:a,isLoading:s}=nr(e,t),d=(0,o.useRef)(a);d.current=a;let c=e=>null==n?Promise.reject(Error("Missing jobCardId")):(f.$.drawerFieldEdit(Object.keys(e).join(",")),d.current={...d.current,...e},new Promise((t,r)=>i(x.o1.saveProfileOverwriteRequest({jobCardId:n,fields:e},{onSuccess:()=>t(),onError:r})))),u=async e=>{await r.mutateAsync(e),await c(e),f.$.drawerFieldSaveForAll(Object.keys(e).join(","))};return{overrides:a,resolve:(e,t)=>e in d.current?d.current[e]:t,saveField:c,saveFieldForAll:u,isLoading:s}})(p?.copilot?.id!=null?String(p.copilot.id):void 0,String(e.id)),y=e=>({save:t=>m(e(t)),saveForAll:t=>g(e(t))}),b=[{id:"yes",name:d.common.yes},{id:"no",name:d.common.no}],_=p?.careerProfile,v=(e,t)=>{let i=h(e,t);return null==i?"":String(i)},j=v("firstName",_?.firstName),A=v("lastName",_?.lastName),C=v("email",c?.email),w=v("phoneNumber",_?.phoneNumber),k=v("city",_?.city),S=v("country",_?.country),T=v("streetAddress",_?.streetAddress),P=v("postalCode",_?.postalCode),J=v("currentJobTitle",_?.currentJobTitle),E=v("linkedinUrl",_?.linkedinUrl),R=h("countriesAuthorizedToWorkIn",_?.countriesAuthorizedToWorkIn??[]),L=v("visaRequired",_?.visaRequired),N=h("currentSalaryAmount",_?.currentSalaryAmount),I=v("currentSalaryCurrency",_?.currentSalaryCurrency),M=h("desiredSalaryAmount",_?.desiredSalaryAmount),B=v("desiredSalaryCurrency",_?.desiredSalaryCurrency),D=v("birthday",_?.birthday),$=h("fluentLanguages",_?.fluentLanguages??[]),O=[j,A].filter(
8176Boolean).join(" "),z=[k,S].filter(Boolean).join(", "),F=[{label:u.fields.fullName,value:O,required:!0,edit:{formName:"fullName",editor:{type:"text",placeholder:u.placeholders.fullName},initialValue:O,...y(e=>{let t=String(e).trim().split(/\s+/).filter(Boolean);return t.length<2?{firstName:t[0]??""}:{firstName:t[0],lastName:t.slice(1).join(" ")}})}},{label:u.fields.email,value:C,edit:{formName:"email",editor:{type:"text",placeholder:u.placeholders.email},initialValue:C,...y(e=>({email:e}))}},{label:u.fields.phoneNumber,value:w,required:!0,edit:{formName:"phoneNumber",editor:{type:"text",placeholder:u.placeholders.phoneNumber},initialValue:w,...y(e=>({phoneNumber:e}))}},{label:u.fields.currentLocation,value:z,required:!0,edit:{formName:"location",editor:{type:"cluster",loadOptions:iw.lw,maxLimit:1,defaultOptions:!1,placeholder:u.placeholders.location},initialValue:z?[{value:z,label:z}]:[],...y(e=>{let t;return 0===(t=(nJ(e)[0]?.label??"").split(",").map(e=>e.trim()).filter(Boolean)).length?{city:"",country:""}:1===t.length?{city:t[0],country:""}:{city:t[0],country:t[t.length-1]}})}},{label:u.fields.streetAddress,value:T,required:!0,edit:{formName:"streetAddress",editor:{type:"text",placeholder:u.placeholders.streetAddress},initialValue:T,...y(e=>({streetAddress:e}))}},{label:u.fields.postCode,value:P,required:!0,edit:{formName:"postalCode",editor:{type:"text",placeholder:u.placeholders.postCode},initialValue:P,...y(e=>({postalCode:e}))}},{label:u.fields.currentJobTitle,value:J,required:!0,edit:{formName:"currentJobTitle",editor:{type:"cluster",loadOptions:iw.rc,maxLimit:1,defaultOptions:nT,placeholder:u.placeholders.jobTitle},initialValue:J?[{value:J,label:J}]:[],...y(e=>({currentJobTitle:nJ(e)[0]?.label??""}))}},{label:u.fields.linkedin,value:E,edit:{formName:"linkedinUrl",editor:{type:"text",placeholder:u.placeholders.linkedin},initialValue:E,...y(e=>({linkedinUrl:e}))}}];return{profileFields:F,screeningQuestions:[{id:"desired-salary",question:u.fields.desiredSalary,answer:nP(M,B),required:!0,edit:{formName:"desiredSalaryAmount",editor:{type:"text",inputType:"number",placeholder:u.placeholders.desiredSalary},initialValue:null!=M?String(M):"",...y(e=>({desiredSalaryAmount:nE(e)}))}},{id:"date-of-birth",question:u.fields.dateOfBirth,answer:D,edit:{formName:"birthday",editor:{type:"date",placeholder:u.placeholders.dateOfBirth},initialValue:D,...y(e=>({birthday:e}))}},{id:"fluent-languages",question:u.fields.fluentLanguages,answer:$.map(e=>e.label).filter(Boolean).join(", "),required:!0,edit:{formName:"fluentLanguages",editor:{type:"cluster",loadOptions:iw.OY,maxLimit:6,defaultOptions:!1,placeholder:u.placeholders.addLanguage},initialValue:$.map(e=>({value:e.value,label:e.label})),...y(e=>({fluentLanguages:nJ(e)}))}},{id:"countries-eligible",question:u.fields.countriesEligible,answer:R.join(", "),required:!0,edit:{formName:"eligibleCountries",editor:{type:"cluster",loadOptions:iw.Ms,defaultOptions:iw.JK.slice(0,20),placeholder:u.placeholders.countries},initialValue:((e=[])=>e.map(e=>iw.JK.find(t=>t.value===e)??{value:e,label:e}))(R),...y(e=>({countriesAuthorizedToWorkIn:nJ(e).map(e=>e.value)}))}},{id:"visa-sponsorship",question:u.fields.visaSponsorship,answer:"yes"===(t=L.toLowerCase())||"true"===t?d.common.yes:"no"===t||"false"===t?d.common.no:L,required:!0,edit:{formName:"visaRequired",editor:{type:"select",options:b,placeholder:u.placeholders.select},initialValue:L,...y(e=>({visaRequired:e}))}}],additionalQuestions:[{key:"currentSalaryAmount",label:u.fields.currentSalary,value:nP(N,I),edit:{formName:"currentSalaryAmount",editor:{type:"text",inputType:"number",placeholder:u.placeholders.currentSalary},initialValue:null!=N?String(N):"",...y(e=>({currentSalaryAmount:nE(e)}))}},...(i=[{id:"male",name:d.screening.gender.male},{id:"female",name:d.screening.gender.female},{id:"non_binary",name:d.screening.gender.nonBinary},{id:"prefer_not_to_say",name:d.screening.gender.preferNotToSay}],r=[{id:"yes",name:d.common.yes},{id:"no",name:d.common.no}],n=[{id:"yes",name:d.common.yes},{id:"no",name:d.common.no},{id:"no-comment",name:d.screening.disability.preferNotToSay}],a=[{id:"white",name:d.screening.ethnicity.white},{id:"hispanic_or_Latino",name:d.screening.ethnicity.hispanicOrLatino}
8176,{id:"black_or_african_american",name:d.screening.ethnicity.blackOrAfricanAmerican},{id:"asian",name:d.screening.ethnicity.asian},{id:"american_indian_or_alaska_native",name:d.screening.ethnicity.americanIndianOrAlaskaNative},{id:"middle_eastern_or_north_african",name:d.screening.ethnicity.middleEasternOrNorthAfrican},{id:"native_hawaiian_or_other_pacific_islander",name:d.screening.ethnicity.nativeHawaiianOrPacificIslander},{id:"other_race_ethnicity_or_origin",name:d.screening.ethnicity.other},{id:"prefer_not_to_say",name:d.screening.ethnicity.preferNotToSay}],[{field:"gpaScore",label:(s=d.jobApplicationDrawer).fields.gpaScore,editor:{type:"text"},toDisplay:nS,toInitialValue:nS,toOverride:nS},{field:"gender",label:s.fields.gender,editor:{type:"select",options:i,placeholder:s.placeholders.gender},toDisplay:e=>nw(i,e),toInitialValue:nS,toOverride:nS},{field:"disability",label:s.fields.disability,editor:{type:"select",options:n,placeholder:s.placeholders.select},toDisplay:e=>nw(n,e),toInitialValue:nS,toOverride:nS},{field:"drivingLicense",label:s.fields.drivingLicense,editor:{type:"text",placeholder:s.placeholders.drivingLicense},toDisplay:nS,toInitialValue:nS,toOverride:nS},{field:"securityClearance",label:s.fields.securityClearance,editor:{type:"text",placeholder:s.placeholders.securityClearance},toDisplay:nS,toInitialValue:nS,toOverride:nS},{field:"isVeteran",label:s.fields.veteran,editor:{type:"select",options:r,placeholder:s.placeholders.select},toDisplay:e=>nw(r,nk(e)),toInitialValue:nk,toOverride:e=>"yes"===e||"no"!==e&&null},{field:"race",label:s.fields.ethnicity,editor:{type:"select",options:a,placeholder:s.placeholders.ethnicity},toDisplay:e=>nw(a,e),toInitialValue:nS,toOverride:nS}]).map(e=>{let t=_?.[e.field],i=h(e.field,t);return{key:e.field,label:e.label,value:e.toDisplay(i),edit:{formName:e.field,editor:e.editor,initialValue:e.toInitialValue(i),...y(t=>({[e.field]:e.toOverride(t)}))}}})].filter(e=>!!e.value),email:C}})(e);return{jobDetails:{job:e},application:{job:e,profileFields:r,screeningQuestions:n,additionalQuestions:a,applicationAnswers:i,email:s},resume:{job:e,jobCopilot:t},coverLetter:{job:e,jobCopilot:t},notes:{job:e}}})(t),{setVariant:O}=ix(),{mutateAsync:z}=(0,im.b)(t.id),{footerMode:F}
8176=C(B.t,t?.status,t?.autoApplyStatus,t?.expiredAt),{getCreditCount:H,redirectToBillingPlans:V,isAutoApplyLimitReached:U}=(0,y.J)(),K=(0,h.N)(e=>g.Tp.isAaUpsellModalOpen(e)||m.Tp.showAutoApplyUpsellModal(e)||m.Tp.rdUpsellModalVisible(e)||m.Tp.rdNotEnoughCreditsModalVisible(e)),q=$.application.applicationAnswers,G=(S=$.application.email,T=(0,a.mN)({defaultValues:{}}),P=(0,o.useRef)(null),(0,o.useEffect)(()=>{P.current!==q&&(P.current=q,T.reset(q.reduce((e,t)=>(e[t.id]=(0,en.li)((0,er._e)(t,S),t.field),e),{})))},[q,S,T]),T),{getMissingRequiredFields:Z}=(({profileFields:e,screeningQuestions:t})=>({getMissingRequiredFields:()=>[...e.map(e=>({required:e.required,value:e.value,formName:e.edit?.formName})),...t.map(e=>({required:e.required,value:e.answer,formName:e.edit?.formName}))].filter(e=>!!(e.required&&e.formName&&!e.value.trim())).map(e=>e.formName)}))($.application),X=(0,a.FH)({control:G.control}),{dirtyFields:Q}=(0,a.lN)({control:G.control}),Y=(0,o.useMemo)(()=>(0,er.Wo)(q,X??{}),[q,X]),[ee,et]=(0,o.useState)(()=>new Set),[eo,el]=(0,o.useState)(null),es=(0,o.useCallback)(e=>{et(t=>{if(!t.has(e))return t;let i=new Set(t);return i.delete(e),i})},[]),ed=(0,o.useCallback)(()=>el(null),[]),ec=(0,o.useMemo)(()=>({invalidFields:ee,focusField:eo,clearField:es,clearFocus:ed}),[ee,eo,es,ed]);(0,nR.c)({jobId:t?.id,enabled:t?.autoTailoringStatus==="processing",onSuccess:async e=>{if(!e.coverLetterId&&e.tailoredCoverLetterId&&e?.autoTailoringStatus==="completed"){let e=await z({sendTailoredCoverLetter:!0});M(x.o1.updateJob(e)),O("coverLetter","tailored")}M(x.o1.updateJob(e))}}),(({job:e,open:t})=>{let i=(0,l.wA)(),{setVariant:r}=ix(),{mutateAsync:n}=(0,im.b)(e.id),[a,s]=(0,nL.p)("resume_id"),[d,c]=(0,nL.p)("cover_letter_id");(0,o.useEffect)(()=>{t&&e?.id&&(a||d)&&(a&&s(null,{replace:!0}
8176),d&&c(null,{replace:!0}),(async()=>{let t={tailorResumeForJob:!1,tailorCoverLetterForJob:!1,sendTailoredResume:!1,sendTailoredCoverLetter:!1};if(a&&Number(a)!==e.documentId&&Number(a)!==e.tailoredResumeId){let e=await n({documentId:Number(a),documentType:ew.VC.resume,...t});i(x.o1.updateJob(e)),r("resume","base")}else if(d&&Number(d)!==e.coverLetterId&&Number(d)!==e.tailoredCoverLetterId){let e=await n({coverLetterId:Number(d),...t});i(x.o1.updateJob(e)),r("coverLetter","base")}})())},[t,e?.id,a,d])})({job:t,open:e}),(({job:e,open:t,isReviewQueue:i,setActiveTab:r,setHasApplied:n,setInvalidFields:a,setFocusField:l})=>{let[s,d]=(0,nL.p)(eb);(0,o.useEffect)(()=>{if(t&&e){if(n(!1),a(new Set),l(null),s&&Object.values(ey).includes(s))r(s),f.$.drawerTabOpened(s),d(null,{replace:!0});else{let t=ey.application;e.externalSlugId?(!e.autoApplyCompatible||ej(e))&&(t=ey.jobDetails):t=ey.jobDetails,r(t),f.$.drawerTabOpened(t)}f.$.drawerOpened({jobCardId:Number(e.id),source:i?"queue":"card",column:e.status,autoApplyStatus:e.autoApplyStatus,systemRecommended:e.systemRecommended})}},[t,e?.id])})({job:t,open:e,isReviewQueue:r,setActiveTab:E,setHasApplied:L,setInvalidFields:et,setFocusField:el});let eu=t?.expiredAt?"submit_disabled_expired":t?.autoApplyCompatible?Y.length>0?"submit_disabled_unanswered":null:"submit_disabled_easy_apply",ep=()=>{v(),r&&L(!0)},eh=e=>{f.$.drawerTabOpened(e),E(e)},ex=e=>{K&&e.preventDefault()};return(0,n.jsxs)(s._s.Root,{open:e,onOpenChange:e=>{e||(f.$.drawerClosed(),_())},direction:D?"bottom":"right",...D&&{snapPoints:[.9]},children:[(0,n.jsx)(s._s.Title,{}),(0,n.jsx)(s._s.Description,{}),(0,n.jsxs)(s._s.Portal,{children:[(0,n.jsx)(nN,{}),(0,n.jsxs)(nI,{onEscapeKeyDown:ex,onInteractOutside:ex,children:[(0,n.jsx)(nM,{children:(0,n.jsx)(c.qJ.Close,{color:d.Jy.Neutral50})}),(0,n.jsx)(nD,{children:R?(0,n.jsx)(em,{hasNext:b,onNext:j,onClose:_}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(W,{job:t,applyManually:()=>{if(t?.link){if(f.$.drawerApplyManually(),window.open(t.link,"_blank"),"jobSearch"===i)return;let e={source:{droppableId:t.status,index:t.positionNumber},destination:{droppableId:x.Sy.applied,index:0},jobId:Number(t.id)};M(x.o1.setModal({key:"applyConfirmModal",data:{moveData:e}}))}}}),(0,n.jsx)(eC,{job:t,activeTab:J,onTabSelect:eh}),(0,n.jsxs)(a.Op,{...G,children:[(0,n.jsx)(nB,{children:(0,n.jsx)(k,{status:t?.status,autoApplyStatus:t?.autoApplyStatus,expiredAt:t?.expiredAt,children:(0,n.jsx)(iU,{value:ec,children:(0,n.jsx)(nA,{activeTab:J,onTabSelect:eh,drawerPlacement:i,...$})})})}),t&&"needsInfo"===F&&(0,n.jsx)(ea,{applicationAnswers:q,jobCardId:t.id,drawerPlacement:i,onDelete:w}),"full"===F&&(0,n.jsx)(ei,{onSubmit:()=>{let e=Z();if(e.length){et(new Set(e)),el(e[0]),E(ey.application);return}V()||U()||(()=>{if(N)return;let e=(0,er._n)(q).filter(e=>Q[e.id]);if(0===e.length||!t)return ep();I(!0),M(x.o1.submitReviewAnswersRequest({jobCardId:t.id,answers:(0,en.Q5)(e,G.getValues())},{onSuccess:()=>{I(!1),ep()},onError:()=>I(!1)}))})()},drawerPlacement:i,onSkipAndRemove:r?A:w,skipLabel:B.t(r?`${n$}.footer.skip_and_remove`:`${n$}.footer.delete`),creditsRemaining:H(),isSubmitting:N,isSubmitDisabled:!!eu,submitDisabledTooltip:B.t(`${n$}.footer.${eu??"submit_disabled_expired"}`)}),"deleteOnly"===F&&(0,n.jsx)(ei,{showSubmit:!1,showMeta:!1,showTooltip:!1,drawerPlacement:i,skipLabel:B.t(`${n$}.footer.delete`),onSkipAndRemove:r?A:w})]})]})})]})]})]})},nz=e=>(0,n.jsx)(ih,{job:e.job,children:(0,n.jsx)(nO,{...e})},e.job?.id);var nF=i(29567),nH=i(19977),nV=i(8559),nU=i(90239),nW=i(12330);let nK=e=>`autoApplyExtraQuestionsModalSeen:${e}`;var nq=i(35130);let nG=(e="jobSearch")=>{let t=(0,l.wA)(),{isExtraQuestionsModalOpen:i,showExtraQuestionsModal:r,close:n}=(()=>{let e=(0,nC.J)(),[t,i]=(0,o.useState)(!1);return{isExtraQuestionsModalOpen:t,showExtraQuestionsModal:(0,o.useCallback)(()=>{let t=e?.id;null==t||nW.D.getItem(nK(t))||(nW.D.setItem(nK(t),"1"),i(!0))},[e?.id]),close:(0,o.useCallback)(()=>i(!1),[])}})(),a=(0,o.useRef)(!1),[s,d]=(0,nL.p)("application_id"),[c,u]=(0,o.useState)(null),{reviewQueueIds:p,removeFromReviewQueue:m}=(0,nq.c)(),{data:g,isOpen:b,close:_}=(0,nH.h)("applicationDrawer"),{open:v}=(0,nH.h)("deleteApplicationJobModal"),j=g?.id??null,A=g?.source==="queue",C=(0,h.N)(x.Tp.selectJobs),w=(0,h.N)(x.Tp.selectFetchStatus),k=(0,nU.YQ)(C,j),{hasUserCompletedQuestionnaire:S,isCareerProfileDataLoading:T,redirectToAutoApplyQuestionnaire:P}=(0,y.J)();(0,o.useEffect)(()=>
8176{if(!a.current&&w===ew.Hp.loaded&&!T&&(a.current=!0,s&&!j)){if(!S){d(null,{replace:!0}),P();return}t(x.o1.setModal({key:"applicationDrawer",data:{id:Number(s),source:"card"}}))}},[w,T,S,P,s,j,d,t]),(0,o.useEffect)(()=>{if(!a.current)return;let e=j?String(j):null;e!==s&&d(e,{replace:!0})},[j,s,d]);let J=e=>{let i=null!=e?p.indexOf(Number(e)):-1,r=i>=0?p[i+1]:void 0;null!=r?t(x.o1.setModal({key:"applicationDrawer",data:{id:r,source:"queue"}})):_()};return{isOpen:b,isReviewQueue:A,hasNext:null!=c,close:_,job:k,onSubmit:()=>{if(k){if(f.$.drawerSubmitApplication({jobCardId:Number(k.id),source:A?"queue":"card",column:k.status,systemRecommended:k.systemRecommended}),k.status===x.Sy.recommended&&t(x.o1.deductFromRecommendationsCount(1)),t(x.o1.moveRequest({source:{droppableId:k.status,index:k.positionNumber},destination:{droppableId:x.Sy.auto_apply,index:0},jobId:Number(k.id)})),"jobTracking"===e?t(x.o1.setAutoApplyNotification(x.S5.added)):t(nF.o1.handleNotificationAddedJobCard({...k,status:x.Sy.auto_apply})),r(),A){let e=p.indexOf(Number(k.id));u((e>=0?p[e+1]:void 0)??null),m(Number(k.id));return}J(k.id),m(Number(k.id))}},onNext:()=>{null!=c?t(x.o1.setModal({key:"applicationDrawer",data:{id:c,source:"queue"}})):_(),u(null)},onSkipAndRemove:()=>{j&&(f.$.drawerSkipAndRemove(),k?.status===x.Sy.recommended&&t(x.o1.deductFromRecommendationsCount(1)),k?.externalSlugId&&(0,nV.jQ)(k.externalSlugId),t(x.o1.deleteJobRequest({id:Number(j)})),J(j),m(Number(j)))},onDelete:()=>{null!=j&&v({id:Number(j)})},confirmDelete:e=>{f.$.drawerDeleteJob(),(0,nU.YQ)(C,e)?.status===x.Sy.recommended&&t(x.o1.deductFromRecommendationsCount(1)),t(x.o1.deleteJobRequest({id:e})),m(e),_()},isExtraQuestionsModalOpen:i,closeExtraQuestionsModal:n}};i(44114);let nZ=T.Ay.span(["position:relative;display:block;color:",";b{font-weight:",";}"],d.Jy.Neutral90,d.o5.weights.demibold),nX=T.Ay.span(["opacity:0;"]),nQ=T.Ay.span(["position:absolute;inset:0;"]),nY=({onClose:e})=>{let t=(0,iC.c)().jobApplicationDrawer.extraQuestionsModal,i=(0,o.useMemo)(()=>tm.A.sanitize(t.description),[t.description]),r=(0,o.useRef)(null);return(0,o.useLayoutEffect)(()=>{let e=r.current;if(!e)return;let t=(e=>{let t=[],i=0;for(;i<e.length;){if("<"===e[i]){let r=e.indexOf(">",i);if(-1===r)break;t.push({value:e.slice(i,r+1),counts:!1}),i=r+1;continue}if("&"===e[i]){let r=e.indexOf(";",i);if(-1!==r&&r-i<=10){t.push({value:e.slice(i,r+1),counts:!0}),i=r+1;continue}}t.push({value:e[i],counts:!0}),i+=1}return t})(i),n=t.filter(e=>e.counts).length,o=()=>{e.innerHTML=i};if(!n||"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void o();e.innerHTML="";let a=0,l=0,s="",d=setInterval(()=>{for(;a<t.length;){let e=t[a];if(a+=1,s+=e.value,e.counts){l+=1;break}}if(l>=n){clearInterval(d),o();return}e.innerHTML=s},10);return()=>clearInterval(d)},[i,r]),(0,n.jsx)(iz.J,{onClose:e,title:t.title,dataTestId:"extra-questions-modal",description:(0,n.jsxs)(nZ,{children:[(0,n.jsx)(nX,{dangerouslySetInnerHTML:{__html:i}}),(0,n.jsx)(nQ,{"aria-hidden":!0,ref:r,"data-testid":"extra-questions-description"})]}),renderButtons:({size:i})=>(0,n.jsx)(K.JQ,{size:i,onClick:e,children:t.confirm})})};var n0=i(47151),n1=i(27853),n2=i(19611);let n3=()=>{let e=(0,l.wA)(),t=(0,h.N)(x.Tp.selectJobs),{hasUserCompletedQuestionnaire:i}=(0,y.J)(),{open:r}=(0,n0.P)(),{guardDisabled:n,disabledModal:a}=(0,n1.p)(),s=(0,o.useCallback)(t=>{e(x.o1.setModal({key:"applicationDrawer",data:{id:Number(t),source:"card"}}))},[e]),d=(0,o.useCallback)(i=>{let r=t.find(e=>e.externalSlugId===i.external_slug_id&&e.status!==x.Sy.recommended);if(r)return void s(r.id);let n={status:x.Sy.wishlist,title:i.job_title,company:i.company,link:i.url,description:(0,n2.Q)(i.description),open:!1,external_slug_id:i.external_slug_id,location:i.location,logo:i.company_logo};e(x.o1.createJobRequest(n,{onSuccess:e=>{s(e.id)}}))},[t,e,s]);return{trigger:(0,o.useCallback)(async e=>i?!n(()=>d(e))&&(d(e),!0):(r(e),!1),[d,n,i,r]),disabledModal:a}};i(83452)},83419:function(e,t,i){"use strict";i.d(t,{$z:function(){return u},B5:function(){return h},Gs:function(){return l},IN:function(){return d},IR:function(){return b},Nw:function(){return p},RL:function(){return g},Wo:function(){return m},_e:function(){return j},_n:function(){return s},d4:function(){return x},mD:function(){return y},yD:function(){return v}}),i(18111),i(22489),i(20116),i(7588),i(44114),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698);var r=i(70738),n=i(19611),o=i(58918);let a=["resume","cover_letter"],l=e=>e.field?.type==="file",s=e=>e.filter(e=>!l(e)),d=e=>{if(e.skip)return"";let t=[e.answer,e.value,e.rawAnswer,e.proposedAnswer].find(e=>null!=e&&""!==e);return null==t?"":String(t)},c=e=>e.split(/[\\/]/).pop()?.trim().toLowerCase()??"",u=e=>e.documentId||e.proposedDocumentId||null,p=(e,t)=>{if(!l(t))return;let i=u(t),r=i?e?.find(e=>e.providerDocumentId===i):void 0;if(r)return r;let n=c(d(t));return n?e?.find(e=>c(e.documentFile.filename)===n):void 0},h=(e,t)=>e.filter(e=>{let i=p(t,e);return!i||!a.includes(i.documentType)}),x=(e,t)=>l(e)?!!u(e)||!!d(e):t(),m=(e,t)=>
8176e.filter(e=>e.field?.required===!0&&!x(e,()=>(0,o.H1)(t[e.id],e.field))),g=e=>{let t=[];return e.forEach(e=>{let i,r="string"==typeof(i=e.field?.metadata?.step)&&i.trim()?i.trim():null,n=t.find(e=>e.step===r);n?n.items.push(e):t.push({step:r,items:[e]})}),t},y=e=>{let t=(0,n.Q)(e.question??"").trim();return t.split(" #_# ").pop()?.trim()||t},f=e=>e.field?.label?.trim()||y(e)||e.field?.name?.trim()||"",b=(e,t)=>{let i=f(e),r=t.filter(e=>f(e)===i).length,n=e.field?.name?.trim();return r<2||!n||n===i?i:`${n} — ${i}`},_=new Set(["first_name","last_name","phone_number","email","country","state","city","postal_code","street_address","current_job_title","summary","visa_required","current_salary_currency","current_salary_amount","desired_salary_currency","desired_salary_amount","linkedin_url","birthday","gpa_score","gender","disability","driving_license","security_clearance","is_veteran","race"]),v=e=>{let t=e.profileField;return t&&_.has(t)?(0,r.x)(t):null},j=(e,t)=>"email"===e.profileField||"profile:email"===e.source||"carried_over"===e.source&&e.field?.type==="email"?t:d(e)},47527:function(e,t,i){"use strict";i.d(t,{F:function(){return a}});var r=i(74848),n=i(99701),o=i(25755);let a={Hint:({tooltip:e,...t})=>(0,r.jsx)("div",{style:{position:"relative",display:"inline-block",verticalAlign:"middle"},children:e?(0,r.jsx)(o.m_,{value:e,multiline:!0,width:250,children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...t,children:[(0,r.jsx)("path",{d:"M11.8125 14.6719C12.3047 14.6719 12.7275 15.0937 12.7275 15.5859C12.7275 16.0782 12.3047 16.5 11.8125 16.5C11.3205 16.4997 10.8984 16.078 10.8984 15.5859C10.8985 15.0939 11.3205 14.6721 11.8125 14.6719ZM11.8135 7.5C13.5715 7.50011 14.6259 8.55475 14.626 9.96094C14.626 11.9297 12.5872 11.93 12.5869 13.9688H10.9688C10.9689 11.3674 12.9385 11.3672 12.9385 10.1016C12.9384 9.46888 12.5166 9.04699 11.8135 9.04688C11.1805 9.04688 10.6876 9.53912 10.6875 10.3828H9C9.0704 8.62499 10.1959 7.5 11.8135 7.5Z",fill:n.Jy.Blue50}),(0,r.jsx)("path",{d:"M12 20C10.9494 20 9.90914 19.7931 8.93853 19.391C7.96793 18.989 7.08601 18.3997 6.34315 17.6569C5.60028 16.914 5.011 16.0321 4.60896 15.0615C4.20693 14.0909 4 13.0506 4 12C4 10.9494 4.20693 9.90914 4.60896 8.93853C5.011 7.96793 5.60028 7.08601 6.34315 6.34314C7.08601 5.60028 7.96793 5.011 8.93853 4.60896C9.90914 4.20693 10.9494 4 12 4C13.0506 4 14.0909 4.20693 15.0615 4.60896C16.0321 5.011 16.914 5.60028 17.6569 6.34315C18.3997 7.08602 18.989 7.96793 19.391 8.93853C19.7931 9.90914 20 10.9494 20 12C20 13.0506 19.7931 14.0909 19.391 15.0615C18.989 16.0321 18.3997 16.914 17.6569 17.6569C16.914 18.3997 16.0321 18.989 15.0615 19.391C14.0909 19.7931 13.0506 20 12 20L12 20Z",stroke:n.Jy.Blue50,strokeWidth:"1.4",fill:"none"})]})}):(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...t,children:[(0,r.jsx)("path",{d:"M11.8125 14.6719C12.3047 14.6719 12.7275 15.0937 12.7275 15.5859C12.7275 16.0782 12.3047 16.5 11.8125 16.5C11.3205 16.4997 10.8984 16.078 10.8984 15.5859C10.8985 15.0939 11.3205 14.6721 11.8125 14.6719ZM11.8135 7.5C13.5715 7.50011 14.6259 8.55475 14.626 9.96094C14.626 11.9297 12.5872 11.93 12.5869 13.9688H10.9688C10.9689 11.3674 12.9385 11.3672 12.9385 10.1016C12.9384 9.46888 12.5166 9.04699 11.8135 9.04688C11.1805 9.04688 10.6876 9.53912 10.6875 10.3828H9C9.0704 8.62499 10.1959 7.5 11.8135 7.5Z",fill:n.Jy.Blue50}),(0,r.jsx)("path",{d:"M12 20C10.9494 20 9.90914 19.7931 8.93853 19.391C7.96793 18.989 7.08601 18.3997 6.34315 17.6569C5.60028 16.914 5.011 16.0321 4.60896 15.0615C4.20693 14.0909 4 13.0506 4 12C4 10.9494 4.20693 9.90914 4.60896 8.93853C5.011 7.96793 5.60028 7.08601 6.34315 6.34314C7.08601 5.60028 7.96793 5.011 8.93853 4.60896C9.90914 4.20693 10.9494 4 12 4C13.0506 4 14.0909 4.20693 15.0615 4.60896C16.0321 5.011 16.914 5.60028 17.6569 6.34315C18.3997 7.08602 18.989 7.96793 19.391 8.93853C19.7931 9.90914 20 10.9494 20 12C20 13.0506 19.7931 14.0909 19.391 15.0615C18.989 16.0321 18.3997 16.914 17.6569 17.6569C16.914 18.3997 16.0321 18.989 15.0615 19.391C14.0909 19.7931 13.0506 20 12 20L12 20Z",stroke:n.Jy.Blue50,strokeWidth:"1.4",fill:"none"})]})}),Plus:e=>(0,r.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("circle",{cx:"14",cy:"14",r:"14",fill:"#EFF2F9"}),(0,r.jsx)("path",{d:"M14 8.1001C14.4969 8.10031 14.9004 8.50356 14.9004 9.00049V13.0991H18.9961C19.4928 13.0993 19.8962 13.5028 19.8965 13.9995C19.8965 14.4964 19.493 14.8997 18.9961 14.8999H14.9004V19.0005C14.9002 19.4972 14.4967 19.9007 14 19.9009C13.5031 19.9009 13.0998 19.4974 13.0996 19.000
81765V14.8999H8.99609C8.49904 14.8999 8.0957 14.4966 8.0957 13.9995C8.09595 13.5027 8.49919 13.0991 8.99609 13.0991H13.0996V9.00049C13.0996 8.50343 13.5029 8.1001 14 8.1001Z",fill:"#828BA2"})]}),Upload:e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_1261_20847)",children:[(0,r.jsx)("path",{d:"M5.33313 19.8654C4.34252 18.8533 3.59523 17.6291 3.14785 16.2854C2.70047 14.9417 2.56474 13.5138 2.75095 12.1098C2.93715 10.7059 3.44041 9.36278 4.22259 8.18215C5.00478 7.00153 6.04538 6.0144 7.26558 5.29551C8.48578 4.57662 9.85357 4.14485 11.2654 4.03288C12.6771 3.92091 14.0959 4.13169 15.4142 4.64925C16.7324 5.16682 17.9156 5.97759 18.8741 7.02016C19.8326 8.06273 20.5413 9.30975 20.9465 10.6668H23.3331C24.6205 10.6666 25.8737 11.0805 26.9078 11.8474C27.9418 12.6142 28.7018 13.6933 29.0755 14.9252C29.4492 16.1571 29.4167 17.4765 28.9829 18.6886C28.5491 19.9007 27.737 20.9411 26.6665 21.6561",stroke:"#828BA2",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),(0,r.jsx)("path",{d:"M15.9995 16.4326C16.1261 16.4326 16.2466 16.4596 16.356 16.5068C16.3949 16.5236 16.4325 16.5439 16.4692 16.5664C16.481 16.5736 16.493 16.5802 16.5044 16.5879C16.5509 16.6194 16.595 16.6561 16.6362 16.6973L21.9692 22.0312C22.3206 22.3827 22.3207 22.9523 21.9692 23.3037C21.6178 23.6546 21.0481 23.6549 20.6968 23.3037L16.8999 19.5068V28.001C16.8995 28.4977 16.4963 28.9004 15.9995 28.9004C15.5028 28.9003 15.0996 28.4976 15.0991 28.001V19.5068L11.3032 23.3037C10.9518 23.6548 10.3812 23.6549 10.0298 23.3037C9.6787 22.9525 9.67905 22.3827 10.0298 22.0312L15.353 16.707C15.4364 16.6209 15.5369 16.5514 15.6489 16.5039L15.7231 16.4766L15.7241 16.4756C15.7747 16.4594 15.8274 16.4485 15.8813 16.4414V16.4404C15.92 16.4353 15.9595 16.4326 15.9995 16.4326Z",fill:"#828BA2"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1261_20847",children:(0,r.jsx)("rect",{width:"32",height:"32",fill:"white"})})})]}),Eye:e=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M12.0039 4.5C13.0405 4.5 14.0177 4.64148 14.9355 4.92383C15.8588 5.20621 16.7098 5.57768 17.4873 6.03809C18.2698 6.49832 18.9687 7.01069 19.584 7.5752C20.1995 8.1338 20.7234 8.696 21.1553 9.26074C21.5925 9.82538 21.9246 10.3501 22.1514 10.835C22.3835 11.3136 22.4999 11.7005 22.5 11.9951C22.5 12.2898 22.3835 12.6801 22.1514 13.165C21.9246 13.6438 21.5959 14.1658 21.1641 14.7305L20.8223 15.1533C20.4629 15.5758 20.0497 15.9961 19.584 16.415C18.9685 16.9736 18.2725 17.4866 17.4951 17.9531L17.2002 18.124C16.5041 18.512 15.752 18.8291 14.9443 19.0762L14.5947 19.1758C13.7746 19.3919 12.9109 19.5 12.0039 19.5C10.9727 19.5 9.99789 19.3585 9.08008 19.0762C8.28186 18.8291 7.53303 18.512 6.83398 18.124L6.53711 17.9531C5.7597 17.4866 5.06031 16.9736 4.43945 16.415C3.97386 15.9961 3.55963 15.5757 3.19727 15.1533L2.85254 14.7305C2.52464 14.307 2.25455 13.9074 2.04199 13.5322L1.84863 13.165C1.61647 12.6801 1.5 12.2898 1.5 11.9951C1.50007 11.7005 1.61654 11.3136 1.84863 10.835C2.02275 10.4713 2.25448 10.0853 2.54395 9.67676L2.85254 9.26074C3.29527 8.69598 3.82734 8.13382 4.44824 7.5752C4.99148 7.08111 5.59473 6.6271 6.25781 6.21289L6.5459 6.03809C7.23082 5.6353 7.96492 5.29973 8.74902 5.0332L9.08887 4.92383C10.0012 4.64151 10.9728 4.50001 12.0039 4.5ZM12.0039 6.2998C11.1389 6.29982 10.3479 6.41865 9.62109 6.64355C8.83639 6.8864 8.11772 7.20074 7.46191 7.58594C6.78172 7.98876 6.18304 8.43073 5.65918 8.90723L5.65234 8.91406L4.44824 7.5752L5.65137 8.91406C5.09588 9.41388 4.63853 9.90041 4.26953 10.3711L4.26855 10.3701C3.88901 10.8611 3.6333 11.2747 3.47168 11.6123L3.46777 11.6201C3.38297 11.795 3.33633 11.9189 3.3125 11.9971C3.33649 12.0771 3.38334 12.2027 3.46777 12.3799L3.6084 12.6465C3.76819 12.9283 3.98658 13.2549 4.27539 13.6279C4.63687 14.0947 5.08965 14.5788 5.64355 15.0771C6.17173 15.5523 6.77699 15.997 7.46387 16.4092H7.46289C8.11639 16.7982 8.83123 17.1147 9.6123 17.3564H9.61133C10.345 17.582 11.1395 17.7002 12.0039 17.7002C12.8751 17.7002 13.6766 17.5819 14.417 17.3555C15.2092 17.1132 15.9243 16.7957 16.5684 16.4092C17.2537 15.9979 17.8544 15.5546 18.375 15.082L18.3809 15.0771L18.7754 14.708C19.1508 14.3414 19.4689 13.9838 19.7344 13.6367C20.1137 13.1408 20.3676 12.7278 20.5254 12.3945L20.5283 12.3877C20.615 12.2066 20.6622 12.0783 20.6865 11.9971C20.6627 11.9189 20.6169 11.7948 20.5322 11.6201L20.5264 11.6094L20.5215 11.5977C20.3662 11.2656 20.1135 10.8544 19.7324 10.3623L19.7256 10.3545C19.3696 9.88902 18.9232 9.40572 18.375 8.9082L18.3672 8.90137C17.8528 8.4294 17.2572 7.99051 16.5742 7.58887L16.5693 7.58691C15.9229 7.20413 15.2051 6.88795 14.4092 6.64453L14.4062 6.64355C13.673 6.41802 12.8752 6.2998 12.0039 6.2998ZM12 9C13.6569 9 15 10.3431 15 12C15 13.6569 13.6569 15 12 15C10.3431 15 9 13.6569 9 12C9 10.3431 10.3431 9 12 9Z",fill:"currentColor"})}),Error:e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M9.89551 5.34351C10.9363 3.55183 13.5246 3.55182 14.5654 5.34351L20.0918 14.8611C21.1365 16.6609 19.8379 18.9165 17.7568 18.9167H6.7041C4.62304 18.9165 3.32446 16.6609 4.36914 14.8611L9.89551 5.34351ZM13.3545 6.04663C12.8533 5.18429 11.6076 5.1843 11.1064 6.04663L5.58008 15.5642C5.07733 16.4307 5.70229 17.5161 6.7041 17.5164H17.7568C18.7586 17.5161 19.3836 16.4307 18.8809 15.5642L13.3545 6.04663ZM12.2305 14.0164C12.6169 14.0164 12.9305 14.3301 12.9307 14.7166V14.7263C12.9307 15.1129 12.6171 15.4265 12.2305 15.4265C11.8439 15.4265 11.5303 15.1129 11.5303 14.7263V14.7166C11.5305 14.3301 11.844 14.0164 12.2305 14.0164ZM12.2305 8.51636C12.6169 8.51637 12.9304 8.83015 12.9307 9.21655V12.2166C12.9307 12.6031 12.6171 12.9167 12.2305 12.9167C11.8439 12.9167 11.5303 12.6032 11.5303 12.2166V9.21655C11.5305 8.83014 11.844 8.51636 12.2305 8.51636Z",fill:e.fill??"#FB4458"})})}},9397:function(e,t,i){"use strict";i.d(t,{e:function(){return c}}),i(18111),i(61701),i(7588);var r=i(74848),n=i(96540),o=i(18051),a=i.n(o),l=i(38267),s=JSON.parse('{"nm":"Animation","ddd":0,"h":24,"w":24,"meta":{"g"
8176:"LottieFiles Figma v112"},"layers":[{"ty":0,"nm":"AI Icon","sr":1,"st":0,"op":133.18,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":true,"ao":0,"ks":{"a":{"a":0,"k":[12,12]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[12,12]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}},"masksProperties":[{"nm":"","inv":false,"mode":"a","x":{"a":0,"k":0},"o":{"a":0,"k":100},"pt":{"a":1,"k":[{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,-0.01],[0,0],[0.01,0],[0,0],[0,0.01],[0,0],[-0.01,0],[0,0]],"o":[[0,0],[0,0.01],[0,0],[-0.01,0],[0,0],[0,-0.01],[0,0],[0.01,0]],"v":[[24,0.01],[24,23.99],[23.99,24],[0.01,24],[0,23.99],[0,0.01],[0.01,0],[23.99,0]]}],"t":0},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,-0.01],[0,0],[0.01,0],[0,0],[0,0.01],[0,0],[-0.01,0],[0,0]],"o":[[0,0],[0,0.01],[0,0],[-0.01,0],[0,0],[0,-0.01],[0,0],[0.01,0]],"v":[[24,0.01],[24,23.99],[23.99,24],[0.01,24],[0,23.99],[0,0.01],[0.01,0],[23.99,0]]}],"t":72},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,-0.01],[0,0],[0.01,0],[0,0],[0,0.01],[0,0],[-0.01,0],[0,0]],"o":[[0,0],[0,0.01],[0,0],[-0.01,0],[0,0],[0,-0.01],[0,0],[0.01,0]],"v":[[24,0.01],[24,23.99],[23.99,24],[0.01,24],[0,23.99],[0,0.01],[0.01,0],[23.99,0]]}],"t":87},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,-0.01],[0,0],[0.01,0],[0,0],[0,0.01],[0,0],[-0.01,0],[0,0]],"o":[[0,0],[0,0.01],[0,0],[-0.01,0],[0,0],[0,-0.01],[0,0],[0.01,0]],"v":[[24,0.01],[24,23.99],[23.99,24],[0.01,24],[0,23.99],[0,0.01],[0.01,0],[23.99,0]]}],"t":102},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,-0.01],[0,0],[0.01,0],[0,0],[0,0.01],[0,0],[-0.01,0],[0,0]],"o":[[0,0],[0,0.01],[0,0],[-0.01,0],[0,0],[0,-0.01],[0,0],[0.01,0]],"v":[[24,0.01],[24,23.99],[23.99,24],[0.01,24],[0,23.99],[0,0.01],[0.01,0],[23.99,0]]}],"t":117},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,-0.01],[0,0],[0.01,0],[0,0],[0,0.01],[0,0],[-0.01,0],[0,0]],"o":[[0,0],[0,0.01],[0,0],[-0.01,0],[0,0],[0,-0.01],[0,0],[0.01,0]],"v":[[24,0.01],[24,23.99],[23.99,24],[0.01,24],[0,23.99],[0,0.01],[0.01,0],[23.99,0]]}],"t":132},{"s":[{"c":true,"i":[[0,-0.01],[0,0],[0.01,0],[0,0],[0,0.01],[0,0],[-0.01,0],[0,0]],"o":[[0,0],[0,0.01],[0,0],[-0.01,0],[0,0],[0,-0.01],[0,0],[0.01,0]],"v":[[24,0.01],[24,23.99],[23.99,24],[0.01,24],[0,23.99],[0,0.01],[0.01,0],[23.99,0]]}],"t":204}]}}],"w":24,"h":24,"refId":"1","ind":1}],"v":"5.7.0","fr":60,"op":132.18,"ip":0,"assets":[{"nm":"[Asset] AI Icon","id":"1","fr":30,"layers":[{"ty":4,"nm":"AI Icon Bg","sr":1,"st":0,"op":133.18,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":0,"k":[12,12]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[12,12]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}},"shapes":[{"ty":"sh","bm":0,"hd":false,"nm":"","d":1,"ks":{"a":0,"k":{"c":true,"i":[[0,-0.01],[0,0],[0.01,0],[0,0],[0,0.01],[0,0],[-0.01,0],[0,0]],"o":[[0,0],[0,0.01],[0,0],[-0.01,0],[0,0],[0,-0.01],[0,0],[0.01,0]],"v":[[24,0.01],[24,23.99],[23.99,24],[0.01,24],[0,23.99],[0,0.01],[0.01,0],[23.99,0]]}}}],"ind":1},{"ty":4,"nm":"Big","sr":1,"st":0,"op":133.18,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":1,"k":[{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[7.5,7.5],"t":0},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[7.5,7.5],"t":72},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[2.5,2.5],"t":87},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[7.5,7.5],"t":102},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[7.5,7.5],"t":117},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[7.5,7.5],"t":132},{"s":[7.5,7.5],"t":204}]},"s":{"a":0,"k":[100,-100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[13.5,12]},"r":{"a":0,"k":180},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}},"shapes":[{"ty":"sh","bm":0,"hd":false,"nm":"","d":1,"ks":{"a":1,"k":[{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.03,-0.08],[0,0],[-1,-0.41],[0,0],[0.08,-0.03],[0,0],[0.41,-1],[0,0],[0.03,0.08],[0,0],[1,0.41],[0,0],[-0.08,0.03],[0,0],[-0.41,1],[0,0]],"o":[[0.03,-0.08],[0,0],[0.41,1],[0,0],[0.08,0.03],[0,0],[-1,0.41],[0,0],[-0.03,0.08],[0,0],[-0.41,-1],[0,0],[-0.08,-0.03],[0,0],[1,-0.41],[0,0],[0,0]],"v":[[7.41,0.23],[7.59,0.23],[9.04,3.77],[11.23,5.96],[14.77,7.41],[14.77,7.59],[11.23,9.04],[9.04,11.23],[7.59,14.77],[7.41,14.77],[5.96,11.23],[3.77,9.04],[0.23,7.59],[0.23,7.41],[3.77,5.96],[5.96,3.77],[7.41,0.23]]}],"t":0},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.03,-0.08],[0,0],[-1,-0.41],[0,0],[0.08,-0.03],[0,0],[0.41,-1],[0,0],[0.03,0.08],[0,0],[1,0.41],[0,0],[-0.08,0.03],[0,0],[-0.41,1],[0,0]],"o":[[0.03,-0.08],[0,0],[0.41,1],[0,0],[0.08,0.03],[0,0],[-1,0.41],[0,0],[-0.03,0.08],[0,0],[-0.41,-1],[0,0],[-0.08,-0.03],[0,0],[1,-0.41],[0,0],[0,0]],"v":[[7.41,0.23],[7.59,0.23],[9.04,3.77],[11.23,5.96],[14.77,7.41],[14.77,7.59],[11.23,9.04],[9.04,11.23],[7.59,14.77],[7.41,14.77],[5.96,11.23],[3.77,9.04],[0.23,7.59],[0.23,7.41],[3.77,5.96],[5.96,3.77],[7.41,0.23]]}],"t":72},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.01,-0.03],[0,0],[-0.33,-0.14],[0,0],[0.03,-0.01],[0,0],[0.14,-0.33],[0,0],[0.01,0.03],[0,0],[0.33,0.14],[0,0],[-0.03,0.01],[0,0],[-0.14,0.33],[0,0]],"o":[[0.01,-0.03],[0,0],[0.14,0.33],[0,0],[0.03,0.01],[0,0],[-0.33,0.14],[0,0],[-0.01,0.03],[0,0],[-0.14,-0.33],[0,0],[-0.03,-0.01],[0,0],[0.33,-0.14],[0,0],[0,0]],"v":[[2.47,0.08],[2.53,0.08],[3.01,1.26],[3.74,1.99],[4.92,2.47],[4.92,2.53],[3.74,3.01],[3.01,3.74],[2.53,4.92],[2.47,4.92],[1.99,3.74],[1.26,3.01],[0.08,2.53],[0.08,2.47],[1.26,1.99],[1.99,1.26],[2.47,0.08]]}],"t":87},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.03,-0.08],[0,0],[-1,-0.41],[0,0],[0.08,-0.03],[0,0],[0.41,-1],[0,0],[0.03,0.08],[0,0],[1,0.41],[0,0],[-0.08,0.03],[0,0],[-0.41,1],[0,0]],"o":[[0.03,-0.08],[0,0],[0.41,1],[0,0],[0.08,0.03],[0,0],[-1,0.41],[0,0],[-0.03,0.08],[0,0],[-0.41,-1],[0,0],[-0.08,-0.03],[0,0],[1,-0.41],[0,0],[0,0]],"v":[[7.41,0.23],[7.59,0.23],[9.04,3.77],[11.23,5.96],[14.77,7.41],[14.77,7.59],[11.23,9.04],[9.04,11.23],[7.59,14.77],[7.41,14.77],[5.96,11.23],[3.77,9.04],[0.23,7.59],[0.23,7.41],[3.77,5.96],[5.96,3.77],[7.41,0.23]]}],"t":102},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.03,-0.08],[0,0],[-1,-0.41],[0,0],[0.08,-0.03],[0,0],[0.41,-1],[0,0],[0.03,0.08],[0,0],[1,0.41],[0,0],[-0.08,0.03],[0,0],[-0.41,1],[0,0]],"o":[[0.03,-0.08],[0,0],[0.41,1],[0,0],[0.08,0.03],[0,0],[-1,0.41],[0,0],[-0.03,0.08],[0,0],[-0.41,-1],[0,0],[-0.08,-0.03],[0,0],[1,-0.41],[0,0],[0,0]],"v":[[7.41,0.23],[7.59,0.23],[9.04,3.77],[11.23,5.96],[14.77,7.41],[14.77,7.59],[11.23,9.04],[9.04,11.23],[7.59,14.77],[7.41,14.77],[5.96,11.23],[3.77,9.04],[0.23,7.59],[0.23,7.41],[3.77,5.96],[5.96,3.77],[7.41,0.23]]}],"t":117},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.03,-0.08],[0,0],[-1,-0.41],[0,0],[0.08,-0.03],[0,0],[0.41,-1],[0,0],[0.03,0.08],[0,0],[1,0.41],[0,0],[-0.08,0.03],[0,0],[-0.41,1],[0,0]],"o":[[0.03,-0.08],[0,0],[0.41,1],[0,0],[0.08,0.03],[0,0],[-1,0.41],[0,0],[-0.03,0.08],[0,0],[-0.41,-1],[0,0],[-0.08,-0.03],[0,0],[1,-0.41],[0,0],[0,0]],"v":[[7.41,0.23],[7.59,0.23],[9.04,3.77],[11.23,5.96],[14.77,7.41],[14.77,7.59],[11.23,9.04],[9.04,11.23],[7.59,14.77],[7.41,14.77],[5.96,11.23],[3.77,9.04],[0.23,7.59],[0.23,7.41],[3.77,5.96],[5.96,3.77],[7.41,0.23]]}],"t":132},{"s":[{"c":true,"i":[[0,0],[-0.03,-0.08],[0,0],[-1,-0.41],[0,0],[0.08,-0.03],[0,0],[0.41,-1],[0,0],[0.03,0.08],[0,0],[1,0.41],[0,0],[-0.08,0.03],[0,0],[-0.41,1],[0,0]],"o":[[0.03,-0.08],[0,0],[0.41,1],[0,0],[0.08,0.03],[0,0],[-1,0.41],[0,0],[-0.03,0.08],[0,0],[-0.41,-1],[0,0],[-0.08,-0.03],[0,0],[1,-0.41],[0,0],[0,0]],"v":[[7.41,0.23],[7.59,0.23],[9.04,3.77],[11.23,5.96],[14.77,7.41],[14.77,7.59],[11.23,9.04],[9.04,11.23],[7.59,14.77],[7.41,14.77],[5.96,11.23],[3.77,9.04],[0.23,7.59],[0.23,7.41],[3.77,5.96],[5.96,3.77],[7.41,0.23]]}],"t":204}]}},{"ty":"st","bm":0,"hd":false,"nm":"","lc":1,"lj":1,"ml":3.9993276596069336,"o":{"a":0,"k":100},"w":{"a":1,"k":[{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[1],"t":0},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[1],"t":72},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[1],"t":87},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[1],"t":102},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[1],"t":117},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[1],"t":132},{"s":[1],"t":204}]},"c":{"a":0,"k":[1,1,1]}},{"ty":"fl","bm":0,"hd":false,"nm":"","c":{"a":0,"k":[1,1,1]},"r":1,"o":{"a":0,"k":100}}],"ind":2},{"ty":4,"nm":"Middle","sr":1,"st":0,"op":133.18,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":1,"k":[{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0}
8176,"s":[3.5,3.5],"t":0},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[3.5,3.5],"t":72},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[3.5,3.5],"t":87},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[1.5,1.5],"t":102},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[3.5,3.5],"t":117},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[3.5,3.5],"t":132},{"s":[3.5,3.5],"t":204}]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[5.5,18]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":100}},"shapes":[{"ty":"sh","bm":0,"hd":false,"nm":"","d":1,"ks":{"a":1,"k":[{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[3.31,0.45],[3.69,0.45],[4.36,2.1],[4.9,2.64],[6.55,3.31],[6.55,3.69],[4.9,4.36],[4.36,4.9],[3.69,6.55],[3.31,6.55],[2.64,4.9],[2.1,4.36],[0.45,3.69],[0.45,3.31],[2.1,2.64],[2.64,2.1],[3.31,0.45]]}],"t":0},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[3.31,0.45],[3.69,0.45],[4.36,2.1],[4.9,2.64],[6.55,3.31],[6.55,3.69],[4.9,4.36],[4.36,4.9],[3.69,6.55],[3.31,6.55],[2.64,4.9],[2.1,4.36],[0.45,3.69],[0.45,3.31],[2.1,2.64],[2.64,2.1],[3.31,0.45]]}],"t":72},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[3.31,0.45],[3.69,0.45],[4.36,2.1],[4.9,2.64],[6.55,3.31],[6.55,3.69],[4.9,4.36],[4.36,4.9],[3.69,6.55],[3.31,6.55],[2.64,4.9],[2.1,4.36],[0.45,3.69],[0.45,3.31],[2.1,2.64],[2.64,2.1],[3.31,0.45]]}],"t":87},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.03,-0.07],[0,0],[-0.11,-0.04],[0,0],[0.07,-0.03],[0,0],[0.04,-0.11],[0,0],[0.03,0.07],[0,0],[0.11,0.04],[0,0],[-0.07,0.03],[0,0],[-0.04,0.11],[0,0]],"o":[[0.03,-0.07],[0,0],[0.04,0.11],[0,0],[0.07,0.03],[0,0],[-0.11,0.04],[0,0],[-0.03,0.07],[0,0],[-0.04,-0.11],[0,0],[-0.07,-0.03],[0,0],[0.11,-0.04],[0,0],[0,0]],"v":[[1.42,0.19],[1.58,0.19],[1.87,0.9],[2.1,1.13],[2.81,1.42],[2.81,1.58],[2.1,1.87],[1.87,2.1],[1.58,2.81],[1.42,2.81],[1.13,2.1],[0.9,1.87],[0.19,1.58],[0.19,1.42],[0.9,1.13],[1.13,0.9],[1.42,0.19]]}],"t":102},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[3.31,0.45],[3.69,0.45],[4.36,2.1],[4.9,2.64],[6.55,3.31],[6.55,3.69],[4.9,4.36],[4.36,4.9],[3.69,6.55],[3.31,6.55],[2.64,4.9],[2.1,4.36],[0.45,3.69],[0.45,3.31],[2.1,2.64],[2.64,2.1],[3.31,0.45]]}],"t":117},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[3.31,0.45],[3.69,0.45],[4.36,2.1],[4.9,2.64],[6.55,3.31],[6.55,3.69],[4.9,4.36],[4.36,4.9],[3.69,6.55],[3.31,6.55],[2.64,4.9],[2.1,4.36],[0.45,3.69],[0.45,3.31],[2.1,2.64],[2.64,2.1],[3.31,0.45]]}],"t":132},{"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.
817617],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[3.31,0.45],[3.69,0.45],[4.36,2.1],[4.9,2.64],[6.55,3.31],[6.55,3.69],[4.9,4.36],[4.36,4.9],[3.69,6.55],[3.31,6.55],[2.64,4.9],[2.1,4.36],[0.45,3.69],[0.45,3.31],[2.1,2.64],[2.64,2.1],[3.31,0.45]]}],"t":204}]}},{"ty":"fl","bm":0,"hd":false,"nm":"","c":{"a":0,"k":[1,1,1]},"r":1,"o":{"a":0,"k":100}}],"ind":3},{"ty":4,"nm":"Small","sr":1,"st":0,"op":133.18,"ip":0,"hd":false,"ddd":0,"bm":0,"hasMask":false,"ao":0,"ks":{"a":{"a":1,"k":[{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[2.5,2.5],"t":0},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[2.5,2.5],"t":72},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[2.5,2.5],"t":87},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[2.5,2.5],"t":102},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[0.5,0.5],"t":117},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[2.5,2.5],"t":132},{"s":[2.5,2.5],"t":204}]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"p":{"a":0,"k":[6.5,6]},"r":{"a":0,"k":0},"sa":{"a":0,"k":0},"o":{"a":0,"k":40}},"shapes":[{"ty":"sh","bm":0,"hd":false,"nm":"","d":1,"ks":{"a":1,"k":[{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[2.31,0.45],[2.69,0.45],[3.07,1.39],[3.61,1.93],[4.55,2.31],[4.55,2.69],[3.61,3.07],[3.07,3.61],[2.69,4.55],[2.31,4.55],[1.93,3.61],[1.39,3.07],[0.45,2.69],[0.45,2.31],[1.39,1.93],[1.93,1.39],[2.31,0.45]]}],"t":0},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[2.31,0.45],[2.69,0.45],[3.07,1.39],[3.61,1.93],[4.55,2.31],[4.55,2.69],[3.61,3.07],[3.07,3.61],[2.69,4.55],[2.31,4.55],[1.93,3.61],[1.39,3.07],[0.45,2.69],[0.45,2.31],[1.39,1.93],[1.93,1.39],[2.31,0.45]]}],"t":72},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[2.31,0.45],[2.69,0.45],[3.07,1.39],[3.61,1.93],[4.55,2.31],[4.55,2.69],[3.61,3.07],[3.07,3.61],[2.69,4.55],[2.31,4.55],[1.93,3.61],[1.39,3.07],[0.45,2.69],[0.45,2.31],[1.39,1.93],[1.93,1.39],[2.31,0.45]]}],"t":87},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[2.31,0.45],[2.69,0.45],[3.07,1.39],[3.61,1.93],[4.55,2.31],[4.55,2.69],[3.61,3.07],[3.07,3.61],[2.69,4.55],[2.31,4.55],[1.93,3.61],[1.39,3.07],[0.45,2.69],[0.45,2.31],[1.39,1.93],[1.93,1.39],[2.31,0.45]]}],"t":102},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.01,-0.03],[0,0],[-0.05,-0.02],[0,0],[0.03,-0.01],[0,0],[0.02,-0.05],[0,0],[0.01,0.03],[0,0],[0.05,0.02],[0,0],[-0.03,0.01],[0,0],[-0.02,0.05],[0,0]],"o":[[0.01,-0.03],[0,0],[0.02,0.05],[0,0],[0.03,0.01],[0,0],[-0.05,0.02],[0,0],[-0.01,0.03],[0,0],[-0.02,-0.05],[0,0],[-0.03,-0.01],[0,0],[0.05,-0.02],[0,0],[0,0]],"v":[[0.46,0.09],[0.54,0.09],[0.61,0.28],[0.72,0.39],[0.91,0.46],[0.91,0.54],[0.72,0.61],[0.61,0.72],[0.54,0.91],[0.46,0.91],[0.39,0.72],[0.28,0.61],[0.09,0.54],[0.09,0.46],[0.28,0.39],[0.39,0.28],[0.46,0.09]]}],"t":117},{"o":{"x":0.65,"y":0},"i":{"x":0.35,"y":0},"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.
817617],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[2.31,0.45],[2.69,0.45],[3.07,1.39],[3.61,1.93],[4.55,2.31],[4.55,2.69],[3.61,3.07],[3.07,3.61],[2.69,4.55],[2.31,4.55],[1.93,3.61],[1.39,3.07],[0.45,2.69],[0.45,2.31],[1.39,1.93],[1.93,1.39],[2.31,0.45]]}],"t":132},{"s":[{"c":true,"i":[[0,0],[-0.07,-0.17],[0,0],[-0.25,-0.1],[0,0],[0.17,-0.07],[0,0],[0.1,-0.25],[0,0],[0.07,0.17],[0,0],[0.25,0.1],[0,0],[-0.17,0.07],[0,0],[-0.1,0.25],[0,0]],"o":[[0.07,-0.17],[0,0],[0.1,0.25],[0,0],[0.17,0.07],[0,0],[-0.25,0.1],[0,0],[-0.07,0.17],[0,0],[-0.1,-0.25],[0,0],[-0.17,-0.07],[0,0],[0.25,-0.1],[0,0],[0,0]],"v":[[2.31,0.45],[2.69,0.45],[3.07,1.39],[3.61,1.93],[4.55,2.31],[4.55,2.69],[3.61,3.07],[3.07,3.61],[2.69,4.55],[2.31,4.55],[1.93,3.61],[1.39,3.07],[0.45,2.69],[0.45,2.31],[1.39,1.93],[1.93,1.39],[2.31,0.45]]}],"t":204}]}},{"ty":"fl","bm":0,"hd":false,"nm":"","c":{"a":0,"k":[1,1,1]},"r":1,"o":{"a":0,"k":100}}],"ind":4}]}]}');let d=(0,l.Ay)(a())(["svg{vertical-align:baseline;}"]),c=({color:e,size:t=24,loop:i=!0,className:o,style:a})=>{let l=(0,n.useMemo)(()=>{let t=JSON.parse(JSON.stringify(s));return e&&((e,t)=>{let i,r,[n,o,a]=[((r=parseInt(3===(i=t.replace("#","")).length?i.split("").map(e=>e+e).join(""):i,16))>>16&255)/255,(r>>8&255)/255,(255&r)/255],l=e=>{(e?.ty==="fl"||e?.ty==="st")&&Array.isArray(e?.c?.k)&&(e.c.k[0]=n,e.c.k[1]=o,e.c.k[2]=a),Array.isArray(e?.it)&&e.it.forEach(l)},s=(e=[])=>e.forEach(e=>e?.shapes?.forEach(l));s(e.layers),e.assets?.forEach(e=>s(e.layers))})(t,e),t},[e]);return(0,r.jsx)(d,{animationData:l,loop:i,autoplay:!0,"aria-hidden":!0,className:o,style:{width:t,height:t,flexShrink:0,...a}})}},78037:function(e,t,i){"use strict";i.d(t,{h:function(){return c}}),i(18111),i(61701),i(13579);var r=i(74848),n=i(96540),o=i(49785),a=i(67464),l=i(1122),s=i(77484),d=i(5348);let c=({name:e,maxLimit:t,singleValue:i,parse:c,serialize:u,isLoading:p,loadOptions:h,defaultOptions:x,cacheOptions:m,creatable:g,...y})=>{let{control:f,formState:b,setError:_,clearErrors:v}=(0,o.xW)(),{errors:j}=b,A=j[e],C=(0,n.useRef)(null),w=(0,d.ht)(e),k=(0,n.useCallback)(e=>{C.current=e,w(e)},[w]);if((0,n.useEffect)(()=>{if(A?.message&&"string"==typeof A.message){let e=C.current?.querySelector("input");e?.focus()}},[A?.message]),p)return(0,r.jsx)("div",{ref:k,"data-testid":`cluster-picker-field-${e}`,children:(0,r.jsx)(s.E,{$height:"48px",$width:"100%"})});let S=c||(e=>e&&Array.isArray(e)?e.length>0&&"object"==typeof e[0]&&"value"in e[0]?e:e.length>0&&"string"==typeof e[0]?e.map(e=>({value:e,label:e})):e.map(e=>({value:e.id?.toString()||e.value?.toString()||"",label:e.label||e.name||e.formattedName||""})):[]),T=u||(e=>e);return(0,r.jsxs)("div",{ref:k,"data-testid":`cluster-picker-field-${e}`,children:[(0,r.jsx)(o.xI,{name:e,control:f,render:({field:n})=>{let o=n.value,l=i?[]:o||[],s=i?o?[{value:o,label:o}]:[]:S(l),d=r=>{if(void 0!==t&&l.length>=t){t>1&&_(e,{type:"maxLimit",message:`You can add up to ${t} items`});return}if(i)return void n.onChange(r.value);if(s.some(e=>e.value.toLowerCase()===r.value.toLowerCase()||e.label.toLowerCase()===r.label.toLowerCase()))return;let o=[T([r])[0],...l];v(e),n.onChange(o)},c=(!Array.isArray(x)||0!==x.length)&&y.openMenuOnClick;return(0,r.jsx)(a.R,{...y,openMenuOnClick:c,selectedList:s,onSelect:d,onUnselect:r=>{if(i)return void n.onChange(r[r.length-1]?.value||"");let o=T(r);1===t&&o.length>1&&(o=o.slice(-1)),t&&t>1&&o.length>t?(o=o.slice(0,t),_(e,{type:"maxLimit",message:`You can add up to ${t} items`})):t&&v(e),n.onChange(o)},loadOptions:h,defaultOptions:x,cacheOptions:m,showIndicators:{dropdown:!0},creatable:g,autoFocus:y.autoFocus,onCreateOption:e=>{let t=e.trim();t&&d({value:t,label:t})}})}}),A?.message&&"string"==typeof A.message&&(0,r.jsx)(l.K,{children:A.message})]})}},30122:function(e,t,i){"use strict";i.d(t,{$n:function(){return f},AS:function(){return g},Is:function(){return l},O4:function(){return k},VY:function(){return u},Xj:function(){return x},Y9:function(){return s},_d:function(){return w},aF:function(){return a},aK:function(){return m},fk:function(){return d},g3:function(){return b},hE:function(){return c},hg:function(){return h}
8176,nB:function(){return p},nX:function(){return C},py:function(){return A},vG:function(){return _},wi:function(){return v},yX:function(){return j},zh:function(){return y}});var r=i(38267),n=i(99701),o=i(14649);let a=r.Ay.div(["position:relative;display:flex;flex-direction:column;width:600px;max-width:calc(100vw - 32px);background:",";border-radius:16px;overflow:hidden;box-shadow:0 16px 48px rgba(15,23,42,0.16);"],n.Jy.White),l=r.Ay.div(["position:absolute;top:20px;right:20px;z-index:1;"]),s=r.Ay.div(["padding:32px 32px 24px;background:linear-gradient(180deg,"," 0%,"," 100%);"],n.Jy.Blue10,n.Jy.White),d=r.Ay.div(["display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:",";border:1px solid ",";box-shadow:0 1px 2px rgba(15,23,42,0.08);"],n.Jy.White,n.Jy.Blue20),c=r.Ay.h2(["",";font-weight:",";color:",";margin:20px 0 0;"],n.o5.sizes.S,n.o5.weights.demibold,n.Jy.Neutral90),u=r.Ay.p(["",";font-weight:",";color:",";margin:8px 0 0;"],n.o5.sizes.Body,n.o5.weights.regular,n.Jy.Neutral50),p=r.Ay.div(["display:flex;flex-direction:column;gap:20px;padding:24px 32px;"]),h=r.Ay.div(["display:flex;flex-direction:column;gap:20px;"]),x=r.Ay.div(["display:flex;align-items:flex-start;gap:12px;"]),m=r.Ay.div(["flex-shrink:0;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:",";"],n.Jy.Blue10),g=r.Ay.div(["display:flex;flex-direction:column;gap:2px;"]),y=r.Ay.span(["",";font-weight:",";color:",";"],n.o5.sizes.Body,n.o5.weights.medium,n.Jy.Neutral90),f=r.Ay.span(["",";font-weight:",";color:",";"],n.o5.sizes.Caption,n.o5.weights.regular,n.Jy.Neutral50),b=r.Ay.div(["display:flex;align-items:center;gap:4px;color:",";"],n.Jy.Neutral40),_=r.Ay.p(["",";font-weight:",";color:",";"],n.o5.sizes.Caption,n.o5.weights.regular,n.Jy.Neutral50),v=r.Ay.div(["display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 32px;border-top:1px solid ",";"],n.Jy.Neutral10),j=r.Ay.span(["display:inline-flex;align-items:center;gap:6px;& svg path{fill:",";}"],n.Jy.White),A=(0,r.Ay)(o.Ay.DocumentsActive)([""]),C=(0,r.Ay)(o.Ay.User)(["color:",";"],n.Jy.Blue50),w=(0,r.Ay)(o.Ay.JobMedium)(["color:",";"],n.Jy.Blue50),k=(0,r.Ay)(o.EK.Clock2)(["color:",";"],n.Jy.Neutral50)},48561:function(e,t,i){"use strict";i.d(t,{F:function(){return w}});var r=i(74848),n=i(99418),o=i(77378),a=i(41193),l=i(25755),s=i(69685),d=i(22130),c=i(85261),u=i(63833),p=i(38267),h=i(99701),x=i(14649),m=i(24833);let g={blue:{soft:h.Jy.Blue10,badge:h.Jy.Blue20,count:h.Jy.Blue50,countHover:h.Jy.Blue60,text:h.Jy.Blue80},amber:{soft:h.Jy.Amber10,badge:h.Jy.Amber20,count:h.Jy.Amber50,countHover:h.Jy.Amber50,text:h.Jy.Amber80}},y=p.Ay.div(["display:flex;width:32px;height:32px;padding:4px;flex-direction:column;justify-content:center;align-items:center;gap:10px;flex-shrink:0;border-radius:30px;background:",";color:",";"],({$variant:e})=>g[e].soft,({$variant:e})=>g[e].count),f=p.Ay.p(["color:",";",""],h.Jy.Neutral90,m.A.Phone`
8177    white-space: nowrap;
8178  `),b=p.Ay.div(["display:block;"]),_=p.Ay.div(["display:block;",";strong{font-weight:",";}"],h.o5.sizes.Caption,h.o5.weights.bold),v=(0,p.Ay)(x.qJ.InfoRegular)(["display:block;color:",";"],h.Jy.Blue50),j=(0,p.Ay)(x.qJ.InfoRegularFilled)(["display:none;color:",";"],h.Jy.Blue60),A=p.Ay.div(["display:flex;align-items:center;gap:",";",";font-weight:",";padding:"," "," "," ",";border-radius:48px;cursor:pointer;"," &:hover{background:",";","{color:",";}","{background:",";color:",";}","{display:none;}","{display:block;}}"],h.Kz["3XS"],h.o5.sizes.Body,h.o5.weights.regular,h.Kz["3XS"],h.Kz["2XS"],h.Kz["3XS"],h.Kz["3XS"],m.A.Phone`
8179    flex-shrink: 0;
8180  `,({$variant:e})=>g[e].soft,f,({$variant:e})=>g[e].text,y,({$variant:e})=>g[e].badge,({$variant:e})=>g[e].countHover,v,j),C="builder.auto_apply_copilot.common",w=({onClick:e})=>{let{i18n:t}=(0,o.s)(),i=(0,a.J)(),{getCreditCount:p,getResetConfig:h,getAutoApplyCredit:x,hasUserCompletedQuestionnaire:m,redirectToAutoApplyQuestionnaire:g}=(0,c.J)(),w=!i?.hasPremiumFeatures,k=p(),S="∞"!==k&&0>
8180=Number(k),T=m?S&&w?"getMore":"default":"setUp",P={setUp:t.t(`${C}.set_up_auto_apply`),getMore:t.t(`${C}.out_of_credits`),default:t.t(`${C}.auto_apply_credits`)},J=(()=>{if("setUp"===T){let{cycle:e}=h(),{creditCount:i}=x();return t.t(`${C}.set_up_auto_apply_info`,{count:i,cycle:e})}return w?S?t.t(`${C}.free_out_of_credits_info`):t.t(`${C}.free_credits_info`,{count:Number(k)}):(e=>{let{cycle:i,resetAt:r}=h(),{creditCount:n}=x(),o={cycle:i,count:n,date:r?(0,s.Yq)(r,"MMM d 'at' h:mm a"):""};return"day"===i?t.t(`${C}.${e}_reccurring_daily`,o):"week"===i?t.t(`${C}.${e}_reccurring_weekly`,o):"month"===i?t.t(`${C}.${e}_reccurring_monthly`,o):t.t(`${C}.${e}`,o)})("auto_apply_credits_info")})(),E="getMore"===T?"amber":"blue";return(0,r.jsx)(l.QP,{multiline:!0,width:237,position:"bottom",value:(0,r.jsx)(_,{dangerouslySetInnerHTML:{__html:n.A.sanitize(J)}}),children:(0,r.jsxs)(A,{$variant:E,onClick:()=>{(u.$.clickCredits(),"setUp"===T)?g():"getMore"===T?(0,d.b)({autoApply:!0,onSuccessRedirect:"/app/auto-apply/preferences"}):e?.()},children:[(0,r.jsx)(y,{$variant:E,children:k}),(0,r.jsx)(f,{children:P[T]}),(0,r.jsxs)(b,{children:[(0,r.jsx)(j,{}),(0,r.jsx)(v,{})]})]})})}},21525:function(e,t,i){"use strict";i.d(t,{v:function(){return d}}),i(18111),i(22489);var r=i(74848),n=i(49785),o=i(57119),a=i(1122),l=i(77484),s=i(5348);let d=({name:e,placeholder:t,isLoading:i,required:d})=>{let{control:c}=(0,n.xW)(),{field:u,fieldState:p}=(0,n.as)({name:e,control:c}),h=(0,s.ht)(e);return i?(0,r.jsx)("div",{"data-testid":`date-field-${e}`,children:(0,r.jsx)(l.E,{$height:"48px",$width:"100%"})}):(0,r.jsxs)("div",{ref:h,"data-testid":`date-field-${e}`,children:[(0,r.jsx)(o.A,{name:u.name,ref:u.ref,value:u.value??"",onBlur:u.onBlur,onChange:e=>{let t;return u.onChange([(t=e.target.value.replace(/\D/g,"").slice(0,8)).slice(0,2),t.slice(2,4),t.slice(4,8)].filter(Boolean).join("/"))},placeholder:t,inputMode:"numeric",maxLength:10,required:d}),p.error?.message&&"string"==typeof p.error.message&&(0,r.jsx)(a.K,{children:p.error.message})]})}},1122:function(e,t,i){"use strict";i.d(t,{K:function(){return c}});var r=i(74848);i(96540);var n=i(38267),o=i(99701),a=i(47527);let l=n.Ay.div(["display:flex;align-items:center;gap:",";margin-top:",";"],o.Kz.XS,o.Kz.XS),s=n.Ay.div(["display:flex;align-items:center;color:",";flex-shrink:0;"],o.Jy.Red50),d=n.Ay.span(["",";",";color:",";flex:1;"],o.o5.sizes.Body,o.o5.weights.medium,o.Jy.Red50),c=({children:e})=>e?(0,r.jsxs)(l,{children:[(0,r.jsx)(s,{children:(0,r.jsx)(a.F.Error,{})}),(0,r.jsx)(d,{children:e})]}):null},5348:function(e,t,i){"use strict";i.d(t,{VN:function(){return s},ht:function(){return l}}),i(44114),i(18111),i(22489),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(7588),i(61701),i(18237);var r=i(74848),n=i(96540),o=i(49785);let a=(0,n.createContext)(null);function l(...e){let t=(0,n.useContext)(a),i=(0,n.useMemo)(()=>e,[e.join("\0")]);return(0,n.useCallback)(e=>{t&&i.forEach(i=>{e?t.set(i,e):t.delete(i)})},[t,i])}let s=({children:e})=>{let t=(0,n.useRef)();t.current||(t.current=new Map);let i=t.current,{submitCount:l,errors:s}=(0,o.lN)(),d=(0,n.useRef)(l),c=(0,n.useRef)(s);return c.current=s,(0,n.useEffect)(()=>{if(l<=d.current)return;d.current=l;let e=function e(t,i=""){let r=[];for(let n of Object.keys(t)){let o=t[n];if(!o||"object"!=typeof o)continue;let a=i?`${i}.${n}`:n;if("type"in o||"message"in o){r.push(a);continue}Object.keys(o).filter(e=>"type"!==e&&"message"!==e&&"ref"!==e).length&&r.push(...e(o,a))}return Array.from(new Set(r))}(c.current);if(0===e.length)return;let t=0,r=0,n=0,o=0,a=()=>{let l=e.map(e=>i.get(e)).filter(e=>!!e&&e.getClientRects().length>0),s=l.length>=e.length;l.length>n?(n=l.length,o=0):o+=1;let d=l.length>0&&o>=4;if(s||d||t>=40){l.length>0&&l.reduce((e,t)=>t.getBoundingClientRect().top<e.getBoundingClientRect().top?t:e).scrollIntoView({behavior:"smooth",block:"center"});return}t+=1,r=requestAnimationFrame(a)};return r=requestAnimationFrame(a),()=>cancelAnimationFrame(r)},[l,i]),(0,r.jsx)(a.Provider,{value:i,children:e})}},7753:function(e,t,i){"use strict";i.d(t,{L:function(){return h}});var r=i(74848),n=i(99701);i(96540);var o=i(38267),a=i(47527);let l=o.Ay.fieldset(["border:none;padding-top:",";padding-bottom:",";padding-left:0;padding-right:0;border-bottom:",";"],e=>e.padding?n.Kz[e.padding]:n.Kz.L,e=>e.padding?n.Kz[e.padding]:n.Kz.L,e=>!e.isLast&&"1px solid "+n.Jy.Neutral15),s=o.Ay.div(["display:flex;flex-direction:column;gap:",";margin-bottom:",";"],n.Kz["2XS"],n.Kz.M),d=o.Ay.h2(["",";font-weight:",";color:",";"],n.o5.sizes.Subhead,n.o5.weights.medium,n.Jy.Neutral90),c=o.Ay.p(["",";",";color:",";"],n.o5.sizes.Caption,n.o5.weights.regular,n.Jy.Neutral50),u=o.Ay.div(["display:flex;flex-direction:column;gap:",";"],n.Kz.M),p=o.Ay.div(["width:100%;display:flex;justify-content:space-between;
8180"]),h=({title:e,subtitle:t,required:i,children:o,additionalInfo:h,...x})=>(0,r.jsxs)(l,{...x,children:[e&&(0,r.jsxs)(s,{children:[e&&(0,r.jsxs)(p,{children:[(0,r.jsxs)("div",{style:{display:"flex",gap:n.Kz["2XS"]},children:[(0,r.jsx)(d,{children:e}),h&&(0,r.jsx)(a.F.Hint,{tooltip:h})]}),!i&&(0,r.jsx)(c,{children:"(Optional)"})]}),t&&(0,r.jsx)(c,{children:t})]}),(0,r.jsx)(u,{children:o})]})},33166:function(e,t,i){"use strict";i.d(t,{s:function(){return A}});var r=i(74848),n=i(96540),o=i(38267),a=i(99701),l=i(9131),s=i(40271),d=i(77378),c=i(51926),u=i(47527),p=i(1802),h=i(91888),x=i(1122);let m=o.Ay.label(["display:flex;align-items:center;gap:",";width:100%;padding:",";border:1px dashed ",";border-radius:8px;background-color:",";cursor:",";transition:border-color 0.15s ease;&:hover{border-color:",";}"],a.Kz.S,a.Kz.S,a.Jy.Neutral20,a.Jy.White,e=>e.$disabled?"default":"pointer",e=>e.$disabled?a.Jy.Neutral20:a.Jy.Blue50),g=o.Ay.span(["display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:",";flex-shrink:0;svg{width:24px;height:24px;}"],a.Jy.Neutral10),y=o.Ay.div(["flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;"]),f=o.Ay.span(["",";font-weight:",";display:inline-flex;align-items:center;padding:8px 16px;border:1px solid ",";border-radius:4px;background:",";color:",";white-space:nowrap;flex-shrink:0;",":hover &{border-color:",";color:",";}"],a.o5.sizes.Caption,a.o5.weights.medium,a.Jy.Neutral20,a.Jy.White,a.Jy.Neutral90,m,a.Jy.Blue50,a.Jy.Blue50),b=o.Ay.div(["",";font-weight:",";color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],a.o5.sizes.Body,a.o5.weights.medium,a.Jy.Neutral90),_=o.Ay.span(["",";color:",";flex-shrink:0;"],a.o5.sizes.Caption,a.Jy.Neutral50),v=o.Ay.div(["width:100%;height:8px;background-color:",";border-radius:4px;overflow:hidden;"],a.Jy.Neutral10),j=o.Ay.div(["height:100%;width:","%;background-color:",";transition:width 0.3s ease;"],e=>e.$progress,a.Jy.Blue50),A=({name:e,onFileSelected:t,onUploadComplete:i,onUploadError:o,uploadFn:a,title:A,subtitle:C,disabled:w=!1})=>{let k=(0,p.c)(),{i18n:S}=(0,d.s)(),T=A||k.documents.resume.uploadTitle,P=C||k.documents.resume.uploadSubtitle,J=(0,n.useRef)(null),E=(0,n.useRef)(null),[R,L]=(0,n.useState)(!1),[N,I]=(0,n.useState)(""),[M,B]=(0,n.useState)(0),[D,$]=(0,n.useState)(null);(0,n.useEffect)(()=>()=>{E.current&&clearInterval(E.current)},[]);let O=e=>{$((e=>{switch(e){case"file_too_large":return k.documents.fileUpload.errors.fileSizeExceeded;case"invalid_type":return k.documents.fileUpload.errors.invalidFileType;case"parse_failed":return k.documents.fileUpload.errors.uploadFailedWithFile;default:return k.documents.fileUpload.errors.uploadFailed}})(e)),o?.(e),J.current&&(J.current.value="")},z=async e=>{let r;if(!e)return;t?.(e);let n=e.size>0xa00000?"file_too_large":[".doc",".docx",".pdf"].includes(`.${e.name.split(".").pop()?.toLowerCase()}`)?null:"invalid_type";if(n)return void O(n);$(null),L(!0),I(e.name),B(0),r=Date.now(),E.current=setInterval(()=>{let e=Math.min(90,Math.round(90*(1-Math.exp(-(Date.now()-r)/7500))));B(t=>Math.max(t,e))},100);try{let t=await a(e,e=>{let{loaded:t,total:i}=e;if(!i)return;let r=Math.round(t/i*90);B(e=>Math.max(e,r))});clearInterval(E.current),E.current=null,B(100),i&&i(t),J.current&&(J.current.value="")}catch(e){O(e?.response?.data?.error?.resume?"parse_failed":"upload_failed")}finally{E.current&&(clearInterval(E.current),E.current=null),L(!1),B(0)}};return(0,r.jsxs)("div",{"data-testid":`file-upload-field-${e}`,children:[(0,r.jsxs)(m,{htmlFor:`file-upload-${e}`,$disabled:w||R,children:[R?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g,{children:(0,r.jsx)(s.Ay,{$width:"24px",$height:"24px"})}),(0,r.jsxs)(y,{children:[(0,r.jsx)(b,{children:S.t(h.P.documents.fileUpload.uploadingFile,{filename:N})}),(0,r.jsx)(v,{children:(0,r.jsx)(j,{$progress:M})})]}),(0,r.jsxs)(_,{children:[M,"%"]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g,{children:(0,r.jsx)(u.F.Upload,{})}),(0,r.jsxs)(y,{children:[(0,r.jsx)(c.EY,{size:"Body",weight:"medium",children:T}),(0,r.jsx)(c.EY,{size:"Caption",color:"Neutral50",children:P})]}),(0,r.jsx)(f,{children:k.documents.resume.browseFiles})]}),(0,r.jsx)(l.zp,{ref:J,id:`file-upload-${e}`,type:"file",accept:".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/pdf",onChange:e=>z(e.target.files?.[0]||null),disabled:w||R})]}),D&&(0,r.jsx)(x.K,{children:D})]})}},95516:function(e,t,i){"use strict";i.d(t,{y:function(){return s}});var r=i(81247),n=i(47767),o=i(18509),a=i(85922),l=i(22130);let s=()=>{let e=(0,r.wA)(),t=(0,n.zy)(),i=(0,o.N)(a.Tp.isAaUpsellModalOpen),s=(0,o.N)(a.Tp.aaUpsellModalRedirect),d=`/app${t.pathname}${t.search}`,c=()=>e(a.o1.toggleAaUpsellModal({isOpen:!1}));return{isAaUpsellModalOpen:i,openAaUpsellModal:()=>e(a.o1.toggleAaUpsellModal({isOpen:!0,onSuccessRedirect:d})),closeAaUpsellModal:c,handleMaybeLater:()=>{c()},handleUpgradeToPremium:()=>{c(),(0,l.b)({autoApply:!0,onSuccessRedirect:s??d})}}}},57298:function(e,t,i){"use strict";i.d(t,{GS:function(){return p},OS:function(){return h},Xi:function(){return u}});var r,n=i(96540),o=i(81247),a=i(47767),l=i(18509),s=i(12330),d=i(85922),c=i(57238);let u=e=>`aa_post_purchase_modal_shown_${e}`;var p=((r={}).pending="pending",r.dismissed="true",r);let h=()=>{let e=(0,o.wA)(),t=(0,a.Zp)(),i=(0,l.N)(d.Tp.isAaPostPurchaseModalOpen),r=(0,l.N
8180)(c.Tp.userData)?.id,p=(0,n.useCallback)(t=>{e(d.o1.toggleAaPostPurchaseModal(t))},[e]);(0,n.useEffect)(()=>{r&&"pending"===s.D.getItem(u(r))&&p(!0)},[r,p]);let h=()=>{r&&s.D.setItem(u(r),"true"),p(!1)};return{isPostPurchaseModalOpen:i,openPostPurchaseModal:()=>p(!0),closePostPurchaseModalToJobSearch:()=>{h(),t("/job-search?view=recommendation")},handleViewMatchingJobs:()=>{h(),t("/job-search?view=recommendation")},handleSetUpAutoApply:()=>{h(),t("/auto-apply/documents")}}}},83902:function(e,t,i){"use strict";i.d(t,{P:function(){return j}});var r=i(74848),n=i(49785),o=i(21372),a=i.n(o),l=i(87947),s=i(96540),d=i(64861),c=i(38267),u=i(99701),p=i(49504);let h=c.Ay.div(["position:relative;",";.react-tel-input input{width:100%;background-color:",";height:48px;border:none;border-radius:3px;font-size:inherit;",";}.flag-dropdown{border:none;background-color:",";.selected-flag{height:70%;margin-top:8px;border-right:1px solid ",";background-color:"," !important;}&.open{background-color:"," !important;}.selected-flag:hover{background-color:",";}}"],p.o5.Body,u.Jy.Neutral10,p.o5.Caption,u.Jy.Neutral10,u.Jy.Neutral20,u.Jy.Neutral10,u.Jy.Neutral10,u.Jy.Neutral10),x=c.Ay.div(["display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:6px;"]),m=c.Ay.label(["display:flex;align-items:center;",";color:",";justify-content:space-between;"],p.o5.Caption,({hasError:e})=>e?u.Jy.Red50:u.Jy.Neutral50),g=c.Ay.div(["display:inline-block;"]),y=c.Ay.div(["position:absolute;bottom:0;left:0;right:0;height:2px;background-color:",";border-radius:0 0 2px 2px;pointer-events:none;",";"],({$hasError:e,$hasWarning:t})=>e?u.Jy.Red50:t?u.Jy.Amber40:u.Jy.Blue50,e=>({entering:"opacity: 1; transform: scaleX(1); transition: transform 0.1s ease;",entered:"opacity: 1; transform: scaleX(1)",exiting:"opacity: 0; transform: scaleX(1); transition: opacity 0.1s ease;",exited:"opacity: 0; transform: scaleX(0.5)",unmounted:null})[e.$in]),f=c.Ay.span(["color:",";"],u.Jy.Red50);i(75290);let b=e=>{let{label:t,error:i,warning:n,description:o,errorNoMsg:c,required:u,value:p,onChange:b,..._}=e,v=!!i||c,j=!!n,[A,C]=(0,s.useState)(!1),w=(0,s.useRef)(null),k=(0,s.useCallback)(()=>{C(!0)},[]),S=(0,s.useCallback)(()=>{C(!1)},[]),T=A||v||j;return(0,r.jsxs)("div",{children:[t&&(0,r.jsx)(x,{children:(0,r.jsx)(m,{hasError:v,children:(0,r.jsxs)("span",{children:[(0,r.jsx)(g,{children:t}),u&&(0,r.jsx)(f,{children:" *"})]})})}),(0,r.jsxs)(h,{children:[(0,r.jsx)(a(),{country:"us",value:p,onChange:b,onFocus:k,onBlur:S,..._}),(0,r.jsx)(l.Ay,{in:T,timeout:100,nodeRef:w,children:e=>(0,r.jsx)(y,{$in:e,$hasError:v,$hasWarning:j,ref:w})})]}),(0,r.jsx)(d.X,{error:i,warning:n,description:o})]})};var _=i(77484),v=i(5348);let j=({name:e,label:t,isLoading:i,...o})=>{let{control:a,formState:l}=(0,n.xW)(),{errors:s}=l,d=s[e],c=(0,v.ht)(e);return i?(0,r.jsx)(_.E,{$height:"48px",$width:"100%"}):(0,r.jsx)("div",{ref:c,"data-testid":`phone-field-${e}`,children:(0,r.jsx)(n.xI,{name:e,control:a,render:({field:e})=>(0,r.jsx)(b,{value:e.value||"",onChange:e.onChange,label:t,error:d?.message,...o})})})}},38619:function(e,t,i){"use strict";i.d(t,{L:function(){return u}});var r=i(74848),n=i(55624),o=i(38267),a=i(14649),l=i(24833);let s=(0,o.Ay)(n.l.Overlay)(["position:fixed;inset:0;background-color:rgba(0,0,0,0.5);z-index:1010;"]),d=(0,o.Ay)(n.l.Panel)(["position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-sizing:border-box;background-color:white;border-radius:8px;padding:24px;width:800px;max-width:100vw;height:100%;overflow:auto;z-index:1011;scrollbar-width:none;&::-webkit-scrollbar{display:none;}",""],l.A.Phone`
8181    width: 100vw;
8182    border-radius: 0;
8183    padding: 16px;
8184  `),c=o.Ay.button(["position:absolute;top:16px;right:16px;background:none;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;border-radius:4px;color:#6b7280;transition:all 0.2s;z-index:51;&:hover{background-color:#f3f4f6;color:#111827;}&:focus{outline:2px solid #3b82f6;outline-offset:2px;}",""],l.A.Phone`
8185    position: fixed;
8186  `),u=e=>(0,r.jsxs)(n.l,{...e,children:[(0,r.jsx)(s,{}),(0,r.jsxs)(d,{children:[(0,r.jsx)(c,{onClick:()=>e.onClose(!1),children:(0,r.jsx)(a.Ay.Close,{})}),e.children]})]})},38954:function(e,t,i){"use strict";i.d(t,{A:function(){return x}}),i(18111),i(61701);var r=i(74848);i(96540);var n=i(49785),o=i(38267),a=i(99701),l=i(65945),s=i(86066),d=i(1122),c=i(77484),u=i(5348);let p=o.Ay.div(["position:relative;display:flex;align-items:center;justify-content:",";gap:12px;padding:16px;border:1px solid ",";border-radius:8px;background:",";cursor:",";transition:border-color 0.15s ease;width:100%;&:hover:not([disabled]){border-color:",";}& label{width:auto;}",""],e=>e.align||"center",a.Jy.Neutral20,a.Jy.White,e=>e.disabled?"not-allowed":"pointer",a.Jy.Blue50,e=>e.checked&&(0,o.AH)(["border:2px solid ",";"],a.Jy.Blue50)),h=o.Ay.span(["position:absolute;inset:0;
8186"]),x={Group:({name:e,children:t,orientation:i="horizontal",isLoading:o})=>{let{isTablet:a}=(0,s.e)(),{control:p,formState:h}=(0,n.xW)(),{errors:x}=h,m=x[e],g=(0,u.ht)(e);if(o)if("vertical"===i)return(0,r.jsx)("div",{"data-testid":`radio-field-group-${e}`,children:t.map((e,t)=>(0,r.jsx)(c.E,{$height:"56px",$width:"100%",style:{marginBottom:"8px"}},t))});else return(0,r.jsx)("div",{"data-testid":`radio-field-group-${e}`,children:(0,r.jsx)(c.E,{$height:"56px",$width:"100%"})});return(0,r.jsxs)("div",{ref:g,"data-testid":`radio-field-group-${e}`,children:[(0,r.jsx)(n.xI,{name:e,control:p,render:({field:e})=>(0,r.jsx)(l.z,{value:e.value,onChange:e.onChange,style:{flexDirection:a||"horizontal"!==i?"column":"row"},children:t})}),m?.message&&"string"==typeof m.message&&(0,r.jsx)(d.K,{children:m.message})]})},Radio:({checked:e,align:t,label:i,...n})=>{let o=i?(0,r.jsxs)(r.Fragment,{children:[i,(0,r.jsx)(h,{})]}):void 0;return(0,r.jsx)(p,{checked:e,disabled:n.disabled,align:t,children:(0,r.jsx)(l.z.Control,{checked:e,label:o,...n})})}}},45095:function(e,t,i){"use strict";i.d(t,{wi:function(){return ea},fI:function(){return eo}});var r=i(74848),n=i(49785),o=i(47767),a=i(8037),l=i(21798),s=i(63833);i(18111),i(13579),i(20116),i(61701);var d=i(96540),c=i(77378),u=i(72096),p=i(77484),h=i(99701),x=i(14649),m=i(70692),g=i(47527),y=i(1802),f=i(38619),b=i(23199),_=i(38267),v=i(24833),j=i(91779);let A=_.Ay.div(["display:grid;grid-template-columns:repeat(",",minmax(0,1fr));gap:",";"," ",""],e=>e.$columns,h.Kz.S,v.A.Tablet` grid-template-columns: repeat(2, minmax(0, 1fr)); `,v.A.Phone` grid-template-columns: minmax(0, 1fr); `),C=_.Ay.div(["position:relative;display:flex;flex-direction:column;gap:",";padding:",";border-radius:8px;background:",";border:1px solid ",";box-shadow:",";cursor:pointer;transition:border-color 0.1s ease-out,box-shadow 0.1s ease-out;&:hover{border-color:",";}"],h.Kz["2XS"],h.Kz.XS,h.Jy.White,e=>e.$selected?h.Jy.Blue50:h.Jy.Neutral15,e=>e.$selected?`0 0 0 1px ${h.Jy.Blue50}`:"none",h.Jy.Blue50),w=_.Ay.span(["position:absolute;top:",";right:",";z-index:1;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:",";svg{width:16px;height:16px;fill:",";}"],h.Kz.XS,h.Kz.XS,h.Jy.Blue50,h.Jy.White),k=_.Ay.div(["position:relative;height:180px;overflow:hidden;border-radius:4px;border:1px solid ",";background:",";"],h.Jy.Neutral15,h.Jy.Neutral5),S=_.Ay.button(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:999px;border:none;background:",";color:",";box-shadow:0 2px 8px rgba(15,56,113,0.16);",";font-weight:",";cursor:pointer;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 0.15s ease;svg{width:16px;height:16px;fill:currentColor;}",":hover &{opacity:1;pointer-events:auto;}"," &:hover{color:",";}"],h.Jy.White,h.Jy.Neutral90,h.o5.sizes.Caption,h.o5.weights.medium,C,v.A.HoverNotSupported`
8187    opacity: 1;
8188    pointer-events: auto;
8189  `,h.Jy.Blue50),T=(0,_.Ay)(k)(["display:flex;align-items:center;justify-content:center;"]),P=_.Ay.div(["position:relative;width:96px;height:128px;padding:16px 12px;display:flex;flex-direction:column;gap:9px;background:",";border-radius:6px;box-shadow:0 1px 2px rgba(15,56,113,0.12),0 4px 12px rgba(15,56,113,0.08);&::before{content:'';position:absolute;top:0;right:0;border-style:solid;border-width:0 20px 20px 0;border-color:transparent "," "," transparent;border-bottom-left-radius:6px;}"],h.Jy.White,h.Jy.Neutral5,h.Jy.Neutral20),J=_.Ay.span(["height:6px;border-radius:3px;background:",";width:",";"],h.Jy.Neutral15,e=>e.$width||"100%"),E=_.Ay.span(["position:absolute;left:10px;bottom:10px;padding:2px 6px;border-radius:4px;background:",";color:",";font-size:11px;line-height:14px;font-weight:",";letter-spacing:0.4px;text-transform:uppercase;"],e=>e.$color,h.Jy.White,h.o5.weights.demibold),R=_.Ay.div(["",";font-weight:",";color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],h.o5.sizes.Body,h.o5.weights.medium,h.Jy.Neutral90),L=_.Ay.div(["",";color:",";"],h.o5.sizes.Caption,h.Jy.Neutral50),N=_.Ay.div(["display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:",";"],h.Kz["2XS"]),I=_.Ay.span(["display:inline-flex;align-items:center;gap:6px;color:",";",";font-weight:",";white-space:nowrap;"],e=>e.$color,h.o5.sizes.Caption,h.o5.weights.medium),M=_.Ay.span(["width:8px;height:8px;border-radius:50%;background:",";flex-shrink:0;"],e=>e.$color),B=_.Ay.span(["display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:",";color:",";",";font-weight:",";"],h.Jy.Neutral10,h.Jy.Neutral70,h.o5.sizes.Caption,h.o5.weights.medium),D=_.Ay.span(["display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:8px;border:1px solid ",";background:",";color:",";",";white-space:nowrap;"],h.Jy.Blue40,h.Jy.Neutral5,h.Jy.Neutral90,h.o5.sizes.Caption),$=(0,_.Ay)(j.JQ)(["padding:2px ",";"],h.Kz["2XS"]),O=(0,_.Ay)(C)(["border-style:dashed;border-color:",";align-items:center;justify-content:center;text-align:center;gap:6px;min-height:260px;"],h.Jy.Neutral20),z={pdf:h.Jy.Red50,doc:h.Jy.Blue50,docx:h.Jy.Blue50},F=({upload:e,isSelected:t,onSelect:i})=>{let n=(0,y.c)(),[o,a]=(0,d.useState)(!1),l=(0,b.Z)(e.filename)||(0,b.Z)(e.url),c=e.filename.includes(".")&&e.filename.split(".").pop()?.toLowerCase()||"";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(C,{$selected:t,onClick:i,"data-testid":"resume-grid-card-uploaded",children:[t&&(0,r.jsx)(w,{"data-testid":"resume-grid-card-selected",children:(0,r.jsx)(x.EK.Check,{})}),(0,r.jsxs)(T,{children:[(0,r.jsxs)(P,{children:[(0,r.jsx)(J,{$width:"70%"}),(0,r.jsx)(J,{}),(0,r.jsx)(J,{}),(0,r.jsx)(J,{$width:"85%"}),c&&(0,r.jsx)(E,{$color:z[c]||h.Jy.Neutral50,children:c})]}),l?(0,r.jsxs)(S,{type:"button",onClick:e=>{e.stopPropagation(),s.$.clickPreviewDocument("uploaded_document"),a(!0)},children:[(0,r.jsx)(g.F.Eye,{}),n.documents.grid.preview]}):(0,r.jsxs)(S,{type:"button",onClick:t=>{t.stopPropagation(),s.$.clickDownloadDocument(),(0,m.P)(e.url,e.filename)},children:[(0,r.jsx)(x.qJ.Download,{}),n.documents.documentCard.download]})]}),(0,r.jsx)(R,{children:e.filename}),(0,r.jsx)(N,{children:(0,r.jsx)(B,{children:n.documents.grid.uploaded})}),e.justUploaded&&(0,r.jsx)(L,{children:n.documents.grid.uploadedJustNow})]}),o&&(0,r.jsx)(f.L,{open:o,onClose:()=>a(!1),children:(0,r.jsx)(b.$,{url:e.url,filename:e.filename})})]})};i(14603),i(47566),i(98721);var H=i(97323),V=i(40271),U=i(84611),W=i(63967),K=i(33451),q=i(31441),G=i(69685),Z=i(47123),X=i(91888),Q=i(88067);let Y={[q.D1.NeedsWork]:X.P.documents.grid.scoreNeedsWork,[q.D1.StrongMatch]:X.P.documents.grid.scoreStrong,[q.D1.ExcellentMatch]:X.P.documents.grid.scoreExcellent},ee=({score:e})=>{let{i18n:t}=(0,c.s)(),i=(0,q.L5)(e);return(0,r.jsxs)(I,{$color:i.color,children:[(0,r.jsx)(M,{$color:i.color}),t.t(Y[i.tier])]})},et=({document:e,isSelected:t,onSelect:i})=>{let{i18n:n}=(0,c.s)(),u=(0,y.c)(),p=(0,o.Zp)(),{pathname:h,search:m}=(0,o.zy)(),[b,_]=(0,d.useState)(!1),v=e.type===a.VC.trDocument,A=v?e.title:e.name||u.documents.documentCard.untitled,T=e.averageScore??e.score??0,P=!v&&(0,q.L5)(T).tier!==q.D1.ExcellentMatch,J=((e,t=!1)=>"thumbnail"in e&&e.thumbnail?.url?e.thumbnail.url:"renderingToken"in e&&"version"in e?(0,W.I)(e,{size:t?303:218}):"")(e),E=e.updatedAt||e.createdAt,I=v?e.previews??[]:[],M=v?I.length>0:!!e.renderingToken,B=(0,Z.R)(b&&!v?e.id:null,l.K.resume);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(C,{$selected:t,onClick:i,"data-testid":`resume-grid-card-${e.type}-${e.id}`,children:[t&&(0,r.jsx)(w,{"data-testid":"resume-grid-card-selected",children:(0,r.jsx)(x.EK.Check,{})}),(0,r.jsxs)(k,{children:[(0,r.jsx)(U.b,{src:J||null}),M&&(0,r.jsxs)(S,{type:"button",onClick:t=>{t.stopPropagation(),s.$.clickPreviewDocument(e.type),_(!0)},children:[(0,r.jsx)(g.F.Eye,{}),u.documents.grid.preview]})]}),(0,r.jsx)(R,{children:A}),(0,r.jsxs)(N,{children:[v?(0,r.jsxs)(D,{children:[(0,r.jsx)(H.TRLogo,{}),n.t("builder.select_document_modal.expert_doc_banner")]}):(0,r.jsx)(ee,{score:T}),P&&(0,r.jsx)($,{type:"button",theme:j.Ox.alternative,size:"small",onClick:t=>{t.stopPropagation();let i=new URLSearchParams({showReview:"true",auto_apply_return_to:`${h}${m}`});p(`/resumes/${e.id}/edit?${i.toString()}`)},leadingIcon:(0,r.jsx)(x.EK.Star,{}),children:u.documents.grid.improve})]}),E&&(0,r.jsx)(L,{children:n.t(X.P.documents.grid.updated,{date:(0,G.Yq)(E)})})]}),b&&(0,r.jsx)(f.L,{open:b,onClose:()=>_(!1),children:v?(0,r.jsx)(Q.J,{document:e}):B.data?.type==="resume"?(0,r.jsx)(K.w,{document:B.data,switchToCustomizationTab:()=>{},hideCustomizeButton:!0}):B.isError?(0,r.jsx)(L,{children:u.documents.documentCard.previewError}):(0,r.jsx)(V.Ay,{})})]})};var ei=i(81247),er=i(64961);let en=()=>{let e=(0,y.c)(),t=(0,ei.wA)(),{pathname:i,search:n}=(0,o.zy)();return(0,r.jsxs)(O,{onClick:()=>{s.$.clickCreateDocument(a.VC.resume),t(er.o1.createDocument({type:a.VC.resume,autoApplyReturnTo:`${i}${n}`}))},"data-testid":"resume-grid-card-create",children:[(0,r.jsx)(g.F.Plus,{}),(0,r.jsx)(R,{children:e.documents.grid.createTitle}),(0,r.jsx)(L,{children:e.documents.grid.createSubtitle})]})},eo=({selection:e,uploadedDocument:t,shouldPreselect:i,columns:n=3,onSelectDocument:o,onSelectUploaded:l,onSelectionMissing:s})=>{let{i18n:h}=(0,c.s)(),x=(0,d.useRef)(!1),{documents:m,isLoading:g,error:y}=(0,u.l)([a.VC.resume,a.VC.trDocument],a.VC.resume),f=e?.kind==="document"?e:null;return((0,d.useEffect)(()=>{g||y||!f||!s||m.some(e=>e.id===f.id&&e.type===f.type)||s()},[g,y,m,f?.id,f?.type]),(0,d.useEffect)(()=>
8189{if(!i||x.current||g||y||e)return;let t=m.find(e=>e.type===a.VC.resume);t&&(x.current=!0,o(t,"preselect"))},[i,g,y,m,e]),g)?(0,r.jsxs)(A,{$columns:n,children:[(0,r.jsx)(p.E,{$height:"260px"}),(0,r.jsx)(p.E,{$height:"260px"}),(0,r.jsx)(p.E,{$height:"260px"})]}):y?(0,r.jsx)(L,{children:h.t("builder.select_document_modal.error_loading")}):(0,r.jsxs)(A,{$columns:n,"data-testid":"resume-grid",children:[m.map(e=>(0,r.jsx)(et,{document:e,isSelected:f?.id===e.id&&f?.type===e.type,onSelect:()=>o(e,"user")},`${e.type}-${e.id}`)),t&&(0,r.jsx)(F,{upload:t,isSelected:e?.kind==="uploaded",onSelect:l}),(0,r.jsx)(en,{})]})},ea=({name:e,uploadedDocument:t})=>{let{copilotId:i}=(0,o.g)(),{setValue:d,trigger:c}=(0,n.xW)(),u=(0,n.FH)({name:e}),p=(0,n.FH)({name:"documentType"}),h=p===l.K.uploadedDocument?{kind:"uploaded"}:null!=u?{kind:"document",id:u,type:p??""}:null,x=null!=u||null!=p;return(0,r.jsx)(eo,{selection:h,uploadedDocument:t,shouldPreselect:!i&&!x,onSelectDocument:(t,i)=>{let r=t.type===a.VC.resume;d(e,t.id,{shouldDirty:!0,shouldTouch:!0}),d("documentType",t.type,{shouldDirty:!0}),d("uploadedResumeUrl",null,{shouldDirty:!0}),d("uploadedResumeFilename",null,{shouldDirty:!0}),d("tailorResumeForJob",r,{shouldDirty:!0}),d("tailorCoverLetterForJob",r,{shouldDirty:!0}),c(e),"user"===i&&s.$.submitResume("builder")},onSelectUploaded:()=>{t&&(d(e,null,{shouldDirty:!0,shouldTouch:!0}),d("documentType",l.K.uploadedDocument,{shouldDirty:!0}),d("uploadedResumeUrl",t.url,{shouldDirty:!0}),d("uploadedResumeFilename",t.filename,{shouldDirty:!0}),d("tailorResumeForJob",!0,{shouldDirty:!0}),d("tailorCoverLetterForJob",!0,{shouldDirty:!0}),c(e))},onSelectionMissing:()=>{d(e,null,{shouldDirty:!0}),d("documentType",null,{shouldDirty:!0})}})}},7409:function(e,t,i){"use strict";i.d(t,{z:function(){return d}});var r=i(74848),n=i(49785),o=i(33637),a=i(1122),l=i(77484),s=i(5348);let d=({name:e,placeholder:t,isLoading:i,format:d,...c})=>{let{control:u,formState:p}=(0,n.xW)(),{errors:h}=p,x=h[e],m=(0,s.ht)(e);if(i)return(0,r.jsx)("div",{"data-testid":`select-field-${e}`,children:(0,r.jsx)(l.E,{$height:"48px",$width:"100%"})});let g=(e,i)=>(null===e||""===e||void 0===e)&&t?t:d?d(e,i):i??"";return(0,r.jsxs)("div",{ref:m,"data-testid":`select-field-${e}`,children:[(0,r.jsx)(n.xI,{name:e,control:u,render:({field:e})=>(0,r.jsx)(o.A,{selected:e.value??"",onSelect:e.onChange,format:g,...c})}),x?.message&&"string"==typeof x.message&&(0,r.jsx)(a.K,{children:x.message})]})}},77484:function(e,t,i){"use strict";i.d(t,{E:function(){return a}});var r=i(99701),n=i(38267),o=i(64608);let a=n.Ay.div(["border:none;border-radius:4px;background:",";background:linear-gradient( to right,"," 5%,#eaeef6 15%,"," 25% );width:",";height:",";animation:"," 5s linear infinite;"],r.Jy.Neutral10,r.Jy.Neutral10,r.Jy.Neutral10,e=>e.$width?`${e.$width}`:"100%",e=>e.$height?`${e.$height}`:"100%",o.D7)},9171:function(e,t,i){"use strict";i.d(t,{l:function(){return s}});var r=i(74848),n=i(49785),o=i(57119),a=i(1122),l=i(5348);let s=({name:e,placeholder:t,rows:i=5,maxLength:s})=>{let{register:d,formState:c}=(0,n.xW)(),u=c.errors[e],p=(0,l.ht)(e);return(0,r.jsxs)("div",{ref:p,"data-testid":`textarea-field-${e}`,children:[(0,r.jsx)(o.l,{rows:i,placeholder:t,maxLength:s,...d(e)}),u?.message&&"string"==typeof u.message&&(0,r.jsx)(a.K,{children:u.message})]})}},68786:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var r=i(74848);i(96540);var n=i(49785),o=i(57119),a=i(1122),l=i(77484),s=i(5348);let d=({name:e,isLoading:t,...i})=>{let{register:d,formState:c}=(0,n.xW)(),{errors:u}=c,p=u[e],h=(0,s.ht)(e);if(t)return(0,r.jsx)("div",{"data-testid":`text-field-${e}`,children:(0,r.jsx)(l.E,{$height:"48px",$width:"100%"})});let x="number"===i.type?{setValueAs:e=>""===e||null==e?void 0:Number(e)}:{};return(0,r.jsxs)("div",{ref:h,"data-testid":`text-field-${e}`,children:[(0,r.jsx)(o.A,{...d(e,x),...i}),p?.message&&"string"==typeof p.message&&(0,r.jsx)(a.K,{children:p.message})]})}},88067:function(e,t,i){"use strict";i.d(t,{J:function(){return k}}),i(18111),i(13579),i(61701);var r=i(74848),n=i(81247),o=i(77378),a=i(18509),l=i(13807),s=i(8037),d=i(38267),c=i(99701),u=i(91779),p=i(49504),h=i(24833);let{White:x,Neutral10:m}=c.Jy,g=d.Ay.div(["display:flex;flex-direction:column;gap:",";"],c.Kz.S),y=d.Ay.div(["border-radius:4px;background:",";box-shadow:",";"],c.Jy.White,c.qd.lightWithBorderShadowMid),f=d.Ay.img(["width:100%;height:100%;object-fit:cover;"]),b=(0,d.Ay)(u.Ay)(["flex-grow:1;"]),_=d.Ay.div(["background:",";width:100%;",""],m,h.A.Tablet`
8190    padding: 0px 16px 32px 16px;
8191  `),v=d.Ay.div(["background:",";display:flex;align-items:center;flex-direction:column;padding:72px 35px 141px 35px;"],x),j=d.Ay.div(["margin-top:32px;margin-bottom:24px;text-align:center;",";",";"],p.Ay.S,p.BO.Medium),A=d.Ay.img(["width:162px;height:172px;",""],h.A.Phone`
8192     width: 98px;
8193     height: 104px;
8194  `),C=(0,d.Ay)(b)(["",""],h.A.Phone`
8195     display: none;
8196  `);var w=i.p+"media/no-preview0df932c03c8847ec.svg";let k=({document:e,...t})=>{let{i18n:i}=(0,o.s)(),d=(0,n.wA)(),c=(0,a.N)(e=>e.rendering.isDocumentDownloading);
8196if(!e)return null;let u=!!e.previews?.length,p=e.files?.some(e=>e?.filename?.endsWith(".pdf"))||!1;return u?(0,r.jsx)(g,{...t,children:e.previews.map(e=>(0,r.jsx)(y,{children:(0,r.jsx)(f,{src:e.url})},e.url))}):(0,r.jsx)(_,{...t,children:(0,r.jsxs)(v,{children:[(0,r.jsx)(A,{src:w}),(0,r.jsx)(j,{children:i.t("builder.auto_apply_copilot.documents.document_card.no_preview")}),p&&(0,r.jsx)(C,{onClick:()=>{let{doc_type:t,id:i}=e,r="cover_letter"===t?s.VC.coverLetter:s.VC.resume;d(l.o1.download({id:i,type:r,format:s.hR.tr_pdf,source:"tr_doc",trDocument:e}))},isDisabled:c,children:i.t("builder.resume_editor.download")})]})})}},23199:function(e,t,i){"use strict";i.d(t,{$:function(){return _},Z:function(){return b}});var r=i(74848),n=i(96540),o=i(38267),a=i(83852);i(97170);var l=i(99701),s=i(14649),d=i(40271),c=i(70692),u=i(81458),p=i(1802);let h=o.Ay.div(["position:relative;min-height:200px;"]),x=o.Ay.canvas(["display:block;max-width:100%;"]),m=(0,o.Ay)(u.Uy)(["position:sticky;bottom:24px;left:auto;transform:none;margin:"," auto 0;"],l.Kz.S),g=o.Ay.div(["display:flex;flex-direction:column;align-items:center;justify-content:center;gap:",";padding:"," 0;"],l.Kz.S,l.Kz.XL),y=o.Ay.div(["",";color:",";text-align:center;"],l.o5.sizes.Body,l.Jy.Neutral60),f=o.Ay.button(["display:inline-flex;align-items:center;gap:",";border:none;border-radius:8px;padding:"," ",";background:",";color:",";cursor:pointer;&:hover{background:",";}"],l.Kz["2XS"],l.Kz["2XS"],l.Kz.S,l.Jy.Blue50,l.Jy.White,l.Jy.Blue60),b=e=>/\.pdf(\?.*)?$/i.test(e||""),_=({url:e,filename:t,paginationPosition:i="sticky"})=>{let o=(0,p.c)(),l=(0,n.useRef)(null),b=(0,n.useRef)(null),_=(0,n.useRef)(null),[v,j]=(0,n.useState)(null),[A,C]=(0,n.useState)(1),[w,k]=(0,n.useState)(0),[S,T]=(0,n.use
8196State)("loading"),P="sticky"===i?m:u.Uy;return((0,n.useEffect)(()=>{let e=l.current;if(!e)return;let t=new ResizeObserver(e=>{let t=Math.floor(e[0]?.contentRect.width??0);t&&k(e=>Math.abs(e-t)>1?t:e)});return t.observe(e),()=>t.disconnect()},[]),(0,n.useEffect)(()=>{let t=!1,i=null;return T("loading"),C(1),a.YE(e).promise.then(e=>{i=e,t||(j(e),T("ready"))}).catch(()=>{t||T("error")}),()=>{t=!0,_.current?.cancel(),_.current=null,i?.destroy()}},[e]),(0,n.useEffect)(()=>{if(!v||!w)return;let e=!1;return(async()=>{try{let t=await v.getPage(A),i=b.current;if(e||!i)return;let r=t.getViewport({scale:1}),n=w*window.devicePixelRatio/r.width,o=t.getViewport({scale:n});i.width=o.width,i.height=o.height,i.style.width=`${w}px`,i.style.height=`${Math.round(o.height/window.devicePixelRatio)}px`,_.current?.cancel();let a=t.render({canvas:i,viewport:o});_.current=a,await a.promise,_.current=null}catch{}})(),()=>{e=!0}},[v,A,w]),"error"===S)?(0,r.jsxs)(g,{children:[(0,r.jsx)(y,{children:o.documents.documentCard.previewError}),(0,r.jsxs)(f,{type:"button",onClick:()=>(0,c.P)(e,t),children:[(0,r.jsx)(s.qJ.Download,{}),o.documents.documentCard.download]})]}):(0,r.jsxs)(h,{ref:l,children:["loading"===S&&(0,r.jsx)(g,{children:(0,r.jsx)(d.Ay,{})}),v&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x,{ref:b}),(0,r.jsxs)(P,{"data-testid":"preview-pagination-container",children:[(0,r.jsx)(u.rX,{"aria-label":"Previous page","data-testid":"preview-previous-page-button",onClick:()=>C(e=>Math.max(1,e-1)),disabled:1===A,children:(0,r.jsx)(u.rZ,{})}),(0,r.jsxs)(u.YW,{"data-testid":"preview-page-counter",children:[A," / ",v.numPages]}),(0,r.jsx)(u.rX,{"aria-label":"Next page","data-testid":"preview-next-page-button",onClick:()=>C(e=>
8196Math.min(v.numPages,e+1)),disabled:A===v.numPages,children:(0,r.jsx)(u.wF,{})})]})]})]})}},19744:function(e,t,i){"use strict";i.d(t,{O9:function(){return f},hU:function(){return k.h},yS:function(){return U},Yh:function(){return P},Os:function(){return R},QS:function(){return eW},QI:function(){return ex},AQ:function(){return eu},Kw:function(){return u.K},PV:function(){return J.P},NE:function(){return eH},l2:function(){return n.l},A_:function(){return r.A},vM:function(){return o.v},zM:function(){return S.z},_A:function(){return ez},A1:function(){return L.A}});var r=i(68786),n=i(9171),o=i(21525);i(18111),i(61701);var a=i(74848),l=i(49785),s=i(38267),d=i(33637),c=i(57119),u=i(1122),p=i(77484),h=i(5348);let x=s.Ay.div(["display:flex;gap:var(--spacing-2XS);"]),m=s.Ay.div(["width:100px;flex-shrink:0;"]),g=s.Ay.div(["flex:1;"]),y=[{name:"Australian dollar",id:"AUD"},{name:"Brazilian real 2",id:"BRL"},{name:"Canadian dollar",id:"CAD"},{name:"Chinese Renmenbi 3",id:"CNY"},{name:"Czech koruna",id:"CZK"},{name:"Danish krone",id:"DKK"},{name:"Euro",id:"EUR"},{name:"Hong Kong dollar",id:"HKD"},{name:"Hungarian forint 1",id:"HUF"},{name:"Israeli new shekel",id:"ILS"},{name:"Japanese yen 1",id:"JPY"},{name:"Malaysian ringgit 3",id:"MYR"},{name:"Mexican peso",id:"	MXN"},{name:"New Taiwan dollar 1",id:"TWD"},{name:"New Zealand dollar",id:"NZD"},{name:"Norwegian krone",id:"NOK"},{name:"Philippine peso",id:"PHP"},{name:"Polish złoty",id:"PLN"},{name:"Pound sterling",id:"GBP"},{name:"Russian ruble",id:"RUB"},{name:"Singapore dollar",id:"SGD"},{name:"Swedish krona",id:"SEK"},{name:"Swiss franc	",id:"CHF"},{name:"Thai baht	",id:"THB"},{name:"United States dollar",id:"USD"}].map(e=>({id:String(e.id).trim(),name:String(e.id).trim()})),f=({name:e,currencyName:t="currentSalaryCurrency",isLoading:i,placeholder:r})=>{let{control:n,formState:o}=(0,l.xW)(),s=o.errors[t],f=(0,h.ht)(e,t);return i?(0,a.jsx)("div",{"data-testid":`currency-field-${e}`,children:(0,a.jsxs)(x,{children:[(0,a.jsx)(m,{children:(0,a.jsx)(p.E,{$height:"48px",$width:"100%"})}),(0,a.jsx)(g,{children:(0,a.jsx)(p.E,{$height:"48px",$width:"100%"})})]})}):(0,a.jsx)("div",{ref:f,"data-testid":`currency-field-${e}`,children:(0,a.jsxs)(x,{children:[(0,a.jsx)(m,{children:(0,a.jsx)(l.xI,{name:t,control:n,render:({field:e})=>(0,a.jsx)(d.A,{selected:e.value??"",onSelect:e.onChange,options:y,error:"string"==typeof s?.message?s.message:void 0})})}),(0,a.jsx)(g,{children:(0,a.jsx)(l.xI,{name:e,control:n,render:({field:e,fieldState:t})=>{let i;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.A,{name:e.name,ref:e.ref,value:(i=String(e.value??"").replace(/\D/g,"").slice(0,12))?Number(i).toLocaleString("en-US"):"",onBlur:e.onBlur,onChange:t=>{let i;return e.onChange((i=t.target.value.replace(/\D/g,"").slice(0,12))?Number(i):void 0)},placeholder:r,inputMode:"numeric"}),t.error?.message&&"string"==typeof t.error.message&&(0,a.jsx)(u.K,{children:t.error.message})]})}})})]})})};var b=i(96540),_=i(45112),v=i(99701);let j={small:v.Kz.XS,medium:v.Kz.S,large:v.Kz.M},A={small:{padding:`${v.Kz["2XS"]} ${v.Kz.S}`,fontSize:v.o5.sizes.Caption},medium:{padding:`${v.Kz.XS} ${v.Kz.M}`,fontSize:v.o5.sizes.Body},large:{padding:`${v.Kz.S} ${v.Kz.L}`,fontSize:v.o5.sizes.Subhead}},C=s.Ay.div(["display:flex;flex-wrap:wrap;gap:",";"],e=>j[e.$gap]),w=s.Ay.span(["display:inline-flex;align-items:center;padding:",";",";",";cursor:pointer;user-select:none;transition:all 0.2s ease-out;"],e=>A[e.$size].padding,e=>A[e.$size].fontSize,v.o5.weights.medium);v.Jy.Neutral20,v.Jy.White,i(22489);var k=i(78037),S=i(7409),T=i(82058);
8196let P=({name:e,onChange:t,isLoading:i,...r})=>{let{register:n,formState:o}=(0,l.xW)(),{errors:s}=o,d=s[e],c=n(e);return i?(0,a.jsx)("div",{"data-testid":`checkbox-field-${e}`,children:(0,a.jsx)(p.E,{$height:"24px",$width:"100px"})}):(0,a.jsxs)("div",{"data-testid":`checkbox-field-${e}`,children:[(0,a.jsx)(T.S,{invalid:!!d,...c,...r,onChange:e=>{c.onChange(e),t&&t(e)}}),d?.message&&"string"==typeof d.message&&(0,a.jsx)(u.K,{children:d.message})]})};var J=i(83902),E=i(28793);let R=({name:e,label:t,isLoading:i,height:r,...n})=>{let{control:o,formState:s}=(0,l.xW)(),{errors:d}=s,c=d[e],x=(0,h.ht)(e);if(i){let t=r?`${r}px`:"120px";return(0,a.jsx)("div",{"data-testid":`rich-text-field-${e}`,children:(0,a.jsx)(p.E,{$height:t,$width:"100%"})})}return(0,a.jsxs)("div",{ref:x,"data-testid":`rich-text-field-${e}`,children:[(0,a.jsx)(l.xI,{name:e,control:o,render:({field:e})=>(0,a.jsx)(E.Ay,{value:e.value||"",onChange:e.onChange,label:t,height:r,...n})}),c?.message&&"string"==typeof c.message&&(0,a.jsx)(u.K,{children:c.message})]})};var L=i(38954);i(7753);var N=i(33166),I=i(47767),M=i(84976),B=i(21798),D=i(73478),$=i(51926),O=i(1802),z=i(63833),F=i(45095);let H=s.Ay.div(["display:flex;flex-direction:column;gap:",";margin-top:",";"],v.Kz.M,v.Kz.M),V=e=>e.split("/").pop()||"",U=({name:e="documentId",isLoading:t})=>{let i=(0,O.c)(),{copilotId:r,jobId:n}=(0,I.g)(),[o]=(0,M.ok)(),s=(0,I.Zp)(),{setValue:d,formState:c,trigger:h}=(0,l.xW)(),{mutateAsync:x}=(0,D.e)(r),[m,g]=(0,b.useState)(null),y=(0,l.FH)({name:"uploadedResumeUrl"}),f=(0,l.FH)({name:"uploadedResumeFilename"});(0,b.useEffect)(()=>{y&&m?.url!==y&&g({url:y,filename:f||V(y)})},[y,f,m]);let _=c.errors[e];return t?(0,a.jsx)(p.E,{$height:"260px",$width:"100%"}):(0,a.jsxs)(H,{children:[(0,a.jsx)($.EY,{size:"Subhead",weight:"demibold",children:i.documents.yourResumes}),(0,a.jsx)(F.wi,{name:e,uploadedDocument:m}),_?.message&&"string"==typeof _.message&&(0,a.jsx)(u.K,{children:_.message}),(0,a.jsx)(N.s,{name:e,title:i.documents.resume.uploadTitle,subtitle:i.documents.resume.uploadSubtitle,uploadFn:(e,t)=>x({file:e,onProgress:t}),onFileSelected:()=>z.$.clickUploadResume(),onUploadError:e=>z.$.uploadResumeError(e),onUploadComplete:({data:t})=>{z.$.submitResume("uploaded");let i=t.uploadedResumeFilename||V(t.uploadedResumeUrl);g({url:t.uploadedResumeUrl,filename:i,justUploaded:!0}),d(e,null,{shouldDirty:!0}),d("documentType",B.K.uploadedDocument,{shouldDirty:!0}),d("uploadedResumeUrl",t.uploadedResumeUrl,{shouldDirty:!0}),d("uploadedResumeFilename",i,{shouldDirty:!0}),d("tailorResumeForJob",!0,{shouldDirty:!0}),d("tailorCoverLetterForJob",!0,{shouldDirty:!0}),h(e);let a=t.id?String(t.id):void 0;if(!r&&a){let e=n??o.get("job_slug")??void 0;s(e?`/auto-apply/${a}/${e}/documents`:`/auto-apply/${a}/documents`,{replace:!0})}}})]})};i(13579),i(7588);let W="74px",K=s.Ay.div(["display:flex;align-items:center;justify-content:space-between;min-height:",";padding:"," 0;border-bottom:1px solid ",";&:last-child{border-bottom:none;}"],W,v.Kz.S,v.Jy.Neutral15),q=s.Ay.div(["display:flex;align-items:center;gap:",";min-width:0;"],v.Kz.S),G=s.Ay.div(["flex-shrink:0;width:24px;height:24px;border-radius:50%;background-color:",";display:flex;align-items:center;justify-content:center;&::after{content:'';display:block;width:10px;height:6px;border-left:2px solid ",";border-bottom:2px solid ",";transform:rotate(-45deg) translateY(-1px);opacity:",";}"],e=>e.$filled?v.Jy.Green50:v.Jy.Neutral15,v.Jy.White,v.Jy.White,e=>+!!e.$filled),Z=s.Ay.div(["display:flex;flex-direction:column;gap:2px;min-width:0;"]),X=s.Ay.div(["display:flex;align-items:center;gap:4px;flex-wrap:wrap;"]),Q=s.Ay.span(["",";font-weight:",";color:",";"],v.o5.sizes.Caption,v.o5.weights.medium,v.Jy.Neutral50),Y=s.Ay.span(["",";font-weight:",";color:",";"],v.o5.sizes.Caption,v.o5.weights.regular,v.Jy.Neutral50),ee=s.Ay.span(["",";font-weight:",";color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],v.o5.sizes.Body,v.o5.weights.regular,v.Jy.Neutral90),et=(0,s.Ay)(ee)(["color:",";"],v.Jy.Neutral30),ei=(0,s.Ay)(ee)(["color:",";"],v.Jy.Red50),er=s.Ay.span(["",";font-weight:",";color:",";"],v.o5.sizes.Caption,v.o5.weights.medium,v.Jy.Red50),en=s.Ay.button(["flex-shrink:0;background:none;border:none;padding:"," ",";cursor:pointer;",";font-weight:",";color:",";&:hover{color:",";}"],v.Kz["2XS"],v.Kz.XS,v.o5.sizes.Caps,v.o5.weights.medium,v.Jy.Blue50,v.Jy.Blue60),eo=s.Ay.div(["display:flex;flex-direction:column;gap:",";min-height:",";padding:"," 0;border-bottom:1px solid ",";&:last-child{border-bottom:none;}"],v.Kz.S,W,v.Kz.S,v.Jy.Neutral15),ea=s.Ay.div(["min-width:0;display:flex;flex-direction:column;gap:",";"],v.Kz.S),el=s.Ay.div(["display:flex;align-items:center;gap:",";"],v.Kz.XS),es=s.Ay.button(["flex-shrink:0;background:none;border:none;cursor:pointer;",";font-weight:",";color:",";&:hover{color:",";}"],v.o5.sizes.Caps,v.o5.weights.medium,v.Jy.Blue50,v.Jy.Blue60),ed=(0,s.Ay)(es)(["color:",";&:hover{color:",";}"],v.Jy.Neutral60,v.Jy.Neutral80),ec=s.Ay.div(["display:flex;align-items:center;gap:",";padding:"," 0;border-bottom:1px solid ",";"],v.Kz.S,v.Kz.M,v.Jy.Neutral15),eu=({label:e,source:t,displayValue:i,isLoading:r,readOnly:n,required:o,fields:s,children:d})=>{let[c,u]=(0,b.useState)(!1),h=(0,O.c)(),x=(0,l.xW)(),m=(0,b.useRef)(null),g=()=>{m.current=s?Object.fromEntries(s.map(e=>[e,x?.getValues(e)])):x?.getValues()??null,u(!0)},y=x?.formState.submitCount??0,f=!!s?.some(e=>!!x?.formState.errors?.[e]),_=(0,b.useRef)(y);(0,b.useEffect)(()=>{y!==_.current&&(_.current=y,f&&g())},[y,f]);let v=()=>{m.current=null,u(!1)};return r?(0,a.jsxs)(ec,{children:[(0,a.jsx)(p.E,{$height:"32px",$width:"32px"}),(0,a.jsx)(p.E,{$height:"40px",$width:"200px"})]}):c&&!n?(0,a.jsxs)(eo,{children:[(0,a.jsx)(ea,{onKeyDown:e=>{"Enter"!==e.key||e.defaultPrevented||"TEXTAREA"!==e.target.tagName&&(e.preventDefault(),v())},children:d}),(0,a.jsxs)(el,{children:[(0,a.jsx)(es,{type:"button",onClick:v,children:h.common.save}),(0,a.jsx)(ed,{type:"button",onClick:()=>{m.current&&x&&(s?Object.entries(m.current).forEach(([e,t])=>x.setValue(e,t)):x.reset(m.current,{keepDefaultValues:!0})),m.current=null,u(!1)},children:h.common.cancel})]})]}):(0,a.jsxs)(K,{children:[(0,a.jsxs)(q,{children:[(0,a.jsx)(G,{$filled:!!i}),(0,a.jsxs)(Z,{children:[(0,a.jsxs)(X,{children:[(0,a.jsxs)(Q,{children:[e,o&&(0,a.jsx)(er,{children:" *"})]}),t&&(0,a.jsxs)(Y,{children:["\xb7 ",t]})]}),i?(0,a.jsx)(ee,{children:i}):o?(0,a.jsx)(ei,{children:h.common.required}):(0,a.jsx)(et,{children:h.common.notSet})]})]}),!n&&(0,a.jsx)(en,{type:"button",onClick:g,children:h.common.edit})]})};var ep=i(43623),eh=i(36822);let ex=({label:e,placeholder:t,isLoading:i})=>{let r=(0,O.c)(),{setValue:n,watch:o,formState:s}=(0,l.xW)(),{errors:d}=s,x=(0,h.ht)("city","country"),m=o("city"),g=o("country"),[y,f]=(0,b.useState)("");(0,b.useEffect)(()=>
8196{(m||g)&&f([m,g].filter(Boolean).join(", "))},[m,g]);let _=d.city,v=d.country,j=!_&&v?r.screening.currentLocation.cityReenterForCountry:_?.message;return i?(0,a.jsx)(p.E,{$height:"48px",$width:"100%"}):(0,a.jsxs)("div",{ref:x,"data-testid":"location-field",children:[(0,a.jsx)(ep.wc,{fetchItems:eh.G,value:y,getSuggestionValue:e=>e.formatted||e.text,onChange:(e,t)=>{let i=t?.newValue??e.target.value??"";f(i),""===i.trim()&&(m||g)&&(n("city","",{shouldValidate:!0,shouldDirty:!0}),n("country","",{shouldValidate:!0,shouldDirty:!0}))},onSuggestionSelected:(e,{suggestion:t})=>{let i,r=t.formatted||t.text,{city:o,country:a}=1===(i=r.split(", ").map(e=>e.trim())).length?{city:i[0],country:""}:{city:i[0],country:i[i.length-1]};n("city",o,{shouldValidate:!0,shouldDirty:!0}),n("country",a,{shouldValidate:!0,shouldDirty:!0}),f(r)},children:({key:i,...r})=>(0,b.createElement)(c.A,{...r,key:i,label:e,placeholder:t})}),j&&(0,a.jsx)(u.K,{children:j})]})};var em=i(24833),eg=i(91779);let ey=s.Ay.div(["display:flex;align-items:center;justify-content:space-between;gap:",";width:100%;padding:"," ",";border-radius:16px;margin-top:",";background:",";",""],v.Kz.S,v.Kz.S,v.Kz.M,v.Kz.XS,e=>"neutral"===e.$variant?v.Jy.Neutral10:v.Jy.Blue10,em.A.Phone`
8197    flex-direction: column;
8198    align-items: stretch;
8199    padding: ${v.Kz.XS} ${v.Kz.S};
8200    gap: ${v.Kz.XS};
8201  `),ef=s.Ay.div(["display:flex;align-items:center;gap:",";min-width:0;"],v.Kz.S),eb=s.Ay.div(["display:flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border-radius:50%;background:",";svg{width:24px;height:24px;color:",";}",""],v.Jy.White,e=>"neutral"===e.$variant?v.Jy.Neutral50:v.Jy.Blue50,em.A.Phone`
8202    width: 36px;
8203    height: 36px;
8204
8205    svg {
8206      width: 20px;
8207      height: 20px;
8208    }
8209  `),e_=s.Ay.div(["display:flex;flex-direction:column;gap:",";min-width:0;"],v.Kz["4XS"]),ev=s.Ay.div(["display:flex;align-items:center;flex-wrap:wrap;gap:",";"],v.Kz.XS),ej=s.Ay.span(["",";font-weight:",";color:",";"],v.o5.sizes.Body,v.o5.weights.medium,e=>"neutral"===e.$variant?v.Jy.Neutral80:v.Jy.Blue80),eA=s.Ay.span(["display:inline-flex;align-items:center;gap:",";",";font-weight:",";color:",";padding:"," ",";background:",";border-radius:",";&::before{content:'';width:6px;height:6px;border-radius:50%;margin-right:",";background:",";}"],v.Kz["4XS"],v.o5.sizes.Caption,v.o5.weights.regular,v.Jy.Neutral60,v.Kz["4XS"],v.Kz["2XS"],v.Jy.Neutral15,v.Kz.XS,v.Kz["3XS"],v.Jy.Neutral40),eC=s.Ay.span(["display:inline-flex;align-items:center;flex-shrink:0;",";font-weight:",";color:",";&::before{content:'';width:6px;height:6px;border-radius:50%;margin-right:",";background:",";}",""],v.o5.sizes.Caption,v.o5.weights.medium,v.Jy.Blue50,v.Kz["3XS"],v.Jy.Blue50,em.A.Phone`
8210    width: 100%;
8211    padding-top: ${v.Kz.S};
8212    border-top: 1px solid ${v.Jy.Blue20};
8213  `),ew=s.Ay.span(["",";font-weight:",";color:",";"],v.o5.sizes.Caption,v.o5.weights.regular,e=>"neutral"===e.$variant?v.Jy.Neutral70:v.Jy.Blue70),ek=s.Ay.button(["display:inline-flex;align-items:center;gap:",";padding:0;border:none;background:none;cursor:pointer;",";font-weight:",";color:",";&:hover{text-decoration:underline;}"],v.Kz["4XS"],v.o5.sizes.Caption,v.o5.weights.medium,v.Jy.Blue50),eS=s.Ay.div(["display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;cursor:pointer;",""],em.A.Phone`
8214    flex-direction: row;
8215    align-items: center;
8216    justify-content: space-between;
8217    width: 100%;
8218    padding-top: ${v.Kz.S};
8219    border-top: 1px solid ${v.Jy.Blue20};
8220  `),eT=s.Ay.span(["",";font-weight:",";color:",";"],v.o5.sizes.S,v.o5.weights.medium,v.Jy.Blue50),eP=s.Ay.span(["",";font-weight:",";color:",";"],v.o5.sizes.Caption,v.o5.weights.regular,v.Jy.Neutral60),eJ=(0,s.Ay)(eg.JQ).attrs({theme:eg.Ox.default,size:eg.Mp.small})(["flex-shrink:0;",""],em.A.Phone`
8221    width: 100%;
8222  `),eE=({variant:e="active",icon:t,title:i,statusPill:r,description:n,action:o})=>(0,a.jsxs)(ey,{$variant:e,children:[(0,a.jsxs)(ef,{children:[(0,a.jsx)(eb,{$variant:e,children:t}),(0,a.jsxs)(e_,{children:[r?(0,a.jsxs)(ev,{children:[(0,a.jsx)(ej,{$variant:e,children:i}),r]}):(0,a.jsx)(ej,{$variant:e,children:i}),(0,a.jsx)(ew,{$variant:e,children:n})]})]}),o]});var eR=i(9397);let eL=()=>{let e=(0,O.c)();return(0,a.jsx)(eE,{variant:"active",icon:(0,a.jsx)(eR.e,{color:v.Jy.Blue50}
8222),title:e.dashboard.preparingBanner.title,description:e.dashboard.preparingBanner.description,action:(0,a.jsx)(eC,{children:e.dashboard.preparingBanner.searching})})};var eN=i(14649),eI=i(86066),eM=i(85261);let eB=({jobCopilot:e,source:t})=>{let i=(0,O.c)(),r=(0,I.Zp)(),{isPhone:n}=(0,eI.e)(),{isAutoApplyFeatureEnabled:o}=(0,eM.J)(),l=()=>{z.$.setupClick(t),r(`/auto-apply/${e?.id?`${e?.id}/`:""}documents`)};return o?(0,a.jsx)(eE,{variant:"active",icon:(0,a.jsx)(eR.e,{color:v.Jy.Blue50}),title:n?i.dashboard.setupBanner.titleShort:i.dashboard.setupBanner.title,statusPill:n?null:(0,a.jsx)(eA,{children:i.dashboard.setupBanner.status}),description:(0,a.jsxs)(a.Fragment,{children:[n?i.dashboard.setupBanner.descriptionShort:i.dashboard.setupBanner.description,!n&&(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsxs)(ek,{onClick:l,children:[i.dashboard.setupBanner.setUpNow," ",(0,a.jsx)(eN.EK.ArrowRightRegular,{})]})]})]}),action:(0,a.jsx)(eJ,{onClick:l,leadingIcon:(0,a.jsx)(eR.e,{size:20}),children:i.dashboard.setupBanner.setUpButton})}):null};i(14603),i(47566),i(98721);var eD=i(35130),e$=i(83452),eO=i(43043);let ez=()=>{let e=(0,O.c)(),t=(0,I.Zp)(),{jobCopilot:i,hasUserCompletedQuestionnaire:r,isAutoApplyFeatureEnabled:n}=(0,eM.J)(),{data:o}=(0,eD.c)(n),{mutateAsync:l,isLoading:s}=(0,D.e)(i?.id),d=(0,e$.R)(),c=async()=>{s||(z.$.bannerClickTurnBackOn(),await l({enabled:!0}))};return n?r?i?.enabled?o?.total?(0,a.jsx)(eE,{variant:"active",icon:(0,a.jsx)(eR.e,{color:v.Jy.Blue50}),title:e.dashboard.matchingBanner.title,description:(0,a.jsxs)(a.Fragment,{children:[e.dashboard.matchingBanner.description," ",(0,a.jsxs)(ek,{onClick:()=>{z.$.bannerClickEditPreferences();let e=new URLSearchParams({section:"jobPreferences",returnUrl:"/job-search?view=recommendation"}).toString();t(`/career-profile/edit?${e}`)},children:[e.dashboard.matchingBanner.editLink," ",(0,a.jsx)(eN.EK.ArrowRightRegular,{})]})]}),action:(0,a.jsxs)(eS,{onClick:()=>{z.$.bannerClickReviewQueue(),d(),t("/job-tracking")},children:[(0,a.jsx)(eT,{children:(0,eO.E)(o?.total??0)}),(0,a.jsx)(eP,{children:e.dashboard.matchingBanner.waitingForReview})]})}):(0,a.jsx)(eL,{}):(0,a.jsx)(eE,{variant:"neutral",icon:(0,a.jsx)(eN.EK.Clock2,{}),title:e.dashboard.statusBanner.pausedTitle,description:(0,a.jsxs)(a.Fragment,{children:[e.dashboard.statusBanner.pausedDescription," ",(0,a.jsxs)(ek,{onClick:c,children:[e.dashboard.statusBanner.turnBackOn," ",(0,a.jsx)(eN.EK.ArrowRightRegular,{})]})]})}):(0,a.jsx)(eB,{jobCopilot:i,source:"jobsearch_banner"}):null};var eF=i(77378);let eH=({onReviewQueue:e})=>{let{i18n:t}=(0,eF.s)(),i=(0,O.c)(),{jobCopilot:r,hasUserCompletedQuestionnaire:n,isAutoApplyFeatureEnabled:o}=(0,eM.J)(),{mutateAsync:l,isLoading:s}=(0,D.e)(r?.id),{data:d}=(0,eD.c)(o),c=(0,e$.R)(),u=r?.enabled,p=async()=>{!s&&(z.$.bannerClickTurnBackOn(),r?.id&&await l({enabled:!0}))};return o?n?u?d?.total?(0,a.jsx)(eE,{variant:"active",icon:(0,a.jsx)(eR.e,{color:v.Jy.Blue50}),title:t.t("builder.auto_apply_copilot.dashboard.status_banner.enabled_title",{count:(0,eO.E)(d?.total??0)}),description:i.dashboard.statusBanner.enabledDescription,action:(0,a.jsx)(eJ,{onClick:()=>{z.$.bannerClickReviewQueue(),(e??c)()},leadingIcon:(0,a.jsx)(eR.e,{size:20}),children:i.dashboard.statusBanner.reviewQueue})}):(0,a.jsx)(eL,{}):(0,a.jsx)(eE,{variant:"neutral",icon:(0,a.jsx)(eN.EK.Clock2,{}),title:i.dashboard.statusBanner.pausedTitle,description:i.dashboard.statusBanner.pausedDescription,action:(0,a.jsx)(eJ,{onClick:p,children:i.dashboard.statusBanner.turnBackOn})}):(0,a.jsx)(eB,{jobCopilot:r,source:"jobtracker_banner"}):null},eV=s.Ay.div(["display:inline-flex;align-items:center;gap:",";padding:6px 0px 6px 12px;border-radius:30px;transition:background-color 0.14s ease;background-color:",";"],v.Kz.XS,e=>e.$checked?v.Jy.Green10:v.Jy.Neutral10),eU=s.Ay.span(["",";font-weight:",";color:",";"],v.o5.sizes.Caption,v.o5.weights.medium,e=>e.$checked?v.Jy.Green70:v.Jy.Neutral70),eW=({className:e,jobCopilotId:t,isChecked:i=!1})=>{let r=(0,O.c)(),{mutateAsync:n,isLoading:o}=(0,D.e)(t),l=async e=>{o||null==t||(z.$.toggleCopilot(e.target.checked,"board"),await n({enabled:e.target.checked}))};return(0,a.jsxs)(eV,{className:e,$checked:i,children:[(0,a.jsx)(eU,{$checked:i,children:r.dashboard.autoApplyToggle.label}),(0,a.jsx)(_.l,{isControlled:!0,checked:i,onChange:l,style:{checked:{hover:v.Jy.Green70,default:v.Jy.Green50}}})]})}},49816:function(e,t,i){"use strict";i.d(t,{gq:function(){return u},FN:function(){return l},Yj:function(){return o},Wu:function(){return s},m8:function(){return a}});var r,n=i(91888);i(18111),i(22489),i(61701);let o=[{id:"en",name:"English"},{id:"es",name:"Spanish"},{id:"fr",name:"French"},{id:"de",name:"German"},{id:"pt",name:"Portuguese"},{id:"it",name:"Italian"},{id:"nl",name:"Dutch"},{id:"pl",name:"Polish"},{id:"ru",name:"Russian"},{id:"ja",name:"Japanese"},{id:"zh",name:"Chinese"},{id:"ko",name:"Korean"},{id:"ar",name:"Arabic"},{id:"hi",name:"Hindi"},{id:"sv",name:"Swedish"},{id:"no",name:"Norwegian"},{id:"da",name:"Danish"},{id:"fi",name:"Finnish"}],a=[{id:"Software Engineer",name:"Software Engineer"}
8222,{id:"Product Manager",name:"Product Manager"},{id:"Data Scientist",name:"Data Scientist"},{id:"UX Designer",name:"UX Designer"},{id:"Marketing Manager",name:"Marketing Manager"}],l={value:"Remote",label:"Remote"};var s=((r={}).Documents="documents",r.Screening="screening",r.Recommendations="recommendations",r.Application="application",r);let d=[{step:"documents",label:n.P.wizard.steps.documents},{step:"screening",label:n.P.wizard.steps.screening},{step:"recommendations",label:n.P.wizard.steps.recommendations}],c=[{step:"documents",label:n.P.wizard.steps.documents},{step:"screening",label:n.P.wizard.steps.screening},{step:"recommendations",label:n.P.wizard.steps.recommendations}];class u{currentStep;copilotId;jobId;steps;basePath;currentStepIndex;constructor(e,t,i){this.currentStep=e,this.copilotId=t,this.jobId=i,this.jobId?(this.steps=c,this.basePath=`/auto-apply/${this.copilotId}/${this.jobId}`):(this.steps=d,this.basePath=`/auto-apply/${this.copilotId}`),this.currentStepIndex=this.steps.findIndex(e=>e.step===this.currentStep)}getCurrentStepInfo(){return this.steps[this.currentStepIndex]}getNextStep(){return this.steps[this.currentStepIndex+1]}getPreviousStep(){return this.currentStepIndex>0?this.steps[this.currentStepIndex-1]:void 0}isFirstStep(){return 0===this.currentStepIndex}isLastStep(){return this.currentStepIndex===this.steps.length-1}getTotalSteps(){return this.steps.length}getCurrentStepNumber(){return this.currentStepIndex+1}getProgressText(){return`${this.currentStepIndex+1} of ${this.steps.length}`}buildStepPath(e,t){let i=t?.copilotId??this.copilotId,r=t?.jobId??this.jobId,n=r?`/auto-apply/${i}/${r}`:`/auto-apply/${i}`,o=Object.entries(t?.queryParams||{}).filter(([,e])=>null!==e).map(([e,t])=>`${e}=${t}`).join("&");return o?`${n}/${e}?${o}`:`${n}/${e}`}getDashboardPath(){return"/auto-apply"}getSuccessPath(){return this.jobId?`/auto-apply/${this.jobId}/success`:"/auto-apply/success"}getJobTrackerPath(){return"/job-tracking"}hasCopilotId(){return!!this.copilotId}}},63833:function(e,t,i){"use strict";i.d(t,{$:function(){return o}});var r=i(33093);let n="AA_v2";class o{static setupClick(e){(0,r.xP)("aa_setup_click",{label:e})}static getStartedModalView(){(0,r.xP)("aa_get_started_modal",{label:n})}static getStartedModalClickNotNow(){(0,r.xP)("aa_get_started_modal_click_not_now",{label:n})}static enterWelcomeScreen(){(0,r.xP)("enter_welcome_screen",{label:n})}static createNewCopilot(){(0,r.xP)("click_create_new_copilot",{label:n})}static toggleCopilot(e,t){(0,r.xP)("aa_toggle_copilot",{enabled:e,source:t,label:n})}static clickEditConfig(){(0,r.xP)("aa_click_edit_config",{label:n})}static clickViewAllJobs(){(0,r.xP)("aa_click_view_all_jobs",{label:n})}static clickCredits(){(0,r.xP)("aa_click_credits",{label:n})}static clickSettings(){(0,r.xP)("aa_click_settings",{label:n})}static clickApplyToAll(){(0,r.xP)("aa_click_apply_to_all",{label:n})}static clickAutoApplyCard(e){(0,r.xP)("aa_click_auto_apply_card",{column:e,label:n})}static bannerClickEditPreferences(){(0,r.xP)("aa_banner_click_edit_preferences",{label:n})}static bannerClickReviewQueue(){(0,r.xP)("aa_banner_click_review_queue",{label:n})}static bannerClickTurnBackOn(){(0,r.xP)("aa_banner_click_turn_back_on",{label:n})}static enterAaDocumentsScreen(){(0,r.xP)("aa_documents_selection")}static enterAAScreeningScreen(){(0,r.xP)("aa_personal_information",{label:n})}static questionnaireFieldEdited(e){(0,r.xP)("aa_questionnaire_field_edited",{field_name:e})}static enterAAPreferencesScreen(){(0,r.xP)("aa_job_preferences",{label:n})}static enterSuccessScreen(){(0,r.xP)("enter_success_screen",{label:n})}static completeStep(e){(0,r.xP)("aa_complete_step",{step:e,label:n})}static setupCompleted(e){(0,r.xP)("aa_setup_completed",{is_update:e.isUpdate,label:n})}static clickBack(e){(0,r.xP)("aa_click_back",{step:e,label:n})}static clickSaveAndExit(e){(0,r.xP)("click_save_and_exit",{step_name:e,label:n})}static stepSubmitAttempt(e){(0,r.xP)("aa_step_submit_attempt",{step:e,label:n})}static stepValidationFailed(e,t){(0,r.xP)("aa_step_validation_failed",{step:e,fields:t,field_count:t.length,label:n})}static stepSubmitError(e,t){(0,r.xP)("aa_step_submit_error",{step:e,status:t.status,kind:t.kind,label:n})}static stepAbandoned(e){(0,r.xP)("aa_step_abandoned",{step:e,label:n})}static clickUploadResume(){(0,r.xP)("click_upload_resume",{label:n})}static submitResume(e){(0,r.xP)("submit_resume",{label:n,source:e})}static uploadResumeError(e){(0,r.xP)("aa_upload_resume_error",{reason:e,label:n})}static autoTailoringToggle(e){(0,r.xP)("auto_tailoring_toggle",{type:e,label:n})}static clickPreviewDocument(e){(0,r.xP)("aa_click_preview_document",{document_type:e,label:n})}static clickDownloadDocument(){(0,r.xP)("aa_click_download_document",{label:n})}static clickCreateDocument(e){(0,r.xP)("aa_click_create_document",{document_type:e,label:n})}static drawerOpened(e){(0,r.xP)("aa_drawer_opened",{job_card_id:e.jobCardId,source:e.source,column:e.column,auto_apply_status:e.autoApplyStatus??void 0,system_recommended:!!e.systemRecommended,label:n})}static drawerTabOpened(e){(0,r.xP)("aa_drawer_tab_opened",{tab:e,label:n})}static drawerClosed(){(0,r.xP)("aa_drawer_closed",{label:n})}static drawerSubmitApplication(e){(0,r.xP)("aa_drawer_submit_application",{job_card_id:e.jobCardId,source:e.source,column:e.column,system_recommended:!!e.systemRecommended,label:n})}static drawerSkipAndRemove(){(0,r.xP)("aa_drawer_skip_and_remove",{label:n})}static drawerDeleteJob(){(0,r.xP)("aa_drawer_delete_job",{label:n})}static drawerSubmitAnswers(){(0,r.xP)("aa_drawer_submit_answers",{label:n})}static drawerApplyManually(){(0,r.xP)("aa_drawer_apply_manually",{label:n})}static drawerEditInBuilder(e){(0,r.xP)("aa_drawer_edit_in_builder",{document_type:e,label:n})}static drawerSwitchDocumentVariant(e){(0,r.xP)("aa_drawer_switch_document_variant",{variant:e,label:n})}static drawerSwitchDocument(e){(0,r.xP)("aa_drawer_switch_document",{document_type:e,label:n})}static drawerFieldEdit(e){(0,r.xP)("aa_drawer_field_edit",{field:e,label:n})}static drawerFieldSaveForAll(e){(0,r.xP)("aa_drawer_field_save_for_all",{field:e,label:n})}static drawerTailorDocument(){(0,r.xP)("aa_drawer_tailor_document",{label:n})}static nmRegStep3Viewed(e="non_member"){(0,r.xP)("aa_nm_reg_step_3_viewed",{flow:e})}static nmRegResumeSelected(e){(0,r.xP)("aa_nm_reg_resume_selected",{type:e})}static nmRegApplicationSubmitted(e="non_member"){(0,r.xP)("aa_nm_reg_application_submitted",{flow:e})}static promoScreenViewed(e,t="non_member"){(0,r.xP)("aa_promo_screen_viewed",{screen:e,flow:t})}static promoScreenClickedCta(e,t,i="non_member"){(0,r.xP)("aa_promo_screen_clicked_cta",{screen:e,cta:t,flow:i})}static promoSurveyAnswered(e,t="non_member"){(0,r.xP)("aa_promo_survey_answered",{answer:e,flow:t})}static aaFromMemberJobBoardStepViewed(e){(0,r.xP)("aa_mem_board_step_viewed",{step:e,label:n})}static aaFromMemberJobBoardStepCompleted(e){(0,r.xP)("aa_mem_board_step_completed",{step:e,label:n})}static aaFromMemberJobBoardResumeSelected(e){(0,r.xP)("aa_mem_board_resume_selected",{source:e,label:n})}static aaFromMemberJobBoardProcessingViewed(){(0,r.xP)("aa_mem_board_processing_viewed",{label:n})}static aaFromMemberJobBoardProcessingCompleted(e){(0,r.xP)("aa_mem_board_processing_completed",{failed_step:e,label:n})}static aaFromMemberJobBoardProcessingError(e){(0,r.xP)("aa_mem_board_processing_error",{error:e,label:n})}static aaFromMemberJobBoardProcessingRetry(){(0,r.xP)("aa_mem_board_processing_retry",{label:n})}static aaFromMemberJobBoardClosed(e){(0,r.xP)("aa_mem_board_closed",{step:e,label:n})}}},65403:function(e,t,i){"use strict";i.d(t,{R:function(){return o},Z:function(){return n}});var r=i(49012);let n=["auto-apply-copilots"],o=async()=>(await r.R3.get("/auto-apply-copilots")).data},47151:function(e,t,i){"use strict";i.d(t,{P:function(){return s}});var r=i(96540),n=i(84976),o=i(63064),a=i(7852);let l="aa_job",s=()=>{let[e,t]=(0,n.ok)(),i=(0,o.jE)(),s=(0,r.useCallback)(e=>{i.setQueryData([a.k,e.external_slug_id],e),t(t=>(t.set(l,e.external_slug_id),t),{replace:!0})},[i,t]),d=(0,r.useCallback)(()=>{t(e=>(e.delete(l),e),{replace:!0})},[t]);return{slug:e.get(l),open:s,close:d}}},6492:function(e,t,i){"use strict";i.d(t,{i:function(){return a},u:function(){return l}}),i(18111),i(61701);var r=i(81247),n=i(49012),o=i(20023);let a="application_answer",l=(e,t)=>
8222{let i=(0,r.wA)(),l=`job-cards/${e}/auto-apply-documents`,s=()=>{i(o.o1.fetchApplicationReviewRequest({jobCardId:e}))},d=e=>n.R3.delete(`${l}/${e.id}`).catch(()=>void 0),c=async(i,r)=>{let o=t.map(e=>e.id===i?{...e,documentId:r}:e);await n.R3.patch(`job-cards/${e}`,{jobCard:{applicationAnswers:o}})};return{upload:async(e,t,i)=>{let r=await n.R3.post(l,{autoApplyDocument:{documentType:a,documentFile:t}},{headers:{"Content-Type":"multipart/form-data"}});await c(e,r.data.providerDocumentId??null),i&&await d(i),s()},remove:async(e,t)=>{await c(e,null),await d(t),s()}}}},85261:function(e,t,i){"use strict";i.d(t,{J:function(){return h}});var r=i(96540),n=i(81247),o=i(13807),a=i(41193),l=i(77378),s=i(42692),d=i(93575),c=i(57295),u=i(95516),p=i(5807);let h=()=>{let e=(0,a.J)(),{i18n:t}=(0,l.s)(),i=(0,n.wA)(),{handleOpenModal:h}=(0,d.j)(),{openAaUpsellModal:x}=(0,u.y)(),{careerProfileData:m,isCareerProfileLoading:g}=(0,c.B)(),{data:y,isLoading:f}=(0,p.F)(),{features:b}=(0,s.t)(),_=!!b?.autoApply,v=!!y?.tailorResumeForJob,j=_&&!!e?.scopes?.autoApply,A=!!m?.autoApplyDataCompleted&&!!y?.id,C=(0,r.useCallback)(()=>"object"==typeof e?.scopes?.autoApply?e?.scopes?.autoApply:{creditCount:0,creditCountUsed:0,creditCountMax:0,autoApplyPlanType:null},[e]),w=(e="months",i="singular")=>{let r={months:{singular:"month",plural:"months"},weeks:{singular:"week",plural:"weeks"},days:{singular:"day",plural:"days"},years:{singular:"year",plural:"years"}},n=r[e]||r.months;return t.t(`builder.intervals.${n[i]}`)},k=(0,r.useCallback)((t=1,r=!0)=>{let{creditCount:n,creditCountUsed:a,autoApplyPlanType:l}=C();return!!n&&a+t>n&&(r&&(e?.scopes.kind==="TR"&&"one_time"===l?i(o.o1.showRDUpsellModal()):i(o.o1.showRDNotEnoughCreditsModal())),!0)},[i,C,e?.scopes?.kind]),S=(0,r.useCallback)(()=>{let{autoApplyPlanType:t,creditCountUsed:i,creditCount:r}=C();if(_&&"free"===t&&i+1>r)return e?.scopes.premium?h():x(),!0},[C,_,e?.scopes.premium,h,x]);return{getAutoApplyCredit:C,isAutoApplyLimitReached:k,redirectToBillingPlans:S,redirectToAutoApplyQuestionnaire:(0,r.useCallback)(e=>!A&&(i(o.o1.showCopilotSetupModal(e)),!0),[A,i]),getCreditCount:()=>{if(e?.scopes?.autoApply===!0)return"∞";let{creditCount:t,creditCountUsed:i}=C();return t-i},getCreditCountUsed:()=>C().creditCountUsed,getResetConfig:()=>{if("boolean"==typeof e?.scopes?.autoApply)return{cycle:w()};let t=e?.scopes?.autoApply?.creditResetTimes||[],i=t[0]?.resetAt;return{cycle:w(t[0]?.interval,"singular"),resetAt:i?new Date(i):void 0}},isAutoApplyFeatureEnabled:_,isUserOnAutoApplyPlan:j,isResumeTailoringEnabled:v,hasUserCompletedQuestionnaire:A,jobCopilot:y,autoApplyDataCompleted:m?.autoApplyDataCompleted,isCareerProfileDataLoading:g||f}}},74309:function(e,t,i){"use strict";i.d(t,{B:function(){return a},k:function(){return o}});var r=i(9421),n=i(49012);let o=e=>["auto-apply-copilot-by-id",e?.toString()];function a(e){return(0,r.I)({queryKey:o(e),queryFn:async()=>e?(await n.R3.get(`/auto-apply-copilots/${e}`)).data:null,useErrorBoundary:!1})}},27292:function(e,t,i){"use strict";i.d(t,{C:function(){return o},m:function(){return a}});var r=i(9421),n=i(49012);let o=["auto-apply-copilots-overview"],a=(e=!0)=>(0,r.I)({queryKey:o,queryFn:async()=>{let[e,t]=await Promise.all([n.R3.get("/career/profile"),n.R3.get("/auto-apply-copilots")]);return{careerProfile:e.data??null,copilot:t.data?.[0]??null}},useErrorBoundary:!1,enabled:e})},27853:function(e,t,i){"use strict";i.d(t,{p:function(){return m}});var r=i(74848),n=i(96540);i(18111),i(61701);var o=i(99701),a=i(16466),l=i(56298),s=i(91779),d=i(14649),c=i(1802),u=i(30122);let p=({onClose:e,onEnable:t,isEnabling:i})=>{let n=(0,c.c)(),p=[{Icon:d.Ay.Target,title:n.copilotPausedModal.matchingTitle,description:n.copilotPausedModal.matchingDescription},{Icon:u._d,title:n.copilotPausedModal.controlTitle,description:n.copilotPausedModal.controlDescription}];return(0,r.jsx)(a.A,{overlayFadeDuration:250,contentSlideDuration:250,onClose:e,children:(0,r.jsxs)(u.aF,{children:[(0,r.jsx)(u.Is,{children:(0,r.jsx)(l.O,{onClick:e})}),(0,r.jsxs)(u.Y9,{children:[(0,r.jsx)(u.fk,{children:(0,r.jsx)(d.Ay.Ai,{fill:o.Jy.Blue50})}),(0,r.jsx)(u.hE,{children:n.copilotPausedModal.title}),(0,r.jsx)(u.VY,{children:n.copilotPausedModal.description})]}),(0,r.jsx)(u.nB,{children:(0,r.jsx)(u.hg,{children:p.map(({Icon:e,title:t,description:i})=>(0,r.jsxs)(u.Xj,{children:[(0,r.jsx)(u.aK,{children:(0,r.jsx)(e,{fill:o.Jy.Blue50})}),(0,r.jsxs)(u.AS,{children:[(0,r.jsx)(u.zh,{children:t}
8222),(0,r.jsx)(u.$n,{children:i})]})]},t))})}),(0,r.jsxs)(u.wi,{children:[(0,r.jsx)(s.JQ,{theme:s.Ox.ghost,size:s.Mp.small,onClick:e,children:n.copilotPausedModal.notNow}),(0,r.jsx)(s.JQ,{theme:s.Ox.default,size:s.Mp.small,onClick:t,isLoading:i,children:(0,r.jsxs)(u.yX,{children:[(0,r.jsx)(d.Ay.Ai,{fill:o.Jy.White}),n.copilotPausedModal.enable]})})]})]})})};var h=i(85261),x=i(73478);function m(){let{jobCopilot:e,hasUserCompletedQuestionnaire:t}=(0,h.J)(),{mutateAsync:i}=(0,x.e)(e?.id),[o,a]=(0,n.useState)(null),[l,s]=(0,n.useState)(!1),d=(0,n.useCallback)(i=>!!(e?.id&&t&&!e.enabled)&&(a({proceed:i}),!0),[e?.id,e?.enabled,t]),c=(0,n.useCallback)(()=>a(null),[]),u=(0,n.useCallback)(async()=>{if(!e?.id)return;let t=o?.proceed;s(!0);try{await i({enabled:!0})}finally{s(!1),a(null),t?.()}},[e?.id,o,i]);return{guardDisabled:d,disabledModal:o?(0,r.jsx)(p,{onClose:c,onEnable:u,isEnabling:l}):null}}},47123:function(e,t,i){"use strict";i.d(t,{R:function(){return a}});var r=i(9421),n=i(49012),o=i(21798);let a=(e,t,i)=>{let a=async(e,t,i)=>{let r=await n.R3.get(`/documents/${e}`,{signal:i});return{...r.data,type:t,createdAt:r.data.created_at}},l=async(e,t)=>(await n.uE.get(`/resumes/${e}`,{signal:t})).data,s=async(e,t)=>(await n.uE.get(`/cover-letters/${e}`,{signal:t})).data;return(0,r.I)({queryKey:["builder-document",t,e],queryFn:async({signal:i})=>e?t===o.K.trDocument?await a(e,t,i):t===o.K.resume?await l(e,i):t===o.K.coverLetter?await s(e,i):null:null,enabled:null!==e&&t!==o.K.uploadedDocument,useErrorBoundary:e=>e?.response?.status!==404,retry:1,refetchOnMount:i?.refetchOnMount})}},5807:function(e,t,i){"use strict";i.d(t,{F:function(){return a}});var r=i(9421),n=i(41193),o=i(65403);function a(){let e=(0,n.J)();return(0,r.I)({queryKey:o.Z,queryFn:o.R,select:e=>e[0],useErrorBoundary:!1,enabled:!!e?.id})}},19673:function(e,t,i){"use strict";i.d(t,{i:function(){return o}});var r=i(9421),n=i(49012);let o=(e=!0)=>{let t=async()=>(await n.R3.get("/auto-apply-copilots/stats")).data;return(0,r.I)({queryKey:["auto-apply-copilots-stats"],queryFn:()=>t(),useErrorBoundary:!1,enabled:e})}},26944:function(e,t,i){"use strict";i.d(t,{_:function(){return c}});var r=i(81247),n=i(63064),o=i(96230),a=i(49012),l=i(34346),s=i(8037),d=i(27292);let c=()=>{let e=(0,r.wA)(),t=(0,n.jE)();return(0,o.n)({mutationKey:["patch-career-profile"],mutationFn:e=>a.R3.patch("/career/profile",{careerProfile:e}),onSuccess:()=>{t.invalidateQueries(["auto-apply-screening"]),t.invalidateQueries(d.C),e(l.o1.setFetchCareerProfileStatus(s.Hp.notAsked))},useErrorBoundary:!1})}},1802:function(e,t,i){"use strict";i.d(t,{c:function(){return o}}),i(18111),i(61701);var r=i(77378),n=i(91888);function o(){let{i18n:e}=(0,r.s)();return function e(t,i){if("string"==typeof t)return i(t);if(Array.isArray(t))return t.map(t=>e(t,i));if(t&&"object"==typeof t){if("i18nKey"in t&&"string"==typeof t.i18nKey){let{i18nKey:e}=t;return t=>i(e,t)}let r={};for(let n in t)r[n]=e(t[n],i);return r}return t}(n.P,e.t)}},73478:function(e,t,i){"use strict";i.d(t,{e:function(){return u}});var r=i(63064),n=i(96230),o=i(81247),a=i(49012),l=i(34346),s=i(8037),d=i(21798),c=i(74309);let u=e=>{let t=(0,r.jE)(),i=(0,o.wA)();return(0,n.n)({mutationKey:["upsert-auto-apply-copilot"],mutationFn:async t=>{let i=e;if(!i){let e=await a.R3.get("/auto-apply-copilots");e.data.length>0&&(i=e.data[0].id)}let r="file"in t,n=r?{uploaded_resume:t.file,document_type:d.K.uploadedDocument}:{...t},o=r?{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:t.onProgress}:void 0;return i?a.R3.patch(`/auto-apply-copilots/${i}`,{copilot:n},o):a.R3.post("/auto-apply-copilots",{copilot:{...n,enabled:!1}},o)},onSuccess:r=>{let n=r.data.id??e;t.invalidateQueries(["auto-apply-copilots"]),null!=n&&t.setQueryData((0,c.k)(n),r.data),t.invalidateQueries(["auto-apply-screening"]),i(l.o1.setFetchCareerProfileStatus(s.Hp.notAsked))},useErrorBoundary:!1})}},51926:function(e,t,i){"use strict";i.d(t,{EY:function(){return u},PF:function(){return m},Pd:function(){return c},hE:function(){return d},hK:function(){return p},hn:function(){return g},i0:function(){return x},pV:function(){return j},qn:function(){return b},uF:function(){return f},xA:function(){return h}});var r=i(74848),n=i(38267),o=i(99701),a=i(77169),l=i(24833),s=i(14649);let d=n.Ay.h2(["",";",";text-align:center;"],e=>o.o5.sizes[e.size||"S"],e=>`font-weight: ${o.o5.weights[e.weight||"medium"]}`),c=n.Ay.p(["",";",";color:",";text-align:center;margin-top:",";"],e=>o.o5.sizes[e.size||"Body"],e=>`font-weight: ${o.o5.weights[e.weight||"regular"]}`,o.Jy.Neutral50,o.Kz.XS),u=n.Ay.p(["",";",";color:",";text-align:",";text-transform:",";"],e=>o.o5.sizes[e.size||"Body"],e=>`font-weight: ${o.o5.weights[e.weight||"regular"]}`,e=>o.Jy[e.color||"Neutral90"],e=>e.align||"left",e=>e.textTransform||"none"),p=n.Ay.div(["display:flex;flex-direction:column;gap:",";
8222"],({space:e})=>o.Kz[e]),h=n.Ay.div(["display:grid;grid-template-columns:repeat(",",1fr);gap:",";",""],e=>e.columns,e=>e.gap?o.Kz[e.gap]:o.Kz.S,l.A.Phone` grid-template-columns: 1fr; `);o.Kz.S,o.Jy.White;let x=n.Ay.div(["padding:0 36px;background:",";border-radius:12px;margin-bottom:4px;",""],o.Jy.White,l.A.Phone`padding: 0 20px;`),m=(0,n.Ay)(x)(["flex:1 0 auto;"]),g=n.Ay.div(["padding-bottom:",";"],o.Kz.M),y=(0,n.Ay)(a.E.Button)(["width:100%;border:none;padding:20px 0;display:flex;align-items:center;cursor:pointer;justify-content:space-between;",";",";"],o.o5.sizes.S,o.o5.weights.medium),f=n.Ay.div(["display:flex;flex-direction:column;"]),b=n.Ay.div(["padding:"," 0;"],o.Kz.M),_=n.Ay.span(["display:inline-flex;margin-right:-16px;svg path{stroke:",";}",""],o.Jy.Neutral40,l.A.Phone` margin-right: 0; `),v=n.Ay.button(["width:100%;border:none;background:none;padding:20px 0;display:flex;align-items:center;cursor:pointer;justify-content:space-between;",";",";"],o.o5.sizes.S,o.o5.weights.medium),j=e=>{let t=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u,{size:"Subhead",weight:"demibold",children:e.title}),(0,r.jsx)(_,{children:e.open?(0,r.jsx)(s.Ay.ChevronUp,{}):(0,r.jsx)(s.Ay.ChevronDown,{})})]});return e.onClick?(0,r.jsx)(v,{type:"button",onClick:e.onClick,"aria-expanded":e.open,children:t}):(0,r.jsx)(y,{children:t})}},91888:function(e,t,i){"use strict";i.d(t,{P:function(){return n}});let r=e=>({i18nKey:e}),n={copilotSetupModal:{title:"builder.auto_apply_copilot.setup_modal.title",description:"builder.auto_apply_copilot.setup_modal.description",resumeTitle:"builder.auto_apply_copilot.setup_modal.resume_title",resumeDescription:"builder.auto_apply_copilot.setup_modal.resume_description",screeningTitle:"builder.auto_apply_copilot.setup_modal.screening_title",screeningDescription:"builder.auto_apply_copilot.setup_modal.screening_description",preferencesTitle:"builder.auto_apply_copilot.setup_modal.preferences_title",preferencesDescription:"builder.auto_apply_copilot.setup_modal.preferences_description",timeNote:"builder.auto_apply_copilot.setup_modal.time_note",notNow:"builder.auto_apply_copilot.setup_modal.not_now",setup:"builder.auto_apply_copilot.setup_modal.setup"},copilotPausedModal:{title:"builder.auto_apply_copilot.paused_modal.title",description:"builder.auto_apply_copilot.paused_modal.description",matchingTitle:"builder.auto_apply_copilot.paused_modal.matching_title",matchingDescription:"builder.auto_apply_copilot.paused_modal.matching_description",controlTitle:"builder.auto_apply_copilot.paused_modal.control_title",controlDescription:"builder.auto_apply_copilot.paused_modal.control_description",notNow:"builder.auto_apply_copilot.paused_modal.not_now",enable:"builder.auto_apply_copilot.paused_modal.enable"},jobApplicationDrawer:{saving:"builder.auto_apply_copilot.job_application_drawer.saving",saveError:"builder.auto_apply_copilot.job_application_drawer.save_error",showLess:"builder.auto_apply_copilot.job_application_drawer.show_less",showMore:r("builder.auto_apply_copilot.job_application_drawer.show_more"),answerPlaceholder:"builder.auto_apply_copilot.job_application_drawer.answer_placeholder",customAnswer:"builder.auto_apply_copilot.job_application_drawer.custom_answer",customAnswerPlaceholder:"builder.auto_apply_copilot.job_application_drawer.custom_answer_placeholder",saveForAll:"builder.auto_apply_copilot.job_application_drawer.save_for_all",removeAnswerModal:{title:"builder.auto_apply_copilot.job_application_drawer.remove_answer_modal.title",description:"builder.auto_apply_copilot.job_application_drawer.remove_answer_modal.description",forApplication:"builder.auto_apply_copilot.job_application_drawer.remove_answer_modal.for_application",forAll:"builder.auto_apply_copilot.job_application_drawer.remove_answer_modal.for_all"},saveForAllTooltip:"builder.auto_apply_copilot.job_application_drawer.save_for_all_tooltip",saveForAllModal:{title:"builder.auto_apply_copilot.job_application_drawer.save_for_all_modal.title",description:"builder.auto_apply_copilot.job_application_drawer.save_for_all_modal.description",confirm:"builder.auto_apply_copilot.job_application_drawer.save_for_all_modal.confirm"},sections:{profile:"builder.auto_apply_copilot.job_application_drawer.sections.profile",screening:"builder.auto_apply_copilot.job_application_drawer.sections.screening",reviewQuestions:"builder.auto_apply_copilot.job_application_drawer.sections.review_questions",submittedAnswers:"builder.auto_apply_copilot.job_application_drawer.sections.submitted_answers",additionalQuestions:"builder.auto_apply_copilot.job_application_drawer.sections.additional_questions",memory:"builder.auto_apply_copilot.job_application_drawer.sections.memory",memoryHint:"builder.auto_apply_copilot.job_application_drawer.sections.memory_hint"},extraQuestionsModal:{title:"builder.auto_apply_copilot.job_application_drawer.extra_questions_modal.title",description:"builder.auto_apply_copilot.job_application_drawer.extra_questions_modal.description",confirm:"builder.auto_apply_copilot.job_application_drawer.extra_questions_modal.confirm"},saveForMemoryModal:{title:"builder.auto_apply_copilot.job_application_drawer.save_for_memory_modal.title",description:"builder.auto_apply_copilot.job_application_drawer.save_for_memory_modal.description",confirm:"builder.auto_apply_copilot.job_application_drawer.save_for_memory_modal.confirm"},infoBanner:{title:"builder.auto_apply_copilot.job_application_drawer.info_banner.title",description:"builder.auto_apply_copilot.job_application_drawer.info_banner.description"},file:{upload:"builder.auto_apply_copilot.job_application_drawer.file.upload",uploadHint:"builder.auto_apply_copilot.job_application_drawer.file.upload_hint",attached:"builder.auto_apply_copilot.job_application_drawer.file.attached",invali
8222dFileType:"builder.auto_apply_copilot.job_application_drawer.file.invalid_file_type"},fields:{fullName:"builder.auto_apply_copilot.job_application_drawer.fields.full_name",email:"builder.auto_apply_copilot.job_application_drawer.fields.email",phoneNumber:"builder.auto_apply_copilot.job_application_drawer.fields.phone_number",currentLocation:"builder.auto_apply_copilot.job_application_drawer.fields.current_location",streetAddress:"builder.auto_apply_copilot.job_application_drawer.fields.street_address",postCode:"builder.auto_apply_copilot.job_application_drawer.fields.post_code",currentJobTitle:"builder.auto_apply_copilot.job_application_drawer.fields.current_job_title",linkedin:"builder.auto_apply_copilot.job_application_drawer.fields.linkedin",countriesEligible:"builder.auto_apply_copilot.job_application_drawer.fields.countries_eligible",visaSponsorship:"builder.auto_apply_copilot.job_application_drawer.fields.visa_sponsorship",currentSalary:"builder.auto_apply_copilot.job_application_drawer.fields.current_salary",desiredSalary:"builder.auto_apply_copilot.job_application_drawer.fields.desired_salary",fluentLanguages:"builder.auto_apply_copilot.job_application_drawer.fields.fluent_languages",dateOfBirth:"builder.auto_apply_copilot.job_application_drawer.fields.date_of_birth",gpaScore:"builder.auto_apply_copilot.job_application_drawer.fields.gpa_score",gender:"builder.auto_apply_copilot.job_application_drawer.fields.gender",disability:"builder.auto_apply_copilot.job_application_drawer.fields.disability",drivingLicense:"builder.auto_apply_copilot.job_application_drawer.fields.driving_license",securityClearance:"builder.auto_apply_copilot.job_application_drawer.fields.security_clearance",veteran:"builder.auto_apply_copilot.job_application_drawer.fields.veteran",ethnicity:"builder.auto_apply_copilot.job_application_drawer.fields.ethnicity"},placeholders:{fullName:"builder.auto_apply_copilot.job_application_drawer.placeholders.full_name",email:"builder.auto_apply_copilot.job_application_drawer.placeholders.email",phoneNumber:"builder.auto_apply_copilot.job_application_drawer.placeholders.phone_number",location:"builder.auto_apply_copilot.job_application_drawer.placeholders.location",streetAddress:"builder.auto_apply_copilot.job_application_drawer.placeholders.street_address",postCode:"builder.auto_apply_copilot.job_application_drawer.placeholders.post_code",jobTitle:"builder.auto_apply_copilot.job_application_drawer.placeholders.job_title",linkedin:"builder.auto_apply_copilot.job_application_drawer.placeholders.linkedin",countries:"builder.auto_apply_copilot.job_application_drawer.placeholders.countries",select:"builder.auto_apply_copilot.job_application_drawer.placeholders.select",currentSalary:"builder.auto_apply_copilot.job_application_drawer.placeholders.current_salary",desiredSalary:"builder.auto_apply_copilot.job_application_drawer.placeholders.desired_salary",addLanguage:"builder.auto_apply_copilot.job_application_drawer.placeholders.add_language",dateOfBirth:"builder.auto_apply_copilot.job_application_drawer.placeholders.date_of_birth",drivingLicense:"builder.auto_apply_copilot.job_application_drawer.placeholders.driving_license",securityClearance:"builder.auto_apply_copilot.job_application_drawer.placeholders.security_clearance",gender:"builder.auto_apply_copilot.job_application_drawer.placeholders.gender",ethnicity:"builder.auto_apply_copilot.job_application_drawer.placeholders.ethnicity"},jobDetails:{fields:{title:"builder.auto_apply_copilot.job_application_drawer.job_details.fields.title",location:"builder.auto_apply_copilot.job_application_drawer.job_details.fields.location",url:"builder.auto_apply_copilot.job_application_drawer.job_details.fields.url",salary:"builder.auto_apply_copilot.job_application_drawer.job_details.fields.salary",description:"builder.auto_apply_copilot.job_application_drawer.job_details.fields.description"},placeholders:{title:"builder.auto_apply_copilot.job_application_drawer.job_details.placeholders.title",location:"builder.auto_apply_copilot.job_application_drawer.job_details.placeholders.location",url:"builder.auto_apply_copilot.job_application_drawer.job_details.placeholders.url",salary:"builder.auto_apply_copilot.job_application_drawer.job_details.placeholders.salary",description:"builder.auto_apply_copilot.job_application_drawer.job_details.placeholders.description"}}},common:{yes:"builder.auto_apply_copilot.common.yes",no:"builder.auto_apply_copilot.common.no",cancel:"builder.auto_apply_copilot.common.cancel",closeModalAriaLabel:"builder.auto_apply_copilot.common.close_modal_aria_label",edit:"builder.auto_apply_copilot.common.edit",save:"builder.auto_apply_copilot.common.save",remove:"builder.auto_apply_copilot.common.remove",replace:"builder.auto_apply_copilot.common.replace",notSet:"builder.auto_apply_copilot.common.not_set",required:"builder.auto_apply_copilot.common.required"},wizard:{back:"builder.auto_apply_copilot.wizard.back",saveAndExit:"builder.auto_apply_copilot.wizard.save_and_exit",complete:"builder.auto_apply_copilot.wizard.complete",update:"builder.auto_apply_copilot.wizard.update",next:"builder.auto_apply_copilot.wizard.next",steps:{preferences:"builder.auto_apply_copilot.wizard.steps.preferences",documents:"builder.auto_apply_copilot.wizard.steps.documents",screening:"builder.auto_apply_copilot.wizard.steps.screening",recommendations:"builder.auto_apply_copilot.wizard.steps.recommendations",application:"builder.auto_apply_copilot.wizard.steps.application"},saveExitModal:{title:"builder.auto_apply_copilot.wizard.save_exit_modal.title",subt
8222itle:"builder.auto_apply_copilot.wizard.save_exit_modal.subtitle",confirm:"builder.auto_apply_copilot.wizard.save_exit_modal.confirm",cancel:"builder.auto_apply_copilot.wizard.save_exit_modal.cancel"},error:{navTitle:"builder.auto_apply_copilot.wizard.error.nav_title",title:"builder.auto_apply_copilot.wizard.error.title",subtitle:"builder.auto_apply_copilot.wizard.error.subtitle",retry:"builder.auto_apply_copilot.wizard.error.retry",exit:"builder.auto_apply_copilot.wizard.error.exit"}},recommendations:{title:"builder.auto_apply_copilot.recommendations.title",subtitle:"builder.auto_apply_copilot.recommendations.subtitle",whatWeRecommend:{title:"builder.auto_apply_copilot.recommendations.what_we_recommend.title",subtitle:"builder.auto_apply_copilot.recommendations.what_we_recommend.subtitle",jobTitlesTitle:"builder.auto_apply_copilot.recommendations.what_we_recommend.job_titles_title",jobTitlesSubtitle:"builder.auto_apply_copilot.recommendations.what_we_recommend.job_titles_subtitle",jobTitlesPlaceholder:"builder.auto_apply_copilot.recommendations.what_we_recommend.job_titles_placeholder",workLocationTitle:"builder.auto_apply_copilot.recommendations.what_we_recommend.work_location_title",workLocationSubtitle:"builder.auto_apply_copilot.recommendations.what_we_recommend.work_location_subtitle",locationsPlaceholder:"builder.auto_apply_copilot.recommendations.what_we_recommend.locations_placeholder"},behavior:{title:"builder.auto_apply_copilot.recommendations.behavior.title",subtitle:"builder.auto_apply_copilot.recommendations.behavior.subtitle",reviewBeforeSubmit:"builder.auto_apply_copilot.recommendations.behavior.review_before_submit",reviewBeforeSubmitHint:"builder.auto_apply_copilot.recommendations.behavior.review_before_submit_hint"}},documents:{title:"builder.auto_apply_copilot.documents.title",subtitle:"builder.auto_apply_copilot.documents.subtitle",yourResumes:"builder.auto_apply_copilot.documents.your_resumes",grid:{uploaded:"builder.auto_apply_copilot.documents.grid.uploaded",uploadedJustNow:"builder.auto_apply_copilot.documents.grid.uploaded_just_now",updated:"builder.auto_apply_copilot.documents.grid.updated",improve:"builder.auto_apply_copilot.documents.grid.improve",preview:"builder.auto_apply_copilot.documents.grid.preview",createTitle:"builder.auto_apply_copilot.documents.grid.create_title",createSubtitle:"builder.auto_apply_copilot.documents.grid.create_subtitle",scoreNeedsWork:"builder.auto_apply_copilot.documents.grid.score_needs_work",scoreStrong:"builder.auto_apply_copilot.documents.grid.score_strong",scoreExcellent:"builder.auto_apply_copilot.documents.grid.score_excellent"},resume:{uploadTitle:"builder.auto_apply_copilot.documents.resume.upload_title",uploadSubtitle:"builder.auto_apply_copilot.documents.resume.upload_subtitle",browseFiles:"builder.auto_apply_copilot.documents.resume.browse_files"},documentCard:{untitled:"builder.auto_apply_copilot.documents.document_card.untitled",download:"builder.auto_apply_copilot.documents.document_card.download",previewError:"builder.auto_apply_copilot.documents.document_card.preview_error"},fileUpload:{uploading:"builder.auto_apply_copilot.documents.file_upload.uploading",uploadingFile:"builder.auto_apply_copilot.documents.file_upload.uploading_file",errors:{fileSizeExceeded:"builder.auto_apply_copilot.documents.file_upload.errors.file_size_exceeded",invalidFileType:"builder.auto_apply_copilot.documents.file_upload.errors.invalid_file_type",uploadFailed:"builder.auto_apply_copilot.documents.file_upload.errors.upload_failed",uploadFailedWithFile:"builder.auto_apply_copilot.documents.file_upload.errors.upload_failed_with_file"}}},screening:{title:"builder.auto_apply_copilot.screening.title",subtitle:"builder.auto_apply_copilot.screening.subtitle",optionalQuestions:"builder.auto_apply_copilot.screening.optional_questions",profileInfo:{title:"builder.auto_apply_copilot.screening.profile_info.title",subtitle:"builder.auto_apply_copilot.screening.profile_info.subtitle"},fullName:{title:"builder.auto_apply_copilot.screening.full_name.title",firstNameLabel:"builder.auto_apply_copilot.screening.full_name.first_name_label",firstNamePlaceholder:"builder.auto_apply_copilot.screening.full_name.first_name_placeholder",lastNameLabel:"builder.auto_apply_copilot.screening.full_name.last_name_label",lastNamePlaceholder:"builder.auto_apply_copilot.screening.full_name.last_name_placeholder"},email:{title:"builder.auto_apply_copilot.screening.email.title",placeholder:"builder.auto_apply_copilot.screening.email.placeholder"},phoneNumber:{title:"builder.auto_apply_copilot.screening.phone_number.title",subt
8222itle:"builder.auto_apply_copilot.screening.phone_number.subtitle",placeholder:"builder.auto_apply_copilot.screening.phone_number.placeholder"},currentLocation:{title:"builder.auto_apply_copilot.screening.current_location.title",countryLabel:"builder.auto_apply_copilot.screening.current_location.country_label",countryPlaceholder:"builder.auto_apply_copilot.screening.current_location.country_placeholder",cityLabel:"builder.auto_apply_copilot.screening.current_location.city_label",cityPlaceholder:"builder.auto_apply_copilot.screening.current_location.city_placeholder",cityReenterForCountry:"builder.auto_apply_copilot.screening.current_location.city_reenter_for_country",stateLabel:"builder.auto_apply_copilot.screening.current_location.state_label",statePlaceholder:"builder.auto_apply_copilot.screening.current_location.state_placeholder",postalCodeLabel:"builder.auto_apply_copilot.screening.current_location.postal_code_label",postalCodePlaceholder:"builder.auto_apply_copilot.screening.current_location.postal_code_placeholder"},address:{title:"builder.auto_apply_copilot.screening.address.title",streetLabel:"builder.auto_apply_copilot.screening.address.street_label",streetPlaceholder:"builder.auto_apply_copilot.screening.address.street_placeholder"},currentJobTitle:{title:"builder.auto_apply_copilot.screening.current_job_title.title",label:"builder.auto_apply_copilot.screening.current_job_title.label",placeholder:"builder.auto_apply_copilot.screening.current_job_title.placeholder"},experienceSummary:{title:"builder.auto_apply_copilot.screening.experience_summary.title",placeholder:"builder.auto_apply_copilot.screening.experience_summary.placeholder"},eligibleCountries:{title:"builder.auto_apply_copilot.screening.eligible_countries.title",subtitle:"builder.auto_apply_copilot.screening.eligible_countries.subtitle",placeholder:"builder.auto_apply_copilot.screening.eligible_countries.placeholder"},visaRequired:{title:"builder.auto_apply_copilot.screening.visa_required.title",warning:"builder.auto_apply_copilot.screening.visa_required.warning"},currentSalary:{title:"builder.auto_apply_copilot.screening.current_salary.title"},desiredSalary:{title:"builder.auto_apply_copilot.screening.desired_salary.title"},linkedin:{title:"builder.auto_apply_copilot.screening.linkedin.title",label:"builder.auto_apply_copilot.screening.linkedin.label",placeholder:"builder.auto_apply_copilot.screening.linkedin.placeholder"},remoteType:{title:"builder.auto_apply_copilot.screening.remote_type.title",openToHybrid:"builder.auto_apply_copilot.screening.remote_type.options.open_to_hybrid",fullRemoteOnly:"builder.auto_apply_copilot.screening.remote_type.options.full_remote_only"},fluentLanguage:{title:"builder.auto_apply_copilot.screening.fluent_language.title",subtitle:"builder.auto_apply_copilot.screening.fluent_language.subtitle",placeholder:"builder.auto_apply_copilot.screening.fluent_language.placeholder"},dateOfBirth:{title:"builder.auto_apply_copilot.screening.date_of_birth.title",placeholder:"builder.auto_apply_copilot.screening.date_of_birth.placeholder"},gpaScore:{title:"builder.auto_apply_copilot.screening.gpa_score.title",subtitle:"builder.auto_apply_copilot.screening.gpa_score.subtitle",placeholder:"builder.auto_apply_copilot.screening.gpa_score.placeholder"},legalAge:{title:"builder.auto_apply_copilot.screening.legal_age.title"},gender:{title:"builder.auto_apply_copilot.screening.gender.title",placeholder:"builder.auto_apply_copilot.screening.gender.placeholder",male:"builder.auto_apply_copilot.screening.gender.options.male",female:"builder.auto_apply_copilot.screening.gender.options.female",nonBinary:"builder.auto_apply_copilot.screening.gender.options.non_binary",preferNotToSay:"builder.auto_apply_copilot.screening.gender.options.prefer_not_to_say"},disability:{title:"builder.auto_apply_copilot.screening.disability.title",preferNotToSay:"builder.auto_apply_copilot.screening.disability.options.prefer_not_to_say"},drivingLicense:{title:"builder.auto_apply_copilot.screening.driving_license.title",placeholder:"builder.auto_apply_copilot.screening.driving_license.placeholder"},securityClearance:{title:"builder.auto_apply_copilot.screening.security_clearance.title",placeholder:"builder.auto_apply_copilot.screening.security_clearance.placeholder"},veteran:{title:"builder.auto_apply_copilot.screening.veteran.title"},ethnicity:{title:"builder.auto_apply_copilot.screening.ethnicity.title",placeholder:"builder.auto_apply_copilot.screening.ethnicity.placeholder",white:"builder.auto_apply_copilot.screening.ethnicity.options.white",hispanicOrLatino:"builder.auto_apply_copilot.screening.ethnicity.options.hispanic_or_latino",blackOrAfricanAmerican:"builder.auto_apply_copilot.screening.ethnicity.options.black_or_african_american",asian:"builder.auto_apply_copilot.screening.ethnicity.options.asian",americanIndianOrAlaskaNative:"builder.auto_apply_copilot.screening.ethnicity.options.american_indian_or_alaska_native",middleEasternOrNorthAfrican:"builder.auto_apply_copilot.screening.ethnicity.options.middle_eastern_or_north_african",
8222nativeHawaiianOrPacificIslander:"builder.auto_apply_copilot.screening.ethnicity.options.native_hawaiian_or_pacific_islander",other:"builder.auto_apply_copilot.screening.ethnicity.options.other",preferNotToSay:"builder.auto_apply_copilot.screening.ethnicity.options.prefer_not_to_say"}},aaFromJobBoardScreening:{profileInfoSubtitle:"builder.auto_apply_copilot.non_member_screening.profile_info_subtitle",submit:"builder.auto_apply_copilot.non_member_screening.submit",resume:{bannerMain:"builder.auto_apply_copilot.non_member_screening.resume.banner_main",bannerSaved:"builder.auto_apply_copilot.non_member_screening.resume.banner_saved",dismissBanner:"builder.auto_apply_copilot.non_member_screening.resume.dismiss_banner",titlePrefix:"builder.auto_apply_copilot.non_member_screening.resume.title_prefix",titleConjunction:"builder.auto_apply_copilot.non_member_screening.resume.title_conjunction",subtitle:"builder.auto_apply_copilot.non_member_screening.resume.subtitle",sectionTitle:"builder.auto_apply_copilot.non_member_screening.resume.section_title",sectionSubtitle:"builder.auto_apply_copilot.non_member_screening.resume.section_subtitle",tailoredName:"builder.auto_apply_copilot.non_member_screening.resume.tailored_name",baseName:"builder.auto_apply_copilot.non_member_screening.resume.base_name",recommended:"builder.auto_apply_copilot.non_member_screening.resume.recommended",optimizedFor:"builder.auto_apply_copilot.non_member_screening.resume.optimized_for",originalUpload:"builder.auto_apply_copilot.non_member_screening.resume.original_upload",preview:"builder.auto_apply_copilot.non_member_screening.resume.preview",loadError:"builder.auto_apply_copilot.non_member_screening.resume.load_error"},previewModal:{tailored:"builder.auto_apply_copilot.non_member_screening.preview_modal.tailored",base:"builder.auto_apply_copilot.non_member_screening.preview_modal.base"},promo:{similarJobs:{badge:"builder.auto_apply_copilot.non_member_screening.promo.similar_jobs.badge",heading:"builder.auto_apply_copilot.non_member_screening.promo.similar_jobs.heading",headingFallback:"builder.auto_apply_copilot.non_member_screening.promo.similar_jobs.heading_fallback",confirm:"builder.auto_apply_copilot.non_member_screening.promo.similar_jobs.confirm",decline:"builder.auto_apply_copilot.non_member_screening.promo.similar_jobs.decline"},goodChoice:{heading:"builder.auto_apply_copilot.non_member_screening.promo.good_choice.heading",headingDeclined:"builder.auto_apply_copilot.non_member_screening.promo.good_choice.heading_declined",subtitle:"builder.auto_apply_copilot.non_member_screening.promo.good_choice.subtitle",note:"builder.auto_apply_copilot.non_member_screening.promo.good_choice.note",continue:"builder.auto_apply_copilot.non_member_screening.promo.good_choice.continue"},hardestPart:{heading:"builder.auto_apply_copilot.non_member_screening.promo.hardest_part.heading",options:{ghosted:"builder.auto_apply_copilot.non_member_screening.promo.hardest_part.options.ghosted",time:"builder.auto_apply_copilot.non_member_screening.promo.hardest_part.options.time",matches:"builder.auto_apply_copilot.non_member_screening.promo.hardest_part.options.matches"}},notAlone:{heading:"builder.auto_apply_copilot.non_member_screening.promo.not_alone.heading",lead:"builder.auto_apply_copilot.non_member_screening.promo.not_alone.lead",items:{ghosted:"builder.auto_apply_copilot.non_member_screening.promo.not_alone.items.ghosted",wasted:"builder.auto_apply_copilot.non_member_screening.promo.not_alone.items.wasted",overwhelmed:"builder.auto_apply_copilot.non_member_screening.promo.not_alone.items.overwhelmed"},cta:"builder.auto_apply_copilot.non_member_screening.promo.not_alone.cta"},solution:{heading:"builder.auto_apply_copilot.non_member_screening.promo.solution.heading",items:{jobs:"builder.auto_apply_copilot.non_member_screening.promo.solution.items.jobs",autofill:"builder.auto_apply_copilot.non_member_screening.promo.solution.items.autofill",track:"builder.auto_apply_copilot.non_member_screening.promo.solution.items.track"},result:"builder.auto_apply_copilot.non_member_screening.promo.solution.result",cta:"builder.auto_apply_copilot.non_member_screening.promo.solution.cta"},headsUp:{heading:"builder.auto_apply_copilot.non_member_screening.promo.heads_up.heading",lead1:"builder.auto_apply_copilot.non_member_screening.promo.heads_up.lead1",lead2:"builder.auto_apply_copilot.non_member_screening.promo.heads_up.lead2",items:{scans:"builder.auto_apply_copilot.non_member_screening.promo.heads_up.items.scans",learns:"builder.auto_apply_copilot.non_member_screening.promo.heads_up.items.learns",control:"builder.auto_apply_copilot.non_member_screening.promo.heads_up.items.control"},note:"builder.auto_apply_copilot.non_member_screening.promo.heads_up.note",cta:"builder.auto_apply_copilot.non_member_screening.promo.heads_up.cta"}}},aaFromMemberJobBoardFlow:{dialogAriaLabel:"builder.auto_apply_copilot.member_board_flow.dialog_aria_label",closeAriaLabel:"builder.auto_apply_copilot.member_board_flow.close_aria_label",resume:{label:"builder.auto_apply_copilot.member_board_flow.resume.label",hint:"builder.auto_apply_copilot.member_board_flow.resume.hint",next:"builder.auto_apply_copilot.member_board_flow.resume.next",errors:{required:"builder.auto_apply_copilot.member_board_flow.resume.errors.required"}}
8222,processing:{title:r("builder.auto_apply_copilot.member_board_flow.processing.title"),subtitle:"builder.auto_apply_copilot.member_board_flow.processing.subtitle",steps:{resumeExisting:"builder.auto_apply_copilot.member_board_flow.processing.steps.resume_existing",tailoring:"builder.auto_apply_copilot.member_board_flow.processing.steps.tailoring",reviewingQuestions:"builder.auto_apply_copilot.member_board_flow.processing.steps.reviewing_questions",writingAnswers:"builder.auto_apply_copilot.member_board_flow.processing.steps.writing_answers",fillingForm:"builder.auto_apply_copilot.member_board_flow.processing.steps.filling_form"},error:{title:"builder.auto_apply_copilot.member_board_flow.processing.error.title",description:"builder.auto_apply_copilot.member_board_flow.processing.error.description",retry:"builder.auto_apply_copilot.member_board_flow.processing.error.retry",close:"builder.auto_apply_copilot.member_board_flow.processing.error.close"}}},application:{discardModal:{title:"builder.auto_apply_copilot.application.discard_modal.title",subtitle:"builder.auto_apply_copilot.application.discard_modal.subtitle",confirm:"builder.auto_apply_copilot.application.discard_modal.confirm"}},dashboard:{title:"builder.auto_apply_copilot.dashboard.title",autoApplyToggle:{label:"builder.auto_apply_copilot.dashboard.auto_apply_toggle.label"},statusBanner:{enabledDescription:"builder.auto_apply_copilot.dashboard.status_banner.enabled_description",reviewQueue:"builder.auto_apply_copilot.dashboard.status_banner.review_queue",pausedTitle:"builder.auto_apply_copilot.dashboard.status_banner.paused_title",pausedDescription:"builder.auto_apply_copilot.dashboard.status_banner.paused_description",turnBackOn:"builder.auto_apply_copilot.dashboard.status_banner.turn_back_on"},matchingBanner:{title:"builder.auto_apply_copilot.dashboard.matching_banner.title",description:"builder.auto_apply_copilot.dashboard.matching_banner.description",editLink:"builder.auto_apply_copilot.dashboard.matching_banner.edit_link",waitingForReview:"builder.auto_apply_copilot.dashboard.matching_banner.waiting_for_review"},preparingBanner:{title:"builder.auto_apply_copilot.dashboard.preparing_banner.title",description:"builder.auto_apply_copilot.dashboard.preparing_banner.description",searching:"builder.auto_apply_copilot.dashboard.preparing_banner.searching"},setupBanner:{title:"builder.auto_apply_copilot.dashboard.setup_banner.title",titleShort:"builder.auto_apply_copilot.dashboard.setup_banner.title_short",status:"builder.auto_apply_copilot.dashboard.setup_banner.status",description:"builder.auto_apply_copilot.dashboard.setup_banner.description",descriptionShort:"builder.auto_apply_copilot.dashboard.setup_banner.description_short",setUpNow:"builder.auto_apply_copilot.dashboard.setup_banner.set_up_now",setUpButton:"builder.auto_apply_copilot.dashboard.setup_banner.set_up_button"},empty:{welcomeTitle:"builder.auto_apply_copilot.dashboard.empty.welcome_title",welcomeTitleBrand:"builder.auto_apply_copilot.dashboard.empty.welcome_title_brand",badgePremium:"builder.auto_apply_copilot.dashboard.empty.badge_premium",badgeFree:"builder.auto_apply_copilot.dashboard.empty.badge_free",createCopilot:"builder.auto_apply_copilot.dashboard.empty.create_copilot",howItWorks:"builder.auto_apply_copilot.dashboard.empty.how_it_works",howTitle:"builder.auto_apply_copilot.dashboard.empty.how_title",whyAutoApply:"builder.auto_apply_copilot.dashboard.empty.why_auto_apply",whyTitle:"builder.auto_apply_copilot.dashboard.empty.why_title",steps:{profileTitle:"builder.auto_apply_copilot.dashboard.empty.steps.profile.title",profileDescription:"builder.auto_apply_copilot.dashboard.empty.steps.profile.description",preferencesTitle:"builder.auto_apply_copilot.dashboard.empty.steps.preferences.title",preferencesDescription:"builder.auto_apply_copilot.dashboard.empty.steps.preferences.description",applicationsTitle:"builder.auto_apply_copilot.dashboard.empty.steps.applications.title",applicationsDescription:"builder.auto_apply_copilot.dashboard.empty.steps.applications.description"},benefits:{volumeTitle:"builder.auto_apply_copilot.dashboard.empty.benef
8222its.volume.title",volumeDescription:"builder.auto_apply_copilot.dashboard.empty.benefits.volume.description",tailoredTitle:"builder.auto_apply_copilot.dashboard.empty.benefits.tailored.title",tailoredDescription:"builder.auto_apply_copilot.dashboard.empty.benefits.tailored.description",controlTitle:"builder.auto_apply_copilot.dashboard.empty.benefits.control.title",controlDescription:"builder.auto_apply_copilot.dashboard.empty.benefits.control.description"}},guide:{title:"builder.auto_apply_copilot.dashboard.guide.title",trainCopilot:"builder.auto_apply_copilot.dashboard.guide.train_copilot",howCopilotWorks:"builder.auto_apply_copilot.dashboard.guide.how_copilot_works"},success:{card:{editConfiguration:"builder.auto_apply_copilot.dashboard.success.card.edit_configuration",modeAuto:"builder.auto_apply_copilot.dashboard.success.card.mode_auto",locationRemote:"builder.auto_apply_copilot.dashboard.success.card.location_remote",whatWeSearch:"builder.auto_apply_copilot.dashboard.success.card.what_we_search",targetRoles:"builder.auto_apply_copilot.dashboard.success.card.target_roles",locationsWorkMode:"builder.auto_apply_copilot.dashboard.success.card.locations_work_mode",minSalary:"builder.auto_apply_copilot.dashboard.success.card.min_salary"},stats:{since:"builder.auto_apply_copilot.dashboard.success.stats.since",viewAllJobs:"builder.auto_apply_copilot.dashboard.success.stats.view_all_jobs",needReviewTitle:"builder.auto_apply_copilot.dashboard.success.stats.need_review_title",needReviewTooltip:"builder.auto_apply_copilot.dashboard.success.stats.need_review_tooltip",processingTitle:"builder.auto_apply_copilot.dashboard.success.stats.processing_title",processingTooltip:"builder.auto_apply_copilot.dashboard.success.stats.processing_tooltip",autoAppliedTitle:"builder.auto_apply_copilot.dashboard.success.stats.auto_applied_title",autoAppliedTooltip:"builder.auto_apply_copilot.dashboard.success.stats.auto_applied_tooltip"}},infoModal:{howCopilotWorks:{title:"builder.auto_apply_copilot.dashboard.info_modal.how_copilot_works.title",items:{first:"builder.auto_apply_copilot.dashboard.info_modal.how_copilot_works.items.first",second:"builder.auto_apply_copilot.dashboard.info_modal.how_copilot_works.items.second",third:"builder.auto_apply_copilot.dashboard.info_modal.how_copilot_works.items.third",fourth:"builder.auto_apply_copilot.dashboard.info_modal.how_copilot_works.items.fourth",fifth:"builder.auto_apply_copilot.dashboard.info_modal.how_copilot_works.items.fifth"}},howToTrain:{title:"builder.auto_apply_copilot.dashboard.info_modal.how_to_train.title",sections:{personalizedAnswers:{title:"builder.auto_apply_copilot.dashboard.info_modal.how_to_train.sections.personalized_answers.title",first:"builder.auto_apply_copilot.dashboard.info_modal.how_to_train.sections.personalized_answers.first",second:"builder.auto_apply_copilot.dashboard.info_modal.how_to_train.sections.personalized_answers.second"},betterMatching:{title:"builder.auto_apply_copilot.dashboard.info_modal.how_to_train.sections.better_matching.title",first:"builder.auto_apply_copilot.dashboard.info_modal.how_to_train.sections.better_matching.first",second:"builder.auto_apply_copilot.dashboard.info_modal.how_to_train.sections.better_matching.second",third:"builder.auto_apply_copilot.dashboard.info_modal.how_to_train.sections.better_matching.third"}}},externalJobs:{title:"builder.auto_apply_copilot.dashboard.info_modal.external_jobs.title",subtitle:"builder.auto_apply_copilot.dashboard.info_modal.external_jobs.subtitle",buttonLabel:"builder.auto_apply_copilot.dashboard.info_modal.external_jobs.button_label",firstItem:"builder.auto_apply_copilot.dashboard.info_modal.external_jobs.first_item",secondItem:"builder.auto_apply_copilot.dashboard.info_modal.external_jobs.second_item"}},toggleConfirmModal:{title:"builder.auto_apply_copilot.dashboard.toggle_confirm_modal.title",description:"builder.auto_apply_copilot.dashboard.toggle_confirm_modal.description",cancel:"builder.auto_apply_copilot.dashboard.toggle_confirm_modal.cancel",toggle:"builder.auto_apply_copilot.dashboard.toggle_confirm_modal.toggle"},disableConfirmModal:{title:"builder.auto_apply_copilot.dashboard.disable_confirm_modal.title",description:"builder.auto_apply_copilot.dashboard.disable_confirm_modal.description",secondary_description:"builder.auto_apply_copilot.dashboard.disable_confirm_modal.secondary_description",cancel:"builder.auto_apply_copilot.dashboard.disable_confirm_modal.cancel",disable:"builder.auto_apply_copilot.dashboard.disable_confirm_modal.disable"}},jobSuccessScreen:{badge:"builder.auto_apply_copilot.job_success_screen.badge",title:"builder.auto_apply_copilot.job_success_screen.title",description:"builder.auto_apply_copilot.job_success_screen.description",viewMyApplications:"builder.auto_apply_copilot.success_screen.view_my_applications",exploreJobs:"builder.auto_apply_copilot.success_screen.explore_jobs",since:"builder.auto_apply_copilot.success_screen.since",features:{applyOneClickTitle:"builder.auto_apply_copilot.success_screen.features.apply_one_click.title",applyOneClickDescription:"builder.auto_apply_copilot.success_screen.features.apply_one_click.description",handleApplicationTitle:"builder.auto_apply_copilot.success_screen.features.handle_application.title",handleApplicationDescription:"builder.auto_apply_copilot.success_screen.features.handle_application.description",trackingTitle:"builder.auto_apply_copilot.success_screen.features.tracking.title",trackingDescription:"builder.auto_apply_copilot.success_screen.features.tracking.description"},stats:{needReviewTitle:"builder.auto_apply_copilot.success_screen.stats.need_review_title",needReviewTooltip:"builder.auto_apply_copilot.success_screen.stats.need_review_tooltip",processingTitle:"builder.auto_apply_copilot.success_screen.stats.processing_title",processingTooltip:"builder.auto_apply_copilot.success_screen.stats.processing_tooltip",autoAppliedTitle:"builder.auto_apply_copilot.success_screen.stats.auto_applied_title",autoAppliedTooltip:"builder.auto_apply_copilot.success_screen.stats.auto_applied_tooltip"}},successScreen:{badge:"builder.auto_apply_copilot.success_screen.badge",title:"builder.auto_apply_copilot.success_screen.title",description:"builder.auto_apply_copilot.success_screen.description",viewMyApplications:"builder.auto_apply_copilot.success_screen.view_my_applications",exploreJobs:"builder.auto_apply_copilot.success_screen.explore_jobs",since:"builder.auto_apply_copilot.success_screen.since",features:{applyOneClickTitle:"builder.auto_apply_copilot.success_screen.features.apply_one_click.title",applyOneClickDescription:"builder.auto_apply_copilot.success_screen.features.apply_one_click.description",handleApplicationTitle:"builder.auto_apply_copilot.success_screen.features.handle_application.title",handleApplicationDescription:"builder.auto_apply_copilot.success_screen.features.handle_application.description",trackingTitle:"builder.auto_apply_copilot.success_screen.features.tracking.title",trackingDescription:"builder.auto_apply_copilot.success_screen.features.tracking.description"},stats:{needReviewTitle:"builder.auto_apply_copilot.success_screen.stats.need_review_title",needReviewTooltip:"builder.auto_apply_copilot.success_screen.stats.need_review_tooltip",processingTitle:"builder.auto_apply_copilot.success_screen.stats.processing_title",processingTooltip:"builder.auto_apply_copilot.success_screen.stats.processing_tooltip",autoAppliedTitle:"builder.auto_apply_copilot.success_screen.stats.auto_applied_title",autoAppliedTooltip:"builder.auto_apply_copilot.success_screen.stats.auto_applied_tooltip"}},postPurchaseModal:{premiumBadge:"builder.auto_apply_copilot.post_purchase_modal.premium_badge",title:"builder.auto_apply_copilot.post_purchase_modal.title",titleFallback:"builder.auto_apply_copilot.post_purchase_modal.title_fallback",howItWorks:"builder.auto_apply_copilot.post_purchase_modal.how_it_works",features:{autoApply:"builder.auto_apply_copilot.post_purchase_modal.features.auto_apply",tailored:"builder.auto_apply_copilot.post_purchase_modal.features.tailored",autoSubmit:"builder.auto_apply_copilot.post_purchase_modal.features.auto_submit",tracking:"builder.auto_apply_copilot.post_purchase_modal.features.tracking",jobBoard:"builder.auto_apply_copilot.post_purchase_modal.features.job_board"},viewMatchingJobs:"builder.auto_apply_copilot.post_purchase_modal.view_matching_jobs",setUpAutoApply:"builder.auto_apply_copilot.post_purchase_modal.set_up_auto_apply",closeAriaLabel:"builder.auto_apply_copilot.post_purchase_modal.close_aria_label"},aaUpsellModal:{premiumBadge:"builder.auto_apply_copilot.aa_upsell_modal.premium_badge",title:"builder.auto_apply_copilot.aa_upsell_modal.title",titleFallback:"builder.auto_apply_copilot.aa_upsell_modal.title_fallback",whatYouGet:"builder.auto_apply_copilot.aa_upsell_modal.what_you_get",features:{autoApply:"builder.auto_apply_copilot.aa_upsell_modal.features.auto_apply",tailored:"builder.auto_apply_copilot.aa_upsell_modal.features.tailored",autoSubmit:"builder.auto_apply_copilot.aa_upsell_modal.features.auto_submit",tracking:"builder.auto_apply_copilot.aa_upsell_modal.features.tracking",jobBoard:"builder.auto_apply_copilot.aa_upsell_modal.features.job_board"},maybeLater:"builder.auto_apply_copilot.aa_upsell_modal.maybe_later",upgradeToPremium:"builder.auto_apply_copilot.aa_upsell_modal.upgrade_to_premium",closeAriaLabel:"builder.auto_apply_copilot.aa_upsell_modal.close_aria_label"}}},21798:function(e,t,i){"use strict";i.d(t,{K:function(){return a},o:function(){return l}});var r,n=i(9631),o=i(8037),a=((r={})[r.resume=o.VC.resume]="resume",r[r.trDocument=o.VC.trDocument]="trDocument",r[r.coverLetter=o.VC.coverLetter]="coverLetter",r.uploadedDocument="uploaded_document",r);let l=n.Ik({documentId:n.ai().nullable(),documentType:n.k5([a.resume,a.trDocument,a.coverLetter,"uploaded_document"]).nullable(),uploadedResumeUrl:n.Yj().nullable().optional(),uploadedResumeFilename:n.Yj().nullable().optional(),tailorResumeForJob:n.zM().default(!0).optional(),tailorCoverLetterForJob:n.zM().default(!0).optional()}).refine(e=>null!==e.documentId||"uploaded_document"===e.documentType,{message:"Please select or upload a resume",path:["documentId"]})},43043:function(e,t,i){"use strict";i.d(t,{E:function(){return r}});let r=e=>e>100?"100+":e},39593:function(e,t,i){"use strict";i.d(t,{JK:function(){return c},Ms:function(){return u},OY:function(){return d},lw:function(){return l},rc:function(){return s}}),i(18111),i(61701),i(22489);var r=i(78005),n=i(36822),o=i(18074),a=i(49816);let l=async e=>{try{return(await (0,n.G)(e||"United States")).map(e=>({value:e.value||"",label:e.formatted||""}))}catch{return[]}},s=async e=>{try{if(!e)return a.m8.map(e=>({value:e.name,label:e.name}));let t=(0,o.$r)("job-titles",{section:o.qP.CareerPages,limit:10});return(await t(e.toLocaleLowerCase())).map(e=>({value:e.text,label:e.text}))}catch{return[]}},d=async e=>{let t=a.Yj.map(e=>({value:e.id,label:e.name}));return e?t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):t},c=r.A.sort((e,t)=>
8222(t.priority||0)-(e.priority||0)).map(e=>({value:e.id,label:e.name})),u=async e=>{if(!e)return c;let t=e.toLowerCase();return c.filter(e=>e.label.toLowerCase().includes(t))}},5976:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M0 12C0 5.37258 5.37258 0 12 0H36C42.6274 0 48 5.37258 48 12V36C48 42.6274 42.6274 48 36 48H12C5.37258 48 0 42.6274 0 36V12Z",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60731)",children:[(0,r.jsx)("path",{d:"M14.2735 36.6918C14.3042 34.7943 13.9586 32.1977 13.9904 30.3001C15.8459 30.1673 17.2912 30.1334 19.1468 30.0005L19.4299 26.1056C21.6619 25.9728 23.2795 25.839 25.5125 25.7062C25.6383 24.1748 25.7641 22.6435 25.89 21.1122C28.0286 21.245 30.5058 21.279 32.6424 21.4118C32.8312 26.3723 32.9666 31.3318 33.1553 36.2923C27.6512 36.4251 24.6499 36.7587 19.1468 36.8915C17.9825 36.6588 15.4366 36.9245 14.2735 36.6918Z",fill:"white"}),(0,r.jsx)("path",{d:"M29.2045 17.1803C31.1556 17.1803 32.7372 15.6403 32.7372 13.7408C32.7372 11.8412 31.1556 10.3013 29.2045 10.3013C27.2535 10.3013 25.6719 11.8412 25.6719 13.7408C25.6719 15.6403 27.2535 17.1803 29.2045 17.1803Z",fill:"white"}),(0,r.jsx)("path",{d:"M32.5916 26.605C31.8735 26.605 31.7976 27.4039 31.8223 28.103C31.8643 29.3014 31.6304 33.8075 31.6397 35.6271C29.0897 35.7929 26.7889 36.1554 24.2861 36.0925C21.69 36.0266 18.4609 35.8988 15.1191 35.772C15.0996 35.0349 15.0165 34.1601 15.0042 33.2333C14.998 32.5971 14.9909 31.948 14.9857 31.3617L19.3256 31.168C19.8601 31.149 20.2827 30.6856 20.2827 30.1204V26.5301H25.1713C25.7191 26.5301 26.3622 26.0607 26.3622 25.4814V22.1808C27.3059 22.1109 27.388 21.991 28.3019 22.011C28.8671 22.023 30.3954 22.2107 31.7197 22.2107C31.9248 22.2107 31.6869 23.0476 31.8223 23.7088C31.9248 24.2081 32.2736 24.8283 32.7454 24.8073C33.1434 24.7893 33.8737 24.4078 33.8737 23.4092C33.8737 22.4694 34.284 20.3132 32.4131 20.1924C31.0253 20.1025 29.6785 19.9417 28.3963 19.9137C27.1141 19.8858 26.4566 20.0136 25.1713 20.0775C24.8991 20.0937 24.6439 20.212 24.4593 20.4075C24.2747 20.6031 24.1752 20.8606 24.1815 21.1261V24.4328H19.2918C18.7451 24.4328 18.3009 24.9022 18.3009 25.4814V29.1067L13.9928 29.1017C13.4594 29.1217 13.002 29.7838 13.002 30.3491C13.002 31.138 13.0143 32.2156 13.0255 33.2582C13.0368 34.3009 13.1476 36.6808 13.1527 36.8196C13.1543 37.0845 13.2627 37.3383 13.4546 37.5262C13.6464 37.7141 13.9064 37.8211 14.1785 37.8243C16.8875 37.7903 21.2561 37.9181 24.0953 37.99C25.8904 38.035 27.19 37.9311 29.1492 37.7903C30.217 37.7903 31.1145 37.6904 32.1238 37.6904C33.4573 37.6904 33.8573 36.8505 33.8625 36.2923C33.8819 34.2839 34.0512 32.0978 33.9732 29.5012C33.9312 28.093 33.9373 28.7561 33.8707 27.7035C33.8317 27.0753 33.4634 26.605 32.5916 26.605Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M29.155 18.0162C26.6019 18.0162 24.334 16.0408 24.334 13.555C24.334 11.0693 26.6019 9 29.155 9C31.708 9 33.976 10.9764 33.976 13.4622C33.976 15.9479 31.708 18.0162 29.155 18.0162ZM29.155 10.9524C27.7076 10.9524 26.2429 12.1449 26.2429 13.555C26.2429 14.9652 27.2932 16.2515 29.1068 16.2515C30.5551 16.2515 31.7798 14.9182 31.7798 13.5091C31.7793 12.8314 31.5026 12.1815 31.0105 11.7022C30.5184 11.2229 29.8511 10.9532 29.155 10.9524Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60731",children:(0,r.jsx)("rect",{width:"21",height:"29",fill:"white",transform:"translate(13 9)"})})})]})},7482:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60642)",children:[(0,r.jsx)("path",{d:"M13.6544 16.8427L34.5531 16.4408C34.6144 21.5147 34.6756 26.5889 34.7368 31.6634L13.291 31.1462L13.6544 16.8427Z",fill:"white"}),(0,r.jsx)("path",{d:"M11.9999 17.3067C12.0068 16.9041 12.1468 16.5152 12.398 16.2009C12.6492 15.8866 12.9973 15.6648 13.3878 15.5701L13.4071 15.5652C13.9334 15.4451 14.473 15.3939 15.0124 15.4131C16.9521 15.4383 24.4653 15.3986 26.5568 15.4732C27.0023 15.4887 27.4333 15.5478 27.7503 15.8955C27.9862 16.1551 28.1659 16.433 28.02 16.7827C27.8634 17.1556 27.3193 17.2447 26.7723 17.2931C26.5606 17.3115 25.6937 17.3628 25.4811 17.3599C21.5901 17.3086 18.9034 17.5168 15.0124 17.4626C14.934 17.4582 14.8555 17.4694 14.7814 17.4955C17.6933 19.8317 21.16 22.255 24.3165 24.3722C24.8616 23.9751 25.1032 23.7911 25.6637 23.3814C27.2458 22.2259 28.4143 21.188
82226 29.8118 19.8423C30.1665 19.4994 30.5753 19.4336 30.9319 19.6534C31.3427 19.9072 31.5002 20.3876 31.2847 20.8079C31.1969 21.0037 31.0719 21.1804 30.9165 21.3281C29.4417 22.5659 28.2616 23.5615 26.7771 24.7896C26.3905 25.1131 25.9827 25.4221 25.6048 25.7582C25.3724 25.9802 25.0811 26.1305 24.7658 26.1911C24.4505 26.2517 24.1244 26.2201 23.8265 26.1001C23.3769 25.9346 22.9483 25.7165 22.5498 25.4502C21.1678 24.532 19.8031 23.5906 18.4385 22.6491C17.2294 21.8152 16.0291 20.9716 14.8249 20.1309C14.7534 20.0815 14.2779 20.0341 14.1571 19.9547C14.1464 20.1261 14.1329 20.2549 14.131 20.3837C14.0875 23.6187 14.1097 27.3137 14.0595 30.5534C14.0595 30.815 14.1503 30.8663 14.4113 30.8673C19.9365 30.8808 25.8628 30.9021 31.3881 30.9225C31.938 30.9225 32.8561 30.9796 33.4467 30.9796C33.4534 30.9021 33.467 30.8024 33.4718 30.7026C33.5684 28.6561 33.3529 23.7572 33.6312 23.2216C33.8429 22.8148 34.5233 22.6889 34.6364 22.7993C35.0413 22.9978 35.1805 23.4472 35.1931 23.885C35.2704 26.7432 35.3457 28.7403 35.4182 31.5995C35.4227 31.7579 35.4078 31.9163 35.3738 32.0712C35.282 32.4838 35.0925 32.8266 34.6161 32.9487C34.5407 32.9671 17.0893 33.0136 16.9685 33.0097C16.0919 32.9826 15.2144 32.9613 14.3378 32.9341C13.381 32.9041 12.3227 32.0702 12.1149 31.1908C12.0686 30.9893 12.0338 30.7849 11.9941 30.5815L11.9999 17.3067Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M34.3067 21.0966C33.7317 21.0966 33.3016 20.685 33.2127 20.0457C33.146 19.5702 33.1247 19.0839 33.1044 18.6142V18.6074C33.0967 18.4263 33.088 18.2394 33.0774 18.0544C33.0774 18.0253 33.0774 17.882 33.0725 17.8345V17.5653H32.8338C32.8338 17.5653 32.6792 17.5653 32.4685 17.5653C32.1979 17.5653 31.821 17.5653 31.5649 17.5527C31.4518 17.5469 31.3377 17.544 31.2247 17.5411C31.0604 17.5362 30.8903 17.5323 30.7221 17.5207C30.15 17.481 29.7228 17.1265 29.6339 16.6161C29.5295 16.0185 29.8272 15.5168 30.407 15.3396C30.7909 15.2184 31.1876 15.143 31.589 15.1148L31.7987 15.0926C31.9831 15.0744 32.1682 15.0656 32.3535 15.0664C32.4985 15.0664 32.6434 15.0664 32.7923 15.0732L33.1073 15.08V14.832C33.1073 14.5696 33.1073 14.3681 33.1073 14.1541V14.0088C33.1073 13.7337 33.1141 13.449 33.1411 13.1681C33.204 12.524 33.6466 12.032 34.1956 11.9971C34.2178 11.9971 34.241 11.9971 34.2632 11.9971C34.8093 11.9971 35.2645 12.4184 35.3698 13.0228C35.4471 13.4674 35.4935 13.9109 35.5438 14.3788C35.5534 14.4698 35.596 14.863 35.596 14.863L35.8047 14.8698H35.8666L36.4184 14.8989C36.9171 14.9231 37.4274 14.9483 37.928 15.0006C38.2095 15.0248 38.4728 15.1501 38.6695 15.3533C38.8662 15.5565 38.9832 15.824 38.9989 16.1066C39.0414 16.7372 38.6635 17.2282 38.0392 17.358C37.537 17.4529 37.0302 17.5214 36.5209 17.5633L36.2522 17.5895C36.1498 17.5998 36.0468 17.6047 35.9439 17.604H35.8095L35.5815 17.5992L35.538 18.2423C35.4983 18.8283 35.4616 19.3823 35.4094 19.9392C35.3457 20.6239 34.9436 21.0666 34.3599 21.0947L34.3067 21.0966Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60642",children:(0,r.jsx)("rect",{width:"27",height:"21",fill:"white",transform:"translate(12 12)"})})})]})},20280:function(e,t,i){"use strict";i.r(t),i.d(t,{First90DaysPlan:function(){return n}});var r=i(74848);let n=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M0 12C0 5.37258 5.37258 0 12 0H36C42.6274 0 48 5.37258 48 12V36C48 42.6274 42.6274 48 36 48H12C5.37258 48 0 42.6274 0 36V12Z",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60715)",children:[(0,r.jsx)("path",{d:"M14.5984 14.011C22.3239 13.9772 27.857 14.0447 35.5824 14.011C35.2786 22.4389 35.5824 28.5309 35.3193 35.9064L12.7266 35.8009C11.4519 34.6209 13.7152 32.6711 12.4405 31.491C12.2693 26.3428 12.8905 22.1056 12.7193 16.9605C14.2602 15.4588 13.0575 15.5158 14.5984 14.011Z",fill:"white"}),(0,r.jsx)("path",{d:"M36 15.4875C36 13.8003 36.1044 12.0075 32.7804 12.113C30.8897 12.1731 15.9139 12.0075 15.9086 12.0075C13.7977 11.9021 12 12.9566 12 15.3821C12.2025 34.7445 12.1973 34.7445 12.1973 34.2583C12.1973 35.4183 13.1912 36.8947 14.5984 36.7892C14.6266 36.7892 18.6084 36.881 18.6365 36.881C19.121 36.881 19.6064 36.881 20.0908 36.881C24.9589 36.9485 28.1075 36.997 32.9756 36.997C34.7336 36.997 35.8277 36.2588 35.9457 34.5715C35.977 34.1065 35.8538 21.9171 35.8538 19.5971C35.8538 18.2262 35.6983 17.1716 34.173 17.1716L13.9815 17.1896C14.0551 16.4795 14.0899 15.7659 14.0859 15.052C14.0587 14.2706 14.7791 14.3581 15.5474 14.3465C21.5628 14.26 27.7526 14.3275 33.4944 14.5384C34.3296 14.569 33.7888 15.5308 34.2252 15.9093C34.956 16.5421 36 16.1867 36 15.4875ZM14.5984 18.9675C19.9227 18.8621 27.4268 19.2649 32.6593 19.1784C33.6615 19.1615 33.9047 19.1151 33.912 20.1275C33.9267 22.3062 33.9559 26.1953 33.935 28.1599C33.9173 29.8135 33.8682 31.8825 33.9089 33.6256C33.9125 33.7917 33.8832 33.9568 33.8226 34.1112C33.7621 34.2657 33.6716 34.4063 33.5564 34.5248C33.4412 34.6433 33.3037 34.7374 33.1519 34.8014C33.0002 34.8
8222653 32.8373 34.898 32.6728 34.8974C29.1807 34.89 19.5062 34.8637 15.5599 34.8531C15.2377 34.8523 14.9289 34.7228 14.7009 34.4928C14.4728 34.2628 14.3441 33.9511 14.3427 33.6256C14.3427 32.7662 14.3364 31.4248 14.35 30.5675C14.3907 28.0471 14.2842 23.3713 14.2153 20.6674C14.1871 19.538 14.1683 18.9759 14.5984 18.9675Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M18.4312 32.2545C17.8445 32.1491 17.6232 31.7368 17.7265 31.4109C17.9614 30.6727 18.9793 30.0094 19.7237 29.4073C20.3782 28.88 20.7812 28.6691 21.1341 28.1418C21.1341 28.1418 20.5463 28.4582 19.4888 28.3527C18.0105 28.2062 16.8945 26.9818 16.7869 25.7164C16.669 24.3455 17.0219 23.2909 18.3143 22.3419C18.9522 21.8736 19.9847 21.6501 20.7812 21.7091C22.1916 21.8146 23.222 22.7331 23.3671 24.0196C23.7565 27.4732 23.1583 29.2923 21.488 30.6632C20.3949 31.5701 19.3614 32.4212 18.4312 32.2545Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M27.5973 32.1491C26.7726 32.1491 25.8351 31.6219 25.2474 30.7782C24.7817 30.1107 23.5968 27.4185 24.7776 23.93C24.9913 23.2906 25.3964 22.734 25.9369 22.3373C26.4774 21.9406 27.1266 21.7233 27.7946 21.7155C28.2144 21.7133 28.6295 21.8043 29.0105 21.9822C29.3915 22.16 29.7292 22.4204 29.9995 22.7447C30.7408 23.6421 30.9558 24.4636 31.0592 25.2619C31.103 25.5994 31.1249 25.9421 31.1458 26.2732C31.1563 26.4261 31.1657 26.5759 31.1772 26.7246V26.7362C31.1772 28.3791 30.9871 30.1307 29.9463 31.1979C29.1247 32.0437 28.207 32.1491 27.5973 32.1491Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M21.5745 25.2682C21.5372 25.6267 21.3685 25.9581 21.1014 26.1971C20.8344 26.4362 20.4885 26.5657 20.1317 26.56C19.4719 26.56 18.6973 26.0391 18.6973 25.1965C18.7064 24.7819 18.8728 24.3866 19.1621 24.0923C19.4513 23.798 19.8413 23.627 20.2517 23.6147C20.9094 23.6073 21.6977 24.1725 21.5745 25.2682Z",fill:"white"}),(0,r.jsx)("path",{d:"M29.1098 26.539C29.1098 27.816 29.0461 29.6182 27.8152 29.6182C26.5844 29.6182 26.291 27.816 26.291 26.539C26.291 25.2619 26.6804 23.9237 27.6388 23.9237C28.7099 23.9237 29.1098 25.2619 29.1098 26.539Z",fill:"white"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60715",children:(0,r.jsx)("rect",{width:"24",height:"25",fill:"white",transform:"translate(12 12)"})})})]});t.default=n},32030:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M0 12C0 5.37258 5.37258 0 12 0H36C42.6274 0 48 5.37258 48 12V36C48 42.6274 42.6274 48 36 48H12C5.37258 48 0 42.6274 0 36V12Z",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60723)",children:[(0,r.jsx)("path",{d:"M13.2168 25.0328C13.4534 29.8657 13.5879 31.4867 13.8235 36.3196C20.295 36.3848 27.9798 36.2544 34.4513 36.3196C34.7546 31.2921 34.7546 29.0873 35.058 24.0598C33.1034 26.071 30.3399 28.665 28.3843 30.6762L24.4407 22.6003L20.0927 30.6762L13.2168 25.0328Z",fill:"white"}),(0,r.jsx)("path",{d:"M35.8598 24.4656C35.7819 23.5666 35.152 22.8923 34.0336 23.9791C34.0336 23.9791 29.6755 27.6541 29.0971 28.5775C28.4844 27.4654 25.6197 23.4508 24.9665 22.3591C24.5985 21.7451 23.6166 21.751 23.2647 22.3737C22.6044 23.5432 19.6872 27.66 19.2373 28.7303C17.5912 27.0401 15.7776 25.5085 13.8225 24.1572C12.4159 23.1978 12.0024 24.6437 12.0024 25.5194C11.9852 28.7303 12.4989 35.5413 12.4989 35.5413C12.4463 36.6563 13.4726 37.8765 14.6324 37.8765H14.9358C17.0167 37.8765 21.0432 38 22.4558 38C25.4408 38 31.9112 37.9874 33.9952 37.9251C35.6131 37.8765 35.3734 36.3683 35.4108 35.8332C35.4412 35.444 35.4553 34.471 34.3997 34.471C33.3885 34.471 33.5907 35.731 33.2874 35.7359C31.2732 35.767 25.0909 35.8487 21.3021 35.8332C19.7964 35.8273 16.3211 35.7359 14.6395 35.7359C14.682 33.0835 14.0591 29.4756 14.1228 27.4654C14.1228 27.4654 15.7214 28.6738 16.2462 29.2168C16.9197 29.9125 18.7185 30.9925 18.7185 30.9925C18.8256 31.0967 18.9557 31.1762 19.0992 31.2252C19.2427 31.2743 19.3959 31.2915 19.5472 31.2756C19.6986 31.2596 19.8443 31.2111 19.9734 31.1334C20.1025 31.0558 20.2117 30.951 20.2929 30.8271C21.2293 29.3978 23.6298 25.7208 24.1353 24.8383C24.6541 25.6585 25.374 26.758 25.8543 27.5627C26.6127 28.8276 27.2861 29.5009 28.1729 30.8037C28.2627 30.9356 28.3844 31.0444 28.5275 31.121C28.6707 31.1975 28.831 31.2395 28.9948 31.2432C29.1585 31.2469 29.3207 31.2124 29.4675 31.1424C29.6142 31.0725 29.7412 30.9693 29.8373 30.8417C30.5906 29.8395 33.8061 26.9789 34.1469 26.5897C34.3067 28.2107 33.9396 31.7213 33.8971 32.1358C33.8102 32.9852 35.1429 33.4104 35.6636 32.7196C35.9862 32.2885 36.1247 27.5267 35.8598 24.4656Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M19.6367 15.011L19.8137 14.865L23.9847 11.4109L27.726 15.4975L23.7825 19.2922",fill:"white"}),(0,r.jsx)("path",{d:"M23.9357 20.3138C23.6748 20.3138 23.3998 20.234 23.2451 20.0316C21.5595 17.8327 18.9476 16.0608 18.9476 16.0608C18.7821 15.896 18.6861 15.678 18.6783 15.4489C18.6704 15.2198 18.7513 14.9962 18.9051 14.8212C18.9051 14.8212 21.4583 12.6758 23.3462 10.3269C23.4366 10.2202 23.5515 10.1351 23.6818 10.0784C23.8122 10.0217 23.9545 9.99483 24.0975 10C24.241 9.99723 24.3831 10.0279 24.5116 10.0894C24.6402 10.1509 24.7513 10.2414 24.8356 10.3532C26.0086 12.092 28.8904 14.9448 28.8904 14.9448C29.1867 15.3077 29.2059 15.876 28.8257 16.1581C27.222 17.3462 24.6263 20.0316 24.6263 20.0316C24.5369 20.121 24.4296 20.1921 24.311 20.2406C24.1923 20.2891 24.0646 20.314 23.9357 20.3138ZM21.337 15.4741L23.9357 18.0594L26.5556 15.4527L24.052 12.3839L21.337 15.4741Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60723",children:(0,r.jsx)("rect",{width:"24",height:"28",fill:"white",transform:"translate(12 10)"})})})]})},42047:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"
8222currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60696)",children:[(0,r.jsx)("path",{d:"M29.34 27.4114C29.3671 27.4238 29.309 27.5378 29.335 27.5502C29.335 28.3436 29.6228 28.8562 30.2375 29.1452C31.0396 29.5243 32.2318 29.0344 32.682 28.1374C33.049 27.4052 32.9036 26.6056 32.3171 26.1333C31.5931 25.5523 30.791 25.5523 30.1723 26.1447C29.9659 26.3305 29.7796 26.5388 29.6168 26.7662C29.4654 26.9857 29.4584 27.1597 29.34 27.4114Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M30.7376 29.6506C30.4779 29.6544 30.2204 29.6008 29.9825 29.4932C29.1994 29.1244 28.8525 28.4989 28.8555 27.4663V27.4197C28.8621 27.3886 28.8664 27.3571 28.8685 27.3254C28.9247 27.197 28.9628 27.082 28.9979 26.9784C29.0453 26.8117 29.1166 26.6532 29.2094 26.5082C29.4361 26.1947 29.695 25.9075 29.9815 25.6517C30.3263 25.2977 30.7909 25.096 31.277 25.0893C31.7453 25.0893 32.2366 25.285 32.6978 25.6558C33.4348 26.2483 33.6083 27.2322 33.141 28.1643C32.7079 29.026 31.6971 29.6506 30.7376 29.6506Z",fill:"white"}),(0,r.jsx)("path",{d:"M22.3062 17.5027C20.9124 17.1651 20.0672 16.235 19.4625 14.9828C18.884 16.4328 17.7188 17.2262 16.5547 18.0765C16.939 18.1931 17.2913 18.4017 17.583 18.6853C17.8746 18.9689 18.0974 19.3196 18.2332 19.7088C18.4789 20.3592 19.0805 20.9247 19.2991 21.5855C19.3422 21.7181 19.3753 21.8548 19.4314 22.0547C20.0561 20.1221 20.5274 18.5612 22.3062 17.5027Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M18.9449 22.4286C18.6963 21.656 18.0425 20.961 17.7417 20.1863C17.2855 18.9755 15.1878 18.8181 14.127 18.2857C15.631 17.1869 18.4967 14.7912 19.4413 13.0036C20.3959 14.6877 22.32 17.0833 23.8532 17.6643C21.5259 19.3215 20.6686 22.3789 19.8424 24.6036C19.7922 24.4337 19.0001 22.5995 18.9449 22.4286Z",fill:"white"}),(0,r.jsx)("path",{d:"M30.7437 31.4797C29.0943 31.4652 27.7577 30.1498 27.6354 28.4202C27.5819 27.6676 27.6747 26.9115 27.9081 26.1965C27.9913 25.9334 27.9011 25.8153 27.7176 25.6983L27.2232 25.3876C26.4863 24.9215 25.7262 24.442 25.0023 23.9314C24.6926 23.6998 24.4012 23.4432 24.1309 23.1639C24.0156 23.0521 23.8852 22.9236 23.7539 22.8035C23.7262 22.7762 23.7011 22.7464 23.6787 22.7144L23.6626 22.6927C23.2616 22.1748 23.4019 21.7978 23.5864 21.5782C23.7318 21.4042 24.1329 21.2043 24.3505 21.2043C24.5339 21.2091 24.7125 21.2657 24.8669 21.368C25.3051 21.6425 25.7463 21.9449 26.1774 22.2649C26.8653 22.7745 27.5752 23.3131 28.2009 23.7885L29.0792 24.4534L29.1404 24.3871C29.408 24.0971 29.7304 23.8669 30.0876 23.7106C30.4447 23.5544 30.8291 23.4755 31.217 23.4788C32.9346 23.5036 35.1857 24.7082 34.9892 27.4663C34.967 27.5946 34.9379 27.7215 34.9019 27.8464C34.8484 28.1305 34.7737 28.41 34.6783 28.6822C34.0767 30.2513 32.3651 31.4786 30.7678 31.4786L30.7437 31.4797ZM30.2123 29.2011C30.4122 29.2932 30.6291 29.3395 30.848 29.3368C31.2349 29.3298 31.6133 29.2177 31.945 29.012C32.2768 28.8062 32.5503 28.5138 32.7381 28.1643C33.1191 27.4062 32.9657 26.5683 32.3561 26.0795C32.0323 25.8054 31.6294 25.6505 31.211 25.6393C30.8066 25.6453 30.4199 25.8109 30.1301 26.1022C29.9205 26.3032 29.6969 26.4896 29.5666 26.7309C28.8677 28.0214 29.5796 28.907 30.2123 29.2042V29.2011Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M19.5458 26.0215H19.4876C19.0926 26.0018 18.8248 25.8931 18.6323 25.4001C18.5661 25.2281 18.5 25.0262 18.4237 24.7931C18.0427 23.629 17.4682 21.8693 15.6944 20.3862C15.1509 19.9325 13.4804 19.3049 12.8517 19.0687L12.6512 18.9931C12.4556 18.9209 12.2872 18.7866 12.1699 18.6095C12.0527 18.4324 11.9926 18.2216 11.9984 18.0071C11.9934 17.5266 12.223 17.162 12.6261 17.0056C12.8934 16.911 13.1692 16.844 13.4493 16.8057C13.6289 16.7793 13.8067 16.7416 13.9818 16.6928C14.8261 16.4328 15.4487 16.031 16.2018 15.2583C16.9949 14.4453 17.8392 12.8596 17.9384 11.1476C17.9775 10.4754 18.6594 10.0083 19.242 10.0083C19.3281 10.0082 19.4139 10.0187 19.4976 10.0394C19.697 10.0807 19.8817 10.1774 20.0318 10.319C20.182 10.4606 20.292 10.6418 20.3499 10.8431L20.386 10.9601C20.5725 12.7954 21.9543 14.3189 22.3734 14.7426C23.1194 15.4821 23.8303 16.1107 25.0486 16.2143C25.9771 16.2941 26.5527 16.7187 26.5527 17.3236C26.545 17.5303 26.4906 17.7323 26.3938 17.9134C26.297 18.0945 26.1605 18.2497 25.9952 18.3665C25.8754 18.4299 25.7506 18.4825 25.6222 18.5239C24.8942 18.7932 23.3801 19.3525 22.1708 21.02C21.6695 21.7119 21.116 23.4788 20.7861 24.5342C20.6578 24.9485 20.5555 25.2706 20.5074 25.3731C20.4257 25.5662 20.2912 25.7305 20.1203 25.8456C19.9495 25.9608 19.7498 26.0219 19.5458 26.0215ZM19.3452 13.5836C19.256 13.798 19.1738 13.9979 19.0956 14.1967C18.6784 15.2324 18.3766 15.9885 17.4692 16.756C16.9518 17.1962 15.1108 17.975 15.0918 17.9823L14.823 18.0962L15.1028 18.178C16.5778 18.612 17.5434 19.2075 18.0548 19.9998C18.6273 20.8874 19.4094 22.6761 19.4475 22.7756L19.642 22.7486C19.8426 20.3665 21.0398 19.0698 22.9068 17.7503L23.0903 17.6208L22.8757 17.5607C21.7728 17.2676 19.9438 15.6892 19.5398 13.6012L19.4766 13.277L19.3452 13.5836Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M28.5219 28.9991C28.4597 28.9991 25.4777 30.4875 25.3273 30.5745C24.6915 30.9411 24.0558 31.3098 23.4081 31.6868L22.5778 32.1695C22.0093 31.1338 21.2533 30.5123 20.1333 30.1312C19.7556 29.9971 19.3594 29.9272 18.9601 29.924C18.1479 29.924 17.4029 30.243 16.7461 30.8728C15.9981 31.5884 15.4065 32.5299 14.9874 33.6775C14.2955 35.5676 14.9242 37.3667 16.6278 38.3744C17.274 38.7736 18.0107 38.9897 18.7636 39.001C19.571
82227 39.001 20.3809 38.7318 21.1701 38.2015C22.5578 37.2693 23.1414 35.8639 23.1604 34.3476C23.1604 34.1197 23.2256 34.0193 23.4281 33.9188L23.5705 33.8484C25.0585 32.8903 25.8055 32.5019 27.3317 31.692C27.7327 31.4766 28.946 30.9256 29.2368 30.6076C29.5276 30.2896 29.7622 30.2917 29.5436 29.8971C29.3641 29.5678 28.8538 28.9991 28.5219 28.9991Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M16.9746 34.9328C17.0488 34.0752 17.3757 33.2187 18.2119 32.6407C18.984 32.1063 19.9035 32.2492 20.4971 32.9877C21.577 34.3341 21.0877 36.2833 19.5104 36.9234C18.237 37.4464 16.9856 36.5247 16.9746 34.9328Z",fill:"white"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60696",children:(0,r.jsx)("rect",{width:"23",height:"29",fill:"white",transform:"translate(12 10)"})})})]})},10046:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60704)",children:[(0,r.jsx)("path",{d:"M19.6251 13.3405C26.3034 11.8864 33.4725 13.9059 35.9842 19.6286C38.9334 26.349 34.8724 34.9975 27.3181 36.9184C20.261 38.7133 12.584 34.0187 11.3719 26.8357C10.4777 21.539 13.7683 14.6151 19.6251 13.3405Z",fill:"white"}),(0,r.jsx)("path",{d:"M24.3283 21.0722C24.213 20.2717 23.9367 19.0978 23.5387 18.4274C23.3348 18.0913 23.0508 17.809 22.7112 17.6049C22.3716 17.4007 21.9865 17.2809 21.5893 17.2556H21.5413C20.7784 17.2346 19.9557 17.8756 19.5887 18.312C19.0853 18.8941 18.6219 19.5084 18.2016 20.1511C16.4944 22.8451 15.7731 26.0888 15.1511 28.979C15.1095 29.171 15.07 29.7606 15.3805 30.1645C15.4744 30.285 15.595 30.3829 15.7331 30.4509C15.8711 30.5189 16.0231 30.5551 16.1775 30.5568C17.0813 30.6009 17.3512 29.6714 17.5497 29.0955V29.085C17.7129 28.6244 17.8804 27.9782 18.0426 27.3519C18.1867 26.7928 18.3371 26.2147 18.4694 25.8077C19.0893 25.7479 19.7295 25.686 20.3633 25.5979C20.8019 25.5339 21.2287 25.4531 21.6811 25.3681L21.9339 25.3209C21.9339 25.5118 21.9339 25.6933 21.9211 25.8717C21.8763 26.6648 21.8923 28.4639 21.8358 29.3535C21.7974 29.9557 22.1132 30.4383 22.6414 30.5831C22.7173 30.6039 22.7953 30.6166 22.874 30.6208C23.1008 30.6254 23.3242 30.5652 23.5169 30.4475C23.7097 30.3298 23.8637 30.1597 23.9602 29.9578C24.0552 29.7874 24.1221 29.6033 24.1586 29.4123C24.2547 28.807 24.276 27.3666 24.3453 26.7057L24.3517 26.6459C24.5726 24.4911 24.5662 22.7203 24.3283 21.0722ZM22.1943 23.3319L19.0157 23.4116C19.4927 22.0478 20.1745 20.6473 20.8413 19.8846C20.9115 19.8032 21.002 19.7411 21.1039 19.7045C21.2058 19.6679 21.3157 19.658 21.4227 19.6757C21.5297 19.6935 21.6302 19.7384 21.7142 19.8059C21.7982 19.8734 21.8629 19.9613 21.9019 20.0609C22.1452 20.6536 22.2583 22.1422 22.1986 23.3319H22.1943Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M29.7512 28.3108C29.2326 28.3108 28.8496 27.9363 28.776 27.3666C28.7205 26.947 28.7066 26.5158 28.6938 26.1004V26.0941C28.6938 25.9346 28.6831 25.7689 28.6757 25.6052C28.6757 25.58 28.6757 25.4531 28.6757 25.4111V25.1719H28.4623H28.1326C27.8893 25.1719 27.55 25.1646 27.3195 25.151C27.2128 25.1447 27.1147 25.1415 27.0122 25.1373C26.865 25.1321 26.7113 25.1258 26.5598 25.1143C26.0455 25.0733 25.6646 24.7555 25.5889 24.3033C25.538 24.0638 25.5826 23.8143 25.7134 23.6062C25.8443 23.3981 26.0514 23.2473 26.292 23.185C26.6389 23.0815 26.9971 23.0189 27.359 22.9983L27.5479 22.9815C27.7142 22.9668 27.8813 22.9609 28.0483 22.9636C28.1785 22.9636 28.3129 22.9689 28.4431 22.9731L28.7269 22.9836V22.7643C28.7269 22.5325 28.7269 22.3531 28.7344 22.1674V22.0384C28.7408 21.795 28.7472 21.5443 28.7749 21.2956C28.8368 20.727 29.2412 20.2959 29.7352 20.2717H29.796C30.2879 20.2717 30.6944 20.6546 30.783 21.1897C30.847 21.5841 30.8897 21.9765 30.926 22.393C30.9334 22.4737 30.9676 22.8199 30.9676 22.8199L31.1564 22.8283H31.2108L31.7081 22.8598C32.1573 22.886 32.6171 22.9133 33.0674 22.9647C33.3211 22.9878 33.5577 23.1 33.7341 23.2807C33.9104 23.4615 34.0147 23.6986 34.0277 23.9487C34.051 24.2071 33.9731 24.4644 33.8099 24.6682C33.6466 24.8719 33.4105 25.0067 33.1496 25.045C32.6962 25.1238 32.2389 25.1791 31.7795 25.2108L31.5363 25.2317C31.444 25.2395 31.3514 25.2427 31.2589 25.2412H31.1404L30.9345 25.2349L30.8886 25.8024C30.847 26.3207 30.8075 26.8096 30.7552 27.3016C30.6902 27.9069 30.3231 28.2929 29.7949 28.3118L29.7512 28.3108Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M23.3663 11.0042C24.4225 10.9806 25.4785 11.0551 26.5204 11.2266C30.0884 11.8193 33.7759 13.8923 35.5567 16.4898C37.6096 19.4901 38.9103 24.7523 37.2255 29.3514C36.5813 31.1365 35.5272 32.7516 34.145 34.071C32.7629 35.3905 31.0899 36.3789 29.2561 36.9593C24.4152 38.5015 20.0128 38.4154 16.3733 36.1201C11.9805 33.3558 10.3256 29.2528 10.02
822204 25.6146C9.86035 23.7504 10.587 20.5518 11.3275 18.7191C11.4403 18.4515 11.6547 18.2377 11.9252 18.1229C12.1957 18.0082 12.501 18.0015 12.7764 18.1043C12.9119 18.152 13.0362 18.2259 13.1421 18.3217C13.248 18.4174 13.3333 18.533 13.393 18.6617C13.4527 18.7904 13.4855 18.9296 13.4896 19.071C13.4936 19.2123 13.4688 19.3531 13.4166 19.4849C12.7978 21.0166 12.1288 23.7567 12.2579 25.2999C12.5118 28.3202 13.804 31.6185 17.548 33.9768C20.6359 35.9228 23.9681 36.4065 28.1913 35.0615C31.4339 34.0282 33.8933 31.7821 34.9507 28.8972C36.8595 23.6843 34.7618 19.3968 33.5742 17.6606C31.7337 14.9728 28.1177 13.6804 26.0306 13.3331C24.1334 13.0207 22.1879 13.1562 20.3545 13.7284C18.521 14.3006 16.8522 15.2931 15.4855 16.6241C15.0481 17.0437 14.2873 16.8853 13.916 16.4143C13.5447 15.9432 13.6759 15.3138 14.1369 14.9141C16.9558 12.5012 18.6097 11.2193 23.3663 11.0042Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60704",children:(0,r.jsx)("rect",{width:"28",height:"27",fill:"white",transform:"translate(10 11)"})})})]})},1224:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60680)",children:[(0,r.jsx)("path",{d:"M17.897 35.5228C15.8375 35.4898 13.7791 35.4618 11.7206 35.4228C10.9961 35.4098 10.9331 35.3658 10.875 34.6547C10.7126 32.6025 11.0778 30.6472 12.077 28.848C12.71 27.7109 13.7397 26.9878 14.8708 26.4338C16.2402 25.7647 17.6833 25.3976 19.2181 25.5937C20.0578 25.7007 20.8503 25.9647 21.5364 26.4938C22.1881 26.9938 22.6193 27.6679 22.9205 28.42C23.4512 29.7636 23.847 31.1581 24.1018 32.5825C24.2653 33.4476 24.3568 34.3277 24.4848 35.1998C24.5133 35.3998 24.4533 35.4998 24.2347 35.4948C22.572 35.4948 20.9093 35.4948 19.2456 35.4948C18.7967 35.4948 18.3478 35.4948 17.8989 35.4948L17.897 35.5228Z",fill:"white"}),(0,r.jsx)("path",{d:"M22.7824 27.7269C22.742 27.2799 22.5333 24.4085 24.6528 22.1473C24.911
82227 21.8713 27.2822 19.43 30.5033 20.06C34.0128 20.7461 35.263 24.4395 35.4156 24.9146C35.835 26.2248 36.3016 27.5059 36.2317 28.605C36.1421 30.0572 36.214 30.9593 36.0348 31.1053C35.4048 31.6184 33.4064 31.2203 32.6877 31.2203C31.1205 31.2963 29.9431 31.2073 28.2667 31.2203C26.7487 31.2323 25.275 31.2173 23.8456 31.1753",fill:"white"}),(0,r.jsx)("path",{d:"M25.8198 35.1058C25.8198 35.1058 25.7155 32.6285 25.7017 32.6285C25.6939 32.6002 25.688 32.5715 25.684 32.5425C25.5832 31.0947 25.2159 29.6791 24.6011 28.369C23.9219 26.8968 22.8469 25.3046 20.1397 24.6135C18.7615 24.2595 17.2769 24.2645 15.8633 24.4885C15.8121 24.4965 15.7649 24.5015 15.7078 24.5045C15.3091 24.6349 14.9174 24.7865 14.5343 24.9586C12.9533 25.7047 11.7129 26.8188 11.0061 28.471C10.5513 29.5351 9.87796 33.9136 10.0217 35.0568C10.0689 35.459 10.2471 35.8336 10.5281 36.1211C10.809 36.4085 11.1766 36.5922 11.5722 36.6429C12.5349 36.79 14.0972 37.043 15.0728 36.981C15.3022 36.967 15.5325 36.958 15.7619 36.96C17.0417 36.972 18.3293 37.007 19.614 36.998C21.1349 36.988 22.6588 36.984 24.1778 36.898C25.306 36.834 25.8513 36.3219 25.8218 35.1498L25.8198 35.1058ZM23.5675 35.1148C22.1646 35.1148 20.7608 35.1148 19.357 35.1148H18.22V35.1428C16.4825 35.1148 14.3502 34.9907 12.6088 34.9577C11.9984 34.9467 11.9433 34.9097 11.8951 34.3097C11.7622 32.5775 12.2642 30.3272 13.1118 28.805C13.6454 27.8449 14.5146 27.2338 15.4745 26.7668C16.6292 26.2017 17.9464 26.2917 19.2419 26.4578C19.9507 26.5488 20.6201 26.7708 21.1979 27.2138C21.7482 27.6339 22.208 28.505 22.4649 29.1391C22.912 30.2733 23.2454 31.4503 23.4602 32.6525C23.598 33.3826 23.6757 34.1246 23.7831 34.8617C23.8027 35.0367 23.7525 35.1148 23.5675 35.1148Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M36.1382 28.505C35.1538 28.505 35.0553 30.0052 35.0553 30.0052C35.0553 30.0052 29.8595 29.9702 29.3102 29.9482C27.8988 29.8852 26.4848 29.9149 25.0771 30.0372C25.0364 30.0397 24.9954 30.0377 24.9551 30.0312L25.0338 32.5055C25.0338 32.3945 25.0338 32.2824 25.0338 32.1674C25.273 32.1674 25.4867 32.1674 25.7003 32.1674C27.2823 32.1544 28.8643 32.1484 30.4453 32.1214C30.7042 32.1164 34.254 32.0524 35.8271 32.0214C36.3075 32.0114 36.8529 31.7884 36.9258 31.3053C37.0596 30.4172 37.1227 28.505 36.1382 28.505Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M36.3347 23.8045C35.6939 21.2772 34.2399 19.94 31.7463 19.2699C31.7315 19.2699 30.565 19.1189 29.992 19.1179H28.5321C27.7326 19.1136 26.9438 19.305 26.2325 19.676L26.2207 19.682C25.1683 20.2391 24.2449 20.9611 23.5204 21.9303C23.2526 22.2893 22.847 23.1754 22.9445 23.6185C23.0183 23.9545 23.1758 24.2325 23.5115 24.3465C23.8472 24.4605 24.1416 24.3225 24.3857 24.0885C24.6613 23.8255 25.2215 23.0494 25.4843 22.7734C26.2049 22.0153 27.8686 21.0041 29.8375 21.0041C32.7908 21.0041 33.6551 22.3253 34.1355 23.0704C35.2519 24.8046 34.9516 27.1279 35.941 27.1049C36.5513 27.0909 36.9126 26.5048 36.8269 25.8047C36.7285 25.0046 36.6616 25.0916 36.3347 23.8045Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M17.8317 24.1235C19.4291 24.1235 20.724 22.6629 20.724 20.8611C20.724 19.0594 19.4291 17.5988 17.8317 17.5988C16.2344 17.5988 14.9395 19.0594 14.9395 20.8611C14.9395 22.6629 16.2344 24.1235 17.8317 24.1235Z",fill:"white"}),(0,r.jsx)("path",{d:"M29.5735 18.7089C31.2116 18.7089 32.5396 17.2483 32.5396 15.4465C32.5396 13.6448 31.2116 12.1841 29.5735 12.1841C27.9354 12.1841 26.6074 13.6448 26.6074 15.4465C26.6074 17.2483 27.9354 18.7089 29.5735 18.7089Z",fill:"white"}),(0,r.jsx)("path",{d:"M17.6187 25.0116C15.07 25.0046 13.2773 23.0374 13.2773 20.6791C13.2773 18.3208 15.5386 16.3036 17.6295 16.3036C19.7204 16.3036 21.8626 18.1458 21.8626 20.5041C21.8626 22.8623 19.7096 25.0116 17.6187 25.0116ZM17.6974 18.1338C16.5161 18.1338 15.2364 19.442 15.2364 20.7791C15.2364 22.1163 16.0948 23.3364 17.5803 23.3364C18.7616 23.3364 19.8445 21.8952 19.8445 20.5581C19.8445 19.2209 18.8827 18.1338 17.6974 18.1338Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M29.4318 19.856C26.7856 19.904 25.0137 17.9618 25.0137 15.6035C25.0137 13.2453 27.1046 11.081 29.2467 11.003C32.0031 10.903 33.7751 13.0452 33.7751 15.4035C33.7751 17.7618 32.2985 19.904 29.4318 19.856ZM29.5115 12.9782C28.2968 12.9782 26.9865 14.2864 26.9865 15.6235C26.9865 16.9607 27.8725 18.1808 29.3914 18.1808C30.6072 18.1808 31.7167 16.7407 31.7167 15.4035C31.7167 14.0664 30.7273 12.9782 29.5115 12.9782Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60680",children:(0,r.jsx)("rect",{width:"27",height:"26",fill:"white",transform:"translate(10 11)"})})})]})},79791:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"
8222currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60669)",children:[(0,r.jsx)("path",{d:"M25.9355 30.3412L27.7956 28.5776C28.2257 29.1935 30.6908 30.4071 31.1044 31.036C31.8744 32.1999 32.5927 34.8529 33.3242 36.0416C33.5715 36.4754 33.7763 36.9313 33.9358 37.4032C34.0148 37.5796 34.0268 37.778 33.9697 37.9623C33.9126 38.1467 33.7901 38.3049 33.6245 38.4082C33.3594 38.5919 33.0833 38.7572 32.8116 38.9312C32.5564 39.0944 32.3529 39.0598 32.1769 38.7864C31.7494 38.1222 31.3156 37.4623 30.8756 36.8067C29.9175 35.3878 27.6746 33.7322 26.7132 32.3166C26.6846 32.2777 25.9619 30.3822 25.9355 30.3412Z",fill:"white"}),(0,r.jsx)("path",{d:"M16.8719 18.0413C13.606 20.9861 12.2717 26.5784 15.3264 30.2958C18.4537 34.1051 24.5136 33.9181 28.0127 30.9366C32.0827 27.4678 32.4127 20.4544 28.4637 17.2125C25.189 14.513 19.9772 15.2414 16.8719 18.0413Z",fill:"white"}),(0,r.jsx)("path",{d:"M33.9553 34.1462C32.9103 32.4355 31.9896 30.994 30.7367 29.4097C30.7785 29.3406 30.9105 29.1028 30.9732 29.0077C32.7101 26.3839 32.8641 24.482 32.5011 22.6017C32.2932 21.521 31.8477 20.2178 31.356 20.1162C30.8357 20.0081 30.344 20.4404 30.3 20.6446C30.124 21.4832 31.0491 23.0447 30.7312 25.0872C30.5706 26.1257 29.9612 27.2711 28.98 28.5452C28.8161 28.7599 28.7317 29.0231 28.7407 29.2913C28.7497 29.5595 28.8516 29.8167 29.0295 30.0203C29.1549 30.1619 29.5212 30.5844 29.5795 30.659C29.5843 30.6653 29.5894 30.6715 29.5949 30.6773C29.6346 30.7293 29.6714 30.7834 29.7049 30.8394C30.0019 31.2511 30.2989 31.6618 30.5849 32.0832C31.279 33.1163 31.972 34.1516 32.6342 35.2074C32.8564 35.5923 33.0406 35.9972 33.1842 36.4166C33.2557 36.5738 33.2666 36.7511 33.2148 36.9156C33.1629 37.08 33.052 37.2203 32.9026 37.3103C32.6617 37.4724 32.3075 37.7285 32.0622 37.8831C31.8169 38.0376 31.6464 37.9976 31.4869 37.7545C31.0982 37.1623 30.7033 36.578 30.3022 36.0017C29.772 35.2322 28.1022 32.9391 27.0286 31.6899C26.8393 31.4598 26.5783 31.2973 26.2857 31.2272C25.9932 31.1571 25.6853 31.1833 25.4094 31.3019C23.6494 32.0843 21.731 32.1913 19.652 31.4781C17.0219 30.5714 15.2905 28.113 15.2751 25.3411C15.2608 22.7205 16.3751 20.6511 18.3034 19.0312C18.8171 18.599 19.7334 18.1667 20.3098 17.8188C20.8147 17.5108 21.0798 16.9186 20.8961 16.4139C20.7234 15.9244 20.2042 15.6575 19.6179 15.785C19.2913 15.87 18.9714 15.9783 18.6609 16.1092C16.8723 16.9261 15.4753 18.2326 14.4567 19.9422C12.7561 22.7843 12.5251 25.4373 13.866 28.5452C15.6876 32.7705 19.7103 34.2726 23.546 33.7323C24.4233 33.5803 25.2858 33.3554 26.1244 33.0601C26.1442 33.0947 26.1827 33.1563 26.2179 33.219C27.121 34.84 28.3222 36.2448 29.2484 37.8474C29.5384 38.3499 29.8856 38.8183 30.2835 39.2436C31.081 40.0908 31.9104 40.2226 32.9235 39.6823C34.1335 39.0339 34.7143 38.526 34.9992 37.0812V36.8251C34.8595 35.8396 34.4569 34.9761 33.9553 34.1462Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M27.5944 20.0535C27.9519 20.0535 28.3105 20.0535 28.6691 20.0535C29.0833 19.0137 29.6178 18.0242 30.2619 17.1044C31.066 16.0142 32.2338 15.2356 33.5619 14.9042C32.1858 14.8436 30.8711 14.3272 29.8318 13.4388C28.1994 12.021 27.8849 10.158 27.8221 9.36591C27.8523 10.7623 27.3968 12.127 26.5307 13.2346C25.6232 14.3633 24.3399 15.1419 22.9062 15.4337C23.9764 15.6146 24.9736 16.0863 25.7849 16.7953C26.9685 17.8468 27.4206 19.1436 27.5944 20.0535Z",fill:"white"}),(0,r.jsx)("path",{d:"M27.9946 23.0393C27.5678 23.0393 27.2114 22.5638 27.1421 22.3066C26.9584 21.6291 26.7153 21.1103 26.6086 20.4209C26.3776 18.9296 25.8573 18.4649 24.7694 17.4145C24.2436 16.9066 22.8774 16.442 22.4869 16.2755C22.114 16.1167 21.8192 15.9179 21.7928 15.4964C21.7686 15.0976 21.9941 14.8091 22.3318 14.6319C22.5969 14.4984 22.8742 14.3899 23.1601 14.3077C23.7854 14.1257 24.3667 13.8213 24.869 13.4127C25.3713 13.0041 25.7842 12.4998 26.0828 11.9303C26.5943 10.9804 27.0442 10.0067 27.2147 8.9315C27.2281 8.86787 27.2476 8.80563 27.273 8.74563C27.4479 8.27447 27.8098 7.9989 28.2498 7.9989C28.6898 7.9989 29.0473 8.28743 29.1925 8.7748C29.3377 9.26217 29.4422 9.76143 29.5808 10.251C29.9328 11.4948 30.6808 12.4868 31.6708 13.2995C32.2749 13.7815 33.0064 14.0844 33.7795 14.172
82226C33.9663 14.1953 34.1445 14.2632 34.298 14.3701C34.4516 14.477 34.5758 14.6197 34.6595 14.7853C34.9213 15.2468 34.7123 16.0205 33.8598 16.2302C33.0073 16.4398 32.4397 16.8613 31.728 17.3821C30.0923 18.5795 29.528 19.4969 29.2046 21.4075C29.1771 21.5675 29.1529 21.7317 29.1287 21.8884C29.0209 22.5789 28.7459 23.0339 27.9946 23.0393ZM28.1046 19.1641C28.6744 17.3854 29.8844 16.442 31.2803 15.3051C30.6599 14.9755 29.913 14.5562 29.4873 14.138C29.1265 13.7836 28.6337 13.0909 28.3048 12.5063C27.9748 13.1546 27.5524 13.7706 26.9342 14.2353C26.316 14.7 25.8848 15.0847 25.0092 15.5029C26.6856 16.2788 27.5964 17.4632 28.1013 19.1641H28.1046Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M22.4097 30.1327C20.5584 30.0819 19.0921 29.32 18.0493 27.8633C17.2395 26.6984 16.9133 25.2735 17.1374 23.8801C17.3574 22.4612 18.1076 21.1893 19.1988 20.3918C19.4402 20.2234 19.7119 20.1016 19.9996 20.033C20.0715 20.0147 20.1454 20.0053 20.2196 20.0049C20.3667 20.0069 20.5107 20.0464 20.6376 20.1195C20.7645 20.1926 20.8699 20.2969 20.9434 20.422C21.0436 20.5783 21.0968 20.7592 21.0968 20.944C21.0968 21.1287 21.0436 21.3096 20.9434 21.4659C20.825 21.6599 20.686 21.841 20.5287 22.0062C19.7587 22.8232 19.3495 23.678 19.2945 24.6192C19.2581 25.2408 19.4221 25.8578 19.7631 26.3826C20.1042 26.9074 20.6049 27.3132 21.1942 27.5424C21.6862 27.7466 22.2144 27.8534 22.7485 27.8568C23.4725 27.8474 24.1822 27.6574 24.811 27.3046C25.2257 27.0809 26.1629 26.5784 26.5347 25.1163C26.5644 24.9996 26.5776 24.8851 26.6018 24.8008C26.7448 24.3058 27.0935 24.0108 27.5346 24.0108H27.6083C27.8435 24.0222 28.0651 24.1225 28.2268 24.2907C28.3886 24.4588 28.4779 24.6818 28.4762 24.9132C28.5158 26.8994 26.9879 28.3572 25.7262 29.1817C24.7945 29.7901 23.7165 30.1002 22.4262 30.1305H22.4097V30.1327Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60669",children:(0,r.jsx)("rect",{width:"22",height:"32",fill:"white",transform:"translate(13 8)"})})})]})},93994:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60653)",children:[(0,r.jsx)("path",{d:"M22.7597 34.8525C21.6126 34.8525 19.4434 35.1799 17.3373 35.1566C16.4481 35.1547 15.5595 35.108 14.675 35.0167C12.82 34.814 11.5692 33.704 11.5051 32.0486C11.3943 29.2103 11.377 26.3649 11.3577 23.5225C11.3516 22.5241 11.4675 21.5266 11.5071 20.5281C11.5539 19.3299 12.3909 17.6057 13.7536 17.5965C14.8488 17.5884 16.3631 17.7243 17.4583 17.7587C17.7197 17.7679 17.981 17.7891 18.2414 17.7881C22.6895 17.7709 27.0075 18.3872 31.4556 18.3801C32.4726 18.3801 33.4956 18.3882 34.4709 18.7359C34.8455 18.8543 35.1645 19.1038 35.3689 19.4384C35.76 20.1039 35.9654 20.8617 35.9638 21.633C35.9953 23.63 35.9719 25.628 35.9444 27.6259C35.9261 28.9934 35.9444 30.0466 35.8783 31.4131C35.8408 31.9823 35.7565 32.5474 35.6261 33.1029C35.5244 33.5469 35.2326 33.9037 34.8126 34.1571C33.756 34.7886 32.6495 35.2124 31.3285 35.1465C28.7922 35.0279 26.255 34.9691 22.7597 34.8525Z",fill:"white"}),(0,r.jsx)("path",{d:"M21.4404 35.9047C20.096 35.852 18.6875 36.0892 17.3492 35.9595C16.4899 35.8763 15.656 35.6553 14.9685 35.0634C13.9627 34.1967 13.5936 33.2529 13.6302 31.8855C13.7228 28.4156 13.5458 24.8515 13.6607 21.3827C13.6861 20.6062 13.6984 19.8044 14.0675 19.0786C14.1692 18.886 14.2709 18.6944 14.3868 18.4764C13.6699 18.5312 12.537 18.6467 12.176 19.2367C11.458 20.4055 11.76 21.8672 11.7784 23.2337C11.815 25.9605 11.8271 28.6883 11.8587 31.4151C11.8587 31.8125 11.9309 32.2078 11.9502 32.6052C11.9817 33.2347 12.116 33.7932 12.6895 34.1855C12.9539 34.367 12.9682 34.7055 12.8116 34.9519C12.742 35.0779 12.6305 35.1759 12.4964 35.229C12.3622 35.2821 12.2137 35.287 12.0763 35.2428C11.2312 35.0147 10.6627 34.4541 10.4614 33.5651C10.2934 32.8515 10.1913 32.124 10.1563 31.3918C10.078 29.2124 10.0546 27.0329 10.0048 24.8505C9.99765 24.5383 9.98648 22.1845 9.99564 22.072C10.1116 20.6528 9.82783 19.4202 10.5936 18.225C11.2088 17.2671 11.9746 16.7724 13.1095 16.6619C14.2444 
822216.5514 16.1736 16.4592 17.3268 16.3953C17.4916 16.3862 17.6573 16.3791 17.8353 16.371C17.8353 16.147 17.8353 15.9503 17.8353 15.7537C17.8414 15.335 17.8099 14.9123 17.8648 14.4997C18.0092 13.4202 18.5766 12.6325 19.6465 12.3213C20.2566 12.1439 24.6438 12 26.8211 12C27.7048 12 28.9983 12.1622 29.4417 12.3426C30.4434 12.7481 30.9438 13.9959 31.0506 15.0421C31.0953 15.484 31.0587 15.9341 31.0587 16.4136C31.2387 16.4136 31.3851 16.4024 31.5295 16.4136C32.4672 16.4937 33.419 16.3578 34.3414 16.667C34.979 16.8799 35.5211 17.2043 35.9421 17.7293C37.1624 19.0096 36.9905 22.5839 36.9844 23.4881C36.9672 26.2017 36.9529 28.6001 36.8644 31.3127C36.8329 32.2696 36.6672 33.556 36.0448 34.3163C35.2617 35.2732 34.6994 35.3462 33.5665 35.7598C33.0926 35.9402 23.3014 35.9777 21.4404 35.9047ZM32.0817 34.1156C33.1444 34.1733 33.6966 33.6918 34.319 33.3046C35.1326 32.7978 35.2048 31.1211 35.2282 30.6224C35.2838 29.4181 35.3177 28.2129 35.3299 27.0066C35.3522 25.2458 35.3706 23.4851 35.3461 21.7243C35.3478 21.0502 35.1833 20.386 34.8671 19.7902C34.7107 19.5025 34.4538 19.2821 34.1451 19.1708C33.36 18.8667 32.5373 18.8566 31.7187 18.8576C28.141 18.8637 24.5634 18.887 20.9858 18.9022C20.7763 18.9022 20.5668 18.8839 20.3563 18.8768C19.4746 18.8454 18.5929 18.7866 17.7122 18.7927C17.1875 18.8015 16.6857 19.0085 16.3082 19.3718C15.9307 19.7351 15.7056 20.2277 15.6783 20.7501C15.6468 21.631 15.5533 22.5109 15.5583 23.3857C15.5736 25.8915 15.5878 28.3984 15.6763 30.9012C15.7282 32.3599 16.558 33.8277 18.0509 34.0101C18.7597 34.1004 30.0478 34.0041 32.0817 34.1156ZM28.7512 16.3467C28.6638 15.926 28.5773 15.1303 28.5061 14.744C28.4924 14.6286 28.4392 14.5213 28.3555 14.4403C28.2718 14.3593 28.1627 14.3094 28.0465 14.299C27.6853 14.2311 27.3195 14.1901 26.9522 14.1764C25.6506 14.1825 24.3468 14.1926 23.0461 14.2484C22.261 14.2828 21.479 14.3943 20.698 14.4927C20.5648 14.5099 20.3563 14.6133 20.3339 14.7126C20.2434 15.1019 20.2119 15.9108 20.1539 16.3467H28.7512Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M24.6113 26.7562C24.6917 26.663 24.7618 26.589 24.8249 26.5089C25.8238 25.251 26.9318 24.0831 28.1361 23.0188C28.3462 22.8293 28.5808 22.6687 28.8337 22.5413C29.0742 22.4174 29.3487 22.375 29.6155 22.4205C29.8823 22.4661 30.127 22.5971 30.3124 22.7937C30.6622 23.1789 30.7141 23.7486 30.4141 24.2565C30.2726 24.4768 30.1153 24.6865 29.9432 24.8839C28.7229 26.4045 27.4842 27.9128 26.2822 29.4506C25.3669 30.6275 24.1334 30.6508 23.211 29.4729C22.5836 28.6721 21.9439 27.8814 21.3032 27.0918C20.9229 26.6214 20.8436 26.2169 21.0754 25.8297C21.3073 25.4425 21.8259 25.261 22.3852 25.3867C23.033 25.5337 23.5313 25.9412 24.0449 26.3214C24.2361 26.4582 24.413 26.6021 24.6113 26.7562Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60653",children:(0,r.jsx)("rect",{width:"27",height:"24",fill:"white",transform:"translate(10 12)"})})})]})},70810:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",...e,children:(0,r.jsx)("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H40C44.4183 0 48 3.58172 48 8V40C48 44.4183 44.4183 48 40 48H8C3.58172 48 0 44.4183 0 40V8Z",fill:"currentColor"})})},6509:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60688)",children:[(0,r.jsx)("path",{d:"M26.6463 17.6628C25.5394 14.7696 21.583 13.1153 18.2615 13.4385C13.2496 13.9264 9.73288 18.9166 9.98544 23.3837C10.1384 26.0751 11.6266 28.0215 12.4003 28.8909C12.1072 30.6737 11.8147 32.4562 11.5229 34.2384L17.7162 29.4259C24.8623 27.3108 28.065 21.375 26.6463 17.6628Z",fill:"white"}),(0,r.jsx)("path",{d:"M33.843 33.4404C33.3892 33.2065 32.9434 32.9545 32.4776 32.7427C31.7799 32.4248 31.0756 32.1236 30.3645 31.8392C29.962 31.6766 28.8783 32.315 27.1537 32.4044C25.9885 32.5248 24.8253 32.6493 23.6652 32.3672C22.3564 32.0653 21.1235 31.4989 20.0428 30.7028C18.8354 29.7994 18.2779 28.5345 18.0676 27.1201C17.8664 25.799 18.2538 24.5572 18.8052 23.3737C19.7812 21.2776 21.2402 19.547 23.309 18.3725C26.385 16.6278 29.6692 16.943 32.5088 19.024C33.8289 19.9907 34.9881 21.3519 35.2356 22.8999C35.135 23.703 34.3793 26.7788 34.3853 28.4151C34.3974 31.7679 35.3282 34.2133 35.6612 34.6731C35.6431 34.6972 33.8611 33.4203 33.843 33.4404Z",fill:"white"}),(0,r.jsx)("path",{d:"M27.6299 16.3877C27.3884 15.8527 27.0332 15.426 26.5402 14.7815C25.6044 13.5649 23.6222 12.0511 20.0431 11.9989C18.0126 11.9687 15.4306 12.7266 13.8408 13.7958C12.1011 14.9211 10.6713 17.0392 10.0806 18.2338C9.36922 19.6723 8.78863 21.9481 9.0744 23.9558C9.3501 25.8972 9.86629 27.2434 11.3243 28.6739C11.3907 28.7391 11.3323 29.1326 11.3072 29.227C11.0244 30.3011 10.7035 31.3672 10.4428 32.4454C10.3141 32.9694 10.148 33.5607 10.0897 34.0947C9.97395 35.1457 11.2549 35.7581 12.3526 35.1989C12.4724 35.1377 14.9607 33.1691 16.0565 32.1874C16.5717 31.7858 16.3342 31.1634 16.1199 30.9155C15.9056 30.6675 15.2757 30.6997 14.9185 30.9336C14.4385 31.2478 13.9757 31.5831 13.5148 31.9193C13.2743 32.096 12.6092 32.7224 12.339
82226 32.9503C12.3536 32.8499 12.3557 32.8058 12.3657 32.7656C12.6032 31.8621 13.2814 30.52 13.5219 29.6125C13.6406 29.1658 13.6517 28.7281 13.3961 28.3155C13.1405 27.9029 12.8789 27.5295 12.6464 27.1239C12.3446 26.5959 12.0196 26.0729 11.7922 25.5178C11.0878 23.7801 11.1321 22.0043 11.596 20.2224C11.9219 18.9932 12.5874 17.8801 13.5168 17.0101C14.508 16.0552 15.6794 15.3062 16.9631 14.8066C18.4513 14.2214 19.9978 13.9775 21.6178 14.2866C23.2942 14.6069 24.2823 15.1901 25.212 16.5323C25.2653 16.6086 25.4132 16.9509 25.4776 17.0482C25.4585 17.0543 25.3006 17.1035 25.049 17.1908L27.961 16.8896C27.8321 16.7353 27.721 16.5669 27.6299 16.3877Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M37.9025 35.4581C37.6761 34.912 37.4577 34.3539 37.1529 33.8519C36.4767 32.7296 35.7593 31.6314 35.0398 30.5392C34.8969 30.3224 34.8929 30.1608 35.0187 29.951C35.2964 29.4872 35.5671 29.0194 35.8237 28.5456C37.4396 25.524 37.5201 22.5224 35.723 19.6755C33.3293 15.6962 29.3437 15.1581 26.8684 15.2455C26.3311 15.2535 24.7714 15.5236 24.7714 15.5236C23.6646 15.8247 21.9229 16.691 20.5735 17.7551C18.7623 19.1866 17.6344 20.335 16.6302 24.0664C16.1452 26.33 16.6614 29.3677 18.1194 31.1726C19.6659 33.089 21.2024 33.9302 23.4352 34.3549C24.5481 34.4954 26.3099 34.5215 27.4178 34.3137C27.8525 34.2314 29.5972 33.5869 30.0601 33.7726C30.1808 33.8429 33.3413 35.3386 34.4301 35.8807C35.1233 36.225 35.8257 36.5523 36.523 36.8896C37.1861 37.2098 37.9488 36.8083 37.9971 36.0976C38.0141 35.88 37.9818 35.6615 37.9025 35.4581ZM32.477 32.7417C31.7794 32.4245 31.075 32.1233 30.364 31.8382C29.9615 31.6756 27.8484 32.3321 27.1531 32.4034C25.9879 32.5238 22.4974 32.4184 20.5675 30.746C19.4234 29.7552 18.9143 28.1089 18.704 26.6955C18.5027 25.3734 18.7402 23.7632 19.2916 22.5796C20.2676 20.4836 21.2386 19.546 23.3084 18.3715C26.3854 16.6278 29.6697 16.944 32.5092 19.024C33.8293 19.9907 34.421 21.3549 34.6736 22.9019C35.0237 26.3993 33.2347 27.9272 32.8714 28.4793C32.3683 29.4751 35.3598 34.122 35.3427 34.143C34.8839 33.9081 32.9439 32.9545 32.478 32.7417H32.477Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M26.0578 27.3028C25.6684 27.3028 25.2287 27.0488 25.1643 26.6252C25.0878 26.1152 25.1341 24.6847 25.1351 24.6707C25.1532 24.1306 25.437 23.7622 26.0337 23.5112C26.1283 23.4711 26.2591 23.4259 26.412 23.3727C27.0862 23.1378 28.2161 22.7453 28.2654 22.1199C28.2804 22.0086 28.2714 21.8954 28.2389 21.7879C28.2065 21.6804 28.1514 21.581 28.0773 21.4965C27.876 21.2827 27.5188 21.1652 27.061 21.1652C26.5079 21.1698 25.9647 21.3127 25.4813 21.5808L25.4531 21.5969C24.9953 21.8719 24.6159 22.0115 24.3251 22.0115C24.2065 22.0148 24.0892 21.9856 23.986 21.9271C23.8802 21.8591 23.7914 21.7678 23.7264 21.6603C23.6613 21.5528 23.6218 21.4319 23.6107 21.3068C23.5904 21.1556 23.604 21.0018 23.6504 20.8565C23.6969 20.7112 23.7751 20.578 23.8794 20.4665C24.6836 19.6621 25.7427 19.1612 26.8759 19.0491C27.0701 19.033 27.2572 19.024 27.4333 19.024C29.1187 19.024 29.6711 19.796 30.0364 20.3059C30.5667 21.0468 30.789 22.7302 29.9458 23.7883C29.3129 24.5823 28.5915 25.005 27.5309 25.2007C27.386 25.2268 27.2411 25.2509 27.0982 25.274L26.9855 25.2921C26.9805 25.3975 26.9765 25.5009 26.9725 25.6033C26.9689 25.903 26.945 26.2022 26.901 26.4987C26.8548 26.7513 26.7239 26.9807 26.5297 27.1492C26.3945 27.2524 26.2281 27.3066 26.0578 27.3028Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M27.3919 29.2763C27.3982 29.4347 27.3732 29.5928 27.3182 29.7415C27.2631 29.8902 27.1792 30.0266 27.0713 30.1429C26.9633 30.2592 26.8334 30.3531 26.689 30.4192C26.5446 30.4853 26.3885 30.5223 26.2297 30.5281C25.5556 30.5613 24.9619 30.0443 24.9358 29.4028C24.9299 29.0889 25.0472 28.7851 25.2626 28.5561C25.478 28.3272 25.7745 28.1912 26.0889 28.1771C26.7751 28.1329 27.3537 28.6188 27.3919 29.2763Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60688",children:(0,r.jsx)("rect",{width:"29",height:"25",fill:"white",transform:"translate(9 12)"})})})]})},96262:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"
8222currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60618)",children:[(0,r.jsx)("path",{d:"M15.5423 14.2396L31.4292 14.0995L31.3533 35.1029L15.0586 35.3081L15.5423 14.2396Z",fill:"white"}),(0,r.jsx)("path",{d:"M32.4957 28.234C32.4832 26.7949 32.4726 25.3558 32.4638 23.9167C32.4582 23.1025 32.4522 22.2886 32.446 21.475V21.4157C32.4478 21.303 32.4428 21.1903 32.431 21.0783C32.3701 20.5717 32.3063 20.3101 31.832 20.2615C31.7963 20.2615 31.7598 20.2566 31.7242 20.2566C31.5137 20.2554 31.3085 20.3251 31.1394 20.4552C30.9704 20.5853 30.8466 20.7688 30.7867 20.9781C30.7196 21.1955 30.6805 21.4211 30.6705 21.6491C30.6574 22.0225 30.8945 34.536 30.8945 34.5506L28.8799 34.5875C27.23 34.6274 25.8614 34.6663 24.2105 34.7042L23.5824 34.7178C21.5304 34.7645 19.408 34.8151 17.3212 34.8491H17.25C17.0864 34.8459 16.9231 34.8339 16.7607 34.8131L16.5413 34.7995L16.1944 15.985C16.7175 15.985 17.4581 15.9004 17.9812 15.9023C19.1061 15.9023 20.262 15.9082 21.402 15.9082H22.3103C22.9665 15.9082 23.5046 15.8965 23.9977 15.8809C24.5696 15.8634 25.1142 15.7613 25.4977 15.4152C25.8651 15.0836 25.8651 14.5974 25.7789 14.2094C25.6645 13.7116 25.1274 13.4918 24.6539 13.4315C23.9406 13.3343 23.2131 13.2759 22.4903 13.2468C21.5032 13.2059 20.6942 13.1894 19.9433 13.1933C18.662 13.1903 17.382 13.277 16.1119 13.4529C14.807 13.6416 14.2155 14.2493 14.0711 15.5513C14.0273 16.0169 14.0085 16.4847 14.0149 16.9525V17.0906C14.0074 18.4947 13.9999 20.1594 14.0064 21.8611C14.012 23.657 14.0252 25.4822 14.0364 27.248L14.0477 28.8291C14.052 29.4981 14.0571 30.1674 14.0627 30.8371C14.0739 32.2042 14.0852 33.6181 14.0871 35.0086C14.0871 36.1219 14.5904 36.7588 15.6207 36.9669C15.6893 36.9821 15.7589 36.9925 15.8288 36.9981C16.2169 37.0243 30.7539 36.9417 31.4523 36.8405C32.2285 36.7287 32.4263 36.4321 32.5266 35.6027C32.5585 35.3372 32.5585 34.7509 32.5566 34.4514C32.5479 33.3306 32.5376 32.2094 32.5257 31.0879C32.5138 30.135 32.5038 29.1837 32.4957 28.234Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M26.9563 28.9565C24.9727 29.0353 22.99 29.1393 21.0082 29.2482C20.4965 29.2789 19.9876 29.3488 19.4858 29.4573C19.3062 29.4896 19.1433 29.5865 19.0256 29.7308C18.9079 29.8751 18.8428 30.0578 18.8418 30.2468C18.8418 30.6241 19.093 30.9401 19.5083 31.05C19.7317 31.1152 19.9611 31.1556 20.1926 31.1706C21.4601 31.2231 23.9968 31.2863 23.9968 31.2785C25.0721 31.2727 26.1482 31.2785 27.2226 31.2532C27.57 31.2385 27.9137 31.173 28.2435 31.0588C28.4512 30.9978 28.6331 30.866 28.7598 30.6846C28.8865 30.5033 28.9506 30.2829 28.9418 30.0592C28.9378 29.8353 28.8611 29.6194 28.7241 29.4463C28.5872 29.2733 28.3981 29.1531 28.1872 29.1053C27.7852 28.9988 27.3712 28.9488 26.9563 28.9565Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M27.4605 23.9021C26.8436 23.8476 26.2221 23.7805 25.6062 23.8048C24.0575 23.8651 22.5126 23.9633 20.9649 24.0684C20.4531 24.1045 19.9444 24.178 19.4425 24.2881C19.2427 24.3214 19.0611 24.4282 18.9308 24.5888C18.8005 24.7495 18.7303 24.9533 18.7328 25.1632C18.7264 25.3773 18.7958 25.5863 18.928 25.7508C19.0602 25.9153 19.2459 26.0239 19.45 26.0559C19.8596 26.1279 20.275 26.1572 20.6902 26.1434C21.4739 26.1298 23.0423 26.0257 23.0423 26.016C23.5945 26.016 24.1485 26.0394 24.6978 26.0014C25.6531 25.9343 26.6083 25.8556 27.557 25.7263C28.0904 25.6533 28.3717 25.2517 28.3473 24.7743C28.3229 24.2969 27.9883 23.9488 27.4605 23.9021Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M18.9376 19.3037C18.7641 19.3761 18.6192 19.5072 18.5266 19.6758C18.434 19.8444 18.3991 20.0406 18.4277 20.2323C18.4436 20.4199 18.5152 20.5978 18.6328 20.7413C18.7503 20.8848 18.908 20.987 19.0839 21.0336C19.2221 21.0797 19.3662 21.1039 19.5113 21.1055C20.6063 21.1055 21.7012 21.0977 22.7924 21.0919C22.7924 21.1211 26.1513 21.0725 27.174 20.9947C27.3607 20.9839 27.5387 20.9098 27.6808 20.7839C27.8229 20.6579 27.9212 20.487 27.9606 20.2975C28.0062 20.1207 27.9962 19.9335 27.9319 19.7631C27.8677 19.5927 27.7525 19.4481 27.6034 19.3504C27.4047 19.2248 27.1794 19.1517 26.9472 19.1374C24.6223 19.0995 22.2974 19.0713 19.9726 19.0684C19.6168 19.0821 19.2663 19.1618 18.9376 19.3037Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M31.4489 19.1306C30.8864 19.1306 30.4739 18.7174 30.3867 18.0756C30.323 17.5982 30.3024 17.11 30.2827 16.6374V16.6316C30.2743 16.4498 30.2668 16.2611 30.2565 16.0764C30.2565 16.0472 30.2564 15.9033 30.2518 15.8557L30.2471 15.5844H30.0155H29.6612C29.3987 15.5844 29.034 15.5844 28.7856 15.5707L28.4547 15.5591C28.2963 15.5591 28.1312 15.5503 27.9681 15.5387C27.4132 15.4998 26.9988 15.1439 26.9126 14.6314C26.8113 14.0315 27.1001 13.5278 27.6569 13.3489C28.0293 13.2275 28.4141 13.1522 28.8034 13.1242L29.0068 13.1019C29.1859 13.0832 29.3659 13.0744 29.5459 13.0756C29.6865 13.0756 29.8271 13.0756 29.9705 13.0815L30.2771 13.0892V12.8403C30.2771 12.5768 30.2771 12.3736 30.2771 12.1597V12.0138C30.2771 11.7367 30.2846 11.4518 30.3108 11.1688C30.3708 10.5231 30.8011 10.0282 31.3336 9.99319H31.3983C31.9289 9.99319 32.3704 10.4152 32.4716 11.0229C32.5466 11.4693 32.5926 11.9146 32.6413 12.3843C32.6507 12.4815 32.6919 12.8705 32.6919 12.8705L32.8944 12.8763H32.9544C33.1325 12.887 33.3116 12.8957 33.4897 12.9045C33.9734 12.9298 34.4684 12.9551 34.954 13.0066C35.2268 13.0301 35.4824 13.1549 35.6738 13.3579C35.8653 13.5609 35.9798 13.8287 35.9964 14.1122C36.0367 14.7452 35.6712 15.2382 35.0646 15.3685C34.5778 15.4635 34.0865 15.5319 33.5928 15.5737L33.3313 
822215.6009C33.2432 15.6106 33.1438 15.6145 33.0332 15.6155H32.9047H32.6835L32.6413 16.2611C32.6029 16.8494 32.5672 17.4047 32.5166 17.9647C32.4548 18.6522 32.0648 19.0966 31.4986 19.1238H31.4479L31.4489 19.1306Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60618",children:(0,r.jsx)("rect",{width:"22",height:"27",fill:"white",transform:"translate(14 10)"})})})]})},41050:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60634)",children:[(0,r.jsx)("path",{d:"M36.3756 14.5509C31.9432 13.2885 27.3165 12.0261 22.8851 10.7627C22.7905 10.7135 21.8637 9.76151 20.8564 10.0572C20.5038 10.1606 19.9135 11.9601 19.9306 12.2173C19.583 13.3624 19.9648 13.9842 19.6173 15.1303L11.8184 14.9845C11.8859 16.9446 11.8285 18.0483 11.896 20.0103L11.5938 20.101L12.5407 36.2705L29.8671 36.5149C29.7261 35.559 29.8067 35.017 29.6183 33.2156C32.318 34.201 29.1388 32.8953 31.8344 33.8817C33.42 26.81 34.795 21.6186 36.3756 14.5509Z",fill:"white"}),(0,r.jsx)("path",{d:"M10.1042 20.2873C10.205 22.543 10.1777 31.5551 10.2865 33.8049C10.3218 34.5282 10.2865 35.8024 10.3389 36.5248C10.3943 37.3742 10.8487 37.8059 11.712 37.8364C11.8056 37.8364 11.8993 37.8423 11.993 37.8433C14.8378 37.8867 18.1207 37.9241 20.9644 37.9744C22.0625 37.9941 25.3454 37.9744 25.7121 37.9892C28.6697 38.0788 29.4252 37.6196 29.3577 36.8549C29.3275 36.5011 29.2237 35.7472 26.4031 35.7472C25.8209 35.7472 25.0523 35.7738 24.47 35.764C20.7146 35.6999 16.3196 35.7325 12.5632 35.6792C12.3818 35.6792 12.4362 33.0234 12.3889 32.1316C12.1038 26.7765 12.3889 22.2769 12.1098 16.9229C12.1098 16.8362 12.1169 16.7495 12.1229 16.6204L17.8366 16.6657C17.7853 16.8914 17.7571 17.0283 17.7238 17.1643C16.8575 20.7977 15.8622 23.5698 15.004 27.2082C14.8297 27.9433 14.6625 28.6805 14.5315 29.4235C14.3845 30.2621 14.8075 30.9017 15.6346 31.1707C15.7434 31.2062 15.8542 31.2368 15.964 31.2693C18.4823 31.9197 21.0007 32.579 23.5191 33.2146C25.0624 33.6088 29.5773 34.5322 30.494 34.8002C31.5013 35.0958 32.0725 34.544 32.2065 33.9133C32.3143 33.4048 32.4513 33.0825 32.5641 32.575C33.7205 27.3649 35.3716 22.1537 36.531 16.9446C36.4424 17.3388 36.6388 16.5691 36.941 15.0909C37.1425 14.1054 36.8453 13.8699 35.8692 13.5891L35.5388 13.4954C33.3841 12.8973 30.7267 12.304 28.573 11.6989C26.9703 11.2486 25.3756 10.7716 23.7709 10.3291C23.3311 10.2073 22.8793 10.131 22.4231 10.1015C22.2173 10.0868 22.0126 10.1407 21.8422 10.2546C21.6719 10.3684 21.546 10.5354 21.4853 10.7283C21.3724 11.0909 21.5225 11.4664 21.8952 11.7384C21.9683 11.7962 22.0489 11.8443 22.135 11.8813C22.5722 12.0439 23.0064 12.2203 23.4526 12.3523C26.9149 13.3752 30.8163 14.3893 34.2806 15.4072C34.4458 15.4555 34.8719 15.5659 34.8256 15.7837C34.6241 16.7219 34.8558 15.7285 34.6493 16.6647C34.2615 18.4178 33.8374 20.1641 33.4566 21.9192C32.691 25.4491 31.4641 28.9958 30.7206 32.5307C30.6572 32.8312 30.5464 32.9071 30.2673 32.7958C29.8453 32.6273 20.6502 30.3321 17.7006 29.4816C17.4992 29.4225 16.8454 29.2461 16.8948 28.9889C17.197 27.426 20.0125 18.3213 20.7308 13.9921C20.764 13.795 20.8023 13.5201 20.8234 13.32C20.903 12.5642 19.2117 12.0389 18.6657 12.9919C18.5781 13.1456 18.2043 14.404 18.2043 14.404C18.2043 14.404 16.7648 14.3676 16.0889 14.404C14.4257 14.4927 13.0155 14.2878 11.3543 14.404C10.3893 14.472 9.9632 14.8702 10.0025 15.8221C10.077 17.596 10.0277 18.5203 10.1032 20.2981",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M29.1327 19.6783C28.8617 20.307 28.629 20.9052 28.35 21.4817C27.1986 23.8517 25.6301 25.8847 23.3434 27.3265C22.6474 27.766 21.9019 28.103 21.0698 28.2134C20.8954 28.2391 20.7177 28.2341 20.545 28.1986C19.9849 28.0725 19.7956 27.4753 20.1804 27.0574C20.3014 26.9314 20.4401 26.8229 20.5924 26.7352C22.6746 25.5004 24.3105 23.83 25.5787 21.8079C26.161 20.8815 26.6868 19.9217 27.2378 18.9776L27.1553 18.9027C27.0011 18.9865 26.853 19.0801 26.6929 19.153C26.298 19.3314 25.9061 19.5226 25.4971 19.6694C25.0287 19.8359 24.5905 19.6812 24.4112 19.3294C24.2319 18.9776 24.3326 18.5824 24.7708 18.3114C25.9122 17.6039 27.0565 16.8993 28.2281 16.242C29.0773 15.764 29.7522 15.9897 30.2287 16.851C30.7934 17.8856 31.2049 18.9935 31.4506 20.1414C31.5241 20.4696 31.5987 20.7987 31.6521 21.1269C31.7387 21.6374 31.5161 22.0227 31.0658 22.1754C30.6548 22.3144 30.2005 22.134 29.9819 21.6827C29.7159 21.1318 29.5034 20.5563 29.2677 19.9916C29.2304 19.9 29.1891 19.8133 29.1327 19.6783Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60634",children:(0,r.jsx)("rect",{width:"27",height:"28",fill:"white",transform:"translate(10 10)"})})})]})},92025:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[e?.nobg||(0,r.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"
8222currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_1896_60626)",children:[(0,r.jsx)("path",{d:"M14.0742 15.0769L17.2563 14.8906L17.6852 11.9675L34.8813 11.6569V32.9872C33.7387 33.1115 32.8673 33.3719 31.7267 33.4971C31.6656 34.575 31.7879 35.6249 31.7267 36.7027C26.0969 36.847 20.0126 36.8841 14.3828 37.0293C14.2789 29.7125 14.1761 22.395 14.0742 15.0769Z",fill:"white"}),(0,r.jsx)("path",{d:"M35.8677 12.0796C35.8657 11.867 35.8519 11.6546 35.8263 11.4435C35.7959 11.1843 35.679 10.9436 35.4952 10.7613C35.3113 10.579 35.0716 10.4663 34.8159 10.4418C34.0085 10.3606 33.1932 10.2564 32.38 10.2594C31.822 10.2666 31.2661 10.3287 30.7199 10.4448C30.2802 10.5339 30.0486 10.8605 30.0426 11.2191C30.0367 11.5778 30.2891 11.9023 30.712 12.0456C30.7983 12.0762 30.8875 12.0977 30.9782 12.1097C31.8279 12.2149 32.6767 12.3251 33.5284 12.4102C33.7256 12.4302 33.7886 12.4994 33.7857 12.6927C33.7778 13.1595 33.7857 13.6253 33.7857 14.0952C33.7857 15.8152 33.8646 17.2857 33.8458 19.0037C33.832 20.3501 33.7472 21.6965 33.7413 23.0428C33.7315 25.9339 33.7541 28.8259 33.762 31.717C33.762 31.8252 33.7492 31.9334 33.7423 32.0436C33.6546 32.0496 33.6043 32.0556 33.554 32.0566C31.2802 32.0987 29.0066 32.1401 26.7334 32.1808C24.3271 32.2219 22.4718 32.265 20.0655 32.294C19.5726 32.3 19.0728 32.2459 18.5247 32.2169C18.6105 25.6704 18.6952 19.168 18.78 12.6526C19.5056 12.6526 19.6367 12.6526 20.3179 12.6526C22.112 12.6657 23.9071 12.6917 25.7013 12.6947C26.4238 12.6947 27.1543 12.6887 27.8138 12.312C28.4733 11.9354 28.5965 11.17 28.011 10.6692C27.7112 10.4245 27.3537 10.2639 26.9739 10.2034C26.2875 10.1106 25.5962 10.0594 24.9037 10.0501C22.6916 9.96693 20.4795 9.93087 18.2783 10.2504C17.1407 10.4157 16.6438 10.8906 16.4841 12.0536C16.4141 12.5635 16.4122 13.0834 16.3767 13.6303C16.1499 13.6414 15.9272 13.6384 15.7073 13.6644C15.0606 13.7405 14.0374 13.7786 13.4055 13.9239C12.5863 14.1112 12.1112 14.6792 12.0254 15.5387C11.995 15.8894 11.9868 16.2417 12.0008 16.5935C12.0569 19.2452 12.121 21.8978 12.1782 24.5495C12.2157 26.2584 12.2068 27.9694 12.2906 29.6764C12.3892 31.6529 12.5272 33.6273 12.4345 35.6088C12.4291 35.8784 12.44 36.148 12.4671 36.4162C12.54 37.3789 13.1246 37.9489 14.0719 37.985C14.2967 37.993 14.5214 37.993 14.7452 37.985C18.2221 37.8988 22.0657 37.8167 25.5415 37.7205C27.2746 37.6724 28.073 37.6945 30.0486 37.6334C30.8569 37.6083 31.9216 37.3939 31.9216 36.5925C31.9216 35.9825 31.1635 35.8222 30.8618 35.8232C30.2704 35.8232 29.395 35.8232 29.395 35.8232C24.3478 35.8693 19.7905 35.7531 14.7659 35.7991C14.6821 29.2236 14.3617 22.7523 14.2779 16.1518C14.7984 16.0977 15.7951 16.0235 16.4023 15.9604C16.4023 16.1087 16.4023 16.2279 16.4023 16.3471C16.3816 18.7924 16.3422 21.2377 16.3481 23.6829C16.353 25.412 16.4348 27.142 16.4536 28.871C16.4654 29.9579 16.425 31.0458 16.4053 32.1327C16.3875 33.1605 16.8567 33.7355 17.8918 33.8557C18.9269 33.9759 19.9413 34.0901 20.9675 34.0962C23.8726 34.1142 26.7787 34.0761 29.6838 34.0591C29.8051 34.0591 32.2311 34.014 32.3307 34.004C32.9902 33.9349 34.1406 33.9459 34.7952 33.8517C35.4852 33.7516 35.8598 33.3509 35.9495 32.6416C35.9847 32.3535 36.0011 32.0634 35.9988 31.7731C35.987 28.0686 35.8795 15.0118 35.8677 12.0796Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M25.8123 28.7468C25.418 28.7468 25.0887 28.292 25.0237 28.0456C24.8541 27.3984 24.6294 26.9016 24.5308 26.2424C24.3169 24.8159 23.6712 24.306 22.6657 23.3003C22.1787 22.8144 21.0805 22.4358 20.7188 22.2765C20.3747 22.1242 20.1017 21.9349 20.078 21.5322C20.0543 21.1505 20.2633 20.875 20.5758 20.7037C20.8211 20.5797 21.0772 20.4791 21.3408 20.4032C21.9195 20.2291 22.4576 19.9376 22.9223 19.5462C23.3871 19.1549 23.769 18.6718 24.0448 18.1262C24.518 17.2176 24.932 16.286 25.0917 15.2582C25.1031 15.197 25.121 15.1372 25.1449 15.0799C25.3076 14.6291 25.6378 14.3656 26.0479 14.3656C26.458 14.3656 26.7863 14.6421 26.9203 15.1079C27.0544 15.5737 27.151 16.0516 27.2792 16.5204C27.6045 17.7105 28.2995 18.6581 29.2153 19.4365C29.7731 19.8965 30.4478 20.1865 31.1612 20.273C31.3337 20.2944 31.4983 20.3591 31.6401 20.4612C31.7819 20.5633 31.8965 20.6997 31.9735 20.858C32.215 21.2998 32.0228 22.0401 31.2342 22.2404C30.4455 22.4408 29.9211 22.8415 29.2626 23.3423C27.7504 24.4873 27.2319 25.3649 26.9292 27.1931C26.9036 27.3453 26.8819 27.4986 26.8592 27.6529C26.7616 28.306 26.5024 28.7398 25.8123 28.7468ZM25.9109 25.0403C26.4432 23.3373 27.5601 22.4358 28.8505 21.3479C28.2768 21.0333 27.5867 20.6326 27.1924 20.2319C26.8592 19.8933 26.4038 19.2301 26.0992 18.6712C25.7946 19.2923 25.4032 19.8813 24.8315 20.3221C24.2597 20.7628 23.8614 21.1335 23.0521 21.5342C24.6028 22.2795 25.4446 23.4125 25.9109 25.0403Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1896_60626",children:(0,r.jsx)("rect",{width:"24",height:"28",fill:"white",transform:"translate(12 10)"})})})]})},50507:function(e,t,i){"use strict";i.r(t);var r=i(74848);t.default=e=>(0,r.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M-0.000244141 12C-0.000244141 5.37258 5.37234 0 11.9998 0H35.9998C42.6272 0 47.9998 5.37258 47.9998 12V36C47.9998 42.6274 42.6272 48 35.9998 48H11.9998C5.37234 48 -0.000244141 42.6274 -0.000244141 36V12Z",fill:"currentColor"}),(0,r.jsxs)("g",{clipPath:"url(#clip0_656_16229)",children:[(0,r.jsx)("path",{d:"M10.8602 20.5385L22.5871 15.2204L34.8814 20.072L31.1931 22.4978L30.7203 29.402L29.3858 30.7185C28.1089 31.9779 26.4266 32.7583 24.6289 32.925L21.2243 33.2394C20.3149 33.3236 19.3977 33.216 18.533
82226 32.9239C17.6694 32.6318 16.8781 32.1618 16.212 31.5451L13.6974 29.2154L13.5082 22.9643L10.8602 20.5385Z",fill:"white"}),(0,r.jsx)("path",{d:"M22.4245 34.5251C17.0102 34.5251 13.9698 31.8371 13.5083 31.268C13.13 30.8015 13.0354 29.8685 13.0354 29.5886C13.0354 28.4531 12.8463 27.3205 12.8463 26.3231C12.8463 25.8566 13.13 25.2511 13.5697 25.0738C14.6431 24.6437 14.9268 25.6336 14.9268 26.3231C14.9268 27.4585 15.2105 29.9618 15.2105 29.9618C15.2105 29.9618 15.5207 30.3723 15.778 30.5216C16.9866 31.2251 19.2383 32.3409 22.6354 32.284C26.823 32.2159 28.4846 30.1801 29.3774 29.0866L29.4719 28.9663V22.7833C29.4688 22.5226 29.5688 22.2711 29.7507 22.082C29.9326 21.893 30.182 21.7814 30.446 21.771C31.0031 21.7607 31.7558 22.0443 31.7558 22.5911L31.6613 28.9355C31.6613 29.402 31.1884 30.2417 30.9198 30.5953C30.0214 31.7774 27.7819 34.4402 22.6628 34.5232C22.5871 34.5251 22.5049 34.5251 22.4245 34.5251Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M22.2645 26.9855C21.8549 26.9502 21.4532 26.8526 21.0738 26.6963C18.5327 25.474 11.3746 22.0695 9.96736 21.3996C9.75248 21.3004 9.55963 21.1603 9.39993 20.9872C9.11622 20.6728 8.80318 20.1186 9.15782 19.6987C9.41033 19.3993 11.1627 18.554 11.5221 18.3925C14.643 16.993 20.601 14.4739 20.601 14.4739C22.8707 13.5409 23.6273 14.194 24.9513 14.6605C24.9513 14.6605 29.3678 16.4939 32.4224 17.8327C33.2736 18.2059 35.7514 19.3069 36.0162 19.6054C36.6782 20.3518 35.827 21.0983 35.0704 21.3782C35.0704 21.3782 26.9136 25.2342 23.7218 26.603C23.5942 26.658 22.7761 26.9762 22.2645 26.9855ZM12.2049 20.3929L22.273 24.9329L33.1232 20.2399L22.587 16.06L12.2049 20.3929Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M38.6813 31.5013L36.5837 28.8888L36.6783 23.9934C36.6783 23.1537 36.2811 22.4073 35.7326 22.4073C35.184 22.4073 34.6923 23.1257 34.6923 23.6668L34.5977 28.8254L32.6552 31.2512C32.3138 31.6739 31.8806 32.7981 32.3403 33.0948C33.2737 33.6975 34.0123 32.7151 34.208 32.4734L35.5169 30.8388L36.8674 32.201C37.3403 32.8541 37.8812 33.274 38.2151 33.274C38.3985 33.274 38.5783 33.2236 38.7343 33.1284C39.2014 32.8448 38.9688 31.9612 38.6813 31.5013Z",fill:"#1E2532"}),(0,r.jsx)("path",{d:"M36.4891 32.5742C36.4891 34.0166 36.5837 35 35.4488 35C34.5031 35 34.5031 33.7367 34.5031 32.2943C34.5031 30.8519 34.9268 29.6819 35.4488 29.6819C35.9709 29.6819 36.4891 31.1318 36.4891 32.5742Z",fill:"#1E2532"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_656_16229",children:(0,r.jsx)("rect",{width:"30",height:"21",fill:"white",transform:"translate(9 14)"})})})]})},99076:function(e,t,i){"use strict";i.d(t,{A:function(){return p}}),i(18111),i(7588),i(61701);var r=i(74848),n=i(96540),o=i(38267),a=i(35189),l=i(93971),s=i(99701),d=i(14649);let c=o.Ay.div(["width:100%;overflow:hidden;position:relative;padding:5px 0;& .swiper-wrapper{display:flex !important;transition-property:transform !important;box-sizing:content-box;}& .swiper-slide{flex-shrink:0 !important;box-sizing:border-box;flex:0 0 auto !important;align-self:flex-start !important;}& .swiper-button-disabled{display:none;}"]),u=o.Ay.button(["position:absolute;top:50%;",":8px;transform:translateY(-50%);z-index:10;background:",";color:",";border:none;width:48px;height:48px;border-radius:50%;cursor:pointer;"],({side:e})=>e,s.Jy.Neutral15,s.Jy.Neutral50);function p(e){let t=(0,n.useRef)(null);return 0===e.children.length?null:(0,r.jsxs)(c,{ref:t,children:[(0,r.jsx)(u,{side:"left",id:"prev-slide","aria-label":"Previous slide",children:(0,r.jsx)(d.qJ.ChevronLeft,{})}),(0,r.jsx)(u,{side:"right",id:"next-slide","aria-label":"Next slide",children:(0,r.jsx)(d.qJ.ChevronRight,{})}),(0,r.jsx)(l.RC,{modules:[a.Vx],loop:!1,roundLengths:!0,direction:"horizontal",slidesPerView:"auto",spaceBetween:24,navigation:{prevEl:"#prev-slide",nextEl:"#next-slide"},onSlideChange:()=>{t.current?.querySelectorAll("article").forEach(e=>{e.dispatchEvent(new Event("recomputeOrigin"))})},children:e.children.map((e,i)=>(0,r.jsx)(l.qr,{children:n.cloneElement(e,{containerRef:t})},i))})]})}},83906:function(e,t,i){"use strict";i.d(t,{m5:function(){return J}});var r=i(74848),n=i(33093),o=i(77378),a=i.p+"media/Calendar8499958cd94afa5c.svg",l=i.p+"media/Timer7adead77994d0a05.svg";function s(){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M7.52803 15.4525C8.68604 15.4526 9.82398 15.7583 10.8269 16.3373L11.195 16.5658C11.9145 17.0467 12.5324 17.6647 13.0134 18.3842L13.2419 18.7513L13.2839 18.8334C13.4711 19.2493 13.316 19.7476 12.9128 19.9808C12.5092 20.2139 11.9999 20.099 11.7331 19.7289L11.6833 19.6517L11.5173 19.3842C11.1676 18.8611 10.7181 18.4116 10.195 18.0619L9.92744 17.8959C9.19819 17.4748 8.3701 17.2533 7.52803 17.2533C6.79149 17.2534 6.06611 17.4232 5.40791 17.7474L5.12959 17.8959C4.49157 18.2642 3.94769 18.774 3.53975 19.3842L3.37373 19.6517C3.1252 20.0822 2.5747 20.2294 2.14424 19.9808C1.7138 19.7323 1.56662 19.1818 1.81514 18.7513L2.04365 18.3842C2.60459 17.5452 3.35188 16.8439 4.2292 16.3373L4.61201 16.1322C5.51722 15.6862 6.51507 15.4526 7.52803 15.4525ZM7.52803 5.19763C9.91294 5.19783 11.8464 7.13201 11.8464 9.51697C11.846 11.9016 9.91269 13.8351 7.52803 13.8353C5.14341 13.8351 3.2091 11.9015 3.20869 9.51697C3.20869 7.13204 5.14316 5.19788 7.52803 5.19763ZM7.52803 6.99841C6.13727 6.99866 5.00947 8.12615 5.00947 9.51697C5.00988 10.9074 6.13752 12.0353 7.52803 12.0355C8.91858 12.0353 10.0462 10.9075 10.0466 9.51697C10.0466 8.12612 8.91883 6.99861 7.52803 6.99841Z",fill:"#303848"}),(0,r.jsx)("path",{d:"M16.9986 12.0021C17.8307 12.0569 18.6409 12.3024 19.3658 12.7209L19.6705 12.9103C20.2647 13.3077 20.7752 13.818 21.1725 14.4123L21.3609 14.716L21.4029 14.798C21.59 15.2141 21.4353 15.7124 21.0318 15.9455C20.6283 16.1785 20.119 16.0635 19.8522 15.6935L19.8024 15.6164L19.6754 15.4123C19.4093 15.0143 19.0675 14.6725 18.6695 14.4064L18.4664 14.2795C17.9808 13.9991 17.4378 13.8357 16.8805 13.799L16.6412 13.7912C16.0805 13.7912 15.528 13.9202 15.027 14.1672L14.816 14.2795C14.2611 14.5999 13.7995 15.0615 13.4791 15.6164C13.2305 16.0465 12.6799 16.1939 12.2496 15.9455C11.8194 15.6969 11.6721 15.1463 11.9205 14.716C12.3989 13.8875 13.0871 13.1993 13.9156 12.7209L14.2311 12.5519C14.9791 12.1832 15.804 11.9904 16.6412 11.9904L16.9986 12.0021ZM16.6412 3.79999C18.646 3.80019 20.2711 5.42601 20.2711 7.43085C20.2708 9.43542 18.6458 11.0605 16.6412 11.0607C14.6364 11.0607 13.0107 9.43554 13.0104 7.43085C13.0104 5.42589 14.6363 3.79999 16.6412 3.79999ZM16.6412 5.60077C15.6304 5.60077 14.8111 6.42 14.8111 7.43085C14.8114 8.44143 15.6306 9.26093 16.6412 9.26093C17.6517 9.26073 18.471 8.44131 18.4713 7.43085C18.4713 6.42013 17.6519 5.60097 16.6412 5.60077Z",fill:"#0F141E"})]})}var d=i(92657),c=i(96540);function u(e){let t=(0,c.useRef)(null),[i,r]=(0,c.useState)("right"),n=(0,c.useCallback)(()=>
8222{if(!e?.current||!t.current)return;let i=t.current.getBoundingClientRect(),n=e.current.getBoundingClientRect();r(i.left+i.width/2>n.left+n.width/2?"left":"right")},[e]);return(0,c.useEffect)(()=>{let e=t.current;if(e)return n(),e.addEventListener("recomputeOrigin",n),()=>{e.removeEventListener("recomputeOrigin",n)}},[n]),{ref:t,origin:i}}var p=i(33798);function h(){return(0,r.jsx)("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M10.5245 0.463526C10.6741 0.00287056 11.3259 0.00287008 11.4755 0.463525L13.5819 6.9463C13.6488 7.15232 13.8408 7.2918 14.0574 7.2918H20.8738C21.3582 7.2918 21.5596 7.9116 21.1677 8.1963L15.6531 12.2029C15.4779 12.3302 15.4046 12.5559 15.4715 12.7619L17.5779 19.2447C17.7276 19.7053 17.2003 20.0884 16.8085 19.8037L11.2939 15.7971C11.1186 15.6698 10.8814 15.6698 10.7061 15.7971L5.19153 19.8037C4.79967 20.0884 4.27243 19.7053 4.42211 19.2447L6.52849 12.7619C6.59543 12.5559 6.5221 12.3302 6.34685 12.2029L0.832272 8.1963C0.440415 7.9116 0.641802 7.2918 1.12616 7.2918H7.94256C8.15917 7.2918 8.35115 7.15232 8.41809 6.9463L10.5245 0.463526Z",fill:"#E7EAF4"})})}function x(){return(0,r.jsx)("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M10.5245 0.463526C10.6741 0.00287056 11.3259 0.00287008 11.4755 0.463525L13.5819 6.9463C13.6488 7.15232 13.8408 7.2918 14.0574 7.2918H20.8738C21.3582 7.2918 21.5596 7.9116 21.1677 8.1963L15.6531 12.2029C15.4779 12.3302 15.4046 12.5559 15.4715 12.7619L17.5779 19.2447C17.7276 19.7053 17.2003 20.0884 16.8085 19.8037L11.2939 15.7971C11.1186 15.6698 10.8814 15.6698 10.7061 15.7971L5.19153 19.8037C4.79967 20.0884 4.27243 19.7053 4.42211 19.2447L6.52849 12.7619C6.59543 12.5559 6.5221 12.3302 6.34685 12.2029L0.832272 8.1963C0.440415 7.9116 0.641802 7.2918 1.12616 7.2918H7.94256C8.15917 7.2918 8.35115 7.15232 8.41809 6.9463L10.5245 0.463526Z",fill:"#F9BA44"})})}function m(){return(0,r.jsxs)("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M10.5245 0.463526C10.6741 0.00287056 11.3259 0.00287008 11.4755 0.463525L13.5819 6.9463C13.6488 7.15232 13.8408 7.2918 14.0574 7.2918H20.8738C21.3582 7.2918 21.5596 7.9116 21.1677 8.1963L15.6531 12.2029C15.4779 12.3302 15.4046 12.5559 15.4715 12.7619L17.5779 19.2447C17.7276 19.7053 17.2003 20.0884 16.8085 19.8037L11.2939 15.7971C11.1186 15.6698 10.8814 15.6698 10.7061 15.7971L5.19153 19.8037C4.79967 20.0884 4.27243 19.7053 4.42211 19.2447L6.52849 12.7619C6.59543 12.5559 6.5221 12.3302 6.34685 12.2029L0.832272 8.1963C0.440415 7.9116 0.641802 7.2918 1.12616 7.2918H7.94256C8.15917 7.2918 8.35115 7.15232 8.41809 6.9463L10.5245 0.463526Z",fill:"#E7EAF4"}),(0,r.jsx)("path",{d:"M11 15.7012C10.8968 15.7011 10.7936 15.7333 10.706 15.7969L5.19137 19.8037C4.79963 20.0883 4.27262 19.7056 4.42184 19.2451L6.52828 12.7617C6.59512 12.5558 6.52177 12.3304 6.34664 12.2031L0.831994 8.19629C0.440234 7.91157 0.641629 7.29202 1.12594 7.29199H7.94235C8.15896 7.29199 8.35099 7.1523 8.41793 6.94629L10.5244 0.463867C10.5992 0.233481 10.7996 0.118106 11 0.118164V15.7012Z",fill:"#F9BA44"})]})}i(18111),i(61701);let g=()=>(0,r.jsx)("svg",{width:"5",height:"5",viewBox:"0 0 5 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M2.42 4.074C1.964 4.074 1.57767 3.922 1.261 3.618C0.944333 3.30133 0.786 2.90867 0.786 2.44C0.786 1.97133 0.944333 1.585 1.261 1.281C1.57767 0.964333 1.964 0.806 2.42 0.806C2.876 0.806 3.26233 0.964333 3.579 1.281C3.89567 1.585 4.054 1.97133 4.054 2.44C4.054 2.90867 3.89567 3.30133 3.579 3.618C3.26233 3.922 2.876 4.074 2.42 4.074Z",fill:"#9FA6BB"})}),y=({rating:e,reviewCount:t,maxStars:i=5,precision:n=.5})=>{let{i18n:a}=(0,o.s)();if(!e||!t)return null;let l=Math.round(e/n)*n,s=Array.from({length:i},(e,t)=>l>=t+1?1:l<=t?0:l-t);return(0,r.jsxs)(p.GW,{"data-testid":"course-rating",children:[(0,r.jsx)("div",{className:"stars",children:s.map((e,t)=>e>=1?(0,r.jsx)(x,{},t):e>=n?(0,r.jsx)(m,{},t):(0,r.jsx)(h,{},t))}),(0,r.jsx)(p.Nq,{children:(0,r.jsx)(g,{})}),(0,r.jsx)(p.Nq,{children:(0,r.jsx)(p.p_,{type:"primary","data-testid":"review-count",children:a.t(`${d.y}.card.reviews`,{count:e.toFixed(1)||0})})}),(0,r.jsx)(p.QU,{children:(0,r.jsx)(p.p_,{type:"default","data-testid":"review-count",children:a.t(`${d.y}.card.reviews`,{count:e.toFixed(1)||0})})})]})};var f=i(14649);i(14603),i(47566),i(98721);var b=i(96230),_=i(47767),v=i(49012),j=i(83968),A=i(42692),C=i(81761),w=i.p+"media/HeartIconbf2541e2a2cf4f7d.svg";let k=e=>{let[t,i]=(0,c.useState)(e.isAlreadySaved||!1),{mutate:a}=function(e){let{i18n:t}=(0,o.s)(),{pathname:i}=(0,_.zy)(),{mutateAsync:r}=(0,C.T)(),{features:n}=(0,A.t)(),{openSnackBar:a}=(0,c.useContext)(j.Xj),l=n?.aiCoach&&"/"===i?96:16;return(0,b.n)({mutationKey:["save-course"],mutationFn:async e=>{let t=`/learning/courses/${e.CMSGID}/save`;return await v.R3.post(t,{id:e.CMSGID})},onSuccess:(e,i)=>{a({text:i.isSaved?t.t(`${d.y}.actions.saved`):t.t(`${d.y}.actions.removed`),action:{text:"View",onClick:async()=>{try{let e=await r({cmsgid:"saved"}),t=new URL(e.redirect_url);t.pathname="my-library/";let i=t.toString()+"&tab=saved";window.open(i,"_blank")}catch(e){console.error("Error redirecting to saved courses:",e)}}},type:j.rK.success,bottom:{phone:96,desktop:l}})},onError:i=>{console.error("Error saving course:",i.message),e.onError&&e.onError(),a({text:t.t(`${d.y}.errors.generic`),type:j.rK.failure,bottom:{phone:96,desktop:l}})}})}({onError:()=>i(!1)}),l=async r=>{r.stopPropagation(),r.preventDefault(),(0,n.xP)("click_save_course",{courseId:e.courseId});let o=!t;i(o),a({CMSGID:e.courseId,isSaved:o})};return(0,r.jsx)(p.Zu,{onClick:l,"data-testid":t?"unsave-course-button":"save-course-button",children:t?(0,r.jsx)(f.qJ.HeartFullFilled,{}):(0,r.jsx)("img",{src:w,alt:"Save course"})})},S={display:"flex",alignItems:"center",justifyContent:"space-between"},T=e=>{let{i18n:t}=(0,o.s)(),{ref:i,origin:n}=u(e.containerRef);
8222return(0,r.jsxs)(p.Zp,{ref:i,origin:n,onClick:e.onClick,"data-testid":"course-card",children:[(0,r.jsxs)(p.xW,{children:[(0,r.jsx)(p.Ex,{status:"recomended",position:"absolute","data-testid":"course-category",children:e.category}),(0,r.jsx)(p._V,{src:e.imageSrc,alt:"Preview"}),(0,r.jsx)(p.QU,{children:e.logoSrc&&(0,r.jsx)(p.U9,{src:e.logoSrc,width:"67px",alt:`${e.provider} logo`})})]}),(0,r.jsxs)(p.Q7,{children:[(0,r.jsxs)(p.W8,{children:[(0,r.jsxs)(p.Y9,{children:[(0,r.jsx)(p.Nq,{children:(0,r.jsxs)("div",{style:S,children:[e.logoSrc&&(0,r.jsx)("img",{src:e.logoSrc,alt:`${e.provider} logo`,style:{objectFit:"cover"},height:"24px"}),(0,r.jsx)(k,{courseId:e.courseId,isAlreadySaved:e.isSaved})]})}),(0,r.jsx)(p.JU,{"data-testid":"course-provider",children:e.provider}),(0,r.jsx)(p.hE,{"data-testid":"course-title",children:(0,d.x)(e.title,55)})]}),e.rating&&e.reviewCount&&(0,r.jsx)(y,{rating:e.rating,reviewCount:e.reviewCount}),(0,r.jsx)(p.VY,{"data-testid":"course-description",children:(0,d.x)(e.description,125)})]}),(0,r.jsxs)(p.wi,{children:[(0,r.jsxs)(p.dw,{"data-testid":"course-duration",children:[(0,r.jsxs)(p.JU,{children:[(0,r.jsx)("img",{src:a}),(0,r.jsx)("span",{children:t.t(`${d.y}.card.weeks`,{count:e.weeks||0})})]}),(0,r.jsxs)(p.JU,{children:[(0,r.jsx)("img",{src:l}),(0,r.jsx)("span",{children:t.t(`${d.y}.card.hours`,{count:e.hoursPerWeek||0})})]})]}),e.enrolled&&(0,r.jsxs)(p.w9,{children:[(0,r.jsx)(s,{}),(0,r.jsx)("span",{children:t.t(`${d.y}.card.enrolled`,{count:e.enrolled||0})})]})]})]})]})},P=e=>{let{i18n:t}=(0,o.s)(),{ref:i,origin:n}=u(e.containerRef);return(0,r.jsxs)(p.Zp,{ref:i,origin:n,onClick:e.onClick,"data-testid":"course-card",children:[(0,r.jsxs)(p.xW,{children:[void 0!==e.progress&&(0,r.jsx)(p.QU,{children:(0,r.jsxs)(p.Ex,{status:"progress",progress:e.progress,position:"absolute",children:[e.progress,"%"]})}),(0,r.jsx)(p.Nq,{children:(0,r.jsx)(p.Ex,{status:"recomended",position:"absolute",children:e.category})}),(0,r.jsx)(p._V,{src:e.imageSrc,alt:e.title}),(0,r.jsx)(p.QU,{children:e.logoSrc&&(0,r.jsx)(p.U9,{src:e.logoSrc,width:"67px",alt:`${e.provider} logo`})})]}),(0,r.jsxs)(p.Q7,{children:[(0,r.jsxs)(p.W8,{children:[(0,r.jsxs)(p.Y9,{children:[(0,r.jsx)(p.Nq,{children:(0,r.jsxs)("div",{style:S,children:[e.logoSrc&&(0,r.jsx)("img",{src:e.logoSrc,alt:`${e.provider} logo`,style:{objectFit:"cover"},height:"24px"}),void 0!==e.progress&&(0,r.jsxs)(p.Ex,{status:"progress",progress:e.progress,position:"relative",children:[e.progress,"%"]})]})}),(0,r.jsx)(p.JU,{"data-testid":"course-provider",children:e.provider}),(0,r.jsx)(p.hE,{"data-testid":"course-title",children:(0,d.x)(e.title,55)})]}),(0,r.jsx)(p.QU,{children:(0,r.jsxs)(p.dw,{children:[(0,r.jsxs)(p.JU,{children:[(0,r.jsx)("img",{src:a}),(0,r.jsx)("span",{children:t.t(`${d.y}.card.weeks`,{count:e.weeks||0})})]}),(0,r.jsxs)(p.JU,{children:[(0,r.jsx)("img",{src:l}),(0,r.jsx)("span",{children:t.t(`${d.y}.card.hours`,{count:e.hoursPerWeek||0})})]})]})}),(0,r.jsx)(p.VY,{"data-testid":"course-description",children:(0,d.x)(e.description,125)})]}),(0,r.jsx)(p.wi,{children:(0,r.jsxs)(p.dw,{"data-testid":"course-duration",children:[(0,r.jsxs)(p.JU,{children:[(0,r.jsx)("img",{src:a}),(0,r.jsx)("span",{children:t.t(`${d.y}.card.weeks`,{count:e.weeks||0})})]}),(0,r.jsxs)(p.JU,{children:[(0,r.jsx)("img",{src:l}),(0,r.jsx)("span",{children:t.t(`${d.y}.card.hours`,{count:e.hoursPerWeek||0})})]})]})})]})]})},J=e=>{let t=()=>{let t={course_name:e.title,course_category:"recomended"===e.status?"recommended_courses":"my_courses"};(0,n.xP)("click_course_card",t),e.onClick&&e.onClick()};return"progress"===e.status?(0,r.jsx)(P,{...e,onClick:t}):(0,r.jsx)(T,{...e,onClick:t})}},33798:function(e,t,i){"use strict";i.d(t,{Ex:function(){return C},GW:function(){return b},JU:function(){return y},NV:function(){return P},Nq:function(){return w},Q7:function(){return h},QU:function(){return k},Qo:function(){return E},U9:function(){return N},Ud:function(){return J},VY:function(){return j},W8:function(){return m},Y9:function(){return x},Zp:function(){return c},Zu:function(){return L},_V:function(){return p},dw:function(){return _},hE:function(){return f},mU:function(){return R},p_:function(){return v},w9:function(){return A},wi:function(){return g},xW:function(){return u}});var r=i(38267),n=i(99701),o=i(49504),a=i(67592),l=i(24833);
8222let s="274px",d="572px",c=r.Ay.article(["position:relative;display:flex;flex-direction:column;flex:0 0 ",";width:",";height:",";gap:16px;background:white;cursor:pointer;transition:flex-basis 0.3s ease,width 0.3s ease,box-shadow 0.3s ease,border-radius 0.3s ease;&:hover{",";border-radius:16px;flex-direction:",";width:",";flex-basis:",";padding:12px;}"],s,s,"291px",a.A.lightWithBorder.mid,({origin:e})=>"right"===e?"row":"row-reverse",d,d),u=r.Ay.div(["position:relative;overflow:hidden;flex:1;"]),p=r.Ay.img(["width:100%;height:100%;border-radius:8px;overflow:hidden;object-fit:cover;"]),h=r.Ay.div(["display:flex;flex-direction:column;flex:1;width:100%;"]),x=r.Ay.div(["display:flex;flex-direction:column;gap:4px;"]),m=r.Ay.div(["display:flex;flex-direction:column;gap:8px;"]),g=r.Ay.div(["display:none;",":hover &{margin-top:auto;display:flex;flex-direction:column;gap:12px;}"],c),y=r.Ay.span(["",";",";color:",";display:flex;align-items:center;gap:4px;"],o.Ay.Caption,o.BO.Regular,n.Jy.Neutral50),f=r.Ay.h2(["",";",";color:",";"],o.Ay.Body,o.BO.Medium,n.Jy.Neutral90),b=r.Ay.div(["display:flex;gap:4px;align-items:center;.stars{display:inline-flex;align-items:center;font-size:0;}",""],l.A.Phone` display: none;`),_=r.Ay.div(["display:flex;",":hover &{display:flex;gap:8px;}"],c),v=r.Ay.div(["",";",";color:",";"],o.Ay.Body,o.BO.Regular,e=>"primary"===e.type?n.Jy.Blue50:n.Jy.Neutral50),j=r.Ay.div(["",";",";color:",";display:none;",":hover &{display:inline-block;}"],o.Ay.Caption,o.BO.Regular,n.Jy.Neutral90,c),A=r.Ay.div(["display:none;strong{",";}",":hover &{display:inline-flex;align-items:center;gap:8px;",";",";color:",";}"],o.BO.Medium,c,o.Ay.Caption,o.BO.Regular,n.Jy.Neutral80),C=r.Ay.div(["",";"," ",""],e=>"absolute"===e.position?`
8223      position: absolute;
8224      top: 8px;
8225      left: 8px;`:"position: relative;",e=>"recomended"===e.status&&(0,r.AH)(["",";",";padding:2px 8px;background-color:",";color:",";border-radius:2px;"],o.Ay.Caption,o.BO.Regular,n.Jy.Blue10,n.Jy.Blue80),e=>"progress"===e.status&&(0,r.AH)(["width:40px;height:40px;",";",";color:",";background:",";border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(closest-side,white 79%,transparent 80% 100%),conic-gradient("," ","%,"," 0);"],o.Ay.Caption,o.BO.Medium,n.Jy.Neutral90,n.Jy.White,n.Jy.Green50,e.progress||0,n.Jy.Neutral10)),w=r.Ay.div(["display:none;",":hover &{display:block;}"],c),k=r.Ay.div(["display:block;",":hover &{display:none;}"],c),S=(0,r.i7)(["0%{background-position:-200px 0}100%{background-position:200px 0}"]),T=r.Ay.div(["background:",";background-image:linear-gradient( 90deg,"," 0px,"," 40px,"," 80px );background-size:200px 100%;animation:"," 1.5s infinite linear;border-radius:4px;"],n.Jy.Neutral15,n.Jy.Neutral15,n.Jy.Neutral10,n.Jy.Neutral15,S),P=(0,r.Ay)(T)(["width:100%;height:100%;border-radius:8px;"]),J=(0,r.Ay)(T)(["width:",";height:",";border-radius:4px;"],({w:e})=>e,({h:e})=>e||"12px"),E=(0,r.Ay)(T)(["width:100px;height:16px;border-radius:8px;"]),R=(0,r.Ay)(T)(["width:60px;height:12px;"]),L=r.Ay.button(["display:inline-flex;flex:0 0 auto;width:24px;height:24px;padding:0;background:transparent;border:none;cursor:pointer;svg{display:block;width:100%;height:100%;}"]),N=r.Ay.img(["position:absolute;bottom:8px;left:8px;"])},77185:function(e,t,i){"use strict";i.d(t,{sp:function(){return C},MX:function(){return w},Ay:function(){return k}}),i(18111),i(61701),i(13579);var r=i(74848),n=i(96540),o=i(33093),a=i(14649),l=i(77378),s=i(81761),d=i(99076),c=i(83906),u=i(92657),p=i(37562),h=i(87003),x=i(38267),m=i(84976),g=i(99701),y=i(49504);let f=x.Ay.section(["width:100%;display:flex;flex-direction:column;gap:",";"],e=>e.gap||"32px"),b=x.Ay.div(["display:flex;align-items:center;justify-content:space-between;"]),_=x.Ay.h2(["",";",";color:",";"],y.Ay.M,y.BO.Medium,g.Jy.Neutral90),v=x.Ay.h2(["",";",";"],y.Ay.Subhead,y.BO.DemiBold),j=(0,x.Ay)(m.N_)(["color:",";",";",";"],g.Jy.Blue50,y.Ay.Body,y.BO.Regular),A=e=>(0,r.jsx)(d.A,{children:e.courses.map((t,i)=>(0,r.jsx)(c.m5,{courseId:t.cmsgid,onClick:()=>e.redirectToWebo(t.cmsgid),provider:t.organisation.name,title:t.title,category:t.categories[0],progress:t.suitability,description:t.introduction,weeks:t.duration_in_weeks,imageSrc:t.small_image,hoursPerWeek:t.hours_per_week,status:"recomended",isSaved:e.saved.some(e=>e.cmsgid===t.cmsgid),logoSrc:t?.organisation?.organisation_image,rating:t.reviews?.average_score?parseFloat(t.reviews.average_score):void 0,reviewCount:t.reviews?.count?parseInt(t.reviews.count,10):void 0,videoTrailer:t.video_trailer},i))}),C=()=>{let{i18n:e}=(0,l.s)(),{mutateAndRedirect:t}=(0,s.T)(),{data:i,isLoading:d,error:c}=(0,p.Q)(),x=e=>{(0,o.xP)("click_more_recommended_courses"),t({cmsgid:e})};return((0,n.useEffect)(()=>{(0,o.xP)("view_recommended_courses",{source:"job_search"})},[]),c)?null:d?(0,r.jsx)(h.U,{}):i?.jobTitle?(0,r.jsxs)(f,{id:"recomended-courses",gap:"24px",children:[(0,r.jsxs)(b,{children:[(0,r.jsx)(v,{children:e.t(`${u.y}.recommended.job_courses_title`)}),(0,r.jsxs)(j,{to:"#",onClick:()=>x(),children:[e.t(`${u.y}.recommended.button`)," ",(0,r.jsx)(a.qJ.ChevronRight,{})]})]}),(0,r.jsx)(A,{courses:i?.recommended,saved:i?.progression.saved??[],redirectToWebo:x})]}):null},w=()=>{let{i18n:e}=(0,l.s)(),{mutateAndRedirect:t}=(0,s.T)(),{data:i,isLoading:d,error:c}=(0,p.Q)(),x=e=>{(0,o.xP)("click_more_recommended_courses"),t({cmsgid:e})};return((0,n.useEffect)(()=>{(0,o.xP)("view_recommended_courses",{source:"job_search"})},[]),c)?null:d?(0,r.jsx)(h.U,{}):i?.jobTitle?(0,r.jsxs)(f,{id:"recomended-courses",children:[(0,r.jsxs)(b,{children:[(0,r.jsx)(_,{children:e.t(`${u.y}.recommended.my_profile_courses_title`)}),(0,r.jsxs)(j,{to:"#",onClick:()=>x(),children:[e.t(`${u.y}.recommended.button`)," ",(0,r.jsx)(a.qJ.ChevronRight,{})]})]}),(0,r.jsx)(A,{courses:i?.recommended,saved:i?.progression.saved??[],redirectToWebo:x})]}):null};var k=e=>{let{i18n:t}=(0,l.s)(),{mutateAndRedirect:i}=(0,s.T)(),d=e=>{(0,o.xP)("click_more_recommended_courses"),i({cmsgid:e})};(0,n.useEffect)(()=>{(0,o.xP)("view_recommended_courses",{source:"dashboard"})},[]);let c=Array.isArray(e.data)?e.data:Object.values(e.data);return 0===c.length?null:(0,r.jsxs)(f,{id:"recomended-courses","data-testid":"recomended-courses",children:[(0,r.jsxs)(b,{"data-testid":"recommended-courses-header",children:[e.title??(0,r.jsx)(_,{children:t.t(`${u.y}.recommended.title`)}),(0,r.jsxs)(j,{to:"#",onClick:()=>d(),"data-testid":"see-all-courses-button",children:[t.t(`${u.y}.recommended.button`)," ",(0,r.jsx)(a.qJ.ChevronRight,{})]})]}),(0,r.jsx)(A,{courses:c,saved:e.saved,redirectToWebo:d})]})}},87003:function(e,t,i){"use strict";i.d(t,{U:function(){return l}}),i(18111),i(61701);var r=i(74848),n=i(99076),o=i(33798);let a=()=>(0,r.jsxs)(o.Zp,{children:[(0,r.jsx)(o.xW,{children:(0,r.jsx)(o.NV,{})}),(0,r.jsxs)(o.Q7,{children:[(0,r.jsxs)(o.W8,{children:[(0,r.jsxs)(o.Y9,{children:[(0,r.jsx)(o.Ud,{w:"40%",h:"14px"}),(0,r.jsx)(o.Ud,{w:"80%",h:"20px"})]}),(0,r.jsx)(o.Qo,{}),(0,r.jsx)(o.VY,{children:(0,r.jsx)(o.Ud,{w:"100%",h:"50px"})})]}),(0,r.jsxs)(o.wi,{children:[(0,r.jsxs)("div",{style:{display:"flex",gap:"8px"},children:[(0,r.jsx)(o.mU,{}),(0,r.jsx)(o.mU,{})]}),(0,r.jsx)(o.Ud,{w:"80%"})]})]})]}),l=()=>(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"32px",width:"100%"},children:[(0,r.jsx)(o.Ud,{w:"80%",h:"40px"}),(0,r.jsx)(n.A,{children:Array.from({length:6}).map((e,t)=>(0,r.jsx)(a,{},t))})]})},37562:function(e,t,i){"use strict";i.d(t,{Q:function(){return o}});var r=i(9421),n=i(49012);let o=()=>{let e=async()=>{let{data:e}=await n.R3.get("/learning/users",{headers:{"Cache-Control":"no-cache"}});return{progression:e?.course_progress,recommended:e?.recommended_courses??[],jobTitle:e?.job_title??null}};return(0,r.I)({queryKey:["future-learn-courses"],queryFn:e,useErrorBoundary:!1,cacheTime:0})}},81761:function(e,t,i){"use strict";i.d(t,{T:function(){return m}});var r=i(96540),n=i(96230),o=i(81247),a=i(33093),l=i(47767),s=i(53110),d=i(49012),
8225c=i(85922),u=i(83968),p=i(42692),h=i(77378),x=i(92657);let m=({onErrorState:e,onLoadingState:t,showSnackbarError:i=!0,showSnackbarLoading:m=!0}={})=>{let{i18n:g}=(0,h.s)(),{features:y}=(0,p.t)(),{openSnackBar:f}=(0,r.useContext)(u.Xj),{pathname:b}=(0,l.zy)(),_=(0,o.wA)(),v=y?.aiCoach&&"/"===b?96:16,j=async e=>(await d.R3.post("/learning/users/create_redirect_link",e)).data,A=(0,n.n)({mutationKey:["learning-hub-redirect-url"],mutationFn:j,onMutate:()=>{t?.(),m&&f({text:"Loading, please wait…",type:u.rK.loading,bottom:{phone:96,desktop:v}})},onError:(t,r)=>{var n;e?.();let{first_name:o,last_name:l,job_title:d}=(e=>{if(e instanceof s.pe&&"ERR_BAD_REQUEST"===e.code){let t=e.response?.data;return t?.response?.missing_parameters||{}}return{}})(t);if(o||l){(0,a.xP)("learning_hub_error",{type:"redirect",missing_parameters:"first_name, last_name"}),_(c.o1.toggleFutureLearnFullNameModal({open:!0,modal:"full_name",cmsgid:r.cmsgid}));return}if(d){(0,a.xP)("learning_hub_error",{type:"redirect",missing_parameters:"job_title"}),_(c.o1.toggleFutureLearnFullNameModal({open:!0,modal:"job_title",cmsgid:r.cmsgid}));return}if((0,a.xP)("learning_hub_error",{type:"redirect"}),!i)return;let p=(n=t)instanceof s.pe?"ERR_BAD_REQUEST"===n.code?`${x.y}.errors.bad_request`:`${x.y}.errors.redirect`:`${x.y}.errors.generic`;f({text:g.t(p),type:u.rK.failure,bottom:{phone:96,desktop:v}})}});return{...A,mutateAndRedirect:e=>{let t=window.open("","_blank");A.mutateAsync(e).then(e=>{t?t.location.href=e.redirect_url:window.open(e.redirect_url,"_blank")}).catch(e=>{t&&t.close(),console.error({error:e})})}}}},16071:function(e,t,i){"use strict";i.d(t,{E:function(){return Y},A:function(){return ee}});var r,n=i(74848);i(18111),i(61701);var o=i(96540),a=i(33093),l=i(77378),s=i(81761),d=i(92657),c=((r={}).IN_PROGRESS="in_progress",r.COMPLETED="completed",r.SAVED="saved",r),u=i(83906),p=i(99076),h=i(38267),x=i(99701),m=i(39204),g=i(17232),y=i(24833),f=i(49504);let b=h.Ay.div(["position:relative;width:100%;display:flex;flex-direction:column;gap:32px;"]),_=h.Ay.div(["display:flex;flex-direction:column;gap:",";"],x.Kz.M),v=h.Ay.h2(["",";",";color:",";"],f.Ay.M,f.BO.Medium,x.Jy.Neutral90),j=(0,h.Ay)(m.tU)(["gap:",";","{height:3px;}",""],x.Kz.L,g.Bq,y.$.Phone`
8226    align-items: flex-end;
8227  `),A=(0,h.Ay)(m.oz)(["padding:"," 0;margin-right:0;"," ",""],x.Kz.S,({isActive:e})=>e&&(0,h.AH)(["",";"],f.BO.Medium),y.$.Phone`
8228    flex: 1;
8229    text-align: center;
8230  `),C=h.Ay.div(["display:flex;gap:16px;"]),w=h.Ay.div(["display:flex;gap:24px;width:100%;position:relative;"]),k=h.Ay.div(["flex:1;height:300px;border-radius:16px;background:linear-gradient(180deg,#f7f9fc 0%,rgba(247,249,252,0) 83.96%);",""],y.$.Phone`
8231    height: 220px;
8232  `),S=h.Ay.div(["position:absolute;display:flex;flex-direction:column;align-items:center;gap:16px;width:100%;height:100%;margin-top:82px;",""],y.$.Phone`
8233    margin-top: 80px;
8234  `),T=h.Ay.h3(["",";",";color:",";"],f.Ay.Body,f.BO.Regular,x.Jy.Neutral90),P=h.Ay.img(["width:38px;height:38px;"]);var J=i(86066),E=i.p+"media/in-progress-empty-iconb1a0e4113b652112.svg",R=i.p+"media/completed-empty-iconc720ae2fceef014a.svg",L=i.p+"media/saved-empty-iconbad5e3982677a428.svg";let N=e=>{let{i18n:t}=(0,l.s)(),{isTablet:i}=(0,J.e)(),r=`${d.y}.progress.empty`,o={in_progress:{icon:E,title:t.t(`${r}.in_progress`)},completed:{icon:R,title:t.t(`${r}.completed`)},saved:{icon:L,title:t.t(`${r}.saved`)}};return(0,n.jsxs)(w,{"data-testid":"empty-progress-state",children:[Array.from({length:i?2:4}).map((e,t)=>(0,n.jsx)(k,{},t)),(0,n.jsxs)(S,{children:[(0,n.jsx)(P,{src:o[e.state].icon}),(0,n.jsx)(T,{children:o[e.state].title})]})]})},I=e=>{let{i18n:t}=(0,l.s)(),{mutateAndRedirect:i}=(0,s.T)(),r=`${d.y}.progress`,h=[{id:c.IN_PROGRESS,label:t.t(`${r}.tab.in_progress`),eventId:"click_my_courses_tab"},{id:c.COMPLETED,label:t.t(`${r}.tab.completed`),eventId:"click_my_courses_tab"},{id:c.SAVED,label:t.t(`${r}.tab.saved`),eventId:"click_my_courses_tab"}],[x,m]=(0,o.useState)(h[0].id),g=e.data?.[x]||[],y=async e=>i({cmsgid:e});return(0,n.jsxs)(b,{"data-testid":"courses-progress",children:[(0,n.jsxs)(_,{children:[(0,n.jsx)(v,{children:t.t(`${r}.title`)}),(0,n.jsx)(j,{"data-testid":"progress-tabs",children:h.map(e=>(0,n.jsx)(A,{isActive:x===e.id,onClick:()=>{e.eventId&&(0,a.xP)(e.eventId,{tab:e.id}),m(e.id)},"data-testid":`${e.id}-tab`,children:e.label},e.id))})]}),(0,n.jsx)(C,{"data-testid":`${x}-courses`,children:g.length?(0,n.jsx)(p.A,{children:g.map((e,t)=>(0,n.jsx)(u.m5,{courseId:e.cmsgid,onClick:()=>
8234y(e.cmsgid),title:e.title,description:e.introduction||"",imageSrc:e.small_image,rating:e?.progress?.steps_completed_ratio??void 0,weeks:e.duration_in_weeks,hoursPerWeek:e.hours_per_week,enrolled:e.open_for_enrolment,provider:e.organisation?.name,status:"progress",category:e.categories?.[0],logoSrc:e.organisation?.organisation_image,progress:e?.progress?Math.round(100*e.progress.steps_completed_ratio):void 0},e.course_uuid||t))}):(0,n.jsx)(N,{state:x})})]})};var M=i(84976),B=i(91779);let D=h.Ay.div(["position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;width:100%;",""],y.A.Phone`
8235    grid-template-columns: repeat(2, 1fr);
8236  `),$=h.Ay.div(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;max-width:415px;width:100%;"]),O=h.Ay.div(["height:360px;background:linear-gradient(to bottom,rgba(247,249,252,1) 0%,rgba(247,249,252,0) 100%);border-radius:16px;"]),z=h.Ay.h2(["",";",";text-align:center;"],f.Ay.M,f.BO.Medium),F=h.Ay.p(["text-align:center;"]),H=h.Ay.div(["background-color:",";position:relative;width:100%;"],x.Jy.White),V=(0,h.Ay)(M.N_)(["display:flex;padding:4px;gap:12px;align-items:center;will-change:color;transition:color 0.1s ease-out;&:hover{color:",";}"],x.Jy.Blue60);var U=i.p+"media/NoJobTitleFoundIcon7beb6ec3c735f5c5.svg";let W={display:"flex",flexDirection:"column",alignItems:"center",gap:"8px"},K=()=>{let{i18n:e}=(0,l.s)(),{isPhone:t}=(0,J.e)(),i=`${d.y}.recommended.no_job_title`;return(0,o.useEffect)(()=>{(0,a.xP)("recommended_courses_missing_title")},[]),(0,n.jsxs)(D,{"data-testid":"no-job-title-found",children:[(0,n.jsx)(O,{hidden:t}),(0,n.jsx)(O,{hidden:t}),(0,n.jsx)(O,{}),(0,n.jsx)(O,{}),(0,n.jsxs)($,{children:[(0,n.jsx)("img",{src:U}),(0,n.jsxs)("div",{style:W,children:[(0,n.jsx)(z,{children:e.t(`${i}.title`)}),(0,n.jsx)(F,{children:e.t(`${i}.description`)})]}),(0,n.jsx)(B.Ay,{as:M.N_,to:"/career-profile/edit?section=jobPreferences&returnUrl=/?categoryTab=learning&serviceId=upskill",onClick:()=>(0,a.xP)("recommended_courses_add_title"),"data-testid":"add-job-title-button",children:e.t(`${i}.button`)})]})]})},q=e=>{let{i18n:t}=(0,l.s)(),{isPhone:i}=(0,J.e)(),r=`${d.y}.recommended.invalid_job_title`;return(0,o.useEffect)(()=>{(0,a.xP)("recommended_courses_missing_title")},[]),(0,n.jsxs)(D,{"data-testid":"no-job-title-found",children:[(0,n.jsx)(O,{hidden:i}),(0,n.jsx)(O,{hidden:i}),(0,n.jsx)(O,{}),(0,n.jsx)(O,{}),(0,n.jsxs)($,{children:[(0,n.jsx)("img",{src:U}),(0,n.jsxs)("div",{style:W,children:[(0,n.jsx)(z,{children:t.t(`${r}.title`,{job_title:e.jobTitle})}),(0,n.jsx)(F,{children:t.t(`${r}.description`)})]}),(0,n.jsx)(B.Ay,{as:M.N_,to:"/career-profile/edit?section=jobPreferences&returnUrl=/?categoryTab=learning&serviceId=upskill",onClick:()=>(0,a.xP)("recommended_courses_add_title"),"data-testid":"add-job-title-button",children:t.t(`${r}.button`)})]})]})};var G=i(37562),Z=i(87003),X=i(77185),Q=i.p+"media/LearningHubProfileIcon9291122e58c7c8a6.svg";let Y=()=>{let{i18n:e}=(0,l.s)(),{mutateAndRedirect:t}=(0,s.T)();return(0,n.jsxs)(V,{to:"#",onClick:()=>t({}),"data-testid":"learning-hub-link",children:[(0,n.jsx)("img",{src:Q,width:"32px",height:"32px",alt:"Learning Hub Icon"}),e.t(`${d.y}.title`)]})};var ee=()=>{let{data:e,isLoading:t,error:i}=(0,G.Q)(),r=!e?.jobTitle;return(0,n.jsx)(H,{id:"learning-content-dashboard","data-testid":"learning-content-dashboard",children:i?null:t?(0,n.jsx)(Z.U,{}):e?.progression.in_progress.length?(0,n.jsx)(I,{data:e.progression}):r?(0,n.jsx)(K,{}):e.recommended?.length?(0,n.jsx)(X.Ay,{data:e?.recommended,saved:e?.progression.saved??[]}):(0,n.jsx)(q,{jobTitle:e.jobTitle||"Invalid Job Title"})})}},92657:function(e,t,i){"use strict";i.d(t,{x:function(){return n},y:function(){return r}});let r="builder.dashboard.learning_hub";function n(e,t){return e.length<=t?e:e.slice(0,t-3)+"..."}},55144:function(e,t,i){"use strict";i.d(t,{KO:function(){return d},MD:function(){return l},fP:function(){return s},oj:function(){return a},y5:function(){return c}}),i(14603),i(47566),i(98721);var r=i(8559);i(56749);let n="builder.job_search_v2.metadata.salary",o="builder.job_search_v2.metadata.location_type",a=(e,t)=>{let{min_salary:i,max_salary:r}=t;if(null==i&&null==r)return null;let o=t=>t>=1e3?e.t(`${n}.thousands`,{value:Math.round(t/1e3)}):e.t(`${n}.exact`,{value:t}),a=t.salary_time_unit?.toLowerCase(),l=a?e.t(`${n}.unit.${a}`,{defaultValue:""}):"";return null!=i&&null!=r?e.t(`${n}.range`,{min:o(i),max:o(r),unit:l}):null!=i?e.t(`${n}.from`,{min:o(i),unit:l}):null!=r?e.t(`${n}.up_to`,{max:o(r),unit:l}):null},l=(e,t)=>
8236t?e.t(`builder.job_search_v2.metadata.employment_type.${t}`,{defaultValue:t.replace(/_/g,"-").replace(/^\w/,e=>e.toUpperCase())}):null,s=(e,t)=>{let i=t.job_location_type;return"remote"===i||"hybrid"===i?e.t(`${o}.${i}`):!i&&t.location?.toLowerCase().includes("remote")?e.t(`${o}.remote`):null},d=e=>{let t=(0,r.ZH)(e.location||"");return t?e.location_id?{formatted:t,value:String(e.location_id),text:t,locationType:"location_id"}:{formatted:t,value:t,text:t,locationType:"string_location"}:null},c=e=>e.company_id?`/company/${e.company_id}`:null},99381:function(e,t,i){"use strict";i.d(t,{b:function(){return s},g:function(){return l}});var r=i(81247),n=i(18509),o=i(85922),a=i(12330);function l(e,t){return!1}let s=()=>{let e=(0,r.wA)();return{isOpen:!1,label:(0,n.N)(o.Tp.isAutoApplyResumeDistributionModalPayload).label,planName:"20_credits_autoapply",closeModal:()=>{a.D.setItem("rd-auto-apply-dual-modal","true"),e(o.o1.toggleAutoApplyResumeDistributionModal({open:!1}))}}}},1571:function(e,t,i){"use strict";i.d(t,{$j:function(){return b},Dr:function(){return y},PC:function(){return g},Y9:function(){return p},_s:function(){return u},gY:function(){return h},mc:function(){return c},oq:function(){return m},po:function(){return f},uC:function(){return x}});var r=i(38267),n=i(99701),o=i(49504),a=i(14649),l=i(35980);let s=(0,r.i7)(["from{transform:translateY(100%);}to{transform:translateY(0);}"]),d=(0,r.i7)(["from{background:rgba(30,37,50,0);}to{background:rgba(30,37,50,0.8);}"]),c=r.Ay.div(["position:fixed;width:100%;height:100%;bottom:0;z-index:1001;animation:"," 0.5s ease-in;background:rgba(30,37,50,0.8);"],d),u=r.Ay.div(["position:fixed;bottom:0;background:#fff;border-radius:24px 24px 0 0;width:100%;min-height:550px;animation:"," 0.5s ease-out;"],s),p=r.Ay.div(["display:flex;align-items:center;padding:20px 20px 16px 20px;"]),h=r.Ay.div(["color:",";",";",";"," ",""],n.Jy.Neutral90,o.Ay.Subhead,o.BO.Medium,({isSubMenu:e})=>e&&(0,r.AH)(["margin:auto;"]),({isCareerProfile:e})=>e&&(0,r.AH)(["color:",";",";",";"],n.Jy.Neutral50,o.Ay.Caps,o.BO.DemiBold)),x=(0,r.Ay)(a.EK.Close)(["margin-left:auto;"]),m=r.Ay.div(["cursor:pointer;"]),g=(0,r.Ay)(a.EK.ChevronDown)(["transform:rotate(90deg);path{fill:",";}"],n.Jy.Neutral100),y=r.Ay.div([""]),f=(0,r.Ay)(l.sW)(["padding:12px;",";",";"],o.Ay.Body,o.BO.Medium);(0,r.Ay)(a.EK.ChevronDown)(["transform:rotate(-90deg);path{fill:",";}"],n.Jy.Neutral50),(0,r.Ay)(a.EK.ArrowLeft)(["transform:rotate(135deg);"]),n.Jy.Blue50,n.Jy.White,o.Ay.Tiny,o.BO.DemiBold;let b=r.Ay.div([""])},29834:function(e,t,i){"use strict";i.d(t,{n:function(){return r}});let r=()=>{let e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")&&!e.includes("android")}},64377:function(e,t,i){"use strict";i.d(t,{do:function(){return Y},bk:function(){return G},u0:function(){return Q}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(74755),a=i(40961),l=i(33093),s=i(81247),d=i(99701),c=i(77378),u=i(86066),p=i(66795),h=i(39149),x=i(67776),m=i.n(x),g=i(38267),y=i(67592),f=i(24833),b=i(49504);let _=(0,g.AH)(["::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"]),v=(0,g.i7)(["0%{background-color:",";}25%,75%{background-color:",";}100%{background-color:",";}"],d.Jy.Indigo50,d.Jy.Indigo10,d.Jy.Indigo50),j=g.Ay.div(["position:relative;width:10px;height:10px;border-radius:5px;background-color:",";animation:"," 1s infinite linear alternate;&::before,&::after{content:'';display:inline-block;position:absolute;top:0;width:10px;height:10px;border-radius:5px;background-color:",";animation:"," 1s infinite alternate;}&::before{left:-15px;animation-delay:-0.33s;}&::after{left:15px;animation-delay:0.33s;}"],d.Jy.Indigo50,v,d.Jy.Indigo50,v),A=g.Ay.div(["position:fixed;background:",";border:1px solid ",";border-radius:16px;display:flex;flex-direction:column;",";z-index:99999;overflow:hidden;&.default{bottom:15px;left:50%;transform:translateX(-50%);width:544px;height:620px;}&.floating{bottom:15px;right:24px;width:544px;min-height:547px;max-height:95%;height:auto;}&.fullscreen{top:0;left:0;width:100%;height:100%;border-radius:0;overflow:hidden;}"],d.Jy.White,d.Jy.Neutral10,y.A.lightWithBorder.high),C=g.Ay.form(["position:relative;height:100%;max-width:736px;width:100%;margin:0 auto;display:flex;flex-grow:1;flex-direction:column;justify-content:space-between;overflow:hidden;"]),w=g.Ay.div(["display:flex;justify-content:space-between;align-items:center;flex:0;padding:24px 16px 16px 16px;"]),k=g.Ay.h2(["font-family:'TT Commons',system-ui,sans-serif;",";",";"],b.o5.Subhead,b.BO.Medium),S=g.Ay.div(["position:relative;flex:1;overflow-y:auto;padding:0 16px 16px 16px;height:100%;",""],_),T=g.Ay.div(["display:flex;align-items:flex-end;
8236gap:10px;margin-bottom:10px;.assistant{background-color:",";color:",";padding:8px 12px;border-radius:12px;align-self:flex-start;a{color:",";}}.user{background-color:",";color:",";padding:8px 12px;border-radius:12px;align-self:flex-end;margin-left:auto;}"],d.Jy.Indigo10,d.Jy.Neutral90,d.Jy.Indigo50,d.Jy.Neutral5,d.Jy.Neutral90),P=g.Ay.a(["border:1px solid ",";background:",";border-radius:",";color:",";padding:8px 12px;display:flex;gap:4px;align-items:center;",";&:hover{border-color:",";}"],d.Jy.Neutral15,d.Jy.White,d.Kz.M,d.Jy.Neutral90,b.o5.Caption,d.Jy.Indigo50),J=g.Ay.div(["position:relative;padding:0 16px 24px 16px;"]),E=g.Ay.textarea.attrs(e=>({ref:e.ref}))(["position:relative;border:1px solid ",";width:100%;min-height:64px;max-height:200px;border-radius:16px;padding:18px "," 18px ",";resize:none;overflow-y:auto;outline:none;text-align:start;vertical-align:middle;",";",";&:focus{outline:"," auto 1px;}"],d.Jy.Indigo10,d.Kz["2XL"],d.Kz.M,b.o5.Body,_,d.Jy.Indigo50),R=g.Ay.button(["position:absolute;right:24px;top:50%;transform:translateY(-50%);border:none;cursor:pointer;background:",";border-radius:50%;height:36px;width:36px;&:hover{background:",";}&:active{background:",";}"],({isTyping:e})=>e?d.Jy.Blue10:d.Jy.Neutral10,d.Jy.Blue10,d.Jy.Blue10),L=g.Ay.div(["display:flex;flex-direction:",";gap:",";justify-content:",";align-items:",";"],({direction:e})=>e||"row",({gap:e})=>e||"0",({justifyContent:e})=>e||"flex-start",({alignItems:e})=>e||"center"),N=g.Ay.span(["display:flex;justify-content:center;align-items:center;width:40px;height:40px;border-radius:50%;overflow:hidden;background-color:",";flex-shrink:0;padding:5px;visibility:",";"],d.Jy.Indigo10,({visibility:e})=>e||"visible"),I=g.Ay.div(["display:flex;align-items:center;gap:10px;color:",";background:",";border:1px solid ",";border-radius:16px;padding:16px;",";"],d.Jy.Red50,d.Jy.Red10,d.Jy.Red10,b.o5.Caption),M=g.Ay.button(["background-color:",";color:",";border:2px solid ",";padding:"," ",";cursor:pointer;z-index:999;",";",";&:hover{border-color:",";}&.default{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);width:400px;height:64px;border-radius:16px;& img{width:24px;height:24px;}}&.minimal{background-color:",";position:fixed;bottom:15px;right:24px;width:72px;height:72px;display:flex;justify-content:center;align-items:center;border-radius:50%;"," & img{width:32px;height:32px;}}&.navitem{width:48px;height:48px;display:flex;justify-content:center;align-items:center;border-radius:50%;"," & img{width:24px;height:24px;}}"],d.Jy.White,d.Jy.Neutral70,d.Jy.Indigo10,d.Kz["2XS"],d.Kz.M,b.BO.Regular,y.A.lightWithBorder.high,d.Jy.Indigo50,d.Jy.White,f.A.Phone`bottom: 100px;`,f.A.Phone`bottom: 100px;`),B=g.Ay.span(["display:",";border:none;cursor:pointer;svg path{fill:",";stroke:",";transition:fill 0.3s ease;}&:hover svg path{fill:",";stroke:",";}"],({hidden:e})=>e?"none":"inline-block",({fill:e})=>e||"currentColor",({stroke:e})=>e||"none",d.Jy.Blue50,({stroke:e})=>e?d.Jy.Blue50:"none"),D=g.Ay.button(["position:sticky;background:white;width:32px;height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;border:1px solid ",";bottom:0;left:50%;transform:translateX(-50%);z-index:999;",";"],d.Jy.Neutral10,y.A.lightWithBorder.low),$=g.Ay.a(["color:",";",";&:hover{color:",";}"],d.Jy.Indigo50,b.BO.Medium,d.Jy.Indigo70),O=g.Ay.strong(["",";"],b.BO.Medium),z=g.Ay.ul(["display:flex;flex-direction:column;gap:4px;margin:8px 0 8px 36px;padding:0;"]),F=g.Ay.h3(["margin-top:20px;margin-bottom:8px;",";"],b.BO.Medium);delete h.$.defaultProps;let H={ul:({children:e,...t})=>(0,r.jsx)(z,{...t,as:"ul",children:e}),ol:({children:e,...t})=>(0,r.jsx)(z,{...t,as:"ol",children:e}),strong:({children:e,...t})=>(0,r.jsx)(O,{...t,children:e}),a:({children:e,...t})=>(0,r.jsx)($,{onClick:()=>{let i={name:e.toString(),url:t.href};(0,l.xP)("chat_click_link",i)},target:"_blank",...t,children:e}),h1:({children:e,...t})=>(0,r.jsx)(F,{...t,as:"h1",children:e}),h2:({children:e,...t})=>(0,r.jsx)(F,{...t,as:"h2",children:e}),h3:({children:e,...t})=>(0,r.jsx)(F,{...t,as:"h3",children:e})},V=(0,n.memo)(({children:e})=>(0,r.jsx)(h.$,{remarkPlugins:[m()],components:H,children:e}),(e,t)=>e.children===t.children);var U=i(14649),W=i.p+"media/AssistantIcon4bce80c1f176c7c1.svg";let K={Close:function(e){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_903_856)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.30005 11.9998C6.30005 11.6132 
82366.61345 11.2998 7.00005 11.2998L17 11.2998C17.3866 11.2998 17.7 11.6132 17.7 11.9998C17.7 12.3864 17.3866 12.6998 17 12.6998L7.00005 12.6998C6.61345 12.6998 6.30005 12.3864 6.30005 11.9998Z",fill:"#495163"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_903_856",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})},Expand:function(e){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_903_851)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0005 5.64355C11.6139 5.64355 11.3005 5.95696 11.3005 6.34355C11.3005 6.73015 11.6139 7.04355 12.0005 7.04355L15.9674 7.04356L14.3512 8.65976C14.3452 8.66538 14.3392 8.67113 14.3334 8.677L7.04307 15.9673L7.04307 12.0004C7.04307 11.6138 6.72967 11.3004 6.34307 11.3004C5.95647 11.3004 5.64307 11.6138 5.64307 12.0004V17.6573C5.64307 18.0439 5.95647 18.3573 6.34307 18.3573L11.9999 18.3573C12.3865 18.3573 12.6999 18.0439 12.6999 17.6573C12.6999 17.2707 12.3865 16.9573 11.9999 16.9573L8.03302 16.9573L9.64922 15.341C9.65525 15.3354 9.6612 15.3297 9.66707 15.3238L16.9574 8.0335L16.9574 12.0004C16.9574 12.387 17.2708 12.7004 17.6574 12.7004C18.044 12.7004 18.3574 12.387 18.3574 12.0004L18.3574 6.34355C18.3574 5.95696 18.044 5.64355 17.6574 5.64355H12.0005Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_903_851",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})},AiCoach:function(e){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M6.51605 4.87706C6.64507 4.37692 7.35534 4.37692 7.48435 4.87706L7.74678 5.89437C7.79223 6.07058 7.92983 6.20817 8.10604 6.25363L9.12334 6.51605C9.62349 6.64507 9.62349 7.35534 9.12334 7.48435L8.10604 7.74678C7.92983 7.79223 7.79223 7.92983 7.74678 8.10604L7.48435 9.12334C7.35534 9.62349 6.64507 9.62349 6.51605 9.12334L6.25363 8.10604C6.20817 7.92983 6.07058 7.79223 5.89437 7.74678L4.87706 7.48435C4.37692 7.35534 4.37692 6.64507 4.87706 6.51605L5.89437 6.25363C6.07058 6.20817 6.20817 6.07058 6.25363 5.89437L6.51605 4.87706Z",fill:"#7A82F5"}),(0,r.jsx)("path",{d:"M13.0371 6.13379C13.2064 5.71912 13.7936 5.71912 13.9629 6.13379L15.5949 10.1311C15.6457 10.2555 15.7445 10.3543 15.8689 10.4051L19.8662 12.0371C20.2809 12.2064 20.2809 12.7936 19.8662 12.9629L15.8689 14.5949C15.7445 14.6457 15.6457 14.7445 15.5949 14.8689L13.9629 18.8662C13.7936 19.2809 13.2064 19.2809 13.0371 18.8662L11.4051 14.8689C11.3543 14.7445 11.2555 14.6457 11.1311 14.5949L7.13379 12.9629C6.71912 12.7936 6.71912 12.2064 7.13379 
823612.0371L11.1311 10.4051C11.2555 10.3543 11.3543 10.2555 11.4051 10.1311L13.0371 6.13379Z",fill:"#7A82F5",stroke:"#7A82F5",strokeWidth:"1.4"})]})},Send:function(e){return(0,r.jsx)("svg",{width:"17",height:"13",viewBox:"0 0 17 13",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M16 1H1L5.5 5.5V12L16 1Z",stroke:"#828BA2",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})},Loading:function(e){return(0,r.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("circle",{cx:"6",cy:"10",r:"3.25",fill:"#7A82F5",stroke:"#D9DEEB",strokeWidth:"0.5"}),(0,r.jsx)("circle",{cx:"16",cy:"10",r:"3.25",fill:"#7A82F5",stroke:"#D9DEEB",strokeWidth:"0.5"}),(0,r.jsx)("circle",{cx:"26",cy:"10",r:"3.25",fill:"#7A82F5",stroke:"#D9DEEB",strokeWidth:"0.5"})]})},ArrowDown:(0,g.Ay)(U.EK.ArrowLeft)(["transform:rotate(-90deg);"]),CircleError:U.Ay.CircleError,LinkArrow:function(e){return(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 29 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M17.6778 16.1811V11.4657M17.6778 11.4657H12.9624M17.6778 11.4657L10.6047 18.5388",stroke:"#828BA2",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})},Assistant:e=>(0,r.jsx)("img",{src:W,alt:"Assistant",...e})};var q=i(42692);function G(){let{features:e}=(0,q.t)();return{isVirtualCoachEnabled:!!e.aiCoach}}let Z=(0,n.forwardRef)((e,t)=>{let i=(0,n.useRef)(null),o=()=>{let e=i.current;e&&(e.style.height="64px",e.style.height=`${Math.min(e.scrollHeight,200)}px`)};return(0,n.useEffect)(()=>{o()},[]),(0,r.jsx)(E,{ref:e=>{i.current=e,"function"==typeof t?t(e):t&&(t.current=e)},...e,rows:1,onInput:o})});function X(e){let t,i,h,{i18n:x}=(0,c.s)(),{isPhone:m}=(0,u.e)(),g=(0,s.wA)(),[y,f]=(0,n.useState)(!1),{messages:b,error:_,loading:v,handleSubmit:E}=(t=(0,s.wA)(),i=(0,s.d4)(p.Tp.messages),h=(0,s.d4)(p.Tp.loading),{messages:i,handleSubmit:async e=>{e.preventDefault(),e.stopPropagation();let i=e.currentTarget,r=new FormData(i).get("prompt");t(p.o1.sendMessage(r)),i.reset()},loading:h,error:(0,s.d4)(p.Tp.error)}),$=(0,n.useRef)(null),[O,z]=(0,n.useState)(!1),{layoutVariant:F,toggleFullScreen:H}=function(e){let[t,i]=(0,n.useState)(e),r=(0,n.useRef)(null);return{layoutVariant:t,toggleFullScreen:()=>{"fullscreen"===t?(i(r.current||"default"),(0,l.xP)("chat_collapsed"),r.current=null):(i("fullscreen"),(0,l.xP)("chat_expanded"),r.current=t)}}}(e.layoutVariant),{triggerVariant:U}=e,{chatBodyRef:W,trackScroll:q,showScrollIndicator:G,scrollToBottom:X}=function(e){let[t,i]=(0,n.useState)(!1),r=(0,n.useRef)(null),o=()=>{r.current&&r.current.scrollTo({top:r.current.scrollHeight,behavior:"smooth"})};return(0,n.useEffect)(()=>{e.open&&r.current&&o()},[e.messages,e.open]),{chatBodyRef:r,showScrollIndicator:t,trackScroll:()=>{if(r.current){let{scrollTop:e,scrollHeight:t,clientHeight:n}=r.current;i(!(e+n>t-100))}},scrollToBottom:o}}({open:y,messages:b}),Q=()=>{f(e=>{let t=!e;return t?(g(p.o1.openChatBot()),(0,l.xP)("chat_open")):(0,l.xP)("chat_closed"),t})};return(0,n.useEffect)(()=>{y&&"fullscreen"===F?(0,o.disableBodyScroll)(document.body):(0,o.enableBodyScroll)(document.body)},[y,F]),(0,n.useEffect)(()=>{$.current&&!v&&y&&$.current.focus()},[y,v]),(0,r.jsx)(n.Fragment,{children:y?(0,a.createPortal)((0,r.jsxs)(A,{className:F,children:[(0,r.jsxs)(w,{children:[(0,r.jsxs)(L,{gap:"10px",justifyContent:"flex-start",children:[(0,r.jsx)(K.AiCoach,{}),(0,r.jsx)(k,{children:x.t("builder.virtual_coach.title")})]}),(0,r.jsxs)(L,{children:[(0,r.jsx)(B,{as:"button",type:"button",fill:d.Jy.Neutral100,onClick:H,hidden:m,children:(0,r.jsx)(K.Expand,{})}),(0,r.jsx)(B,{as:"button",type:"button",fill:d.Jy.Neutral100,onClick:Q,children:(0,r.jsx)(K.Close,{})})]})]}),(0,r.jsxs)(C,{onSubmit:E,children:[(0,r.jsxs)(S,{ref:W,onScroll:q,children:[b?.map((e,t)=>(0,r.jsxs)(T,{children:[(0,r.jsx)(N,{visibility:"assistant"===e.role?"visible":"hidden",children:(0,r.jsx)(K.Assistant,{width:24,height:24})}),"assistant"===e.role&&(0,r.jsxs)(L,{gap:"10px",direction:"column",alignItems:"flex-start",children:[(0,r.jsx)("div",{className:"assistant",children:(0,r.jsx)(V,{children:e.content})}),e.urlLinks?.map((e,t)=>(0,r.jsxs)(P,{href:e.url,target:"_blank",rel:"noreferrer",onClick:()=>{(0,l.xP)("chat_click_link",{name:e.name,url:e.url})},children:[e.name,(0,r.jsx)(K.LinkArrow,{})]},t))]}),"user"===e.role&&(0,r.jsxs)("div",{className:"user",children:[" ",e.content]}
8236)]},t)),_&&(0,r.jsxs)(I,{children:[(0,r.jsx)(K.CircleError,{})," ",x.t(_)]}),v&&(0,r.jsxs)(L,{gap:"26px",alignItems:"center",children:[(0,r.jsx)(N,{children:(0,r.jsx)(K.Assistant,{width:24,height:24})}),(0,r.jsx)(j,{})]}),G&&(0,r.jsx)(D,{type:"button",onClick:X,children:(0,r.jsx)(B,{children:(0,r.jsx)(K.ArrowDown,{})})})]}),(0,r.jsx)(J,{children:(0,r.jsxs)("div",{style:{position:"relative"},children:[(0,r.jsx)(Z,{name:"prompt",autoComplete:"off",autoFocus:!0,placeholder:x.t("builder.virtual_coach.input_placeholder"),required:!0,ref:$,disabled:v,onChange:e=>z(""!==e.target.value.trim()),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),e.currentTarget.form?.requestSubmit(),z(!1))}}),(0,r.jsx)(R,{type:"submit",disabled:v,isTyping:O,children:(0,r.jsx)(B,{stroke:O?d.Jy.Blue50:d.Jy.Neutral50,fill:O?d.Jy.Blue50:d.Jy.White,children:(0,r.jsx)(K.Send,{})})})]})})]})]}),document.body):(0,r.jsx)(M,{className:U,onClick:Q,children:(0,r.jsxs)(L,{gap:"15px",justifyContent:"flex-start",children:[(0,r.jsx)(K.Assistant,{}),"default"===U&&(0,r.jsx)("span",{children:x.t("builder.virtual_coach.trigger_label")})]})})})}function Q(e){let{isPhone:t}=(0,u.e)();if(!t)return null;let i={layoutVariant:e.layoutVariant??"fullscreen",triggerVariant:e.triggerVariant??"navitem"};return(0,r.jsx)(X,{...i})}function Y(e){let{isPhone:t}=(0,u.e)();return t?null:(0,r.jsx)(X,{...e})}},42692:function(e,t,i){"use strict";i.d(t,{t:function(){return l}});var r=i(18509),n=i(69352),o=i(57238);class a{features;user;constructor(e,t){this.features=e||{},this.user=t}showResumeDistribution(){let e=this.user?.hasPremiumFeatures&&!this.user?.hasPremiumPlusFeatures;return!!(this.features?.rdPromo?.rdPromoPlan||this.features?.resumeDistribution&&!e||this.user?.scopes?.resumeDistribution)}isUkOrUs(){return["US","GB"].includes(this.features.geoipCode||"")||!!this.user?.scopes?.resumeDistribution}isDashboardV4(){return!!this.features.dashboardV4}}let l=()=>{let e=(0,r.N)(o.Tp.userData);return new a((0,r.N)(e=>n.Tp.config(e,n.l1.app)?.features),e)}},7439:function(e,t,i){"use strict";i.d(t,{b:function(){return n}});var r=i(9888);let n=()=>{let e=(0,r.U)();return{isAutoTailoringEnabled:!!e?.features?.builderAutotailoring}}},300:function(e,t,i){"use strict";i.d(t,{y:function(){return o}});var r=i(96540),n=i(74755);let o=(e,t)=>{let i=(0,r.useRef)(t);(0,r.useLayoutEffect)(()=>{let t=e.current;return t&&(0,n.disableBodyScroll)(t,i.current),()=>{t&&(0,n.enableBodyScroll)(t)}},[e])}},9673:function(e,t,i){"use strict";i.d(t,{b:function(){return d}});var r=i(96540),n=i(81247),o=i(18509),a=i(34346),l=i(8037),s=i(50328);let d=e=>{let t=(0,n.wA)(),i=(0,s.g)()&&!e,d=(0,o.N)(a.Tp.fetchCareerInsightsStatus),c=(0,o.N)(a.Tp.careerInsightsData),u=d===l.Hp.loading;return(0,r.useEffect)(()=>{i&&d===l.Hp.notAsked&&t(a.o1.startCareerInsightsPolling())},[i,d,t]),{careerInsightsData:c,isCareerInsightsLoading:u}}},57295:function(e,t,i){"use strict";i.d(t,{B:function(){return d}});var r=i(96540),n=i(81247),o=i(18509),a=i(34346),l=i(8037),s=i(50328);let d=e=>{let t=(0,n.wA)(),i=(0,s.g)()&&!e,d=(0,o.N)(a.Tp.fetchCareerProfileStatus),c=(0,o.N)(a.Tp.careerProfileData),u=d===l.Hp.loading||!!i&&d===l.Hp.notAsked;return(0,r.useEffect)(()=>{i&&d===l.Hp.notAsked&&t(a.o1.fetchCareerProfile())},[i,d,t]),{careerProfileData:c,isCareerProfileLoading:u}}},62317:function(e,t,i){"use strict";i.d(t,{L:function(){return a},q:function(){return o}});var r=i(96540),n=i(76608);let o=(e,t)=>!!e&&t.target instanceof Element&&e.contains(t.target),a=(e,t)=>{let i=(0,n._)(t);(0,r.useEffect)(()=>{let t=!1,r=r=>{t||o(e.current,r)||i(r)},n=i=>{t=o(e.current,i)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),document.addEventListener("click",r,!0),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n),document.removeEventListener("click",r,!0)}},[e,i])}},9888:function(e,t,i){"use strict";i.d(t,{U:function(){return o}});var r=i(18509),n=i(69352);let o=e=>(0,r.N)(t=>n.Tp.config(t,e))},90774:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});var r=i(96540);function n(e){let t=(0,r.useRef)();return t.current||(t.current={value:e()}),t.current.value}},2670:function(e,t,i){"use strict";i.d(t,{Y:function(){return a}});var r=i(96540),n=i(38221),o=i.n(n);let a=(e,t)=>{let i=(0,r.useRef)(e);return i.current=e,(0,r.useMemo)(()=>o()((...e)=>i.current(...e),t),[t])}},36961:function(e,t,i){"use strict";i.d(t,{h:function(){return n}});var r=i(96540);let n=e=>{let t=(0,r.useRef)(e);(0,r.useEffect)(()=>
8236{if("function"==typeof t.current)return t.current()},[])}},56155:function(e,t,i){"use strict";i.d(t,{j:function(){return s}}),i(44114),i(18111),i(22489);var r=i(96540),n=i(44329),o=i(90774),a=i(76608);let l=[],s=e=>{let t=(0,a._)(e),i=(0,o.M)(()=>(0,n.Ak)()),s=function(e){let[t,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=e=>{(27===e.key||27===e.keyCode)&&i(!0)},t=e=>{(27===e.key||27===e.keyCode)&&i(!1)};return window.addEventListener("keydown",e),window.addEventListener("keyup",t),()=>{window.removeEventListener("keydown",e),window.removeEventListener("keyup",t)}},[27]),t}(0);(0,r.useEffect)(()=>{s&&l.at(-1)===i&&t()},[t,i,s]),(0,r.useEffect)(()=>(l.push(i),()=>{l=l.filter(e=>e!==i)}),[i])}},76608:function(e,t,i){"use strict";i.d(t,{_:function(){return n}});var r=i(96540);let n=e=>{let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e},[e]),(0,r.useCallback)((...e)=>t.current?.(...e),[t])}},19467:function(e,t,i){"use strict";i.d(t,{t:function(){return n}});var r=i(96540);function n(e){let[t,i]=(0,r.useState)(()=>(e=>{let t={};for(let i in e)t[i]=null==e[i]?"":e[i];return t})(e));return[t,(0,r.useCallback)(e=>{let{name:t,value:r}=e.target;i(e=>({...e,[t]:r||""}))},[])]}},44050:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});var r=i(96540);function n(){let[e,t]=(0,r.useState)(!1),i=(0,r.useCallback)(()=>t(!0),[]),n=(0,r.useCallback)(()=>t(!1),[]),o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=o.current;if(e)return e.addEventListener("mouseenter",i),e.addEventListener("mouseleave",n),()=>{e.removeEventListener("mouseenter",i),e.removeEventListener("mouseleave",n)}},[i,n]),{hoverRef:o,isHovering:e}}},77378:function(e,t,i){"use strict";i.d(t,{s:function(){return o}});var r=i(96540),n=i(90811);let o=()=>(0,r.useContext)(n.gJ)},50328:function(e,t,i){"use strict";i.d(t,{g:function(){return a}});var r=i(18509),n=i(57238),o=i(9888);let a=()=>{let e=(0,o.U)(),t=(0,r.N)(n.Tp.isFetched),i=e?.features.careerProfile;return t&&i}},45868:function(e,t,i){"use strict";i.d(t,{G:function(){return a}});var r=i(96540),n=i(47767),o=i(45588);let a=()=>{let e=(0,n.zy)();return(0,r.useMemo)(()=>(0,o.B6)("/",e.pathname)||(0,o.B6)("/resumes",e.pathname)||(0,o.B6)("/tr-documents",e.pathname)||(0,o.B6)("/cover-letters",e.pathname)||(0,o.B6)("/auto-tailored-resumes",e.pathname),[e.pathname])}},98640:function(e,t,i){"use strict";i.d(t,{c:function(){return a}});var r=i(96540),n=i(47767),o=i(45588);let a=()=>{let{pathname:e}=(0,n.zy)(),t=(0,r.useMemo)(()=>(0,o.B6)("resumes/:id/edit",e),[e]),i=(0,r.useMemo)(()=>(0,o.B6)("cover-letters/:id/edit",e),[e]),a=(0,r.useMemo)(()=>(0,o.B6)("guest-builder",e),[e]);return{isEditPage:!!t||!!i||!!a,isResumeEditor:t,isCoverLetterEditor:i,isGuestResumeEditor:a}}},12796:function(e,t,i){"use strict";i.d(t,{A:function(){return a}});var r=i(96230),n=i(96540),o=i(49012);let a=()=>{let e=(0,n.useRef)(new AbortController);return(0,n.useEffect)(()=>()=>e.current.abort(),[]),(0,r.n)(["jobTitles"],async(t,i=10)=>(await o.R3.get("career-data/v1/job-titles",{params:{startswith:t,limit:i},signal:e.current.signal})).data)}},55030:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});var r=i(96540);let n=(e,t)=>{let[i,n]=(0,r.useState)(()=>{try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):t}catch(e){return console.log(e),t}});return[i,t=>{try{let r=t instanceof Function?t(i):t;n(r),window.localStorage.setItem(e,JSON.stringify(r))}catch(e){console.log(e)}}]}},86066:function(e,t,i){"use strict";i.d(t,{e:function(){return l}});var r=i(96540),n=i(2404),o=i.n(n),a=i(77093);let l=()=>{let e,[t,i]=(e=()=>(0,a.C)(),(0,r.useReducer)((e,t)=>o()(e,t)?e:t,void 0,()=>e()));return(0,r.useEffect)(()=>{let e=()=>i((0,a.C)());return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t}},24184:function(e,t,i){"use strict";i.d(t,{E:function(){return o}});var r=i(96540),n=i(90774);let o=()=>{let e=(0,n.M)(()=>document.createElement("div"));return(0,r.useLayoutEffect)(()=>(document.body.appendChild(e),()=>{document.body.removeChild(e)}),[e]),e}},26975:function(e,t,i){"use strict";i.d(t,{p:function(){return a}}),i(14603),i(47566),i(98721);var r=i(96540),n=i(47767),o=i(84976);let a=e=>{let t=(0,n.zy)(),[i,a]=(0,o.ok)();return[i.get(e),(0,r.useCallback)((i,r)=>{let n=new URLSearchParams(t.search);i?n.set(e,i):n.delete(e),a(n,r)},[t.search,e,a])]}},64673:function(e,t,i){"use strict";i.d(t,{T:function(){return s}});var r=i(9421),n=i(32606),o=i(49012),a=i(18509);let l=Symbol("resume"),s=e=>{let t=(0,a.N)(n.Tp.resume),i=t?.id===e,{data:s}=(0,r.I)([l,e],async({signal:t})=>(await o.uE.get(`/resumes/${e}`,{signal:t})).data,{enabled:!i&&!!e});return i?t:s??null}},3724:function(e,t,i){"use strict";i.d(t,{qD:function(){return o},y3:function(){return a}});var r=i(96540);let n=/^(https?:\/\/)?(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z0-9-]+(:\d{1,5})?([/?][^#\s]*)?(#.*)?$/,o=e=>{let t=e.trim();if(!t)return"";let i=t.replace(/^(https?:\/{0,2})+/i,"");return i?`https://${i}`:"https://"},a=()=>({normalizeUrl:(0,r.useCallback)(e=>o(e),[]),isValidUrl:(0,r.useCallback)(e=>n.test(e||""),[])})},9849:function(e,t,i){"use strict";i.d(t,{F:function(){return n}});var r=i(77378);let n=(e,t)=>{let{i18n:i}=(0,r.s)();return(t?[e,t].join(` ${i.t("builder.resume_editor.labels.at")} `):e)||""}},18509:function(e,t,i){"use strict";i.d(t,{N:function(){return r}});let r=i(81247).d4},73685:function(e,t,i){"use strict";i.d(t,{x:function(){return a}});var r=i(81247),n=i(96540),o=i(32606);let a=()=>{let e=(0,r.wA)();return{updateSimpleField:(0,n.useCallback)(({debounce:t=!0,...i})=>{e(o.o1.updateSimpleField({...i,debounce:t}))},[e])}}},41193:function(e,t,i){"use strict";i.d(t,{J:function(){return a}});var r=i(69352),n=i(57238),o=i(18509);let a=()=>{let e=(0,o.N)(e=>e.user.data),t=(0,o.N)(e=>r.Tp.config(e,r.l1.app));if(!e)return null;let i=()=>(!!e?.billingInfo?.cancelledAt||!!e?.billingInfo?.nextPaymentAt||e?.billingInfo?.recurringAmount!=="USD0.0"&&!!e?.billingInfo?.recurringAmount)&&!t?.promoted?.billingItems?.length;return{...e,isPaidUser:i(),isTrialUser:e?.billingInfo?.onTrial||!1,isTopResumeUser:i()&&!e?.scopes?.paidSubscription&&e?.scopes?.kind==="TR",is
8236Free:e?.billingInfo?.userType===n.ut.free,isPostPremium:e?.billingInfo?.userType===n.ut.postPremium}}},32463:function(e,t,i){"use strict";i.d(t,{uE:function(){return u},k6:function(){return h},R3:function(){return p},yw:function(){return x}});var r=i(99197);let n={baseURL:i(8037).JR,headers:{"X-Requested-With":"XMLHttpRequest"}};var o=i(83530);let a=e=>{let t=o.y.getAccessToken();return t&&(e.headers.Authorization=`Bearer ${t}`),e},l=e=>{let{headers:t}=e;return t["x-api-token"]&&o.y.login(t["x-api-token"]),e},s=e=>(e.response&&401===e.response.status&&o.y.logout({invalidateSession:!1,persistPath:!0}),Promise.reject(e)),d=new Map,c=e=>{if(!window.isPlaywright)return e;let t=`${e.method} ${e.url}`,i=d.get(t)||0;return d.set(t,i+1),e.headers["x-playwright-request-counter"]=i.toString(),e},u=r.A.create(n);u.interceptors.response.use(l,s),u.interceptors.request.use(a),u.interceptors.request.use(c);let p=r.A.create({baseURL:"/api",headers:{"X-Requested-With":"XMLHttpRequest"}});p.interceptors.response.use(l,s),p.interceptors.request.use(a),p.interceptors.request.use(c);let h=r.A.create(n);h.interceptors.request.use(a),h.interceptors.request.use(c),r.A.create(n);let x=r.A.create({baseURL:"/app",headers:{"X-Requested-With":"XMLHttpRequest"}});x.interceptors.response.use(l,s),x.interceptors.request.use(a),x.interceptors.request.use(c)},49012:function(e,t,i){"use strict";i.d(t,{R3:function(){return r.R3},uE:function(){return r.uE},yw:function(){return r.yw}});var r=i(32463)},71851:function(e,t,i){"use strict";i.d(t,{Ff:function(){return a},Tp:function(){return o},o1:function(){return n}});var r=i(60258);let n={fetchAvailablePlans:(0,r.VP)("builder/BILLING_FETCH_AVAILABLE_PLANS"),setAvailablePlans:(0,r.VP)("builder/BILLING_SET_AVAILABLE_PLANS"),fetchScenario:(0,r.VP)("builder/BILLING_FETCH_SCENARIO"),setScenarioName:(0,r.VP)("builder/BILLING_SET_SCENARIO_NAME"),setPlansLoading:(0,r.VP)("builder/BILLING_SET_PLANS_LOADING"),setPlansError:(0,r.VP)("builder/BILLING_SET_PLANS_ERROR"),fetchPaymentMethods:(0,r.VP)("builder/BILLING_FETCH_PAYMENT_METHODS"),setPaymentMethods:(0,r.VP)("builder/BILLING_SET_PAYMENT_METHODS"),setPaymentMethodsLoading:(0,r.VP)("builder/BILLING_SET_PAYMENT_METHODS_LOADING"),notifyPlansVisit:(0,r.VP)("builder/BILLING_NOTIFY_PLANS_VISIT"),fetchAdyenConfig:(0,r.VP)("builder/BILLING_FETCH_ADYEN_CONFIG"),setAdyenConfig:(0,r.VP)("builder/BILLING_SET_ADYEN_CONFIG"),setAdyenConfigLoading:(0,r.VP)("builder/BILLING_SET_ADYEN_CONFIG_LOADING")},o={availablePlans:e=>e.billingReducer.availablePlans,scenarioName:e=>e.billingReducer.scenarioName,plansLoading:e=>e.billingReducer.plansLoading,plansError:e=>e.billingReducer.plansError,paymentMethods:e=>e.billingReducer.paymentMethods,paymentMethodsLoading:e=>e.billingReducer.paymentMethodsLoading,paymentMethodsHasError:e=>null===e.billingReducer.paymentMethods&&!e.billingReducer.paymentMethodsLoading,adyenConfig:e=>e.billingReducer.adyenConfig,adyenConfigLoading:e=>e.billingReducer.adyenConfigLoading,adyenConfigHasError:e=>null===e.billingReducer.adyenConfig&&!e.billingReducer.adyenConfigLoading},a=(0,r.vy)({availablePlans:[],scenarioName:null,plansLoading:!1,plansError:null,paymentMethods:null,paymentMethodsLoading:!1,adyenConfig:null,adyenConfigLoading:!1},e=>{e.addCase(n.setAvailablePlans,(e,t)=>{e.availablePlans=t.payload}),e.addCase(n.setScenarioName,(e,t)=>{e.scenarioName=t.payload}),e.addCase(n.setPlansLoading,(e,t)=>{e.plansLoading=t.payload}),e.addCase(n.setPlansError,(e,t)=>{e.plansError=t.payload}),e.addCase(n.setPaymentMethods,(e,t)=>{e.paymentMethods=t.payload}),e.addCase(n.setPaymentMethodsLoading,(e,t)=>{e.paymentMethodsLoading=t.payload}),e.addCase(n.setAdyenConfig,(e,t)=>{e.adyenConfig=t.payload}),e.addCase(n.setAdyenConfigLoading,(e,t)=>{e.adyenConfigLoading=t.payload})})},48196:function(e,t,i){"use strict";i.d(t,{Sw:function(){return n},hd:function(){return o},nF:function(){return a},rv:function(){return r}});let r={careerLevels:"",careerServiceId:[],careerIndustryId:[]},n={label:"career_coaching"},o={onboarding_form:"/onboarding-form",coach_listing:"/coach-listing",sessions:"/sessions"},a=i(765)},97410:function(e,t,i){"use strict";i.d(t,{Ff:function(){return h},Tp:function(){return u},o1:function(){return c},al:function(){return T}}),i(18111),i(61701);var r=i(68216),n=i(28363),o=i(49012),a=i(8037),l=i(16497),s=i(60258),d=i(48196);let c={setCareerLevels:(0,s.VP)("builder/CAREER_COACHING_SET_CAREER_LEVELS"),fetchCareerLevels:(0,s.VP)("builder/CAREER_COACHING_FETCH_CAREER_LEVELS"),updateCareerLevels:(0,s.VP)("builder/CAREER_COACHING_UPDATE_CAREER_LEVELS"),filterCoaches:(0,s.VP)("builder/CAREER_COACHING_FILTER_COACHES"),setCoaches:(0,s.VP)("builder/CAREER_COACHING_SET_COA
8236CHES"),fetchServicesOffered:(0,s.VP)("builder/CAREER_COACHING_FETCH_SERVICES_OFFERED"),setServicesOffered:(0,s.VP)("builder/CAREER_COACHING_SET_SERVICES_OFFERED"),updateServicesOffered:(0,s.VP)("builder/CAREER_COACHING_UPDATE_SERVICES_OFFERED"),fetchIndustries:(0,s.VP)("builder/CAREER_COACHING_FETCH_INDUSTRIES"),setIndustries:(0,s.VP)("builder/CAREER_COACHING_SET_INDUSTRIES"),updateIndustries:(0,s.VP)("builder/CAREER_COACHING_UPDATE_INDUSTRIES"),updateParams:(0,s.VP)("builder/CAREER_COACHING_UPDATE_PARAMS"),fetchCoachDetails:(0,s.VP)("builder/CAREER_COACHING_FETCH_COACH_DETAILS"),fetchCoachingPlans:(0,s.VP)("builder/CAREER_COACHING_FETCH_PAYMENT_PLANS"),fetchCoachConfirmation:(0,s.VP)("builder/CAREER_COACHING_FETCH_COACH_CONFIRMATION"),setCoachDetails:(0,s.VP)("builder/CAREER_COACHING_SET_COACH_DETAILS"),setCoachingPlans:(0,s.VP)("builder/CAREER_COACHING_SET_PAYMENT_PLANS"),setCoachConfirmation:(0,s.VP)("builder/CAREER_COACHING_SET_COACH_CONFIRMATION"),setModalState:(0,s.VP)("builder/CAREER_COACHING_SET_MODAL_STATE"),setSelectedService:(0,s.VP)("builder/CAREER_COACHING_SET_SELECTED_SERVICE"),setSelectedDuration:(0,s.VP)("builder/CAREER_COACHING_SET_SELECTED_DURATION"),setSelectedDurationPrice:(0,s.VP)("builder/CAREER_COACHING_SET_SELECTED_DURATION_PRICE"),setOpenBookServiceModal:(0,s.VP)("builder/CAREER_COACHING_SET_OPEN_BOOK_SERVICE_MODAL"),fetchCoachBookingSlot:(0,s.VP)("builder/CAREER_COACHING_FETCH_COACH_BOOKING_SLOT"),setCoachBookingSlot:(0,s.VP)("builder/CAREER_COACHING_SET_COACH_BOOKING_SLOT"),fetchSuggestedIndustries:(0,s.VP)("builder/CAREER_COACHING_FETCH_SUGGESTED_INDUSTRIES"),setFetchCoachesStatus:(0,s.VP)("builder/CAREER_COACHING_SET_FETCH_COACHES_STATUS"),fetchIntakeTestDetails:(0,s.VP)("builder/CAREER_COACHING_FETCH_INTAKE_TEST_DETAILS"),setIntakeTestDetails:(0,s.VP)("builder/CAREER_COACHING_SET_INTAKE_TEST_DETAILS"),createIntakeTestDetails:(0,s.VP)("builder/CAREER_COACHING_CREATE_INTAKE_TEST_DETAILS"),setIntakeTestStatus:(0,s.VP)("builder/CAREER_COACHING_SET_INTAKE_TEST_STATUS"),updateIntakeTestDetails:(0,s.VP)("builder/CAREER_COACHING_UPDATE_INTAKE_TEST_DETAILS"),setFetchCoachingPlansStatus:(0,s.VP)("builder/CAREER_COACHING_SET_FETCH_COACHING_PLANS_STATUS"),setAssignCoachStatus:(0,s.VP)("builder/CAREER_COACHING_SET_ASSIGN_COACH_STATUS"),fetchCoachSessions:(0,s.VP)("builder/CAREER_COACHING_FETCH_COACH_SESSIONS"),setCoachSessions:(0,s.VP)("builder/CAREER_COACHING_SET_COACH_SESSIONS"),setCoachSessionsStatus:(0,s.VP)("builder/CAREER_COACHING_SET_FETCH_SET_COACH_SESSIONS_STATUS"),fetchRedirectRoutes:(0,s.VP)("builder/CAREER_COACHING_FETCH_REDIRECT_ROUTES"),setUserRedirectState:(0,s.VP)("builder/CAREER_COACHING_SET_USER_REDIRECT_STATE"),fetchIntakeTestStatus:(0,s.VP)("builder/CAREER_COACHING_FETCH_INTAKE_TEST_STATUS"),setSuggestedIndustries:(0,s.VP)("builder/CAREER_COACHING_SET_SUGGESTED_INDUSTRIES"),setTargetedIndustries:(0,s.VP)("builder/CAREER_COACHING_SET_TARGETED_INDUSTRIES")},u={careerLevels:e=>e.careerCoaching.careerLevels,coaches:e=>e.careerCoaching.coaches,servicesOffered:e=>e.careerCoaching.servicesOffered,industries:e=>e.careerCoaching.industries,params:e=>e.careerCoaching.params,coachDetails:e=>e.careerCoaching.coachDetails,coachConfirmation:e=>e.careerCoaching.coachConfirmation,coachingPlans:e=>e.careerCoaching.coachingPlans,isModalOpen:e=>e.careerCoaching.isModalOpen,selectedService:e=>e.careerCoaching.selectedService,selectedDuration:e=>e.careerCoaching.selectedDuration,selectedDurationPrice:e=>e.careerCoaching.selectedDurationPrice,openBookServiceModal:e=>e.careerCoaching.openBookServiceModal,coachBookingSlot:e=>e.careerCoaching.coachBookingSlot,isCoachesLoading:e=>e.careerCoaching.fetchCoachesStatus===a.Hp.loading,isCoachesLoaded:e=>e.careerCoaching.fetchCoachesStatus===a.Hp.loaded,isCoachesFailed:e=>e.careerCoaching.fetchCoachesStatus===a.Hp.failed,intakeTestDetails:e=>e.careerCoaching.intakeTestDetails,isIntakeTestLoading:e=>e.careerCoaching.intakeTestStatus===a.Hp.loading,isIntakeTestLoaded:e=>e.careerCoaching.intakeTestStatus===a.Hp.loaded,isIntakeTestFailed:e=>e.careerCoaching.intakeTestStatus===a.Hp.failed,isCoachingPlansLoading:e=>e.careerCoaching.fetchCoachingPlansStatus===a.Hp.loading,isCoachingPlansLoaded:e=>e.careerCoaching.fetchCoachingPlansStatus===a.Hp.loaded,isCoachingPlansFailed:e=>e.careerCoaching.fetchCoachingPlansStatus===a.Hp.failed,isCoachAssignLoading:e=>e.careerCoaching.assignCoachStatus===a.Hp.loading,isCoachAssignLoaded:e=>e.careerCoaching.assignCoachStatus===a.Hp.loaded,isCoachAssignFailed:e=>e.careerCoaching.assignCoachStatus===a.Hp.failed,coachingSessions:e=>e.careerCoaching.coachingSessions,isCoachSessionsLoading:e=>e.careerCoaching.coachingSessionsStatus===a.Hp.loading,isCoachSessionsLoaded:e=>e.careerCoaching.coachingSessionsStatus===a.Hp.loaded,isCoachSessionsFailed:e=>e.careerCoaching.coachingSessionsStatus===a.Hp.failed,isFetchIntakeTestLoading:e=>e.careerCoaching.showIntakeTestStatus===a.Hp.loading,isFetchIntakeTestLoaded:e=>e.careerCoaching.showIntakeTestStatus===a.Hp.loaded,isFetchIntakeTestFailed:e=>e.careerCoaching.showIntakeTestStatus===a.Hp.failed,isUserRedirectTo:e=>
8236e.careerCoaching.isUserRedirectTo,suggestedIndustries:e=>e.careerCoaching.suggestedIndustries,targetedIndustries:e=>e.careerCoaching.targetedIndustries},p={fetchCoachesStatus:a.Hp.notAsked,isModalOpen:!0,careerLevels:[],coaches:[],servicesOffered:[],industries:[],params:{...d.rv},coachDetails:{id:null,coachAvatar:"",firstName:"",lastName:"",aboutMe:"",location:"",status:"",careerStages:[],services:[],industries:[],jobFunctions:[]},coachConfirmation:{id:null,coachAvatar:"",firstName:"",lastName:"",description:"",location:"",status:"",levels:[],services:[],industries:[],coachJobFunctions:[]},coachingPlans:[],selectedService:"",selectedDuration:null,selectedDurationPrice:null,openBookServiceModal:!1,coachBookingSlot:"",intakeTestDetails:{value:{location:"",services:[],timezone:"",industries:[],focusTopic:"",careerStages:"",jobFunctions:[],availableDays:[],availableTimes:[]}},intakeTestStatus:a.Hp.notAsked,showIntakeTestStatus:a.Hp.loading,fetchCoachingPlansStatus:a.Hp.notAsked,assignCoachStatus:a.Hp.notAsked,coachingSessionsStatus:a.Hp.loading,coachingSessions:{status:null,response:{participant_status:"",status_message:"",coach_details:{coach_id:"",name:"",email:"",coach_availability:!1,avatar:""},package_details:{total_sessions:"",remaining_sessions:0,package_name:"",expiration_date:""},upcoming:[],previous:[]}},isUserRedirectTo:!0,suggestedIndustries:[],targetedIndustries:[]},h=(0,s.vy)(p,e=>{e.addCase(c.setCareerLevels,(e,t)=>{e.careerLevels=t.payload.map(e=>"Junior"===e.name?{...e,checked:!0}:{...e,checked:!1})}),e.addCase(c.updateCareerLevels,(e,t)=>{e.careerLevels=t.payload}),e.addCase(c.setCoaches,(e,t)=>{e.coaches=t.payload.map(e=>({...e,fullName:`${e.firstName} ${e.lastName}`}))}),e.addCase(c.setServicesOffered,(e,t)=>{e.servicesOffered=t.payload.map(e=>({...e,checked:!1}))}),e.addCase(c.updateServicesOffered,(e,t)=>{e.servicesOffered=t.payload}),e.addCase(c.setIndustries,(e,t)=>{e.industries=t.payload.map(e=>({...e,checked:!1}))}),e.addCase(c.updateParams,(e,t)=>{e.params=t.payload}),e.addCase(c.updateIndustries,(e,t)=>{e.industries=t.payload}),e.addCase(c.setCoachDetails,(e,t)=>{e.coachDetails=t.payload}),e.addCase(c.setCoachingPlans,(e,t)=>{e.coachingPlans=t.payload}),e.addCase(c.setModalState,(e,t)=>{e.isModalOpen=t.payload}),e.addCase(c.setSelectedService,(e,t)=>{e.selectedService=t.payload}),e.addCase(c.setSelectedDuration,(e,t)=>{e.selectedDuration=t.payload}),e.addCase(c.setSelectedDurationPrice,(e,t)=>{e.selectedDurationPrice=t.payload}),e.addCase(c.setOpenBookServiceModal,(e,t)=>{e.openBookServiceModal=t.payload}),e.addCase(c.setCoachBookingSlot,(e,t)=>{e.coachBookingSlot=t.payload}),e.addCase(c.setFetchCoachesStatus,(e,t)=>{e.fetchCoachesStatus=t.payload}),e.addCase(c.setIntakeTestDetails,(e,t)=>{e.intakeTestDetails=t.payload}),e.addCase(c.setIntakeTestStatus,(e,t)=>{e.intakeTestStatus=t.payload}),e.addCase(c.setFetchCoachingPlansStatus,(e,t)=>{e.fetchCoachingPlansStatus=t.payload}),e.addCase(c.setAssignCoachStatus,(e,t)=>{e.assignCoachStatus=t.payload}),e.addCase(c.setCoachSessions,(e,t)=>{e.coachingSessions=t.payload}),e.addCase(c.setCoachSessionsStatus,(e,t)=>{e.coachingSessionsStatus=t.payload}),e.addCase(c.setUserRedirectState,(e,t)=>{e.isUserRedirectTo=t.payload}),e.addCase(c.fetchIntakeTestStatus,(e,t)=>{e.showIntakeTestStatus=t.payload}),e.addCase(c.setSuggestedIndustries,(e,t)=>{e.suggestedIndustries=t.payload}),e.addCase(c.setTargetedIndustries,(e,t)=>{e.targetedIndustries=t.payload})});function*x(){try{let{data:e}=yield(0,r.T1)(o.uE.get,"/coaching/career-levels");yield(0,r.yJ)(c.setCareerLevels(e.careerLevels))}catch(e){n.A.log(e)}}function*m(){try{let{data:e}=yield(0,r.T1)(o.uE.get,"/coaching/career-services");yield(0,r.yJ)(c.setServicesOffered(e.careerServices))}catch(e){n.A.log(e)}}function*g(){try{let{data:e}=yield(0,r.T1)(o.uE.get,"/coaching/career-industries");yield(0,r.yJ)(c.setIndustries(e.careerIndustries))}catch(e){n.A.log(e)}}function*y(){try{yield(0,r.yJ)(c.setFetchCoachesStatus(a.Hp.loading));let{data:e}=yield(0,r.T1)(o.uE.get,"/coaching/coach-listing");yield(0,r.yJ)(c.setCoaches(e.data)),yield(0,r.yJ)(c.setFetchCoachesStatus(a.Hp.loaded))}catch(e){yield(0,r.yJ)(c.setFetchCoachesStatus(a.Hp.failed)),n.A.log(e)}}function*f({payload:e}){let{coachId:t,careerLevel:i}=e;try{let{data:e}=yield(0,r.T1)(o.uE.get,"/coaching/career-coach-detail",{params:{coach_id:t,level:i}});yield(0,r.yJ)(c.setCoachDetails(e.coach)),yield(0,r.yJ)(c.setSelectedService(e.coach.services[0].name)),yield(0,r.yJ)(c.setSelectedDuration(e.coach.services[0].sessions[0].duration/60)),yield(0,r.yJ)(c.setSelectedDurationPrice(e.coach.services[0].sessions[0].price))}catch(e){n.A.log(e)}}function*b({payload:e}){let{planType:t}=e;try{yield(0,r.yJ)(c.setFetchCoachingPlansStatus(a.Hp.loading));let{data:e}=yield(0,r.T1)(o.uE.get,"/payment-plans/list-coaching-plans",{params:{plan_type:t}});yield(0,r.yJ)(c.setCoachingPlans(e.data)),yield(0,r.yJ)(c.setFetchCoachingPlansStatus(a.Hp.loaded))}catch(e){yield(0,r.yJ)(c.setFetchCoachingPlansStatus(a.Hp.failed)),n.A.log(e)}}function*_({payload:e}){try{yield(0,r.yJ)(c.setAssignCoachStatus(a.Hp.loading));let{data:t}=yield(0,r.T1)(o.uE.post,"/coaching/assign",{payload:e});yield(0,r.yJ)(c.setCoachConfirmation(t.coach)),yield(0,r.yJ)(c.setAssignCoachStatus(a.Hp.loaded))}catch(e){yield(0,r.yJ)(c.setAssignCoachStatus(a.Hp.failed)),n.A.log(e)}}function*v(){try{let{data:e}=yield(0,r.T1)(o.uE.get,"/coaching/get-coach-booking-slot");yield(0,r.yJ)(c.setCoachBookingSlot(e.slotTime))}catch(e){n.A.log(e)}}function*j(){try{let{data:e}=yield(0,r.T1)(o.uE.get,"/coaching/career-industries?suggested=true&limit=7"),t=e?.careerIndustries.map(({id:e,name:t})=>({value:e,label:t}));yield(0,r.yJ)(c.setSuggestedIndustries(t))}catch(e){n.A.log(e)}}function*A(){try{yield(0,r.yJ)(c.fetchIntakeTestStatus(a.Hp.loading));let{data:e}=yield(0,r.T1)(o.uE.get,"/coaching/user-coach-preferences/current-user-preference");yield(0,r.yJ)(c.setIntakeTestDetails(e?.data)),yield(0,r.yJ)(c.fetchIntakeTestStatus(a.Hp.loaded))}catch(e){n.A.log(e),yield(0,r.yJ)(c.fetchIntakeTestStatus(a.Hp.failed))}}function*C({payload:e}){try{yield(0,r.yJ)(c.setIntakeTestStatus(a.Hp.loading)),yield(0,r.T1)(o.uE.post,"coaching/user-coach-preferences",e),yield(0,r.yJ)(c.setIntakeTestStatus(a.Hp.loaded))}catch(e){yield(0,r.yJ)(c.setIntakeTestStatus(a.Hp.failed)),n.A.log(e)}}function*w({payload:e}){try{yield(0,r.yJ)(c.setIntakeTestStatus(a.Hp.loading)),yield(0,r.T1)(o.uE.patch,`coaching/user-coach-preferences/${e?.id}`,e),yield(0,r.yJ)(c.setIntakeTestStatus(a.Hp.loaded))}catch(e){yield(0,r.yJ)(c.setIntakeTestStatus(a.Hp.failed)),n.A.log(e)}}function*k({payload:e}){try{yield(0,r.yJ)(c.setCoachSessionsStatus(a.Hp.loading));let{data:t}=yield(0,r.T1)(o.uE.get,"/coaching/sessions",{params:e});yield(0,r.yJ)(c.setCoachSessions(t)),"Unmatched"===t.response.participant_status&&(yield(0,r.T1)(y)),yield(0,r.yJ)(c.setCoachSessionsStatus(a.Hp.loaded))}catch(e){yield(0,r.yJ)(c.setCoachSessionsStatus(a.Hp.failed)),n.A.log(e)}}function*S({payload:e}){let{currentUrl:t}=e;try{let{data:e}=yield(0,r.T1)(o.uE.get,"/coaching/redirection");if(e.success){let i=e.redirectTo,r=d.hd[i];t!==r&&(0,l.o)(r,{replace:!0})}}catch(e){n.A.log(e)}}let T=function*(){yield(0,r.Q7)([(0,r.p8)(c.fetchCareerLevels,x)]),yield(0,r.Q7)([(0,r.p8)(c.filterCoaches,y)]),yield(0,r.Q7)([(0,r.p8)(c.fetchServicesOffered,m)]),yield(0,r.Q7)([(0,r.p8)(c.fetchIndustries,g)]),yield(0,r.Q7)([(0,r.p8)(c.fetchCoachDetails,f)]),yield(0,r.Q7)([(0,r.p8)(c.fetchCoachingPlans,b)]),yield(0,r.Q7)([(0,r.p8)(c.fetchCoachConfirmation,_)]),yield(0,r.Q7)([(0,r.p8)(c.fetchCoachBookingSlot,v)]),yield(0,r.Q7)([(0,r.p8)(c.fetchSuggestedIndustries,j)]),yield(0,r.Q7)([(0,r.p8)(c.fetchIntakeTestDetails,A)]),yield(0,r.Q7)([(0,r.p8)(c.createIntakeTestDetails,C)]),yield(0,r.Q7)([(0,r.p8)(c.updateIntakeTestDetails,w)]),yield(0,r.Q7)([(0,r.p8)(c.fetchCoachSessions,k)]),yield(0,r.Q7)([(0,r.p8)(c.fetchRedirectRoutes,S)])}},95293:function(e,t,i){"use strict";i.d(t,{Ux:function(){return p},JU:function(){return l},A_:function(){return a},Ff:function(){return A},Ed:function(){return c},al:function(){return W},bn:function(){return s},Sy:function(){return n.S},Tp:function(){return v},jR:function(){return 50},o1:function(){return _},DF:function(){return u},XR:function(){return d},iZ:function(){return o}});var r,n=i(17959),o=((r={})[r.QUESTIONNAIRE=0]="QUESTIONNAIRE",r[r.SKILLS=1]="SKILLS",r[r.JOB_PROGRESSION=2]="JOB_PROGRESSION",r[r.ADD_TO_PATH=3]="ADD_TO_PATH",r[r.CONFIRM_MY_PATH=4]="CONFIRM_MY_PATH",r[r.SUCCESS=5]="SUCCESS",r[r.VIEW_CARDS=6]="VIEW_CARDS",r[r.CHANGE_MY_PATH=7]="CHANGE_MY_PATH",r);let a={ONE:1,TWO:2,THREE:3},l={label:"career_path2"},s="Please, try another occupation and select an option from the list",d="Please, try another location and select an option from the list",c="Try another occupation, location and select an option from the list",u=["Overview","Salary"],p=["City","States"];i(18111),i(61701),i(22489),i(7588),i(44114);var h=i(2543),x=i(68216),m=i(49012),g=i(8037),y=i(85922),f=i(28363),b=i(60258);let _={setStep:(0,b.VP)("builder/CAREER_PATH_SET_STEP"),setPrevStep:(0,b.VP)("builder/CAREER_PATH_SET_PREV_STEP"),setOccupation:(0,b.VP)("builder/CAREER_PATH_SET_OCCUPATION"),setSkills:(0,b.VP)("builder/CAREER_PATH_SET_SKILLS"),setOpenPreFillMod
8236al:(0,b.VP)("builder/CAREER_PATH_SET_OPEN_PRE_FILL_MODAL"),fetchJobTitles:(0,b.VP)("builder/CAREER_PATH_FETCH_JOB_TITLES"),setLevel1JobTitles:(0,b.VP)("builder/CAREER_PATH_SET_LEVEL1_JOB_TITLES"),setLevel2JobTitles:(0,b.VP)("builder/CAREER_PATH_SET_LEVEL2_JOB_TITLES"),setLevel3JobTitles:(0,b.VP)("builder/CAREER_PATH_SET_LEVEL3_JOB_TITLES"),setCareerPath1:(0,b.VP)("builder/CAREER_PATH_SET_CAREER_PATH1"),setCareerPath1Level1:(0,b.VP)("builder/CAREER_PATH_SET_CAREER_PATH1_LEVEL1"),setCareerPath1Level2:(0,b.VP)("builder/CAREER_PATH_SET_CAREER_PATH1_LEVEL2"),setCareerPath1Level3:(0,b.VP)("builder/CAREER_PATH_SET_CAREER_PATH1_LEVEL3"),setIsCareerPath1Set:(0,b.VP)("builder/CAREER_PATH_SET_IS_CAREER_PATH1_SET"),setSuggestedSkills:(0,b.VP)("builder/CAREER_PATH_SET_SUGGESTED_SKILLS"),setSuggestedSkillsCopy:(0,b.VP)("builder/CAREER_PATH_SET_SUGGESTED_SKILLS_COPY"),setValidationError:(0,b.VP)("builder/CAREER_PATH_SET_VALIDATION_ERROR"),fetchSuggestedSkills:(0,b.VP)("builder/CAREER_PATH_FETCH_OPTIONS_SKILLS"),fetchUserDocuments:(0,b.VP)("builder/CAREER_PATH_FETCH_USER_DOCUMENTS"),setUserDocuments:(0,b.VP)("builder/CAREER_PATH_SET_USER_DOCUMENTS"),fetchResumeSkills:(0,b.VP)("builder/CAREER_PATH_FETCH_RESUME_SKILLS"),setResumeID:(0,b.VP)("builder/CAREER_PATH_SET_RESUME_ID"),setFetchJobProgressionStatus:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_JOB_PROGRESSION_STATUS"),setAddToPathJobTitle:(0,b.VP)("builder/CAREER_PATH_ADD_TO_PATH_JOB_TITLE"),saveCareerPaths:(0,b.VP)("builder/CAREER_PATH_SAVE_CAREER_PATHS"),setSkillsMatchScore:(0,b.VP)("builder/CAREER_PATH_SET_SKILLS_MATCH_SCORE"),setRequiredSkills:(0,b.VP)("builder/CAREER_PATH_SET_REQUIRED_SKILLS"),setJobDetails:(0,b.VP)("builder/CAREER_PATH_SET_JOB_DETAILS"),setFetchJobDetailsStatus:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_JOB_DETAILS_STATUS"),fetchCareerCards:(0,b.VP)("builder/CAREER_PATH_FETCH_CAREER_CARDS"),setAllCareerCards:(0,b.VP)("builder/CAREER_PATH_SET_CAREER_CARDS"),fetchRequiredSkills:(0,b.VP)("builder/CAREER_PATH_FETCH_REQUIRED_SKILLS"),setLevel1JobTitleIndex:(0,b.VP)("builder/CAREER_PATH_SET_LEVEL1_JOB_TITLE_INDEX"),setLevel2JobTitleIndex:(0,b.VP)("builder/CAREER_PATH_SET_LEVEL2_JOB_TITLE_INDEX"),setLevel3JobTitleIndex:(0,b.VP)("builder/CAREER_PATH_SET_LEVEL3_JOB_TITLE_INDEX"),setCurrentLevel:(0,b.VP)("builder/CAREER_PATH_SET_CURRENT_LEVEL"),setSelectedLevel1JobTitleIndex:(0,b.VP)("builder/CAREER_PATH_SET_SELECTED_LEVEL1_JOB_TITLE_INDEX"),setSelectedLevel2JobTitleIndex:(0,b.VP)("builder/CAREER_PATH_SET_SELECTED_LEVEL2_JOB_TITLE_INDEX"),setSelectedLevel3JobTitleIndex:(0,b.VP)("builder/CAREER_PATH_SET_SELECTED_LEVEL3_JOB_TITLE_INDEX"),setEditCareerCardData:(0,b.VP)("builder/CAREER_PATH_SET_EDIT_CAREER_CARDS"),updateCareerPath:(0,b.VP)("builder/CAREER_PATH_UPDATE_CAREER_PATHS"),fetchJobTitlesLevelTwo:(0,b.VP)("builder/CAREER_PATH_FETCH_JOB_TITLES_LEVEL_TWO"),fetchJobTitlesLevelThree:(0,b.VP)("builder/CAREER_PATH_FETCH_JOB_TITLES_LEVEL_THREE"),setFetchGoalsStatus:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_GOALS_STATUS"),setFetchJobDetailsPart1Status:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_JOB_DETAILS_PART_ONE_STATUS"),setFetchJobDetailsPart2Status:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_JOB_DETAILS_PART_TWO_STATUS"),setFetchJobDetailsPart3Status:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_JOB_DETAILS_PART_THREE_STATUS"),setFetchJobDetailsPart4Status:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_JOB_DETAILS_PART_FOUR_STATUS"),setAddToPathLevel:(0,b.VP)("builder/CAREER_PATH_SET_ADD_TO_PATH_LEVEL"),setJobTitleCount:(0,b.VP)("builder/CAREER_PATH_SET_JOB_TITLE_CLICK_COUNT"),setIsSwiperVisible:(0,b.VP)("builder/CAREER_PATH_SET_IS_SWIPER_VISIBLE"),setIsEditingNewAdded:(0,b.VP)("builder/CAREER_PATH_SET_IS_EDITING_NEW_ADDED"),setSelectedJobTitle:(0,b.VP)("builder/CAREER_PATH_SET_SELECTED_JOB_TITLE"),setIsExploreCareers:(0,b.VP)("builder/CAREER_PATH_SET_IS_EXPLORE_CAREERS"),setExploreCareersOccupation:(0,b.VP)("builder/CAREER_PATH_SET_EXPLORE_CAREERS_OCCUPATION"),setDeletePathsModalStatus:(0,b.VP)("builder/CAREER_PATH_SET_DELETE_PATHS_MODAL_STATUS"),setPathsCardIdToDelete:(0,b.VP)("builder/CAREER_PATH_SET_PATHS_CARD_ID_TO_DELETE"),deletePathsCard:(0,b.VP)("builder/CAREER_PATH_DELETE_PATHS_CARD"),deletePaths:(0,b.VP)("builder/CAREER_PATH_DELETE_PATHS"),setResumeSkills:(0,b.VP)("builder/CAREER_PATH_SET_RESUME_SKILLS"),fetchCourses:(0,b.VP)("builder/CAREER_PATH_FETCH_COURSES"),setFetchCoursesStatus:(0,b.VP)("builder/CAREER_PATH_SET_COURSES_STATUS"),setCourses:(0,b.VP)("builder/CAREER_PATH_SET_COURSES"),setExploreCareersLocation:(0,b.VP)("builder/CAREER_PATH_SET_EXPLORE_CAREERS_LOCATION"),setLocation:(0,b.VP)("builder/CAREER_PATH_SET_LOCATION"),fetchSalaryDetails:(0,b.VP)("builder/CAREER_PATH_FETCH_SALARY_DETAILS"),setSalaryDetails:(0,b.VP)("builder/CAREER_PATH_SET_SALARY_DETAILS"),setFetchSalaryStatus:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_SALARY_STATUS"),saveSalaryFeedback:(0,b.VP)("builder/CAREER_PATH_SAVE_SALARY_FEEDBACK"),fetchCareerPagesJobDetails:(0,b.VP)("builder/CAREER_PATH_FETCH_CAREER_PAGES_JOB_DETAILS"),setCareerPagesJobDetails:(0,b.VP)("builder/CAREER_PATH_SET_CAREER_PAGES_JOB_DETAILS"),setFetchCareerPagesJobDetailsStatus:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_CAREER_PAGES_JOB_DETAILS_STATUS"),fetchRecommendedJobCard:(0,b.VP)("builder/CAREER_PATH_FETCH_RECOMMENDED_JOB_CARD"),setJobCardStatus:(0,b.VP)("builder/CAREER_PATH_SET_JOB_CARD_STATUS"),setFetchRecommendedJobCard:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_RECOMMENDED_JOB_CARD"),fetchJobsRequest:(0,b.VP)("builder/CAREER_PATH_FETCH_JOBS_REQUEST"),deleteJobCardRequest:(0,b.VP)("builder/CAREER_PATH_DELETE_JOB_CARD_REQUEST"),deleteJob:(0,b.VP)("builder/CAREER_PATH_DELETE_JOB"),createJob
8236CardRequest:(0,b.VP)("builder/CAREER_PATH_CREATE_JOB_CARD_REQUEST"),setJobsData:(0,b.VP)("builder/CAREER_PATH_SET_JOBS_DATA"),addJob:(0,b.VP)("builder/CAREER_PATH_ADD_JOB"),fetchJobDemand:(0,b.VP)("builder/CAREER_PATH_FETCH_JOB_DEMAND"),setJobDemandStatus:(0,b.VP)("builder/CAREER_PATH_SET_JOB_DEMAND_STATUS"),setJobDemand:(0,b.VP)("builder/CAREER_PATH_SET_JOB_DEMAND"),setFetchJobTitlesStatus:(0,b.VP)("builder/CAREER_PATH_SET_FETCH_JOB_TITLES_STATUS"),setActiveTab:(0,b.VP)("builder/CAREER_PATH_SET_ACTIVE_TAB")},v={step:e=>e.careerPath2.step,prevStep:e=>e.careerPath2.prevStep,occupation:e=>e.careerPath2.occupation,skills:e=>e.careerPath2.skills,suggestedSkills:e=>e.careerPath2.suggestedSkills,suggestedSkillsCopy:e=>e.careerPath2.suggestedSkillsCopy,openPrefillModal:e=>e.careerPath2.openPrefillModal,careerPaths:e=>e.careerPath2.careerPaths,level1JobTitles:e=>e.careerPath2.level1JobTitles,level2JobTitles:e=>e.careerPath2.level2JobTitles,level3JobTitles:e=>e.careerPath2.level3JobTitles,careerPath1:e=>e.careerPath2.careerPaths[0].careerPath1,isCareerPath1Set:e=>e.careerPath2.isCareerPath1Set,validationError:e=>e.careerPath2.validationError,userDocuments:e=>e.careerPath2.userDocuments,resumeID:e=>e.careerPath2.resumeID,isJobProgressionLoading:e=>e.careerPath2.fetchJobProgressionStatus===g.Hp.loading,isJobProgressionLoaded:e=>e.careerPath2.fetchJobProgressionStatus===g.Hp.loaded,isJobProgressionFailed:e=>e.careerPath2.fetchJobProgressionStatus===g.Hp.failed,isJobDetailsLoading:e=>e.careerPath2.fetchJobDetailsStatus===g.Hp.loading,isJobDetailsLoaded:e=>e.careerPath2.fetchJobDetailsStatus===g.Hp.loaded,addToPathJobTitle:e=>e.careerPath2.addToPathJobTitle,hardSkills:e=>e.careerPath2.hardSkills,softSkills:e=>e.careerPath2.softSkills,skillsMatchScore:e=>e.careerPath2.skillsMatchScore,requiredSkills:e=>e.careerPath2.requiredSkills,jobDetails:e=>e.careerPath2.jobDetails,allCareerCards:e=>e.careerPath2.allCareerCards,level1JobTitleIndex:e=>e.careerPath2.level1JobTitleIndex,level2JobTitleIndex:e=>e.careerPath2.level2JobTitleIndex,level3JobTitleIndex:e=>e.careerPath2.level3JobTitleIndex,selectedLevel1JobTitleIndex:e=>e.careerPath2.selectedLevel1JobTitleIndex,selectedLevel2JobTitleIndex:e=>e.careerPath2.selectedLevel2JobTitleIndex,selectedLevel3JobTitleIndex:e=>e.careerPath2.selectedLevel3JobTitleIndex,currentLevel:e=>e.careerPath2.currentLevel,editCareerCardData:e=>e.careerPath2.editCareerCardData,goalsStatus:e=>e.careerPath2.fetchGoalsStatus,isJobDetailPart1Loading:e=>e.careerPath2.fetchJobDetailsCount1Status===g.Hp.loading,isJobDetailPart2Loading:e=>e.careerPath2.fetchJobDetailsCount2Status===g.Hp.loading,isJobDetailPart3Loading:e=>e.careerPath2.fetchJobDetailsCount3Status===g.Hp.loading,isJobDetailPart4Loading:e=>e.careerPath2.fetchJobDetailsCount4Status===g.Hp.loading,addToPathLevel:e=>e.careerPath2.addToPathLevel,jobTitleCounts:e=>e.careerPath2.jobTitleCounts,isSwiperVisible:e=>e.careerPath2.isSwiperVisible,isEditingNewAdded:e=>e.careerPath2.isEditingNewAdded,selectedJobTitle:e=>e.careerPath2.selectedJobTitle,isExploreCareers:e=>e.careerPath2.isExploreCareers,exploreCareersOccupation:e=>e.careerPath2.exploreCareersOccupation,isDeletePathsModalOpen:e=>e.careerPath2.isDeletePathsModalOpen,pathsCardIdToDelete:e=>e.careerPath2.pathsCardIdToDelete,resumeSkills:e=>e.careerPath2.resumeSkills,courses:e=>e.careerPath2.courses,isCoursesLoading:e=>e.careerPath2.fetchCoursesStatus===g.Hp.loading,isCoursesLoaded:e=>e.careerPath2.fetchCoursesStatus===g.Hp.loaded,isCoursesFailed:e=>e.careerPath2.fetchCoursesStatus===g.Hp.failed,location:e=>e.careerPath2.location,exploreCareersLocation:e=>e.careerPath2.exploreCareersLocation,salaryDetails:e=>e.careerPath2.salaryDetails,isSalaryLoading:e=>e.careerPath2.fetchSalaryStatus===g.Hp.loading,isSalaryLoaded:e=>e.careerPath2.fetchSalaryStatus===g.Hp.loaded,isSalaryFailed:e=>e.careerPath2.fetchSalaryStatus===g.Hp.failed,careerPagesJobDetails:e=>e.careerPath2.careerPagesJobDetails,isCareerPagesJobDetailsLoading:e=>e.careerPath2.fetchCareerPagesJobDetailsStatus===g.Hp.loading,isCareerPagesJobDetailsLoaded:e=>e.careerPath2.fetchCareerPagesJobDetailsStatus===g.Hp.loaded,recommendedJobCard:e=>e.careerPath2.recommendedJobCard,isJobCardLoading:e=>e.careerPath2.fetchJobCardStatus===g.Hp.loading,isJobCardLoaded:e=>e.careerPath2.fetchJobCardStatus===g.Hp.loaded,selectJobs:e=>e.careerPath2.wishlistJobCard,jobDemand:e=>e.careerPath2.jobDemand,isJobDemandLoading:e=>e.careerPath2.fetchJobDemandStatus===g.Hp.loading,isJobDemandLoaded:e=>e.careerPath2.fetchJobDemandStatus===g.Hp.loaded,isJobTitlesLoading:e=>e.careerPath2.fetchJobTitlesStatus===g.Hp.loading,isJobTitlesLoaded:e=>e.careerPath2.fetchJobTitlesStatus===g.Hp.loaded,activeTab:e=>e.careerPath2.activeTab},j={step:o.QUESTIONNAIRE,prevStep:o.QUESTIONNAIRE,occupation:"",skills:[],suggestedSkills:[],suggestedSkillsCopy:[],openPrefillModal:!1,level1JobTitles:[],level2JobTitles:[],level3JobTitles:[],careerPaths:[{careerPath1:[]}],isCareerPath1Set:!1,validationError:!1,userDocuments:[],resumeID:null,fetchJobProgressionStatus:g.Hp.notAsked,fetchGoalsStatus:g.Hp.notAsked,addToPathJobTitle:"",hardSkills:[],softSkills:[],skillsMatchScore:0,requiredSkills:[],jobDetails:{commonJobTitles:[],description:null,softSkills:[],hardSkills:[],certifications:[],companies:[],totals:{},salary:{},postingsTimeseries:[],educationLevels:[],jobTitle:null},fetchJobDetailsStatus:g.Hp.notAsked,allCareerCards:[],level1JobTitleIndex:null,level2JobTitleIndex:null,level3JobTitleIndex:null,selectedLevel1JobTitleIndex:null,selectedLevel2JobTitleIndex:null,selectedLevel3JobTitleIndex:null,currentLevel:null,editCareerCardData:{id:0,title:"",skills:[],pathways:{path1:[]}},fetchJobDetailsCount1Status:g.Hp.notAsked,fetchJobDetailsCount2Status:g.Hp.notAsked,fetchJobDetailsCount3Status:g.Hp.notAsked,fetchJobDetailsCount4Status:g.Hp.notAsked,addToPathLevel:0,jobTitleCounts:{title:"",count:0},isSwiperVisible:!1,isEditingNewAdded:!1,selectedJobTitle:"",isExploreCareers:!1,exploreCareersOccupation:"",isDeletePathsModalOpen:!1,pathsCardIdToDelete:null,resumeSkills:[],courses:[],fetchCoursesStatus:g.Hp.notAsked,location:"",exploreCareersLocation:"",salaryDetails:{averageSalary:0,educationLevelSalary:{bachelor:0,master:0},experienceLevelSalary:{"10+":0,"1to3":0,"3to6":0,"6to9":0,fresher:0},maximumSalary:0,minimumSalary:0,title:"",topCitiesSalary:[],topStatesSalary:[]},fetchSalaryStatus:g.Hp.notAsked,careerPagesJobDetails:{faq:[],responsibilities:"",title:"",description:"",hardSkills:[],softSkills:[]},fetchCareerPagesJobDetailsStatus:g.Hp.notAsked,recommendedJobCard:[],fetchJobCardStatus:g.Hp.notAsked,wishlistJobCard:[],jobDemand:{jobsCount:0,companiesCount:0,companies:[]},fetchJobDemandStatus:g.Hp.notAsked,fetchJobTitlesStatus:g.Hp.notAsked,activeTab:u["0"]},A=(0,b.vy)(j,e=>{e.addCase(_.setStep,(e,t)=>{e.step=t.payload}),e.addCase(_.setPrevStep,(e,t)=>{e.prevStep=t.payload}),e.addCase(_.setOccupation,(e,t)=>{e.occupation=t.payload}),e.addCase(_.setSkills,(e,t)=>{e.skills=t.payload}
8236),e.addCase(_.setOpenPreFillModal,(e,t)=>{e.openPrefillModal=t.payload}),e.addCase(_.setLevel1JobTitles,(e,t)=>{e.level1JobTitles=t.payload}),e.addCase(_.setLevel2JobTitles,(e,t)=>{e.level2JobTitles=t.payload}),e.addCase(_.setLevel3JobTitles,(e,t)=>{e.level3JobTitles=t.payload}),e.addCase(_.setCareerPath1,(e,t)=>{e.careerPaths[0].careerPath1=t.payload}),e.addCase(_.setCareerPath1Level1,(e,t)=>{e.careerPaths[0].careerPath1.length&&e.careerPaths[0].careerPath1[0].title===t.payload.title?t.payload.isEditing?e.careerPaths[0].careerPath1[0]={title:t.payload.title,score:t.payload.score}:(e.careerPaths[0].careerPath1.pop(),e.careerPaths[0].careerPath1.pop(),e.careerPaths[0].careerPath1.pop(),e.level2JobTitles=[],e.level3JobTitles=[]):(3===e.careerPaths[0].careerPath1.length?(e.careerPaths[0].careerPath1.pop(),e.careerPaths[0].careerPath1.pop()):2===e.careerPaths[0].careerPath1.length&&e.careerPaths[0].careerPath1.pop(),e.careerPaths[0].careerPath1[0]=t.payload,e.level3JobTitles=[])}),e.addCase(_.setCareerPath1Level2,(e,t)=>{e.careerPaths[0].careerPath1.length>2&&e.careerPaths[0].careerPath1[1].title===t.payload.title?t.payload.isEditing?e.careerPaths[0].careerPath1[1]={title:t.payload.title,score:t.payload.score}:(e.careerPaths[0].careerPath1.pop(),e.careerPaths[0].careerPath1.pop(),e.level3JobTitles=[]):2===e.careerPaths[0].careerPath1.length&&e.careerPaths[0].careerPath1[1].title===t.payload.title?t.payload.isEditing?e.careerPaths[0].careerPath1[1]={title:t.payload.title,score:t.payload.score}:(e.careerPaths[0].careerPath1.pop(),e.level3JobTitles=[]):(3===e.careerPaths[0].careerPath1.length&&e.careerPaths[0].careerPath1.pop(),e.careerPaths[0].careerPath1[1]=t.payload)}),e.addCase(_.setCareerPath1Level3,(e,t)=>{e.careerPaths[0].careerPath1.length>2&&e.careerPaths[0].careerPath1[2].title===t.payload.title?t.payload.isEditing?e.careerPaths[0].careerPath1[2]={title:t.payload.title,score:t.payload.score}:e.careerPaths[0].careerPath1.pop():(3===e.careerPaths[0].careerPath1.length&&e.careerPaths[0].careerPath1.pop(),e.careerPaths[0].careerPath1[2]=t.payload)}),e.addCase(_.setSuggestedSkills,(e,t)=>{e.suggestedSkills=t.payload}),e.addCase(_.setSuggestedSkillsCopy,(e,t)=>{e.suggestedSkillsCopy=t.payload}),e.addCase(_.setValidationError,(e,t)=>{e.validationError=t.payload}),e.addCase(_.setUserDocuments,(e,t)=>{e.userDocuments=t.payload}),e.addCase(_.setResumeID,(e,t)=>{e.resumeID=t.payload}),e.addCase(_.setFetchJobProgressionStatus,(e,t)=>{e.fetchJobProgressionStatus=t.payload}),e.addCase(_.setAddToPathJobTitle,(e,t)=>{e.addToPathJobTitle=t.payload}),e.addCase(_.setSkillsMatchScore,(e,t)=>{e.skillsMatchScore=t.payload}),e.addCase(_.setRequiredSkills,(e,t)=>{e.requiredSkills=t.payload}),e.addCase(_.setJobDetails,(e,t)=>{e.jobDetails=t.payload}),e.addCase(_.setFetchJobDetailsStatus,(e,t)=>{e.fetchJobDetailsStatus=t.payload}),e.addCase(_.setAllCareerCards,(e,t)=>{e.allCareerCards=t.payload}),e.addCase(_.setLevel1JobTitleIndex,(e,t)=>{e.level1JobTitleIndex=t.payload}),e.addCase(_.setLevel2JobTitleIndex,(e,t)=>{e.level2JobTitleIndex=t.payload}),e.addCase(_.setLevel3JobTitleIndex,(e,t)=>{e.level3JobTitleIndex=t.payload}),e.addCase(_.setCurrentLevel,(e,t)=>{e.currentLevel=t.payload}),e.addCase(_.setSelectedLevel1JobTitleIndex,(e,t)=>{e.selectedLevel1JobTitleIndex=t.payload}),e.addCase(_.setSelectedLevel2JobTitleIndex,(e,t)=>{e.selectedLevel2JobTitleIndex=t.payload}),e.addCase(_.setSelectedLevel3JobTitleIndex,(e,t)=>{e.selectedLevel3JobTitleIndex=t.payload}),e.addCase(_.setEditCareerCardData,(e,t)=>{e.editCareerCardData=t.payload}),e.addCase(_.setFetchGoalsStatus,(e,t)=>{e.fetchGoalsStatus=t.payload}),e.addCase(_.setFetchJobDetailsPart1Status,(e,t)=>{e.fetchJobDetailsCount1Status=t.payload}),e.addCase(_.setFetchJobDetailsPart2Status,(e,t)=>{e.fetchJobDetailsCount2Status=t.payload}),e.addCase(_.setFetchJobDetailsPart3Status,(e,t)=>{e.fetchJobDetailsCount3Status=t.payload}),e.addCase(_.setFetchJobDetailsPart4Status,(e,t)=>{e.fetchJobDetailsCount4Status=t.payload}),e.addCase(_.setAddToPathLevel,(e,t)=>{e.addToPathLevel=t.payload}),e.addCase(_.setJobTitleCount,(e,t)=>{e.jobTitleCounts=t.payload}),e.addCase(_.setIsSwiperVisible,(e,t)=>{e.isSwiperVisible=t.payload}),e.addCase(_.setIsEditingNewAdded,(e,t)=>{e.isEditingNewAdded=t.payload}),e.addCase(_.setSelectedJobTitle,(e,t)=>{e.selectedJobTitle=t.payload}),e.addCase(_.setIsExploreCareers,(e,t)=>{e.isExploreCareers=t.payload}),e.addCase(_.setExploreCareersOccupation,(e,t)=>{e.exploreCareersOccupation=t.payload}),e.addCase(_.setDeletePathsModalStatus,(e,t)=>{e.isDeletePathsModalOpen=t.payload}),e.addCase(_.setPathsCardIdToDelete,(e,t)=>{e.pathsCardIdToDelete=t.payload}),e.addCase(_.deletePaths,(e,t)=>{e.allCareerCards=e.allCareerCards.filter(e=>e.id!==t.payload.id)}),e.addCase(_.setResumeSkills,(e,t)=>{e.resumeSkills=t.payload}),e.addCase(_.setCourses,(e,t)=>{e.courses=t.payload}),e.addCase(_.setFetchCoursesStatus,(e,t)=>{e.fetchCoursesStatus=t.payload}),e.addCase(_.setLocation,(e,t)=>{e.location=t.payload}),e.addCase(_.setExploreCareersLocation,(e,t)=>{e.exploreCareersLocation=t.payload}),e.addCase(_.setSalaryDetails,(e,t)=>{e.salaryDetails=t.payload}),e.addCase(_.setFetchSalaryStatus,(e,t)=>{e.fetchSalaryStatus=t.payload}),e.addCase(_.setCareerPagesJobDetails,(e,t)=>{e.careerPagesJobDetails=t.payload}),e.addCase(_.setFetchCareerPagesJobDetailsStatus,(e,t)=>{e.fetchCareerPagesJobDetailsStatus=t.payload}),e.addCase(_.setFetchRecommendedJobCard,(e,t)=>{e.recommendedJobCard=t.payload}),e.addCase(_.setJobCardStatus,(e,t)=>{e.fetchJobCardStatus=t.payload}),e.addCase(_.setJobsData,(e,t)=>{e.wishlistJobCard=(0,h.sortBy)(t.payload,["positionNumber"])}),e.addCase(_.deleteJob,(e,t)=>{e.wishlistJobCard=e.wishlistJobCard.filter(e=>e.id!==t.payload.id)}),e.addCase(_.addJob,(e,t)=>{let i=t.payload.externalSlugId;if(i){let r=e.wishlistJobCard.filter(e=>e.externalSlugId!==i);e.wishlistJobCard=(0,h.sortBy)([t.payload,...r],["positionNumber"])}else e.wishlistJobCard=(0,h.sortBy)([t.payload,...e.wishlistJobCard],["positionNumber"])}),e.addCase(_.setJobDemand,(e,t)=>{e.jobDemand=t.payload}),e.addCase(_.setJobDemandStatus,(e,t)=>{e.fetchJobDemandStatus=t.payload}),e.addCase(_.setFetchJobTitlesStatus,(e,t)=>{e.fetchJobTitlesStatus=t.payload}),e.addCase(_.setActiveTab,(e,t)=>{e.activeTab=t.payload})});var C=i(84243);let w=e=>new Promise(t=>setTimeout(t,e));function*k({payload:e}){try{let t=yield(0,x.Lt)(v.skills),{data:i}=yield(0,x.T1)(m.R3.get,"/career-data/v1/title-skills",{params:{title:e}}),r=i.hardSkills.map(e=>({value:e.toLowerCase(),label:e})),n=(0,h.differenceWith)(r,t,h.isEqual);yield(0,x.yJ)(_.setSuggestedSkills(n)),yield(0,x.yJ)(_.setSuggestedSkillsCopy(n))}catch(e){console.log(e)}}function*S(){try{let{data:e}=yield(0,x.T1)(m.uE.get,"/resumes");yield(0,x.yJ)(_.setUserDocuments(e.resumes))}catch(e){console.log(e)}}function*T({payload:e}){try{let t=yield(0,x.Lt)(v.skills),i=yield(0,x.Lt)(v.suggestedSkills),{data:r}=yield(0,x.T1)(m.R3.get,"/career-data/v1/resume-skills",{params:{resume_id:e}});if((r=r.filter(e=>!!e)).length){let e=r.map(e=>({value:e.toLowerCase(),label:e})),n=(0,h.uniqBy)([...t,...e],e=>e.value),o=(0,h.differenceWith)(i,e,h.isEqual);yield(0,x.yJ)(_.setSkills([...n])),yield(0,x.yJ)(_.setSuggestedSkills([...o])),yield(0,x.yJ)(_.setResumeID(null)),yield(0,x.yJ)(_.setOpenPreFillMod
8236al(!1))}else yield(0,x.yJ)(y.o1.setSnackBarOpen({status:!0,type:y.pN.failure,text:"Failed to load skills from resume"})),yield(0,x.T1)(w,3e3),yield(0,x.yJ)(y.o1.setSnackBarOpen({status:!1,type:y.pN.failure}))}catch(e){console.log(e)}}function*P({payload:e}){let{query:t,level:i,selectedValue:r}=e;try{yield(0,x.yJ)(_.setFetchJobProgressionStatus(g.Hp.loading));let e=(yield(0,x.Lt)(v.skills)).map(e=>e.label),{data:n}=yield(0,x.T1)(m.R3.get,"/career-data/v1/job-progression",{params:{title:t}});if(!n||0===n.length)throw Error("No job progression data found");let o=n.filter((e,t)=>t<9);switch(o=yield(0,x.T1)(C.jU,o,e),i){case 1:yield(0,x.yJ)(_.setLevel2JobTitles(o));break;case 2:yield(0,x.yJ)(_.setLevel3JobTitles(o));break;default:if(r){let e,t=o.findIndex(e=>e?.target===r);t>-1&&(e=[o[t]],o.forEach((i,r)=>(r!==t&&e.push(i),i)),yield(0,x.yJ)(_.setLevel1JobTitles(e)))}else yield(0,x.yJ)(_.setLevel1JobTitles(o))}yield(0,x.yJ)(_.setFetchJobProgressionStatus(g.Hp.loaded))}catch(e){yield(0,x.yJ)(_.setFetchJobProgressionStatus(g.Hp.failed)),console.log(e)}}function*J({payload:e}){let{title:t,skills:i,pathways:r}=e;try{yield(0,x.T1)(m.uE.post,"/career-pathways/v2/cards",{title:t,skills:i,pathways:r})}catch(e){console.log(e)}}function*E(){try{yield(0,x.yJ)(_.setFetchGoalsStatus(g.Hp.loading));let{data:e}=yield(0,x.T1)(m.uE.get,"/career-pathways/v2/cards");yield(0,x.yJ)(_.setAllCareerCards(e.careerCards)),yield(0,x.yJ)(_.setFetchGoalsStatus(g.Hp.loaded))}catch(e){console.log(e),yield(0,x.yJ)(_.setFetchGoalsStatus(g.Hp.failed))}}function*R({payload:e}){try{let t=(yield(0,x.Lt)(v.skills)).map(e=>e.label),{data:i}=yield(0,x.T1)(m.R3.get,"/career-data/v1/title-skills",{params:{title:e}}),{hardSkills:r,softSkills:n}=i,o=[...r,...n],a=(0,h.differenceWith)(o,t,h.isEqual),l=(0,h.intersectionWith)(o,t,h.isEqual),s=l.length/o.length*100;yield(0,x.yJ)(_.setRequiredSkills([...l,...a])),yield(0,x.yJ)(_.setSkillsMatchScore(s))}catch(e){console.log(e)}}function*L({payload:e}){let{title:t,skills:i,pathways:r}=e,n=yield(0,x.Lt)(v.editCareerCardData);try{yield(0,x.T1)(m.uE.put,`/career-pathways/v2/cards/${n.id}`,{title:t,skills:i,pathways:r}
8236),yield(0,x.yJ)(_.setEditCareerCardData({id:0,title:"",skills:[],pathways:{path1:[]}}))}catch(e){console.log(e)}}function*N({payload:e}){let{query:t,selectedValue:i}=e;try{let e;yield(0,x.yJ)(_.setFetchJobProgressionStatus(g.Hp.loading));let r=(yield(0,x.Lt)(v.skills)).map(e=>e.label),{data:n}=yield(0,x.T1)(m.R3.get,"/career-data/v1/job-progression",{params:{title:t}}),o=n.filter((e,t)=>t<9),a=(o=yield(0,x.T1)(C.jU,o,r)).findIndex(e=>e?.target===i);a>-1&&(e=[o[a]],o.forEach((t,i)=>(i!==a&&e.push(t),t)),yield(0,x.yJ)(_.setLevel2JobTitles(e))),yield(0,x.yJ)(_.setFetchJobProgressionStatus(g.Hp.loaded))}catch(e){yield(0,x.yJ)(_.setFetchJobProgressionStatus(g.Hp.failed)),console.log(e)}}function*I({payload:e}){let{query:t,selectedValue:i}=e;try{let e;yield(0,x.yJ)(_.setFetchJobProgressionStatus(g.Hp.loading));let r=(yield(0,x.Lt)(v.skills)).map(e=>e.label),{data:n}=yield(0,x.T1)(m.R3.get,"/career-data/v1/job-progression",{params:{title:t}}),o=n.filter((e,t)=>t<9),a=(o=yield(0,x.T1)(C.jU,o,r)).findIndex(e=>e?.target===i);a>-1&&(e=[o[a]],o.forEach((t,i)=>(i!==a&&e.push(t),t)),yield(0,x.yJ)(_.setLevel3JobTitles(e))),yield(0,x.yJ)(_.setFetchJobProgressionStatus(g.Hp.loaded))}catch(e){yield(0,x.yJ)(_.setFetchJobProgressionStatus(g.Hp.failed)),console.log(e)}}function*M({payload:e}){let{id:t}=e;try{yield(0,x.T1)(m.uE.delete,`/career-pathways/v2/cards/${t}`,{params:{id:t}}),yield(0,x.yJ)(_.deletePaths({id:t}))}catch(e){console.log(e)}}function*B({payload:e}){try{let{title:t}=e;yield(0,x.yJ)(_.setFetchCoursesStatus(g.Hp.loading));let{data:i}=yield(0,x.T1)(m.R3.get,"/career-data/v1/courses",{params:{title:t}});yield(0,x.yJ)(_.setCourses(i)),yield(0,x.yJ)(_.setFetchCoursesStatus(g.Hp.loaded))}catch(e){f.A.log(e),yield(0,x.yJ)(_.setFetchCoursesStatus(g.Hp.failed))}}function*D({payload:e}){try{let{title:t,location:i,education:r,experience:n}=e;yield(0,x.yJ)(_.setFetchSalaryStatus(g.Hp.loading));let{data:o}=yield(0,x.T1)(m.R3.get,"/career-data/v1/salary",{params:{title:t,location:i,education:r||"",experience:n||""}});yield(0,x.yJ)(_.setSalaryDetails(o)),yield(0,x.yJ)(_.setFetchSalaryStatus(g.Hp.loaded))}catch(e){yield(0,x.yJ)(_.setFetchSalaryStatus(g.Hp.failed))}}function*$({payload:e}){try{yield(0,x.yJ)(_.setFetchCareerPagesJobDetailsStatus(g.Hp.loading));let{data:t}=yield(0,x.T1)(m.R3.get,"/career-data/v1/attributes",{params:{title:e}});yield(0,x.yJ)(_.setCareerPagesJobDetails(t)),yield(0,x.yJ)(_.setFetchCareerPagesJobDetailsStatus(g.Hp.loaded))}catch(e){yield(0,x.yJ)(_.setFetchCareerPagesJobDetailsStatus(g.Hp.failed))}}function*O({payload:e}){try{yield(0,x.yJ)(_.setJobCardStatus(g.Hp.loading));let{query:t,location:i,page:r,perPage:n}=e,{data:o}=yield(0,x.T1)(m.R3.get,"/jobs/v1/search",{params:{query:t,location:""===i?void 0:i,page:r,perPage:n}});yield(0,x.yJ)(_.setFetchRecommendedJobCard(o.jobs)),yield(0,x.yJ)(_.setJobCardStatus(g.Hp.loaded))}catch(e){yield(0,x.yJ)(_.setJobCardStatus(g.Hp.failed))}}function*z(){try{let{data:e}=yield(0,x.T1)(m.R3.get,"job-cards");yield(0,x.yJ)(_.setJobsData(e))}catch(e){console.log(e)}}function*F(e){try{let{id:t}=e.payload;yield(0,x.T1)(m.R3.delete,`job-cards/${t}`),yield(0,x.yJ)(_.deleteJob({id:t}))}catch(e){console.log(e)}}function*H({payload:e}){try{let{slug:t,...i}=e,r=i.status||n.S.wishlist,o=yield(0,x.Lt)(v.selectJobs),a=(0,C.Jp)(o),l=(0,h.minBy)(a[r],"positionNumber"),{data:s}=yield(0,x.T1)(m.R3.post,"job-cards",{job_card:{...i,status:r,position_number:l?l?.positionNumber-1:0,external_slug_id:t}});yield(0,x.yJ)(_.addJob(s)),s&&(yield(0,x.yJ)(y.o1.setSnackBarOpen({status:!0,type:y.pN.openable,url:"/app/job-tracking",text:"Job Card has been saved to Job Tracker"})),yield(0,x.T1)(w,3e3),yield(0,x.yJ)(y.o1.setSnackBarOpen({status:!1,type:y.pN.openable})))}catch(e){console.log(e)}}function*V({payload:e}){try{yield(0,x.yJ)(_.setJobDemandStatus(g.Hp.loading));let t={job_title:e.job_title,location:""===e.location?void 0:e.location},{data:i}=yield(0,x.T1)(m.R3.get,"/jobs/v1/search/companies/jobs-count",{params:t}),{total_jobs:r,companies:n,total_companies:o}=i,a=Object.entries(n).map(([e,t])=>({name:e,jobPostings:t}));yield(0,x.yJ)(_.setJobDemand({jobsCount:r,companiesCount:o,companies:a})),yield(0,x.yJ)(_.setJobDemandStatus(g.Hp.loaded))}catch(e){yield(0,x.yJ)(_.setJobDemandStatus(g.Hp.failed))}}function*U({payload:e}){try{let t={...e};yield(0,x.T1)(m.R3.post,"/career-data/v1/salary-feedback",{...t})}catch(e){console.log(e)}}let W=function*(){yield(0,x.Q7)([(0,x.p8)(_.fetchSuggestedSkills,k)]),yield(0,x.Q7)([(0,x.p8)(_.fetchUserDocuments,S)]),yield(0,x.Q7)([(0,x.p8)(_.fetchResumeSkills,T)]),yield(0,x.Q7)([(0,x.p8)(_.fetchJobTitles,P)]),yield(0,x.Q7)([(0,x.p8)(_.fetchCareerCards,E)]),yield(0,x.Q7)([(0,x.p8)(_.saveCareerPaths,J)]),yield(0,x.Q7)([(0,x.p8)(_.fetchRequiredSkills,R)]),yield(0,x.Q7)([(0,x.p8)(_.updateCareerPath,L)]),yield(0,x.Q7)([(0,x.p8)(_.fetchJobTitlesLevelTwo,N)]),yield(0,x.Q7)([(0,x.p8)(_.fetchJobTitlesLevelThree,I)]),yield(0,x.Q7)([(0,x.p8)(_.deletePathsCard,M)]),yield(0,x.Q7)([(0,x.p8)(_.fetchCourses,B)]),yield(0,x.Q7)([(0,x.p8)(_.fetchSalaryDetails,D)]),yield(0,x.Q7)([(0,x.p8)(_.saveSalaryFeedback,U)]),yield(0,x.Q7)([(0,x.p8)(_.fetchCareerPagesJobDetails,$)]),yield(0,x.Q7)([(0,x.p8)(_.fetchRecommendedJobCard,O)]),yield(0,x.Q7)([(0,x.p8)(_.fetchJobsRequest,z)]),yield(0,x.Q7)([(0,x.p8)(_.deleteJobCardRequest,F)]),yield(0,x.Q7)([(0,x.p8)(_.createJob
8236CardRequest,H)]),yield(0,x.Q7)([(0,x.p8)(_.fetchJobDemand,V)])}},17959:function(e,t,i){"use strict";i.d(t,{S:function(){return n}});var r,n=((r={}).recommended="recommended",r.wishlist="wishlist",r)},84243:function(e,t,i){"use strict";i.d(t,{Fc:function(){return s},Jp:function(){return c},jU:function(){return l}}),i(18111),i(61701),i(7588),i(22489);var r=i(2543),n=i(99701),o=i(49012),a=i(17959);let l=async(e,t)=>{let i=await e.map(async e=>{let i={percentage:0,target:"",timeSpan:"",matchScore:0,skills:[]};return new Promise(async n=>{let a={title:e.target};await o.R3.get("/career-data/v1/title-skills",{params:a}).then(n=>{let{data:o}=n,{hardSkills:a,softSkills:l}=o,s=[...a,...l],d=(0,r.differenceWith)(s,t,r.isEqual),c=(0,r.intersectionWith)(s,t,r.isEqual),u=Math.ceil(c.length/s.length*100),p=[...c,...d];i={...e,matchScore:u,skills:p}}).catch(e=>console.log(e)),n(i)})});return await Promise.all(i)},s=(e,t=0)=>"color"===e?t<=20?n.Jy.Red50:t<=50?n.Jy.Amber50:n.Jy.Green50:t<=20?n.Jy.Red10:t<=50?n.Jy.Amber10:n.Jy.Green10,d=Object.values(a.S),c=e=>{let t={};return d.forEach(i=>{t[i]=e.filter(e=>e.status===i)}),t}},81740:function(e,t,i){"use strict";i.d(t,{Ff:function(){return A},JU:function(){return c},Tp:function(){return v},o1:function(){return _},al:function(){return f}}),i(18111),i(61701),i(20116),i(22489);var r=i(2543),n=i(68216),o=i(8037),a=i(49012),l=i(28363),s=i(12330),d=i(89979);let c={label:"execute_a_job_search"},u={type:"all",page:[1,2,3,4,5]};function*p({payload:e}){let{topLevelId:t,secondLevelId:i}=e;try{yield(0,n.yJ)(_.setFetchActionItemsStatus(o.Hp.loading));let e={cp_top_level_id:t,cp_second_level_id:i},{data:r}=yield(0,n.T1)(a.uE.get,"/career-planning/content",{params:e});yield(0,n.yJ)(_.setActionItems(r.content)),yield(0,n.yJ)(_.setFetchActionItemsStatus(o.Hp.loaded)),yield(0,n.yJ)(_.saveUserLastSection(e))}catch(e){yield(0,n.yJ)(_.setFetchActionItemsStatus(o.Hp.failed))}}function*h({payload:e}){let{id:t,isCompleted:i}=e;try{yield(0,n.T1)(a.uE.post,`/career-planning/${t}/cta-complete`,{is_completed:i});let{data:e}=yield(0,n.T1)(a.uE.get,"/career-planning/cta-progress");yield(0,n.yJ)(_.setProgress(e?.progress))}catch(e){l.A.log(e)}}function*x({payload:e}){try{let{data:{headings:t}}=yield(0,n.T1)(a.uE.get,"/career-planning/headings",{params:{title:e}});if(t.length){yield(0,n.yJ)(_.setNavigationData(t));let{parsedLastSection:e}=(0,d.V3)(),{cpTopLevelId:i,cpSecondLevelId:l}=(0,d.jr)(),c=yield(0,n.Lt)(v.filterOptions),p=(0,d.Xx)(e,t),{data:{content:h}}=yield(0,n.T1)(a.uE.get,"/career-planning/all-content",{params:u});h.sort((e,t)=>e.position-t.position);let x=(0,r.groupBy)(h,"cpSecondLevelId"),m=(0,r.flatMap)(t.map(e=>e.secondLevel)),g=Object.keys(x).map(e=>m.find(({id:t})=>t===+e)).map(e=>e?{...e,contents:x[e.id]}:null);yield(0,n.yJ)(_.setAllContents(g));let y=h.filter(e=>!e.completed),f=h.filter(e=>e.completed),b=h.filter(e=>e.completed);if(b.length){let e=(0,r.groupBy)(f,"cpSecondLevelId"),i=(0,r.flatMap)(t.map(e=>e.secondLevel)),o=Object.keys(e).map(e=>i.find(({id:t})=>t===+e)).map(t=>t?{...t,contents:e[t.id]}:null);yield(0,n.yJ)(_.setCompletedContents(o))}else{let e=c.map((e,t)=>1===t?{...e,isDisabled:!0}:e);yield(0,n.yJ)(_.updateFilterOptions(e))}let j=h.filter(e=>!e.completed);if(j.length){let e=(0,r.groupBy)(y,"cpSecondLevelId"),i=(0,r.flatMap)(t.map(e=>e.secondLevel)),o=Object.keys(e).map(e=>i.find(({id:t})=>t===+e)).map(t=>t?{...t,contents:e[t.id]}:null);yield(0,n.yJ)(_.setOpenContents(o))}else{let e=c.map((e,t)=>0===t?{...e,isDisabled:!0}:e);yield(0,n.yJ)(_.updateFilterOptions(e))}if(yield(0,n.yJ)(_.setActionItems(h)),i&&l){let{isValidTopLevelId:e,isValidSecondLevelId:r}=(0,d.e5)(t,+i,+l);if(e)if(e&&!r){let e=t.find(e=>e.id===+i).secondLevel[0].id;yield(0,n.yJ)(_.setStep(+i)),yield(0,n.yJ)(_.setSecondLevelId(e)),s.D.setItem("userLastSection",JSON.stringify({cpTopLevelId:+i,cpSecondLevelId:e}))}else yield(0,n.yJ)(_.setStep(+i)),yield(0,n.yJ)(_.setSecondLevelId(+l)),s.D.setItem("userLastSection",JSON.stringify({cpTopLevelId:+i,cpSecondLevelId:+l}));else{let e=t[0].id,i=t[0].secondLevel[0].id;yield(0,n.yJ)(_.setStep(e)),yield(0,n.yJ)(_.setSecondLevelId(i)),s.D.setItem("userLastSection",JSON.stringify({cpTopLevelId:e,cpSecondLevelId:i}))}let o=(0,d.YI)(c,j.length,b.length);yield(0,n.yJ)(_.updateFilterOptions(o))}else yield(0,n.yJ)(_.setStep(p.cp_top_level_id)),yield(0,n.yJ)(_.setSecondLevelId(p.cp_second_level_id)),s.D.setItem("userLastSection",JSON.stringify({cpTopLevelId:p.cp_top_level_id,cpSecondLevelId:p.cp_second_level_id})),(0,d.MM)(p.cp_top_level_id,p.cp_second_level_id);yield(0,n.yJ)(_.setFetchActionItemsStatus(o.Hp.loaded))}}catch(e){console.log(e)}}function*m(){try{let{data:e}=yield(0,n.T1)(a.uE.get,"/career-planning/cta-progress");yield(0,n.yJ)(_.setProgress(e?.progress))}catch(e){console.log(e)}}function*g(){try{let{data:e}=yield(0,n.T1)(a.uE.get,"/career-planning/user-last-section");yield(0,n.yJ)(_.setStep(e?.cpTopLevelId)),yield(0,n.yJ)(_.setSecondLevelId(e?.cpSecondLevelId))}catch(e){console.log(e)}}function*y({payload:e}){try{yield(0,n.T1)(a.uE.post,"/career-planning/user-last-section",e)}catch(e){l.A.log(e)}}let f=function*(){yield(0,n.Q7)([(0,n.p8)(_.fetchActionItems,p)]),yield(0,n.Q7)([(0,n.p8)(_.saveCompletedActionItem,h)]),yield(0,n.Q7)([(0,n.p8)(_.fetchHeadings,x)]),yield(0,n.Q7)([(0,n.p8)(_.fetchProgress,m)]),yield(0,n.Q7)([(0,n.p8)(_.fetchUserLastSection,g)]),yield(0,n.Q7)([(0,n.p8)(_.saveUserLastSection,y)])};var b=i(60258);let _={setFetchActionItemsStatus:(0,b.VP)("builder/CAREER_PLANNING_SET_FETCH_ACTION_ITEMS_STATUS"),fetchActionItems:(0,b.VP)("builder/CAREER_PLANNING_FETCH_ACTION_ITEMS"),setActionItems:(0,b.VP)("builder/CAREER_PLANNING_SET_ACTION_ITEMS"),saveCompletedActionItem:(0,b.VP)("builder/CAREER_PLANNING_SAVE_COMPLETED_ACTION_ITEM"),setNavigationData:(0,b.VP)("builder/CAREER_PLANNING_SET_NAVIGATION_DATA"),fetchHeadings:(0,b.VP)("builder/CAREER_PLANNING_FETCH_HEADINGS"),setStep:(0,b.VP)("builder/CAREER_PLANNING_SET_STEP"),setSecondLevelId:(0,b.VP)("builder/CAREER_PLANNING_SET_SECOND_LEVEL_ID"),fetchProgress:(0,b.VP)("builder/CAREER_PLANNING_FETCH_PROGRESS"),setProgress:(0,b.VP)("builder/CAREER_PLANNING_SET_PROGRESS"),setShowLimitModal:(0,b.VP)("builder/CAREER_PLANNING_SET_SHOW_LIMIT_MODAL"),saveUserLastSection:(0,b.VP)("builder/CAREER_PLANNING_SAVE_USER_LAST_SECTION"),fetchUserLastSection:(0,b.VP)("builder/CAREER_PLANNING_FETCH_USER_LAST_SECTION"),updateFilterOptions:(0,b.VP)("builder/CAREER_PLANNING_UPDATE_FILTER_OPTIONS"),setAllContents:(0,b.VP)("builder/CAREER_PLANNING_SET_ALL_CONTENTS"),setContentOffset:(0,b.VP)("builder/CAREER_PLANNING_SET_CONTENT_OFFSET"),setCurrentPage:(0,b.VP)("builder/CAREER_PLANNING_SET_CURRENT_PAGE"),startAnimation:(0,b.VP)("builder/CAREER_PLANNING_START_ANIMATION"),setSelectedId:(0,b.VP)("builder/CAREER_PLANNING_SET_SELECTED_ID"),updatePagesReceived:(0,b.VP)("builder/CAREER_PLANNING_UPDATE_PAGES_RECEIVED"),setIsObserving:(0,b.VP)("builder/CAREER_PLANNING_UPDATE_IS_OBSERVING"),setShowFilters:(0,b.VP)("builder/CAREER_PLANNING_SET_SHOW_FILTERS"),setIsScrollToView:(0,b.VP)("builder/CAREER_PLANNING_SET_IS_SCROLL_TO_VIEW"),setIsTopBarOpen:(0,b.VP)("builder/CAREER_PLANNING_SET_IS_TOP_BAR_OPEN"),setOpenContents:(0,b.VP)("builder/CAREER_PLANNING_SET_OPEN_CONTENTS"),setCompletedContents:(0,b.VP)("builder/CAREER_PLANNING_SET_COMPLETED_CONTENTS"),setFirstContentOffset:(0,b.VP)("builder/CAREER_PLANNING_SET_FIRST_CONTENT_OFFSET"),setTriggerEvent:(0,b.VP)("builder/CAREER_PLANNING_SET_TRIGGER_EVENT")},v={fetchActionItemsStatus:e=>e.careerPlanning.fetchActionItemsStatus,actionItems:e=>e.careerPlanning.actionItems,isContentLoaded:e=>e.careerPlanning.fetchActionItemsStatus===o.Hp.loaded,isContentLoading:e=>e.careerPlanning.fetchActionItemsStatus===o.Hp.loading,isContentFailed:e=>e.careerPlanning.fetchActionItemsStatus===o.Hp.failed,headers:e=>e.careerPlanning.headers,step:e=>e.careerPlanning.step,secondLevelId:e=>e.careerPlanning.secondLevelId,progress:e=>e.careerPlanning.progress,showLimitModal:e=>e.careerPlanning.showLimitModal,filterOptions:e=>e.careerPlanning.filters,allContents:e=>e.careerPlanning.allContents,currentPage:e=>e.careerPlanning.currentPage,startAnimation:e=>e.careerPlanning.startAnimation,selectedId:e=>e.careerPlanning.selectedId,contentOffset:e=>e.careerPlanning.contentOffset,pagesReceived:e=>e.careerPlanning.pagesReceived,isObserving:e=>e.careerPlanning.isObserving,showFilters:e=>e.careerPlanning.showFilters,isScrollToView:e=>e.careerPlanning.isScrollToView,isTopBarOpen:e=>e.careerPlanning.isTopBarOpen,openContents:e=>
8236e.careerPlanning.openContents,completedContents:e=>e.careerPlanning.completedContents,firstContentOffset:e=>e.careerPlanning.firstContentOffset,triggerEvent:e=>e.careerPlanning.triggerEvent},j={fetchActionItemsStatus:o.Hp.notAsked,actionItems:[],headers:[],step:1,secondLevelId:0,progress:0,showLimitModal:!1,filters:[{id:1,status:"open",isActive:!0,isDisabled:!1},{id:2,status:"completed",isActive:!1,isDisabled:!1},{id:3,status:"all",isActive:!1,isDisabled:!1}],allContents:[],startAnimation:!1,selectedId:null,currentPage:0,contentOffset:0,pagesReceived:[],isObserving:!1,showFilters:!1,isScrollToView:!1,isTopBarOpen:!1,openContents:[],completedContents:[],firstContentOffset:null,triggerEvent:!1},A=(0,b.vy)(j,e=>{e.addCase(_.setFetchActionItemsStatus,(e,t)=>{e.fetchActionItemsStatus=t.payload}),e.addCase(_.setActionItems,(e,t)=>{e.actionItems=t.payload}),e.addCase(_.setNavigationData,(e,t)=>{e.headers=t.payload}),e.addCase(_.setStep,(e,t)=>{e.step=t.payload}),e.addCase(_.setSecondLevelId,(e,t)=>{e.secondLevelId=t.payload}),e.addCase(_.setProgress,(e,t)=>{e.progress=t.payload}),e.addCase(_.setShowLimitModal,(e,t)=>{e.showLimitModal=t.payload}),e.addCase(_.updateFilterOptions,(e,t)=>{e.filters=t.payload}),e.addCase(_.setAllContents,(e,t)=>{e.allContents=t.payload}),e.addCase(_.setCurrentPage,(e,t)=>{e.currentPage=t.payload}),e.addCase(_.startAnimation,(e,t)=>{e.startAnimation=t.payload}),e.addCase(_.setSelectedId,(e,t)=>{e.selectedId=t.payload}),e.addCase(_.setContentOffset,(e,t)=>{e.contentOffset=t.payload}),e.addCase(_.updatePagesReceived,(e,t)=>{let i=[...e.pagesReceived,t.payload];e.pagesReceived=i}),e.addCase(_.setIsObserving,(e,t)=>{e.isObserving=t.payload}),e.addCase(_.setShowFilters,(e,t)=>{e.showFilters=t.payload}),e.addCase(_.setIsScrollToView,(e,t)=>{e.isScrollToView=t.payload}),e.addCase(_.setIsTopBarOpen,(e,t)=>{e.isTopBarOpen=t.payload}),e.addCase(_.setOpenContents,(e,t)=>{e.openContents=t.payload}),e.addCase(_.setCompletedContents,(e,t)=>{e.completedContents=t.payload}),e.addCase(_.setFirstContentOffset,(e,t)=>{e.firstContentOffset=t.payload}),e.addCase(_.setTriggerEvent,(e,t)=>{e.triggerEvent=t.payload})})},89979:function(e,t,i){"use strict";i.d(t,{MM:function(){return d},R$:function(){return c},V3:function(){return o},Xx:function(){return n},YI:function(){return s},e5:function(){return l},jr:function(){return a}}),i(14603),i(47566),i(98721),i(18111),i(61701);var r=i(12330);let n=(e,t)=>({cp_top_level_id:e?e.cpTopLevelId:t[0].id,cp_second_level_id:e?e.cpSecondLevelId:t[0].secondLevel[0].id}),o=()=>{let e=r.D.getItem("userLastSection");return{parsedLastSection:e?JSON.parse(e):null}},a=()=>{let{searchParams:e}=new URL(window.location.href),t=e.get("cp_top_level");
8236return{cpTopLevelId:t,cpSecondLevelId:e.get("cp_second_level")}},l=(e,t,i)=>{let r=!1,n=!1,o=e.findIndex(e=>e.id===t);return -1!==o&&(r=!0,n=-1!==e[o].secondLevel.findIndex(e=>e.id===i)),{isValidTopLevelId:r,isValidSecondLevelId:n}},s=(e,t,i)=>e.map(e=>1===e.id?{...e,isActive:!1,isDisabled:!t}:2===e.id?{...e,isActive:!1,isDisabled:!i}:{...e,isActive:!0}),d=(e,t)=>{let i=new URL(window.location.href),{searchParams:r}=i;r.set("cp_top_level",`${e}`),r.set("cp_second_level",`${t}`),window.history.pushState({},"",i.toString())},c=(e,t)=>{r.D.setItem("userLastSection",JSON.stringify({cpTopLevelId:e,cpSecondLevelId:t}))}},34346:function(e,t,i){"use strict";i.d(t,{Ff:function(){return w},Tp:function(){return A},vq:function(){return n},o1:function(){return j},al:function(){return H}});var r,n=((r={}).success="success",r.failure="failure",r.retry="retry",r.pending="pending",r);i(18111),i(22489),i(61701);let o=e=>`career-profile-data-${e||"user"}`,a=()=>new Date().toDateString(),l=e=>({workExperiencesAttributes:(e.positions??[]).map(e=>({title:e.title,employer:e.organization,city:e.location?.city,dateFrom:e.startDate,dateUntil:e.endDate,description:e.description})),skillsAttributes:(e.skills??[]).map(e=>({skill:e.name,level:void 0})),educationsAttributes:(e.educations??[]).map(e=>({school:e.organization,degree:e.degree,city:e.location?.city,dateFrom:e.startDate,dateUntil:e.endDate,description:void 0})),coursesAttributes:[]});i(18237);var s=i(68216),d=i(99197),c=i(57238),u=i(64961),p=i(28363),h=i(16497),x=i(12330),m=i(49595),g=i(32606),y=i(19863),f=i(8037),b=i(49012);i(44114);var _=i(60258),v=i(33093);let j={fetchQuestions:(0,_.VP)("builder/CAREER_PROFILE_CHAT_FETCH_QUESTIONS"),setFetchQuestionsStatus:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_FETCH_QUESTIONS_STATUS"),setInitialQuestions:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_INITIAL_QUESTIONS"),setQuestions:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_QUESTIONS"),setAsked:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_ASKED"),setAnswers:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_ANSWERS"),saveAnswer:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SAVE_ANSWER"),setSelectedResume:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_RESUME"),setLatestResume:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_COMMIT_RESUME"),setSelectedResumeText:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_SELECTED_RESUME_TEXT"),setStructuredResumeData:(0,_.VP)("builder/CAREER_PROFILE_SET_STRUCTURED_RESUME_DATA"),setFetchSelectedResumeStatus:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_SELECTED_RESUME_FETCH_STATUS"),postChatbotAnswers:(0,_.VP)("builder/CAREER_PROFILE_CHAT_POST_ANSWERS"),setPersona:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_PERSONA"),parseResume:(0,_.VP)("builder/CAREER_PROFILE_CHAT_PARSE_RESUME"),setUploadedFilename:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_FILENAME"),setIsDataSentDuringCurrentSession:(0,_.VP)("builder/CAREER_PROFILE_CHAT_SET_SET_IS_DATA_SENT_DURING_CURRENT_SESSION"),setFetchCareerInsightsStatus:(0,_.VP)("builder/CAREER_PROFILE_SET_FETCH_CAREER_INSIGHTS_STATUS"),startCareerInsightsPolling:(0,_.VP)("builder/CAREER_PROFILE_START_CAREER_INSIGHTS_POLLING"),setCareerInsightsData:(0,_.VP)("builder/CAREER_PROFILE_SET_CAREER_INSIGHTS_DATA"),setOpenedPaywallModalType:(0,_.VP)("builder/CAREER_PROFILE_SET_OPENED_PAYWALL_MODAL_TYPE"),setIsOptimizeResumeModalOpened:(0,_.VP)("builder/CAREER_PROFILE_SET_IS_OPTIMIZE_RESUME_MODAL_OPENED"),fetchCompleteness:(0,_.VP)("builder/CAREER_PROFILE_FETCH_COMPLETENESS"),setFetchCompletenessStatus:(0,_.VP)("builder/CAREER_PROFILE_SET_FETCH_COMPLETENESS_STATUS"),setCompletenessPercent:(0,_.VP)("builder/CAREER_PROFILE_SET_COMPLETENESS_PERCENT"),setCompletenessPendingItems:(0,_.VP)("builder/CAREER_PROFILE_SET_COMPLETENESS_PENDING_ITEMS"),setSeenPage:(0,_.VP)("builder/CAREER_PROFILE_SET_SET_SEEN_PAGE"),updateProfileData:(0,_.VP)("builder/CAREER_PROFILE_UPDATE_PROFILE_DATA"),setUpdateProfileDataStatus:(0,_.VP)("builder/CAREER_PROFILE_SET_UPDATE_PROFILE_DATA_STATUS"),updateProfileImage:(0,_.VP)("builder/CAREER_PROFILE_UPDATE_PROFILE_IMAGE"),deleteProfileImage:(0,_.VP)("builder/CAREER_PROFILE_DELETE_PROFILE_IMAGE"),fetchCareerProfile:(0,_.VP)("builder/CAREER_PROFILE_FETCH_CAREER_PROFILE"),setFetchCareerProfileStatus:(0,_.VP)("builder/CAREER_PROFILE_SET_FETCH_CAREER_PROFILE_STATUS"),setCareerProfileData:(0,_.VP)("builder/CAREER_PROFILE_SET_CAREER_PROFILE_DATA"),setCareerProfileStateFromLocalStorage:(0,_.VP)("builder/CAREER_PROFILE_CHAT_DATA_SYNCHRONIZED_WITH_LOCAL_STORAGE"),setIsSyncedWithLocalStorage:(0,_.VP)("builder/CAREER_PROFILE_SET_IS_SYNCED_WITH_LOCAL_STORAGE"),setCareerInsightsStatusModalType:(0,_.VP)("builder/CAREER_PROFILE_SET_CAREER_INSIGHTS_STATUS_MODAL_TYPE"),setSeenTemporalModal:(0,_.VP)("builder/CAREER_PROFILE_SET_SEEN_TEMPORAL_MODAL"),setInitialChatState:(0,_.VP)("builder/CAREER_PROFILE_SET_INITIAL_CHAT_STATE"),setIsProfilePhotoUploading:(0,_.VP)("builder/CAREER_PROFILE_SET_IS_PROFILE_PHOTO_UPLOADING"),addFloatingHelperPromotionDay:(0,_.VP)("builder/CAREER_PROFILE_ADD_FLOATING_HELPER_PROMOTION_DAY"),setIsCompletenessResultClosed:(0,_.VP)("builder/CAREER_PROFILE_SET_IS_COMPLETENESS_RESULT_CLOSED"),setMobileProfileMenu:(0,_.VP)("builder/CAREER_PROFILE_OPEN_PROFILE_MENU"),prefillProfile:(0,_.VP)("builder/CAREER_PROFILE_PREFILL_PROFILE"),setFetchIsNewProfileStatus:(0,_.VP)("builder/CAREER_PROFILE_SET_FETCH_IS_NEW_PROFILE_STATUS"),setIsNewProfile:(0,_.VP)("builder/CAREER_PROFILE_SET_IS_NEW_PROFILE"),setOnboardingStructuredResumeData:(0,_.VP)("builder/CAREER_PROFILE_SET_ONBOARDING_STRUCTURED_RESUME_DATA"),parseResumeOnboarding:(0,_.VP)("builder/CAREER_PROFILE_PARSE_RESUME_ONBOARDING"),setRecommendationsMissingAttributes:(0,_.VP)("builder/CAREER_PROFILE_SET_RECOMMENDATIONS_MISSING_ATTRIBUTES")},A={fetchQuestionsStatus:e=>e.careerProfile.chat.fetchQuestionsStatus,questions:e=>e.careerProfile.chat.questions,asked:e=>e.careerProfile.chat.asked,answers:e=>e.careerProfile.chat.answers,selectedResume:e=>e.careerProfile.chat.selectedResume,latestResume:e=>e.careerProfile.chat.latestResume,selectedResumeText:e=>e.careerProfile.chat.selectedResumeText,persona:e=>e.careerProfile.chat.persona,uploadedFilename:e=>e.careerProfile.chat.uploadedFilename,isDataSentDuringCurrentSession:e=>e.careerProfile.chat.isDataSentDuringCurrentSession,careerInsightsData:e=>e.careerProfile.careerInsights.data,careerAssessmentResults:e=>e.careerProfile.careerInsights.data?.careerAssessmentResults,fetchCareerInsightsStatus:e=>e.careerProfile.careerInsights.fetchCareerInsightsStatus,openedPaywallModalType:e=>e.careerProfile.openedPaywallModalType,isOptimizeResumeModalOpened:e=>e.careerProfile.isOptimizeResumeModalOpened,completenessFetchStatus:e=>e.careerProfile.completeness.fetchStatus,completenessPercent:e=>e.careerProfile.completeness.percent,completenessPendingItems:e=>e.careerProfile.completeness.pendingItems,isCompletenessResultClosed:e=>e.careerProfile.completeness.isResultClosed,seenCareerProfilePages:e=>e.careerProfile.seenCareerProfilePages,isCareerAssessmentRequired:e=>{let{fetchCareerInsightsStatus:t,data:i}=e.careerProfile.careerInsights,r=e.careerProfile.chat.isDataSentDuringCurrentSession,n=t===f.Hp.loaded||t===f.Hp.failed;return!r||n&&!i},isCareerInsightsProcessed:e=>e.careerProfile.careerInsights.data?.status===n.success,isPageMarkedAsNew:(e,t)=>{let i=e.careerProfile.seenCareerProfilePages[t];return A.isCareerInsightsProcessed(e)&&!i},profileTargetRoles:e=>e.careerProfile.profile.data?.targetRoles,resumeTargetRoles:e=>e.careerProfile.profile.data?.resumeTargetRoles,profileTargetLocations:e=>e.careerProfile.profile.data?.targetLocations?e.careerProfile.profile.data?.targetLocations.filter(e=>""!==e.formattedName):[],fetchCareerProfileStatus:e=>e.careerProfile.profile.fetchStatus,careerProfileData:e=>e.careerProfile.profile.data,careerInsightsStatusModalType:e=>e.careerProfile.careerInsightsStatusModalType,dataToSyncWithLocalStorage:e=>({chat:e.careerProfile.chat,seenCareerProfilePages:e.careerProfile.seenCareerProfilePages,seenTemporalModals:e.careerProfile.seenTemporalModals,floatingHelperPromotionDays:e.careerProfile.floatingHelperPromotionDays,completeness:{isResultClosed:e.careerProfile.completeness.isResultClosed}}),isSyncedWithLocalStorage:e=>e.careerProfile.isSyncedWithLocalStorage,isTemporalModalSeen:(e,t)=>e.careerProfile.seenTemporalModals[t],structuredResumeData:e=>e.careerProfile.chat.structuredResumeData,isProfilePhotoUploading:e=>e.careerProfile.profile.isPhotoUploading,profilePictureUrl:(0,c.jR)(e=>e.careerProfile.profile.data?.profilePicture),isFloatingHelperPromotionNeeded:e=>{let t=A.isSyncedWithLocalStorage(e),{floatingHelperPromotionDays:i}=e.careerProfile,r=i.length>3,n=i.includes(a());return t&&!r&&!n},isMobileProfileMenuOpen:e=>e.careerProfile.mobileProfileMenu,isNewProfile:e=>e.careerProfile.onboarding.isNewProfile,fetchIsNewProfileStatus:e=>e.careerProfile.onboarding.fetchIsNewProfileStatus,onboardingStructuredResumeData:e=>e.careerProfile.onboarding.structuredResumeData,recommendationsMissingAttributes:e=>e.careerProfile.recommendations.missingAttributes,updateProfileDataStatus:e=>e.careerProfile.profile.updateProfileDataStatus},C={chat:{fetchQuestionsStatus:f.Hp.notAsked,fetchSelectedResumeStatus:f.Hp.notAsked,questions:[],asked:[],answers:[],selectedResume:null,latestResume:null,selectedResumeText:null,persona:null,isDataSentDuringCurrentSession:!1,uploadedFilename:null,structuredResumeData:null},careerInsights:{fetchCareerInsightsStatus:f.Hp.notAsked,data:null},openedPaywallModalType:null,isOptimizeResumeModalOpened:!1,completeness:{fetchStatus:f.Hp.notAsked,percent:null,pendingItems:[],isResultClosed:!1}
8236,seenCareerProfilePages:{insights:!1,pitch:!1,"cover-letter":!1},profile:{fetchStatus:f.Hp.notAsked,data:null,isPhotoUploading:!1,updateProfileDataStatus:f.Hp.notAsked},isSyncedWithLocalStorage:!1,careerInsightsStatusModalType:null,seenTemporalModals:{"insights-result":!1,promotion:!1},floatingHelperPromotionDays:[],mobileProfileMenu:!1,onboarding:{fetchIsNewProfileStatus:f.Hp.notAsked,isNewProfile:!1,structuredResumeData:null},recommendations:{missingAttributes:[]}},w=(0,_.vy)(C,e=>{e.addCase(j.setFetchQuestionsStatus,(e,t)=>{e.chat.fetchQuestionsStatus=t.payload}),e.addCase(j.setInitialQuestions,(e,t)=>{let i=1;e.chat.questions=t.payload.map(e=>({id:String(i++),text:e.question,hint:e.hint,response:{id:String(i++),text:"string"==typeof e?.response?e?.response:e?.question}}))}),e.addCase(j.setQuestions,(e,t)=>{e.chat.questions=t.payload}),e.addCase(j.setAsked,(e,t)=>{e.chat.asked=t.payload}),e.addCase(j.setAnswers,(e,t)=>{e.chat.answers=t.payload}),e.addCase(j.saveAnswer,(e,t)=>{let i=e.chat.answers.findIndex(e=>e.id===t.payload.id);if(-1!==i)e.chat.answers[i]=t.payload;else{let i=e.chat.answers.length+1;e.chat.answers.push({...t.payload,id:String(i)}),(0,v.xP)("submit_qa_question",{question_number:i,label:"career_assessment"})}}),e.addCase(j.setSelectedResume,(e,t)=>{e.chat.selectedResume=t.payload}),e.addCase(j.setLatestResume,(e,t)=>{e.chat.latestResume=t.payload}),e.addCase(j.setPersona,(e,t)=>{e.chat.persona=t.payload}),e.addCase(j.setFetchSelectedResumeStatus,(e,t)=>{e.chat.fetchSelectedResumeStatus=t.payload}),e.addCase(j.setSelectedResumeText,(e,t)=>{e.chat.selectedResumeText=t.payload}),e.addCase(j.setStructuredResumeData,(e,t)=>{e.chat.structuredResumeData=t.payload}),e.addCase(j.setIsDataSentDuringCurrentSession,(e,t)=>{e.chat.isDataSentDuringCurrentSession=t.payload}),e.addCase(j.setFetchCareerInsightsStatus,(e,t)=>{e.careerInsights.fetchCareerInsightsStatus=t.payload}),e.addCase(j.setCareerInsightsData,(e,t)=>{e.careerInsights.data=t.payload}),e.addCase(j.setOpenedPaywallModalType,(e,t)=>{e.openedPaywallModalType=t.payload}),e.addCase(j.setIsOptimizeResumeModalOpened,(e,t)=>{e.isOptimizeResumeModalOpened=t.payload}),e.addCase(j.setUploadedFilename,(e,t)=>{e.chat.uploadedFilename=t.payload}),e.addCase(j.setFetchCompletenessStatus,(e,t)=>{e.completeness.fetchStatus=t.payload}),e.addCase(j.setCompletenessPercent,(e,t)=>{e.completeness.percent=t.payload}),e.addCase(j.setCompletenessPendingItems,(e,t)=>{e.completeness.pendingItems=t.payload}),e.addCase(j.setSeenPage,(e,t)=>{e.seenCareerProfilePages[t.payload]=!0}),e.addCase(j.setSeenTemporalModal,(e,t)=>{e.seenTemporalModals[t.payload]=!0}),e.addCase(j.updateProfileData,(e,t)=>{e.profile.data&&(e.profile.data={...e.profile.data,...t.payload})}),e.addCase(j.setFetchCareerProfileStatus,(e,t)=>{e.profile.fetchStatus=t.payload}),e.addCase(j.setCareerProfileData,(e,t)=>{e.profile.data=t.payload}),e.addCase(j.setCareerProfileStateFromLocalStorage,(e,t)=>{e.chat=t.payload.chat||C.chat,e.seenCareerProfilePages=t.payload.seenCareerProfilePages||C.seenCareerProfilePages,e.seenTemporalModals=t.payload.seenTemporalModals||C.seenTemporalModals,e.floatingHelperPromotionDays=t.payload.floatingHelperPromotionDays||[],e.completeness.isResultClosed=t.payload.completeness?.isResultClosed||!1}),e.addCase(j.setIsSyncedWithLocalStorage,(e,t)=>{e.isSyncedWithLocalStorage=t.payload}),e.addCase(j.setCareerInsightsStatusModalType,(e,t)=>{e.careerInsightsStatusModalType=t.payload}),e.addCase(j.setInitialChatState,e=>{e.chat={...C.chat}}),e.addCase(j.setIsProfilePhotoUploading,(e,t)=>{e.profile.isPhotoUploading=t.payload}),e.addCase(j.addFloatingHelperPromotionDay,e=>{let t=a();e.floatingHelperPromotionDays.includes(t)||e.floatingHelperPromotionDays.push(a())}),e.addCase(j.setIsCompletenessResultClosed,(e,t)=>{e.completeness.isResultClosed=t.payload}),e.addCase(j.setMobileProfileMenu,(e,t)=>{e.mobileProfileMenu=t.payload}),e.addCase(j.setIsNewProfile,(e,t)=>{e.onboarding.isNewProfile=t.payload}),e.addCase(j.setFetchIsNewProfileStatus,(e,t)=>{e.onboarding.fetchIsNewProfileStatus=t.payload}),e.addCase(j.setOnboardingStructuredResumeData,(e,t)=>{e.onboarding.structuredResumeData=t.payload}),e.addCase(j.setRecommendationsMissingAttributes,(e,t)=>{e.recommendations.missingAttributes=t.payload}),e.addCase(j.setUpdateProfileDataStatus,(e,t)=>{e.profile.updateProfileDataStatus=t.payload})});var k=i(68090),S=i.n(k);function*T(){let e=yield(0,s.Lt)(c.Tp.userData);if(!e)return;let t=o(e.id),i=x.D.getItem(t);if(i){let e=JSON.parse(i);yield(0,s.yJ)(j.setCareerProfileStateFromLocalStorage(e))}yield(0,s.yJ)(j.setIsSyncedWithLocalStorage(!0))}function*P(){let e,t=yield(0,s.Lt)(c.Tp.userData);if(!t)return;let i=yield(0,s.Lt)(A.dataToSyncWithLocalStorage),r=o(t.id);x.D.setItem(r,JSON.stringify({...i,chat:{...i.chat,asked:(e=Number(S()(i.chat.answers
8236)?.time),i.chat.asked.filter(t=>Number(t?.time)<e))}}))}let J=function*(){yield(0,s.Q7)([(0,s.p8)(c.o1.setAccount,T)]),yield(0,s.Q7)([(0,s.p8)(j.setSeenPage,P)]),yield(0,s.Q7)([(0,s.p8)(j.setQuestions,P)]),yield(0,s.Q7)([(0,s.p8)(j.setAsked,P)]),yield(0,s.Q7)([(0,s.p8)(j.setAnswers,P)]),yield(0,s.Q7)([(0,s.p8)(j.setPersona,P)]),yield(0,s.Q7)([(0,s.p8)(j.setSelectedResumeText,P)]),yield(0,s.Q7)([(0,s.p8)(j.setIsDataSentDuringCurrentSession,P)]),yield(0,s.Q7)([(0,s.p8)(j.setFetchQuestionsStatus,P)]),yield(0,s.Q7)([(0,s.p8)(j.setUploadedFilename,P)]),yield(0,s.Q7)([(0,s.p8)(j.setLatestResume,P)]),yield(0,s.Q7)([(0,s.p8)(j.setSelectedResume,P)]),yield(0,s.Q7)([(0,s.p8)(j.setSeenTemporalModal,P)]),yield(0,s.Q7)([(0,s.p8)(j.setInitialChatState,P)]),yield(0,s.Q7)([(0,s.p8)(j.setStructuredResumeData,P)]),yield(0,s.Q7)([(0,s.p8)(j.addFloatingHelperPromotionDay,P)]),yield(0,s.Q7)([(0,s.p8)(j.setIsCompletenessResultClosed,P)])};function*E(){try{yield(0,s.yJ)(j.setFetchQuestionsStatus(f.Hp.loading));let{data:e}=yield(0,s.T1)(b.R3.get,"/career/v1/assessments");yield(0,s.yJ)(j.setInitialQuestions(e.assessmentQuestions)),yield(0,s.yJ)(j.setFetchQuestionsStatus(f.Hp.loaded))}catch(e){yield(0,s.yJ)(j.setFetchQuestionsStatus(f.Hp.failed))}}function*R({payload:e}){try{if(!e)return void(yield(0,s.yJ)(j.setSelectedResumeText("")));yield(0,s.yJ)(j.setFetchSelectedResumeStatus(f.Hp.loading));let t=(0,s.T1)(b.uE.get,`/resumes/${e.id}/resume_as_string`),i=(0,s.T1)(b.uE.get,`/resumes/${e.id}`),[{data:r},{data:n}]=yield(0,s.Q7)([t,i]),o={workExperiencesAttributes:n.workExperiences.map(e=>({title:e.title,employer:e.employer,city:e.city,dateFrom:e.dateFrom,dateUntil:e.dateUntil,description:e.description})),skillsAttributes:n.skills.map(e=>({skill:e.skill,level:e.level})),educationsAttributes:n.educations.map(e=>({school:e.school,degree:e.degree,city:e.city,dateFrom:e.dateFrom,dateUntil:e.dateUntil,description:e.description})),coursesAttributes:n.courses.map(e=>({course:e.course,institution:e.institution,dateFrom:e.dateFrom,dateUntil:e.dateUntil}))};yield(0,s.yJ)(j.setSelectedResumeText(r.resume)),yield(0,s.yJ)(j.setStructuredResumeData(o)),yield(0,s.yJ)(j.setFetchSelectedResumeStatus(f.Hp.loaded))}catch(e){yield(0,s.yJ)(j.setFetchSelectedResumeStatus(f.Hp.failed))}}function*L(){try{let e=yield(0,s.Lt)(c.Tp.userData),t=yield(0,s.Lt)(A.persona),i=yield(0,s.Lt)(A.questions),r=yield(0,s.Lt)(A.answers),n=yield(0,s.Lt)(A.selectedResumeText),o=yield(0,s.Lt)(A.structuredResumeData),a=i.reduce((e,t,i)=>({...e,[t.text]:r[i].text}),{});if(!e||!t||!a||!n||!o)return void console.warn("Unable to post chatbot answers, check input data");let l={name:e.firstName,userType:t,questionAnswers:a,cvText:n,cvStructured:o};yield(0,s.yJ)(j.setIsDataSentDuringCurrentSession(!0)),yield(0,s.yJ)(j.setCareerInsightsData(null)),yield(0,s.yJ)(j.setFetchCareerInsightsStatus(f.Hp.loading)),yield(0,s.T1)(b.R3.post,"/career/v1/assessments",l),yield(0,s.yJ)(j.setIsDataSentDuringCurrentSession(!0)),yield(0,s.yJ)(j.startCareerInsightsPolling())}catch(e){yield(0,s.yJ)(j.setFetchCareerInsightsStatus(f.Hp.failed))}}function*N(){try{(yield(0,s.Lt)(A.fetchCareerInsightsStatus))===f.Hp.notAsked&&(yield(0,s.yJ)(j.setFetchCareerInsightsStatus(f.Hp.loading)));let{data:e,status:t}=yield(0,s.T1)(b.R3.get,"/career/v1/insights");if(204===t){yield(0,s.yJ)(j.setCareerInsightsData(null)),yield(0,s.yJ)(j.setFetchCareerInsightsStatus(f.Hp.loaded));return}switch(yield(0,s.yJ)(j.setCareerInsightsData(e)),yield(0,s.yJ)(j.setFetchCareerInsightsStatus(f.Hp.loaded)),e.status){case n.pending:yield(0,s.cb)(1e4),yield(0,s.yJ)(j.startCareerInsightsPolling());break;case n.success:case n.failure:case n.retry:yield(0,s.yJ)(j.fetchCompleteness()),(yield(0,s.Lt)(e=>A.isTemporalModalSeen(e,"insights-result")))||(yield(0,s.yJ)(j.setCareerInsightsStatusModalType("insights")))}}catch(e){d.A.isAxiosError(e)&&e.response?.status===404?(yield(0,s.yJ)(j.setCareerInsightsData(null)),yield(0,s.yJ)(j.setFetchCareerInsightsStatus(f.Hp.loaded))):yield(0,s.yJ)(j.setFetchCareerInsightsStatus(f.Hp.failed))}}function*I({payload:e}){yield(0,s.yJ)(g.o1.setIsSavingPrefilledResume(!0));try{let t=yield(0,s.T1)(y.X,e);if(t?.data){if(yield(0,s.yJ)(g.o1.setResumeUploadStatus(f.R4.uploaded)),yield(0,s.yJ)(j.setUploadedFilename(e.name)),!t.data?.rawText)throw Error("received empty text from parser");let i=l(t.data);yield(0,s.yJ)(j.setSelectedResumeText(t.data.rawText)),yield(0,s.yJ)(j.setStructuredResumeData(i)),yield(0,s.cb)(1e3)}else throw Error(t.data.error)}catch(e){yield(0,s.yJ)(g.o1.setResumeUploadStatus(f.R4.failed)),e instanceof Error&&(yield(0,s.yJ)(g.o1.setPrefillResumeGenericError({error:e.message,errorSource:f.zv.parsing})))}yield(0,s.yJ)(g.o1.setIsSavingPrefilledResume(!1))}function*M({payload:e}){yield(0,s.yJ)(g.o1.setIsSavingPrefilledResume(!0));try{let t=yield(0,s.T1)(y.X,e.file);if(t?.data){if(yield(0,s.yJ)(g.o1.setResumeUploadStatus(f.R4.uploaded)),!t.data?.rawText)throw Error("received empty text from parser");let i=l(t.data);x.D.setItem(m.zv,JSON.stringify(i)),(0,h.o)(e.redirectUrl),yield(0,s.yJ)(j.setOnboardingStructuredResumeData(i))}else throw Error(t.data.error)}catch(e){yield(0,s.yJ)(g.o1.setResumeUploadStatus(f.R4.failed)),e instanceof Error&&(yield(0,s.yJ)(g.o1.setPrefillResumeGenericError({error:e.message,errorSource:f.zv.parsing})))}yield(0,s.yJ)(g.o1.setIsSavingPrefilledResume(!1))}function*B(){try{let e=yield(0,s.Lt)(A.completenessFetchStatus);if(e===f.Hp.loading||e===f.Hp.loaded)return;yield(0,s.yJ)(j.setFetchCompletenessStatus(f.Hp.loading));let{data:t}=yield(0,s.T1)(b.R3.get,"career/v1/profile/completeness-state");yield(0,s.yJ)(j.setCompletenessPercent(t.completenessState)),yield(0,s.yJ)(j.setCompletenessPendingItems(t.completenessPending)),yield(0,s.yJ)(j.setFetchCompletenessStatus(f.Hp.loaded))}catch(e){yield(0,s.yJ)(j.setFetchCompletenessStatus(f.Hp.failed))}}function*D(){try{let e=yield(0,s.Lt)(A.fetchCareerProfileStatus);if(e===f.Hp.loading||e===f.Hp.loaded)return;yield(0,s.yJ)(j.setFetchCareerProfileStatus(f.Hp.loading));let{data:t}=yield(0,s.T1)(b.R3.get,"career/profile");yield(0,s.yJ)(j.setCareerProfileData(t)),yield(0,s.yJ)(j.setFetchCareerProfileStatus(f.Hp.loaded))}catch(e){yield(0,s.yJ)(j.setFetchCareerProfileStatus(f.Hp.failed))}}function*$({payload:e}){try{let{userType:t,profilePicture:i,...r}=e;if(!Object.keys(r).length)return;yield(0,s.yJ)(j.setUpdateProfileDataStatus(f.Hp.loading));let{data:n}=yield(0,s.T1)(b.R3.patch,"career/profile",{careerProfile:r});yield(0,s.yJ)(j.setCareerProfileData(n)),yield(0,s.yJ)(j.setUpdateProfileDataStatus(f.Hp.loaded)),yield(0,s.yJ)(j.fetchCompleteness())}catch(e){p.A.log(e),yield(0,s.yJ)(j.setUpdateProfileDataStatus(f.Hp.failed))}}function*O({payload:e}){try{yield(0,s.yJ)(j.setIsProfilePhotoUploading(!0));let t=e.file,i="transform"in e?e.transform:void 0,r="processedFile"in e?e.processedFile:void 0,n=new FormData;t&&n.append("career_profile[original_file]",t),r&&n.append("career_profile[file]",r),n.append("career_profile[file_transform]",JSON.stringify(i));let{data:o}=yield(0,s.T1)(b.R3.patch,"/career/profile",n);yield(0,s.yJ)(j.updateProfileData({profilePicture:o.profilePicture})),yield(0,s.yJ)(j.setIsProfilePhotoUploading(!1)),yield(0,s.yJ)(c.o1.fetchUserRequest
8236({silent:!0}))}catch(e){p.A.log(e),yield(0,s.yJ)(j.setIsProfilePhotoUploading(!1))}}function*z(){try{yield(0,s.yJ)(j.setIsProfilePhotoUploading(!0));let{data:e}=yield(0,s.T1)(b.R3.patch,"/career/profile",{careerProfile:{file:null,originalFile:null,fileTransform:null}});yield(0,s.yJ)(j.updateProfileData({profilePicture:e.profilePicture})),yield(0,s.yJ)(j.setIsProfilePhotoUploading(!1)),yield(0,s.yJ)(c.o1.fetchUserRequest({silent:!0}))}catch(e){p.A.log(e),yield(0,s.yJ)(j.setIsProfilePhotoUploading(!1))}}function*F({payload:e}){yield(0,s.yJ)(j.setFetchCareerProfileStatus(f.Hp.loading)),yield(0,s.yJ)(j.setFetchIsNewProfileStatus(f.Hp.loading));try{let t=e?.resumeId?{resumeId:e.resumeId}:void 0,{data:i}=yield(0,s.T1)(b.R3.post,"/career/v1/profile/prefill/me",t),{data:r}=yield(0,s.T1)(b.R3.get,"career/profile");yield(0,s.yJ)(j.setFetchIsNewProfileStatus(f.Hp.loaded)),yield(0,s.yJ)(j.setFetchCareerProfileStatus(f.Hp.loaded)),yield(0,s.yJ)(j.setIsNewProfile(r.newProfile)),yield(0,s.yJ)(j.setCareerProfileData(r)),!0===i.newProfile&&!1===r.newProfile&&(yield(0,s.yJ)(u.o1.setUIStatesConfigStatus({career_profile_prefilled_modal_pending:!0})),yield(0,s.yJ)(c.o1.setUIUserState({careerProfilePrefilledModalPending:!0})))}catch(e){p.A.log(e),yield(0,s.yJ)(j.setFetchCareerProfileStatus(f.Hp.failed)),yield(0,s.yJ)(j.setFetchIsNewProfileStatus(f.Hp.failed))}}let H=function*(){yield(0,s.Zy)(J),yield(0,s.Q7)([(0,s.p8)(j.fetchQuestions,E)]),yield(0,s.Q7)([(0,s.p8)(j.setSelectedResume,R)]),yield(0,s.Q7)([(0,s.p8)(j.postChatbotAnswers,L)]),yield(0,s.Q7)([(0,s.p8)(j.startCareerInsightsPolling,N)]),yield(0,s.Q7)([(0,s.jP)(j.fetchCompleteness,B)]),yield(0,s.Q7)([(0,s.p8)(j.parseResume,I)]),yield(0,s.Q7)([(0,s.jP)(j.fetchCareerProfile,D)]),yield(0,s.Q7)([(0,s.p8)(j.updateProfileData,$)]),yield(0,s.Q7)([(0,s.p8)(j.updateProfileImage,O)]),yield(0,s.Q7)([(0,s.p8)(j.deleteProfileImage,z)]),yield(0,s.Q7)([(0,s.p8)(j.prefillProfile,F)]),yield(0,s.Q7)([(0,s.p8)(j.parseResumeOnboarding,M)])}},1261:function(e,t,i){"use strict";i.d(t,{Ff:function(){return m},Tp:function(){return h},o1:function(){return x},al:function(){return w}});var r=i(68216),n=i(33093),o=i(86663),a=i(49012),l=i(63506);i(18111),i(22489),i(61701),i(18237);var s=i(30195),d=i(16535),c=i(80299),u=i.n(c);let p={resume_library:{title:"Resume-Library",domain:"resume-library.com",disclaimer:`By submitting this form you are indicating that you have read and agree to
8237      <a href="https://www.resume-library.com/terms">Resume-Library’s terms of service.</a>`},zip_recruiter:{title:"ZipRecruiter",domain:"ziprecruiter.com",disclaimer:`By submitting this form I agree to the ZipRecruiter
8238      <a href="https://www.ziprecruiter.com/terms">Terms of Use</a> and acknowledge I have read the
8239      <a href="https://www.ziprecruiter.com/privacy">Privacy Policy</a> and agree to receive daily
8240      job alert emails. I also agree I understand I may modify or remove my resume or change my
8241      privacy settings at any time by visiting my ZipRecruiter profile at ZipRecruiter.com.
8242      By uploading my resume, I agree to let ZipRecruiter use my resume to improve matching, create
8243      a job seeker account, and include my resume in the Resume Database so that employers can find
8244      me in their candidate searches.`},recruit_robin:{title:"Recruit Robin",domain:"recruitrobin.com",websites:[{title:"Nationale Vacaturebank",name:"vacaturebank"},{title:"Werkzoeken.nl",name:"werkzeken"},{title:"Recruit Robin",name:"recruit_robin"}],disclaimer:`By clicking &laquo;Post This Resume&raquo;, I agree to the Recruit Robin
8245      <a href="/legal/recruit_robin_terms_of_use.pdf" target='_blank'>Terms of Use</a>
8246      and acknowledge I have read the
8247      <a href="/legal/recruit_robin_privacy_policy.pdf" target='_blank'>Privacy Policy</a>
8248      and agree to receive daily job alert emails. I also agree I understand I may modify or remove
8249      my resume or change my privacy settings at any time by visiting my Recruit Robin profile at
8250      RecruitRobin.com. By uploading my resume, I agree to let Recruit Robin use my resume to
8251      improve matching, create a job seeker account, and include my resume in the Resume Database
8252      so that employers can find me in their candidate searches.`}},h={isInitialized:e=>e.coRegistration.isInitialized,isResumeReady:e=>e.coRegistration.isResumeReady,isSupported:e=>h.services(e).length>0,isPopupOpen:e=>e.coRegistration.isPopupOpen,isModalOpen:e=>e.coRegistration.isModalOpen,sendingState:e=>{let{isSending:t,isSent:i,errors:r}=e.coRegistration;return{isSending:t,isSent:i,errors:r}},services:e=>e.coRegistration.services,unusedServices:e=>h.services(e).filter(e=>!e.connected)},x={initialize:(0,s.createAction)("CO_REG/INITIALIZE"),initializeSuccess:(0,s.createAction)("CO_REG/INITIALIZE_SUCCESS"),connect:(0,s.createAction)("CO_REG/CONNECT"),connectStart:(0,s.createAction)("CO_REG/CONNECT_START"),connectSuccess:(0,s.createAction)("CO_REG/CONNECT_SUCCESS"),connectFail:(0,s.createAction)("CO_REG/CONNECT_FAIL"),open:(0,s.createAction)("CO_REG/OPEN"),close:(0,s.createAction)("CO_REG/CLOSE"),togglePopup:(0,s.createAction)("CO_REG/TOGGLE_POPUP"),toggleModal:(0,s.createAction)("CO_REG/TOGGLE_MODAL"),toggleResumeStatus:(0,s.createAction)("CO_REG/TOGGLE_RESUME_STATUS")},m=(0,s.handleActions)({[x.initializeSuccess]:(0,d.Ay)((e,t)=>{let i=t.payload.availableBoards,r=t.payload.coRegs.map(e=>e.provider);e.services=u()(i,r).map(e=>({name:e,connected:r.includes(e),...p[e]})),e.isInitialized=!0}),[x.connectStart]:(0,d.Ay)(e=>{e.isSending=!0}),[x.connectSuccess]:(0,d.Ay)((e,t)=>{let i=t.payload,r=i.filter(e=>e.success).map(e=>e.provider),n=i.reduce((e,t)=>
8252{if(!t.errors)return e;let i=t.errors.map(e=>{let{title:i}=p[t.provider];return`${i}: ${e}`});return e.concat(i)},[]);e.services=e.services.map(e=>({...e,connected:e.connected||r.includes(e.name)})),e.isSending=!1,e.isSent=0===n.length,e.errors=n}),[x.connectFail]:(0,d.Ay)((e,t)=>{e.errors=[t.payload],e.isSending=!1}),[x.togglePopup]:(0,d.Ay)((e,t)=>{e.isPopupOpen=t.payload}),[x.toggleModal]:(0,d.Ay)((e,t)=>{e.isModalOpen=t.payload}),[x.toggleResumeStatus]:(0,d.Ay)((e,t)=>{e.isResumeReady=t.payload}),[x.close]:(0,d.Ay)(e=>{e.isSent=!1})},{isInitialized:!1,isResumeReady:!1,isPopupOpen:!1,isModalOpen:!1,isSending:!1,isSent:!1,errors:[],services:[]});var g=i(32606),y=i(77093),f=i(16497),b=i(12330);function*_(){if(yield(0,r.Lt)(h.isInitialized))return;let{data:e}=yield(0,r.T1)(a.uE.get,"/co-regs");yield(0,r.yJ)(x.initializeSuccess(e)),(yield(0,r.Lt)(h.unusedServices)).length&&(yield(0,r.T1)(v))}function*v(){let e=yield(0,r.Lt)(l.Tp.feature,"coReg"),{co_reg:t}=o.parse(window.location.search,{parseBooleans:!0}),i=e||t;for(;;)if(yield(0,r.s)([g.dr,g.o1.fetchResumeSuccess]),(yield(0,r.Lt)(g.Tp.resumeScore))>=85){if(!i)return;yield(0,r.yJ)(x.toggleResumeStatus(!0)),b.D.getItem("CO_REG_POPUP_CLOSED")||(yield(0,r.yJ)(x.togglePopup(!0)));return}}function*j({payload:e}){e&&(0,n.xP)("see_co_registration_popup"),e||b.D.setItem("CO_REG_POPUP_CLOSED",!0)}function*A({payload:e}){yield(0,r.yJ)(x.connectStart());try{let{data:t}=yield(0,r.T1)(a.uE.post,"/co-regs",e);yield(0,r.yJ)(x.connectSuccess(t));let{isSent:i}=yield(0,r.Lt)(h.sendingState);i&&(0,n._m)("Co-Reg","Post Resume"),(0,n.xP)("complete_co_registration",{status:i?"success":"fail"})}catch(e){(0,n.xP)("complete_co_registration",{status:"fail"}),yield(0,r.yJ)(x.connectFail(e.message||"Internal server error"))}}function*C(e){let{resumeId:t,source:i}=e.payload,{isPhone:o}=(0,y.C)();if((yield(0,r.Lt)(h.isPopupOpen))&&(yield(0,r.yJ)(x.togglePopup(!1))),(yield(0,r.Lt)(h.unusedServices)).length||o)return(0,n.xP)("visit_co_registration_page",{source:i}),(0,f.o)(`/resumes/${t}/co-reg`);(0,n.xP)("see_co_registration_modal"),yield(0,r.yJ)(x.toggleModal(!0))}let w=function*(){yield(0,r.Q7)([(0,r.jP)(x.initialize,_),(0,r.jP)(x.togglePopup,j),(0,r.jP)(x.open,C),(0,r.jP)(x.connect,A)])}},8037:function(e,t,i){"use strict";i.d(t,{$R:function(){return W},AB:function(){return et},Es:function(){return N},Hp:function(){return I},IQ:function(){return Z},JR:function(){return n},JS:function(){return ei},Lv:function(){return r},Nh:function(){return Q},O6:function(){return en},Qm:function(){return X},R4:function(){return B},Sw:function(){return ee},TF:function(){return U},Tt:function(){return o},VC:function(){return L},Z2:function(){return q},_t:function(){return O},bo:function(){return G},cK:function(){return Y},fA:function(){return M},hR:function(){return R},kv:function(){return eo},ph:function(){return K},pn:function(){return F},rD:function(){return V},rz:function(){return er},to:function(){return H},ux:function(){return z},vy:function(){return E},x6:function(){return $},xZ:function(){return ea},zv:function(){return D}});let r=window.devicePixelRatio||1,n="/api/app",o="signed_up";var a,l,s,d,c,u,p,h,x,m,g,y,f,b,_,v,j,A,C,w,k,S,T,P,J,E=((a={}).server="server",a.client="client",a),R=((l={}).docx="docx",l.pdf="pdf",l.txt="txt",l.tr_pdf="tr_pdf",l.tr_doc="tr_doc",l),L=((s={}).trDocument="tr_document",s.resume="resume",s.coverLetter="cover_letter",s);let N={min:-1,max:1,step:.5};var I=((d={}).notAsked="NOT_ASKED",d.loading="LOADING",d.loaded="LOADED",d.failed="FAILED",d),M=((c={}).notStarted="NOT_STARTED",c.uploading="UPLOADING",c.validated="VALIDATED",c.failed="FAILED",c),B=((u={}).notStarted="NOT_STARTED",u.uploaded="UPLOADED",u.failed="FAILED",u),D=((p={}).validation="VALIDATION",p.parsing="PARSING",p),$=((h={}).seeStartScreen="see_resume_start_screen",h.clickCrossButtonStartScreen="click_cross_button_start_screen",h.clickCreateResume="click_create_resume_start_screen",h.clickUploadResume="click_upload_resume_start_screen",h.completeResumeUpload="complete_resume_upload",h.clickChangeFile="click_change_file_upload_screen",h.clickDone="click_done_upload_screen",h.completeResumeParsing="complete_resume_parsing",h.seeResumeUploadError="see_resume_upload_error_screen",h.seeResumeParsingError="see_resume_parsing_error_screen",h.clickCreateWithLiStart
8252Screen="click_create_with_li_start_screen",h.viewRoutingScreen="view_routing_screen",h.clickRoutingScreen="click_routing_screen",h.clickNextStep="click_next_step",h.clickUploadCta="click_upload_cta",h),O=((x={}).clickCreateWithAI="click_create_with_ai_start_screen",x.seeLinkedInPrefillscreen="see_linkedin_prefill_screen",x.clickSkip="click_skip",x.provideLinkedInLink="provide_linkedin_link",x.clickContinue="click_continue",x.seeLinkedInProfileScreen="see_linkedin_profile_screen",x.clickGenerate="click_generate",x.clickTryAgain="click_try_again",x.seeLinkedInProfileErrorScreen="see_linkedin_profile_error_screen",x.clickQuestionnaire="click_questionnaire",x.clickAnotherLink="click_another_link",x.seeWorkExperienceStep="see_work_experience_step",x.clickAddMore="click_add_more",x.seeDesiredJobStep="see_desired_job_step",x.seeEducationStep="see_education_step",x.seeSkillsStep="see_skills_step",x.addSkill="add_skill",x.seeProfessionalHighlightsStep="see_professional_highlights_step",x.seeCareerGoalsStep="see_career_goals_step",x.clickStartRecording="click_start_recording",x.clickRetakeRecording="click_retake_recording",x.clickStopRecording="click_stop_recording",x.clickTextInput="click_text_input",x.clickVoiceInput="click_voice_input",x.seeRecordingError="see_recording_error",x.clickCreateResume="click_create_resume",x.startGenerating="start_generating_ai_resume",x.generateSuccessfully="generate_ai_resume_successfully",x.generateError="generate_ai_resume_error",x.clickStartOver="click_start_over",x.seeMicrophoneAccessErrorScreen="see_microphone_access_error_screen",x.seeMicrophoneBrowserErrorScreen="see_microphone_browser_error_screen",x),z=((m={}).aiResume="ai_resume",m.linkedInPrefillScreen="linkedin_prefill_screen_ai_resume",m.linkedInProfileScreen="profile_screen_ai_resume",m.linkedInProfileErrorScreen="linkedin_profile_error_screen_ai_resume",m.linkedInProfile="linkedin_profile",m.workExperience="work_experience_ai_resume",m.desiredJob="desired_job_ai_resume",m.education="education_ai_resume",m.skills="skills_ai_resume",m.careerGoals="career_goals_ai_resume",m.professionalHighlights="professional_highlights_ai_resume",m.questionnaire="questionnaire",m.generateError="ai_resume_generation_error",m),F=((g={}).clickUseAnExampleStartScreen="click_use_an_example_start_screen",g.seeExamplesLibrary="see_examples_library",g.clickExample="click_example",g.clickCategory="click_category",g.clickSearchBar="click_search_bar",g.clickSearchResult="click_search_result",g.seeEmptySearchResults="see_empty_search_results",g.clickStartWithAnotherOption="click_start_with_another_option",g.seeExamplePreview="see_example_preview",g.clickUseExample="click_use_example",g.prefillResumeSuccessfully="prefill_resume_successfully",g),H=((y={}).examplesPrefill="examples_prefill",y),V=((f={}).notStarted="NOT_STARTED",f.generating="GENERATING",f.generated="GENERATED",f.failed="FAILED",f),U=((b={}).skipped="skipped",b.scheduled="scheduled",b.failed="failed",b.done="done",b),W=((_={}).linkedInPrefill="linkedin_prefill",_.linkedInProfile="linkedin_profile",_.linkedInError="linkedin_error",_),K=((v={}).workExperience="workExperience",v.education="education",v),q=((j={}).LinkedIn="LinkedIn",j.Questionnaire="Questionnaire",j),G=((A={}).notStarted="NOT_STARTED",A.processing="PROCESSING",A.finished="FINISHED",A.failed="Failed",A),Z=((C={}).notStarted="NOT_STARTED",C.processing="PROCESSING",C.finished="FINISHED",C.failed="Failed",C),X=((w={}).generate="generate",w.improve="improve",w),Q=((k={}).notStarted="NOT_STARTED",k.processing="PROCESSING",k.finished="FINISHED",k.failed="Failed",k),Y=((S={}).closeFlow="CLOSE_FLOW",S.dataLost="DATA_LOST",S.removeJob="REMOVE_JOB",S.retake="RETAKE",S.switchToVoice="SWITCH_TO_VOICE",S.switchToText="SWITCH_TO_TEXT",S),ee=((T={}).stay="STAY",T.confirmClose="CONFIRM_CLOSE",T.confirmDataLost="CCONFIRM_DATA_LOST",T.retake="RETAKE",T.removeJob="REMOVE_JOB",T.switchToVoice="SWITCH_TO_VOICE",T.switchToText="SWITCH_TO_TEXT",T),et=((P={}).unsupportedBrowser="UNSUPPORTED_BROWSER",P.permissionDenied="PERMISSION_DENIED",P.unknown="UNKNOWN",P);let ei="https://career.io/app/create-account",er="https://career.io/app/job-search?view=recommendation",en="https://career.io/app/offer-analyzer";var eo=((J={}).landing="landing",J.autoTailorFromJobBoard="auto_tailor_from_public_job_board",J.saveJobFromJobBoard="save_job_from_public_job_board",J);let ea="mcp_document_id"},18827:function(e,t,i){"use strict";i.d(t,{Ff:function(){return o},Tp:function(){return n},o1:function(){return a}}),i(44114),i(18111),i(22489);var r=i(60258);let n={messages:e=>e.conversationalBuilder.messages,loading:e=>e.conversationalBuilder.loading,error:e=>e.conversationalBuilder.error,builderType:e=>e.conversationalBuilder.builderType},{reducer:o,actions:a}=(0,r.Z0)({name:"conversationalBuilder",initialState:{messages:[],loading:!1,error:null,builderType:"resume"},reducers:{sendMessage:(e,t)=>
8252{e.loading=!0,e.error=null},addUserMessage:(e,t)=>{e.messages.push({role:"user",content:t.payload.content,builderType:e.builderType,...t.payload.resumeReviewQuickAction&&{resumeReviewQuickAction:!0}})},addAssistantMessage:(e,t)=>{e.messages.push({role:"assistant",content:t.payload,builderType:e.builderType})},receiveMessage:(e,t)=>{let{payload:i}=t;e.messages.push({role:"assistant",content:i.assistantMessage,changes:i.changes||[],builderType:e.builderType}),e.loading=!1},setError:(e,t)=>{e.error=t.payload,e.loading=!1},refreshLastMessage:(e,t)=>{e.messages.length>0&&"assistant"===e.messages[e.messages.length-1].role&&e.messages.pop(),e.loading=!0,e.error=null},applySingleChange:(e,t)=>{let{messageIndex:i,changeIndex:r}=t.payload,n=e.messages[i],o=n?.changes?.[r];o&&(o.applied=!0)},setBuilderType:(e,t)=>{e.builderType=t.payload},clearMessagesByBuilderType:(e,t)=>{e.messages=e.messages.filter(e=>e.builderType===t.payload)}}})},52967:function(e,t,i){"use strict";i.d(t,{Ff:function(){return c},Tp:function(){return l},o1:function(){return a},al:function(){return w}});var r=i(60258),n=i(44506),o=i(8037);let a={fetchCoverLetterRequest:(0,r.VP)("builder/FETCH_COVER_LETTER_REQUEST"),fetchCoverLetterSuccess:(0,r.VP)("builder/FETCH_COVER_LETTER_SUCCESS"),fetchCoverLetterFail:(0,r.VP)("builder/FETCH_COVER_LETTER_FAIL"),updateSimpleField:(0,r.VP)("builder/UPDATE_COVER_LETTER_SIMPLE_FIELD"),updateTemplate:(0,r.VP)("builder/UPDATE_COVER_LETTER_TEMPLATE"),updateCoverLetterSuccess:(0,r.VP)("builder/UPDATE_COVER_LETTER__SUCCESS"),updateCoverLetterFail:(0,r.VP)("builder/UPDATE_COVER_LETTER_FAIL"),changeEditorState:(0,r.VP)("builder/COVER_LETTER_CHANGE_EDITOR_STATE"),regenerateCoverLetter:(0,r.VP)("builder/REGENERATE_COVER_LETTER"),setAIRegenerationStatus:(0,r.VP)("builder/SET_AI_REGENERATION_STATUS"),setOpenEditorEventTracked:(0,r.VP)("builder/SET_OPEN_EDITOR_EVENT_TRACKED"),setShowConfirmRegenerateModal:(0,r.VP)("builder/SET_SHOW_CONFIRM_REGENERATE_MODAL"),resetAIGenerationState:(0,r.VP)("builder/RESET_AI_GENERATION_STATE"),setEditorPanelType:(0,r.VP)("builder/SET_EDITOR_PANEL_TYPE")},l={templates:e=>e.generalEditor.coverLetterTemplates,coverLetter:e=>e.coverLetterEditor.coverLetter,isContentAnimationPending:e=>!!e.coverLetterEditor.coverLetter?.openCl,aiGenerationSection:e=>e.coverLetterEditor.aiGenerationSection,editorPanelType:e=>e.coverLetterEditor.editorPanelType,isSyncing:e=>e.coverLetterEditor.isSyncing,openEditorEventTracked:e=>e.coverLetterEditor.openEditorEventTracked,error:e=>e.coverLetterEditor.error},s={showPaywall:!1,showConfirmationModal:!1,regenerationStatus:o.rD.notStarted},d={isLoading:!1,isSyncing:!1,coverLetter:null,error:null,openEditorEventTracked:!1,aiGenerationSection:{...s},editorPanelType:"editor"},c=(0,r.vy)(d,e=>{e.addCase(a.changeEditorState,(e,{payload:t})=>{e={...e,...t}}),e.addCase(a.fetchCoverLetterRequest,e=>{e.isLoading=!0,e.coverLetter=null,e.error=null,e.openEditorEventTracked=!1,e.aiGenerationSection={...s}}),e.addCase(a.fetchCoverLetterFail,(e,t)=>{e.isLoading=!1,e.error=t.payload}),e.addCase(a.fetchCoverLetterSuccess,(e,t)=>{e.isLoading=!1;let i=t.payload;e.coverLetter={...i,content:(0,n.yN)(i.content||"")}}),e.addCase(a.updateSimpleField,(e,t)=>{if(e.coverLetter){let{name:i,value:r}=t.payload;e.coverLetter={...e.coverLetter,[i]:r},e.isSyncing=!0}}),e.addCase(a.updateCoverLetterFail,(e,t)=>{e.isSyncing=!1,e.error=t.payload}),e.addCase(a.updateCoverLetterSuccess,(e,t)=>{e.isSyncing=!1;let i=t.payload;e.coverLetter={...i,content:(0,n.yN)(i.content||"")}}),e.addCase(a.setAIRegenerationStatus,(e,t)=>{e.aiGenerationSection.regenerationStatus=t.payload}),e.addCase(a.setOpenEditorEventTracked,(e,t)=>{e.openEditorEventTracked=t.payload}),e.addCase(a.setShowConfirmRegenerateModal,(e,t)=>{e.aiGenerationSection.showConfirmationModal=t.payload}),e.addCase(a.resetAIGenerationState,e=>{e.aiGenerationSection={...s}}),e.addCase(a.setEditorPanelType,(e,t)=>{e.editorPanelType=t.payload})});i(18111),i(20116),i(61701);var u=i(99197),p=i(33093),h=i(58156),x=i.n(h),m=i(68216),g=i(49012),y=i(13807),f=i(57238),b=i(28363);let _=(e,t,i)=>{let r=i&&"object"==typeof i?i:null;if("string"==typeof r?.template&&r.template.length>0)return;let n=r?.content;b.A.log(Error("Cover letter payload missing template"),{tag:"cover-letter-bad-payload",extra:{s
8252ource:e,requestedId:t,payloadType:null===i?"null":typeof i,payloadKeys:r?Object.keys(r):null,payloadId:r?.id??null,contentType:typeof n,contentLength:"string"==typeof n?n.length:null,payloadTextLength:"string"==typeof i?i.length:null,payloadTextContent:"string"==typeof i?i.slice(0,200):null,pathname:"u">typeof window?window.location?.pathname??null:null,userAgent:"u">typeof navigator?navigator.userAgent:null}})};function*v({payload:e}){try{let t=`/cover-letters/${e.id}`,{data:i}=yield(0,m.T1)(g.uE.get,t);_("fetch",e.id,i),yield(0,m.yJ)(y.o1.checkDocument(i)),yield(0,m.s)(y.o1.checkDocumentComplete),yield(0,m.yJ)(a.fetchCoverLetterSuccess(i))}catch(e){u.A.isAxiosError(e)&&e.response?.status===404&&(e.message=`${e.message}. The requested cover letter might not exist.`),b.A.log(e),yield(0,m.yJ)(a.fetchCoverLetterFail(e))}}function*j({payload:e}){try{let{debounce:t=!0}=e;!0===t&&(yield(0,m.cb)(300));let i=yield(0,m.Lt)(l.coverLetter),{data:r}=yield(0,m.T1)(g.uE.patch,`/cover-letters/${i.id}`,i);_("patch",i.id??null,r),yield(0,m.yJ)(y.o1.checkDocument(r)),yield(0,m.s)(y.o1.checkDocumentComplete),yield(0,m.yJ)(a.updateCoverLetterSuccess(r))}catch(e){b.A.log(e),yield(0,m.yJ)(a.updateCoverLetterFail(e))}}function*A({payload:e}){try{let{id:t}=e,i=yield(0,m.Lt)(l.templates),r=i.find(e=>e.id===t);if(!r)return void b.A.log(Error("Trying to set not found template for cover letter"),{extra:{templateId:t,loadedTemplates:i.map(e=>e.id)}});let n=x()(r,"settings.color.default",null);yield(0,m.yJ)(a.updateSimpleField({name:"color",value:n})),yield(0,m.yJ)(a.updateSimpleField({name:"template",value:t})),yield(0,m.yJ)(a.updateSimpleField({name:"templateConfig",value:r}))}catch(e){b.A.log(e)}}function*C({payload:e}){try{yield(0,m.yJ)(a.setAIRegenerationStatus(o.rD.generating));let{status:t,data:{success:i}}=yield(0,m.T1)(g.R3.post,"/job-postings/regenerate-cover-letter",null,{params:{id:e.id}});200===t&&i?(yield(0,m.T1)(v,{payload:{id:e.id}}),(yield(0,m.Lt)(l.coverLetter)).content&&(yield(0,m.yJ)(a.updateSimpleField({name:"openCl",value:!0}))),yield(0,m.yJ)(a.setShowConfirmRegenerateModal(!1)),yield(0,m.yJ)(a.setAIRegenerationStatus(o.rD.generated)),yield(0,m.yJ)(f.o1.fetchUserRequest({silent:!0})),(0,p.xP)("generate_cover_letter_succesfully")):(yield(0,m.yJ)(a.setShowConfirmRegenerateModal(!1)),yield(0,m.yJ)(a.setAIRegenerationStatus(o.rD.failed)))}catch(e){yield(0,m.yJ)(a.setAIRegenerationStatus(o.rD.failed)),u.A.isAxiosError(e)&&e.response?.status===404&&(e.message=`${e.message}. The requested cover letter might not exist.`),b.A.log(e),yield(0,m.yJ)(a.fetchCoverLetterFail(e))}}let w=function*(){yield(0,m.Q7)([(0,m.jP)(a.fetchCoverLetterRequest,v),(0,m.p8)(a.updateSimpleField,j),(0,m.p8)(a.updateTemplate,A),(0,m.jP)(a.regenerateCoverLetter,C)])}},64578:function(e,t,i){"use strict";i.d(t,{Ff:function(){return u},Tp:function(){return d},pn:function(){return n},o1:function(){return c},al:function(){return g}});var r,n=((r={}).RESUME_CREATION="resume_creation",r.RESUME_DISTRIBUTION="resume_distribution",r.PERSONALIZED_JOBS="personalized_jobs",r.JOB_TRACKER_WISHLIST="job_tracker_wishlist",r.APPLY_FOR_YOU="apply_for_you",r.CAREER_PROFILE="career_profile",r),o=i(68216),a=i(49012),l=i(28363),s=i(60258);let d={isLoaded:e=>e.dashboard.isLoaded,stepsData:e=>e.dashboard.stepsData,stepperSuccessStateSeen:e=>e.dashboard.stepperSuccessStateSeen,showUpgradeModal:e=>e.dashboard.showUpgradeModal},c={fetchStepsDataRequest:(0,s.VP)("builder/FETCH_STEPS_DATA_REQUEST"),fetchStepsDataSuccess:(0,s.VP)("builder/FETCH_STEPS_DATA_SUCCESS"),fetchStepperSuccessStateRequest:(0,s.VP)("builder/FETCH_STEPPER_SUCCESS_STATE_REQUEST"),fetchStepperSuccessStateSuccess:(0,s.VP)("builder/FETCH_STEPPER_SUCCESS_STATE_SUCCESS"),setStepsLoadedStatus:(0,s.VP)("builder/SET_STEPS_LOADED_DATA_STATUS"),updateStepperSuccessStateRequest:(0,s.VP)("builder/UPDATE_STEPPER_SUCCESS_STATE_REQUEST"),updatePersonalizedJobsStateRequest:(0,s.VP)("builder/UPDATE_PERSONALIZED_JOBS_STATE_REQUEST"),setShowUpgradeModal:(0,s.VP)("builder/SET_SHOW_UPGRADE_MODAL")},u=(0,s.vy)({isLoaded:!1,stepperSuccessStateSeen:!1,stepsData:{apply_for_you:{completed:!1},resume_distribution:{completed:!1},personalized_jobs:{completed:!1},job_tracker_wishlist:{completed:!1,needed:0},resume_creation:{completed:!1,resume_id:0,score:0},career_profile:{completed:!1,current_score:0}},showUpgradeModal:!1},e=>{e.addCase(c.fetchStepsDataSuccess,(e,{payload:t})=>{e.stepsData=t,e.isLoaded=!0}),e.addCase(c.fetchStepperSuccessStateSuccess,(e,{payload:t})=>{e.stepperSuccessStateSeen=t}),e.addCase(c.setStepsLoadedStatus,(e,{payload:t})=>{e.isLoaded=t}),e.addCase(c.setShowUpgradeModal,(e,{payload:t})=>{e.showUpgradeModal=t})});function*p(){try{let e=yield(0,o.T1)(a.R3.get,"/dashboard-stepper");yield(0,o.yJ)(c.fetchStepsDataSuccess(e.data))}catch(e){l.A.log(e)}}function*h(){try{let e=yield(0,o.T1)(a.R3.get,"/dashboard-stepper/step_status?step=stepper_success_state_seen");yield(0,o.yJ)(c.fetchStepperSuccessStateSuccess(e.data))}catch(e){l.A.log(e)}}function*x(){try{yield(0,o.T1)(a.R3.post,"/dashboard-stepper/complete_step?step=stepper_success_state_seen")}catch(e){l.A.log(e)}}function*m(){try{yield(0,o.T1)(a.R3.post,"/dashboard-stepper/complete_step?step=personalized_jobs")}catch(e){l.A.log(e)}}let g=function*(){yield(0,o.Q7)([(0,o.p8)(c.fetchStepsDataRequest,p)]),yield(0,o.Q7)([(0,o.p8)(c.fetchStepperSuccessStateRequest,h)]),yield(0,o.Q7)([(0,o.p8)(c.updateStepperSuccessStateRequest,x)]),yield(0,o.Q7)([(0,o.p8)(c.updatePersonalizedJobsStateRequest,m)])}},91734:function(e,t,i){"use strict";i.d(t,{Ff:function(){return x},x0:function(){return n},m6:function(){return o},Tp:function(){return p},o1:function(){return u},al:function(){return y}});var r,n=((r={})[r.DEFAULT=0]="DEFAULT",r[r.WORKINGONCV=1]="WORKINGONCV",r[r.JOBSEARCHING=2]="JOBSEARCHING",r[r.APPLYINGJOBS=3]="APPLYINGJOBS",r[r.INTERVIEWING=4]="INTERVIEWING",r[r.HIRED=5]="HIRED",r);let o=[{id:1,status:"✍️  Working on my resume/CV",checked:!1}
8252,{id:2,status:"\uD83D\uDD0D  Actively job searching",checked:!1},{id:3,status:"✔️  Applying jobs",checked:!1},{id:4,status:"\uD83C\uDF99️  Currently interviewing",checked:!1},{id:5,status:"\uD83D\uDCBC  I’ve been hired!",checked:!1}];i(18111),i(20116),i(61701);var a=i(68216),l=i(43253),s=i(8037),d=i(49012),c=i(60258);let u={setStep:(0,c.VP)("builder/ENTERPRISE_SET_STEP"),openJobStatusModal:(0,c.VP)("builder/ENTERPRISE_OPEN_JOB_STATUS_MODAL"),closeJobStatusModal:(0,c.VP)("builder/ENTERPRISE_CLOSE_JOB_STATUS_MODAL"),showJobStatusProgressBar:(0,c.VP)("builder/ENTERPRISE_SHOW_JOB_STATUS_PROGRESS_BAR"),hideJobStatusProgressBar:(0,c.VP)("builder/ENTERPRISE_HIDE_JOB_STATUS_PROGRESS_BAR"),openJobStatusConfirmationModal:(0,c.VP)("builder/ENTERPRISE_OPEN_JOB_STATUS_CONFIRMATION_MODAL"),closeJobStatusConfirmationModal:(0,c.VP)("builder/ENTERPRISE_CLOSE_JOB_STATUS_CONFIRMATION_MODAL"),openJobStatusHiredModal:(0,c.VP)("builder/ENTERPRISE_OPEN_JOB_STATUS_HIRED_MODAL"),closeJobStatusHiredModal:(0,c.VP)("builder/ENTERPRISE_CLOSE_JOB_STATUS_HIRED_MODAL"),setFetchJobStatus:(0,c.VP)("builder/ENTERPRISE_SET_FETCH_JOB_STATUS"),fetchJobStatus:(0,c.VP)("builder/ENTERPRISE_FETCH_JOB_STATUS"),setEnterpriseUser:(0,c.VP)("builder/ENTERPRISE_SET_USER"),setJobStatus:(0,c.VP)("builder/ENTERPRISE_SET_JOB_STATUS"),clearJobStatus:(0,c.VP)("builder/ENTERPRISE_CLEAR_JOB_STATUS"),updateJobStatus:(0,c.VP)("builder/ENTERPRISE_UPDATE_JOB_STATUS"),sendUpdatedJobStatus:(0,c.VP)("builder/ENTERPRISE_SEND_UPDATED_JOB_STATUS")},p={step:e=>e.enterpriseModal.step,isJobStatusModalOpen:e=>e.enterpriseModal.isJobStatusModalOpen,showJobStatusProgressBar:e=>e.enterpriseModal.showJobStatusProgressBar,isJobStatusConfirmationModalOpen:e=>e.enterpriseModal.isJobStatusConfirmationModalOpen,isJobStatusHiredModalOpen:e=>e.enterpriseModal.isJobStatusHiredModalOpen,isEnterpriseUser:e=>e.enterpriseModal.isEnterpriseUser,jobStatus:e=>e.enterpriseModal.jobStatus},h={step:n.DEFAULT,isJobStatusModalOpen:!1,showJobStatusProgressBar:!1,isJobStatusConfirmationModalOpen:!1,isJobStatusHiredModalOpen:!1,fetchJobStatus:s.Hp.notAsked,isEnterpriseUser:!1,jobStatus:o},x=(0,c.vy)(h,e=>{e.addCase(u.setStep,(e,t)=>{e.step=t.payload}),e.addCase(u.openJobStatusModal,e=>{e.isJobStatusModalOpen=!0}),e.addCase(u.closeJobStatusModal,e=>{e.isJobStatusModalOpen=!1}),e.addCase(u.showJobStatusProgressBar,e=>{e.showJobStatusProgressBar=!0}),e.addCase(u.hideJobStatusProgressBar,e=>{e.showJobStatusProgressBar=!1}),e.addCase(u.openJobStatusConfirmationModal,e=>{e.isJobStatusConfirmationModalOpen=!0}),e.addCase(u.closeJobStatusConfirmationModal,e=>{e.isJobStatusConfirmationModalOpen=!1}),e.addCase(u.openJobStatusHiredModal,e=>{e.isJobStatusHiredModalOpen=!0}),e.addCase(u.closeJobStatusHiredModal,e=>{e.isJobStatusHiredModalOpen=!1}),e.addCase(u.setFetchJobStatus,(e,t)=>{e.fetchJobStatus=t.payload}),e.addCase(u.setEnterpriseUser,(e,t)=>{e.isEnterpriseUser=t.payload}),e.addCase(u.setJobStatus,(e,t)=>{e.jobStatus=t.payload}),e.addCase(u.clearJobStatus,e=>{e.jobStatus=o}),e.addCase(u.updateJobStatus,(e,t)=>{e.jobStatus=t.payload})});function*m(){try{yield(0,a.yJ)(u.setFetchJobStatus(s.Hp.loading));let{data:e}=yield(0,a.T1)(d.uE.get,"/job-statuses");yield(0,a.yJ)(u.setFetchJobStatus(s.Hp.loaded)),e.success&&(yield(0,a.yJ)(u.setEnterpriseUser(!0)));let t=e.jobStatuses.find(e=>e.selected);if(t){if((0,l.A)(Date.now(),new Date(e.updatedAt))>=72){"hired"!==t.status?yield(0,a.yJ)(u.openJobStatusConfirmationModal()):yield(0,a.yJ)(u.openJobStatusModal());let e=[...o].map(e=>t?.status==="working_my_cv"&&1===e.id||t?.status==="act_job_Search"&&2===e.id||t?.status==="apply_job"&&3===e.id||t?.status==="current_interviewing"&&4===e.id||t?.status==="hired"&&5===e.id?{...e,checked:!0}:e);switch(yield(0,a.yJ)(u.setJobStatus(e)),t.status){case"working_my_cv":yield(0,a.yJ)(u.setStep(n.WORKINGONCV));break;case"act_job_Search":yield(0,a.yJ)(u.setStep(n.JOBSEARCHING));break;case"apply_job":yield(0,a.yJ)(u.setStep(n.APPLYINGJOBS));break;case"current_interviewing":yield(0,a.yJ)(u.setStep(n.INTERVIEWING));break;case"hired":yield(0,a.yJ)(u.setStep(n.HIRED))}}}else yield(0,a.yJ)(u.openJobStatusModal())}catch(e){yield(0,a.yJ)(u.setFetchJobStatus(s.Hp.failed))}}function*g({payload:e}
8252){let t,i=e.find(e=>e.checked);i?.id===1?t={status:"working_my_cv",selected:!0}:i?.id===2?t={status:"act_job_Search",selected:!0}:i?.id===3?t={status:"apply_job",selected:!0}:i?.id===4?t={status:"current_interviewing",selected:!0}:i?.id===5&&(t={status:"hired",selected:!0});try{let e={jobStatus:t};yield(0,a.T1)(d.uE.post,"/job-statuses/update-job-status",{...e})}catch(e){}}let y=function*(){yield(0,a.Q7)([(0,a.p8)(u.fetchJobStatus,m)]),yield(0,a.Q7)([(0,a.p8)(u.sendUpdatedJobStatus,g)])}},10494:function(e,t,i){"use strict";i.d(t,{Ff:function(){return h},Tp:function(){return u},o1:function(){return p},al:function(){return m}});var r=i(68216),n=i(49012),o=i(28363),a=i(54997),l=i(60258);let s=e=>e.generalEditor.resumeTemplates,d=e=>e.generalEditor.coverLetterTemplates,c=(0,a.Mz)(s,d,(e,t)=>t,(e,t,i)=>"resume"===i?e:"cover_letter"===i?t:[]),u={resumeTemplates:s,coverLetterTemplates:d,templatesByType:c,levels:e=>e.generalEditor.levels,isLoaded:e=>e.generalEditor.isLoaded,locales:e=>e.generalEditor.locales},p={fetchEditorPayloadRequest:(0,l.VP)("builder/FETCH_EDITOR_PAYLOAD_REQUEST"),fetchEditorPayloadSuccess:(0,l.VP)("builder/FETCH_EDITOR_PAYLOAD_SUCCESS")},h=(0,l.vy)({isLoaded:!1,locales:[],levels:{},suggestionLocales:{},resumeTemplates:[],coverLetterTemplates:[]},e=>{e.addCase(p.fetchEditorPayloadSuccess,(e,{payload:t})=>{e.locales=t.locales,e.resumeTemplates=t.resumeTemplates,e.coverLetterTemplates=t.letterTemplates,e.suggestionLocales=t.suggestionLocales,e.levels.skill=t.skillLevels,e.levels.language=t.languageLevels,e.isLoaded=!0})});function*x(){try{let e=yield(0,r.T1)(n.uE.get,"/general/editor-payload");yield(0,r.yJ)(p.fetchEditorPayloadSuccess(e.data))}catch(e){o.A.log(e)}}let m=function*(){yield(0,r.Q7)([(0,r.p8)(p.fetchEditorPayloadRequest,x)])}},69352:function(e,t,i){"use strict";i.d(t,{Ff:function(){return d.Ff},l1:function(){return r.l},Tp:function(){return d.Tp},o1:function(){return d.o1},al:function(){return p},G6:function(){return r.G}});var r=i(69086),n=i(68216),o=i(31264),a=i(49012),l=i(69685),s=i(8037),d=i(63506);function*c(e){let{scope:t}=e.payload;if((yield(0,n.Lt)(e=>d.Tp.configFetchStatus(e,t)))===s.Hp.notAsked){yield(0,n.yJ)(d.o1.setFetchStatus({scope:t,status:s.Hp.loading}));try{let{data:e}=yield(0,n.T1)(a.uE.get,"/config",{params:{scope:t}});"locale"in e&&(0,l.xS)(e.locale),"links"in e&&e.links.authBrowserExtensionRedirect&&(window.location.href=e.links.authBrowserExtensionRedirect),yield(0,n.yJ)(d.o1.updateConfig({...e,scope:t})),yield(0,n.yJ)(d.o1.setFetchStatus({scope:t,status:s.Hp.loaded}))}catch(e){yield(0,n.yJ)(d.o1.setFetchStatus({scope:t,status:s.Hp.failed}))}}}function*u(){let e=(0,o.Od)(e=>{let t=t=>{e(t)},i=()=>t({isOnline:!1}),r=()=>t({isOnline:!0});return window.addEventListener("offline",i),window.addEventListener("online",r),()=>{window.removeEventListener("offline",i),window.removeEventListener("online",r)}});for(;;){let{isOnline:t}=yield(0,n.s)(e);yield(0,n.yJ)(d.o1.setInternetConnectionStatus({isOnline:t}))}}let p=function*(){yield(0,n.Zy)(u),yield(0,n.Q7)([(0,n.jP)(d.o1.fetchConfig,c)])}},63506:function(e,t,i){"use strict";i.d(t,{o1:function(){return u},Ff:function(){return h},Tp:function(){return c}});var r=i(60258),n=i(8037),o=i(69086);i(18111),i(7588);var a=i(86663),l=i(84058),s=i.n(l);let d=(0,a.parse)(window.location.search,{parseBooleans:!0,parseNumbers:!0}),c={config:(e,t)=>{let i=t||o.l.app;return e.application.configs[i]},feature:(e,t,i)=>c.config(e,i)?.features[t],logo:e=>c.config(e,o.l.country)?.logo??null,locale:e=>c.config(e,o.l.country)?.locale??null,returnButton:e=>c.config(e,o.l.country)?.returnButton??null,isOnline:e=>e.application.isOnline,resumeLocale:e=>e.resumeEditor.resume?.locale??null,coverLetterLocale:e=>e.coverLetterEditor.coverLetter?.locale??null,configFetchStatus:(e,t)=>{let i=t||o.l.app;return e.application.fetchStatuses[i]}},u={fetchConfig:(0,r.VP)("builder/GET_APPLICATION_SETTINGS"),updateConfig:(0,r.VP)("builder/SET_APPLICATION_SETTINGS"),setFeatureValue:(0,r.VP)("builder/SET_FEATURE_VALUE"),setInternetConnectionStatus:(0,r.VP)("builder/SET_INTERNET_CONNECTION_STATUS"),setFetchStatus:(0,r.VP)("builder/SET_APPLICATION_SETTINGS_FETCH_STATUS")},p={configs:{[o.l.country]:null,[o.l.signUp]:null,[o.l.app]:null},fetchStatuses:{[o.l.country]:n.Hp.notAsked,[o.l.signUp]:n.Hp.notAsked,[o.l.a
8252pp]:n.Hp.notAsked},isOnline:!0},h=(0,r.vy)(p,e=>{e.addCase(u.updateConfig,(e,t)=>{var i;let r,{scope:n,...o}=t.payload;e.configs[n]=o,"features"in o&&(e.configs[n].features=(i=o.features,r={},Object.keys(d).forEach(e=>{let t=s()(e);t in i&&(r[t]=d[e])}),{...i,...r}))}),e.addCase(u.setFeatureValue,(e,t)=>{e.configs.app&&(e.configs.app.features[t.payload.name]=t.payload.value)}),e.addCase(u.setInternetConnectionStatus,(e,t)=>{e.isOnline=t.payload.isOnline}),e.addCase(u.setFetchStatus,(e,t)=>{e.fetchStatuses[t.payload.scope]=t.payload.status})})},69086:function(e,t,i){"use strict";i.d(t,{G:function(){return a},l:function(){return o}});var r,n,o=((r={}).country="country",r.app="app",r.signUp="sign-up",r),a=((n={}).new="new",n.old="old",n)},64530:function(e,t,i){"use strict";i.d(t,{i:function(){return l},y:function(){return a}});var r=i(68216),n=i(69352),o=i(85922);function*a(){return!!(yield(0,r.Lt)(n.Tp.isOnline))||(yield(0,r.yJ)(o.o1.setConnectionLostSnackbarOpen(!0)),!1)}function l(e){return function*(t,i){if(!t)return;let n=Array.isArray(e)?e:[e];for(let e in n)if(!(yield(0,r.T1)(n[e])))return;yield(0,r.T1)(t,i)}}},72603:function(e,t,i){"use strict";i.d(t,{Ff:function(){return d},Tp:function(){return a},o1:function(){return c}});var r=i(60258),n=i(12330),o=i(31633);let a={jobTitleId:e=>e.interview.jobTitleId,jobTitle:e=>e.interview.jobTitle||"",jobTitleReady:e=>e.interview.jobTitleReady,startCurrentStep:e=>e.interview.startCurrentStep||0,interviewId:e=>e.interview.interviewId||n.D.getItem("interviewId")?Number(n.D.getItem("interviewId")):void 0,activeInterviewTab:e=>e.interview.activeInterviewTab,getInterviewUrl:e=>`/interview-preparation/${e.interview.jobTitleId?"dashboard":"start"}`,getInterviewDomainUrl:e=>`https://career.io/app/interview-preparation/interview-preparation/${e.interview.jobTitleId?"dashboard":"start"}`,interviewPlayer:e=>e.interview.interviewPlayer},l=()=>({modal:o.Wf.loading_start,showAllPhrases:!1}),s={jobTitleId:null,jobTitle:"",jobTitleReady:!1,interviewId:0,activeInterviewTab:"in_progress",startCurrentStep:1,interviewPlayer:l()},{reducer:d,actions:c}=(0,r.Z0)({name:"interview",initialState:s,reducers:{setJobTitleId:(e,t)=>{e.jobTitleId=t.payload},setJobTitle:(e,t)=>
8252{e.jobTitle=t.payload},setJobTitleReady:(e,t)=>{e.jobTitleReady=t.payload},setInterviewId:(e,t)=>{e.interviewId=t.payload,n.D.setItem("interviewId",String(t.payload))},setActiveInterviewTab:(e,t)=>{e.activeInterviewTab=t.payload},setStartCurrentStep:(e,t)=>{e.startCurrentStep=t.payload},resetInterviewPlayer:e=>{e.interviewPlayer=l()},setInterviewPlayerModal:(e,t)=>{e.interviewPlayer.modal=t.payload},setInterviewPlayerShowAllPhrases:(e,t)=>{e.interviewPlayer.showAllPhrases=t.payload}}})},31633:function(e,t,i){"use strict";i.d(t,{F_:function(){return p},NN:function(){return u},W_:function(){return x},Wf:function(){return d},m8:function(){return h},wM:function(){return c}});var r,n,o,a,l,s,d=((r={}).loading_start="loading_start",r.loading_interrupted_interview="loading_interrupted_interview",r.loading_end="loading_end",r.permission_modal_initial="permission_modal_initial",r.permission_modal_help="permission_modal_help",r.close_modal="close_modal",r.session_modal="session_modal",r.question_interval="question_interval",r),c=((n={}).are_you_sure_you_want_to_proceed="are_you_sure_you_want_to_proceed",n.are_you_sure_you_want_to_finish="are_you_sure_you_want_to_finish",n),u=((o={}).welcome="welcome",o.start_recording_answer="start_recording_answer",o.stop_recording_answer="stop_recording_answer",o.interrupted_recording_answer="interrupted_recording_answer",o.pause_recording_answer="pause_recording_answer",o.stop_interview="stop_interview",o),p=((a={}).welcome="welcome",a.question="question",a.waiting_question="waiting_question",a),h=((l={}).hit_play_to_continue="hit_play_to_continue",l.great_timing="great_timing",l.hurry_up="hurry_up",l),x=((s={}).playing="playing",s.reset="reset",s)},29567:function(e,t,i){"use strict";i.d(t,{o1:function(){return j},al:function(){return v},Tp:function(){return r.Tp}});var r=i(48027),n=i(68216),o=i(60258),a=i(32606),l=i(19611),s=i(28363),d=i(20023),c=i(61750),u=i(8037),p=i(43430),h=i(16497),x=i(5005);let m={handleNotificationAddedJobCard:(0,o.VP)("builder/HANDLE_NOTIFICATION_ADDED_JOB_CARD"),handleNotificationRemovedJobCard:(0,o.VP)("builder/HANDLE_NOTIFICATION_REMOVED_JOB_CARD"),autoTailoringFromJS:(0,o.VP)("builder/AUTO_TAILORING_FROM_JS")};function*g(e){if(!window.location.pathname.includes("job-search"))return;let t=e.payload;switch(yield(0,n.yJ)(r.o1.setNotification(void 0)),t.status){case d.Sy.auto_apply:yield(0,n.yJ)(r.o1.setNotification(x.Bx.auto_apply_added));break;case d.Sy.wishlist:yield(0,n.yJ)(r.o1.setNotification(x.Bx.job_card_added))}}function*y(){yield(0,n.yJ)(r.o1.setNotification(void 0))}function*f(e,t){return e||(e=(yield(0,n.T1)(p.Z,{payload:{status:d.Sy.wishlist,title:t.job_title,company:t.company,link:t.url,description:(0,l.Q)(t.description),open:!1,external_slug_id:t.external_slug_id,location:t.location,logo:t.company_logo,auto_apply_compatible:t.auto_apply_compatible}})).id),e}function*b(e){if(!e){let t=yield(0,n.T1)(c.Ml,{payload:{type:u.VC.resume,isResumeDistributionCreateAction:!1,disableRedirect:!0}});e=t?.id}return e}function*_({payload:e}){try{let{resumeId:t,job:i,cardId:o,forceAnalysisStep:l}=e;if(!(t=yield(0,n.T1)(b,t)))return void(yield(0,n.yJ)(r.o1.setModal()));o=yield(0,n.T1)(f,o,i);let s=(0,a.eJ)({mode:a.gb.fromMemberJB,jobCardId:o,jobExternalSlugId:i.external_slug_id,forceAnalysisStep:l}),d=`/resumes/${t}/edit?${s.toString()}`;(0,h.o)(d)}catch(e){s.A.log(e)}}let v=function*(){yield(0,n.Q7)([(0,n.p8)(m.handleNotificationAddedJobCard,g),(0,n.p8)(m.handleNotificationRemovedJobCard,y),(0,n.p8)(m.autoTailoringFromJS,_)])},j={...r.o1,...m}},48027:function(e,t,i){"use strict";i.d(t,{Ff:function(){return d},Tp:function(){return l},o1:function(){return c}});var r=i(60258),n=i(51244),o=i(69352);let a=e=>e.application.configs[o.l1.app]?.features.jobAlerts,l={searchForm:e=>e.jobSearch.searchForm,alert:e=>e.jobSearch.alert,notification:e=>e.jobSearch.notification,enableJobAlertFeature:e=>!!a(e)?.enabled,alertFeatureGroup:e=>a(e)?.group,modal:e=>e.jobSearch.modal,feedCache:e=>e.jobSearch.feedCache,recommendationsCache:e=>e.jobSearch.recommendationsCache,restoringScroll:e=>e.jobSearch.restoringScroll},s={searchForm:{term:"",selectedLocation:void 0,filters:n.Rh},modal:void 0,notification:void 0,alert:{type:void 0},feedCache:null,recommendationsCache:null,restoringScroll:!1},{reducer:d,actions:c}=(0,r.Z0)({name:"jobSearch",initialState:s,reducers:{setModal:(e,t)=>{e.modal=t.payload},setSearchForm:(e,t)=>
8252{e.searchForm=t.payload},setAlertType:(e,t)=>{e.alert.type=t.payload.type,e.alert.editCustomAlert=t.payload.editCustomAlert},setNotification:(e,t)=>{e.notification=t.payload},setFeedCache:(e,t)=>{e.feedCache=t.payload},setRecommendationsCache:(e,t)=>{e.recommendationsCache=t.payload},setRestoringScroll:(e,t)=>{e.restoringScroll=t.payload}}})},5005:function(e,t,i){"use strict";i.d(t,{Bx:function(){return d},_1:function(){return s},fH:function(){return p},qA:function(){return u},wQ:function(){return c}});var r,n,o,a,l,s=((r={}).manage="manage",r.create="create",r.edit="edit",r.confirmation_success="confirmation_success",r.delete="delete",r.edit_recommend_alert="edit_recommend_alert",r),d=((n={}).auto_apply_added="auto_apply_added",n.job_card_added="job_card_added",n.create_job_alert="create_job_alert",n.delete_job_alert="delete_job_alert",n.snackbar_fail="snackbar_fail",n),c=((o={}).success="success",o.fail="fail",o),u=((a={}).resume_select="resume_select",a),p=((l={}).daily="daily",l.weekly="weekly",l.monthly="monthly",l.two_weeks="two_weeks",l)},96860:function(e,t,i){"use strict";i.d(t,{GL:function(){return l},PK:function(){return a},_B:function(){return o},ae:function(){return n}});var r=i(65320);let n="https://chromewebstore.google.com/detail/careerio-job-auto-apply/aelljdlolpakdoeongoklpkheedfjkio",o="aelljdlolpakdoeongoklpkheedfjkio",a=20,l=[r.z.applied,r.z.interview,r.z.offer,r.z.rejected]},20023:function(e,t,i){"use strict";i.d(t,{Ff:function(){return r.F},GL:function(){return p.GL},ae:function(){return p.ae},_B:function(){return p._B},vW:function(){return a.vW},al:function(){return n.a},Sy:function(){return l.z},Tp:function(){return o},nU:function(){return u},o1:function(){return r.o},S5:function(){return l.S}});var r=i(30947),n=i(43430),o=i(12281),a=i(19044),l=i(65320);let s=(e,t,i)=>({labelKey:`builder.auto_apply_copilot.job_application_drawer.status.${e}`,tone:t,showOnCard:i}),d={processing:s("in_progress","inProgress",!0),information_required:s("action_required","error",!0),error:s("error","error",!0),auto_tailoring_failed:s("tailoring_failed","error",!0),no_application_made:s("no_application_made","neutral",!0)},c=[l.z.applied,l.z.interview,l.z.offer,l.z.rejected],u=(e,t)=>"auto_applied"===t?s("auto_applied","applied",!0):e===l.z.auto_apply?t?d[t]??s("in_progress","inProgress",!0):s("in_progress","inProgress",!1):e&&c.includes(e)?s("applied","applied",!1):s("ready_to_submit","ready",!1);var p=i(96860)},30947:function(e,t,i){"use strict";i.d(t,{F:function(){return d},o:function(){return l}}),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(18111),i(61701),i(22489),i(18237),i(44114),i(20116);var r=i(60258),n=i(8037),o=i(19044),a=i(65320);let l={setFetchStatus:(0,r.VP)("builder/SET_JOBS_FETCH_STATUS"),setJobsData:(0,r.VP)("builder/SET_JOBS_DATA"),setRecommendationsData:(0,r.VP)("builder/SET_RECOMMENDATIONS_DATA"),setRecommendationsFetchStatus:(0,r.VP)("builder/SET_RECOMMENDATIONS_FETCH_STATUS"),deductFromRecommendationsCount:(0,r.VP)("builder/DEDUCT_FROM_RECOMMENDATIONS_COUNT"),setJobsError:(0,r.VP)("builder/SET_JOBS_ERROR"),addJob:(0,r.VP)("builder/ADD_JOB"),updateJob:(0,r.VP)("builder/UPDATE_JOB"),deleteJob:(0,r.VP)("builder/DELETE_JOB"),setAlreadyAppliedJob:(0,r.VP)("builder/SET_ALREADY_APPLIED_JOB"),setModal:(0,r.VP)("builder/SET_MODAL"),setResumeListFetchStatus:(0,r.VP)("builder/SET_RESUME_LIST_FETCH_STATUS"),setResumeList:(0,r.VP)("builder/SET_RESUME_LIST"),setUpdateResumeStatus:(0,r.VP)("builder/SET_UPDATE_RESUME_STATUS"),setAutoTailoringStatus:(0,r.VP)("builder/SET_AUTO_TAILORING_STATUS"),setHasInstalledExtension:(0,r.VP)("builder/SET_INSTALLED"),setCanInstallExtension:(0,r.VP)("builder/SET_CAN_INSTALL_EXTENSION"),setAutoApplyWidgetData:(0,r.VP)("builder/SET_AUTO_APPLY_WIDGET_DATA"),setApplicationReview:(0,r.VP)("builder/SET_APPLICATION_REVIEW"),setApplicationReviewStatus:(0,r.VP)("builder/SET_APPLICATION_REVIEW_STATUS"),setProfileOverwrite:(0,r.VP)("builder/SET_PROFILE_OVERWRITE"),setCardAutoTailoringStatus:(0,r.VP)("builder/SET_CARD_AUTO_TAILORING_STATUS"),setAutoApplyNotification:(0,r.VP)("builder/SET_AUTO_APPLY_NOTIFICATION"),fetchJobsRequest:(0,r.VP)("builder/FETCH_JOBS_REQUEST"),fetchRecommendationsRequest:(0,r.VP)("builder/FETCH_RECOMMENDATIONS_REQUEST"),deleteJobRequest:(0,r.VP)("builder/DELETE_JOB_REQUEST"),createJobRequest:(0,r.VP)("builder/CREATE_JOB_REQUEST",(e,t={})=>({payload:e,meta:t})),patchJobRequest:(0,r.VP)("builder/PATCH_JOB_REQUEST"),editJobRequest:(0,r.VP)("builder/EDIT_JOB_REQUEST"),fetchAlreadyAppliedJobRequest:(0,r.VP)("builder/FETCH_ALREADY_APPLIED_JOB_REQUEST"),fetchResumeListRequest:(0,r.VP)("builder/FETCH_RESUME_LIST_REQUEST"),fetchApplicationReviewRequest:(0,r.VP)("builder/FETCH_APPLICATION_REVIEW_REQUEST"),saveProfileOverwriteRequest:(0,r.VP)("builder/SAVE_PROFILE_OVERWRITE_REQUEST",(e,t={})=>({payload:e,meta:t})),submitReviewAnswersRequest:(0,r.VP)("builder/SUBMIT_REVIEW_ANSWERS_REQUEST",(e,t={})=>({payload:e,meta:t})),triggerAutoTailoringRequest:(0,r.VP)("builder/TRIGGER_AUTO_TAILORING_REQUEST"),loadJobCard:(0,r.VP)("builder/LOAD_JOB_CARD",(e,t={})=>({payload:e,meta:t})),changeJobCardDocuments:(0,r.VP)("builder/CHANGE_JOB_CARD_DOCUMENTS",(e,t={})=>({payload:e,meta:t})),retryJobCardTailoring:(0,r.VP)("builder/RETRY_JOB_CARD_TAILORING",(e,t={})=>({payload:e,meta:t})),watchJobCardTailoring:(0,r.VP)("builder/WATCH_JOB_CARD_TAILORING"),stopWatchingJobCardTailoring:(0,r.VP)("builder/STOP_WATCHING_JOB_CARD_TAILORING"),upsertJobCard:(0,r.VP)("builder/UPSERT_JOB_CARD"),moveRequest:(0,r.VP)("builder/MOVE_JOB_REQUEST"),moveManyRequest:(0,r.VP)("builder/MOVE_MANY_JOB_REQUEST"),move:(0,r.VP)("builder/MOVE_JOB"),reorderRequest:(0,r.VP)("builder/REORDER_JOB_REQUEST"),reorder:(0,r.VP)("builder/REORDER_JOB"),reorderAutoApply:(0,r.VP)("builder/REORDER_AUTO_APPLY_JOB"),reorderAutoApplyRequest:(0,r.VP)("builder/REORDER_AUTO_APPLY_JOB_REQUEST")},s={columnNames:Object.values(a.z),fetchStatus:n.Hp.notAsked,lastUpdatedCard:null,jobs:[],recommendations:{total:null,page:0,fetchStatus:n.Hp.notAsked},error:null,alreadyApplied:!1,resumeListFetchStatus:n.Hp.notAsked,autoTailoringStatus:n.Hp.notAsked,resumeList:[],hasInstalledExtension:!1,canInstallExtension:!1,applicationReview:{},autoApplyNotification:null,autoApplyWidget:{data:[],total:0},modals:{activeCardId:null,applyConfirmModal:null,resumeSelectorModal:null,deleteJobModal:null,cioLimitModal:!1,limitPaywallModal:!1,cardDrawer:!1,statusDrawer:!1,interviewJob:null,tailoredBanner:!1,applicationDrawer:null,deleteApplicationJobModal:null,addJobModal:null}},d=(0,r.vy)(s,e=>{e.addCase(l.setFetchStatus,(e,t)=>{e.fetchStatus=t.payload}),e.addCase(l.setJobsError,(e,t)=>{e.error=t.payload}),e.addCase(l.setJobsData,(e,t)=>{let i=new Set(t.payload.map(e=>e.id)),r=e.jobs.filter(e=>e.status===a.z.recommended&&!i.has(e.id));e.jobs=(0,o.bY)([...t.payload,...r])}),e.addCase(l.setRecommendationsData,(e,t)=>{let{data:i,total:r,page:n}=t.payload,l=n>1?e.jobs:e.jobs.filter(e=>e.status!==a.z.recommended),s=new Set(l.map(e=>e.id)),d=i.filter(e=>!s.has(e.id));e.jobs=(0,o.bY)([...l,...d]),e.recommendations.total=r,e.recommendations.page=n}),e.addCase(l.setRecommendationsFetchStatus,(e,t)=>{e.recommendations.fetchStatus=t.payload}),e.addCase(l.deductFromRecommendationsCount,(e,t)=>{e.recommendations.total=Math.max(0,(e.recommendations.total??0)-t.payload)}),e.addCase(l.addJob,(e,t)=>{let i=t.payload.externalSlugId;if(i){let r=e.jobs.filter(e=>e.externalSlugId!==i);e.jobs=(0,o.bY)([t.payload,...r])}else e.jobs=(0,o.bY)([t.payload,...e.jobs])}),e.addCase(l.updateJob,(e,t)=>{let i=e.jobs.map(e=>e.id).indexOf(t.payload.id);e.jobs[i]=t.payload}),e.addCase(l.upsertJobCard,(e,t)=>{let i=e.jobs.findIndex(e=>e.id===t.payload.id);-1===i?e.jobs=(0,o.bY)([...e.jobs,t.payload]):e.jobs[i]=t.payload}),e.addCase(l.deleteJob,(e,t)=>{e.jobs=e.jobs.filter(e=>e.id!==t.payload.id)}),e.addCase(l.reorder,(e,t)=>{let{source:i,destination:r}=t.payload,n=(0,o.Jp)(e.jobs),a=n[r.droppableId],[l]=a.splice(i.index,1);a.splice(r.index,0,l),e.jobs=(0,o.Bq)(n)}),e.addCase(l.reorderAutoApply,e=>{let{jobs:t}=e,[i,r]=t.reduce(([e,t],i)=>(i.status===a.z.auto_apply?e.push(i):t.push(i),[e,t]),[[],[]]);e.jobs=[...r,...i.sort(e=>"information_required"===e.autoApplyStatus?-1:1).map((e,t)=>({...e,positionNumber:t}))]}),e.addCase(l.move,(e,t)=>{let{source:i,destination:r,jobId:n,isResumeTailoringEnabled:l}=t.payload,s=(0,o.Jp)(e.jobs),d=s[i.droppableId],c=s[r.droppableId],u=null!=n?d.findIndex(e=>Number(e.id)===Number(n)):-1,p=-1!==u?u:i.index,[h]=d.splice(p,1);h&&(h.status=r.droppableId,h.movedAt=Date.now(),i.droppableId!==a.z.auto_apply&&r.droppableId===a.z.auto_apply&&!h.autoApplyStatus&&(h.autoApplyStatus="processing",!l||h.autoApplyD
8252ocuments?.length||h.autoTailoringStatus||(h.autoTailoringStatus="processing")),r.droppableId!==a.z.auto_apply&&i.droppableId===a.z.auto_apply&&"processing"===h.autoApplyStatus&&(h.autoApplyStatus=null),c.splice(r.index,0,h),s[i.droppableId]=d,s[r.droppableId]=c,e.jobs=(0,o.Bq)(s))}),e.addCase(l.setAlreadyAppliedJob,(e,t)=>{e.alreadyApplied=t.payload}),e.addCase(l.setModal,(e,{payload:t})=>{e.modals[t.key]=t.data}),e.addCase(l.setResumeList,(e,t)=>{e.resumeList=t.payload}),e.addCase(l.setResumeListFetchStatus,(e,t)=>{e.resumeListFetchStatus=t.payload}),e.addCase(l.setHasInstalledExtension,(e,t)=>{e.hasInstalledExtension=t.payload}),e.addCase(l.setCanInstallExtension,(e,t)=>{e.canInstallExtension=t.payload}),e.addCase(l.setAutoApplyWidgetData,(e,t)=>{e.autoApplyWidget=t.payload}),e.addCase(l.setAutoTailoringStatus,(e,t)=>{e.autoTailoringStatus=t.payload}),e.addCase(l.fetchApplicationReviewRequest,(e,{payload:t})=>{let i=e.applicationReview[t.jobCardId];e.applicationReview[t.jobCardId]={copilotId:i?.copilotId??null,applicationAnswers:i?.applicationAnswers??[],profileOverwrite:i?.profileOverwrite??{},memoryAnswers:i?.memoryAnswers??[],memoryAnswersOverwrite:i?.memoryAnswersOverwrite??[],status:n.Hp.loading}}),e.addCase(l.setApplicationReview,(e,{payload:t})=>{e.applicationReview[t.jobCardId]={copilotId:t.copilotId,applicationAnswers:t.applicationAnswers,profileOverwrite:t.profileOverwrite,memoryAnswers:t.memoryAnswers,memoryAnswersOverwrite:t.memoryAnswersOverwrite,status:n.Hp.loaded}}),e.addCase(l.setApplicationReviewStatus,(e,{payload:t})=>{let i=e.applicationReview[t.jobCardId];e.applicationReview[t.jobCardId]={copilotId:i?.copilotId??null,applicationAnswers:i?.applicationAnswers??[],profileOverwrite:i?.profileOverwrite??{},memoryAnswers:i?.memoryAnswers??[],memoryAnswersOverwrite:i?.memoryAnswersOverwrite??[],status:t.status}}),e.addCase(l.setProfileOverwrite,(e,{payload:t})=>{let i=e.applicationReview[t.jobCardId];i&&(i.profileOverwrite=t.profileOverwrite)}),e.addCase(l.setCardAutoTailoringStatus,(e,{payload:t})=>{let i=e.jobs.find(e=>e.id===t.jobId);i&&(i.autoTailoringStatus=t.status)}),e.addCase(l.setAutoApplyNotification,(e,t)=>{e.autoApplyNotification=t.payload})})},43430:function(e,t,i){"use strict";i.d(t,{a:function(){return Z},Z:function(){return P}}),i(18111),i(22489),i(61701),i(7588),i(20116);var r=i(68216),n=i(36533),o=i.n(n),a=i(44383),l=i.n(a),s=i(33093),d=i(2543),c=i(49012),u=i(16497),p=i(28363),h=i(57238),x=i(29567),m=i(65403),g=i(90997),y=i(12055),f=i(83419);let b=e=>e.trim().toLowerCase().replace(/\s+/g," ");var _=i(8037),v=i(30947),j=i(12281),A=i(19044),C=i(96860),w=i(65320);function*k(e){try{let t=!!(e.payload?.per_page&&e.payload.auto_applied);yield(0,r.yJ)(v.o.setFetchStatus(_.Hp.loading));let i=yield(0,r.T1)(c.R3.get,"job-cards",{params:t?e.payload:{exclude_status:w.z.recommended,...e.payload}});t?yield(0,r.yJ)(v.o.setAutoApplyWidgetData(i.data)):yield(0,r.yJ)(v.o.setJobsData(i.data.data)),yield(0,r.yJ)(v.o.setFetchStatus(_.Hp.loaded))}catch(e){yield(0,r.yJ)(v.o.setFetchStatus(_.Hp.failed)),yield(0,r.yJ)(v.o.setJobsError(e))}}function*S(e){try{yield(0,r.yJ)(v.o.setRecommendationsFetchStatus(_.Hp.loading));let t=yield(0,r.T1)(c.R3.get,"job-cards",{params:{status:w.z.recommended,page:e.payload.page,per_page:C.PK}});yield(0,r.yJ)(v.o.setRecommendationsData({data:t.data.data,total:t.data.total,page:e.payload.page})),yield(0,r.yJ)(v.o.setRecommendationsFetchStatus(_.Hp.loaded))}catch(e){yield(0,r.yJ)(v.o.setRecommendationsFetchStatus(_.Hp.failed)),yield(0,r.yJ)(v.o.setJobsError(e))}}function*T(e){try{let{id:t}=e.payload;yield(0,r.T1)(c.R3.delete,`job-cards/${t}`),yield(0,r.yJ)(v.o.deleteJob({id:t})),yield(0,r.yJ)(x.o1.handleNotificationRemovedJobCard())}catch(e){yield(0,r.yJ)(v.o.setJobsError(e))}}function*P({payload:e,meta:t}){try{let{open:i,...n}=e,a=n.status||w.z.wishlist,l=yield(0,r.Lt)(j.selectJobs),d=(0,A.Jp)(l),p=o()(d[a],"positionNumber");yield(0,r.yJ)(x.o1.setNotification(void 0));let{data:m}=yield(0,r.T1)(c.R3.post,"job-cards",{job_card:{...n,status:a,position_number:p?p?.positionNumber-1:0,external_slug_id:n.external_slug_id}});return yield(0,r.yJ)(x.o1.handleNotificationAddedJobCard(m)),yield(0,r.yJ)(v.o.addJob(m)),t?.onSuccess?.(m),"applied"===n.status&&(yield(0,r.Lt)(j.selectAp
8252pliedMaxLimit))&&(0,s.xP)("hit_limit"),e.status===w.z.auto_apply&&(yield(0,r.yJ)(h.o1.fetchUserRequest({silent:!0}))),i&&(0,u.o)("/job-tracking"),m}catch(e){yield(0,r.yJ)(v.o.setJobsError(e))}}function*J({payload:e}){try{let{id:t,...i}=e;yield(0,r.yJ)(x.o1.setNotification(void 0));let{data:n}=yield(0,r.T1)(c.R3.patch,`job-cards/${t}`,{job_card:i});yield(0,r.yJ)(v.o.addJob(n)),yield(0,r.yJ)(x.o1.handleNotificationAddedJobCard(n)),"applied"===i.status&&(yield(0,r.Lt)(j.selectAppliedMaxLimit))&&(0,s.xP)("hit_limit"),e.status===w.z.auto_apply&&(yield(0,r.yJ)(h.o1.fetchUserRequest({silent:!0})))}catch(e){yield(0,r.yJ)(v.o.setJobsError(e))}}let E=e=>Object.keys(e).filter(e=>"id"!==e);function*R({payload:e}){try{let{data:t}=yield(0,r.T1)(c.R3.put,`job-cards/${e.id}`,{job_card:e}),i=yield(0,r.Lt)(j.selectJobById,e.id);yield(0,r.yJ)(v.o.updateJob(i?{...i,...l()(t,E(e))}:t)),(0,s.xP)("update_job_tracking_card",{field:E(e).join(",")})}catch(e){yield(0,r.yJ)(v.o.setJobsError(e))}}function*L(){let e=new Map;for(;;){let t=yield(0,r.s)(v.o.editJobRequest),i=`${t.payload.id}:${E(t.payload).sort().join(",")}`;e.get(i)?.cancel(),e.set(i,(yield(0,r.Zy)(R,t)))}}function*N({payload:e}){yield(0,r.yJ)(v.o.move(e));let t=yield(0,r.Lt)(j.selectJobsOrder);yield(0,r.T1)(c.R3.put,"job-board/sync-cards",{job_cards_positions:t}),e.destination.droppableId===w.z.applied&&(yield(0,r.Lt)(j.selectAppliedMaxLimit))&&(0,s.xP)("hit_limit"),(0,s.xP)("change_job_tracking_card_status",{status:e.destination.droppableId}),(e.source.droppableId===w.z.auto_apply||e.destination.droppableId===w.z.auto_apply)&&(yield(0,r.yJ)(h.o1.fetchUserRequest({silent:!0})))}function*I(){let e=yield(0,r.Lt)(j.selectJobsOrder),t=e.filter(e=>e.status===w.z.auto_apply).length,i=0,n=e.map(e=>e.status!==w.z.wishlist?e:(++i,{...e,status:w.z.auto_apply,position_number:++t}));yield(0,r.T1)(c.R3.put,"job-board/sync-cards",{job_cards_positions:n}),yield(0,r.yJ)(v.o.fetchJobsRequest()),(yield(0,r.Lt)(j.selectAppliedMaxLimit))&&(0,s.xP)("hit_limit"),(0,d.times)(i).forEach(()=>{(0,s.xP)("change_job_tracking_card_status",{status:w.z.auto_apply})})}function*M({payload:e}){yield(0,r.yJ)(v.o.reorder(e));let t=yield(0,r.Lt)(j.selectJobsOrder);yield(0,r.T1)(c.R3.put,"job-board/sync-cards",{job_cards_positions:t}),e.destination.droppableId===w.z.auto_apply&&(yield(0,r.yJ)(h.o1.fetchUserRequest({silent:!0})))}function*B(){let e=(yield(0,r.Lt)(j.selectJobs)).filter(e=>e.status===w.z.auto_apply&&"information_required"===e.autoApplyStatus).map(e=>e.positionNumber);if(!e.length||(0,A.bS)(e))return;yield(0,r.yJ)(v.o.reorderAutoApply());let t=yield(0,r.Lt)(j.selectJobsOrder);yield(0,r.T1)(c.R3.put,"job-board/sync-cards",{job_cards_positions:t})}function*D(e){try{let{data:t}=yield(0,r.T1)(c.R3.get,"job-cards/applied_status",{params:{slug:e.payload}});yield(0,r.yJ)(v.o.setAlreadyAppliedJob(t.jobAlreadyApplied))}catch(e){yield(0,r.yJ)(v.o.setJobsError(e))}}function*$(){try{let{data:e}=yield(0,r.T1)(c.uE.get,"/resumes");yield(0,r.yJ)(v.o.setResumeListFetchStatus(_.Hp.loading)),yield(0,r.yJ)(v.o.setResumeList(e.resumes)),yield(0,r.yJ)(v.o.setResumeListFetchStatus(_.Hp.loaded))}catch(e){yield(0,r.yJ)(v.o.setJobsError(e))}}function*O({payload:e}){let{jobCardId:t}=e;try{let[e,i]=yield(0,r.Q7)([(0,r.T1)(c.R3.get,`job-cards/${t}`),(0,r.T1)(()=>g.q.fetchQuery({queryKey:m.Z,queryFn:m.R}))]),n=i[0];yield(0,r.yJ)(v.o.updateJob(e.data)),yield(0,r.yJ)(v.o.setApplicationReview({jobCardId:t,copilotId:n?.id??null,applicationAnswers:e.data.applicationAnswers??[],profileOverwrite:e.data.profileOverwrite??{},memoryAnswers:n?.memoryAnswers??[],memoryAnswersOverwrite:e.data.memoryAnswersOverwrite??[]}))}catch(e){yield(0,r.yJ)(v.o.setApplicationReviewStatus({jobCardId:t,status:_.Hp.failed})),yield(0,r.yJ)(v.o.setJobsError(e))}}function*z({payload:e,meta:t}){let{jobCardId:i,fields:n}=e;try{let e=yield(0,r.Lt)(j.selectApplicationReview,i),o={...e?.profileOverwrite??{},...n};yield(0,r.T1)(c.R3.patch,`job-cards/${i}`,{jobCard:{profileOverwrite:o}}),yield(0,r.yJ)(v.o.setProfileOverwrite({jobCardId:i,profileOverwrite:o})),t?.onSuccess?.()}catch(e){t?.onError?.(e),yield(0,r.yJ)(v.o.setJobsError(e))}}
8252function*F(e,t){let i=yield(0,r.Lt)(j.selectApplicationReview,e);if(i?.copilotId==null)return;let n=((e,t,i)=>{let r=new Map(e.map(e=>[b(e.question),e])),n=new Map;if(t.forEach(e=>{let t=i[e.id],o=(0,f.mD)(e);if(!t||!o||void 0!==e.profileField&&"additional_info"!==e.profileField)return;let a=b(o);n.set(a,{id:r.get(a)?.id??(0,y.A)(),question:o,answer:t,field:e.field,profileField:e.profileField})}),0===n.size)return e;let o=e.filter(e=>!n.has(b(e.question)));return[...n.values(),...o].slice(0,50)})(i.memoryAnswers,i.applicationAnswers,t);n!==i.memoryAnswers&&(yield(0,r.T1)(c.R3.patch,`auto-apply-copilots/${i.copilotId}`,{copilot:{memoryAnswers:n}}),g.q.invalidateQueries({queryKey:m.Z}))}function*H({payload:e,meta:t}){let{jobCardId:i,answers:n}=e;try{let e=yield(0,r.Lt)(j.selectApplicationReview,i);if(!e||0===e.applicationAnswers.length)throw Error(`Job card ${i} has no loaded questions to answer`);yield(0,r.T1)(F,i,n);let o=e.applicationAnswers.map(e=>({...e,answer:n[e.id]??e.answer,answered:!0})),a=yield(0,r.T1)(c.R3.patch,`job-cards/${i}`,{jobCard:{applicationAnswers:o}});yield(0,r.yJ)(v.o.updateJob(a.data)),yield(0,r.yJ)(v.o.fetchApplicationReviewRequest({jobCardId:i})),t?.onSuccess?.()}catch(e){t?.onError?.(e),yield(0,r.yJ)(v.o.setJobsError(e))}}function*V({payload:e}){let{jobId:t}=e,i=(yield(0,r.Lt)(j.selectJobs)).find(e=>e.id===t);if(!i)return;let n=i.status===w.z.wishlist||i.status===w.z.recommended,o="completed"===i.autoTailoringStatus&&!!i.tailoredResumeId&&!!i.tailoredCoverLetterId;if(!n||o)return;let a=i.autoTailoringStatus??null;yield(0,r.yJ)(v.o.setCardAutoTailoringStatus({jobId:t,status:"processing"}));try{yield(0,r.T1)(c.R3.patch,`/job-cards/${t}/document-overwrite`,{tailorResumeForJob:!0,tailorCoverLetterForJob:!0})}catch(e){yield(0,r.yJ)(v.o.setCardAutoTailoringStatus({jobId:t,status:a})),yield(0,r.yJ)(v.o.setJobsError(e))}}function*U({payload:e,meta:t}){try{let{data:i}=yield(0,r.T1)(c.R3.get,`job-cards/${e.id}`);yield(0,r.yJ)(v.o.upsertJobCard(i)),t.onSuccess?.()}catch(e){t.onError?.(e)}}function*W({payload:e,meta:t}){try{let{data:i}=yield(0,r.T1)(c.R3.patch,`job-cards/${e.id}/document-overwrite`,e.changes);yield(0,r.yJ)(v.o.upsertJobCard(i)),t.onSuccess?.()}catch(e){t.onError?.(e)}}function*K({payload:e,meta:t}){try{let{data:i}=yield(0,r.T1)(c.R3.post,`job-cards/${e.id}/retry_auto_tailoring`,{});yield(0,r.yJ)(v.o.upsertJobCard(i.jobCard)),t.onSuccess?.()}catch(e){t.onError?.(e)}}function*q(e){for(;;){yield(0,r.cb)(5e3);let t=yield(0,r.Lt)(j.selectJobById,e);if(t?.autoTailoringStatus==="processing")try{let{data:t}=yield(0,r.T1)(c.R3.get,`job-cards/${e}`);yield(0,r.yJ)(v.o.upsertJobCard(t))}catch(e){p.A.log(e)}}}function*G({payload:e}){yield(0,r.O4)({poll:(0,r.T1)(q,e.id),stop:(0,r.s)(t=>v.o.stopWatchingJobCardTailoring.match(t)&&t.payload.id===e.id)})}let Z=function*(){yield(0,r.Q7)([(0,r.p8)(v.o.fetchJobsRequest,k),(0,r.p8)(v.o.fetchRecommendationsRequest,S),(0,r.p8)(v.o.deleteJobRequest,T),(0,r.p8)(v.o.createJobRequest,P),(0,r.p8)(v.o.patchJobRequest,J),(0,r.T1)(L),(0,r.p8)(v.o.moveRequest,N),(0,r.p8)(v.o.moveManyRequest,I),(0,r.p8)(v.o.reorderRequest,M),(0,r.p8)(v.o.reorderAutoApplyRequest,B),(0,r.p8)(v.o.fetchAlreadyAppliedJobRequest,D),(0,r.p8)(v.o.fetchResumeListRequest,$),(0,r.p8)(v.o.fetchApplicationReviewRequest,O),(0,r.jP)(v.o.saveProfileOverwriteRequest,z),(0,r.jP)(v.o.submitReviewAnswersRequest,H),(0,r.jP)(v.o.triggerAutoTailoringRequest,V),(0,r.jP)(v.o.loadJobCard,U),(0,r.jP)(v.o.changeJobCardDocuments,W),(0,r.jP)(v.o.retryJobCardTailoring,K),(0,r.p8)(v.o.watchJobCardTailoring,G)])}},12281:function(e,t,i){"use strict";i.r(t),i.d(t,{canInstallExtension:function(){return w},hasInstalledExtension:function(){return C},savedJobs:function(){return u},selectAlreadyAppliedJob:function(){return b},selectApplicationReview:function(){return T},selectAppliedCount:function(){return x},selectAppliedMaxLimit:function(){return h},selectAutoApplyNotification:function(){return y},selectAutoApplyWidgetJobs:function(){return c},selectAutoTailoringStatus:function(){return _},selectColumns:function(){return m},selectFetchStatus:function(){return g},selectFirstWishlistBannerJobId:function(){return P},selectJobById:function(){return d},selectJobTracking:function(){return l},selectJobs:function(){return s},selectJobsOrder:function(){return f},selectLoadedRecommendationsCount:function(){return S},selectModals:function(){return v},selectRecommendations:function(){return k},selectResumeList:function(){return j},selectResumeListFetchStatus:function(){return A},selectWishlistCount:function(){return p}}),i(18111),i(20116),i(22489),i(61701);var r=i(2543),n=i(54997),o=i(65320),a=i(19044);let l=e=>e.jobTracking,s=e=>e.jobTracking.jobs,d=(e,t)=>e.jobTracking.jobs.find(e=>e.id===t)??null,c=e=>e.jobTracking.autoApplyWidget,u=(0,n.Mz)([s],e=>e.filter(({status:e})=>"recommended"!==e)),p=(0,n.Mz)([s],e=>{let t=e.filter(({status:e})=>"wishlist"===e);return(0,r.size)(t)}),h=(0,n.Mz)([s],e=>{let t=e.filter(({status:e})=>"applied"===e);return(0,r.size)(t)>2}),x=(0,n.Mz)([s],e=>{let t=e.filter(({status:e})=>"applied"===e);return(0,r.size)(t)}),m=(0,n.Mz)([s],e=>(0,a.Jp)(e)),g=e=>e.jobTracking.fetchStatus,y=e=>e.jobTracking.autoApplyNotification,f=(0,n.Mz)([s],e=>e.map(e=>({id:e.id,position_number:e.positionNumber,status:e.status}))),b=e=>e.jobTracking.alreadyApplied,_=e=>e.jobTracking.autoTailoringStatus,v=e=>e.jobTracking.modals,j=e=>e.jobTracking.resumeList,A=e=>e.jobTracking.resumeListFetchStatus,C=e=>e.jobTracking.hasInstalledExtension,w=e=>e.jobTracking.canInstallExtension,k=e=>e.jobTracking.recommendations,S=(0,n.Mz)([s],e=>
8252(0,r.size)(e.filter(({status:e})=>"recommended"===e))),T=(e,t)=>null!=t?e.jobTracking.applicationReview[t]:void 0,P=(0,n.Mz)([s,j],(e,t)=>{if(0!==(0,r.size)(t))return e.find(e=>e.status===o.z.wishlist&&!e.resumeId&&!!e.title&&!!e.description&&!!e.externalSlugId)?.id})},65320:function(e,t,i){"use strict";i.d(t,{S:function(){return a},z:function(){return o}});var r,n,o=((r={}).recommended="recommended",r.wishlist="wishlist",r.auto_apply="auto_apply",r.applied="applied",r.interview="interview",r.offer="offer",r.rejected="rejected",r.deleted="deleted",r),a=((n={}).added="added",n.removed="removed",n.processing="processing",n.processing_by_agent="processing_by_agent",n)},19044:function(e,t,i){"use strict";i.d(t,{Bq:function(){return l},Jp:function(){return o},bS:function(){return d},bY:function(){return a},vW:function(){return s}}),i(18111),i(7588),i(22489),i(44114),i(61701),i(13579);var r=i(65320);let n=Object.values(r.z),o=e=>{let t={};return n.forEach(i=>{t[i]=e.filter(e=>e.status===i)}),t},a=e=>{let t=[],i=[];return e.forEach(e=>(e.status===r.z.recommended?t:i).push(e)),[...t.sort((e,t)=>Number(!!e.expiredAt)-Number(!!t.expiredAt)||t.id-e.id),...i.sort((e,t)=>e.positionNumber-t.positionNumber)]},l=e=>{let t=[];return n.forEach(i=>{e[i].map((e,t)=>({...e,positionNumber:t})).forEach(e=>t.push(e))}),t},s=e=>{let{card:t,jobs:i=[],externalSlugId:r=t?.externalSlugId}=e;return!!t?.systemRecommended||!!r&&i.some(e=>e.systemRecommended&&e.externalSlugId===r)},d=(e,t=0,i=1)=>{if(e[0]!==t)return!1;for(let t=0;t<e.length-1;t++)if(e[t]+i!==e[t+1])return!1;return!0}},1557:function(e,t,i){"use strict";i.d(t,{Ff:function(){return u},Tp:function(){return c},o1:function(){return d},al:function(){return l}});var r=i(68216),n=i(49012),o=i(28363);function*a({payload:e}){try{yield(0,r.T1)(n.uE.get,`/users/initialize?token=${e}`,{withCredentials:!0,baseURL:"https://lloyd.career.io"}),yield(0,r.yJ)(d.setIsLloydAuthenticated(!0))}catch(e){o.A.log(e)}}let l=function*(){yield(0,r.Q7)([(0,r.p8)(d.autoLoginCIOUser,a)])};var s=i(60258);let d={autoLoginCIOUser:(0,s.VP)("builder/LLOYD_AUTO_LOGIN_CIO_USER"),setIsLloydAuthenticated:(0,s.VP)("builder/LLOYD_SET_IS_LLOYD_AUTHENTICATED")},c={isLloydAuthenticated:e=>e.lloyd.isLloydAuthenticated},u=(0,s.vy)({isLloydAuthenticated:!1},e=>{e.addCase(d.setIsLloydAuthenticated,(e,t)=>{e.isLloydAuthenticated=t.payload})})},16497:function(e,t,i){"use strict";i.d(t,{i:function(){return n},o:function(){return o}}),i(44114);var r=i(57971);i(8037);let n=(0,r.zR)(),o=(e,t)=>{let i=`/app${e}`;return"number"==typeof e?n.go(e):t?.replace?n.replace(i):void n.push(i)}},71118:function(e,t,i){"use strict";i.d(t,{Ff:function(){return g},Jt:function(){return n},Tp:function(){return x},o1:function(){return h},al:function(){return f},tO:function(){return a},KX:function(){return o}});let r=["development","staging"].includes("production")?"stg.career.io":"career.io",n=`https://${r}/career-advice/how-to-negotiate-salary-after-a-job-offer`,o=`https://${r}/career-advice/should-i-negotiate-my-job-offer`,a=`https://${r}/career-advice/reject-an-offer`;var l=i(68216),s=i(49012),d=i(8037),c=i(60258),u=i(26573),p=i(58512);let h={setPrevSlide:(0,c.VP)("builder/OFFER_ANALYZER_SET_PREV_STEP"),setNextSlide:(0,c.VP)("builder/OFFER_ANALYZER_SET_CURRENT_STEP"),updateFields:(0,c.VP)("builder/OFFER_ANALYZER_UPDATE_FIELDS"),fetchOfferSuggested:(0,c.VP)("builder/OFFER_ANALYZER_FETCH_OFFER_SUGGESTED"),fetchOfferSuggestedForUser:(0,c.VP)("builder/OFFER_ANALYZER_FETCH_OFFER_SUGGESTED"),setAnalyzedOfferDetails:(0,c.VP)("builder/OFFER_ANALYZER_SET_SUGGESTED_DETAILS"),setErrors:(0,c.VP)("builder/OFFER_ANALYZER_SET_ERRORS"),setLastFetchedLocations:(0,c.VP)("builder/OFFER_ANALYZER_SET_LAST_FETCHED_LOCATIONS"),setLastFetchedJobTitles:(0,c.VP)("builder/OFFER_ANALYZER_SET_LAST_FETCHED_JOB_TITLES"),resetOfferAnalyzer:(0,c.VP)("builder/OFFER_ANALYZER_RESET_DATA"),setFetchAnalyzerStatus:(0,c.VP)("builder/OFFER_ANALYZER_FETCH_STATUS")},x={prevSlide:e=>e.offerAnalyzer.prevSlide,currentSlide:e=>e.offerAnalyzer.currentSlide,fields:e=>e.offerAnalyzer.fields,errors:e=>e.offerAnalyzer.errors,lastFetchedLocations:e=>e.offerAnalyzer.lastFetchedLocations,lastFetchedJobTitles:e=>e.offerAnalyzer.lastFetchedJobTitles,offerAnalyzerUserData:e=>{let{companyName:t,location:i,yearsOfExperience:r,educationalQualification:n,baseSalary:o,costToCompany:a,additionalIncentives:l,equity:s,hasHealthCare:d,hasPto:c,hasParentalLeave:h,isNonCompetitive:x,noticeTerms:m}=e.offerAnalyzer.fields;return{analyzer_details:{offer_details:{company_name:t,location:i},professional_details:{years_of_experience:(0,p.or)(r),educational_qual
8252ification:(0,u.G4)(n)},compensation_details:{base_salary:parseFloat(o.replace(/\$|,/g,"")),cost_to_company:a,additional_incentives:parseFloat(l.replace(/\$|,/g,"")),equity:s?"yes":"no"},benefits:{health_care:d?"yes":"no",paid_time_off:c?"yes":"no",parental_leave:h?"yes":"no"},terms_conditions:{non_compete:x?"yes":"no",notice_terms:`${m} days`}}}},offerAnalyzerRequestData:e=>{let{jobTitle:t,location:i,yearsOfExperience:r,educationalQualification:n,baseSalary:o}=e.offerAnalyzer.fields;return{analyzer_details:{title:t,education:(0,u.G4)(n),exp:(0,p.or)(r),Location:i,base_salary:parseFloat(o.replace(/\$|,/g,""))}}},analyzedOfferDetails:e=>e.offerAnalyzer.analyzedOfferDetails,isAnalyzerLoading:e=>e.offerAnalyzer.fetchAnalyzerStatus===d.Hp.loading,isAnalyzedDataLoaded:e=>e.offerAnalyzer.fetchAnalyzerStatus===d.Hp.loaded},m={prevSlide:1,currentSlide:1,fields:{jobTitle:"",companyName:"",location:"",yearsOfExperience:"",educationalQualification:"",baseSalary:"",costToCompany:0,additionalIncentives:"",equity:"",hasHealthCare:!1,hasPto:!1,hasParentalLeave:!1,isNonCompetitive:!1,noticeTerms:""},errors:{titleError:"",companyError:"",locationError:"",baseSalaryError:"",educationalQualError:"",workExpError:""},analyzedOfferDetails:{averageSalary:"",msgBelowSpeedometer:0,flagMsgBelowSpeedometer:"",requestFor:0,flagRequestFor:"",baseSalaryMsg:"",mainTitle:"",speedometerPercentage:"0%",speedometerPercentageNeedle:"0%"},fetchAnalyzerStatus:d.Hp.notAsked,lastFetchedJobTitles:[],lastFetchedLocations:[]},g=(0,c.vy)(m,e=>{e.addCase(h.setPrevSlide,e=>{e.currentSlide>0&&(e.prevSlide=e.currentSlide,e.currentSlide=e.currentSlide-1)}),e.addCase(h.setNextSlide,e=>{e.currentSlide<3&&(e.prevSlide=e.currentSlide,e.currentSlide=e.currentSlide+1)}),e.addCase(h.updateFields,(e,t)=>{e.fields={...e.fields,...t.payload}}),e.addCase(h.setAnalyzedOfferDetails,(e,t)=>{e.analyzedOfferDetails=t.payload}),e.addCase(h.setErrors,(e,t)=>{e.errors=t.payload}),e.addCase(h.resetOfferAnalyzer,e=>{e.fields=m.fields,e.prevSlide=1,e.currentSlide=1}),e.addCase(h.setFetchAnalyzerStatus,(e,t)=>{e.fetchAnalyzerStatus=t.payload}),e.addCase(h.setLastFetchedJobTitles,(e,t)=>{e.lastFetchedJobTitles=t.payload}),e.addCase(h.setLastFetchedLocations,(e,t)=>{e.lastFetchedLocations=t.payload})});function*y({payload:e}){try{yield(0,l.yJ)(h.setFetchAnalyzerStatus(d.Hp.loading));let{data:t,message:i}=yield(0,l.T1)(s.uE.post,"/offer-analyzer/internal_create",e);t?(yield(0,l.yJ)(h.setAnalyzedOfferDetails(t.data)),yield(0,l.yJ)(h.setFetchAnalyzerStatus(d.Hp.loaded))):i&&i.contains("This function is not available")&&(yield(0,l.yJ)(h.setAnalyzedOfferDetails(m.analyzedOfferDetails)),yield(0,l.yJ)(h.setFetchAnalyzerStatus(d.Hp.failed)))}catch(e){yield(0,l.yJ)(h.setAnalyzedOfferDetails(m.analyzedOfferDetails)),yield(0,l.yJ)(h.setFetchAnalyzerStatus(d.Hp.failed))}}let f=function*(){yield(0,l.Q7)([(0,l.p8)(h.fetchOfferSuggested,y)])}},64961:function(e,t,i){"use strict";i.d(t,{Ff:function(){return a.Ff},Kr:function(){return r.Kr},TY:function(){return r.TY},Tp:function(){return a.Tp},U$:function(){return r.U$},al:function(){return o.al},dh:function(){return n.dh},dk:function(){return r.dk},kp:function(){return r.kp},o1:function(){return a.o1},pn:function(){return r.pn},vi:function(){return n.vi}});var r=i(46932),n=i(33288),o=i(61750),a=i(63255)},63255:function(e,t,i){"use strict";i.d(t,{Ff:function(){return _},Tp:function(){return f},o1:function(){return p}}),i(18111),i(22489),i(20116),i(61701),i(44114);var r=i(1806),n=i(33031),o=i.n(n),a=i(60258),l=i(54997),s=i(8037),d=i(33809),c=i(46932),u=i(33288);let p={sendResume:(0,a.VP)("builder/SEND_RESUME_TO_REVIEW"),fetchDocuments:(0,a.VP)("builder/PANEL_FETCH_DOCUMENTS"),setDocuments:(0,a.VP)("builder/PANEL_SET_DOCUMENTS"),setDocumentsStatus:(0,a.VP)("builder/PANEL_SET_DOCUMENTS_STATUS"),addDocument:(0,a.VP)("builder/PANEL_ADD_DOCUMENT"),createDocument:(0,a.VP)("builder/PANEL_CREATE_DOCUMENT"),copyDocument:(0,a.VP)("builder/PANEL_COPY_DOCUMENT"),setCopyDocumentStatus:(0,a.VP)("builder/PANEL_SET_COPY_DOCUMENT_STATUS"),deleteDocument:(0,a.VP)("builder/PANEL_DELETE_DOCUMENT"),renameDocument:(0,a.
8252VP)("builder/PANEL_RENAME_DOCUMENT"),renameTrDocument:(0,a.VP)("builder/PANEL_RENAME_TR_DOCUMENT"),setResumeStatus:(0,a.VP)("builder/PANEL_SET_RESUME_STATUS"),fetchResumeStatus:(0,a.VP)("builder/PANEL_FETCH_RESUME_STATUS"),setResumeId:(0,a.VP)("builder/PANEL_SET_RESUME_ID"),setActiveTabID:(0,a.VP)("builder/PANEL_SET_ACTIVE_TAB_ID"),setTailorResume:(0,a.VP)("builder/builder/PANEL_SET_TAILOR_RESUME"),setOpenWelcomeModal:(0,a.VP)("builder/builder/OPEN_WELCOME_MODAL"),navigateBackToRIO:(0,a.VP)("builder/NAVIGATE_BACK_TO_RIO"),updateResumeStatus:(0,a.VP)("builder/PANEL_UPDATE_RESUME_STATUS"),fetchHelperWidgets:(0,a.VP)("builder/PANEL_FETCH_HELPER_WIDGETS"),setHelperWidgets:(0,a.VP)("builder/PANEL_SET_HELPER_WIDGETS"),updateHelperWidgets:(0,a.VP)("builder/PANEL_UPDATE_HELPER_WIDGETS"),fetchTRDocument:(0,a.VP)("builder/FETCH_TR_DOCUMENT"),setTRDocument:(0,a.VP)("builder/SET_TR_DOCUMENT"),setTRDocumentStatus:(0,a.VP)("builder/SET_TR_DOCUMENT_STATUS"),duplicateTRDocument:(0,a.VP)("builder/DUPLICATE_TR_DOCUMENT"),setDuplicationUrl:(0,a.VP)("builder/SET_DUPLICATION_URL"),setIsDuplicationLoading:(0,a.VP)("builder/SET_IS_DUPLICATION_LOADING"),setUIStatesConfigStatus:(0,a.VP)("builder/PANEL_SET_UI_STATE_STATUS")},h=(e,t)=>"resume"!==e.type||(t?!!e.autoTailored:!e.autoTailored),x=e=>!e.aiJobStatus||e.aiJobStatus===c.kp.SUCCESS,m=e=>e.panel.documents,g=(0,l.Mz)([m,(e,t)=>t,(e,t,i)=>i,(e,t,i,r)=>r],(e,t,i=!1,r=!1)=>{if(t===s.VC.trDocument)return e.filter(e=>"tr_document"===e.type&&!["resume","cover_letter"].includes(e.doc_type));if(t===s.VC.resume||t===s.VC.coverLetter){let n=r?e.filter(e=>"tr_document"===e.type&&e.doc_type===t):[],o=e.filter(e=>e.type===t&&h(e,i)&&x(e));return r||(o=o.filter(e=>!(0,d.PI)(e)||!e.trOrderId)),[...n,...o]}return e.filter(e=>e.type===t&&h(e,i)&&x(e))}),y=(0,l.Mz)(m,(e,t)=>t,(e,t)=>{let i=e.filter(e=>e.type===t),n=o()(i,e=>-(0,r.default)(e.createdAt).getTime());return n.length?n[0]:null}),f={documentsStatus:e=>e.panel.documentsStatus,documents:(0,l.Mz)([m,(e,t)=>t],(e,t=!1)=>e.filter(e=>h(e,t))),documentsByType:function(e,t,i,r){return g(e,t,i,r)},lastCreated:y,tunerResumeId:(0,l.Mz)(e=>y(e,s.VC.resume),e=>e?.id??null),resumeStatus:e=>e.panel.resumeStatus,resumeId:e=>e.panel.resumeId,activeTabId:e=>e.panel.activeTabId,isTailorResume:e=>e.panel.isTailorResume,isWelcomeModelopen:e=>e.panel.isWelcomeModelopen,resumeUpdateStatus:e=>e.panel.resumeUpdateStatus,helperWidgets:e=>e.panel.helperWidgets,copyDocumentStatus:e=>e.panel.copyDocumentStatus},b={documents:[],documentsStatus:s.Hp.notAsked,resumeStatus:s.TF.skipped,resumeId:0,activeTabId:(0,u.p5)(),isTailorResume:!1,isWelcomeModelopen:!1,resumeUpdateStatus:c.dk.Initial,helperWidgets:[],trDocuments:{},trDocumentsStatus:{},duplicationUrl:"",isDuplicationLoading:!1,copyDocumentStatus:s.Hp.notAsked,autoTailoredResumes:[]},_=(0,a.vy)(b,e=>{e.addCase(p.setDocuments,(e,t)=>{e.documents=t.payload}),e.addCase(p.setDocumentsStatus,(e,t)=>{e.documentsStatus=t.payload}),e.addCase(p.renameDocument,(e,t)=>{let{id:i,type:r,name:n}=t.payload,o=e.documents.find(e=>e.id===i&&e.type===r);o&&(o.name=n)}),e.addCase(p.addDocument,(e,t)=>{e.documents.unshift(t.payload)}),e.addCase(p.deleteDocument,(e,t)=>{let{id:i,type:r}=t.payload,n=e.documents.findIndex(e=>e.id===i&&e.type===r);if(e.documents.splice(n,1),r===s.VC.resume){for(let t in e.trDocuments)e.trDocuments[t].resume_id===i&&(e.trDocuments[t].resume_id=null);for(let t of e.documents)t.type===s.VC.trDocument&&t.resume_id===i&&(t.resume_id=null)}}),e.addCase(p.setResumeStatus,(e,t)=>{e.resumeStatus=t.payload}),e.addCase(p.setResumeId,(e,t)=>{e.resumeId=t.payload.resumeId}),e.addCase(p.setActiveTabID,(e,t)=>{e.activeTabId=t.payload.tabId}),e.addCase(p.setTailorResume,e=>{e.isTailorResume=!0}),e.addCase(p.setOpenWelcomeModal,(e,t)=>{e.isWelcomeModelopen=t.payload}),e.addCase(p.updateResumeStatus,(e,t)=>{e.resumeUpdateStatus=t.payload}),e.addCase(p.setHelperWidgets,(e,t)=>{let i=!1;e.helperWidgets=e.helperWidgets?.map(e=>e.widgetCollectionName===t.payload.widgetCollectionName?(i=!0,{...e,widgetsList:t.payload.widgetsList}):e),i||e.helperWidgets?.push({widgetCollectionName:t.payload.widgetCollectionName,widgetsList:t.payload.widgetsList})}),e.addCase(p.setTRDocumentStatus,(e,t)=>{e.trDocumentsStatus={...e.trDocumentsStatus,[t.payload.id]:t.payload.status}}),e.addCase(p.setTRDocument,(e,t)=>{e.trDocuments={...e.trDocuments,[t.payload.document.id]:t.payload.document}}),e.addCase(p.setDuplicationUrl,(e,t)=>{e.duplicationUrl=t.payload}),e.addCase(p.setIsDuplicationLoading,(e,t)=>{e.isDuplicationLoading=t.payload}),e.addCase(p.setCopyDocumentStatus,(e,t)=>{e.copyDocumentStatus=t.payload}),e.addCase(p.renameTrDocument,(e,t)=>{let{id:i,title:r,slug:n}=t.payload,o=e.trDocuments[i];o&&(o.title=r,o.slug=n);let a=e.documents.find(e=>e.id===i&&e.type===s.VC.trDocument);a&&(a.title=r,a.slug=n)})})},61750:function(e,t,i){"use strict";i.d(t,{Ml:function(){return C},al:function(){return L}}),i(18111),i(61701),i(22489),i(14603),i(47566),i(98721);var r=i(99197),n=i(68216),o=i(33093),a=i(8037),l=i(16497),s=i(49012),d=i(57238),c=i(85922),u=i(28363),p=i(95742),h=i(90997),x=i(21798),m=i(24317),g=i(63255),y=i(33288),f=i(46932);function*b(){yield(0,n.yJ)(g.o1.setDocumentsStatus(a.Hp.loading));try{let[e,t,i,r]=yield(0,n.Q7)([(0,n.T1)(s.uE.get,"/resumes"),(0,n.T1)(s.uE.get,"/cover-letters"),(0,n.T1)(s.R3.get,"/documents"),(0,n.T1)(s.R3.get,"/tailored_resumes")]),o=[];i.data&&Array.isArray(i.data)&&((o=i.data.map(e=>({...e,type:"tr_document",createdAt:e.created_at}))).sort((e,t)=>
8252"resume"===e.doc_type||"cover_letter"===e.doc_type?-1:+("resume"===t.doc_type||"cover_letter"===t.doc_type)),yield(0,n.Q7)(o.map(e=>(0,n.yJ)(g.o1.setTRDocument({document:e})))));let l=[...e.data.resumes.filter(e=>!e.autoTailored),...t.data.coverLetters,...o,...r.data];yield(0,n.yJ)(g.o1.setDocuments(l)),yield(0,n.yJ)(g.o1.setDocumentsStatus(a.Hp.loaded))}catch(e){u.A.log(e),yield(0,n.yJ)(g.o1.setDocumentsStatus(a.Hp.notAsked))}}function*_(e){let{id:t,name:i,type:r}=e.payload;yield(0,n.T1)(s.uE.post,`/${(0,y.dh)(r)}/${t}/rename`,{name:i})}function*v(e){let{id:t,title:i,slug:r}=e.payload;yield(0,n.T1)(s.R3.put,`/documents/${t}`,{title:i,slug:r})}function*j(e){yield(0,n.yJ)(g.o1.setIsDuplicationLoading(!0));let{id:t,docType:i}=e.payload;try{if("cover_letter"===i){let{data:{redirect_to:e}}=yield(0,n.T1)(s.R3.post,`/documents/${t}/duplicate_cover_letter`,{id:t});yield(0,n.yJ)(g.o1.setDuplicationUrl(e))}else{let{data:{redirect_to:e}}=yield(0,n.T1)(s.R3.post,`/documents/${t}/duplicate`,{id:t});yield(0,n.yJ)(g.o1.setDuplicationUrl(e))}}catch(e){yield(0,n.yJ)(c.o1.closeTREditModal(t))}yield(0,n.yJ)(g.o1.setIsDuplicationLoading(!1))}function*A(e){if(yield(0,n.Lt)(d.Tp.premiumAccess))return!0;let t=yield(0,n.Lt)(g.Tp.documentsStatus);return t===a.Hp.notAsked&&(yield(0,n.T1)(b)),t===a.Hp.loading&&(yield(0,n.s)(g.o1.setDocumentsStatus)),0===(yield(0,n.Lt)(g.Tp.documents)).filter(t=>t.type===e).length}function*C(e){let{type:t,name:i="Untitled",target:r,isResumeDistributionCreateAction:o,autoApplyReturnTo:a,returnToType:u,disableRedirect:h=!1}=e.payload,x=window?.location?.host,b=yield(0,n.Lt)(d.Tp.isRioUser),_=p.GT.includes(x)&&b,v=function*(){sessionStorage.setItem(f.U$.ACTION_AFTER_UPGRADING_PLAN,"createDocument"),sessionStorage.setItem(f.U$.DOCUMENT_TYPE,t),yield(0,n.yJ)(c.o1.openLimitModal(t))};if(yield(0,n.T1)(A,t)){let d=`/${(0,y.dh)(t)}`,c="details"in e.payload?e.payload.details:{},{data:p}=yield(0,n.T1)(s.uE.post,d,{name:i,...c});if("id"in p){if(h)return p;let e=new URLSearchParams;o&&e.set("resume-distribution-id",String(p.id)),a&&e.set("auto_apply_return_to",a),u&&e.set(m.Mr,u);let i=e.toString(),s=`/${(0,y.dh)(t)}/${p.id}/edit${i?`?${i}`:""}`;_?yield(0,n.yJ)(g.o1.navigateBackToRIO({id:p.id,type:t,feature:"createNew"})):r?window.open("/app"+s,r):(0,l.o)(s)}else yield(0,n.T1)(v)}else yield(0,n.T1)(v)}function*w(e){let{id:t,type:i,shouldRedirectToEditor:r}=e.payload;if(yield(0,n.T1)(A,i)){yield(0,n.yJ)(g.o1.setCopyDocumentStatus(a.Hp.loading));try{let e=`/${(0,y.dh)(i)}/${t}/duplicate`,o=yield(0,n.T1)(s.uE.post,e);yield(0,n.yJ)(g.o1.addDocument(o.data)),yield(0,n.yJ)(g.o1.setCopyDocumentStatus(a.Hp.loaded)),r&&(yield(0,n.yJ)(c.o1.toggleTRBuilderResumeEditModal(null)),(0,l.o)(`/${(0,y.dh)(i)}/${o.data.id}/edit`))}catch(e){yield(0,n.yJ)(g.o1.setCopyDocumentStatus(a.Hp.failed)),u.A.log(e)}}else r&&(yield(0,n.yJ)(c.o1.toggleTRBuilderResumeEditModal(null))),sessionStorage.setItem(f.U$.ACTION_AFTER_UPGRADING_PLAN,"copyDocument"),sessionStorage.setItem(f.U$.DOCUMENT_TYPE,i),sessionStorage.setItem(f.U$.DOCUMENT_TO_COPY_ID,`${t}`),yield(0,n.yJ)(c.o1.openLimitModal(i))}function*k(e){try{let{id:t,type:i}=e.payload;yield(0,n.yJ)(g.o1.updateResumeStatus(f.dk.Started)),yield(0,n.T1)(s.uE.delete,`/${(0,y.dh)(i)}/${t}`),i===a.VC.resume&&(h.q.setQueryData(["auto-apply-copilots"],e=>e?.map(e=>e.documentType===x.K.resume&&e.documentId===t?{...e,enabled:!1,documentType:null,documentId:null}:e)),h.q.invalidateQueries({queryKey:["auto-apply-copilots"],refetchType:"none"})),yield(0,n.yJ)(g.o1.updateResumeStatus(f.dk.Finished))}catch(e){u.A.log(e)}}function*S(e){try{let{resumeId:t}=e.payload;if(t){let{data:e}=yield(0,n.T1)(s.uE.get,`/resumes/${t}/prefill/status`);e&&(yield(0,n.yJ)(g.o1.setResumeStatus(e.status)))}}catch(e){u.A.log(e),(0,o.xP)("tr_prefill_error",{label:"tr_leads_to_cio"})}}function*T(e){let{type:t,id:i,feature:o,extraInfo:a="none"}=e.payload,l=window?.location?.host,d=yield(0,n.T1)(A,t);try{if(d||"skipValidation"===a){let e=`/${(0,y.dh)(t)}/${i}/edit`;"share"===o&&(e=`?isSharing=true&docId=${i}`),"tailorResume"===o&&(e+=`?${f.pn.isResumeTailor}=true`);{let{data:t}=yield(0,n.T1)(s.uE.post,"/rio/magic_link",{redirect_to:"/app"+e,http_method:"post"});if(t&&t.success&&t.token){let e=t.token,{data:i}=yield(0,n.T1)(s.uE.post,"/login/magic-auth-of-rio",{token:e},{baseURL:"stg.career.io"===l?"https://stg.resume.io/api/app":"https://resume.io/api/app"});i.domain&&i.redirectTo&&window.open("http://"+i.domain+i.redirectTo,"_self")}}}}catch(e){r.A.isAxiosError(e)&&e.response?.status===400&&(e.message=`${e.message}. Requested redirection cannot be done.`),u.A.log(e)}}function*P(e){try{let{stepId:t,status:i}=e.payload;yield(0,n.T1)(s.uE.post,`/widget-steps/${t}`,{status:i})}catch(e){u.A.log(e)}}function*J(e){try{let{widgetName:t}=e.payload;if(t){let{data:e}=yield(0,n.T1)(s.uE.get,`/widget-steps?name=${t}`);e&&(yield(0,n.yJ)(g.o1.setHelperWidgets({widgetCollectionName:t,widgetsList:e})))}}catch(e){u.A.log(e)}}function*E(e){let{id:t}=e.payload;try{yield(0,n.yJ)(g.o1.setTRDocumentStatus({status:a.Hp.loading,id:t}));let{status:e,data:i}=yield(0,n.T1)(s.R3.get,`/documents/${t}`);200===e&&(yield(0,n.yJ)(g.o1.setTRDocument({document:i})),yield(0,n.yJ)(g.o1.setTRDocumentStatus({status:a.Hp.loaded,id:t})))}catch(e){yield(0,n.yJ)(g.o1.setTRDocumentStatus({status:a.Hp.failed,id:t}))}}function*R(e){try{let t=e.payload;yield(0,n.T1)(s.uE.patch,"/account/ui-states",{...t})}catch(e){u.A.log(e)}}let L=function*(){yield(0,n.Q7)([(0,n.p8)(g.o1.fetchDocuments,b),(0,n.p8)(g.o1.createDocument,C),(0,n.p8)(g.o1.copyDocument,w),(0,n.p8)(g.o1.renameDocument,_),(0,n.p8)(g.o1.renameTrDocument,v),(0,n.jP)(g.o1.deleteDocument,k),(0,n.p8)(g.o1.fetchResumeStatus,S),(0,n.p8)(g.o1.navigateBackToRIO,T),(0,n.p8)(g.o1.fetchHelperWidgets,J),(0,n.p8)(g.o1.updateHelperWidgets,P),(0,n.p8)(g.o1.fetchTRDocument,E),(0,n.p8)(g.o1.duplicateTRDocument,j),(0,n.p8)(g.o1.setUIStatesConfigStatus,R)])}},46932:function(e,t,i){"use strict";i.d(t,{Kr:function(){return c},TY:function(){return d},U$:function(){return h},dk:function(){return p},kp:function(){return u},pn:function(){return x}});var r,n,o,a,l,s,d=((r={}
8252).PENDING="pending",r.COMPLETED="completed",r),c=((n={}).JOB_SEARCH="job_search",n),u=((o={}).PENDING="pending",o.RETRY="retry",o.FAILURE="failure",o.SUCCESS="success",o),p=((a={}).Initial="Initial",a.Started="Started",a.Finished="Finished",a),h=((l={}).ACTION_AFTER_UPGRADING_PLAN="actionAfterUpgradingPlan",l.DOCUMENT_TYPE="documentType",l.DOCUMENT_TO_COPY_ID="documentToCopyId",l.COVER_LETTER_TEMPLATE="coverLetterTemplate",l),x=((s={}).isResumeTailor="isResumeTailor",s)},33288:function(e,t,i){"use strict";i.d(t,{dh:function(){return d},p5:function(){return u},vi:function(){return c}});var r=i(90128),n=i.n(r),o=i(20249),a=i.n(o),l=i(34972),s=i(12330);let d=(e,t=!1)=>{let i=a()(e)+"s";return t?`auto-tailored-${i}`:i},c=e=>n()(e),u=()=>{try{let e=s.D.getItem(l.G.ACTIVE_TAB);if(e){let t=parseInt(JSON.parse(e),10);if(!isNaN(t))return t}}catch(e){console.error("localStorage error",e)}return 0}},13807:function(e,t,i){"use strict";i.d(t,{$C:function(){return r.$},Ff:function(){return o.Ff},Tp:function(){return o.Tp},al:function(){return n.al},o1:function(){return o.o1},p4:function(){return r.p}});var r=i(72922),n=i(87665),o=i(96527)},96527:function(e,t,i){"use strict";i.d(t,{Ff:function(){return s},Tp:function(){return a},o1:function(){return l}});var r=i(60258),n=i(8037),o=i(69352);let a={renderer:e=>{let t=o.Tp.feature(e,"renderer");return t&&t in n.vy?t:n.vy.client},fallback:()=>(console.info("SSR Mode"),n.vy.server),rdUpsellPromoModalVisible:e=>e.rendering.rdUpsellPromoModalVisible,showUpsellRdPromoModal:e=>e.rendering.showUpsellRdPromoModal,rdUpsellGetStartedModalVisible:e=>e.rendering.rdUpsellGetStartedModalVisible,rdUpsellModalVisible:e=>e.rendering.rdUpsellModalVisible,rdGotCreditsModalVisible:e=>e.rendering.rdGotCreditsModalVisible,rdNotEnoughCreditsModalVisible:e=>e.rendering.rdNotEnoughCreditsModalVisible,showAutoApplyUpsellModal:e=>e.rendering.showAutoApplyUpsellModal,copilotSetupModalVisible:e=>e.rendering.copilotSetupModalVisible,copilotSetupJobSlug:e=>e.rendering.copilotSetupJobSlug,isDocumentDownloading:e=>e.rendering.isDocumentDownloading,isPreviewGenerating:e=>e.rendering.isPreviewGenerating},l={setPreviewGenerating:(0,r.VP)("builder/RENDERING_SET_PREVIEW_GENERATING"),fetchClientPreview:(0,r.VP)("builder/RENDERING_FETCH_CLIENT_PREVIEW"),fetchServerPreview:(0,r.VP)("builder/RENDERING_FETCH_SERVER_PREVIEW"),fetchPreviewDone:(0,r.VP)("builder/RENDERING_FETCH_PREVIEW_DONE"),setDocumentDownloading:(0,r.VP)("builder/RENDERING_SET_DOCUMENT_DOWNLOADING"),download:(0,r.VP)("builder/RENDERING_DOWNLOAD"),downloadMergedDocuments:(0,r.VP)("builder/RENDERING_DOWNLOAD_MERGED_DOCUMENTS"),fallback:(0,r.VP)("builder/RENDERING_FALLBACK"),fallbackComplete:(0,r.VP)("builder/RENDERING_FALLBACK_COMPLETE"),checkDocument:(0,r.VP)("builder/RENDERING_CHECK_DOCUMENT"),checkDocumentComplete:(0,r.VP)("builder/RENDERING_CHECK_DOCUMENT_COMPLETE"),showRDUpsellPromoModal:(0,r.VP)("builder/RENDERING_SHOW_RD_UPSELL_PROMO_MODAL"),closeRDUpsellPromoModal:(0,r.VP)("builder/RENDERING_CLOSE_RD_UPSELL_PROMO_MODAL"),toggleRDUpsellPromoModal:(0,r.VP)("builder/RENDERING_TOGGLE_RD_UPSELL_PROMO_MODAL"),showRDUpsellGetStartedModal:(0,r.VP)("builder/RENDERING_SHOW_RD_UPSELL_GET_STARTED_MODAL"),closeRDUpsellGetStartedModal:(0,r.VP)("builder/RENDERING_CLOSE_RD_UPSELL_GET_STARTED_MODAL"),showRDUpsellModal:(0,r.VP)("builder/RENDERING_SHOW_RD_UPSELL_MODAL"),closeRDUpsellModal:(0,r.VP)("builder/RENDERING_CLOSE_RD_UPSELL_MODAL"),showRDGotCreditsModal:(0,r.VP)("builder/RENDERING_SHOW_RD_GOT_CREDITS_MODAL"),closeRDGotCreditsModal:(0,r.VP)("builder/RENDERING_CLOSE_RD_GOT_CREDITS_MODAL"),showRDNotEnoughCreditsModal:(0,r.VP)("builder/RENDERING_SHOW_RD_NOT_ENOUGH_CREDITS_MODAL"),closeRDNotEnoughCreditsModal:(0,r.VP)("builder/RENDERING_CLOSE_RD_NOT_ENOUGH_CREDITS_MODAL"),toggleAutoApplyUpsellModal:(0,r.VP)("builder/TOGGLE_AUTO_APPLY_UPSELL_MODAL"),triggerAaPostPurchaseFlow:(0,r.VP)("builder/RENDERING_TRIGGER_AA_POST_PURCHASE_FLOW"),showCopilotSetupModal:(0,r.VP)("builder/RENDERING_SHOW_COPILOT_SETUP_MODAL"),closeCopilotSetupModal:(0,r.VP)("builder/RENDERING_CLOSE_COPILOT_SETUP_MODAL")},s=(0,r.vy)({isDocumentDownloading:!1,isPreviewGenerating:!1,rdUpsellPromoModalVisible:!1,showUpsellRdPromoModal:!1,rdUpsellGetStartedModalVisible:!1,rdUpsellModalVisible:!1,rdGotCreditsModalVisible:!1,rdNotEnoughCreditsModalVisible:!1,showAutoApplyUpsellModal:!1,copilotSetupModalVisible:!1,
8252copilotSetupJobSlug:null},e=>{e.addCase(l.setPreviewGenerating,(e,t)=>{e.isPreviewGenerating=t.payload}),e.addCase(l.setDocumentDownloading,(e,t)=>{e.isDocumentDownloading=t.payload}),e.addCase(l.showRDUpsellPromoModal,e=>{e.rdUpsellPromoModalVisible=!0}),e.addCase(l.toggleRDUpsellPromoModal,(e,t)=>{e.showUpsellRdPromoModal=t.payload}),e.addCase(l.closeRDUpsellPromoModal,e=>{e.rdUpsellPromoModalVisible=!1}),e.addCase(l.showRDUpsellGetStartedModal,e=>{e.rdUpsellGetStartedModalVisible=!0}),e.addCase(l.closeRDUpsellGetStartedModal,e=>{e.rdUpsellGetStartedModalVisible=!1}),e.addCase(l.showRDUpsellModal,e=>{e.rdUpsellModalVisible=!0}),e.addCase(l.closeRDUpsellModal,e=>{e.rdUpsellModalVisible=!1}),e.addCase(l.showRDGotCreditsModal,e=>{e.rdGotCreditsModalVisible=!0}),e.addCase(l.closeRDGotCreditsModal,e=>{e.rdGotCreditsModalVisible=!1}),e.addCase(l.showRDNotEnoughCreditsModal,e=>{e.rdNotEnoughCreditsModalVisible=!0}),e.addCase(l.closeRDNotEnoughCreditsModal,e=>{e.rdNotEnoughCreditsModalVisible=!1}),e.addCase(l.toggleAutoApplyUpsellModal,(e,t)=>{e.showAutoApplyUpsellModal=t.payload}),e.addCase(l.showCopilotSetupModal,(e,t)=>{e.copilotSetupModalVisible=!0,e.copilotSetupJobSlug=t.payload??null}),e.addCase(l.closeCopilotSetupModal,e=>{e.copilotSetupModalVisible=!1,e.copilotSetupJobSlug=null})})},87665:function(e,t,i){"use strict";i.d(t,{xd:function(){return V},al:function(){return es}}),i(18111),i(20116),i(61701),i(14603),i(47566),i(98721);var r=i(86663),n=i(53110),o=i(31264),a=i(68216),l=i(33093),s=i(20646),d=i(12330),c=i(49012),u=i(52413),p=i(8037),h=i(47942),x=i(28363),m=i(70692),g=i(43612);class y{constructor(e,t){this.document=e,this.renderer=t}async getUrl(){let[e,{renderWorker:t}]=await Promise.all([h.A.getConfig(this.document.locale),(this.renderer,i.e("9148").then(i.t.bind(i,77298,19)))]),r=await t({document:this.document,config:e});return"string"==typeof r?(x.A.log(Error("Rendering worker returned a blob URL; its build is stale"),{tag:"stale-rendering-worker",level:"warning"}),r):URL.createObjectURL(new Blob([r],{type:"application/pdf"}))}getFileName(){return(0,g.n)(this.document,p.hR.pdf)}async start(){let e=await this.getUrl(),t=this.getFileName();return(0,m.P)(e,t),e}}class f{constructor(e){this.document=e}async start(){let e=await u.A.getToken(),{renderingToken:t,version:i}=this.document,n=(0,r.stringify)({token:e,version:i,download:1}),o=`https://ssr.resume.tools/to-pdf/${t}?${n}`;return window.location=o,o}}class b{constructor(e){this.document=e}async start(){let e=await u.A.getToken(),{renderingToken:t,version:i}=this.document,n=(0,r.stringify)({token:e,template:this.document.template,version:i}),o=`https://ssr.resume.tools/to-docx/${t}?${n}`;return window.location=o,o}}class _{constructor(e){this.document=e}async start(){let e=`${p.JR}/resumes/${this.document.id}/txt-download`;return window.location=e,e}}class v{renderer=p.vy.client;getDownloadClass(e){return e.format===p.hR.docx?b:e.format===p.hR.txt?_:this.renderer===p.vy.server||function(e=navigator){return!!/iPhone|iPad|iPod/.test(e.userAgent)||"MacIntel"===e.platform&&e.maxTouchPoints>1}()?f:y}async getDocumentData({id:e,type:t,template:i}){let{data:r}=await c.uE.get(`/${"resume"===t?"resumes":"cover-letters"}/${e}`);return i?{...r,template:i}:r}async download(e){return new(this.getDownloadClass(e))(await this.getDocumentData(e),this.renderer).start()}}var j=new v,A=i(83113),C=i(64530),w=i(69352),k=i(57238),S=i(34346),T=i(57298),P=i(32606),J=i(52967),E=i(85922),R=i(44888),L=i(46932),N=i(22130),I=i(99381),M=i(33809),B=i(72922),D=i(96527);let $=["ECONNABORTED","ETIMEDOUT","ERR_NETWORK"],O=[502,503,504];function z(e){return!!(e instanceof n.pe&&(e.code&&$.includes(e.code)||e.response&&O.includes(e.response.status)))||!1}function*F(e,t,...i){A.Ay.operation(e);let r=yield(0,a.T1)(t,...i);return A.Ay.operationEnd(e),r}function*H(e,t){if(!t||t.template)return;let i=Object.keys(t),r=yield(0,a.Lt)(J.Tp.coverLetter),n=yield(0,a.Lt)(P.Tp.resume),o=null!=t.id&&r?.id===t.id?r:null!=t.id&&n?.id===t.id?n:null,l=o??((0,M.rh)(t)?r:n),s=t.content,d="u">typeof window&&void 0!==window.document?window.document.visibilityState:null,c="u">typeof performance?performance.getEntriesByType("navigation")[0]:null;x.A.log(Error("Render with broken document"),{tag:"broken-render-doc",extra:{s
8252ource:e,documentKeys:i,documentType:t.type??null,documentId:t.id??null,contentType:typeof s,contentLength:"string"==typeof s?s.length:null,reduxDocKeys:l?Object.keys(l):null,reduxHasTemplate:!!l?.template,reduxPickedBy:o?"id":"type",coverLetterStateKeys:r?Object.keys(r):null,coverLetterStateHasTemplate:!!r?.template,coverLetterStateId:r?.id??null,resumeStateKeys:n?Object.keys(n):null,resumeStateHasTemplate:!!n?.template,resumeStateId:n?.id??null,propMatchesCoverLetter:r===t,propMatchesResume:n===t,pathname:"u">typeof window?window.location?.pathname??null:null,visibility:d,navType:c?.type||null,userAgent:"u">typeof navigator?navigator.userAgent:null}})}function V(){return i.e("9148").then(i.t.bind(i,77298,19))}function*U(e){try{yield(0,a.yJ)(D.o1.setPreviewGenerating(!0));let t=yield(0,a.Lt)(D.Tp.renderer),{document:i}=e.payload;yield(0,a.T1)(H,"client",i);let[r,n]=yield(0,a.Q7)([(0,a.T1)(F,"loadConfig",h.A.getConfig,i?.locale),(0,a.T1)(F,"loadRendererWorker",V,t)]),{renderWorker:o}=n;if("function"!=typeof o)throw Error(`renderWorker is not a function (got ${typeof o}). Module keys: ${Object.keys(n||{})}`);let l=yield(0,a.T1)(F,"generatePdfWithRendererCore",o,{document:i,config:r});e.payload.resolve(l)}catch(t){e.payload.reject(t)}finally{yield(0,a.yJ)(D.o1.setPreviewGenerating(!1))}}function*W(e){try{let t;yield(0,a.yJ)(D.o1.setPreviewGenerating(!0));let{document:i,page:r,size:n}=e.payload;yield(0,a.T1)(H,"server",i);let o=yield(0,a.T1)(F,"loadConfig",h.A.getConfig,i?.locale),l={document:i,config:o,page:r,size:n};A.Ay.operation("generatePdfPreviewOnServer");for(let i=0;i<2;i++)try{i>0&&(yield(0,a.cb)(2e3));let t=yield(0,a.T1)(u.A.client.post,"https://ssr.resume.tools/render",l,{timeout:1e4});e.payload.resolve(t.data),yield(0,a.yJ)(D.o1.fetchPreviewDone());return}catch(e){if(t=e,!z(e))break;i<1&&x.A.log(e,{tag:"ssr-render-retrying",extra:{attempt:i,nextAttempt:i+1}})}let s=z(t);x.A.log(t,{tag:"ssr-render-failed",extra:{wasRetryable:s}}),e.payload.reject(t??Error("SSR render failed: no attempts made"))}catch(t){e.payload.reject(t)}finally{A.Ay.operationEnd("generatePdfPreviewOnServer"),yield(0,a.yJ)(D.o1.setPreviewGenerating(!1))}}function*K({id:e,type:t,format:i}){let r,n,o=t===p.VC.resume;if(i!==p.hR.pdf)return!0;if(o?(r=yield(0,a.Lt)(P.Tp.resume),n=yield(0,a.Lt)(P.Tp.templates)):(r=yield(0,a.Lt)(J.Tp.coverLetter),n=yield(0,a.Lt)(J.Tp.templates)),r&&r.id===e&&n.length){let e=n.find(e=>e.id===r.template);return!!e&&e.premium}return(yield(0,a.T1)(c.uE.get,`/${o?"resumes":"cover-letters"}/${e}/template`)).data.premium}function*q({id:e,type:t}){let i,r,n=t===p.VC.resume;if(n?(i=yield(0,a.Lt)(P.Tp.resume),r=yield(0,a.Lt)(P.Tp.templates)):(i=yield(0,a.Lt)(J.Tp.coverLetter),r=yield(0,a.Lt)(J.Tp.templates)),i&&i.id===e&&r.length){let e=r.find(e=>i.template===e.id);return!!e&&e.supportedFormats.includes("docx")}return(yield(0,a.T1)(c.uE.get,`/${n?"resumes":"cover-letters"}/${e}/template`)).data.supportedFormats.includes("docx")}function*G(e){return e.format===p.hR.txt||((yield(0,a.Lt)(k.Tp.isFetched))||(yield(0,a.s)(k.o1.setAccount)),!!(yield(0,a.Lt)(k.Tp.premiumAccess))||!(yield(0,a.T1)(K,e)))}function*Z({id:e,type:t}){let i=sessionStorage.getItem(L.U$.COVER_LETTER_TEMPLATE);if(i)return sessionStorage.removeItem(L.U$.COVER_LETTER_TEMPLATE),{continue:!0,template:i};if(yield(0,a.T1)(q,{id:e,type:t}))return{continue:!0};yield(0,a.yJ)(E.o1.setDocxModalDocumentId(e)),yield(0,a.yJ)(E.o1.setDocxModalDocumentType(t));let r=yield(0,a.s)([E.o1.docxModalClosed,E.o1.docxModalClosedDownload]);return(yield(0,a.yJ)(E.o1.setDocxModalDocumentId(null)),yield(0,a.yJ)(E.o1.setDocxModalDocumentType(null)),r.type===E.o1.docxModalClosed().type)?{continue:!1}:{continue:!0,template:r?.payload?.template}}function*X({id:e,type:t}){if(t===p.VC.coverLetter){let t=yield(0,a.Lt)(k.Tp.premiumAccess),i=(JSON.parse(d.D.getItem(E.lY)||"[]")||[]).includes(e);if(!t&&!i)return void(yield(0,a.yJ)(E.o1.openCoverLetterModal({id:e})))}let i=(JSON.parse(d.D.getItem("DOCUMENT_DOWNLOADS_COUNT")||"0")||0)+1;d.D.setItem("DOCUMENT_DOWNLOADS_COUNT",JSON.stringify(i)),3===i&&(yield(0,a.yJ)(E.o1.openRateModal()))}function*Q(e){let{type:t=p.VC.resume,format:i=p.hR.pdf}=e.payload,r=t===p.VC.resume,n=yield(0,a.Lt)(w.Tp.config),o=yield(0,a.Lt)(k.Tp.userData);if(i===p.hR.tr_pdf||i===p.hR.tr_doc||!r||!o?.id||!n?.features?.autoApply||!o?.scopes?.autoApply||"TR"===o.scopes.kind)return;let l=(0,T.Xi)(o.id);d.D.getItem(l)!==T.GS.dismissed&&(d.D.setItem(l,T.GS.pending),yield(0,a.yJ)(E.o1.toggleAaPostPurchaseModal(!0)))}function*Y(e){let t,i,r,{id:n,type:o=p.VC.resume,format:u=p.hR.pdf,showSnackBar:h=!0,resolve:g=()=>{},reject:y=()=>{},trDocument:f,template:b="",aiTaskId:_=""}=e.payload,v=yield(0,a.Lt)(w.Tp.config,w.l1.app),A=v.features.rdPromo,C=yield(0,a.Lt)(k.Tp.userData),T={id:n,type:o,format:u},{trDocFileURL:J,trDocFileName:L}=(t=f?.title||s.R.t("builder.dashboard.untitled"),"tr_doc"===(i=u)?i="docx":"tr_pdf"===i&&(i="pdf"),r=f?.files?.find(e=>"docx"===u?e?.filename?.endsWith("docx")||e?.filename?.endsWith("doc"):e?.filename?.endsWith(i)),{trDocFileURL:r?.url,trDocFileContentType:r?.content_type,trDocFileName:t});if(u===p.hR.docx){let e=yield(0,a.T1)(Z,{id:n,type:o});if(T.template=e.template,!e.continue)return}if(yield(0,a.yJ)(D.o1.setDocumentDownloading(!0)),yield(0,a.T1)(G,{id:n,type:o,format:u}
8252)){if(A?.rdPromoPlan&&"true"!==d.D.getItem("rd_promo_shown")?yield(0,a.yJ)(D.o1.showRDUpsellPromoModal()):new URLSearchParams(window.location.search).get("download_document_id")?(0,I.g)(C,v.features)&&(yield(0,a.yJ)(E.o1.toggleAutoApplyResumeDistributionModal({open:!0,label:"resume_download"}))):C?.scopes?.autoApply&&(yield(0,a.yJ)(D.o1.showRDUpsellGetStartedModal())),yield(0,a.yJ)(k.o1.setIsResumeDownloaded(!0)),h){let e="tr_pdf"===u?"pdf":"tr_doc"===u?"docx":u,t=s.R.t(`builder.dashboard.generating_${e}`);yield(0,a.yJ)(E.o1.setSnackBarOpen({status:!0,text:t}))}let t=yield(0,a.Lt)(D.Tp.renderer),i=o===p.VC.resume,r=i?yield(0,a.Lt)(P.Tp.resume):null,f=!!(r&&r.aiTaskId||_);if(i&&u!==p.hR.tr_pdf&&u!==p.hR.tr_doc){let e=yield(0,a.Lt)(S.Tp.careerProfileData),t=yield(0,a.Lt)(S.Tp.fetchIsNewProfileStatus);e?.newProfile!==!1&&t===p.Hp.notAsked&&(yield(0,a.yJ)(S.o1.prefillProfile({resumeId:n})))}try{(u===p.hR.tr_pdf||u===p.hR.tr_doc)&&J?((0,m.P)(J,L),(0,l.xP)("download_tr_document")):(j.renderer=t,yield(0,a.T1)({context:j,fn:j.download},T),g(),yield function*({id:e,type:t,format:i,template:r}){let n=t===p.VC.resume,o=`download_${t}`,s={format:i,[`${t}_id`]:e,n_symbols_work_exp_field:[],template:r};if(n){let{data:t}=yield(0,a.T1)(c.uE.get,`/resumes/${e}`);t.workExperiences.length&&(s.n_symbols_work_exp_field=t.workExperiences.map(e=>(0,R.$)(e.description||"").length))}(0,l.xP)(o,s),(0,l._m)("Click Download",o,{eventLabel:i}),(0,l._m)("Purchase funnel","Document downloaded",{eventLabel:i,documentType:t})}({id:n,type:o,format:u,template:b}),o===p.VC.resume&&f&&(yield function*(e){try{yield(0,a.T1)(c.uE.post,`/resumes/${e}/send_feedback`)}catch(e){x.A.log(e,{tag:"download-error"})}}(n)))}catch(i){if(u===p.hR.pdf&&(yield(0,a.yJ)(D.o1.fallback({reason:"Download failed",message:String(i)})),yield(0,a.s)(D.o1.fallbackComplete),(yield(0,a.Lt)(D.Tp.renderer))!==t))return yield(0,a.yJ)(D.o1.download(e.payload));x.A.log(i,{tag:"download-error"}),y(i)}yield(0,a.yJ)(E.o1.setSnackBarOpen({status:!1})),yield(0,a.T1)(X,{id:n,type:o})}else if(A?.rdPromoPlan&&"true"!==d.D.getItem("rd_promo_shown"))yield(0,a.yJ)(D.o1.showRDUpsellPromoModal());else{(u===p.hR.tr_pdf||u===p.hR.tr_doc)&&(sessionStorage.setItem(B.$.DOWNLOAD_WHEN_PREMIUM,u),sessionStorage.setItem(B.$.TR_DOC_ID,String(n)));let e=yield(0,a.Lt)(k.Tp.getUpgradeUrl),t=yield(0,a.Lt)(w.Tp.config,w.l1.app);if(t?.features?.dashboardV4){let t=new URLSearchParams;t.set("resume_id",String(n)),t.set("download_document_id",String(n)),t.set("document_type",o),t.set("document_format",u),t.set("document_template",b),t.set("categoryTab","jobs"),(0,N.b)({upgradeURL:e,document:String(n),documentType:o,documentFormat:u,documentTemplate:b,onSuccessRedirect:`/app?${t.toString()}`});return}(0,N.b)({upgradeURL:e,document:String(n),documentType:o,documentFormat:u,documentTemplate:b})}yield(0,a.yJ)(D.o1.setDocumentDownloading(!1))}
8252function*ee(e){let{coverLetter:t,resume:i,showSnackBar:n=!0,resolve:o=()=>{},reject:l=()=>{}}=e.payload;if(yield(0,a.yJ)(D.o1.setDocumentDownloading(!0)),yield(0,a.T1)(G,{id:i.id,type:p.VC.resume,format:p.hR.pdf})){if(n){let e=s.R.t(`builder.dashboard.generating_${p.hR.pdf}`);yield(0,a.yJ)(E.o1.setSnackBarOpen({status:!0,text:e}))}try{let e=yield u.A.getToken(),n=(0,r.stringify)({token:e,documentTokens:[t.renderingToken,i.renderingToken]}),a=`https://ssr.resume.tools/merge-pdfs?${n}`;window.location.href=a,o()}catch(e){l(e)}yield(0,a.yJ)(E.o1.setSnackBarOpen({status:!1}))}else{let e=yield(0,a.Lt)(k.Tp.getUpgradeUrl);(0,N.b)({upgradeURL:e,coverLetterId:String(t.id),resumeId:String(i.id),documentType:"merged"})}yield(0,a.yJ)(D.o1.setDocumentDownloading(!1))}function*et({payload:e}){"zh-HK"===e.locale&&(yield(0,a.yJ)(D.o1.fallback({reason:"Chinese language"})),yield(0,a.s)(D.o1.fallbackComplete)),yield(0,a.yJ)(D.o1.checkDocumentComplete())}function ei(e){"hidden"===e&&A.Ay.skipCurrent()}function*er(){let e=1;for(;;){var t;let i=yield(0,a.s)([D.o1.fetchClientPreview,D.o1.fetchServerPreview]),r=(t=yield(0,a.Lt)(D.Tp.renderer),`${t}-rendering`),{document:n}=i.payload;A.Ay.listen({name:r,op:"rendering",tags:{renderNumber:e++,documentType:n?.type,template:n?.template,locale:n?.locale,pixelRatio:Number.parseInt(String(window.devicePixelRatio))||1,memory:window.navigator.deviceMemory,viewportWidth:100*Math.floor(window.innerWidth/100)}}),ei(window.document.visibilityState);let o=yield(0,a.s)([D.o1.fetchPreviewDone,D.o1.fallback]),l=o.type===D.o1.fetchPreviewDone.toString()?"ok":"internal_error";A.Ay.finish({status:l,tags:o.payload}),window.isPlaywright&&(window.__renderRequestCount=(window.__renderRequestCount??0)+1)}}function*en(){let e=(0,o.Od)(e=>{let t=()=>e(window.document.visibilityState);return window.document.addEventListener("visibilitychange",t),()=>window.document.removeEventListener("visibilitychange",t)});for(;;){let t=yield(0,a.s)(e);yield(0,a.T1)(ei,t)}}let eo={};function*ea(){let e;do e=yield(0,a.s)(w.o1.updateConfig);while(e.payload.scope!==w.l1.app);return eo[yield(0,a.Lt)(D.Tp.renderer)]}function*el(){let e=yield(0,a.T1)(ea);for(;;)e=yield(0,a.T1)(e)}eo[p.vy.client]=function*({isFallback:e}={}){let t=yield(0,a.p8)(D.o1.fetchClientPreview,U);return e&&(yield(0,a.yJ)(w.o1.setFeatureValue({name:"renderer",value:p.vy.client})),yield(0,a.yJ)(D.o1.fallbackComplete())),yield(0,a.s)(D.o1.fallback),t.cancel(),eo[yield(0,a.Lt)(D.Tp.fallback)].bind(null,{isFallback:!0})},eo[p.vy.server]=function* e({isFallback:t}={}){let i,r=yield(0,a.p8)(D.o1.fetchServerPreview,W);t&&(yield(0,a.yJ)(w.o1.setFeatureValue({name:"renderer",value:p.vy.server})),yield(0,a.yJ)(D.o1.fallbackComplete()));do i=yield(0,a.s)(D.o1.fallback);while(i.payload?.reason==="Chinese language");return r.cancel(),e.bind(null,{isFallback:!0})};let es=function*(){let e=(0,C.i)([C.y]);yield(0,a.Q7)([(0,a.Zy)(er),(0,a.Zy)(en),(0,a.Zy)(el),(0,a.jP)(D.o1.download.type,e,Y),(0,a.jP)(D.o1.downloadMergedDocuments,ee),(0,a.p8)(D.o1.checkDocument,et),(0,a.p8)(D.o1.triggerAaPostPurchaseFlow,Q)])}},72922:function(e,t,i){"use strict";i.d(t,{$:function(){return n},p:function(){return o}});var r,n=((r={}).DOWNLOAD_WHEN_PREMIUM="downloadWhenPremium",r.TR_DOC_ID="trDocId",r);let o="premiumTrialActivated"},76551:function(e,t,i){"use strict";i.d(t,{Kw:function(){return o},Nz:function(){return n},tq:function(){return r}});let r=e=>`https://www.topresume.com/new/resume-writing-pricing?dt=TRCIO2023&pt=UWYxd6Xe2VTS0&${!e?"utm_source=careerio&utm_medium=cioplatform&utm_campaign=cio_critique_low_band_tr_leads&utm_content=cta2":e}`,n=e=>`https://topresume.com/resume-writing?pt=UWYxd6Xe2VTS0&${!e?"&utm_source=careerio&utm_medium=cioplatform&utm_campaign=tr_cta_in_cio_critique_v2&utm_content=cta2":e}`,o="&pt=9UiLvwST3Shdz&utm_content=cta_read_the_review&utm_source=rio_dash&utm_medium=rio_dash&utm_campaign=cr_rio"},36925:function(e,t,i){"use strict";i.d(t,{Ff:function(){return g},Tp:function(){return x},o1:function(){return h},oV:function(){return n},al:function(){return j}});var r,n=((r={}).pending="pending",r.finished="finished",r.failed="failed",r);i(18111),i(20116);var o=i(68216),a=i(49012),l=i(28363);i(22489);var s=i(1806),d=i(33031),c=i.n(d),u=i(60258),p=i(8037);let h={setCritiques:(0,u.VP)("builder/SET_CRITIQUES"),setResumeId:(0,u.VP)("builder/CRITIQUE_REVIEW_SET_RESUME_ID"),setCritiqueStatus:(0,u.VP)("builder/CRITIQUE_REVIEW_STATUS"),fetchCritiqueReviewStatus:(0,u.VP)("builder/FETCH_CRITIQUE_REVIEW_STATUS"),fetchCioCritiques:(0,u.VP)("builder/FETCH_RESUME_AVAILABLE_CRITIQUES"),setReviews:(0,u.VP)("builder/SET_RESUME_REVIEWS"),setIsTopResumeUser:(0,u.VP)("builder/SET_IS_TOP_RESUME_USER"),updateIsTopResumeUserFlag:(0,u.VP)("builder/UPDATE_IS_TOP_RESUME_USER_FLAG"),setCritiquePageVisitedCount:(0,u.VP)("builder/CRITIQUE_PAGE_VISTITED_COUNT"),fetchPopupDate:(0,u.VP)("builder/FETCH_CRITIQUE_POPUP_DATE"),updateScoreForRemoteResume:(0,u.VP)("builder/CRITIQUE_REVIEW_SET_RESUME_REMOTE_SCORE")},x={lastCreated:(e,t)=>{let i=e.panel.documents.filter(e=>e.type===t),r=c()(i,e=>-(0,s.default)(e.createdAt).getTime());return r.length?r[0]:null},tunerResumeId:e=>x.lastCreated(e,p.VC.resume)?.id??null,critiqueStatus:e=>e.critiqueReview.critiqueStatus,triggeredCritiqueStatus:e=>e.critiqueReview.triggeredCritiqueStatus,resumeId:e=>e.panel.resumeId,critique:(e,t)=>
8252e.critiqueReview.critiques.find(e=>e.resumeId===t),isTopResumeUser:e=>e.critiqueReview.isTopResumeUser,isCritiquePageCount:e=>e.critiqueReview.critiquePageCount,isPopupViewedAt:e=>e.critiqueReview.triggeredCritiqueStatus.popupViewedAt},m={checkSum:"",critiqueStatus:n.pending,resumeId:0,isTopResumeUser:!1,documents:[],documentsStatus:p.Hp.notAsked,triggeredCritiqueStatus:{id:0,resumeId:0,status:n.pending,iframeUrl:"",popupViewedAt:null,reviewer:{name:null,photoUrl:""},createdAt:"",reviewedAt:null},critiques:[],critiquePageCount:!1},g=(0,u.vy)(m,e=>{e.addCase(h.setCritiqueStatus,(e,t)=>{e.triggeredCritiqueStatus=t.payload}),e.addCase(h.setResumeId,(e,t)=>{e.resumeId=t.payload.resumeId,e.checkSum=t.payload.checkSum}),e.addCase(h.setCritiques,(e,t)=>{e.triggeredCritiqueStatus=t.payload}),e.addCase(h.setIsTopResumeUser,(e,t)=>{e.isTopResumeUser=t.payload?.isTopResumeUser||!1}),e.addCase(h.setCritiquePageVisitedCount,(e,t)=>{e.critiquePageCount=t.payload})});function*y(e){try{let{resumeId:t,checkSum:i}=e.payload,r=yield(0,o.T1)(a.uE.post,`/resumes/${t}/critique/create-free-critique?checksum=${i}`);r&&(yield(0,o.yJ)(h.setCritiques(r.data?.critique)))}catch(e){l.A.log(e)}}function*f(e){try{let{resumeId:t}=e.payload,{data:i}=yield(0,o.T1)(a.uE.get,"/resume-critiques",{params:{resume_id:t}}),r=i?.critiques||[];if(r.length>0){let e=r.find(e=>e.status===n.finished)||r[0];yield(0,o.yJ)(h.setCritiqueStatus(e)),yield(0,o.yJ)(h.setIsTopResumeUser({isTopResumeUser:e?.isTopResumeUser}))}}catch(e){l.A.log(e)}}function*b(e){try{let{resume:t,score:i}=e?.payload,r=`/resumes/${t?.id}`;yield(0,o.T1)(a.uE.patch,r,{...t,score:i})}catch(e){l.A.log(e)}}function*_(e){try{let{resumeId:t,isTopResumeUser:i}=e.payload,{data:r}=yield(0,o.T1)(a.uE.post,`/tr-critique-details?resume_id=${t}&is_top_resume_user=${i}`);r&&(yield(0,o.yJ)(h.setIsTopResumeUser({isTopResumeUser:i})))}catch(e){l.A.log(e)}}function*v(e){try{let{resumeId:t}=e.payload;yield(0,o.T1)(a.uE.post,`/update-critique-popup-viewed-at?resume_id=${t}`)}catch(e){l.A.log(e)}}let j=function*(){yield(0,o.Q7)([(0,o.p8)(h.fetchCioCritiques,y)]),yield(0,o.Q7)([(0,o.p8)(h.fetchCritiqueReviewStatus,f)]),yield(0,o.Q7)([(0,o.p8)(h.updateIsTopResumeUserFlag,_)]),yield(0,o.Q7)([(0,o.p8)(h.fetchPopupDate,v)]),yield(0,o.Q7)([(0,o.p8)(h.updateScoreForRemoteResume,b)])}},84905:function(e,t,i){"use strict";i.d(t,{Ff:function(){return I},mZ:function(){return a},Dm:function(){return u},al:function(){return J},it:function(){return o},Tp:function(){return M},Hl:function(){return p},o1:function(){return R}});var r,n,o=((r={}).paused="paused",r.cancelled="cancelled",r.active="active",r),a=((n={})[n.not_started=0]="not_started",n[n.first=1]="first",n[n.second=2]="second",n[n.third=3]="third",n[n.fourth=4]="fourth",n);i(18111),i(61701),i(20116);var l=i(96540),s=i(18509),d=i(10494),c=i(10364);let u=e=>!!e&&"type"in e&&"resume"===e.type,p=e=>{let t=(0,s.N)(d.Tp.resumeTemplates),i=(0,s.N)(d.Tp.locales);return(0,l.useMemo)(()=>{let r=i.find(({isDefault:e})=>e)?.id??"en";return((e,t,i)=>{let r;if(!e)return null;if(u(e))return e;if(!t)return null;if(!u(e)&&"workExperiences"in e){let r;return{...r=(0,c.g)(),template:t.id,templateConfig:t,locale:i,firstName:e.firstName??r.firstName,lastName:e.lastName??r.lastName,email:e.email??r.email,jobTitle:e.jobTitle??r.jobTitle,address:e.address??r.address,workExperiences:(e.workExperiences??[]).map((e,t)=>({id:t+1,title:e.title})),socialProfiles:(e.socialProfiles??[]).map(({label:e,link:t},i)=>({id:i+1,label:e,link:t}))}}return{...r=(0,c.g)(),template:t.id,templateConfig:t,locale:i,firstName:e.firstName??r.firstName,lastName:e.lastName??r.lastName,email:e.email??r.email,phoneNumber:e.phoneNumbers?.[0]?.nationalNumber??r.phoneNumber,profile:e.summary??r.profile,position:e.profession??r.position,jobTitle:e.jobTitle??r.jobTitle,linkedin:e.linkedin??r.linkedin,countryName:e.location?.country??r.countryName,city:e.location?.city??r.city,address:e.location?.street??r.address,workExperiences:(e.positions??[]).map((e,t)=>({id:t+1,title:e.titleNormalized||e.title,employer:e.organization,city:e.location?.city,dateFrom:e.startDate,dateUntil:e.endDate,description:e.description})),educations:(e.educations??[]).map((e,t)=>({id:t+1,school:e.organization,degree:e.degree,city:e.location?.city,dateFrom:e.startDate,dateUntil:e.endDate})),skills:(e.skills??[]).map((e,t)=>({id:t+1,skill:e.name})),languages:(e.languages??[]).map((e,t)=>({id:t+1,language:e})),socialProfiles:(e.socialUrls??[]).map(({source:e,url:t},i)=>({id:i+1,label:e,link:t}))}})(e,t[0],r)},[e,t,i])};i(7588),i(22489);var h=i(68216),x=i(49012),m=i(28363),g=i(19863),y=i(8037);function*f(e){try{let{resumeId:t}=e.payload,{data:i}=yield(0,h.T1)(x.uE.get,`/resumes/${t}`);
8252yield(0,h.yJ)(R.setPopulationFormDetailsForResume(i))}catch(e){m.A.log(e)}}function*b(){try{yield(0,h.yJ)(R.setFetchCandidateStatus(y.Hp.loading));let{data:e}=yield(0,h.T1)(x.R3.get,"/resume-distribution/candidates");yield(0,h.yJ)(R.setFetchCandidateStatus(y.Hp.loaded)),yield(0,h.yJ)(R.setCandidate(e))}catch(e){yield(0,h.yJ)(R.setFetchCandidateStatus(y.Hp.failed)),yield(0,h.yJ)(R.setCandidate()),m.A.log(e)}}function*_(e){let{date:t,page:i}=e.payload||{};try{yield(0,h.yJ)(R.setFetchRecruitersStatus({[t]:y.Hp.loading}));let e=0===t?{page:i}:{page:i,date:t},{data:r}=yield(0,h.T1)(x.R3.get,"/resume-distribution/candidates/recruiters",{params:e});yield(0,h.yJ)(R.setFetchRecruitersStatus({[t]:y.Hp.loaded})),i?yield(0,h.yJ)(R.setPaginatedRecruiters({date:t,data:r})):yield(0,h.yJ)(R.setRecruiters({[t]:r}))}catch(e){yield(0,h.yJ)(R.setFetchRecruitersStatus({[t]:y.Hp.failed})),m.A.log(e)}}function*v(){try{yield(0,h.yJ)(R.setFetchDistributedRecruitersCountStatus(y.Hp.loading));let{data:e}=yield(0,h.T1)(x.R3.get,"/resume-distribution/candidates/recruiters");yield(0,h.yJ)(R.setFetchDistributedRecruitersCountStatus(y.Hp.loaded)),yield(0,h.yJ)(R.setDistributedRecruitersCount(e?.pagination?.totalRecords||0))}catch(e){yield(0,h.yJ)(R.setFetchDistributedRecruitersCountStatus(y.Hp.failed)),m.A.log(e)}}function*j(e){try{let{data:t}=yield(0,h.T1)(x.R3.get,"/resume-distribution/recruiters/count",{params:e.payload});yield(0,h.yJ)(R.setRecruitersCount(t.total))}catch(e){m.A.log(e)}}function*A(e){try{yield(0,h.yJ)(R.setPostCandidateStatus(y.Hp.loading)),yield(0,h.T1)(x.R3.post,"/resume-distribution/candidates",e.payload,{headers:{"Content-Type":"multipart/form-data"}}),yield(0,h.yJ)(R.setPostCandidateStatus(y.Hp.loaded))}catch(e){e.response?.status===400&&e.response?.data.message.includes("resume file")&&(yield(0,h.yJ)(R.setCandidateResumeFailed(!0))),e.response?.status&&e.response?.status>=500&&(yield(0,h.yJ)(R.setServerFailed(!0))),yield(0,h.yJ)(R.setPostCandidateStatus(y.Hp.failed)),m.A.log(e)}}function*C(e){try{yield(0,h.yJ)(R.setPatchCandidateStatus(y.Hp.loading)),yield(0,h.T1)(x.R3.patch,"/resume-distribution/candidates",e.payload),yield(0,h.yJ)(R.setPatchCandidateStatus(y.Hp.loaded))}catch(e){yield(0,h.yJ)(R.setPatchCandidateStatus(y.Hp.failed)),m.A.log(e)}}function*w(e){try{let t=e.payload,{id:i}=t,r=t?.type==="tr_document"?"document_id":`resume_${i?"id":"file"}`,n=i?i.toString():t,o=new FormData;o.append(r,n),yield(0,h.yJ)(R.setPostCandidateResumeStatus(y.Hp.loading)),yield(0,h.T1)(x.R3.post,"/resume-distribution/candidates/resume",o,{headers:{"Content-Type":"multipart/form-data"}}),yield(0,h.yJ)(R.fetchCandidate()),yield(0,h.yJ)(R.setPostCandidateResumeStatus(y.Hp.loaded))}catch(e){yield(0,h.yJ)(R.setPostCandidateResumeStatus(y.Hp.failed)),m.A.log(e)}}function*k(e){try{let t=e.payload;yield(0,h.yJ)(R.setParsingStatus(!0));let{data:i}=yield(0,h.T1)(g.X,t),r="";i?.socialUrls?.forEach(e=>{e?.source?.toLowerCase()?.includes("linkedin")&&(r=e?.url)});let n=i?.location?.formatted||[i?.location?.street,i?.location?.city,i?.location?.state,i?.location?.country,i?.location?.countryCode].filter(e=>e?.trim?.()).join(", ");yield(0,h.yJ)(R.setPopulationFormDetailsForResume({...i,email:i?.emails?.[0],jobTitle:i?.positions?.[0]?.titleNormalized,linkedin:r,address:n}))}catch(e){m.A.log(e)}finally{yield(0,h.yJ)(R.setParsingStatus(!1))}}function*S(e){try{yield(0,h.yJ)(R.setPostSubscriptionCreateStatus(y.Hp.loading)),yield(0,h.T1)(x.R3.post,"resume-distribution/candidates/subscriptions",e.payload),yield(0,h.yJ)(R.setSubscriptionStatus(o.active)),yield(0,h.yJ)(R.setPostSubscriptionCreateStatus(y.Hp.loaded))}catch(e){yield(0,h.yJ)(R.setPostSubscriptionCreateStatus(y.Hp.failed)),m.A.log(e)}}function*T(e){try{yield(0,h.yJ)(R.setPostSubscriptionPauseStatus(y.Hp.loading)),yield(0,h.T1)(x.R3.post,"resume-distribution/candidates/subscription/pause",e.payload),yield(0,h.yJ)(R.setSubscriptionStatus(o.paused)),yield(0,h.yJ)(R.setPostSubscriptionPauseStatus(y.Hp.loaded))}catch(e){yield(0,h.yJ)(R.setPostSubscriptionPauseStatus(y.Hp.failed)),m.A.log(e)}}function*P(e){try{let t=e?.payload?.subscriptionType;yield(0,h.yJ)(R.setPostSubscriptionResumeStatus(y.Hp.loading)),yield(0,h.T1)(x.R3.post,"resume-distribution/candidates/subscription/resume",{}),yield(0,h.yJ)(R.setPostSubscriptionResumeStatus(y.Hp.loaded)),yield(0,h.yJ)(R.setSubscriptionStatus(o.active)),t&&(yield(0,h.yJ)(R.updateCandidateSubscriptionType({subscriptionType:t})))}catch(e){yield(0,h.yJ)(R.setPostSubscriptionResumeStatus(y.Hp.failed)),m.A.log(e)}}let J=function*(){yield(0,h.Q7)([(0,h.p8)(R.fetchPopulateFormDetailsForResume,f),(0,h.p8)(R.fetchCandidate,b),(0,h.p8)(R.fetchRecruiters,_),(0,h.p8)(R.fetchDistributedRecruitersCount,v),(0,h.p8)(R.fetchRecruitersCount,j),(0,h.p8)(R.postCandidateResume,w),(0,h.p8)(R.postCandidate,A),(0,h.p8)(R.patchCandidate,C),(0,h.p8)(R.parseResumeForPrefill,k),(0,h.p8)(R.postSubscriptionPause,T),(0,h.p8)(R.postSubscriptionResume,P),(0,h.p8)(R.postSubscriptionCreate,S)])};var E=i(60258);let R={setIsEdit:(0,E.VP)("resumeDistribution/RESUME_DISTRIBUTION_SET_RESUME_EDIT"),setResumeDetails:(0,E.VP)("resumeDistribution/RESUME_DISTRIBUTION_SET_RESUME_DETAILS"),fetchPopulateFormDetailsForResume:(0,E.VP)("builder/FETCH_RESUME_FORM_DETAILS"),setPopulationFormDetailsForResume:(0,E.VP)("builder/SET_RESUME_FORM_DETAILS"),setParsingStatus:(0,E.VP)("builder/SET_PARSING_STATUS"),setJobPreferencesForm:(0,E.VP)("builder/SET_JOB_PREFERENCES_FORM"),setPersonalDetailsForm:(0,E.VP)("builder/SET_PERSONAL_DETAILS_FORM"),setLocationDetail
8252sForm:(0,E.VP)("builder/SET_LOCATION_DETAILS_FORM"),fetchCandidate:(0,E.VP)("builder/FETCH_RESUME_DISTRIBUTION_CANDIDATE"),setCandidate:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_CANDIDATE"),setFetchCandidateStatus:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_CANDIDATE_STATUS"),postCandidate:(0,E.VP)("builder/POST_RESUME_DISTRIBUTION_CANDIDATE"),setPostCandidateStatus:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_POST_CANDIDATE_STATUS"),patchCandidate:(0,E.VP)("builder/PATCH_RESUME_DISTRIBUTION_CANDIDATE"),setPatchCandidateStatus:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_PATCH_CANDIDATE_STATUS"),setCandidateResumeFailed:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_CANDIDATE_RESUME_FAILED"),setServerFailed:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_SERVER_FAILED"),postCandidateResume:(0,E.VP)("builder/POST_RESUME_DISTRIBUTION_CANDIDATE_RESUME"),setPostCandidateResumeStatus:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_CANDIDATE_RESUME_STATUS"),postSubscriptionPause:(0,E.VP)("builder/POST_RESUME_DISTRIBUTION_SUBSCRIPTION_PAUSE"),setPostSubscriptionPauseStatus:(0,E.VP)("builder/SET_POST_RESUME_DISTRIBUTION_SUBSCRIPTION_PAUSE_STATUS"),postSubscriptionResume:(0,E.VP)("builder/POST_RESUME_DISTRIBUTION_SUBSCRIPTION_RESUME"),setPostSubscriptionResumeStatus:(0,E.VP)("builder/SET_POST_RESUME_DISTRIBUTION_SUBSCRIPTION_RESUME_STATUS"),postSubscriptionCreate:(0,E.VP)("builder/POST_RESUME_DISTRIBUTION_SUBSCRIPTION_CREATE"),setPostSubscriptionCreateStatus:(0,E.VP)("builder/SET_POST_RESUME_DISTRIBUTION_SUBSCRIPTION_CREATE_STATUS"),setSubscriptionStatus:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_SUBSCRIPTION_STATUS"),updateCandidateSubscriptionType:(0,E.VP)("builder/UPDATE_RESUME_DISTRIBUTION_CANDIDATE_SUBSCRIPTION_TYPE"),fetchRecruitersCount:(0,E.VP)("builder/FETCH_RESUME_DISTRIBUTION_RECRUITER_COUNT"),fetchRecruiters:(0,E.VP)("builder/FETCH_RESUME_DISTRIBUTION_RECRUITER"),setRecruitersCount:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_RECRUITER_COUNT"),setDistributedRecruitersCount:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_DISTRIBUTED_RECRUITER_COUNT"),setRecruiters:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_RECRUITER"),setPaginatedRecruiters:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_RECRUITER_PAGINATION"),setFetchRecruitersStatus:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_RECRUITER_STATUS"),setFetchDistributedRecruitersCountStatus:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_DIST_RECRUITERS_COUNT_STATUS"),fetchDistributedRecruitersCount:(0,E.VP)("builder/SET_RESUME_DISTRIBUTION_DIST_RECRUITERS_COUNT"),parseResumeForPrefill:(0,E.VP)("builder/PARSE_RESUME_FILE"),setResumePreviewModalStatus:(0,E.VP)("builder/SET_RESUME_PREVIEW_MODAL_STATUS")};var L=i(16497);let N={isEdit:!1,isResumeSelected:!1,selectedResumeDetails:null,formResumeFetchDetails:null,isParsing:!1,form:{jobPreferences:{country:void 0,state:void 0,industry:"",remote:"false",salaryCurrency:"USD",salaryAmount:"",salaryPeriod:"year"},personalDetails:{firstName:"",lastName:"",jobTitle:"",email:"",linkedin:""},locationDetails:{country:void 0,state:void 0,city:void 0},questionnaire:{firstName:"",lastName:"",jobTitle:"",fullAddress:"",email:"",edit_file_name:"",country:"234",state:void 0,industry:"",remote:!1,salaryCurrency:"USD",salaryAmount:"",salaryPeriod:"year"}},candidate:void 0,candidateFetchStatus:y.Hp.notAsked,candidatePostStatus:y.Hp.notAsked,candidatePatchStatus:y.Hp.notAsked,candidateResumePostStatus:y.Hp.notAsked,candidateResumeFailed:!1,serverFailed:!1,recruiters:{},recruitersFetchStatus:{},recruitersCount:0,distributedRecruiterCount:0,distributedRecruitersCountStatus:y.Hp.notAsked,subscriptionPostPauseStatus:y.Hp.notAsked,subscriptionPostResumeStatus:y.Hp.notAsked,subscriptionPostCreateStatus:y.Hp.notAsked,isResumePreviewOpen:!1},I=(0,E.vy)(N,e=>{e.addCase(R.setJobPreferencesForm,(e,t)=>{e.form.jobPreferences={...e.form.jobPreferences,...t.payload}}),e.addCase(R.setPersonalDetailsForm,(e,t)=>{e.form.personalDetails={...e.form.personalDetails,...t.payload}}),e.addCase(R.setLocationDetailsForm,(e,t)=>{e.form.locationDetails={...e.form.locationDetails,...t.payload}}),e.addCase(R.setResumeDetails,(e,t)=>{e.selectedResumeDetails=t.payload,(0,L.o)("/resume-distribution/edit",{replace:!0})}),e.addCase(R.setPopulationFormDetailsForResume,(e,t)=>{e.formResumeFetchDetails=t.payload}),e.addCase(R.setParsingStatus,(e,t)=>{e.isParsing=t.payload}),e.addCase(R.setCandidate,(e,t)=>{e.candidate=t.payload}),e.addCase(R.setFetchCandidateStatus,(e,t)=>{e.candidateFetchStatus=t.payload}),e.addCase(R.setPostCandidateStatus,(e,t)=>{e.candidatePostStatus=t.payload}),e.addCase(R.setPatchCandidateStatus,(e,t)=>{e.candidatePatchStatus=t.payload}),e.addCase(R.setCandidateResumeFailed,(e,t)=>{e.candidateResumeFailed=t.payload}),e.addCase(R.setServerFailed,(e,t)=>{e.serverFailed=t.payload}),e.addCase(R.updateCandidateSubscriptionType,(e,t)=>{e.candidate&&t.payload.subscriptionType&&(e.candidate={...e.candidate,rdSubscriptionType:t.payload.subscriptionType})}),e.addCase(R.setSubscriptionStatus,(e,t)=>{e.candidate&&(e.candidate.distributionStatus=t.payload)}),e.addCase(R.setPostSubscriptionPauseStatus,(e,t)=>{e.subscriptionPostPauseStatus=t.payload}),e.addCase(R.setPostSubscriptionResumeStatus,(e,t)=>{e.subscriptionPostResumeStatus=t.payload}),e.addCase(R.setPostSubscriptionCreateStatus,(e,t)=>{e.subscriptionPostCreateStatus=t.payload}),e.addCase(R.setRecruiters,(e,t)=>{e.recruiters={...e.recruiters,...t.payload}}),e.addCase(R.setPaginatedRecruiters,(e,t)=>{let{date:i,data:r}=t.payload;e.recruiters[i]={data:[...e.recruiters[i].data,...r.data],pagination:r.pagination}}),e.addCase(R.setFetchRecruitersStatus,(e,t)=>{e.recruitersFetchStatus={...e.recruitersFetchStatus,...t.payload}}),e.addCase(R.setRecruitersCount,(e,t)=>{e.recruitersCount=t.payload||0}),e.addCase(R.setDistributedRecruitersCount,(e,t)=>{e.distributedRecruiterCount=t.payload}),e.addCase(R.setFetchDistributedRecruitersCountStatus,(e,t)=>{e.distributedRecruitersCountStatus=t.payload}),e.addCase(R.setPostCandidateResumeStatus,(e,t)=>{e.candidateResumePostStatus=t.payload}),e.addCase(R.setIsEdit,(e,t)=>{e.isEdit=t.payload}),e.addCase(R.setResumePreviewModalStatus,(e,t)=>{e.isResumePreviewOpen=t.payload})}),M={isEdit:e=>!!e.resumeDistribution.isEdit,isResumeSelected:e=>!!e.resumeDistribution.selectedResumeDetails,selectedResumeDetails:e=>e.resumeDistribution.selectedResumeDetails,formResumeFetchDetails:e=>e.resumeDistribution.formResumeFetchDetails,isParsing:e=>e.resumeDistribution.isParsing,jobPreferencesFields:e=>e.resumeDistribution.form.jobPreferences,personalDetailsFields:e=>
8252e.resumeDistribution.form.personalDetails,locationDetailsFields:e=>e.resumeDistribution.form.locationDetails,questionnaireFormFields:e=>e.resumeDistribution.form.questionnaire,candidate:e=>e.resumeDistribution.candidate,candidateFetchStatus:e=>e.resumeDistribution.candidateFetchStatus,candidatePostStatus:e=>e.resumeDistribution.candidatePostStatus,candidatePatchStatus:e=>e.resumeDistribution.candidatePatchStatus,candidateResumePostStatus:e=>e.resumeDistribution.candidateResumePostStatus,candidateResumeFailed:e=>e.resumeDistribution.candidateResumeFailed,serverFailed:e=>e.resumeDistribution.serverFailed,isSubscriptionActive:e=>e.resumeDistribution.candidate?.subscriptions?.filter(e=>e.subscriptionStatus===o.active||e.subscriptionStatus===o.paused)?.length,distributionDates:e=>e.resumeDistribution.candidate?.subscriptions?.[0].distributionDates||[],nextDistributionDate:e=>e.resumeDistribution.candidate?.subscriptions?.[0].nextDistribution,recruiters:(e,t)=>e.resumeDistribution.recruiters[t],recruitersCount:e=>e.resumeDistribution.recruitersCount,recruitersFetchStatus:(e,t)=>e.resumeDistribution.recruitersFetchStatus[t],distributedRecruiterCount:e=>e.resumeDistribution.distributedRecruiterCount,distributedRecruitersCountStatus:e=>e.resumeDistribution.distributedRecruitersCountStatus,subscriptionPostPauseStatus:e=>e.resumeDistribution.subscriptionPostPauseStatus,subscriptionPostResumeStatus:e=>e.resumeDistribution.subscriptionPostResumeStatus,subscriptionPostCreateStatus:e=>e.resumeDistribution.subscriptionPostCreateStatus,isResumePreviewOpen:e=>e.resumeDistribution.isResumePreviewOpen}},76117:function(e,t,i){"use strict";i.d(t,{n:function(){return a},t:function(){return l}}),i(18111),i(13579);var r=i(44506),n=i(97946),o=i(52222);let a=(e,t)=>{if(e===o.G.workExperiences){let{title:e,employer:i,dateFrom:o,dateUntil:a}=n.m2.workExperiences;if(!(0,r.zz)(t.title))return e;if(!(0,r.zz)(t.employer))return i;if(!t.isMonthFromHidden&&!(0,r.zz)(t.dateFrom))return o;if(!t.isMonthUntilHidden&&!t.isDateUntilPresent&&!(0,r.zz)(t.dateUntil))return a}},l=(e,t)=>{if(!e)return!0;if("workExperiences"===t){let i=e.workExperiences;return 0===i.length||!i.some(e=>!a(t,e))}return!1}},87242:function(e,t,i){"use strict";i.d(t,{L$:function(){return l}}),i(18111),i(13579);var r=i(44506),n=i(97946),o=i(52222),a=i(64667);let l=e=>{let t=((e,t)=>{if(!e)return!0;if("workExperiences"===t){let i=e.workExperiences;return 0===i.length||!i.some(e=>!((e,t)=>{if(e===o.G.workExperiences){let{title:e,employer:i,dateFrom:o,description:a}=n.m2.workExperiences;if(!(0,r.zz)(t.title))return e;if(!(0,r.zz)(t.employer))return i;if(!t.isMonthFromHidden&&!(0,r.zz)(t.dateFrom))return o;if(!(0,r.zz)(t.description))return a}})(t,e))}return!1})(e,o.G.workExperiences),i=(0,a.ep)(e,o.G.profile);return t&&i}},97946:function(e,t,i){"use strict";i.d(t,{DU:function(){return h},E:function(){return d},Gl:function(){return l},Hk:function(){return u},LB:function(){return c},PI:function(){return s},m2:function(){return o},t6:function(){return a}}),i(18111),i(22489);var r=i(52222),n=i(34890);let o={[r.G.workExperiences]:{title:"title",employer:"employer",dateFrom:"dateFrom",dateUntil:"dateUntil",city:"city",description:"description"},[r.G.details]:{},[r.G.profile]:{},[r.G.educations]:{},[r.G.courses]:{},[r.G.internships]:{},[r.G.activities]:{},[r.G.conferences]:{},[r.G.volunteerings]:{},[r.G.skills]:{},[r.G.languages]:{},[r.G.hobbies]:{},[r.G.references]:{},[r.G.custom]:{},[r.G.socialProfiles]:{},[r.G.accomplishments]:{},[r.G.publications]:{},[r.G.powerStatement]:{},[r.G.awards]:{},[r.G.licensesAndCertifications]:{},[r.G.affiliations]:{}},a="ai_writer",l="unblockedEditor",s="download_document_format",d=188,c="highlight-after-use-example",u={headerAndFooter:.5,verticalPageMargins:1,horizontalPageMargins:1,marginsBetweenSections:24,marginsBetweenSectionNameAndContent:24,marginsBetweenCards:12,marginsInsideContentBlock:2,skillsLayout:"comma_separated",skillsDivider:"divider",skillsCategoryColumnWidth:1.3},p="builder.resume_editor.template_categories",h=[{id:n.Bh.all,translationKey:`${p}.all`,filterTemplates:e=>e},{id:n.Bh.withPhoto,translationKey:`${p}.with_photo`,filterTemplates:e=>e.filter(e=>e.supportsPhoto)},{id:n.Bh.twoColumn,translationKey:`${p}.two_column`,filterTemplates:e=>e.filter(e=>e.hasTwoColumns)},{id:n.Bh.ats,translationKey:`${p}.ats`,filterTemplates:e=>e.filter(e=>e.isAts)},{id:n.Bh.docx,translationKey:`${p}.docx`,filterTemplates:e=>e.filter(e=>e.supportedFormats.includes("docx"))},{id:n.Bh.experts,translationKey:`${p}.experts`,filterTemplates:e=>e.filter(e=>e.isExpertTemplate)},{id:n.Bh.customized,translationKey:`${p}.customized`,filterTemplates:e=>e.filter(e=>e.isNewTemplate)},{id:n.Bh.free,translationKey:`${p}.free`,filterTemplates:e=>e.filter(e=>!e.premium)}]},32606:function(e,t,i){"use strict";i.d(t,{Bh:function(){return ee.Bh},aQ:function(){return el},dr:function(){return K},gb:function(){return ee.gb},Gw:function(){return U.G},o1:function(){return q},DU:function(){return eo.DU},Tp:function(){return V},xQ:function(){return th},Ff:function(){return tE},Gl:function(){return eo.Gl},QC:function(){return ea},m2:function(){return eo.m2},eJ:function(){return es},t6:function(){return eo.t6},jK:function(){return ee.jK},LO:function(){return ee.LO},x1:function(){return ed},uK:function(){return tn},ep:function(){return tR.ep}}),i(18111),i(7588),i(44114),i(22489),i(13579),i(61701),i(14603),i(47566),i(98721),i(20116),i(18237);var r=i(33093),n=i(86663),o=i(7309),a=i.n(o),l=i(58156),s=i.n(l),d=i(4124),c=i.n(d),u=i(62193),p=i.n(u),h=i(10498),x=i(1806),m=i(79672),g=i(68216),y=i(99197),f=i(53110),b=i(20646),_=i(12330),v=i(49012),j=i(98297),A=i(63506),C=i(13807),w=i(64961),k=i(57238),S=i(85922),T=i(64530),P=i(16497),J=i(28363),E=i(3161),R=i(23699),L=i(44506),N=i(77093),I=i(69352),M=i(8559),B=i(93982),D=i(8037),$=i(91954),O=i(54997),z=i(17706);let F=(0,O.Mz)(e=>e.resumeEditor.openedCards,(e,t)=>t,(e,t)=>!!t.id&&!!e[t.sectionId]?.[t.id]),H=e=>
8252e.resumeEditor.openedCards,V={isResumeLoading:e=>e.resumeEditor.isLoading,resume:e=>e.resumeEditor.resume,templates:e=>e.generalEditor.resumeTemplates,resumeScore:e=>e.resumeEditor.resume?.score,scoreSuggestions:(0,O.Mz)(e=>e.resumeEditor.resume,e=>(0,z.K)(e)),openedCards:H,openedSections:e=>e.resumeEditor.openedSections,hasOpenedCard:(0,O.Mz)(H,e=>Object.values(e).some(e=>!!e&&Object.values(e).some(e=>e))),isSectionOpened:(e,t)=>!(t in e.resumeEditor.openedSections)||e.resumeEditor.openedSections[t],isCardOpen:F,prefill:e=>e.resumeEditor.prefill,prefillResumeSection:e=>e.resumeEditor.prefillResumeSection,country:e=>e.application.configs.country,isNotEnoughDataForAutoTailoringModalOpen:e=>e.resumeEditor.autoTailoringState.isNotEnoughDataModalOpen,isFromJobTracker:e=>e.resumeEditor.isFromJobTracker,isOpenSavingInfoBanner:e=>e.resumeEditor.isOpenSavingInfoBanner,attachedJobPostingAPIData:e=>e.resumeEditor.attachedJobPostingState.attachedJobPostingAPIData,temporaryJobPostingAPIData:e=>e.resumeEditor.optimizerSection.temporaryJobPostingAPIData,attachJobPostingStatus:e=>e.resumeEditor.attachedJobPostingState.attachJobPostingStatus,linkedInData:e=>e.resumeEditor.aiResume.linkedInData,questionnaireData:e=>e.resumeEditor.aiResume.questionnaireData,resumeScoreAPIData:e=>e.resumeEditor.optimizerSection.resumeScoreAPIData,attachedJobPostingId:e=>e.resumeEditor.attachedJobPostingState.attachedJobPostingAPIData?.id,isJobPostingAttached:e=>!!e.resumeEditor.attachedJobPostingState.attachedJobPostingAPIData?.id,optimizerSection:e=>e.resumeEditor.optimizerSection,locale:e=>e.resumeEditor.resume?.locale,iso_language_code:e=>{let t=e.resumeEditor.resume?.locale;switch(t){case"cs":t="cz";break;case"da":t="dk"}return t},openedAISuggestionsPopup:e=>e.resumeEditor.openedAISuggestionsPopup,highlightedElementData:e=>e.resumeEditor.highlightedElementData,openedKeywordsModalType:e=>e.resumeEditor.openedKeywordsModalType,isAiProfileSummaryModalOpen:e=>e.resumeEditor.isAiProfileSummaryModalOpen,resumeEventTrackedSections:e=>e.resumeEditor.resumeEventTrackedSections,resumeDownloadData:e=>e.resumeEditor.resumeDownloadData,isSyncing:e=>e.resumeEditor.isSyncing,isClickedOnAiCVBanner:e=>e.resumeEditor.isClickedOnAiCVBanner,hasUsedAiProfileWriter:e=>e.resumeEditor.hasUsedAiProfileWriter,changeJobPostingLink:e=>e.resumeEditor.changeJobPostingLink,error:e=>e.resumeEditor.error,aiCoverLetter:e=>e.resumeEditor.AICoverLetter,isPageScrolled:e=>e.resumeEditor.isPageScrolled,createResumeWithLinkedin:e=>e.resumeEditor.createResumeWithLinkedIn,stepByStepFlowCurrentStep:e=>e.resumeEditor.resume?.data?.stepByStepFlow?.currentStep||null,stepByStepFlow:e=>e.resumeEditor.stepByStepFlow,autoTailoringFromJobBoard:e=>e.resumeEditor.autoTailoringFromJobBoard,useExample:e=>e.resumeEditor.useExample,selectedPrefillOption:e=>e.resumeEditor.resume?.data?.selectedPrefillOption,editorPanelType:e=>e.resumeEditor.editorPanelType,isCustomizationPanelOpen:e=>"customization"===e.resumeEditor.editorPanelType,aiResumeReview:e=>e.resumeEditor.aiResumeReview,isUploadedResumeScoreForAutoTailoringModalOpen:e=>e.resumeEditor.autoTailoringFromJobBoard.isUploadedResumeScoreModalOpen,autoTailoringState:e=>e.resumeEditor.autoTailoringState,analysisContentTrackedFields:e=>e.resumeEditor.analysisContentTrackedFields};var U=i(52222),W=i(60258);let K="builder/RESUME_REMOTE_UPDATE_SUCCESS",q={fetchResumeRequest:(0,W.VP)("builder/RESUME_FETCH_REQUEST"),fetchResumeSuccess:(0,W.VP)("builder/RESUME_FETCH_SUCCESS"),fetchResumeFail:(0,W.VP)("builder/RESUME_FETCH_FAIL"),updateSimpleField:(0,W.VP)("builder/RESUME_UPDATE_SIMPLE_FIELD"),updateTemplate:(0,W.VP)("builder/RESUME_UPDATE_TEMPLATE"),updateCard:(0,W.VP)("builder/RESUME_UPDATE_CARD"),addCustomSection:(0,W.VP)("builder/RESUME_ADD_CUSTOM_SECTION"),setCustomSection:(0,W.VP)("builder/SET_CUSTOM_SECTION"),renameSection:(0,W.VP)("builder/RESUME_RENAME_SECTION"),deleteSection:(0,W.VP)("builder/RESUME_DELETE_SECTION"),addCard:(0,W.VP)("builder/RESUME_ADD_CARD"),addCardSubItem:(0,W.VP)("builder/RESUME_ADD_CARD_SUB_ITEM"),deleteC
8252ardSubItem:(0,W.VP)("builder/RESUME_DELETE_CARD_SUB_ITEM"),deleteCard:(0,W.VP)("builder/RESUME_DELETE_CARD"),deleteAllSkills:(0,W.VP)("builder/RESUME_DELETE_ALL_SKILLS"),moveCard:(0,W.VP)("builder/RESUME_MOVE_CARD"),moveCardSubItem:(0,W.VP)("builder/RESUME_MOVE_CARD_SUB_ITEM"),moveSection:(0,W.VP)("builder/RESUME_MOVE_SECTION"),updateResumeSuccess:(0,W.VP)(K),updateResumeFail:(0,W.VP)("builder/RESUME_REMOTE_UPDATE_FAIL"),uploadPhoto:(0,W.VP)("builder/RESUME_UPLOAD_PHOTO"),deletePhoto:(0,W.VP)("builder/RESUME_DELETE_PHOTO"),changeEditorState:(0,W.VP)("builder/RESUME_CHANGE_EDITOR_STATE"),startResumeUpdate:(0,W.VP)("builder/RESUME_START_UPDATE"),prefillResume:(0,W.VP)("builder/PREFILL_RESUME"),openCard:(0,W.VP)("builder/SET_OPEN_CARD"),toggleCard:(0,W.VP)("builder/TOGGLE_CARD"),toggleAllCardsInSection:(0,W.VP)("builder/TOGGLE_ALL_CARDS_IN_SECTION"),closeAllCards:(0,W.VP)("builder/CLOSE_ALL_CARDS"),setOpenedSections:(0,W.VP)("builder/SET_OPENED_SECTIONS"),setPrefillStatus:(0,W.VP)("builder/SET_PREFILL_STATUS"),setIsEditJobPosting:(0,W.VP)("builder/SET_IS_EDIT_JOB_POSTING"),setJobPostingLinkForModal:(0,W.VP)("builder/SET_JOB_POSTING_LINK_FOR_MODAL"),startResumeOptimizerProcess:(0,W.VP)("builder/START_RESUME_OPTIMIZER_PROCESS"),resetResumeOptimizerProcess:(0,W.VP)("builder/RESET_RESUME_OPTIMIZER_PROCESS"),checkResumeScore:(0,W.VP)("builder/CHECK_RESUME_SCORE"),setResumeScoreAPIResponse:(0,W.VP)("builder/SET_RESUME_SCORE_API_RESPONSE"),resetResumeScoreAPIResponse:(0,W.VP)("builder/RESET_RESUME_SCORE_API_RESPONSE"),setFetchResumeScoreStatus:(0,W.VP)("builder/SET_FETCH_RESUME_SCORE_STATUS"),setFetchTemporaryJobPostingStatus:(0,W.VP)("builder/SET_FETCH_TEMPORARY_JOB_POSTING_STATUS"),setIsClickedOnDeleteJobPosting:(0,W.VP)("builder/SET_IS_CLICKED_ON_DELETE_JOB_POSTING"),setIsClickedOnEditJobDetails:(0,W.VP)("builder/SET_IS_CLICKED_ON_EDIT_JOB_DETAILS"),setDeleteJobPostingStatus:(0,W.VP)("builder/SET_DELETE_JOB_POSTING"),deleteJobPosting:(0,W.VP)("builder/DELETE_JOB_POSTING"),setFetchJobPostingStatus:(0,W.VP)("builder/SET_FETCH_JOB_POSTING_STATUS"),editJobDetails:(0,W.VP)("builder/EDIT_JOB_DETAILS"),setAttachJobPostingStatus:(0,W.VP)("builder/SET_ATTACH_JOB_POSTING_STATUS"),setShowManualInputScreen:(0,W.VP)("builder/SET_SHOW_MANUAL_INPUT_SCREEN"),setTemporaryJobPostingAPIData:(0,W.VP)("builder/SET_TEMPORARY_JOB_POSTING_API_DATA"),saveJobPostingAPIData:(0,W.VP)("builder/SAVE_JOB_POSTING_API_DATA"),resetAttachedJobPostingState:(0,W.VP)("builder/RESET_JOB_POSTING_API_DATA"),setOpenedAISuggestionsPopup:(0,W.VP)("builder/SET_OPENED_AI_SUGGESTIONS_POPUP"),startManualTailoring:(0,W.VP)("builder/START_IMPROVING_RESUME"),setIsEditJobDetails:(0,W.VP)("builder/SET_IS_EDIT_JOB_DETAILS"),setEditJobTitle:(0,W.VP)("builder/SET_EDIT_JOB_TITLE"),setEditCompanyName:(0,W.VP)("builder/SET_EDIT_COMPANY_NAME"),ShowToolTip:(0,W.VP)("builder/ShHOW_TOOL_TIP"),setFromJobTracker:(0,W.VP)("builder/SET_FROM_JOB_TRACKER"),setOpenSavingInfoBanner:(0,W.VP)("builder/SET_OPEN_SAVING_INFO_BANNER"),setChangeJobPostingLink:(0,W.VP)("builder/SET_CHANGE_JOB_POSTING_LINK"),setResumeValidationStatus:(0,W.VP)("builder/SET_RESUME_VALIDATION_STATUS"),setResumeForPrefill:(0,W.VP)("builder/SET_RESUME_FOR_PREFILL"),setResumeValidationError:(0,W.VP)("builder/SET_RESUME_VALIDATION_FAIL"),parseAndSavePrefilledResume:(0,W.VP)("builder/PARSE_AND_SAVE_PREFILLED_RESUME"),setIsSavingPrefilledResume:(0,W.VP)("builder/ SET_IS_UPDATED_RESUME_LOADING"),setShowPrefillResumeModal:(0,W.VP)("builder/SET_SHOW_PREFILL_RESUME_MODAL"),setResumeUploadStatus:(0,W.VP)("builder/SET_RESUME_UPLOAD_STATUS"),setPrefillResumeGenericError:(0,W.VP)("builder/SET_PREFILL_RESUME_GENERIC_ERROR"),setIsClickedOnAiCVBanner:(0,W.VP)("builder/SET_S_CLICKED_ON_AI_CV_BANNER"),setHasUsedAiProfileWriter:(0,W.VP)("builder/SET_HAS_USED_AI_PROFILE_WRITER"),setIsClickedOnAiCVEditJobDetails:(0,W.VP)("builder/SET_IS_CLICKED_ON_AI_CV_EDIT_JOB_DETAILS"),setIsClickedOnAiCVEditModalIcon:(0,W.VP)("builder/SET_IS_CLICKED_ON_AI_CV_EDIT_MODAL_ICON"),setIsEditJobDetailsFocused:(0,W.VP)("builder/SET_IS_EDIT_JOB_DETAILS_focused"),setOpenAICVOptimizerModal:(0,W.VP)("builder/SET_OPEN_AICV_OPTIMIZER_MODAL"),generateTailoredAICoverLetter:(0,W.VP)("builder/GENERATE_TAILORED_AI_COVER_LETTER"),generateAICVUntailored:(0,W.VP)("builder/GENERATE_TAILORED_AICV_UNTAILORED"),setGenerateAICoverLetterStatus:(0,W.VP)("builder/SET_GENERATE_AI_COVER_LETTER_STATUS"),setAICVEditedJobTitle:(0,W.VP)("builder/SET_AICV_EDITED_JOB_TITLE"),setAICVEditedCompanyName:(0,W.VP)("builder/SET_AICV_EDITED_COMPANY_NAME"),setResumeJobDetails:(0,W.VP)("builder/SET_RESUME_JOB_DETAILS"),setShowUntailoreView:(0,W.VP)("builder/SET_SHOW_UNTAILORED_VIEW"),setGenerateCLBannerEventTracked:(0,W.VP)("builder/SET_GENERATE_CL_BANNER_EVENT_TRACKED"),setShowAIResumeModal:(0,W.VP)("builder/SET_SHOW_AI_RESUME_MODAL"),setAIResumeFlow:(0,W.VP)("builder/SET_AI_RESUME_FLOW"),setAIResumeLinkedInStep:(0,W.VP)("builder/SET_AI_RESUME_LINKEDIN_STEP"),setLinkedInProfileURL:(0,W.VP)("builder/SET_LINKEDIN_PROFILE_URL"),fetchLinkedInProfile:(0,W.VP)("builder/FETCH_LINKEDIN_PROFILE"),setLinkedInProfileFetchStatus:(0,W.VP)("builder/SET_LINKEDIN_PROFILE_FETCH_STATUS"),setLinkedInProfileData:(0,W.VP)("builder/SET_LINKEDIN_PROFILE_DATA"),setQuestionnaireStep:(0,W.VP)("builder/SET_QUESTIONNAIRE_STEP"),updateQuestionnaireProgress:(0,W.VP)("builder/UPDATE_QUESTIONNAIRE_PROGRESS"),setQuestionnaire
8252CardData:(0,W.VP)("builder/SET_QUESTIONNAIRE_CARD_DATA"),setConfirmDeleteQuestionnaireCardId:(0,W.VP)("builder/SET_CONFIRM_DELETE_QUESTIONNAIRE_CARD_ID"),deleteQuestionnaireCard:(0,W.VP)("builder/DELETE_QUESTIONNAIRE_CARD"),collapseQuestionnaireCards:(0,W.VP)("builder/COLLAPSE_QUESTIONNAIRE_CARDS"),pushEmptyEducationInQuestionnaire:(0,W.VP)("builder/PUSH_EMPTY_EDUCATION_IN_QUESTIONNAIRE"),pushEmptyWorkExpInQuestionnaire:(0,W.VP)("builder/PUSH_EMPTY_WORK_EXP_IN_QUESTIONNAIRE"),setQuestionnaireWorkExpCardErrors:(0,W.VP)("builder/SET_QUESTIONNAIRE_WORK_EXP_CARD_ERRORS"),setAIResumeDesiredPostion:(0,W.VP)("builder/SET_AI_RESUME_DESIRED_POSITION"),resetQuestionnaireData:(0,W.VP)("builder/RESET_QUESTIONNAIRE_DATA"),updateCurrentSkills:(0,W.VP)("builder/UPDATE_CURRENT_SKILLS"),removeFromCurrentSkills:(0,W.VP)("builder/REMOVE_FROM_CURRENT_SKILLS"),resetAIResumeData:(0,W.VP)("builder/RESET_AI_RESUME_DATA"),setGenerateResumeStatus:(0,W.VP)("builder/SET_RESUME_GENERATE_STATUS"),generateResumeFromLinkedIn:(0,W.VP)("builder/GENERATE_RESUME_FROM_LINKEDIN"),generateResumeFromQuestionnaire:(0,W.VP)("builder/GENERATE_RESUME_FROM_QUESIONNAIRE"),extractTextFromVoiceInput:(0,W.VP)("builder/EXTRACT_TEXT_FROM_VOICE_INPUT"),setAccomplishmentsVoiceProcessingStatus:(0,W.VP)("builder/SET_ACCOMPLISHMENTS_VOICE_PROCESSING_STATUS"),setPastAccomplishmentsText:(0,W.VP)("builder/SET_PAST_ACCOMPLISHMENTS_TEXT"),setShowAIResumeWarningModal:(0,W.VP)("builder/SET_SHOW_AI_RESUME_WARNING_MODAL"),setAIResumeWarningModalAction:(0,W.VP)("builder/SET_AI_RESUME_WARNING_MODAL_ACTION"),setActiveAccomplishmentsTab:(0,W.VP)("builder/SET_PAST_ACCOMPLISHMENTS_TAB"),setAccomplishmentsAudio:(0,W.VP)("builder/SET_ACCOMPLISHMENTS_AUDIO"),setAccomplishmentsAudioDuration:(0,W.VP)("builder/SET_ACCOMPLISHMENTS_AUDIO_DURATION"),setGoalsVoiceProcessingStatus:(0,W.VP)("builder/SET_GOALS_VOICE_PROCESSING_STATUS"),setFutureGoalsText:(0,W.VP)("builder/SET_FUTURE_GOALS_TEXT"),setActiveGoalsTab:(0,W.VP)("builder/SET_FUTURE_GOALS_TAB"),setGoalsAudio:(0,W.VP)("builder/SET_GOALS_AUDIO"),setGoalsAudioDuration:(0,W.VP)("builder/SET_GOALS_AUDIO_DURATION"),setAccomplishmentsVoiceInputError:(0,W.VP)("SET_ACCOMPLISHMENTS_VOICE_INPUT_ERROR"),setGoalsVoiceInputError:(0,W.VP)("SET_GOALS_VOICE_INPUT_ERROR"),setShowUseExamplePopup:(0,W.VP)("builder/SET_SHOW_USE_EXAMPLE_POPUP"),fetchResumeExamples:(0,W.VP)("builder/FETCH_RESUME_EXAMPLES"),fetchingResumeExamples:(0,W.VP)("builder/FETCHING_RESUME_EXAMPLES"),setResumeExamplesData:(0,W.VP)("builder/SET_RESUME_EXAMPLES_DATA"),generateResumeFromExample:(0,W.VP)("builder/GENERATE_RESUME_FROM_EXAMPLE"),setTailorBannerEventTracked:(0,W.VP)("builder/SET_TAILOR_BANNER_EVENT_TRACKED"),setResumeOptimizerManualInput:(0,W.VP)("builder/SET_RESUME_OPTIMIZER_MANUAL_INPUT"),resetResumeOptimizerManualInput:(0,W.VP)("builder/CLEAR_RESUME_OPTIMIZER_MANUAL_INPUT"),highlightEmptyWorkExperience:(0,W.VP)("builder/HIGHLIGHT_EMPTY_WORK_EXPERIENCE"),highlightWorkExperienceCardEmptyField:(0,W.VP)("builder/HIGHLIGHT_CARD_EMPTY_FIELD"),setHighlightedElement:(0,W.VP)("builder/SET_HIGHLIGHTED_ELEMENT"),closeHighlightedElement:(0,W.VP)("builder/CLOSE_HIGHLIGHTED_ELEMENT"),setOpenedKeywordsModalType:(0,W.VP)("builder/SET_OPENED_KEYWORDS_MODAL_TYPE"),setIsAiProfileSummaryModalOpen:(0,W.VP)("builder/SET_IS_AI_PROFILE_SUMMARY_MODAL_OPEN"),setIsProfileSummaryWithTailoredResumeModalOpen:(0,W.VP)("builder/SET_IS_PROFILE_SUMMARY_WITH_TAILORED_RESUME_MODAL_OPEN"),setIsIncludeJobPostingToProfileSummary:(0,W.VP)("builder/SET_IS_INCLUDE_JOB_POSTING_TO_PROFILE_SUMMARY"),setResumeEventTrackedSections:(0,W.VP)("builder/SET_RESUME_EVENT_TRACKED_SECTIONS"),setResumeDownloadData:(0,W.VP)("builder/SET_RESUME_DOWNLOAD_DATA"),resetResumeDownloadData:(0,W.VP)("builder/RESET_RESUME_DOWNLOAD_DATA"),setFeaturingAutoTailorModalOpenOnDownload:(0,W.VP)("builder/SET_FEATURING_AUTO_TAILOR_MODAL_ON_DOWNLOAD"),setIsPageScrolled:(0,W.VP)("builder/SET_IS_PAGE_SCROLLED"),resetCreateResumeWithLinkedInFlow:(0,W.VP)("builder/RESET_CREATE_RESUME_WITH_LINKEDIN_FLOW"),fetchCreateResumeWithLinkedInProfile:(0,W.VP)("builder/FETCH_CREATE_RESUME_WITH_LINKEDIN_PROFILE"),updateResumeWithLinkedInProfile:(0,W.VP)("builder/UPDATE_RESUME_WITH_LINKEDIN_PROFILE"),updateCreateResumeWithLinkedInState:(0,W.VP)("builder/UPDATE_CREATE_RESUME_WITH_LINKEDIN_STATE"),setIsCustomizeModalOpen:(0,W.VP)("builder/SET_IS_CUSTOMIZE_MODAL_OPEN"),setStepByStepFlowState:(0,W.VP)("builder/SET_STEP_BY_STEP_FLOW_STATE"),setEditorPanelType:(0,W.VP)("builder/SET_EDITOR_PANEL_TYPE"),startAiResumeReview:(0,W.VP)("builder/START_AI_RESUME_REVIEW"),setAiResumeReviewStatus:(0,W.VP)("builder/SET_AI_RESUME_REVIEW_STATUS"),setAiResumeReviewResult:(0,W.VP)("builder/SET_AI_RESUME_REVIEW_RESULT"),setAiResumeReviewResultV2:(0,W.VP)("builder/SET_AI_RESUME_REVIEW_RESULT_V2"),getLatestAiResumeReview:(0,W.VP)("builder/GET_LATEST_AI_RESUME_REVIEW"),startAiResumeReviewV2:(0,W.VP)("builder/START_AI_RESUME_REVIEW_V2"),setAiResumeReviewStatusV2:(0,W.VP)("builder/SET_AI_RESUME_REVIEW_STATUS_V2"),getLatestAiResumeReviewV2:(0,W.VP)("builder/GET_LATEST_AI_RESUME_REVIEW_V2"),applyAiReviewAction:(0,W.VP)("builder/APPLY_AI_REVIEW_ACTION"),setAiReviewJobTitleRequired:(0,W.VP)("builder/SET_AI_REVIEW_JOB_TITLE_REQUIRED"),setAutoTailoringFromJobBoard:(0,W.VP)("builder/SET_AUTO_TAILORING_FROM_JOB_BOARD"),resetAutoTailoringFromJobBoard:(0,W.VP)("builder/RESET_AUTO_TAILORING_FROM_JOB_BOARD"),initAutoTailoringFromJobBoard:(0,W.VP)("builder/INIT_AUTO_TAILORING_FROM_JOB_BOARD"),setResumeUploadSuccessStatus:(0,W.VP)("builder/SET_RESUME_UPLOAD_SUCCESS_STATUS"),setIsUploadedResumeScoreForAutoTailoringModalOpen:(0,W.VP)("builder/SET_IS_UPLOADED_RESUME_SCORE_FOR_AUTO_TAILORING_MODAL_OPEN"),setIsResumeAnalysisModalOpen:(0,W.VP)("builder/SET_IS_RESUME_ANALYSIS_MODAL_OPEN"),editRequirementEvidence:(0,W.VP)("builder/EDIT_REQUIREMENT_EVIDENCE"),deleteResumeAnalysisSkill:(0,W.VP)("builder/DELETE_RESUME_ANALYSIS_SKILL"),startAutoTailoring:(0,W.VP)("builder/START_AUTO_TAILORING"),setAutoTailoringState:(0,W.VP)("builder/SET_AUTO_TAILORING_STATE"),resetAutoTailoringState:(0,W.VP)("builder/RESET_AUTO_TAILORING_STATE"),addAnalysisContentTrackedField:(0,W.VP)("builder/ADD_ANALYSIS_CONTENT_TRACKED_FIELD"),resetAnalysisContentTrackedFields:(0,W.VP)("builder/RESET_ANALYSIS_CONTENT_TRACKED_FIELDS"),saveAutoTailoredResume:(0,W.VP)("builder/SAVE_AUTO_TAILORED_RESUME")};var G=i(44826),Z=i.n(G);let X=()=>"_"+(0xffffff*Math.random()).toString(),Q=(e,t=X(),i={})=>{let r={...i,id:t,cid:t};return e===U.G.skills?{level:"expert",...r}:r},Y=e=>{let t=U.G.hobbies,i=e.hobbies||[];if(!(e.sectionsOrder.indexOf(t)>=0))return e;if(0===i.length)return{...e,hobbies:[Q(t)]};if(1===i.length)return e;let r=e.hobbies.filter(e=>e.hobby).map(e=>Z()(e.hobby)).join(", "),n={...i[0],hobby:r};return{...e,hobbies:[n]}};var ee=i(34890),et=i(93871),ei=i(22090),er=i(87783),en=i.n(er),eo=i(97946);function ea(e,t){return`${e}.${t}`}function el(e,t,i){return`${ea(e,t)}.${i}`}let es=e=>{let{mode:t,jobCardId:i,resumeId:r,jobExternalSlugId:n,source:o,autoApplyReturnTo:a,autoApplyCopilotId:l,autoApplyJobId:s,showResumeTailoredBanner:d,downloadDocumentFormat:c,forceAnalysisStep:u}=e;return new URLSearchParams({mode:t,...i&&{card_id:String(i)},...r&&{resume_id:String(r)},...n&&{job_external_slug_id:String(n)},...o&&{auto_tailoring_source:o},...a&&{auto_apply_return_to:a},...l&&{auto_apply_copilot_id:l},...s&&{auto_apply_job_id:s},...d&&{show_resume_tailored_banner:String(d)},...c&&{[eo.PI]:c},...u&&{force_analysis_step:String(u)}})},ed=e=>{let t=new URLSearchParams(e);return{mode:t.get("mode"),jobCardId:Number(t.get("card_id")),resumeId:Number(t.get("resume_id")),jobExternalSlugId:t.get("job_external_slug_id"),source:t.get("auto_tailoring_source"),autoApplyReturnTo:t.get("auto_apply_return_to"),autoApplyCopilotId:t.get("auto_apply_copilot_id"),autoApplyJobId:t.get("auto_apply_job_id"),showResumeTailoredBanner:"true"===t.get("show_resume_tailored_banner"),downloadDocumentFormat:t.get(eo.PI),forceAnalysisStep:"true"===t.get("force_analysis_step")}};var ec=i(76117),eu=i(87242);i(5323);let ep="OFFLINE_RESUME_DATA",eh=e=>{let t={...e,updatedAt:(0,h.A)(Date.now())};return _.D.setItem(`${ep}_${e.id}`,JSON.stringify(t)),t},ex=(e,t="api")=>(e?.customSections||J.A.log(Error("resume-missing-section-fields"),{tag:"resume-missing-section-fields",level:"warning",extra:{s
8252ource:t,resumeExists:!!e,resumeId:e?.id,resumeKeys:e?Object.keys(e).sort():null,resumeCustomSections:e?.customSections,resumeKeysTypes:e?Object.fromEntries(Object.entries(e).map(([e,t])=>[e,typeof t])):null,snakeCasedKeyCount:e?Object.keys(e).filter(e=>e.includes("_")).length:0}}),{...e,sectionTitles:e.sectionTitles??{},sectionsOrder:(e=>{let{customSections:t,sectionsOrder:i}=e;Array.isArray(t)&&Array.isArray(i)||J.A.log(Error("fixSectionsOrder: unexpected resume shape (CCB-3600)"),{extra:{resume:e,customSectionsType:typeof t,sectionsOrderType:typeof i}});let r=[];return t.forEach(e=>{let t=`custom:${e.externalId}`;i.includes(t)||r.push(t)}),[...i.filter(e=>{let i=e.match(/custom:(\d+)/);return!i||t.some(e=>e.externalId===i[1])}),...r]})(e)});function*em(e){for(yield(0,g.yJ)(q.setPrefillStatus(ee.xs.scheduled));;){yield(0,g.cb)(5e3);let{data:{status:t}}=yield(0,g.T1)(v.uE.get,`/resumes/${e}/prefill/status`);if(yield(0,g.yJ)(q.setPrefillStatus(t)),t===ee.xs.done){yield(0,g.yJ)(q.fetchResumeRequest({id:e})),yield(0,g.s)(q.fetchResumeSuccess);return}}}function*eg(){let e=yield(0,g.Lt)(V.resume);return e||(yield(0,g.s)(q.fetchResumeSuccess),e=yield(0,g.Lt)(V.resume)),e}function*ey({payload:e}){let{jobPostingId:t}=e;if(yield(0,g.yJ)(q.setFetchJobPostingStatus(D.Hp.loading)),t)try{let{status:e,data:i}=yield(0,g.T1)(v.R3.get,`/job-postings/${t}`);200===e&&i&&(yield(0,g.yJ)(q.saveJobPostingAPIData(i))),yield(0,g.yJ)(q.setFetchJobPostingStatus(D.Hp.loaded))}catch(e){J.A.log(e),yield(0,g.yJ)(q.setFetchJobPostingStatus(D.Hp.failed)),yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!0,type:S.pN.failure,text:"Could not fetch AI Suggestions due to following error: "+(e instanceof Error?e.message:String(e))})),yield(0,g.cb)(1e3),yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!1,type:S.pN.failure}))}}function*ef({payload:e}){yield(0,g.yJ)(q.setFetchJobPostingStatus(D.Hp.loading));try{let{status:t,data:i}=yield(0,g.T1)(v.R3.put,`/resumes/${e.resumeId}/scoring`,null,{params:{job_posting_id:e.jobPostingId}}),r=yield(0,g.Lt)(V.resume),n=(0,B.n)(i?.score?.finalWeightedScore);200===t?(yield(0,g.yJ)(q.fetchResumeSuccess({...r,averageScore:n})),yield(0,g.yJ)(q.setFetchJobPostingStatus(D.Hp.loaded))):yield(0,g.yJ)(q.setFetchJobPostingStatus(D.Hp.failed))}catch(e){yield(0,g.yJ)(q.setFetchJobPostingStatus(D.Hp.failed)),J.A.log(e)}}function*eb({payload:e}){try{yield(0,g.yJ)(q.setResumeValidationStatus(D.fA.notStarted)),yield(0,g.yJ)(q.setResumeUploadStatus(D.R4.notStarted));let t=(0,n.parse)(window.location.search).prefillable,{status:i}=yield(0,g.Lt)(V.prefill),{id:r}=e,{data:o}=yield(0,g.T1)(v.uE.get,`/resumes/${r}`),a=Y(ex(o)),{features:l}=yield(0,g.Lt)(e=>I.Tp.config(e)),s=l?.resumeOptimizer,d=`${ep}_${r}`,c=_.D.getItem(d),u=c?JSON.parse(c):null,p=yield(0,g.Lt)(I.Tp.config);if(u){let e=Y(ex(u,"localStorage"));(0,m.default)((0,x.default)(e.updatedAt||""),(0,x.default)(a.updatedAt||""))&&(yield(0,g.yJ)(q.fetchResumeSuccess(e)),yield(0,g.yJ)(q.startResumeUpdate())),_.D.removeItem(d)}yield(0,g.yJ)(C.o1.checkDocument(a)),yield(0,g.s)(C.o1.checkDocumentComplete);let{Rirekisho:h,Shokumukeirekisho:y}=j.cT,f=yield(0,g.Lt)(V.country),b="ja-JP"===f.locale,{createdAt:A,updatedAt:w}=a;if(b&&a.template===y)yield(0,g.yJ)(q.fetchResumeSuccess(a));else if(b&&A===w)yield(0,g.yJ)(q.fetchResumeSuccess({...a,template:h}));else if(yield(0,g.yJ)(q.fetchResumeSuccess(a)),p.features?.rbpAiReview&&(yield(0,g.yJ)(q.getLatestAiResumeReview())),p.features?.rbpAiReview&&p.features?.aiReviewV2&&(yield(0,g.yJ)(q.getLatestAiResumeReviewV2())),s)try{yield(0,g.T1)(ey,{payload:{jobPostingId:a.jobPostingId}})}catch(e){J.A.log(e)}t&&i===ee.xs.notAsked&&(yield(0,g.T1)(em,r))}catch(e){y.A.isAxiosError(e)&&e.response?.status===404&&(e.message=`${e.message}. The requested resume might not exist.`),J.A.log(e),e instanceof Error&&(yield(0,g.yJ)(q.fetchResumeFail(e)))}}function*e_(){let e=yield(0,g.Lt)(V.resume),t=yield(0,g.T1)(eh,e);yield(0,g.cb)(300),yield(0,g.yJ)(q.updateResumeSuccess(t))}function*ev({payload:e={}}){try{let{debounce:t=!0}=e;!0===t&&(yield(0,g.cb)(1e3)),"number"==typeof t&&(yield(0,g.cb)(t));let i=yield(0,g.Lt)(V.resume),{points:r}=yield(0,g.Lt)(V.scoreSuggestions),n=`/resumes/${i.id}`,{data:o}=yield(0,g.T1)(v.uE.patch,n,{...i,score:r}),a=ex(o);yield(0,g.yJ)(C.o1.checkDocument(a)),yield(0,g.s)(C.o1.checkDocumentComplete),yield(0,g.yJ)(q.updateResumeSuccess(a));let l=yield(0,g.Lt)(V.attachedJobPostingId),s=yield(0,g.Lt)(V.openedAISuggestionsPopup);l&&!s&&(yield(0,g.T1)(ef,{payload:{jobPostingId:l,resumeId:i.id}}))}catch(t){J.A.log(t),yield(0,g.T1)(e_,{payload:e})}}function*ej(e){let t=yield(0,g.Lt)(A.Tp.isOnline);yield(0,g.T1)(t?ev:e_,e)}function*eA({payload:e={}}){try{let{documentId:t,exampleId:i}=e,{data:r}=yield(0,g.T1)(v.uE.post,`/resumes/${t}/prefill/${i}`);r.success?(yield(0,g.yJ)(q.updateResumeSuccess(r.resume)),yield(0,g.yJ)(S.o1.setPrefillModalDocumentId(null))):yield(0,g.yJ)(S.o1.setWarningSnackbarOpen({timeout:5e3,text:r.errorMessage}))}catch(e){J.A.log(e),yield(0,g.yJ)(q.updateResumeFail()),yield(0,g.yJ)(S.o1.setPrefillModalDocumentId(null))}}function*eC({payload:e={}}){try{yield(0,g.yJ)(q.startResumeUpdate(e))}catch(e){J.A.log(e)}}function*ew({payload:e}){try{let{id:t}=e,i=yield(0,g.Lt)(V.templates),r=a()(i,{id:t}),n=s()(r,"settings.color.default",null);yield(0,g.yJ)(q.updateSimpleField({name:"color",value:n})),yield(0,g.yJ)(q.updateSimpleField({name:"spacing",value:0})),yield(0,g.yJ)(q.updateSimpleField({name:"template",value:t})),yield(0,g.yJ)(q.updateSimpleField({name:"templateConfig",value:r})),yield(0,g.yJ)(q.updateSimpleField({name:"ableForSkillCategories",value:r?.supportsSkillCategories??!1}))}catch(e){J.A.log(e)}}function*ek({payload:e}){try{let{sectionName:t,cardId:i,options:n}=e;yield(0,g.yJ)(q.startResumeUpdate(e)),n&&n.scrollIntoViewport&&E.A.scrollToAnchor(i),t&&"number"!=typeof t&&Object.values(U.G).some(e=>e===t)?(0,r.xP)(`add_resume_${c()(t)}_card`):(0,r.xP)("add_resume_custom_card")}catch(e){J.A.log(e)}}function*eS({payload:e}){try{let{externalId:t,type:i,title:r,options:n}=e;yield(0,g.yJ)(q.setCustomSection({externalId:t,type:i,title:r})),yield(0,g.yJ)(q.startResumeUpdate(e)),n?.scrollIntoViewport&&E.A.scrollToAnchor(`custom:${t}`)}catch(e){J.A.log(e)}}function*eT({payload:e={}}){try{yield(0,g.yJ)(q.changeEditorState({isUploadingPhoto:!0,isSyncing:!0}));let{file:t,transform:i={},processedFile:r}=e,n=yield(0,g.Lt)(V.resume),o=`/resumes/${n.id}/${t?"photo":"transform"}`,a=new FormData;t&&a.append("photo",t),r&&a.append("processed",r),a.append("transform",JSON.stringify(i));let{data:l}=yield(0,g.T1)(v.uE.post,o,a),s=ex(l);yield(0,g.yJ)(q.changeEditorState({isUploadingPhoto:!1,isSyncing:!1,resume:s}
8252)),yield(0,g.yJ)(k.o1.fetchUserRequest({silent:!0}))}catch(e){J.A.log(e),yield(0,g.yJ)(q.changeEditorState({isUploadingPhoto:!1,isSyncing:!1}))}}function*eP(){try{yield(0,g.yJ)(q.changeEditorState({isSyncing:!0}));let e=yield(0,g.Lt)(V.resume),t=`/resumes/${e.id}/photo`,{data:i}=yield(0,g.T1)(v.uE.delete,t),r=ex(i);yield(0,g.yJ)(q.changeEditorState({isSyncing:!1,resume:r})),yield(0,g.yJ)(k.o1.fetchUserRequest({silent:!0}))}catch(e){J.A.log(e),yield(0,g.yJ)(q.changeEditorState({isSyncing:!1}))}}function*eJ({payload:e}){let{isOnline:t}=e,i=yield(0,g.Lt)(V.resume);if(!i)return;let r=`${ep}_${i.id}`;t&&_.D.getItem(r)&&(yield(0,g.yJ)(q.fetchResumeRequest({id:i.id})))}function*eE({payload:e}){yield(0,g.yJ)(q.setFetchResumeScoreStatus(D.Hp.failed)),e.jobPostingManualInput&&e.jobPostingManualInput.companyName?yield(0,g.yJ)(q.setShowManualInputScreen(!1)):yield(0,g.yJ)(q.setShowManualInputScreen(!0))}function*eR({jobExternalSlugId:e}){try{return yield(0,g.T1)(M.YQ,e)}catch(e){return console.error(e),J.A.log(e),null}}function*eL(e){try{let{data:t}=yield(0,g.T1)(v.R3.post,"/job-postings",e);return yield(0,g.yJ)(q.setTemporaryJobPostingAPIData(t)),t}catch(t){return J.A.log(t,{tag:"create-job-posting-saga-failed",extra:{jobPostingInputData:e.jobPosting}}),null}}function eN(e){return{inputUrl:e.url,requestedSkills:e.skills,description:e.description,descriptionWithHtmlTags:e.description_with_html_tags,companyName:e.company,companyLogo:e.company_logo,jobTitle:e.job_title,location:e.location_details?{id:e.location_details.id,formatted:e.location,street:e.location_details.street_name,city:e.location_details.city_name,state:e.location_details.state_name,cityState:null,country:e.location_details.country_name,postalCode:null,countryCode:null}:null,seniorityLevel:e.seniority_level,currentLocation:e.location,requirements:e.requirements,niceToHave:e.nice_to_have,enriched:e.enriched}}function*eI({jobExternalSlugId:e,jobPostingManualInput:t,jobPostingId:i,jobPostingLink:r,job:n}){try{let{temporaryJobPostingAPIData:a,fetchTemporaryJobPostingStatus:l}=yield(0,g.Lt)(V.optimizerSection);if(a&&(!i||a.id===i))return a;if(l===D.Hp.loading){yield(0,g.s)(q.setFetchTemporaryJobPostingStatus);let{temporaryJobPostingAPIData:e,fetchTemporaryJobPostingStatus:t}=yield(0,g.Lt)(V.optimizerSection);if(t===D.Hp.loaded)return e}yield(0,g.yJ)(q.setFetchTemporaryJobPostingStatus(D.Hp.loading));let s=null;if(n)s=yield(0,g.T1)(eL,{jobPosting:eN(n)});else if(e){let t=yield(0,g.T1)(eR,{jobExternalSlugId:e});if(!t)throw Error("Failed to fetch job data");s=yield(0,g.T1)(eL,{jobPosting:eN(t)})}else r?s=yield(0,g.T1)(eL,{jobPosting:{inputUrl:r}}):t&&(s=yield(0,g.T1)(eL,{jobPosting:t}));if(!s)throw Error("Failed to create job posting with all available methods");var o=s;if(!o.descriptionWithHtmlTags){let e=`descriptionWithHtmlTags should be present. Job posting ID: ${o.id}`;throw J.A.log(e),Error(e)}return yield(0,g.yJ)(q.setFetchTemporaryJobPostingStatus(D.Hp.loaded)),s}catch(e){return yield(0,g.yJ)(q.setFetchTemporaryJobPostingStatus(D.Hp.failed)),null}finally{(yield(0,g.KW)())&&(yield(0,g.yJ)(q.setFetchTemporaryJobPostingStatus(D.Hp.notAsked)))}}function*eM({payload:e}){let{resumeId:t,jobPostingId:i}=e;try{let{data:e}=yield(0,g.T1)(v.R3.post,`/resumes/${t}/scoring`,{jobPostingId:i});return e}catch(e){return J.A.log(e,{tag:"get-resume-score-saga-failed",extra:{resumeId:t,jobPostingId:i}}),null}}function*eB({payload:e,jobPostingTask:t}){let{resumeId:i,jobPostingLink:r,jobPostingManualInput:n,jobPostingId:o,jobExternalSlugId:a,job:l}=e;try{let e;if(!i)throw Error("Resume ID is required");if(yield(0,g.yJ)(q.setFetchResumeScoreStatus(D.Hp.loading)),!(e=t?yield(0,g.fj)(t):yield(0,g.T1)(eI,{jobPostingManualInput:n,jobPostingId:o,jobPostingLink:r,jobExternalSlugId:a,job:l})))throw Error("Failed to create job posting in checkResumeScoreSaga");let s=yield(0,g.T1)(eM,{payload:{resumeId:i,jobPostingId:e.id}});if(!s)throw Error("Failed to get resume score");yield(0,g.yJ)(q.resetResumeOptimizerManualInput()),yield(0,g.yJ)(q.setResumeScoreAPIResponse(s)),yield(0,g.yJ)(q.setFetchResumeScoreStatus(D.Hp.loaded)),yield(0,g.yJ)(q.setShowManualInputScreen(!1))}catch(e){yield(0,g.T1)(eE,{payload:{jobPostingManualInput:n}})}finally{(yield(0,g.KW)())&&(yield(0,g.yJ)(q.setFetchResumeScoreStatus(D.Hp.notAsked)))}}function*eD(){let e=null;for(;;){let t=yield(0,g.s)([q.checkResumeScore,q.resetResumeOptimizerProcess]);if(t.type===q.resetResumeOptimizerProcess.type){e?.isRunning()&&(yield(0,g.ZT)(e)),e=null;continue}let{payload:i}=t,{jobPostingManualInput:r,jobPostingId:n,jobPostingLink:o,jobExternalSlugId:a,job:l}=i;e&&e.isRunning()||(e=yield(0,g.cH)(eI,{jobPostingManualInput:r,jobPostingId:n,jobPostingLink:o,jobExternalSlugId:a,job:l}));let s=yield(0,g.Zy)(eB,{payload:i,jobPostingTask:e}),{resetScore:d,resetAll:c}=yield(0,g.O4)({resetScore:(0,g.s)(q.resetResumeScoreAPIResponse),resetAll:(0,g.s)(q.resetResumeOptimizerProcess),completed:(0,g.fj)(s)});d&&(yield(0,g.ZT)(s)),c&&(yield(0,g.ZT)(s),e?.isRunning()&&(yield(0,g.ZT)(e)),e=null)}}function*e$({payload:e}){try{let t=yield(0,g.Lt)(V.resume);if(!t)return;yield(0,g.yJ)(q.updateSimpleField({name:"jobTitle",value:e.jobTitle||t.jobTitle})),yield(0,g.yJ)(q.updateSimpleField({name:"companyName",value:e.companyName||t.companyName}))}catch(e){J.A.log(e)}}function*eO({payload:e}){try{yield(0,g.yJ)(q.setAttachJobPostingStatus(D.Hp.loading));let t=yield(0,g.Lt)(V.resumeScoreAPIData),i=yield(0,g.Lt)(V.temporaryJobPostingAPIData),r=(0,B.n)(t?.score?.finalWeightedScore);if(!i)throw Error("Temporary job posting API data is not set");return yield(0,g.yJ)(q.updateSimpleField({name:"jobPostingId",value:i.id})),yield(0,g.yJ)(q.updateSimpleField({name:"averageScore",value:r})),yield(0,g.T1)(e$,{payload:{jobTitle:e.jobTitle||i.jobTitle,companyName:e.companyName||i.companyName}}),yield(0,g.yJ)(q.startResumeUpdate({debounce:!1})),yield(0,g.s)(q.updateResumeSuccess),yield(0,g.yJ)(q.saveJobPostingAPIData()),yield(0,g.yJ)(q.setAttachJobPostingStatus(D.Hp.loaded)),!0}catch(t){console.error(t),J.A.log(t);let e=t instanceof f.pe&&t.response?.data?.message||"Error while syncing resume with job posting";return yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!0,type:S.pN.failure,text:e})),yield(0,g.cb)(3e3),yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!1,t
8252ype:S.pN.failure})),yield(0,g.yJ)(q.setAttachJobPostingStatus(D.Hp.notAsked)),!1}}function*ez(){(new URLSearchParams(window.location.search).get("job_url")||0)&&window.history.replaceState({},"",`${window.location.origin}${window.location.pathname}`)}function*eF({payload:e}){(yield(0,g.T1)(eO,{payload:{...e}}))&&(yield(0,g.yJ)(q.resetResumeOptimizerProcess()),yield(0,g.yJ)(q.resetAutoTailoringState()),yield(0,g.yJ)(q.setEditorPanelType("editor")));let{enabled:t,source:i,autoApplyReturnTo:r}=yield(0,g.Lt)(V.autoTailoringFromJobBoard),n=yield(0,g.Lt)(V.resume);if(t){if(yield(0,g.yJ)(q.resetAutoTailoringFromJobBoard()),i===ee._r.autoApply&&r){let e=new URLSearchParams({auto_apply_return_to:r});(0,P.o)(`/resumes/${n.id}/edit?${e.toString()}`);return}(0,P.o)(`/resumes/${n.id}/edit`)}}function*eH({payload:e}){try{let{shouldRefreshPage:t=!0}=e;yield(0,g.yJ)(q.setDeleteJobPostingStatus(D.Hp.loading));let{status:i}=yield(0,g.T1)(v.R3.delete,"/job-postings/soft_delete",{params:{id:e.jobPostingId,resume_id:e.resumeId}});200===i&&(t?window.location.href=`/app/resumes/${e.resumeId}/edit`:(yield(0,g.yJ)(q.setTemporaryJobPostingAPIData(null)),yield(0,g.yJ)(q.saveJobPostingAPIData()),yield(0,g.yJ)(q.resetResumeOptimizerProcess())),yield(0,g.yJ)(q.setDeleteJobPostingStatus(D.Hp.loaded)))}catch(e){J.A.log(e),yield(0,g.yJ)(q.setDeleteJobPostingStatus(D.Hp.failed)),yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!0,type:S.pN.failure,text:e.response.data.message})),yield(0,g.cb)(1e3),yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!1,type:S.pN.failure}))}}function*eV({payload:e}){yield(0,g.T1)(e$,{payload:{jobTitle:e.jobTitle,companyName:e.companyName}}),yield(0,g.yJ)(q.setIsEditJobDetails(!1)),yield(0,g.yJ)(q.setIsClickedOnEditJobDetails(!1)),yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!0,type:S.pN.success,text:e.successMessage})),yield(0,g.cb)(2e3),yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!1}))}function*eU(e){let t=yield(0,g.Lt)(V.resume),{isTablet:i}=(0,N.C)(),{enabled:n}=yield(0,g.Lt)(V.autoTailoringFromJobBoard);if(t.data?.stepByStepFlow?.currentStep){if(yield(0,g.yJ)(q.updateSimpleField({name:"data",value:{...t.data,stepByStepFlow:{currentStep:null},selectedPrefillOption:e},debounce:!1})),yield(0,g.s)(q.updateResumeSuccess),n){yield(0,g.yJ)(q.setIsCustomizeModalOpen(!0)),(0,r.xP)("open_full_screen_resume_preview");return}switch(e){case"uploadResume":case"useExample":i&&(yield(0,g.yJ)(q.setIsCustomizeModalOpen(!0)),(0,r.xP)("open_full_screen_resume_preview"))}}}function*eW({payload:e}){let{resumeId:t,selectedResume:i,keepResumeData:n=!1}=e;yield(0,g.yJ)(q.setIsSavingPrefilledResume(!0));try{let e=new FormData;e.append("file",i),e.append("resume_id",`${t}`);let o=yield(0,g.T1)(v.uE.post,"/resume-parser/parse-resume",e),{enabled:a,jobExternalSlugId:l}=yield(0,g.Lt)(V.autoTailoringFromJobBoard);if(o.data.success){if(a&&l){let e=yield(0,g.T1)(eI,{jobExternalSlugId:l});e&&(yield(0,g.T1)(eB,{payload:{resumeId:t,jobPostingId:e.id}}),yield(0,g.yJ)(q.setIsUploadedResumeScoreForAutoTailoringModalOpen(!0)))}yield(0,g.yJ)(q.setResumeUploadStatus(D.R4.uploaded)),yield(0,g.yJ)(q.setResumeUploadSuccessStatus(!0)),yield(0,g.yJ)(q.fetchResumeRequest({id:t,keepResumeData:n})),yield(0,g.s)(q.fetchResumeSuccess),(0,r.xP)(D.x6.completeResumeParsing),yield(0,g.T1)(eU,"uploadResume")}else yield(0,g.yJ)(q.setResumeUploadStatus(D.R4.failed)),yield(0,g.yJ)(q.setPrefillResumeGenericError({error:o.data.error,errorSource:D.zv.parsing}))}catch(e){yield(0,g.yJ)(q.setResumeUploadStatus(D.R4.failed)),e instanceof Error&&(yield(0,g.yJ)(q.setPrefillResumeGenericError({error:e.message,errorSource:D.zv.parsing})))}yield(0,g.yJ)(q.setIsSavingPrefilledResume(!1))}function*eK({payload:e}){try{let{status:t,data:{success:i,coverLetter:n}
8252}=yield(0,g.T1)(v.R3.post,"/job-postings/generate-cover-letter",null,{params:{resume_id:e.resumeId}});200===t&&i&&n.id?((0,r.xP)("generate_cover_letter_succesfully"),yield(0,g.yJ)(k.o1.fetchUserRequest({silent:!0})),window.location.href=`/app/cover-letters/${n.id}/edit`):(yield(0,g.yJ)(q.setIsClickedOnAiCVBanner(!1)),yield(0,g.yJ)(q.setGenerateAICoverLetterStatus(D.Hp.failed)))}catch(e){J.A.log(e),yield(0,g.yJ)(q.setGenerateAICoverLetterStatus(D.Hp.failed))}}function*eq({payload:e}){let{resumeId:t}=e;try{if(!(yield(0,g.T1)(eO,{payload:{...e}})))return;yield(0,g.yJ)(q.setOpenedAISuggestionsPopup(ee.jK.jobTitle)),yield(0,g.T1)(eK,{payload:{resumeId:t}})}catch(e){J.A.log(e)}}function*eG({payload:e}){let{linkedInProfileURL:t}=e;try{yield(0,g.yJ)(q.setLinkedInProfileFetchStatus(!0));let{status:e,data:i}=yield(0,g.T1)(v.uE.get,`/linkedin-data-profile/profile?linkedin_profile=${t}`);200!==e||p()(i)?yield(0,g.yJ)(q.setAIResumeLinkedInStep(D.$R.linkedInError)):(yield(0,g.yJ)(q.setLinkedInProfileData({...i})),yield(0,g.yJ)(q.setAIResumeLinkedInStep(D.$R.linkedInProfile)))}catch(e){yield(0,g.yJ)(q.setAIResumeLinkedInStep(D.$R.linkedInError)),J.A.log(e)}finally{yield(0,g.yJ)(q.setLinkedInProfileFetchStatus(!1))}}function*eZ({payload:e}){let{linkedInProfileURL:t,resumeId:i}=e;try{(0,r.xP)(D._t.startGenerating,{label:D.ux.linkedInProfile}),yield(0,g.yJ)(q.setGenerateResumeStatus(D.bo.processing));let{data:e}=yield(0,g.T1)(v.uE.patch,`/linkedin-data-profile/prefill-resume?linkedin_profile=${t}&resume_id=${i}&ai_enhanced=true`);e?((0,r.xP)(D._t.generateSuccessfully,{label:D.ux.linkedInProfile}),yield(0,g.yJ)(q.setGenerateResumeStatus(D.bo.finished)),yield(0,g.yJ)(q.setShowAIResumeModal(!1)),yield(0,g.yJ)(q.fetchResumeRequest({id:i})),yield(0,g.s)(q.fetchResumeSuccess),yield(0,g.T1)(eU,"createWithLinkedIn")):((0,r.xP)(D._t.generateError,{label:D.ux.linkedInProfile}),yield(0,g.yJ)(q.setGenerateResumeStatus(D.bo.failed)))}catch(e){(0,r.xP)(D._t.generateError,{label:D.ux.linkedInProfile}),yield(0,g.yJ)(q.setGenerateResumeStatus(D.bo.failed))}}function*eX(){try{(0,r.xP)(D._t.startGenerating,{label:D.ux.questionnaire}),yield(0,g.yJ)(q.setGenerateResumeStatus(D.bo.processing));let{firstName:e,lastName:t,id:i}=yield(0,g.Lt)(V.resume),n=yield(0,g.Lt)(V.questionnaireData),o=(e=>{let{workExperience:t,desiredPosition:i,education:r,currentSkills:n,pastAccomplishments:o,futureGoals:a}=e.userInput;return{workExperience:t.cards.filter(e=>!(0,et.IM)(e)).map(({position:e,company:t,date:i})=>({position:e,company:t,dateFrom:i.dateFrom,dateUntil:i.isDateUntilPresent?"Present":i.dateUntil})),education:r.cards.filter(e=>!(0,ei.y)(e)).map(({institute:e,degree:t,date:i})=>({institute:e,degree:t,dateFrom:i.dateFrom,dateUntil:i.isDateUntilPresent?"Present":i.dateUntil})),desiredPosition:i,skills:n,pastAccomplishments:o,futureGoals:a}})(n),{data:{success:a,resume:l}}=yield(0,g.T1)(v.uE.put,`/ai-resume-draft/${i}`,{linkedinGenerated:!1,questionnaireData:{name:`${e} ${t}`,...o}});a?((0,r.xP)(D._t.generateSuccessfully,{label:D.ux.questionnaire}),yield(0,g.yJ)(q.setGenerateResumeStatus(D.bo.finished)),yield(0,g.yJ)(q.setShowAIResumeModal(!1)),yield(0,g.yJ)(q.fetchResumeRequest({id:l.id})),yield(0,g.s)(q.fetchResumeSuccess),yield(0,g.T1)(eU,"createWithAi")):((0,r.xP)(D._t.generateError,{label:D.ux.questionnaire}),yield(0,g.yJ)(q.setGenerateResumeStatus(D.bo.failed)))}catch(e){(0,r.xP)(D._t.generateError,{label:D.ux.questionnaire}),yield(0,g.yJ)(q.setGenerateResumeStatus(D.bo.failed))}}function*eQ({payload:e}){let{audioBlob:t}=e,{step:i}=yield(0,g.Lt)(V.questionnaireData),n=yield(0,g.Lt)(V.iso_language_code),o=6===i;try{yield(0,g.yJ)(o?q.setGoalsVoiceProcessingStatus(D.Nh.processing):q.setAccomplishmentsVoiceProcessingStatus(D.Nh.processing));let e=new FormData,a=new Blob(t,{type:"audio/mpeg-3"});e.append("file",a),e.append("locale",n.substring(0,2));let{data:{success:l,text:s}}=yield(0,g.T1)(v.uE.post,"/ai-resume-draft/speech_to_text",e);l?(yield(0,g.yJ)(o?q.setFutureGoalsText(s):q.setPastAccomplishmentsText(s)),yield(0,g.yJ)(o?q.generateResumeFromQuestionnaire():q.setQuestionnaireStep(i+1)),yield(0,g.T1)(eU,"createWithAi")):(yield(0,g.yJ)(o?q.setGoalsVoiceInputError(D.AB.unknown):q.setAccomplishmentsVoiceInputError(D.AB.unknown)),(0,r.xP)(D._t.seeRecordingError,{label:o?D.ux.careerGoals:D.ux.professionalHighlights}));let d=l?D.Nh.finished:D.Nh.failed;yield(0,g.yJ)(o?q.setGoalsVoiceProcessingStatus(d):q.setAccomplishmentsVoiceProcessingStatus(d))}catch(e){(0,r.xP)(D._t.seeRecordingError,{label:o?D.ux.careerGoals:D.ux.professionalHighlights}),yield(0,g.yJ)(o?q.setGoalsVoiceProcessingStatus(D.Nh.failed):q.setAccomplishmentsVoiceProcessingStatus(D.Nh.failed)),yield(0,g.yJ)(o?q.setGoalsVoiceInputError(D.AB.unknown):q.setAccomplishmentsVoiceInputError(D.AB.unknown))}}function*eY({payload:{resetPage:e}={}}){let{currentPage:t,resumeExamples:i,categories:r,searchedTitle:n,selectedCategoryId:o}=yield(0,g.Lt)(V.useExample);try{let a=e?1:t+1;yield(0,g.yJ)(q.fetchingResumeExamples(!0)),yield(0,g.yJ)(q.setShowUseExamplePopup(!0)),1===a&&(yield(0,g.yJ)(q.setResumeExamplesData({currentPage:a,resumeExamples:[],totalPages:0})));let l=(0,g.T1)(v.uE.get,"/examples/search",{params:{page:a,per_page:12,job_title:n||void 0,category_id:o||void 0}}),s=(0,g.T1)(v.uE.get,"/examples/filters"),[d,c]=yield(0,g.Q7)([l,...!r.length?[s]:[]]),{status:u,data:{items:p,total:h}}=d,x=c?.status===200?{categories:[...c.data.categories],jobTitles:[...c.data.jobTitles]}:{};if(200===u&&p.length){let e=p.map(e=>{let{previewImageUrl:t}=e;return t.startsWith("https://s3.resume.io")||t.startsWith("https://stagingbucket.resume.io")?{...e,compressedPreviewImageUrl:(0,$.FP)({base:t})(t,{width:eo.E*(devicePixelRatio||1),format:"auto"})}:{...e,compressedPreviewImageUrl:""}}
8252);yield(0,g.yJ)(q.setResumeExamplesData({currentPage:a,totalPages:Math.ceil(h/12),resumeExamples:1===a?e:[...i,...e],...x})),yield(0,g.yJ)(q.setShowPrefillResumeModal(!1))}}catch(e){J.A.log(e)}finally{yield(0,g.yJ)(q.fetchingResumeExamples(!1))}}function*e0({payload:e}){try{let{id:t}=yield(0,g.Lt)(V.resume),{status:i,data:{success:n}}=yield(0,g.T1)(v.uE.put,`resumes/${t}/use_example`,{exampleId:e.exampleId});if(200===i&&n){yield(0,g.yJ)(q.fetchResumeRequest({id:t})),yield(0,g.s)(q.fetchResumeSuccess),yield(0,g.T1)(eU,"useExample"),yield(0,g.yJ)(q.setShowUseExamplePopup(!1)),yield(0,g.yJ)(q.setShowPrefillResumeModal(!1));let{isAboveTablet:i}=(0,N.C)();(yield(0,g.Lt)(S.Tp.builderTour)).isStartModalOpen||(yield(0,g.yJ)(q.setHighlightedElement({content:b.R.t("builder.use_example.change_template_info"),target:`[data-highlight-id=${eo.LB}]`,placement:i?"bottom":"top"}))),(0,r.xP)(D.pn.prefillResumeSuccessfully,{label:D.to.examplesPrefill,jobTitle:e.jobTitle}),yield(0,g.cb)(5e3),yield(0,g.yJ)(q.setHighlightedElement(null))}}catch(e){J.A.log(e)}finally{yield(0,g.yJ)(q.setShowUseExamplePopup(!1)),yield(0,g.yJ)(q.setShowPrefillResumeModal(!1))}}function*e1({payload:e}){try{let t,{delayMs:i}=e;i&&(yield(0,g.cb)(i));let{workExperiences:n}=yield(0,g.Lt)(V.resume),{isPhone:o}=(0,N.C)(),a="title";if(n.length){let e=n[0];t=e.cid||e.id,a=(0,ec.n)(U.G.workExperiences,e),yield(0,g.yJ)(q.openCard({id:t,sectionId:U.G.workExperiences}))}else t=(0,R.M)(),yield(0,g.yJ)(q.addCard({sectionName:U.G.workExperiences,cardId:t,options:{scrollIntoViewport:!1,shouldOpen:!0}}));yield(0,g.cb)(300);let l=o?el(U.G.workExperiences,t,a):ea(U.G.workExperiences,t),s=`[data-highlight-id="${l}"]`,d=document.querySelector(s);d&&("INPUT"===d.nodeName?d.focus():Array.from(d.querySelectorAll("input")).find(e=>!(0,L.zz)(e.value))?.focus()),yield(0,g.yJ)(q.setHighlightedElement({...e,target:s,disableScrollParentFix:!o,styles:(e=>{let t;if(e&&document.scrollingElement){let i=en()(e);i&&i.scrollHeight>i.offsetHeight&&(t={spotlight:{marginTop:-document.scrollingElement.scrollTop}})}return t})(d)})),(0,r.xP)("show_empty_work_experience_popup");let{payload:c}=yield(0,g.s)(q.closeHighlightedElement);"button_close"===c.origin&&(0,r.xP)("click_got_it",{label:"empty_work_experience_popup"})}catch(e){J.A.log(e)}}function*e2({payload:e}){try{let t=yield(0,g.Lt)(V.highlightedElementData);e.sectionId===U.G.workExperiences&&t&&(yield(0,g.yJ)(q.setHighlightedElement(null)))}catch(e){J.A.log(e)}}function*e3({payload:e}){let{linkedInProfileURL:t}=e;try{yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({fetchLinkedInProfileStatus:D.Hp.loading}));let{status:e,data:i}=yield(0,g.T1)(v.uE.get,`/linkedin-data-profile/profile?linkedin_profile=${t}`);200!==e||p()(i)?yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({fetchLinkedInProfileStatus:D.Hp.failed})):yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({fetchLinkedInProfileStatus:D.Hp.loaded,errorState:!1,linkedInProfileData:i,currentStep:ee.LO.linkedInProfile}))}catch(e){yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({fetchLinkedInProfileStatus:D.Hp.failed,errorState:!0})),y.A.isAxiosError(e)&&e.response?.status===404&&(e.message=`${e.message}. The requested resume might not exist.`),J.A.log(e)}finally{yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({fetchLinkedInProfileStatus:D.Hp.notAsked}))}}function*e5({payload:e}){let{linkedInProfileURL:t,resumeId:i}=e;try{yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({updateResumeWithLinkedInStatus:D.Hp.loading}));let{status:e,data:n}=yield(0,g.T1)(v.uE.patch,`/linkedin-data-profile/prefill-resume?linkedin_profile=${t}&resume_id=${i}`);200!==e||p()(n)?yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({updateResumeWithLinkedInStatus:D.Hp.failed})):(yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({fetchLinkedInProfileStatus:D.Hp.loaded})),yield(0,g.yJ)(q.resetCreateResumeWithLinkedInFlow()),yield(0,g.yJ)(q.fetchResumeRequest({id:i})),yield(0,g.s)(q.fetchResumeSuccess),yield(0,g.T1)(eU,"createWithLinkedIn"),yield(0,g.yJ)(q.setShowPrefillResumeModal(!1)),(0,r.xP)("prefill_resume_successfully",{label:"li_prefill"}))}catch(e){yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({errorState:!0})),yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({updateResumeWithLinkedInStatus:D.Hp.failed})),J.A.log(e)}finally{yield(0,g.yJ)(q.updateCreateResumeWithLinkedInState({updateResumeWithLinkedInStatus:D.Hp.notAsked}))}}function*e4(){let e=yield(0,g.Lt)(V.resume);try{(0,r.xP)("start_ai_review"),yield(0,g.yJ)(q.setAiResumeReviewStatus(D.Hp.loading));let{status:t,data:i}
8252=yield(0,g.T1)(v.uE.post,`/resumes/${e?.id}/ai-resume-full-review`);200!==t||p()(i)?(yield(0,g.yJ)(q.setAiResumeReviewStatus(D.Hp.failed)),(0,r.xP)("see_ai_review_error")):(yield(0,g.yJ)(q.setAiResumeReviewResult(i)),yield(0,g.yJ)(q.setAiResumeReviewStatus(D.Hp.loaded)),(0,r.xP)("generate_ai_review_successfully",{score:i?.scoreHeadline}))}catch(e){yield(0,g.yJ)(q.setAiResumeReviewStatus(D.Hp.failed)),(0,r.xP)("see_ai_review_error"),J.A.log(e)}}function*e6(){let e=yield(0,g.Lt)(V.resume);try{yield(0,g.yJ)(q.setAiResumeReviewStatus(D.Hp.loading));let{status:t,data:i}=yield(0,g.T1)(v.uE.get,`/resumes/${e?.id}/ai-resume-full-review/last-review`);200!==t||p()(i)?(yield(0,g.yJ)(q.setAiResumeReviewResult(null)),yield(0,g.yJ)(q.setAiResumeReviewStatus(D.Hp.notAsked))):(yield(0,g.yJ)(q.setAiResumeReviewResult(i)),yield(0,g.yJ)(q.setAiResumeReviewStatus(D.Hp.loaded)))}catch(e){yield(0,g.yJ)(q.setAiResumeReviewStatus(D.Hp.failed)),J.A.log(e)}}function*e8(e){let t=yield(0,g.Lt)(V.resume),i=e.payload?.jobTarget||t?.position;try{(0,r.xP)("start_ai_review"),yield(0,g.yJ)(q.setAiResumeReviewStatusV2(D.Hp.loading));let{data:e}=yield(0,g.T1)(v.R3.post,`/resumes/${t?.id}/review`,{jobTarget:i,locale:t?.locale});p()(e)?(yield(0,g.yJ)(q.setAiResumeReviewStatusV2(D.Hp.failed)),(0,r.xP)("see_ai_review_error")):(yield(0,g.yJ)(q.setAiResumeReviewResultV2(e)),yield(0,g.yJ)(q.setAiResumeReviewStatusV2(D.Hp.loaded)),(0,r.xP)("generate_ai_review_successfully"))}catch(e){yield(0,g.yJ)(q.setAiResumeReviewStatusV2(D.Hp.failed)),(0,r.xP)("see_ai_review_error"),J.A.log(e)}}function*e9(){let e=yield(0,g.Lt)(V.resume);try{yield(0,g.yJ)(q.setAiResumeReviewStatusV2(D.Hp.loading));let{data:t}=yield(0,g.T1)(v.R3.get,`/resumes/${e?.id}/review`);p()(t)?(yield(0,g.yJ)(q.setAiResumeReviewResultV2(null)),yield(0,g.yJ)(q.setAiResumeReviewStatusV2(D.Hp.notAsked))):(yield(0,g.yJ)(q.setAiResumeReviewResultV2(t)),yield(0,g.yJ)(q.setAiResumeReviewStatusV2(D.Hp.loaded)))}catch(e){if(y.A.isAxiosError(e)&&e.response?.status===404){yield(0,g.yJ)(q.setAiResumeReviewResultV2(null)),yield(0,g.yJ)(q.setAiResumeReviewStatusV2(D.Hp.notAsked));return}yield(0,g.yJ)(q.setAiResumeReviewStatusV2(D.Hp.failed)),J.A.log(e)}}function*e7(){let e=yield(0,g.Lt)(V.resume),{reviewResultV2:t}=yield(0,g.Lt)(V.aiResumeReview);if(!e||!t)return;let i=t.data?.appliedActions??{};try{yield(0,g.T1)(v.R3.put,`/resumes/${e.id}/review`,{data:{appliedActions:i}})}catch(e){J.A.log(e)}}function*te(){let{jobExternalSlugId:e,forceAnalysisStep:t}=yield(0,g.Lt)(V.autoTailoringFromJobBoard);if(!e)return;let i=yield(0,g.T1)(eg),r=(0,eu.L$)(i);if(t&&!i.data?.stepByStepFlow?.currentStep){if(r){yield(0,g.Zy)(eI,{jobExternalSlugId:e}),yield(0,g.yJ)(q.setAutoTailoringState({isNotEnoughDataModalOpen:!0}));return}yield(0,g.yJ)(q.setIsResumeAnalysisModalOpen(!0))}else yield(0,g.Zy)(eI,{jobExternalSlugId:e})}function*tt(){let e=new AbortController;try{yield(0,g.yJ)(q.setAutoTailoringState({fetchStatus:D.Hp.loading,isResultModalOpen:!0}));let{temporaryJobPostingAPIData:t,resumeScoreAPIData:i,customEvidences:r}=yield(0,g.Lt)(V.optimizerSection),n=yield(0,g.T1)(eg);if(!i||!t)throw Error("Score data is not set");let o={...i,requirements:i.requirements.map((e,t)=>({...e,evidence:r.requirements[t]||e.evidence})),niceToHave:i.niceToHave.map((e,t)=>({...e,evidence:r.niceToHave[t]||e.evidence})),jobPostingId:t.id},{data:a}=yield(0,g.T1)(v.R3.post,`/resumes/${n.id}/tailoring`,o,{signal:e.signal}),l=a.updatedResume;yield(0,g.yJ)(q.setAutoTailoringState({fetchStatus:D.Hp.loaded,data:{...a,updatedResume:l}}))}catch(e){J.A.log(e),yield(0,g.yJ)(q.setAutoTailoringState({fetchStatus:D.Hp.failed}))}finally{(yield(0,g.KW)())&&e.abort()}}function*ti(){for(;;){yield(0,g.s)(q.startAutoTailoring);let e=yield(0,g.Zy)(tt),{reset:t}=yield(0,g.O4)({reset:(0,g.s)(q.resetAutoTailoringState),completed:(0,g.fj)(e)});t&&(yield(0,g.ZT)(e))}}function*tr({payload:e}){let{showInBuilderSnackbar:t}=e;try{yield(0,g.yJ)(q.setAutoTailoringState({approveTailoredResumeStatus:D.Hp.loading}));let{data:e}=yield(0,g.Lt)(V.autoTailoringState);if(!e)throw Error("Auto tailoring data or score data is not set");let{updatedResume:i,resumeScore:r}=e,{enabled:n,mode:o,jobCardId:a,source:l,autoApplyReturnTo:s}=yield(0,g.Lt)(V.autoTailoringFromJobBoard),d=yield(0,g.T1)(eg),c=yield(0,g.Lt)(V.temporaryJobPostingAPIData),u=yield(0,g.Lt)(k.Tp.userData),p=c.id,h=function e(t){if(Array.isArray(t))return t.map(t=>e(t));if("object"==typeof t&&null!==t){let i={...t};return"id"in i&&(i.id=null),"isDateUntilPresent"in i&&null===i.isDateUntilPresent&&(i.isDateUntilPresent=!1),"isMonthUntilHidden"in i&&null===i.isMonthUntilHidden&&(i.isMonthUntilHidden=!1),"isMonthFromHidden"in i&&null===i.isMonthFromHidden&&(i.isMonthFromHidden=!1),"dateUntil"in i&&"isDateUntilPresent"in i&&"Present"===i.dateUntil&&(i.dateUntil=null,i.isDateUntilPresent=!0),Object.keys(i).reduce((t,r)=>(t[r]=e(i[r]),t),{})}return t}(i),{data:x}=yield(0,g.T1)(v.uE.post,`/resumes/${d.id}/duplicate`),{data:m}=yield(0,g.T1)(v.uE.get,`/resumes/${x.id}`),y={...m,...h,name:h.name&&""!==h.name.trim()&&"Untitled"!==h.name.trim()?h.name:[h.firstName,h.lastName,"Resume"].filter(
8252Boolean).join("_"),autoTailored:!0,originalResumeId:d.id,jobPostingId:p,averageScore:(0,B.n)(r.score.finalWeightedScore),jobTitle:c.jobTitle,companyName:c.companyName,customSections:m.customSections};if(yield(0,g.T1)(v.uE.patch,`/resumes/${m.id}`,y),l===ee._r.autoApply&&s){let e=s.includes("?")?"&":"?";(0,P.o)(`${s}${e}resume_id=${m.id}`);return}if(n&&a){if(yield(0,g.T1)(v.R3.post,"/job-postings/update_selected_resume",{user_id:u.id,resume_id:m.id,job_posting_id:p,job_card_id:a}),u?.hasPremiumFeatures){let e;return void(0,P.o)((e=es({mode:o,jobCardId:a,showResumeTailoredBanner:!0}),`/job-tracking?${e.toString()}`))}(0,P.o)(`/resumes/${m.id}/edit`),t?.();return}(0,P.o)("/?tab=resume&autotailored=true&scrollTo=documents"),yield(0,g.yJ)(C.o1.showRDUpsellGetStartedModal()),yield(0,g.yJ)(w.o1.fetchDocuments())}catch(e){yield(0,g.yJ)(q.setAutoTailoringState({approveTailoredResumeStatus:D.Hp.failed})),J.A.log(e),yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!0,type:S.pN.failure,text:"Could not save auto tailored resume due to following error: "+(e instanceof Error?e.message:String(e))})),yield(0,g.cb)(3e3),yield(0,g.yJ)(S.o1.setSnackBarOpen({status:!1,type:S.pN.failure}))}}let tn=function*(){yield(0,g.Q7)([(0,g.jP)(q.fetchResumeRequest,eb),(0,g.jP)(q.updateSimpleField,eC),(0,g.jP)(q.updateTemplate,ew),(0,g.jP)(q.updateCard,eC),(0,g.jP)(q.addCard,ek),(0,g.jP)(q.addCardSubItem,eC),(0,g.jP)(q.deleteCardSubItem,eC),(0,g.jP)(q.moveCardSubItem,eC),(0,g.jP)(q.addCustomSection,(0,T.i)(T.y),eS),(0,g.jP)(q.deleteCard,eC),(0,g.jP)(q.deleteAllSkills,eC),(0,g.jP)(q.moveCard,eC),(0,g.jP)(q.moveSection,eC),(0,g.jP)(q.renameSection,eC),(0,g.jP)(q.prefillResume,eA),(0,g.p8)(q.deleteSection,eC),(0,g.p8)(q.uploadPhoto,(0,T.i)(T.y),eT),(0,g.p8)(q.deletePhoto,(0,T.i)(T.y),eP),(0,g.p8)(q.startResumeUpdate,ej),(0,g.p8)(A.o1.setInternetConnectionStatus,eJ),(0,g.p8)(q.startResumeOptimizerProcess,ez),(0,g.p8)(q.resetResumeOptimizerProcess,ez),(0,g.Zy)(eD),(0,g.p8)(q.deleteJobPosting,eH),(0,g.p8)(q.editJobDetails,eV),(0,g.p8)(q.generateTailoredAICoverLetter,eK),(0,g.p8)(q.startManualTailoring,eF),(0,g.p8)(q.parseAndSavePrefilledResume,eW),(0,g.p8)(q.generateAICVUntailored,eq),(0,g.p8)(q.fetchLinkedInProfile,eG),(0,g.p8)(q.generateResumeFromLinkedIn,eZ),(0,g.p8)(q.generateResumeFromQuestionnaire,eX),(0,g.p8)(q.extractTextFromVoiceInput,eQ),(0,g.p8)(q.fetchResumeExamples,eY),(0,g.p8)(q.generateResumeFromExample,e0),(0,g.p8)(q.highlightEmptyWorkExperience,e1),(0,g.p8)(q.updateCard,e2),(0,g.p8)(q.fetchCreateResumeWithLinkedInProfile,e3),(0,g.p8)(q.updateResumeWithLinkedInProfile,e5),(0,g.p8)(q.startAiResumeReview,e4),(0,g.p8)(q.getLatestAiResumeReview,e6),(0,g.p8)(q.startAiResumeReviewV2,e8),(0,g.p8)(q.getLatestAiResumeReviewV2,e9),(0,g.p8)(q.applyAiReviewAction,e7),(0,g.p8)(q.initAutoTailoringFromJobBoard,te),(0,g.Zy)(ti),(0,g.p8)(q.saveAutoTailoredResume,tr)])};i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698);var to=i(2543),ta=i(44888),tl=i(90019),ts=i(29123);let td={};function tc(e){td[e.id]=e}function*tu(e){e.payload&&tc(e.payload)}function*tp(){let e=yield(0,g.Lt)(V.resume),t=e.id,i=yield(0,g.Lt)(V.resumeEventTrackedSections),n=function(e,t){let i=td[e.id];if(!i)return!1;let r=["activities","hobbies","internships","references","customSections"],n=e=>r.includes(e)?"other":(0,tl.C)(e),o=new Set(t[e.id]);return(0,ta.$)(e.profile||"")!==(0,ta.$)(i.profile||"")&&o.add("profile"),(e.position||"")!==(i.position||"")&&o.add("job_title"),["courses","educations","languages","skills","workExperiences","socialProfiles","activities","hobbies","internships","references","customSections"].forEach(t=>{let r=e[t]||[],a=i[t]||[];r.forEach(i=>{let r=a.find(e=>e.id===i.id);if(r||(0,ts.e)(i,t))r&&!(0,to.isEqualWith)(i,r,(e,t,i)=>{if("position"===i||"updatedAt"===i||"employerProfilesAttributes"===i)return!0})?o.add(n(t)):tc(e);else o.add(n(t))}),a.forEach(e=>{r.some(t=>t.id===e.id)||o.add(n(t))})}),Array.from(o)}(e,i[t]||[]);if(n){let o=n.filter(e=>!i[t]?.includes(e));if(o.length){o.forEach(e=>{(0,r.xP)("change_resume_field_content",{section:e,resume_id:t})});let n=(0,to.merge)({},i,{[t]:[...i[t]||[],...o]});tc(e),yield(0,g.yJ)(q.setResumeEventTrackedSections(n))}}}let th=function*(){yield(0,g.Q7)([(0,g.jP)(q.fetchResumeSuccess,tu),(0,g.p8)(q.updateResumeSuccess,tp)])};i(81148);var tx=i(12055),tm=i(69208),tg=i(44706);let ty={companyName:"",jobTitle:"",role:""},tf={currentStep:D.$R.linkedInPrefill,linkedInProfileURL:"",fetchingLinkedInProfile:!1,linkedInProfileData:{fullName:"",position:"",avatar:""}},tb={dateFrom:"",dateUntil:"",isMonthFromHidden:!1,isDateUntilPresent:!1,isMonthUntilHidden:!1},t_={step:1,progress:0,activeAccomplishmentsTab:tg.DF.voice_input,accomplishmentsVoiceProcessingStatus:D.Nh.notStarted,accomplishmentsVoiceInputError:null,accomplishmentsAudio:[],accomplishmentsAudioDuration:0,goalsVoiceProcessingStatus:D.Nh.notStarted,goalsVoiceInputError:null,activeGoalsTab:tg.DF.voice_input,goalsAudio:[],goalsAudioDuration:0,userInput:{workExperience:{cards:[{id:(0,tx.A)(),position:"",company:"",date:tb,errors:{position:!1,company:!1,dateFrom:!1,dateUntil:!1},isCollapsed:!1}
8252],confirmDeleteCardId:""},desiredPosition:"",education:{cards:[{id:(0,tx.A)(),institute:"",degree:"",date:tb,isCollapsed:!1}]},currentSkills:[],pastAccomplishments:"",futureGoals:""}},tv={showAIResumeModal:!1,aiResumeFlow:D.Z2.LinkedIn,linkedInData:tf,questionnaireData:t_,generateResumeStatus:D.bo.notStarted,showWarningModal:!1,warningModalType:null,warningModalAction:null},tj={id:0},tA={showCreateResumeWithLinkedInModal:!1,currentStep:ee.LO.linkedInURL,fetchLinkedInProfileStatus:D.Hp.notAsked,errorState:!1,linkedInProfileURL:"",linkedInProfileData:null,updateResumeWithLinkedInStatus:D.Hp.notAsked},tC={fetchStatus:D.Hp.notAsked,reviewResult:null,fetchStatusV2:D.Hp.notAsked,reviewResultV2:null,jobTitleRequired:!1},tw={enabled:!1,mode:ee.gb.fromPublicJB,jobCardId:null,jobExternalSlugId:null,selectedRecommendedJob:null,source:null,autoApplyReturnTo:null,autoApplyCopilotId:null,autoApplyJobId:null,isUploadedResumeScoreModalOpen:!1,forceAnalysisStep:!1},tk={isResultModalOpen:!1,fetchStatus:D.Hp.notAsked,approveTailoredResumeStatus:D.Hp.notAsked,data:null,isNotEnoughDataModalOpen:!1},tS={jobPostingLinkForModal:"",fetchScoreStatus:D.Hp.notAsked,fetchTemporaryJobPostingStatus:D.Hp.notAsked,showManualInputScreen:!1,temporaryJobPostingAPIData:null,resumeScoreAPIData:null,manualInput:ty,customEvidences:{niceToHave:{},requirements:{}},isAnalysisModalOpen:!1},tT={attachedJobPostingAPIData:null,deleteJobPostingStatus:D.Hp.notAsked,attachJobPostingStatus:D.Hp.notAsked,fetchJobPostingStatus:D.Hp.notAsked},tP={isLoading:!1,isSyncing:!1,prefill:{status:ee.xs.notAsked,provider:ee.lr.topresume},isUploadingPhoto:!1,resume:null,openedCards:{},openedSections:{},levels:null,templates:[],error:null,editJobPosting:!1,openedAISuggestionsPopup:null,viewGenerateCLBannerEventTracked:!1,optimizerSection:tS,attachedJobPostingState:tT,prefillResumeSection:{resumeValidationStatus:D.fA.notStarted,selectedResume:null,isSavingPrefilledResume:!1,validationError:null,resumeUploadStatus:D.R4.notStarted,error:null,errorSource:null,successStatus:!1},isEditJobDetails:!1,showToolTip:!1,companyName:"",jobTitle:"",isClickedOnDeleteJobPosting:!1,isClickedOnEditJobDetails:!1,isFromJobTracker:!1,isOpenSavingInfoBanner:!1,changeJobPostingLink:!1,isClickedOnAiCVBanner:!1,hasUsedAiProfileWriter:!1,AICoverLetter:{isClickedOnAiCVEditJobDetails:!1,isClickedOnAiCVEditModalIcon:!1,isEditJobDetailsFocused:!1,isOpenAICVOptimizerModal:!1,generateAICoverLetterStatus:D.Hp.notAsked,aICVEditedJobTitle:null,aICVEditedCompanyName:null,isShowUntailoreView:!1},isAiProfileSummaryModalOpen:!1,aiResume:tv,useExample:{showUseExampleModal:!1,resumeExamples:[],fetchingResumeExamples:!1,currentPage:0,totalPages:0,categories:[],jobTitles:[],selectedCategoryId:0,searchedTitle:""},viewTailoringBannerEventTracked:!1,highlightedElementData:null,openedKeywordsModalType:null,autoTailoringFromJobBoard:tw,resumeEventTrackedSections:{},analysisContentTrackedFields:[],resumeDownloadData:tj,isPageScrolled:!1,createResumeWithLinkedIn:tA,stepByStepFlow:{shouldRedirectToAdditionalStep:!1,isResumeReadyShown:!1},editorPanelType:"editor",aiResumeReview:tC,autoTailoringState:tk};function tJ(e,t,i){if(!isNaN(Number(t))||i){let i=e.customSections.findIndex(e=>e.externalId===t);return e.customSections[i].items}return t===U.G.accomplishments||t===U.G.powerStatement||t===U.G.publications||t===U.G.profile||t===U.G.metadata?[]:e[t]}let tE=(0,W.vy)(tP,e=>{e.addCase(q.changeEditorState,(e,{payload:t})=>{e=Object.assign(e,t)}),e.addCase(q.fetchResumeRequest,(e,{payload:t})=>{e.isLoading=!0,t.keepResumeData||(e.resume=null),e.error=null,e.viewGenerateCLBannerEventTracked=!1,e.viewTailoringBannerEventTracked=!1}),e.addCase(q.fetchResumeFail,(e,t)=>{e.isLoading=!1,e.error=t.payload}),e.addCase(q.fetchResumeSuccess,(e,t)=>{e.isLoading=!1,e.resume=t.payload,e.hasUsedAiProfileWriter=!1,e.aiResumeReview.jobTitleRequired=!1,e.stepByStepFlow.isResumeReadyShown=!1}),e.addCase(q.updateSimpleField,(e,t)=>{var i;if(!e.resume)return;let{name:r,value:n}=t.payload;i=e.resume,i[r]=n,e.isSyncing=!0}),e.addCase(q.updateCard,(e,t)=>{if(!e.resume)return;let{sectionId:i,cardId:r,values:n,isCustom:o}=t.payload,a=tJ(e.resume,i,o),l=a.findIndex(e=>e.id===r||e.cid===r);a[l]={...a[l],...n},e.isSyncing=!0}),e.addCase(q.addCard,(e,{payload:t})=>{let i;if(!e.resume)return;let{sectionName:r,cardId:n,options:o={}}=t,{position:a="after",fields:l,shouldOpen:s}=o,d=e.resume.customSections.findIndex(e=>e.id===r||e.externalId===r);-1!==d?(i=Q(U.G.custom,n,l),e.resume.customSections[d].items.push(i)):r in e.resume&&(0!==e.resume[r].length||e.resume.sectionsOrder.some(e=>e===r)||r===U.G.socialProfiles||r===U.G.skillCategories||e.resume.sectionsOrder.push(r),i=Q(r,n,l),((e,t,i="after")=>{"before"===i?e.unshift(t):e.push(t)})(e.resume[r],i,a)),e.isSyncing=!0,s&&i&&(e.openedCards={...e.openedCards,[r]:{...e.openedCards[r],[i.id]:!0}},e.openedSections[r]=!0)}),e.addCase(q.deleteCard,(e,{payload:t})=>{if(!e.resume)return;let{sectionName:i,cardId:r,isCustom:n}=t,o=tJ(e.resume,i,n),a=o.findIndex(e=>e.id===r||e.cid===r);o.splice(a,1),e.isSyncing=!0}),e.addCase(q.deleteAllSkills,e=>{e.resume?.skills.length&&(e.resume.skills=[],e.isSyncing=!0)}),e.addCase(q.moveCard,(e,{payload:t})=>{if(!e.resume||t.sectionId===U.G.accomplishments||t.sectionId===U.G.powerStatement||t.sectionId===U.G.publications||t.sectionId===U.G.profile||t.sectionId===U.G.metadata)return;let{oldIndex:i,newIndex:r,sectionId:n}=t,{resume:o}=e,l=isNaN(Number(n))?o[n]:a()(o.customSections,{externalId:n})?.items;if(l){let[t]=l.splice(i,1);l.splice(r,0,t),e.isSyncing=!0}}),e.addCase(q.addCardSubItem,(e,{payload:t})=>{if(!e.resume)return;let{sectionName:i,cardId:r}=t;if(i===U.G.technicalProficiencyCategories){let t=e.resume.technicalProficiencyCategories.find(e=>e.id===r||e.cid===r);if(t){t.items?.length||(t.items=[]);let e={...Q(U.G.skills),positionInCategory:t.items.length+1};t.items.push(e)}}e.isSyncing=!0}),e.addCase(q.moveCardSubItem,(e,{payload:t})=>{if(!e.resume)return;let{oldIndex:i,newIndex:r,sectionId:n,cardId:o}=t;if(n===U.G.skillCategories){let t=e.resume.skillCategories.find(e=>e.id===o||e.cid===o);if(t){var a,l;let n=(a=e.resume.skills,(l=t.id)?a.filter(e=>e.skillCategoryId===l).sort((e,t)=>
8252(e.positionInCategory??0)-(t.positionInCategory??0)):[]),[o]=n.splice(i,1);n.splice(r,0,o),n.forEach((e,t)=>{e.positionInCategory=t+1})}}if(n===U.G.technicalProficiencyCategories){let t=e.resume.technicalProficiencyCategories.find(e=>e.id===o||e.cid===o);if(t){let[e]=t.items.splice(i,1);t.items.splice(r,0,e),t.items.forEach((e,t)=>{e.positionInCategory=t+1})}}e.isSyncing=!0}),e.addCase(q.deleteCardSubItem,(e,{payload:t})=>{if(!e.resume)return;let{sectionName:i,cardId:r,subItemId:n}=t;if(i===U.G.technicalProficiencyCategories){let t=e.resume.technicalProficiencyCategories.find(e=>e.id===r||e.cid===r);if(t){let e=t.items.findIndex(e=>e.id===n||e.cid===n);-1!==e&&(t.items.splice(e,1),t.items.forEach((e,t)=>{e.positionInCategory=t+1}))}}e.isSyncing=!0}),e.addCase(q.moveSection,(e,{payload:t})=>{if(!e.resume)return;let{offset:i,sectionId:r}=t,{sectionsOrder:n}=e.resume,o=n.indexOf(r);if(-1!==o){let[t]=n.splice(o,1);n.splice(o+i,0,t),e.isSyncing=!0}}),e.addCase(q.setCustomSection,(e,t)=>{if(!e.resume)return;let{externalId:i,type:r,title:n}=t.payload;e.resume.customSections.push({externalId:i,type:r||"advanced",title:n,items:[]}),e.resume.sectionsOrder.push(`custom:${i}`),e.isSyncing=!0}),e.addCase(q.renameSection,(e,t)=>{if(!e.resume)return;let{id:i,value:r}=t.payload;if(i in U.G)null===r?delete e.resume.sectionTitles[i]:0===Z()(r).length?e.resume.sectionTitles[i]="":e.resume.sectionTitles[i]=Z()(r).slice(0,80);else{let t=e.resume.customSections.find(e=>e.externalId===i);t&&(t.title=r)}e.isSyncing=!0}),e.addCase(q.deleteSection,(e,t)=>{if(!e.resume||t.payload.id===U.G.accomplishments||t.payload.id===U.G.publications||t.payload.id===U.G.powerStatement||t.payload.id===U.G.profile)return;let{id:i,options:r}=t.payload,n=r?.isCustom?r.sortId:i;!isNaN(Number(i))||r?.isCustom?e.resume.customSections=e.resume.customSections.filter(e=>e.externalId!==i):(i===U.G.metadata||(e.resume[i]=[]),delete e.resume.sectionTitles[i]),e.resume.sectionsOrder=e.resume.sectionsOrder.filter(e=>e!==n),i===U.G.references&&(e.resume.referencesUponRequest=!1),e.isSyncing=!0}),e.addCase(q.updateResumeFail,(e,t)=>{e.isSyncing=!1,e.error=t.payload||null}),e.addCase(q.updateResumeSuccess,(e,t)=>{e.isSyncing=!1,e.resume=t.payload}),e.addCase(q.setOpenedSections,(e,t)=>{for(let i in e.openedSections={...e.openedSections,...t.payload},e.openedSections)e.openedSections[i]||delete e.openedCards[i]}),e.addCase(q.openCard,(e,t)=>{if(!t.payload||!t.payload.id)return;let{sectionId:i,id:r}=t.payload;e.openedSections[t.payload.sectionId]=!0,e.openedCards[i]={...e.openedCards[i],[r]:!0}}),e.addCase(q.toggleCard,(e,t)=>{let{sectionId:i,id:r}=t.payload;r&&(e.openedSections[t.payload.sectionId]=!0,e.openedCards[i]={...e.openedCards[i],[r]:!e.openedCards[i]?.[r]})}),e.addCase(q.toggleAllCardsInSection,(e,t)=>{let{sectionId:i}=t.payload;if(i===U.G.metadata)return;let r=isNaN(Number(i))?"object"==typeof e.resume?.[i]?e.resume?.[i]:[]:e.resume?.customSections.find(e=>e.externalId===i)?.items;if(!Array.isArray(r)||0===r.length)return;let n=r?.every(t=>!!e.openedCards[i]?.[t.cid||t.id||""]),o={...e.openedCards[i]};r?.forEach(e=>{o[e.cid||e.id||""]=!n}),e.openedCards[i]=o}),e.addCase(q.closeAllCards,(e,t)=>{let{except:i}=t.payload??{};if(!i||0===i.length){e.openedCards={};return}let r=i.reduce((t,i)=>{if(!i.id||!i.sectionId)return t;let r=e.openedCards[i.sectionId]?.[i.id];return void 0===r||(t[i.sectionId]={...t[i.sectionId],[i.id]:r}),t},{});e.openedCards=r}),e.addCase(q.setPrefillStatus,(e,t)=>{e.prefill={...e.prefill,status:t.payload}}),e.addCase(q.setIsEditJobPosting,(e,t)=>{e.editJobPosting=t.payload}),e.addCase(q.setFetchResumeScoreStatus,(e,t)=>{e.optimizerSection.fetchScoreStatus=t.payload}),e.addCase(q.setAttachJobPostingStatus,(e,t)=>{e.attachedJobPostingState.attachJobPostingStatus=t.payload}),e.addCase(q.setJobPostingLinkForModal,(e,t)=>{e.optimizerSection.jobPostingLinkForModal=t.payload}),e.addCase(q.setResumeScoreAPIResponse,(e,t)=>{e.optimizerSection.resumeScoreAPIData=t.payload}),e.addCase(q.setFetchTemporaryJobPostingStatus,(e,t)=>{e.optimizerSection.fetchTemporaryJobPostingStatus=t.payload}),e.addCase(q.setFetchJobPostingStatus,(e,t)=>{e.attachedJobPostingState.fetchJobPostingStatus=t.payload}),e.addCase(q.setDeleteJobPostingStatus,(e,t)=>{e.attachedJobPostingState.deleteJobPostingStatus=t.payload}),e.addCase(q.resetResumeScoreAPIResponse,e=>{e.optimizerSection.resumeScoreAPIData=null,e.optimizerSection.fetchScoreStatus=D.Hp.notAsked}),e.addCase(q.setShowManualInputScreen,(e,t)=>{e.optimizerSection.showManualInputScreen=t.payload}),e.addCase(q.setTemporaryJobPostingAPIData,(e,t)=>{e.optimizerSection.temporaryJobPostingAPIData=t.payload}),e.addCase(q.saveJobPostingAPIData,(e,t)=>{if(t.payload){e.attachedJobPostingState.attachedJobPostingAPIData=t.payload;return}e.attachedJobPostingState.attachedJobPostingAPIData=e.optimizerSection.temporaryJobPostingAPIData,e.optimizerSection.temporaryJobPostingAPIData=null}),e.addCase(q.resetAttachedJobPostingState,e=>{e.attachedJobPostingState=tT}),e.addCase(q.setOpenedAISuggestionsPopup,(e,t)=>{e.openedAISuggestionsPopup=t.payload,t.payload===ee.jK.skills&&(e.openedSections[U.G.skills]=!0),t.payload===ee.jK.jobTitle&&(e.openedSections[U.G.details]=!0)}),e.addCase(q.setIsEditJobDetails,(e,t)=>{e.isEditJobDetails=t.payload}),e.addCase(q.ShowToolTip,(e,t)=>{e.showToolTip=t.payload}
8252),e.addCase(q.setEditJobTitle,(e,t)=>{e.jobTitle=t.payload}),e.addCase(q.setEditCompanyName,(e,t)=>{e.companyName=t.payload}),e.addCase(q.setIsClickedOnDeleteJobPosting,(e,t)=>{e.isClickedOnDeleteJobPosting=t.payload}),e.addCase(q.setChangeJobPostingLink,(e,t)=>{e.changeJobPostingLink=t.payload}),e.addCase(q.setIsClickedOnEditJobDetails,(e,t)=>{e.isClickedOnEditJobDetails=t.payload}),e.addCase(q.setResumeOptimizerManualInput,(e,t)=>{let i={...e.optimizerSection.manualInput},{name:r,value:n}=t.payload;i[r]=n,e.optimizerSection.manualInput=i}),e.addCase(q.resetResumeOptimizerManualInput,e=>{e.optimizerSection.manualInput={...ty}}),e.addCase(q.setFromJobTracker,(e,t)=>{e.isFromJobTracker=t.payload}),e.addCase(q.setOpenSavingInfoBanner,(e,t)=>{e.isOpenSavingInfoBanner=t.payload}),e.addCase(q.setResumeValidationStatus,(e,t)=>{e.prefillResumeSection.resumeValidationStatus=t.payload}),e.addCase(q.setResumeForPrefill,(e,t)=>{e.prefillResumeSection.selectedResume=t.payload}),e.addCase(q.setIsSavingPrefilledResume,(e,t)=>{e.prefillResumeSection.isSavingPrefilledResume=t.payload}),e.addCase(q.setResumeValidationError,(e,t)=>{e.prefillResumeSection.validationError=t.payload.error,e.prefillResumeSection.errorSource=t.payload.errorSource}),e.addCase(q.setShowPrefillResumeModal,(e,t)=>{e.resume&&(e.resume.showPrefillResumeModal=t.payload)}),e.addCase(q.setResumeUploadStatus,(e,t)=>{e.prefillResumeSection.resumeUploadStatus=t.payload}),e.addCase(q.setPrefillResumeGenericError,(e,t)=>{e.prefillResumeSection.error=t.payload.error,e.prefillResumeSection.errorSource=t.payload.errorSource}),e.addCase(q.setIsClickedOnAiCVBanner,(e,t)=>{e.isClickedOnAiCVBanner=t.payload}),e.addCase(q.setHasUsedAiProfileWriter,(e,t)=>{e.hasUsedAiProfileWriter=t.payload}),e.addCase(q.setIsEditJobDetailsFocused,(e,t)=>{e.AICoverLetter.isEditJobDetailsFocused=t.payload}),e.addCase(q.setIsClickedOnAiCVEditJobDetails,(e,t)=>{e.AICoverLetter.isClickedOnAiCVEditJobDetails=t.payload}),e.addCase(q.setIsClickedOnAiCVEditModalIcon,(e,t)=>{e.AICoverLetter.isClickedOnAiCVEditModalIcon=t.payload}),e.addCase(q.setOpenAICVOptimizerModal,(e,t)=>{e.AICoverLetter.isOpenAICVOptimizerModal=t.payload}),e.addCase(q.setGenerateAICoverLetterStatus,(e,t)=>{e.AICoverLetter.generateAICoverLetterStatus=t.payload}),e.addCase(q.setAICVEditedJobTitle,(e,t)=>{e.AICoverLetter.aICVEditedJobTitle=t.payload}),e.addCase(q.setAICVEditedCompanyName,(e,t)=>{e.AICoverLetter.aICVEditedCompanyName=t.payload}),e.addCase(q.setShowUntailoreView,(e,t)=>{e.AICoverLetter.isShowUntailoreView=t.payload}),e.addCase(q.setGenerateCLBannerEventTracked,(e,t)=>{e.viewGenerateCLBannerEventTracked=t.payload}),e.addCase(q.setShowAIResumeModal,(e,t)=>{e.aiResume.showAIResumeModal=t.payload}),e.addCase(q.setAIResumeFlow,(e,t)=>{e.aiResume.aiResumeFlow=t.payload}),e.addCase(q.setAIResumeLinkedInStep,(e,t)=>{e.aiResume.linkedInData.currentStep=t.payload}),e.addCase(q.setLinkedInProfileURL,(e,t)=>{e.aiResume.linkedInData.linkedInProfileURL=t.payload}),e.addCase(q.setLinkedInProfileFetchStatus,(e,t)=>{e.aiResume.linkedInData.fetchingLinkedInProfile=t.payload}),e.addCase(q.setLinkedInProfileData,(e,t)=>{e.aiResume.linkedInData.linkedInProfileData=t.payload}),e.addCase(q.setQuestionnaireStep,(e,t)=>{e.aiResume.questionnaireData.step=t.payload}),e.addCase(q.updateQuestionnaireProgress,(e,t)=>{e.aiResume.questionnaireData.progress=t.payload}),e.addCase(q.setQuestionnaireCardData,(e,t)=>{let{cardType:i,data:r}=t.payload;for(let t of e.aiResume.questionnaireData.userInput[i].cards)t.id===r.id&&Object.assign(t,r)}),e.addCase(q.setConfirmDeleteQuestionnaireCardId,(e,t)=>{let{deleteCardId:i}=t.payload;e.aiResume.questionnaireData.userInput.workExperience.confirmDeleteCardId=i}),e.addCase(q.deleteQuestionnaireCard,(e,t)=>{let{cardType:i,deleteCardId:r}=t.payload,n=e.aiResume.questionnaireData.userInput[i].cards;if(!r)return;let o=n.findIndex(e=>e.id===r);-1!==o&&n.splice(o,1)}),e.addCase(q.collapseQuestionnaireCards,(e,t)=>{let{cardType:i,excludeCardsIds:r=[]}=t.payload;for(let t of e.aiResume.questionnaireData.userInput[i].cards)r.includes(t.id)||(t.isCollapsed=!0)}),e.addCase(q.pushEmptyEducationInQuestionnaire,e=>{e.aiResume.questionnaireData.userInput.education.cards.push({id:(0,tx.A)(),institute:"",degree:"",date:tb,isCollapsed:!1})}),e.addCase(q.pushEmptyWorkExpInQuestionnaire,e=>{e.aiResume.questionnaireData.userInput.workExperience.cards.push({id:(0,tx.A)(),position:"",company:"",date:tb,isCollapsed:!1})}),e.addCase(q.setQuestionnaireWorkExpCardErrors,(e,t)=>{let i=e.aiResume.questionnaireData.userInput.workExperience.cards[0];i&&(i.errors=t.payload)}),e.addCase(q.setAIResumeDesiredPostion,(e,t)=>{e.aiResume.questionnaireData.userInput.desiredPosition=t.payload}),e.addCase(q.resetQuestionnaireData,e=>{e.aiResume.questionnaireData=t_}),e.addCase(q.updateCurrentSkills,(e,t)=>{e.aiResume.questionnaireData.userInput.currentSkills=(0,tm.w)(e.aiResume.questionnaireData.userInput.currentSkills,t.payload)}),e.addCase(q.removeFromCurrentSkills,(e,t)=>{let i=t.payload;e.aiResume.questionnaireData.userInput.currentSkills=e.aiResume.questionnaireData.userInput.currentSkills.filter(e=>e!==i)}),e.addCase(q.resetAIResumeData,e=>{e.aiResume=tv}),e.addCase(q.setGenerateResumeStatus,(e,t)=>{e.aiResume.generateResumeStatus=t.payload}),e.addCase(q.setActiveAccomplishmentsTab,(e,t)=>{e.aiResume.questionnaireData.activeAccomplishmentsTab=t.payload}),e.addCase(q.setActiveGoalsTab,(e,t)=>{e.aiResume.questionnaireData.activeGoalsTab=t.payload}),e.addCase(q.setAccomplishmentsVoiceProcessingStatus,(e,t)=>{e.aiResume.questionnaireData.accomplishmentsVoiceProcessingStatus=t.payload}),e.addCase(q.setGoalsVoiceProcessingStatus,(e,t)=>{e.aiResume.questionnaireData.goalsVoiceProcessingStatus=t.payload}),e.addCase(q.setAccomplishmentsAudio,(e,t)=>{e.aiResume.questionnaireData.accomplishmentsAudio=t.payload}),e.addCase(q.setGoalsAudio,(e,t)=>{e.aiResume.questionnaireData.goalsAudio=t.payload}),e.addCase(q.setAccomplishmentsAudioDuration,(e,t)=>{e.aiResume.questionnaireData.accomplishmentsAudioDuration=t.payload}),e.addCase(q.setGoalsAudioDuration,(e,t)=>{e.aiResume.questionnaireData.goalsAudioDuration=t.payload}),e.addCase(q.setPastAccomplishmentsText,(e,t)=>{e.aiResume.questionnaireData.userInput.pastAccomplishments=t.payload}),e.addCase(q.setFutureGoalsText,(e,t)=>{e.aiResume.questionnaireData.userInput.futureGoals=t.payload}),e.addCase(q.setAccomplishmentsVoiceInputError,(e,t)=>{e.aiResume.questionnaireData.accomplishmentsVoiceInputError=t.payload}),e.addCase(q.setGoalsVoiceInputError,(e,t)=>{e.aiResume.questionnaireData.goalsVoiceInputError=t.payload}),e.addCase(q.setShowAIResumeWarningModal,(e,t)=>{let{showModal:i,type:r}=t.payload;e.aiResume.showWarningModal=i,e.aiResume.warningModalType=i&&r||null}),e.addCase(q.setAIResumeWarningModalAction,(e,t)=>{e.aiResume.warningModalAction=t.payload}),e.addCase(q.setShowUseExamplePopup,(e,t)=>{e.useExample.showUseExampleModal=t.payload}),e.addCase(q.fetchingResumeExamples,(e,t)=>{e.useExample.fetchingResumeExamples=t.payload}),e.addCase(q.setResumeExamplesData,(e,t)=>{Object.assign(e.useExample,t.payload)}),e.addCase(q.setTailorBannerEventTracked,(e,t)=>{e.viewTailoringBannerEventTracked=t.payload}),e.addCase(q.setHighlightedElement,(e,t)=>{e.highlightedElementData=t.payload}),e.addCase(q.closeHighlightedElement,e=>{e.highlightedElementData=null}),e.addCase(q.setOpenedKeywordsModalType,(e,t)=>{e.openedKeywordsModalType=t.payload,t.payload&&(e.openedSections[t.payload]=!0)}
8252),e.addCase(q.setIsAiProfileSummaryModalOpen,(e,t)=>{e.isAiProfileSummaryModalOpen=t.payload.status,t.payload.status&&(e.openedSections[U.G.profile]=!0)}),e.addCase(q.setResumeEventTrackedSections,(e,t)=>{e.resumeEventTrackedSections=t.payload}),e.addCase(q.setResumeDownloadData,(e,t)=>{e.resumeDownloadData=t.payload}),e.addCase(q.resetResumeDownloadData,e=>{e.resumeDownloadData=tj}),e.addCase(q.setIsPageScrolled,(e,t)=>{e.isPageScrolled=t.payload}),e.addCase(q.resetCreateResumeWithLinkedInFlow,e=>{e.createResumeWithLinkedIn=tA}),e.addCase(q.updateCreateResumeWithLinkedInState,(e,t)=>{Object.assign(e.createResumeWithLinkedIn,t.payload)}),e.addCase(q.setIsCustomizeModalOpen,(e,t)=>{e.editorPanelType=t.payload?"customization":"editor"}),e.addCase(q.setStepByStepFlowState,(e,t)=>{Object.assign(e.stepByStepFlow,t.payload)}),e.addCase(q.setEditorPanelType,(e,t)=>{e.editorPanelType=t.payload}),e.addCase(q.setAiResumeReviewStatus,(e,t)=>{e.aiResumeReview.fetchStatus=t.payload}),e.addCase(q.setAiResumeReviewResult,(e,t)=>{e.aiResumeReview.reviewResult=t.payload}),e.addCase(q.setAiResumeReviewStatusV2,(e,t)=>{e.aiResumeReview.fetchStatusV2=t.payload}),e.addCase(q.setAiResumeReviewResultV2,(e,t)=>{e.aiResumeReview.reviewResultV2=t.payload}),e.addCase(q.applyAiReviewAction,(e,t)=>{let i=e.aiResumeReview.reviewResultV2;if(!i)return;let{sectionId:r,actionId:n}=t.payload;i.data||(i.data={}),i.data.appliedActions||(i.data.appliedActions={});let o=i.data.appliedActions[r]??[];o.includes(n)||(i.data.appliedActions[r]=[...o,n])}),e.addCase(q.setAiReviewJobTitleRequired,(e,t)=>{e.aiResumeReview.jobTitleRequired=t.payload}),e.addCase(q.setAutoTailoringFromJobBoard,(e,t)=>{Object.assign(e.autoTailoringFromJobBoard,t.payload)}),e.addCase(q.resetAutoTailoringFromJobBoard,e=>{e.autoTailoringFromJobBoard=tw}),e.addCase(q.setResumeUploadSuccessStatus,(e,t)=>{e.prefillResumeSection.successStatus=t.payload}),e.addCase(q.setIsUploadedResumeScoreForAutoTailoringModalOpen,(e,t)=>{e.autoTailoringFromJobBoard.isUploadedResumeScoreModalOpen=t.payload}),e.addCase(q.setIsResumeAnalysisModalOpen,(e,t)=>{e.optimizerSection.isAnalysisModalOpen=t.payload}),e.addCase(q.editRequirementEvidence,(e,t)=>{let{section:i,index:r,text:n}=t.payload;e.optimizerSection.customEvidences&&(e.optimizerSection.customEvidences[i][r]=n)}),e.addCase(q.deleteResumeAnalysisSkill,(e,t)=>{let{name:i}=t.payload;e.optimizerSection.resumeScoreAPIData&&(e.optimizerSection.resumeScoreAPIData.skills=e.optimizerSection.resumeScoreAPIData.skills.filter(e=>e.name!==i))}),e.addCase(q.setAutoTailoringState,(e,t)=>{Object.assign(e.autoTailoringState,t.payload)}),e.addCase(q.resetAutoTailoringState,e=>{e.autoTailoringState=tk}),e.addCase(q.resetResumeOptimizerProcess,e=>{e.optimizerSection=tS}),e.addCase(q.addAnalysisContentTrackedField,(e,t)=>{e.analysisContentTrackedFields.push(t.payload)}),e.addCase(q.resetAnalysisContentTrackedFields,e=>{e.analysisContentTrackedFields=[]})});var tR=i(64667)},17706:function(e,t,i){"use strict";i.d(t,{K:function(){return s}}),i(44114);var r=i(20646),n=i(44506),o=i(52222);let a=(e,t)=>{let i=(0,n.zz)(e[t.key]),r=i?t.points:0,o=null;return!i&&t.includeSuggest&&(o={type:"simpleField",fieldId:t.fieldId,sectionId:t.sectionId,text:t.text,points:t.points,key:`${t.key}_${t.points}`}),{points:r,suggest:o}};var l=i(64667);let s=e=>{let t=10,i=[];if(!e)return{points:t,suggestions:[]};for(let n of[{key:"profile",fieldId:"profile",sectionId:o.G.profile,points:15,text:r.R.t("builder.resume_score.add_summary"),includeSuggest:!0},{key:"position",fieldId:"position",sectionId:o.G.details,points:10,text:r.R.t("builder.resume_score.add_job_title"),includeSuggest:!0},{key:"email",fieldId:"email",sectionId:o.G.details,points:5,text:r.R.t("builder.resume_score.add_email"),includeSuggest:!0},{key:"countryName",fieldId:"countryName",sectionId:o.G.details,points:2,text:r.R.t("builder.resume_score.add_country_name"),includeSuggest:!0},{key:"city",fieldId:"city",sectionId:o.G.details,points:2,text:r.R.t("builder.resume_score.add_city"),includeSuggest:!0},{key:"phoneNumber",fieldId:"phoneNumber",sectionId:o.G.details,points:1,text:r.R.t("builder.resume_score.add_phone_number"),includeSuggest:!0}]){let r=a(e,n);t+=r.points,r.suggest&&i.push(r.suggest)}for(let r of l.iD.getFields()){let n=l.iD.getScore(e,r);t+=n.points,n.suggest&&i.push(n.suggest)}return{points:t,suggestions:i.sort((e,t)=>
8252t.points-e.points).slice(0,6)}}},64667:function(e,t,i){"use strict";i.d(t,{ep:function(){return d},iD:function(){return c},oi:function(){return s}}),i(18111),i(18237),i(13579),i(22489),i(20116);var r=i(23181),n=i.n(r),o=i(20646),a=i(44506),l=i(52222);let s=(e,t)=>{switch(e){case"workExperiences":case"activities":case"internships":return t[e].find(e=>!(0,a.zz)(e.title||e.employer||e.city||e.dateFrom||e.description));case"educations":return t[e].find(e=>!(0,a.zz)(e.school||e.degree||e.city||e.dateFrom||e.description));case"skills":return t[e].find(e=>!(0,a.zz)(e.skill));case"languages":return t[e].find(e=>!(0,a.zz)(e.language));case"courses":return t[e].find(e=>!(0,a.zz)(e.course||e.institution||e.dateFrom))}},d=(e,t)=>!e||"profile"===t&&!(0,a.zz)(e.profile),c={getScore:(e,t)=>{var i,r,o,l,s,d;let c=e[t.key];"skills"===t.key&&(c=c.filter(e=>(0,a.zz)(e.skill)));let u=(i=t.key,r=c,o=t.points,"skills"===i||((e,t)=>{switch(e){case"workExperiences":case"activities":case"internships":return t.some(e=>(0,a.zz)(e.title||e.employer||e.city||e.dateFrom||e.description));case"educations":return t.some(e=>(0,a.zz)(e.school||e.degree||e.city||e.dateFrom||e.description));case"languages":return t.some(e=>(0,a.zz)(e.language));case"courses":return t.some(e=>(0,a.zz)(e.course||e.institution||e.dateFrom))}return!1})(i,r)?((e,t,i)=>{if(e<=0)return 0;if(1===e||0===i)return t;let r=Math.min(e-1,4);return n()(r).reduce(e=>e+i,t)})(r.length,o.first,o.others):0),p=c.length,h=null,x=(l=p+1,s=t.points.first,d=t.points.others,l<=0?0:1===l?s:0===d||l>5?0:Math.max(d,0));return t.includeSuggest&&(0===u||x>0)&&(h={type:"section",sectionName:t.key,text:t.text,points:0===u?t.points.first:x,key:`${t.key}_${u}_${p}`}),{points:u,suggest:h}},getFields:()=>[{key:l.G.workExperiences,points:{first:25,others:0},text:o.R.t("builder.resume_score.add_employment"),includeSuggest:!0},{key:l.G.educations,points:{first:15,others:0},text:o.R.t("builder.resume_score.add_educations"),includeSuggest:!0},{key:l.G.skills,points:{first:4,others:4},text:o.R.t("builder.resume_score.add_skills"),includeSuggest:!0},{key:l.G.courses,points:{first:5,others:0},text:o.R.t("builder.resume_score.add_courses"),includeSuggest:!1},{key:l.G.activities,points:{first:5,others:0},text:o.R.t("builder.resume_score.add_activities"),includeSuggest:!1},{key:l.G.languages,points:{first:3,others:0},text:o.R.t("builder.resume_score.add_languages"),includeSuggest:!0},{key:l.G.internships,points:{first:2,others:0},text:o.R.t("builder.resume_score.add_internships"),includeSuggest:!0}]}},29123:function(e,t,i){"use strict";i.d(t,{e:function(){return r}});let r=(e,t)=>{if(!e)return!0;switch(t){case"skills":return!e.skill;case"workExperiences":case"internships":case"activities":return!e.title;case"educations":return!e.school;case"languages":return!e.language;case"courses":return!e.course;case"references":return!e.name;default:return!0}}},52222:function(e,t,i){"use strict";i.d(t,{G:function(){return n}});var r,n=((r={}).details="details",r.profile="profile",r.workExperiences="workExperiences",r.educations="educations",r.courses="courses",r.internships="internships",r.activities="activities",r.conferences="conferences",r.volunteerings="volunteerings",r.skills="skills",r.skillCategories="skillCategories",r.languages="languages",r.hobbies="hobbies",r.references="references",r.custom="custom",r.socialProfiles="socialProfiles",r.accomplishments="accomplishments",r.publications="publications",r.powerStatement="powerStatement",r.skillsDescription="skillsDescription",r.motivation="motivation",r.qualifications="qualifications",r.pr="pr",r.technicalSkills="technicalSkills",r.addAdditionalSection="addAdditionalSection",r.metadata="metadata",r.awards="awards",r.licensesAndCertifications="licensesAndCertifications",r.affiliations="affiliations",r.technicalProficiencyCategories="technicalProficiencyCategories",r)},34890:function(e,t,i){"use strict";i.d(t,{Bh:function(){return x},LO:function(){return p},_r:function(){return m},gb:function(){return g},jK:function(){return h},lr:function(){return u},xs:function(){return c}});var r,n,o,a,l,s,d,c=((r={}).notAsked="notAsked",r.skipped="skipped",r.scheduled="scheduled",r.readyToMerge="readyToMerge",r.mergeFailed="mergeFailed",r.rejectFailed="rejectFailed",r.mergedAuto="mergedAuto",r.error="error",r.failed="failed",r.done="done",r.rejected="rejected",r.merged="merged",r),u=((n={}).topresume="topresume",n),p=((o={}).linkedInURL="linkedInURL",o.linkedInProfile="linkedInProfile",o),h=((a={}).jobTitle="jobTitle",a.skills="skills",a),x=((l={}).all="all",l.simple="simple",l.ats="ats",l.professional="professional",l.creative="creative",l.modern="modern",l.free="free",l.withPhoto="with_photo",l.twoColumn="two_column",l.docx="docx",l.customized="customized",l.experts="experts",l),m=((s={}).autoApply="auto_apply",s),g=((d={}).fromPublicJB="auto_tailoring_from_public_job_board",d.fromMemberJB="auto_tailoring_from_member_job_board",d)},28971:function(e,t,i){"use strict";i.d(t,{fB:function(){return b},Ff:function(){return z},hb:function(){return d},al:function(){return W},XN:function(){return a},Kn:function(){return C},Tp:function(){return $},o1:function(){return D},oV:function(){return l},NG:function(){return s}});var r,n,o,a=((r={}).external="external",r.embedded="embedded",r),l=((n={}).pending="pending",n.finished="finished",n.failed="failed",n),s=((o={}).trouble="trouble",o.nearly_perfect="nearly perfect",o.open="open",o.closed="closed",o.expired="expired",o);let d="https://topresume.com/resume-writing?pt=i0QW9X0jKNv3w&utm_source=careerio&utm_medium=cioplatform&utm_campaign=tr_cta_in_cio_critique_v1&utm_content=cta2";var c=i(10498),u=i(1806),p=i(65886),h=i(92890),x=i(67440),m=i(33414),g=i(8037);let y=e=>{if(e.status===l.failed)return e;let t=(0,h.default)((0,u.default)(e.createdAt),300),i=l.pending;if(e.reviewedAt){let i=(0,u.default)(e.reviewedAt);t=(0,x.default)([i,t])}return(0,p.A)(t)&&(i=e.iframeUrl?l.finished:l.failed),{...e,status:i,reviewedAt:(0,c.A)(t)}},f=e=>({id:0,resumeId:0,status:l.pending,createdAt:(0,c.A)(Date.now()),reviewer:{},...e}),b=e=>Math.abs((0,m.F)(e))>=60;var _=i(96540),v=i(16201),j=i(69685),A=i(20646);let C=({reviewedAt:e,status:t},i=15e3)=>{let[r,n]=(0,_.useState)(()=>Date.now());return(0,_.useEffect)(()=>
8252{if(t!==l.pending)return;let e=setInterval(()=>n(Date.now()),i);return()=>clearInterval(e)},[t,i]),(0,_.useMemo)(()=>e&&(0,v.A)((0,u.default)(e))?(0,j.Io)(e,r):A.R.t("time.use_time_left_formatter.few_minutes"),[r,e])};i(18111),i(22489);var w=i(68216),k=i(86663),S=i(33093),T=i(49012),P=i(69352),J=i(57238),E=i(36925),R=i(28363);i(20116),i(61701);var L=i(50014),N=i.n(L),I=i(33031),M=i.n(I),B=i(60258);let D={sendResume:(0,B.VP)("builder/SEND_RESUME_TO_REVIEW"),fetchCritiques:(0,B.VP)("builder/FETCH_RESUME_CRITIQUES"),setCritiquesFetchStatus:(0,B.VP)("builder/SET_RESUME_CRITIQUES_STATUS"),setCritiques:(0,B.VP)("builder/SET_RESUME_CRITIQUES"),sendResumeToCritique:(0,B.VP)("builder/SEND_RESUME_TO_CRITIQUE"),setUserHasAtLeastOneCritique:(0,B.VP)("builder/SET_USER_HAS_AT_LEAST_ONE_CRITIQUE")},$={scenario:e=>P.Tp.feature(e,"resumeReviewScenario")??null,critiquesFetchStatus:e=>e.resumeReview.critiquesFetchStatus,critiques:e=>e.resumeReview.critiques,critique:(e,t)=>e.resumeReview.critiques.find(e=>e.resumeId===t),userHasAtLeastOneCritique:e=>e.resumeReview.userHasAtLeastOneCritique},O={critiquesFetchStatus:g.Hp.notAsked,critiques:[],userHasAtLeastOneCritique:!1},z=(0,B.vy)(O,e=>{e.addCase(D.setCritiquesFetchStatus,(e,t)=>{e.critiquesFetchStatus=t.payload}),e.addCase(D.setCritiques,(e,t)=>{let i=M()(t.payload,e=>+("finished"!==e.status)).map(y),r=N()([...i,...e.critiques],"resumeId");e.critiques=M()(r,e=>-(0,u.default)(e.createdAt).getTime())}),e.addCase(D.setUserHasAtLeastOneCritique,(e,t)=>{e.userHasAtLeastOneCritique=t.payload})});function*F(e){try{let{resumeId:t}=e.payload,{resume_review_scenario:i}=(0,k.parse)(window.location.search),r=null;if(!(yield(0,w.Lt)(J.Tp.premiumAccess)))return;if("string"==typeof i)r=i;else{let{data:e}=yield(0,w.T1)(T.uE.get,"/features/resume-review");r=e.scenario}if(yield(0,w.yJ)(P.o1.setFeatureValue({name:"resumeReviewScenario",value:r})),!r)return;if(r===a.external&&(yield(0,w.T1)(T.uE.post,`/resumes/${t}/send-to-review`)),r===a.embedded){yield(0,w.yJ)(D.setCritiques([f({resumeId:t})]));try{(0,S.xP)("tr_doc_planned_to_be_sent");let e=yield(0,w.T1)(T.uE.post,`/resumes/${t}/critique`);yield(0,w.yJ)(D.setCritiques([e.data.critique])),yield(0,w.yJ)(D.setUserHasAtLeastOneCritique(!0)),yield(0,w.cb)(12e4),yield(0,w.yJ)(D.fetchCritiques())}catch{yield(0,w.yJ)(D.setCritiques([f({resumeId:t,status:l.failed})]))}}}catch{}}function*H(e){try{let{resumeId:t}=e.payload,i=yield(0,w.T1)(T.uE.post,`/resumes/${t}/critique`);i&&(yield(0,w.yJ)(D.setCritiques([i.data.critique])),yield(0,w.yJ)(D.setUserHasAtLeastOneCritique(!0)),yield(0,w.cb)(12e4),yield(0,w.yJ)(D.fetchCritiques()))}catch(e){R.A.log(e)}}function*V(){try{yield(0,w.yJ)(D.setCritiquesFetchStatus(g.Hp.loading));let{data:e}=yield(0,w.T1)(T.uE.get,"/resume-critiques");e.critiques.length>0&&(yield(0,w.yJ)(D.setCritiques(e.critiques)),yield(0,w.yJ)(E.o1.setIsTopResumeUser({isTopResumeUser:e.critiques[0]?.isTopResumeUser})),yield(0,w.yJ)(D.setUserHasAtLeastOneCritique(!0))),yield(0,w.yJ)(D.setCritiquesFetchStatus(g.Hp.loaded)),yield(0,w.cb)(12e4),e.critiques.filter(e=>e.status===l.pending).length>0&&(yield(0,w.yJ)(D.fetchCritiques()))}catch{yield(0,w.yJ)(D.setCritiquesFetchStatus(g.Hp.failed))}}function*U(){yield(0,w.cb)(3e4);let e=(yield(0,w.Lt)($.critiques)).filter(e=>e.status===l.pending);0!==e.length&&(yield(0,w.yJ)(D.setCritiques(e)))}let W=function*(){yield(0,w.Q7)([(0,w.p8)(D.sendResume,F),(0,w.p8)(D.fetchCritiques,V),(0,w.p8)(D.setCritiques,U),(0,w.p8)(D.sendResumeToCritique,H)])}},26215:function(e,t,i){"use strict";i.d(t,{OR:function(){return l},CG:function(){return u},p4:function(){return 8},Lk:function(){return o},_5:function(){return p},Pf:function(){return x},bo:function(){return a},lP:function(){return c},o1:function(){return b},Tp:function(){return _},h1:function(){return s},Ff:function(){return j},al:function(){return k},tY:function(){return d},X8:function(){return h},E2:function(){return 30},Xs:function(){return 6},Er:function(){return 10},QP:function(){return 7},Go:function(){return 1}});var r,n=((r={})[r.INTRO=0]="INTRO",r[r.ACCOMPLISHMENTS=1]="ACCOMPLISHMENTS",r[r.RANK_ACCOMPLISHMENTS=2]="RANK_ACCOMPLISHMENTS",r[r.BUILD_STORIES=3]="BUILD_STORIES",r[r.RANK_SKILLS=4]="RANK_SKILLS",r[r.RESULT=5]="RESULT",r);let o={story_1:"",story_2:"",story_3:"",story_4:"",story_5:"",story_6:"",story_7:""},a={id:1,rank:1,isSelected:!1,text:""},l=[{id:1,rank:1,isSelected:!1,description:"",stories:o,skills:[a],error:""},{id:2,rank:2,isSelected:!1,description:"",stories:o,skills:[a],error:""},{id:3,rank:3,isSelected:!1,description:"",stories:o,skills:[a],error:""},{id:4,rank:4,isSelected:!1,description:"",stories:o,skills:[a],error:""},{id:5,rank:5,isSelected:!1,description:"",stories:o,skills:[a],error:""},{id:6,rank:6,isSelected:!1,description:"",stories:o,skills:[a],error:""},{id:7,rank:7,isSelected:!1,description:"",stories:o,skills:[a],error:""}],s="List enjoyable accomplishments from your past including youth, school, early career,and present. Be specific and include concrete examples and tasks.\n\nExample “There was the time when I enjoyed [an accomplishment] . . .”",d=`Select the accomplishments and rank them using 
8253  the dragging tool`,c=`Enjoyable skills are patterns that run through our
8254  lives and careers. Your answers here are key to this 
8255  exercise. List up to 5 skills you think are
8256  meaningful.`,u="When you uncover your enjoyable skills, you’ll be better able to identify jobs that allow you to use them, and recognize other jobs that don’t quite fit.",p=[{id:1,label:"What about it did you enjoy most?",placeholder:"What about it did you enjoy most?",type:"text",name:"story"},{id:2,label:"What did you do best?",placeholder:"What did you do best?",type:"textarea",
8256name:"story"},{id:3,label:"What was your key motivator?",placeholder:"What was your key motivator?",type:"text",name:"story"},{id:4,label:"What led up to your getting involved?",placeholder:"(e.g. I was assigned it, I thought it up)",type:"textarea",name:"story"},{id:5,label:"What was your relationship with others?",placeholder:"(e.g. leader, worked alone, team member)",type:"textarea",name:"story"},{id:6,label:"Describe the environment in which you performed",placeholder:"Describe the environment in which you performed",type:"textarea",name:"story"},{id:7,label:"What was the subject matter?",placeholder:"What was the subject matter?",type:"text",name:"textarea"}],h="Enter at least one enjoyable skill to advance to next story.",x={label:"job_search_assessment"};var m=i(68216),g=i(28363),y=i(49012),f=i(60258);let b={setStep:(0,f.VP)("builder/SEVEN_STORIES_SET_STEP"),setAddAccomplishment:(0,f.VP)("builder/SEVEN_STORIES_SET_ADD_ACCOMPLISHMENT"),setAccomplishmentStatus:(0,f.VP)("builder/SEVEN_STORIES_SET_ADD_ACCOMPLISHMENT_STATUS"),setSaveAccomplishments:(0,f.VP)("builder/SEVEN_STORIES_SET_SAVE_ACCOMPLISHMENTS"),setAssessmentResult:(0,f.VP)("builder/SEVEN_STORIES_SET_ASSESSMENT_RESULT"),fetchAssessmentResult:(0,f.VP)("builder/SEVEN_STORIES_FETCH_ASSESSMENT_RESULT")},_={step:e=>e.sevenStories.step,accomplishment:e=>e.sevenStories.accomplishments,status:e=>e.sevenStories.status,assessmentResult:e=>e.sevenStories.assessmentResult},v={step:n.ACCOMPLISHMENTS,status:{isSuccess:!1},accomplishments:[],assessmentResult:{summary:"",accomplishments:[],skills:[]}},j=(0,f.vy)(v,e=>{e.addCase(b.setAccomplishmentStatus,(e,t)=>{e.status=t.payload}),e.addCase(b.setAssessmentResult,(e,t)=>{e.assessmentResult=t.payload})});function*A(e){try{let t={accomplishments:e.payload};yield(0,m.T1)(y.uE.post,"/career-planning/assessments/accomplishments",t),yield(0,m.yJ)(b.setAccomplishmentStatus({isSuccess:!0}))}catch(e){yield(0,m.yJ)(b.setAccomplishmentStatus({isSuccess:!1}))}}function*C({payload:e}){try{yield(0,m.T1)(y.uE.post,"/career-planning/assessments/seven-stories-exercise",e),yield(0,m.yJ)(b.setAccomplishmentStatus({isSuccess:!0}));let{data:t}=yield(0,m.T1)(y.uE.get,"/career-planning/assessments/seven-stories-exercise");yield(0,m.yJ)(b.setAssessmentResult(t)),yield(0,m.yJ)(b.setAccomplishmentStatus({isSuccess:!1}))}catch(e){g.A.log(e),yield(0,m.yJ)(b.setAccomplishmentStatus({isSuccess:!1}))}}function*w(){try{let{data:e}=yield(0,m.T1)(y.uE.get,"/career-planning/assessments/seven-stories-exercise");yield(0,m.yJ)(b.setAssessmentResult(e))}catch(e){g.A.log(e)}}let k=function*(){yield(0,m.Q7)([(0,m.p8)(b.setAddAccomplishment,A)]),yield(0,m.Q7)([(0,m.p8)(b.setSaveAccomplishments,C)]),yield(0,m.Q7)([(0,m.p8)(b.fetchAssessmentResult,w)])}},96937:function(e,t,i){"use strict";i.d(t,{o1:function(){return o},Ff:function(){return a},al:function(){return b}});var r=i(30195),n=i(16535);let o={setEmailCheckingLoading:(0,r.createAction)("signIn/SET_EMAIL_CHECKING_STATUS"),setEmailCheckingError:(0,r.createAction)("signIn/SET_EMAIL_CHECKING_ERROR"),setSignInMethod:(0,r.createAction)("signIn/SET_SIGN_IN_METHOD"),setSignInFetching:(0,r.createAction)("signIn/SET_SIGN_IN_FETCHING"),setSignInError:(0,r.createAction)("signIn/SET_SIGN_IN_ERROR"),setMagicLinkError:(0,r.createAction)("signIn/SET_MAGIC_LINK_ERROR"),setPasswordLinkError:(0,r.createAction)("signIn/SET_PASSWORD_LINK_ERROR"),setPasswordSaving:(0,r.createAction)("signIn/SET_PASSWORD_SAVING"),setPasswordSaved:(0,r.createAction)("signIn/SET_PASSWORD_SAVED"),setPasswordSavingError:(0,r.createAction)("signIn/SET_PASSWORD_SAVING_ERROR"),setMagicLinkCheckError:(0,r.createAction)("signIn/SET_MAGIC_LINK_CHECK_ERROR"),setMagicLinkEmail:(0,r.createAction)("signIn/SET_MAGIC_LINK_EMAIL"),setMagicLinkErrorCode:(0,r.createAction)("signIn/SET_MAGIC_LINK_ERROR_CODE"),signUpRequest:(0,r.createAction)("signUp/SIGN_UP_REQUEST"),checkEmailRequest:(0,r.createAction)("signIn/CHECK_EMAIL_REQUEST"),checkMagicLinkRequest:(0,r.createAction)("signIn/CHECK_MAGIC_LINK_REQUEST"),sendMagicLinkRequest:(0,r.createAction)("signIn/SEND_MAGIC_LINK_REQUEST"),sendPasswordLinkRequest:(0,r.createAction)("sign
8256In/SEND_PASSWORD_LINK_REQUEST"),signInRequest:(0,r.createAction)("signIn/SIGN_IN_REQUEST"),savePasswordRequest:(0,r.createAction)("signIn/SAVE_PASSWORD_REQUEST")},a=(0,r.handleActions)({[o.setMagicLinkCheckError]:(0,n.Ay)((e,t)=>{e.magicLinkCheckError=t.payload}),[o.setMagicLinkEmail]:(0,n.Ay)((e,t)=>{e.magicLinkEmail=t.payload}),[o.setMagicLinkErrorCode]:(0,n.Ay)((e,t)=>{e.magicLinkErrorCode=t.payload}),[o.setEmailCheckingLoading]:(0,n.Ay)((e,t)=>{e.isEmailChecking=t.payload}),[o.setEmailCheckingError]:(0,n.Ay)((e,t)=>{e.emailCheckingError=t.payload}),[o.setSignInMethod]:(0,n.Ay)((e,t)=>{e.signInMethod=t.payload}),[o.setSignInFetching]:(0,n.Ay)((e,t)=>{e.isSignInFetching=t.payload}),[o.setSignInError]:(0,n.Ay)((e,t)=>{e.signInError=t.payload}),[o.setMagicLinkError]:(0,n.Ay)((e,t)=>{e.magicLinkError=t.payload}),[o.setPasswordLinkError]:(0,n.Ay)((e,t)=>{e.passwordLinkError=t.payload}),[o.setPasswordSaving]:(0,n.Ay)((e,t)=>{e.isPasswordSaving=t.payload}),[o.setPasswordSaved]:(0,n.Ay)((e,t)=>{e.isPasswordSaved=t.payload}),[o.setPasswordSavingError]:(0,n.Ay)((e,t)=>{e.passwordSavingError=t.payload}),[o.setSignUpRequest]:(0,n.Ay)((e,t)=>{e.isSignUpFetching=t.payload})},{isEmailChecking:!1,emailCheckingError:null,signInMethod:null,magicLinkError:null,passwordLinkError:null,isSignInFetching:!1,signInError:null,isSignUpFetching:!1,signUpError:null,passwordSavingError:null,isPasswordSaving:!1,isPasswordSaved:!1,magicLinkCheckError:null,magicLinkEmail:null,magicLinkErrorCode:null});var l=i(49012),s=i(68216),d=i(33093),c=i(50562),u=i(79062),p=i(18987);function*h(e){try{yield(0,s.yJ)(o.setEmailCheckingLoading(!0)),yield(0,s.yJ)(o.setSignInMethod(null)),yield(0,s.yJ)(o.setEmailCheckingError(null));let t={email:e.payload},{data:i}=yield(0,s.T1)(l.uE.post,"/login/method",t);yield(0,s.yJ)(o.setSignInMethod(i.method))}catch(e){yield(0,s.yJ)(o.setEmailCheckingError((0,u.P)(e)))}finally{yield(0,s.yJ)(o.setEmailCheckingLoading(!1))}}function*x(e){try{let t=e.payload.chrome_extension,i={...t&&{chrome_extension:t},email:e.payload.email};yield(0,s.T1)(l.uE.post,"/login/request-link",i)}catch(e){yield(0,s.yJ)(o.setMagicLinkError((0,u.P)(e)))}}function*m(e){try{let t={email:e.payload};yield(0,s.T1)(l.uE.post,"/login/request-create-password",t)}catch(e){yield(0,s.yJ)(o.setPasswordLinkError((0,u.P)(e)))}}function*g(e){try{yield(0,s.yJ)(o.setSignInFetching(!0)),yield(0,s.yJ)(o.setSignInError(null));let{data:t}=yield(0,s.T1)(l.uE.post,"/login/auth",e.payload);(0,d._m)("Sign In","Login User",{eventLabel:"By Password"}),t.redirectTo?c.Q.enterApp(t.redirectTo):c.Q.enterApp()}catch(e){yield(0,s.yJ)(o.setSignInError((0,u.P)(e)))}finally{yield(0,s.yJ)(o.setSignInFetching(!1))}}function*y(e){try{yield(0,s.yJ)(o.setMagicLinkEmail(null)),yield(0,s.yJ)(o.setMagicLinkCheckError(null)),yield(0,s.yJ)(o.setMagicLinkErrorCode(null));let{data:t}=yield(0,s.T1)(l.uE.post,"/login/magic-auth",{token:e.payload});t.visitorId&&p.A.set("visitor_id",t.visitorId,{expires:365}),(0,d._m)("Sign In","Login User",{eventLabel:"By Magic Link"}),t.redirectTo?c.Q.enterApp(t.redirectTo):c.Q.enterApp()}catch(e){yield(0,s.yJ)(o.setMagicLinkEmail(e.response?.data?.email??null)),yield(0,s.yJ)(o.setMagicLinkErrorCode(e.response?.data?.errorCode??null)),yield(0,s.yJ)(o.setMagicLinkCheckError((0,u.P)(e)))}}function*f(e){try{yield(0,s.yJ)(o.setPasswordSaving(!0)),yield(0,s.yJ)(o.setPasswordSaved(!1)),yield(0,s.yJ)(o.setPasswordSavingError(null)),yield(0,s.T1)(l.uE.post,"/login/change-password",e.payload),(0,d.xP)("change_password"),yield(0,s.yJ)(o.setPasswordSaved(!0))}catch(e){yield(0,s.yJ)(o.setPasswordSavingError((0,u.P)(e)))}finally{yield(0,s.yJ)(o.setPasswordSaving(!1))}}let b=function*(){yield(0,s.Q7)([(0,s.p8)(o.checkEmailRequest,h),(0,s.p8)(o.sendMagicLinkRequest,x),(0,s.p8)(o.sendPasswordLinkRequest,m),(0,s.p8)(o.signInRequest,g),(0,s.p8)(o.savePasswordRequest,f),(0,s.p8)(o.checkMagicLinkRequest,y)])}},79062:function(e,t,i){"use strict";i.d(t,{P:function(){return n},g:function(){return o}}),i(16573),i(78100),i(77936),i(21903),i(91134),i(28845),i(37467),i(44732),i(79577),i(18111),i(61701);var r=i(99197);let n=e=>r.A.isAxiosError(e)&&e.response?.data?.errorMessage||e.message,o=async e=>{let t=new TextEncoder().encode(e);return Array.from(new Uint8Array(await crypto.subtle?.digest("SHA-1",t))).map(e=>e.toString(16).padStart(2,"0")).join("")}},9541:function(e,t,i){"use strict";i.d(t,{Ff:function(){return u},o1:function(){return l},al:function(){return T},n3:function(){return n}});var r,n=((r={}
8256).SHOW_RIO_CIO_INFO_MODAL_FLAG="rioCioModalFlag",r),o=i(60258),a=i(8037);let l={setEmailErrorCode:(0,o.VP)("signUp/SET_EMAIL_ERROR"),setSignUpInfo:(0,o.VP)("signUp/SET_SIGN_UP_INFO"),clearSignUpInfo:(0,o.VP)("signUp/CLEAR_SIGN_UP_INFO"),setSignUpPayload:(0,o.VP)("signUp/SET_SIGN_UP_PAYLOAD"),setSuggestedEmail:(0,o.VP)("signUp/SET_SUGGESTED_EMAIL"),setParsedResume:(0,o.VP)("signUp/SET_PARSED_RESUME"),toggleEmailValidating:(0,o.VP)("signUp/TOGGLE_EMAIL_CHECKING"),signUpRequest:(0,o.VP)("signUp/SIGN_UP_REQUEST"),signUpComplete:(0,o.VP)("signUp/SIGN_UP_COMPLETE"),persistSignUpInfo:(0,o.VP)("signUp/SIGN_UP_PERSIST_FORM"),validateEmail:(0,o.VP)("signUp/SIGN_UP_VALIDATE_EMAIL"),loadSignUpInfo:(0,o.VP)("signUp/SIGN_UP_LOAD_INFO"),getSignUpPayload:(0,o.VP)("signUp/GET_SIGN_UP_PAYLOAD"),setIsThankYouPageVisible:(0,o.VP)("signUp/SET_IS_THANK_YOU_PAGE_VISIBLE"),emailMarketingConsent:(0,o.VP)("signUp/EMAIL_MARKETING_CONSENT"),validateNameSurname:(0,o.VP)("signUp/SIGN_UP_VALIDATE_NAME_SURNAME"),toggleNameSurnameValidating:(0,o.VP)("signUp/TOGGLE_NAME_SURNAME_CHECKING"),setDocumentTemplate:(0,o.VP)("signUp/SET_RESUME_TEMPLATE")},s=e=>e.signUp.signUpInfo,d=e=>e.signUp.isEmailSuggested,c={resumeTemplates:[],coverLetterTemplates:[],heroTemplateName:null,emailErrorCode:"",suggestedEmail:"",isEmailSuggested:!1,isEmailValidating:!1,signUpProcess:a.Hp.notAsked,signUpInfo:{template:"",firstName:"",lastName:"",email:"",phone:"",confirm_email:!1},tests:{},isThankYouPageVisible:!1,resumeTemplateCategories:[],coverLetterTemplateCategories:[],isNameSurnameValidating:!1},u=(0,o.vy)(c,e=>{e.addCase(l.setSignUpPayload,(e,t)=>{e.resumeTemplates=t.payload.resumeTemplates??[],e.coverLetterTemplates=t.payload.coverLetterTemplates??[],e.heroTemplateName=t.payload.heroTemplateName,e.tests=t.payload.tests,e.resumeTemplateCategories=t.payload.resumeTemplateCategories,e.coverLetterTemplateCategories=t.payload.coverLetterTemplateCategories}),e.addCase(l.setEmailErrorCode,(e,t)=>{e.emailErrorCode=t.payload}),e.addCase(l.setSuggestedEmail,(e,t)=>{e.suggestedEmail=t.payload,t.payload&&(e.isEmailSuggested=!0)}),e.addCase(l.setSignUpInfo,(e,t)=>{e.signUpInfo={...e.signUpInfo,...t.payload}}),e.addCase(l.toggleEmailValidating,e=>{e.isEmailValidating=!e.isEmailValidating}),e.addCase(l.signUpRequest,e=>{e.signUpProcess=a.Hp.loading}),e.addCase(l.signUpComplete,e=>{e.signUpProcess=a.Hp.loaded}),e.addCase(l.clearSignUpInfo,e=>{e.signUpInfo={template:"",firstName:"",lastName:"",email:"",phone:"",confirm_email:!1}}),e.addCase(l.setIsThankYouPageVisible,(e,t)=>{!0===t.payload&&(e.isThankYouPageVisible=!0)}),e.addCase(l.toggleNameSurnameValidating,e=>{e.isNameSurnameValidating=!e.isNameSurnameValidating})});i(14603),i(47566),i(98721),i(64979);var p=i(49012),h=i(68216),x=i(33093),m=i(16497),g=i(83773),y=i(79062),f=i(12330);let b="RESUME_SIGN_UP_FORM",_="COVER_LETTER_SIGN_UP_FORM";function*v(e){let{data:t}=yield(0,h.T1)(p.uE.get,"/sign-up/payload");yield(0,h.yJ)(l.setSignUpPayload(t))}function*j(e){try{let{type:t,email:i,isSuperApp:r,recaptchaToken:n,recaptchaAction:o,noRedirect:s,forwardRedirectUrl:d,queryParams:c}=e.payload,{data:u}=yield(0,h.T1)(p.uE.post,"/sign-up/register",{signUp:e.payload,recaptchaToken:n,recaptchaAction:o});if(u.success){let e;(0,x.xP)("complete_email_sign_up",{funnel:"Builder"});try{e=yield(0,h.T1)(y.g,i)}catch{}(0,x._m)("Sign up","Complete Registration",{userEmailEnc:e});let n=new URLSearchParams({...c,documentId:u.firstDocumentId}).toString();if(d){window.location.href=`${d}?${n}`;return}if(s)return(0,m.o)(`/register-resume?${n}`,{replace:!1});if(!u.firstDocumentId)return f.D.removeItem(b),f.D.removeItem(_),sessionStorage.removeItem(a.xZ),yield(0,h.yJ)(l.clearSignUpInfo()),yield(0,h.yJ)(l.signUpComplete()),(0,m.o)("/",{replace:!0});let o="cover_letter"===u.firstDocumentType||!u.firstDocumentType&&"cover_letter"===t;if(o||sessionStorage.removeItem(a.xZ),f.D.removeItem(o?_:b),yield(0,h.yJ)(l.clearSignUpInfo()),yield(0,h.yJ)(l.signUpComplete()),r)try{let e=`${window.location.protocol}//tvspix.com/t.png?t=${Date.now()}&l=tvscientific-pix-o-918ddc26-8b46-437a-81a6-ca2909177441&u3=${encodeURIComponent(window.location.href)}&u1=complete_registration&u4=${encodeURIComponent(btoa(i))}&u5=&u12=CIO`;fetch(e,{keepalive:!0}
8256).catch(()=>{})}catch{}window.location.href=`/app/${o?"cover-letters":"resumes"}/${u.firstDocumentId}/edit`;return}{let e=u.errors||[],t=-1!==e.indexOf("email_taken");if(yield(0,h.yJ)(l.setSuggestedEmail("")),t){yield(0,h.yJ)(l.setEmailErrorCode("TAKEN")),yield(0,h.yJ)(l.toggleEmailValidating());return}yield(0,h.yJ)(l.setEmailErrorCode("INVALID"))}yield(0,h.yJ)(l.toggleEmailValidating())}catch(e){yield(0,h.yJ)(l.signUpComplete())}}function*A({payload:e}){try{let{type:t,...i}=e,r="resume"===t?b:_,n=f.D.getItem(r),o=n?JSON.parse(n):{},a=yield(0,h.Lt)(s);yield(0,h.T1)(C,{payload:{type:t,...a,...o,...i}})}catch(e){}}function*C({payload:e}){try{let{type:t,...i}=e,r="resume"===t?b:_,n=f.D.getItem(r),o=n?JSON.parse(n):{},a={...yield(0,h.Lt)(s),...o,...i};f.D.setItem(r,JSON.stringify(a)),yield(0,h.yJ)(l.setSignUpInfo(a))}catch(e){}}function*w(e){let{email:t,resolve:i}=e.payload;if(yield(0,h.yJ)(l.toggleEmailValidating()),!(yield(0,h.Lt)(d))){let e=yield(0,h.T1)(g.a,t);if(e){(0,x.xP)("see_sign_up_email_suggestion"),yield(0,h.yJ)(l.setSuggestedEmail(e)),yield(0,h.yJ)(l.toggleEmailValidating());return}}let{data:r}=yield(0,h.T1)(p.uE.post,"/sign-up/validate",{email:t});if(r.success)yield(0,h.yJ)(l.toggleEmailValidating()),i();else{let e="email_taken"===r.errorCode;if((0,x.xP)("see_sign_up_email_error",{error:r.errorCode||"invalid_email"}),e){yield(0,h.yJ)(l.toggleEmailValidating()),yield(0,h.yJ)(l.setEmailErrorCode("TAKEN"));return}yield(0,h.yJ)(l.setEmailErrorCode("INVALID")),yield(0,h.yJ)(l.toggleEmailValidating())}}function*k(e){let{firstName:t,lastName:i,resolve:r}=e.payload;yield(0,h.yJ)(l.toggleNameSurnameValidating());let{data:n}=yield(0,h.T1)(p.uE.post,"/sign-up/validate",{first_name:t,last_name:i});r?.(n),yield(0,h.yJ)(l.toggleNameSurnameValidating())}function*S(e){let{type:t,documentId:i,template:r,forwardRedirectUrl:n,redirectPath:o}=e.payload;if(!i)return;let{data:a}=yield(0,h.T1)(p.uE.post,"/sign-up/set_template",{type:t,documentId:i,template:r});if(a.success){if(n){window.location.href=n;return}let e="resume"===t;(0,m.o)(o||`/${e?"resumes":"cover-letters"}/${i}/edit`,{replace:!0})}}let T=function*(){yield(0,h.Q7)([(0,h.p8)(l.getSignUpPayload,v),(0,h.p8)(l.signUpRequest,j),(0,h.p8)(l.persistSignUpInfo,C),(0,h.p8)(l.loadSignUpInfo,A),(0,h.p8)(l.validateEmail,w),(0,h.p8)(l.validateNameSurname,k),(0,h.p8)(l.setDocumentTemplate,S)])}},5323:function(e,t,i){"use strict";i.d(t,{d:function(){return I},M:function(){return M}});var r=i(60258),n=i(31264),o=i(32606),a=i(52967),l=i(10494),s=i(13807),d=i(64961),c=i(28971),u=i(20023),p=i(96937),h=i(9541),x=i(57238),m=i(69352),g=i(85922),y=i(1261),f=i(71118),b=i(25519),_=i(36925),v=i(91734),j=i(95293),A=i(97410),C=i(81740),w=i(1557),k=i(26215),S=i(84905),T=i(34346),P=i(72603),J=i(64578),E=i(48027),R=i(66795),L=i(18827),N=i(71851);let I=(0,n.Ay)(),M=(0,r.U1)({devTools:!1,reducer:{generalEditor:l.Ff,resumeEditor:o.Ff,coverLetterEditor:a.Ff,rendering:s.Ff,panel:d.Ff,resumeReview:c.Ff,jobSearch:E.Ff,jobTracking:u.Ff,signIn:p.Ff,signUp:h.Ff,user:x.Ff,application:m.Ff,ui:g.Ff,coRegistration:y.Ff,careerPath2:j.Ff,offerAnalyzer:f.Ff,uploadResume:b.Ff,critiqueReview:_.Ff,enterpriseModal:v.Ff,careerCoaching:A.Ff,careerPlanning:C.Ff,lloyd:w.Ff,sevenStories:k.Ff,resumeDistribution:S.Ff,careerProfile:T.Ff,interview:P.Ff,dashboard:J.Ff,virtualCoach:R.Ff,conversationalBuilder:L.Ff,billingReducer:N.Ff},middleware:e=>e({serializableCheck:!1,thunk:!0}
8256).concat(I)})},85922:function(e,t,i){"use strict";i.d(t,{lY:function(){return r.lY},Ff:function(){return r.Ff},pN:function(){return n.p},Tp:function(){return r.Tp},o1:function(){return r.o1},iD:function(){return n.i},al:function(){return v}});var r=i(76042),n=i(68842),o=i(68216),a=i(33093),l=i(69352),s=i(57238),d=i(64530),c=i(20646),u=i(22130),p=i(12330);function*h(e){let{text:t,status:i}=e.payload;(yield(0,o.Lt)(r.Tp.isSnackBarOpen))&&i&&(yield(0,o.yJ)(r.o1.setSnackbarShaking(!0))),yield(0,o.yJ)(r.o1.setSnackBarOpen({status:i,text:t,type:n.p.cancelable}))}function*x(e){let{text:t,timeout:i}=e.payload;yield(0,o.yJ)(r.o1.setSnackBarOpen({status:!0,text:t,type:n.p.warning})),yield(0,o.cb)(i),yield(0,o.yJ)(r.o1.setSnackBarOpen({status:!1,text:t,type:n.p.warning}))}function*m(e){if(e.payload){let e=c.R.t("builder.dashboard.lost_internet_connection");yield(0,o.yJ)(r.o1.setCancelableSnackbarOpen({text:e,status:!0}))}else yield(0,o.yJ)(r.o1.setCancelableSnackbarOpen({status:!1}))}function*g(e){yield(0,o.yJ)(r.o1.setConnectionLostSnackbarOpen(!e.payload.isOnline))}function*y(e){let t=p.D.getItem(r.lY),i=t?JSON.parse(t):[];p.D.setItem(r.lY,JSON.stringify([...i,e.payload.id]))}function*f(e){let t=e.payload;yield(0,o.yJ)(r.o1.setSharingModalResumeId(t)),(0,a.xP)("open_sharing_modal",{resume_id:t})}function*b(e){let t=e.payload;yield(0,o.yJ)(r.o1.setSharingModalTrDocId(t)),(0,a.xP)("open_sharing_modal",{resume_id:t})}function*_(){let e=yield(0,o.Lt)(s.Tp.getUpgradeUrl);window.location.href=(0,u.f)({upgradeURL:e})}let v=function*(){yield(0,o.Q7)([(0,o.jP)(l.o1.setInternetConnectionStatus,g),(0,o.jP)(r.o1.setCancelableSnackbarOpen,h),(0,o.jP)(r.o1.setWarningSnackbarOpen,x),(0,o.jP)(r.o1.setConnectionLostSnackbarOpen,m),(0,o.jP)(r.o1.openSharingModal,(0,d.i)([d.y]),f),(0,o.jP)(r.o1.openSharingTrDocModal,(0,d.i)([d.y]),b),(0,o.jP)(r.o1.openCoverLetterModal,y),(0,o.jP)(r.o1.openPaywall,_)])}},68842:function(e,t,i){"use strict";i.d(t,{i:function(){return a},p:function(){return o}});var r,n,o=((r={}).loading="loading",r.warning="warning",r.cancelable="cancelable",r.success="success",r.failure="failure",r.simple="simple",r.openable="openable",r),a=((n={}).SHOW_ABANDONMENT_MODAL_FLAG="abandonmentModalFlag",n)},76042:function(e,t,i){"use strict";i.d(t,{Ff:function(){return s},Tp:function(){return a},lY:function(){return d},o1:function(){return o}});var r=i(60258),n=i(68842);let o={openSharingModal:(0,r.VP)("builder/UI_OPEN_SHARING_MODAL"),setSharingModalResumeId:(0,r.VP)("builder/UI_SET_SHARING_MODAL_ID"),closeSharingModal:(0,r.VP)("builder/UI_CLOSE_SHARING_MODAL"),openSharingTrDocModal:(0,r.VP)("builder/UI_OPEN_SHARING_TRDOC_MODAL"),setSharingModalTrDocId:(0,r.VP)("builder/UI_SET_SHARING_TRDOC_MODAL_ID"),closeSharingTrDocModal:(0,r.VP)("builder/UI_CLOSE_SHARING_TRDOC_MODAL"),openLimitModal:(0,r.VP)("builder/UI_OPEN_LIMIT_MODAL"),closeLimitModal:(0,r.VP)("builder/UI_CLOSE_LIMIT_MODAL"),openRateModal:(0,r.VP)("builder/UI_OPEN_RATE_MODAL"),closeRateModal:(0,r.VP)("builder/UI_CLOSE_RATE_MODAL"),openMergeModal:(0,r.VP)("builder/UI_OPEN_MERGE_MODAL"),closeMergeModal:(0,r.VP)("builder/UI_CLOSE_MERGE_MODAL"),setDocxModalDocumentId:(0,r.VP)("builder/SET_DOCX_MODAL_DOCUMENT_ID"),setDocxModalDocumentType:(0,r.VP)("builder/SET_DOCX_MODAL_DOCUMENT_TYPE"),docxModalClosed:(0,r.VP)("builder/UI_CLOSE_DOCX_MODAL"),docxModalClosedDownload:(0,r.VP)("builder/DOCX_MODAL_CLOSED_DOWNLOAD"),setSnackbarShaking:(0,r.VP)("builder/SET_SNACK_BAR_SHAKING"),setSnackBarOpen:(0,r.VP)("builder/SET_SNACK_BAR_OPENED"),setCancelableSnackbarOpen:(0,r.VP)("builder/SHOW_CANCELABLE_SNACKBAR"),setWarningSnackbarOpen:(0,r.VP)("builder/SHOW_WARNING_SNACKBAR"),setConnectionLostSnackbarOpen:(0,r.VP)("builder/SHOW_CONNECTION_LOST_SNACKBAR"),closeSnackBar:(0,r.VP)("builder/CLOSE_SNACKBAR"),setPrefillModalDocumentId:(0,r.VP)("builder/SET_PREFILL_MODAL_DOCUMENT_ID"),openCoverLetterModal:(0,r.VP)("builder/OPEN_COVER_LETTER_MODAL"),closeCoverLetterModal:(0,r.VP)("builder/CLOSE_COVER_LETTER_MODAL"),openPaywall:(0,r.VP)("builder/SHOW_PAYWALL_UI"),openCreateResumeModal:(0,r.VP)("builder/UI_OPEN_CREATE_RESUME_MODAL"),closeCreateResumeModal:(0,r.VP)("builder/UI_CLOSE_CREATE_RESUME_MODAL"),setShowUpcomingCareersModal:(0,r.VP)("builder/SET_SHOW_UPCOMING_CAREERS_MODAL"),setPremiumServiceModal:(0,r.VP)("builder/SET_SHOW_PREMIUM_SERVICE_MODAL"),openPlansPageAbandonmentModal:(0,r.VP)("builder/UI_OPEN_PLANS_PAGE_ABANDONMENT_MODAL"),closePlansPageAbandonmentModal:(0,r.VP)("builder/UI_CLOSE_PLANS_PAGE_ABANDONMENT_MODAL"),openTREditModal:(0,r.VP)("builder/UI_OPEN_TR_EDIT_MODAL"),closeTREditModal:(0,r.VP)("builder/UI_CLOSE_TR_EDIT_MODAL"),toggleTRBuilderResumeEditModal:(0,r.VP)("builder/UI_TOGGLE_TR_BUILDER_RESUME_EDIT_MODAL"),setTrackJobPaywall:(0,r.VP)("builder/TRACK_JOB_SET_SHOW_LIMIT_MODAL"),setSideMenuOpen:(0,r.VP)("builder/SIDE_MENU_TOGGLE"),setTailorResumeModalOpen:(0,r.VP)("builder/TAILOR_RESUME_MODAL_TOGGLE"),setTailorResumeSelectModal:(0,r.VP)("builder/TAILOR_RESUME_SELECT_MODAL_TOGGLE"),toggleAutoApplyResumeDistributionModal:(0,r.VP)("builder/AUTO_APPLY_RD_MODAL_TOGGLE"),toggleAaPostPurchaseModal:(0,r.VP)("builder/UI_TOGGLE_AA_POST_PURCHASE_MODAL"),toggleAaUpsellModal:(0,r.VP)("builder/UI_TOGGLE_AA_UPSELL_MODAL"),openRestartSubscriptionModal:(0,r.VP)("builder/UI_OPEN_RESTART_SUBSCRIPTION_MODAL"),closeRestartSubscriptionModal:(0,r.VP)("builder/UI_CLOSE_RESTART_SUBSCRIPTION_MODAL"),toggleFutureLearnFullNameModal:(0,r.VP)("builder/UI_TOGGLE_FUTURE_LEARN_FULL_NAME_MODAL"),toggleConversationalBuilder:(0,r.VP)("builder/UI_TOGGLE_CONVERSATIONAL_BUILDER"),toggleBuilderTour:(0,r.VP)("builder/UI_TOGGLE_BUILDER_TOUR")},a={docxModalDocumentId:e=>e.ui.docxModalDocumentId,docxModalDocumentType:e=>e.ui.docxModalDocumentType,limitModalType:e=>e.ui.limitModalType,coverLetterModalId:e=>e.ui.coverLetterModalId,isSnackBarOpen:e=>e.ui.isSnackBarOpen,prefillModalDocumentId:e=>e.ui.prefillModalDocumentId,isRateModalOpen:e=>e.ui.isRateModalOpen,isMergeModalOpen:e=>!!(e.ui.mergeModalResumeId||e.ui.mergeModalCoverLetterId),isCreateResumeOpen:e=>e.ui.isCreateResumeOpen,showUpcomingCareersModal:e=>e.ui.showUpcomingCareersModal,showPremiumServiceModal:e=>e.ui.showPremiumServiceModal,trackJobPaywallModal:e=>e.ui.trackJobPaywallModal,isPlansPageAbandonmentModalOpen:e=>e.ui.isPlansPageAbandonmentModalOpen,isSideMenuOpen:e=>e.ui.isSideMenuOpen,isTailorResumeModalOpen:e=>e.ui.isTailorResumeModalOpen,isTailorResumeModalSelectOpen:e=>e.ui.isTailorResumeModalSelectOpen,isAutoApplyResumeDistributionModalPayload:e=>e.ui.isAutoApplyResumeDistributionModalPayload,isAaPostPurchaseModalOpen:e=>e.ui.isAaPostPurchaseModalOpen,isAaUpsellModalOpen:e=>e.ui.isAaUpsellModalOpen,aaUpsellModalRedirect:e=>e.ui.aaUpsellModalRedirect,showRestartSubscriptionModal:e=>e.ui.showRestartSubscriptionModal,futureLearnModal:e=>e.ui.futureLearnModal,isConversationalBuilderOpen:e=>e.ui.isConversationalBuilderOpen,builderTour:e=>e.ui.builderTour},l={sharingModalResumeId:null,sharingModalTrDocId:null,docxModalDocumentId:null,docxModalDocumentType:null,isRateModalOpen:!1,isPlansPageAbandonmentModalOpen:!1,limitModalType:null,isTREditModalOpen:!1,editModalTrDocId:null,trBuilderResumeEditModalId:null,coverLetterModalId:null,prefillModalDocumentId:null,isSnackBarOpen:!1,isSnackBarShaking:!1,snackBarText:"",snackBarType:n.p.loading,mergeModalResumeId:null,mergeModalCoverLetterId:null,isCreateResumeOpen:!1,showUpcomingCareersModal:!1,trackJobPaywallModal:!1,showPremiumServiceModal:{isOpen:!1,serviceType:void 0},snackBarUrl:"",isSideMenuOpen:!0,isTailorResumeModalOpen:!1,isTailorResumeModalSelectOpen:!1,isAutoApplyResumeDistributionModalPayload:{open:!1},isAaPostPurchaseModalOpen:!1,isAaUpsellModalOpen:!1,aaUpsellModalRedirect:null,showRestartSubscriptionModal:!1,futureLearnModal:{open:!1,modal:void 0,cmsgid:void 0},isConversationalBuilderOpen:!1,builderTour:{isRunning:!1,isStartModalOpen:!1,stepIndex:0,stepName:"design",showSkipButton:!1,isTourActive:!1}},s=(0,r.vy)(l,e=>{e.addCase(o.setSharingModalResumeId,(e,t)=>{e.sharingModalResumeId=t.payload}),e.addCase(o.closeSharingModal,e=>{e.sharingModalResumeId=null}),e.addCase(o.setSharingModalTrDocId,(e,t)=>{e.sharingModalTrDocId=t.payload}),e.addCase(o.closeSharingTrDocModal,e=>{e.sharingModalTrDocId=null}),e.addCase(o.openLimitModal,(e,t)=>{e.limitModalType=t.payload}),e.addCase(o.closeLimitModal,e=>{e.limitModalType=null}),e.addCase(o.openRateModal,e=>{e.isRateModalOpen=!0}),e.addCase(o.closeRateModal,e=>{e.isRateModalOpen=!1}),e.addCase(o.setDocxModalDocumentId,(e,t)=>{e.docxModalDocumentId=t.payload}),e.addCase(o.setDocxModalDocumentType,(e,t)=>{e.docxModalDocumentType=t.payload}),e.addCase(o.setSnackBarOpen,(e,t)=>{e.isSnackBarOpen=t.payload.status,e.snackBarText=t.payload.text||e.snackBarText,e.snackBarUrl=t.payload.url||e.snackBarUrl,e.snackBarType=t.payload.type||n.p.loading}),e.addCase(o.setPrefillModalDocumentId,(e,t)=>{e.prefillModalDocumentId=t.payload}),e.addCase(o.setSnackbarShaking,(e,t)=>{e.isSnackBarShaking=t.payload}),e.addCase(o.openMergeModal,(e,t)=>{e.mergeModalResumeId=t.payload.resumeId||null,e.mergeModalCoverLetterId=t.payload.coverLetterId||null}),e.addCase(o.closeMergeModal,e=>{e.mergeModalResumeId=null,e.mergeModalCoverLetterId=null}),e.addCase(o.openCoverLetterModal,(e,t)=>{e.coverLetterModalId=t.payload.id}),e.addCase(o.closeCoverLetterModal,e=>{e.coverLetterModalId=null}),e.addCase(o.closeSnackBar,e=>{e.isSnackBarOpen=!1}),e.addCase(o.openCreateResumeModal,e=>{e.isCreateResumeOpen=!0}),e.addCase(o.closeCreateResumeModal,e=>{e.isCreateResumeOpen=!1}),e.addCase(o.setShowUpcomingCareersModal,(e,t)=>{e.showUpcomingCareersModal=t.payload}),e.addCase(o.setPremiumServiceModal,(e,t)=>{e.showPremiumServiceModal=t.payload}),e.addCase(o.openPlansPageAbandonmentModal,e=>{e.isPlansPageAbandonmentModalOpen=!0}),e.addCase(o.closePlansPageAbandonmentModal,e=>{e.isPlansPageAbandonmentModalOpen=!1}),e.addCase(o.openTREditModal,(e,t)=>{e.isTREditModalOpen=!0,e.editModalTrDocId=t.payload}),e.addCase(o.closeTREditModal,e=>{e.isTREditModalOpen=!1}),e.addCase(o.toggleTRBuilderResumeEditModal,(e,t)=>{e.trBuilderResumeEditModalId=t.payload}),e.addCase(o.setTrackJobPaywall,(e,t)=>{e.trackJobPaywallModal=t.payload}),e.addCase(o.setSideMenuOpen,(e,t)=>{e.isSideMenuOpen=t.payload}),e.addCase(o.setTailorResumeModalOpen,(e,t)=>{e.isTailorResumeModalOpen=t.payload}),e.addCase(o.setTailorResumeSelectModal,(e,t)=>{e.isTailorResumeModalSelectOpen=t.payload}),e.addCase(o.toggleAutoApplyResumeDistributionModal,(e,t)=>{e.isAutoApplyResumeDistributionModalPayload=t.payload}),e.addCase(o.toggleAaPostPurchaseModal,(e,t)=>{e.isAaPostPurchaseModalOpen=t.payload}),e.addCase(o.toggleAaUpsellModal,(e,t)=>{e.isAaUpsellModalOpen=t.payload.isOpen,t.payload.isOpen&&(e.aaUpsellModalRedirect=t.payload.onSuccessRedirect??null)}),e.addCase(o.openRestartSubscriptionModal,e=>{e.showRestartSubscriptionModal=!0}),e.addCase(o.closeRestartSubscriptionModal,e=>{e.showRestartSubscriptionModal=!1}),e.addCase(o.toggleFutureLearnFullNameModal,(e,t)=>{e.futureLearnModal=t.payload}),e.addCase(o.toggleConversationalBuilder,(e,t)=>{e.isConversationalBuilderOpen=t.payload}),e.addCase(o.toggleBuilderTour,(e,t)=>{e.builderTour={...e.builderTour,...t.payload}})}),d="DOWNLOADED_COVER_LETTER_KEY"},78506:function(e,t,i){"use strict";i.d(t,{h:function(){return n}});var r,n=((r={})[r.UPLOAD_RESUME=0]="UPLOAD_RESUME",r[r.RESUME_SELECTED=1]="RESUME_SELECTED",r[r.SENDING_RESUME=2]="SENDING_RESUME",r[r.PARSED_DETAILS=3]="PARSED_DETAILS",r[r.USER_AVAILABLE=4]="USER_AVAILABLE",r)},25519:function(e,t,i){"use strict";i.d(t,{Ff:function(){return h},Tp:function(){return u},o1:function(){return c},al:function(){return g}});var r=i(68216),n=i(33093),o=i(49012),a=i(28363),l=i(8037),s=i(60258),d=i(78506);let c={parsedDetails:(0,s.VP)("builder/UPLOAD_RESUME_PARSED_DETAILS"),setparsingStatus:(0,s.VP)("builder/UPLOAD_RESUME_SET_PARSING_STATUS"),setError:(0,s.VP)("builder/UPLOAD_RESUME_SET_ERRORS"),setParsedResumeDetails:(0,s.VP)("builder/UPLOAD_RESUME_SET_PARSED_RESUME_DETAILS"),setStep:(0,s.VP)("builder/UPLOAD_RESUME_SET_STEP"),setURLParams:(0,s.VP)("builder/UPLOAD_RESUME_SET_URL_PARAMS"),setIsDragging:(0,s.VP)("builder/UPLOAD_RESUME_SET_IS_DRAGGING"),setSelectedFile:(0,s.VP)("builder/UPLOAD_RESUME_SET_SELECTED_FILE"),setIsFileSelected:(0,s.VP)("builder/UPLOAD_RESUME_SET_IS_FILE_SELECTED"),createUpsiderUser:(0,s.VP)("builder/UPLOAD_RESUME_CREATE_UPSIDER_USER"),setEmail:(0,s.VP)("builder/UPLOAD_RESUME_SET_EMAIL"),setUploadProgress:(0,s.VP)("builder/UPLOAD_RESUME_UPLOAD_PROGRESS"),setParsingProgress:(0,s.VP)("builder/UPLOAD_RESUME_PARSING_PROGRESS"),setIsInValidEmail:(0,s.VP)("builder/UPLOAD_RESUME_SET_IS_IN_VALID_EMAIL")},u={step:e=>e.uploadResume.step,email:e=>e.uploadResume.email,errors:e=>
8256e.uploadResume.errors,urlParams:e=>e.uploadResume.urlParams,isDragging:e=>e.uploadResume.isDragging,selectedFile:e=>e.uploadResume.selectedFile,isInValidEmail:e=>e.uploadResume.isInValidEmail,isFileSelected:e=>e.uploadResume.isFileSelected,uploadProgress:e=>e.uploadResume.uploadProgress,parsingProgress:e=>e.uploadResume.parsingProgress,parsedResumeDetails:e=>e.uploadResume.parsedResumeDetails,hasParsed:e=>e.uploadResume.parsingStatus===l.Hp.loaded,isParsing:e=>e.uploadResume.parsingStatus===l.Hp.loading,hasParsingFailed:e=>e.uploadResume.parsingStatus===l.Hp.failed},p={isDragging:!1,selectedFile:null,isFileSelected:!1,step:d.h.UPLOAD_RESUME,parsingStatus:l.Hp.notAsked,errors:{hasError:!1,errorMessage:""},parsedResumeDetails:{firstName:"",lastName:"",email:"",checksum:""},urlParams:{utm_content:null,utm_source:null,utm_medium:null,utm_campaign:null},email:"",uploadProgress:0,parsingProgress:0,isInValidEmail:!0},h=(0,s.vy)(p,e=>{e.addCase(c.setparsingStatus,(e,t)=>{e.parsingStatus=t.payload}),e.addCase(c.setError,(e,t)=>{e.errors=t.payload}),e.addCase(c.setParsedResumeDetails,(e,t)=>{e.parsedResumeDetails=t.payload}),e.addCase(c.setURLParams,(e,t)=>{e.urlParams=t.payload}),e.addCase(c.setIsDragging,(e,t)=>{e.isDragging=t.payload}),e.addCase(c.setIsFileSelected,(e,t)=>{e.isFileSelected=t.payload}),e.addCase(c.setSelectedFile,(e,t)=>{e.selectedFile=t.payload}),e.addCase(c.setStep,(e,t)=>{e.step=t.payload}),e.addCase(c.setEmail,(e,t)=>{e.email=t.payload}),e.addCase(c.setUploadProgress,(e,t)=>{e.uploadProgress+=t.payload}),e.addCase(c.setParsingProgress,(e,t)=>{e.parsingProgress=t.payload}),e.addCase(c.setIsInValidEmail,(e,t)=>{e.isInValidEmail=t.payload})});function*x({payload:e}){try{yield(0,r.yJ)(c.setparsingStatus(l.Hp.loading));let{data:{data:t}}=yield(0,r.T1)(o.uE.post,"/post-cv",e,{baseURL:"/api",headers:{"content-type":"multipart/form-data"}});(0,n.xP)("resume_uploaded"),yield(0,r.yJ)(c.setParsedResumeDetails(t)),yield(0,r.yJ)(c.setparsingStatus(l.Hp.loaded))}catch(e){(0,n.xP)("parsing_primary_data_error"),yield(0,r.yJ)(c.setError({hasError:!0,errorMessage:"We couldn’t parse your resume. Try uploading another resume"})),yield(0,r.yJ)(c.setparsingStatus(l.Hp.failed)),yield(0,r.yJ)(c.setStep(d.h.UPLOAD_RESUME))}}function*m({payload:e}){try{let{checksum:t,redirectTo:i,critiqueReview:n,isCioUser:a,emailId:l,...s}=e,{request:d}=yield(0,r.T1)(o.uE.get,`/tr-leads?checksum=${t}&is_cio_user=${a}&email=${l}&redirect_to=${i}?critique_review=${n}`,{params:s,baseURL:"/api"});a||(window.location.href=d.responseURL)}catch(e){yield(0,r.yJ)(c.setError({hasError:!0,errorMessage:"Something went wrong. Try uploading another resume"})),yield(0,r.yJ)(c.setparsingStatus(l.Hp.failed)),yield(0,r.yJ)(c.setStep(d.h.UPLOAD_RESUME)),a.A.log(e)}}let g=function*(){yield(0,r.Q7)([(0,r.p8)(c.parsedDetails,x)]),yield(0,r.Q7)([(0,r.p8)(c.createUpsiderUser,m)])}},72134:function(e,t,i){"use strict";i.d(t,{j:function(){return n}});var r=i.p+"media/avatar-placeholderf109704b6e2bf78e.svg";let n=e=>(t,i={})=>{let{size:n="medium",placeholder:o=!0}=i,a=e(t);return a?.blank===!1?a[`${n}Url`]:o?r:null}},57238:function(e,t,i){"use strict";i.d(t,{ut:function(){return a},Ff:function(){return g.Ff},Tp:function(){return g.Tp},jR:function(){return $.j},o1:function(){return g.o1},al:function(){return D},Xw:function(){return o}});var r,n,o=((r={}).free="free",r.subscription="subscription",r.cancelled="cancelled",r.premium="premium",r),a=((n={}).free="free",n.postPremium="post_premium",n.premium="premium",n),l=i(53110),s=i(99197),d=i(33093),c=i(20646),u=i(12330),p=i(49012),h=i(28363),x=i(83113),m=i(68216),g=i(37975),y=i(8037),f=i(16497),b=i(85922),_=i(72603);let v=e=>e instanceof l.pe?e.response?.data?.errorMessage||e.message:e instanceof Error?e.message:String(e);function*j(e){let{silent:t=!1,redirectOnFailure:i=!0}=e.payload||{};try{t||(yield(0,m.yJ)(g.o1.setFetchStatus(y.Hp.loading)));let{data:e}=yield(0,m.T1)(i?p.uE.get:s.A,i?"/account":"/api/app/account");yield(0,m.yJ)(g.o1.setAccount(e)),e.user&&(h.A.setUser(e.user),x.Ay.setUser(e.user),(0,d.mI)(e.user.visitorId))}catch(e){yield(0,m.yJ)(g.o1.setUserError(v(e))),yield(0,m.yJ)(g.o1.setFetchStatus(y.Hp.failed))}}function*A({payload:e}){try{yield(0,m.yJ)(g.o1.setUserUpdating(!0));let{data:t}=yield(0,m.T1)(p.uE.put,"/account",e);yield(0,m.yJ)(g.o1.setUserUpdating(!1)),t.success?(yield(0,m.yJ)(g.o1.setAccount(t)),yield(0,m.yJ)(g.o1.setUserError(null))):yield(0,m.yJ)(g.o1.setUserError(t.errorMessage))}catch(e){yield(0,m.yJ)(g.o1.setUserError(v(e))),yield(0,m.yJ)(g.o1.setUserUpdating(!1))}}function*C(){try{let{data:e}=yield(0,m.T1)(p.uE.delete,"/account");!0===e.success&&(window.location.href=e.data.redirectUrl)}catch(e){}}function*w({payload:e}
8256){try{yield(0,m.yJ)(g.o1.setSocialUpdating({provider:e,status:!0}));let{data:t}=yield(0,m.T1)(p.uE.delete,"/account/social-profile",{params:{provider:e}});yield(0,m.yJ)(g.o1.setAccount(t)),yield(0,m.yJ)(g.o1.setSocialUpdating({provider:e,status:!1}))}catch(e){yield(0,m.yJ)(g.o1.setUserError(v(e)))}}function*k({payload:e}){try{let{success:t,errorMessage:i,...r}=(yield(0,m.T1)(p.uE.post,"/account/extend-jwt",null,{params:{token:e.token}})).data;t?(yield(0,m.yJ)(g.o1.setUserJwt(r)),e.resolve(r.jwt)):(h.A.log(i),e.reject(i))}catch(e){h.A.log(e)}}function*S({payload:e}){try{let t=`/account/email-notification/${e.name}`;yield(0,m.T1)(p.uE.put,t,{active:e.value})}catch(e){}}function*T({payload:e}){try{yield(0,m.yJ)(g.o1.setCancellationStatus(y.Hp.loading));let{data:t}=yield(0,m.T1)(p.uE.delete,"/subscription",{data:e});t.success?(yield(0,m.yJ)(g.o1.setAccount(t)),yield(0,m.yJ)(g.o1.setCancellationStatus(y.Hp.loaded))):(yield(0,m.yJ)(g.o1.setCancellationError(t.errorMessage)),yield(0,m.yJ)(g.o1.setCancellationStatus(y.Hp.failed)))}catch(t){h.A.log(t);let e=c.R.t("builder.subscription_cancellation.form.server_error");yield(0,m.yJ)(g.o1.setCancellationError(e)),yield(0,m.yJ)(g.o1.setCancellationStatus(y.Hp.failed))}}function*P({payload:e={}}){let{redirectUrl:t,onLoaded:i}=e;try{yield(0,m.yJ)(g.o1.setPauseSubscriptionStatus(y.Hp.loading));let{data:e}=yield(0,m.T1)(p.uE.post,"/subscription/pause");e.success&&(yield(0,m.yJ)(g.o1.setAccount(e)),yield(0,m.yJ)(g.o1.setPauseSubscriptionStatus(y.Hp.loaded)),i&&i(),(0,f.o)(t||"/account"),yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.success,text:"You are on a free plan now. We are happy to have you onboard!"})))}catch(e){h.A.log(e),yield(0,m.yJ)(g.o1.setPauseSubscriptionStatus(y.Hp.loaded)),i&&i(),(0,f.o)(t||"/account"),yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.failure,text:"Free plan could not be activated due to following error: "+e.message}))}finally{yield(0,m.cb)(3e3),yield(0,m.yJ)(b.o1.closeSnackBar())}}function*J({payload:e}){try{yield(0,m.T1)(p.uE.post,"/update-smart-banner-order",{smart_banner_order:e})}catch(e){h.A.log(e)}}function*E({payload:e}){try{yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loading));let t=yield(0,m.T1)(p.uE.post,"/subscription/cancellation_discount");!0===t.data.success&&200===t.status?(yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.success,text:`${e.discountPercentage}% discount applied. We are happy to have you onboard!`})),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loaded)),(0,f.o)("/")):!1===t.data.success&&200===t.status&&t.data.alreadyGotDiscount?(yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loaded)),yield(0,m.yJ)(g.o1.setDiscountError("Already Discounted"))):(yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.failure,text:t.data.errorMessage||"An unknown error has occured!"})),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loaded)))}catch(e){h.A.log(e),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.failed)),yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.failure,text:"Discount could not be applied due to following error: "+(e instanceof Error?e.message:String(e))}))}finally{yield(0,m.cb)(3e3),yield(0,m.yJ)(b.o1.closeSnackBar())}}function*R(){try{yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loading));let e=yield(0,m.T1)(p.uE.post,"/subscription/stay_in_touch_discount");!0===e.data.success&&200===e.status?(yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.success,text:"Done! You've changed your subscription plan"})),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loaded)),(0,f.o)("/")):!1===e.data.success&&200===e.status&&e.data.alreadyGotDiscount?(yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loaded)),yield(0,m.yJ)(g.o1.setDiscountError("Already Discounted"))):(yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.failure,text:e.data.errorMessage||"An unknown error has occured!"})),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loaded)))}catch(e){h.A.log(e),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.failed)),yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.failure,text:"Discount could not be applied due to following error: "+(e instanceof Error?e.message:String(e))}))}finally{yield(0,m.cb)(3e3),yield(0,m.yJ)(b.o1.closeSnackBar())}}function*L({payload:e}){try{yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loading));let t=yield(0,m.T1)(p.uE.post,"/subscription/abandoned_discount");!0===t.data.success&&200===t.status||!1===t.data.success&&200===t.status&&t.data.alreadyGotDiscount?(yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.success,text:`${e.discountPercentage}% discount applied!`})),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loaded))):(yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.failure,text:t.data.errorMessage||"An unknown error has occured!"})),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loaded)))}catch(e){h.A.log(e),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.failed)),yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.failure,text:"Discount could not be applied due to following error: "+(e instanceof Error?e.message:String(e))}))}finally{yield(0,m.cb)(3e3),yield(0,m.yJ)(b.o1.closeSnackBar())}}function*N({payload:e}){try{yield(0,m.yJ)(g.o1.setSubmitFeedbackStatus(y.Hp.loading));let t=s.A.create({baseURL:"/",headers:{"X-Requested-With":"XMLHttpRequest"}}),i=yield(0,m.T1)(t.post,"/support/ticket",null,{params:{captcha_token_v3:"",topic:"feedback",subject:e.subject||"cancellation flow",plan:e.plan||"premium",email:e.email,retype:"",name:e.name,message:e.feedback}});i.data.success&&200===i.status?yield(0,m.yJ)(g.o1.setSubmitFeedbackStatus(y.Hp.loaded)):(yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.failure,text:i.data.errorMessage||"An unknown error has occured!"})),yield(0,m.yJ)(g.o1.setDiscountStatus(y.Hp.loaded)))}catch(e){h.A.log(e),yield(0,m.yJ)(g.o1.setSubmitFeedbackStatus(y.Hp.failed)),yield(0,m.yJ)(b.o1.setSnackBarOpen({status:!0,type:b.pN.failure,text:"Feedback could not be submitted due to following error: "+(e instanceof Error?e.message:String(e))}))}finally{yield(0,m.cb)(3e3),yield(0,m.yJ)(b.o1.closeSnackBar())}}function*I(){if((yield(0,m.Lt)(g.Tp.superAppLoginStatus))!==y.Hp.loading)try{yield(0,m.yJ)(g.o1.setSuperAppLoginStatus(y.Hp.loading));let{data:e}=yield(0,m.T1)(p.uE.post,"/career-identity/activate");window.location.href=e.loginLink}catch(e){yield(0,m.yJ)(b.o1.setWarningSnackbarOpen({timeout:2e3,text:c.R.t("builder.dashboard.super_app_promo.activation_error")})),yield(0,m.yJ)(g.o1.setSuperAppLoginStatus(y.Hp.failed))}}function*M(){try{let{data:e}=yield(0,m.T1)(p.uE.get,"/show-overlay-to-user"),t=e?.isFirstLogin;!t&&e?.activatedBy&&(e?.activatedBy.includes("resume.io")||e?.activatedBy.includes("resume.test"))&&(t=!0),yield(0,m.yJ)(g.o1.setIsUserLoggingFirstTime(t)),u.D.setItem("IS_CHECKED_FIRST_LOGIN",!0)}catch(e){h.A.log(e)}}function*B({payload:e}){try{if(e.user&&(yield(0,m.yJ)(_.o1.setJobTitleId(e.user.currentJobTitleId)),yield(0,m.yJ)(_.o1.setJobTitleReady(!0)),null!==e.user.currentJobTitleId)){yield(0,m.yJ)(_.o1.setJobTitle(""));let{data:t}=yield(0,m.T1)(p.R3.get,`career-data/v1/job-titles/${e.user.currentJobTitleId}`);yield(0,m.yJ)(_.o1.setJobTitle(t.jobTitle))}}catch(e){h.A.log(e)}}let D=function*(){yield(0,m.Q7)([(0,m.jP)(g.o1.setAccount,B),(0,m.jP)(g.o1.fetchUserRequest,j),(0,m.jP)(g.o1.updateUserRequest,A),(0,m.jP)(g.o1.deleteUserRequest,C),(0,m.jP)(g.o1.cancelUserSubscription,T),(0,m.jP)(g.o1.pauseUserSubscription,P),(0,m.jP)(g.o1.disconnectSocialRequest,w),(0,m.jP)(g.o1.toggleEmailNotification,S),(0,m.jP)(g.o1.extendJwtRequest,k),(0,m.jP)(g.o1.loginToSuperApp,I),(0,m.jP)(g.o1.getDiscountNew,E),(0,m.jP)(g.o1.applyStayInTouchDiscount,R),(0,m.jP)(g.o1.getAbandonedDiscount,L),(0,m.jP)(g.o1.submitFeedbackForSubscriptionCancellation,N),(0,m.jP)(g.o1.fetchFirstTimeLoginStatus,M),(0,m.jP)(g.o1.updateSmartBannerOrderRequest,J)])};var $=i(72134)},37975:function(e,t,i){"use strict";i.d(t,{Ff:function(){return d},Tp:function(){return l},o1:function(){return a}});var r=i(60258),n=i(8037),o=i(72134);let a={setFetchStatus:(0,r.VP)("builder/SET_USER_FETCH_STATUS"),setUserUpdating:(0,r.VP)("builder/SET_USER_UPDATING"),setDiscountStatus:(0,r.VP)("builder/SET_DISCOUNT_GETTING_STATUS"),setDiscountError:(0,r.VP)("builder/SET_DISCOUNT_ERROR"),setCancellationStatus:(0,r.VP)("builder/SET_CANCELLATION_STATUS"),setCancellationError:(0,r.VP)("builder/SET_CANCELLATION_ERROR"),setAccount:(0,r.VP)("builder/SET_ACCOUNT"),setUserError:(0,r.VP)("builder/SET_USER_ERROR"),setSocialUpd
8256ating:(0,r.VP)("builder/SET_SOCIAL_UPDATING"),setUserJwt:(0,r.VP)("builder/SET_USER_JWT"),setPauseSubscriptionStatus:(0,r.VP)("builder/SET_PAUSE_SUBSCRIPTION_STATUS"),setSubmitFeedbackStatus:(0,r.VP)("builder/SET_SUBMIT_FEEDBACK_STATUS"),setIsUserLoggingFirstTime:(0,r.VP)("builder/SET_IS_USER_LOGGING_FIRST_TIME"),setIsResumeDownloaded:(0,r.VP)("builder/SET_IS_RSUME_DOWNLOADED"),fetchUserRequest:(0,r.VP)("builder/FETCH_USER_REQUEST"),updateUserRequest:(0,r.VP)("builder/UPDATE_USER_REQUEST"),deleteUserRequest:(0,r.VP)("builder/DELETE_USER_REQUEST"),cancelUserSubscription:(0,r.VP)("builder/CANCEL_USER_SUBSCRIPTION"),pauseUserSubscription:(0,r.VP)("builder/PAUSE_USER_SUBSCRIPTION"),toggleEmailNotification:(0,r.VP)("builder/TOGGLE_USER_EMAIL_NOTIFICATION"),extendJwtRequest:(0,r.VP)("builder/EXTEND_USER_JWT_REQUEST"),disconnectSocialRequest:(0,r.VP)("builder/DISCONNECT_SOCIAL"),getDiscountNew:(0,r.VP)("builder/GET_DISCOUNT_NEW"),applyStayInTouchDiscount:(0,r.VP)("builder/APPLY_STAY_IN_TOUCH_DISCOUNT"),getAbandonedDiscount:(0,r.VP)("builder/GET_ABANDONED_DISCOUNT"),submitFeedbackForSubscriptionCancellation:(0,r.VP)("builder/CANCEL_SUBSCRIPTION_SUBMIT_FEEDBACK"),fetchFirstTimeLoginStatus:(0,r.VP)("builder/FETCH_FIRST_TIME_LOGIN_STATUS"),updateSmartBannerOrderRequest:(0,r.VP)("builder/UPDATE_SMART_BANNER_ORDER_REQUEST"),setUIUserState:(0,r.VP)("builder/SET_UI_USER_STATE"),loginToSuperApp:(0,r.VP)("builder/LOGIN_TO_SUPERAPP"),setSuperAppLoginStatus:(0,r.VP)("builder/SET_SUPERAPP_LOGIN_STATUS")},l={isFetched:e=>e.user.fetchStatus===n.Hp.loaded,availableTopResumeReview:e=>e.user.data?.availableTopResumeReview,premiumAccess:e=>e.user.data?.hasPremiumFeatures??!1,isWriter:e=>e.user.data?.scopes?.writer??!1,getUpgradeUrl:e=>e.user.data?.billingInfo.upgradeUrl,userData:e=>e.user.data,postPremium:e=>e.user.data?.billingInfo?.userType,isRioUser:e=>e.user.data?.isRioUser,photoUrl:(0,o.j)(e=>e.user.data?.profilePicture),superAppLoginStatus:e=>e.user.superAppLoginStatus,pauseSubscriptionStatus:e=>e.user.pauseSubscriptionStatus,cancellationStatus:e=>e.user.cancellationStatus,discountStatus:e=>e.user.discountStatus,discountErrorText:e=>e.user.discountErrorText,feedbackStatus:e=>e.user.submitFeedbackStatus,isUserLoggingFirstTime:e=>e.user.isUserLoggingFirstTime,isResumeDownloaded:e=>e.user.isResumeDownloaded,displayCioPromoModal:e=>e.user.data?.showCioPromoModal,smartBannersOrder:e=>e.user.data?.smartBannerOrder,isUpdating:e=>e.user.isUpdating},s={fetchStatus:n.Hp.notAsked,isUpdating:!1,discountStatus:n.Hp.notAsked,discountErrorText:null,cancellationStatus:n.Hp.notAsked,cancellationError:null,socialUpdating:{facebook:!1,linkedin:!1,google_oauth2:!1},data:null,jwt:null,jwtExpiresAt:null,error:null,superAppLoginStatus:n.Hp.notAsked,pauseSubscriptionStatus:n.Hp.notAsked,submitFeedbackStatus:n.Hp.notAsked,isUserLoggingFirstTime:!1,isResumeDownloaded:!1},d=(0,r.vy)(s,e=>{e.addCase(a.setFetchStatus,(e,t)=>{e.fetchStatus=t.payload}),e.addCase(a.setUserUpdating,(e,t)=>{e.isUpdating=t.payload}),e.addCase(a.setDiscountStatus,(e,t)=>{e.discountStatus=t.payload}),e.addCase(a.setCancellationStatus,(e,t)=>{e.cancellationStatus=t.payload}),e.addCase(a.setCancellationError,(e,t)=>{e.cancellationError=t.payload}),e.addCase(a.setAccount,(e,{payload:t})=>{e.jwt=t.jwt,e.jwtExpiresAt=t.jwtExpiresAt,t.user&&(e.data=t.user),e.fetchStatus=n.Hp.loaded}),e.addCase(a.toggleEmailNotification,(e,t)=>{e.data&&(e.data.emailNotifications[t.payload.name]=t.payload.value)}),e.addCase(a.setUserJwt,(e,t)=>{e.jwt=t.payload.jwt,e.jwtExpiresAt=t.payload.jwtExpiresAt}),e.addCase(a.setUserError,(e,t)=>{e.error=t.payload}),e.addCase(a.setSocialUpdating,(e,t)=>{e.socialUpdating[t.payload.provider]=t.payload.status}),e.addCase(a.setSuperAppLoginStatus,(e,t)=>{e.superAppLoginStatus=t.payload}),e.addCase(a.setPauseSubscriptionStatus,(e,t)=>{e.pauseSubscriptionStatus=t.payload}),e.addCase(a.setSubmitFeedbackStatus,(e,t)=>{e.submitFeedbackStatus=t.payload}),e.addCase(a.setIsUserLoggingFirstTime,(e,t)=>{e.isUserLoggingFirstTime=t.payload}),e.addCase(a.setIsResumeDownloaded,(e,t)=>{e.isResumeDownloaded=t.payload}),e.addCase(a.setDiscountError,(e,t)=>{e.discountErrorText=t.payload}),e.addCase(a.setUIUserState,(e,t)=>{e.data?.uiStates&&(e.data.uiStates={...e.data?.uiStates,...t.payload})})})},66795:function(e,t,i){"use strict";i.d(t,{Ff:function(){return o},Tp:function(){return n},o1:function(){return a}}),i(44114);var r=i(60258);let n={messages:e=>e.virtualCoach.messages,loading:e=>e.virtualCoach.loading,error:e=>e.virtualCoach.error},{reducer:o,actions:a}=(0,r.Z0)({name:"virtualCoach",initialState:{messages:[],loading:!1,error:null},reducers:{sendMessage:(e,t)=>
8256{e.loading=!0,e.error=null},setLoading:(e,t)=>{e.loading=t.payload},addUserMessage:(e,t)=>{e.messages.push({role:"user",content:t.payload})},receiveMessage:(e,t)=>{let{payload:i}=t;e.messages.push({role:"assistant",content:i.response,urlLinks:i.urlLinks}),e.loading=!1},openChatBot:e=>{},hydrateMessages:(e,t)=>{e.messages=t.payload},setError:(e,t)=>{e.error=t.payload,e.loading=!1},resetChat:e=>{e.messages=[],e.loading=!1,e.error=null}}})},3161:function(e,t,i){"use strict";i(44114),i(18111),i(61701);let r=null;t.A=new class{constructor(){return r||(r=this),this.anchorCallbacks=new Map,this.messagesForAnchors=[],r}attachAnchor=(e,t)=>{this.anchorCallbacks.set(e,t);let i=this.getMessageById(e);i&&t(i.focus)};detachAnchor=e=>{this.anchorCallbacks.delete(e)};scrollToAnchor=e=>{let t=this.anchorCallbacks.get(e);t?t():this.messagesForAnchors.push({id:e,focus:window.focus})};getMessageById=e=>{let t=this.messagesForAnchors.map(e=>e.id).indexOf(e),i=this.messagesForAnchors[t];return this.messagesForAnchors.splice(t,1),i}}},50562:function(e,t,i){"use strict";i.d(t,{Q:function(){return l}});var r=i(43253);i(8037);var n=i(16497),o=i(12330);let a="APP_AUTH_REDIRECT_PATH",l=new class{enterApp(e){let t=this.getPersistedPath();t&&this.clearStorage(),e?window.location.href=e:t?window.location.href=t:(0,n.o)("?welcome")}leaveApp(e={}){e.persistPath&&this.persistPath(window.location.pathname+window.location.search),window.location.href="/app/auth/sign-in"}persistPath(e){let t={path:e,createdAt:Date.now()};o.D.setItem(a,JSON.stringify(t))}getPersistedPath(){try{let e=o.D.getItem(a);if(e){let{createdAt:t,path:i}=JSON.parse(e);if(!((0,r.A)(t,Date.now())>24))return i}}catch{}return null}clearStorage(){o.D.removeItem(a)}}},83530:function(e,t,i){"use strict";i.d(t,{y:function(){return u}});var r=i(33093),n=i(84635),o=i(12330),a=i(34972),l=i(85922),s=i(32463),d=i(50562),c=i(84708);let u=new class{setAccessToken(e){o.D.setItem("API_ACCESS_TOKEN",e)}removeAccessToken(){o.D.removeItem("API_ACCESS_TOKEN"),o.D.removeItem("IS_CHECKED_FIRST_LOGIN"),o.D.removeItem(a.G.IS_WELCOME_MODAL_SHOWN),o.D.removeItem("INTAKE_PAGE"),o.D.removeItem((0,n.SS)(0)),o.D.removeItem((0,n.SS)(1)),o.D.removeItem((0,n.SS)(2)),o.D.removeItem(l.iD.SHOW_ABANDONMENT_MODAL_FLAG),o.D.removeItem(c.U.lastShownTrialModal),o.D.removeItem(c.U.trailModalPeriod),o.D.removeItem("rdPopupFlag")}getAccessToken(){return o.D.getItem("API_ACCESS_TOKEN")}async refreshAccessToken(){let{data:{token:e}}=await s.k6.post("/auth/refresh");return this.setAccessToken(e),e}login(e){this.setAccessToken(e)}async logout(e={}){let{invalidateSession:t=!0,...i}=e;try{t&&await s.k6.delete("/auth")}catch{}this.removeAccessToken(),await (0,r._Q)(),d.Q.leaveApp(i)}isLoggedIn(){return!!this.getAccessToken()}}},28363:function(e,t,i){"use strict";i.d(t,{A:function(){return g}});var r=i(49529),n=i(83741);i(18111),i(61701),i(13579),i(30531);var o=i(53110);let a=[401,403,404,422,429],l=[/Unknown font format/],s=["ECONNABORTED","ETIMEDOUT","ERR_CANCELED"],d=[/ResizeObserver loop/,"Non-Error promise rejection",/Event `CustomEvent` \(type=unhandledrejection\) captured as promise rejection/,/Object captured as promise rejection with keys: code, (data, )?message$/],c=["fbq is not defined","Can't find variable: fbq","Can't find variable: Beacon",/lintrk/,/grecaptcha is not defined/,/Can't find variable: grecaptcha/,/webkit\.messageHandlers\[.*\]\.postMessage/],u=["Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.","Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.","The object can not be found here.","Got unexpected null or undefined"],p=["Network Error","NetworkError","Request aborted","Failed to fetch","Load failed","NetworkError when attempting to fetch resource","cancelled",/timeout.*exceeded/],h=/Maximum call stack size exceeded/,x=/\/assets\/|resume-io-frontend|webpack-internal/;var m=new class{isCanceledNetworkError(e){return!!(e instanceof o.pe&&e.code&&s.includes(e.code))||e instanceof Error&&"CanceledError"===e.name}isAxios40xError(e){return e instanceof o.pe&&!!e.response&&a.includes(e.response.status)}isIgnoredError(e){return this.isCanceledNetworkError(e)||this.isAxios40xError(e)}isThirdPartyStackOverflow(e){let t=e.exception?.values??[];return!![e.message,...t.map(e=>e.value),...t.map(e=>e.type)].some(e=>null!=e&&h.test(e))&&!t.flatMap(e=>e.stacktrace?.frames??[]).some(e=>x.test(e.filename??"")||x.test(e.abs_path??""))}getIgnoredErrors(){return[/Request failed with status code (401|403|404|422|429)/,...u,...d,...c,...p,...l]}beforeSend(e,t){let i=t.originalException;return i&&this.isIgnoredError(i)||this.isThirdPartyStackOverflow(e)?null:e}},g=new class{constructor(e){r.Ts({dsn:e,environment:"production",release:"v1.2790.0",replaysSessionSampleRate:0,replaysOnErrorSampleRate:0,denyUrls:[/extensions\//i,/^chrome-extension:\/\//i,/^moz-extension:\/\//i,/^safari-(web-)?extension:\/\//i,/script\.hotjar\.com/i,/clarity\.ms/i,/googletagmanager\.com/i,/google-analytics\.com/i,/connect\.facebook\.net/i,/analytics\.tiktok\.com/i,/bat\.bing\.com/i,/snap\.licdn\.com/i,/srv\.stackadapt\.com/i,/utt\.impactcdn\.com/i,/\/tag_path\/profile\/visit\/js\//i,/bzrcdn\.openai\.com/i,/diffuser-cdn\.app-us1\.com/i,/beacon-v2\.helpscout\.net/i,/visualwebsiteoptimizer\.com/i],ignoreErrors:m.getIgnoredErrors(),beforeSend:(e,t)=>m.beforeSend(e,t)})}log(e,t={}){let{level:i="error"}=t;n.v4(function(r){r.setLevel(i),t.tag&&r.setTag(t.tag,!0),t.extra&&r.setExtras(t.extra),n.Cp(e)})}setUser({id:e,email:t}){n.gV({id:e,email:t})}}("https://[email protected]/1271089")},15978:function(e,t){"use strict";let i=null;
8256t.A=new class{constructor(){return i||(i=this),this._focusHandlers=new Map,i}subscribe(e,t){this._focusHandlers.set(e,t)}unsubscribe(e){this._focusHandlers.delete(e)}focus(e){let t=this._focusHandlers.get(e);t&&setTimeout(t,1)}}},52413:function(e,t,i){"use strict";var r=i(99197),n=i(65886),o=i(69685),a=i(20127),l=i(57238);let s="No JWT token provided";t.A=new class{constructor(e){this.client=r.A.create(),this.client.interceptors.request.use(async t=>{if(e)return t.headers.Authorization=`Bearer ${e}`,t;let i=await this.getToken();return t.headers.Authorization=`Bearer ${i}`,t})}connect(e){this.store=e,this.extendJwt=(0,a.I)(e.dispatch,l.o1.extendJwtRequest)}getToken=async()=>{let e=this.store.getState(),t=e.user.jwt,i=e.user.jwtExpiresAt;if(i&&(0,n.A)((0,o._U)(i)))return this.extendJwt({token:t});if(!t)throw Error(s);return t};isAuthorized=async()=>{try{return!!await this.getToken()}catch(e){if(e.message===s)return!1;throw e}}}},83113:function(e,t,i){"use strict";i.d(t,{fd:function(){return u}});var r=i(83960),n=i(31765),o=i(84684),a=i(95926),l=i(86641),s=i(83741),d=i(12261);class c{hub;transaction;spans;constructor(e){const t=new n.y({dsn:e||"https://[email protected]/5838786",integrations:[new o.IQ.HttpContext,new d.Jh({startTransactionOnLocationChange:!1,startTransactionOnPageLoad:!1})],environment:"production",tracesSampler:e=>e.transactionContext?.name==="server-rendering"?.01:["interview-dashboard-page","interview-feedback-page","interview-player-page"].includes(e.transactionContext?.name)?.5:.00125,transport:r._,stackParser:a.lG,beforeSend:e=>e}),i=new l.YZ(t);this.hub=i,this.spans={}}setUser({id:e,email:t}){this.hub.run(()=>{s.gV({id:e,email:t})})}listen(e){this.hub.run(t=>{this.transaction=t.startTransaction(e)})}skipCurrent(){this.hub.run(()=>{this.transaction&&(this.transaction.sampled=!1)})}operation(e,t={}){this.hub.run(()=>{this.transaction&&!this.spans[e]&&(this.spans[e]=this.transaction.startChild({op:e,...t}))})}operationEnd(e){this.hub.run(()=>{this.transaction&&this.spans[e]&&(this.spans[e].finish(),delete this.spans[e])})}operationFull(e={}){this.hub.run(()=>{this.transaction&&!this.spans[e.key]&&(this.spans[e.key]=this.transaction.startChild(e))})}finish(e={}){return new Promise(t=>{this.hub.run(()=>{if(this.transaction){if(e.status&&this.transaction.setStatus(e.status),e.tags){let{tags:t={},...i}=this.transaction.toContext();this.transaction.updateWithContext({...i,tags:{...t,...e.tags}})}for(let e of Object.keys(this.spans))this.operationEnd(e);this.transaction.finish(),delete this.transaction,this.spans={},t(void 0)}})})}}let u=new c("https://[email protected]/1271089");t.Ay=new c},47942:function(e,t,i){"use strict";var r=i(49012);t.A=new class{configs={};getConfig=async(e="en")=>{if(e=e||"en",this.configs[e])return this.configs[e];let t=`/general/renderer-config/${e}`,{data:i}=await r.uE.get(t);return this.configs[e]=i,i}}},19863:function(e,t,i){"use strict";i.d(t,{X:function(){return n}});var r=i(49012);let n=e=>{let t=new FormData;return t.append("file",e),r.uE.post("/resume-parser/parse-resume-data",t,{headers:{"Content-Type":"multipart/form-data"}})}},78561:function(e,t,i){"use strict";i.d(t,{$:function(){return a},j:function(){return o}}),i(18111),i(22489),i(61701);var r=i(83640),n=i(99701);let o=(e,t=1)=>(0,r.Mj)(e).alpha(t).toRgbString(),a=Object.keys(n.Jy).filter(e=>e.endsWith("100")).map(e=>e.toLowerCase().replace(/[0-9]+/,""))},64608:function(e,t,i){"use strict";i.d(t,{D7:function(){return l},dd:function(){return a},ni:function(){return o},qG:function(){return n}});var r=i(38267);let n=(0,r.i7)(["from{opacity:0;}to{opacity:1;}"]),o=(0,r.i7)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),a=(0,r.i7)(["0%{opacity:1;}33%{opacity:0.5;}66%{opacity:1;}"]),l=(0,r.i7)(["0%{background-position:-50vw 0;}80%{background-position:50vw 0;}100%{background-position:50vw 0;}"])},24833:function(e,t,i){"use strict";i.d(t,{$:function(){return o}});var r=i(38267);let n=e=>(...t)=>(0,r.AH)(["@media ","{","}"],e,(0,r.AH)(...t)),o={IphoneSE:n("(max-width: 375px)"),Phone:n("(max-width: 767px)"),AbovePhone:n("(min-width: 768px)"),Tablet:n("(max-width: 1023px)"),AboveTablet:n("(min-width: 1024px)"),Laptop:n("(max-width: 1199px)"),Desktop:n("(min-width: 1200px)"),Hover:n("(hover: hover)"),HoverNotSupported:n("(hover: none)")};t.A=o},85363:function(e,t,i){"use strict";var r=i(38267),n=i(99701),o=i(64608),a=i(78561);t.A={Shadow:(0,r.AH)(["box-shadow:0 14px 16px -10px ",",0 20px 40px -8px ",";"],(0,a.j)(n.Jy.Neutral30,.7),(0,a.j)(n.Jy.Neutral30,.12)),placeholderBackgroun
8256d:(0,r.AH)(["background-color:",";animation:"," 2s infinite linear;"],n.Jy.Neutral15,o.dd)}},67592:function(e,t,i){"use strict";i.d(t,{q:function(){return n}});var r=i(99701);let n={light:{low:r.qd.lightShadowLow,mid:r.qd.lightShadowMid,high:r.qd.lightShadowHigh},lightWithBorder:{low:`box-shadow: ${r.qd.lightWithBorderShadowLow}`,mid:`box-shadow: ${r.qd.lightWithBorderShadowMid}`,high:`box-shadow: ${r.qd.lightWithBorderShadowHigh}`},dark:{low:r.qd.darkShadowLow,mid:r.qd.darkShadowMid,high:r.qd.darkShadowHigh},template:{low:r.qd.templateShadowLow,mid:r.qd.templateShadowMid,high:r.qd.templateShadowHigh}};t.A=n},49504:function(e,t,i){"use strict";i.d(t,{BO:function(){return o},o5:function(){return a}});var r=i(99701),n=i(38267);let o={Regular:(0,n.AH)({fontWeight:r.o5.weights.regular}),Medium:(0,n.AH)({fontWeight:r.o5.weights.medium}),DemiBold:(0,n.AH)({fontWeight:r.o5.weights.demibold}),Bold:(0,n.AH)({fontWeight:r.o5.weights.bold})},a={XL:(0,n.AH)(r.o5.sizes.XL),L:(0,n.AH)(r.o5.sizes.L),M:(0,n.AH)(r.o5.sizes.M),S:(0,n.AH)(r.o5.sizes.S),Subhead:(0,n.AH)(r.o5.sizes.Subhead),Body:(0,n.AH)(r.o5.sizes.Body),Caps:(0,n.AH)(r.o5.sizes.Caps),Caption:(0,n.AH)(r.o5.sizes.Caption),Tiny:(0,n.AH)(r.o5.sizes.Tiny),ButtonM:(0,n.AH)(r.o5.sizes.ButtonM),ButtonS:(0,n.AH)(r.o5.sizes.ButtonS),ButtonV2M:(0,n.AH)(r.o5.sizes.ButtonV2M),TextS:(0,n.AH)(r.o5.sizes.TextS),TextScore:(0,n.AH)(r.o5.sizes.TextScore)};t.Ay=a},12330:function(e,t,i){"use strict";i.d(t,{D:function(){return r}});class r{static getItem(e){try{return window.localStorage.getItem(e)}catch(e){return console.error("localStorage.getItem error:",e),null}}static setItem(e,t){try{window.localStorage.setItem(e,t)}catch(e){console.error("localStorage.setItem error:",e)}}static removeItem(e){try{window.localStorage.removeItem(e)}catch(e){console.error("localStorage.removeItem error:",e)}}static clear(){try{window.localStorage.clear()}catch(e){console.error("localStorage.clear error:",e)}}}},69208:function(e,t,i){"use strict";i.d(t,{F:function(){return n},w:function(){return r}}),i(18111),i(61701);let r=(e,t)=>e.map(e=>String(e).toLowerCase()).includes(String(t).toLowerCase())?e:[...e,t],n=(e,t)=>{let i=e.map(e=>e.toString().toLowerCase()),r=t.toLowerCase();return i.indexOf(r)}},20127:function(e,t,i){"use strict";i.d(t,{I:function(){return r}});let r=(e,t)=>i=>new Promise((r,n)=>e(t({...i,resolve:r,reject:n})))},70738:function(e,t,i){"use strict";i.d(t,{x:function(){return o}});var r=i(84058),n=i.n(r);let o=e=>n()(e)},90019:function(e,t,i){"use strict";function r(e){return e.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}i.d(t,{C:function(){return r}})},348:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});let r=e=>e.replace(/(^\w{1})|(\s+\w{1})/g,e=>e.toUpperCase())},84403:function(e,t,i){"use strict";i.d(t,{M:function(){return l}}),i(18111),i(18237);var r=i(10838),n=i(93165),o=i(67440),a=i(90244);let l=(e,t)=>{try{let i=new Date(e);if(isNaN(i.getTime()))throw RangeError("Invalid input date");let l=Object.entries(t).reduce((e,[t,i])=>"future"===t&&i?(0,r.default)([new Date(e),(0,n.A)(new Date,i)]):"past"===t&&i?(0,o.default)([new Date(e),(0,a.A)(new Date,i)]):e,i);return new Date(l).toISOString()}catch(t){console.error("Error clamping date:",t);try{return new Date(e).toISOString()}catch{return new Date().toISOString()}}}},29522:function(e,t,i){"use strict";function r(e,t=0,i=1){return e>i?i:e<t?t:e}i.d(t,{N:function(){return r}})},97170:function(e,t,i){"use strict";i(14603),i(47566),i(98721),i(16573),i(78100),i(77936),i(21903),i(91134),i(28845),i(37467),i(44732),i(79577);let r=Response.prototype;"function"!=typeof r.bytes&&(r.bytes=async function(){return new Uint8Array(await this.arrayBuffer())}),i(83852).EA.workerSrc=new URL(i(5862),i.b).toString()},72899:function(e,t,i){"use strict";function r(e,t){let[i,r]=e.split(";base64,"),[,n]=i.split(":"),o=atob(r),a=new Uint8Array(o.length);for(let e=0;e<o.length;e++)a[e]=o.charCodeAt(e);return new File([a],t,{type:n})}i.d(t,{c:function(){return r}}),i(64979),i(16573),i(78100),i(77936),i(21903),i(91134),i(28845),i(37467),i(44732),i(79577)},44888:function(e,t,i){"use strict";i.d(t,{$:function(){return r}});let r=e=>{let t=document.createElement("div");return t.innerHTML=e,t.textContent||""}},70692:function(e,t,i){"use strict";function r(e,t="Document"){let i=document.createElement("a");i.style.display="none",i.href=e,i.download=t.replace(/[/\\?%*:|"<>]/g,""),document.body.appendChild(i),i.click(),i.remove(),e.startsWith("blob:")&&setTimeout(()=>URL.revokeObjectURL(e),6e4)}i.d(t,{P:function(){return r}}),i(14603),i(47566),i(98721)},69685:function(e,t,i){"use strict";i.d(t,{Io:function(){return S},PI:function(){return T},Yq:function(){return k},_U:function(){return w},xS:function(){return C}});var r=i(37431),n=i(28199),o=i(9503),a=i(1806),l=i(16327),s=i(33796),d=i(93130),c=i(46137),u=i(14521),p=i(45953),h=i(85383),x=i(25549),m=i(30781),g=i(21510),y=i(28614),f=i(22531),b=i(79285),_=i(55616),v=i(348);let j={supported:{en:l.A,"nl-NL":s.A,"es-ES":c.A,"sv-SE":x.A,da:h.A,nb:m.A,"fr-FR":d.A,"fr-CA":d.A,it:p.A,pl:g.A,cs:y.A,fi:u.A,"ja-JP":f.A,"ko-KR":b.A,"de-DE":_.A},active:l.A},A={at:"dd. MMMM yyyy",bg:"dd MMMM yyyy r.",ch:"dd. MMMM yyyy",cl:"dd 'de' MMMM 'de' yyyy",cz:"dd. MMMM yyyy",de:"dd. MMMM yyyy",dk:"dd. MMMM yyyy",es:"dd 'de' MMMM 'de' yyyy",fi:"dd. MMMM yyyy",fr:"dd MMMM yyyy",gr:"dd MMMM yyyy",ie:"dd MMMM yyyy",it:"dd MMMM yyyy",jp:"dd MMMM yyyy",mx:"dd 'de' MMMM 'de' yyyy",nl:"dd MMMM, yyyy",no:"dd. MMMM yyyy",nz:"dd MMMM yyyy",pl:"dd MMMM yyyy",pt:"dd 'de' MMMM 'de' yyyy",ro:"dd MMMM yyyy",rs:"dd. MMMM yyyy.",se:"dd MMMM yyyy",en:"MMMM dd, yyyy"},C=e=>{j.supported[e]?j.active=j.supported[e]:(j.active=j.supported.en,console.error(`Format date: Locale ${e} is not supported`))},w=e=>"string"==typeof e?(0,a.default)(e):e,k=(e,t,i={},n)=>{let o=n?A[j.active.code||"en"]||A.en:t||A.en,a=(0,r.default)(w(e),o,{locale:j.active,...i});return o.startsWith("LLL ")&&(a=a.replace(/^(.{3})\.?(.*)$/,"$1$2")),o.includes("HH:mm")&&j.active===j.supported["fr-FR"]&&(a=a.replace(":","h")),j.active.code===j.supported.en.code&&(a=a.replace(/\bsep\b/gi,"Sept")),(0,v.Z)(a)},S=(e,t,{strict:i,...r}={})=>(i?o.A:n.A)(w(e),w(t),{locale:j.active,...r}),T=(e,t)=>
8256S(e,new Date,t)},72958:function(e,t,i){"use strict";i.d(t,{t:function(){return o}}),i(18111),i(22489);var r=i(69685),n=i(20646);let o=e=>{let{dateFrom:t,dateUntil:i,isMonthFromHidden:o,isMonthUntilHidden:a,isDateUntilPresent:l}=e;return[t&&(0,r.Yq)(t,o?"yyyy":"LLL yyyy"),l?n.R.t("builder.date_range.present"):i&&(0,r.Yq)(i,a?"yyyy":"LLL yyyy")].filter(e=>e).join(" - ")}},63967:function(e,t,i){"use strict";i.d(t,{I:function(){return l}});var r=i(86663),n=i(8037),o=i(50104);let a=i.n(o)()(()=>{try{return document.createElement("canvas").toDataURL("image/webp").startsWith("data:image/webp")}catch{return!1}});function l(e,t={}){let{renderingToken:i,version:o}=e,{page:s=1,size:d,format:c=a()?"webp":"jpg",...u}=t;return(0,r.stringifyUrl)({url:`https://ssr.resume.tools/to-image/${i}-${s}.${c}`,query:{cache:o,size:d?Math.min(d*n.Lv,2e3):void 0,...u}})}},43612:function(e,t,i){"use strict";i.d(t,{n:function(){return o}});var r=i(8037);let n={[r.hR.pdf]:"pdf",[r.hR.docx]:"docx"},o=(e,t)=>{let i=n[t];if(!i)return null;let o=e.autoTailored&&e.name?e.name:(e.type===r.VC.coverLetter?[e.senderName,"Cover Letter"].join(" - "):[[e.firstName,e.lastName].join(" "),e.position].join(" - ")).replace(/\s/g,"_").replace(/[/\\?%*:|"<>]/g,"").substring(0,250);return`${o}.${i}`}},23699:function(e,t,i){"use strict";function r(){return"_"+(0xffffff*Math.random()).toString()}i.d(t,{M:function(){return r}})},33809:function(e,t,i){"use strict";i.d(t,{PI:function(){return r},rh:function(){return n}});let r=e=>e?.type==="resume",n=e=>e?.type==="cover_letter"},10364:function(e,t,i){"use strict";i.d(t,{g:function(){return r}});let r=()=>({id:0,type:"resume",renderingToken:"",name:null,avatar:{transform:null,thumbUrl:null,mediumUrl:null,originalUrl:null,blank:!0},position:null,firstName:null,lastName:null,phoneNumber:null,countryName:null,city:null,address:null,postalCode:null,birthPlace:null,birthDate:null,drivingLicense:null,nationality:null,email:null,profile:"",template:"stockholm",sectionsOrder:["profile","workExperiences","educations","socialProfiles","skills"],color:null,spacing:null,version:"",secureId:null,locale:"en",namePronunciation:"",resumeSubmissionDate:null,married:null,numberOfDependents:null,spouseObligation:null,commutingTime:null,spaceForPersonalRequests:null,referencesUponRequest:!1,hideSkillLevel:!1,sectionTitles:{},showPrefillResumeModal:!0,motivation:null,pr:null,qualifications:null,technicalSkills:null,skillsDescription:null,companyName:null,jobTitle:null,linkedin:null,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString(),workExperiences:[],educations:[],courses:[],internships:[],activities:[],skills:[],languages:[],hobbies:[],references:[],socialProfiles:[],customSections:[],powerStatement:null,accomplishments:null,aiTaskId:null,aiJobStatus:null,score:0,averageScore:0,jobPostingId:null,originalResumeId:null,autoTailored:!1,templateSettings:null,addressPronunciation:null,gender:null,data:null,ableForSkillCategories:!1,skillCategories:[],publications:null,conferences:[],volunteerings:[],awards:[],licensesAndCertifications:[],technicalProficiencyCategories:[],affiliations:[]})},22130:function(e,t,i){"use strict";i.d(t,{b:function(){return o},f:function(){return n}});var r=i(86663);let n=e=>{let t=e?.referrerPage,i=e?.upgradeURL&&"/app/billing/plans"!==e.upgradeURL?e.upgradeURL:"/app/billing/plans",n=window.location.pathname+window.location.search,o=e?.onCloseRedirect||n;return(0,r.stringifyUrl)({url:i,query:{referrerPage:e?.forceReferrerPage?e.forceReferrerPage:t,on_success_redirect:e?.onSuccessRedirect,on_close_redirect:o,plan:e?.plan,resume_id:e?.resumeId,cover_letter_id:e?.coverLetterId,document:e?.document,document_type:e?.documentType,document_format:e?.documentFormat,document_template:e?.documentTemplate,tailoring:e?.tailoring,auto_apply:e?.autoApply}})},o=e=>{window.location.assign(n(e))}},20646:function(e,t,i){"use strict";i.d(t,{R:function(){return r.Ru}});var r=i(90811)},30343:function(e,t,i){"use strict";i.d(t,{k:function(){return d}}),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(18111),i(22489),i(20116);var r=i(29132),n=i.n(r),o=i(11331),a=i.n(o);let l=new Set(["id","version","createdAt","updatedAt","renderingToken","score","averageScore","aiJobStatus","aiTaskId","secureId","autoTailored","jobPostingId","originalResumeId","jobCardId","trOrderId","showPrefillResumeModal","userId","sourceResumeId","cid","resumeId","resumeWorkExperienceId"]),s=(e,t)=>{if(a()(e)&&a()(t)){let i=Object.keys(e).filter(e=>!l.has(e)),r=Object.keys(t).filter(e=>!l.has(e));if(i.length!==r.length)return!1;for(let r of i)if(!Object.prototype.hasOwnProperty.call(t,r)||!n()(e[r],t[r],s))return!1;return!0}},d=(e,t)=>n()(e,t,s)},77093:function(e,t,i){"use strict";function r(e=window.innerWidth){return{hover:!matchMedia||matchMedia("(hover)").matches,isPhone:e<=767,isTablet:e<=1023,isAboveTablet:e>1023,isLaptop:e<=1199,isDesktop:e>=1200,isDesktopWithDash:e>=1450,isMidDesktop:e<=1400}}i.d(t,{C:function(){return r}})},84764:function(e,t,i){"use strict";i.d(t,{Ae:function(){return n},_b:function(){return r},q2:function(){return o}}),i(18111),i(18237),i(44114),i(22489),i(61701);let r=(e,t)=>e.reduce((e,i)=>(i.id!==t?e.push(i):"number"==typeof i.id&&e.push({...i,_destroy:!0}),e),[]),n=e=>e.filter(e=>!e._destroy),o=e=>{let t=1;return e.map(e=>e._destroy?e:{...e,position:t++})}},93982:function(e,t,i){"use strict";i.d(t,{n:function(){return r}});let r=e=>e?Math.round(e):0},45427:function(e,t,i){"use strict";function r(e,t=","){return e.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+t)}i.d(t,{g:function(){return r}})},99180:function(e,t,i){"use strict";i.d(t,{V:function(){return r}});let r=e=>{let t=window.open(e,"_blank","noopener,noreferrer");t&&(t.opener=null)}},7987:function(e,t,i){"use strict";function r(e){e.offsetTop}i.d(t,{q:function(){return r}})},31441:function(e,t,i){"use strict";i.d(t,{D1:function(){return o},L5:function(){return l},Oz:function(){return s}}),i(18111),i(20116);var r,n=i(99701),o=((r={}).NeedsWork="needsWork",r.StrongMatch="strongMatch",r.ExcellentMatch="excellentMatch",r);let a=[{minScore:80,config:{tier:"excellentMatch",color:n.Jy.Green60,bgColor:n.Jy.Green10,hoverBgColor:n.Jy.Green20,darkColor:n.Jy.Green70,labelKey:"excellent_match"}},{minScore:50,config:{tier:"strongMatch",color:n.Jy.Green50,bgColor:n.Jy.Green10,hoverBgColor:n.Jy.Green20,darkColor:n.Jy.Green70,labelKey:"strong_match"}},{minScore:0,config:{tier:"needsWork",color:n.Jy.Amber40,bgColor:n.Jy.Amber10,hoverBgColor:"#FFEDC5",darkColor:n.Jy.Amber70,labelKey:"needs_work"}}];function l(e){let t=a.find(t=>e>=t.minScore);return t?.config??a[a.length-1].config}function s(e){return l(e).color}},44506:function(e,t,i){"use strict";i.d(t,{yN:function(){return p},mT:function(){return s},c2:function(){return u},B2:function(){return d},zz:function(){return c}}),i(18111),i(61701),i(22489);var r=i(62193),n=i.n(r),o=i(44826),a=i.n(o);let l=/^(?:\s|&nbsp;|<[^>]+>)+/,s=e=>e.replace(/<h[1-6][^>]*>.*?<\/h[1-6]>/gi,e=>{let t=e.replace(/<\/?h[1-6][^>]*>/g,"");return`<p>${t}</p>`}),d=e=>{let t=e.split("\n").filter(e=>""!==e.trim()),i=!1;return t.map(e=>{if(e.replace(l,"").startsWith("•")){let t=`${!i?"<ul>":""}<li>${e.replace(/•\s*/,"")}</li>`;return i=!0,t}let t=`${i?"</ul>":""}${e}`;return i=!1,t}).join("\n")},c=e=>!!e&&!n()(a()(e).replace(/<[^>]*>/g,"").replace(/&nbsp;/g,"")),u=e=>{if(!e)return e;let t=!1;return e.split(/(<[^>
8256]*>)/).map(e=>e.startsWith("<")?(/^<pre[\s/>]/i.test(e)?t=!0:/^<\/pre[\s>]/i.test(e)&&(t=!1),e):t?e:e.replace(/[ \t\n\r]{2,}/g," ")).join("")},p=e=>e.includes("<p>")?e:e.replace(/\n+/g,"\n").split("\n").filter(e=>""!==e.trim()).map(e=>`<p>${e}</p>`).join("<p><br></p>").trim()},20718:function(e,t,i){"use strict";function r(e,t=0){let i=Math.pow(10,t);return Math.round(i*e)/i}i.d(t,{W:function(){return r}})},19611:function(e,t,i){"use strict";i.d(t,{Q:function(){return r}});let r=e=>e.replace(/(<([^>]+)>)/gi,"")},83773:function(e,t,i){"use strict";i.d(t,{a:function(){return r}});let r=async e=>{let t=(await i.e("3788").then(i.t.bind(i,31991,23))).run({email:e});return t?t.full:""}},32760:function(e,t,i){"use strict";i.d(t,{m:function(){return S}}),i(18111),i(20116),i(61701),i(22489);var r=i(74848),n=i(81247),o=i(96540),a=i(33093),l=i(2543),s=i(99701),d=i(77378),c=i(77868),u=i(91779),p=i(34346),h=i(14649),x=i(62983),m=i(48429),g=i(36822),y=i(8559),f=i(56749),b=i(55030),_=i(23630),v=i(72528),j=i(96831),A=i.p+"media/target_role_location_header29357ce26a233377.png",C=i.p+"media/target_role_header6cad8747ecedc20e.png",w=i(30207);let k="builder.career_profile.profile.target_role_modal",S=({setClose:e,includeLocation:t=!1,locationData:i,roleData:S,useAlternativeButton:T=!1,showSkip:P=!1,handleAfterSave:J,eventLabel:E,showBackButton:R=!0,translationKey:L=k,defaultStep:N="job"})=>{let{i18n:I}=(0,d.s)(),M=(0,n.wA)(),[B,D]=(0,o.useState)(N),[$,O]=(0,o.useState)(!1),[z,F]=(0,o.useState)(!1),H=(0,n.d4)(p.Tp.profileTargetLocations),{isLocationDisabled:V,handleSimpleFieldUpdate:U,isTargetRoleDisabled:W,localProfile:K}=(0,j.R)(),[q,G]=(0,o.useState)(""),[Z,X]=(0,o.useState)(""),[Q,Y]=(0,o.useState)(!1),ee=!t||"location"===B,[et]=(0,b.M)(f.wt,[]),[ei,er]=(0,o.useState)(),en=(0,o.useMemo)(()=>(0,m.V7)(et),[]),eo=(0,o.useMemo)(()=>{let e=(0,r.jsxs)(r.Fragment,{children:[ei?.formatted,"\xa0",(0,r.jsxs)(_.xo,{children:["(",I.t("builder.job_search.search_bar.location.near_me"),")"]})]});return(0,m.rZ)(I.t,!0,ei,e,en)},[I,ei,en]);(0,o.useEffect)(()=>{(0,a.xP)("show_target_role_modal",{label:E})},[E]),(0,o.useEffect)(()=>{(0,y.an)().then(e=>er(e)).catch(()=>{})},[]);let ea=()=>{if(!R&&"location"===N)return!0;let e=K?.targetRoles?.length,t=""!==q;return e&&!t||e&&t&&!!K?.targetRoles.find(e=>e.standardTitle.trim()===q.trim())},el=(i=!1)=>{let r,n,o,l=!ea(),s=!i&&(r=!t,n=""===Z,o=K?.targetLocations.find(e=>e.formattedName===Z),!r&&!n&&!o);if(l||s){O(l),F(s);return}let d=i&&H.length;M(p.o1.updateProfileData({targetRoles:K?.targetRoles,...t&&!d&&{targetLocations:i&&!K?.targetLocations.length?[{id:null,formattedName:"Remote"}]:K?.targetLocations}})),(0,a.xP)("update_career_profile_data",{source:"target_role_modal",targetRoles:K?.targetRoles.map(e=>e.standardTitle).join(";"),targetLocations:K?.targetLocations.map(e=>e.formattedName).join(";")}),e(),J&&J()};return(0,r.jsx)(w.Dp,{children:(0,r.jsxs)(w.Bs,{"data-testid":"set-target-location-dialog",children:[(0,r.jsxs)(w.UG,{children:[(0,r.jsx)(c.gh,{"data-testid":"close-set-location-dialog-button",onClick:()=>{"job"===B?(0,a.xP)("click_close_target_role_modal",{label:E}):(0,a.xP)("click_close_desired_location",{label:E}),e()},style:{background:s.Jy.Neutral5},children:(0,r.jsx)(c.Z,{})}),"job"===B?S?.Image||(0,r.jsx)(w.Go,{src:C}):i?.Image||(0,r.jsx)(w.d7,{src:A}),(0,r.jsx)(w.wt,{children:"job"===B?S?.title||I.t(`${L}.title`):i?.title||I.t(`${L}.location_title`)})]}),(0,r.jsxs)(w.cw,{children:[(0,r.jsxs)(v.qo,{withMargin:!0,children:["job"===B&&K?.targetRoles.map(e=>(0,r.jsxs)(v.xd,{children:[(0,r.jsx)(v.qN,{children:e.standardTitle}),(0,r.jsx)(v.YP,{onClick:()=>U("targetRoles",K.targetRoles.filter(t=>t.standardTitle!==e.standardTitle))})]},e.standardTitle)),"location"===B&&K?.targetLocations.map(e=>(0,r.jsxs)(v.xd,{children:[(0,r.jsx)(v.qN,{children:e.formattedName}),(0,r.jsx)(v.YP,{onClick:()=>U("targetLocations",K.targetLocations.filter(t=>t.formattedName!==e.formattedName))})]},e.formattedName))]}),"job"===B&&(0,r.jsx)(w.$_,{$isExpanded:Q,children:(0,r.jsx)(x.Z,{onClear:()=>G(""),icon:(0,r.jsx)(h.qJ.Search,{}),placeholder:I.t(`${L}.search_placeholder.job`),name:"occupation",value:q,suggestionParam:"job-titles",storageKey:"JOB_TITLE_HISTORY",isJobExpanded:Q,showInputAsSuggestion:!0,disabled:W,multiSection:!q.length,suggestionOptions:{limit:10},onExpand:Y,onValueChange:e=>{O(!1),G(e)},onSelectAutosuggestion:e=>{O(!1),G(""),U("targetRoles",(0,l.uniqBy)([...K?.targetRoles||[],{id:null,
8256standardTitle:e}],"standardTitle")),(0,a.xP)("select_career_job_title",{label:E,job_title:e})}})}),"location"===B&&(0,r.jsx)(w.vk,{clearPreviousSuggestions:!1,withHover:!1,disabled:V,defaultSuggestions:eo,getSuggestionValue:e=>e.formatted||e.text,fetchItems:g.G,value:Z||"",icon:(0,r.jsx)(h.qJ.LocationOutlined,{}),placeholder:I.t(`${L}.search_placeholder.location`),onSuggestionSelected:e=>{let t="near_me"===e.locationType&&ei?ei:e,i=t.formatted||t.text;X(""),F(!1),U("targetLocations",(0,l.uniqBy)([{id:t.value&&"Remote"!==t.value?parseInt(t.value):null,formattedName:i},...K?.targetLocations||[]],"formattedName")),(0,a.xP)("select_desired_location",{label:E,location:t.formatted||t.text})},onChange:e=>{F(!1),X(e)}}),"job"===B&&W&&(0,r.jsx)(v.io,{children:I.t("builder.career_profile.profile.target_role_modal.title_disabled")}),"location"===B&&V&&(0,r.jsx)(v.io,{children:I.t("builder.career_profile.profile.target_role_modal.title_disabled")}),"job"===B&&$&&(0,r.jsx)(w.mk,{children:I.t(`${L}.job_error`)}),"location"===B&&z&&(0,r.jsx)(w.mk,{children:I.t(`${L}.location_error`)}),"job"===B&&K?.targetRoles.length===0&&S?.subtitle&&(0,r.jsx)(w.Pd,{children:S.subtitle}),"location"===B&&K?.targetLocations.length===0&&i?.subtitle&&(0,r.jsx)(w.Pd,{children:i.subtitle})]}),(0,r.jsxs)(w.jl,{children:["job"!==B&&(0,r.jsxs)(r.Fragment,{children:[R&&(0,r.jsxs)(w.Dq,{onClick:()=>{(0,a.xP)("click_back_desired_location",{label:E}),D("job")},theme:u.Ox.ghost,$back:!0,children:[I.t(`${L}.back`)," "]}),P&&(0,r.jsxs)(w.Dq,{onClick:()=>{(0,a.xP)("click_skip_desired_location",{label:E}),el(!0)},theme:u.Ox.ghost,$skip:!0,children:[I.t(`${L}.skip`)," "]})]}),!ee&&(0,r.jsxs)(w.Dq,{onClick:()=>{let i=!ea();t&&i?O(!0):"job"===B?i?O(i):((0,a.xP)("click_continue_target_role",{label:E}),D("location")):e()},theme:T?u.Ox.ghost:void 0,$useAlternativeButton:T,children:[S?.buttonText||(t?I.t(`${L}.next`):I.t(`${L}.save`))," "]}),ee&&(0,r.jsxs)(w.Dq,{onClick:()=>el(),theme:T?u.Ox.ghost:void 0,isDisabled:z,$useAlternativeButton:T,$fixedMarginLeft:P,children:[i?.buttonText||I.t(`${L}.save`)," "]})]})]})})}},30207:function(e,t,i){"use strict";i.d(t,{$_:function(){return y},Bs:function(){return c},Dp:function(){return _},Dq:function(){return g},Go:function(){return p},Pd:function(){return v},UG:function(){return u},cw:function(){return x},d7:function(){return h},jl:function(){return b},mk:function(){return f},vk:function(){return j},wt:function(){return m}});var r=i(38267),n=i(99701),o=i(24833),a=i(49504),l=i(89221),s=i(91779),d=i(64608);let c=r.Ay.div(["position:relative;display:flex;flex-direction:column;align-items:center;background-color:",";border-radius:",";padding:",";gap:",";max-height:804px;max-width:544px;width:100%;height:100%;"," ",";"],n.Jy.White,n.Kz.S,n.Kz.L,n.Kz.L,o.A.AbovePhone`
8257    height: 80%;
8258  `,o.A.Phone`
8259    height: 70%;
8260    overflow: hidden;
8261    border-radius: 0;
8262    max-width: 335px;
8263  `),u=r.Ay.div(["max-width:480px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:",";"],n.Kz["2XS"]),p=r.Ay.img(["width:180px;"]),h=r.Ay.img(["height:109px;margin:20px;"]),x=r.Ay.div(["position:relative;width:100%;flex:auto;"]),m=r.Ay.p(["color:",";",";",";text-align:center;width:100%;",";"],n.Jy.Neutral90,a.Ay.S,a.BO.Bold,o.A.Phone`
8264    text-align: left;
8265  `),g=(0,r.Ay)(s.Ay)([""," display:block;"," "," "," ",""],e=>e.$fixedMarginLeft?`margin-left: ${n.Kz["2XS"]};`:"margin-left: auto;",e=>e.$useAlternativeButton&&`
8266      background: ${n.Jy.Indigo50};
8267      color: ${n.Jy.White};
8268    `,e=>e.$back&&(0,r.AH)(["margin-left:0;"]),e=>(e.$back||e.$skip)&&(0,r.AH)(["background:",";color:",";"],n.Jy.White,n.Jy.Neutral90),e=>e.isDisabled&&(0,r.AH)(["opacity:0.6;"])),y=r.Ay.div(["background:",";border-radius:4px;z-index:1;position:relative;"," "," ",""],n.Jy.Neutral10,o.A.AbovePhone`
8269    width: 480px;
8270  `,o.A.Phone`
8271    width: 100%;
8272    margin-right: 32px;
8273  `,e=>e.$isExpanded&&(0,r.AH)(["background:",";"],n.Jy.White));(0,r.Ay)(l.A)([""]);let f=r.Ay.div(["",";color:",";margin-top:",";"],a.Ay.Caption,n.Jy.Red50,n.Kz.XS),b=r.Ay.div(["width:100%;display:flex;"]),_=r.Ay.div(["background:rgba(15,20,31,0.8);position:fixed;width:100%;height:100%;top:0;left:0;z-index:600;display:flex;justify-content:center;align-items:center;background:rgba(black,0.8);animation:"," 0.3s ease-out;& > :first-child{z-index:610;}"],d.qG),v=r.Ay.p(["color:",";",";margin-top:",";"],n.Jy.Neutral60,a.Ay.Body,n.Kz.XS),j=(0,r.Ay)(l.A)(["background-color:",";border-radius:",";"],n.Jy.Neutral10,n.Kz.XS)},1586:function(e,t,i){"use strict";i.d(t,{$J:function(){return o},PV:function(){return a},rG:function(){return n}});var r=i(32606);let n="builder.career_profile.editor",o=`${n}.job_preference_section`,a={[r.Gw.workExperiences]:"workExperiencesAttributes",[r.Gw.educations]:"educationsAttributes",[r.Gw.skills]:"skillsAttributes",[r.Gw.courses]:"coursesAttributes"}},53177:function(e,t,i){"use strict";i.d(t,{a:function(){return l},g:function(){return s}}),i(18111),i(61701);var r=i(20646),n=i(32606),o=i(25008),a=i(84764);function l(e,t){let i=(0,a.Ae)(e.workExperiencesAttributes),l=(0,a.Ae)(e.educationsAttributes),s=(0,a.Ae)(e.skillsAttributes),d=(0,a.Ae)(e.coursesAttributes);return[{id:n.Gw.workExperiences,title:t.t("builder.career_profile.editor.work_experience_section.title"),addButtonText:i.length?t.t("builder.career_profile.editor.work_experience_section.add_one_more"):t.t("builder.career_profile.editor.work_experience_section.add"),CardComponent:o.Ay.WorkExperience,items:i,hintText:t.t("builder.career_profile.editor.work_experience_section.hint")},{id:n.Gw.educations,title:t.t("builder.career_profile.editor.educations_section.title"),addButtonText:l.length?t.t("builder.career_profile.editor.educations_section.add_one_more"):t.t("builder.career_profile.editor.educations_section.add"),CardComponent:o.Ay.Education,items:l,hintText:r.R.t("builder.resume_editor.educations_section.hint")},{id:n.Gw.skills,title:t.t("builder.career_profile.editor.skills_section.title"),addButtonText:s.length?t.t("builder.career_profile.editor.skills_section.add_one_more"):t.t("builder.career_profile.editor.skills_section.add"),CardComponent:o.Ay.Skill,
8273items:s},{id:n.Gw.courses,title:t.t("builder.career_profile.editor.courses_section.title"),addButtonText:d.length?t.t("builder.career_profile.editor.courses_section.add_one_more"):t.t("builder.career_profile.editor.courses_section.add"),CardComponent:o.Ay.Course,items:d}]}let s=e=>e.map(e=>"string"==typeof e.id?{...e,id:void 0}:e)},96831:function(e,t,i){"use strict";i.d(t,{R:function(){return h}}),i(18111),i(61701),i(22489);var r=i(96540),n=i(43627),o=i(18509),a=i(34346),l=i(23699),s=i(84764),d=i(12330),c=i(8037),u=i(49595),p=i(1586);let h=()=>{let e=(0,o.N)(a.Tp.careerProfileData),[t,i]=(0,r.useState)(null),[h,x]=(0,r.useState)(null),m=(0,o.N)(a.Tp.fetchCareerProfileStatus),g=(0,r.useMemo)(()=>{let e=d.D.getItem(u.zv);return e?JSON.parse(e):null},[]),y=(0,o.N)(a.Tp.onboardingStructuredResumeData)||g,[f,b]=(0,r.useState)(!1);(0,r.useEffect)(()=>{y&&h&&!f&&(x({...h,workExperiencesAttributes:(0,s.q2)(y.workExperiencesAttributes.map(e=>({...e,id:`${e.title}${e.description}${e.employer}`}))),educationsAttributes:(0,s.q2)(y.educationsAttributes.map(e=>({...e,id:`${e.school}${e.description}${e.city}`}))),skillsAttributes:(0,s.q2)(y.skillsAttributes.map(e=>({...e,id:`${e.level}${e.skill}`})))}),b(!0))},[y,h,f]),(0,r.useEffect)(()=>{e&&m===c.Hp.loaded&&x(t=>t||e)},[e,m]);let _=(0,r.useCallback)((e,i)=>!!t&&t.id===e&&t.sectionId===i,[t]),v=(0,r.useCallback)((e,t,i)=>{let r=p.PV[e];r&&x(e=>{if(!e)return e;let n=e[r].findIndex(e=>e.id===t);if(-1!==n){let t=[...e[r]];t[n]={...t[n],...i},e={...e,[r]:t}}return e})},[]),j=(0,r.useCallback)((e,t={})=>{let{position:r="after",fields:n={}}=t,o=p.PV[e];if(!o)return;let a=(0,l.M)();x(e=>{if(!e)return e;let t=e[o],i=(0,s.Ae)(t),l=t.filter(e=>e._destroy),d="skillsAttributes"===o?{id:a,level:"expert",...n}:{id:a,...n},c="after"===r?[...i,d]:[d,...i];return{...e,[o]:[...(0,s.q2)(c),...l]}}),i({id:a,sectionId:e})},[]),A=(0,r.useCallback)((e,t)=>{let i=p.PV[t];i&&x(t=>t?{...t,[i]:(0,s.q2)((0,s._b)(t[i],e))}:t)},[]),C=(0,r.useCallback)(({sectionId:e,oldIndex:t,newIndex:i})=>{let r=p.PV[e];r&&x(e=>{if(!e)return e;let o=e[r],a=(0,s.Ae)(o),l=o.filter(e=>e._destroy);return{...e,[r]:[...(0,s.q2)((0,n.be)(a,t,i)),...l]}})},[]);return{openedCard:t,localProfile:h,handleCardUpdate:v,handleCardAdd:j,handleCardDelete:A,handleCardMove:C,handleCardToggle:(0,r.useCallback)((e,t)=>{i(_(e,t)?null:{id:e,sectionId:t})},[_]),isCardOpen:_,handleSimpleFieldUpdate:(0,r.useCallback)((e,t)=>{x(i=>i&&{...i,[e]:t})}
8273,[]),isLocationDisabled:!!h?.targetLocations&&h.targetLocations.filter(e=>e.formattedName).length>=10,isTargetRoleDisabled:!!h?.targetRoles&&h.targetRoles.filter(e=>e.standardTitle).length>=10}}},72528:function(e,t,i){"use strict";i.d(t,{$_:function(){return S},BT:function(){return k},E7:function(){return f},Et:function(){return C},FB:function(){return V},Iy:function(){return W},JP:function(){return L},KA:function(){return z},Ki:function(){return b},MV:function(){return g},Sv:function(){return U},UC:function(){return x},X5:function(){return p},Xn:function(){return v},YP:function(){return O},_r:function(){return J},b1:function(){return j},cZ:function(){return R},ff:function(){return N},gc:function(){return F},h1:function(){return $},iJ:function(){return G},iM:function(){return w},ie:function(){return T},io:function(){return P},mc:function(){return h},nB:function(){return y},qN:function(){return D},qo:function(){return M},tl:function(){return E},vk:function(){return I},vy:function(){return A},wi:function(){return _},xZ:function(){return K},xd:function(){return B},yC:function(){return H},zE:function(){return q},zY:function(){return m}});var r=i(38267),n=i(84976),o=i(99701),a=i(37075),l=i(49504),s=i(24833),d=i(14649),c=i(89221),u=i(50045);let p=(0,r.Ay)(a.a)([""]),h=r.Ay.div(["width:100%;max-width:calc(736px + "," * 2);min-width:0;margin-right:auto;"],o.Kz.M),x=r.Ay.div(["padding:"," 0 0;gap:",";display:flex;flex-flow:column;"],o.Kz.XL,o.Kz.M),m=r.Ay.div(["display:flex;justify-content:space-between;align-items:center;",";",";color:",";gap:",";padding:0 36px;"," ",""],l.Ay.M,l.BO.DemiBold,o.Jy.Neutral100,o.Kz.XS,s.A.Tablet`
8274    justify-content: start;
8275  `,s.A.Phone`
8276    justify-content: start;
8277    flex-flow: column;
8278    align-items: start;
8279    padding: 0 20px;
8280  `),g=(0,r.Ay)(n.N_)(["display:flex;align-items:center;gap:",";",";",";color:",";will-change:color;transition:color 0.2s ease-out;",""],o.Kz["3XS"],l.Ay.Caption,l.BO.Medium,o.Jy.Blue50,s.A.Hover`
8281    &:hover {
8282      color: ${o.Jy.Blue60};
8283    }
8284  `),y=r.Ay.div(["display:flex;flex-flow:column;gap:",";"],o.Kz.XS),f=r.Ay.div([""]),b=r.Ay.div([""]),_=r.Ay.div(["background-color:",";position:sticky;bottom:0;z-index:3;padding:",";"],o.Jy.White,o.Kz.M),v=r.Ay.div(["display:flex;justify-content:flex-end;gap:",";"],o.Kz["2XS"]),j=r.Ay.div(["border:1px solid ",";border-radius:4px;background-color:",";display:flex;flex-direction:column;padding:24px 20px;margin-top:12px;gap:",";",""],o.Jy.Neutral15,o.Jy.White,o.Kz.XS,s.A.Phone`
8285    padding: 20px 18px;
8286  `),A=r.Ay.div(["display:flex;gap:",";align-items:center;"],o.Kz["3XS"]),C=r.Ay.span(["",";color:",";",";width:max-content;"],l.BO.DemiBold,o.Jy.Neutral90,l.Ay.Caption),w=(0,r.Ay)(d.qJ.CircleWithLines)(["flex-shrink:0;"]),k=(0,r.Ay)(d.qJ.NewLocation)(["color:",";flex-shrink:0;"],o.Jy.Neutral100);o.Jy.Neutral50,l.Ay.Caption;let S=r.Ay.div(["background-color:",";border-radius:12px;z-index:2;width:100%;",""],o.Jy.Neutral10,e=>e.$isExpanded&&(0,r.AH)(["background:",";"],o.Jy.White)),T=r.Ay.p(["",";color:",";"],l.Ay.Caption,o.Jy.Red50),P=r.Ay.p(["",";color:",";"],l.Ay.Caption,o.Jy.Neutral50),J=(0,r.Ay)(d.qJ.Search)(["color:",";"],o.Jy.Neutral40),E=(0,r.Ay)(d.qJ.NewLocation)(["color:",";"],o.Jy.Neutral40),R=r.Ay.div(["display:flex;flex-direction:column;position:sticky;height:fit-content;top:128px;margin-right:8px;margin-left:auto;"]),L=r.Ay.div(["",";color:",";cursor:pointer;white-space:nowrap;",";padding:10px ",";"," &:hover{color:",";}"],l.BO.Medium,o.Jy.Neutral60,l.Ay.Caption,o.Kz.XS,e=>e.isSelected&&`
8287    color: ${o.Jy.Blue50};
8288    border-radius: ${o.Kz.XS};
8289    background-color: ${o.Jy.Blue10};
8290  `,o.Jy.Blue50),N=r.Ay.div(["display:flex;position:relative;width:100%;"]),I=(0,r.Ay)(c.A)(["background-color:",";border-radius:",";"],o.Jy.Neutral10,o.Kz.XS),M=r.Ay.ul(["list-style:none;display:flex;padding:0px;margin:0px;min-height:28px;align-self:flex-start;gap:",";flex-wrap:wrap;",""],o.Kz["2XS"],e=>e.withMargin&&`margin-bottom: ${o.Kz.XS}`),B=r.Ay.li(["background-color:",";display:flex;align-items:center;gap:",";color:",";border-radius:",";padding:"," ",";height:28px;svg{fill:",";}"],o.Jy.Blue10,o.Kz["3XS"],o.Jy.Blue50,o.Kz["4XS"],o.Kz["3XS"],o.Kz["2XS"],o.Jy.Blue50),D=r.Ay.div([""]),$=r.Ay.div(["display:flex;flex-direction:row;gap:",";align-items:flex-start;",""],o.Kz["2XS"],s.A.Phone`
8291    flex-direction: column;
8292  `),O=(0,r.Ay)(d.EK.RejectIcon)(["cursor:pointer;"]),z=r.Ay.div([""]),F=r.Ay.div(["display:flex;flex-direction:column;gap:",";"],o.Kz.XS),H=r.Ay.div(["",";",";color:",";display:flex;align-items:center;gap:",";"],l.Ay.Caption,l.BO.Regular,o.Jy.Neutral90,o.Kz["3XS"]),V=r.Ay.span(["",";",";color:",";"],l.Ay.Body,l.BO.Medium,o.Jy.Neutral90),U=(0,r.Ay)(u.F)(["width:100%;max-width:none;"]),W=r.Ay.div(["display:flex;flex-wrap:wrap;gap:",";"],o.Kz.XS),K=r.Ay.div(["",";",";color:",";display:flex;align-items:center;gap:",";"],l.Ay.Body,l.BO.Regular,o.Jy.Neutral90,o.Kz["3XS"]),q=r.Ay.div(["",";",";display:flex;align-items:flex-start;gap:",";padding:",";border-radius:8px;background:",";color:",";"],l.Ay.Caption,l.BO.Regular,o.Kz["3XS"],o.Kz["2XS"],o.Jy.Blue15,o.Jy.Neutral90),G=r.Ay.span(["display:inline-flex;color:",";flex-shrink:0;"],o.Jy.Blue60)},95813:function(e,t,i){"use strict";i.d(t,{Bx:function(){return p},UC:function(){return m},Y9:function(){return u},ZD:function(){return g},dk:function(){return x},fr:function(){return h},mc:function(){return c}});var r=i(84976),n=i(38267),o=i(99701),a=i(24833),l=i(80335),s=i(85266),d=i(65333);let c=(0,n.Ay)(l.i)(["width:100%;max-width:1120px;margin:0 auto;padding-bottom:52px;display:grid;gap:"," ",";grid-template-columns:auto 352px;grid-template-rows:auto;grid-template-areas:'header sidebar' 'content sidebar';align-items:start;"," ",""],o.Kz.XL,o.Kz.S,a.A.Tablet`
8293    grid-template-columns: 1fr;
8294    grid-template-rows: auto;
8295    grid-template-areas: 'header' 'sidebar' 'content';
8296  `,a.A.Phone`
8297    max-width: 100%;
8298    gap: ${o.Kz.S};
8299  `),u=n.Ay.div(["grid-area:header;display:flex;flex-flow:column;gap:",";
8299"],o.Kz.S),p=n.Ay.div(["grid-area:sidebar;display:flex;flex-flow:column;border-radius:",";border:1px solid ",";",""],o.Kz.S,o.Jy.Neutral10,a.A.AboveTablet`
8300    position: sticky;
8301    top: ${d.M$}px;
8302  `),h=(0,n.Ay)(s.PN)(["margin:-1px;"]),x=n.Ay.div(["padding:",";"],o.Kz.M),m=n.Ay.div(["grid-area:content;display:flex;flex-flow:column;gap:",";"],o.Kz.XL),g=(0,n.Ay)(r.N_)(["display:flex;gap:",";align-items:center;padding:4px;will-change:color;transition:color 0.1s ease-out;",""],o.Kz.XS,a.A.Hover`
8303    &:hover {
8304      color: ${o.Jy.Blue60};
8305    }
8306  `)},5096:function(e,t,i){"use strict";i.d(t,{N:function(){return a}}),i(18111),i(30531),i(13579);var r=i(41786),n=i(49012),o=i(76732);let a=({jobTitleId:e,questionType:t,perPage:i,total:a,setInitialRequest:l,enabledPerformanceMetric:s=!1})=>{let{registerOncePerformance:d,stopRegisterPerformance:c}=(0,o.x)({enabled:s,metricKey:"interviews-request",successCallBack:()=>{l&&l(e=>void 0===e?void 0:{...e,interviews:!0})}});return(0,r.q)({enabled:"number"==typeof e,queryKey:["useInfiniteScrollQueryTemplate",e,t,i],queryFn:async({pageParam:r=1})=>{d();let o=await n.R3.get("/interview_prep/question_templates",{params:{data_api_job_title_id:e,question_type:t,per_page:i,page:r}});return c(),o.data},refetchInterval:e=>{let t=(e?.pages||[]).flatMap(e=>e.items),i=e?.pages[e?.pages.length-1];return!e?.pages.some(e=>(e.items||[]).length===i?.per_page)&&!(t.length>=a)&&1e3},getNextPageParam:(e,t)=>{if((t||[]).flatMap(e=>e.items).length<a)return e.page+1}})}},52486:function(e,t,i){"use strict";i.d(t,{D:function(){return s}});var r=i(63064),n=i(96230),o=i(81247),a=i(49012),l=i(72603);let s=()=>{let e=(0,r.jE)(),t=(0,o.wA)();return(0,n.n)(["newInterview"],async e=>{let i=await a.R3.post("interview_prep/interviews",{data_api_job_title_id:e.jobTitleCode,company_name:e.company,job_description:e.jobDescription,level_of_confidence:e.levelOfConfidence,type_of_questions:e.typeOfQuestions,number_of_questions:e.numberOfQuestions,version:2,kind:e.kind});return t(l.o1.setInterviewId(i.data.id)),i.data},{onSuccess:()=>{e.invalidateQueries(["useInterviews"]),e.invalidateQueries(["useDailySuggestions"]),e.invalidateQueries(["useCompanyInterviews"])}})}},76732:function(e,t,i){"use strict";i.d(t,{x:function(){return o}});var r=i(96540),n=i(83113);let o=({metricKey:e,operation:t,tags:i,successCallBack:o,enabled:a=!1})=>{let l=(0,r.useRef)({request:!1,response:!1});return(0,r.useEffect)(()=>{l.current={request:!1,response:!1}},[e]),{registerOncePerformance:(0,r.useCallback)(()=>{!l.current.request&&a&&(l.current={request:!0,response:!1},n.fd.operationFull({key:e,op:t||e,tags:i}))},[]),stopRegisterPerformance:(0,r.useCallback)(async()=>{let t=l.current;t.request&&!t.response&&a&&(l.current={request:!0,response:!0},n.fd.operationEnd(e),o&&o())},[])}}},92405:function(e,t,i){"use strict";i.d(t,{d:function(){return s}});var r=i(74848),n=i(77378),o=i(14649),a=i(9146),l=i(52439);let s=({count:e})=>{let{i18n:t}=(0,n.s)();return(0,r.jsx)(a.wn,{children:(0,r.jsxs)(a.az,{children:[(0,r.jsxs)(a.Y9,{children:[e," ",(0,r.jsx)(o.EK.SuccessIcon,{})]}),(0,r.jsx)(a.iK,{children:t.t(`${l.y}.campaign_subheader`,{count:e})})]})})}},53260:function(e,t,i){"use strict";i.d(t,{T:function(){return v}});var r=i(74848),n=i(96540),o=i(77378),a=i(69685),l=i(84905),s=i(14649),d=i(88355),c=i(52439),u=i(9146),p=i(38267),h=i(99701),x=i(91779),m=i(40271),g=i(24833),y=i(49504);let f=p.Ay.div(["min-width:90px;display:flex;align-items:center;"]),b=(0,p.Ay)(x.Ay).attrs({size:x.Mp.small,theme:x.Ox.ghost})(["",";"," span svg{margin-right:5px;}&:hover{&svg{color:",";}}"],y.BO.Medium,g.A.Phone`
8307      width: 100%;
8308    `,h.Jy.Blue50),_=(0,p.Ay)(m.Ay)(["width:23px;height:23px;"]),v=({candidate:e,nextDistribution:t,isLoading:i,action:p,hideSchedule:h,isFromWidget:x})=>{let{i18n:m}=(0,o.s)(),g=(0,n.useCallback)(()=>{let{day:e,month:i,year:r}=t||{};if(e&&i&&r)return(0,a.Yq)(new Date(`${i}-${e}-${r}`),"MMM do, yyyy")},[t]),y=(0,n.useCallback)(()=>{let t={};return e?.distributionStatus===l.it.active?(t.header=g(),t.subheader=m.t(`${c.y}.next_schedule`)):(t.header=m.t(`${c.y}.pause_header`),e?.distributionWeek===l.mZ.fourth?t.subheader=m.t(`${c.y}.pause_subheader_cycle_ended`):t.subheader=m.t(`${c.y}.pause_subheader`)),t},[e?.distributionStatus,e?.distributionWeek,g,m]),v=(0,n.useCallback)(()=>{let t={};return e?.rdSubscriptionType==="one_time"?(t.label=m.t(`${c.y}.resume_action`),t.icon=(0,r.jsx)(s.EK.Play,{})):e?.distributionStatus===l.it.active?(t.label=m.t(`${c.y}.pause_action`),t.icon=(0,r.jsx)(s.EK.Pause,{})):(t.label=m.t(`${c.y}.resume_action`),t.icon=(0,r.jsx)(s.EK.Play,{})),t},[e?.distributionStatus,e?.rdSubscriptionType,m]);return h?(0,r.jsx)(r.Fragment,{}):(0,r.jsxs)(u.wn,{$isFromWidget:x,children:[(0,r.jsxs)(u.az,{children:[(0,r.jsx)(u.Y9,{$isFromWidget:x,children:y().header}),(0,r.jsxs)(u.iK,{children:[y().subheader,e?.distributionStatus===l.it.active&&(0,r.jsx)(u.T_,{children:(0,r.jsx)(d.Y,{textAlign:"left",multiline:!0,width:x?240:300,children:m.t(`${c.y}.next_schedule_tooltip`,{date:g()})})})]})]}),!x&&(0,r.jsx)(f,{children:i?(0,r.jsx)(_,{}):(0,r.jsxs)(b,{onClick:()=>p(),children:[v().icon,v().label]})})]})}},17798:function(e,t,i){"use strict";i.d(t,{p:function(){return E}});var r=i(74848),n=i(77378),o=i(88355),a=i(84905),l=i(18509),s=i(41193),d=i(9146),c=i(82238),u=i(86066),p=i(69685),h=i(12330),x=i(52439),m=i(38267),g=i(99701),y=i(49504),f=i(24833),b=i(14649);let _=m.Ay.div(["display:flex;justify-content:flex-end;padding:0;margin:0;align-items:center;",""],f.A.Phone`
8309    max-width: 145px;
8310  `),v=m.Ay.div(["display:flex;gap:8px;"]),j=m.Ay.div(["width:24px;"]),A=m.Ay.div(["position:relative;width:24px;height:24px;border-radius:50%;display:flex;justify-content:center;align-items:center;",""],({$percentage:e,$isDisabled:t})=>(0,m.AH)(["background:conic-gradient( "," 0%,"," ","%,"," ","%,"," 100% );"],t?g.Jy.Neutral50:g.Jy.Blue50,t?g.Jy.Neutral50:g.Jy.Blue50,e,t?g.Jy.Neutral20:g.Jy.Blue20,e,t?g.Jy.Neutral20:g.Jy.Blue20)),C=m.Ay.div(["position:absolute;width:20px;height:20px;border-radius:50%;background-color:",";"],g.Jy.Neutral5),w=m.Ay.div([""]),k=m.Ay.div(["",";",";color:",";",";"],y.Ay.Body,y.BO.Medium,g.Jy.Neutral90,({$isDisabled:e})=>e&&(0,m.AH)(["color:",";"],g.Jy.Neutral50)),S=m.Ay.div(["",";",";color:",";display:flex;"],y.Ay.Caption,y.BO.Regular,g.Jy.Neutral50),T=(0,m.Ay)(b.EK.StatusOffer)(["color:#25b869;margin-top:2px;"]),P=(0,m.Ay)(o.Y)(["",""],f.A.Phone`
8311    & div > svg {
8312      color: ${g.Jy.Neutral90};
8313      right: -16px;
8314      left: auto;
8315    }
8316  `),J=({distributionWeek:e,isFromWidget:t})=>{let{i18n:i}=(0,n.s)(),{isPhone:o}
8316=(0,u.e)(),m=(0,s.J)(),g=(0,l.N)(a.Tp.candidate),y=e===a.mZ.fourth,f=h.D.getItem(x.v),b=g?.distributionStatus===a.it.paused&&t,J={[a.mZ.first]:25,[a.mZ.second]:50,[a.mZ.third]:75,[a.mZ.fourth]:100};return e===a.mZ.not_started?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(_,{children:(0,r.jsxs)(v,{children:[y?(0,r.jsx)(T,{}):(0,r.jsx)(j,{children:(0,r.jsx)(A,{$percentage:J[e],$isDisabled:(b||!m?.hasPremiumFeatures)&&t,children:(0,r.jsx)(C,{})})}),(0,r.jsxs)(w,{children:[(0,r.jsx)(k,{$isDisabled:(b||!m?.hasPremiumFeatures)&&t,children:i.t(`${x.y}.cycle_header${o?"_mobile":""}`,{count:`${e}/4`})}),(0,r.jsxs)(S,{children:[i.t(`${x.y}.cycle_subheader_${y?"ended":"active"}`,{date:(()=>{if(g){let e=(0,c.default)(new Date(g?.startedAt),4);return(0,p.Yq)(e,"MMM do, yyyy")}})()}),!!f&&(0,r.jsx)(d.T_,{children:(0,r.jsx)(P,{textAlign:"left",position:o?"left":"top",multiline:!0,width:300,children:i.t(`${x.y}.info_section.active`)})})]})]})]})})},E=({totalRecruiters:e,distributionWeek:t,isFromWidget:i})=>{let c=(0,s.J)(),{i18n:u}=(0,n.s)(),p=(0,l.N)(a.Tp.candidate),h=p?.distributionStatus===a.it.paused&&i;return(0,r.jsxs)(d.wn,{children:[(0,r.jsxs)(d.az,{children:[(0,r.jsx)(d.Y9,{$isFromWidget:i,$isDisabled:(h||!c?.hasPremiumFeatures)&&i,children:e}),(0,r.jsxs)(d.iK,{children:[u.t(`${x.y}.recruiters_review${i?"_widget":""}`),(0,r.jsx)(d.T_,{children:(0,r.jsx)(o.Y,{textAlign:"left",multiline:!0,width:i?285:300,children:u.t(`${x.y}.recruiters_review_tooltip`,{number:e})})})]})]}),(0,r.jsx)(J,{isFromWidget:i,distributionWeek:t})]})}},52439:function(e,t,i){"use strict";i.d(t,{v:function(){return r},y:function(){return n}});let r="resume_distribution_info_section",n="builder.resume_distribution.dashboard.banner"},9146:function(e,t,i){"use strict";i.d(t,{CT:function(){return m},RI:function(){return x},T_:function(){return h},V2:function(){return p},Y9:function(){return c},az:function(){return d},iK:function(){return u},mc:function(){return l},wn:function(){return s}});var r=i(38267),n=i(99701),o=i(49504),a=i(24833);let l=r.Ay.div(["display:flex;justify-content:space-between;flex-wrap:wrap;background-color:",";border-radius:16px;margin-bottom:16px;",""],n.Jy.Neutral5,({$hasError:e})=>e&&(0,r.AH)(["margin-bottom:8px;"])),s=r.Ay.div(["display:flex;flex:1;padding:20px 0;margin:0 30px;justify-content:",";",";"],({$isFromWidget:e})=>e?"center":"space-between",a.A.Phone`
8317    padding: 16px 0;
8318    margin: 0 16px;
8319    &:last-child {
8320      flex-basis: 100%;
8321      border-top: 1px solid #ccc;
8322    }
8323  `),d=r.Ay.div(["height:100%;display:flex;flex-direction:column;justify-content:center;",""],a.A.Phone`
8324    width: 45%;
8325  `),c=r.Ay.div(["",";",";color:",";",";",";"],o.Ay.S,o.BO.Medium,n.Jy.Neutral90,({$isFromWidget:e})=>e&&(0,r.AH)(["text-align:center;"]),({$isDisabled:e})=>e&&(0,r.AH)(["color:",";"],n.Jy.Neutral50)),u=r.Ay.div(["",";",";color:",";display:flex;align-items:center;"],o.Ay.Caption,o.BO.Regular,n.Jy.Neutral50),p=r.Ay.div(["width:1px;height:40px;display:block;margin:29px 0;align-self:stretch;border-left:1px solid rgb(217,217,217);"]),h=r.Ay.span(["display:flex;margin-left:5px;align-items:center;"]),x=r.Ay.div(["color:",";margin-left:auto;width:50%;padding-left:30px;"," "," ",""],n.Jy.Red50,o.Ay.Caption,o.BO.Regular,a.A.Phone`
8326    width: 100%;
8327    text-align: center;
8328    padding-left: 0;
8329    margin-left: unset;
8330  `),m=r.Ay.a(["color:",";&:hover{border-bottom:1px solid ",";}"],n.Jy.Blue50,n.Jy.Blue50)},56524:function(e,t,i){"use strict";i.d(t,{A:function(){return E}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(86066),a=i(77378),l=i(91779),s=i(9131),d=i(44706),c=i(38267),u=i(99701),p=i(24833),h=i(49504),x=i(89078),m=i(64608);let g=c.Ay.div(["position:absolute;z-index:999;top:50px;margin-left:107px;width:30%;min-width:312px;max-width:320px;border-radius:8px;animation:"," 0.3s ease;"," ",""],m.qG,p.A.Tablet`
8331    top: 38px;
8332    width:320px;
8333  `,p.A.Phone`
8334    position: absolute;
8335    padding: 0 20px;
8336    margin-left: 0;
8337    top: unset;
8338    left: 0;
8339    bottom: 85px;
8340    z-index: 1;
8341    width: 100%;
8342    max-width: 767px;
8343    min-width: 300px;
8344  `),y=c.Ay.div(["",";height:208px;background:",";border-radius:8px;box-shadow:0px 0px 1px rgb(15 56 113 / 32%),0px 2px 4px -1px rgb(15 56 113 / 8%),0px 8px 20px -4px rgb(15 56 113 / 12%);& >
8344 :first-child{border-top-left-radius:8px;border-top-right-radius:8px;}& > :last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px;}",""],h.Ay.Tiny,u.Jy.White,p.A.Phone`
8345    width: 100%;
8346  `),f=c.Ay.div(["",";height:104px;min-width:312px;border:1px solid ",";cursor:pointer;",""],h.Ay.Tiny,u.Jy.Neutral15,p.A.Phone`
8347    width: 100%;
8348  `),b=c.Ay.label(["width:98%;height:96px;margin-top:3.5px;margin-left:3.8px;border-radius:4px;display:flex;cursor:pointer;",":hover &{background-color:",";}"],f,u.Jy.Blue10),_=c.Ay.div(["position:relative;width:98%;height:24px;display:flex;z-index:10;margin-left:3.8px;top:-24px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;",":hover &{background:linear-gradient(180deg,rgba(234,246,255,0) 0%,"," 100%);}"],f,u.Jy.Blue10),v=(0,c.Ay)(x.A)(["width:80px;margin:8px 0px 0px 8px;border-radius:2px;border:1px solid ",";border-bottom:none;background:linear-gradient(180deg,#f7f9fc 0%,"," 100%);border-image:linear-gradient(to bottom,"," 60%,"," 100%);border-image-slice:1;"],u.Jy.Neutral15,u.Jy.White,u.Jy.Neutral15,u.Jy.White),j=c.Ay.div(["margin:12px 0 0 16px;"]),A=c.Ay.div(["",";",";color:",";height:24px;width:192px;",":hover &{color:",";}"],h.Ay.Body,h.BO.Regular,u.Jy.Neutral90,f,u.Jy.Blue50),C=c.Ay.div(["",";",";color:",";width:192px;height:32px;"],h.Ay.Tiny,h.BO.Regular,u.Jy.Neutral50);h.Ay.Caption,h.BO.Regular,p.A.Phone`
8349    max-width: 123px;
8350  `;let w=c.Ay.div(["",""],p.A.Phone`
8351    position: fixed;
8352    background: rgb(0 0 0 / 35%);
8353    top: 0;
8354    left: 0;
8355    width: 100%;
8356    height: 100%;
8357    z-index: 1000;
8358    animation: ${m.qG} 0.3s ease;
8359`),k=c.Ay.div(["z-index:999;position:absolute;left:0;bottom:20px;z-index:1;width:100%;max-width:767px;min-width:300px;padding:0 20px;animation:"," 0.3s ease;"],m.qG),S=(0,c.Ay)(l.Ay)(["width:100%;border-radius:8px;background-color:#fff;color:",";&:hover{background-color:#fff;color:",";}"],u.Jy.Blue50,u.Jy.Blue50);var T=i.p+"media/replace-resume-placeholderf3cb822cd17fec19.png",P=i.p+"media/upload-resumeebbd45ce3ff14f84.png";let J="builder.resume_distribution.dashboard.header.resume_replace",E=n.forwardRef((e,t)=>{let{setResumeSelection:i}=e,{i18n:n}=(0,a.s)(),{isPhone:c}=(0,o.e)(),u=[{icon:P,title:n.t(`${J}.upload_resume_popup_title`),content:n.t(`${J}.upload_resume_popup_content`),htmlId:"file-resume-replace-upload",element:(0,r.jsx)(s.zp,{type:"file",onClick:e=>{e.stopPropagation()},onChange:e.handleFileInputChange,accept:d.fg,id:"file-resume-replace-upload"})},{icon:T,title:n.t(`${J}.replace_resume_popup_title`),content:n.t(`${J}.replace_resume_popup_content`),onClick:()=>{i(!0)}}];return(0,r.jsxs)(w,{children:[(0,r.jsx)(g,{ref:t,children:(0,r.jsx)(y,{children:u.map((e,t)=>(0,r.jsxs)(f,{onClick:e.onClick,children:[(0,r.jsxs)(b,{htmlFor:e.htmlId,children:[(0,r.jsx)(v,{src:e.icon}),(0,r.jsxs)(j,{children:[(0,r.jsx)(A,{children:e.title}),(0,r.jsx)(C,{children:e.content})]})]}),e.element,(0,r.jsx)(_,{})]},t))})}),c&&(0,r.jsx)(k,{children:(0,r.jsx)(S,{theme:l.Ox.ghost,children:n.t(`${J}.mobile_cancel_button`)})})]})})},30850:function(e,t,i){"use strict";i.d(t,{A:function(){return O}}),i(18111),i(61701);var r=i(74848),n=i(96540),o=i(81247),a=i(33093),l=i(14649),s=i(18509),d=i(64961),c=i(16466),u=i(20646),p=i(81038),h=i(63967),x=i(86066),m=i(69685),g=i(8037),y=i(40271),f=i(53609),b=i.p+"media/createResume3e9c1aa4d2d2fbe3.jpg",_=i(38267),v=i(99701),j=i(24833),A=i(49504),C=i(91779);let w=_.Ay.div(["display:flex;position:relative;flex-direction:column;align-items:flex-start;width:100%;max-width:544px;background-color:",";border-radius:16px;z-index:999;padding:32px;",";"],v.Jy.White,j.A.Phone`
8360    max-width: 343px;
8361    padding: 19px;
8362  `),k=_.Ay.div(["position:absolute;width:28px;height:28px;top:28px;right:28px;border-radius:32px;padding:4px;display:flex;justify-content:center;align-items:center;color:",";cursor:pointer;transition:color 0.1s;background-color:",";&:hover{color:",";}",";"],v.Jy.Neutral30,v.Jy.Neutral5,v.Jy.Blue50,j.A.Phone`
8363    top: 20px;
8364    right: 20px;
8365    padding: 2px;
8366  `),S=_.Ay.div(["",";",";width:384px;margin-bottom:16px;",";"],A.Ay.S,A.BO.Medium,j.A.Phone`
8367    width: 251px;
8368  `),T=_.Ay.div(["height:400px;overflow-y:auto;display:flex;flex-wrap:wrap;gap:16px;",";"],j.A.Phone`
8369    width: 303px;
8370    height: 250px;  
8371    flex-direction: column;
8372    flex-wrap: nowrap;
8373    gap: 12px;
8374  `),P=_.Ay.div(["position:relative;display:flex;height:auto;max-height:260px;width:218px;padding:16px;flex-direction:column;align-items:flex-start;flex-shrink:0;border-radius:8px;border:",";cursor:pointer;transition:border 0.2s ease-in-out,color 0.2s ease-in-out;&:hover{transition:border 0.2s ease-in-out,color 0.2s ease-in-out;border:",";}",";"],e=>
8374e?.isSelected?`2px solid ${v.Jy.Blue50}`:`1px solid ${v.Jy.Neutral15}`,e=>e?.isSelected?`2px solid ${v.Jy.Blue50}`:`1px solid ${v.Jy.Blue50}`,j.A.Phone`
8375    width: 303px;
8376    flex-direction: row;
8377    height: 124px;  
8378    gap: 16px;
8379    padding: 12px;
8380    align-items: center;
8381  `),J=_.Ay.div(["position:absolute;top:4px;right:4px;z-index:100;"]),E=_.Ay.div(["flex-shrink:0;width:104px;margin-bottom:12px;max-height:231px;",";"],j.A.Phone`
8382    width: 72px;
8383    height: 100px;  
8384    margin-bottom: 0;
8385  `),R=_.Ay.div(["display:flex;flex-direction:column;"]),L=_.Ay.div(["",";width:100%;max-width:189px;color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],A.Ay.Body,v.Jy.Neutral90),N=_.Ay.div([""," width:100%;max-width:173px;color:",";",";"],A.Ay.Body,v.Jy.Neutral50,j.A.Phone`
8386    ${A.Ay.Caption};
8387    max-width: 162px;
8388  `),I=_.Ay.div(["width:100%;display:flex;justify-content:end;align-items:center;gap:8px;padding-top:16px;"]),M=(0,_.Ay)(C.Ay)(["display:flex;max-width:103px;height:48px;padding:12px 24px;width:100%;justify-content:center;align-items:center;gap:4px;flex-shrink:0;border-radius:4px;background-color:",";color:",";border:1px solid ",";transition:border 0.2s ease-in-out,color 0.2s ease-in-out;&:hover{transition:border 0.2s ease-in-out,color 0.2s ease-in-out;border:1px solid ",";background-color:",";color:",";}",";"],v.Jy.White,v.Jy.Neutral90,v.Jy.Neutral20,v.Jy.Blue50,v.Jy.White,v.Jy.Blue50,j.A.Phone`
8389   ${A.Ay.Caption};
8390    height: 44px;
8391    max-width: 94px;
8392  `),B=(0,_.Ay)(C.Ay)(["display:flex;max-width:110px;width:100%;height:48px;padding:12px 24px;justify-content:center;align-items:center;gap:4px;border-radius:4px;background:",";",";"],v.Jy.Blue50,j.A.Phone`
8393    ${A.Ay.Caption};
8394    height: 44px;
8395    max-width: 100px;
8396  `),D=_.Ay.img(["flex-shrink:0;width:104px;max-height:231px;",";"],j.A.Phone`
8397    width: 72px;
8398    height: 100px;  
8399    margin-bottom: 0;
8400  `),$=_.Ay.div(["display:flex;justify-content:center;align-items:center;width:100%;height:100%;"]);var O=({onClose:e,onCreateResume:t,submitSelectedResume:i,isTotalJobSearchFlow:_,title:v,isDocumentLoaded:j,disableDefaultCreateResumeBehavior:A=!1,allowCreateResume:C=!0,isResumeDistributionCreateAction:O=!0,allowTRDocuments:z=!1})=>{let{isPhone:F}=(0,x.e)(),H=(0,o.wA)(),V=(0,s.N)(e=>d.Tp.documentsByType(e,g.VC.resume,!1,z)),[U,W]=(0,n.useState)(null),[K,q]=(0,n.useState)();(0,n.useEffect)(()=>{(0,a.xP)("visit_app_resume_selection_popup",{label:"total_job_search_solution"})},[]),(0,n.useEffect)(()=>{j||H(d.o1.fetchDocuments())},[H,j]);let G=()=>{(0,a.xP)("close_app_resume_selection_popup"),e()},Z=(0,n.useCallback)(e=>(0,h.I)(e,{size:F?104:192}),[F]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(c.A,{onClick:G,backgroundOpacity:.6,overlayFadeDuration:350,contentSlideDuration:350,children:(0,r.jsxs)(w,{"data-testid":"select-resume-modal",children:[(0,r.jsx)(k,{onClick:G,"data-testid":"select-resume-modal-close",children:(0,r.jsx)(l.EK.Close,{})}),(0,r.jsx)(S,{children:v||u.R.t("builder.resume_distribution.landing.modal.title")}),(0,r.jsxs)(T,{children:[(0,r.jsx)(r.Fragment,{children:V?.map((e,t)=>(0,r.jsxs)(P,{isSelected:U?.id===e?.id&&U?.type===e.type,onClick:()=>{(0,a.xP)("select_resume_to_tailor"),W(e)},"data-testid":`resume-list-item-${e.id}`,children:[e.type===g.VC.trDocument&&(0,r.jsx)(J,{children:(0,r.jsx)(f.l,{})}),(0,r.jsx)(E,{children:(0,r.jsx)(p.mE,{showUnavailablePreview:!(e.type!==g.VC.trDocument||e?.thumbnail?.url),src:e.type===g.VC.trDocument&&e?.thumbnail?.url?e?.thumbnail?.url:Z(e)})}),(0,r.jsxs)(R,{children:[(0,r.jsxs)(L,{children:[e.type===g.VC.trDocument&&e?.title?e?.title:e.name||u.R.t("builder.dashboard.untitled"),", ",e?.jobTitle]}),(0,r.jsx)(N,{children:u.R.t("builder.resume_distribution.landing.modal.updated_at",{dateString:(0,m.Yq)(new Date(e?.updatedAt||e?.createdAt),"dd MMM, HH:mm")})})]})]},`resume-${t}`))}),C&&(0,r.jsxs)(P,{isSelected:!1,onClick:K?void 0:()=>{(q("createResume"),A&&t)?t():(_&&(0,a.xP)("click_new_resume",{label:"total_job_search_solution"}),t&&t(),H(d.o1.createDocument({type:g.VC.resume,isResumeDistributionCreateAction:O})))},children:["createResume"===K?(0,r.jsx)($,{children:(0,r.jsx)(y.Ay,{})}):(0,r.jsx)(E,{children:(0,r.jsx)(D,{alt:"create resume",src:b})}),(0,r.jsx)(R,{children:(0,r.jsx)(L,{children:u.R.t("builder.resume_distribution.landing.modal.create_resume")})})]},"resume-create")]}),(0,r.jsxs)(I,{children:[(0,r.jsx)(M,{onClick:G,"data-testid":"select-resume-modal-cancel",children:u.R.t("builder.resume_distribution.landing.modal.cancel")}),(0,r.jsx)(B,{isLoading:"selectedResume"===K,onClick:()=>
8400{if("selectedResume"!==K&&U){if(q("selectedResume"),A)return void i(U);i(U),e()}},"data-testid":"select-resume-modal-confirm",children:u.R.t("builder.resume_distribution.landing.modal.confirm")})]})]})})})}},9158:function(e,t,i){"use strict";i.d(t,{j:function(){return o},z:function(){return n}});var r,n=((r={}).MY_STORY_VISIT_FLAG="myStoryVisitFlag",r.MY_STORY_UTMS="myStoryUTMs",r);let o=["utm_content","utm_source","utm_medium","utm_campaign","utm_term","utm_adgroup","utm_lpurl","utm_matchtype","utm_device","utm_location","utm_gclid","utm_msclkid","utm_yclid"]},78005:function(e,t){"use strict";t.A=[{id:"AF",name:"Afghanistan"},{id:"AX",name:"\xc5land Islands"},{id:"AL",name:"Albania"},{id:"DZ",name:"Algeria"},{id:"AS",name:"American Samoa"},{id:"AD",name:"Andorra"},{id:"AO",name:"Angola"},{id:"AI",name:"Anguilla"},{id:"AQ",name:"Antarctica"},{id:"AG",name:"Antigua and Barbuda"},{id:"AR",name:"Argentina"},{id:"AM",name:"Armenia"},{id:"AW",name:"Aruba"},{id:"AU",name:"Australia"},{id:"AT",name:"Austria"},{id:"AZ",name:"Azerbaijan"},{id:"BS",name:"Bahamas"},{id:"BH",name:"Bahrain"},{id:"BD",name:"Bangladesh"},{id:"BB",name:"Barbados"},{id:"BY",name:"Belarus"},{id:"BE",name:"Belgium"},{id:"BZ",name:"Belize"},{id:"BJ",name:"Benin"},{id:"BM",name:"Bermuda"},{id:"BT",name:"Bhutan"},{id:"BO",name:"Bolivia"},{id:"BA",name:"Bosnia and Herzegovina"},{id:"BW",name:"Botswana"},{id:"BV",name:"Bouvet Island"},{id:"BR",name:"Brazil"},{id:"IO",name:"British Indian Ocean Territory"},{id:"BN",name:"Brunei Darussalam"},{id:"BG",name:"Bulgaria"},{id:"BF",name:"Burkina Faso"},{id:"BI",name:"Burundi"},{id:"KH",name:"Cambodia"},{id:"CM",name:"Cameroon"},{id:"CA",name:"Canada"},{id:"CV",name:"Cape Verde"},{id:"KY",name:"Cayman Islands"},{id:"CF",name:"Central African Republic"},{id:"TD",name:"Chad"},{id:"CL",name:"Chile"},{id:"CN",name:"China"},{id:"CX",name:"Christmas Island"},{id:"CC",name:"Cocos (Keeling) Islands"},{id:"CO",name:"Colombia"},{id:"KM",name:"Comoros"},{id:"CG",name:"Congo"},{id:"CD",name:"Congo, Democratic Republic"},{id:"CK",name:"Cook Islands"},{id:"CR",name:"Costa Rica"},{id:"CI",name:'Cote D"Ivoire'},{id:"HR",name:"Croatia"},{id:"CU",name:"Cuba"},{id:"CY",name:"Cyprus"},{id:"CZ",name:"Czech Republic"},{id:"DK",name:"Denmark"},{id:"DJ",name:"Djibouti"},{id:"DM",name:"Dominica"},{id:"DO",name:"Dominican Republic"},{id:"EC",name:"Ecuador"},{id:"EG",name:"Egypt"},{id:"SV",name:"El Salvador"},{id:"GQ",name:"Equatorial Guinea"},{id:"ER",name:"Eritrea"},{id:"EE",name:"Estonia"},{id:"ET",name:"Ethiopia"},{id:"FK",name:"Falkland Islands (Malvinas)"},{id:"FO",name:"Faroe Islands"},{id:"FJ",name:"Fiji"},{id:"FI",name:"Finland"},{id:"FR",name:"France",priority:2},{id:"GF",name:"French Guiana"},{id:"PF",name:"French Polynesia"},{id:"TF",name:"French Southern Territories"},{id:"GA",name:"Gabon"},{id:"GM",name:"Gambia"},{id:"GE",name:"Georgia"},{id:"DE",name:"Germany",priority:2},{id:"GH",name:"Ghana"},{id:"GI",name:"Gibraltar"},{id:"GR",name:"Greece"},{id:"GL",name:"Greenland"},{id:"GD",name:"Grenada"},{id:"GP",name:"Guadeloupe"},{id:"GU",name:"Guam"},{id:"GT",name:"Guatemala"},{id:"GG",name:"Guernsey"},{id:"GN",name:"Guinea"},{id:"GW",name:"Guinea-Bissau"},{id:"GY",name:"Guyana"},{id:"HT",name:"Haiti"},{id:"HM",name:"Heard Island and Mcdonald Islands"},{id:"VA",name:"Holy See (Vatican City State)"},{id:"HN",name:"Honduras"},{id:"HK",name:"Hong Kong"},{id:"HU",name:"Hungary"},{id:"IS",name:"Iceland"},{id:"IN",name:"India"},{id:"ID",name:"Indonesia"},{id:"IR",name:"Iran"},{id:"IQ",name:"Iraq"},{id:"IE",name:"Ireland"},{id:"IM",name:"Isle of Man"},{id:"IL",name:"Israel"},{id:"IT",name:"Italy"},{id:"JM",name:"Jamaica"},{id:"JP",name:"Japan"},{id:"JE",name:"Jersey"},{id:"JO",name:"Jordan"},{id:"KZ",name:"Kazakhstan"},{id:"KE",name:"Kenya"},{id:"KI",name:"Kiribati"},{id:"KP",name:"Korea (North)"},{id:"KR",name:"Korea (South)"},{id:"KW",name:"Kuwait"},{id:"KG",name:"Kyrgyzstan"},{id:"LA",name:"Laos"},{id:"LV",name:"Latvia"},{id:"LB",name:"Lebanon"},{id:"LS",name:"Lesotho"},{id:"LR",name:"Liberia"},{id:"LY",name:"Libyan Arab Jamahiriya"},{id:"LI",name:"Liechtenstein"},{id:"LT",name:"Lithuania"},{id:"LU",name:"Luxembourg"},{id:"MO",name:"Macao"},{id:"MK",name:"Macedonia"},{id:"MG",name:"Madagascar"},{id:"MW",name:"Malawi"},{id:"MY",name:"Malaysia"},{id:"MV",name:"Maldives"},{id:"ML",name:"Mali"},{id:"MT",name:"Malta"},{id:"MH",name:"Marshall Islands"},{id:"MQ",name:"Martinique"},{id:"MR",name:"Mauritania"},{id:"MU",name:"Mauritius"},{id:"YT",name:"Mayotte"},{id:"MX",name:"Mexico"},{id:"FM",name:"Micronesia"},{id:"MD",name:"Moldova"},{id:"MC",name:"Monaco"},{id:"MN",name:"Mongolia"},{id:"ME",name:"Montenegro"},{id:"MS",name:"Montserrat"},{id:"MA",name:"Morocco"},{id:"MZ",name:"Mozambique"},{id:"MM",name:"Myanmar"},{id:"NA",name:"Namibia"},{id:"NR",name:"Nauru"},{id:"NP",name:"Nepal"},{id:"NL",name:"Netherlands"},{id:"NC",name:"New Caledonia"},{id:"NZ",name:"New Zealand"},{id:"NI",name:"Nicaragua"},{id:"NE",name:"Niger"},{id:"NG",name:"Nigeria"},{id:"NU",name:"Niue"},{id:"NF",name:"Norfolk Island"},{id:"MP",name:"Northern Mariana Islands"},{id:"NO",name:"Norway"},{id:"OM",name:"Oman"},{id:"PK",name:"Pakistan"},{id:"PW",name:"Palau"},{id:"PS",name:"Palestinian Territory, Occupied"},{id:"PA",name:"Panama"},{id:"PG",name:"Papua New Guinea"},{id:"PY",name:"Paraguay"},{id:"PE",name:"Peru"},{id:"PH",name:"Philippines"},{id:"PN",name:"Pitcairn"},{id:"PL",name:"Poland"},{id:"PT",name:"Portugal",priority:2},{id:"PR",name:"Puerto Rico"},{id:"QA",name:"Qatar"},{id:"RE",name:"Reunion"},{id:"RO",name:"Romania"},{id:"RU",name:"Russian Federation"},{id:"RW",name:"Rwanda"},{id:"SH",name:"Saint Helena"},{id:"KN",name:"Saint Kitts and Nevis"},{id:"LC",name:"Saint Lucia"},{id:"PM",name:"Saint Pierre and Miquelon"},{id:"VC",name:"Saint Vincent and the Grenadines"},{id:"WS",name:"Samoa"},{id:"SM",name:"San Marino"},{id:"ST",name:"Sao Tome and Principe"},{id:"SA",name:"Saudi Arabia"},{id:"SN",name:"Senegal"},{id:"RS",name:"Serbia"},{id:"SC",name:"Seychelles"},{id:"SL",name:"Sierra Leone"},{id:"SG",name:"Singapore"},{id:"SK",name:"Slovakia"},{id:"SI",name:"Slovenia"},{id:"SB",name:"Solomon Islands"},{id:"SO",name:"Somalia"},{id:"ZA",name:"South Africa"},{id:"GS",name:"South Georgia and the South Sandwich Islands"},{id:"ES",name:"Spain",priority:2},{id:"LK",name:"Sri Lanka"},{id:"SD",name:"Sudan"},{id:"SR",name:"Suriname"},{id:"SJ",name:"Svalbard and Jan Mayen"},{id:"SZ",name:"Swaziland"},{id:"SE",name:"Sweden"},{id:"CH",name:"Switzerland"}
8400,{id:"SY",name:"Syrian Arab Republic"},{id:"TW",name:"Taiwan, R.O.C."},{id:"TJ",name:"Tajikistan"},{id:"TZ",name:"Tanzania"},{id:"TH",name:"Thailand"},{id:"TL",name:"Timor-Leste"},{id:"TG",name:"Togo"},{id:"TK",name:"Tokelau"},{id:"TO",name:"Tonga"},{id:"TT",name:"Trinidad and Tobago"},{id:"TN",name:"Tunisia"},{id:"TR",name:"Turkey"},{id:"TM",name:"Turkmenistan"},{id:"TC",name:"Turks and Caicos Islands"},{id:"TV",name:"Tuvalu"},{id:"UG",name:"Uganda"},{id:"UA",name:"Ukraine"},{id:"AE",name:"United Arab Emirates"},{id:"GB",name:"United Kingdom",priority:2},{id:"US",name:"United States",priority:2},{id:"UM",name:"United States Minor Outlying Islands"},{id:"UY",name:"Uruguay"},{id:"UZ",name:"Uzbekistan"},{id:"VU",name:"Vanuatu"},{id:"VE",name:"Venezuela"},{id:"VN",name:"Viet Nam"},{id:"VG",name:"Virgin Islands, British"},{id:"VI",name:"Virgin Islands, U.S."},{id:"XK",name:"Kosovo"},{id:"WF",name:"Wallis and Futuna"},{id:"EH",name:"Western Sahara"},{id:"YE",name:"Yemen"},{id:"ZM",name:"Zambia"},{id:"ZW",name:"Zimbabwe"}]},91954:function(e,t,i){"use strict";i.d(t,{FP:function(){return r}}),i(18111),i(61701),i(14603),i(47566),i(98721);let r=({base:e,defaults:t})=>(i,r={})=>{let n=new URL(i,e);if(0===Object.keys(r).length)return i;{let[,e,i]=/\/cdn-cgi\/image\/([^/]+)(\/.*)/.exec(n.pathname)??[];n.pathname="/cdn-cgi/image/"+((e={})=>{let t=Object.entries(e);return 0===t.length?"":t.map(e=>e.join("=")).join(",")})(Object.assign({},t,e?Object.fromEntries(e.split(",").map(e=>e.split("="))):{},r))+(i??n.pathname)}return n.toString()}},33093:function(e,t,i){"use strict";i.d(t,{OQ:function(){return n.OQ},PW:function(){return r.P},_Q:function(){return o._Q},_m:function(){return r._},mI:function(){return o.mI},mP:function(){return o.mP},xP:function(){return n.xP}});var r=i(77419),n=i(66100),o=i(97619)},97619:function(e,t,i){"use strict";i.d(t,{_Q:function(){return s},mI:function(){return l},mP:function(){return a}});var r=i(18987);let n=null,o=async e=>{let{default:t}=await i.e("1784").then(i.bind(i,76751));return t.init(e.token,{remote_settings_mode:"strict",record_mask_all_text:!1,record_mask_all_inputs:!0,autocapture:{click:!1,dead_click:!0,rage_click:!0,input:!1,scroll:!1,submit:!1,pageview:!1}}),t.identify(e.distinctId),t},a=()=>{if(n)return n;let e=(()=>{let e=document.getElementById("session-replay-config");if(!e?.textContent)return null;try{let t=JSON.parse(e.textContent);return t.token&&t.distinctId?t:null}catch{return null}})();return e&&(!e.requiresConsent||(()=>{try{let e=JSON.parse(r.A.get("cookie_consent")||"null");return!0===e||Array.isArray(e)&&e.includes("AnalyticalCookies")}catch{return!1}})())?n=o(e).catch(()=>(n=null,null)):Promise.resolve(null)},l=async e=>{if(!n||!e)return;let t=await n;t&&t.get_distinct_id()!==e&&t.identify(e)},s=async()=>{if(!n)return;let e=await n;n=null,e&&(e.stop_session_recording(),e.reset())}},66100:function(e,t,i){"use strict";i.d(t,{OQ:function(){return a},xP:function(){return o}}),i(14603),i(47566),i(98721);var r=i(2543);i(61175);let n=["cq_med","cq_net","cq_plac","cq_plt","cq_pos","device","fbclid","ga_device","ga_gclid","ga_location","ga_matchtype","ga_utm_adgroup","ga_utm_campaign","ga_utm_content","ga_utm_custom","ga_utm_medium","ga_utm_source","ga_utm_term","gbraid","gclid","location","matchtype","msclkid","ttclid","utm_adgroup","utm_campaign","utm_content","utm_custom","utm_location","utm_matchtype","utm_medium","utm_source","utm_term","yclid","utm_keyword","lscid","utm_lscid","utm_subid","utm_placement","utm_region","utm_id","utm_device","utm_gclid","utm_msclkid"],o=(e,t={})=>{let i;if("string"!=typeof e)return console.error("\uD83D\uDED1 Event Tracking: An event code must be provided");let o=Math.round(Date.now()/1e3),a=Date.now(),l={...t,...{window_width:window.innerWidth,window_height:window.innerHeight,screen_width:window.screen.width,screen_height:window.screen.height},...{prior_referer:document.referrer||"direct"},...(i=Object.fromEntries(new URLSearchParams(window.location.search)),(0,r.pick)(i,n)),timestamp:o,timestamp_ms:a};if("navigator"in window&&"function"==typeof navigator.sendBeacon)try{navigator.sendBeacon(`/api/reporting/event/${e}`,JSON.stringify({params:l}))}catch(e){console.error(e)}},a=(...e)=>()=>o(...e)},77419:function(e,t,i){"use strict";i.d(t,{P:function(){return n},_:function(){return r}}),i(44114);let r=(e,t,i={})=>new Promise(r=>{var n;let o,a,l={event:"gtmAppEvent",eventCategory:e,eventAction:t,eventCallback:(n=()=>r(),o=!1,a=setTimeout(()=>{o=!0,n()},5e3),()=>{o||(clearTimeout(a),n())}),...i};window.dataLayer=window.dataLayer||[],window.dataLayer.push(l)}),n=(...e)=>()=>r(...e)}}]);

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.