1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[74733],{2319:(s,n,e)=>{"use strict";e.d(n,{A:()=>l});var t=e(26514),o=e(46225);e(75834);var a=e(76087),i=e(78740),r=e.n(i);let l=s=>{let{href:n}=s,e=(0,o.useRouter)();return(0,t.jsxs)("a",{className:r().backBlock,onClick:()=>{window.history.length>1?e.back():e.push(n)},children:[(0,t.jsx)("img",{className:r().backImg,src:"/static/therapistPanelFiles/arrow_left_black.svg"}),(0,t.jsx)("span",{className:r().backText,children:(0,t.jsx)(a.A,{id:"Back",defaultMessage:"Back"})})]})}},3245:(s,n,e)=>{"use strict";e.d(n,{A:()=>m});var t=e(26514),o=e(59527),a=e(35976);e(75834);var i=e(644),r=e(76087),l=e(40975),c=e(9091),p=e(48361),j=e(7778),h=e(44352),y=e(74144),u=e(18010),d=e(45237),b=e.n(d);let g=s=>{let{children:n,activeSection:e,sectionName:o,iconPath:a="/static/therapistPanelFiles/icon-patients.svg"}=s;return(0,t.jsxs)(j.A,{active:e===o,href:"/panel-admina/"+o,children:[(0,t.jsx)("img",{src:a,alt:o}),n]})},m=s=>{let n=(0,i.A)(),{children:e,activeSection:j,backgroundType:d,disableTwoFactorMessage:m}=s,v=(0,l.d4)(s=>s.auth.user),k=(0,t.jsxs)(p.A,{activeSection:j,children:[(0,t.jsx)(h.A,{showAvatar:!1,showCurrentDayAvailability:!1}),(0,t.jsx)("div",{className:b().langMenuWrapper,children:(0,t.jsx)(o.A,{})}),(0,t.jsx)(g,{activeSection:j,sectionName:"",iconPath:"/static/admin-panel-files/icon-home.svg",children:(0,t.jsx)(r.A,{id:"admin-panel::Dashboard",defaultMessage:"Dashboard"})}),(null==v?void 0:v.type)!=="INTERN"?(0,t.jsxs)("div",{children:[(0,t.jsx)(g,{activeSection:j,sectionName:"firmy",iconPath:"/static/admin-panel-files/icon-home.svg",children:(0,t.jsx)(r.A,{id:"admin-panel::Companies",defaultMessage:"Companies"})}),(0,t.jsx)(g,{activeSection:j,sectionName:"terapeuci",children:(0,t.jsx)(r.A,{id:"admin-panel::Therapists",defaultMessage:"Therapists"})}),(0,t.jsx)(g,{activeSection:j,sectionName:"psychiatrzy",children:(0,t.jsx)(r.A,{id:"admin-panel::Psychiatrists",defaultMessage:"Psychiatrists"})}),(0,t.jsx)(g,{activeSection:j,sectionName:"opiekunowie",children:(0,t.jsx)(r.A,{id:"admin-panel::TherapyGuides",defaultMessage:"Therapy Guides"})}),(0,a.q)(v)?(0,t.jsx)(g,{activeSection:j,sectionName:"statystyki-wizyt",children:(0,t.jsx)(r.A,{id:"admin-panel::stats.menuTitle",defaultMessage:"Main dashboard"})}):null]}):null,(0,t.jsx)("div",{"data-test":"nav-menu-sessions",children:(0,t.jsx)(g,{activeSection:j,sectionName:"pacjenci",children:(0,t.jsx)(r.A,{id:"Patients",defaultMessage:"Patients"})})}),(0,t.jsx)(g,{activeSection:j,sectionName:"stazysci",children:(0,t.jsx)(r.A,{id:"admin-panel::Interns",defaultMessage:"Interns"})}),(null==v?void 0:v.type)!=="INTERN"?(0,t.jsx)(g,{activeSection:j,sectionName:"opinie",children:(0,t.jsx)(r.A,{id:"admin-panel::reviewsList.header",defaultMessage:"List of reviews"})}):null,(null==v?void 0:v.type)!=="INTERN"?(0,t.jsx)("div",{children:(0,t.jsx)(g,{activeSection:j,sectionName:"portfele",iconPath:"/static/therapistPanelFiles/icon-wallet.svg",children:(0,t.jsx)(r.A,{id:"admin-panel::Therapists Wallets",defaultMessage:"Therapists Wallets"})})}):null,(0,t.jsx)(g,{activeSection:j,sectionName:"ustawienia",iconPath:"/static/therapistPanelFiles/icon-settings.svg",children:(0,t.jsx)(r.A,{id:"Settings",defaultMessage:"Settings"})})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.A,{title:n.formatMessage({id:"admin-panel::admin panel title",defaultMessage:"Admin panel - Wellbee"}),description:n.formatMessage({id:"admin-panel::admin panel description",defaultMessage:"Wellbee Admin panel"})}),(0,t.jsx)(c.A,{leftContent:k,redirectPath:"/panel-admina",backgroundType:d,requiredUserTypes:["ADMIN","THERAPYGUIDE","INTERN"],children:e}),m?null:(0,t.jsx)(y.A,{link:"/panel-admina/2fa"})]})}},35976:(s,n,e)=>{"use strict";e.d(n,{g:()=>r,q:()=>l});var t=e(46225),o=e.n(t),a=e(75834),i=e(40975);let r=()=>{let s=(0,i.d4)(s=>s.auth.user);(0,a.useEffect)(()=>{s&&!l(s)&&o().push("/404")},[s])},l=s=>(null==s?void 0:s.type)==="ADMIN"},45237:s=>{s.exports={langMenuWrapper:"PanelLayout_langMenuWrapper__7_Eao"}},49916:(s,n,e)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/panel-admina/2fa",function(){return e(80938)}])},65512:(s,n,e)=>{var t={"./accessibilityStatement-bg.json":[65311,65311],"./accessibilityStatement-cs.json":[8154,8154],"./accessibilityStatement-en.json":[81091,81091],"./accessibilityStatement-hu.json":[40255,40255],"./accessibilityStatement-pl.json":[34848,34848],"./accessibilityStatement-ro.json":[75991,75991],"./accessibilityStatement-rs.json":[89019,89019],"./accessibilityStatement-ru.json":[69889,69889],"./accessibilityStatement-sk.json":[83426,83426],"./accessibilityStatement-sl.json":[27139,27139],"./accessibilityStatement-uk.json":[73144,73144],"./admin-panel-bg.json":[12966,12966],"./admin-panel-cs.json":[95739,95739],"./admin-panel-en.json":[40526,40526],"./admin-panel-hu.json":[2266,2266],"./admin-panel-pl.json":[63457,63457],"./admin-panel-ro.json":[80446,80446],"./admin-panel-rs.json":[78394,78394],"./admin-panel-ru.json":[95916,95916],"./admin-panel-sk.json":[79011,79011],"./admin-panel-sl.json":[59778,59778],"./admin-panel-uk.json":[23577,23577],"./advancedStatistics-bg.json":[40323,40323],"./advancedStatistics-cs.json":[19046,19046],"./advancedStatistics-en.json":[9839,9839],"./advancedStatistics-hu.json":[88547,88547
1],"./advancedStatistics-pl.json":[78340,78340],"./advancedStatistics-ro.json":[60619,60619],"./advancedStatistics-rs.json":[67591,67591],"./advancedStatistics-ru.json":[71909,71909],"./advancedStatistics-sk.json":[2478,2478],"./advancedStatistics-sl.json":[59175,59175],"./advancedStatistics-uk.json":[96460,96460],"./b2b-bg.json":[81128,81128],"./b2b-cs.json":[46821,46821],"./b2b-en.json":[18012,18012],"./b2b-hu.json":[68708,68708],"./b2b-landing-bg.json":[85766,85766],"./b2b-landing-cs.json":[22491,22491],"./b2b-landing-en.json":[65102,65102],"./b2b-landing-hu.json":[15994,15994],"./b2b-landing-pl.json":[50017,50017],"./b2b-landing-ro.json":[56222,56222],"./b2b-landing-rs.json":[41626,41626],"./b2b-landing-ru.json":[68780,68780],"./b2b-landing-sk.json":[13923,13923],"./b2b-landing-sl.json":[52610,52610],"./b2b-landing-uk.json":[48473,48473],"./b2b-pl.json":[66403,66403],"./b2b-ro.json":[27088,27088],"./b2b-rs.json":[96052,96052],"./b2b-ru.json":[87490,87490],"./b2b-sk.json":[39709,39709],"./b2b-sl.json":[77408,77408],"./b2b-uk.json":[25247,25247],"./b2bStats-bg.json":[18119,18119],"./b2bStats-cs.json":[80578,80578],"./b2bStats-en.json":[43963,43963],"./b2bStats-hu.json":[5879,5879],"./b2bStats-pl.json":[52312,52312],"./b2bStats-ro.json":[15791,15791],"./b2bStats-rs.json":[92035,92035],"./b2bStats-ru.json":[63433,63433],"./b2bStats-sk.json":[78810,78810],"./b2bStats-sl.json":[87835,87835],"./b2bStats-uk.json":[31280,31280],"./bg.json":[48089],"./business-help-section-bg.json":[42086,42086],"./business-help-section-cs.json":[26523,26523],"./business-help-section-en.json":[80686,80686],"./business-help-section-hu.json":[83642,83642],"./business-help-section-pl.json":[24929,24929],"./business-help-section-ro.json":[28126,28126],"./business-help-section-rs.json":[10170,10170],"./business-help-section-ru.json":[47884,47884],"./business-help-section-sk.json":[74019,74019],"./business-help-section-sl.json":[84578,84578],"./business-help-section-uk.json":[31609,31609],"./christian-psychotherapy-bg.json":[89987,89987],"./christian-psychotherapy-cs.json":[45510,45510],"./christian-psychotherapy-en.json":[42159,64540],"./christian-psychotherapy-hu.json":[19715,19715],"./christian-psychotherapy-pl.json":[32804,32804],"./christian-psychotherapy-ro.json":[33835,33835],"./christian-psychotherapy-rs.json":[88551,88551],"./christian-psychotherapy-ru.json":[17317,17317],"./christian-psychotherapy-sk.json":[62478,62478],"./christian-psychotherapy-sl.json":[80135,80135],"./christian-psychotherapy-uk.json":[8172,8172],"./cognitive-behavioral-therapy-bg.json":[33824,33824],"./cognitive-behavioral-therapy-cs.json":[4541,4541],"./cognitive-behavioral-therapy-en.json":[37636,37636],"./cognitive-behavioral-therapy-hu.json":[48780,48780],"./cognitive-behavioral-therapy-pl.json":[24075,24075],"./cognitive-behavioral-therapy-ro.json":[4024,4024],"./cognitive-behavioral-therapy-rs.json":[9196,9196],"./cognitive-behavioral-therapy-ru.json":[55130,55130],"./cognitive-behavioral-therapy-sk.json":[83205,83205],"./cognitive-behavioral-therapy-sl.json":[42280,42280],"./cognitive-behavioral-therapy-uk.json":[20391,20391],"./content-library-bg.json":[19871,19871],"./content-library-cs.json":[45882,45882],"./content-library-en.json":[30787,30787],"./content-library-hu.json":[81023,81023],"./content-library-pl.json":[5376,5376],"./content-library-ro.json":[65559,65559],"./content-library-rs.json":[46875,46875],"./content-library-ru.json":[67105,67105],"./content-library-sk.json":[22421,44802],"./content-library-sl.json":[34243,34243],"./content-library-uk.json":[98584,98584],"./content-platform-bg.json":[2737,2737],"./content-platform-cs.json":[72252,72252],"./content-platform-en.json":[32593,32593],"./content-platform-hu.json":[89137,89137],"./content-platform-pl.json":[78234,78234],"./content-platform-ro.json":[7113,7113],"./content-platform-rs.json":[42701,42701],"./content-platform-ru.json":[31215,31215],"./content-platform-sk.json":[59460,59460],"./content-platform-sl.json":[52537,52537],"./content-platform-uk.json":[97350,97350],"./crisis-intervention-bg.json":[99317,99317],"./crisis-intervention-cs.json":[5816,5816],"./crisis-intervention-en.json":[52589,52589],"./crisis-intervention-hu.json":[54069,54069],"./crisis-intervention-pl.json":[49630,49630],"./crisis-intervention-ro.json":[88733,88733],"./crisis-intervention-rs.json":[31321,31321],"./crisis-intervention-ru.json":[7070
17,70707],"./crisis-intervention-sk.json":[93296,93296],"./crisis-intervention-sl.json":[54669,54669],"./crisis-intervention-uk.json":[40826,40826],"./cs.json":[61124],"./en.json":[43817],"./gdprNotice-bg.json":[52983,52983],"./gdprNotice-cs.json":[76210,76210],"./gdprNotice-en.json":[67659,67659],"./gdprNotice-hu.json":[80999,80999],"./gdprNotice-pl.json":[94120,94120],"./gdprNotice-ro.json":[47935,47935],"./gdprNotice-rs.json":[11603,11603],"./gdprNotice-ru.json":[88569,88569],"./gdprNotice-sk.json":[26442,26442],"./gdprNotice-sl.json":[92267,92267],"./gdprNotice-uk.json":[19392,19392],"./gestalt-therapy-bg.json":[35076,35076],"./gestalt-therapy-cs.json":[55897,55897],"./gestalt-therapy-en.json":[94128,94128],"./gestalt-therapy-hu.json":[46608,24227],"./gestalt-therapy-pl.json":[34751,34751],"./gestalt-therapy-ro.json":[78508,78508],"./gestalt-therapy-rs.json":[73464,73464],"./gestalt-therapy-ru.json":[34014,34014],"./gestalt-therapy-sk.json":[25809,25809],"./gestalt-therapy-sl.json":[2108,2108],"./gestalt-therapy-uk.json":[34459,34459],"./hu.json":[52425],"./integrative-psychotherapy-bg.json":[35904,35904],"./integrative-psychotherapy-cs.json":[20285,20285],"./integrative-psychotherapy-en.json":[61060,61060],"./integrative-psychotherapy-hu.json":[47692,47692],"./integrative-psychotherapy-pl.json":[7979,7979],"./integrative-psychotherapy-ro.json":[27192,27192],"./integrative-psychotherapy-rs.json":[94252,94252],"./integrative-psychotherapy-ru.json":[67098,67098],"./integrative-psychotherapy-sk.json":[83045,83045],"./integrative-psychotherapy-sl.json":[41672,41672],"./integrative-psychotherapy-uk.json":[46151,46151],"./login-bg.json":[24253,24253],"./login-cs.json":[47072,47072],"./login-en.json":[64677,64677],"./login-hu.json":[66861,66861],"./login-pl.json":[52630,52630],"./login-ro.json":[40597,40597],"./login-rs.json":[36545,36545],"./login-ru.json":[55675,55675],"./login-sk.json":[3176,3176],"./login-sl.json":[33765,33765],"./login-uk.json":[73682,73682],"./patient-panel-bg.json":[48296,48296],"./patient-panel-cs.json":[98085,98085],"./patient-panel-en.json":[75983,98364],"./patient-panel-hu.json":[4484,4484],"./patient-panel-pl.json":[76131,76131],"./patient-panel-ro.json":[86288,86288],"./patient-panel-rs.json":[18260,18260],"./patient-panel-ru.json":[57410,57410],"./patient-panel-sk.json":[6877,6877],"./patient-panel-sl.json":[47264,47264],"./patient-panel-uk.json":[97503,97503],"./payment-bg.json":[13220,13220],"./payment-cs.json":[34041,34041],"./payment-en.json":[88624,88624],"./payment-hu.json":[24752,24752],"./payment-pl.json":[12895,12895],"./payment-ro.json":[73004,73004],"./payment-rs.json":[67960,67960],"./payment-ru.json":[28510,28510],"./payment-sk.json":[20305,20305],"./payment-sl.json":[96604,96604],"./payment-uk.json":[51336,28955],"./pl.json":[60018],"./privacyPolicy-bg.json":[20204,20204],"./privacyPolicy-cs.json":[17793,17793],"./privacyPolicy-en.json":[16904,16904],"./privacyPolicy-hu.json":[56104,56104],"./privacyPolicy-pl.json":[93559,93559],"./privacyPolicy-ro.json":[25316,25316],"./privacyPolicy-rs.json":[34656,34656],"./privacyPolicy-ru.json":[79174,79174],"./privacyPolicy-sk.json":[23049,23049],"./privacyPolicy-sl.json":[94420,94420],"./privacyPolicy-uk.json":[96371,96371],"./psychoanalytic-psychotherapy-bg.json":[97269,97269],"./psychoanalytic-psychotherapy-cs.json":[87416,87416],"./psychoanalytic-psychotherapy-en.json":[50541,50541],"./psychoanalytic-psychotherapy-hu.json":[52021,52021],"./psychoanalytic-psychotherapy-pl.json":[31230,31230],"./psychoanalytic-psychotherapy-ro.json":[70333,70333],"./psychoanalytic-psychotherapy-rs.json":[29273,29273],"./psychoanalytic-psychotherapy-ru.json":[68659,68659],"./psychoanalytic-psychotherapy-sk.json":[91248,91248],"./psychoanalytic-psychotherapy-sl.json":[52621,52621],"./psychoanalytic-psychotherapy-uk.json":[38778,38778],"./psychodietician-online-bg.json":[68802,68802],"./psychodietician-online-cs.json":[17167,17167],"./psychodietician-online-en.json":[91650,91650],"./psychodietician-online-hu.json":[64518,64518],"./psychodietician-online-pl.json":[12141,12141],"./psychodietician-online-ro.json":[74954,74954],"./psychodietician-online-rs.json":[68942,68942],"./psychodietician-online-ru.json":[90344,90344],"./psychodietician-online-sk.json":[76471,76471],"./psychodietician-online-sl.json":[7102,7102],"./psychodietician-online-uk.json":[20597,20597],"./psychodynamic-therapy-bg.json":[43565,43565],"./psychodynamic-therapy-cs.json":[73776,73776],"./psychodynamic-therapy-en.json":[74402,74402],"./psychodynamic-therapy-hu.json":[93405,93405],"./psychodynamic-therapy-pl.json":[86118,86118],"./psychodynamic-therapy-ro.json":[81381,81381],"./psychodynamic-therapy-rs.json":[96593,96593],"./psychodynamic-therapy-ru.json":[76907,76907],"./psychodynamic-therapy-sk.json":[9688,9688],"./psychodynamic-therapy-sl.json":[19221,19221],"./psychodynamic-therapy-uk.json":[23074,23074],"./reports-bg.json":[60107,60107],"./reports-cs.json":[98382,98382],"./reports-en.json":[72615,72615],"./reports-hu.json":[37083,37083],"./reports-pl.json":[32508,32508],"./reports-ro.json":[56163,56163],"./reports-rs.json":[17263,17263],"./reports-ru.json":[4845,4845],"./reports-sk.json":[34886,34886],"./reports-sl.json":[16607,16607],"./reports-uk.json":[96996,96996],"./ro.json":[80065],"./rs.json":[51157],"./ru.json":[94871],"./siy-bg.json":[97415,97415],"./siy-cs.json":[90146,90146],"./siy-en.json":[3259,3259],"./siy-hu.json":[72407,72407],"./siy-pl.json":[888,888],"./siy-ro.json":[97231,97231],"./siy-rs.json":[41027,41027],"./siy-ru.json":[73129,73129],"./siy-sk.json":[79245,1626],"./siy-sl.json":[69723,69723],"./siy-uk.json":[10480,10480],"./sk.json":[99452],"./sl.json":[92529],"./systemic-therapy-bg.json":[59771,59771],"./systemic-therapy-cs.json":[35134,35134],"./systemic-therapy-en.json":[71511,71511],"./systemic-therapy-hu.json":[79755,79755],"./systemic-therapy-pl.json":[73932,73932],"./systemic-therapy-ro.json":[49235,49235],"./systemic-therapy-rs.json":[36415,36415],"./systemic-therapy-ru.json":[56797,56797],"./systemic-therapy-sk.json":[75478,75478],"./systemic-therapy-sl.json":[46863,46863],"./systemic-therapy-uk.json":[6868,6868],"./therapist-panel-bg.json":[94573,94573],"./therapist-panel-cs.json":[41136,41136],"./therapist-panel-en.json":[3029,3029],"./therapist-panel-hu.json":[60765,60765],"./therapist-panel-pl.json":[53478,53478],"./therapist-panel-ro.json":[48741,48741],"./therapist-panel-rs.json":[47601,47601],"./therapist-panel-ru.json":[44267,44267],"./therapist-panel-sk.json":[77048,77048],"./therapist-panel-sl.json":[70229,70229],"./therapist-panel-uk.json":[90434,90434],"./therapist-partnership-bg.json":[60407,60407],"./therapist-partnership-cs.json":[914,914],"./therapist-partnership-en.json":[57995,57995],"./therapist-partnership-hu.json":[15399,15399],"./therapist-partnership-pl.json":[44840,44840],"./therapist-partnership-ro.json":[3231,3231],"./therapist-partnership-rs.json":[44115,44115],"./therapist-partnership-ru.json":[49017,49017],"./therapist-partnership-sk.json":[64586,64586],"./therapist-partnership-sl.json":[79371,79371],"./therapist-partnership-uk.json":[90656,90656],"./therapists-landing-bg.json":[19223,19223],"./therapists-landing-cs.json":[31762,9381],"./therapists-landing-en.json":[93643,93643],"./therapists-landing-hu.json":[41799,41799],"./therapists-landing-pl.json":[72744,72744],"./therapists-landing-ro.json":[31647,31647],"./therapists-landing-rs.json":[53491,53491],"./therapists-landing-ru.json":[60345,60345],"./therapists-landing-sk.json":[65770,65770],"./therapists-landing-sl.json":[39051,39051],"./therapists-landing-uk.json":[91776,91776],"./therapy-for-couples-bg.json":[24887,24887],"./therapy-for-couples-cs.json":[9381,31762],"./therapy-for-couples-en.json":[39563,39563],"./therapy-for-couples-hu.json":[52903,52903],"./therapy-for-couples-pl.json":[66024,66024],"./therapy-for-couples-ro.json":[3487,3487],"./therapy-for-couples-rs.json":[83507,83507],"./therapy-for-couples-ru.json":[44121,44121],"./therapy-for-couples-sk.json":[98346,98346],"./therapy-for-couples-sl.json":[64171,64171],"./therapy-for-couples-uk.json":[74944,74944],"./tips-bg.json":[15390,15390],"./tips-cs.json":[37971,37971],"./tips-en.json":[6326,6326],"./tips-hu.json":[95458,95458],"./tips-pl.json":[63497,63497],"./tips-ro.json":[76102,76102],"./tips-rs.json":[86226,86226],"./tips-ru.json":[42532,42532],"./tips-sk.json":[93387,93387],"./tips-sl.json":[22090,22090],"./tips-uk.json":[31969,31969],"./uk.json":[75966],"./userStories-bg.json":[16906,16906],"./userStories-cs.json":[27319,27319],"./userStories-en.json":[74810,74810],"./userStories-hu.json":[74558,74558],"./userStories-pl.json":[29413,29413],"./userStories-ro.json":[79778,79778],"./userStories-rs.json":[65270,65270],"./userStories-ru.json":[19376,19376],"./userStories-sk.json":[26959,26959],"./userStories-sl.json":[73686,73686],"./userStories-uk.json":[73581,73581],"./webinar-bg.json":[24520,24520],"./webinar-cs.json":[79877,79877],"./webinar-en.json":[19996,19996],"./webinar-hu.json":[49316,49316],"./webinar-pl.json":[81123,81123],"./webinar-ro.json":[17392,17392],"./webinar-rs.json":[79028,79028],"./webinar-ru.json":[89026,89026],"./webinar-sk.json":[61949,61949],"./webinar-sl.json":[81728,81728],"./webinar-uk.json":[89567,89567],"./webinarTerms-bg.json":[83479,83479],"./webinarTerms-cs.json":[71698,71698],"./webinarTerms-en.json":[62827,62827],"./webinarTerms-hu.json":[2471,2471],"./webinarTerms-pl.json":[31720,31720],"./webinarTerms-ro.json":[28351,28351],"./webinarTerms-rs.json":[41171,41171],"./webinarTerms-ru.json":[65305,65305],"./webinarTerms-sk.json":[15626,15626],"./webinarTerms-sl.json":[86923,86923],"./webinarTerms-uk.json":[85504,85504]};function o(s){if(!e.o(t,s))return Promise.resolve().then(()=>{var n=Error("Cannot find module '"+s+"'");throw n.code="MODULE_NOT_FOUND",n});var n=t[s],o=n[0];return Promise.all(n.slice(1).map(e.e)).then(()=>e.t(o,19))}o.keys=()=>Object.keys(t),o.id=65512,s.exports=o},73254:(s,n,e)=>{"use strict";e.d(n,{A:()=>l});var t=e(26514),o=e(73367);e(75834);var a=e(2319),i=e(78740),r=e.n(i);let l=s=>{let{title:n,subtitle:e,rightContent:i,backLink:l,allowWrapRightContent:c,noSpaceBetween:p,noBottomBorder:j}=s;return(0,t.jsxs)("div",{className:(0,o.A)(r().topBar,c?r().allowWrapRightContent:null,p?r().noSpaceBetween:null,j?r().noBottomBorder:null),children:[(0,t.jsxs)("div",{className:r().leftContent,children:[l?(0,t.jsx)(a.A,{href:l}):null,(0,t.jsxs)("div",{children:[n?(0,t.jsx)("h1",{className:r().title,children:n}):null,e?(0,t.jsx)("div",{className:r().subtitle,children:e}):null]})]}),i||null]})}},75858:(s,n,e)=>{"use strict";e.d(n,{A:()=>l});var t=e(26514),o=e(75834),a=e(644),i=e(35554),r=e(24663);let l=s=>{let{children:n,namespace:l}=s,{locale:c,messages:p}=(0,a.A)(),j=(s=>{let n=(0,r.VE)(),[t,a]=(0,o.useState)({});return(0,o.useEffect)(()=>{let t=n.map(s=>s.code);Promise.all(t.map(async n=>e(65512)("./".concat(s,"-").concat(n,".json")))).then(s=>{a(Object.fromEntries(s.map((s,n)=>{let e=s.default;return[t[n],e]})))})},[s,n]),t})(l),h=(0,o.useMemo)(()=>{let s=j[c]||j.pl;return{...p,...s}},[c,p,j]);return 0==Object.keys(j).length?null:(0,t.jsx)(i.A,{locale:c,messages:h,children:(0,t.jsx)(t.Fragment,{children:n})})}},78740:s=>{s.exports={topBar:"styles_topBar__jWz19",noSpaceBetween:"styles_noSpaceBetween__LP6wr",noBottomBorder:"styles_noBottomBorder__QmR0f",allowWrapRightContent:"styles_allowWrapRightContent__eNgDe",leftContent:"styles_leftContent__uH1DM",rightContent:"styles_rightContent__TLmqE",title:"styles_title__khcOn",subtitle:"styles_subt
1itle__fRNAG",backBlock:"styles_backBlock__n7min",backImg:"styles_backImg__foMy7",backText:"styles_backText__wTzO1"}},80938:(s,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>l});var t=e(26514),o=e(75858),a=e(88099);e(75834);var i=e(3245),r=e(89356);let l=()=>((0,a.e)(),(0,t.jsx)(o.A,{namespace:"admin-panel",children:(0,t.jsx)(i.A,{activeSection:"",disableTwoFactorMessage:!0,children:(0,t.jsx)(r.A,{redirectLink:"/panel-admina"})})}))},86649:(s,n,e)=>{"use strict";e.d(n,{A:()=>r});var t=e(29977),o=e(75834),a=e(77575),i=e(35956);let r=s=>{let n=(0,a.R)().id,e=(0,t.IT)(i.NV,{variables:{id:null!=s?s:n}}),r=e.data,[l,c]=(0,o.useState)(null),p=(0,o.useCallback)(s=>{c(n=>({...n,...s}))},[]);return(0,o.useEffect)(()=>{void 0!==r&&c(r.getUser)},[r]),[l,p,e.refetch]}},88099:(s,n,e)=>{"use strict";e.d(n,{e:()=>r});var t=e(46225),o=e.n(t),a=e(75834),i=e(40975);let r=()=>{let s=(0,i.d4)(s=>s.auth.user);(0,a.useEffect)(()=>{(s=>{s&&!["ADMIN","THERAPYGUIDE"].includes(null==s?void 0:s.type)&&o().push("/404")})(s)},[s])}},89356:(s,n,e)=>{"use strict";e.d(n,{A:()=>m});var t=e(26514),o=e(28714),a=e(82056),i=e(75834),r=e(11),l=e(49834),c=e(46225),p=e.n(c),j=e(25793),h=e(76087),y=e(74041),u=e(11729),d=e(86649),b=e(73254);let g=new y.rY("AddMultiFactor"),m=s=>{let{redirectLink:n}=s,{enqueueSnackbar:e}=(0,j.dh)(),[c]=(0,d.A)(),[y,m]=(0,i.useState)(""),[v,k]=(0,i.useState)(""),[f,x]=(0,i.useState)(""),[S,A]=(0,i.useState)("");(0,i.useEffect)(()=>{c&&k(c.phoneNumber)},[c]);let w=async()=>{let s=g.extend("sendConfirmationSMS");try{s.log("creating verifier");let n=(0,l.xI)(u.h),e=new l.kT("submit-button-send-sms",{size:"invisible"},n);s.log("reauthenticating");let t=await (0,l.x9)(n,c.email,y);s.log("creating multiFactorSession");let o=await (0,l.VO)(t.user).getSession();s.log("creating phoneAuthProvider");let a=new l.Oe(n);s.log("calling verifyPhoneNumber with phone",v,JSON.stringify(v));let i=await a.verifyPhoneNumber({phoneNumber:v,session:o},e);s.log("received verification id"),x(i)}catch(n){e((0,t.jsx)(h.A,{id:"common-panel.AddMultiFactor.error",defaultMessage:"Error while adding 2FA"}),{variant:"error"}),s.error(n)}},N=async()=>{try{let s=l.Oe.credential(f,S),o=l.eQ.assertion(s),a=(0,l.xI)(u.h);await (0,l.VO)(a.currentUser).enroll(o),e((0,t.jsx)(h.A,{id:"common-panel.AddMultiFactor.success",defaultMessage:"2FA added"}),{variant:"success"}),p().push(n)}catch(s){e((0,t.jsx)(h.A,{id:"common-panel.AddMultiFactor.error",defaultMessage:"Error while adding 2FA"}),{variant:"error"}),g.error(s)}};return(0,t.jsxs)("div",{children:[(0,t.jsx)(b.A,{title:"Dodaj 2FA"}),f?(0,t.jsxs)(r.A,{spacing:2,children:[(0,t.jsx)(a.A,{label:"Kod weryfikacyjny",value:S,onChange:s=>A(s.target.value)}),(0,t.jsx)(o.A,{onClick:N,disabled:!S,children:(0,t.jsx)(h.A,{id:"common-panel.AddMultiFactor.continue",defaultMessage:"Continue"})})]}):(0,t.jsxs)(r.A,{spacing:2,children:[(0,t.jsx)(a.A,{label:"HasÅo",value:y,type:"password",onChange:s=>m(s.target.value)}),(0,t.jsx)(a.A,{label:"Numer telefonu",value:v,onChange:s=>k(s.target.value)}),(0,t.jsx)(o.A,{onClick:w,id:"submit-button-send-sms",disabled:!y||!v,variant:"outlined",children:(0,t.jsx)(h.A,{id:"common-panel.AddMultiFactor.continue",defaultMessage:"Continue"})})]})]})}}},s=>{s.O(0,[23347,85400,23909,61783,96418,13963,18814,74711,55115,24663,56330,36924,90636,46593,38792],()=>s(s.s=49916)),_N_E=s.O()}]);
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.