{"version":3,"file":"63525.46beeadcfb0731955ec1.js","mappings":"+FAAA,IAAIA,EAAM,CACT,iCAAkC,CACjC,MACA,MACA,MACA,MACA,OAED,uCAAwC,CACvC,MACA,MACA,MACA,OAED,qDAAsD,CACrD,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAED,2DAA4D,CAC3D,MACA,MACA,KACA,MACA,MACA,OAED,kDAAmD,CAClD,MACA,MACA,MACA,MACA,MACA,OAED,mDAAoD,CACnD,MACA,OAED,+CAAgD,CAC/C,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,IACA,MACA,MACA,MACA,MACA,OAED,yDAA0D,CACzD,MACA,MACA,OAED,6CAA8C,CAC7C,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAED,uDAAwD,CACvD,MACA,MACA,OAED,0DAA2D,CAC1D,KACA,MAED,2DAA4D,CAC3D,MACA,OAED,yDAA0D,CACzD,MACA,MACA,MACA,OAED,6CAA8C,CAC7C,MACA,MACA,MACA,OAED,sDAAuD,CACtD,MACA,OAED,gDAAiD,CAChD,MACA,MACA,MACA,MACA,OAED,oDAAqD,CACpD,MACA,MACA,MACA,OAED,gDAAiD,CAChD,MACA,MACA,MACA,MACA,MACA,MACA,OAED,0DAA2D,CAC1D,MACA,OAED,oDAAqD,CACpD,MACA,MACA,MACA,MACA,KACA,OAED,yDAA0D,CACzD,MACA,MACA,MACA,OAED,uDAAwD,CACvD,MACA,OAED,8CAA+C,CAC9C,KACA,MACA,MACA,MAED,8CAA+C,CAC9C,MACA,MACA,MACA,MACA,MACA,OAED,4DAA6D,CAC5D,MACA,MACA,KACA,MACA,MACA,OAED,mDAAoD,CACnD,MACA,OAED,uDAAwD,CACvD,MACA,OAED,8CAA+C,CAC9C,MACA,MACA,MACA,OAED,6DAA8D,CAC7D,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAED,yCAA0C,CACzC,MACA,MACA,MACA,MACA,MACA,OAED,uCAAwC,CACvC,MACA,MACA,MACA,MACA,OAED,+DAAgE,CAC/D,MACA,MACA,OAED,+CAAgD,CAC/C,MACA,MACA,OAED,yDAA0D,CACzD,MACA,MACA,KACA,MACA,OAED,8DAA+D,CAC9D,MACA,MACA,MACA,OAED,8DAA+D,CAC9D,MACA,MACA,MACA,MACA,MACA,KAED,oDAAqD,CACpD,MACA,MACA,MACA,OAED,2DAA4D,CAC3D,MACA,MACA,MACA,OAED,2DAA4D,CAC3D,MACA,MACA,MACA,OAED,gEAAiE,CAChE,MACA,MACA,MACA,MACA,OAED,gEAAiE,CAChE,KACA,MACA,MACA,MACA,OAED,wEAAyE,CACxE,MACA,MACA,OAED,sDAAuD,CACtD,MACA,MACA,OAED,kEAAmE,CAClE,MACA,MACA,MACA,OAED,8CAA+C,CAC9C,MACA,MACA,MACA,MACA,MACA,OAED,+CAAgD,CAC/C,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAED,wCAAyC,CACxC,MACA,MACA,MACA,MACA,OAED,wCAAyC,CACxC,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,IACA,MACA,MACA,MACA,MACA,OAED,uDAAwD,CACvD,MACA,OAED,gDAAiD,CAChD,KACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,IACA,MACA,MACA,MACA,MACA,MAED,kDAAmD,CAClD,MACA,MACA,MACA,MACA,OAED,iCAAkC,CACjC,MACA,MACA,MACA,MACA,MACA,KACA,MACA,MACA,MACA,MACA,OAED,8CAA+C,CAC9C,KACA,MACA,OAED,iEAAkE,CACjE,MACA,OAED,mEAAoE,CACnE,MACA,OAED,oEAAqE,CACpE,MACA,MACA,OAED,2DAA4D,CAC3D,MACA,OAED,mDAAoD,CACnD,MACA,MACA,MACA,OAED,6CAA8C,CAC7C,MACA,MACA,MACA,MACA,MACA,KACA,MACA,MACA,MACA,MACA,OAED,gCAAiC,CAChC,MACA,MACA,MACA,MACA,OAED,6CAA8C,CAC7C,MACA,MACA,MACA,MACA,MACA,MACA,MAED,mDAAoD,CACnD,MACA,OAED,kDAAmD,CAClD,KACA,MAED,yDAA0D,CACzD,MACA,MACA,MACA,MACA,OAED,wDAAyD,CACxD,MACA,MACA,MACA,OAED,yDAA0D,CACzD,MACA,MACA,MACA,MACA,OAED,0CAA2C,CAC1C,MACA,MACA,MACA,MACA,MACA,MACA,KACA,MACA,MACA,OAED,2CAA4C,CAC3C,MACA,MACA,MACA,MACA,KACA,MACA,OAED,+DAAgE,CAC/D,MACA,MACA,OAED,iDAAkD,CACjD,MACA,MACA,MACA,MACA,MACA,MACA,OAED,4CAA6C,CAC5C,KACA,MACA,OAED,kDAAmD,CAClD,MACA,OAED,wDAAyD,CACxD,MACA,MACA,OAED,mDAAoD,CACnD,MACA,MACA,MACA,MACA,OAED,8CAA+C,CAC9C,KACA,MACA,OAED,8CAA+C,CAC9C,IACA,MACA,OAED,6CAA8C,CAC7C,MACA,OAED,+CAAgD,CAC/C,KACA,MAED,wCAAyC,CACxC,MACA,OAED,6BAA8B,CAC7B,MACA,MACA,OAED,kCAAmC,CAClC,MACA,MACA,OAED,oCAAqC,CACpC,MACA,MACA,MAED,iDAAkD,CACjD,MACA,OAED,yDAA0D,CACzD,MACA,MACA,MACA,MACA,KACA,OAED,gCAAiC,CAChC,KACA,MACA,OAED,gDAAiD,CAChD,MACA,MACA,MACA,MACA,MACA,MACA,KACA,MACA,MACA,MACA,MACA,KACA,OAED,4DAA6D,CAC5D,MACA,OAED,8CAA+C,CAC9C,MACA,OAED,uDAAwD,CACvD,MACA,MACA,MACA,MACA,KACA,MACA,OAED,6DAA8D,CAC7D,MACA,MACA,MACA,OAED,mEAAoE,CACnE,MACA,MACA,MACA,OAED,8DAA+D,CAC9D,KACA,MAED,8CAA+C,CAC9C,MACA,OAED,gDAAiD,CAChD,MACA,OAED,mDAAoD,CACnD,MACA,OAED,uDAAwD,CACvD,MACA,OAED,qDAAsD,CACrD,GACA,IAED,qDAAsD,CACrD,MACA,MACA,OAED,0DAA2D,CAC1D,MACA,OAED,+CAAgD,CAC/C,MACA,OAED,+BAAgC,CAC/B,MACA,OAED,gDAAiD,CAChD,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAED,kCAAmC,CAClC,MACA,MACA,KACA,MACA,MACA,OAED,sCAAuC,CACtC,MACA,MACA,MACA,OAED,wDAAyD,CACxD,MACA,MACA,KACA,MACA,OAED,4DAA6D,CAC5D,MACA,OAED,kDAAmD,CAClD,MACA,MACA,MACA,MACA,KACA,MACA,KACA,MACA,MACA,MACA,OAED,8DAA+D,CAC9D,MACA,MACA,MACA,MACA,OAED,qEAAsE,CACrE,MACA,MACA,OAED,6CAA8C,CAC7C,MACA,MACA,MACA,OAED,2CAA4C,CAC3C,MACA,OAED,yDAA0D,CACzD,MACA,MACA,MACA,OAED,iFAAkF,CACjF,MACA,MACA,MACA,MACA,MACA,KACA,MACA,OAED,uEAAwE,CACvE,MACA,MACA,OAED,0BAA2B,CAC1B,MACA,OAED,2BAA4B,CAC3B,MACA,OAED,qCAAsC,CACrC,MACA,MACA,MACA,MACA,OAED,+CAAgD,CAC/C,MACA,OAED,qCAAsC,CACrC,MACA,MACA,MACA,MACA,MACA,OAED,6CAA8C,CAC7C,MACA,OAED,yDAA0D,CACzD,KACA,MAED,qDAAsD,CACrD,MACA,OAED,+CAAgD,CAC/C,MACA,OAED,uCAAwC,CACvC,MACA,MACA,MACA,MACA,MACA,OAED,sDAAuD,CACtD,MACA,OAED,iCAAkC,CACjC,MACA,MACA,QAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,WAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CACP,IAGD,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OAAON,QAAQQ,IAAIF,EAAIG,MAAM,G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G,IAEnCsU,EAAanK,IACxB,MAAQxQ,GAAIyQ,IAAkBC,EAAAA,EAAAA,YAAWkC,GACzC,OAAOpC,GAAaC,CAAa,EAGtB7K,EAAW4K,IACtB,MAAMxQ,EAAK2a,EAAWnK,GAChBI,EAAQC,IAEd,IAAK7Q,EAAI,MAAM,IAAIH,MAAM,4CAEzB,MAAO,CACLG,KACAqS,YAAazB,EAAMV,UAAUlQ,GAC7B2F,YAAaY,GAAUqK,EAAMT,OAAOnQ,EAAIuG,GACzC,C","sources":["webpack://platform/./app/components/ lazy ^\\.\\/.*\\/index\\.entry\\.jsx$ namespace object","webpack://platform/./app/assets/lib/react/components/fallback.jsx","webpack://platform/./app/assets/lib/react/components/entry_component.jsx","webpack://platform/./app/assets/lib/react/components/link_component_manager.jsx","webpack://platform/./app/assets/lib/react/components/observed_component.jsx","webpack://platform/./app/assets/lib/react/components/route_manager.jsx","webpack://platform/./app/assets/lib/react/components/component_manager.jsx","webpack://platform/./app/assets/lib/react/client.jsx","webpack://platform/./app/components/lib/error_boundary.jsx","webpack://platform/./app/components/lib/error_modal.jsx","webpack://platform/./app/components/lib/html_elements/button/index.css?3b35","webpack://platform/./app/components/lib/html_elements/button/index.jsx","webpack://platform/./app/components/lib/modal/model.js","webpack://platform/./app/components/lib/modal/hooks.jsx","webpack://platform/./app/components/lib/modal/index.css?c314","webpack://platform/./app/components/lib/modal/index.jsx","webpack://platform/./app/components/lib/sheet/transitions/auto.css?5b16","webpack://platform/./app/components/lib/sheet/transitions/bottom.css?6681","webpack://platform/./app/components/lib/sheet/transitions/left.css?ca74","webpack://platform/./app/components/lib/sheet/transitions/right.css?5c34","webpack://platform/./app/components/lib/sheet/index.jsx","webpack://platform/./app/components/lib/suspense/intersection.jsx","webpack://platform/./app/components/lib/suspense/index.jsx","webpack://platform/./app/assets/lib/constants.js.erb","webpack://platform/./app/components/lib/modal/footer.css?d31f","webpack://platform/./app/components/lib/sheet/index.css?697a","webpack://platform/./app/assets/lib/hooks/use_fetch.js","webpack://platform/./app/assets/lib/hooks/use_match_media.js","webpack://platform/./app/assets/lib/utils/fetch.js","webpack://platform/./app/assets/lib/utils/is_chunk_load_error.js","webpack://platform/./app/components/lib/sheet/model.js","webpack://platform/./app/components/lib/sheet/hooks.js"],"sourcesContent":["var map = {\n\t\"./account/news/index.entry.jsx\": [\n\t\t63700,\n\t\t31755,\n\t\t75035,\n\t\t42207,\n\t\t67112\n\t],\n\t\"./account/news_popup/index.entry.jsx\": [\n\t\t48341,\n\t\t45045,\n\t\t58207,\n\t\t48341\n\t],\n\t\"./account/therapist/accreditations/index.entry.jsx\": [\n\t\t12608,\n\t\t95058,\n\t\t31755,\n\t\t45045,\n\t\t58207,\n\t\t87400,\n\t\t36286,\n\t\t49620\n\t],\n\t\"./account/therapist/approaches_selection/index.entry.jsx\": [\n\t\t55378,\n\t\t95058,\n\t\t4306,\n\t\t88336,\n\t\t36286,\n\t\t55378\n\t],\n\t\"./account/therapist/assessments/index.entry.jsx\": [\n\t\t11964,\n\t\t95058,\n\t\t80963,\n\t\t86107,\n\t\t10182,\n\t\t67681\n\t],\n\t\"./account/therapist/build_widget/index.entry.jsx\": [\n\t\t12185,\n\t\t12185\n\t],\n\t\"./account/therapist/calendar/index.entry.jsx\": [\n\t\t45743,\n\t\t11354,\n\t\t95058,\n\t\t31755,\n\t\t45045,\n\t\t16521,\n\t\t75035,\n\t\t58207,\n\t\t42207,\n\t\t80963,\n\t\t69126,\n\t\t262,\n\t\t54584,\n\t\t36286,\n\t\t43271,\n\t\t95427,\n\t\t65709\n\t],\n\t\"./account/therapist/cancel_appointment/index.entry.jsx\": [\n\t\t78404,\n\t\t11354,\n\t\t78404\n\t],\n\t\"./account/therapist/client/index.entry.jsx\": [\n\t\t40606,\n\t\t95058,\n\t\t31755,\n\t\t45045,\n\t\t75035,\n\t\t42207,\n\t\t86107,\n\t\t36286,\n\t\t84182\n\t],\n\t\"./account/therapist/client_type_fees/index.entry.jsx\": [\n\t\t73618,\n\t\t11354,\n\t\t73618\n\t],\n\t\"./account/therapist/confirm_appointment/index.entry.jsx\": [\n\t\t9705,\n\t\t9705\n\t],\n\t\"./account/therapist/confirm_availability/index.entry.jsx\": [\n\t\t66237,\n\t\t66237\n\t],\n\t\"./account/therapist/confirm_complaints/index.entry.jsx\": [\n\t\t31602,\n\t\t11354,\n\t\t36286,\n\t\t31602\n\t],\n\t\"./account/therapist/emails/index.entry.jsx\": [\n\t\t57885,\n\t\t11354,\n\t\t23542,\n\t\t63775\n\t],\n\t\"./account/therapist/google_calendar/index.entry.jsx\": [\n\t\t76678,\n\t\t76678\n\t],\n\t\"./account/therapist/insurance/index.entry.jsx\": [\n\t\t65543,\n\t\t11354,\n\t\t95058,\n\t\t23542,\n\t\t10669\n\t],\n\t\"./account/therapist/languages_bio/index.entry.jsx\": [\n\t\t19225,\n\t\t11354,\n\t\t95058,\n\t\t42141\n\t],\n\t\"./account/therapist/locations/index.entry.jsx\": [\n\t\t92737,\n\t\t95058,\n\t\t99615,\n\t\t86107,\n\t\t87400,\n\t\t36286,\n\t\t92737\n\t],\n\t\"./account/therapist/min_advance_booking/index.entry.jsx\": [\n\t\t26109,\n\t\t26109\n\t],\n\t\"./account/therapist/phone_numbers/index.entry.jsx\": [\n\t\t19621,\n\t\t11354,\n\t\t95058,\n\t\t99615,\n\t\t1411,\n\t\t34159\n\t],\n\t\"./account/therapist/reduced_fee_opt_in/index.entry.jsx\": [\n\t\t12248,\n\t\t95058,\n\t\t36286,\n\t\t81696\n\t],\n\t\"./account/therapist/relationship_fee/index.entry.jsx\": [\n\t\t92501,\n\t\t92501\n\t],\n\t\"./account/therapist/sign_in/index.entry.jsx\": [\n\t\t7726,\n\t\t11354,\n\t\t36286,\n\t\t7726\n\t],\n\t\"./account/therapist/sign_up/index.entry.jsx\": [\n\t\t20678,\n\t\t11354,\n\t\t75035,\n\t\t42207,\n\t\t36286,\n\t\t20678\n\t],\n\t\"./account/therapist/specialisms_selection/index.entry.jsx\": [\n\t\t94991,\n\t\t95058,\n\t\t4306,\n\t\t88336,\n\t\t36286,\n\t\t94991\n\t],\n\t\"./account/therapist/title_select/index.entry.jsx\": [\n\t\t18386,\n\t\t18386\n\t],\n\t\"./account/therapist/tracking_consent/index.entry.jsx\": [\n\t\t22403,\n\t\t22403\n\t],\n\t\"./admin/appointments/refund/index.entry.jsx\": [\n\t\t25918,\n\t\t11354,\n\t\t16521,\n\t\t25918\n\t],\n\t\"./admin/booking/select_therapist_component/index.entry.jsx\": [\n\t\t44909,\n\t\t95058,\n\t\t31755,\n\t\t45045,\n\t\t80963,\n\t\t10102,\n\t\t77402,\n\t\t23841,\n\t\t95559\n\t],\n\t\"./admin/bulk_downloads/index.entry.jsx\": [\n\t\t47974,\n\t\t31755,\n\t\t45045,\n\t\t58207,\n\t\t69126,\n\t\t27582\n\t],\n\t\"./admin/client/merge/index.entry.jsx\": [\n\t\t46869,\n\t\t11354,\n\t\t95058,\n\t\t16521,\n\t\t46869\n\t],\n\t\"./admin/client/request_credit_card_component/index.entry.jsx\": [\n\t\t67689,\n\t\t36286,\n\t\t67689\n\t],\n\t\"./admin/custom_fee_component/index.entry.jsx\": [\n\t\t99946,\n\t\t11354,\n\t\t99946\n\t],\n\t\"./admin/organisations/configure_portal/index.entry.jsx\": [\n\t\t19814,\n\t\t11354,\n\t\t9021,\n\t\t23542,\n\t\t78556\n\t],\n\t\"./admin/organisations/invoice_settings/edit/index.entry.jsx\": [\n\t\t86425,\n\t\t11354,\n\t\t75035,\n\t\t86425\n\t],\n\t\"./admin/organisations/invoice_settings/show/index.entry.jsx\": [\n\t\t34887,\n\t\t75035,\n\t\t42207,\n\t\t36286,\n\t\t23542,\n\t\t617\n\t],\n\t\"./admin/organisations/members/add/index.entry.jsx\": [\n\t\t26921,\n\t\t11354,\n\t\t36286,\n\t\t26921\n\t],\n\t\"./admin/organisations/payg_settings/edit/index.entry.jsx\": [\n\t\t64923,\n\t\t11354,\n\t\t75035,\n\t\t64923\n\t],\n\t\"./admin/organisations/payg_settings/show/index.entry.jsx\": [\n\t\t30143,\n\t\t75035,\n\t\t42207,\n\t\t30143\n\t],\n\t\"./admin/organisations/therapist_settings/edit/index.entry.jsx\": [\n\t\t63630,\n\t\t11354,\n\t\t95058,\n\t\t75035,\n\t\t81488\n\t],\n\t\"./admin/organisations/therapist_settings/show/index.entry.jsx\": [\n\t\t4126,\n\t\t95058,\n\t\t75035,\n\t\t42207,\n\t\t84394\n\t],\n\t\"./admin/recurring_appointments/context_menu_component/index.entry.jsx\": [\n\t\t95341,\n\t\t36286,\n\t\t95341\n\t],\n\t\"./admin/relationship/assign_voucher/index.entry.jsx\": [\n\t\t55324,\n\t\t36286,\n\t\t55324\n\t],\n\t\"./admin/relationship/edit_client_type_component/index.entry.jsx\": [\n\t\t25078,\n\t\t11354,\n\t\t95058,\n\t\t57170\n\t],\n\t\"./admin/session_date_filter/index.entry.jsx\": [\n\t\t30851,\n\t\t31755,\n\t\t45045,\n\t\t58207,\n\t\t69126,\n\t\t31571\n\t],\n\t\"./admin/therapists_component/index.entry.jsx\": [\n\t\t56518,\n\t\t95058,\n\t\t31755,\n\t\t45045,\n\t\t16521,\n\t\t80963,\n\t\t10102,\n\t\t77402,\n\t\t23841,\n\t\t15688\n\t],\n\t\"./admin/working_times/index.entry.jsx\": [\n\t\t26816,\n\t\t95058,\n\t\t31755,\n\t\t88336,\n\t\t96735\n\t],\n\t\"./appointments/create/index.entry.jsx\": [\n\t\t47843,\n\t\t11354,\n\t\t95058,\n\t\t31755,\n\t\t45045,\n\t\t16521,\n\t\t75035,\n\t\t58207,\n\t\t42207,\n\t\t69126,\n\t\t76750,\n\t\t80944,\n\t\t262,\n\t\t54584,\n\t\t43271,\n\t\t95427,\n\t\t68079,\n\t\t47843\n\t],\n\t\"./appointments/edit_button_component/index.entry.jsx\": [\n\t\t78462,\n\t\t78462\n\t],\n\t\"./appointments/edit_component/index.entry.jsx\": [\n\t\t8493,\n\t\t11354,\n\t\t95058,\n\t\t31755,\n\t\t45045,\n\t\t16521,\n\t\t75035,\n\t\t58207,\n\t\t42207,\n\t\t69126,\n\t\t76750,\n\t\t80944,\n\t\t262,\n\t\t54584,\n\t\t43271,\n\t\t95427,\n\t\t68079,\n\t\t8493\n\t],\n\t\"./appointments/offers_component/index.entry.jsx\": [\n\t\t81025,\n\t\t31755,\n\t\t76750,\n\t\t36286,\n\t\t41553\n\t],\n\t\"./article/edit/index.entry.jsx\": [\n\t\t32402,\n\t\t11354,\n\t\t95058,\n\t\t31755,\n\t\t16521,\n\t\t4306,\n\t\t57388,\n\t\t48023,\n\t\t36286,\n\t\t65783,\n\t\t77482\n\t],\n\t\"./assessment/edit_component/index.entry.jsx\": [\n\t\t2128,\n\t\t95058,\n\t\t63318\n\t],\n\t\"./attributes/field_test/events/input_component/index.entry.jsx\": [\n\t\t13124,\n\t\t13124\n\t],\n\t\"./attributes/field_test/variants/input_component/index.entry.jsx\": [\n\t\t99329,\n\t\t99329\n\t],\n\t\"./attributes/organisation/domains/input_component/index.entry.jsx\": [\n\t\t85777,\n\t\t21240,\n\t\t85777\n\t],\n\t\"./attributes/specialisms/input_component/index.entry.jsx\": [\n\t\t50684,\n\t\t50684\n\t],\n\t\"./authenticate_payment_component/index.entry.jsx\": [\n\t\t48310,\n\t\t16521,\n\t\t36286,\n\t\t48310\n\t],\n\t\"./blog_post/edit_component/index.entry.jsx\": [\n\t\t47797,\n\t\t11354,\n\t\t95058,\n\t\t31755,\n\t\t16521,\n\t\t4306,\n\t\t57388,\n\t\t48023,\n\t\t36286,\n\t\t65783,\n\t\t62281\n\t],\n\t\"./booking/new/index.entry.jsx\": [\n\t\t28246,\n\t\t95058,\n\t\t31755,\n\t\t16521,\n\t\t32734\n\t],\n\t\"./booking/picker_component/index.entry.jsx\": [\n\t\t68444,\n\t\t11354,\n\t\t95058,\n\t\t31755,\n\t\t16521,\n\t\t33105,\n\t\t7638\n\t],\n\t\"./booking/picker_sheet_component/index.entry.jsx\": [\n\t\t58420,\n\t\t58420\n\t],\n\t\"./booking_basket_voucher_banner/index.entry.jsx\": [\n\t\t9189,\n\t\t9189\n\t],\n\t\"./client/appointment_message_component/index.entry.jsx\": [\n\t\t33774,\n\t\t11354,\n\t\t86107,\n\t\t36286,\n\t\t33774\n\t],\n\t\"./client/appointment_offers_component/index.entry.jsx\": [\n\t\t95373,\n\t\t86107,\n\t\t36286,\n\t\t95373\n\t],\n\t\"./client/appointment_payment_component/index.entry.jsx\": [\n\t\t64694,\n\t\t86107,\n\t\t79096,\n\t\t36286,\n\t\t64694\n\t],\n\t\"./client/auth_component/index.entry.jsx\": [\n\t\t92804,\n\t\t11354,\n\t\t95058,\n\t\t75035,\n\t\t42207,\n\t\t99615,\n\t\t1411,\n\t\t56255,\n\t\t67931,\n\t\t64126\n\t],\n\t\"./client/merge_component/index.entry.jsx\": [\n\t\t58942,\n\t\t11354,\n\t\t95058,\n\t\t99615,\n\t\t1411,\n\t\t56255,\n\t\t44746\n\t],\n\t\"./client/progress_assessment_chart_component/index.entry.jsx\": [\n\t\t13217,\n\t\t77291,\n\t\t13217\n\t],\n\t\"./client_dashboard/assessments/index.entry.jsx\": [\n\t\t95429,\n\t\t95058,\n\t\t80963,\n\t\t86107,\n\t\t36286,\n\t\t10182,\n\t\t68124\n\t],\n\t\"./client_reviews_carousel/index.entry.jsx\": [\n\t\t2650,\n\t\t31755,\n\t\t44414\n\t],\n\t\"./client_type_display_component/index.entry.jsx\": [\n\t\t20917,\n\t\t20917\n\t],\n\t\"./content/client_auth_email_component/index.entry.jsx\": [\n\t\t89843,\n\t\t11354,\n\t\t89843\n\t],\n\t\"./content/contact_form_component/index.entry.jsx\": [\n\t\t50824,\n\t\t11354,\n\t\t95058,\n\t\t91715,\n\t\t79857\n\t],\n\t\"./content/publish_component/index.entry.jsx\": [\n\t\t6986,\n\t\t31755,\n\t\t88868\n\t],\n\t\"./content/reviews_component/index.entry.jsx\": [\n\t\t167,\n\t\t31755,\n\t\t50495\n\t],\n\t\"./content/search_component/index.entry.jsx\": [\n\t\t26119,\n\t\t26119\n\t],\n\t\"./content/side_bar_component/index.entry.jsx\": [\n\t\t3447,\n\t\t3447\n\t],\n\t\"./copy_text_component/index.entry.jsx\": [\n\t\t28996,\n\t\t28996\n\t],\n\t\"./dropdown/index.entry.jsx\": [\n\t\t69708,\n\t\t45045,\n\t\t69708\n\t],\n\t\"./dropdown_menu/index.entry.jsx\": [\n\t\t22720,\n\t\t65325,\n\t\t22720\n\t],\n\t\"./flash_component/index.entry.jsx\": [\n\t\t28220,\n\t\t95058,\n\t\t2892\n\t],\n\t\"./form_controls/date_component/index.entry.jsx\": [\n\t\t28208,\n\t\t28208\n\t],\n\t\"./form_controls/phone_number_component/index.entry.jsx\": [\n\t\t17967,\n\t\t11354,\n\t\t95058,\n\t\t99615,\n\t\t1411,\n\t\t37429\n\t],\n\t\"./free_search/index.entry.jsx\": [\n\t\t8189,\n\t\t95058,\n\t\t68575\n\t],\n\t\"./landing_page/edit_component/index.entry.jsx\": [\n\t\t74203,\n\t\t11354,\n\t\t95058,\n\t\t31755,\n\t\t16521,\n\t\t80963,\n\t\t4306,\n\t\t57388,\n\t\t48023,\n\t\t36286,\n\t\t65783,\n\t\t2637,\n\t\t20100\n\t],\n\t\"./lib/html_elements/radio/preview/default/index.entry.jsx\": [\n\t\t92012,\n\t\t92012\n\t],\n\t\"./lib/modal/preview/default/index.entry.jsx\": [\n\t\t95438,\n\t\t95438\n\t],\n\t\"./lib/phone_or_email/preview/default/index.entry.jsx\": [\n\t\t97448,\n\t\t11354,\n\t\t95058,\n\t\t99615,\n\t\t1411,\n\t\t56255,\n\t\t18448\n\t],\n\t\"./lib/selectables/datetime/preview/default/index.entry.jsx\": [\n\t\t38040,\n\t\t31755,\n\t\t31269,\n\t\t38040\n\t],\n\t\"./lib/selectables/datetime/preview/with_end_time/index.entry.jsx\": [\n\t\t35241,\n\t\t31755,\n\t\t31269,\n\t\t35241\n\t],\n\t\"./lib/selectables/therapist/preview/default/index.entry.jsx\": [\n\t\t1109,\n\t\t1109\n\t],\n\t\"./lib/sheet/preview/default/index.entry.jsx\": [\n\t\t46252,\n\t\t46252\n\t],\n\t\"./lib/sheet/preview/inception/index.entry.jsx\": [\n\t\t25694,\n\t\t25694\n\t],\n\t\"./lib/smart_select/preview/async/index.entry.jsx\": [\n\t\t87108,\n\t\t87108\n\t],\n\t\"./lib/smart_select/preview/creatable/index.entry.jsx\": [\n\t\t84819,\n\t\t84819\n\t],\n\t\"./lib/smart_select/preview/default/index.entry.jsx\": [\n\t\t15,\n\t\t15\n\t],\n\t\"./lib/smart_select/preview/grouped/index.entry.jsx\": [\n\t\t38334,\n\t\t95058,\n\t\t44714\n\t],\n\t\"./lib/smart_select/preview/multi_select/index.entry.jsx\": [\n\t\t38142,\n\t\t38142\n\t],\n\t\"./lib/switch/preview/default/index.entry.jsx\": [\n\t\t93413,\n\t\t93413\n\t],\n\t\"./navigation/index.entry.jsx\": [\n\t\t76555,\n\t\t76555\n\t],\n\t\"./news_article/edit_component/index.entry.jsx\": [\n\t\t21066,\n\t\t11354,\n\t\t95058,\n\t\t31755,\n\t\t16521,\n\t\t57388,\n\t\t67628,\n\t\t36286,\n\t\t65783,\n\t\t21066\n\t],\n\t\"./notifications/index.entry.jsx\": [\n\t\t89997,\n\t\t31755,\n\t\t2336,\n\t\t19940,\n\t\t23542,\n\t\t89997\n\t],\n\t\"./organisation/auth/index.entry.jsx\": [\n\t\t71592,\n\t\t11354,\n\t\t23542,\n\t\t60324\n\t],\n\t\"./organisation/content/grid_component/index.entry.jsx\": [\n\t\t71898,\n\t\t80963,\n\t\t2336,\n\t\t45705,\n\t\t71898\n\t],\n\t\"./organisation/content/uploader_component/index.entry.jsx\": [\n\t\t99035,\n\t\t99035\n\t],\n\t\"./organisation/create_component/index.entry.jsx\": [\n\t\t80595,\n\t\t11354,\n\t\t95058,\n\t\t99615,\n\t\t1411,\n\t\t65325,\n\t\t9021,\n\t\t51932,\n\t\t36286,\n\t\t23542,\n\t\t98331\n\t],\n\t\"./organisation/payment_authorisation/create/index.entry.jsx\": [\n\t\t41776,\n\t\t11354,\n\t\t79096,\n\t\t36286,\n\t\t41776\n\t],\n\t\"./organisation/payment_authorisation_invite/create/index.entry.jsx\": [\n\t\t55815,\n\t\t36286,\n\t\t55815\n\t],\n\t\"./payment_method_component/index.entry.jsx\": [\n\t\t25267,\n\t\t79096,\n\t\t36286,\n\t\t25267\n\t],\n\t\"./rating_input_component/index.entry.jsx\": [\n\t\t12037,\n\t\t12037\n\t],\n\t\"./recurring_appointments/add_component/index.entry.jsx\": [\n\t\t74168,\n\t\t31755,\n\t\t36286,\n\t\t22698\n\t],\n\t\"./relationships/migration/first_party_to_third_party_component/index.entry.jsx\": [\n\t\t70333,\n\t\t11354,\n\t\t95058,\n\t\t16521,\n\t\t99615,\n\t\t1411,\n\t\t56255,\n\t\t50081\n\t],\n\t\"./relationships/migration/individual_adult_to_couple/index.entry.jsx\": [\n\t\t12503,\n\t\t11354,\n\t\t12503\n\t],\n\t\"./sheet/index.entry.jsx\": [\n\t\t13786,\n\t\t13786\n\t],\n\t\"./switch/index.entry.jsx\": [\n\t\t14822,\n\t\t14822\n\t],\n\t\"./therapist/badges/index.entry.jsx\": [\n\t\t44523,\n\t\t45045,\n\t\t58207,\n\t\t23542,\n\t\t50517\n\t],\n\t\"./therapist_reviews_carousel/index.entry.jsx\": [\n\t\t41818,\n\t\t41818\n\t],\n\t\"./therapist_search/index.entry.jsx\": [\n\t\t87763,\n\t\t95058,\n\t\t16521,\n\t\t80963,\n\t\t10102,\n\t\t87763\n\t],\n\t\"./therapists/bio_component/index.entry.jsx\": [\n\t\t61580,\n\t\t61580\n\t],\n\t\"./therapists/bookmark_button_component/index.entry.jsx\": [\n\t\t2196,\n\t\t2196\n\t],\n\t\"./therapists/bookmarks_icon_status/index.entry.jsx\": [\n\t\t86768,\n\t\t86768\n\t],\n\t\"./therapists/bookmarks_sheet/index.entry.jsx\": [\n\t\t91905,\n\t\t91905\n\t],\n\t\"./therapists/reviews/index.entry.jsx\": [\n\t\t68217,\n\t\t31755,\n\t\t75035,\n\t\t42207,\n\t\t12940,\n\t\t21736\n\t],\n\t\"./therapists/search_sheet_component/index.entry.jsx\": [\n\t\t96134,\n\t\t96134\n\t],\n\t\"./verification/index.entry.jsx\": [\n\t\t32978,\n\t\t11354,\n\t\t32978\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 85188;\nmodule.exports = webpackAsyncContext;","/* eslint-disable react/prop-types */\n\nimport { useEffect } from 'react'\n\nconst Fallback = ({ contentLoader }) => {\n  useEffect(() => {\n    contentLoader && contentLoader.remove()\n  }, []) // eslint-disable-line react-hooks/exhaustive-deps\n\n  if (!contentLoader) return null\n\n  return (\n    <div style={{ height: '100%' }} dangerouslySetInnerHTML={{ __html: contentLoader.outerHTML }} />\n  )\n}\n\nexport default Fallback\n","/* global process */\n\nimport { createElement, useEffect } from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\n\nimport useMatchMedia from 'assets/lib/hooks/use_match_media'\nimport Suspense from 'components/lib/suspense'\nimport Fallback from './fallback'\n\nconst isDev = process.env.NODE_ENV === 'development'\n\nconst EntryComponent = ({ domElement, componentPath, ...comp }) => {\n  const matchedMedia = useMatchMedia(comp.props.onlyDevice)\n  const contentLoader =\n    (comp.contentLoader || domElement.hasChildNodes()) && domElement.firstElementChild\n\n  useEffect(() => {\n    if (isDev && (comp.props.onlyDevice ? matchedMedia : true)) {\n      console.groupCollapsed('[REACT] Mounted %o', componentPath)\n      console.log(comp)\n      console.groupEnd()\n    }\n  }, []) // eslint-disable-line react-hooks/exhaustive-deps\n\n  // Do not render if `onlyDevice` prop defined and is not matched.\n  if (comp.props.onlyDevice && !matchedMedia) return null\n\n  return createPortal(\n    <Suspense fallback={<Fallback contentLoader={contentLoader} />}>\n      {createElement(comp.component, comp.props)}\n    </Suspense>,\n    domElement\n  )\n}\n\nEntryComponent.propTypes = {\n  componentPath: PropTypes.any,\n  domElement: PropTypes.any\n}\n\nexport default EntryComponent\n","/* global process */\n\nimport { createElement, lazy, useCallback, useEffect, useState } from 'react'\nimport { camelizeKeys } from 'humps'\n\nimport Suspense from 'components/lib/suspense'\n\nconst pageLoader = document.querySelector('#pageLoader')\nconst isDev = process.env.NODE_ENV === 'development'\n\n// Captures clicks on component links (`A` tags with href starting with `/components/`) and handles\n// component loading. Allowing you to load, and mount a component on demand.\nconst LinkComponentManager = () => {\n  const [components, setComponents] = useState([])\n  const clickListener = useCallback(event => {\n    let ele = event.target\n\n    if (ele.nodeName !== 'A') {\n      ele = ele.closest('a')\n    }\n\n    if (ele?.nodeName === 'A') {\n      const href = ele.attributes.href?.value\n\n      // Bail if link is not a component loader.\n      if (!href || !href.startsWith('/components/')) return\n\n      event.preventDefault()\n\n      let componentPath = href.replace(/^\\/components\\//, '')\n      if (href.endsWith('/component')) {\n        componentPath = componentPath.replace(/\\/component$/, '')\n      }\n\n      setComponents(state => {\n        if (state.some(c => c.componentPath === componentPath && c.element === ele)) return state\n\n        const props = camelizeKeys(ele.dataset.props ? JSON.parse(ele.dataset.props) : {})\n\n        if (isDev) {\n          console.groupCollapsed(\n            '[REACT:link] Mounted on click %o at %o',\n            componentPath,\n            stringifyEl(ele)\n          )\n          console.log({ props, element: ele })\n          console.groupEnd()\n        }\n\n        return state.concat([\n          {\n            component: lazy(() => import(`components/${componentPath}/index.entry.jsx`)),\n            element: ele,\n            componentPath,\n            props\n          }\n        ])\n      })\n    }\n  }, [])\n\n  // Unmount the component after it's closed.\n  const onUnmount = useCallback((componentPath, element) => {\n    isDev && console.debug('[REACT:link] Unmounted %o at %o', componentPath, stringifyEl(element))\n\n    setComponents(s => s.filter(c => c.componentPath !== componentPath && c.element !== element))\n  }, [])\n\n  useEffect(() => {\n    document.body.addEventListener('click', clickListener)\n\n    return () => {\n      document.body.removeEventListener('click', clickListener)\n    }\n  }, [clickListener])\n\n  return (\n    <Suspense fallback={<SuspenseFallback />}>\n      {components.map(({ component, element, componentPath, props }, i) =>\n        createElement(component, {\n          ...props,\n          element,\n          key: i,\n          onUnmount: () => onUnmount(componentPath, element)\n        })\n      )}\n    </Suspense>\n  )\n}\n\nconst SuspenseFallback = () => {\n  useEffect(() => {\n    pageLoader.style.display = 'block'\n    return () => void (pageLoader.style.display = 'none')\n  }, [])\n\n  return <></>\n}\n\nfunction stringifyEl(el, truncate = 50) {\n  const outerHTML = el.outerHTML\n  let ret = outerHTML\n  ret = ret.slice(0, Math.max(0, truncate))\n\n  // If we've truncated, add an elipsis.\n  if (outerHTML.length > truncate) {\n    ret += '...'\n  }\n\n  return ret\n}\n\nexport default LinkComponentManager\n","/* eslint-disable react/prop-types */\n\nimport { useEffect, useMemo, useState } from 'react'\n\nimport EntryComponent from './entry_component'\n\nconst ObservedComponent = ({ domElement, componentPath, ...comp }) => {\n  const [isVisible, setIsVisible] = useState(false)\n  const observer = useMemo(() => {\n    return new IntersectionObserver(entries => {\n      entries.forEach(entry => {\n        !isVisible && entry.isIntersecting && setIsVisible(true)\n      })\n    })\n  }, [isVisible])\n\n  useEffect(() => {\n    if (isVisible) {\n      observer.unobserve(domElement)\n      return\n    }\n\n    observer.observe(domElement)\n\n    return () => observer.unobserve(domElement)\n  }, [domElement, isVisible, observer])\n\n  if (!isVisible) return null\n\n  return <EntryComponent {...{ domElement, componentPath }} {...comp} />\n}\n\nexport default ObservedComponent\n","/* global process */\n\nimport { lazy, useCallback, useEffect, useRef, useState } from 'react'\nimport history from 'history/hash'\n\nimport Sheet from 'components/lib/sheet'\nimport { useSheet } from 'components/lib/sheet/hooks'\n\nconst isDev = process.env.NODE_ENV === 'development'\n\nfunction debug(msg, ...params) {\n  if (!isDev) return\n\n  console.groupCollapsed(`[ROUTE] ${msg}`, ...params.slice(0, -1))\n  console.info(params.at(-1))\n  console.groupEnd()\n}\n\n// Handle route (hash page history) components.\n//\n// Components that react to the page's hash history (eg. \"#/edit\"), usually to load when the page\n// history changes. Each component is loaded within a Sheet.\nconst RouteManager = () => {\n  const previousPathRef = useRef(history.location.pathname)\n  const [components, setComponents] = useState([])\n\n  const addComponent = useCallback(\n    name => {\n      !components.includes(name) && setComponents([...components, name])\n    },\n    [components]\n  )\n\n  const onExit = useCallback(\n    component => {\n      const route = window.reactComponentRoutes?.[history.location.pathname]\n\n      // If we still have a matching route, the sheet will have been manually closed, so change the\n      // history here.\n      route && history.push({ pathname: '/' })\n\n      // Remove the component to allow it to be unmounted.\n      components.includes(component) && setComponents(components.filter(x => x !== component))\n    },\n    [components]\n  )\n\n  // We only manage the components array here. The opening/closing of each component is handled by\n  // the Sheeted component below.\n  useEffect(() => {\n    const route = window.reactComponentRoutes?.[history.location.pathname]\n\n    // Handle initial page.\n    if (route && history.location.pathname !== '/') {\n      debug('%o (initial)', history.location.pathname, { route })\n\n      addComponent(route)\n    }\n\n    // Listen for history changes.\n    return history.listen(({ location }) => {\n      const route = window.reactComponentRoutes?.[location.pathname]\n\n      if (route && previousPathRef.current !== location.pathname) {\n        debug('%o to %o', previousPathRef.current, location.pathname, { route })\n\n        addComponent(route)\n      }\n\n      // Update previous path\n      previousPathRef.current = location.pathname\n    })\n  }, []) // eslint-disable-line react-hooks/exhaustive-deps\n\n  return components.map((component, i) => <Sheeted key={i} component={component} onExit={onExit} />)\n}\n\n// eslint-disable-next-line react/prop-types\nconst Sheeted = ({ component, onExit }) => {\n  const { id, toggleSheet } = useSheet(component)\n  const Component = lazy(() => import(`components/${component}/index.entry.jsx`))\n\n  useEffect(() => {\n    // The sheet requires its own listener, so it can open/close the sheet correctly.\n    return history.listen(({ location }) => {\n      const route = window.reactComponentRoutes?.[location.pathname]\n\n      debug('Sheet %o', location.pathname, { route })\n      toggleSheet(route !== undefined)\n    })\n  }, []) // eslint-disable-line react-hooks/exhaustive-deps\n\n  return (\n    <Sheet id={id} isOpen onExit={() => onExit(component)}>\n      <Component />\n    </Sheet>\n  )\n}\n\nexport default RouteManager\n","/* global process */\n\nimport { useEffect } from 'react'\nimport { Toaster } from 'react-hot-toast'\nimport { Intercom, LiveChatLoaderProvider, useChat } from 'react-live-chat-loader'\nimport PropTypes from 'prop-types'\nimport exact from 'prop-types-exact'\nimport { useIbiza } from 'ibiza'\n\nimport ErrorBoundary from 'components/lib/error_boundary'\nimport ErrorModal from 'components/lib/error_modal'\nimport EntryComponent from './entry_component'\nimport LinkComponentManager from './link_component_manager'\nimport ObservedComponent from './observed_component'\nimport RouteManager from './route_manager'\n\nconst enableIntercom =\n  !location.hostname.startsWith('admin.') &&\n  process.env.NODE_ENV !== 'development' &&\n  process.env.INTERCOM_APP_ID !== ''\n\nconst ComponentManager = ({ components }) => {\n  return (\n    <ErrorBoundary>\n      <FetchErrorModal />\n      <Toaster\n        toastOptions={{\n          duration: 5000,\n          success: {\n            style: {\n              fontSize: '13px',\n              borderRadius: '4px',\n              color: 'var(--green5)',\n              backgroundColor: 'var(--green1)'\n            }\n          },\n          error: {\n            duration: 10_000,\n            style: {\n              fontSize: '13px',\n              borderRadius: '4px',\n              color: 'var(--red)',\n              backgroundColor: 'var(--red0)'\n            }\n          }\n        }}\n      />\n\n      <RouteManager />\n      <LinkComponentManager />\n\n      {components.map((comp, key) =>\n        comp.renderImmediately ? (\n          <EntryComponent key={key} {...comp} />\n        ) : (\n          <ObservedComponent key={key} {...comp} />\n        )\n      )}\n\n      {enableIntercom && (\n        <LiveChatLoaderProvider\n          providerKey={process.env.INTERCOM_APP_ID}\n          provider=\"intercom\"\n          beforeInit={window.beforeIntercomInit}\n          onReady={window.onIntercomReady}\n        >\n          <IntercomWidget />\n        </LiveChatLoaderProvider>\n      )}\n    </ErrorBoundary>\n  )\n}\n\nconst IntercomWidget = () => {\n  const [state, loadChat] = useChat({ loadWhenIdle: true })\n\n  useEffect(() => {\n    if (window.intercomSettings?.hide_default_launcher || state !== 'complete') {\n      loadChat({ open: false })\n    }\n  }, []) // eslint-disable-line react-hooks/exhaustive-deps\n\n  if (window.intercomSettings?.hide_default_launcher || state === 'complete') return null\n\n  return <Intercom color=\"var(--primary-color)\" />\n}\n\nconst FetchErrorModal = () => {\n  const { fetchError } = useIbiza()\n\n  return fetchError ? <ErrorModal {...fetchError} /> : null\n}\n\nComponentManager.propTypes = exact({\n  components: PropTypes.array.isRequired\n})\n\nexport default ComponentManager\n","/* global process */\n\nimport { lazy } from 'react'\nimport { createRoot } from 'react-dom/client'\nimport {\n  browserTracingIntegration,\n  captureMessage,\n  init,\n  replayIntegration,\n  setUser\n} from '@sentry/react'\nimport { store } from 'ibiza'\n\nimport { HTP_ENV_FULL } from 'assets/lib/constants'\nimport fetch, { FetchError } from 'assets/lib/utils/fetch'\nimport isChunkLoadError from 'assets/lib/utils/is_chunk_load_error'\nimport ComponentManager from './components/component_manager.jsx'\n\nconst isDev = process.env.NODE_ENV === 'development'\n\nif (process.env.SENTRY_DSN) {\n  init({\n    dsn: process.env.SENTRY_DSN,\n    integrations: [\n      browserTracingIntegration(),\n      replayIntegration({\n        workerUrl: '/sentry_replay_worker.js'\n      })\n    ],\n    release: process.env.HEROKU_SLUG_COMMIT,\n    environment: HTP_ENV_FULL,\n\n    replaysSessionSampleRate: 0,\n    replaysOnErrorSampleRate: 1,\n\n    tracesSampler: () => {\n      return HTP_ENV_FULL === 'production' ? 0.2 : false\n    },\n\n    beforeSend: (event, hints) => {\n      const { originalException } = hints\n\n      if (originalException) {\n        if (isChunkLoadError(originalException)) return null\n        if (\n          originalException instanceof FetchError &&\n          originalException.isHandled &&\n          event?.exception?.values?.length > 0 &&\n          event.exception.values[0].mechanism !== undefined\n        ) {\n          event.exception.values[0].mechanism.handled = true\n        }\n      }\n\n      return event\n    },\n\n    denyUrls: [/intercomcdn\\.com/, /smartlook\\.com/],\n\n    ignoreErrors: [\n      'TypeError: Illegal invocation',\n\n      // See https://forum.sentry.io/t/unhandledrejection-non-error-promise-rejection-captured-with-value/14062/13\n      'Non-Error promise rejection captured'\n\n      // 'TypeError: Failed to fetch',\n      // 'TypeError: Cancelled',\n      // 'TypeError: NetworkError when attempting to fetch resource.',\n      // 'AbortError: The operation was aborted.'\n    ]\n  })\n  const userData = {}\n  const fromMetaData = (userKey, metaKey) => {\n    const ele = document.getElementsByName(`htp:${metaKey}`)[0]\n    if (ele) {\n      userData[userKey] = ele.getAttribute('content')\n    }\n  }\n  fromMetaData('booking_basket_id', 'booking_basket_id')\n  fromMetaData('id', 'user_id')\n  fromMetaData('email', 'user_email')\n  fromMetaData('type', 'user_type')\n  Object.keys(userData).length > 0 && setUser(userData)\n}\n\nstore.debug = isDev\nstore.fetchFn = (res, opts) => {\n  // Do not let fetch handle errors. Instead, let our error boundaries handle it.\n  return fetch(res, { handleError: false, isCritical: true, ...opts }).json()\n}\n\ndocument.addEventListener('DOMContentLoaded', () => {\n  // Lazy components.\n  //\n  // Lazy load non-react components using intersection observer. When coming into view, the\n  // component HTML is fetched and rendered.\n  document.querySelectorAll('.js__lazyComponent').forEach(ele => {\n    const observer = new IntersectionObserver(\n      entries => {\n        entries.forEach(entry => {\n          if (entry.isIntersecting) {\n            const data = JSON.parse(ele.getAttribute('data'))\n\n            // Fetches the component as HTML, and replace the intersecting element with the returned\n            // component HTML.\n            fetch(`/components/${data.componentPath}`, {\n              handleError: false, // don't show error popup\n              searchParams: { attributes: data.attributes },\n              headers: {\n                Accept: 'text/html',\n                'Content-Type': 'text/html'\n              }\n            })\n              .text()\n              .then(text => {\n                ele.outerHTML = text\n\n                if (isDev) {\n                  console.groupCollapsed('[LAZY] Rendered %o', data.componentPath)\n                  console.log(JSON.parse(data.attributes))\n                  console.groupEnd()\n                }\n              })\n              .catch(() => {\n                // fail silently, but still report to Sentry.\n                captureMessage('Lazy component load failed', 'warning')\n              })\n          }\n        })\n      },\n      { rootMargin: '100px' }\n    )\n    observer.observe(ele)\n  })\n\n  // React components\n  // ================\n\n  const rootEle = document.createElement('div')\n  document.body.append(rootEle) // eslint-disable-line unicorn/prefer-node-append\n  const root = createRoot(rootEle)\n\n  // Find our components to load.\n  const components = Array.from(document.querySelectorAll('.js__reactComponent'), domElement => {\n    const data = JSON.parse(domElement.getAttribute('data'))\n\n    return {\n      component: lazy(() => import(`components/${data.componentPath}/index.entry.jsx`)),\n      domElement,\n      ...data\n    }\n  })\n\n  // Render the component manager, which manages all components and the global store.\n  root.render(<ComponentManager components={components} />)\n})\n","/* eslint-disable react/prop-types */\n\nimport { useCallback } from 'react'\nimport { ErrorBoundary as ReactErrorBoundary } from 'react-error-boundary'\nimport { captureException, withScope } from '@sentry/react'\n\nimport ErrorModal from './error_modal'\n\nconst ErrorBoundary = ({ children, onError, ...props }) => {\n  const errorHandler = useCallback(\n    (error, { componentStack }) => {\n      // See https://github.com/getsentry/sentry-javascript/blob/master/packages/react/src/errorboundary.tsx\n      withScope(() => {\n        const errorBoundaryError = new Error(error.message)\n        errorBoundaryError.name = `React ErrorBoundary ${errorBoundaryError.name}`\n        errorBoundaryError.stack = componentStack\n        error.cause = errorBoundaryError\n\n        const eventId = captureException(error, { contexts: { react: { componentStack } } })\n        onError?.(error, componentStack, eventId)\n      })\n    },\n    [onError]\n  )\n\n  if (!props.fallback && !props.fallbackRender && !props.FallbackComponent) {\n    props.fallbackRender = ErrorModal\n  }\n\n  return (\n    <ReactErrorBoundary {...props} onError={errorHandler}>\n      {children}\n    </ReactErrorBoundary>\n  )\n}\n\nexport default ErrorBoundary\n","/* eslint-disable react/prop-types */\n\nimport isChunkLoadError from 'assets/lib/utils/is_chunk_load_error'\nimport { useModal } from 'components/lib/modal/hooks'\nimport Button from './html_elements/button/index'\nimport Modal from './modal'\n\nimport modalFooterStyles from './modal/footer.css'\n\nconst innerStyle = { padding: '10px 25px', fontSize: 16 + 'px' }\nconst DEFAULT_TITLE = \"Something's not quite right!\"\nconst DEFAULT_CONTENT =\n  \"We're very sorry, but we appear to have encountered an error that means we cannot continue \" +\n  'with your request. Our team has been notified. Please reload the page and try again.'\n\nconst ErrorModal = ({ title = DEFAULT_TITLE, content = DEFAULT_CONTENT, ...props }) => {\n  if (isChunkLoadError(props.error)) {\n    title = 'Update Required'\n    content = \"We've recently updated this page. Please reload, and try your request again.\"\n  }\n\n  return (\n    <Modal\n      id=\"errorBoundaryFallback\"\n      isOpen\n      onExit={props.onExit}\n      canClose={props.canClose}\n      header={<h2 style={{ paddingLeft: '15px', fontSize: '18px', fontWeight: 500 }}>{title}</h2>}\n      footer={<Footer canClose={props.canClose} />}\n    >\n      {props.htmlContent ? (\n        <div dangerouslySetInnerHTML={{ __html: props.htmlContent }} style={innerStyle} />\n      ) : (\n        <div style={innerStyle}>\n          <p>{content}</p>\n        </div>\n      )}\n    </Modal>\n  )\n}\n\nconst Footer = ({ canClose }) => {\n  const { toggleModal } = useModal()\n\n  const onClick = () => {\n    canClose ? toggleModal(false) : location.reload()\n  }\n\n  return (\n    <div className={modalFooterStyles.base}>\n      <Button onClick={onClick} className={modalFooterStyles.secondaryButton}>\n        {canClose ? <>OK</> : <>Reload &amp; Try Again</>}\n      </Button>\n    </div>\n  )\n}\n\nexport default ErrorModal\n","// extracted by mini-css-extract-plugin\nexport default {\"base\":\"-cm_1f3fc6c2\",\"small\":\"-cm_5f265b0c\",\"mini\":\"-cm_ac5e5a8f\",\"tiny\":\"-cm_544a9a1c\",\"icon\":\"-cm_7969672f\",\"link\":\"-cm_e8fa5978\",\"loading\":\"-cm_f12a239b\"};","import { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\n\nimport styles from './index.css'\n\nconst Button = forwardRef(({ children, size, className, isLoading, ...props }, ref) => {\n  let classNames = className\n  if (!classNames) {\n    classNames = size === 'normal' ? styles.base : styles[size]\n  }\n\n  if (isLoading) {\n    classNames += ` ${styles._loading}`\n    props.disabled = isLoading\n  }\n\n  return (\n    <button ref={ref} className={classNames} {...props}>\n      {children}\n    </button>\n  )\n})\n\nButton.propTypes = {\n  children: PropTypes.oneOfType([\n    PropTypes.arrayOf(PropTypes.node),\n    PropTypes.node,\n    PropTypes.string\n  ]),\n  className: PropTypes.string,\n  size: PropTypes.oneOf(['normal', 'small', 'mini', 'tiny', 'icon', 'link']),\n  onClick: PropTypes.func,\n  isLoading: PropTypes.bool,\n  type: PropTypes.oneOf(['button', 'submit', 'reset'])\n}\n\nButton.defaultProps = {\n  type: 'button',\n  size: 'normal'\n}\n\nexport default Button\n","import { createModel } from 'ibiza'\n\nexport default createModel('modals', () => ({\n  instances: {},\n\n  toggle(_, id, isOpen) {\n    this.instances[id] = isOpen\n  }\n}))\n","import { createContext, useContext } from 'react'\n\nimport useModel from './model'\n\nexport const ModalContext = createContext({ id: undefined })\n\nexport const useModalId = idFromArg => {\n  const { id: idFromContext } = useContext(ModalContext)\n  return idFromArg || idFromContext\n}\n\nexport const useModal = idFromArg => {\n  const id = useModalId(idFromArg)\n  const model = useModel()\n\n  if (!id) throw new Error('useModal() requires a unique instance ID')\n\n  return {\n    id,\n    isModalOpen: model.instances[id],\n    toggleModal: isOpen => model.toggle(id, isOpen)\n  }\n}\n","// extracted by mini-css-extract-plugin\nexport default {\"base\":\"-cm_5734303c\",\"enter\":\"-cm_03d17b73\",\"enterDone\":\"-cm_dc1d66a5\",\"enterActive\":\"-cm_d715f4c5\",\"exit\":\"-cm_5b2fa441\",\"exitActive\":\"-cm_a13f6bfe\",\"exitDone\":\"-cm_a8c3a394\",\"loading\":\"-cm_2446fb15\"};","import { lazy, Suspense, useEffect } from 'react'\nimport { createPortal } from 'react-dom'\nimport { CSSTransition } from 'react-transition-group'\nimport PropTypes from 'prop-types'\n\nconst Container = lazy(() => import('./container'))\nimport { ModalContext, useModal } from './hooks'\n\nimport styles from './index.css'\n\nconst Modal = ({ id, children, onClose, onExit, isOpen, ...props }) => {\n  const { toggleModal, isModalOpen } = useModal(id)\n  const { base, loading, ...transitions } = styles\n\n  // Make sure changes to the `isOpen` prop toggle the modal.\n  useEffect(() => toggleModal(isOpen), [isOpen]) // eslint-disable-line react-hooks/exhaustive-deps\n\n  return (\n    <ModalContext.Provider value={{ id }}>\n      {createPortal(\n        <CSSTransition\n          classNames={{\n            ...transitions\n          }}\n          in={isModalOpen}\n          mountOnEnter\n          unmountOnExit\n          onExited={() => {\n            onClose?.() // DEPRECATED\n            onExit?.()\n          }}\n          timeout={1000}\n        >\n          <div className={base}>\n            <Suspense\n              fallback={\n                <span className={loading}>\n                  <div></div>\n                </span>\n              }\n            >\n              <Container {...props}>{children}</Container>\n            </Suspense>\n          </div>\n        </CSSTransition>,\n        document.body\n      )}\n    </ModalContext.Provider>\n  )\n}\n\nModal.propTypes = {\n  id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n  children: PropTypes.any.isRequired,\n\n  // Open the modal if true. (default: false)\n  isOpen: PropTypes.bool,\n\n  // DEPRECATED: Callback triggered when modal is closed.\n  onClose: PropTypes.func,\n\n  // Callback triggered after modal exits, and CSS transition has ended.\n  onExit: PropTypes.func,\n\n  // If true, will display a loading indicator overlay over the modal content. (default: false)\n  isLoading: PropTypes.bool,\n\n  // If false, the close buttons in the header will not be shown. (default: true)\n  canClose: PropTypes.bool,\n\n  // The title to be shown in the header.\n  title: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n\n  header: PropTypes.any,\n  footer: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n}\n\nModal.defaultProps = {\n  isOpen: false,\n  isLoading: false,\n  canClose: true\n}\n\nexport default Modal\n","// extracted by mini-css-extract-plugin\nexport default {\"base\":\"-cm_d50295de -cm_df972af8\",\"enter\":\"-cm_3ccec39d\",\"enterDone\":\"-cm_8c698374\",\"enterActive\":\"-cm_0feaa686\",\"exit\":\"-cm_e1cde52b\",\"exitActive\":\"-cm_bf446a0d\",\"exitDone\":\"-cm_6c677830\"};","// extracted by mini-css-extract-plugin\nexport default {\"base\":\"-cm_89f33e87 -cm_df972af8\",\"enter\":\"-cm_d936e15e\",\"enterDone\":\"-cm_25bb0358\",\"enterActive\":\"-cm_b2fb4533\",\"exit\":\"-cm_8b7d9eaf\",\"exitActive\":\"-cm_6ef155a8\",\"exitDone\":\"-cm_e6e0c3d9\"};","// extracted by mini-css-extract-plugin\nexport default {\"base\":\"-cm_ec364532 -cm_df972af8\",\"enter\":\"-cm_20d7dc12\",\"enterDone\":\"-cm_282ea2c1\",\"enterActive\":\"-cm_f81fef5c\",\"exit\":\"-cm_c8a531d1\",\"exitActive\":\"-cm_4a2aed2f\",\"exitDone\":\"-cm_24091b7a\"};","// extracted by mini-css-extract-plugin\nexport default {\"base\":\"-cm_76e50760 -cm_df972af8\",\"enter\":\"-cm_f86090bd\",\"enterDone\":\"-cm_09e25a0a\",\"enterActive\":\"-cm_f146a61e\",\"exit\":\"-cm_0e6d265b\",\"exitActive\":\"-cm_fab39b88\",\"exitDone\":\"-cm_c41b5922\"};","/* eslint-disable react/prop-types */\n\nimport { useEffect, useMemo, useRef } from 'react'\nimport { createPortal } from 'react-dom'\nimport { CSSTransition } from 'react-transition-group'\n\nimport Suspense from 'components/lib/suspense'\nimport { SheetContext, useSheet } from './hooks.js'\n\nimport styles from './index.css'\nimport autoTransitions from './transitions/auto.css'\nimport bottomTransitions from './transitions/bottom.css'\nimport leftTransitions from './transitions/left.css'\nimport rightTransitions from './transitions/right.css'\n\nconst {\n  disabled: disabledStyle,\n  disabledLoading: disabledLoadingStyle,\n  container: containerStyle,\n  loading: loadingStyle,\n  window: windowStyle\n} = styles\n\n/**\n * @param {object} props\n * @param {string} props.id - Unique sheet identifier.\n * @param {any} props.children\n * @param {boolean} [props.isOpen=false] Default is `false`\n * @param {boolean} [props.isDisabled=false] - When true, will disable and block the UI of the\n *   entire sheet. Default is `false`\n * @param {boolean} [props.isLoading=false] - When true, will enter into a loading state, with\n *   loading indicators, and disabling the UI of the entire sheet. Default is `false`\n * @param {function} [props.onExit] - A function to be called after the sheet has exited, and CSS\n *   transition has ended.\n * @param {'auto' | 'bottom' | 'left' | 'right'} [props.openFrom='auto'] - The direction that the\n *   sheet will animate from. The 'auto' option will open the sheet from the right, and from the\n *   bottom on mobile. Default is `'auto'`\n */\nconst Sheet = ({\n  id,\n  isOpen = false,\n  isDisabled,\n  isLoading,\n  onExit,\n  openFrom = 'auto',\n  children\n}) => {\n  const containerRef = useRef()\n  const { toggleSheet, isSheetOpen } = useSheet(id)\n\n  const { base: baseStyle, ...transitions } = useMemo(() => {\n    switch (openFrom) {\n      case 'auto': {\n        return autoTransitions\n      }\n      case 'bottom': {\n        return bottomTransitions\n      }\n      case 'right': {\n        return rightTransitions\n      }\n      case 'left': {\n        return leftTransitions\n      }\n    }\n  }, [openFrom])\n\n  // Make sure changes to the `isOpen` prop toggle the sheet.\n  useEffect(() => toggleSheet(isOpen), [isOpen]) // eslint-disable-line react-hooks/exhaustive-deps\n\n  // Allow a click on the overlay to close the sheet.\n  useEffect(() => {\n    const ele = containerRef.current\n    const onOutsideClick = event => event.target === ele && toggleSheet(false)\n    isSheetOpen && ele.addEventListener('click', onOutsideClick)\n\n    return () => ele?.removeEventListener('click', onOutsideClick)\n  }, [isSheetOpen, toggleSheet])\n\n  return (\n    <SheetContext.Provider value={{ id }}>\n      {createPortal(\n        <CSSTransition\n          in={isSheetOpen}\n          mountOnEnter\n          unmountOnExit\n          onEnter={() => document.body.classList.toggle(windowStyle)}\n          onExit={() => document.body.classList.toggle(windowStyle)}\n          onExited={() => {\n            onExit?.()\n          }}\n          classNames={{ ...transitions }}\n          timeout={500}\n        >\n          <div className={containerStyle} ref={containerRef}>\n            {isLoading && <div className={disabledLoadingStyle}></div>}\n            {isDisabled && <div className={disabledStyle}></div>}\n            <section className={baseStyle}>\n              <Suspense\n                fallback={\n                  <div className={loadingStyle}>\n                    <div>\n                      <div></div>\n                      <div></div>\n                    </div>\n                  </div>\n                }\n              >\n                {children}\n              </Suspense>\n            </section>\n          </div>\n        </CSSTransition>,\n        document.body\n      )}\n    </SheetContext.Provider>\n  )\n}\n\nexport default Sheet\n","import { Suspense as ReactSuspense } from 'react'\nimport { useInView } from 'react-intersection-observer'\nimport PropTypes from 'prop-types'\n\nconst IntersectionSuspense = ({ fallback, rootMargin, children }) => {\n  const { ref, inView } = useInView({ triggerOnce: true, rootMargin })\n\n  return (\n    <div ref={ref}>{inView && <ReactSuspense {...{ fallback }}>{children}</ReactSuspense>}</div>\n  )\n}\n\nIntersectionSuspense.propTypes = {\n  children: PropTypes.any.isRequired,\n  rootMargin: PropTypes.string,\n  fallback: PropTypes.any\n}\n\nexport default IntersectionSuspense\n","import { createContext, Suspense as ReactSuspense, useContext, useEffect, useState } from 'react'\nimport PropTypes from 'prop-types'\n\nimport IntersectionSuspense from './intersection.jsx'\n\nconst SuspenseContext = createContext()\n\nexport function useSuspended() {\n  return useContext(SuspenseContext)\n}\n\nconst SmartSuspense = ({\n  fallback,\n  children,\n  rootMargin,\n  renderOnIntersection,\n  renderEachOnIntersection\n}) => {\n  // See https://github.com/facebook/react/issues/14536#issuecomment-602138550\n  const [suspended, setSuspended] = useState(true)\n  const Fallback = props => {\n    useEffect(() => {\n      setSuspended(true)\n      return () => setSuspended(false)\n    }, [])\n\n    return props.children\n  }\n\n  if (renderEachOnIntersection && Array.isArray(children)) {\n    return (\n      <>\n        {children.map((child, i) => (\n          <IntersectionSuspense\n            key={i}\n            fallback={<Fallback>{fallback}</Fallback>}\n            {...{ rootMargin }}\n          >\n            {child}\n          </IntersectionSuspense>\n        ))}\n      </>\n    )\n  }\n\n  if (renderOnIntersection) {\n    return (\n      <IntersectionSuspense fallback={<Fallback>{fallback}</Fallback>} {...{ rootMargin }}>\n        {children}\n      </IntersectionSuspense>\n    )\n  }\n\n  return (\n    <ReactSuspense fallback={<Fallback>{fallback}</Fallback>}>\n      <SuspenseContext.Provider value={suspended}>{children}</SuspenseContext.Provider>\n    </ReactSuspense>\n  )\n}\n\nSmartSuspense.propTypes = {\n  children: PropTypes.any.isRequired,\n\n  // If true, will render ALL child components when they appear in the browsers viewport.\n  renderOnIntersection: PropTypes.bool,\n\n  // If true, will render EACH child component when they appear in the browsers viewport.\n  renderEachOnIntersection: PropTypes.bool,\n\n  rootMargin: PropTypes.string,\n  fallback: PropTypes.any\n}\n\nSmartSuspense.defaultProps = {\n  renderOnIntersection: false,\n  renderEachOnIntersection: false,\n  rootMargin: '100px',\n  fallback: <span></span>\n}\n\nexport default SmartSuspense\n","/* rails-erb-loader-dependencies models/location models/video_service models/chat_service */\n\nexport const HTP_ENV = 'production'\nexport const HTP_ENV_FULL = 'production'\n\nexport const DISABLE_OFFLINE_LOCATIONS = process.env.DISABLE_OFFLINE_LOCATIONS === 'true'\nexport const REQUIRE_COVID19_SECURE = process.env.REQUIRE_COVID19_SECURE === 'true'\nexport const DISPLAY_PASSCODE = process.env.DISPLAY_PASSCODE === 'true'\n\n// Array of location type names\nexport const LOCATION_VIDEO_NAMES = [\"skype\", \"facetime\", \"whatsapp\", \"zoom\", \"google_duo\", \"vsee\", \"doxy_me\", \"signal\", \"whereby\"]\nexport const LOCATION_CHAT_NAMES = [\"whatsapp\", \"doxy_me\", \"signal\"]\nexport const LOCATION_OTHER_NAMES = ['offline', 'phone']\n\n// Object of location types\nexport const LOCATION_VIDEO_TYPES = [{\"value\":\"skype\",\"label\":\"Skype\",\"flatType\":\"video/skype\"},{\"value\":\"facetime\",\"label\":\"Facetime\",\"flatType\":\"video/facetime\"},{\"value\":\"whatsapp\",\"label\":\"Whatsapp\",\"flatType\":\"video/whatsapp\"},{\"value\":\"zoom\",\"label\":\"Zoom\",\"flatType\":\"video/zoom\"},{\"value\":\"google_duo\",\"label\":\"Google duo\",\"flatType\":\"video/google_duo\"},{\"value\":\"vsee\",\"label\":\"Vsee\",\"flatType\":\"video/vsee\"},{\"value\":\"doxy_me\",\"label\":\"Doxy me\",\"flatType\":\"video/doxy_me\"},{\"value\":\"signal\",\"label\":\"Signal\",\"flatType\":\"video/signal\"},{\"value\":\"whereby\",\"label\":\"Whereby\",\"flatType\":\"video/whereby\"}]\nexport const LOCATION_CHAT_TYPES = [{\"value\":\"whatsapp\",\"label\":\"Whatsapp\",\"flatType\":\"chat/whatsapp\"},{\"value\":\"doxy_me\",\"label\":\"Doxy me\",\"flatType\":\"chat/doxy_me\"},{\"value\":\"signal\",\"label\":\"Signal\",\"flatType\":\"chat/signal\"}]\nexport const LOCATION_OTHER_TYPES = [\n  { value: 'offline', label: 'In-person', flatType: 'offline' },\n  { value: 'phone', label: 'Phone', flatType: 'phone' }\n]\n\nexport const SPECIALISM_LABELS = {\"abuse\":\"Abuse\",\"abuse|emotional\":\"Abuse / Emotional\",\"abuse|physical\":\"Abuse / Physical\",\"abuse|sexual\":\"Abuse / Sexual\",\"addiction\":\"Addiction\",\"addiction|alcohol\":\"Addiction / Alcohol\",\"addiction|caffeine\":\"Addiction / Caffeine\",\"addiction|cannabis\":\"Addiction / Cannabis\",\"addiction|chemsex\":\"Addiction / Chemsex\",\"addiction|cocaine\":\"Addiction / Cocaine\",\"addiction|drug\":\"Addiction / Drug\",\"addiction|gambling\":\"Addiction / Gambling\",\"addiction|inhalant\":\"Addiction / Inhalant\",\"addiction|internet\":\"Addiction / Internet\",\"addiction|hallucinogen\":\"Addiction / Hallucinogen\",\"addiction|love_and_romance\":\"Addiction / Love and romance\",\"addiction|opioid\":\"Addiction / Opioid\",\"addiction|other_substance\":\"Addiction / Other substance\",\"addiction|pornography\":\"Addiction / Pornography\",\"addiction|prescription_medication\":\"Addiction / Prescription medication\",\"addiction|sex\":\"Addiction / Sex\",\"addiction|smoking\":\"Addiction / Smoking\",\"addiction|social_media\":\"Addiction / Social media\",\"addiction|stimulant\":\"Addiction / Stimulant\",\"addiction|video_game\":\"Addiction / Video game\",\"anger\":\"Anger\",\"anger|aggression\":\"Anger / Aggression\",\"anger|anger_management\":\"Anger / Anger management\",\"anger|passive_aggressive_behaviour\":\"Anger / Passive aggressive behaviour\",\"anxiety\":\"Anxiety / stress\",\"anxiety|agoraphobia\":\"Anxiety / Agoraphobia\",\"anxiety|acute_stress\":\"Anxiety / Acute stress\",\"anxiety|death\":\"Anxiety / Death\",\"anxiety|financial\":\"Anxiety / Financial\",\"anxiety|generalised\":\"Anxiety / Generalised\",\"anxiety|health\":\"Anxiety / Health\",\"anxiety|panic_attacks\":\"Anxiety / Panic attacks\",\"anxiety|performance\":\"Anxiety / Performance\",\"anxiety|separation\":\"Anxiety / Separation\",\"anxiety|social_anxiety_disorder\":\"Anxiety / Social anxiety disorder\",\"anxiety|social_phobia\":\"Anxiety / Social phobia\",\"anxiety|specific_phobia\":\"Anxiety / Specific phobia\",\"anxiety|stress_management\":\"Anxiety / Stress management\",\"conduct_disorders\":\"Conduct disorders\",\"conduct_disorders|antisocial_personality_disorder\":\"Conduct disorders / Antisocial personality disorder\",\"conduct_disorders|intermittent_explosive_disorder\":\"Conduct disorders / Intermittent explosive disorder\",\"conduct_disorders|kleptomania\":\"Conduct disorders / Kleptomania\",\"conduct_disorders|opposition_defiance\":\"Conduct disorders / Opposition defiance\",\"conduct_disorders|pyromania\":\"Conduct disorders / Pyromania\",\"depression\":\"Depression\",\"depression|dysthymia\":\"Depression / Dysthymia\",\"depression|major\":\"Depression / Major\",\"depression|pms\":\"Premenstrual syndrome (PMS)\",\"depression|pre_post_natal\":\"Pre and post-natal depression\",\"depression|seasonal_affective\":\"Depression / Seasonal affective\",\"depression|self_harm\":\"Depression / Self harm\",\"depression|suicidal_thoughts\":\"Depression / Suicidal thoughts\",\"developmental_disorders\":\"Neurodevelopmental\",\"developmental_disorders|adhd\":\"Developmental disorders / Adhd\",\"developmental_disorders|autistic\":\"Developmental disorders / Autistic\",\"developmental_disorders|learning_disorder\":\"Developmental disorders / Learning disorder\",\"dissociative_disorders\":\"Dissociative disorders\",\"dissociative_disorders|depersonalisation\":\"Dissociative disorders / Depersonalisation\",\"dissociative_disorders|dissociative_identity_disorder\":\"Dissociative disorders / Dissociative identity disorder\",\"eating\":\"Eating\",\"eating|anorexia\":\"Eating / Anorexia\",\"eating|binge_and_over_eating\":\"Eating / Binge and over eating\",\"eating|bulimia\":\"Eating / Bulimia\",\"eating|night_eating\":\"Eating / Night eating\",\"eating|obesity\":\"Eating / Obesity\",\"eating|pica\":\"Eating / Pica\",\"eating|purging\":\"Eating / Purging\",\"eating|restrictive_food_intake\":\"Eating / Restrictive food intake\",\"eating|rumination\":\"Eating / Rumination\",\"eating|weight_management\":\"Eating / Weight management\",\"education\":\"Education\",\"education|boarding_school_concerns\":\"Education / Boarding school concerns\",\"education|dyslexia\":\"Education / Dyslexia\",\"education|exam_pressure\":\"Education / Exam pressure\",\"education|learning_difficulties\":\"Education / Learning difficulties\",\"education|performance\":\"School/academic performance\",\"family\":\"Family\",\"family|adoption\":\"Family / Adoption\",\"family|blended_families\":\"Family / Blended families\",\"family|carer_support\":\"Family / Carer support\",\"family|conflict\":\"Family / Conflict\",\"grief\":\"Grief / loss\",\"grief|anticipatory_mourning\":\"Grief / Anticipatory mourning\",\"grief|bereavement\":\"Grief / Bereavement\",\"grief|complicated_grief\":\"Grief / Complicated grief\",\"grief|loss_of_a_pet\":\"Grief / Loss of a pet\",\"grief|loss_of_a_parent\":\"Grief / Loss of a parent\",\"grief|loss_of_a_spouse\":\"Grief / Loss of a spouse\",\"grief|loss_of_a_child\":\"Grief / Loss of a child\",\"grief|sudden_loss\":\"Grief / Sudden loss\",\"grief|unemployment\":\"Unemployment / redundancy\",\"health\":\"Health related issues (physical)\",\"health|abortion\":\"Health / Abortion\",\"health|alzheimers\":\"Health / Alzheimers\",\"health|brain_injury\":\"Health / Brain injury\",\"health|cancer\":\"Health / Cancer\",\"health|me\":\"Chronic fatigue syndrome / ME\",\"health|chronic_illness\":\"Health / Chronic illness\",\"health|dementia\":\"Health / Dementia\",\"health|disability\":\"Health / Disability\",\"health|dyspraxia\":\"Health / Dyspraxia\",\"health|aids\":\"HIV / Aids\",\"health|fertility\":\"Fertility / infertility\",\"health|miscarriage\":\"Health / Miscarriage\",\"health|pain_management\":\"Health / Pain management\",\"health|pregnancy_and_birth\":\"Health / Pregnancy and birth\",\"health|psychosomatic\":\"Health / Psychosomatic\",\"health|restless_leg_syndrome\":\"Health / Restless leg syndrome\",\"health|stillbirth\":\"Health / Stillbirth\",\"health|terminal_illness\":\"Health / Terminal illness\",\"health|tourettes\":\"Health / Tourettes\",\"health|vaginismus\":\"Health / Vaginismus\",\"identity\":\"Identity\",\"identity|cultural_religious\":\"Cultural / religious identity\",\"identity|discrimination\":\"Identity / Discrimination\",\"identity|gender_identity\":\"Identity / Gender identity\",\"identity|identity_crisis\":\"Identity / Identity crisis\",\"identity|lgbtq\":\"LGBTQ\",\"identity|men\":\"Men's issues\",\"identity|racial_identity\":\"Identity / Racial identity\",\"identity|sexual_orientation\":\"Identity / Sexual orientation\",\"identity|women\":\"Women's issues\",\"mood\":\"Mood\",\"mood|bipolar_disorder\":\"Mood / Bipolar disorder\",\"mood|cyclothymia\":\"Mood / Cyclothymia\",\"mood|disruptive_mood_dysregulation\":\"Mood / Disruptive mood dysregulation\",\"mood|hypomania\":\"Mood / Hypomania\",\"ocd\":\"Obsessive compulsive disorders\",\"ocd|bdd\":\"Body dysmorphia (BDD)\",\"ocd|excoriation\":\"Ocd / Excoriation\",\"ocd|hoarding\":\"Ocd / Hoarding\",\"ocd|ocd\":\"Obsessive compulsive disorder (OCD)\",\"ocd|trichotillomania\":\"Ocd / Trichotillomania\",\"ocd|personality\":\"Obsessive Compulsive Personality Disorder (OCPD)\",\"personal\":\"Personal\",\"personal|bitterness\":\"Personal / Bitterness\",\"personal|boundary_setting\":\"Personal / Boundary setting\",\"personal|childhood_related\":\"Personal / Childhood related\",\"personal|confidence\":\"Personal / Confidence\",\"personal|feeling_lost\":\"Personal / Feeling lost\",\"personal|goal_setting\":\"Personal / Goal setting\",\"personal|guilt\":\"Personal / Guilt\",\"personal|jealousy\":\"Personal / Jealousy\",\"personal|lack_of_focus\":\"Personal / Lack of focus\",\"personal|life_transition\":\"Personal / Life transition\",\"personal|life_coaching\":\"Personal / Life coaching\",\"personal|manipulative_behaviour\":\"Personal / Manipulative behaviour\",\"personal|mid_life_crisis\":\"Personal / Mid life crisis\",\"personal|motivation\":\"Personal / Motivation\",\"personal|nervous_breakdown\":\"Personal / Nervous breakdown\",\"personal|personal_development\":\"Personal / Personal development\",\"personal|self_esteem\":\"Personal / Self esteem\",\"personal|shyness\":\"Personal / Shyness\",\"personal|spirituality\":\"Personal / Spirituality\",\"personal|sports_performance\":\"Personal / Sports performance\",\"personal|victim_mentality\":\"Personal / Victim mentality\",\"personal|procrastination\":\"Personal / Procrastination\",\"personality_disorders\":\"Personality disorders\",\"personality_disorders|avoidant\":\"Personality disorders / Avoidant\",\"personality_disorders|borderline\":\"Personality disorders / Borderline\",\"personality_disorders|dependent\":\"Personality disorders / Dependent\",\"personality_disorders|histrionic\":\"Personality disorders / Histrionic\",\"personality_disorders|narcissistic\":\"Personality disorders / Narcissistic\",\"personality_disorders|paranoid\":\"Personality disorders / Paranoid\",\"personality_disorders|schizoid\":\"Personality disorders / Schizoid\",\"personality_disorders|alexithymia\":\"Alexithymia\",\"relationships\":\"Relationships\",\"relationships|abandonment\":\"Relationships / Abandonment\",\"relationships|infidelity\":\"Affairs / infidelity\",\"relationships|attachment_issues\":\"Relationships / Attachment issues\",\"relationships|breakups\":\"Breakups, divorce and separation\",\"relationships|codependency\":\"Relationships / Codependency\",\"relationships|communication_difficulties\":\"Relationships / Communication difficulties\",\"relationships|cross_cultural\":\"Relationships / Cross cultural\",\"relationships|doubt_in_relationships\":\"Relationships / Doubt in relationships\",\"relationships|intimacy\":\"Relationships / Intimacy\",\"relationships|marriage_problems\":\"Relationships / Marriage problems\",\"relationships|parenting_related\":\"Relationships / Parenting related\",\"relationships|peer_relationships\":\"Relationships / Peer relationships\",\"relationships|premarital_counselling\":\"Relationships / Premarital counselling\",\"relationships|rejection\":\"Relationships / Rejection\",\"relationships|same_sex_couple_issues\":\"Relationships / Same sex couple issues\",\"relationships|polyamorous\":\"Relationships / Polyamorous\",\"schizophrenia\":\"Schizophrenia / psychosis\",\"schizophrenia|brief_psychosis\":\"Schizophrenia / Brief psychosis\",\"schizophrenia|delusions\":\"Schizophrenia / Delusions\",\"schizophrenia|hallucinations\":\"Schizophrenia / Hallucinations\",\"schizophrenia|psychosis\":\"Schizophrenia / Psychosis\",\"schizophrenia|schizophrenia\":\"Schizophrenia / Schizophrenia\",\"schizophrenia|schizotypal_personality_disorder\":\"Schizophrenia / Schizotypal personality disorder\",\"schizophrenia|substance_induced_psychosis\":\"Schizophrenia / Substance induced psychosis\",\"sexual_difficulties\":\"Sexual difficulties\",\"sexual_difficulties|erectile_dysfunction\":\"Sexual difficulties / Erectile dysfunction\",\"sexual_difficulties|dyspareunia\":\"Sexual difficulties / Dyspareunia\",\"sexual_difficulties|hypoactive_desire\":\"Sexual difficulties / Hypoactive desire\",\"sexual_difficulties|orgasmic_disorders\":\"Sexual difficulties / Orgasmic disorders\",\"sexual_difficulties|premature_ejaculation\":\"Premature \\u0026 delayed ejaculation\",\"sexual_difficulties|sexual_arousal_difficulties\":\"Sexual difficulties / Sexual arousal difficulties\",\"sexual_difficulties|sexual_aversion\":\"Sexual difficulties / Sexual aversion\",\"paraphilias\":\"Paraphilias\",\"paraphilias|exhibitionism\":\"Paraphilias / Exhibitionism\",\"paraphilias|fetishism\":\"Paraphilias / Fetishism\",\"paraphilias|frotteurism\":\"Paraphilias / Frotteurism\",\"paraphilias|paedophilia\":\"Paraphilias / Paedophilia\",\"paraphilias|sadism_masochism\":\"Sadism / masochism\",\"paraphilias|transvestism\":\"Paraphilias / Transvestism\",\"paraphilias|voyeurism\":\"Paraphilias / Voyeurism\",\"sleep_concerns\":\"Sleep concerns\",\"sleep_concerns|disturbed_sleep\":\"Sleep concerns / Disturbed sleep\",\"sleep_concerns|excessive_sleep\":\"Sleep concerns / Excessive sleep\",\"sleep_concerns|hypersomnolence\":\"Sleep concerns / Hypersomnolence\",\"sleep_concerns|insomnia\":\"Sleep concerns / Insomnia\",\"sleep_concerns|narcolepsy\":\"Sleep concerns / Narcolepsy\",\"sleep_concerns|sleepwalking\":\"Sleep concerns / Sleepwalking\",\"sleep_concerns|sleep_terrors\":\"Sleep concerns / Sleep terrors\",\"somatic\":\"Somatic\",\"somatic|conversion_disorder\":\"Somatic / Conversion disorder\",\"somatic|factitious_disorder\":\"Somatic / Factitious disorder\",\"somatic|hypochondriasis\":\"Somatic / Hypochondriasis\",\"somatic|pain_disorder\":\"Somatic / Pain disorder\",\"somatic|somatic_symptom_disorder\":\"Somatic / Somatic symptom disorder\",\"trauma\":\"Trauma\",\"trauma|adjustment_disorder\":\"Trauma / Adjustment disorder\",\"trauma|post_traumatic_stress_disorder\":\"Trauma / Post traumatic stress disorder\",\"trauma|complex_post_traumatic_stress_disorder\":\"Trauma / Complex post traumatic stress disorder\",\"work\":\"Work\",\"work|career_progress\":\"Work / Career progress\",\"work|leadership\":\"Work / Leadership\",\"work|mediation\":\"Work / Mediation\",\"work|workplace_bullying\":\"Work / Workplace bullying\",\"work|workplace_stress\":\"Work / Workplace stress\",\"work|workplace_performance\":\"Work / Workplace performance\"}\nexport const THERAPY_TYPE_LABELS = {\"act\":\"Acceptance and Commitment ACT\",\"add\":\"Addiction Therapy\",\"ang\":\"Anger Management\",\"art\":\"Art therapy/Art psychotherapy\",\"attachment\":\"Attachment / Relational\",\"behaviour\":\"Behavioural Therapy\",\"bio\":\"Biofeedback\",\"bwrt\":\"Brain Working Recursive Therapy (BWRT)\",\"cat\":\"Cognitive Analytic CAT\",\"cbt\":\"Cognitive Behavioural CBT\",\"chyp\":\"Cognitive Hypnotherapy\",\"coaching\":\"Coaching\",\"cogt\":\"Cognitive Therapy (CT)\",\"collab\":\"Collaborative Couple Therapy\",\"compassion\":\"Compassion Focused\",\"cont\":\"Contemplative\",\"core\":\"Core Process Psychotherapy\",\"dance\":\"Dance / Movement Therapy\",\"dbt\":\"Dialectical Behaviour DBT\",\"depth\":\"Depth Therapy\",\"dit\":\"Dynamic Interpersonal DIT\",\"drama\":\"Dramatherapy\",\"eclect\":\"Eclectic\",\"eco\":\"EcoTherapy\",\"eft\":\"Emotionally Focused Therapy EFT\",\"eftech\":\"Emotional Freedom Technique EFT\",\"ehyp\":\"Ericksonian Hypnotherapy\",\"emdr\":\"EMDR\",\"energy\":\"Energy Psychology\",\"equine\":\"Equine Assisted Psychotherapy (EAP)\",\"existential\":\"Existential / Phenomenological\",\"experiential\":\"Experiential\",\"expressive\":\"Expressive Art Therapy\",\"family\":\"Family Systems\",\"feminist\":\"Feminist\",\"gestalt\":\"Gestalt Therapy\",\"gottam\":\"Gottman Method\",\"hakomi\":\"Hakomi\",\"holistic\":\"Holistic\",\"humangivens\":\"Human Givens Psychotherapy\",\"humanistic\":\"Humanistic / Person Centred\",\"hypan\":\"Hypnoanalysis\",\"hypno\":\"Hypnotherapy\",\"hyppsy\":\"Hypno-Psychotherapy\",\"imago\":\"Imago Relationship Therapy\",\"integral\":\"Integral Therapy\",\"integrative\":\"Integrative\",\"ifs\":\"Internal Family Systems\",\"interpersonal\":\"Interpersonal\",\"intervention\":\"Intervention\",\"jungian\":\"Jungian\",\"mbct\":\"Mindfulness-Based Cognitive MBCT\",\"mentalisation\":\"Mentalisation\",\"motivational\":\"Motivational Interviewing\",\"music\":\"Music Therapy\",\"narrative\":\"Narrative Therapy\",\"nlphyp\":\"Neuro Linguistic Programing (NLP) Hypnotherapy\",\"nutritional\":\"Nutritional Therapy\",\"pasthyp\":\"Past Life Regression Hynotherapy\",\"person\":\"Person-centred Therapy\",\"play\":\"Play Therapy\",\"psychoanalytic\":\"Psychoanalytic\",\"psychodynamic\":\"Psychodynamic\",\"psychtest\":\"Psychological Testing and Evaluation\",\"psychsex\":\"Psychosexual Therapy\",\"psychosynthesis\":\"Psychosynthesis\",\"reality\":\"Reality Therapy\",\"relational\":\"Relational Therapy\",\"rebt\":\"Rational Emotive REBT\",\"sand\":\"Sand Tray Therapy\",\"schema\":\"Schema\",\"sensor\":\"Sensorimotor Psychotherapy\",\"sfbt\":\"Solution Focused Brief SFBT\",\"solhyp\":\"Solution Focused Hypnotherapy\",\"somatic\":\"Somatic Therapy (Body Centered)\",\"sughyp\":\"Suggestion Hypnotherapy\",\"systemic\":\"Systemic\",\"tlyhyp\":\"Time Line Therapy\",\"transactional_analysis\":\"Transactional analysis\",\"transpersonal\":\"Transpersonal Therapy\",\"wilderness\":\"Wilderness Therapy\"}\nexport const CLIENT_TYPE_LABELS = {\"0\":\"Individual Adult (18+)\",\"1\":\"Couple (18+)\",\"4\":\"Teenager (16-18)\",\"3\":\"Older child (8-15)\",\"2\":\"Young child (0-7)\",\"5\":\"Older adult (70+)\",\"6\":\"Family\",\"8\":\"Group\",\"7\":\"Supervisee\",\"9\":\"Wellbeing MOT\"}\nexport const PROFESSIONAL_BODIES = {\"2\":{\"enabled\":true,\"id\":2,\"abbreviation\":\"ACAT\",\"title\":\"Association for Cognitive Analytic Therapy\"},\"3\":{\"enabled\":true,\"id\":3,\"abbreviation\":\"ACC\",\"title\":\"Association of Christian Counsellors\"},\"4\":{\"enabled\":true,\"id\":4,\"abbreviation\":\"ACP\",\"title\":\"Association of Child Psychotherapists\"},\"5\":{\"enabled\":true,\"id\":5,\"abbreviation\":\"ADMP\",\"title\":\"Association for Dance Movement Psychotherapy UK\"},\"6\":{\"enabled\":true,\"id\":6,\"abbreviation\":\"BABCP\",\"title\":\"British Association for Behavioural and Cognitive Psychotherapies\"},\"7\":{\"enabled\":true,\"id\":7,\"abbreviation\":\"BACP\",\"title\":\"British Association for Counselling and Psychotherapy\"},\"8\":{\"enabled\":true,\"id\":8,\"abbreviation\":\"BPC\",\"title\":\"British Psychoanalytic Council\"},\"11\":{\"enabled\":true,\"id\":11,\"abbreviation\":\"COSCA\",\"title\":\"Counselling \\u0026 Psychotherapy in Scotland\"},\"12\":{\"enabled\":true,\"id\":12,\"abbreviation\":\"COSRT\",\"title\":\"College of Sexual and Relationship Therapists\"},\"14\":{\"enabled\":true,\"id\":14,\"abbreviation\":\"HCPC\",\"title\":\"Health and Care Professions Council\"},\"15\":{\"enabled\":true,\"id\":15,\"abbreviation\":\"NCAC\",\"title\":\"National Counsellor Accreditation Certificate\"},\"17\":{\"enabled\":true,\"id\":17,\"abbreviation\":\"NMC\",\"title\":\"Nursing and Midwifery Council\"},\"19\":{\"enabled\":true,\"id\":19,\"abbreviation\":\"UKCP\",\"title\":\"UK Council for Psychotherapy\"},\"29\":{\"enabled\":false,\"id\":29,\"abbreviation\":\"NRHP\",\"title\":\"National Register of Hypnotherapists and Psychotherapists\"},\"31\":{\"enabled\":true,\"id\":31,\"abbreviation\":\"UKAHPP\",\"title\":\" UK Association for Humanistic Psychology Practitioners\"},\"32\":{\"enabled\":true,\"id\":32,\"abbreviation\":\"UKATA\",\"title\":\"UK Association for Transactional Analysis\"},\"1\":{\"enabled\":false,\"id\":1,\"abbreviation\":\"AC\",\"title\":\"Association for Coaching\"},\"9\":{\"enabled\":true,\"id\":9,\"abbreviation\":\"BPS\",\"title\":\"British Psychological Society\"},\"40\":{\"enabled\":true,\"id\":40,\"abbreviation\":\"BICA\",\"title\":\"British Infertility Counseling Association\"},\"41\":{\"enabled\":true,\"id\":41,\"abbreviation\":\"IACP\",\"title\":\"Irish Association for Counselling and Psychotherapy\"},\"43\":{\"enabled\":true,\"id\":43,\"abbreviation\":\"IAHIP\",\"title\":\"Irish Association of Humanistic \\u0026 Integrative Psychotherapy\"},\"44\":{\"enabled\":true,\"id\":44,\"abbreviation\":\"BAMT\",\"title\":\"British Association of Music Therapy\"},\"45\":{\"enabled\":true,\"id\":45,\"abbreviation\":\"PTUK\",\"title\":\"Play and Creative Arts Therapists\"},\"47\":{\"enabled\":true,\"id\":47,\"abbreviation\":\"BAPT\",\"title\":\"British Association of Play Therapists\"},\"52\":{\"enabled\":true,\"id\":52,\"abbreviation\":\"BAAT\",\"title\":\"British Association of Art Therapists\"},\"53\":{\"enabled\":true,\"id\":53,\"abbreviation\":\"BADTH\",\"title\":\"British Association of Dramatherapists\"},\"55\":{\"enabled\":true,\"id\":55,\"abbreviation\":\"PSI\",\"title\":\"Psychological Society of Ireland\"},\"30\":{\"enabled\":true,\"id\":30,\"abbreviation\":\"EMDR UK\",\"title\":\"EMDR Association UK\"},\"27\":{\"enabled\":false,\"id\":27,\"abbreviation\":\"NCH\",\"title\":\"National Council for Hypnotherapy\"},\"39\":{\"enabled\":false,\"id\":39,\"abbreviation\":\"AAMET/EFT INTERNATIONAL\",\"title\":\"Advancement of Meridian Energy Techniques/Emotional Freedom Techniques\"},\"49\":{\"enabled\":false,\"id\":49,\"abbreviation\":\"ANLP\",\"title\":\"Association of Neuro Linguistic Programming\"},\"20\":{\"enabled\":false,\"id\":20,\"abbreviation\":\"APHP\",\"title\":\"Association for Professional Hypnosis and Psychotherapy\"},\"22\":{\"enabled\":false,\"id\":22,\"abbreviation\":\"BATHH\",\"title\":\"British Association of Therapeutic Hypnotists \\u0026 NLP Practitioners\"},\"23\":{\"enabled\":false,\"id\":23,\"abbreviation\":\"BSCH\",\"title\":\"British Society of Clinical Hypnosis\"},\"38\":{\"enabled\":false,\"id\":38,\"abbreviation\":\"EFT INTERNATIONAL\",\"title\":\"Emotional Freedom Techniques\"},\"24\":{\"enabled\":false,\"id\":24,\"abbreviation\":\"FHT\",\"title\":\"Federation of Holistic Therapists\"},\"13\":{\"enabled\":false,\"id\":13,\"abbreviation\":\"GHR\",\"title\":\"General Hypnotherapy Register\"},\"25\":{\"enabled\":false,\"id\":25,\"abbreviation\":\"HA\",\"title\":\"Hypnotherapy Association\"},\"42\":{\"enabled\":false,\"id\":42,\"abbreviation\":\"GMC\",\"title\":\"General Medical Council\"},\"37\":{\"enabled\":false,\"id\":37,\"abbreviation\":\"HGI\",\"title\":\"The Human Givens Institute\"},\"54\":{\"enabled\":false,\"id\":54,\"abbreviation\":\"NLPTCA\",\"title\":\"Neurolinguistic Psychotherapy and Counselling Association\"},\"28\":{\"enabled\":false,\"id\":28,\"abbreviation\":\"NRAH\",\"title\":\"British National Register of Advanced Hypnotherapists\"},\"10\":{\"enabled\":false,\"id\":10,\"abbreviation\":\"CNHC\",\"title\":\"Complimentary \\u0026 Natural Healthcare Council\"},\"34\":{\"enabled\":false,\"id\":34,\"abbreviation\":\"NACHP\",\"title\":\"National Association of Counsellors Hypnotherapists and Psychotherapists\"},\"61\":{\"enabled\":false,\"id\":61,\"abbreviation\":\"ACI\",\"title\":\"Addiction Counsellors of Ireland\"},\"46\":{\"enabled\":false,\"id\":46,\"abbreviation\":\"ICP\",\"title\":\"International Council of Psychotherapists \"},\"48\":{\"enabled\":false,\"id\":48,\"abbreviation\":\"RC PSYCH\",\"title\":\"Royal College of Psychiatrists\"},\"51\":{\"enabled\":false,\"id\":51,\"abbreviation\":\"APA (AYANAY)\",\"title\":\"Ayanay Psychological Accreditation\"},\"59\":{\"enabled\":false,\"id\":59,\"abbreviation\":\"APPI\",\"title\":\"Association for Psychoanalysis and Psychotherapy in Ireland\"},\"57\":{\"enabled\":false,\"id\":57,\"abbreviation\":\"CBPI\",\"title\":\"Cognitive Behavioural Psychotherapy (Ireland)\"},\"56\":{\"enabled\":false,\"id\":56,\"abbreviation\":\"FTAI\",\"title\":\"Family Therapy Association of Ireland\"},\"63\":{\"enabled\":false,\"id\":63,\"abbreviation\":\"IAPTP\",\"title\":\"Irish Association of Play Therapy \\u0026 Psychotherapy\"},\"60\":{\"enabled\":false,\"id\":60,\"abbreviation\":\"IFPP\",\"title\":\"Irish Forum for Psychoanalytic Psychotherapy\"},\"62\":{\"enabled\":false,\"id\":62,\"abbreviation\":\"NIIHR\",\"title\":\"Northern Ireland Institute of Human Relations\"},\"16\":{\"enabled\":true,\"id\":16,\"abbreviation\":\"NCPS\",\"title\":\"National Counselling and Psychotherapy Society\"},\"26\":{\"enabled\":false,\"id\":26,\"abbreviation\":\"HS\",\"title\":\"The National Hypnotherapy Society\"},\"58\":{\"enabled\":false,\"id\":58,\"abbreviation\":\"APECS\",\"title\":\"Association for Professional Executive Coaching and Supervision\"},\"64\":{\"enabled\":true,\"id\":64,\"abbreviation\":\"APCP\",\"title\":\"Association of Professional Counsellors and Psychotherapists\"},\"66\":{\"enabled\":true,\"id\":66,\"abbreviation\":\"ISST\",\"title\":\"International Society of Schema Therapy\"},\"50\":{\"enabled\":false,\"id\":50,\"abbreviation\":\"ACCPH (NO LONGER ACCEPTED)\",\"title\":\"Accredited Counsellors, Coaches, Psychotherapists and Hypnotherapists (no longer accepted for new therapists)\"},\"36\":{\"enabled\":false,\"id\":36,\"abbreviation\":\"FDAP (NOW AP)\",\"title\":\"Federation of Drug and Alcohol Practitioners\"},\"18\":{\"enabled\":true,\"id\":18,\"abbreviation\":\"AP (PREVIOUSLY SMMGP/FDAP)\",\"title\":\"Addiction Professionals\"},\"35\":{\"enabled\":false,\"id\":35,\"abbreviation\":\"NCIP\",\"title\":\"National Council of Integrative Psychotherapists (previously NCP)\"},\"65\":{\"enabled\":false,\"id\":65,\"abbreviation\":\"NAPCP\",\"title\":\"Irish National Association for Professional Counselling \\u0026 Psychotherapy\"},\"21\":{\"enabled\":false,\"id\":21,\"abbreviation\":\"AFSFH\",\"title\":\"Association for Solution Focused Hypnotherapy\"},\"33\":{\"enabled\":false,\"id\":33,\"abbreviation\":\"ICF\",\"title\":\"International Coach Federation\"}}\n\nexport const EMPTY_SEARCH_FILTERS = {\"specialism\":null,\"gender\":\"any\",\"approach\":null,\"clientType\":null,\"locationType\":null,\"locationWithin\":null,\"location\":{\"latitude\":null,\"longitude\":null,\"formattedAddress\":null},\"locationWheelchairAccessible\":false,\"fees\":\"0,500\",\"sort\":\"rank\",\"times\":null,\"dates\":null,\"therapist\":[],\"title\":null,\"language\":null,\"therapyTypes\":null,\"accreditation\":null,\"experienceYears\":null,\"bio\":null,\"includeUnapproved\":false,\"excludeNotAllowingNewClient\":false,\"freeSupportSessions\":null,\"averageSessionsPerRelationship\":null,\"stripeConnected\":true,\"withAvailability\":true,\"revenuePerClient\":null,\"clientCountry\":null,\"nameEmailPhone\":null,\"clientCountryIncludeAll\":null,\"returningPercentage\":null}\n\nexport const EMAIL_REGEX = /^(([^\\s\"(),.:;<>@[\\\\\\]]+(\\.[^\\s\"(),.:;<>@[\\\\\\]]+)*)|(\".+\"))@((\\[(?:\\d{1,3}\\.){3}\\d{1,3}])|(([\\dA-Za-z\\-]+\\.)+[A-Za-z]{2,}))$/\nexport const PASSWORD_REGEX = /^(?=.*[A-Za-z])(?=.*\\d)[\\dA-Za-z]{8,128}$/\n\nexport const ASSESSMENT_QUERY_SCHEMA = [{\"name\":\"state\",\"values\":[\"complete\",\"incomplete\",\"not_started\"]},{\"name\":\"type\",\"values\":[\"initial\",\"progress\"]}]\n","// extracted by mini-css-extract-plugin\nexport default {\"base\":\"-cm_e11e520f\",\"primaryButton\":\"-cm_cca3d973\",\"secondaryButton\":\"-cm_4a1c31a7\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"-cm_7007b6fc\",\"base\":\"-cm_df972af8\",\"body\":\"-cm_c179b36f\",\"window\":\"-cm_d5eff2b6\",\"loading\":\"-cm_be335dbe\",\"ballClipRotateMultipleRotate\":\"-cm_5427712f\",\"disabled\":\"-cm_32f208b2\",\"disabledLoading\":\"-cm_f9c0c511 -cm_32f208b2\"};","import { deepEqual } from 'fast-equals'\nimport humps from 'humps'\n\nexport const createUseFetch = fetch => {\n  // Create a set of caches for this hook.\n  const caches = []\n\n  function useFetch(input, init, options = {}) {\n    const { metadata = false, lifespan = 0 } = options\n\n    // Check each cache by this useFetch hook.\n    for (const cache of caches) {\n      // If this cache matches the request,\n      if (deepEqual(input, cache.input) && deepEqual(init, cache.init)) {\n        // If an error occurred, throw it so that componentDidCatch can handle it.\n        if (Object.prototype.hasOwnProperty.call(cache, 'error')) {\n          throw cache.error\n        }\n\n        // If a response was successful, return it.\n        if (Object.prototype.hasOwnProperty.call(cache, 'response')) {\n          if (metadata) {\n            return {\n              bodyUsed: cache.bodyUsed,\n              contentType: cache.contentType,\n              headers: cache.headers,\n              ok: cache.ok,\n              redirected: cache.redirected,\n              response: cache.response,\n              status: cache.status,\n              statusText: cache.statusText,\n              url: cache.url\n            }\n          }\n\n          return cache.response\n        }\n\n        // If we are still waiting, throw the Promise so that Suspense can fallback.\n        throw cache.fetch\n      }\n    }\n\n    // If no request in the cache matched this one, create a new cache entry.\n    const cache = {\n      // Make the fetch request.\n      fetch: fetch(input, init)\n        .then(response => {\n          if (response instanceof Response === false) return response\n\n          cache.contentType = response.headers.get('Content-Type')\n\n          if (metadata) {\n            cache.bodyUsed = response.bodyUsed\n            cache.headers = response.headers\n            cache.ok = response.ok\n            cache.redirected = response.redirected\n            cache.status = response.status\n            cache.statusText = response.statusText\n          }\n\n          if (cache.contentType && cache.contentType.includes('application/json')) {\n            if (response.status === 204) return ''\n\n            return response.json().then(data => humps.camelizeKeys(data))\n          }\n\n          return response.text()\n        })\n\n        // Cache the response.\n        .then(response => {\n          cache.response = response\n        })\n\n        // Handle an error.\n        .catch(error => {\n          cache.error = error\n        })\n\n        // Invalidate the cache.\n        .then(() => {\n          if (lifespan > 0) {\n            setTimeout(() => {\n              const index = caches.indexOf(cache)\n              index !== -1 && caches.splice(index, 1)\n            }, lifespan)\n          }\n        }),\n      init,\n      input\n    }\n\n    caches.push(cache)\n\n    throw cache.fetch\n  }\n\n  return useFetch\n}\n\nexport default createUseFetch()\n","import { useMemo } from 'react'\n\nconst breakpoints = {\n  phone: 320,\n  largephone: 425,\n  tablet: 768,\n  desktop: 1024,\n  largedesktop: 1440\n}\n\nconst DEVICES = {\n  mobile: `(max-width: ${breakpoints.tablet - 1}px)`,\n  tablet: `(min-width: ${breakpoints.tablet}px) and (max-width: ${breakpoints.desktop - 1}px)`,\n  desktop: `(min-width: ${breakpoints.desktop}px)`\n}\n\nexport default (...devices) =>\n  useMemo(() => {\n    return devices.some(device => window.matchMedia(DEVICES[device]).matches)\n  }, [devices])\n","import { setExtra } from '@sentry/react'\nimport { camelizeKeys, decamelizeKeys } from 'humps'\nimport { store } from 'ibiza'\nimport { isEmpty, isPlainObject, set } from 'lodash'\n\nimport { createUseFetch } from '../hooks/use_fetch.js'\n\nconst responseTypes = {\n  json: 'application/json',\n  text: 'text/*',\n  formData: 'multipart/form-data',\n  arrayBuffer: '*/*',\n  blob: '*/*'\n}\n\nconst requestMethods = new Set(['get', 'post', 'put', 'patch', 'head', 'delete'])\n\nexport class FetchError extends Error {\n  constructor(request, requestOptions, response = null, options = {}) {\n    super(response?.statusText || options.cause?.message || response?.status, { ...options })\n\n    this.name = 'FetchError'\n\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, this.constructor)\n    } else if (response) {\n      this.stack = new Error(response.statusText).stack\n    }\n\n    const requestHeaders = {}\n    for (let pair of request.headers.entries()) {\n      requestHeaders[pair[0]] = pair[1]\n    }\n\n    setExtra('fetchRequest', {\n      url: request.url,\n      method: requestOptions.method || request.method,\n      searchParams: requestOptions.searchParams,\n      body: requestOptions.bodyParams,\n      requestHeaders\n    })\n\n    this.response = response\n    this.request = request\n    this.isCriticalError = false\n    this.isServerError = false // A server error is one with an HTTP status of 5**.\n    this.isClientError = false // A client error is one with an HTTP status of 4**.\n    this.isHandled = false // Has the error been handled with a presented error message.\n\n    if (response) {\n      const ignoreHeaders = new Set(['server-timing'])\n      const responseHeaders = {}\n      for (let pair of response.headers.entries()) {\n        if (ignoreHeaders.has(pair[0])) continue\n\n        responseHeaders[pair[0]] = pair[1]\n      }\n\n      setExtra('fetchResponse', {\n        ok: response.ok,\n        redirected: response.redirected,\n        status: response.status,\n        statusText: response.statusText,\n        type: response.type,\n        responseHeaders\n      })\n\n      if (response.status >= 400 && response.status < 500) {\n        if (response.status === 401 || response.status === 429) {\n          // Unauthorised or rate limited, so force user to reload and login again.\n          this.isCriticalError = true\n        }\n\n        this.isClientError = true\n      } else if (response.status >= 500) {\n        this.isServerError = true\n      }\n    } else {\n      this.isCriticalError = true\n    }\n  }\n}\n\n// Wraps the browser's `fetch()` with a few bells and whistles:\n// - Sets `credentials` to 'same-origin`.\n// - Sets `'X-Requested-With': 'XMLHttpRequest'` header for Rails compat.\n// - Throws a `FetchError` if the response is not `ok`.\n//\n// Returns a Response object with Body methods added for convenience. So you can, for example, call\n// fetch(input).json() directly without having to await the Response first. When called like that,\n// an appropriate Accept header will be set depending on the body method used. Unlike the Body\n// methods of window.Fetch; these will throw an FetchError if the response status is not in the\n// range of 200...299. Also, .json() will return an empty string if the response status is 204\n// instead of throwing a parse error due to an empty body.\n//\n// It has an almost identical API signature, with these additional options as part of the `init`\n// argument:\n//\n// - handleClientError?: Boolean - When true, will present a pretty error message to the user upon a\n//   client error. (default: true)\n// - handleServerError?: Boolean - When true, will present a pretty error message to the user upon a\n//   server error. (default: true)\n// - handleError?: Boolean - When true, will present a pretty error message to the user upon any\n//   error. (default: true)\n// - isCritical?: Boolean - If true, will present any error as a critical one, resulting in an\n//   undismissable alert. (default: false)\n// - searchParams?: Object - Search parameters to include in the request URL. Setting this will\n//   override all existing search parameters in the `resource`.\n// - buildRequest?: Function - A function that will be called with the `url` and `options`, and\n//   should return a `Request` object.\nconst htFetch = (resource, init) => {\n  const options = {\n    // Custom options\n    handleClientError: true,\n    handleServerError: true,\n    handleError: true,\n    searchParams: null,\n    isCritical: false,\n\n    // Fetch options (defaults)\n    credentials: 'same-origin',\n\n    // Ensure all works well with browser history, ie. avoiding incorrect cached fetches when\n    // clicking back.\n    cache: 'no-cache',\n    headers: {\n      'X-Requested-With': 'XMLHttpRequest',\n      'X-CSRF-Token': '',\n      Accept: 'application/json',\n      'Content-Type': 'application/json'\n    },\n\n    ...init\n  }\n\n  let { searchParams, method, buildRequest } = options\n  const { handleError, handleClientError, handleServerError, isCritical } = options\n\n  if (typeof document !== 'undefined') {\n    let token = document.getElementsByName('csrf-token')[0]\n    if (token) options.headers['X-CSRF-Token'] = token.getAttribute('content')\n\n    // Fetch the therapist/client id from the meta tag, and assign as a header. This allows global\n    // access to the current user.\n    let therapistId = document.getElementsByName('htp:therapist_id')[0]\n    if (therapistId) options.headers['X-Therapist-Id'] = therapistId.getAttribute('content')\n\n    let clientId = document.getElementsByName('htp:client_id')[0]\n    if (clientId) options.headers['X-Client-Id'] = clientId.getAttribute('content')\n  }\n\n  // Make sure method value is uppercase to avoid casing issues on server.\n  options.method = requestMethods.has(method) ? method.toUpperCase() : method\n\n  let bodyParams = {}\n  if (options.body) {\n    let { body } = options\n\n    if (!isPlainObject(body)) {\n      if (body instanceof FormData) {\n        for (const [name, value] of body.entries()) {\n          body = set(body, name, value)\n        }\n      } else {\n        for (const [name, value] of body) {\n          body = set(body, name, value)\n        }\n      }\n    }\n\n    bodyParams = decamelizeKeys(body)\n\n    // Convert keys to snake case (underscored).\n    options.body = JSON.stringify(bodyParams)\n  }\n\n  const url = new URL(resource, location.origin)\n\n  // Assign `searchParams` to the `resource`.\n  if (searchParams) {\n    // Convert param keys to snake case (underscored).\n    searchParams = decamelizeKeys(searchParams)\n\n    url.search = new URLSearchParams(searchParams)\n  }\n\n  resource = buildRequest ? buildRequest(url, options) : new Request(url)\n\n  function initFetchError({ error, response }) {\n    return new FetchError(resource.clone(), { ...options, bodyParams, searchParams }, response, {\n      cause: error\n    })\n  }\n\n  function buildFetchError(error, response) {\n    if (!(error instanceof FetchError)) {\n      error = initFetchError({ error, response })\n    }\n\n    if (handleError) {\n      if (error.isClientError) {\n        handleClientError && presentFailure(error, { isCritical })\n      } else if (error.isServerError) {\n        handleServerError && presentFailure(error, { isCritical })\n      } else {\n        presentFailure(error, { isCritical })\n      }\n    }\n\n    return error\n  }\n\n  const result = fetch(resource, options)\n    .catch(error => {\n      throw buildFetchError(error)\n    })\n    .then(response => {\n      if (!response.ok) {\n        const error = initFetchError({ response: response.clone() })\n\n        if (error.isClientError) {\n          const contentType = response.headers.get('Content-Type')\n          if (contentType?.includes('application/json')) {\n            return response\n              .json()\n              .catch(() => {\n                handleError && handleClientError && presentFailure(error, { isCritical })\n                throw error\n              })\n              .then(data => {\n                // TODO: The server will sometimes have already camelised the keys, but we currently\n                // have no way of knowing that. So for now - and because we always want camelised\n                // keys - we have to camelise them again here.\n                error.responseData = camelizeKeys(data)\n                handleError && handleClientError && presentFailure(error, { isCritical })\n                throw error\n              })\n          }\n        }\n\n        throw buildFetchError(error)\n      }\n\n      return response\n    })\n\n  for (const [type, mimeType] of Object.entries(responseTypes)) {\n    result[type] = async () => {\n      resource.headers.set('accept', resource.headers.get('accept') || mimeType)\n      // eslint-disable-next-line unicorn/no-await-expression-member\n      const response = (await result).clone()\n\n      if (type === 'json') {\n        if (response.status === 204) return ''\n\n        // TODO: The server will sometimes have already camelised the keys, but we currently have no\n        // way of knowing that. So for now - and because we always want camelised keys - we have to\n        // camelise them again here.\n        try {\n          const json = await response.json()\n          return camelizeKeys(json)\n        } catch (error) {\n          throw buildFetchError(error, response)\n        }\n      }\n\n      return response[type]()\n    }\n  }\n\n  return result\n}\n\nexport default htFetch\n\nexport const useFetch = createUseFetch(htFetch)\n\nexport const presentFailure = async (error, options = {}) => {\n  let msg = []\n  let title\n\n  if (options.message) {\n    msg = [options.message]\n  } else if (error.isServerError) {\n    msg.push(\n      `There was a problem with this request (${error.response.statusText}).`,\n      'Most likely this is a problem on our end and we are looking into it as we speak.'\n    )\n  } else if (error.isClientError) {\n    const contentType = error.response.headers.get('Content-Type')\n    if (contentType?.includes('application/json')) {\n      const data = error.responseData\n\n      if (data?.errors && !isEmpty(data.errors)) {\n        if (!options.title) {\n          title = 'Ooops!'\n          msg.push(\n            'We are unable to continue as there is something not quite right with what you',\n            'told us. Please check and rectify the following and try again.</p><p>'\n          )\n        }\n\n        const errors = Array.isArray(data.errors) ? data.errors[0] : data.errors\n        if (errors.base) {\n          msg.push(errors.base[0])\n        } else {\n          msg.push(errors[Object.keys(errors)[0]][0])\n        }\n      }\n    }\n  }\n\n  if (msg.length === 0) {\n    msg.push(\n      'Apologies, but we have been unable to continue with this request.',\n      'Most likely this is a problem on our end and we are looking into it as we speak.',\n      '</p><p>Details: <code>',\n      error.message,\n      '</code>'\n    )\n  }\n\n  store.state.fetchError = {\n    error,\n    title: title || options.title,\n    htmlContent: `<p>${msg.join(' ')}</p>`,\n    canClose: !(error.isCriticalError || options.isCritical),\n    onExit: () => {\n      delete store.state.fetchError\n    }\n  }\n\n  error.isHandled = true\n\n  return error\n}\n","export default function (error) {\n  return error?.name === 'ChunkLoadError' || error?.code === 'CSS_CHUNK_LOAD_FAILED'\n}\n","import { createModel } from 'ibiza'\n\nexport default createModel('sheets', () => ({\n  instances: {},\n\n  toggle(_, id, isOpen) {\n    this.instances[id] = isOpen\n  }\n}))\n","import { createContext, useContext } from 'react'\n\nimport useModel from './model'\n\nexport const SheetContext = createContext({ id: undefined })\n\nexport const useSheetId = idFromArg => {\n  const { id: idFromContext } = useContext(SheetContext)\n  return idFromArg || idFromContext\n}\n\nexport const useSheet = idFromArg => {\n  const id = useSheetId(idFromArg)\n  const model = useModel()\n\n  if (!id) throw new Error('useSheet() requires a unique instance ID')\n\n  return {\n    id,\n    isSheetOpen: model.instances[id],\n    toggleSheet: isOpen => model.toggle(id, isOpen)\n  }\n}\n"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","all","slice","keys","Object","module","exports","Fallback","contentLoader","useEffect","remove","_jsx","style","height","dangerouslySetInnerHTML","__html","outerHTML","EntryComponent","domElement","componentPath","comp","matchedMedia","useMatchMedia","props","onlyDevice","hasChildNodes","firstElementChild","createPortal","Suspense","fallback","children","createElement","component","pageLoader","document","querySelector","SuspenseFallback","display","_Fragment","_Fragment2","LinkComponentManager","components","setComponents","useState","clickListener","useCallback","event","ele","target","nodeName","closest","href","attributes","value","startsWith","preventDefault","replace","endsWith","state","some","c","element","camelizeKeys","dataset","JSON","parse","concat","lazy","onUnmount","s","filter","body","addEventListener","removeEventListener","_SuspenseFallback","i","key","ObservedComponent","isVisible","setIsVisible","observer","useMemo","IntersectionObserver","entries","forEach","entry","isIntersecting","observe","unobserve","Sheeted","onExit","toggleSheet","useSheet","Component","history","listen","location","route","window","reactComponentRoutes","pathname","undefined","Sheet","isOpen","RouteManager","previousPathRef","useRef","addComponent","name","includes","push","x","current","enableIntercom","hostname","process","IntercomWidget","loadChat","useChat","loadWhenIdle","intercomSettings","hide_default_launcher","open","_Intercom","Intercom","color","FetchErrorModal","fetchError","useIbiza","ErrorModal","ComponentManager","_jsxs","ErrorBoundary","_FetchErrorModal","Toaster","toastOptions","duration","success","fontSize","borderRadius","backgroundColor","error","_RouteManager","_LinkComponentManager","renderImmediately","LiveChatLoaderProvider","providerKey","provider","beforeInit","beforeIntercomInit","onReady","onIntercomReady","_IntercomWidget","init","dsn","integrations","browserTracingIntegration","replayIntegration","workerUrl","release","environment","HTP_ENV_FULL","replaysSessionSampleRate","replaysOnErrorSampleRate","tracesSampler","beforeSend","hints","originalException","isChunkLoadError","FetchError","isHandled","exception","values","length","mechanism","handled","denyUrls","ignoreErrors","userData","fromMetaData","userKey","metaKey","getElementsByName","getAttribute","setUser","store","debug","fetchFn","res","opts","fetch","handleError","isCritical","json","querySelectorAll","data","searchParams","headers","Accept","text","catch","captureMessage","rootMargin","rootEle","append","root","createRoot","Array","from","render","onError","errorHandler","componentStack","withScope","errorBoundaryError","message","stack","cause","eventId","captureException","contexts","react","fallbackRender","FallbackComponent","ReactErrorBoundary","innerStyle","padding","Footer","canClose","toggleModal","useModal","className","modalFooterStyles","base","Button","onClick","reload","secondaryButton","_Fragment3","title","content","Modal","header","paddingLeft","fontWeight","footer","htmlContent","forwardRef","size","isLoading","ref","classNames","styles","_loading","disabled","defaultProps","type","createModel","instances","toggle","_","this","ModalContext","createContext","idFromArg","idFromContext","useContext","useModalId","model","useModel","isModalOpen","Container","onClose","loading","transitions","Provider","CSSTransition","in","mountOnEnter","unmountOnExit","onExited","timeout","_div","disabledStyle","disabledLoading","disabledLoadingStyle","container","containerStyle","loadingStyle","windowStyle","isDisabled","openFrom","containerRef","isSheetOpen","baseStyle","autoTransitions","bottomTransitions","rightTransitions","leftTransitions","onOutsideClick","SheetContext","onEnter","classList","_div2","_div3","IntersectionSuspense","inView","useInView","triggerOnce","ReactSuspense","SuspenseContext","useSuspended","SmartSuspense","renderOnIntersection","renderEachOnIntersection","_Fallback","suspended","setSuspended","isArray","child","HTP_ENV","DISABLE_OFFLINE_LOCATIONS","REQUIRE_COVID19_SECURE","DISPLAY_PASSCODE","LOCATION_VIDEO_NAMES","LOCATION_CHAT_NAMES","LOCATION_OTHER_NAMES","LOCATION_VIDEO_TYPES","LOCATION_CHAT_TYPES","LOCATION_OTHER_TYPES","label","flatType","CLIENT_TYPE_LABELS","PROFESSIONAL_BODIES","EMPTY_SEARCH_FILTERS","EMAIL_REGEX","PASSWORD_REGEX","ASSESSMENT_QUERY_SCHEMA","createUseFetch","caches","input","options","metadata","lifespan","cache","deepEqual","prototype","hasOwnProperty","call","bodyUsed","contentType","ok","redirected","response","status","statusText","url","Response","get","humps","setTimeout","index","indexOf","splice","DEVICES","mobile","tablet","desktop","devices","device","matchMedia","matches","responseTypes","formData","arrayBuffer","blob","requestMethods","Set","constructor","request","requestOptions","super","captureStackTrace","requestHeaders","pair","setExtra","method","bodyParams","isCriticalError","isServerError","isClientError","ignoreHeaders","responseHeaders","has","htFetch","resource","handleClientError","handleServerError","credentials","buildRequest","token","therapistId","clientId","toUpperCase","isPlainObject","FormData","set","decamelizeKeys","stringify","URL","origin","initFetchError","clone","buildFetchError","presentFailure","search","URLSearchParams","Request","result","responseData","mimeType","async","useFetch","msg","errors","isEmpty","join","useSheetId"],"sourceRoot":""}