{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/modules sync Nav.ts$/","webpack:///./src/events.ts","webpack:///./src/queries.ts","webpack:///./src/components/Loading/FullScreenLoading.vue?f41b","webpack:///./src/modules/courses/Nav.ts","webpack:///./src/utilities/quickbooks.ts","webpack:///./src/components/Checkboxes/TwCheckbox.vue?b54a","webpack:///./src/assets/images/hyde-park-art-center-logo.png","webpack:///./src/utilities/queryAll.js","webpack:///./src/utilities/exportFields.js","webpack:///./src/layouts/AuthLayout.vue?61af","webpack:///./src/layouts/AuthLayout.vue","webpack:///./src/layouts/AuthLayout.vue?c2bd","webpack:///./src/components/Badges/HouseholdIncomeInfoChip.vue","webpack:///./src/components/Badges/HouseholdIncomeInfoChip.vue?c0aa","webpack:///./src/modules/accountConfirmation/AccountConfirmation.vue?362c","webpack:///./src/modules/dashboard/routes.ts","webpack:///./src/store/appliedFiltersStore.ts","webpack:///./src/modules/settings/components/SelectList.vue?8671","webpack:///./src/modules/settings/Nav.ts","webpack:///./src/modules/courseSearch/Nav.ts","webpack:///./src/utilities/queryUntilLimitReached.ts","webpack:///./src/store/valueListStore.ts","webpack:///./src/modules/students/Nav.ts","webpack:///./src/components/InputGroups/TwInput.vue?d128","webpack:///./src/modules/students/queries.ts","webpack:///./src/modules/students/StudentsMain.vue","webpack:///./src/modules/students/StudentsMain.vue?69a2","webpack:///./src/modules/students/studentDetail/RegisteredCourses.vue","webpack:///./src/modules/students/studentDetail/RegisteredCourses.vue?dd75","webpack:///./src/modules/students/studentDetail/queries.ts","webpack:///./src/modules/students/studentDetail/StudentEmails.vue","webpack:///./src/modules/students/studentDetail/StudentEmails.vue?52f7","webpack:///./src/modules/students/studentDetail/RelatedStudents.vue","webpack:///./src/modules/students/studentDetail/RelatedStudents.vue?cb1f","webpack:///./src/modules/students/studentDetail/mutations.ts","webpack:///./src/modules/students/studentDetail/StudentDetails.vue","webpack:///./src/modules/students/studentDetail/StudentDetails.vue?83e1","webpack:///./src/modules/students/config.ts","webpack:///./src/modules/instructors/routes.ts","webpack:///./src/components/Navbar/TwNavbar.vue?ff21","webpack:///./src/modules/courseSearch/mutations.ts","webpack:///./src/modules/courseSearch/components/CourseRegistration.vue","webpack:///./src/modules/courseSearch/components/CourseRegistration.vue?44b5","webpack:///./src/components/OpenArtsInfoChip/OpenArtsInfoChip.vue","webpack:///./src/components/OpenArtsInfoChip/OpenArtsInfoChip.vue?6a4b","webpack:///./src/modules/courseSearch/queries.ts","webpack:///./src/graphql/mutations.ts","webpack:///./src/modules/courseSearch/components/CourseCard.vue","webpack:///./src/modules/courseSearch/components/CourseCard.vue?448c","webpack:///./src/modules/courseSearch/CourseSearch.vue","webpack:///./src/modules/courseSearch/CourseSearch.vue?8edf","webpack:///./src/modules/courseSearch/components/LargeCourseCard.vue","webpack:///./src/modules/courseSearch/components/LargeCourseCard.vue?ed7c","webpack:///./src/modules/courseSearch/CourseRegistrationDetails.vue","webpack:///./src/modules/courseSearch/CourseRegistrationDetails.vue?d1e5","webpack:///./src/modules/courseSearch/config.ts","webpack:///./src/store/userStore.ts","webpack:///./src/modules/myAccount/queries.ts","webpack:///./src/modules/myAccount/MyAccount.vue","webpack:///./src/modules/myAccount/MyAccount.vue?261f","webpack:///./src/modules/myAccount/config.ts","webpack:///./src/modules/myAccount/mutations.ts","webpack:///./src/modules/myAccount/components/ContactInfo.vue","webpack:///./src/modules/myAccount/components/ContactInfo.vue?6273","webpack:///./src/modules/myAccount/components/EmailPassword.vue","webpack:///./src/modules/myAccount/components/EmailPassword.vue?53bf","webpack:///./src/modules/myAccount/components/PersonalInfo.vue","webpack:///./src/modules/myAccount/components/PersonalInfo.vue?cf26","webpack:///./src/modules/myAccount/components/RelatedAccountDetails.vue","webpack:///./src/modules/myAccount/components/RelatedAccountDetails.vue?6b1d","webpack:///./src/modules/myAccount/components/RelatedAccounts.vue","webpack:///./src/modules/myAccount/components/RelatedAccounts.vue?9953","webpack:///./src/modules/myAccount/routes.ts","webpack:///./src/modules/accountConfirmation/AccountConfirmation.vue?0a4a","webpack:///./src/modules/accountConfirmation/AccountConfirmation.vue?bec2","webpack:///./src/modules/accountConfirmation/config.ts","webpack:///./src/modules/accountConfirmation/routes.ts","webpack:///./src/modules/instructors/queries.ts","webpack:///./src/modules/instructors/InstructorCoursesMain.vue","webpack:///./src/modules/instructors/InstructorCoursesMain.vue?2831","webpack:///./src/modules/instructors/components/RegisteredStudents.vue","webpack:///./src/modules/instructors/components/RegisteredStudents.vue?e417","webpack:///./src/modules/instructors/mutations.ts","webpack:///./src/modules/instructors/components/ClassAttendance.vue","webpack:///./src/modules/instructors/components/ClassAttendance.vue?6e80","webpack:///./src/modules/instructors/components/InstructorCourseDetails.vue","webpack:///./src/modules/instructors/components/InstructorCourseDetails.vue?c812","webpack:///./src/modules/instructors/config.ts","webpack:///./src/modules/courses/mutations.ts","webpack:///./src/modules/courses/ConfirmationModal.vue","webpack:///./src/modules/courses/ConfirmationModal.vue?33fc","webpack:///./src/modules/courses/queries.ts","webpack:///./src/modules/courses/CoursesMain.vue","webpack:///./src/modules/courses/CoursesMain.vue?5e28","webpack:///./src/modules/courses/courseDetails/queries.ts","webpack:///./src/modules/courses/courseDetails/mutations.ts","webpack:///./src/modules/courses/courseDetails/components/CourseTuitionSettings.vue","webpack:///./src/modules/courses/courseDetails/components/CourseTuitionSettings.vue?56df","webpack:///./src/modules/courses/courseDetails/components/ClassScheduler.vue","webpack:///./src/modules/courses/courseDetails/components/ClassScheduler.vue?d1fd","webpack:///./src/modules/courses/courseDetails/components/ConfirmationLetterSettings.vue","webpack:///./src/modules/courses/courseDetails/components/ConfirmationLetterSettings.vue?9dc3","webpack:///./src/modules/courses/courseDetails/components/OnlineRegistration.vue","webpack:///./src/modules/courses/courseDetails/components/OnlineRegistration.vue?ed5f","webpack:///./src/API.ts","webpack:///./src/modules/courses/courseDetails/components/RegisterStudentModal.vue","webpack:///./src/modules/courses/courseDetails/components/RegisterStudentModal.vue?4b6e","webpack:///./src/modules/courses/courseDetails/components/CourseRegistrations.vue","webpack:///./src/modules/courses/courseDetails/components/CourseRegistrations.vue?9f3b","webpack:///./src/modules/courses/courseDetails/components/CourseAttendance.vue","webpack:///./src/modules/courses/courseDetails/components/CourseAttendance.vue?04b1","webpack:///./src/modules/courses/courseDetails/components/QuickbooksSettings.vue","webpack:///./src/modules/courses/courseDetails/components/QuickbooksSettings.vue?e6ce","webpack:///./src/modules/courses/courseDetails/CourseDetails.vue","webpack:///./src/modules/courses/courseDetails/CourseDetails.vue?df10","webpack:///./src/modules/courses/config.ts","webpack:///./src/modules/studentCourses/routes.ts","webpack:///./src/utilities/valueLists.js","webpack:///./src/modules/instructors/Nav.ts","webpack:///./src/modules/login/queries.ts","webpack:///./src/modules/accountCreation/mutations.ts","webpack:///./src/modules/accountCreation/MigrateAccountDetails.vue","webpack:///./src/modules/accountCreation/MigrateAccountDetails.vue?e344","webpack:///./src/modules/login/components/LoginForm.vue","webpack:///./src/modules/login/components/LoginForm.vue?fc1d","webpack:///./src/modules/login/components/ResetPasswordForm.vue","webpack:///./src/modules/login/components/ResetPasswordForm.vue?0ea5","webpack:///./src/modules/login/LoginMain.vue","webpack:///./src/modules/login/LoginMain.vue?c071","webpack:///./src/modules/login/config.ts","webpack:///./src/modules/login/routes.ts","webpack:///./src/layouts/MainLayout.vue?4d65","webpack:///./src/modules/courseSearch/routes.ts","webpack:///./src/modules/settings/Settings.vue","webpack:///./src/modules/settings/Settings.vue?2a57","webpack:///./src/modules/settings/config.ts","webpack:///./src/components/Slider/TwSlider.vue?b9a0","webpack:///./src/modules/studentCourses/Nav.ts","webpack:///./src/modules/courses/routes.ts","webpack:///./src/store/adminFiltersStore.ts","webpack:///./src/components/Modals/EmailModal.vue?72e8","webpack:///./src/modules/accountCreation/CreateAccount.vue","webpack:///./src/modules/accountCreation/CreateAccount.vue?5e57","webpack:///./src/modules/accountCreation/config.ts","webpack:///./src/modules/accountCreation/routes.ts","webpack:///./src/utilities/api.ts","webpack:///./src/components/Footer/TwFooter.vue","webpack:///./src/components/Footer/TwFooter.vue?7cdb","webpack:///./src/layouts/MainLayout.vue?a1f6","webpack:///./src/layouts/MainLayout.vue?0e0b","webpack:///./src/App.vue","webpack:///./src/App.vue?8ecf","webpack:///./src/router/index.ts","webpack:///./src/components/DataDisplay/DataDisplay.vue","webpack:///./src/components/DataDisplay/DataDisplay.vue?c801","webpack:///./src/components/DataDisplay/DescriptionListItem.vue","webpack:///./src/components/DataDisplay/DescriptionListItem.vue?d652","webpack:///./src/components/Badges/TwBadge.vue","webpack:///./src/components/Badges/TwBadge.vue?adf7","webpack:///./src/components/Buttons/TwButton.vue","webpack:///./src/components/Buttons/TwButton.vue?ae92","webpack:///./src/components/Checkboxes/TwCheckbox.vue?b2cb","webpack:///./src/components/Checkboxes/TwCheckbox.vue?5729","webpack:///./src/components/SelectMenus/TwSelect.vue?be45","webpack:///./src/components/SelectMenus/TwSelect.vue?b1fb","webpack:///./src/components/InputGroups/TwInput.vue?aae1","webpack:///./src/components/InputGroups/TwInput.vue?8e8f","webpack:///./src/components/InputGroups/TwConfirmationCode.vue","webpack:///./src/components/InputGroups/TwConfirmationCode.vue?8aec","webpack:///./src/components/Tables/TwTable.vue","webpack:///./src/components/Tables/TwTable.vue?353d","webpack:///./src/components/Loading/TwLoading.vue","webpack:///./src/components/Loading/TwLoading.vue?3a9a","webpack:///./src/components/Navbar/TwNavbar.vue?f12a","webpack:///./src/components/Navbar/TwNavbar.vue?e629","webpack:///./src/components/Slider/TwSlider.vue?0027","webpack:///./src/components/Slider/TwSlider.vue?8d45","webpack:///./src/components/Dropdowns/TwDropdown.vue","webpack:///./src/components/Dropdowns/TwDropdown.vue?59eb","webpack:///./src/components/Modals/StudentNotesModal.vue","webpack:///./src/components/Modals/StudentNotesModal.vue?e6c8","webpack:///./src/components/Modals/mutations.ts","webpack:///./src/components/Modals/queries.ts","webpack:///./src/components/Modals/EmailModal.vue?35d2","webpack:///./src/components/Modals/EmailModal.vue?fe91","webpack:///./src/components/Modals/AttendanceModal.vue","webpack:///./src/components/Modals/AttendanceModal.vue?377b","webpack:///./src/components/Modals/EmailDisplayModal.vue","webpack:///./src/components/Modals/EmailDisplayModal.vue?a6bf","webpack:///./src/components/Loading/FullScreenLoading.vue?d8b5","webpack:///./src/components/Loading/FullScreenLoading.vue","webpack:///./src/components/Loading/FullScreenLoading.vue?d4f0","webpack:///./src/components/Notifications/TwNotification.vue","webpack:///./src/components/Notifications/TwNotification.vue?4d30","webpack:///./src/components/Tables/TwTableDropdown.vue","webpack:///./src/components/Tables/event.ts","webpack:///./src/components/Tables/TwTableColumn.vue","webpack:///./src/components/Tables/TwTableColumn.vue?951c","webpack:///./src/components/Tables/TwTableRow.vue","webpack:///./src/components/Tables/TwTableRow.vue?97b7","webpack:///./src/components/Tables/TwTableHeader.vue","webpack:///./src/components/Tables/TwTableHeader.vue?bb13","webpack:///./src/components/Export/mutations.ts","webpack:///./src/components/Export/queries.ts","webpack:///./src/components/Export/TwExport.vue","webpack:///./src/components/Export/TwExport.vue?1cea","webpack:///./src/aws-exports.js","webpack:///./src/main.ts","webpack:///./src/store/systemStore.ts","webpack:///./src/modules/settings/components/ConfirmationLetter.vue?9a53","webpack:///./src/modules sync routes.ts$/","webpack:///./src/modules/studentCourses/queries.ts","webpack:///./src/modules/studentCourses/components/MyCourseCard.vue","webpack:///./src/modules/studentCourses/components/MyCourseCard.vue?6c7e","webpack:///./src/modules/studentCourses/StudentCoursesMain.vue","webpack:///./src/modules/studentCourses/StudentCoursesMain.vue?5429","webpack:///./src/modules/studentCourses/config.ts","webpack:///./src/modules/settings/queries.ts","webpack:///./src/modules/settings/mutations.ts","webpack:///./src/modules/settings/components/RootCourses/components/RootCourseCreator.vue","webpack:///./src/modules/settings/components/RootCourses/components/RootCourseCreator.vue?f9c5","webpack:///./src/modules/settings/components/RootCourses.vue","webpack:///./src/modules/settings/components/RootCourses.vue?6695","webpack:///./src/modules/settings/components/RootCoursesDetails.vue","webpack:///./src/modules/settings/components/RootCoursesDetails.vue?8965","webpack:///./src/modules/settings/components/Instructors.vue","webpack:///./src/modules/settings/components/Instructors.vue?237a","webpack:///./src/modules/settings/components/SelectListOption.vue","webpack:///./src/modules/settings/components/SelectListOption.vue?87f0","webpack:///./src/modules/settings/components/SelectList.vue?e51d","webpack:///./src/modules/settings/components/SelectList.vue?1480","webpack:///./src/modules/settings/components/DropDownValues.vue","webpack:///./src/modules/settings/components/DropDownValues.vue?7150","webpack:///./src/modules/settings/components/Quickbooks.vue","webpack:///./src/modules/settings/components/Quickbooks.vue?d554","webpack:///./src/modules/settings/components/ConfirmationLetter.vue?26d3","webpack:///./src/modules/settings/components/ConfirmationLetter.vue?87ef","webpack:///./src/modules/settings/components/Registration.vue","webpack:///./src/modules/settings/components/Registration.vue?a9fc","webpack:///./src/modules/settings/components/Terms.vue","webpack:///./src/modules/settings/components/Terms.vue?9306","webpack:///./src/modules/settings/components/RegistrationsMain.vue","webpack:///./src/modules/settings/components/RegistrationsMain.vue?cab9","webpack:///./src/modules/settings/components/TermDetails.vue","webpack:///./src/modules/settings/components/TermDetails.vue?8730","webpack:///./src/modules/settings/routes.ts","webpack:///./src/modules/dashboard/Nav.ts","webpack:///./src/components/SelectMenus/TwSelect.vue?c825","webpack:///./src/modules/students/routes.ts","webpack:///./src/modules/dashboard/queries.ts","webpack:///./src/assets/images/HPAC_Horizontal_Cyan_RGB_72dpi_trans.jpg","webpack:///./src/modules/dashboard/components/ClassesScheduledToday.vue","webpack:///./src/modules/dashboard/components/ClassesScheduledToday.vue?662a","webpack:///./src/modules/dashboard/components/CoursesWithOpenSeats.vue","webpack:///./src/modules/dashboard/components/CoursesWithOpenSeats.vue?0618","webpack:///./src/modules/dashboard/components/CoursesWithWaitlistedStudents.vue","webpack:///./src/modules/dashboard/components/CoursesWithWaitlistedStudents.vue?8e0e","webpack:///./src/modules/dashboard/components/RecentlyEditedCourses.vue","webpack:///./src/modules/dashboard/components/RecentlyEditedCourses.vue?6fb8","webpack:///./src/modules/dashboard/components/RecentQuickbooks.vue","webpack:///./src/modules/dashboard/components/RecentQuickbooks.vue?29f4","webpack:///./src/modules/dashboard/DashboardMain.vue","webpack:///./src/modules/dashboard/DashboardMain.vue?cfde","webpack:///./src/modules/dashboard/config.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","map","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","Event","constructor","_defineProperty","this","events","on","eventName","fn","off","trigger","forEach","listSelectLists","listSystems","nav","config","to","position","show","auth","generateUUID","replace","Math","random","v","toString","async","refreshOauthIfExpired","force","myInit","headers","Authorization","Auth","currentSession","getIdToken","getJwtToken","body","API","post","getOauthURL","redirectUri","res","oauthURL","console","error","createCharge","card","_listSys$data","_system$value","listSys","api","system","items","oauthToken","JSON","parse","qbOauthToken","requestId","charge","fetch","String","process","method","access_token","stringify","status","ok","token","json","_token$errors$","err","response","errors","message","query","input","queryName","user","accessToken","getAccessToken","log","nextToken","list","graphql","graphqlOperation","variables","authMode","GRAPHQL_AUTH_MODE","AWS_IAM","STUDENT_EXPORT_FIELDS","label","selected","availableField","REGISTRTATION_EXPORT_FIELDS","COURSE_EXPORT_FIELDS","_hoisted_1","class","render","_ctx","_cache","$props","$setup","$data","$options","_component_tw_navbar","_resolveComponent","_openBlock","_createElementBlock","_createVNode","_createElementVNode","_renderSlot","$slots","__exports__","_hoisted_2","__default__","_defineComponent","setup","__props","hover","ref","_unref","Popover","default","_withCtx","PopoverButton","onMouseover","$event","onMouseleave","QuestionMarkCircleIconMini","_","PopoverPanel","static","TransitionRoot","enter","leave","route","path","mainRoute","component","meta","appliedFiltersStore","defineStore","state","appliedFilters","useStorage","courseSearch","getters","actions","limit","valueListStore","valueList","income","medium","gender","ethnicity","pronouns","skillLevel","ageLevel","education","studentSortFirstName","studentSortLastName","studentSortEmail","studentSortDOB","searchStudents","_hoisted_3","_hoisted_4","_hoisted_5","_adminFiltersStore$ap","_adminFiltersStore$ap2","_adminFiltersStore$ap3","_adminFiltersStore$ap4","_adminFiltersStore$ap5","_adminFiltersStore$ap6","showNotification","notificationTitle","notificationIcon","notificationSubtitle","notificationType","_adminFiltersStore","adminFiltersStore","showEmailNotification","type","onMounted","EventBus","getData","filterStudents","studentList","filters","tableChild","filterOptionsSelected","onBeforeUnmount","_searchText$value","_sortField$value","_sortDirection$value","_query$value","_queryName$value","_tableChild$value$fil","searchText","sortField","sortDirection","filter","searchFilter","isLoading","students","reset","allStudents","newNextToken","queryUntilLimitReached","searchMethod","useDebounceFn","text","_response$data","and","sort","direction","toLowerCase","field","split","word","_input$filter","or","firstName","matchPhrasePrefix","lastName","email","postal","phoneMobile","_input$filter2","sortMethod","_sortDirection","_query","_queryName","_sortField","options","tableActions","emailSelectedStudents","exportSelectedStudents","emailModalOpen","numRecordsEmail","emailData","selectedRows","exportModalOpen","numRecordsExport","exportData","selectedFilters","filterQuery","values","innerOr","innerOrSearch","obj","contains","searchObj","matchPhrase","notesModalOpen","studentNotes","studentName","showModal","row","notes","_component_tw_notification","_component_tw_table_column","_component_DocumentTextIconSolid","_component_DocumentIcon","_component_tw_badge","_component_ChevronRightIcon","_component_router_link","_component_tw_table","_component_email_modal","_component_tw_export","_component_student_notes_modal","_Fragment","_createBlock","onClose","title","subtitle","duration","icon","_createCommentVNode","$route","prop","order","checkable","loading","filterable","searchable","ref_key","header","width","sortable","_toDisplayString","$filters","age","dob","href","onClick","_row$status","color","badgeColor","_createTextVNode","convertIsoToLocal","lastActivity","params","table","onCloseEmailModal","onEmailSuccess","onCloseExportModal","onCloseNotesModal","props","registeredCourses","exportAll","placeholder","_row$course","course","_row$course2","formatDate","startDate","_row$course3","endDate","_row$course4","dayOfWeek","_row$course5","timeOfDay","_row$course6","_row$course7","_row$course8","studio","_row$course9","numRegistered","_row$course10","numWaitlisted","_row$course11","numAvailable","courseId","all","getStudent","registrationsByStudentIdAndCreatedAt","emailsByStudentId","studentID","emails","studentId","emailSubject","emailBody","subject","_component_email_display_modal","formatTimestamp","sentAt","onCloseEmailDisplayModal","relatedStudentsByParentId","parentId","item","child","updateStudent","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_createStaticVNode","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","for","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","fullName","computed","student","middleName","join","showSave","isInstructor","coursesRes","tabs","current","selectedTab","changeTab","tab","studentSaveChanges","_component_tw_button","_component_data_display","_component_tw_checkbox","_component_SquaresPlusIcon","_component_description_list_item","_component_PencilIconOutline","_component_ComputerDesktopIcon","_withDirectives","disabled","_vShow","custom","_normalizeClass","phoneHome","phoneWork","modelValue","onchange","address1","address2","city","country","maxLength","createdAt","createdBy","updatedAt","updatedBy","onChange","target","_renderList","undefined","RegisteredCourses","StudentEmails","rows","onInput","_vModelText","RelatedStudents","Students","studentDetailsRoute","StudentDetails","instructorCourseDetail","createRegistration","onCancel","Function","emits","emit","reCaptchaSiteKey","reCaptchaToken","recaptchaErrorMessage","ccExpDate","studentNameValid","studentNameValidationMessage","ccCardNumber","ccCardHolderValid","ccCardHolderValidationMessage","ccNumValid","ccNumValidationMessage","ccExpirationDateValid","ccExpirationDateValidationMessage","ccCCVValid","ccCCVValidationMessage","ccBillingAddressValid","ccBillingAddressLineValid","ccBillingAddressCityValid","ccBillingAddressStateValid","ccBillingAddressPostalValid","ccBillingAddressValidationMessage","store","userStore","cardErrorMessage","queueLoading","openArtsInput","tuitionMessageData","submitted","number","expirationDate","ccv","address","region","postalCode","streetAddress","streetAddress2","timeRemaining","defaultValue","registrationReservationId","queuePosition","showWarningMessage","endTime","Date","now","refreshIntervalId","calculateTimeRemaining","timeDifference","floor","getTime","clearInterval","minutes","seconds","padStart","validateForm","_openArtsInput$value","_res$response","isValid","isOpenArtsOrTuition","donationAmount","success","onUnmounted","_props$course","_Number","_props$course2","_props$course3","recaptchaScript","document","createElement","setAttribute","head","appendChild","recaptchaCallback","openArtsConfig","Number","suggestedContribution","numSeats","extractErrorMessage","watch","newVal","oldVal","Array","from","replaceAll","matchAll","trim","submitRegistration","_openArtsInput$value2","_openArtsInput$value3","amount","tuitionAmount","quickbooksToken","_openArtsInput$value4","expirationMonth","expirationYear","_card","expYear","expMonth","cvc","billToAddress","sub","paymentStatus","grecaptcha","includes","setInterval","_openArtsInput$value5","_openArtsInput$value6","_openArtsInput$value7","_openArtsInput$value8","_openArtsInput$value9","_openArtsInput$value10","_openArtsInput$value11","_openArtsInput$value12","_component_tw_loading","_component_tw_slider","_component_tw_input","_component_ExclamationCircleIcon","onSubmit","_withModifiers","formatUSD","required","validation","autocorrect","autocapitalize","maxlength","autocomplete","autocompletetype","__name","iconOnly","Boolean","InformationCircleIcon","getCourse","coursesByTerm","activeTerms","registrationsByStudentIdAndCourseId","deleteRegistrationReservation","src","_imports_0","_hoisted_34","skeleton","_props$course$numAvai","useRoute","router","useRouter","registrationDialogOpen","image","loaded","url","courseFull","registrationOpen","registrationOpenTime","openRegisterModal","loggedIn","_props$course4","_props$course5","eq","registrations","_props$course6","redirect","courseImageURL","Storage","submitWaitlistRegistration","_props$course7","_props$course8","_props$course9","_props$course10","cancel","showRegNotification","properCase","_props$course11","_props$course12","_props$course13","_props$course$imageDe","_props$course28","_props$course29","_props$course30","_props$course31","_props$course32","_props$course33","_props$course14","ClockIcon","_props$course15","_props$course16","_props$course17","formatTimeShort","startTime","UserIcon","_props$course18","_props$course19","_props$course20","_props$course21","instructor","AcademicCapIcon","_props$course22","CalendarDaysIcon","_props$course23","_props$course24","_props$course25","toLocaleDateString","month","day","timeZone","CurrencyDollarIcon","_props$course26","_props$course27","OpenArtsInfoChip","alt","imageDescription","match","as","Dialog","open","TransitionChild","DialogOverlay","DialogTitle","DialogDescription","_props$course34","CourseRegistration","onCloseRegistrationModal","_appliedFiltersStore$","_appliedFiltersStore$2","_appliedFiltersStore$3","_appliedFiltersStore$4","_appliedFiltersStore$5","_valueListStore","_systemStore","systemStore","_appliedFiltersStore","courses","hideFullCourse","openArtsOnly","showMobileFilters","multiple","fetchActiveTerms","terms","queryAll","isActive","activeTermOptions","term","fetchData","_filter$value","val","gt","ne","showInSearch","allCourses","termId","onBeforeMount","_filters$value$0$valu","_filters$value$1$valu","_filters$value$2$valu","_filters$value$3$valu","_filters$value$4$valu","_component_tw_select","courseSearchTitle","innerHTML","courseSearchOpening","idx","clearable","CourseCard","_loading","showRegistrationDialog","assistant","UserCircleIcon","HashtagIcon","classes","location","classSchedule","loadCourse","_course$value","courseQuery","_course$value$descrip","_course$value$supplyL","LargeCourseCard","description","supplyList","_class","date","convertTime","CourseSearch","courseDetailRoute","CourseRegistrationDetails","phoneWorkExt","emergencyContactFirstName","emergencyContactLastName","emergencyContactPhone","emergencyContactEmail","emergencyContactRelationship","childRoutes","setModule","childRoute","matched","children","showMessage","_component_router_view","_Teleport","onShowMessage","MyAccount","createStudent","createRelatedStudent","showSaveButton","saveChanges","assign","phoneInput","zipInput","_phoneInput$value","_zipInput$value","validate","oninput","VL_COUNTRY_OPTIONS","hasError","cognitoUser","currentAuthenticatedUser","emailIsValid","emailValidationMessage","showCodeInput","changeSuccessful","updateEmail","validateEmail","updateUserAttributes","confirmEmailChange","verifyUserAttributeSubmit","_res$errors$","openChangeEmailModal","_store$user","isFormValid","eReg","_document$getElementB","_document$getElementB2","getElementById","focus","exec","_document$getElementB3","currentPassword","newPassword","confirmPassword","passwordError","currentPasswordValidationMessage","currentPasswordIsValid","newPasswordValidationMessage","newPasswordIsValid","confirmPasswordValidationMessage","confirmPasswordIsValid","updatePassword","validatePassword","changePassword","_confirmPassword$valu","_document$getElementB4","_document$getElementB5","_document$getElementB6","_unref$user","_component_tw_confirmation_code","_unref$user2","_user$value","_user$value2","_user$value3","_user$value4","VL_PRONOUN_OPTIONS","VL_GENDER_OPTIONS","VL_ETHNICITY_OPTIONS","VL_EDUCATION_OPTIONS","VL_INCOME_OPTIONS","firstNameInput","lastNameInput","dobInput","_firstNameInput$value","_lastNameInput$value","_dobInput$value","HouseholdIncomeInfoChip","subId","pronounOptions","genderOptions","countryOptions","ethnicityOptions","educationOptions","incomeOptions","formData","personalInformation","fieldType","contactInformation","addressLine1","addressLine2","addressCity","addressState","addressPostalCode","addressCountry","createRelatedAccount","given_name","middle_name","family_name","highest_education","household_income","birthdate","address_line_2","address_city","address_country","address_postal","address_state","phone_mobile","phone_number","isMainAccount","childId","relatedRes","updateStudentAccount","validateFields","requiredFields","ref_for","valid","relatedStudentDialogOpen","editStudent","openCreateRelatedStudent","closeModal","payload","RelatedAccountDetails","onOnClose","EmailPassword","PersonalInfo","ContactInfo","RelatedAccounts","_withScopeId","_pushScopeId","_popScopeId","_props$email","_email","confirmSuccess","confirmCode","confirmSignUp","username","resendSignUp","AccountConfirmation","layout","AuthLayout","classesByCourseIdAndDate","instructorCoursesSortName","instructorCoursesSortStatus","instructorCoursesSortStartDate","instructorCoursesSortEndDate","instructorCoursesSortRegCount","registrationsByCourseIdAndLastName","attendancesByClassId","registrationsByCourseIdAndCreatedAt","instructorId","filterCourses","filterArr","_row$term","a","createAttendance","updateAttendance","allNull","attendance","every","onTime","late","absent","attendanceModalOpen","classDate","classID","createAttendanceRecords","classId","attendanceRecords","registration","exists","some","find","registrationStatus","_component_tw_full_loading","_component_UserIconMini","_component_attendance_modal","onCloseAttendanceModal","courseID","takeAttendance","theme","_course$value2","_course$value3","_course$value4","_course$value5","_course$value6","_course$value7","_course$value8","_course$value$numRegi","_course$value9","_course$value$numAvai","_course$value10","_course$value$numWait","_course$value11","_course$value$numRegi2","_course$value12","_course$value$confirm","_course$value$confirm2","_course$value13","_course$value14","_course$value15","_course$value16","_course$value17","_course$value18","_course$value19","_course$value20","_course$value21","_course$value22","_course$value23","_course$value24","_course$value25","_course$value26","_course$value27","_course$value28","_JSON$parse","_course$value29","classDayTimes","_vModelSelect","RegisteredStudents","ClassAttendance","confirmationLinks","confirmationNotes","InstructorCourses","InstructorCourseDetails","updateCourse","updateRegistration","courseStatus","numCoursesSelected","updateCourses","toUpperCase","allCoursesSortName","allCoursesSortStatus","allCoursesSortStartDate","allCoursesSortEndDate","allCoursesSortRegCount","allCoursesSortWaitListCount","allCoursesSortAvailableCount","allCoursesSortIsOpenArts","searchCourses","listTerms","_adminFiltersStore$ap7","_adminFiltersStore$ap8","_adminFiltersStore$ap9","_adminFiltersStore$ap10","_adminFiltersStore$ap11","courseList","_tableChild$value$fil2","_tableChild$value$fil3","_tableChild$value$fil4","_tableChild$value$fil5","_tableChild$value$fil6","fetchTerms","exportSelectedCourses","setCourseStatus","selectedCourses","updatedCourseStatus","confirmationModalOpen","updateCourseResolver","_component_CheckCircleIconMini","_component_EllipsisVerticalIcon","formatTime","Menu","MenuButton","_Transition","MenuItems","MenuItem","active","ConfirmationModal","onCloseConfirmationModal","onUpdateCourseSuccess","byInstructor","listRootCourses","registrationsByCourseIdAndStatus","createCourse","deleteCourse","batchCreateClasses","deleteClass","createRegistrationReservation","settings","_course","tuitionSaveChanges","addDonationRow","price","removeRow","index","sortData","_tuitionMessageData$v","_tuitionMessageData$v2","b","RadioGroup","RadioGroupLabel","setting","RadioGroupOption","checked","RadioGroupDescription","leading_inline","BarsArrowUpIcon","donation","setDonationMessage","_vModelRadio","min","TrashIcon","refreshCourse","days","lastClass","numClass","dates","scheduleCreation","numClasses","_days$value","dayCount","classRepeatCount","classRepeatInterval","numClassesAdd","generateScheduleButtonLabel","dateToAdd","startTimeToAdd","endTimeToAdd","daysHeld","selectedDay","dayNames","timeRecurringOptions","timeDurationOptions","timePeriodOptions","timeChoices","timeOptions","hours","hour","minute","twelveTime","parseInt","amPm","recurranceDay","recurranceMonth","beginDate","firstClassDate","classRepeatType","beginningOfWeek","getFullYear","getMonth","getDate","firstDay","getDay","setDate","newClass","toISOString","classExists","findIndex","assignSchedule","_classSchedule$value$","d1","d2","removeDate","dateRemoved","addNewDate","newDate","save","_teachingArtists$valu","_classSchedule$value$2","_classSchedule$value$3","_classSchedule$value$4","_classSchedule$value","instructorSub","teachingArtists","ta","assistantId","teachingArtistsOptions","teachingArtistsPronouns","_teachingArtists$valu2","teachingAssistantsPronouns","_teachingArtists$valu3","getTeachingArtists","_res$data","_component_ArrowRightIconMini","_component_XMarkIconMini","icon_right","help","VL_TIME_OF_DAY_OPTIONS","editorOptions","confirmationLetterSaveChanges","QuillEditor","content","dateToStart","timeToStart","s3PhotoUrl","removeImage","courseImage","file","File","fileInput","triggerImageUpload","imageUploadRef","click","drop","isOver","fileUpload","files","dataTransfer","re","RegExp","acceptedFileType","test","alert","reader","FileReader","readAsDataURL","onload","_e$target","currentTstamp","fileName","s3Key","put","registrationDate","offsetGmt","getTimezoneOffset","offset","rootCourseId","loc","Intl","DateTimeFormat","timeZoneName","formatToParts","_drop$value","_drop$value2","_drop$value3","_course$value$registr","_course$value$registr2","addEventListener","openDate","openTime","termOptions","rootCourses","rootCourseOptions","fetchRootCourses","rootCourse","_component_DocumentArrowUpIcon","onDragover","onDrop","accept","RegistrationStatus","ModelAttributeTypes","ModelSortDirection","SearchableCourseSortableFields","SearchableSortDirection","SearchableAggregateType","SearchableCourseAggregateField","SearchableStudentSortableFields","SearchableStudentAggregateField","courseName","refreshData","selectedStudent","studentOptions","registerStudent","messageDuplicationId","statusUpdatedAt","_student","asc","_student$email","courseRaw","registerSelectedStudents","waitlistSelectedStudents","dropSelectedStudents","registerStudentModalOpen","registerNewStudent","showRegistrationNotification","formatTimestampSeconds","RegisterStudentModal","onShowNotification","onCloseModal","itemId","_JSON$parse2","qbClass","Id","qbItem","classOptions","itemOptions","_system$value2","qbClasses","Name","qbItems","_hoisted_35","_hoisted_36","_hoisted_37","edit","isEditMode","numSeatsInput","showConfirmation","confirmationTitle","confirmationDetails","confirmationButtonLabel","confirmationCancelButtonLabel","confirmationConfirmAction","openDeleteModal","confirmDelete","openCancelModal","cancelEdits","courseStatusOptions","showMessageModal","toggleEditMode","saveData","courseInput","courseDetailsRes","_response$data3","minimumRegistrations","_response$data2","_numSeatsInput$value","_response$data4","_deleteCourse","_course$value$numDrop","_course$value$numTran","_component_ArrowTopRightOnSquareIcon","_component_UserIconOutline","_component_UserCircleIconOutline","_component_AcademicCapIcon","_component_CalendarDaysIcon","_component_ListBulletIcon","editing","VL_LOCATION_OPTIONS","numDropped","numTransferred","_course$value30","_course$value31","_course$value32","_course$value33","_course$value34","_course$value35","_course$value36","_course$value37","_course$value38","_course$value39","_course$value40","_course$value41","CourseRegistrations","ClassScheduler","CourseTuitionSettings","OnlineRegistration","ConfirmationLetterSettings","CourseAttendance","QuickbooksSettings","Courses","courseDetailsRoute","CourseDetails","studentBySub","classs","updateAccount","_age","diff_ms","age_dt","abs","getUTCFullYear","login","validationMessage","password","showMigrateAccountDetails","signIn","attributes","storeUser","fieldsMissing","resendConfirmationCode","MigrateAccountDetails","currentRoute","passwordConfirm","showPassword","showCode","submitButton","_login$value$password","forgotPassword","createMigratedUser","signUp","autoSignIn","enabled","forgotPasswordSubmit","_imports_1","LoginForm","ResetPasswordForm","Login","_route$0$children","_route$meta","hide","Settings","_pronouns","_ethnicity","accountInformation","emailConfirmation","optInEmails","passwordConfirmation","confirmEmailValidationMessage","passwordValidationMessage","createAccount","phone_work","phone_work_ext","_document$getElementB7","_document$getElementB8","_document$getElementB9","CreateAccount","operation","copyright","year","scrollingDisabled","handleScroll","scrollPosition","innerHeight","ceil","scrollY","offsetHeight","documentElement","capture","passive","removeEventListener","isLoaded","MainLayout","selectLists","_list$options","sortedList","_a$sortIndex","_b$sortIndex","sortIndex","option","filterStore","_resolveDynamicComponent","fullPath","TwFooter","loadRoutes","context","require","routes","resourceRoutes","moduleRoutes","createRouter","history","createWebHistory","scrollBehavior","top","authenticate","beforeEach","next","_user$signInUserSessi","_to$meta","_to$meta2","groups","signInUserSession","isStudent","isAdmin","valueClass","badge","placeholderValue","_props$value","labelColSpan","valueColSpan","cx","cy","dot","large","fill","viewBox","xmlns","stroke","rounded","expose","__expose","checkbox","nextTick","filterPlaceholder","noResultsPlaceholder","requiredError","searchPlaceholder","validationError","modelLabel","isArray","selectedOptions","selectedOption","onSelect","clear","_valid","updateQuery","_placeholder","setPlaceholder","clearPlaceholder","filteredOptions","noFilteredOptions","_component_XCircleIcon","Combobox","ComboboxLabel","ComboboxInput","onFocus","onBlur","ComboboxButton","ChevronUpDownIcon","onAfterLeave","ComboboxOptions","ComboboxOption","CheckIcon","Listbox","ListboxLabel","ListboxButton","XMarkIcon","ListboxOptions","ListboxOption","xAutocompletetype","hint","slots","useSlots","leadingInlinePadding","trailingInlinePadding","leadingInlineWidth","trailingInlineWidth","leadingEl","offsetWidth","trailingEl","_props$type","_props$min","leading_addon","trailing_inline","ExclamationCircleIcon","trailing_addon","handleLeft","previousInput","previousElementSibling","handleRight","nextInput","nextElementSibling","handleBackspace","sibling","handlePaste","preventDefault","paste","clipboardData","charAt","select","pattern","onPaste","onKeyup","_withKeys","scope","colspan","titleClass","rowActions","multiRowActions","searchFunction","searchValue","filterFunction","defaultSort","tableIndex","indeterminate","searchInput","filterOpen","numFilterOptionsSelected","filtersIndeterminate","filtersApplied","numFiltersApplied","selectAll","event","filterIndex","doFiltering","_component_XMarkIcon","_component_ChevronDownIconMini","_component_FunnelIconMini","_component_MagnifyingGlassIcon","_component_tw_table_dropdown","_component_tw_table_header","_component_tw_table_row","DialogPanel","Disclosure","DisclosureButton","DisclosurePanel","optionIdx","_vModelCheckbox","PopoverGroup","stroke-width","script","userGroups","navigation","moduleContext","_m$auth2","group","_m$auth","aPos","bPos","signOut","$reset","navigate","Bars3Icon","defaultDonationAmount","donationMessage","style","sortedDonationAmounts","mutableData","_sortedDonationAmount","max","_sortedDonationAmount2","_sortedDonationAmount3","_sortedDonationAmount4","_sortedDonationAmount5","_sortedDonationAmount6","_props$defaultDonatio","_normalizeStyle","aria-expanded","aria-haspopup","aria-hidden","fill-rule","clip-rule","role","aria-orientation","aria-labelledby","tabindex","action","createEmail","getRegistration","sendEmailTo","sendEmailToSingleLine","showAll","_res$data$getRegistra","_res$data$getStudent","u","sendEmail","scrollTo","reference","updateStatus","submitAttendance","close","setTimeout","_component_CheckCircleIcon","parentUid","sortOrder","parent","getCurrentInstance","uid","parentName","vnode","sortCol","createExport","updateExport","exportByType","srcColToDbExportMap","columnOptions","savedExportOptions","isModified","exportName","exportNameValid","selectRow","side","containsOption","move","moveAll","clearAll","today","getExports","selectedExport","saveButtonLabel","_selectedExport$value","clientExport","char","fieldList","exportRows","k","col","worksheetName","workbook","XLSX","book_new","worksheet","aoa_to_sheet","book_append_sheet","reduce","prev","curr","self","_export","fieldMapping","exportTable","_selectedExport$value2","_selectedExport$value3","_selectedExport$value4","setImport","_selectedExport$value5","awsmobile","Amplify","configure","awsconfig","endpoints","endpoint","pinia","createPinia","syntaxError","app","createApp","App","globalProperties","birthDate","formattedDate","time","time2","hyphen","split2","hour2","minute2","timeOfDay2","_date","getHours","getMinutes","setMonth","monthFull","toLocaleString","getSeconds","miliseconds","getMilliseconds","formatter","NumberFormat","currency","format","isoString","timezone","second","hour12","localString","str","CheckCircleIcon","ChevronDownIconMini","ChevronUpIconMini","ChevronRightIcon","ChevronLeftIcon","ArrowRightIconMini","SolidFlagIcon","HomeIcon","PencilIcon","PlusSmallIcon","XCircleIcon","FunnelIconMini","MagnifyingGlassIcon","EllipsisVerticalIcon","DocumentTextIcon","DocumentIcon","SquaresPlusIcon","PencilIconOutline","ComputerDesktopIcon","ArrowTopRightOnSquareIcon","ArrowTopRightOnSquareIconMini","BarsArrowDownIcon","UserIconOutline","UserCircleIconOutline","ListBulletIcon","DocumentArrowUpIcon","XMarkIconMini","ExclamationTriangleIconMini","CheckCircleIconMini","ClipboardDocumentIcon","ArrowPathIconMini","UserIconMini","PencilIconMini","DataDisplay","DescriptionListItem","TwBadge","TwButton","TwCheckbox","TwInput","TwConfirmationCode","TwLoading","TwFullLoading","TwTable","TwSelect","TwNavbar","TwNotification","TwTableDropdown","TwTableColumn","TwTableRow","TwTableHeader","TwExport","TwSlider","TwDropdown","StudentNotesModal","EmailModal","AttendanceModal","EmailDisplayModal","use","mount","confirmationIntroduction","confirmationCancellationPolicy","registrationsBySubSortCreatedAt","_registration","studentIsRegistered","instructorFullName","assistantFullName","hasInstructor","getImageURL","_registration$value8","validateObjectExistence","_registration$value","_registration$value2","_registration$value3","_registration$value4","_registration$value5","_registration$value6","_registration$value7","instructorFirstName","instructorLastName","instructorPronouns","assistantFirstName","assistantLastName","assistantPronouns","_registration$value9","_registration$value10","_registration$value11","_registration$value12","_registration$value13","_registration$value16","_registration$value17","_registration$value18","_registration$value19","_registration$value20","_registration$value21","_registration$value22","_registration$value23","_registration$value24","_registration$value25","_registration$value$c","_registration$value26","_registration$value$c2","_registration$value27","_registration$value$c3","_registration$value28","_registration$value$c4","_registration$value29","_ctx$registration","_assistantFullName$va","_registration$value30","_component_ExclamationTriangleIconMini","_registration$value14","_registration$value15","MyCourseCard","StudentCoursesMain","allRootCoursesSortName","allRootCoursesSortTerm","getRootCourse","getTerm","createSystem","updateSystem","createSelectListOption","deleteSelectListOption","updateSelectListOption","createRootCourse","updateRootCourse","updateTerm","createTerm","deleteTerm","invalid","saveNewCourse","courseCreationDialogOpen","refresh","allRootCourses","RootCourseCreator","editMode","createNewCourse","_res","_rootCourse$value","_rootCourse$value2","_rootCourse$value3","_component_ChevronLeftIcon","align","instructors","selectListOption","deleteOption","changeOptionLabel","inputRef","onInputchange","newLabel","innerText","contenteditable","onFocusout","selectList","reloadSelectLists","_props$selectList","dragging","optionsList","_a$item","_b$item","_a$item2","_b$item2","recalculateList","_props$selectList2","_props$selectList3","_a$item3","_b$item3","_a$item4","_b$item4","createOption","_optionsList$value$le","_optionsList$value","selectListId","_optionsList$value2","listCopy","optionListIndex","selectListOptionId","modifiedOptions","modifiedOption","_listCopy$item","isNil","_optionsList$value3","optionIndexInList","camalize","chr","camelizedLabel","onOptionDropped","ev","oldIndex","newIndex","optionMovedRight","droppedOption","_modifiedOption$item","_modifiedOption$item2","_optionsList$value4","draggable","onStart","onEnd","element","SelectListOption","then","queryRes","categories","categoriesSet","Set","category","lists","localeCompare","SelectList","depositToAccountId","accountOptions","accountsLoading","itemsLoading","classesLoading","connectToQuickbooks","protocol","host","refreshTokens","refreshAccounts","refreshItems","refreshClasses","accounts","_system$value3","_system$value4","_system$value5","_system$value6","_JSON$parse3","_system$value7","createSys","qbAccounts","account","qbDepositToAccount","qbDonationItemClass","qbDonationItem","realmId","tokenParsed","refresh_token","token_type","expires_in","x_refresh_token_expires_in","registered","realm_id","_oauthToken$value","_oauthToken$value2","_oauthToken$value3","_oauthToken$value4","_oauthToken$value5","_component_ArrowPathIconMini","AccountType","Type","confirmationIntroductionHasFocus","confirmationIntroductionRendered","_settings$value","setFocus","insertElement","currentField","el","end","selectionEnd","substring","saveEdit","validateTags","_text$match","_text$match2","openCount","closeCount","onFocusin","confirmationWaitlist","onTextChange","newTermDialogOpen","termName","_term","createNewTerm","updateTermActive","Switch","allRegistrationsSortCreatedAt","allRegistrations","qbPaymentStatus","qbPaymentError","newTerm","_deleteTerm","RootCourses","RootCoursesDetails","InstructorsSettings","DropDownValues","ConfirmationLetter","Registration","TermSettings","TermDetails","Registrations","classesByDate","allCoursesSortUpdatedAt","allClasses","getClassesToday","_classes$data$classes","currentDate","coursesWithOpenSeats","getCoursesWithOpenSeats","_courses$data$allCour","coursesWithWaitlisted","getCoursesWithWaitlisted","coursesEdited","getCoursesEdited","badgeBackground","rowData","registrationRecords","getRegistrationRecords","_records$data$allRegi","records","classesScheduledTodayOpen","coursesWithOpenSeatsOpen","coursesWithWaitlistedStudentsOpen","recentlyEditedCoursesOpen","recentQuickbooksOpen","ClassesScheduledToday","RecentlyEditedCourses","CoursesWithOpenSeats","CoursesWithWaitlistedStudents","RecentQuickbooks","Dashboard"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,MAAS,GAGNK,EAAkB,GA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YACd,WAAY,cACZC,MAAO,uBACP,aAAc,cACd,WAAY,aACX,CACDZ,QAASC,qBAAS,IAAM,CACtBf,yBAAaY,mBAAOmiB,QAAgB,CAAE3jB,MAAO,iEAE/CiC,EAAG,IAEL6O,GACAlQ,yBAAaY,mBAAOkiB,QAAkB,CACpCH,GAAI,WACJlhB,MAAO,wBACP,aAAc,uDACd,WAAY,yCACZC,MAAO,uBACP,aAAc,yCACd,WAAY,wDACX,CACDZ,QAASC,qBAAS,IAAM,CACtBd,gCAAoB,MAAOkQ,GAAa,CACtClQ,gCAAoB,MAAOmQ,GAAa,CACtCpQ,yBAAa80D,SAInBzzD,EAAG,QAITA,EAAG,MAGPA,EAAG,GACF,EAAG,CAAC,UACN,QCvWL,MAAM,GAAc,GAEL,UCFf,MAAMlH,GAAS,CACd0H,UAAW,CACV3K,KAAM,YACN0K,KAAM,aACNE,UAAWizD,IAEZ76D,IAAK,CACJhD,KAAM,YACNkD,GAAI,YACJC,SAAU,EACVC,MAAM,GAEPzD,OAAQ,YACR0D,KAAM,CAAC","file":"js/index.aef4b32a.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"index\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var map = {\n\t\"./courseSearch/Nav.ts\": \"49dc\",\n\t\"./courses/Nav.ts\": \"110d\",\n\t\"./dashboard/Nav.ts\": \"f352\",\n\t\"./instructors/Nav.ts\": \"9e99\",\n\t\"./settings/Nav.ts\": \"480f\",\n\t\"./studentCourses/Nav.ts\": \"bb00\",\n\t\"./students/Nav.ts\": \"5d2a\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"0459\";","//events - a super-basic Javascript (publish subscribe) pattern\n\nclass Event{\n events: any;\n\n constructor(){\n this.events = {};\n }\n\n on(eventName: string, fn: any) {\n this.events[eventName] = this.events[eventName] || [];\n this.events[eventName].push(fn);\n }\n\n off(eventName: string, fn: any) {\n if (this.events[eventName]) {\n for (let i = 0; i < this.events[eventName].length; i++) {\n if (this.events[eventName][i] === fn) {\n this.events[eventName].splice(i, 1);\n break;\n }\n }\n }\n }\n\n trigger(eventName: string, data: any) {\n if (this.events[eventName]) {\n this.events[eventName].forEach(function(fn: any) {\n fn(data);\n });\n }\n }\n}\n\nexport default new Event();","export const listSelectLists = /* GraphQL */ `\n query ListSelectLists(\n $id: ID\n $filter: ModelSelectListFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listSelectLists(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n key\n name\n\t\toptions {\n\t\t\titems {\n\t\t\t\tlabel\n\t\t\t\tsortIndex\n\t\t\t\tselectListId\n\t\t\t\tid\n\t\t\t}\n\t\t}\n }\n nextToken\n }\n }\n`;\n\nexport const listSystems = /* GraphQL */ `\n query ListSystems(\n $id: ID\n $filter: ModelSystemFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listSystems(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n confirmationIntroduction\n confirmationCancellationPolicy\n confirmationWaitlist\n courseSearchOpening\n courseSearchTitle\n qbOauthToken\n qbAccounts\n qbClasses\n qbDepositToAccount\n qbDonationItem\n qbDonationItemClass\n qbItems\n createdAt\n updatedAt\n }\n nextToken\n }\n }\n`;","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./FullScreenLoading.vue?vue&type=style&index=0&id=4ebca459&scoped=true&lang=css\"","import { Nav } from '@/types' // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const nav: Nav = { \n name: config.nav.name, \n to: {name: config.nav.to},\n position: config.nav.position,\n show: config.nav.show,\n\tmodule: config.module,\n\tauth: config.auth\n}","\nimport { listSystems } from '../queries'\n// amplify\nimport { Auth, API } from 'aws-amplify'\nimport api from '@/utilities/api'\n\ninterface Card {\n\texpYear: string,\n\texpMonth: string,\n\taddress: {\n\t\tregion: string,\n\t\tpostalCode: string,\n\t\tstreetAddress: string,\n\t\tcity: string\n\t},\n\tname: string,\n\tcvc: string,\n\tnumber: string\n}\n\nfunction generateUUID() {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {\n const r = (Math.random() * 16) | 0;\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n\t})\n}\n\nasync function refreshOauthIfExpired(force=false) {\n\tconst myInit = {\n\t\theaders: {\n\t\t\tAuthorization: `Bearer ${(await Auth.currentSession())\n\t\t\t\t.getIdToken()\n\t\t\t\t.getJwtToken()}`\n\t\t},\n\t\tbody: {\n\t\t\tforce: force\n\t\t}\n\t}\n\tawait API.post(\"quickbooks\", \"/quickbooks/refresh\", myInit)\n}\n\nasync function getOauthURL(redirectUri: string) {\n\n\ttry {\n\t\tconst myInit = {\n\t\t\theaders: {\n\t\t\t\tAuthorization: `Bearer ${(await Auth.currentSession())\n\t\t\t\t\t.getIdToken()\n\t\t\t\t\t.getJwtToken()}`\n\t\t\t},\n\t\t\tbody: {\n\t\t\t\tredirectUri: redirectUri\n\t\t\t}\n\t\t}\n\t\tconst res = await API.post(\"quickbooks\", \"/quickbooks/getOauthUrl\", myInit)\n\n\n\t\tconst { oauthURL } = res\n\t\treturn oauthURL\n\t} catch (e) {\n\t\tconsole.error(\"There was an error fetching the oauth URL\", e)\n\t}\n}\n\nasync function createCharge(\n\tcard: Card\n) {\n\tawait refreshOauthIfExpired(true)\n\t\n\t// get token from db\n\tconst listSys:any = await api(listSystems)\n\tconst system = listSys?.data?.listSystems.items[0]\n\tconst oauthToken = JSON.parse(system?.value?.qbOauthToken || \"{}\")\n\t\n\ttry {\n\t\tconst requestId = generateUUID()\n\t\t//eslint-disable-next-line\n\t\tconst charge = await fetch(String(process.env.VUE_APP_QUICKBOOKS_PAYMENT_TOKEN_ENDPOINT), {\n\t\t\tmethod: 'POST',\n\t\t\theaders: {\n\t\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t\t\"Authorization\": `Bearer ${oauthToken.access_token}`,\n\t\t\t\t\"Request-Id\": requestId,\n\t\t\t},\n\t\t\tbody: JSON.stringify({\n\t\t\t\tcard\n\t\t\t})\n\t\t})\n\t\tconst status = charge.ok\n\t\tconst token = await charge.json()\n\t\t\n\t\tif(!status) {\n\t\t\t// create error object and reject if not a 2xx response code\n\t\t\tconst err:any = new Error(\"HTTP status code: \" + charge.status)\n\t\t\terr.response = charge\n\t\t\terr.status = charge.status\n\t\t\tconsole.error(err)\n\t\t\tthrow token?.errors[0]?.message\n\t\t}\n\n\t\treturn token\n\t} catch (e) {\n\t\tconsole.error(\"There was an issue creating the charge\", e)\n\t\tthrow(\"There was an issue creating the charge: \" + e)\n\t}\n}\n\nexport { getOauthURL, createCharge, Card, refreshOauthIfExpired }\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./TwCheckbox.vue?vue&type=style&index=0&id=3696efdb&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/hyde-park-art-center-logo.1ad8c3c7.png\";","import { API, graphqlOperation, Auth } from 'aws-amplify'\nimport { GRAPHQL_AUTH_MODE } from '@aws-amplify/api'\n\n/**\n * Loads data until next tokens are exhausted\n * @param {String} query - GraphQL query to invoke\n * @param {Object} input - input variables for GraphQL query\n * @param {String} queryName - name of GraphQL query being invoked\n */\n export default async function async (query, input, queryName){\n\tlet user = null\n\tlet accessToken = null\n\t// check for logged in user\n\ttry{\n\t\tuser = await Auth.currentSession()\n\t\taccessToken = user.getAccessToken()\n\t}\n\tcatch(e) {\n\t\tconsole.log(e)\n\t}\n\n\ttry {\n\t\tlet nextToken = null\n\t\tlet list = []\n\t\tdo{\n\t\t\tinput.nextToken = nextToken\n\t\t\tlet response\n\t\t\ttry{\n\t\t\t\tif(user && accessToken) {\n\t\t\t\t\tresponse = await API.graphql(graphqlOperation(query, input))\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tresponse = await API.graphql({\n\t\t\t\t\t\tquery: query,\n\t\t\t\t\t\tvariables: input,\n\t\t\t\t\t\tauthMode: GRAPHQL_AUTH_MODE.AWS_IAM\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch(err){\n\t\t\t\tconsole.log(err)\n\t\t\t\tresponse = err\n\t\t\t}\n\t\n\t\t\tlist = [ ...list, ...response.data[queryName].items]\n\t\t\tnextToken = response.data[queryName].nextToken\n\t\t}while(nextToken)\n\t\treturn list\n\t}\n\tcatch(e) {\n\t\tconsole.log(e)\n\t}\n }","// const STUDENT_EXPORT_FIELDS = [\n// { label: 'Student ID', value: 'id' },\n// { label: 'Street Address', value: 'address1' },\n// { label: 'Address 2', value: 'address2'},\n// { label: 'City', value: 'city' },\n// { label: 'Country', value: 'country' },\n// { label: 'Date of Birth', value: 'dob' },\n// { label: 'Education', value: 'education' },\n// { label: 'Email', value: 'email' },\n// { label: 'Ethnicity', value: 'ethnicity' },\n// { label: 'First Name', value: 'firstName' },\n// { label: 'Gender', value: 'gender' },\n// { label: 'Income', value: 'income' },\n// { label: 'Last Activity', value: 'lastActivity' },\n// { label: 'Last Login', value: 'lastLogin' },\n// { label: 'Last Name', value: 'lastName' },\n// { label: 'Middle Name', value: 'middleName' },\n// { label: 'Notes', value: 'notes' },\n// { label: 'Home Phone', value: 'phoneHome' },\n// { label: 'Mobile Phone', value: 'phoneMobile' },\n// { label: 'Work Phone', value: 'phoneWork' },\n// { label: 'Work Ext', value: 'phoneWorkExt' },\n// { label: 'Zip Code', value: 'postal' },\n// { label: 'Pronouns', value: 'pronouns' },\n// { label: 'State', value: 'state' },\n// { label: 'Status', value: 'status' }\n// ]\n\nconst STUDENT_EXPORT_FIELDS = [\n { label: 'Student ID', value: 'id', selected: true, availableField: true },\n { label: 'Street Address', value: 'address1', selected: false, availableField: true },\n { label: 'Address 2', value: 'address2', selected: false, availableField: true },\n { label: 'City', value: 'city', selected: false, availableField: true },\n { label: 'Country', value: 'country', selected: false, availableField: true },\n { label: 'Date of Birth', value: 'dob', selected: false, availableField: true },\n { label: 'Education', value: 'education', selected: false, availableField: true },\n { label: 'Email', value: 'email', selected: false, availableField: true },\n { label: 'Ethnicity', value: 'ethnicity', selected: false, availableField: true },\n { label: 'First Name', value: 'firstName', selected: false, availableField: true },\n { label: 'Gender', value: 'gender', selected: false, availableField: true },\n { label: 'Income', value: 'income', selected: false, availableField: true },\n { label: 'Last Activity', value: 'lastActivity', selected: false, availableField: true },\n { label: 'Last Login', value: 'lastLogin', selected: false, availableField: true },\n { label: 'Last Name', value: 'lastName', selected: false, availableField: true },\n { label: 'Middle Name', value: 'middleName', selected: false, availableField: true },\n { label: 'Notes', value: 'notes', selected: false, availableField: true },\n { label: 'Home Phone', value: 'phoneHome', selected: false, availableField: true },\n { label: 'Mobile Phone', value: 'phoneMobile', selected: false, availableField: true },\n { label: 'Work Phone', value: 'phoneWork', selected: false, availableField: true },\n { label: 'Work Ext', value: 'phoneWorkExt', selected: false, availableField: true },\n { label: 'Zip Code', value: 'postal', selected: false, availableField: true },\n { label: 'Pronouns', value: 'pronouns', selected: false, availableField: true },\n { label: 'State', value: 'state', selected: false, availableField: true },\n { label: 'Status', value: 'status', selected: false, availableField: true }\n]\n\nconst REGISTRTATION_EXPORT_FIELDS = [\n { label: 'Registration ID', value: 'id', selected: true, availableField: true },\n { label: 'Amount', value: 'amount', selected: false, availableField: true },\n { label: 'Bill to Address', value: 'billToAddress', selected: false, availableField: true },\n { label: 'Registration Created At', value: 'createdAt', selected: false, availableField: true },\n { label: 'Registration Status', value: 'status', selected: false, availableField: true },\n { label: 'Payment Status', value: 'paymentStatus', selected: false, availableField: true },\n { label: 'Registration Updated At', value: 'updatedAt', selected: false, availableField: true },\n { label: 'Term', value: 'course{term{name}}', selected: false, availableField: true },\n\n\t// related course\n { label: 'Course ID', value: 'course{id}', selected: false, availableField: true },\n { label: 'Age Level', value: 'course{ageLevel}', selected: false, availableField: true },\n { label: 'Course Day', value: 'course{dayOfWeek}', selected: false, availableField: true },\n { label: 'Course Start Date', value: 'course{startDate}', selected: false, availableField: true },\n { label: 'Course End Date', value: 'course{endDate}', selected: false, availableField: true },\n { label: 'Is Tuition Based', value: 'course{isOpenArtsOrTuition}', selected: false, availableField: true },\n { label: 'Medium', value: 'course{medium}', selected: false, availableField: true },\n { label: 'Course Name', value: 'course{name}', selected: false, availableField: true },\n { label: 'Number of Seats', value: 'course{numSeats}', selected: false, availableField: true },\n { label: 'Number of Seats Available', value: 'course{numAvailable}', selected: false, availableField: true },\n { label: 'Number of Students Dropped', value: 'course{numDropped}', selected: false, availableField: true },\n { label: 'Number of Students Registered', value: 'course{numRegistered}', selected: false, availableField: true },\n { label: 'Number of Students Transferred', value: 'course{numTransferred}', selected: false, availableField: true },\n { label: 'Number of Students Waitlisted', value: 'course{numWaitlisted}', selected: false, availableField: true },\n { label: 'Skill Level', value: 'course{skillLevel}', selected: false, availableField: true },\n { label: 'Studio', value: 'course{studio}', selected: false, availableField: true },\n { label: 'Suggested Contribution', value: 'course{suggestedContribution}', selected: false, availableField: true },\n { label: 'Tuition Amount', value: 'course{tuitionAmount}', selected: false, availableField: true },\n\t\n\t\n\t// related student\n { label: 'Student ID', value: 'student{id}', selected: false, availableField: true },\n { label: 'Student Street Address', value: 'student{address1}', selected: false, availableField: true },\n { label: 'Student Address 2', value: 'student{address2}', selected: false, availableField: true },\n { label: 'Student City', value: 'student{city}', selected: false, availableField: true },\n { label: 'Student Country', value: 'student{country}', selected: false, availableField: true },\n { label: 'Student Date of Birth', value: 'student{dob}', selected: false, availableField: true },\n { label: 'Student Education', value: 'student{education}', selected: false, availableField: true },\n { label: 'Student Email', value: 'student{email}', selected: false, availableField: true },\n { label: 'Student Ethnicity', value: 'student{ethnicity}', selected: false, availableField: true },\n { label: 'Student First Name', value: 'student{firstName}', selected: false, availableField: true },\n { label: 'Student Gender', value: 'student{gender}', selected: false, availableField: true },\n { label: 'Student Income', value: 'student{income}', selected: false, availableField: true },\n { label: 'Student Last Activity', value: 'student{lastActivity}', selected: false, availableField: true },\n { label: 'Student Last Login', value: 'student{lastLogin}', selected: false, availableField: true },\n { label: 'Student Last Name', value: 'student{lastName}', selected: false, availableField: true },\n { label: 'Student Middle Name', value: 'student{middleName}', selected: false, availableField: true },\n { label: 'Student Notes', value: 'student{notes}', selected: false, availableField: true },\n { label: 'Student Home Phone', value: 'student{phoneHome}', selected: false, availableField: true },\n { label: 'Student Mobile Phone', value: 'student{phoneMobile}', selected: false, availableField: true },\n { label: 'Student Work Phone', value: 'student{phoneWork}', selected: false, availableField: true },\n { label: 'Student Work Ext', value: 'student{phoneWorkExt}', selected: false, availableField: true },\n { label: 'Student Zip Code', value: 'student{postal}', selected: false, availableField: true },\n { label: 'Student Pronouns', value: 'student{pronouns}', selected: false, availableField: true },\n { label: 'Student State', value: 'student{state}', selected: false, availableField: true },\n { label: 'Student Status', value: 'student{status}', selected: false, availableField: true }\n]\n\nconst COURSE_EXPORT_FIELDS = [\n\t// course\n { label: 'Course ID', value: 'id', selected: false, availableField: true },\n { label: 'Age Level', value: 'ageLevel', selected: false, availableField: true },\n { label: 'Course Day', value: 'dayOfWeek', selected: false, availableField: true },\n { label: 'Course Start Date', value: 'startDate', selected: false, availableField: true },\n { label: 'Course End Date', value: 'endDate', selected: false, availableField: true },\n { label: 'Is Tuition Based', value: 'isOpenArtsOrTuition', selected: false, availableField: true },\n { label: 'Medium', value: 'medium', selected: false, availableField: true },\n { label: 'Course Name', value: 'name', selected: false, availableField: true },\n { label: 'Number of Seats', value: 'numSeats', selected: false, availableField: true },\n { label: 'Number of Seats Available', value: 'numAvailable', selected: false, availableField: true },\n { label: 'Number of Students Dropped', value: 'numDropped', selected: false, availableField: true },\n { label: 'Number of Students Registered', value: 'numRegistered', selected: false, availableField: true },\n { label: 'Number of Students Transferred', value: 'numTransferred', selected: false, availableField: true },\n { label: 'Number of Students Waitlisted', value: 'numWaitlisted', selected: false, availableField: true },\n { label: 'Skill Level', value: 'skillLevel', selected: false, availableField: true },\n { label: 'Studio', value: 'studio', selected: false, availableField: true },\n { label: 'Suggested Contribution', value: 'suggestedContribution', selected: false, availableField: true },\n { label: 'Tuition Amount', value: 'tuitionAmount', selected: false, availableField: true },\n { label: 'Term', value: 'term{name}', selected: false, availableField: true },\n { label: 'Teaching Artist First Name', value: 'instructor{firstName}', selected: false, availableField: true },\n { label: 'Teaching Artist Last Name', value: 'instructor{lastName}', selected: false, availableField: true },\n { label: 'Teaching Artist Email', value: 'instructor{email}', selected: false, availableField: true },\n { label: 'Teaching Assistant First Name', value: 'assistant{firstName}', selected: false, availableField: true },\n { label: 'Teaching Assistant Last Name', value: 'assistant{lastName}', selected: false, availableField: true },\n { label: 'Teaching Assistant Email', value: 'assistant{email}', selected: false, availableField: true },\n\n\t// related registrations\n { label: 'Registration ID', value: 'registrations(limit: 500){items{id}}', selected: true, availableField: true },\n { label: 'Registration Amount', value: 'registrations(limit: 500){items{amount}}', selected: false, availableField: true },\n\t{ label: 'Registration Bill to Address', value: 'registrations(limit: 500){items{billToAddress}}', selected: false, availableField: true },\n { label: 'Registration Created At', value: 'registrations(limit: 500){items{createdAt}}', selected: false, availableField: true },\n { label: 'Registration Status', value: 'registrations(limit: 500){items{status}}', selected: false, availableField: true },\n { label: 'Registration Payment Status', value: 'registrations(limit: 500){items{paymentStatus}}', selected: false, availableField: true },\n { label: 'Registration Updated At', value: 'registrations(limit: 500){items{updatedAt}}', selected: false, availableField: true },\n\t\n\t\n\t// related student\n { label: 'Student ID', value: 'registrations(limit: 500){items{student{id}}}', selected: false, availableField: true },\n { label: 'Student Street Address', value: 'registrations(limit: 500){items{student{address1}}}', selected: false, availableField: true },\n { label: 'Student Address 2', value: 'registrations(limit: 500){items{student{address2}}}', selected: false, availableField: true },\n { label: 'Student City', value: 'registrations(limit: 500){items{student{city}}}', selected: false, availableField: true },\n { label: 'Student Country', value: 'registrations(limit: 500){items{student{country}}}', selected: false, availableField: true },\n { label: 'Student Date of Birth', value: 'registrations(limit: 500){items{student{dob}}}', selected: false, availableField: true },\n { label: 'Student Education', value: 'registrations(limit: 500){items{student{education}}}', selected: false, availableField: true },\n { label: 'Student Email', value: 'registrations(limit: 500){items{student{email}}}', selected: false, availableField: true },\n { label: 'Student Ethnicity', value: 'registrations(limit: 500){items{student{ethnicity}}}', selected: false, availableField: true },\n { label: 'Student First Name', value: 'registrations(limit: 500){items{student{firstName}}}', selected: false, availableField: true },\n { label: 'Student Gender', value: 'registrations(limit: 500){items{student{gender}}}', selected: false, availableField: true },\n { label: 'Student Income', value: 'registrations(limit: 500){items{student{income}}}', selected: false, availableField: true },\n { label: 'Student Last Activity', value: 'registrations(limit: 500){items{student{lastActivity}}}', selected: false, availableField: true },\n { label: 'Student Last Login', value: 'registrations(limit: 500){items{student{lastLogin}}}', selected: false, availableField: true },\n { label: 'Student Last Name', value: 'registrations(limit: 500){items{student{lastName}}}', selected: false, availableField: true },\n { label: 'Student Middle Name', value: 'registrations(limit: 500){items{student{middleName}}}', selected: false, availableField: true },\n { label: 'Student Notes', value: 'registrations(limit: 500){items{student{notes}}}', selected: false, availableField: true },\n { label: 'Student Home Phone', value: 'registrations(limit: 500){items{student{phoneHome}}}', selected: false, availableField: true },\n { label: 'Student Mobile Phone', value: 'registrations(limit: 500){items{student{phoneMobile}}}', selected: false, availableField: true },\n { label: 'Student Work Phone', value: 'registrations(limit: 500){items{student{phoneWork}}}', selected: false, availableField: true },\n { label: 'Student Work Ext', value: 'registrations(limit: 500){items{student{phoneWorkExt}}}', selected: false, availableField: true },\n { label: 'Student Zip Code', value: 'registrations(limit: 500){items{student{postal}}}', selected: false, availableField: true },\n { label: 'Student Pronouns', value: 'registrations(limit: 500){items{student{pronouns}}}', selected: false, availableField: true },\n { label: 'Student State', value: 'registrations(limit: 500){items{student{state}}}', selected: false, availableField: true },\n { label: 'Student Status', value: 'registrations(limit: 500){items{student{status}}}', selected: false, availableField: true }\n]\n\nexports.STUDENT_EXPORT_FIELDS = STUDENT_EXPORT_FIELDS\nexports.REGISTRTATION_EXPORT_FIELDS = REGISTRTATION_EXPORT_FIELDS\nexports.COURSE_EXPORT_FIELDS = COURSE_EXPORT_FIELDS","import { resolveComponent as _resolveComponent, createVNode as _createVNode, renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"min-h-screen\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_tw_navbar = _resolveComponent(\"tw-navbar\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_tw_navbar),\n _createElementVNode(\"main\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ])\n ]))\n}","\n\t// name the component\n\texport default { name: 'AuthLayout' }\n","import { render } from \"./AuthLayout.vue?vue&type=template&id=d04ca0d4&ts=true\"\nimport script from \"./AuthLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./AuthLayout.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-center justify-end gap-2 z-0\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"border bg-white rounded-lg py-2 px-4 shadow-xl mt-3 mr-3 max-w-xl space-y-4 z-50\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Demographic info helps us understand our community better so we can better meet your needs. This information also helps us keep our vital programs accessible (Thanks, funders!). We keep all information private and never share identifiable info with others. \")\n], -1)\n\nimport { Popover, PopoverButton, PopoverPanel, TransitionRoot } from '@headlessui/vue'\n\timport { QuestionMarkCircleIcon as QuestionMarkCircleIconMini } from \"@heroicons/vue/20/solid\"\n\timport { ref } from 'vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'HouseholdIncomeInfoChip' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\tconst hover = ref(false)\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_unref(Popover), { class: \"h-6 relative\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(PopoverButton), {\n class: \"outline-none cursor-default z-0 w-8\",\n onMouseover: _cache[0] || (_cache[0] = ($event: any) => (hover.value = true)),\n onMouseleave: _cache[1] || (_cache[1] = ($event: any) => (hover.value = false))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_unref(QuestionMarkCircleIconMini), { class: \"z-0 h-5 text-gray-500\" })\n ])\n ]),\n _: 1\n }),\n _createVNode(_unref(PopoverPanel), {\n class: \"absolute z-10 w-96 left-full top-1/2 transform -translate-x-full\",\n static: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(TransitionRoot), {\n show: hover.value,\n enter: \"transition-opacity duration-75\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"transition-opacity duration-150\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"show\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./HouseholdIncomeInfoChip.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./HouseholdIncomeInfoChip.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AccountConfirmation.vue?vue&type=style&index=0&id=3b4c6428&scoped=true&lang=css\"","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n {\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t}\n }\n\t// other routes below\n];","import { defineStore } from 'pinia'\nimport { useStorage } from '@vueuse/core'\n\nexport const appliedFiltersStore = defineStore('appliedFilters', {\n\t// a function that returns a fresh state\n\tstate: () => ({\n\t\tappliedFilters: useStorage('appliedFilters', {\n\t\t\tcourseSearch: ['', [], [], [], []]\n\t\t})\n\t}),\n\t\n\t// optional getters\n\tgetters: {\n\n\t},\n\n\t// optional actions\n\tactions: {\n\n\t}\n})","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./SelectList.vue?vue&type=style&index=0&id=5ecf46ea&scoped=true&lang=css\"","import { Nav } from '@/types' // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const nav: Nav = { \n name: config.nav.name, \n to: {name: config.nav.to},\n position: config.nav.position,\n show: config.nav.show,\n\tmodule: config.module,\n\tauth: config.auth\n}","import { Nav } from '@/types' // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const nav: Nav = { \n name: config.nav.name, \n to: {name: config.nav.to},\n position: config.nav.position,\n show: config.nav.show,\n\tmodule: config.module,\n\tauth: config.auth\n}\n","import { API, graphqlOperation } from 'aws-amplify'\n\n/**\n * Loads data until next tokens are exhausted\n * @param {String} query - GraphQL query to invoke\n * @param {String} nextToken - the current GraphQL query next token\n * @param {Object} input - input variables for GraphQL query\n * @param {String} queryName - name of GraphQL query being invoked\n * @returns array, string\n */\n export default async function async (query:any, nextToken:string|null, input:any, queryName:string){\n let list:any = []\n do {\n input.nextToken = nextToken\n let response:any\n try{\n response = await API.graphql(graphqlOperation(query, input))\n }\n catch(err){\n console.log(err)\n response = err\n }\n\n list = [ ...list, ...response.data[queryName].items]\n nextToken = response.data[queryName].nextToken\n } while(input.limit > list.length && nextToken)\n return [list, nextToken]\n }","import { defineStore } from 'pinia'\nimport { useStorage } from '@vueuse/core'\n\nexport const valueListStore = defineStore('valueList', {\n\t// a function that returns a fresh state\n\tstate: () => ({\n\t\tvalueList: useStorage('valueList', {\n\t\t\tincome: [],\n\t\t\tmedium: [],\n\t\t\tgender: [],\n\t\t\tethnicity: [],\n\t\t\tpronouns: [],\n\t\t\tskillLevel: [],\n\t\t\tageLevel: [],\n\t\t\teducation: []\n\t\t}),\n\n\t}),\n\t\n\t// optional getters\n\tgetters: {\n\n\t},\n\n\t// optional actions\n\tactions: {\n\n\t}\n})","import { Nav } from '@/types' // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const nav: Nav = { \n name: config.nav.name, \n to: {name: config.nav.to},\n position: config.nav.position,\n show: config.nav.show,\n\tmodule: config.module,\n\tauth: config.auth\n}","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./TwInput.vue?vue&type=style&index=0&id=1d87b4a1&scoped=true&lang=css\"","export const getStudent = /* GraphQL */ `\n query GetStudent($id: ID!) {\n getStudent(id: $id) {\n id\n address1\n address2\n city\n country\n dob\n education\n email\n ethnicity\n firstName\n gender\n income\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n pronouns\n state\n status\n sub\n allStudents\n createdAt\n updatedAt\n }\n }\n`;\n\nexport const studentSortFirstName = /* GraphQL */ `\n query StudentSortFirstName(\n $allStudents: Int!\n $firstName: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelStudentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n studentSortFirstName(\n allStudents: $allStudents\n firstName: $firstName\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n dob\n email\n firstName\n lastActivity\n lastName\n notes\n phoneMobile\n postal\n pronouns\n status\n }\n nextToken\n }\n }\n`;\nexport const studentSortLastName = /* GraphQL */ `\n query StudentSortLastName(\n $allStudents: Int!\n $lastName: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelStudentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n studentSortLastName(\n allStudents: $allStudents\n lastName: $lastName\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n dob\n email\n firstName\n lastActivity\n lastName\n notes\n phoneMobile\n postal\n pronouns\n status\n }\n nextToken\n }\n }\n`;\nexport const studentSortEmail = /* GraphQL */ `\n query StudentSortEmail(\n $allStudents: Int!\n $email: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelStudentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n studentSortEmail(\n allStudents: $allStudents\n email: $email\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n dob\n email\n firstName\n lastActivity\n lastName\n notes\n phoneMobile\n postal\n pronouns\n status\n }\n nextToken\n }\n }\n`;\nexport const studentSortDOB = /* GraphQL */ `\n query StudentSortDOB(\n $allStudents: Int!\n $dob: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelStudentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n studentSortDOB(\n allStudents: $allStudents\n dob: $dob\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n dob\n email\n firstName\n lastActivity\n lastName\n notes\n phoneMobile\n postal\n pronouns\n status\n }\n nextToken\n }\n }\n`;\n\nexport const searchStudents = /* GraphQL */ `\n query SearchStudents(\n $filter: SearchableStudentFilterInput\n $sort: [SearchableStudentSortInput]\n $limit: Int\n $nextToken: String\n $from: Int\n $aggregates: [SearchableStudentAggregationInput]\n ) {\n searchStudents(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n aggregates: $aggregates\n ) {\n items {\n\t\tid\n dob\n email\n firstName\n lastActivity\n lastName\n notes\n phoneMobile\n postal\n pronouns\n status\n }\n nextToken\n total\n aggregateItems {\n name\n result {\n ... on SearchableAggregateScalarResult {\n value\n }\n ... on SearchableAggregateBucketResult {\n buckets {\n key\n doc_count\n }\n }\n }\n }\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, createTextVNode as _createTextVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"table-action-menu\",\n class: \"relative\"\n}, null, -1)\nconst _hoisted_2 = [\"onClick\"]\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport { useDebounceFn } from \"@vueuse/core\"\n\t// Components\n\timport { \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems\n\t} from '@headlessui/vue'\n\n\t// Vue\n\timport {\n\t\tref,\n\t\tonMounted,\n\t\tonBeforeUnmount\n\t} from 'vue'\n\n\t// API\n\timport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\timport { Student as StudentType, SearchStudentsQueryVariables } from \"@/API\"\n\timport api from '@/utilities/api'\n\n\timport { \n\t\tstudentSortFirstName, \n\t\tstudentSortLastName,\n\t\tstudentSortDOB,\n\t\tstudentSortEmail,\n\t\tsearchStudents\n\t} from './queries'\n\n\timport EventBus from '@/events'\n\n\timport { \n\t\tadminFiltersStore\n\t} from '@/store/adminFiltersStore'\n\n\t//#endregion\n\t\n\t// name the component\n\tconst __default__ = { name: \"StudentsMain\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\t//#region imports\n\tconst showNotification = ref(false)\n\tconst notificationTitle = ref('Success')\n\tconst notificationIcon = ref(0)\n\tconst notificationSubtitle = ref('')\n\tconst notificationType = ref('')\n\n\tconst _adminFiltersStore = adminFiltersStore()\n\n\tfunction showEmailNotification(type:string) {\n\t\tnotificationType.value = type\n\t\tnotificationSubtitle.value = 'All selected student(s) are being emailed in the background.'\n\t\tshowNotification.value = true\n\t}\n\n\t// #region infinite scroll setup\n\tonMounted( async () => {\n\t\tEventBus.on('infinite-scroll', async () => {\n\t\t\tif(nextToken.value) await getData(false)\n\t\t\tEventBus.trigger('infinite-scroll-end', null)\n\t\t})\n\n\t\tawait filterStudents(_adminFiltersStore.appliedFilters.studentList.filters)\n\t})\n\n\tconst tableChild = ref<{filterOptionsSelected: [[]]}>({filterOptionsSelected: [[]]})\n\t\n\tonBeforeUnmount( () => {\n\t\t// Store filter values\n\t\t_adminFiltersStore.appliedFilters.studentList.searchText = searchText.value ?? ''\n\t\t_adminFiltersStore.appliedFilters.studentList.sortField = sortField.value ?? 'firstName'\n\t\t_adminFiltersStore.appliedFilters.studentList.sortDirection = sortDirection.value ?? 'ASC'\n\t\t_adminFiltersStore.appliedFilters.studentList.query = query.value ?? null\n\t\t_adminFiltersStore.appliedFilters.studentList.queryName = queryName.value ?? 'studentSortFirstName'\n\t\t_adminFiltersStore.appliedFilters.studentList.filters[0] = tableChild.value.filterOptionsSelected[0] ?? []\n\n\t\tEventBus.off('infinite-scroll', null)\n\t})\n\t// #endregion\n\n\n\t// #region get data\n\tconst filter = ref({})\n\tconst searchFilter = ref([])\n\tconst isLoading = ref(true)\n\tconst limit = 100\n\tconst nextToken = ref(null)\n\tconst query = ref(_adminFiltersStore.appliedFilters.studentList.query ??studentSortFirstName)\n\tconst queryName = ref(_adminFiltersStore.appliedFilters.studentList.queryName ?? \"studentSortFirstName\")\n\tconst students = ref([])\n\tconst sortDirection = ref(_adminFiltersStore.appliedFilters.studentList.sortDirection ?? \"ASC\")\n\tconst sortField = ref(_adminFiltersStore.appliedFilters.studentList.sortField ?? \"firstName\")\n\tconst searchText = ref(_adminFiltersStore.appliedFilters.studentList.searchText ?? \"\")\n\n\n\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t */\n\tasync function getData(reset:boolean = false) {\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tallStudents: 1,\n\t\t\tfilter: filter.value,\n\t\t\tsortDirection: sortDirection.value\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry{\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\n\t\t\tif(reset) students.value = items\n\t\t\telse students.value = [...students.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\t// #endregion\n\n\n\t// #region search\n\t/**\n \t* Search through student records and display records with matching criteria\n \t* @param {any} text - The criteria being searched for\n \t*/\n\tconst searchMethod = useDebounceFn(async (text: string) => {\n\t\tif(text.length) {\n\t\t\tsearchText.value = text\n\t\t\tnextToken.value = null\n\t\t}\n\t\telse {\n\t\t\tsearchText.value = ''\n\t\t\tawait getData(true)\n\t\t\treturn\n\t\t}\n\n\t\tisLoading.value = true\n\t\tstudents.value.length = 0\n\t\ttry {\n\t\t\tlet input:SearchStudentsQueryVariables = {\n\t\t\t\tfilter: {\n\t\t\t\t\tand: [\n\t\t\t\t\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\tsort: [{\n\t\t\t\t\tdirection: sortDirection.value.toLowerCase(), \n\t\t\t\t\tfield: sortField.value\n\t\t\t\t}]\n\t\t\t}\n\t\t\t// and multiple words together\n\t\t\ttext.split(' ').forEach(word => {\n\t\t\t\tinput.filter?.and?.push ({\n\t\t\t\t\tor: [\n\t\t\t\t\t\t{ firstName: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ lastName: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ email: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ postal: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ phoneMobile: { matchPhrasePrefix: word } }\n\t\t\t\t\t]\n\t\t\t\t})\n\t\t\t})\n\n\t\t\t// add any applied table filters\n\t\t\tif(searchFilter.value.length) {\n\t\t\t\tsearchFilter.value.forEach(filter => {\n\t\t\t\t\tinput.filter?.and?.push(filter)\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tconst response: any = await api(searchStudents, input)\n\t\t\tconst items = response?.data?.searchStudents?.items\n\n\t\t\tstudents.value = items\n\t\t\t\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}, 500)\n\t// #endregion\n\n\t//#region sorting and filters\n\t/**\n\t * To sort based on the selected column\n\t * @param {string} _sortDirection - The current sort direction\n\t * @param _query - The query to be used\n\t * @param _queryName - The query name \n\t */\n\tasync function sortMethod(_sortDirection: string, _query: any, _queryName: string, _sortField: string){\n\t\tstudents.value.length = 0\n\t\tsortDirection.value = _sortDirection\n\t\tquery.value = _query\n\t\tqueryName.value = _queryName\n\t\tsortField.value = _sortField\n\t\tif(!searchText.value) getData(true)\n\t\telse searchMethod(searchText.value)\n\t}\n\n\tconst filters = ref([\n\t\t{\n\t\t\tlabel: 'Status',\n\t\t\tfield: 'status',\n\t\t\toptions: [\n\t\t\t\t{ value: 'Returning Student', label: 'Returning Student' },\n\t\t\t\t{ value: 'New Registration', label: 'New Registration' },\n\t\t\t\t{ value: 'New Account', label: 'New Account' }\n\t\t\t],\n\t\t\tvalue: _adminFiltersStore.appliedFilters.studentList.filters[0] ?? []\n\t\t}\n\t]);\n\n\tconst tableActions = [\n\t\t{ label: 'Email Selected Students...', method: emailSelectedStudents },\n\t\t{ label: 'Export Selected Students...', method: exportSelectedStudents }\n\t\t\n\t]\n\n\t//#region email\n\tconst emailModalOpen = ref(false);\n\tconst numRecordsEmail = ref(0);\n\tconst emailData = ref([]);\n\n\tfunction emailSelectedStudents(selectedRows: Array){\n\t\tnumRecordsEmail.value = selectedRows.length\n\t\temailModalOpen.value = true\n\t\temailData.value = selectedRows\n\t}\n\t//#endregion\n\n\t//#region export\n\tconst exportModalOpen = ref(false);\n\tconst numRecordsExport = ref(0);\n\tconst exportData = ref([]);\n\n\tfunction exportSelectedStudents(selectedRows: Array){\n\t\tnumRecordsExport.value = selectedRows.length\n\t\texportModalOpen.value = true\n\t\texportData.value = selectedRows\n\t}\n\t//#endregion\n\n\t/**\n\t * Filter list of students\n\t * @function filterStudents\n\t * @param {Array} selectedFilters - The selected filters\n\t */\n\tasync function filterStudents(selectedFilters: [[]]) {\n\t\tsearchFilter.value = []\n\t\tconst filterQuery:any = {\n\t\t\tand: []\n\t\t}\n\n\t\tselectedFilters.forEach((values, i) => {\n\t\t\tlet innerOr:any = { or: [] }\n\t\t\tlet field = filters.value[i].field\n\t\t\tlet innerOrSearch:any = { or: [] }\n\t\t\tif (values?.length) {\n\t\t\t\tvalues.forEach((value:string) => {\n\t\t\t\t\tlet obj:any = {}\n\t\t\t\t\tobj[field] = {contains: value}\n\t\t\t\t\tinnerOr.or.push(obj)\n\n\t\t\t\t\tlet searchObj:any = {}\n\t\t\t\t\tsearchObj[field] = {matchPhrase: value}\n\t\t\t\t\tinnerOrSearch.or.push(searchObj)\n\t\t\t\t})\n\t\t\t\tfilterQuery.and.push(innerOr)\n\t\t\t\tsearchFilter.value.push(innerOrSearch)\n\t\t\t}\n\t\t})\n\n\t\tfilter.value = filterQuery\n\t\tstudents.value.length = 0\n\n\t\tif(!searchText.value) getData(true)\n\t\telse searchMethod(searchText.value)\n\t}\n\t//#endregion\n\n\n\t//#region notes modal\n\tconst notesModalOpen = ref(false);\n\tconst studentNotes = ref('');\n\tconst studentName = ref('');\n\n\t/**\n\t * Display the notes modal for the selected student\n\t * @param {object} row - The active student record\n\t */\n\tfunction showModal(row: { notes: string, firstName: string, lastName: string }){\n\t\tif(row.notes) notesModalOpen.value = true\n\t\tstudentNotes.value = row.notes\n\t\tstudentName.value = `${row.firstName} ${row.lastName}`\n\t}\n\t//#endregion\n\t\n\t// getData()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_DocumentTextIconSolid = _resolveComponent(\"DocumentTextIconSolid\")!\n const _component_DocumentIcon = _resolveComponent(\"DocumentIcon\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_email_modal = _resolveComponent(\"email-modal\")!\n const _component_tw_export = _resolveComponent(\"tw-export\")!\n const _component_student_notes_modal = _resolveComponent(\"student-notes-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true),\n _hoisted_1,\n _createVNode(_component_tw_table, {\n title: _ctx.$route.name,\n data: students.value,\n \"default-sort\": {prop: sortField.value, order: sortDirection.value},\n checkable: true,\n \"multi-row-actions\": tableActions,\n loading: isLoading.value,\n filterable: true,\n \"filter-function\": filterStudents,\n filters: filters.value,\n searchable: true,\n \"search-function\": _unref(searchMethod),\n \"search-value\": searchText.value,\n \"search-placeholder\": \"Type to search for a student...\",\n ref_key: \"tableChild\",\n ref: tableChild\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"firstName\",\n header: \"First Name\",\n width: \"34\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(studentSortFirstName), 'studentSortFirstName', 'firstName') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"lastName\",\n header: \"Last Name\",\n width: \"34\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(studentSortLastName), 'studentSortLastName', 'lastName') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n header: \"Age\",\n width: \"20\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(studentSortDOB), 'studentSortDOB', 'dob') }\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.age(row.dob)), 1)\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"pronouns\",\n header: \"Pronouns\",\n width: \"48\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"email\",\n header: \"Email\",\n width: \"52\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(studentSortEmail), 'studentSortEmail', 'email') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"phoneMobile\",\n header: \"Phone\",\n width: \"34\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"postal\",\n header: \"Zip\",\n width: \"17\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Notes\",\n width: \"17\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: ($event: any) => (showModal(row)),\n class: \"text-gray-500\"\n }, [\n (row.notes)\n ? (_openBlock(), _createBlock(_component_DocumentTextIconSolid, {\n key: 0,\n class: \"text-brand-500 h-5 document-text hover:text-brand2-500\"\n }))\n : (_openBlock(), _createBlock(_component_DocumentIcon, {\n key: 1,\n class: \"h-5 document-text\"\n })),\n _hoisted_3\n ], 8, _hoisted_2)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Status\",\n width: \"39\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status ?? 'No Status')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status || \"No Status\"), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"lastActivity\",\n header: \"Last Activity\",\n width: \"46\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.convertIsoToLocal(row.lastActivity, 'America/Chicago') || \"—\"), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n default: _withCtx(({row}) => [\n _hoisted_4,\n _createVNode(_component_router_link, {\n to: {name: 'StudentDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_5\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"title\", \"data\", \"default-sort\", \"loading\", \"filters\", \"search-function\", \"search-value\"]),\n (emailModalOpen.value)\n ? (_openBlock(), _createBlock(_component_email_modal, {\n key: 1,\n show: emailModalOpen.value,\n \"num-records-email\": numRecordsEmail.value,\n table: 'student',\n data: emailData.value,\n onCloseEmailModal: _cache[1] || (_cache[1] = (value) => emailModalOpen.value = value),\n onEmailSuccess: _cache[2] || (_cache[2] = (value) => showEmailNotification(value))\n }, null, 8, [\"show\", \"num-records-email\", \"data\"]))\n : _createCommentVNode(\"\", true),\n (exportModalOpen.value)\n ? (_openBlock(), _createBlock(_component_tw_export, {\n key: 2,\n show: exportModalOpen.value,\n table: \"student\",\n \"num-records-export\": numRecordsExport.value,\n data: exportData.value,\n onCloseExportModal: _cache[3] || (_cache[3] = (value) => exportModalOpen.value = value)\n }, null, 8, [\"show\", \"num-records-export\", \"data\"]))\n : _createCommentVNode(\"\", true),\n (notesModalOpen.value)\n ? (_openBlock(), _createBlock(_component_student_notes_modal, {\n key: 3,\n show: notesModalOpen.value,\n \"student-name\": studentName.value,\n \"student-notes\": studentNotes.value,\n onCloseNotesModal: _cache[4] || (_cache[4] = (value) => notesModalOpen.value = value)\n }, null, 8, [\"show\", \"student-name\", \"student-notes\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./StudentsMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StudentsMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport {\n\t\tref\n\t} from 'vue'\n\n //eslint-disable-next-line\n \n\t// name the component\n\tconst __default__ = { name: \"RegisteredCourses\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: { \n\t\tregisteredCourses: {\n type: Object\n } \n\t},\n setup(__props) {\n\nconst props = __props;\n\n\t// Vue\n\t\n\n\tconst tableActions = [\n\t\t{ label: 'Export Selected Registrations...', method: exportSelectedStudents }\n\t]\n\n\t//#region export\n\tconst exportModalOpen = ref(false);\n\tconst numRecordsExport = ref('');\n\tconst exportData = ref([]);\n\tconst exportAll = ref(false)\n\n\tfunction exportSelectedStudents(selectedRows: Array){\n\t\tnumRecordsExport.value = selectedRows.length\n\t\texportModalOpen.value = true\n\t\texportData.value = selectedRows\n\t}\n\n\tfunction exportAllRegistrations() {\n\t\texportAll.value = true\n\t\texportModalOpen.value = true\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_tw_export = _resolveComponent(\"tw-export\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_tw_table, {\n data: props.registeredCourses,\n class: \"-mt-4\",\n placeholder: \"No registered courses to display\",\n checkable: true,\n \"multi-row-actions\": tableActions\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n header: \"Name\",\n width: \"60\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.course?.name), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Status\",\n width: \"34\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row?.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row?.status), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"startDate\",\n header: \"start\",\n width: \"28\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row?.course?.startDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"endDate\",\n header: \"end\",\n width: \"28\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row?.course?.endDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Day\",\n width: \"18\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.course?.dayOfWeek), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Time\",\n width: \"24\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.course?.timeOfDay), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Medium\",\n width: \"30\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.course?.medium), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Skill Level\",\n width: \"40\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.course?.skillLevel), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Studio\",\n width: \"20\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.course?.studio), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Reg\",\n width: \"14\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.course?.numRegistered), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Wl\",\n width: \"14\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.course?.numWaitlisted), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Av\",\n width: \"14\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.course?.numAvailable), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_1\n ]),\n default: _withCtx(({row}) => [\n _hoisted_2,\n _createVNode(_component_router_link, {\n to: {name: 'CourseDetails', params:{id: row.courseId}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_3\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n (exportModalOpen.value)\n ? (_openBlock(), _createBlock(_component_tw_export, {\n key: 0,\n show: exportModalOpen.value,\n table: \"registration\",\n \"num-records-export\": numRecordsExport.value,\n data: exportData.value,\n all: exportAll.value,\n onCloseExportModal: _cache[0] || (_cache[0] = (value) => exportModalOpen.value = value)\n }, null, 8, [\"show\", \"num-records-export\", \"data\", \"all\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./RegisteredCourses.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RegisteredCourses.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export const getStudent = /* GraphQL */ `\n query GetStudent($id: ID!) {\n getStudent(id: $id) {\n id\n address1\n address2\n city\n country\n dob\n education\n email\n ethnicity\n firstName\n gender\n income\n isInstructor\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n pronouns\n state\n status\n sub\n allStudents\n createdAt\n updatedAt\n }\n }\n`;\n\nexport const registrationsByStudentIdAndCreatedAt = /* GraphQL */ `\n query RegistrationsByStudentIdAndCreatedAt(\n $studentId: ID!\n $createdAt: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsByStudentIdAndCreatedAt(\n studentId: $studentId\n createdAt: $createdAt\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n courseId\n course{\n name\n status\n startDate\n endDate\n dayOfWeek\n timeOfDay\n medium\n skillLevel\n studio\n numRegistered\n numWaitlisted\n numAvailable\n }\n\t\tstatus\n\t\t\n }\n nextToken\n }\n }\n`;\n\nexport const emailsByStudentId = /* GraphQL */ `\n query EmailsByStudentId(\n $studentId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelemailFilterInput\n $limit: Int\n $nextToken: String\n ) {\n emailsByStudentId(\n studentId: $studentId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n body\n sentAt\n status\n subject\n }\n nextToken\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"onClick\"]\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport api from '@/utilities/api'\n\n\t// Queries\n\timport { emailsByStudentId } from './queries'\n\n\t// Vue\n\timport {\n\t\tref\n\t} from 'vue'\n\n //eslint-disable-next-line\n \n\t// name the component\n\tconst __default__ = { name: \"StudentEmails\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: { \n\t\tstudentID: {\n type: String\n } \n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\t// API\n\t\n\n\tconst emails = ref([])\n\n\tasync function getData() {\n\t\ttry {\n\t\t\tconst response: any = await api(emailsByStudentId, { studentId: props.studentID })\n\t\t\temails.value = response.data.emailsByStudentId.items\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t}\n\n\tgetData()\n\n\t//#region email modal\n\tconst emailModalOpen = ref(false)\n\tconst emailSubject = ref('')\n\tconst emailBody = ref('')\n\n\t/**\n\t * Display the notes modal for the selected student\n\t * @param {object} row - The active student record\n\t */\n\tfunction showModal(row: { subject: string, body: string }){\n\t\temailModalOpen.value = true\n\t\temailSubject.value = row.subject\n\t\temailBody.value = row.body\n\t}\n\t//#endregion\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_DocumentTextIconSolid = _resolveComponent(\"DocumentTextIconSolid\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_email_display_modal = _resolveComponent(\"email-display-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_tw_table, {\n class: \"-mt-4\",\n data: emails.value,\n placeholder: 'No correspondence to display'\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"subject\",\n header: \"name\",\n width: \"64\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"sent at\",\n width: \"64\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatTimestamp(row.sentAt)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"preview\",\n width: \"200\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: ($event: any) => (showModal(row)),\n class: \"text-gray-500\"\n }, [\n _createVNode(_component_DocumentTextIconSolid, { class: \"text-brand-500 h-5 document-text hover:text-brand2-500\" }),\n _hoisted_2\n ], 8, _hoisted_1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"status\",\n header: \"status\",\n width: \"40\"\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n (emailModalOpen.value)\n ? (_openBlock(), _createBlock(_component_email_display_modal, {\n key: 0,\n show: emailModalOpen.value,\n subject: emailSubject.value,\n body: emailBody.value,\n onCloseEmailDisplayModal: _cache[0] || (_cache[0] = (value) => emailModalOpen.value = value)\n }, null, 8, [\"show\", \"subject\", \"body\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./StudentEmails.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StudentEmails.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport {\n\t\trelatedStudentsByParentId\n\t} from '@/modules/myAccount/queries'\t\n\n\timport {\n\t\tref\n\t} from 'vue'\n\timport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\timport { RelatedStudent as RelatedStudentType } from \"@/API\"\n\n // #region get data\n\t\n\t// name the component\n\tconst __default__ = { name: \"RelatedStudents\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tid: {\n type: String,\n default: ''\n }\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\tconst isLoading = ref(false)\n\tconst limit = 100\n\tconst nextToken = ref(null)\n\tconst query = ref(relatedStudentsByParentId)\n\tconst queryName = ref(\"relatedStudentsByParentId\")\n\tconst students = ref([])\n\tconst relatedStudentDialogOpen = ref(false)\n\tconst studentId = ref('')\n\n\t\n\t\t\n\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t */\n\tasync function getData(reset:boolean = false) {\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tparentId: props.id\n\t\t}\n\n\t\tif(reset) nextToken.value = null\n\n\t\ttry{\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\t\t\titems = items.map((item:any) => {\n\t\t\t\treturn item.child\n\t\t\t})\n\t\t\tif(reset) students.value = items\n\t\t\telse students.value = [...students.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\n\tgetData()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createBlock(_component_tw_table, {\n class: \"-mt-4\",\n placeholder: 'No related students to display',\n data: students.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"firstName\",\n header: \"First Name\",\n width: \"40\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"lastName\",\n header: \"Last Name\",\n width: \"40\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Age\",\n width: \"28\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.age(row.dob)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"pronouns\",\n header: \"Pronouns\",\n width: \"40\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"phoneMobile\",\n header: \"Phone\",\n width: \"40\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"notes\",\n header: \"Notes\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Status\",\n width: \"40\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status || 'No Status'),\n class: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status || \"No Status\"), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"lastActivity\",\n header: \"Last Activity\",\n width: \"48\"\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n default: _withCtx(({row}) => [\n _hoisted_1,\n _createVNode(_component_router_link, {\n to: {name: 'StudentDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_2\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]))\n}\n}\n\n})","import script from \"./RelatedStudents.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RelatedStudents.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export const updateStudent = /* GraphQL */ `\n mutation UpdateStudent(\n $input: UpdateStudentInput!\n $condition: ModelStudentConditionInput\n ) {\n updateStudent(input: $input, condition: $condition) {\n id\n isInstructor\n notes\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, renderList as _renderList, Fragment as _Fragment, vModelText as _vModelText, createStaticVNode as _createStaticVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex justify-start md:justify-between md:items-center gap-4 mb-6 flex-col md:flex-row\" }\nconst _hoisted_2 = { class: \"flex justify-start gap-4 flex-col md:flex-row md:justify-between md:items-center\" }\nconst _hoisted_3 = { class: \"title\" }\nconst _hoisted_4 = { class: \"flex-none\" }\nconst _hoisted_5 = { class: \"card mb-8\" }\nconst _hoisted_6 = { class: \"grid grid-cols-2 divide-y md:divide-x md:divide-y-0\" }\nconst _hoisted_7 = { class: \"col-span-2 md:col-span-1 pb-8 md:pb-0 md:pr-8\" }\nconst _hoisted_8 = { class: \"grid grid-cols-6 gap-6\" }\nconst _hoisted_9 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_10 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_11 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_12 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_13 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_14 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_15 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_16 = [\"href\"]\nconst _hoisted_17 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_18 = [\"href\"]\nconst _hoisted_19 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_20 = [\"href\"]\nconst _hoisted_21 = { class: \"col-span-3 lg:col-span-2\" }\nconst _hoisted_22 = [\"href\"]\nconst _hoisted_23 = { class: \"col-span-6 lg:col-span-4 items-center flex\" }\nconst _hoisted_24 = { key: 1 }\nconst _hoisted_25 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"h-4 rounded-full bg-gray-300 animate-pulse w-1/2\" }, null, -1)\nconst _hoisted_26 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-3 h-6 rounded-full bg-gray-300 animate-pulse w-full\" }, null, -1)\nconst _hoisted_27 = [\n _hoisted_25,\n _hoisted_26\n]\nconst _hoisted_28 = { class: \"col-span-2 md:col-span-1 pt-8 md:pt-0 md:pl-8 grid grid-rows-2 grid-flow-row divide-y\" }\nconst _hoisted_29 = { class: \"row-span-1 pb-8\" }\nconst _hoisted_30 = { key: 0 }\nconst _hoisted_31 = { class: \"text-lg font-bold text-gray-900 font-gotham\" }\nconst _hoisted_32 = { key: 1 }\nconst _hoisted_33 = /*#__PURE__*/_createStaticVNode(\"
\", 5)\nconst _hoisted_38 = [\n _hoisted_33\n]\nconst _hoisted_39 = { class: \"space-y-3 row-span-1 pt-8\" }\nconst _hoisted_40 = { class: \"font-bold font-gotham\" }\nconst _hoisted_41 = { class: \"font-bold font-gotham\" }\nconst _hoisted_42 = { class: \"font-bold font-gotham\" }\nconst _hoisted_43 = { class: \"sm:hidden\" }\nconst _hoisted_44 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"tabs\",\n class: \"sr-only\"\n}, \"Select a tab\", -1)\nconst _hoisted_45 = [\"value\", \"selected\"]\nconst _hoisted_46 = { class: \"card p-0\" }\nconst _hoisted_47 = { class: \"hidden sm:block\" }\nconst _hoisted_48 = { class: \"border-b border-gray-200\" }\nconst _hoisted_49 = {\n class: \"isolate flex border-gray-200\",\n \"aria-label\": \"Tabs\"\n}\nconst _hoisted_50 = [\"onClick\", \"aria-current\"]\nconst _hoisted_51 = { class: \"px-4 py-6 sm:px-6 space-y-4\" }\nconst _hoisted_52 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"student-notes\",\n class: \"block text-sm font-bold font-gotham text-gray-700 uppercase mb-1\"\n}, \" Student Notes \", -1)\n\nimport api from '@/utilities/api'\n\timport { Student as StudentType } from \"@/API\"\n\n\t// Components\n\timport RegisteredCourses from './RegisteredCourses.vue'\n\timport StudentEmails from './StudentEmails.vue'\n\timport RelatedStudents from './RelatedStudents.vue'\n\n\t//Queries\n\timport { \n\t\tgetStudent,\n\t\tregistrationsByStudentIdAndCreatedAt\n\t} from './queries'\n\n\t// Mutations\n\timport {\n\t\tupdateStudent\n\t} from './mutations'\n\n\t// Vue\n\timport {\n\t\tref,\n\t\tcomputed, \n\t\tonMounted\n\t} from 'vue'\t\n\t\n\t\n\t\n\t// name the component\n\tconst __default__ = { name: \"StudentDetails\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tid: {\n type: String,\n default: ''\n }\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\t// API\n\t\n\n\tonMounted(() => {\n\t\tgetData()\n\t})\n\n\tconst fullName = computed(() => {\n\t\treturn [student.value.firstName, student.value.middleName, student.value.lastName].join(\" \")\n\t})\n\n\tconst student = ref({} as StudentType)\n\tconst registeredCourses = ref([])\n\tconst showSave = ref(false)\n\tconst isLoading = ref(true)\n\n\n\tasync function getData() {\n\t\ttry {\n\t\t\tconst response: any = await api(getStudent, { id: props.id })\n\t\t\tstudent.value= response.data.getStudent\n\n\t\t\tif(student.value.isInstructor == 1) student.value.isInstructor = true\n\t\t\telse student.value.isInstructor = false\n\n\t\t\tconst coursesRes: any = await api(registrationsByStudentIdAndCreatedAt, { studentId: props.id })\n\t\t\tregisteredCourses.value = coursesRes.data.registrationsByStudentIdAndCreatedAt.items\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\n\tconst tabs = ref([\n\t\t{ name: 'Courses', href:'#', current: true },\n\t\t{ name: 'Correspondence', href:'#', current: false },\n\t\t{ name: 'Notes', href:'#', current: false },\n\t\t{ name: 'Related Students', href:'#', current: false },\n\t])\n\tconst selectedTab = ref(0)\n\n\t/**\n\t * Switch between tabs\n\t * @param {number} i - The index for the current tab\n\t */\n\tfunction changeTab(i: number) {\n\t\tselectedTab.value = i\n\t\ttabs.value.forEach(tab => {tab.current = false})\n\t\ttabs.value[i].current = true\n\t}\n\n\t/**\n\t* To save the changes made on the Notes tab\n\t*/\n\tasync function studentSaveChanges() {\n\t\ttry{\n\t\t\tisLoading.value = true\n\t\t\tif(student.value.isInstructor) student.value.isInstructor = 1\n\t\t\telse student.value.isInstructor = 0\n\n\t\t\tlet input = {\n\t\t\t\tid: student.value.id,\n\t\t\t\tnotes: student.value.notes,\n\t\t\t\tisInstructor: student.value.isInstructor\n\t\t\t}\n\n\t\t\tlet res = await api(updateStudent, { input } )\n\n\t\t\tif(res.errors){\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\tif(student.value.isInstructor == 1) student.value.isInstructor = true\n\t\t\telse student.value.isInstructor = false\n\n\t\t\tshowSave.value = false\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_data_display = _resolveComponent(\"data-display\")!\n const _component_tw_checkbox = _resolveComponent(\"tw-checkbox\")!\n const _component_SquaresPlusIcon = _resolveComponent(\"SquaresPlusIcon\")!\n const _component_description_list_item = _resolveComponent(\"description-list-item\")!\n const _component_PencilIconOutline = _resolveComponent(\"PencilIconOutline\")!\n const _component_ComputerDesktopIcon = _resolveComponent(\"ComputerDesktopIcon\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h1\", _hoisted_3, _toDisplayString(fullName.value), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(String(student.value.status))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(student.value.status), 1)\n ]),\n _: 1\n }, 8, [\"color\"])\n ])\n ]),\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: studentSaveChanges,\n class: \"btn-base btn-brand w-39\",\n loading: isLoading.value,\n disabled: isLoading.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]), [\n [_vShow, showSave.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_data_display, {\n label: \"First Name\",\n loading: isLoading.value,\n value: student.value.firstName\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_data_display, {\n label: \"Middle Name\",\n loading: isLoading.value,\n value: student.value.middleName\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_data_display, {\n label: \"Last Name\",\n loading: isLoading.value,\n value: student.value.lastName\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_data_display, {\n label: \"Date Of Birth\",\n loading: isLoading.value,\n value: _ctx.$filters.formatDate(student.value.dob)\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_data_display, {\n label: \"Age\",\n loading: isLoading.value,\n value: _ctx.$filters.age(student.value.dob)\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_data_display, {\n label: \"Pronouns\",\n loading: isLoading.value,\n value: student.value.pronouns\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_data_display, {\n label: \"Home Phone\",\n loading: isLoading.value\n }, {\n custom: _withCtx(() => [\n _createElementVNode(\"a\", {\n class: _normalizeClass([\"text-lg font-bold font-gotham\", [student.value.phoneHome ? 'text-brand-500' : 'text-gray-300']]),\n href: 'tel:' + student.value.phoneHome\n }, _toDisplayString(student.value.phoneHome || \"—\"), 11, _hoisted_16)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_data_display, {\n label: \"Work Phone\",\n loading: isLoading.value\n }, {\n custom: _withCtx(() => [\n _createElementVNode(\"a\", {\n class: _normalizeClass([\"text-lg font-bold font-gotham\", [student.value.phoneWork ? 'text-brand-500' : 'text-gray-300']]),\n href: 'tel:' + student.value.phoneWork\n }, _toDisplayString(student.value.phoneWork || \"—\"), 11, _hoisted_18)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_data_display, {\n label: \"Mobile Phone\",\n loading: isLoading.value\n }, {\n custom: _withCtx(() => [\n _createElementVNode(\"a\", {\n class: _normalizeClass([\"text-lg font-bold font-gotham\", [student.value.phoneMobile ? 'text-brand-500' : 'text-gray-300']]),\n href: 'tel:' + student.value.phoneMobile\n }, _toDisplayString(student.value.phoneMobile || \"—\"), 11, _hoisted_20)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_data_display, {\n label: \"Email\",\n loading: isLoading.value\n }, {\n custom: _withCtx(() => [\n _createElementVNode(\"a\", {\n class: _normalizeClass([\"text-lg font-bold font-gotham\", [student.value.email ? 'text-brand-500' : 'text-gray-300']]),\n href: 'mailto:' + student.value.email\n }, _toDisplayString(student.value.email), 11, _hoisted_22)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n (!isLoading.value)\n ? (_openBlock(), _createBlock(_component_tw_checkbox, {\n key: 0,\n class: \"uppercase items-end\",\n label: \"Is a teaching artist or assistant\",\n modelValue: student.value.isInstructor,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((student.value.isInstructor) = $event)),\n onchange: () => showSave.value = true\n }, null, 8, [\"modelValue\", \"onchange\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_24, _hoisted_27))\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n (!isLoading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_30, [\n _createVNode(_component_data_display, {\n label: \"Address\",\n loading: isLoading.value\n }, {\n custom: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"p\", null, _toDisplayString(student.value.address1), 1),\n _createElementVNode(\"p\", null, _toDisplayString(student.value.address2), 1),\n _createElementVNode(\"p\", null, _toDisplayString(student.value.city) + \", \" + _toDisplayString(student.value.state) + \" \" + _toDisplayString(student.value.postal), 1),\n _createElementVNode(\"p\", null, _toDisplayString(student.value.country), 1)\n ])\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_32, _hoisted_38))\n ]),\n _createElementVNode(\"div\", _hoisted_39, [\n _createVNode(_component_description_list_item, {\n label: \"Created\",\n maxLength: 13,\n loading: isLoading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_SquaresPlusIcon, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_40, _toDisplayString(_ctx.$filters.formatTimestamp(student.value.createdAt)) + \" by \" + _toDisplayString(student.value.createdBy), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n label: \"Last Modified\",\n maxLength: 13,\n loading: isLoading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_PencilIconOutline, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_41, _toDisplayString(_ctx.$filters.formatTimestamp(student.value.updatedAt)) + \" by \" + _toDisplayString(student.value.updatedBy), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n label: \"Last Activity\",\n maxLength: 13,\n loading: isLoading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_ComputerDesktopIcon, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_42, _toDisplayString(_ctx.$filters.convertIsoToLocal(student.value.lastActivity, 'America/Chicago') || \"—\"), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_43, [\n _hoisted_44,\n _createElementVNode(\"select\", {\n id: \"tabs\",\n name: \"tabs\",\n class: \"block w-full rounded-none border-gray-300 focus:border-brand-500 focus:ring-brand-500 mb-4\",\n onChange: _cache[1] || (_cache[1] = (e) => changeTab(e.target.value))\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tabs.value, (tab, i) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: tab.name,\n value: i,\n selected: tab.current\n }, _toDisplayString(tab.name), 9, _hoisted_45))\n }), 128))\n ], 32)\n ]),\n _createElementVNode(\"div\", _hoisted_46, [\n _createElementVNode(\"div\", _hoisted_47, [\n _createElementVNode(\"div\", _hoisted_48, [\n _createElementVNode(\"nav\", _hoisted_49, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tabs.value, (tab, i) => {\n return (_openBlock(), _createElementBlock(\"p\", {\n onClick: ($event: any) => (changeTab(i)),\n key: tab.name,\n class: _normalizeClass([\n\t\t\t\t\t\t\ttab.current ? 'active-tab' : 'cursor-pointer border-transparent text-black hover:bg-gray-50 hover:font-bold',\n\t\t\t\t\t\t\t'border-r border-gray-200 group relative py-4 px-4 text-center text-sm font-medium w-48 whitespace-nowrap font-sm uppercase text-gray-500'\n\t\t\t\t\t\t]),\n \"aria-current\": tab.current ? 'page' : undefined\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(tab.name), 1),\n _createElementVNode(\"span\", {\n \"aria-hidden\": \"true\",\n class: _normalizeClass([tab.current ? 'bg-brand-500' : 'bg-transparent', 'absolute inset-x-0 bottom-0 h-0.5'])\n }, null, 2)\n ], 10, _hoisted_50))\n }), 128))\n ])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _withDirectives(_createElementVNode(\"div\", null, [\n _createVNode(RegisteredCourses, { \"registered-courses\": registeredCourses.value }, null, 8, [\"registered-courses\"])\n ], 512), [\n [_vShow, tabs.value[0].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createVNode(StudentEmails, {\n studentID: props.id\n }, null, 8, [\"studentID\"])\n ], 512), [\n [_vShow, tabs.value[1].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_51, [\n _hoisted_52,\n _withDirectives(_createElementVNode(\"textarea\", {\n id: \"student-notes\",\n name: \"student-notes\",\n rows: \"5\",\n placeholder: \"Add student notes...\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((student.value.notes) = $event)),\n onInput: _cache[3] || (_cache[3] = () => showSave.value = true),\n class: \"flex-1 min-w-0 block focus:ring-brand-500 focus:border-brand-500 w-full sm:text-sm border-gray-300\"\n }, null, 544), [\n [_vModelText, student.value.notes]\n ]),\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: studentSaveChanges,\n class: \"btn-base btn-brand w-39\",\n loading: isLoading.value,\n disabled: isLoading.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]), [\n [_vShow, showSave.value]\n ])\n ], 512), [\n [_vShow, tabs.value[2].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createVNode(RelatedStudents, {\n id: props.id\n }, null, 8, [\"id\"])\n ], 512), [\n [_vShow, tabs.value[3].current]\n ])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./StudentDetails.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StudentDetails.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import Students from './StudentsMain.vue'\nimport StudentDetails from './studentDetail/StudentDetails.vue'\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"Students\",\n\t\tpath: \"/students\",\n\t\tcomponent: Students\n\t},\n\tstudentDetailsRoute: {\n\t\tname: \"StudentDetails\",\n\t\tpath: \"/students/:id\",\n\t\tcomponent: StudentDetails\n\t},\n\tnav: {\n\t\tname: \"Students\",\n\t\tto: \"Students\",\n\t\tposition: 2,\n\t\tshow: true,\n\t},\n\tmodule: \"students\",\n\tauth: ['admin']\n}\n\nexport { config }","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n {\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth,\n\t\t\ttitle: config.mainRoute.title\n\t\t}\n },\n\t// instructor course details\n\t{\n\t\tpath: config.instructorCourseDetail.path,\n\t\tname: config.instructorCourseDetail.name,\n\t\tcomponent: config.instructorCourseDetail.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t}\n }\n\t\n];","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./TwNavbar.vue?vue&type=style&index=0&id=25f204ac&scoped=true&lang=css\"","export const createRegistration = /* GraphQL */ `\n mutation CreateRegistration(\n $input: CreateRegistrationInput!\n $condition: ModelRegistrationConditionInput\n ) {\n createRegistration(input: $input, condition: $condition) {\n id\n courseId\n studentId\n createdAt\n createdBy\n lastName\n sub\n updatedBy\n status\n updatedAt\n }\n }\n`;\n","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, vShow as _vShow, withDirectives as _withDirectives, withCtx as _withCtx, withModifiers as _withModifiers, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"space-y-5 relative\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"z-30 bg-white absolute top-0 right-0 w-full h-full opacity-75\"\n}\nconst _hoisted_3 = {\n key: 0,\n class: \"absolute top-0 right-0 w-full h-full flex justify-center items-center pt-16 font-bold font-gotham text-brand-500\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", null, \"Placing you in the queue...\", -1)\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = { class: \"space-y-6\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"font-bold font-gotham\" }, \" Your current spot in the queue will be held for 10 minutes while you complete the registration process. \", -1)\nconst _hoisted_8 = {\n key: 0,\n class: \"text-red-500 font-bold font-gotham text-base\"\n}\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-base\" }, \" All courses will be filled in a first come, first serve order. If you do not complete the registration process in 10 minutes, your spot in the queue will be forfeited. Clicking Cancel or closing this window will immediately forfeit your spot in the queue. \", -1)\nconst _hoisted_10 = {\n key: 0,\n class: \"w-full space-y-2\"\n}\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = {\n key: 0,\n class: \"text-lg mb-4\"\n}\nconst _hoisted_13 = { key: 1 }\nconst _hoisted_14 = { class: \"text-lg mb-4 font-bold font-gotham\" }\nconst _hoisted_15 = { class: \"grid grid-cols-1 gap-1 md:grid-cols-2 mt-1 items-end max-w-md\" }\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mb-2 col-span-2 text-left\" }, \" Payment Details \", -1)\nconst _hoisted_17 = { class: \"col-span-2 flex gap-2 items-end\" }\nconst _hoisted_18 = { class: \"text-sm text-red-600 col-span-2\" }\nconst _hoisted_19 = { class: \"pr-3 flex items-center pointer-events-none\" }\nconst _hoisted_20 = { class: \"grid grid-cols-2 gap-4 max-w-md mt-6\" }\nconst _hoisted_21 = [\"data-sitekey\"]\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-full text-xs mt-2 text-gray-700\" }, \" Payments provided by Intuit Payments Inc. \", -1)\nconst _hoisted_23 = { class: \"w-full flex justify-end\" }\nconst _hoisted_24 = { class: \"w-64 font-bold text-xl uppercase flex justify-between\" }\nconst _hoisted_25 = /*#__PURE__*/_createElementVNode(\"span\", null, \" Time Remaining: \", -1)\nconst _hoisted_26 = { class: \"w-full flex gap-4 justify-between\" }\nconst _hoisted_27 = { class: \"space-y-5\" }\nconst _hoisted_28 = {\n key: 0,\n class: \"font-bold text-lg mb-8\"\n}\nconst _hoisted_29 = {\n key: 1,\n class: \"font-bold text-lg mb-8\"\n}\nconst _hoisted_30 = { class: \"w-full flex justify-end\" }\n\nimport { \n\t\tonMounted,\n\t\tonUnmounted,\n\t\tref,\n\t\twatch\n\t} from 'vue'\n\n\t// amplify\n\timport { Auth, API } from 'aws-amplify'\n\n\t// api\n\timport api from '@/utilities/api'\n\n\timport {\n\t\tcreateRegistration\n\t} from '../mutations'\n\n\timport {\n\t\tCourse\n\t} from '@/API'\n\n\t// Store\n\timport { \n\t\tuserStore \n\t} from '@/store/userStore'\n\timport { createCharge } from '@/utilities/quickbooks'\n\timport { extractErrorMessage } from '@/main'\n\n\tinterface openArtsMessage {\n\t\tactive: boolean,\n\t\tmessage: string,\n\t\tprice: number\n\t}\n\t\n\t// name the component\n\tconst __default__ = { name: 'CourseRegistration'}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n course: {},\n onCancel: { type: Function }\n },\n emits: ['closeRegistrationModal', 'registrationResponse'],\n setup(__props: any, { emit }) {\n\nconst props = __props;\n\n\t\n\t// vue\n\tconst reCaptchaSiteKey = ref(process.env.VUE_APP_RECAPTCHA_SITE_KEY)\n\tconst reCaptchaToken = ref(\"\")\n\tconst recaptchaErrorMessage = ref('')\n\n\t//form validation\n\tconst ccExpDate = ref(\"\")\n\tconst studentNameValid = ref(true)\n\tconst studentNameValidationMessage = ref('Student/Child Name required.')\n\tconst ccCardNumber = ref(\"\")\n\tconst ccCardHolderValid = ref(true)\n\tconst ccCardHolderValidationMessage = ref('Cardholder Name required.')\n\tconst ccNumValid = ref(true)\n\tconst ccNumValidationMessage = ref('Card number required.')\n\tconst ccExpirationDateValid = ref(true)\n\tconst ccExpirationDateValidationMessage = ref('Expiration date required.')\n\tconst ccCCVValid = ref(true)\n\tconst ccCCVValidationMessage = ref('CCV required.')\n\tconst ccBillingAddressValid = ref(true)\n\tconst ccBillingAddressLineValid = ref(true)\n\tconst ccBillingAddressCityValid = ref(true)\n\tconst ccBillingAddressStateValid = ref(true)\n\tconst ccBillingAddressPostalValid = ref(true)\n\tconst ccBillingAddressValidationMessage = ref('Address required.')\n\t\n\t\n\tconst store = userStore()\n\tconst cardErrorMessage = ref('')\n\tconst loading = ref(false)\n\tconst queueLoading = ref(false)\n\tconst openArtsInput = ref<{donationAmount:number}|null>(null)\n\tconst tuitionMessageData = ref([])\n\tconst submitted = ref(false)\n\tconst name = ref(\"\")\n\tconst studentName = ref(\"\")\n\tconst card = ref<{ number: string, expirationDate: string, ccv: string }>({ number: \"\", expirationDate: \"\", ccv: \"\" })\n\tconst address = ref<{ region: string, postalCode: string, streetAddress: string, streetAddress2: string , country: string, city: string}>({ region: \"\", postalCode: \"\", streetAddress: \"\", streetAddress2: \"\", country: \"\", city: \"\" })\n\tconst timeRemaining = ref(\"\")\n\tconst defaultValue = ref(null)\n\tconst registrationReservationId = ref(null)\n\tconst queuePosition = ref(0)\n\tconst showWarningMessage = ref(false)\n\tconst endTime = ref(new Date(Date.now() + 10 * 60000))\n\tconst refreshIntervalId = ref(null)\n\tconst calculateTimeRemaining = () => {\n\t\tconst timeDifference = Math.floor((endTime.value.getTime() - Date.now()) / 1000);\n\t\t\n\t\tif (timeDifference < 0 && props.onCancel) {\n\t\t\tclearInterval(refreshIntervalId.value)\n\t\t\tprops.onCancel(registrationReservationId.value)\n\t\t}\n\n\t\tconst minutes = Math.floor(timeDifference / 60);\n\t\tconst seconds = timeDifference % 60;\n\t\ttimeRemaining.value = `${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`;\n\t} \n\n\t\n\n\tonUnmounted(() => {\n\t\tclearInterval(refreshIntervalId.value)\n\t})\n\tonMounted(async () => {\n\t\ttry {\n\n\t\t\t// recaptcha\n\t\t\tlet recaptchaScript = document.createElement('script')\n\t\t\trecaptchaScript.setAttribute('src', 'https://www.google.com/recaptcha/api.js')\n\t\t\tdocument.head.appendChild(recaptchaScript)\n\t\t\twindow.recaptchaCallback = function(token:string) {\n\t\t\t\treCaptchaToken.value = token\n\t\t\t}\n\t\t\tqueueLoading.value = true\n\t\n\t\t\t// parse open arts messages JSON String\n\t\t\ttuitionMessageData.value = JSON.parse(props.course?.openArtsConfig || \"[]\")\n\t\t\tdefaultValue.value = Number(props.course?.suggestedContribution) ?? 0\n\t\t\t\n\t\t\t// get billing info from store\n\t\t\tname.value = store.user.firstName + \" \" + store.user.lastName\n\t\t\taddress.value.region = store.user.state\n\t\t\taddress.value.postalCode = store.user.postal\n\t\t\taddress.value.streetAddress = store.user.address1\n\t\t\taddress.value.streetAddress2 = store.user.address2\n\t\t\taddress.value.city = store.user.city\n\t\n\t\t\tconst myInit = {\n\t\t\t\theaders: {\n\t\t\t\t\tAuthorization: `Bearer ${(await Auth.currentSession())\n\t\t\t\t\t\t.getIdToken()\n\t\t\t\t\t\t.getJwtToken()}`\n\t\t\t\t},\n\t\t\t\tbody: {\n\t\t\t\t\tuser: store.user,\n\t\t\t\t\tcourseId: props.course.id\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst res = await API.post(\"courseRegistrationQueue\", \"/register/queue\", myInit)\n\t\t\tregistrationReservationId.value = res?.registrationReservationId\n\t\t\tqueuePosition.value = res?.queuePosition\n\t\n\t\t\t// use queuePosition to determine what message is shown\n\t\t\tif(queuePosition.value > (props?.course?.numSeats || 0)){\n\t\t\t\tshowWarningMessage.value = true\n\t\t\t}\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t\tlet message = await extractErrorMessage(e)\n\t\t\temit('closeRegistrationModal', false, 'error', 1, message)\n\t\t}\n\t\tfinally {\n\t\t\tqueueLoading.value = false\n\t\t}\n\t})\n\n\twatch(ccExpDate, (newVal: any, oldVal: any) => {\n\t\tlet value = newVal.replace(/[^0-9]/g, ''); // Remove non-numeric characters\n\n\t\tif (value.length > 6) {\n\t\t\tvalue = value.slice(0, 6)\n\t\t} \n\n\t\tif (value.length > 2) {\n\t\t\tvalue = value.slice(0, 2) + \" / \" + value.slice(2);\n\t\t}\n\n\t\t// Avoid infinite loop with watcher\n\t\tif (value !== oldVal || value !== newVal) {\n\t\t\tcard.value.expirationDate = value;\n\t\t\tccExpDate.value = value;\n\t\t}\n\t}) \n\n\twatch(ccCardNumber, (newVal: any, oldVal: any) => {\n\t\tlet split:string[][] = Array.from(newVal.replaceAll(/\\D/g, '').matchAll(/(\\d{0,4})(\\d{0,4})(\\d{0,4})(\\d{0,4})/g))\n\t\tlet value:string = split[0].slice(1, 5).join(' ').trim()\n\n\t\t// Avoid infinite loop with watcher\n\t\tif (value !== oldVal || value !== newVal) {\n\t\t\tcard.value.number = value;\n\t\t\tccCardNumber.value = value;\n\t\t}\n\t}) \n\n\tasync function validateForm() {\n\t\tlet isValid = true\n\t\tccNumValid.value = true\n\t\tccExpirationDateValid.value = true\n\t\tccCCVValid.value = true\n\t\tccCardHolderValid.value = true\n\t\tccBillingAddressValid.value = true\n\t\tccBillingAddressLineValid.value = true\n\t\tccBillingAddressCityValid.value = true\n\t\tccBillingAddressStateValid.value = true\n\t\tccBillingAddressPostalValid.value = true\n\n\t\tif(props.course.isOpenArtsOrTuition == 0 && !openArtsInput.value?.donationAmount) {\n\t\t\tisValid = true\n\t\t}\n\t\telse {\n\n\t\t\tif(!studentName.value){\n\t\t\t\tstudentNameValid.value = false\n\t\t\t\tisValid = false\n\t\t\t}\n\n\t\t\tif(!card.value.number){\n\t\t\t\tccNumValid.value = false\n\t\t\t\tisValid = false\n\t\t\t}\t\t\t\n\n\t\t\tif(!card.value.expirationDate){\n\t\t\t\tccExpirationDateValid.value = false\n\t\t\t\tisValid = false\n\t\t\t}\n\n\t\t\tif(!card.value.ccv){\n\t\t\t\tccCCVValid.value = false\n\t\t\t\tisValid = false\n\t\t\t}\n\n\t\t\tif(!name.value){\n\t\t\t\tccCardHolderValid.value = false\n\t\t\t\tisValid = false\n\t\t\t}\n\n\t\t\tif(!address.value.streetAddress){\n\t\t\t\tccBillingAddressValid.value = false\n\t\t\t\tccBillingAddressLineValid.value = false\n\t\t\t\tisValid = false\n\t\t\t}\n\n\t\t\tif(!address.value.city){\n\t\t\t\tccBillingAddressValid.value = false\n\t\t\t\tccBillingAddressCityValid.value = false\n\t\t\t\tisValid = false\n\t\t\t}\n\n\t\t\tif(!address.value.region){\n\t\t\t\tccBillingAddressValid.value = false\n\t\t\t\tccBillingAddressStateValid.value = false\n\t\t\t\tisValid = false\n\t\t\t}\n\n\t\t\tif(!address.value.postalCode){\n\t\t\t\tccBillingAddressValid.value = false\n\t\t\t\tccBillingAddressPostalValid.value = false\n\t\t\t\tisValid = false\n\t\t\t}\n\t\t}\n\n\t\t// validate recaptcha\n\t\tconst myInit = {\n\t\t\theaders: {\n\t\t\t\tAuthorization: `Bearer ${(await Auth.currentSession())\n\t\t\t\t\t.getIdToken()\n\t\t\t\t\t.getJwtToken()}`\n\t\t\t},\n\t\t\tbody: {\n\t\t\t\ttoken: reCaptchaToken.value,\n\t\t\t}\n\t\t}\n\t\tconst res = await API.post(\"quickbooks\", \"/recaptcha\", myInit)\n\n\t\trecaptchaErrorMessage.value = \"\"\n\t\tif(!res?.response?.success) {\n\t\t\trecaptchaErrorMessage.value = \"There was an issue with the CAPTCHA. Please try again.\"\n\t\t\tisValid = false\n\t\t}\n\n\t\treturn isValid\n\t}\n\n\tconst submitRegistration = async (e: any) => {\n\t\t// const { donationAmount, cardNumber, cardExpDate, cardCCV } = e.target\n\t\ttry {\n\t\t\tcardErrorMessage.value = ''\n\t\t\tloading.value = true\n\t\t\t// check for required fields\n\t\t\tlet isValid = await validateForm()\n\n\t\t\tif(!isValid){\n\t\t\t\tthrow \"missing required fields.\"\n\t\t\t}\n\n\t\t\tlet amount = props.course.isOpenArtsOrTuition == 0 ? openArtsInput.value?.donationAmount : props.course.tuitionAmount\n\t\t\tlet quickbooksToken = ref(null)\n\n\t\t\tif(openArtsInput.value?.donationAmount || props.course.tuitionAmount) {\n\t\t\t\t// Generate quickbooks token\n\t\t\t\tconst expirationMonth = ccExpDate.value.slice(0, 2)\n\t\t\t\tconst expirationYear = ccExpDate.value.length > 7 ? ccExpDate.value.slice(-4) : `20${ccExpDate.value.slice(-2)}`\n\n\t\t\t\tconst _card = {\n\t\t\t\t\texpYear: expirationYear,\n\t\t\t\t\texpMonth: expirationMonth,\n\t\t\t\t\taddress: {\n\t\t\t\t\t\tregion: address.value.region,\n\t\t\t\t\t\tpostalCode: address.value.postalCode,\n\t\t\t\t\t\tstreetAddress: address.value.streetAddress,\n\t\t\t\t\t\tcity: address.value.city\n\t\t\t\t\t},\n\t\t\t\t\tname: name.value,\n\t\t\t\t\tcvc: card.value.ccv,\n\t\t\t\t\tnumber: card.value.number.replaceAll(/\\D/g, '')\n\t\t\t\t}\n\n\t\t\t\tamount = props.course.isOpenArtsOrTuition == 0 ? openArtsInput.value?.donationAmount : props.course.tuitionAmount\n\t\t\t\tquickbooksToken = await createCharge(_card)\n\t\t\t}\n\n\t\t\tconst billToAddress = JSON.stringify({\n\t\t\t\tname: name.value,\n\t\t\t\tstreetAddress: address.value.streetAddress,\n\t\t\t\tstreetAddress2: address.value.streetAddress2,\n\t\t\t\tregion: address.value.region,\n\t\t\t\tcity: address.value.city,\n\t\t\t\tpostalCode: address.value.postalCode\n\t\t\t})\n\t\t\tawait api(createRegistration, { input: {\n\t\t\t\tcourseId: props.course.id,\n\t\t\t\tstudentId: store.user.id,\n\t\t\t\tlastName: store.user.lastName,\n\t\t\t\tstudentName: studentName.value,\n\t\t\t\tsub: store.user.sub,\n\t\t\t\tstatus: \"Pending\",\n\t\t\t\tpaymentStatus: \"Payment Pending\",\n\t\t\t\tquickbooksToken: quickbooksToken.value,\n\t\t\t\tamount: amount,\n\t\t\t\tbillToAddress: billToAddress\n\t\t\t} })\n\t\t\tsubmitted.value = true\n\t\t}\n\t\tcatch(e:any) {\n\t\t\tconsole.log(e)\n\t\t\t// reset captcha\n\t\t\twindow.grecaptcha.reset()\n\t\t\tif(e?.includes('There was an issue creating the charge')) {\n\t\t\t\tcardErrorMessage.value = \"There was an issue with your card. Please review your details and try again.\"\n\t\t\t}\n\t\t}\n\t\tfinally{\n\t\t\tloading.value = false\n\t\t}\n\n\t}\n\n\trefreshIntervalId.value = setInterval(calculateTimeRemaining, 1000)\n\n\tcalculateTimeRemaining()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_loading = _resolveComponent(\"tw-loading\")!\n const _component_tw_slider = _resolveComponent(\"tw-slider\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_ExclamationCircleIcon = _resolveComponent(\"ExclamationCircleIcon\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _withDirectives(_createElementVNode(\"div\", _hoisted_1, [\n (loading.value || queueLoading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(_component_tw_loading),\n (queueLoading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _hoisted_5))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_6, [\n _hoisted_7,\n (showWarningMessage.value)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_8, \" The current number of students in the registration queue for this course exceeds the available spots; however you may still complete your registration and be placed on the waitlist. If a spot becomes available, you will become registered for the course and your payment will be processed. \"))\n : _createCommentVNode(\"\", true),\n _hoisted_9\n ]),\n _createElementVNode(\"form\", {\n onSubmit: [\n submitRegistration,\n _cache[11] || (_cache[11] = _withModifiers(() => {}, [\"prevent\"]))\n ]\n }, [\n (defaultValue.value != null)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n (props.course.isOpenArtsOrTuition == 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createVNode(_component_tw_slider, {\n ref_key: \"openArtsInput\",\n ref: openArtsInput,\n \"tuition-message-data\": tuitionMessageData.value,\n \"default-donation-amount\": defaultValue.value\n }, null, 8, [\"tuition-message-data\", \"default-donation-amount\"]),\n (props.course.suggestedContribution)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_12, \" Suggested contribution: $\" + _toDisplayString(props.course.suggestedContribution), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createElementVNode(\"p\", _hoisted_14, \" Tuiton: \" + _toDisplayString(_ctx.$filters.formatUSD(props.course.tuitionAmount)), 1)\n ]))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_tw_input, {\n class: \"col-span-2 mb-6\",\n required: \"\",\n \"is-valid\": studentNameValid.value,\n validation: studentNameValidationMessage.value,\n label: \"Student/Child Name\",\n id: \"student-name\",\n modelValue: studentName.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((studentName).value = $event))\n }, null, 8, [\"is-valid\", \"validation\", \"modelValue\"]),\n _hoisted_16,\n _createVNode(_component_tw_input, {\n class: \"col-span-2 mb-4\",\n required: \"\",\n \"is-valid\": ccCardHolderValid.value,\n validation: ccCardHolderValidationMessage.value,\n label: \"Name On Card\",\n id: \"card-name\",\n modelValue: name.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((name).value = $event))\n }, null, 8, [\"is-valid\", \"validation\", \"modelValue\"]),\n _createVNode(_component_tw_input, {\n modelValue: address.value.streetAddress,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((address.value.streetAddress) = $event)),\n class: \"col-span-2\",\n disabled: props.course.isOpenArtsOrTuition == 0 && !openArtsInput.value?.donationAmount,\n label: \"Billing Address\",\n required: \"\",\n \"is-valid\": ccBillingAddressLineValid.value,\n type: \"text\",\n placeholder: \"Address Line 1\",\n name: \"addressLine1\",\n id: \"addressLine1\"\n }, null, 8, [\"modelValue\", \"disabled\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n modelValue: address.value.streetAddress2,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((address.value.streetAddress2) = $event)),\n class: \"col-span-2\",\n disabled: props.course.isOpenArtsOrTuition == 0 && !openArtsInput.value?.donationAmount,\n placeholder: \"Address Line 2\",\n type: \"text\",\n name: \"addressLine2\",\n id: \"addressLine2\"\n }, null, 8, [\"modelValue\", \"disabled\"]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_tw_input, {\n class: \"w-3/5\",\n modelValue: address.value.city,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((address.value.city) = $event)),\n placeholder: \"City\",\n type: \"text\",\n name: \"addressCity\",\n id: \"addressCity\",\n \"is-valid\": ccBillingAddressCityValid.value,\n disabled: props.course.isOpenArtsOrTuition == 0 && !openArtsInput.value?.donationAmount\n }, null, 8, [\"modelValue\", \"is-valid\", \"disabled\"]),\n _createVNode(_component_tw_input, {\n class: \"w-1/5\",\n disabled: props.course.isOpenArtsOrTuition == 0 && !openArtsInput.value?.donationAmount,\n modelValue: address.value.region,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((address.value.region) = $event)),\n placeholder: \"State\",\n type: \"text\",\n name: \"addressState\",\n \"is-valid\": ccBillingAddressStateValid.value,\n id: \"addressState\"\n }, null, 8, [\"disabled\", \"modelValue\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n class: \"w-1/5\",\n disabled: props.course.isOpenArtsOrTuition == 0 && !openArtsInput.value?.donationAmount,\n modelValue: address.value.postalCode,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((address.value.postalCode) = $event)),\n placeholder: \"Postal\",\n type: \"text\",\n name: \"addressState\",\n \"is-valid\": ccBillingAddressPostalValid.value,\n id: \"postal-code\"\n }, null, 8, [\"disabled\", \"modelValue\", \"is-valid\"])\n ]),\n _withDirectives(_createElementVNode(\"p\", _hoisted_18, [\n _createElementVNode(\"span\", _hoisted_19, [\n _createVNode(_component_ExclamationCircleIcon, {\n class: \"h-5 w-5 text-red-500\",\n \"aria-hidden\": \"true\"\n }),\n _createTextVNode(\" \" + _toDisplayString(ccBillingAddressValidationMessage.value), 1)\n ])\n ], 512), [\n [_vShow, !ccBillingAddressValid.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_tw_input, {\n disabled: props.course.isOpenArtsOrTuition == 0 && !openArtsInput.value?.donationAmount,\n class: \"col-span-2 mb-2\",\n required: \"\",\n label: \"Card Number\",\n id: \"card-number\",\n autocorrect: \"off\",\n autocapitalize: \"none\",\n maxlength: \"22\",\n autocomplete: \"cc-number\",\n autocompletetype: \"cc-number\",\n \"x-autocompletetype\": \"cc-number\",\n \"is-valid\": ccNumValid.value,\n validation: ccNumValidationMessage.value,\n modelValue: ccCardNumber.value,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((ccCardNumber).value = $event))\n }, null, 8, [\"disabled\", \"is-valid\", \"validation\", \"modelValue\"]),\n _createVNode(_component_tw_input, {\n disabled: props.course.isOpenArtsOrTuition == 0 && !openArtsInput.value?.donationAmount,\n label: \"Exp\",\n required: \"\",\n maxlength: \"9\",\n placeholder: \"MM / YY or MM / YYYY\",\n class: \"col-span-1\",\n id: \"card-exp-date\",\n \"is-valid\": ccExpirationDateValid.value,\n validation: ccExpirationDateValidationMessage.value,\n modelValue: ccExpDate.value,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((ccExpDate).value = $event))\n }, null, 8, [\"disabled\", \"is-valid\", \"validation\", \"modelValue\"]),\n _createVNode(_component_tw_input, {\n disabled: props.course.isOpenArtsOrTuition == 0 && !openArtsInput.value?.donationAmount,\n label: \"CCV\",\n required: \"\",\n placeholder: \"***\",\n autocorrect: \"off\",\n autocapitalize: \"none\",\n maxlength: \"4\",\n autocomplete: \"off\",\n autocompletetype: \"off\",\n \"x-autocompletetype\": \"off\",\n id: \"card-ccv\",\n class: \"col-span-1\",\n \"is-valid\": ccCCVValid.value,\n validation: ccCCVValidationMessage.value,\n modelValue: card.value.ccv,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((card.value.ccv) = $event))\n }, null, 8, [\"disabled\", \"is-valid\", \"validation\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", {\n id: \"recaptcha\",\n ref: \"recaptcha\",\n class: \"g-recaptcha mt-6\",\n \"data-callback\": \"recaptchaCallback\",\n \"data-sitekey\": reCaptchaSiteKey.value\n }, null, 8, _hoisted_21),\n _hoisted_22,\n _withDirectives(_createElementVNode(\"div\", { class: \"w-full text-sm mt-2 text-red-500\" }, _toDisplayString(cardErrorMessage.value), 513), [\n [_vShow, cardErrorMessage.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", { class: \"w-full text-sm mt-2 text-red-500\" }, _toDisplayString(recaptchaErrorMessage.value), 513), [\n [_vShow, recaptchaErrorMessage.value]\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"p\", _hoisted_24, [\n _hoisted_25,\n _createElementVNode(\"span\", null, _toDisplayString(timeRemaining.value), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-white w-40\",\n onClick: _cache[10] || (_cache[10] = ($event: any) => (_ctx.onCancel && _ctx.onCancel(registrationReservationId.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n loading: loading.value,\n disabled: loading.value,\n type: \"submit\",\n class: \"btn-base btn-brand w-64\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Submit \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ], 32)\n ], 512), [\n [_vShow, !submitted.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", null, [\n (showWarningMessage.value)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_28, \" You are on the waitlist for this course! Payment will only be processed if and when you are removed from the waitlist to be registered for the course. You can check the status of this and any registration from the My Courses tab above. \"))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_29, \" You are registered for this course! You can check the status of this and any registration from the My Courses tab above. You will receive a confirmation email for registration within the next few minutes. \"))\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _createVNode(_component_tw_button, {\n class: \"w-40 btn-base btn-white\",\n onClick: _cache[12] || (_cache[12] = ($event: any) => (_ctx.onCancel && _ctx.onCancel(null)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Close \")\n ]),\n _: 1\n })\n ])\n ], 512), [\n [_vShow, submitted.value]\n ])\n ], 64))\n}\n}\n\n})","import script from \"./CourseRegistration.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CourseRegistration.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-center gap-2 z-0\" }\nconst _hoisted_2 = { class: \"border bg-white rounded-lg p-4 shadow-xl mx-4 sm:mx-0 w-full max-w-96 space-y-4 z-50\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"font-semibold text-gray-500\"\n}\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"ART FOR EVERYONE!\"),\n /*#__PURE__*/_createTextVNode(\" In \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"Open Arts\"),\n /*#__PURE__*/_createTextVNode(\" there’s no minimum required tuition to participate. We ask that students and families contribute what you can. Your contributions help support program costs such as teaching artists, supplies, and space. We thank you for contributing as generously as you can to this creative community! \")\n], -1)\n\nimport { InformationCircleIcon } from '@heroicons/vue/24/outline'\n\timport { Popover, PopoverButton, PopoverPanel, TransitionRoot } from '@headlessui/vue'\n\timport { ref } from 'vue'\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'OpenArtsInfoChip',\n props: {\n\t\tsuggestedContribution: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t},\n\t\ticonOnly: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t}\n\t},\n setup(__props) {\n\n\n\tconst hover = ref(false)\n\t\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_unref(Popover), { class: \"h-6\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(PopoverButton), {\n class: \"outline-none cursor-default z-0\",\n onMouseover: _cache[0] || (_cache[0] = ($event: any) => (hover.value = true)),\n onMouseleave: _cache[1] || (_cache[1] = ($event: any) => (hover.value = false))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n (!__props.iconOnly)\n ? (_openBlock(), _createBlock(_component_tw_badge, { key: 0 }, {\n default: _withCtx(() => [\n _createTextVNode(\" Open Arts \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_unref(InformationCircleIcon), { class: \"z-0 h-6 text-brand-500\" })\n ])\n ]),\n _: 1\n }),\n _createVNode(_unref(PopoverPanel), {\n class: \"absolute z-10 w-screen pr-8 left-0 sm:pr-0 sm:w-96 sm:left-auto\",\n static: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(TransitionRoot), {\n show: hover.value,\n class: \"z-10 w-full\",\n enter: \"transition-opacity duration-75\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"transition-opacity duration-150\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n (__props.suggestedContribution)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, \" Suggested Contribution: $\" + _toDisplayString(__props.suggestedContribution), 1))\n : _createCommentVNode(\"\", true),\n _hoisted_4\n ])\n ]),\n _: 1\n }, 8, [\"show\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./OpenArtsInfoChip.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./OpenArtsInfoChip.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export const listCourses = /* GraphQL */ `\n query ListCourses(\n $id: ID\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listCourses(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n instructor {\n\t\t\tfirstName\n\t\t\tlastName\n\t\t}\n id\n termId\n createdAt\n updatedAt\n createdBy\n updatedBy\n registrationSlug\n firstClassDate\n classRepeatCount\n classRepeatInterval\n classRepeatType\n classDayTimes\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n location\n ageLevel\n numSeats\n showInSearch\n }\n nextToken\n }\n }\n`;\n\nexport const getCourse = /* GraphQL */ `\n query GetCourse($id: ID!) {\n getCourse(id: $id) {\n id\n instructorId\n instructor {\n firstName\n\t\tlastName\n }\n assistant {\n firstName\n\t\tlastName\n }\n termId\n term {\n name\n }\n\t classes {\n\t\titems {\n\t\t\tdate\n\t\t\tday\n\t\t\tendTime\n\t\t\tstartTime\n\t\t}\n\t }\n firstClassDate\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n\t numAvailable\n\t numSeats\n skillLevel\n startDate\n status\n studio\n timeOfDay\n location\n ageLevel\n\t suggestedContribution\n\t startTime\n\t endTime\n }\n }\n`;\n\nexport const coursesByTerm = /* GraphQL */ `\n query CoursesByTerm(\n $termId: ID!\n $name: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n coursesByTerm(\n termId: $termId\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n\t\tinstructor {\n\t\t\tfirstName\n\t\t\tlastName\n\t\t}\n id\n isOpenArtsOrTuition\n\t\ttuitionAmount\n image\n imageDescription\n registrationOpenTime\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n\t\tnumSeats\n startDate\n timeOfDay\n ageLevel\n\t\tstartTime\n\t\tendTime\n\t\tsuggestedContribution\n\t\topenArtsConfig\n }\n nextToken\n }\n }\n`;\n\nexport const activeTerms = /* GraphQL */ `\n query ActiveTerms(\n $isActive: Int!\n $name: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelTermFilterInput\n $limit: Int\n $nextToken: String\n ) {\n activeTerms(\n isActive: $isActive\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n name\n }\n nextToken\n }\n }\n`;\n\nexport const registrationsByStudentIdAndCourseId = /* GraphQL */ `\n query RegistrationsByStudentIdAndCourseId(\n $studentId: ID!\n $courseId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsByStudentIdAndCourseId(\n studentId: $studentId\n courseId: $courseId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n\t\tid\n }\n nextToken\n }\n }\n`;","/* tslint:disable */\n/* eslint-disable */\n// this is an auto generated file. This will be overwritten\n\nimport * as APITypes from \"../API\";\ntype GeneratedMutation = string & {\n __generatedMutationInput: InputType;\n __generatedMutationOutput: OutputType;\n};\n\nexport const batchCreateClasses = /* GraphQL */ `mutation BatchCreateClasses($classes: [CreateClassInput]) {\n batchCreateClasses(classes: $classes) {\n id\n courseId\n course {\n id\n assistantId\n instructorSub\n instructorId\n termId\n rootCourseId\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n attendance {\n nextToken\n __typename\n }\n createdAt\n date\n day\n endTime\n startTime\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.BatchCreateClassesMutationVariables,\n APITypes.BatchCreateClassesMutation\n>;\nexport const batchUpdateAttendance = /* GraphQL */ `mutation BatchUpdateAttendance($attendance: [UpdateAttendanceInput]) {\n batchUpdateAttendance(attendance: $attendance) {\n id\n classId\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n createdAt\n status\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.BatchUpdateAttendanceMutationVariables,\n APITypes.BatchUpdateAttendanceMutation\n>;\nexport const createAttendance = /* GraphQL */ `mutation CreateAttendance(\n $input: CreateAttendanceInput!\n $condition: ModelAttendanceConditionInput\n) {\n createAttendance(input: $input, condition: $condition) {\n id\n classId\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n createdAt\n status\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateAttendanceMutationVariables,\n APITypes.CreateAttendanceMutation\n>;\nexport const updateAttendance = /* GraphQL */ `mutation UpdateAttendance(\n $input: UpdateAttendanceInput!\n $condition: ModelAttendanceConditionInput\n) {\n updateAttendance(input: $input, condition: $condition) {\n id\n classId\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n createdAt\n status\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateAttendanceMutationVariables,\n APITypes.UpdateAttendanceMutation\n>;\nexport const deleteAttendance = /* GraphQL */ `mutation DeleteAttendance(\n $input: DeleteAttendanceInput!\n $condition: ModelAttendanceConditionInput\n) {\n deleteAttendance(input: $input, condition: $condition) {\n id\n classId\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n createdAt\n status\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteAttendanceMutationVariables,\n APITypes.DeleteAttendanceMutation\n>;\nexport const createClass = /* GraphQL */ `mutation CreateClass(\n $input: CreateClassInput!\n $condition: ModelClassConditionInput\n) {\n createClass(input: $input, condition: $condition) {\n id\n courseId\n course {\n id\n assistantId\n instructorSub\n instructorId\n termId\n rootCourseId\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n attendance {\n nextToken\n __typename\n }\n createdAt\n date\n day\n endTime\n startTime\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateClassMutationVariables,\n APITypes.CreateClassMutation\n>;\nexport const updateClass = /* GraphQL */ `mutation UpdateClass(\n $input: UpdateClassInput!\n $condition: ModelClassConditionInput\n) {\n updateClass(input: $input, condition: $condition) {\n id\n courseId\n course {\n id\n assistantId\n instructorSub\n instructorId\n termId\n rootCourseId\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n attendance {\n nextToken\n __typename\n }\n createdAt\n date\n day\n endTime\n startTime\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateClassMutationVariables,\n APITypes.UpdateClassMutation\n>;\nexport const deleteClass = /* GraphQL */ `mutation DeleteClass(\n $input: DeleteClassInput!\n $condition: ModelClassConditionInput\n) {\n deleteClass(input: $input, condition: $condition) {\n id\n courseId\n course {\n id\n assistantId\n instructorSub\n instructorId\n termId\n rootCourseId\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n attendance {\n nextToken\n __typename\n }\n createdAt\n date\n day\n endTime\n startTime\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteClassMutationVariables,\n APITypes.DeleteClassMutation\n>;\nexport const createCourse = /* GraphQL */ `mutation CreateCourse(\n $input: CreateCourseInput!\n $condition: ModelCourseConditionInput\n) {\n createCourse(input: $input, condition: $condition) {\n id\n assistantId\n assistant {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n classes {\n nextToken\n __typename\n }\n instructorSub\n instructorId\n instructor {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n termId\n term {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n __typename\n }\n registrations {\n nextToken\n __typename\n }\n rootCourseId\n rootCourse {\n id\n latestTermId\n latestTermName\n ageLevel\n createdBy\n description\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n name\n openArtsConfig\n skillLevel\n studio\n supplyList\n tuitionAmount\n updatedBy\n allRootCourses\n createdAt\n updatedAt\n __typename\n }\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateCourseMutationVariables,\n APITypes.CreateCourseMutation\n>;\nexport const updateCourse = /* GraphQL */ `mutation UpdateCourse(\n $input: UpdateCourseInput!\n $condition: ModelCourseConditionInput\n) {\n updateCourse(input: $input, condition: $condition) {\n id\n assistantId\n assistant {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n classes {\n nextToken\n __typename\n }\n instructorSub\n instructorId\n instructor {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n termId\n term {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n __typename\n }\n registrations {\n nextToken\n __typename\n }\n rootCourseId\n rootCourse {\n id\n latestTermId\n latestTermName\n ageLevel\n createdBy\n description\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n name\n openArtsConfig\n skillLevel\n studio\n supplyList\n tuitionAmount\n updatedBy\n allRootCourses\n createdAt\n updatedAt\n __typename\n }\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateCourseMutationVariables,\n APITypes.UpdateCourseMutation\n>;\nexport const deleteCourse = /* GraphQL */ `mutation DeleteCourse(\n $input: DeleteCourseInput!\n $condition: ModelCourseConditionInput\n) {\n deleteCourse(input: $input, condition: $condition) {\n id\n assistantId\n assistant {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n classes {\n nextToken\n __typename\n }\n instructorSub\n instructorId\n instructor {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n termId\n term {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n __typename\n }\n registrations {\n nextToken\n __typename\n }\n rootCourseId\n rootCourse {\n id\n latestTermId\n latestTermName\n ageLevel\n createdBy\n description\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n name\n openArtsConfig\n skillLevel\n studio\n supplyList\n tuitionAmount\n updatedBy\n allRootCourses\n createdAt\n updatedAt\n __typename\n }\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteCourseMutationVariables,\n APITypes.DeleteCourseMutation\n>;\nexport const createEmail = /* GraphQL */ `mutation CreateEmail(\n $input: CreateEmailInput!\n $condition: ModelEmailConditionInput\n) {\n createEmail(input: $input, condition: $condition) {\n id\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n body\n createdAt\n sentAt\n status\n subject\n to\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateEmailMutationVariables,\n APITypes.CreateEmailMutation\n>;\nexport const updateEmail = /* GraphQL */ `mutation UpdateEmail(\n $input: UpdateEmailInput!\n $condition: ModelEmailConditionInput\n) {\n updateEmail(input: $input, condition: $condition) {\n id\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n body\n createdAt\n sentAt\n status\n subject\n to\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateEmailMutationVariables,\n APITypes.UpdateEmailMutation\n>;\nexport const deleteEmail = /* GraphQL */ `mutation DeleteEmail(\n $input: DeleteEmailInput!\n $condition: ModelEmailConditionInput\n) {\n deleteEmail(input: $input, condition: $condition) {\n id\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n body\n createdAt\n sentAt\n status\n subject\n to\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteEmailMutationVariables,\n APITypes.DeleteEmailMutation\n>;\nexport const createExport = /* GraphQL */ `mutation CreateExport(\n $input: CreateExportInput!\n $condition: ModelExportConditionInput\n) {\n createExport(input: $input, condition: $condition) {\n id\n type\n createdAt\n exportTable\n fieldMapping\n file\n name\n query\n recordIdList\n status\n user\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateExportMutationVariables,\n APITypes.CreateExportMutation\n>;\nexport const updateExport = /* GraphQL */ `mutation UpdateExport(\n $input: UpdateExportInput!\n $condition: ModelExportConditionInput\n) {\n updateExport(input: $input, condition: $condition) {\n id\n type\n createdAt\n exportTable\n fieldMapping\n file\n name\n query\n recordIdList\n status\n user\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateExportMutationVariables,\n APITypes.UpdateExportMutation\n>;\nexport const deleteExport = /* GraphQL */ `mutation DeleteExport(\n $input: DeleteExportInput!\n $condition: ModelExportConditionInput\n) {\n deleteExport(input: $input, condition: $condition) {\n id\n type\n createdAt\n exportTable\n fieldMapping\n file\n name\n query\n recordIdList\n status\n user\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteExportMutationVariables,\n APITypes.DeleteExportMutation\n>;\nexport const createRegistration = /* GraphQL */ `mutation CreateRegistration(\n $input: CreateRegistrationInput!\n $condition: ModelRegistrationConditionInput\n) {\n createRegistration(input: $input, condition: $condition) {\n id\n courseId\n course {\n id\n assistantId\n instructorSub\n instructorId\n termId\n rootCourseId\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n amount\n createdAt\n createdBy\n billToAddress\n lastName\n studentName\n status\n paymentStatus\n statusUpdatedAt\n sub\n quickbooksToken\n updatedBy\n allRegistrations\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateRegistrationMutationVariables,\n APITypes.CreateRegistrationMutation\n>;\nexport const updateRegistration = /* GraphQL */ `mutation UpdateRegistration(\n $input: UpdateRegistrationInput!\n $condition: ModelRegistrationConditionInput\n) {\n updateRegistration(input: $input, condition: $condition) {\n id\n courseId\n course {\n id\n assistantId\n instructorSub\n instructorId\n termId\n rootCourseId\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n amount\n createdAt\n createdBy\n billToAddress\n lastName\n studentName\n status\n paymentStatus\n statusUpdatedAt\n sub\n quickbooksToken\n updatedBy\n allRegistrations\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateRegistrationMutationVariables,\n APITypes.UpdateRegistrationMutation\n>;\nexport const deleteRegistration = /* GraphQL */ `mutation DeleteRegistration(\n $input: DeleteRegistrationInput!\n $condition: ModelRegistrationConditionInput\n) {\n deleteRegistration(input: $input, condition: $condition) {\n id\n courseId\n course {\n id\n assistantId\n instructorSub\n instructorId\n termId\n rootCourseId\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n __typename\n }\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n amount\n createdAt\n createdBy\n billToAddress\n lastName\n studentName\n status\n paymentStatus\n statusUpdatedAt\n sub\n quickbooksToken\n updatedBy\n allRegistrations\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteRegistrationMutationVariables,\n APITypes.DeleteRegistrationMutation\n>;\nexport const createRegistrationReservation = /* GraphQL */ `mutation CreateRegistrationReservation(\n $input: CreateRegistrationReservationInput!\n $condition: ModelRegistrationReservationConditionInput\n) {\n createRegistrationReservation(input: $input, condition: $condition) {\n id\n courseId\n studentId\n messageDuplicationId\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateRegistrationReservationMutationVariables,\n APITypes.CreateRegistrationReservationMutation\n>;\nexport const updateRegistrationReservation = /* GraphQL */ `mutation UpdateRegistrationReservation(\n $input: UpdateRegistrationReservationInput!\n $condition: ModelRegistrationReservationConditionInput\n) {\n updateRegistrationReservation(input: $input, condition: $condition) {\n id\n courseId\n studentId\n messageDuplicationId\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateRegistrationReservationMutationVariables,\n APITypes.UpdateRegistrationReservationMutation\n>;\nexport const deleteRegistrationReservation = /* GraphQL */ `mutation DeleteRegistrationReservation(\n $input: DeleteRegistrationReservationInput!\n $condition: ModelRegistrationReservationConditionInput\n) {\n deleteRegistrationReservation(input: $input, condition: $condition) {\n id\n courseId\n studentId\n messageDuplicationId\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteRegistrationReservationMutationVariables,\n APITypes.DeleteRegistrationReservationMutation\n>;\nexport const createRootCourse = /* GraphQL */ `mutation CreateRootCourse(\n $input: CreateRootCourseInput!\n $condition: ModelRootCourseConditionInput\n) {\n createRootCourse(input: $input, condition: $condition) {\n id\n courses {\n nextToken\n __typename\n }\n latestTermId\n latestTerm {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n __typename\n }\n latestTermName\n ageLevel\n createdBy\n description\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n name\n openArtsConfig\n skillLevel\n studio\n supplyList\n tuitionAmount\n updatedBy\n allRootCourses\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateRootCourseMutationVariables,\n APITypes.CreateRootCourseMutation\n>;\nexport const updateRootCourse = /* GraphQL */ `mutation UpdateRootCourse(\n $input: UpdateRootCourseInput!\n $condition: ModelRootCourseConditionInput\n) {\n updateRootCourse(input: $input, condition: $condition) {\n id\n courses {\n nextToken\n __typename\n }\n latestTermId\n latestTerm {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n __typename\n }\n latestTermName\n ageLevel\n createdBy\n description\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n name\n openArtsConfig\n skillLevel\n studio\n supplyList\n tuitionAmount\n updatedBy\n allRootCourses\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateRootCourseMutationVariables,\n APITypes.UpdateRootCourseMutation\n>;\nexport const deleteRootCourse = /* GraphQL */ `mutation DeleteRootCourse(\n $input: DeleteRootCourseInput!\n $condition: ModelRootCourseConditionInput\n) {\n deleteRootCourse(input: $input, condition: $condition) {\n id\n courses {\n nextToken\n __typename\n }\n latestTermId\n latestTerm {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n __typename\n }\n latestTermName\n ageLevel\n createdBy\n description\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n name\n openArtsConfig\n skillLevel\n studio\n supplyList\n tuitionAmount\n updatedBy\n allRootCourses\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteRootCourseMutationVariables,\n APITypes.DeleteRootCourseMutation\n>;\nexport const createRelatedStudent = /* GraphQL */ `mutation CreateRelatedStudent(\n $input: CreateRelatedStudentInput!\n $condition: ModelRelatedStudentConditionInput\n) {\n createRelatedStudent(input: $input, condition: $condition) {\n childId\n parentId\n parent {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n child {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n sub\n id\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateRelatedStudentMutationVariables,\n APITypes.CreateRelatedStudentMutation\n>;\nexport const updateRelatedStudent = /* GraphQL */ `mutation UpdateRelatedStudent(\n $input: UpdateRelatedStudentInput!\n $condition: ModelRelatedStudentConditionInput\n) {\n updateRelatedStudent(input: $input, condition: $condition) {\n childId\n parentId\n parent {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n child {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n sub\n id\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateRelatedStudentMutationVariables,\n APITypes.UpdateRelatedStudentMutation\n>;\nexport const deleteRelatedStudent = /* GraphQL */ `mutation DeleteRelatedStudent(\n $input: DeleteRelatedStudentInput!\n $condition: ModelRelatedStudentConditionInput\n) {\n deleteRelatedStudent(input: $input, condition: $condition) {\n childId\n parentId\n parent {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n child {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n sub\n id\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteRelatedStudentMutationVariables,\n APITypes.DeleteRelatedStudentMutation\n>;\nexport const createStudent = /* GraphQL */ `mutation CreateStudent(\n $input: CreateStudentInput!\n $condition: ModelStudentConditionInput\n) {\n createStudent(input: $input, condition: $condition) {\n id\n registrations {\n nextToken\n __typename\n }\n children {\n nextToken\n __typename\n }\n parents {\n nextToken\n __typename\n }\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateStudentMutationVariables,\n APITypes.CreateStudentMutation\n>;\nexport const updateStudent = /* GraphQL */ `mutation UpdateStudent(\n $input: UpdateStudentInput!\n $condition: ModelStudentConditionInput\n) {\n updateStudent(input: $input, condition: $condition) {\n id\n registrations {\n nextToken\n __typename\n }\n children {\n nextToken\n __typename\n }\n parents {\n nextToken\n __typename\n }\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateStudentMutationVariables,\n APITypes.UpdateStudentMutation\n>;\nexport const deleteStudent = /* GraphQL */ `mutation DeleteStudent(\n $input: DeleteStudentInput!\n $condition: ModelStudentConditionInput\n) {\n deleteStudent(input: $input, condition: $condition) {\n id\n registrations {\n nextToken\n __typename\n }\n children {\n nextToken\n __typename\n }\n parents {\n nextToken\n __typename\n }\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteStudentMutationVariables,\n APITypes.DeleteStudentMutation\n>;\nexport const createTerm = /* GraphQL */ `mutation CreateTerm(\n $input: CreateTermInput!\n $condition: ModelTermConditionInput\n) {\n createTerm(input: $input, condition: $condition) {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateTermMutationVariables,\n APITypes.CreateTermMutation\n>;\nexport const updateTerm = /* GraphQL */ `mutation UpdateTerm(\n $input: UpdateTermInput!\n $condition: ModelTermConditionInput\n) {\n updateTerm(input: $input, condition: $condition) {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateTermMutationVariables,\n APITypes.UpdateTermMutation\n>;\nexport const deleteTerm = /* GraphQL */ `mutation DeleteTerm(\n $input: DeleteTermInput!\n $condition: ModelTermConditionInput\n) {\n deleteTerm(input: $input, condition: $condition) {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteTermMutationVariables,\n APITypes.DeleteTermMutation\n>;\nexport const createSystem = /* GraphQL */ `mutation CreateSystem(\n $input: CreateSystemInput!\n $condition: ModelSystemConditionInput\n) {\n createSystem(input: $input, condition: $condition) {\n id\n confirmationCancellationPolicy\n confirmationIntroduction\n confirmationWaitlist\n courseSearchOpening\n courseSearchTitle\n qbOauthToken\n qbAccounts\n qbClasses\n qbDepositToAccount\n qbDonationItem\n qbDonationItemClass\n qbItems\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateSystemMutationVariables,\n APITypes.CreateSystemMutation\n>;\nexport const updateSystem = /* GraphQL */ `mutation UpdateSystem(\n $input: UpdateSystemInput!\n $condition: ModelSystemConditionInput\n) {\n updateSystem(input: $input, condition: $condition) {\n id\n confirmationCancellationPolicy\n confirmationIntroduction\n confirmationWaitlist\n courseSearchOpening\n courseSearchTitle\n qbOauthToken\n qbAccounts\n qbClasses\n qbDepositToAccount\n qbDonationItem\n qbDonationItemClass\n qbItems\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateSystemMutationVariables,\n APITypes.UpdateSystemMutation\n>;\nexport const deleteSystem = /* GraphQL */ `mutation DeleteSystem(\n $input: DeleteSystemInput!\n $condition: ModelSystemConditionInput\n) {\n deleteSystem(input: $input, condition: $condition) {\n id\n confirmationCancellationPolicy\n confirmationIntroduction\n confirmationWaitlist\n courseSearchOpening\n courseSearchTitle\n qbOauthToken\n qbAccounts\n qbClasses\n qbDepositToAccount\n qbDonationItem\n qbDonationItemClass\n qbItems\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteSystemMutationVariables,\n APITypes.DeleteSystemMutation\n>;\nexport const createSelectList = /* GraphQL */ `mutation CreateSelectList(\n $input: CreateSelectListInput!\n $condition: ModelSelectListConditionInput\n) {\n createSelectList(input: $input, condition: $condition) {\n id\n options {\n nextToken\n __typename\n }\n category\n key\n name\n sortIndex\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateSelectListMutationVariables,\n APITypes.CreateSelectListMutation\n>;\nexport const updateSelectList = /* GraphQL */ `mutation UpdateSelectList(\n $input: UpdateSelectListInput!\n $condition: ModelSelectListConditionInput\n) {\n updateSelectList(input: $input, condition: $condition) {\n id\n options {\n nextToken\n __typename\n }\n category\n key\n name\n sortIndex\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateSelectListMutationVariables,\n APITypes.UpdateSelectListMutation\n>;\nexport const deleteSelectList = /* GraphQL */ `mutation DeleteSelectList(\n $input: DeleteSelectListInput!\n $condition: ModelSelectListConditionInput\n) {\n deleteSelectList(input: $input, condition: $condition) {\n id\n options {\n nextToken\n __typename\n }\n category\n key\n name\n sortIndex\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteSelectListMutationVariables,\n APITypes.DeleteSelectListMutation\n>;\nexport const createSelectListOption = /* GraphQL */ `mutation CreateSelectListOption(\n $input: CreateSelectListOptionInput!\n $condition: ModelSelectListOptionConditionInput\n) {\n createSelectListOption(input: $input, condition: $condition) {\n id\n selectListId\n deleted\n label\n sortIndex\n value\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.CreateSelectListOptionMutationVariables,\n APITypes.CreateSelectListOptionMutation\n>;\nexport const updateSelectListOption = /* GraphQL */ `mutation UpdateSelectListOption(\n $input: UpdateSelectListOptionInput!\n $condition: ModelSelectListOptionConditionInput\n) {\n updateSelectListOption(input: $input, condition: $condition) {\n id\n selectListId\n deleted\n label\n sortIndex\n value\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.UpdateSelectListOptionMutationVariables,\n APITypes.UpdateSelectListOptionMutation\n>;\nexport const deleteSelectListOption = /* GraphQL */ `mutation DeleteSelectListOption(\n $input: DeleteSelectListOptionInput!\n $condition: ModelSelectListOptionConditionInput\n) {\n deleteSelectListOption(input: $input, condition: $condition) {\n id\n selectListId\n deleted\n label\n sortIndex\n value\n createdAt\n updatedAt\n __typename\n }\n}\n` as GeneratedMutation<\n APITypes.DeleteSelectListOptionMutationVariables,\n APITypes.DeleteSelectListOptionMutation\n>;\n","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, withCtx as _withCtx, createTextVNode as _createTextVNode, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, vShow as _vShow, withDirectives as _withDirectives, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '@/assets/images/hyde-park-art-center-logo.png'\n\n\nconst _hoisted_1 = { class: \"card h-88\" }\nconst _hoisted_2 = { class: \"space-y-3\" }\nconst _hoisted_3 = { class: \"sm:flex sm:justify-between sm:items-center sm:gap-2\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"text-lg text-brand-500 font-bold font-gotham truncate w-full sm:w-auto\"\n}\nconst _hoisted_5 = {\n key: 1,\n class: \"animate-pulse bg-gray-300 rounded-full h-5 mb-2 w-full\"\n}\nconst _hoisted_6 = { key: 2 }\nconst _hoisted_7 = { key: 3 }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"animate-pulse bg-gray-300 rounded-full h-5 mb-2 w-12\" }, null, -1)\nconst _hoisted_9 = [\n _hoisted_8\n]\nconst _hoisted_10 = { class: \"grid grid-cols-3 gap-4 sm:gap-2\" }\nconst _hoisted_11 = { class: \"col-span-3 row-start-2 sm:row-start-auto sm:col-span-2 space-y-5\" }\nconst _hoisted_12 = { class: \"font-bold font-gotham\" }\nconst _hoisted_13 = {\n key: 0,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_14 = {\n key: 1,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_15 = { class: \"font-bold font-gotham\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_17 = {\n key: 0,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_18 = { key: 1 }\nconst _hoisted_19 = { class: \"row-start-1 sm:row-start-auto col-span-3 sm:col-span-1 flex justify-center sm:justify-end\" }\nconst _hoisted_20 = [\"src\", \"alt\"]\nconst _hoisted_21 = { class: \"w-64 h-64 sm:h-50 sm:w-50 bg-gray-100 border-gray-300 border flex justify-center items-center\" }\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"h-52 sm:h-40\"\n}, null, -1)\nconst _hoisted_23 = [\n _hoisted_22\n]\nconst _hoisted_24 = { class: \"w-64 h-64 sm:h-50 sm:w-50 animate-pulse bg-gray-300\" }\nconst _hoisted_25 = { class: \"flex-col gap-4 flex sm:flex-row sm:gap-6 lg:flex-col lg:gap-4 xl:flex-row xl:gap-6\" }\nconst _hoisted_26 = {\n key: 4,\n class: \"w-full h-5 text-sm\"\n}\nconst _hoisted_27 = { class: \"flex-col gap-4 flex sm:flex-row sm:gap-6 lg:flex-col lg:gap-4 xl:flex-row xl:gap-6\" }\nconst _hoisted_28 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-full h-9.5 animate-pulse bg-gray-300\" }, null, -1)\nconst _hoisted_29 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-full h-9.5 animate-pulse bg-gray-300\" }, null, -1)\nconst _hoisted_30 = [\n _hoisted_28,\n _hoisted_29\n]\nconst _hoisted_31 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_32 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_33 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-4xl sm:w-full sm:p-6\" }\nconst _hoisted_34 = { class: \"text-center sm:mt-0 sm:text-left\" }\n\nimport { Course } from \"@/API\"\n\timport { onMounted, ref, computed } from \"vue\"\n\timport { Storage } from \"aws-amplify\"\n\timport CourseRegistration from \"./CourseRegistration.vue\"\n\timport { useRoute, useRouter } from \"vue-router\"\n\timport { Dialog, DialogTitle, DialogDescription,DialogOverlay, TransitionRoot, TransitionChild } from \"@headlessui/vue\"\n\timport { CurrencyDollarIcon } from \"@heroicons/vue/24/outline\"\n\timport { CalendarDaysIcon } from \"@heroicons/vue/24/outline\"\n\timport { AcademicCapIcon } from \"@heroicons/vue/24/outline\"\n\timport { UserIcon } from \"@heroicons/vue/24/outline\"\n\timport { ClockIcon } from \"@heroicons/vue/24/outline\"\n\timport { OpenArtsInfoChip } from \"@/components/OpenArtsInfoChip\"\n\timport { registrationsByStudentIdAndCourseId } from \"../queries\"\n\timport { \n\t\textractErrorMessage,\n\t\tproperCase\n\t} from '@/main'\n\t\n\t//amplifhy\n\timport { deleteRegistrationReservation } from \"@/graphql/mutations\"\n\timport api from \"@/utilities/api\"\n\timport {\n\t\tAuth\n\t} from 'aws-amplify'\n\timport {\n\t\tcreateRegistration\n\t} from '../mutations'\n\n\t// store\n\timport { \n\t\tuserStore\n\t} from '@/store/userStore'\n\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'CourseCard' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n course: { default: undefined },\n skeleton: { type: Boolean, default: false },\n user: { type: Boolean, default: true }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\tconst route = useRoute()\n\tconst router = useRouter()\n\tconst store = userStore()\n\tconst loading = ref(false)\n\tconst registrationDialogOpen = ref(false)\n\tconst image = ref({ loaded: false, url: \"\"})\n\n\t//Notification\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\n\t\n\tconst courseFull = !(props.course?.numAvailable ?? 0 > 0)\n\n\tconst registrationOpen = computed(() => {\n\t\treturn new Date().getTime() >= new Date(props.course?.registrationOpenTime).getTime()\n\t})\n\tonMounted(async () => {\n\t\tif (!props.course?.image) return\n\t\tconst courseImageURL = await Storage.get(props.course.image)\n\t\timage.value.url = courseImageURL\n\t\timage.value.loaded = true\n\t})\n\n\tasync function openRegisterModal() {\n\n\t\tlet loggedIn = false\n\n\t\ttry{\n\t\t\tif(await Auth.currentSession())\n\t\t\t\tloggedIn = true\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t\tloggedIn = false\n\t\t}\n\n\t\tif(!loggedIn){\n\t\t\trouter.push({name: 'Login', query: { redirect: route.path + '/' + props.course?.id}})\n\t\t\treturn\n\t\t}\n\n\t\t// check if already registered\n\t\ttry {\n\t\t\tconst res: any = await api(registrationsByStudentIdAndCourseId, { \n\t\t\t\tstudentId: store.user.id, \n\t\t\t\tcourseId: {eq: props?.course?.id}\n\t\t\t})\n\n\t\t\tlet registrations = res.data.registrationsByStudentIdAndCourseId.items\n\t\t\tif(registrations.length) {\n\t\t\t\tthrow \"You've already registered for this course or joined the waitlist.\"\n\t\t\t}\n\t\t\tregistrationDialogOpen.value = true\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t\tvar message = await extractErrorMessage(e)\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tnotificationSubtitle.value = `Could not register for ${props.course?.name}. Error: ${message}.`\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\n\t}\n\n\tconst submitWaitlistRegistration = async (e: any) => {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\t// check for existing registration record\n\t\t\tconst res: any = await api(registrationsByStudentIdAndCourseId, { \n\t\t\t\tstudentId: store.user.id, \n\t\t\t\tcourseId: {eq: props?.course?.id}\n\t\t\t})\n\n\t\t\tlet registrations = res.data.registrationsByStudentIdAndCourseId.items\n\t\t\tif(registrations.length) {\n\t\t\t\tthrow \"You've already joined the waitlist.\"\n\t\t\t}\n\n\t\t\tawait api(createRegistration, { \n\t\t\t\tinput: {\n\t\t\t\t\tcourseId: props.course?.id,\n\t\t\t\t\tstudentId: store.user.id,\n\t\t\t\t\tlastName: store.user.lastName,\n\t\t\t\t\tsub: store.user.sub,\n\t\t\t\t\tstatus: \"Waitlisted\",\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tnotificationTitle.value = 'Success'\n\t\t\tnotificationSubtitle.value = `Joined waitlist for ${props.course?.name}`\n\t\t\tnotificationIcon.value = 0\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t\tvar message = await extractErrorMessage(e)\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tnotificationSubtitle.value = `Could not joined waitlist for ${props.course?.name}. Error: ${message} Please try again.`\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\t\n\tasync function cancel(registrationReservationId:string|null) {\n\t\t// delete registrationReservation record if not null (clicking 'done' shouldn't delete the reservation record)\n\t\tif(registrationReservationId) {\n\t\t\tlet input = {\n\t\t\t\tid: registrationReservationId\n\t\t\t}\n\t\t\tawait api(deleteRegistrationReservation, {input})\n\t\t}\n\t\tregistrationDialogOpen.value = false\n\t}\n\n\tfunction showRegNotification(value: boolean, status: string, icon: number, message: string){\n\t\tregistrationDialogOpen.value = value\n\t\tnotificationTitle.value = properCase(status)\n\t\tnotificationSubtitle.value = message\n\t\tnotificationIcon.value = icon\n\t\tshowNotification.value = true\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_description_list_item = _resolveComponent(\"description-list-item\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (!_ctx.skeleton && !(props.course?.name == null || props.course?.name == undefined))\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: {name: 'CourseRegistrationDetails', params: {courseId: props.course?.id}},\n class: \"w-full\",\n target: \"_blank\"\n }, {\n default: _withCtx(() => [\n (!_ctx.skeleton)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(props.course?.name), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_5)),\n (!_ctx.skeleton)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(_component_tw_badge, {\n color: courseFull ? 'red' : 'green'\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(courseFull ? 'Full' : 'Available'), 1)\n ]),\n _: 1\n }, 8, [\"color\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_7, _hoisted_9))\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Time\",\n loading: _ctx.skeleton\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(ClockIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_12, _toDisplayString(props.course?.dayOfWeek) + \" \" + _toDisplayString(_ctx.$filters.formatTimeShort(props.course?.startTime, props.course?.endTime)), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Teaching Artist\",\n loading: _ctx.skeleton\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(UserIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n (((props.course?.instructor?.firstName) || (props.course?.instructor?.lastName)))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString(props.course?.instructor?.firstName + \" \" + props.course?.instructor?.lastName), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_14, _toDisplayString(\"—\")))\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Age Level\",\n loading: _ctx.skeleton\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(AcademicCapIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_15, _toDisplayString(props.course?.ageLevel), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Dates\",\n loading: _ctx.skeleton\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(CalendarDaysIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n (props.course?.startDate && props.course.endDate)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, _toDisplayString(new Date(props.course?.startDate).toLocaleDateString('en-US', {month: 'short', day: 'numeric', timeZone: 'UTC'})) + \" - \" + _toDisplayString(new Date(props.course?.endDate).toLocaleDateString('en-US', {month: 'short', day: 'numeric', timeZone: 'UTC'})), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Tuition\",\n loading: _ctx.skeleton\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(CurrencyDollarIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n (props.course?.isOpenArtsOrTuition === 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, \" $\" + _toDisplayString(props.course.tuitionAmount), 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_18, [\n _createVNode(_unref(OpenArtsInfoChip), {\n \"suggested-contribution\": props.course?.suggestedContribution\n }, null, 8, [\"suggested-contribution\"])\n ]))\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _withDirectives(_createElementVNode(\"img\", {\n src: image.value.url,\n alt: props.course?.imageDescription ?? '',\n class: \"object-cover w-64 h-64 sm:h-50 sm:w-50\"\n }, null, 8, _hoisted_20), [\n [_vShow, !_ctx.skeleton && image.value.loaded]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_21, _hoisted_23, 512), [\n [_vShow, !_ctx.skeleton && !image.value.loaded]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_24, null, 512), [\n [_vShow, _ctx.skeleton]\n ])\n ])\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_25, [\n (courseFull && registrationOpen.value && _ctx.user)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 0,\n class: \"w-full btn-white btn-base\",\n loading: loading.value,\n disabled: loading.value || !registrationOpen.value,\n onClick: submitWaitlistRegistration\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Join Waitlist \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n : (registrationOpen.value && _ctx.user)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 1,\n disabled: !registrationOpen.value,\n onClick: openRegisterModal,\n class: \"w-full btn-brand btn-base\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Register \")\n ]),\n _: 1\n }, 8, [\"disabled\"]))\n : (courseFull && registrationOpen.value && !_ctx.user)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 2,\n to: {name: 'Login', query: { redirect: _unref(route).path + '/' + props.course?.id}}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_button, { class: \"btn-base btn-white w-full md:w-75 lg:w-full xl:w-75\" }, {\n default: _withCtx(() => [\n _createTextVNode(\" Log In To Join Waitlist \")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (registrationOpen.value && !_ctx.user)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 3,\n to: {name: 'Login', query: { redirect: _unref(route).path + '/' + props.course?.id}}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_button, { class: \"btn-base btn-brand w-full md:w-75 lg:w-full xl:w-75\" }, {\n default: _withCtx(() => [\n _createTextVNode(\" Log In To Register \")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (!registrationOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_26, \" Registration for this course will open on \" + _toDisplayString(_ctx.$filters.formatTimestamp(props.course?.registrationOpenTime)) + \" (\" + _toDisplayString(new Date().toString().match(/\\(([A-Za-z\\s].*)\\)/)[1]) + \") \", 1))\n : _createCommentVNode(\"\", true),\n (props.course?.id)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 5,\n class: \"w-full\",\n to: {name: 'CourseRegistrationDetails', params: {courseId: props.course?.id}}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_button, {\n class: \"w-full btn-white btn-base\",\n disabled: _ctx.skeleton\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" See Course Details \")\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n }, 8, [\"to\"]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, !_ctx.skeleton]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_27, _hoisted_30, 512), [\n [_vShow, _ctx.skeleton]\n ])\n ])\n ]),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: registrationDialogOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n open: registrationDialogOpen.value,\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_32,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_33, [\n _createElementVNode(\"div\", _hoisted_34, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-gotham font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Register for Course \")\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"block mb-8 font-bold text-gray-500 text-sm\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.course?.name), 1)\n ]),\n _: 1\n }),\n (props.course)\n ? (_openBlock(), _createBlock(CourseRegistration, {\n key: 0,\n \"on-cancel\": (id) => cancel(id),\n course: props.course,\n onCloseRegistrationModal: _cache[1] || (_cache[1] = (value, status, icon, message) => showRegNotification(value, status, icon, message))\n }, null, 8, [\"on-cancel\", \"course\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"open\"])\n ]),\n _: 1\n }, 8, [\"show\"])\n ], 64))\n}\n}\n\n})","import script from \"./CourseCard.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CourseCard.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createBlock as _createBlock, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title\" }, \" Search and Register for Courses \", -1)\nconst _hoisted_2 = { class: \"card mt-6 space-y-2\" }\nconst _hoisted_3 = { class: \"subtitle\" }\nconst _hoisted_4 = [\"innerHTML\"]\nconst _hoisted_5 = { class: \"grid grid-cols-6 xl:grid-cols-5 w-full py-5 gap-7\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"hidden sm:block sm:col-span-3 md:col-span-2 xl:hidden\" }, null, -1)\nconst _hoisted_7 = { class: \"col-span-6 sm:col-span-3 md:col-span-2 xl:col-span-1\" }\nconst _hoisted_8 = { class: \"card space-y-2 mt-8 flex justify-center items-center font-bold text-gray-700\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"grid grid-cols-1 lg:grid-cols-2 mt-8 gap-8\"\n}\nconst _hoisted_10 = {\n key: 1,\n class: \"grid grid-cols-1 lg:grid-cols-2 mt-8 gap-8\"\n}\nconst _hoisted_11 = {\n key: 2,\n class: \"card space-y-2 mt-8 flex justify-center items-center font-bold text-gray-700\"\n}\n\nimport CourseCard from './components/CourseCard.vue'\n\t\n\t// vue\n\timport {\n\t\tonBeforeMount,\n\t\tonMounted,\n\t\tonBeforeUnmount,\n\t\tref\n\t} from 'vue'\n\t\n\t// api\n\timport { \n\t\tCourse,\n\t\tTerm\n\t} from '@/API'\n\t\n\timport {\n\t\tcoursesByTerm,\n\t\tactiveTerms\n\t} from './queries'\n\n\timport queryAll from \"@/utilities/queryAll.js\"\n\n\t// store\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\timport { \n\t\tsystemStore\n\t} from '@/store/systemStore'\n\timport { \n\t\tappliedFiltersStore\n\t} from '@/store/appliedFiltersStore'\n\n\timport {\n\t\tAuth \n\t} from 'aws-amplify'\n\timport EventBus from '@/events'\n\timport { OpenArtsInfoChip } from '@/components/OpenArtsInfoChip'\n\n\n\tinterface courseSearchFilter {\n\t\tlabel: string, // Filter Label\n\t\toptions: {label: string, value: string}[], // All selectable options\n\t\tfield: string, // AWS DynamoDB field \n\t\tplaceholder: string, // placeholder for select\n\t\tvalue?: string|null|string[], // Currently selected filter value\n\t\tmultiple: boolean\n\t}\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"CourseSearch\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t/* eslint-disable */\n\t// components\n\tconst _valueListStore = valueListStore()\n\tconst _systemStore = systemStore()\n\tconst _appliedFiltersStore = appliedFiltersStore()\n\n\tconst loading = ref(true)\n\tconst courses = ref([])\n\n\tconst hideFullCourse = ref(false)\n\tconst openArtsOnly = ref(false)\n\tconst showMobileFilters = ref(false)\n\n\tconst filters = ref([\n\t\t{\n\t\t\tlabel: \"Term\",\n\t\t\toptions: [],\n\t\t\tfield: \"termId\",\n\t\t\tvalue: _appliedFiltersStore.appliedFilters.courseSearch[0] ?? null,\n\t\t\tplaceholder: 'Please select',\n\t\t\tmultiple: false\n\t\t},\n\t\t{\n\t\t\tlabel: \"Medium\",\n\t\t\toptions: _valueListStore.valueList.medium,\n\t\t\tfield: \"medium\",\n\t\t\tvalue: _appliedFiltersStore.appliedFilters.courseSearch[1] ?? [],\n\t\t\tplaceholder: 'Any',\n\t\t\tmultiple: true\n\t\t},\n\t\t{\n\t\t\tlabel: \"Age Level\",\n\t\t\toptions: _valueListStore.valueList.ageLevel,\n\t\t\tfield: \"ageLevel\",\n\t\t\tvalue: _appliedFiltersStore.appliedFilters.courseSearch[2] ?? [],\n\t\t\tplaceholder: 'Any',\n\t\t\tmultiple: true\n\t\t},\n\t\t{\n\t\t\tlabel: \"Day\",\n\t\t\toptions: [\n\t\t\t\t{label: \"Monday\", value: \"Monday\"},\n\t\t\t\t{label: \"Tuesday\", value: \"Tuesday\"},\n\t\t\t\t{label: \"Wednesday\", value: \"Wednesday\"},\n\t\t\t\t{label: \"Thursday\", value: \"Thursday\"},\n\t\t\t\t{label: \"Friday\", value: \"Friday\"},\n\t\t\t\t{label: \"Saturday\", value: \"Saturday\"},\n\t\t\t\t{label: \"Sunday\", value: \"Sunday\"}\n\t\t\t],\n\t\t\tfield: \"dayOfWeek\",\n\t\t\tvalue: _appliedFiltersStore.appliedFilters.courseSearch[3] ?? [],\n\t\t\tplaceholder: 'Any',\n\t\t\tmultiple: true\n\t\t},\n\t\t{\n\t\t\tlabel: \"Time\",\n\t\t\toptions: [\n\t\t\t\t{label: \"Morning\", value: \"Morning\"},\n\t\t\t\t{label: \"Afternoon\", value: \"Afternoon\"},\n\t\t\t\t{label: \"Evening\", value: \"Evening\"}\n\t\t\t],\n\t\t\tfield: \"timeOfDay\",\n\t\t\tvalue: _appliedFiltersStore.appliedFilters.courseSearch[4] ?? [],\n\t\t\tplaceholder: 'Any',\n\t\t\tmultiple: true\n\t\t}\n\t])\n\n\tconst fetchActiveTerms = async () => {\n\t\tconst terms: Term[] = await queryAll(activeTerms, { isActive: 1 }, \"activeTerms\")\n\n\t\tconst activeTermOptions:{label: string, value: string}[] = terms.map((term:Term) => {\n\t\t\treturn {\n\t\t\t\tlabel: String(term.name),\n\t\t\t\tvalue: term.id\n\t\t\t}\n\t\t})\n\n\t\tfilters.value[0].options = activeTermOptions\n\t}\n\n\tconst fetchData = async () => {\n\t\t// return if no term id selected\n\t\tif(!filters.value[0].value) {\n\t\t\tloading.value = false\n\t\t\treturn\n\t\t}\n\n\t\tloading.value = true\n\n\t\tconst filterQuery:any = {\n\t\t\tand: []\n\t\t}\n\n\t\tfilters.value.forEach((filter, i) => {\n\t\t\tlet innerOr:any = { or: [] }\n\t\t\tif (filter?.value?.length && i != 0) {\n\t\t\t\tfilter.value.forEach((val:string) => {\n\t\t\t\t\tlet obj:any = {}\n\t\t\t\t\tobj[filter.field] = {contains: val}\n\t\t\t\t\tinnerOr.or.push(obj)\n\t\t\t\t})\n\t\t\t\tfilterQuery.and.push(innerOr)\n\t\t\t}\n\t\t})\n\n\n\t\tif (hideFullCourse.value) {\n\t\t\tfilterQuery.and.push({numAvailable: { gt: 0 }})\n\t\t}\n\n\t\tif (openArtsOnly.value) {\n\t\t\tfilterQuery.and.push({isOpenArtsOrTuition: { ne: 1 }})\n\t\t}\n\n\t\tfilterQuery.and.push({showInSearch: {eq: 1}})\n\t\tfilterQuery.and.push({status: {ne: \"Draft\"}})\n\n\t\tconst allCourses: any = await queryAll(coursesByTerm, { termId: filters.value[0].value, filter: filterQuery }, \"coursesByTerm\")\n\n\t\tcourses.value = allCourses\n\t\tloading.value = false\n\t}\n\n\tonMounted(() => {\n\t\ttry{\n\t\t\tEventBus.on('logout', () => {\n\t\t\t\t// clear local filters\n\t\t\t\tfilters.value[0].value = \"\"\n\t\t\t\tfilters.value[1].value = []\n\t\t\t\tfilters.value[2].value = []\n\t\t\t\tfilters.value[3].value = []\n\t\t\t\tfilters.value[4].value = []\n\t\t\t})\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t}\n\n\t\tfetchActiveTerms()\n\t\tfetchData()\n\t})\n\n\t// Check for logged in user\n\tconst user = ref(false)\n\n\tonBeforeMount( async () => {\n try {\n\t\t\tif(await Auth.currentSession()) user.value = true\n }\n catch(e) {\n\t\t\tuser.value = false\n }\n })\n\n\tonBeforeUnmount(() => {\n\t\t// save filters to the store\n\t\t_appliedFiltersStore.appliedFilters.courseSearch[0] = filters.value[0].value ?? \"\"\n\t\t_appliedFiltersStore.appliedFilters.courseSearch[1] = filters.value[1].value ?? []\n\t\t_appliedFiltersStore.appliedFilters.courseSearch[2] = filters.value[2].value ?? []\n\t\t_appliedFiltersStore.appliedFilters.courseSearch[3] = filters.value[3].value ?? []\n\t\t_appliedFiltersStore.appliedFilters.courseSearch[4] = filters.value[4].value ?? []\n\n\t\tEventBus.off('logout', null)\n\t})\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_checkbox = _resolveComponent(\"tw-checkbox\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"p\", _hoisted_3, _toDisplayString(_unref(_systemStore).system.courseSearchTitle), 1),\n _createElementVNode(\"p\", {\n class: \"rich-text\",\n innerHTML: _unref(_systemStore).system.courseSearchOpening\n }, null, 8, _hoisted_4),\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(filters.value, (filter, idx) => {\n return (_openBlock(), _createBlock(_component_tw_select, {\n class: _normalizeClass([\"col-span-6 w-full sm:block sm:col-span-3 md:col-span-2 xl:col-span-1\", {'hidden': !showMobileFilters.value && idx > 0}]),\n key: idx,\n required: filter.field === 'termId',\n modelValue: filter.value,\n \"onUpdate:modelValue\": [($event: any) => ((filter.value) = $event), fetchData],\n options: filter.options,\n label: filter.label,\n clearable: \"\",\n placeholder: filter.placeholder,\n multiple: filter.multiple\n }, null, 8, [\"class\", \"required\", \"modelValue\", \"onUpdate:modelValue\", \"options\", \"label\", \"placeholder\", \"multiple\"]))\n }), 128)),\n _createElementVNode(\"p\", {\n class: _normalizeClass([\"sm:hidden w-full link col-span-6\", {'hidden': showMobileFilters.value}]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (showMobileFilters.value = true))\n }, \" Show more filters... \", 2),\n _createElementVNode(\"p\", {\n class: _normalizeClass([\"sm:hidden w-full link col-span-6\", {'hidden': !showMobileFilters.value}]),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (showMobileFilters.value = false))\n }, \" Hide filters... \", 2),\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_tw_checkbox, {\n id: \"available-courses-only-checkbox\",\n label: \"Hide Full Courses\",\n modelValue: hideFullCourse.value,\n \"onUpdate:modelValue\": [\n _cache[2] || (_cache[2] = ($event: any) => ((hideFullCourse).value = $event)),\n fetchData\n ]\n }, null, 8, [\"modelValue\"])\n ])\n ])\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_8, \" Please select a term above to view available courses \", 512), [\n [_vShow, !filters.value[0].value]\n ]),\n (!loading.value && filters.value[0].value && courses.value.length != 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(courses.value, (course, idx) => {\n return (_openBlock(), _createElementBlock(\"div\", { key: idx }, [\n _createVNode(CourseCard, {\n course: course,\n user: user.value\n }, null, 8, [\"course\", \"user\"])\n ]))\n }), 128))\n ]))\n : (loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createVNode(CourseCard, {\n user: false,\n skeleton: \"\"\n }),\n _createVNode(CourseCard, {\n user: false,\n skeleton: \"\"\n }),\n _createVNode(CourseCard, {\n user: false,\n skeleton: \"\"\n }),\n _createVNode(CourseCard, {\n user: false,\n skeleton: \"\"\n })\n ]))\n : _createCommentVNode(\"\", true),\n (!loading.value && courses.value.length === 0 && filters.value[0].value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, \" No courses were found with the currently selected filters. \"))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./CourseSearch.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CourseSearch.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, createElementVNode as _createElementVNode, withDirectives as _withDirectives, createTextVNode as _createTextVNode, withCtx as _withCtx, unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '@/assets/images/hyde-park-art-center-logo.png'\n\n\nconst _hoisted_1 = { class: \"card lg:h-105\" }\nconst _hoisted_2 = { class: \"grid grid-cols-8 lg:gap-4 xl:gap-0 w-full\" }\nconst _hoisted_3 = { class: \"col-span-8 w-full md:mb-8 md:flex md:justify-center lg:block lg:mb-0 lg:col-span-2\" }\nconst _hoisted_4 = { class: \"\" }\nconst _hoisted_5 = [\"src\", \"alt\"]\nconst _hoisted_6 = { class: \"w-full h-64 mb-4 md:h-75 md:max-w-75 md:mx-auto lg:mx-0 bg-gray-100 border-gray-300 border flex justify-center items-center\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"h-52 md:h-60 md:mx-auto lg:mx-0\"\n}, null, -1)\nconst _hoisted_8 = [\n _hoisted_7\n]\nconst _hoisted_9 = { class: \"w-full h-64 mb-4 md:h-75 md:w-auto md:max-w-75 md:mx-auto lg:mx-0 animate-pulse bg-gray-300\" }\nconst _hoisted_10 = {\n key: 4,\n class: \"w-full h-5 text-sm\"\n}\nconst _hoisted_11 = {\n key: 5,\n class: \"w-full md:w-75 lg:w-full xl:w-75 h-9.5 animate-pulse bg-gray-300\"\n}\nconst _hoisted_12 = { class: \"col-span-8 border-b mb-8 py-8 space-y-5 md:col-span-5 md:border-r md:pr-8 md:mr-8 md:py-0 md:mb-0 md:border-b-0 lg:col-span-4\" }\nconst _hoisted_13 = {\n key: 0,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_14 = {\n key: 1,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_15 = {\n key: 0,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_16 = {\n key: 1,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_17 = { class: \"font-bold font-gotham\" }\nconst _hoisted_18 = {\n key: 0,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_19 = { class: \"font-bold font-gotham\" }\nconst _hoisted_20 = { class: \"font-bold font-gotham\" }\nconst _hoisted_21 = {\n key: 0,\n class: \"font-bold font-gotham\"\n}\nconst _hoisted_22 = { key: 1 }\nconst _hoisted_23 = { class: \"col-span-8 grid grid-cols-2 gap-4 md:col-span-3 md:flex md:flex-col md:justify-between md:h-full lg:col-span-2\" }\nconst _hoisted_24 = { class: \"col-span-1\" }\nconst _hoisted_25 = { class: \"col-span-1\" }\nconst _hoisted_26 = { class: \"col-span-1\" }\nconst _hoisted_27 = { class: \"col-span-1\" }\nconst _hoisted_28 = { class: \"col-span-1\" }\nconst _hoisted_29 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_30 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_31 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-4xl sm:w-full sm:p-6\" }\nconst _hoisted_32 = { class: \"text-center sm:mt-0 sm:text-left\" }\n\nimport {\n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay, \n\t\tTransitionChild,\n\t\tTransitionRoot\n\t} from '@headlessui/vue'\n\n\timport { Course } from \"@/API\"\n\timport { onMounted, ref, computed, onBeforeMount} from \"vue\"\n\timport { Storage } from \"aws-amplify\"\n\timport CourseRegistration from \"./CourseRegistration.vue\"\n\timport {useRoute, useRouter} from \"vue-router\"\n\timport { HashtagIcon } from \"@heroicons/vue/24/outline\"\n\timport { CurrencyDollarIcon } from \"@heroicons/vue/24/outline\"\n\timport { CalendarDaysIcon } from \"@heroicons/vue/24/outline\"\n\timport { AcademicCapIcon } from \"@heroicons/vue/24/outline\"\n\timport { UserIcon } from \"@heroicons/vue/24/outline\"\n\timport { UserCircleIcon } from \"@heroicons/vue/24/outline\"\n\timport { ClockIcon } from \"@heroicons/vue/24/outline\"\n\timport { OpenArtsInfoChip } from \"@/components/OpenArtsInfoChip\"\n\timport { \n\t\textractErrorMessage,\n\t\tproperCase\n\t} from '@/main'\n\n\timport { deleteRegistrationReservation } from \"@/graphql/mutations\"\n\n\t// amplify\n\timport api from \"@/utilities/api\"\n\timport {\n\t\tAuth\n\t} from 'aws-amplify'\n\timport {\n\t\tcreateRegistration\n\t} from '../mutations'\n\timport { \n\t\tregistrationsByStudentIdAndCourseId \n\t} from \"../queries\"\n\n\t// store\n\timport { \n\t\tuserStore\n\t} from '@/store/userStore'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'LargeCourseCard' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n course: { default: undefined },\n loading: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\tconst store = userStore()\n\n\t//Notification\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\n\t\n\t// Check for logged in user\n\tconst user = ref(false)\n\n\tonBeforeMount( async () => {\n try {\n\t\t\tif(await Auth.currentSession()) user.value = true\n }\n catch(e) {\n\t\t\tuser.value = false\n }\n })\n\tconst route = useRoute()\n\tconst router = useRouter()\n\tconst _loading = ref(false)\n\tconst image = ref({ loaded: false, url: \"\"})\n\tconst registrationDialogOpen = ref(false)\n\n\t\n\tconst courseFull = !(props.course?.numAvailable ?? 0 > 0)\n\t\n\tasync function showRegistrationDialog() {\n\n\t\tlet loggedIn = false\n\n\t\ttry{\n\t\t\tif(await Auth.currentSession()) loggedIn = true\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t\tloggedIn = false\n\t\t}\n\n\t\tif(!loggedIn){\n\t\t\trouter.push({name: 'Login', query: { redirect: route.path + '/' + props.course?.id}})\n\t\t\treturn\n\t\t}\n\n\t\t// check if already registered\n\t\ttry {\n\t\t\tconst res: any = await api(registrationsByStudentIdAndCourseId, { \n\t\t\t\tstudentId: store.user.id, \n\t\t\t\tcourseId: {eq: props?.course?.id}\n\t\t\t})\n\n\t\t\tlet registrations = res.data.registrationsByStudentIdAndCourseId.items\n\t\t\tif(registrations.length) {\n\t\t\t\tthrow \"You've already registered for this course or joined the waitlist.\"\n\t\t\t}\n\t\t\tregistrationDialogOpen.value = true\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t\tvar message = await extractErrorMessage(e)\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tnotificationSubtitle.value = `Could not register for ${props.course?.name}. Error: ${message}.`\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\n\n\t\t\n\t}\n\n\tconst registrationOpen = computed(() => {\n\t\treturn new Date().getTime() >= new Date(props.course?.registrationOpenTime).getTime()\n\t})\n\n\tasync function cancel(registrationReservationId:string|null) {\n\t\t// delete registrationReservation record if not null (clicking 'done' shouldn't delete the reservation record)\n\t\tif(registrationReservationId) {\n\t\t\tlet input = {\n\t\t\t\tid: registrationReservationId\n\t\t\t}\n\t\t\tawait api(deleteRegistrationReservation, {input})\n\t\t}\n\t\tregistrationDialogOpen.value = false\n\t}\n\n\tonMounted(async () => {\n\t\tif (!props.course.image) return\n\t\tconst courseImageURL = await Storage.get(props.course.image)\n\t\timage.value.url = courseImageURL\n\t\timage.value.loaded = true\n\t})\n\n\tconst submitWaitlistRegistration = async (e: any) => {\n\t\ttry {\n\t\t\t_loading.value = true\n\t\t\t// check for existing registration record\n\t\t\tconst res: any = await api(registrationsByStudentIdAndCourseId, { \n\t\t\t\tstudentId: store.user.id, \n\t\t\t\tcourseId: {eq: props?.course?.id}\n\t\t\t})\n\n\t\t\tlet registrations = res.data.registrationsByStudentIdAndCourseId.items\n\t\t\tif(registrations.length) {\n\t\t\t\tthrow \"You've already registered for this course or joined the waitlist.\"\n\t\t\t}\n\n\t\t\tawait api(createRegistration, { \n\t\t\t\tinput: {\n\t\t\t\t\tcourseId: props.course?.id,\n\t\t\t\t\tstudentId: store.user.id,\n\t\t\t\t\tlastName: store.user.lastName,\n\t\t\t\t\tsub: store.user.sub,\n\t\t\t\t\tstatus: \"Waitlisted\",\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tnotificationTitle.value = 'Success'\n\t\t\tnotificationSubtitle.value = `Joined waitlist for ${props.course?.name}`\n\t\t\tnotificationIcon.value = 0\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t\tvar message = await extractErrorMessage(e)\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tnotificationSubtitle.value = `Could not join waitlist for ${props.course?.name}. Error: ${message} Please try again.`\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tfinally {\n\t\t\t_loading.value = false\n\t\t}\n\n\t}\n\n\tfunction showRegNotification(value: boolean, status: string, icon: number, message: string){\n\t\tregistrationDialogOpen.value = value\n\t\tnotificationTitle.value = properCase(status)\n\t\tnotificationSubtitle.value = message\n\t\tnotificationIcon.value = icon\n\t\tshowNotification.value = true\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_description_list_item = _resolveComponent(\"description-list-item\")!\n const _component_data_display = _resolveComponent(\"data-display\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _withDirectives(_createElementVNode(\"img\", {\n src: image.value.url,\n alt: props.course?.imageDescription ?? '',\n class: \"object-cover w-full h-64 mb-4 md:h-75 md:w-75 md:mx-auto lg:mx-0\"\n }, null, 8, _hoisted_5), [\n [_vShow, !_ctx.loading && image.value.loaded]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_6, _hoisted_8, 512), [\n [_vShow, !_ctx.loading && !image.value.loaded]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_9, null, 512), [\n [_vShow, _ctx.loading]\n ]),\n (courseFull && !_ctx.loading && registrationOpen.value && user.value)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 0,\n loading: _loading.value,\n disabled: _loading.value || !registrationOpen.value,\n onClick: submitWaitlistRegistration,\n class: \"btn-base btn-white w-full md:w-75 lg:w-full xl:w-75\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Join Waitlist \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n : (registrationOpen.value && !_ctx.loading && user.value)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 1,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (showRegistrationDialog())),\n class: \"btn-base btn-brand w-full md:w-75 lg:w-full xl:w-75\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Register \")\n ]),\n _: 1\n }))\n : (courseFull && registrationOpen.value && !_ctx.loading && !user.value)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 2,\n to: {name: 'Login', query: { redirect: _unref(route).path }}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_button, { class: \"btn-base btn-white w-full md:w-75 lg:w-full xl:w-75\" }, {\n default: _withCtx(() => [\n _createTextVNode(\" Log In To Join Waitlist \")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (registrationOpen.value && !_ctx.loading && !user.value)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 3,\n to: {name: 'Login', query: { redirect: _unref(route).path }}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_button, { class: \"btn-base btn-brand w-full md:w-75 lg:w-full xl:w-75\" }, {\n default: _withCtx(() => [\n _createTextVNode(\" Log In To Register \")\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"to\"]))\n : (!registrationOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, \" Registration for this course will open on \" + _toDisplayString(_ctx.$filters.formatTimestamp(props.course?.registrationOpenTime)) + \" (\" + _toDisplayString(new Date().toString().match(/\\(([A-Za-z\\s].*)\\)/)[1]) + \") \", 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_11))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n (props.course?.instructor?.firstName)\n ? (_openBlock(), _createBlock(_component_description_list_item, {\n key: 0,\n \"max-length\": 15,\n label: \"Teaching Artist\",\n loading: _ctx.loading\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(UserIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n (((props.course?.instructor?.firstName) || (props.course?.instructor?.lastName)))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString(props.course?.instructor?.firstName + \" \" + props.course?.instructor?.lastName), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_14, _toDisplayString(\"—\")))\n ]),\n _: 1\n }, 8, [\"loading\"]))\n : _createCommentVNode(\"\", true),\n (props.course?.assistant?.firstName)\n ? (_openBlock(), _createBlock(_component_description_list_item, {\n key: 1,\n \"max-length\": 15,\n label: \"Assistant\",\n loading: _ctx.loading\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(UserCircleIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n (((props.course.assistant.firstName) || (props.course.assistant.lastName)))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, _toDisplayString(props.course?.assistant?.firstName + \" \" + props.course?.assistant?.lastName), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString(\"—\")))\n ]),\n _: 1\n }, 8, [\"loading\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Term\",\n loading: _ctx.loading\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(AcademicCapIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_17, _toDisplayString(props.course?.term?.name || \"—\"), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Dates\",\n loading: _ctx.loading\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(CalendarDaysIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n (props.course?.startDate && props.course.endDate)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_18, _toDisplayString(new Date(props.course?.startDate).toLocaleDateString('en-US', {month: 'short', day: 'numeric', timeZone: 'UTC'})) + \" - \" + _toDisplayString(new Date(props.course?.endDate).toLocaleDateString('en-US', {month: 'short', day: 'numeric', timeZone: 'UTC'})), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Time\",\n loading: _ctx.loading\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(ClockIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_19, _toDisplayString(props.course?.dayOfWeek) + \" \" + _toDisplayString(_ctx.$filters.formatTimeShort(props.course?.startTime, props.course?.endTime)), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Sessions\",\n loading: _ctx.loading\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(HashtagIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_20, _toDisplayString(props.course?.classes?.items?.length || \"—\"), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Tuition\",\n loading: _ctx.loading\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(CurrencyDollarIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n (props.course?.isOpenArtsOrTuition === 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, \" $\" + _toDisplayString(props.course.tuitionAmount), 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n _createVNode(_unref(OpenArtsInfoChip), {\n \"suggested-contribution\": props.course?.suggestedContribution\n }, null, 8, [\"suggested-contribution\"])\n ]))\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_data_display, {\n loading: _ctx.loading,\n label: \"Location\",\n value: props.course.location\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_data_display, {\n loading: _ctx.loading,\n label: \"Studio\",\n value: props.course.studio\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createVNode(_component_data_display, {\n loading: _ctx.loading,\n label: \"Skill Level\",\n value: props.course.skillLevel\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode(_component_data_display, {\n loading: _ctx.loading,\n label: \"Medium\",\n value: props.course.medium\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(_component_data_display, {\n loading: _ctx.loading,\n label: \"Age Level\",\n value: props.course.ageLevel\n }, null, 8, [\"loading\", \"value\"])\n ])\n ])\n ])\n ]),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: registrationDialogOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n open: registrationDialogOpen.value,\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_29, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_30,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"div\", _hoisted_32, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Register for Course \")\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"block mb-8 font-bold text-gray-500 text-sm\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.course.name), 1)\n ]),\n _: 1\n }),\n (props.course && registrationDialogOpen.value)\n ? (_openBlock(), _createBlock(CourseRegistration, {\n key: 0,\n \"on-cancel\": (id) => cancel(id),\n course: props.course,\n onCloseRegistrationModal: _cache[2] || (_cache[2] = (value, status, icon, message) => showRegNotification(value, status, icon, message))\n }, null, 8, [\"on-cancel\", \"course\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"open\"])\n ]),\n _: 1\n }, 8, [\"show\"])\n ], 64))\n}\n}\n\n})","import script from \"./LargeCourseCard.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LargeCourseCard.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"title mb-6\" }\nconst _hoisted_3 = { class: \"card mt-6\" }\nconst _hoisted_4 = { class: \"space-y-10\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Course Description \", -1)\nconst _hoisted_6 = [\"innerHTML\"]\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Supplies \", -1)\nconst _hoisted_8 = [\"innerHTML\"]\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Class Sessions \", -1)\nconst _hoisted_10 = {\n key: 0,\n class: \"grid gap-x-6 grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 grid-flow-col grid-rows-5\"\n}\nconst _hoisted_11 = { class: \"w-full\" }\nconst _hoisted_12 = { class: \"flex w-full justify-between -mb-1\" }\nconst _hoisted_13 = { class: \"font-bold font-gotham text-sm\" }\nconst _hoisted_14 = { class: \"text-xs\" }\nconst _hoisted_15 = { class: \"flex w-full justify-between text-xs\" }\nconst _hoisted_16 = { class: \"text-gray-700\" }\nconst _hoisted_17 = { class: \"text-gray-700\" }\n\nimport LargeCourseCard from \"./components/LargeCourseCard.vue\"\n\t\n\timport { onMounted, ref } from \"vue\"\n\timport { getCourse } from \"./queries\"\n\timport { useRoute } from \"vue-router\"\n\timport { Course, Class as ClassType, } from \"@/API\"\n\n\timport api from \"@/utilities/api\"\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'CourseRegistrationDetails' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\tconst route = useRoute()\n\tconst loading = ref(true)\n\tconst course = ref()\n\tconst classSchedule = ref([])\n\t\n\tconst loadCourse = async () => {\n\t\ttry {\n\t\t\tconst courseQuery: any = await api(getCourse, { id: route.params.courseId})\n\t\n\t\t\tcourse.value = courseQuery.data.getCourse\n\t\t\tclassSchedule.value = course?.value?.classes?.items || []\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\n\tonMounted(() => { loadCourse() })\n\n\nreturn (_ctx: any,_cache: any) => {\n return (course.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"h1\", _hoisted_2, _toDisplayString(course.value.name), 1),\n _createVNode(LargeCourseCard, {\n course: course.value,\n loading: loading.value\n }, null, 8, [\"course\", \"loading\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", null, [\n _hoisted_5,\n _createElementVNode(\"p\", {\n class: \"mt-4 rich-text\",\n innerHTML: course.value.description ?? '—'\n }, null, 8, _hoisted_6)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_7,\n _createElementVNode(\"p\", {\n class: \"mt-4 rich-text\",\n innerHTML: course.value.supplyList ?? '—'\n }, null, 8, _hoisted_8)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_9,\n (classSchedule.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(classSchedule.value, (_class, idx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: idx,\n class: \"sm:border-r-2 sm:pr-6 py-1 col-span-1 row-span-1 flex justify-between items-start space-x-1\"\n }, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"p\", _hoisted_13, _toDisplayString(_ctx.$filters.formatDate(_class.date)), 1),\n _createElementVNode(\"p\", _hoisted_14, _toDisplayString(_ctx.$filters.convertTime(_class.startTime)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"p\", _hoisted_16, _toDisplayString(_class.day), 1),\n _createElementVNode(\"p\", _hoisted_17, _toDisplayString(_ctx.$filters.convertTime(_class.endTime)), 1)\n ])\n ])\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./CourseRegistrationDetails.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CourseRegistrationDetails.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import CourseSearch from \"./CourseSearch.vue\"\nimport CourseRegistrationDetails from \"./CourseRegistrationDetails.vue\"\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"CourseSearch\",\n\t\tpath: \"/course-search\",\n\t\tcomponent: CourseSearch\n\t},\n\tcourseDetailRoute: {\n\t\tname: \"CourseRegistrationDetails\",\n\t\tpath: \"/course-search/:courseId\",\n\t\tcomponent: CourseRegistrationDetails,\n\t\tprops: true\n\t},\n\tnav: {\n\t\tname: \"Course Catalog\",\n\t\tto: \"CourseSearch\",\n\t\tposition: 1,\n\t\tshow: true\t\t\n\t},\n\tmodule: \"courseCatalog\",\n\tauth: ['student', 'instructor', 'public'] \n}\n\nexport { config }\n","import { defineStore } from 'pinia'\nimport { useStorage } from '@vueuse/core'\n\nexport const userStore = defineStore('user', {\n\t// a function that returns a fresh state\n\tstate: () => ({\n\t\tuser: useStorage('user', {\n\t\t\tid:'',\n\t\t\temail: '',\n\t\t\tfirstName:'',\n\t\t\tmiddleName:'',\n\t\t\tlastName:'',\n\t\t\tgender:'',\n\t\t\tpronouns:'',\n\t\t\tethnicity:'',\n\t\t\teducation:'',\n\t\t\tincome:'',\n\t\t\tdob:'',\n\t\t\tphoneHome:'',\n\t\t\tphoneWork:'',\n\t\t\tphoneWorkExt:'',\n\t\t\tphoneMobile:'',\n\t\t\taddress1:'',\n\t\t\taddress2:'',\n\t\t\tcity:'',\n\t\t\tstate:'',\n\t\t\tpostal:'',\n\t\t\tcountry:'',\n\t\t\temergencyContactFirstName: '',\n\t\t\temergencyContactLastName: '',\n\t\t\temergencyContactPhone: '',\n\t\t\temergencyContactEmail: '',\n\t\t\temergencyContactRelationship: '',\n\t\t\tsub:''\n\t\t}),\n\n\t}),\n\t\n\t// optional getters\n\tgetters: {\n\n\t},\n\n\t// optional actions\n\tactions: {\n\t\t// setUser(payload){\n\t\t// \tstate.user = payload\n\t\t// },\n\t\t// setLoginRedirect(state, payload){\n\t\t// \tstate.loginRedirect = payload\n\t\t// },\n\t\t// setRegistrationId(state, payload){\n\t\t// \tstate.registrationId = payload\n\t\t// }\n\n\t}\n})","export const relatedStudentsByParentId = /* GraphQL */ `\n query RelatedStudentsByParentId(\n $parentId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelRelatedStudentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n relatedStudentsByParentId(\n parentId: $parentId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n child {\n id\n firstName\n lastName\n dob\n email\n phoneMobile\n\t\tpronouns\n\t\tnotes\n\t\tstatus\n\t\tlastActivity\n }\n }\n nextToken\n }\n }\n`;\n\nexport const getStudent = /* GraphQL */ `\n query GetStudent($id: ID!) {\n getStudent(id: $id) {\n id\n address1\n address2\n city\n country\n dob\n education\n email\n ethnicity\n firstName\n gender\n income\n isInstructor\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n pronouns\n state\n status\n sub\n allStudents\n createdAt\n updatedAt\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Teleport as _Teleport, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, unref as _unref, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title\" }, \" Account Settings \", -1)\nconst _hoisted_2 = { class: \"overflow-hidden card p-0 flex flex-col mt-6 min-h-full\" }\nconst _hoisted_3 = { class: \"divide-y divide-gray-200 lg:grid lg:grid-cols-12 lg:divide-y-0 lg:divide-x\" }\nconst _hoisted_4 = { class: \"lg:col-span-3\" }\nconst _hoisted_5 = { class: \"space-y-1\" }\nconst _hoisted_6 = [\"onClick\", \"aria-current\"]\n\nimport { \n\t\tref\n\t} from 'vue'\n\n\timport { \n\t\tuseRouter,\n\t\tuseRoute\n\t} from 'vue-router'\n\n\t//set up subroutes\n\t\n\t// name the component\n\tconst __default__ = { name: 'MyAccount' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\tconst router = useRouter()\n\tconst route = useRoute()\n\n\n\tconst childRoutes:any = ref([])\n\tchildRoutes.value = route.matched[0].children\n\n\t\n\tfunction setModule(childRoute: any) {\n\t\trouter.push({name: childRoute.name})\n\t}\n\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\n\t// eslint-disable-next-line \n\tfunction showMessage (message: {title:string, subtitle:string, icon:number}){\n\t\tnotificationTitle.value = message.title\n\t\tnotificationSubtitle.value = message.subtitle\n\t\tnotificationIcon.value = message.icon\n\t\tshowNotification.value = true\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#notification\" }, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true)\n ])),\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"aside\", _hoisted_4, [\n _createElementVNode(\"nav\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(childRoutes.value, (item) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n onClick: ($event: any) => (setModule(item)),\n key: item.name,\n class: _normalizeClass([item.name == _unref(route).name ? 'w-full border-brand-500 bg-brand-100 text-brand-500 hover:bg-brand-100 hover:text-brand-300' : 'w-full border-transparent text-gray-900 hover:bg-brand-100 hover:text-gray-900', 'group flex items-center border-l-4 px-3 py-2 text-sm font-medium']),\n \"aria-current\": item.name == _unref(route).name ? 'page' : undefined\n }, _toDisplayString(item.meta.title), 11, _hoisted_6))\n }), 128))\n ])\n ]),\n _createVNode(_component_router_view, {\n onShowMessage: showMessage,\n class: \"col-span-9\"\n })\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./MyAccount.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyAccount.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import MyAccount from './MyAccount.vue'\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"MyAccount\",\n\t\tpath: \"/my-account\",\n\t\tcomponent: MyAccount,\n\t},\n\tmodule: \"myAccount\"\n}\n\nexport { config }\n","export const updateStudent = /* GraphQL */ `\n mutation UpdateStudent(\n $input: UpdateStudentInput!\n $condition: ModelStudentConditionInput\n ) {\n updateStudent(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const createStudent = /* GraphQL */ `\n mutation CreateStudent(\n $input: CreateStudentInput!\n $condition: ModelStudentConditionInput\n ) {\n createStudent(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const createRelatedStudent = /* GraphQL */ `\n mutation CreateRelatedStudent(\n $input: CreateRelatedStudentInput!\n $condition: ModelRelatedStudentConditionInput\n ) {\n createRelatedStudent(input: $input, condition: $condition) {\n id\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, unref as _unref, createTextVNode as _createTextVNode, vShow as _vShow, withCtx as _withCtx, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"px-6 py-4 min-h-screen overflow-visible\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Contact Information \", -1)\nconst _hoisted_3 = { class: \"grid grid-cols-3 gap-6 mt-6 items-end\" }\nconst _hoisted_4 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_5 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-1 hidden md:flex\" }, null, -1)\nconst _hoisted_7 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-2 hidden md:flex\" }, null, -1)\nconst _hoisted_9 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-2 hidden md:flex\" }, null, -1)\nconst _hoisted_11 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_12 = { class: \"col-span-3 md:col-span-1 flex gap-2 items-end\" }\nconst _hoisted_13 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle mt-6\" }, \" Emergency Contact Information \", -1)\nconst _hoisted_15 = { class: \"grid grid-cols-3 gap-6 mt-6 items-end\" }\nconst _hoisted_16 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_17 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-1 hidden md:flex\" }, null, -1)\nconst _hoisted_19 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_20 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_21 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_22 = { class: \"col-span-3 md:col-span-1 mt-3\" }\nconst _hoisted_23 = { class: \"col-span-3 md:col-span-1\" }\n\nimport api from '@/utilities/api'\n\n\t// Mutations\n\timport { updateStudent } from '../mutations'\n\n\t// Store\n\timport { userStore } from '@/store/userStore'\n\t\n\n\t// Value Lists\n\timport { VL_COUNTRY_OPTIONS } from '@/utilities/valueLists.js'\n\n\t// Vue\n\timport {\n\t\tref\n\t} from 'vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'ContactInfo' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\t// API\n\tconst store = userStore()\n\tconst user = ref({\n\t\tid: store.user.id,\n\t\tphoneHome: store.user.phoneHome,\n\t\tphoneWork: store.user.phoneWork,\n\t\tphoneWorkExt: store.user.phoneWorkExt,\n\t\tphoneMobile: store.user.phoneMobile,\n\t\taddress1: store.user.address1,\n\t\taddress2: store.user.address2,\n\t\tcity: store.user.city,\n\t\tstate: store.user.state,\n\t\tpostal: store.user.postal,\n\t\tcountry: store.user.country,\n\t\temergencyContactFirstName: store.user.emergencyContactFirstName,\n\t\temergencyContactLastName: store.user.emergencyContactLastName,\n\t\temergencyContactPhone: store.user.emergencyContactPhone,\n\t\temergencyContactEmail: store.user.emergencyContactEmail,\n\t\temergencyContactRelationship: store.user.emergencyContactRelationship\n\t})\n\n\tconst showSave = ref(false)\n\n\tfunction showSaveButton(){\n\t\tshowSave.value = true\n\t}\n\n\tconst loading = ref(false)\n\tasync function saveChanges(){\n\n\t\tconst isValid = validateForm()\n\t\tif(!isValid) return\n\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tlet input = {\n\t\t\t\tid: user.value.id,\n\t\t\t\tphoneHome: user.value.phoneHome,\n\t\t\t\tphoneMobile: user.value.phoneMobile,\n\t\t\t\taddress1: user.value.address1,\n\t\t\t\taddress2: user.value.address2,\n\t\t\t\tcity: user.value.city,\n\t\t\t\tstate: user.value.state,\n\t\t\t\tpostal: user.value.postal,\n\t\t\t\tcountry: user.value.country,\n\t\t\t\temergencyContactFirstName: user.value.emergencyContactFirstName,\n\t\t\t\temergencyContactLastName: user.value.emergencyContactLastName,\n\t\t\t\temergencyContactPhone: user.value.emergencyContactPhone,\n\t\t\t\temergencyContactEmail: user.value.emergencyContactEmail,\n\t\t\t\temergencyContactRelationship: user.value.emergencyContactRelationship\n\t\t\t}\n\n\t\t\t// if field is null, have to remove it\n\t\t\t// can only nullify fields if user has delete permissions\n\t\t\t// https://github.com/aws-amplify/amplify-category-api/issues/75#issuecomment-1129352369\n\t\t\tif(!input.phoneHome) delete input.phoneHome\n\t\t\tif(!input.address1) delete input.address1\n\t\t\tif(!input.address2) delete input.address2\n\t\t\tif(!input.city) delete input.city\n\t\t\tif(!input.state) delete input.state\n\t\t\tif(!input.country) delete input.country\n\t\t\tif(!input.emergencyContactFirstName) delete input.emergencyContactFirstName\n\t\t\tif(!input.emergencyContactLastName) delete input.emergencyContactLastName\n\t\t\tif(!input.emergencyContactPhone) delete input.emergencyContactPhone\n\t\t\tif(!input.emergencyContactEmail) delete input.emergencyContactEmail\n\t\t\tif(!input.emergencyContactRelationship) delete input.emergencyContactRelationship\n\n\t\t\tlet res: any = await api(updateStudent, { input })\n\n\t\t\tif(res.errors){\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\t// update store\n\t\t\tObject.assign(store.user, input)\n\n\t\t\tshowSave.value = false\n\t\t}\n\t\tcatch(error){\n\t\t\tconsole.log('Error:', error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tfunction cancel() {\n\t\tuser.value = {\n\t\t\tid: store.user.id,\n\t\t\tphoneHome: store.user.phoneHome,\n\t\t\tphoneWork: store.user.phoneWork,\n\t\t\tphoneWorkExt: store.user.phoneWorkExt,\n\t\t\tphoneMobile: store.user.phoneMobile,\n\t\t\taddress1: store.user.address1,\n\t\t\taddress2: store.user.address2,\n\t\t\tcity: store.user.city,\n\t\t\tstate: store.user.state,\n\t\t\tpostal: store.user.postal,\n\t\t\tcountry: store.user.country,\n\t\t\temergencyContactFirstName: store.user.emergencyContactFirstName,\n\t\t\temergencyContactLastName: store.user.emergencyContactLastName,\n\t\t\temergencyContactPhone: store.user.emergencyContactPhone,\n\t\t\temergencyContactEmail: store.user.emergencyContactEmail,\n\t\t\temergencyContactRelationship: store.user.emergencyContactRelationship\n\t\t}\n\t\tshowSave.value = false\n\t}\n\n\t//#region Form Validation\n\n\tconst phoneInput = ref(null)\n\tconst zipInput = ref(null)\n\n\tfunction validateForm() {\n\t\t// !!(a & b & c) is the same as non-shortcircuited &&\n\t\t// & is bitwise-and\n\t\treturn !!(\n\t\t\tphoneInput?.value?.validate() & \n\t\t\tzipInput?.value?.validate()\n\t\t)\n\t}\n\n\t//#endregion\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.phoneMobile,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((user.value.phoneMobile) = $event)),\n label: \"Primary Phone\",\n type: \"tel\",\n name: \"phoneMobile\",\n id: \"phoneMobile\",\n required: \"\",\n ref_key: \"phoneInput\",\n ref: phoneInput,\n validation: \"Please enter your primary phone.\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.phoneHome,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((user.value.phoneHome) = $event)),\n label: \"Secondary Phone\",\n type: \"tel\",\n name: \"phoneHome\",\n id: \"phoneHome\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.address1,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((user.value.address1) = $event)),\n label: \"Address Line 1\",\n type: \"text\",\n name: \"addressLine1\",\n id: \"addressLine1\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.address2,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((user.value.address2) = $event)),\n label: \"Address Line 2\",\n type: \"text\",\n name: \"addressLine2\",\n id: \"addressLine2\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.city,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((user.value.city) = $event)),\n label: \"City\",\n type: \"text\",\n name: \"addressCity\",\n id: \"addressCity\",\n class: \"col-span-1\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_tw_input, {\n class: \"w-3/5\",\n modelValue: user.value.state,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((user.value.state) = $event)),\n label: \"State / Province / Region\",\n type: \"text\",\n name: \"addressState\",\n id: \"addressState\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n class: \"w-2/5\",\n modelValue: user.value.postal,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((user.value.postal) = $event)),\n label: \"Postal Code\",\n type: \"text\",\n name: \"addressState\",\n id: \"addressPostalCode\",\n required: \"\",\n ref_key: \"zipInput\",\n ref: zipInput,\n validation: \"Postal code required.\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_tw_select, {\n modelValue: user.value.country,\n \"onUpdate:modelValue\": [\n _cache[7] || (_cache[7] = ($event: any) => ((user.value.country) = $event)),\n showSaveButton\n ],\n label: \"Country\",\n name: \"country\",\n id: \"country\",\n options: _unref(VL_COUNTRY_OPTIONS)\n }, null, 8, [\"modelValue\", \"options\"])\n ])\n ]),\n _hoisted_14,\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.emergencyContactFirstName,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((user.value.emergencyContactFirstName) = $event)),\n label: \"First Name\",\n type: \"text\",\n name: \"emergencyContactFirstName\",\n id: \"emergencyContactFirstName\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.emergencyContactLastName,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((user.value.emergencyContactLastName) = $event)),\n label: \"Last Name\",\n type: \"text\",\n name: \"emergencyContactLastName\",\n id: \"emergencyContactLastName\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _hoisted_18,\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.emergencyContactPhone,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((user.value.emergencyContactPhone) = $event)),\n label: \"Primary Phone\",\n type: \"text\",\n name: \"emergencyContactPhone\",\n id: \"emergencyContactPhone\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.emergencyContactEmail,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((user.value.emergencyContactEmail) = $event)),\n label: \"Email\",\n type: \"text\",\n name: \"emergencyContactEmail\",\n id: \"emergencyContactEmail\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.emergencyContactRelationship,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((user.value.emergencyContactRelationship) = $event)),\n label: \"Relationship To\",\n type: \"text\",\n name: \"emergencyContactRelationship\",\n id: \"emergencyContactRelationship\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: saveChanges,\n disabled: loading.value,\n loading: loading.value,\n class: \"btn-brand btn-base w-full\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"]), [\n [_vShow, showSave.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: cancel,\n disabled: loading.value,\n loading: loading.value,\n class: \"btn-white btn-base w-full\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"]), [\n [_vShow, showSave.value]\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./ContactInfo.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ContactInfo.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"px-6 py-4 h-screen\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Email & Password \", -1)\nconst _hoisted_3 = { class: \"mt-6\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"font-bold font-gotham\" }, \" Change your email \", -1)\nconst _hoisted_5 = { class: \"text-sm w-full sm:w-120\" }\nconst _hoisted_6 = { class: \"font-medium font-gotham\" }\nconst _hoisted_7 = { class: \"space-y-6 mt-4\" }\nconst _hoisted_8 = { class: \"mt-8\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"font-bold font-gotham\" }, \" Change your password \", -1)\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm w-full sm:w-120\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Enter and confirm a new secure password below. Your new password must contain: \"),\n /*#__PURE__*/_createElementVNode(\"ul\", { class: \"list-disc pl-8\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \" At least 8 characters \")\n ])\n], -1)\nconst _hoisted_11 = { class: \"space-y-8 mt-4\" }\nconst _hoisted_12 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_14 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-xl sm:w-full sm:p-6\" }\nconst _hoisted_15 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_16 = { class: \"font-medium font-gotham\" }\nconst _hoisted_17 = { class: \"text-center w-full mb-2\" }\nconst _hoisted_18 = { class: \"font-bold font-gotham\" }\nconst _hoisted_19 = { class: \"text-red-600 w-full justify-center text-sm h-16 py-2 items-end flex\" }\nconst _hoisted_20 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\nconst _hoisted_21 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_22 = { class: \"font-medium font-gotham\" }\nconst _hoisted_23 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\t// Auth\n\timport { \n\t\tAuth\n\t} from 'aws-amplify'\n\n\t// api\n\timport api from '@/utilities/api'\n\n\t// mutations\n\timport { updateStudent } from '../mutations'\n\n\t// store\n\timport { \n\t\tuserStore\n\t} from '@/store/userStore'\n\t\n\t// vue\n\timport {\n\t\tref,\n\t\tonMounted\n\t} from 'vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'EmailPassword' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n emits: [\n\t\t'showMessage'\n\t],\n setup(__props, { emit }) {\n\n\t\n\n\tconst store = userStore()\n\tconst hasError = ref(false)\n\n\tconst user = ref({})\n\n\tonMounted(async () => {\n\t\ttry{\n\t\t\tconst cognitoUser = await Auth.currentAuthenticatedUser()\n\t\t\tuser.value = cognitoUser\n\t\t}\n\t\tcatch(error){\n\t\t\tconsole.log('Error:', error)\n\t\t}\n\t})\n\n\tconst loading = ref(false)\n\t\n\t//#region change email\n\tconst email = ref('')\n\tconst emailIsValid = ref(true)\n\tconst emailValidationMessage = ref(\"Please enter your new email.\")\n\tconst emailModalOpen = ref(false)\n\tconst showCodeInput = ref(false)\n\tconst message = ref('')\n\tconst code = ref('')\n\tconst changeSuccessful = ref(false)\n\n\tasync function updateEmail(){\n\t\ttry {\n\t\t\tlet isValid = validateEmail(email.value)\n\t\t\tif(!isValid){\n\t\t\t\tlet error = \"Invalid email address.\"\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\tawait Auth.updateUserAttributes(user.value, {\n\t\t\t\temail: email.value\n\t\t\t})\n\n\t\t\temailIsValid.value = true\n\t\t\tshowCodeInput.value = true\n\t\t}\n\t\tcatch(error: any) {\n\t\t\tconsole.log('Error:', error)\n\t\t\temailIsValid.value = false\n\t\t}\n\t}\n\n\tasync function confirmEmailChange() {\n\t\ttry {\n\t\t\tloading.value = true\n\n\t\t\t// update cognito\n\t\t\tconst user = await Auth.currentAuthenticatedUser()\n\t\t\tawait Auth.verifyUserAttributeSubmit(user, 'email', code.value)\n\t\t\tshowCodeInput.value = false\n\t\t\tchangeSuccessful.value = true\n\n\t\t\t// update db\n\t\t\tlet input = {\n\t\t\t\tid: store.user.id,\n\t\t\t\temail: email.value\n\t\t\t}\n\n\t\t\tlet res: any = await api(updateStudent, { input })\n\n\t\t\tif(res?.errors){\n\t\t\t\tlet error = res?.errors[0]?.message\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\t// update store\n\t\t\tObject.assign(store.user, input)\n\t\t\t\n\t\t} \n\t\tcatch (error) {\n\t\t\tif(String(error).includes('CodeMismatchException')) {\n\t\t\t\tmessage.value = \"Invalid verification code provided. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('AliasExistsException')) {\n\t\t\t\tmessage.value = \"An account already exists with the provided email. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('ExpiredCodeException')) {\n\t\t\t\tmessage.value = \"Verification code has expired. Please resend the code using the button below and try again.\"\n\t\t\t}\n\t\t\tconsole.log(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tfunction openChangeEmailModal() {\n\t\tshowCodeInput.value = false\n\t\tmessage.value = \"\"\n\t\temail.value = \"\"\n\t\temailModalOpen.value = true\n\t}\n\n\tfunction validateEmail() {\n\t\tlet isFormValid = true\n\t\tlet eReg = /^[\\w-.+_]+@([\\w-]+\\.)+[\\w-]{2,4}$/\n\n\t\t// validate email\n\t\tif(!email.value) {\n\t\t\temailValidationMessage.value = \"Please enter your new email.\"\n\t\t\temailIsValid.value = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('email')?.focus()\n\t\t}\n\t\telse if(email.value === store.user?.email) {\n\t\t\temailValidationMessage.value = \"Email matches your current email.\"\n\t\t\temailIsValid.value = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('email')?.focus()\n\t\t}\n\t\telse if (!eReg.exec(email.value)) {\n\t\t\temailValidationMessage.value = \"Invalid email format.\"\n\t\t\temailIsValid.value = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('email')?.focus()\n\t\t}\n\t\telse {\n\t\t\temailIsValid.value = true\n\t\t}\n\t\t\n\t\treturn isFormValid\n\t}\n\t//#endregion\n\n\t\n\t//#region change password\n\tconst currentPassword = ref('')\n\tconst newPassword = ref('')\n\tconst confirmPassword = ref('')\n\tconst passwordError = ref('')\n\tconst currentPasswordValidationMessage = ref('Please enter your current password.')\n\tconst currentPasswordIsValid = ref(true)\n\tconst newPasswordValidationMessage = ref('Please enter a new password.')\n\tconst newPasswordIsValid = ref(true)\n\tconst confirmPasswordValidationMessage = ref('Please confirm your new password.')\n\tconst confirmPasswordIsValid = ref(true)\n\n\tasync function updatePassword() {\n\n\t\ttry{\n\t\t\t// Validate\n\t\t\tlet isValid = validatePassword()\n\t\t\tif(!isValid){\n\t\t\t\tlet error = 'Invalid password'\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\tawait Auth.changePassword(user.value, currentPassword.value, newPassword.value)\n\n\t\t\thasError.value = false\n\t\t\tcurrentPassword.value = ''\n\t\t\tnewPassword.value = ''\n\t\t\tconfirmPassword.value = ''\n\n\t\t\t// show notification\n\t\t\tlet message = {\n\t\t\t\ttitle: \"Success\",\n\t\t\t\tsubtitle: \"Password updated successfully\",\n\t\t\t\ticon: 0\n\t\t\t}\n\t\t\temit('showMessage', message)\n\t\t}\n\t\tcatch(error: any) {\n\t\t\tif(String(error).includes('InvalidPasswordException')) {\n\t\t\t\tpasswordError.value = \"New password does not satisfy requirements. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('NotAuthorizedException')) {\n\t\t\t\tpasswordError.value = \"Your current password is not correct. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('LimitExceededException')) {\n\t\t\t\tpasswordError.value = \"Change password attempts exceeded. Please try again later.\"\n\t\t\t}\n\t\t\thasError.value = true\n\t\t\tconsole.log(error)\n\t\t}\n\t}\n\n\tfunction validatePassword() {\n\t\tlet isFormValid = true\n\t\t// let lowercaseRE = /([a-z])/g\n\t\t// let numberRE = /[0-9]/\n\t\t// let uppercaseRE = /[A-Z]/\n\t\t// let specialRE = /[!@#$%^&*()-=_+]/\n\n\t\t// validate password\n\t\tif(!currentPassword.value) {\n\t\t\tcurrentPasswordValidationMessage.value = \"Please enter your current password.\"\n\t\t\tcurrentPasswordIsValid.value = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse {\n\t\t\tcurrentPasswordIsValid.value = true\n\t\t}\n\n\t\tif(!newPassword.value) {\n\t\t\tnewPasswordValidationMessage.value = \"Please enter a new password.\"\n\t\t\tnewPasswordIsValid.value = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse {\n\t\t\tnewPasswordIsValid.value = true\n\t\t}\n\n\t\tif(!confirmPassword.value) {\n\t\t\tconfirmPasswordValidationMessage.value = \"Please confirm your new password.\"\n\t\t\tconfirmPasswordIsValid.value = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse if(newPassword.value !== confirmPassword.value) {\n\t\t\tconfirmPasswordValidationMessage.value = \"Password does not match.\"\n\t\t\tconfirmPasswordIsValid.value = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse {\n\t\t\tconfirmPasswordIsValid.value = true\n\t\t}\n\n\t\t// if(confirmPassword.value?.match(lowercaseRE)?.length < 3 || confirmPassword.value?.match(lowercaseRE) == null) { \n\t\t// \tpasswordError.value = \"Your password must contain at least three lowercase letters.\"\n\t\t// \tisFormValid = false\n\t\t// }\n\t\t// if(!uppercaseRE.exec(confirmPassword.value)) { \n\t\t// \tpasswordError.value = \"Your password must contain at least one uppercase letter.\"\n\t\t// \tisFormValid = false\n\t\t// }\n\t\t// if(!numberRE.exec(confirmPassword.value)) { \n\t\t// \tpasswordError.value = \"Your password must contain at least one numerical character.\"\n\t\t// \tisFormValid = false\n\t\t// }\n\t\t// if(!specialRE.exec(confirmPassword.value)) { \n\t\t// \tpasswordError.value = \"Your password must contain at least one special character.\"\n\t\t// \tisFormValid = false\n\t\t// }\n\t\tif(confirmPassword.value?.length < 8) { \n\t\t\tpasswordError.value = \"Your password must be at least 8 characters.\"\n\t\t\tisFormValid = false\n\t\t}\n\n\n\t\tif(!currentPasswordIsValid.value) document.getElementById('current-password')?.focus()\n\t\telse if(!newPasswordIsValid.value) document.getElementById('new-password')?.focus()\n\t\telse if(!confirmPasswordIsValid.value) document.getElementById('confirm-password')?.focus()\n\n\t\treturn isFormValid\n\t}\n\t//#endregion\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_confirmation_code = _resolveComponent(\"tw-confirmation-code\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"p\", _hoisted_5, [\n _createTextVNode(\" Your current email is \"),\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(_unref(store).user?.email), 1),\n _createTextVNode(\". Your changes will take effect once your new email is confirmed. \")\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_tw_button, {\n onClick: openChangeEmailModal,\n class: \"block btn-brand btn-base mt-3 w-full sm:w-120\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Change Email \")\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_tw_input, {\n required: \"\",\n modelValue: currentPassword.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((currentPassword).value = $event)),\n label: \"Current Password\",\n type: \"password\",\n name: \"current-password\",\n id: \"current-password\",\n class: \"sm:w-120\",\n validation: currentPasswordValidationMessage.value,\n \"is-valid\": currentPasswordIsValid.value\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n required: \"\",\n modelValue: newPassword.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((newPassword).value = $event)),\n label: \"New Password\",\n type: \"password\",\n name: \"new-password\",\n id: \"new-password\",\n class: \"sm:w-120\",\n validation: newPasswordValidationMessage.value,\n \"is-valid\": newPasswordIsValid.value\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n required: \"\",\n modelValue: confirmPassword.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((confirmPassword).value = $event)),\n label: \"Confirm New Password\",\n type: \"password\",\n name: \"confirm-password\",\n id: \"confirm-password\",\n class: \"sm:w-120\",\n validation: confirmPasswordValidationMessage.value,\n \"is-valid\": confirmPasswordIsValid.value\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]),\n _createVNode(_component_tw_button, {\n onClick: updatePassword,\n class: \"btn-brand btn-base mt-3 w-full sm:w-120\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Change Password \")\n ]),\n _: 1\n })\n ]),\n _withDirectives(_createElementVNode(\"div\", { class: \"text-red-600 w-full sm:w-120 justify-center text-sm h-16 items-end flex\" }, _toDisplayString(passwordError.value), 513), [\n [_vShow, hasError.value]\n ])\n ]),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: emailModalOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_13,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_14, [\n _withDirectives(_createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"title\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Change Email \")\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"font-bold\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Your current email is \"),\n _createElementVNode(\"span\", _hoisted_16, _toDisplayString(_unref(store).user?.email), 1),\n _createTextVNode(\". Your changes will take effect once your new email is confirmed. \")\n ]),\n _: 1\n })\n ]),\n _withDirectives(_createVNode(_component_tw_input, {\n required: \"\",\n modelValue: email.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((email).value = $event)),\n \"is-valid\": emailIsValid.value,\n validation: emailValidationMessage.value,\n label: \"New Email\",\n type: \"email\",\n name: \"email\",\n id: \"email\"\n }, null, 8, [\"modelValue\", \"is-valid\", \"validation\"]), [\n [_vShow, !showCodeInput.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_17, [\n _createTextVNode(\" A verification code has been sent to \"),\n _createElementVNode(\"span\", _hoisted_18, _toDisplayString(email.value), 1),\n _createTextVNode(\". Please enter the code below to confirm your email change. \")\n ], 512), [\n [_vShow, showCodeInput.value]\n ]),\n _withDirectives(_createVNode(_component_tw_confirmation_code, {\n modelValue: code.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((code).value = $event))\n }, null, 8, [\"modelValue\"]), [\n [_vShow, showCodeInput.value]\n ]),\n _createElementVNode(\"div\", _hoisted_19, _toDisplayString(message.value), 1),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-white uppercase\",\n loading: loading.value,\n disabled: loading.value,\n onClick: _cache[5] || (_cache[5] = ($event: any) => (emailModalOpen.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]),\n _withDirectives(_createVNode(_component_tw_button, {\n class: \"btn-base btn-brand uppercase\",\n loading: loading.value,\n disabled: loading.value,\n onClick: updateEmail\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Next \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]), [\n [_vShow, !showCodeInput.value]\n ]),\n _withDirectives(_createVNode(_component_tw_button, {\n class: \"btn-base btn-brand uppercase\",\n loading: loading.value,\n disabled: loading.value,\n onClick: confirmEmailChange\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Confirm Change \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]), [\n [_vShow, showCodeInput.value]\n ])\n ])\n ], 512), [\n [_vShow, !changeSuccessful.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"title\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Success \")\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"font-bold\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Your email has been successfully updated to \"),\n _createElementVNode(\"span\", _hoisted_22, _toDisplayString(email.value), 1),\n _createTextVNode(\". Please use this new email to log into your account. \")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-white uppercase\",\n loading: loading.value,\n disabled: loading.value,\n onClick: _cache[6] || (_cache[6] = ($event: any) => (emailModalOpen.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Close \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ], 512), [\n [_vShow, changeSuccessful.value]\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}\n}\n\n})","import script from \"./EmailPassword.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./EmailPassword.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, vShow as _vShow, withCtx as _withCtx, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"px-6 py-4 min-h-screen overflow-visible\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Personal Information \", -1)\nconst _hoisted_3 = { class: \"grid grid-cols-3 gap-6 mt-6 items-end\" }\nconst _hoisted_4 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_5 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_6 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_7 = { class: \"col-span-3 md:col-span-1 mb-0\" }\nconst _hoisted_8 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_9 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_10 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_11 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_12 = { class: \"relative\" }\nconst _hoisted_13 = { class: \"absolute top-0 right-0\" }\nconst _hoisted_14 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_15 = { class: \"col-span-3 md:col-span-1\" }\nconst _hoisted_16 = { class: \"col-span-3 md:col-span-1\" }\n\nimport api from '@/utilities/api'\n\n\t// Mutations\n\timport { updateStudent } from '../mutations'\n\n\t// Store\n\timport { userStore } from '@/store/userStore'\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\n\n\t// Vue\n\timport {\n\t\tref,\n\t\tonMounted\n\t} from 'vue'\n\timport HouseholdIncomeInfoChip from '@/components/Badges/HouseholdIncomeInfoChip.vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'PersonalInfo' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\t// API\n\tconst _valueListStore = valueListStore()\n\n\t// component code below\n\n\tonMounted(() => {\n\t\tpronouns.value = !user?.value?.pronouns ? [] : user?.value?.pronouns?.split(\", \")\n\t\tethnicity.value = !user?.value?.ethnicity ? [] : user?.value?.ethnicity?.split(\", \")\n\t})\n\n\tconst VL_PRONOUN_OPTIONS = ref(_valueListStore.valueList.pronouns)\n\tconst VL_GENDER_OPTIONS = ref(_valueListStore.valueList.gender)\n\tconst VL_ETHNICITY_OPTIONS = ref(_valueListStore.valueList.ethnicity)\n\tconst VL_EDUCATION_OPTIONS = ref(_valueListStore.valueList.education)\n\tconst VL_INCOME_OPTIONS = ref(_valueListStore.valueList.income)\n\n\n\tconst store = userStore()\n\tconst user = ref({\n\t\tid: store.user.id,\n\t\tfirstName: store.user.firstName,\n\t\tmiddleName: store.user.middleName,\n\t\tlastName: store.user.lastName,\n\t\tgender: store.user.gender,\n\t\tpronouns: store.user.pronouns,\n\t\tethnicity: store.user.ethnicity,\n\t\teducation: store.user.education,\n\t\tincome: store.user.income,\n\t\tdob: store.user.dob\n\t})\n\n\tconst showSave = ref(false)\n\n\tfunction showSaveButton(){\n\t\tshowSave.value = true\n\t}\n\n\tconst loading = ref(false)\n\tconst pronouns = ref([])\n\tconst ethnicity = ref([])\n\n\tasync function saveChanges(){\n\n\t\tconst isValid = validateForm()\n\t\tif(!isValid) return\n\n\t\t// Format multi-select fields\n\t\tuser.value.pronouns = pronouns.value.join(\", \")\n\t\tuser.value.ethnicity = ethnicity.value.join(\", \")\n\n\t\ttry{\n\t\t\tloading.value = true\n\t\t\tlet input = {\n\t\t\t\tid: user.value.id,\n\t\t\t\tfirstName: user.value.firstName,\n\t\t\t\tmiddleName: user.value.middleName,\n\t\t\t\tlastName: user.value.lastName,\n\t\t\t\tgender: user.value.gender,\n\t\t\t\tpronouns: user.value.pronouns,\n\t\t\t\tethnicity: user.value.ethnicity,\n\t\t\t\teducation: user.value.education,\n\t\t\t\tincome: user.value.income,\n\t\t\t\tdob: user.value.dob\n\t\t\t}\n\n\t\t\t// update db\n\t\t\tlet res: any = await api(updateStudent, { input })\n\n\t\t\tif(res.errors){\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\t// update store\n\t\t\tObject.assign(store.user, input)\n\n\t\t\tshowSave.value = false\n\t\t}\n\t\tcatch(error) {\n\t\t\tconsole.log('Error:', error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tfunction cancel() {\n\t\tuser.value = {\n\t\t\tid: store.user.id,\n\t\t\tfirstName: store.user.firstName,\n\t\t\tmiddleName: store.user.middleName,\n\t\t\tlastName: store.user.lastName,\n\t\t\tgender: store.user.gender,\n\t\t\tpronouns: store.user.pronouns,\n\t\t\tethnicity: store.user.ethnicity,\n\t\t\teducation: store.user.education,\n\t\t\tincome: store.user.income,\n\t\t\tdob: store.user.dob\n\t\t}\n\t\tshowSave.value = false\n\t}\n\n\t//#region Form Validation\n\n\tconst firstNameInput = ref(null)\n\tconst lastNameInput = ref(null)\n\tconst dobInput = ref(null)\n\n\tfunction validateForm() {\n\t\t// !!(a & b & c) is the same as non-shortcircuited &&\n\t\t// & is bitwise-and\n\t\treturn !!(\n\t\t\tfirstNameInput?.value?.validate() & \n\t\t\tlastNameInput?.value?.validate() & \n\t\t\tdobInput?.value?.validate()\n\t\t)\n\t}\n\n\t//#endregion\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_tw_input, {\n required: \"\",\n modelValue: user.value.firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((user.value.firstName) = $event)),\n validation: \"Please enter your first name.\",\n label: \"First Name\",\n type: \"text\",\n name: \"firstName\",\n id: \"firstName\",\n ref_key: \"firstNameInput\",\n ref: firstNameInput,\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_tw_input, {\n modelValue: user.value.middleName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((user.value.middleName) = $event)),\n label: \"Middle Name Or Initial\",\n type: \"text\",\n name: \"middleName\",\n id: \"middleName\",\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_tw_input, {\n required: \"\",\n modelValue: user.value.lastName,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((user.value.lastName) = $event)),\n label: \"Last Name\",\n validation: \"Please enter your last name.\",\n type: \"text\",\n name: \"lastName\",\n id: \"lastName\",\n ref_key: \"lastNameInput\",\n ref: lastNameInput,\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_tw_select, {\n modelValue: user.value.gender,\n \"onUpdate:modelValue\": [\n _cache[3] || (_cache[3] = ($event: any) => ((user.value.gender) = $event)),\n showSaveButton\n ],\n label: \"Gender\",\n name: \"gender\",\n id: \"gender\",\n class: \"mb-0\",\n options: VL_GENDER_OPTIONS.value\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_tw_select, {\n modelValue: pronouns.value,\n \"onUpdate:modelValue\": [\n _cache[4] || (_cache[4] = ($event: any) => ((pronouns).value = $event)),\n showSaveButton\n ],\n label: \"Pronouns\",\n name: \"pronouns\",\n id: \"pronouns\",\n multiple: \"\",\n options: VL_PRONOUN_OPTIONS.value\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_tw_select, {\n modelValue: ethnicity.value,\n \"onUpdate:modelValue\": [\n _cache[5] || (_cache[5] = ($event: any) => ((ethnicity).value = $event)),\n showSaveButton\n ],\n label: \"Ethnicity\",\n name: \"ethnicity\",\n id: \"ethnicity\",\n multiple: \"\",\n options: VL_ETHNICITY_OPTIONS.value\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_tw_select, {\n modelValue: user.value.education,\n \"onUpdate:modelValue\": [\n _cache[6] || (_cache[6] = ($event: any) => ((user.value.education) = $event)),\n showSaveButton\n ],\n label: \"Highest Level Of Education\",\n name: \"education\",\n id: \"education\",\n options: VL_EDUCATION_OPTIONS.value\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_tw_select, {\n modelValue: user.value.income,\n \"onUpdate:modelValue\": [\n _cache[7] || (_cache[7] = ($event: any) => ((user.value.income) = $event)),\n showSaveButton\n ],\n label: \"Household Income\",\n name: \"income\",\n id: \"income\",\n options: VL_INCOME_OPTIONS.value\n }, null, 8, [\"modelValue\", \"options\"]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(HouseholdIncomeInfoChip)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_tw_input, {\n required: \"\",\n modelValue: user.value.dob,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((user.value.dob) = $event)),\n label: \"Date Of Birth\",\n name: \"dob\",\n id: \"dob\",\n type: \"date\",\n ref_key: \"dobInput\",\n ref: dobInput,\n oninput: showSaveButton\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: saveChanges,\n disabled: loading.value,\n loading: loading.value,\n class: \"btn-brand btn-base w-full\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"]), [\n [_vShow, showSave.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: cancel,\n disabled: loading.value,\n loading: loading.value,\n class: \"btn-white btn-base w-full\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"]), [\n [_vShow, showSave.value]\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./PersonalInfo.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PersonalInfo.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"space-y-5\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"subtitle\" }, \" Personal Information \", -1)\nconst _hoisted_3 = { class: \"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 items-end\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"subtitle\" }, \" Contact Information \", -1)\nconst _hoisted_5 = { class: \"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 items-end\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-1 hidden md:flex\" }, null, -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-2 hidden md:flex\" }, null, -1)\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-2 hidden md:flex\" }, null, -1)\nconst _hoisted_9 = { class: \"col-span-1 flex gap-2 items-end\" }\nconst _hoisted_10 = { class: \"w-full flex gap-4 justify-between\" }\n\nimport { \n\t\tref, \n onMounted\n\t} from 'vue'\n\timport { VL_COUNTRY_OPTIONS } from '@/utilities/valueLists.js'\n\timport api from '@/utilities/api'\n\n\t// Store\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\timport { createStudent, createRelatedStudent, updateStudent } from '../mutations'\n import { getStudent } from '../queries'\n\t\n\t\n\t// name the component\n\tconst __default__ = { name: 'RelatedAccountDetails' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n studentId: {},\n subId: {},\n parentId: {}\n },\n emits: ['onClose'],\n setup(__props: any, { emit }) {\n\nconst props = __props;\n\n\n\t// vue\n\tconst _valueListStore = valueListStore()\n\tconst loading = ref(false)\n\n\t// component code below\n\tconst pronounOptions = ref(_valueListStore.valueList.pronouns)\n\tconst genderOptions = ref(_valueListStore.valueList.gender)\n\tconst countryOptions = ref(VL_COUNTRY_OPTIONS)\n\tconst ethnicityOptions = ref(_valueListStore.valueList.ethnicity)\n\tconst educationOptions = ref(_valueListStore.valueList.education)\n\tconst incomeOptions = ref(_valueListStore.valueList.income)\n\n \n\t\n\t//eslint-disable-next-line\n \n\n\tconst formData =ref({\n\t\tpersonalInformation : [\n\t\t\t{fieldType: \"input\", id: \"first-name\", type: \"text\", label: \"First Name\", field: \"firstName\", required: true, value: \"\", isValid:true, validation:'Please enter the account holder\\'s first name.'},\n\t\t\t{fieldType: \"input\", id: \"middle-name\", type: \"text\", label: \"Middle Name or Initial\", field: \"middleName\", required: false, value: \"\", isValid:true, validation:''},\n\t\t\t{fieldType: \"input\", id: \"last-name\", type: \"text\", label: \"Last Name\", field: \"lastName\", required: true, value: \"\", isValid:true, validation:'Please enter the account holder\\'s last name.'},\n\t\t\t{options: genderOptions, fieldType: \"select\", id: \"gender\", type: \"text\", label: \"Gender\", field: \"gender\", required: true, value: \"\", isValid:true, validation:''},\n\t\t\t{options: pronounOptions, fieldType: \"select\", id: \"pronouns\", type: \"text\", label: \"Pronouns\", field: \"pronouns\", required: true, value: \"\", isValid:true, validation:''},\n\t\t\t{options: ethnicityOptions, fieldType: \"select\", id: \"ethnicity\", type: \"text\", label: \"Ethnicity\", field: \"ethnicity\", required: true, value: \"\", isValid:true, validation:''},\n\t\t\t{options: educationOptions, fieldType: \"select\", id: \"hightest-level-of-education\", type: \"text\", label: \"Highest Level of Education\", field: \"education\", required: true, value: \"\", isValid:true, validation:''},\n\t\t\t{options: incomeOptions, fieldType: \"select\", id: \"household-income\", type: \"text\", label: \"Household Information\", field: \"income\", required: true, value: \"\", isValid:true, validation:''},\n\t\t\t{fieldType: \"input\", id: \"date-of-birth\", type: \"date\", label: \"Date of Birth\", field: \"dob\", required: true, value: \"\", isValid:true, validation:'Please enter the account holder\\'s date of birth'},\n\t\t],\n\t\tcontactInformation : {\n\t\t\tphoneHome:{value: \"\", isValid:true, validation:''},\n\t\t\tphoneWork:{value: \"\", isValid:true, validation:''},\n\t\t\tphoneWorkExt:{value: \"\", isValid:true, validation:''},\n\t\t\tphoneMobile: {value: \"\", isValid:true, validation:'Please enter your primary phone.',id: \"primary-phone\"},\n\t\t\taddressLine1: {value: \"\", isValid:true, validation:''},\n\t\t\taddressLine2: {value: \"\", isValid:true, validation:''},\n\t\t\taddressCity: {value: \"\", isValid:true, validation:''},\n\t\t\taddressState: {value: \"\", isValid:true, validation:''},\n\t\t\taddressPostalCode: {value: \"\", isValid:true, validation:'Postal code required.',id: \"postal-code\"},\n\t\t\taddressCountry: {value: \"\", isValid:true, validation:''},\n\t\t}\n\t})\t\n\n onMounted(async()=>{\n if(props.studentId){\n try{\n loading.value = true\n let student:any = \"\"\n\t\t\t\tconst response: any = await api(getStudent, { id: props.studentId })\n\t\t\t\tstudent = response.data.getStudent\n formData.value.personalInformation[0].value = student.firstName\n formData.value.personalInformation[1].value = student.middleName\n formData.value.personalInformation[2].value = student.lastName\n formData.value.personalInformation[3].value = student.gender\n formData.value.personalInformation[4].value = student.pronouns\n formData.value.personalInformation[5].value = student.ethnicity\n formData.value.personalInformation[6].value = student.education\n formData.value.personalInformation[7].value = student.income\n formData.value.personalInformation[8].value = student.dob\n formData.value.contactInformation.phoneHome.value = student.phoneHome\n formData.value.contactInformation.phoneWork.value = student.phoneWork\n formData.value.contactInformation.phoneMobile.value = student.phoneMobile\n formData.value.contactInformation.addressLine1.value = student.address1\n formData.value.contactInformation.addressLine2.value = student.address2\n formData.value.contactInformation.addressCity.value = student.city\n formData.value.contactInformation.addressState.value = student.state\n formData.value.contactInformation.addressPostalCode.value = student.postal\n formData.value.contactInformation.addressCountry.value = student.country\n }\n catch(e){\n console.log(e)\n }\n finally{\n loading.value = false\n }\n\n }\n })\n\n\tasync function createRelatedAccount() {\n\t\tloading.value = true\n\n\t\tif(!validateForm()) {\n\t\t\tloading.value = false\n\t\t\treturn \n\t\t}\n\n\t\ttry {\n\t\t\t//default attributes\n\t\t\tlet given_name = formData.value.personalInformation[0].value\n\t\t\tlet middle_name = formData.value.personalInformation[1].value\n\t\t\tlet family_name = formData.value.personalInformation[2].value\n\t\t\tlet gender = formData.value.personalInformation[3].value\n\t\t\tlet pronouns = formData.value.personalInformation[4].value\n\t\t\tlet ethnicity = formData.value.personalInformation[5].value\n\t\t\tlet highest_education = formData.value.personalInformation[6].value\n\t\t\tlet household_income = formData.value.personalInformation[7].value\n\t\t\tlet birthdate = formData.value.personalInformation[8].value\n\n\t\t\tlet address = formData.value.contactInformation.addressLine1.value\n\t\t\tlet address_line_2 = formData.value.contactInformation.addressLine2.value\n\t\t\tlet address_city = formData.value.contactInformation.addressCity.value\n\t\t\tlet address_country = formData.value.contactInformation.addressCountry.value\n\t\t\tlet address_postal = formData.value.contactInformation.addressPostalCode.value\n\t\t\tlet address_state = formData.value.contactInformation.addressState.value\n\t\t\tlet phone_mobile = formData.value.contactInformation.phoneMobile.value\n\t\t\tlet phone_work = formData.value.contactInformation.phoneWork.value\n\t\t\tlet phone_work_ext = formData.value.contactInformation.phoneWorkExt.value\n\t\t\tlet phone_number = '+1' + formData.value.contactInformation.phoneMobile.value.replace('(', '').replace(')', '').replaceAll(' ', '').replaceAll('-', '')\n\t\t\t\n\t\t\t\n\t\t\tlet input:any = {\n\t\t\t\tfirstName: given_name,\n\t\t\t\tmiddleName:middle_name,\n\t\t\t\tlastName: family_name,\n\t\t\t\tgender: gender,\n\t\t\t\tpronouns: pronouns,\n\t\t\t\tethnicity: ethnicity,\n\t\t\t\teducation:highest_education,\n\t\t\t\tincome:household_income,\n\t\t\t\tisMainAccount: 0,\n\t\t\t\tdob: birthdate,\n\t\t\t\tphoneHome: phone_number ,\n\t\t\t\tphoneMobile: phone_mobile,\n\t\t\t\taddress1: address,\n\t\t\t\taddress2: address_line_2,\n\t\t\t\tcity: address_city,\n\t\t\t\tstate: address_state,\n\t\t\t\tpostal: address_postal,\n\t\t\t\tcountry: address_country,\n sub: props.subId\n\t\t\t}\n\n\t\t\tif(!input.middleName) delete input.middleName\n\t\t\tif(!input.phoneHome) delete input.phoneHome\n\t\t\tif(!input.address1) delete input.address1\n\t\t\tif(!input.address2) delete input.address2\n\t\t\tif(!input.city) delete input.city\n\t\t\tif(!input.state) delete input.state\n\t\t\tif(!input.country) delete input.country\n\n\n\t\t\tlet res: any = await api(createStudent, { input })\n console.log(res)\n\n\t\t\tif(res.errors){\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n input = {\n parentId: props.parentId,\n childId: res.data.createStudent.id,\n sub: props.subId\n }\n\n let relatedRes: any = await api(createRelatedStudent, { input })\n\n if(relatedRes.errors){\n let error = relatedRes.errors[0].message\n throw error\n }\n\n emit('onClose', {\n icon: 0,\n title: \"Success\",\n subtitle: \"Created related student successfully.\",\n })\n\t\t\t\n\t\t} \n\t\tcatch (error: any) {\n\t\t\tconsole.log(error)\n emit('onClose', {\n icon: 1,\n title: \"Error\",\n subtitle: \"Could not create related student.\",\n })\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tasync function updateStudentAccount() {\n\t\tloading.value = true\n\n\t\tif(!validateForm()) {\n\t\t\tloading.value = false\n\t\t\treturn \n\t\t}\n\n\t\ttry {\n\t\t\t//default attributes\n\t\t\tlet given_name = formData.value.personalInformation[0].value\n\t\t\tlet middle_name = formData.value.personalInformation[1].value\n\t\t\tlet family_name = formData.value.personalInformation[2].value\n\t\t\tlet gender = formData.value.personalInformation[3].value\n\t\t\tlet pronouns = formData.value.personalInformation[4].value\n\t\t\tlet ethnicity = formData.value.personalInformation[5].value\n\t\t\tlet highest_education = formData.value.personalInformation[6].value\n\t\t\tlet household_income = formData.value.personalInformation[7].value\n\t\t\tlet birthdate = formData.value.personalInformation[8].value\n\n\t\t\tlet address = formData.value.contactInformation.addressLine1.value\n\t\t\tlet address_line_2 = formData.value.contactInformation.addressLine2.value\n\t\t\tlet address_city = formData.value.contactInformation.addressCity.value\n\t\t\tlet address_country = formData.value.contactInformation.addressCountry.value\n\t\t\tlet address_postal = formData.value.contactInformation.addressPostalCode.value\n\t\t\tlet address_state = formData.value.contactInformation.addressState.value\n\t\t\tlet phone_mobile = formData.value.contactInformation.phoneMobile.value\n\t\t\tlet phone_work = formData.value.contactInformation.phoneWork.value\n\t\t\tlet phone_work_ext = formData.value.contactInformation.phoneWorkExt.value\n\t\t\tlet phone_number = '+1' + formData.value.contactInformation.phoneMobile.value.replace('(', '').replace(')', '').replaceAll(' ', '').replaceAll('-', '')\n\t\t\t\n\t\t\t\n\t\t\tlet input:any = {\n id: props.studentId,\n\t\t\t\tfirstName: given_name,\n\t\t\t\tmiddleName:middle_name,\n\t\t\t\tlastName: family_name,\n\t\t\t\tgender: gender,\n\t\t\t\tpronouns: pronouns,\n\t\t\t\tethnicity: ethnicity,\n\t\t\t\teducation:highest_education,\n\t\t\t\tincome:household_income,\n\t\t\t\tdob: birthdate,\n\t\t\t\tphoneHome: phone_number ,\n\t\t\t\tphoneMobile: phone_mobile,\n\t\t\t\taddress1: address,\n\t\t\t\taddress2: address_line_2,\n\t\t\t\tcity: address_city,\n\t\t\t\tstate: address_state,\n\t\t\t\tpostal: address_postal,\n\t\t\t\tcountry: address_country,\n sub: props.subId\n\t\t\t}\n\n\t\t\tlet res: any = await api(updateStudent, { input })\n console.log(res)\n\n\t\t\tif(res.errors){\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n emit('onClose', {\n icon: 0,\n title: \"Success\",\n subtitle: \"Updated student successfully.\",\n })\n\t\t\t\n\t\t} \n\t\tcatch (error: any) {\n\t\t\tconsole.log(error)\n emit('onClose', {\n icon: 1,\n title: \"Error\",\n subtitle: \"Could not update student.\",\n })\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tfunction validateForm() {\n\t\tlet isValid = true\n\t\n\n\t\t// validate fields\n\t\tif(!validateFields()) {\n\t\t\tisValid = false\n\t\t}\n\n\t\treturn isValid\n\t}\n\n\tfunction validateFields() {\n\t\tlet isValid = true\n\n\t\tlet requiredFields = formData.value.personalInformation.filter((field) => {\n\t\t\treturn field.required\n\t\t})\n\n\t\tlet id = null\n\t\tfor(const field of requiredFields) {\n\t\t\tif (!field.value) {\n\t\t\t\tfield.isValid = false\n\t\t\t\tisValid = false\n\t\t\t\tif(id === null) id = field.id\n\t\t\t}\n\t\t}\n\t\t// primary phone\n\t\tif(!formData.value.contactInformation.phoneMobile.value) {\n\t\t\tformData.value.contactInformation.phoneMobile.isValid = false\n\t\t\tisValid = false\n\t\t\tif(id === null) id = formData.value.contactInformation.phoneMobile.id\n\t\t}\n\t\t// postal\n\t\tif(!formData.value.contactInformation.addressPostalCode.value) {\n\t\t\tformData.value.contactInformation.addressPostalCode.isValid = false\n\t\t\tisValid = false\n\t\t\tif(id === null) id = formData.value.contactInformation.addressPostalCode.id\n\t\t}\n\n\t\tif(id !== null) document.getElementById(id)?.focus()\n\n\t\t// //verify age\n\t\t// let dob = new Date( formData.value.personalInformation[8].value)\n // let _age:number = age(dob)\n\n\t\t// if(_age < 13) {\n\t\t// \tformData.value.personalInformation[8].isValid = false\n\t\t// \tformData.value.personalInformation[8].validation = \"The account holder must be at least 13 years old.\"\n\t\t// \tif(id === null) document.getElementById(formData.value.personalInformation[8].id)?.focus()\n\t\t// \tisValid = false\n\t\t// }\n\n\t\treturn isValid\n\t}\n\n\t// function age(dob: Date) { \n\t// \tvar diff_ms = Date.now() - dob.getTime();\n\t// \tvar age_dt = new Date(diff_ms); \n\t// \treturn Math.abs(age_dt.getUTCFullYear() - 1970);\n\t// }\n\n function onCancel(){\n emit('onClose')\n }\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formData.value.personalInformation, (field) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-span-1\",\n key: field.field\n }, [\n (field.fieldType === 'input')\n ? (_openBlock(), _createBlock(_component_tw_input, {\n key: 0,\n modelValue: field.value,\n \"onUpdate:modelValue\": ($event: any) => ((field.value) = $event),\n ref_for: true,\n ref: 'formData.personalInformation' + field.field,\n label: field.label,\n required: field.required,\n validation: field.validation,\n \"is-valid\": field.isValid,\n type: field.type,\n name: field.id,\n id: field.id\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"label\", \"required\", \"validation\", \"is-valid\", \"type\", \"name\", \"id\"]))\n : (field.fieldType === 'select')\n ? (_openBlock(), _createBlock(_component_tw_select, {\n key: 1,\n modelValue: field.value,\n \"onUpdate:modelValue\": ($event: any) => ((field.value) = $event),\n options: field.options,\n required: field.required,\n label: field.label,\n name: field.id,\n id: field.id,\n \"validation-error\": field.validation,\n valid: field.isValid\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"options\", \"required\", \"label\", \"name\", \"id\", \"validation-error\", \"valid\"]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ]),\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.phoneMobile.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formData.value.contactInformation.phoneMobile.value) = $event)),\n class: \"col-span-1\",\n label: \"Primary Phone\",\n type: \"tel\",\n name: \"primary-phone\",\n id: \"primary-phone\",\n validation: formData.value.contactInformation.phoneMobile.validation,\n \"is-valid\": formData.value.contactInformation.phoneMobile.isValid,\n required: \"\"\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.phoneHome.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formData.value.contactInformation.phoneHome.value) = $event)),\n label: \"Secondary Phone\",\n class: \"col-span-1\",\n type: \"tel\",\n name: \"secondary-phone\",\n id: \"secondary-phone\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_6,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.addressLine1.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formData.value.contactInformation.addressLine1.value) = $event)),\n class: \"col-span-1\",\n label: \"Address Line 1\",\n type: \"text\",\n name: \"addressLine1\",\n id: \"addressLine1\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_7,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.addressLine2.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formData.value.contactInformation.addressLine2.value) = $event)),\n class: \"col-span-1\",\n label: \"Address Line 2\",\n type: \"text\",\n name: \"addressLine2\",\n id: \"addressLine2\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_8,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.addressCity.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formData.value.contactInformation.addressCity.value) = $event)),\n label: \"City\",\n type: \"text\",\n name: \"addressCity\",\n id: \"addressCity\",\n class: \"col-span-1\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_tw_input, {\n class: \"w-3/5\",\n modelValue: formData.value.contactInformation.addressState.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formData.value.contactInformation.addressState.value) = $event)),\n label: \"State / Province / Region\",\n type: \"text\",\n name: \"addressState\",\n id: \"addressState\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n class: \"w-2/5\",\n modelValue: formData.value.contactInformation.addressPostalCode.value,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formData.value.contactInformation.addressPostalCode.value) = $event)),\n label: \"Postal Code\",\n type: \"text\",\n name: \"addressState\",\n id: \"postal-code\",\n validation: formData.value.contactInformation.addressPostalCode.validation,\n \"is-valid\": formData.value.contactInformation.addressPostalCode.isValid,\n required: \"\"\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"])\n ]),\n _createVNode(_component_tw_select, {\n modelValue: formData.value.contactInformation.addressCountry.value,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formData.value.contactInformation.addressCountry.value) = $event)),\n class: \"\",\n options: countryOptions.value,\n label: \"Country\",\n name: \"addressCountry\",\n id: \"addressCountry\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_tw_button, {\n class: \"w-40 btn-base btn-white\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (onCancel()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }),\n (!props.studentId)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 0,\n loading: loading.value,\n disabled: loading.value,\n type: \"submit\",\n class: \"btn-base btn-brand w-64\",\n onClick: _cache[9] || (_cache[9] = ($event: any) => (createRelatedAccount()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Submit \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n : (_openBlock(), _createBlock(_component_tw_button, {\n key: 1,\n loading: loading.value,\n disabled: loading.value,\n type: \"submit\",\n class: \"btn-base btn-brand w-64\",\n onClick: _cache[10] || (_cache[10] = ($event: any) => (updateStudentAccount()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Submit \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n ])\n ]))\n}\n}\n\n})","import script from \"./RelatedAccountDetails.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RelatedAccountDetails.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Teleport as _Teleport, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, unref as _unref, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"h-screen\" }\nconst _hoisted_2 = { class: \"px-6 py-4\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Related Accounts \", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-full md:w-3/4\" }, \" Manage or add students looking to register for courses using this account. \", -1)\nconst _hoisted_5 = [\"onClick\"]\nconst _hoisted_6 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_8 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-4xl sm:w-full sm:p-6\" }\nconst _hoisted_9 = { class: \"text-center sm:mt-0 sm:text-left\" }\n\nimport {\n\t\tref\n\t} from 'vue'\n\n\timport { userStore } from '@/store/userStore'\n\timport { RelatedStudent as RelatedStudentType } from \"@/API\"\n\timport RelatedAccountDetails from './RelatedAccountDetails.vue'\n\timport { Dialog, DialogTitle, DialogOverlay, TransitionRoot, TransitionChild } from \"@headlessui/vue\"\n\t\n\timport {\n\t\trelatedStudentsByParentId\n\t} from '../queries'\n\n\t// import api from '@/utilities/api'\n\timport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\t\n\t// name the component\n\tconst __default__ = { name: 'RelatedAccounts' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\tconst store = userStore()\n\n\t// #region get data\n\tconst isLoading = ref(false)\n\tconst limit = 100\n\tconst nextToken = ref(null)\n\tconst query = ref(relatedStudentsByParentId)\n\tconst queryName = ref(\"relatedStudentsByParentId\")\n\tconst students = ref([])\n\tconst relatedStudentDialogOpen = ref(false)\n\tconst studentId = ref('')\n\n\t\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\tconst showNotification = ref(false)\n\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t */\n\tasync function getData(reset:boolean = false) {\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tparentId: store.user.id\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry{\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\t\t\titems = items.map((item:any) => {\n\t\t\t\treturn item.child\n\t\t\t})\n\t\t\tif(reset) students.value = items\n\t\t\telse students.value = [...students.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\n\tfunction editStudent(row:any){\n\t\tstudentId.value = row.id\n\t\trelatedStudentDialogOpen.value = true\n\t}\n\n\tfunction openCreateRelatedStudent(){\n\t\tstudentId.value = ''\n\t\trelatedStudentDialogOpen.value = true\n\t}\n\n\tfunction closeModal(payload:any){\n\t\tconsole.log('hey')\n\t\tconsole.log(payload)\n\t\trelatedStudentDialogOpen.value = false\n\t\tif(payload){\n\t\t\tnotificationIcon.value = payload.icon\n\t\t\tnotificationSubtitle.value = payload.subtitle\n\t\t\tnotificationTitle.value = payload.title\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tstudents.value = []\n\t\tgetData()\n\t}\n\t// #endregion\n\n\tgetData()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#notification\" }, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true)\n ])),\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _hoisted_4,\n _createVNode(_component_tw_button, {\n class: \"btn-brand btn-base mt-3 w-full sm:w-80\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (openCreateRelatedStudent()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Add A Related Student \")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_table, {\n placeholder: 'No related accounts to display',\n data: students.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"firstName\",\n header: \"First Name\",\n width: \"34\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"lastName\",\n header: \"Last Name\",\n width: \"34\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Age\",\n width: \"20\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.age(row.dob)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"phoneMobile\",\n header: \"Phone\",\n width: \"36\"\n }),\n _createVNode(_component_tw_table_column, { width: \"60\" }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: ($event: any) => (editStudent(row)),\n class: \"text-gray-500\"\n }, \" View or Edit Details... \", 8, _hoisted_5)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"])\n ]),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: relatedStudentDialogOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n open: relatedStudentDialogOpen.value,\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_7,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Add Related Student \")\n ]),\n _: 1\n }),\n _createVNode(RelatedAccountDetails, {\n onOnClose: closeModal,\n \"student-id\": studentId.value,\n \"parent-id\": _unref(store).user.id,\n \"sub-id\": _unref(store).user.sub\n }, null, 8, [\"student-id\", \"parent-id\", \"sub-id\"])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"open\"])\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}\n}\n\n})","import script from \"./RelatedAccounts.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RelatedAccounts.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\nimport ContactInfo from './components/ContactInfo.vue'\nimport EmailPassword from './components/EmailPassword.vue'\n// import Notes from './components/Notes.vue'\nimport PersonalInfo from './components/PersonalInfo.vue'\nimport RelatedAccounts from './components/RelatedAccounts.vue'\n\n\nexport const route: Route[] = [\n\t// main route\n\t{\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module\n },\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tname: 'EmailPassword',\n\t\t\t\tpath: '/my-account/email-password',\n\t\t\t\tcomponent: EmailPassword,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Email & Password\"\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'PersonalInfo',\n\t\t\t\tpath: '/my-account/personal-information',\n\t\t\t\tcomponent: PersonalInfo,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Personal Information\"\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'ContactInfo',\n\t\t\t\tpath: '/my-account/contact-information',\n\t\t\t\tcomponent: ContactInfo,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Contact Information\"\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'RelatedAccounts',\n\t\t\t\tpath: '/my-account/related-accounts',\n\t\t\t\tcomponent: RelatedAccounts,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Related Accounts\"\n\t\t\t\t},\n\t\t\t},\n\t\t],\n }\n];\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/hyde-park-art-center-logo.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3b4c6428\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex pt-40 mx-auto justify-center\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex items-center px-4\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"h-96 mt-4 w-auto m-auto hidden sm:inline-block\",\n src: _imports_0,\n alt: \"Hyde Park Art Center Logo\"\n })\n], -1))\nconst _hoisted_3 = { class: \"transition ease-linear pl-0 sm:pl-16 mt-2 ml-0 sm:ml-12 border-0 sm:border-l border-brand-500 w-80 md:w-120\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"title\" }, \" Confirm Your Account \", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm mt-2 mb-6\" }, \" An email is on its way with a verification code to confirm your email address. Please enter the code below to confirm your email address. \", -1))\nconst _hoisted_7 = { class: \"text-red-600 w-full justify-center text-sm h-16 py-2 items-end flex\" }\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"title\" }, \" Account Confirmed \", -1))\nconst _hoisted_10 = { class: \"text-sm mt-2\" }\n\nimport { ref, \t} from 'vue'\n\n\t// amplify\n\timport { \n\t\tAuth \n\t} from 'aws-amplify'\n\n\t// component code below\n\t\n\t// name the component\n\tconst __default__ = { name: 'AccountConfirmation' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\temail: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\t// vue\n\t\n\n\tconst loading = ref(false)\n\tconst code = ref('')\n\tconst message = ref('')\n\tconst _email = ref(props?.email ?? '')\n\tconst confirmSuccess = ref(false)\n\n\tasync function confirmCode() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tlet user = await Auth.confirmSignUp(_email.value, code.value)\n\n\t\t\tconfirmSuccess.value = true\n\n\t\t}\n\t\tcatch (error) {\n\t\t\tmessage.value = ''\n\t\t\tconsole.log('error confirming sign up', error)\n\n\t\t\tif(String(error).includes('CodeMismatchException')) {\n\t\t\t\tmessage.value = \"Invalid verification code provided. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('ExpiredCodeException')) {\n\t\t\t\tmessage.value = \"Verification code has expired. Please resend the code using the button below and try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('NotAuthorizedException')) {\n\t\t\t\tmessage.value = \"Account is already confirmed for \" + _email.value\n\t\t\t}\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tasync function reset() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tmessage.value = \"\"\n\n\t\t\tlet username = _email.value\n\t\t\t\n\t\t\tawait Auth.resendSignUp(username)\n\t\t}\n\t\tcatch (error) {\n\t\t\tif(String(error).includes('LimitExceededException')) {\n\t\t\t\tmessage.value = \"Password reset attempts exceeded. Please try again later.\"\n\t\t\t}\n\n\t\t\tconsole.log(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_confirmation_code = _resolveComponent(\"tw-confirmation-code\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", null, [\n (!confirmSuccess.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _hoisted_5,\n _hoisted_6,\n _createVNode(_component_tw_input, {\n modelValue: _email.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_email).value = $event)),\n label: \"Email\",\n type: \"text\",\n name: \"email\",\n id: \"email\",\n autocomplete: \"off\",\n class: \"mb-6\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_confirmation_code, {\n modelValue: code.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((code).value = $event))\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(message.value), 1),\n _createVNode(_component_tw_button, {\n onClick: confirmCode,\n disabled: loading.value,\n loading: loading.value,\n class: \"btn-base btn-brand w-full mb-4\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Submit \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"]),\n _createVNode(_component_tw_button, {\n onClick: reset,\n class: \"btn-base btn-white w-full\",\n disabled: loading.value,\n loading: loading.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Resend Code \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _hoisted_9,\n _createElementVNode(\"p\", _hoisted_10, [\n _createTextVNode(\" Your account has been confirmed. Please return to the \"),\n _createVNode(_component_router_link, {\n to: {name: 'Login'},\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" login page \")\n ]),\n _: 1\n }),\n _createTextVNode(\" to log in and register for courses! \")\n ])\n ]))\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./AccountConfirmation.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AccountConfirmation.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./AccountConfirmation.vue?vue&type=style&index=0&id=3b4c6428&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3b4c6428\"]])\n\nexport default __exports__","\nimport AccountConfirmation from './AccountConfirmation.vue'\nimport AuthLayout from '@/layouts/AuthLayout.vue'\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"AccountConfirmation\",\n\t\tpath: \"/account-confirmation/:email?\",\n\t\tcomponent: AccountConfirmation,\n\t\tlayout: AuthLayout\n\t}\n}\n\nexport { config }","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n {\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tlayout: config.mainRoute.layout\n\t\t},\n\t\tprops: true\n }\n\t// other routes below\n];","export const getCourse = /* GraphQL */ `\n query GetCourse($id: ID!) {\n getCourse(id: $id) {\n id\n instructorId\n instructor {\n id\n firstName\n\t\tlastName\n createdAt\n updatedAt\n }\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n createdBy\n updatedBy\n registrationSlug\n firstClassDate\n classRepeatCount\n classRepeatInterval\n classRepeatType\n classDayTimes\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n location\n ageLevel\n numSeats\n showInSearch\n }\n }\n`;\n\n\nexport const classesByCourseIdAndDate = /* GraphQL */ `\n query ClassesByCourseIdAndDate(\n $courseId: ID!\n $date: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelClassFilterInput\n $limit: Int\n $nextToken: String\n ) {\n classesByCourseIdAndDate(\n courseId: $courseId\n date: $date\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n courseId\n date\n startTime\n endTime\n\t\tattendance {\n\t\t\titems {\n\t\t\t\tstatus\n\t\t\t}\n\t\t}\n }\n nextToken\n }\n }\n`;\n\nexport const instructorCoursesSortName = /* GraphQL */ `\n query InstructorCoursesSortName(\n $instructorId: ID!\n $name: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n instructorCoursesSortName(\n instructorId: $instructorId\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n\t\tid\n instructorId\n termId\n dayOfWeek\n endDate\n name\n numRegistered\n startDate\n status\n studio\n timeOfDay\n location\n ageLevel\n numSeats\n\t\tclassDayTimes\n\t\tterm {\n\t\t\tid\n\t\t\tname\n\t\t}\n }\n nextToken\n }\n }\n`;\n\nexport const instructorCoursesSortStatus = /* GraphQL */ `\n query InstructorCoursesSortStatus(\n $instructorId: ID!\n $status: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n instructorCoursesSortStatus(\n instructorId: $instructorId\n status: $status\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n\t\tid\n instructorId\n termId\n dayOfWeek\n endDate\n name\n numRegistered\n startDate\n status\n studio\n timeOfDay\n location\n ageLevel\n numSeats\n\t\tclassDayTimes\n\t\tterm {\n\t\t\tid\n\t\t\tname\n\t\t}\n }\n nextToken\n }\n }\n`;\n\nexport const instructorCoursesSortStartDate = /* GraphQL */ `\n query InstructorCoursesSortStartDate(\n $instructorId: ID!\n $startDate: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n instructorCoursesSortStartDate(\n instructorId: $instructorId\n startDate: $startDate\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n\t\tid\n instructorId\n termId\n dayOfWeek\n endDate\n name\n numRegistered\n startDate\n status\n studio\n timeOfDay\n location\n ageLevel\n numSeats\n\t\tclassDayTimes\n\t\tterm {\n\t\t\tid\n\t\t\tname\n\t\t}\n }\n nextToken\n }\n }\n`;\n\nexport const instructorCoursesSortEndDate = /* GraphQL */ `\n query InstructorCoursesSortEndDate(\n $instructorId: ID!\n $endDate: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n instructorCoursesSortEndDate(\n instructorId: $instructorId\n endDate: $endDate\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n instructorId\n termId\n dayOfWeek\n endDate\n name\n numRegistered\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n location\n ageLevel\n numSeats\n\t\tterm {\n\t\t\tid\n\t\t\tname\n\t\t}\n }\n nextToken\n }\n }\n`;\n\nexport const instructorCoursesSortRegCount = /* GraphQL */ `\n query InstructorCoursesSortRegCount(\n $instructorId: ID!\n $numRegistered: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n instructorCoursesSortRegCount(\n instructorId: $instructorId\n numRegistered: $numRegistered\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n\t\tid\n instructorId\n termId\n dayOfWeek\n endDate\n name\n numRegistered\n startDate\n status\n studio\n timeOfDay\n location\n ageLevel\n numSeats\n\t\tclassDayTimes\n\t\tterm {\n\t\t\tid\n\t\t\tname\n\t\t}\n }\n nextToken\n }\n }\n`;\n\nexport const activeTerms = /* GraphQL */ `\n query ActiveTerms(\n $isActive: Int!\n $name: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelTermFilterInput\n $limit: Int\n $nextToken: String\n ) {\n activeTerms(\n isActive: $isActive\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n name\n }\n nextToken\n }\n }\n`;\n\nexport const registrationsByCourseIdAndLastName = /* GraphQL */ `\n query RegistrationsByCourseIdAndLastName(\n $courseId: ID!\n $lastName: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsByCourseIdAndLastName(\n courseId: $courseId\n lastName: $lastName\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n\t items {\n id\n courseId\n studentId\n\t\tstudentName\n student{\n firstName\n lastName\n email\n dob\n pronouns\n phoneMobile\n address1\n }\n createdAt\n lastName\n\t\tstatus\n sub\n updatedAt\n }\n nextToken\n }\n }\n`;\n\nexport const attendancesByClassId = /* GraphQL */ `\n query AttendancesByClassId(\n $classId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelAttendanceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n attendancesByClassId(\n classId: $classId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n classId\n studentId\n student{\n firstName\n lastName\n }\n createdAt\n status\n updatedAt\n\t\tregistrationStatus\n }\n nextToken\n }\n }\n`;\n\nexport const registrationsByCourseIdAndCreatedAt = /* GraphQL */ `\n query RegistrationsByCourseIdAndCreatedAt(\n $courseId: ID!\n $createdAt: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsByCourseIdAndCreatedAt(\n courseId: $courseId\n createdAt: $createdAt\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n courseId\n studentId\n student{\n\t\t id\n firstName\n lastName\n email\n dob\n pronouns\n phoneMobile\n address1\n }\n createdAt\n lastName\n\t\t status\n sub\n updatedAt\n }\n nextToken\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 right-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 right-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport queryAll from \"@/utilities/queryAll.js\"\n\timport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\timport { \n\t\tCourse as CourseType, \n\t\tTerm as TermType \n\t} from \"@/API\"\n\n\t// Queries\n\timport { \n\t\tinstructorCoursesSortName,\n\t\tinstructorCoursesSortStatus,\n\t\tinstructorCoursesSortStartDate,\n\t\tinstructorCoursesSortEndDate,\n\t\tinstructorCoursesSortRegCount,\n\t\tactiveTerms\n\t} from './queries'\n\n\t// Store\n\timport { userStore } from '@/store/userStore'\n\n\t// Vue\n\timport {\n\t\tref\n\t} from 'vue'\n\n\tinterface Filter {\n\t\tlabel: string, // Filter Label\n\t\toptions: {label: string, value: string}[], // All selectable options\n\t\tfield: string, // AWS DynamoDB field\n\t}\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'InstructorCoursesMain' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t\n\t// API\n\tconst store = userStore()\n\n\t// #region get data\n\tconst courses = ref([])\n\tconst isLoading = ref(false)\n\tconst limit = 100\n\tconst filter = ref({})\n\tconst nextToken = ref(null)\n\tconst sortDirection = ref(\"DESC\")\n\tconst query = ref(instructorCoursesSortStartDate)\n\tconst queryName = ref('instructorCoursesSortStartDate')\n\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t */\n\tasync function getData(reset:boolean = false) {\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tinstructorId: store.user.id,\n\t\t\tfilter: filter.value,\n\t\t\tsortDirection: sortDirection.value\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry {\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\n\t\t\tif(reset) courses.value = items\n\t\t\telse courses.value = [...courses.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\t// #endregion\n\n\n\t// #region search\n\t/**\n \t* Search through student records and display records with matching criteria\n \t* @param {any} text - The criteria being searched for\n \t*/\n\tfunction searchMethod(text: any){\n\t\tconsole.log('Searching For', text)\n\n\t\t/**\n\t\t * TODO\t\n\t\t*/\n\t}\n\t// #endregion\n\n\n\t//#region sorting and filters\n\t/**\n\t * To sort based on the selected column\n\t * @param {string} _sortDirection - The current sort direction\n\t * @param _query - The query to be used\n\t * @param _queryName - The query name \n\t */\n\tasync function sortMethod(_sortDirection: string, _query: any, _queryName: string) {\n\t\tcourses.value.length = 0\n\t\tsortDirection.value = _sortDirection\n\t\tquery.value = _query\n\t\tqueryName.value = _queryName\n\t\tgetData(true)\n\t}\n\n\tconst filters = ref([\n\t\t{\n\t\t\tlabel: \"Term\",\n\t\t\tfield: 'termId',\n\t\t\toptions: []\n\t\t},\n\t\t{\n\t\t\tlabel: \"Day\",\n\t\t\toptions: [\n\t\t\t\t{value: 'Sunday', label: 'Sunday'},\n\t\t\t\t{value: 'Monday', label: 'Monday'},\n\t\t\t\t{value: 'Tuesday', label: 'Tuesday'},\n\t\t\t\t{value: 'Wedneday', label: 'Wednesday'},\n\t\t\t\t{value: 'Thursday', label: 'Thursday'},\n\t\t\t\t{value: 'Friday', label: 'Friday'},\n\t\t\t\t{value: 'Saturday', label: 'Saturday'}\n\t\t\t],\n\t\t\tfield: \"dayOfWeek\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"Time\",\n\t\t\toptions: [\n\t\t\t\t{value: 'Morning', label: 'Morning'},\n\t\t\t\t{value: 'Afternoon', label: 'Afternoon'},\n\t\t\t\t{value: 'Evening', label: 'Evening'}\n\t\t\t],\n\t\t\tfield: \"timeOfDay\"\n\t\t}\n\t])\n\t\n\t/**\n\t * Filter list of courses\n\t * @function filterCourses\n\t * @param {Array} selectedFilters - The selected filters\n\t*/\n\tasync function filterCourses(selectedFilters: [[]]) {\n\t\tlet filterArr:any = []\n\n\t\tselectedFilters.forEach((values, i) => {\n\t\t\tlet field = filters.value[i].field\n\t\t\tvalues.forEach((value) => {\n\t\t\t\tlet obj:any = {}\n\t\t\t\tobj[field] = {eq: value}\n\t\t\t\tfilterArr.push(obj)\n\t\t\t})\n\t\t})\n\n\t\tfilter.value = {\n\t\t\tor: filterArr\n\t\t}\n\t\tcourses.value.length = 0\n\t\tgetData(true)\n\t}\n\n\tconst fetchActiveTerms = async () => {\n\t\tconst terms: TermType[] = await queryAll(activeTerms, { isActive: 1 }, \"activeTerms\")\n\n\t\tconst activeTermOptions:{label: string, value: string}[] = terms.map((term:TermType) => {\n\t\t\treturn {\n\t\t\t\tlabel: String(term.name),\n\t\t\t\tvalue: term.id\n\t\t\t}\n\t\t})\n\n\t\tfilters.value[0].options = activeTermOptions\n\t}\n\n\t// #endregion\n\n\tfetchActiveTerms()\n\tgetData(true)\n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createBlock(_component_tw_table, {\n title: _ctx.$route.meta.title,\n placeholder: \"No Courses\",\n data: courses.value,\n searchable: true,\n loading: isLoading.value,\n \"search-function\": searchMethod,\n \"search-placeholder\": \"Type to search for a course...\",\n \"default-sort\": {prop: 'startDate', order: 'DESC'},\n filterable: true,\n filters: filters.value,\n \"filter-function\": filterCourses\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"name\",\n header: \"Name\",\n \"class-name\": \"w-40 sm:w-56 bg-white sticky z-0 left-0\",\n \"header-class-name\": \"w-40 sm:w-56 bg-gray-50 sticky left-0\",\n sortable: \"\",\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(instructorCoursesSortName), 'instructorCoursesSortName') }\n }, {\n header: _withCtx(() => [\n _hoisted_1\n ]),\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.name), 1),\n _hoisted_2\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n header: \"Status\",\n width: \"30\",\n sortable: \"\",\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(instructorCoursesSortStatus), 'instructorCoursesSortStatus') }\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"startDate\",\n header: \"Start Date\",\n width: \"33\",\n sortable: \"\",\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(instructorCoursesSortStartDate), 'instructorCoursesSortStartDate') }\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatDate(row.startDate)), 1)\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"endDate\",\n header: \"End Date\",\n width: \"30\",\n sortable: \"\",\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(instructorCoursesSortEndDate), 'instructorCoursesSortEndDate') }\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatDate(row.endDate)), 1)\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"dayOfWeek\",\n header: \"Days\",\n width: \"32\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"timeOfDay\",\n header: \"Time\",\n width: \"22\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"term\",\n header: \"Term\",\n width: \"28\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row?.term?.name), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numRegistered\",\n header: \"Reg\",\n width: \"20\",\n sortable: \"\",\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(instructorCoursesSortRegCount), 'instructorCoursesSortRegCount') }\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.numRegistered || \"—\") + \"/\" + _toDisplayString(row.numSeats || \"—\"), 1)\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"studio\",\n header: \"Studio\",\n width: \"26\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"location\",\n header: \"Location\",\n width: \"24\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"classes\",\n header: \"Classes\",\n width: \"24\"\n }),\n _createVNode(_component_tw_table_column, {\n width: \"32\",\n \"class-name\": \"sticky z-0 right-9 bg-white\",\n \"header-class-name\": \"bg-gray-50 sticky right-9\"\n }, {\n header: _withCtx(() => [\n _hoisted_3\n ]),\n default: _withCtx(({row}) => [\n _hoisted_4,\n _createVNode(_component_router_link, {\n to: {name: 'InstructorCourseDetails', params:{id: row.id}, query: {a: '1'}},\n class: \"link font-bold font-gotham\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Take attendance \")\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 sticky right-0\",\n width: \"11\"\n }, {\n header: _withCtx(() => [\n _hoisted_5\n ]),\n default: _withCtx(({row}) => [\n _hoisted_6,\n _createVNode(_component_router_link, {\n to: {name: 'InstructorCourseDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_7\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"title\", \"data\", \"loading\", \"filters\"]))\n}\n}\n\n})","import script from \"./InstructorCoursesMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./InstructorCoursesMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"href\"]\nconst _hoisted_2 = [\"href\"]\nconst _hoisted_3 = [\"onClick\"]\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport api from '@/utilities/api'\n\n\t// Components\n\timport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay, \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\t// Queries\n\timport { registrationsByCourseIdAndLastName } from '../queries'\n\n\t// Vue\n\timport {\n\t\tref,\n\t\tcomputed \n\t} from 'vue'\n\n\n\t//eslint-disable-next-line\n\t\n\t// name the component\n\tconst __default__ = { name: \"RegisteredStudents\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tcourseId: {\n\t\t\ttype: String\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\t// API\n\t\n\n\n\t//#region startup\n\tconst registrations = ref([])\n\n\tasync function getData() {\n\t\ttry {\n\t\t\tconst input = { \n\t\t\t\tcourseId: props.courseId,\n\t\t\t\tfilter: {\n\t\t\t\t\tstatus: {\n\t\t\t\t\t\teq: 'Registered'\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst response: any = await api(registrationsByCourseIdAndLastName, input)\n\t\t\tregistrations.value = response.data.registrationsByCourseIdAndLastName.items\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t}\n\n\tgetData()\n\t//#endregion\n\n\t//#region notes modal\n\tconst notesModalOpen = ref(false);\n\tconst studentNotes = ref('');\n\tconst studentName = ref('');\n\n\t/**\n\t * Display the notes modal for the selected student\n\t * @param {object} row - The active student record\n\t */\n\tfunction showModal(row: any){\n\t\tif(row.student.notes) notesModalOpen.value = true\n\t\tstudentNotes.value = row.student.notes\n\t\tstudentName.value = `${row.student.firstName} ${row.student.lastName}`\n\t}\n\t//#endregion\n\n\t//#region table actions\n\tconst tableActions = [\n\t\t{ label: 'Email Selected Students...', method: emailSelectedStudents }\n\t]\n\n\t//#region email\n\tconst emailModalOpen = ref(false);\n\tconst numRecordsEmail = ref(0);\n\tconst emailData = ref([]);\n\n\tfunction emailSelectedStudents(selectedRows: Array){\n\t\tnumRecordsEmail.value = selectedRows.length\n\t\temailModalOpen.value = true\n\t\temailData.value = selectedRows\n\t}\n\t//#endregion\n\t\n\t//#endregion\n\n\t//#region notification\n\tconst notificationTitle = ref('Success')\n\tconst notificationIcon = ref(0)\n\tconst notificationType = ref('')\n\n\tconst showNotification = computed(() => {\n\t\treturn notificationType.value ? true : false\n\t})\n\n\tconst notificationSubtitle = computed(() => {\n\t\tif(notificationType.value === 'email')\n\t\t\treturn 'All selected student(s) are being emailed in the background.'\n\t\telse\t\n\t\t\treturn ''\n\t})\n\t//#endregion\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_DocumentTextIconSolid = _resolveComponent(\"DocumentTextIconSolid\")!\n const _component_DocumentIcon = _resolveComponent(\"DocumentIcon\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_student_notes_modal = _resolveComponent(\"student-notes-modal\")!\n const _component_email_modal = _resolveComponent(\"email-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_tw_table, {\n class: \"-mt-4\",\n data: registrations.value,\n placeholder: \"No registered students to display\",\n checkable: true,\n \"multi-row-actions\": tableActions\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"studentName\",\n header: \"Student/Child Name\",\n width: \"44\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"First Name\",\n width: \"48\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.student.firstName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"lastName\",\n header: \"Last Name\",\n width: \"48\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Status\",\n width: \"44\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status || \"No Status\"), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Age\",\n width: \"32\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.age(row.student.dob)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Pronouns\",\n width: \"56\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.student.pronouns), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Email\",\n width: \"64\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"a\", {\n class: \"link font-bold font-gotham\",\n href: 'mailto:' + row.student.email\n }, _toDisplayString(row.student.email), 9, _hoisted_1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Phone\",\n width: \"40\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"a\", {\n class: \"link font-bold font-gotham\",\n href: 'tel:' + row.student.phoneMobile\n }, _toDisplayString(row.student.phoneMobile), 9, _hoisted_2)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Notes\",\n width: \"20\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: ($event: any) => (showModal(row)),\n class: \"text-gray-500\"\n }, [\n (row.student.notes)\n ? (_openBlock(), _createBlock(_component_DocumentTextIconSolid, {\n key: 0,\n class: \"text-brand-500 h-5 document-text hover:text-brand2-500\"\n }))\n : (_openBlock(), _createBlock(_component_DocumentIcon, {\n key: 1,\n class: \"h-5 document-text\"\n })),\n _hoisted_4\n ], 8, _hoisted_3)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n (notesModalOpen.value)\n ? (_openBlock(), _createBlock(_component_student_notes_modal, {\n key: 1,\n show: notesModalOpen.value,\n studentName: studentName.value,\n studentNotes: studentNotes.value,\n onCloseNotesModal: _cache[1] || (_cache[1] = (value) => notesModalOpen.value = value)\n }, null, 8, [\"show\", \"studentName\", \"studentNotes\"]))\n : _createCommentVNode(\"\", true),\n (emailModalOpen.value)\n ? (_openBlock(), _createBlock(_component_email_modal, {\n key: 2,\n show: emailModalOpen.value,\n \"num-records-email\": numRecordsEmail.value,\n table: 'registration',\n data: emailData.value,\n onCloseEmailModal: _cache[2] || (_cache[2] = (value) => emailModalOpen.value = value),\n onEmailSuccess: _cache[3] || (_cache[3] = (value) => notificationType.value = value)\n }, null, 8, [\"show\", \"num-records-email\", \"data\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./RegisteredStudents.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RegisteredStudents.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export const updateCourse = /* GraphQL */ `\n mutation UpdateCourse(\n $input: UpdateCourseInput!\n $condition: ModelCourseConditionInput\n ) {\n updateCourse(input: $input, condition: $condition) {\n id\n instructorId\n instructor {\n id\n firstName\n\t\tlastName\n createdAt\n updatedAt\n }\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n createdBy\n updatedBy\n registrationSlug\n firstClassDate\n classRepeatCount\n classRepeatInterval\n classRepeatType\n classDayTimes\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n location\n ageLevel\n numSeats\n showInSearch\n }\n }\n`;\n\nexport const createAttendance = /* GraphQL */ `\n mutation CreateAttendance(\n $input: CreateAttendanceInput!\n $condition: ModelAttendanceConditionInput\n ) {\n createAttendance(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const updateAttendance = /* GraphQL */ `\n mutation UpdateAttendance(\n $input: UpdateAttendanceInput!\n $condition: ModelAttendanceConditionInput\n ) {\n updateAttendance(input: $input, condition: $condition) {\n id\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, vShow as _vShow, createVNode as _createVNode, withDirectives as _withDirectives, unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"font-bold font-gotham\" }\nconst _hoisted_2 = { class: \"font-bold font-gotham\" }\nconst _hoisted_3 = { class: \"font-bold font-gotham\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_6 = [\"onClick\"]\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"span\", null, \"View or Take Attendance\", -1)\nconst _hoisted_8 = [\n _hoisted_7\n]\n\nimport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay, \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\t// Queries\n\timport { \n\t\tclassesByCourseIdAndDate,\n\t\tattendancesByClassId,\n\t\tregistrationsByCourseIdAndCreatedAt\n\t} from '../queries'\n\n\t// Mutations\n\timport {\n\t\tcreateAttendance,\n\t\tupdateAttendance\n\t} from '../mutations'\n\n\n\t// API\n\timport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\timport { \n\t\tClass as ClassType,\n\t} from \"@/API\"\n\timport api from \"@/utilities/api\"\n\n\t// Vue\n\timport {\n\t\tref\n\t} from 'vue'\t\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"ClassAttendance\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tcourseId: {\n\t\t\ttype: String\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\t// Components\n\tconst classes = ref([]);\n\tconst limit = 100\n\tconst sortDirection = ref(\"ASC\")\n\tconst query = ref(classesByCourseIdAndDate)\n\tconst queryName = ref('classesByCourseIdAndDate')\n\tconst nextToken = ref(null)\n\tconst filter = ref({})\n\tconst loading = ref(false)\n\n\t//eslint-disable-next-line\n\t\n\t\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t*/\n\tasync function getData(reset:boolean = false) {\n\t\t\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tcourseId: props.courseId,\n\t\t\tfilter: filter.value,\n\t\t\tsortDirection: sortDirection.value\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry{\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\n\t\t\t// tally attendance\n\t\t\titems.forEach((item) => {\n\t\t\t\tlet allNull = item.attendance.items.every((a:any) => {return a.status === null})\n\t\t\t\tlet onTime = item.attendance.items.filter((a:any) => {return a.status === \"On Time\"}).length\n\t\t\t\tlet late = item.attendance.items.filter((a:any) => {return a.status === \"Excused\"}).length\n\t\t\t\tlet absent = item.attendance.items.filter((a:any) => {return a.status === \"Absent\"}).length\n\t\t\t\titem.onTime = onTime\n\t\t\t\titem.late = late\n\t\t\t\titem.absent = absent\n\t\t\t\titem.allNull = allNull\n\t\t\t});\n\n\t\t\tif(reset) classes.value = items\n\t\t\telse classes.value = [...classes.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t}\n\n\t/**\n\t * To sort based on the selected column\n\t * @param {string} _sortDirection - The current sort direction\n\t * @param _query - The query to be used\n\t * @param _queryName - The query name \n\t*/\n\tasync function sortMethod(_sortDirection: string, _query: any, _queryName: string){\n\t\tsortDirection.value = _sortDirection\n\t\tquery.value = _query\n\t\tqueryName.value = _queryName\n\t\tgetData(true)\n\t}\n\n\n\tconst attendanceModalOpen = ref(false)\n\tconst classDate = ref('')\n\tconst classID = ref('')\n\n\t/**\n\t * Display the attendance modal for the selected class\n\t * @param {object} row - The active class record\n\t*/\n\tasync function showModal(row: any){\n\t\tclassID.value = row.id\n\t\tclassDate.value = row.date\n\t\tawait createAttendanceRecords()\n\t\tattendanceModalOpen.value = true\n\t}\n\n\t/**\n\t * Create any missing attendance records for class\n\t*/\n\tasync function createAttendanceRecords(){\n\t\ttry{\n\t\t\tloading.value = true\n\t\t\t// Get list of current attendance records for class\n\t\t\tlet res: any = await api(attendancesByClassId, { classId: classID.value })\n\t\t\tconst attendanceRecords = res.data.attendancesByClassId.items\n\n\t\t\t// Get list of registered students for course\n\t\t\tres = await api(registrationsByCourseIdAndCreatedAt, {courseId: props.courseId})\n\t\t\tconst registrations = res.data.registrationsByCourseIdAndCreatedAt.items\n\n\t\t\tfor(const registration of registrations){\n\t\t\t\tif(registration.status == 'Registered'){\n\t\t\t\t\t// Make sure registered student doesn't already have an existing attendance record for this class\n\t\t\t\t\tconst exists = attendanceRecords.some(a => a.studentId === registration.studentId)\n\t\t\t\t\t\n\t\t\t\t\tif(!exists) { // create new attendance record\n\t\t\t\t\t\tconst input = {\n\t\t\t\t\t\t\tclassId: classID.value,\n\t\t\t\t\t\t\tstudentId: registration.studentId\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tawait api(createAttendance, {input})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(registration.status === \"Dropped\") { // update attendance\n\t\t\t\t\t// Make sure dropped student already have an existing attendance record for this class\n\t\t\t\t\tconst attendance = attendanceRecords.find(a => a.studentId === registration.studentId)\n\t\t\t\t\tif(attendance) {\n\t\t\t\t\t\tconst input = {\n\t\t\t\t\t\t\tid: attendance.id,\n\t\t\t\t\t\t\tregistrationStatus: registration.status\n\t\t\t\t\t\t}\n\t\n\t\t\t\t\t\tawait api(updateAttendance, {input})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tgetData(true)\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_full_loading = _resolveComponent(\"tw-full-loading\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_UserIconMini = _resolveComponent(\"UserIconMini\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_attendance_modal = _resolveComponent(\"attendance-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _withDirectives(_createVNode(_component_tw_full_loading, null, null, 512), [\n [_vShow, loading.value]\n ]),\n _createVNode(_component_tw_table, {\n class: \"-mt-4\",\n data: classes.value,\n placeholder: 'No classes to display',\n \"default-sort\": {prop: 'date', order: 'ASC'}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"date\",\n header: \"Class Date\",\n width: \"54\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(classesByCourseIdAndDate), 'classesByCourseIdAndDate') }\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatDate(row.date)), 1)\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n header: \"Start Time\",\n width: \"48\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.convertTime(row.startTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"End Time\",\n width: \"48\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.convertTime(row.endTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"On Time\",\n width: \"33\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"flex justify-start space-x-1 items-center\", [row.allNull ? 'text-gray-400' : 'text-brand4-500']])\n }, [\n _createVNode(_component_UserIconMini, { class: \"h-4 w-4\" }),\n _createElementVNode(\"span\", _hoisted_1, _toDisplayString(row.allNull ? \"—\" : row.onTime), 1)\n ], 2)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Excused\",\n width: \"33\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"flex justify-start space-x-1 items-center\", [row.allNull ? 'text-gray-400' : 'text-brand3-500']])\n }, [\n _createVNode(_component_UserIconMini, { class: \"h-4 w-4\" }),\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString(row.allNull ? \"—\" : row.late), 1)\n ], 2)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Absent\",\n width: \"33\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"flex justify-start space-x-1 items-center\", [row.allNull ? 'text-gray-400' : 'text-red-500']])\n }, [\n _createVNode(_component_UserIconMini, { class: \"h-4 w-4\" }),\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(row.allNull ? \"—\" : row.absent), 1)\n ], 2)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 sticky right-0\",\n width: \"44\"\n }, {\n header: _withCtx(() => [\n _hoisted_4\n ]),\n default: _withCtx(({row}) => [\n _hoisted_5,\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: ($event: any) => (showModal(row)),\n class: \"link font-gotham font-bold\"\n }, _hoisted_8, 8, _hoisted_6)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]),\n (attendanceModalOpen.value)\n ? (_openBlock(), _createBlock(_component_attendance_modal, {\n key: 0,\n show: attendanceModalOpen.value,\n \"course-id\": props.courseId,\n \"class-id\": classID.value,\n \"class-date\": classDate.value,\n onCloseAttendanceModal: _cache[0] || (_cache[0] = (value) => {attendanceModalOpen.value = value; getData(true)})\n }, null, 8, [\"show\", \"course-id\", \"class-id\", \"class-date\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./ClassAttendance.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ClassAttendance.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, vShow as _vShow, createElementVNode as _createElementVNode, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, unref as _unref, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, vModelSelect as _vModelSelect } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-6\" }\nconst _hoisted_2 = { class: \"mt-2 h-7 rounded-full bg-gray-300 animate-pulse w-60\" }\nconst _hoisted_3 = { class: \"card mb-8\" }\nconst _hoisted_4 = { class: \"grid grid-cols-2 divide-y md:divide-x md:divide-y-0\" }\nconst _hoisted_5 = { class: \"col-span-2 md:col-span-1 pb-8 md:pb-0 md:pr-8\" }\nconst _hoisted_6 = { class: \"grid grid-cols-2 gap-6\" }\nconst _hoisted_7 = { class: \"col-span-1\" }\nconst _hoisted_8 = { class: \"col-span-1\" }\nconst _hoisted_9 = { class: \"col-span-1\" }\nconst _hoisted_10 = { class: \"col-span-1\" }\nconst _hoisted_11 = { class: \"col-span-1\" }\nconst _hoisted_12 = { class: \"col-span-1\" }\nconst _hoisted_13 = { class: \"col-span-1\" }\nconst _hoisted_14 = { class: \"col-span-1\" }\nconst _hoisted_15 = { class: \"col-span-2 md:col-span-1 pt-8 md:pt-0 md:pl-8\" }\nconst _hoisted_16 = { class: \"grid grid-cols-4 gap-4 mb-3\" }\nconst _hoisted_17 = { class: \"col-span-2 lg:col-span-1\" }\nconst _hoisted_18 = { class: \"col-span-2 lg:col-span-1\" }\nconst _hoisted_19 = { class: \"col-span-2 lg:col-span-1\" }\nconst _hoisted_20 = { class: \"col-span-2 lg:col-span-1\" }\nconst _hoisted_21 = { class: \"space-y-3\" }\nconst _hoisted_22 = { class: \"sm:hidden\" }\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"tabs\",\n class: \"sr-only\"\n}, \"Select a tab\", -1)\nconst _hoisted_24 = [\"value\", \"selected\"]\nconst _hoisted_25 = { class: \"card p-0\" }\nconst _hoisted_26 = { class: \"hidden sm:block\" }\nconst _hoisted_27 = { class: \"border-b border-gray-200\" }\nconst _hoisted_28 = {\n class: \"isolate flex border-gray-200\",\n \"aria-label\": \"Tabs\"\n}\nconst _hoisted_29 = [\"onClick\", \"aria-current\"]\nconst _hoisted_30 = { class: \"px-4 py-6 sm:px-6 space-y-4\" }\nconst _hoisted_31 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"course-links\",\n class: \"mb-1 block text-sm font-bold font-gotham text-gray-700 uppercase\"\n}, \" Course Links \", -1)\nconst _hoisted_32 = [\"innerHTML\"]\nconst _hoisted_33 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"teaching-artist-notes\",\n class: \"mb-1 block text-sm font-bold font-gotham text-gray-700 uppercase mt-8\"\n}, \" Notes \", -1)\nconst _hoisted_34 = [\"innerHTML\"]\n\nimport { \n\t\tgetCourse\n\t} from '../queries'\n\n\t// Mutations\n\timport {\n\t\tupdateCourse\n\t} from '../mutations'\n\n\t// API\n\timport api from '@/utilities/api'\n\timport { \n\t\tCourse as CourseType\n\t} from \"@/API\"\n\n\t// Components\n\timport RegisteredStudents from './RegisteredStudents.vue'\n\timport ClassAttendance from './ClassAttendance.vue'\n\n\t// icons\n\timport { HashtagIcon } from \"@heroicons/vue/24/outline\"\n\timport { CalendarDaysIcon } from \"@heroicons/vue/24/outline\"\n\timport { AcademicCapIcon } from \"@heroicons/vue/24/outline\"\n\timport { UserIcon } from \"@heroicons/vue/24/outline\"\n\timport { UserCircleIcon } from \"@heroicons/vue/24/outline\"\n\timport { ClockIcon } from \"@heroicons/vue/24/outline\"\n\n\t// quill\n\timport { \n\t\tQuillEditor\n\t} from '@vueup/vue-quill'\n\n\t//Router\n import { \n\t\tuseRoute,\n\t} from 'vue-router'\n\n\t// Vue\n\timport {\n\t\tref\n\t} from 'vue'\t\n\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"InstructorCourseDetails\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\t// Queries\n\tconst route = useRoute()\n\n\tconst course = ref({} as CourseType)\n\tconst showSave = ref(false)\n const courseID = route.params.id\n const takeAttendance = route.query.a\n\tconst loading = ref(false)\n\n\tconst editorOptions = ref({\n\t\ttheme: 'snow'\n\t})\n\n\tasync function getData() {\n\t\ttry {\t\t\t\n\t\t\tloading.value = true\n\t\t\tconst response: any = await api(getCourse, { id: courseID })\n\t\t\tcourse.value = response.data.getCourse\n\n\t\t\tif(takeAttendance) changeTab(1)\n\t\t\t\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tconst tabs = ref([\n\t\t{ name: 'Registered Students', href:'#', current: true },\n\t\t{ name: 'Attendance', href:'#', current: false },\n\t\t{ name: 'Course Notes', href:'#', current: false }\n\t])\n\tconst selectedTab = ref(0)\n\n\t/**\n\t * Switch between tabs\n\t * @param {number} i - The index for the current tab\n\t */\n\tfunction changeTab(i: number) {\n\t\tselectedTab.value = i\n\t\ttabs.value.forEach(tab => {tab.current = false})\n\t\ttabs.value[i].current = true\n\t}\n\n\t/**\n\t * To save the changes made on the Confirmation Letter tab\n\t */\n\t// async function instructorNotesSaveChanges() {\n\t// \ttry {\n\t// \t\tlet input = {\n\t// \t\t\tid: course.value.id,\n\t// \t\t\tconfirmationNotes: course.value.confirmationNotes,\n\t// \t\t\tconfirmationLinks: course.value.confirmationLinks\n\t// \t\t}\n\t// \t\tlet res:any = await api(updateCourse, { input } )\n\n\t// \t\tif(res.errors){\n\t// \t\t\tlet error = res.errors[0].message\n\t// \t\t\tthrow error\n\t// \t\t}\n\t// \t}\n\t// \tcatch(e) {\n\t// \t\tconsole.log('Error:', e)\n\t// \t}\n\t// \tfinally {\n\t// \t\tshowSave.value = false\n\t// \t}\n\t// }\n\n\tgetData()\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_data_display = _resolveComponent(\"data-display\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_description_list_item = _resolveComponent(\"description-list-item\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _withDirectives(_createElementVNode(\"h1\", { class: \"title\" }, _toDisplayString(course.value?.name), 513), [\n [_vShow, !loading.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_2, null, 512), [\n [_vShow, loading.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_data_display, {\n label: \"Name\",\n loading: loading.value,\n value: course.value?.name\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_data_display, {\n label: \"Status\",\n loading: loading.value\n }, {\n custom: _withCtx(() => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(course.value.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(course.value.status), 1)\n ]),\n _: 1\n }, 8, [\"color\"])\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_data_display, {\n label: \"Location\",\n loading: loading.value,\n value: course.value?.location\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_data_display, {\n label: \"Studio\",\n loading: loading.value,\n value: course.value?.studio\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_data_display, {\n label: \"Age Group\",\n loading: loading.value,\n value: course.value?.ageLevel\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_data_display, {\n label: \"Skill Level\",\n loading: loading.value,\n value: course.value?.skillLevel\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_data_display, {\n label: \"Number Of Seats\",\n loading: loading.value,\n value: course.value?.numSeats\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_data_display, {\n label: \"Medium\",\n loading: loading.value,\n value: course.value?.medium\n }, null, 8, [\"loading\", \"value\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_data_display, {\n label: \"Registered\",\n loading: loading.value,\n \"value-class\": \"font-bold font-gotham text-3xl text-brand-500\",\n value: course.value?.numRegistered ?? '0'\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_data_display, {\n label: \"Available\",\n loading: loading.value,\n \"value-class\": \"font-bold font-gotham text-3xl text-brand-500\",\n value: course.value?.numAvailable ?? '0'\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_data_display, {\n label: \"Waitlisted\",\n loading: loading.value,\n \"value-class\": \"font-bold font-gotham text-3xl text-brand-500\",\n value: course.value?.numWaitlisted ?? '0'\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_data_display, {\n label: \"Dropped\",\n loading: loading.value,\n \"value-class\": \"font-bold font-gotham text-3xl text-brand-500\",\n value: course.value?.numRegistered ?? '0'\n }, null, 8, [\"loading\", \"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Teaching Artist\",\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(UserIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.instructor?.firstName ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(course.value?.instructor?.firstName + \" \" + course.value?.instructor?.lastName|| \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Assistant\",\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(UserCircleIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.assistant?.firstName ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(course.value?.assistant?.firstName + \" \" + course.value?.assistant?.lastName || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Term\",\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(AcademicCapIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.term?.name ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(course.value?.term?.name || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Dates\",\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(CalendarDaysIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n (course.value?.startDate && course.value?.endDate)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.startDate ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(new Date(course.value?.startDate).toLocaleDateString('en-US', {month: 'short', day: 'numeric'})) + \" - \" + _toDisplayString(new Date(course.value?.endDate).toLocaleDateString('en-US', {month: 'short', day: 'numeric'})), 3))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Time\",\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(ClockIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.timeOfDay ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(course.value?.timeOfDay || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n \"max-length\": 15,\n label: \"Classes\",\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_unref(HashtagIcon), { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.classDayTimes ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(JSON.parse(course.value?.classDayTimes)?.length || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _hoisted_23,\n _withDirectives(_createElementVNode(\"select\", {\n id: \"tabs\",\n name: \"tabs\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((selectedTab).value = $event)),\n onChange: _cache[1] || (_cache[1] = (e) => changeTab(e.target.value)),\n class: \"block w-full rounded-none border-gray-300 focus:border-brand-500 focus:ring-brand-500 mb-4\"\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tabs.value, (tab, i) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: tab.name,\n value: i,\n selected: tab.current\n }, _toDisplayString(tab.name), 9, _hoisted_24))\n }), 128))\n ], 544), [\n [_vModelSelect, selectedTab.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"nav\", _hoisted_28, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tabs.value, (tab, i) => {\n return (_openBlock(), _createElementBlock(\"p\", {\n onClick: ($event: any) => (changeTab(i)),\n key: tab.name,\n class: _normalizeClass([\n\t\t\t\t\t\t\ttab.current ? 'active-tab' : 'cursor-pointer border-transparent text-black hover:bg-gray-50 hover:font-bold',\n\t\t\t\t\t\t\t'border-r border-gray-200 group relative py-4 px-4 text-center text-sm font-medium w-64 whitespace-nowrap font-sm uppercase text-gray-500'\n\t\t\t\t\t\t]),\n \"aria-current\": tab.current ? 'page' : undefined\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(tab.name), 1),\n _createElementVNode(\"span\", {\n \"aria-hidden\": \"true\",\n class: _normalizeClass([tab.current ? 'bg-brand-500' : 'bg-transparent', 'absolute inset-x-0 bottom-0 h-0.5'])\n }, null, 2)\n ], 10, _hoisted_29))\n }), 128))\n ])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _withDirectives(_createElementVNode(\"div\", null, [\n _createVNode(RegisteredStudents, { \"course-id\": _unref(courseID) }, null, 8, [\"course-id\"])\n ], 512), [\n [_vShow, tabs.value[0].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createVNode(ClassAttendance, { \"course-id\": _unref(courseID) }, null, 8, [\"course-id\"])\n ], 512), [\n [_vShow, tabs.value[1].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", null, [\n _hoisted_31,\n _createElementVNode(\"p\", {\n class: \"mt-4 rich-text\",\n innerHTML: course.value.confirmationLinks ?? '—'\n }, null, 8, _hoisted_32)\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_33,\n _createElementVNode(\"p\", {\n class: \"mt-4 rich-text\",\n innerHTML: course.value.confirmationNotes ?? '—'\n }, null, 8, _hoisted_34)\n ])\n ], 512), [\n [_vShow, tabs.value[2].current]\n ])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./InstructorCourseDetails.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./InstructorCourseDetails.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import InstructorCourses from \"./InstructorCoursesMain.vue\"\nimport InstructorCourseDetails from './components/InstructorCourseDetails.vue'\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"InstructorCourses\",\n\t\tpath: \"/teaching-artist-courses\",\n\t\tcomponent: InstructorCourses,\n\t\ttitle: \"Teaching Artist Dashboard\"\n\t},\n\tinstructorCourseDetail: {\n\t\tname: \"InstructorCourseDetails\",\n\t\tpath: \"/teaching-artist-courses/:id\",\n\t\tcomponent: InstructorCourseDetails,\n\t\tprops: true\n\t},\n\tnav: {\n\t\tname: \"TA Dashboard\",\n\t\tto: \"InstructorCourses\",\n\t\tposition: 0,\n\t\tshow: true\n\t},\n\tmodule: \"instructor\",\n\tauth: ['instructor']\n}\n\nexport { config }","export const createCourse = /* GraphQL */ `\n mutation CreateCourse(\n $input: CreateCourseInput!\n $condition: ModelCourseConditionInput\n ) {\n createCourse(input: $input, condition: $condition) {\n id\n instructorId\n instructor {\n id\n firstName\n\t\tlastName\n createdAt\n updatedAt\n }\n termId\n term {\n id\n name\n createdAt\n isActive\n updatedAt\n }\n assistantId\n assistant {\n id\n firstName\n\t\tlastName\n createdAt\n updatedAt\n }\n classes {\n nextToken\n }\n createdAt\n updatedAt\n createdBy\n updatedBy\n registrationSlug\n firstClassDate\n classRepeatCount\n classRepeatInterval\n classRepeatType\n classDayTimes\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n numDropped\n numTransferred\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n location\n ageLevel\n numSeats\n showInSearch\n minimumRegistrations\n }\n }\n`;\nexport const updateCourse = /* GraphQL */ `\n mutation UpdateCourse(\n $input: UpdateCourseInput!\n $condition: ModelCourseConditionInput\n ) {\n updateCourse(input: $input, condition: $condition) {\n id\n instructorId\n instructor {\n id\n firstName\n\t\tlastName\n createdAt\n updatedAt\n }\n termId\n term {\n id\n name\n createdAt\n isActive\n updatedAt\n }\n assistantId\n assistant {\n id\n firstName\n\t\tlastName\n createdAt\n updatedAt\n }\n classes {\n nextToken\n }\n createdAt\n updatedAt\n createdBy\n updatedBy\n registrationSlug\n firstClassDate\n classRepeatCount\n classRepeatInterval\n classRepeatType\n classDayTimes\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n numDropped\n numTransferred\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n location\n ageLevel\n numSeats\n showInSearch\n minimumRegistrations\n }\n }\n`;\nexport const updateRegistration = /* GraphQL */ `\n mutation UpdateRegistration(\n $input: UpdateRegistrationInput!\n $condition: ModelRegistrationConditionInput\n ) {\n updateRegistration(input: $input, condition: $condition) {\n id\n courseId\n course {\n id\n assistantId\n instructorSub\n instructorId\n termId\n rootCourseId\n ageLevel\n classDayTimes\n classRepeatCount\n classRepeatInterval\n classRepeatType\n confirmationLinks\n confirmationNotes\n createdAt\n createdBy\n dayOfWeek\n description\n donationAmount\n endDate\n endTime\n firstClassDate\n image\n imageDescription\n isOpenArtsOrTuition\n location\n medium\n minimumRegistrations\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numTransferred\n numWaitlisted\n openArtsConfig\n proClassId\n qbClass\n qbItem\n registrationOpenTime\n registrationSlug\n showInSearch\n skillLevel\n startDate\n startTime\n status\n studio\n suggestedContribution\n supplyList\n timeOfDay\n tuitionAmount\n updatedAt\n updatedBy\n allCourses\n }\n studentId\n student {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n emergencyContactEmail\n emergencyContactRelationship\n ethnicity\n firstName\n gender\n income\n isInstructor\n isMainAccount\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n optInEmails\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n proClassId\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n }\n amount\n createdAt\n createdBy\n billToAddress\n lastName\n status\n paymentStatus\n statusUpdatedAt\n sub\n quickbooksToken\n updatedBy\n allRegistrations\n updatedAt\n }\n }\n`;\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_3 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full sm:p-6\" }\nconst _hoisted_4 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_5 = { class: \"text-sm pt-5 leading-6 font-medium text-coolGray-600\" }\nconst _hoisted_6 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport api from '@/utilities/api'\n\n // Components\n\timport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay, \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\t// Mutations\n\timport {\n\t\tupdateCourse\n\t} from './mutations'\n\n // Vue\n import {\n\t\tref,\n\t\tcomputed\n\t} from 'vue'\n\n //eslint-disable-next-line\n \n\t// name the component\n\tconst __default__ = { name: \"ConfirmationModal\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: { \n data: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => {return []}\n\t\t},\n courseStatus: {\n type: String,\n default: ''\n },\n show: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t}\n\t},\n emits: ['closeConfirmationModal', 'updateCourseSuccess'],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\t// API\n\t\n\n\tconst numCoursesSelected = computed(() => {\n\t\treturn props.data.length\n\t})\n\n \n\n\t/**\n\t * To update the status on the selected courses\n\t * \n\t */\n\tasync function updateCourses(){\n\t\tprops.data.forEach(async (courseID) => {\n\t\t\tlet input = {\n\t\t\t\tid: courseID,\n\t\t\t\tstatus: props.courseStatus\n\t\t\t}\n\t\t\ttry{\n\t\t\t\tlet res = await api(updateCourse, {input} )\n\n\t\t\t\tif(res.errors) {\n\t\t\t\t\tlet error = res.errors[0].message\n\t\t\t\t\tthrow error\n\t\t\t\t}\n\n\t\t\t\temit('updateCourseSuccess', true)\n\t\t\t}\t\t\n\t\t\tcatch(e){\n\t\t\t\tconsole.log('Error:', e)\n\n\t\t\t\temit('updateCourseSuccess', false)\n\t\t\t}\n\t\t\t\t\n\t\t})\t\t\t\n\t\t\t\n\n\t}\n\n\t/**\n\t * To batch update course status'\n\t * WIP\n\t * \n\t */\n\t// async function batchUpdateCourses(){\n\t// \tconsole.log('Updating Courses')\n\n\t// \tlet batchCourseParams = props.data.map((courseID) => {\n\t// \t\treturn { id: courseID, status: props.courseStatus}\n\t// \t})\n\n\t// \ttry{\n\t// \t\tconsole.log('Batch Update Params:', batchCourseParams)\n\t\t\t\n\t// \t\tlet res = await api(batchUpdateCourses, {batchCourseParams})\n\n\t// \t\tif(res.errors) {\n\t// \t\t\tlet error = res.errors[0].message\n\t// \t\t\tthrow error\n\t// \t\t}\n\t// \t}\n\t// \tcatch(e){\n\t// \t\tconsole.log('Error:', e)\n\t// \t}\n\n\t// \temit('closeConfirmationModal', false)\n\t// }\n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createBlock(_unref(TransitionRoot), {\n as: \"template\",\n show: __props.show\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_2,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Update Course Status \")\n ]),\n _: 1\n }),\n _createElementVNode(\"p\", _hoisted_5, \" This will update the status for \" + _toDisplayString(numCoursesSelected.value) + \" course(s) to \" + _toDisplayString(__props.courseStatus.toUpperCase()) + \". Continue? \", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-white uppercase\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('closeConfirmationModal', false)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-brand uppercase\",\n onClick: updateCourses\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Continue \")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]))\n}\n}\n\n})","import script from \"./ConfirmationModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ConfirmationModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export const getCourse = /* GraphQL */ `\n query GetCourse($id: ID!) {\n getCourse(id: $id) {\n id\n instructorId\n instructor {\n id\n firstName\n\t\tlastName\n createdAt\n updatedAt\n }\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n createdAt\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n updatedAt\n }\n }\n`;\n\n//Name\nexport const allCoursesSortName = /* GraphQL */ `\n query AllCoursesSortName(\n $allCourses: Int!\n $name: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortName(\n allCourses: $allCourses\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n startTime\n endTime\n isOpenArtsOrTuition\n }\n nextToken\n }\n }\n`;\n\n\n//Status\nexport const allCoursesSortStatus = /* GraphQL */ `\n query AllCoursesSortStatus(\n $allCourses: Int!\n $status: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortStatus(\n allCourses: $allCourses\n status: $status\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n startTime\n endTime\n isOpenArtsOrTuition\n }\n nextToken\n }\n }\n`;\n\n//Start Date\nexport const allCoursesSortStartDate = /* GraphQL */ `\n query AllCoursesSortStartDate(\n $allCourses: Int!\n $startDate: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortStartDate(\n allCourses: $allCourses\n startDate: $startDate\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n startTime\n endTime\n isOpenArtsOrTuition\n }\n nextToken\n }\n }\n`;\n\n//End Date\nexport const allCoursesSortEndDate = /* GraphQL */ `\n query AllCoursesSortEndDate(\n $allCourses: Int!\n $endDate: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortEndDate(\n allCourses: $allCourses\n endDate: $endDate\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n startTime\n endTime\n isOpenArtsOrTuition\n allCourses\n }\n nextToken\n }\n }\n`;\n\n//Registration Count\nexport const allCoursesSortRegCount = /* GraphQL */ `\n query AllCoursesSortRegCount(\n $allCourses: Int!\n $numRegistered: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortRegCount(\n allCourses: $allCourses\n numRegistered: $numRegistered\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n startTime\n endTime\n isOpenArtsOrTuition\n }\n nextToken\n }\n }\n`;\n\n//WaitList Count\nexport const allCoursesSortWaitListCount = /* GraphQL */ `\n query AllCoursesSortWaitListCount(\n $allCourses: Int!\n $numWaitlisted: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortWaitListCount(\n allCourses: $allCourses\n numWaitlisted: $numWaitlisted\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n startTime\n endTime\n isOpenArtsOrTuition\n }\n nextToken\n }\n }\n`;\n\n//Available Count\nexport const allCoursesSortAvailableCount = /* GraphQL */ `\n query AllCoursesSortAvailableCount(\n $allCourses: Int!\n $numAvailable: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortAvailableCount(\n allCourses: $allCourses\n numAvailable: $numAvailable\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n startTime\n endTime\n isOpenArtsOrTuition\n }\n nextToken\n }\n }\n`;\n\nexport const allCoursesSortIsOpenArts = /* GraphQL */ `\n query AllCoursesSortIsOpenArts(\n $allCourses: Int!\n $isOpenArtsOrTuition: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortIsOpenArts(\n allCourses: $allCourses\n isOpenArtsOrTuition: $isOpenArtsOrTuition\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n startTime\n endTime\n isOpenArtsOrTuition\n }\n nextToken\n }\n }\n`;\n\nexport const searchCourses = /* GraphQL */ `\n query SearchCourses(\n $filter: SearchableCourseFilterInput\n $sort: [SearchableCourseSortInput]\n $limit: Int\n $nextToken: String\n $from: Int\n $aggregates: [SearchableCourseAggregationInput]\n ) {\n searchCourses(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n aggregates: $aggregates\n ) {\n\t\titems {\n id\n termId\n term {\n id\n name\n createdAt\n updatedAt\n }\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n skillLevel\n startDate\n status\n studio\n timeOfDay\n allCourses\n startTime\n endTime\n isOpenArtsOrTuition\n }\n nextToken\n total\n aggregateItems {\n name\n result {\n ... on SearchableAggregateScalarResult {\n value\n }\n ... on SearchableAggregateBucketResult {\n buckets {\n key\n doc_count\n }\n }\n }\n }\n }\n }\n`;\n\nexport const listTerms = /* GraphQL */ `\n query ListTerms(\n $id: ID\n $filter: ModelTermFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listTerms(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n name\n }\n nextToken\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, Transition as _Transition, Teleport as _Teleport, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"table-action-menu\",\n class: \"relative\"\n}, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Open options\", -1)\nconst _hoisted_4 = { class: \"py-1\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport { useDebounceFn } from \"@vueuse/core\"\n\t// Components\n\timport { \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems\n\t} from '@headlessui/vue'\n\timport ConfirmationModal from './ConfirmationModal.vue'\n\n\t// api\n\timport { \n\t\tCourse as CourseType,\n\t\tTerm as TermType,\n\t\tSearchCoursesQueryVariables\n\t} from '@/API'\n\n\timport queryAll from \"@/utilities/queryAll.js\"\n\timport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\timport api from '@/utilities/api'\n\n\timport {\n\t\tallCoursesSortName,\n\t\tallCoursesSortStatus,\n\t\tallCoursesSortStartDate,\n\t\tallCoursesSortEndDate,\n\t\tallCoursesSortRegCount,\n\t\tallCoursesSortWaitListCount,\n\t\tallCoursesSortAvailableCount,\n\t\tlistTerms,\n\t\tallCoursesSortIsOpenArts,\n\t\tsearchCourses\n\t} from './queries'\n\n\t// vue\n\timport {\n\t\tref,\n\t\tonMounted,\n\t\tonBeforeUnmount\n\t} from 'vue'\n\n\t// store\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\n\timport { \n\t\tadminFiltersStore\n\t} from '@/store/adminFiltersStore'\n\n\timport EventBus from '@/events'\n\n\n\tinterface adminFilter {\n\t\tlabel: string, // Filter Label\n\t\tfield: string, // AWS DynamoDB field \n\t\toptions: {value: string, label: string}[], // All selectable options\n\t\tvalue?: string|null|string[], // Currently selected filter value\n\t}\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'CoursesMain' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t\n\t// component code below\n\tconst _valueListStore = valueListStore()\n\tconst _adminFiltersStore = adminFiltersStore()\n\n\tconst filters = ref([\n\t\t{\n\t\t\tlabel: \"Term\",\n\t\t\tfield: \"termId\",\n\t\t\toptions: [],\n\t\t\tvalue: _adminFiltersStore.appliedFilters.courseList.filters[0] ?? []\n\t\t},\n\t\t{\n\t\t\tlabel: \"Day\",\n\t\t\tfield: \"dayOfWeek\",\n\t\t\toptions: [\n\t\t\t\t{value: 'Sunday', label: 'Sunday'},\n\t\t\t\t{value: 'Monday', label: 'Monday'},\n\t\t\t\t{value: 'Tuesday', label: 'Tuesday'},\n\t\t\t\t{value: 'Wednesday', label: 'Wednesday'},\n\t\t\t\t{value: 'Thursday', label: 'Thursday'},\n\t\t\t\t{value: 'Friday', label: 'Friday'},\n\t\t\t\t{value: 'Saturday', label: 'Saturday'}\n\t\t\t],\n\t\t\tvalue: _adminFiltersStore.appliedFilters.courseList.filters[1] ?? []\n\t\t},\n\t\t{\n\t\t\tlabel: \"Time\",\n\t\t\tfield: \"timeOfDay\",\n\t\t\toptions: [\n\t\t\t\t{value: 'morning', label: 'Morning'},\n\t\t\t\t{value: 'afternoon', label: 'Afternoon'},\n\t\t\t\t{value: 'evening', label: 'Evening'}\n\t\t\t],\n\t\t\tvalue: _adminFiltersStore.appliedFilters.courseList.filters[2] ?? []\n\t\t},\n\t\t{\n\t\t\tlabel: \"Medium\",\n\t\t\tfield: \"medium\",\n\t\t\toptions: _valueListStore.valueList.medium,\n\t\t\tvalue: _adminFiltersStore.appliedFilters.courseList.filters[3] ?? []\n\t\t},\n\t\t{\n\t\t\tlabel: \"Skill Level\",\n\t\t\tfield: \"skillLevel\",\n\t\t\toptions: _valueListStore.valueList.skillLevel,\n\t\t\tvalue: _adminFiltersStore.appliedFilters.courseList.filters[4] ?? []\n\t\t},\n\t\t{\n\t\t\tlabel: \"Age Level\",\n\t\t\tfield: \"ageLevel\",\n\t\t\toptions: _valueListStore.valueList.ageLevel,\n\t\t\tvalue: _adminFiltersStore.appliedFilters.courseList.filters[5] ?? []\n\t\t}\n\t])\n\n\t// #region infinite scroll setup\n\tonMounted( async () => {\n\t\tEventBus.on('infinite-scroll', async () => {\n\t\t\tif(nextToken.value) await getData(false)\n\t\t\tEventBus.trigger('infinite-scroll-end', null)\n\t\t})\n\t\t\n\t\tEventBus.on('logout', () => {\n\t\t\tfilters.value[0].value = []\n\t\t\tfilters.value[1].value = []\n\t\t\tfilters.value[2].value = []\n\t\t\tfilters.value[3].value = []\n\t\t\tfilters.value[4].value = []\n\t\t\tfilters.value[5].value = []\n\t\t})\n\n\t\tawait filterCourses(_adminFiltersStore.appliedFilters.courseList.filters)\n\t})\n\n\tconst tableChild = ref<{filterOptionsSelected: [[], [], [], [], [], []]}>({filterOptionsSelected: [[], [], [], [], [], []]})\n\t\n\tonBeforeUnmount( () => {\n\t\t//save filters to store\n\t\t_adminFiltersStore.appliedFilters.courseList.searchText = searchText.value ?? ''\n\t\t_adminFiltersStore.appliedFilters.courseList.sortField = sortField.value ?? 'startDate'\n\t\t_adminFiltersStore.appliedFilters.courseList.sortDirection = sortDirection.value ?? 'DESC'\n\t\t_adminFiltersStore.appliedFilters.courseList.query = query.value ?? null\n\t\t_adminFiltersStore.appliedFilters.courseList.queryName = queryName.value ?? 'allCoursesSortStartDate'\n\t\t_adminFiltersStore.appliedFilters.courseList.filters[0] = tableChild.value.filterOptionsSelected[0] ?? []\n\t\t_adminFiltersStore.appliedFilters.courseList.filters[1] = tableChild.value.filterOptionsSelected[1] ?? []\n\t\t_adminFiltersStore.appliedFilters.courseList.filters[2] = tableChild.value.filterOptionsSelected[2] ?? []\n\t\t_adminFiltersStore.appliedFilters.courseList.filters[3] = tableChild.value.filterOptionsSelected[3] ?? []\n\t\t_adminFiltersStore.appliedFilters.courseList.filters[4] = tableChild.value.filterOptionsSelected[4] ?? []\n\t\t_adminFiltersStore.appliedFilters.courseList.filters[5] = tableChild.value.filterOptionsSelected[5] ?? []\n\n\t\tEventBus.off('infinite-scroll', null)\n\t\tEventBus.off('logout', null)\n\t})\n\t// #endregion\n\n\t// #region get data\n\tconst filter = ref({})\n\tconst searchFilter = ref([])\n\tconst isLoading = ref(true)\n\tconst limit = 100\n\tconst nextToken = ref(null)\n\tconst query = ref(_adminFiltersStore.appliedFilters.courseList.query ?? allCoursesSortStartDate)\n\tconst queryName = ref(_adminFiltersStore.appliedFilters.courseList.queryName ?? \"allCoursesSortStartDate\")\n\tconst courses = ref([])\n\tconst sortDirection = ref(_adminFiltersStore.appliedFilters.courseList.sortDirection ?? \"DESC\")\n\tconst sortField = ref(_adminFiltersStore.appliedFilters.courseList.sortField ?? \"startDate\")\n\tconst searchText = ref(_adminFiltersStore.appliedFilters.courseList.searchText ?? \"\")\n\t\n\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t */\n\tasync function getData(reset:boolean = false) {\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tallCourses: 1,\n\t\t\tfilter: filter.value,\n\t\t\tsortDirection: sortDirection.value\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry{\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\n\t\t\tif(reset) courses.value = items\n\t\t\telse courses.value = [...courses.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\t// #endregion\n\n\t// #region search\n\t/**\n \t* Search through course records and display records with matching criteria\n \t* @param {any} text - The criteria being searched for\n \t*/\n\tconst searchMethod = useDebounceFn(async (text: string) => {\n\t\tif(text.length) {\n\t\t\tsearchText.value = text\n\t\t\tnextToken.value = null\n\t\t}\n\t\telse {\n\t\t\tsearchText.value = ''\n\t\t\tawait getData(true)\n\t\t\treturn\n\t\t}\n\n\t\tisLoading.value = true\n\t\tcourses.value.length = 0\n\t\ttry {\n\t\t\tlet input:SearchCoursesQueryVariables = {\n\t\t\t\tfilter: {\n\t\t\t\t\tand: [\n\t\t\t\t\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\tsort: [{\n\t\t\t\t\tdirection: sortDirection.value.toLowerCase(), \n\t\t\t\t\tfield: sortField.value\n\t\t\t\t}]\n\t\t\t}\n\t\t\t// and multiple words together\n\t\t\ttext.split(' ').forEach(word => {\n\t\t\t\tinput.filter?.and?.push ({\n\t\t\t\t\tor: [\n\t\t\t\t\t\t{ name: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ medium: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ skillLevel: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ ageLevel: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ studio: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ status: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ dayOfWeek: { matchPhrasePrefix: word } },\n\t\t\t\t\t]\n\t\t\t\t})\n\t\t\t})\n\n\t\t\t// add any applied table filters\n\t\t\tif(searchFilter.value.length) {\n\t\t\t\tsearchFilter.value.forEach(filter => {\n\t\t\t\t\tinput.filter?.and?.push(filter)\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tconst response: any = await api(searchCourses, input)\n\t\t\tconst items = response?.data?.searchCourses?.items\n\n\t\t\tcourses.value = items\n\t\t\t\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}, 500)\n\t// #endregion\n\n\t//#region sorting and filters\n\t/**\n\t * To sort based on the selected column\n\t * @param {string} _sortDirection - The current sort direction\n\t * @param _query - The query to be used\n\t * @param _queryName - The query name \n\t */\n\tasync function sortMethod(_sortDirection: string, _query: any, _queryName: string, _sortField: string) {\n\t\tcourses.value.length = 0\n\t\tsortDirection.value = _sortDirection\n\t\tquery.value = _query\n\t\tqueryName.value = _queryName\n\t\tsortField.value = _sortField\n\t\tif(!searchText.value) getData(true)\n\t\telse searchMethod(searchText.value)\n\t}\t\n\n\t/**\n\t * Filter list of courses\n\t * @function filterCourses\n\t * @param {Array} selectedFilters - The selected filters\n\t */\n\tasync function filterCourses(selectedFilters: [[]]){\n\t\tsearchFilter.value = []\n\t\tconst filterQuery:any = {\n\t\t\tand: []\n\t\t}\n\t\t\n\t\tselectedFilters.forEach((values, i) => {\n\t\t\tlet innerOr:any = { or: [] }\n\t\t\tlet field = filters.value[i].field\n\t\t\tlet innerOrSearch:any = { or: [] }\n\t\t\tif (values?.length) {\n\t\t\t\tvalues.forEach((value:string) => {\n\t\t\t\t\tlet obj:any = {}\n\t\t\t\t\tobj[field] = {contains: value}\n\t\t\t\t\tinnerOr.or.push(obj)\n\n\t\t\t\t\tlet searchObj:any = {}\n\t\t\t\t\tsearchObj[field] = {matchPhrase: value}\n\t\t\t\t\tinnerOrSearch.or.push(searchObj)\n\t\t\t\t})\n\t\t\t\tfilterQuery.and.push(innerOr)\n\t\t\t\tsearchFilter.value.push(innerOrSearch)\n\t\t\t}\n\t\t})\n\n\t\tfilter.value = filterQuery\n\t\tcourses.value.length = 0\n\n\t\tif(!searchText.value) getData(true)\n\t\telse searchMethod(searchText.value)\n\t}\n\t\n\tconst fetchTerms = async () => {\n\t\tconst terms: TermType[] = await queryAll(listTerms, {}, \"listTerms\")\n\n\t\tconst activeTermOptions:{label: string, value: string}[] = terms.map((term:TermType) => {\n\t\t\treturn {\n\t\t\t\tlabel: String(term.name),\n\t\t\t\tvalue: term.id\n\t\t\t}\n\t\t})\n\n\t\tfilters.value[0].options = activeTermOptions\n\t}\n\n\tconst tableActions = [\n\t\t{ label: 'Export Selected Courses...', method: exportSelectedCourses },\n\t\t{ label: 'Set Status to \"Draft\"...', method: setCourseStatus, params: 'Draft' },\n\t\t{ label: 'Set Status to \"Registering\"...', method: setCourseStatus, params: 'Registering' },\n\t\t{ label: 'Set Status to \"Underway\"...', method: setCourseStatus, params: 'Underway' },\n\t\t{ label: 'Set Status to \"Archived\"...', method: setCourseStatus, params: 'Archived' }\n\t]\n\n\t//#region export\n\tconst exportModalOpen = ref(false);\n\tconst numRecordsExport = ref(0);\n\tconst exportData = ref([]);\n\tconst exportAll = ref(false)\n\n\tfunction exportSelectedCourses(selectedRows: Array){\n\t\tnumRecordsExport.value = selectedRows.length\n\t\texportModalOpen.value = true\n\t\texportData.value = selectedRows\n\t}\n\t//#endregion\n\n\t//#region set course status\n\tconst selectedCourses = ref([])\n\tconst updatedCourseStatus = ref('')\n\tconst confirmationModalOpen = ref(false)\n\n\t/**\n\t * To open the confirmation window to update selected courses\n\t * @param {Array} selectedRows - The selected courses\n\t * @param {string} status - The status the courses are being updated to\n\t */\n\tfunction setCourseStatus(selectedRows: Array, status: string){\n\t\tselectedCourses.value = selectedRows\n\t\tupdatedCourseStatus.value = status\n\t\tconfirmationModalOpen.value = true\n\t}\n\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\n\t/**\n\t * To close the confirmation window and display notification\n\t * @param {boolean} success - Whether the courses were successfully updated\n\t */\n\tasync function updateCourseResolver(success: boolean){\n\t\tconfirmationModalOpen.value = false\n\n\t\tif(!success){\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tnotificationSubtitle.value = 'Could not update course(s).'\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\t\telse{\n\t\t\tnotificationTitle.value = 'Success'\n\t\t\tnotificationSubtitle.value = 'Selected course(s) have been updated.'\n\t\t\tnotificationIcon.value = 0\n\t\t\tshowNotification.value = true\n\n\t\t\tawait getData(true)\n\t\t}\n\t}\n\t//#endregion\n\n\tfetchTerms()\n\t// getData()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_CheckCircleIconMini = _resolveComponent(\"CheckCircleIconMini\")!\n const _component_EllipsisVerticalIcon = _resolveComponent(\"EllipsisVerticalIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_tw_export = _resolveComponent(\"tw-export\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true),\n _hoisted_1,\n _createVNode(_component_tw_table, {\n title: _ctx.$route.name,\n data: courses.value,\n \"default-sort\": {prop: sortField.value, order: sortDirection.value},\n placeholder: \"No courses to display\",\n checkable: true,\n \"multi-row-actions\": tableActions,\n loading: isLoading.value,\n filterable: true,\n \"filter-function\": filterCourses,\n filters: filters.value,\n searchable: true,\n \"search-function\": _unref(searchMethod),\n \"search-value\": searchText.value,\n \"search-placeholder\": \"Type to search for a course...\",\n ref_key: \"tableChild\",\n ref: tableChild\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"name\",\n header: \"name\",\n width: \"54\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allCoursesSortName), 'allCoursesSortName', 'name') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column),\n _createVNode(_component_tw_table_column, {\n header: \"status\",\n width: \"32\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allCoursesSortStatus), 'allCoursesSortStatus', 'status') }\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status || \"No Status\"), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"startDate\",\n header: \"start\",\n width: \"28\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allCoursesSortStartDate), 'allCoursesSortStartDate', 'startDate') }\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.startDate)), 1)\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"endDate\",\n header: \"end\",\n width: \"28\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allCoursesSortEndDate), 'allCoursesSortEndDate', 'endDate') }\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.endDate)), 1)\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"dayOfWeek\",\n header: \"Day\",\n width: \"20\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"startTime\",\n header: \"Time\",\n width: \"24\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$filters.formatTime(row.startTime)), 1),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$filters.formatTime(row.endTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"medium\",\n header: \"Medium\",\n width: \"30\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"skillLevel\",\n header: \"Level\",\n width: \"30\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"studio\",\n header: \"Studio\",\n width: \"20\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numRegistered\",\n header: \"Reg\",\n width: \"20\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allCoursesSortRegCount), 'allCoursesSortRegCount', 'numRegistered') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"numWaitlisted\",\n header: \"Wl\",\n width: \"18\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allCoursesSortWaitListCount), 'allCoursesSortWaitListCount', 'numWaitlisted') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"numAvailable\",\n header: \"Av\",\n width: \"17\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allCoursesSortAvailableCount), 'allCoursesSortAvailableCount', 'numAvailable') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"isOpenArtsOrTuition\",\n header: \"OA\",\n width: \"20\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allCoursesSortIsOpenArts), 'allCoursesSortIsOpenArts', 'isOpenArtsOrTuition') }\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_CheckCircleIconMini, {\n class: _normalizeClass([\"h-5 w-5\", [row.isOpenArtsOrTuition == 0 ? 'text-brand-500' : 'text-gray-200']])\n }, null, 8, [\"class\"])\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_2,\n _createVNode(_unref(Menu), {\n as: \"div\",\n class: \"relative inline-block text-left\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_unref(MenuButton), { class: \"flex items-center rounded-full text-gray-400 hover:text-gray-600 focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2 focus:ring-offset-gray-100\" }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createVNode(_component_EllipsisVerticalIcon, {\n class: \"h-5 w-5\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _: 1\n })\n ]),\n (_openBlock(), _createBlock(_Teleport, { to: \"#table-action-menu\" }, [\n _createVNode(_Transition, {\n \"enter-active-class\": \"transition ease-out duration-100\",\n \"enter-from-class\": \"transform opacity-0 scale-95\",\n \"enter-to-class\": \"transform opacity-100 scale-100\",\n \"leave-active-class\": \"transition ease-in duration-75\",\n \"leave-from-class\": \"transform opacity-100 scale-100\",\n \"leave-to-class\": \"transform opacity-0 scale-95\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(MenuItems), { class: \"absolute right-0 z-30 mt-40 w-64 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_unref(MenuItem), null, {\n default: _withCtx(({ active }) => [\n _createVNode(_component_router_link, {\n to: {name: 'NewCourse'},\n class: _normalizeClass([active ? 'bg-gray-100 text-gray-900' : 'text-gray-700', 'block px-4 py-2 text-sm'])\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create a New Course \")\n ]),\n _: 2\n }, 1032, [\"class\"])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n ]),\n _: 1\n })\n ]),\n default: _withCtx(({row}) => [\n _hoisted_5,\n _createVNode(_component_router_link, {\n to: {name: 'CourseDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_6\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"title\", \"data\", \"default-sort\", \"loading\", \"filters\", \"search-function\", \"search-value\"]),\n (exportModalOpen.value)\n ? (_openBlock(), _createBlock(_component_tw_export, {\n key: 1,\n show: exportModalOpen.value,\n table: \"course\",\n \"num-records-export\": numRecordsExport.value,\n data: exportData.value,\n all: exportAll.value,\n onCloseExportModal: _cache[1] || (_cache[1] = (value) => exportModalOpen.value = value)\n }, null, 8, [\"show\", \"num-records-export\", \"data\", \"all\"]))\n : _createCommentVNode(\"\", true),\n (confirmationModalOpen.value)\n ? (_openBlock(), _createBlock(ConfirmationModal, {\n key: 2,\n show: confirmationModalOpen.value,\n data: selectedCourses.value,\n \"course-status\": updatedCourseStatus.value,\n onCloseConfirmationModal: _cache[2] || (_cache[2] = (value) => confirmationModalOpen.value = value),\n onUpdateCourseSuccess: _cache[3] || (_cache[3] = (value) => updateCourseResolver(value))\n }, null, 8, [\"show\", \"data\", \"course-status\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./CoursesMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CoursesMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export const getCourse = /* GraphQL */ `\n query GetCourse($id: ID!) {\n getCourse(id: $id) {\n id\n instructorId\n instructor {\n\t\tid\n firstName\n lastName\n pronouns\n }\n termId\n term {\n\t\tid\n\t\tname\n startDate\n }\n assistantId\n assistant {\n\t\tid\n firstName\n lastName\n pronouns\n }\n classes {\n\t\titems {\n\t\t\tid\n\t\t\tdate\n\t\t\tday\n\t\t\tstartTime\n\t\t\tendTime\n\t\t}\n nextToken\n }\n\t registrations {\n\t\titems {\n\t\t\tid\n\t\t\tstatus\n\t\t}\n\t }\n rootCourseId\n rootCourse {\n name\n }\n createdAt\n updatedAt\n createdBy\n updatedBy\n registrationSlug\n firstClassDate\n classRepeatCount\n classRepeatInterval\n classRepeatType\n classDayTimes\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n numDropped\n numTransferred\n skillLevel\n startDate\n status\n studio\n timeOfDay\n suggestedContribution\n location\n ageLevel\n numSeats\n showInSearch\n donationAmount\n minimumRegistrations\n\t qbItem\n\t qbClass\n }\n }\n`;\n\nexport const byInstructor = /* GraphQL */ `\n query ByInstructor(\n $isInstructor: Int!\n $firstName: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelStudentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n byInstructor(\n isInstructor: $isInstructor\n firstName: $firstName\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n firstName\n lastName\n pronouns\n\t\tsub\n }\n nextToken\n }\n }\n`;\n\nexport const listTerms = /* GraphQL */ `\n query ListTerms(\n $id: ID\n $filter: ModelTermFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listTerms(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n name\n }\n nextToken\n }\n }\n`;\n\nexport const listRootCourses = /* GraphQL */ `\n query ListRootCourses(\n $id: ID\n $filter: ModelRootCourseFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listRootCourses(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n name\n }\n nextToken\n }\n }\n`;\n\nexport const registrationsByCourseIdAndLastName = /* GraphQL */ `\n query RegistrationsByCourseIdAndLastName(\n $courseId: ID!\n $lastName: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsByCourseIdAndLastName(\n courseId: $courseId\n lastName: $lastName\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n\t items {\n id\n courseId\n studentId\n student{\n firstName\n lastName\n email\n dob\n pronouns\n phoneMobile\n address1\n }\n createdAt\n lastName\n\t\tstatus\n sub\n updatedAt\n }\n nextToken\n }\n }\n`;\n\nexport const classesByCourseIdAndDate = /* GraphQL */ `\n query ClassesByCourseIdAndDate(\n $courseId: ID!\n $date: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelClassFilterInput\n $limit: Int\n $nextToken: String\n ) {\n classesByCourseIdAndDate(\n courseId: $courseId\n date: $date\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n courseId\n date\n startTime\n endTime\n\t\tattendance {\n\t\t\titems {\n\t\t\t\tstatus\n\t\t\t}\n\t\t}\n }\n nextToken\n }\n }\n`;\n\nexport const registrationsByCourseIdAndCreatedAt = /* GraphQL */ `\n query RegistrationsByCourseIdAndCreatedAt(\n $courseId: ID!\n $createdAt: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsByCourseIdAndCreatedAt(\n courseId: $courseId\n createdAt: $createdAt\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n courseId\n studentId\n\t studentName\n student{\n\t\t id\n firstName\n lastName\n email\n dob\n pronouns\n phoneMobile\n address1\n }\n createdAt\n lastName\n\t\t status\n sub\n updatedAt\n }\n nextToken\n }\n }\n`;\n\nexport const registrationsByCourseIdAndStatus = /* GraphQL */ `\n query RegistrationsByCourseIdAndStatus(\n $courseId: ID!\n $status: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsByCourseIdAndStatus(\n courseId: $courseId\n status: $status\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n courseId\n studentId\n\t studentName\n student{\n\t\t id\n firstName\n lastName\n email\n dob\n pronouns\n phoneMobile\n address1\n }\n createdAt\n lastName\n\t\t status\n sub\n updatedAt\n }\n nextToken\n }\n }\n`;\n\nexport const searchStudents = /* GraphQL */ `\n query SearchStudents(\n $filter: SearchableStudentFilterInput\n $sort: [SearchableStudentSortInput]\n $limit: Int\n $nextToken: String\n $from: Int\n $aggregates: [SearchableStudentAggregationInput]\n ) {\n searchStudents(\n filter: $filter\n sort: $sort\n limit: $limit\n nextToken: $nextToken\n from: $from\n aggregates: $aggregates\n ) {\n items {\n\t\tid\n email\n firstName\n lastName\n\t\tsub\n }\n nextToken\n total\n aggregateItems {\n name\n result {\n ... on SearchableAggregateScalarResult {\n value\n }\n ... on SearchableAggregateBucketResult {\n buckets {\n key\n doc_count\n }\n }\n }\n }\n }\n }\n`;\n\nexport const registrationsByStudentIdAndCourseId = /* GraphQL */ `\n query RegistrationsByStudentIdAndCourseId(\n $studentId: ID!\n $courseId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsByStudentIdAndCourseId(\n studentId: $studentId\n courseId: $courseId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n\t\tid\n }\n nextToken\n }\n }\n`;\n\nexport const getStudent = /* GraphQL */ `\n query GetStudent($id: ID!) {\n getStudent(id: $id) {\n id\n\t firstName\n lastName\n sub\n email\n }\n }\n`;\n\nexport const getRegistration = /* GraphQL */ `\n query GetRegistration($id: ID!) {\n getRegistration(id: $id) {\n id\n studentId\n student {\n email\n }\n }\n }\n`;\n\nexport const listSystems = /* GraphQL */ `\n query ListSystems(\n $id: ID\n $filter: ModelSystemFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listSystems(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n confirmationCancellationPolicy\n confirmationIntroduction\n qbOauthToken\n qbAccounts\n qbClasses\n qbDepositToAccount\n qbDonationItem\n qbDonationItemClass\n qbItems\n }\n nextToken\n }\n }\n`;\n\nexport const attendancesByClassId = /* GraphQL */ `\n query AttendancesByClassId(\n $classId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelAttendanceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n attendancesByClassId(\n classId: $classId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n classId\n studentId\n student{\n firstName\n lastName\n }\n createdAt\n status\n updatedAt\n }\n nextToken\n }\n }\n`;","export const createCourse = /* GraphQL */ `\n mutation CreateCourse(\n $input: CreateCourseInput!\n $condition: ModelCourseConditionInput\n ) {\n createCourse(input: $input, condition: $condition) {\n\t id\n instructorId\n instructor {\n\t\tid\n firstName\n lastName\n pronouns\n }\n termId\n term {\n\t\tid\n\t\tname\n startDate\n }\n assistantId\n assistant {\n\t\tid\n firstName\n lastName\n pronouns\n }\n classes {\n\t\titems {\n\t\t\tid\n\t\t\tdate\n\t\t\tday\n\t\t\tstartTime\n\t\t\tendTime\n\t\t}\n nextToken\n }\n\t registrations {\n\t\titems {\n\t\t\tid\n\t\t\tstatus\n\t\t}\n\t }\n rootCourseId\n rootCourse {\n name\n }\n createdAt\n updatedAt\n createdBy\n updatedBy\n registrationSlug\n firstClassDate\n classRepeatCount\n classRepeatInterval\n classRepeatType\n classDayTimes\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n numDropped\n numTransferred\n skillLevel\n startDate\n status\n studio\n timeOfDay\n suggestedContribution\n location\n ageLevel\n numSeats\n showInSearch\n donationAmount\n minimumRegistrations\n\t qbItem\n\t qbClass\n }\n }\n`;\nexport const updateCourse = /* GraphQL */ `\n mutation UpdateCourse(\n $input: UpdateCourseInput!\n $condition: ModelCourseConditionInput\n ) {\n updateCourse(input: $input, condition: $condition) {\n id\n instructorId\n instructor {\n\t\t id\n firstName\n lastName\n pronouns\n }\n termId\n term {\n id\n name\n startDate\n }\n assistantId\n assistant {\n\t\t id\n firstName\n lastName\n pronouns\n }\n classes {\n items {\n id\n date\n day\n startTime\n endTime\n }\n nextToken\n }\n\t registrations {\n items {\n id\n status\n }\n\t }\n rootCourseId\n rootCourse {\n name\n }\n createdAt\n updatedAt\n createdBy\n updatedBy\n registrationSlug\n firstClassDate\n classRepeatCount\n classRepeatInterval\n classRepeatType\n classDayTimes\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n numDropped\n numTransferred\n skillLevel\n startDate\n status\n studio\n timeOfDay\n suggestedContribution\n location\n ageLevel\n numSeats\n showInSearch\n donationAmount\n minimumRegistrations\n qbItem\n qbClass\n }\n }\n`;\n\nexport const deleteCourse = /* GraphQL */ `\n mutation DeleteCourse(\n $input: DeleteCourseInput!\n $condition: ModelCourseConditionInput\n ) {\n deleteCourse(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const batchCreateClasses = /* GraphQL */ `\n mutation BatchCreateClasses($classes: [CreateClassInput]) {\n batchCreateClasses(classes: $classes) {\n id\n courseId\n date\n day\n startTime\n endTime\n createdAt\n updatedAt\n }\n }\n`;\n\nexport const deleteClass = /* GraphQL */ `\n mutation DeleteClass(\n $input: DeleteClassInput!\n $condition: ModelClassConditionInput\n ) {\n deleteClass(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const createRegistration = /* GraphQL */ `\n mutation CreateRegistration(\n $input: CreateRegistrationInput!\n $condition: ModelRegistrationConditionInput\n ) {\n createRegistration(input: $input, condition: $condition) {\n id\n courseId\n studentId\n createdAt\n createdBy\n lastName\n sub\n updatedBy\n status\n updatedAt\n }\n }\n`;\n\nexport const createRegistrationReservation = /* GraphQL */ `\n\tmutation CreateRegistrationReservation(\n\t\t$input: CreateRegistrationReservationInput!\n\t\t$condition: ModelRegistrationReservationConditionInput\n\t) {\n\tcreateRegistrationReservation(input: $input, condition: $condition) {\n\t\tid\n\t\tcourseId\n\t\tstudentId\n\t\tmessageDuplicationId\n\t\tcreatedAt\n\t\tupdatedAt\n\t}\n}\n`;\n\nexport const createEmail = /* GraphQL */ `\n mutation CreateEmail(\n $input: CreateEmailInput!\n $condition: ModelEmailConditionInput\n ) {\n createEmail(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const createAttendance = /* GraphQL */ `\n mutation CreateAttendance(\n $input: CreateAttendanceInput!\n $condition: ModelAttendanceConditionInput\n ) {\n createAttendance(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const updateAttendance = /* GraphQL */ `\n mutation UpdateAttendance(\n $input: UpdateAttendanceInput!\n $condition: ModelAttendanceConditionInput\n ) {\n updateAttendance(input: $input, condition: $condition) {\n id\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { createTextVNode as _createTextVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vModelRadio as _vModelRadio, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = { class: \"grid grid-cols-3 m-6 gap-6\" }\nconst _hoisted_2 = { class: \"col-span-3 lg:col-span-1 w-full\" }\nconst _hoisted_3 = { class: \"bg-white\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"rounded-full bg-white w-1.5 h-1.5\" }, null, -1)\nconst _hoisted_5 = [\n _hoisted_4\n]\nconst _hoisted_6 = { class: \"ml-3 flex flex-col\" }\nconst _hoisted_7 = { class: \"mt-3\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-xl font-bold text-brand-500 mb-6\" }, \" Preview \", -1)\nconst _hoisted_9 = {\n key: 1,\n class: \"text-lg mb-4\"\n}\nconst _hoisted_10 = { class: \"grid grid-cols-10 mx-6 gap-4\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"hidden md:flex col-span-3 justify-center text-sm font-bold font-gotham text-gray-700 uppercase\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-red-500\" }, \"* \"),\n /*#__PURE__*/_createTextVNode(\"Suggested Contribution (Required)\")\n ])\n], -1)\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"hidden md:flex col-span-5 text-sm font-bold font-gotham text-gray-700 uppercase\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-red-500\" }, \"* \"),\n /*#__PURE__*/_createTextVNode(\"Display Message (Required)\")\n ])\n], -1)\nconst _hoisted_13 = { class: \"hidden md:flex col-span-2 items-center text-sm font-bold font-gotham text-gray-700 uppercase\" }\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-red-500\" }, \"* \"),\n /*#__PURE__*/_createTextVNode(\"Amount (Required)\")\n], -1)\nconst _hoisted_15 = { class: \"md:hidden col-span-10 flex items-center justify-between text-sm font-bold font-gotham text-gray-700 uppercase mt-6\" }\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"span\", null, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-red-500\" }, \"* \"),\n /*#__PURE__*/_createTextVNode(\"Donation Suggestion Amounts (Required)\")\n], -1)\nconst _hoisted_17 = { class: \"border-t pt-6 md:border-none w-full md:pt-3 col-span-10 md:col-span-3 md:flex md:justify-center\" }\nconst _hoisted_18 = { class: \"flex h-6 items-center\" }\nconst _hoisted_19 = [\"aria-describedby\", \"id\", \"disabled\", \"value\", \"checked\"]\nconst _hoisted_20 = [\"for\"]\nconst _hoisted_21 = { class: \"col-span-10 md:col-span-5\" }\nconst _hoisted_22 = { class: \"pb-3 md:pb-0 col-span-10 md:col-span-2 flex justify-between space-x-4 items-center w-full\" }\nconst _hoisted_23 = { class: \"w-full\" }\nconst _hoisted_24 = [\"onClick\"]\nconst _hoisted_25 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Delete\", -1)\nconst _hoisted_26 = { class: \"mx-6 md:mx-12 my-6 flex justify-between items-center\" }\n\nimport {\n\t\tBarsArrowUpIcon,\n\t\tTrashIcon\n\t} from '@heroicons/vue/20/solid'\n\n\timport { \n\t\tRadioGroup, \n\t\tRadioGroupDescription, \n\t\tRadioGroupLabel, \n\t\tRadioGroupOption \n\t} from '@headlessui/vue'\n\n\t// Mutations\n\timport {\n\t\tupdateCourse\n\t} from '../mutations'\n\n\t// API\n\timport api from '@/utilities/api'\n\t\n\timport { \n\t\tCourse as CourseType\n\t} from '@/API'\n\n\t// Vue\n\timport {\n\t\tonMounted, \n\t\tref\n\t} from 'vue'\t\n\n\tinterface openArtsMessage {\n\t\tactive: boolean,\n\t\tmessage: string,\n\t\tprice: number\n\t}\n\t\n\t// name the component\n\tconst __default__ = { name: \"CourseTuitionSettings\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n course: { default: () => {return {} as CourseType} }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\t// Component\n\tconst tuitionMessageData = ref([])\n\tconst openArtsInput = ref<{donationAmount:number, setDonationMessage:Function}|null>(null)\n\n\t\n\n\tconst settings = [\n\t\t{ name: 'This is an Open Arts class', description: 'Use suggested donation amounts below', value: 0 },\n\t\t{ name: 'This is a tuition based class', description: 'Enter a fixed price charge below', value: 1 }\n\t]\n\n\tconst selected = ref(settings[0])\n\tconst _course = ref(props.course)\n\tconst suggestedContribution = ref(String(_course.value.suggestedContribution || \"\") )\n\n\tonMounted( async () => {\n\t\ttry{\n\t\t\t\n\t\t\t// Select proper radio button\n\t\t\tif(_course?.value?.isOpenArtsOrTuition === 1) selected.value = settings[1]\n\t\t\t// parse Open Arts messages JSON string\n\t\t\ttuitionMessageData.value = JSON.parse(_course?.value?.openArtsConfig || \"[]\")\n\n\t\t\tsortData()\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t}\n\t})\n\n\t// const showSave = ref(false)\n\n\t// function showSaveButton(){\n\t// \tshowSave.value = true\n\t// }\n\n\t/**\n\t * To save the changes made on the tuition tab\n\t * @function tuitionSaveChanges\n\t */\n\tasync function tuitionSaveChanges() {\n\n\t\ttry {\n\t\t\tlet input = {\n\t\t\t\tid: _course.value.id,\n\t\t\t\topenArtsConfig: JSON.stringify(tuitionMessageData.value),\n\t\t\t\tisOpenArtsOrTuition: _course.value.isOpenArtsOrTuition,\n\t\t\t\ttuitionAmount: _course.value.tuitionAmount,\n\t\t\t\tsuggestedContribution: suggestedContribution.value\n\t\t\t}\n\n\t\t\tlet res:any = await api(updateCourse, { input } )\n\n\t\t\tif(res.errors) {\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\t// showSave.value = false\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t}\n\n\tfunction addDonationRow() {\n\t\ttuitionMessageData.value.push({ active: true, message: '', price: 0 })\n\t\t// showSave.value = true\n\t}\n\n\tfunction removeRow(index: number) {\n\t\ttuitionMessageData.value.splice(index, 1)\n\t\t// showSave.value = true\n\t}\n\n\tconst sortDirection = ref('ASC')\n\n\tfunction sortData(){\n\t\tif(sortDirection.value === 'ASC') {\n\t\t\ttuitionMessageData.value?.sort((a, b) => a.price - b.price)\n\t\t\tsortDirection.value = 'DESC'\n\t\t}\n\t\telse {\n\t\t\ttuitionMessageData.value?.sort((a, b) => b.price - a.price)\n\t\t\tsortDirection.value = 'ASC'\n\t\t}\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_slider = _resolveComponent(\"tw-slider\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_unref(RadioGroup), {\n modelValue: _course.value.isOpenArtsOrTuition,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_course.value.isOpenArtsOrTuition) = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(RadioGroupLabel), { class: \"sr-only\" }, {\n default: _withCtx(() => [\n _createTextVNode(\" Tuition Type \")\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(settings, (setting) => {\n return _createVNode(_unref(RadioGroupOption), {\n as: \"template\",\n key: setting.name,\n value: setting.value\n }, {\n default: _withCtx(({ checked, active }) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([checked ? 'border-brand-400 bg-brand-50' : 'border-gray-200', 'relative flex cursor-pointer border p-4 focus:outline-none'])\n }, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([checked ? 'bg-brand-400 border-transparent' : 'bg-white border-gray-300', active ? 'ring-2 ring-offset-2 ring-brand-600' : '', 'mt-2 h-4 w-4 shrink-0 cursor-pointer rounded-full border flex items-center justify-center']),\n \"aria-hidden\": \"true\"\n }, _hoisted_5, 2),\n _createElementVNode(\"span\", _hoisted_6, [\n _createVNode(_unref(RadioGroupLabel), {\n as: \"span\",\n class: _normalizeClass([checked ? 'text-brand-900' : 'text-gray-900', 'block text-sm font-medium'])\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(setting.name), 1)\n ]),\n _: 2\n }, 1032, [\"class\"]),\n _createVNode(_unref(RadioGroupDescription), {\n as: \"span\",\n class: _normalizeClass([checked ? 'text-brand-500' : 'text-gray-500', 'block text-sm'])\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(setting.description), 1)\n ]),\n _: 2\n }, 1032, [\"class\"])\n ])\n ], 2)\n ]),\n _: 2\n }, 1032, [\"value\"])\n }), 64))\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_tw_input, {\n modelValue: _course.value.tuitionAmount,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_course.value.tuitionAmount) = $event)),\n label: \"Tuition Amount\",\n required: true,\n type: \"number\",\n placeholder: \"Enter a tuition amount...\",\n disabled: !_course.value.isOpenArtsOrTuition,\n name: \"tuition-amount\",\n id: \"tuition-amount\"\n }, {\n leading_inline: _withCtx(() => [\n _createTextVNode(\" $ \")\n ]),\n _: 1\n }, 8, [\"modelValue\", \"disabled\"])\n ])\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"col-span-3 lg:col-span-2 border border-dashed border-brand-300 p-4\", {'opacity-50': _course.value.isOpenArtsOrTuition}])\n }, [\n _hoisted_8,\n (tuitionMessageData.value.length)\n ? (_openBlock(), _createBlock(_component_tw_slider, {\n key: 0,\n ref_key: \"openArtsInput\",\n ref: openArtsInput,\n \"tuition-message-data\": tuitionMessageData.value,\n \"default-donation-amount\": Number(suggestedContribution.value)\n }, null, 8, [\"tuition-message-data\", \"default-donation-amount\"]))\n : _createCommentVNode(\"\", true),\n (suggestedContribution.value)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_9, \" Suggested contribution: $\" + _toDisplayString(suggestedContribution.value), 1))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _hoisted_12,\n _createElementVNode(\"p\", _hoisted_13, [\n _hoisted_14,\n _createVNode(_unref(BarsArrowUpIcon), {\n onClick: sortData,\n class: _normalizeClass([\"h-5 w-5 ml-3 transition-all text-brand-500 cursor-pointer\", {'transform rotate-180': sortDirection.value === 'ASC'}]),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"])\n ]),\n _createElementVNode(\"p\", _hoisted_15, [\n _hoisted_16,\n _createVNode(_unref(BarsArrowUpIcon), {\n onClick: sortData,\n class: _normalizeClass([\"h-5 w-5 ml-3 transition-all text-brand-500 cursor-pointer\", {'transform rotate-180': sortDirection.value === 'ASC'}]),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tuitionMessageData.value, (donation, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: index }, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _withDirectives(_createElementVNode(\"input\", {\n \"aria-describedby\": 'suggested-contribution-' + donation.price + '-description',\n id: 'suggested-contribution-' + donation.price,\n name: 'suggested-contribution',\n type: \"radio\",\n disabled: _course.value.isOpenArtsOrTuition ? true : false,\n value: donation.price,\n checked: String(donation.price) === suggestedContribution.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((suggestedContribution).value = $event)),\n onChange: _cache[3] || (_cache[3] = () => {openArtsInput.value.donationAmount = Number(suggestedContribution.value);openArtsInput.value?.setDonationMessage()}),\n class: \"h-5 w-5 border-gray-300 text-brand-500 focus:ring-brand-500\"\n }, null, 40, _hoisted_19), [\n [_vModelRadio, suggestedContribution.value]\n ]),\n _createElementVNode(\"label\", {\n for: 'suggested-contribution-' + donation.price,\n class: \"ml-3 block text-sm font-gotham font-medium leading-6 text-gray-900 md:sr-only\"\n }, \" Suggested Contribution \", 8, _hoisted_20)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_tw_input, {\n modelValue: donation.message,\n \"onUpdate:modelValue\": ($event: any) => ((donation.message) = $event),\n disabled: _course.value.isOpenArtsOrTuition ? true : false\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_tw_input, {\n type: \"number\",\n disabled: _course.value.isOpenArtsOrTuition ? true : false,\n min: \"0\",\n id: 'donation-amount-' + index,\n modelValue: donation.price,\n \"onUpdate:modelValue\": ($event: any) => ((donation.price) = $event)\n }, {\n leading_inline: _withCtx(() => [\n _createTextVNode(\" $ \")\n ]),\n _: 2\n }, 1032, [\"disabled\", \"id\", \"modelValue\", \"onUpdate:modelValue\"])\n ]),\n _createElementVNode(\"div\", {\n onClick: ($event: any) => (removeRow(index))\n }, [\n _createVNode(_unref(TrashIcon), { class: \"h-5 text-red-500 cursor-pointer hover:text-red-400\" }),\n _hoisted_25\n ], 8, _hoisted_24)\n ])\n ], 64))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createVNode(_component_tw_button, {\n disabled: _course.value.isOpenArtsOrTuition ? true : false,\n onClick: addDonationRow,\n class: \"btn-base btn-brand\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Add Donation Amount \")\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n _createVNode(_component_tw_button, {\n onClick: tuitionSaveChanges,\n class: \"btn-base btn-brand\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n })\n ])\n ], 64))\n}\n}\n\n})","import script from \"./CourseTuitionSettings.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CourseTuitionSettings.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, vShow as _vShow, withDirectives as _withDirectives, withCtx as _withCtx, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"grid grid-cols-8 p-6 gap-6\" }\nconst _hoisted_2 = { class: \"col-span-8 lg:col-span-5 xl:col-span-3 flex flex-col justify-between\" }\nconst _hoisted_3 = { class: \"w-full\" }\nconst _hoisted_4 = { class: \"flex justify-start space-x-2 items-center mt-6\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"block text-sm font-medium font-gotham text-gray-700\" }, \" And is held every \", -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"block text-sm font-medium font-gotham text-gray-700\" }, \" for \", -1)\nconst _hoisted_7 = { class: \"block text-sm font-medium font-gotham text-gray-700\" }\nconst _hoisted_8 = { class: \"mt-6 w-full\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"block text-sm font-medium font-gotham text-gray-700 mb-2\" }, \" At the following times \", -1)\nconst _hoisted_10 = { class: \"w-60\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"block text-sm font-medium font-gotham text-gray-700 mx-2\" }, \" from \", -1)\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"block text-sm font-medium font-gotham text-gray-700 mx-2\" }, \" to \", -1)\nconst _hoisted_13 = { class: \"text-sm mt-4 mb-6\" }\nconst _hoisted_14 = { class: \"font-bold font-gothm\" }\nconst _hoisted_15 = { class: \"font-bold font-gotham\" }\nconst _hoisted_16 = { class: \"text-sm mt-4 mb-6\" }\nconst _hoisted_17 = { class: \"font-bold font-gothm\" }\nconst _hoisted_18 = { class: \"col-span-8 lg:col-span-3 flex flex-col justify-between\" }\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"h4\", { class: \"text-sm font-bold font-gotham text-gray-700 uppercase\" }, \" Class Schedule \", -1)\nconst _hoisted_20 = {\n key: 0,\n class: \"grid gap-x-6 grid-cols-2 grid-flow-col lg:grid-cols-1 lg:grid-flow-row xl:grid-cols-2 xl:grid-flow-col grid-rows-12\"\n}\nconst _hoisted_21 = { class: \"w-full\" }\nconst _hoisted_22 = { class: \"flex w-full justify-between -mb-1\" }\nconst _hoisted_23 = { class: \"font-bold font-gotham text-sm\" }\nconst _hoisted_24 = { class: \"text-xs\" }\nconst _hoisted_25 = { class: \"flex w-full justify-between text-xs\" }\nconst _hoisted_26 = { class: \"text-gray-700\" }\nconst _hoisted_27 = { class: \"text-gray-700\" }\nconst _hoisted_28 = [\"disabled\"]\nconst _hoisted_29 = /*#__PURE__*/_createElementVNode(\"span\", null, \" Add \", -1)\nconst _hoisted_30 = { class: \"block 2xl:flex 2xl:justify-start 2xl:space-x-2 2xl:items-end mt-4 xl:mt-2 w-full\" }\nconst _hoisted_31 = { class: \"flex justify-start space-x-2 items-end w-full\" }\nconst _hoisted_32 = { class: \"col-span-8 lg:col-span-2 flex flex-col justify-between\" }\nconst _hoisted_33 = { class: \"space-y-6\" }\n\nimport { \t\n\t\tcomputed,\n\t\tonMounted, \n\t\tref\n\t} from \"vue\"\n\n\t// api\n\timport api from '@/utilities/api'\n\n\timport {\n\t\tbatchCreateClasses,\n\t\tdeleteClass,\n\t\tupdateCourse\n\t} from '../mutations'\n\n\timport {\n\t\tbyInstructor\n\t} from '../queries'\n\t\n\timport { \n\t\tClass as ClassType,\n\t\tCourse as CourseType,\n\t\tStudent as StudentType\n\t} from '@/API'\n\n\t// Value Lists\n\timport {\n\t\tVL_TIME_OF_DAY_OPTIONS\n\t} from '@/utilities/valueLists.js'\n\n\ttype TDayOfWeek = \"Monday\"|\"Tuesday\"|\"Wednesday\"|\"Thursday\"|\"Friday\"|\"Saturday\"|\"Sunday\"\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"ClassScheduler\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n course: { default: () => {return {} as CourseType} },\n refreshCourse: { type: Function, default: () => {return} }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\t// vue\n\t\n\n\tconst _course = ref({} as CourseType)\n\n\tonMounted(() => {\n\t\t_course.value = {...props.course}\n\t\t// set schedule generator settings\n\t\tif(_course?.value?.classDayTimes) days.value = JSON.parse(_course?.value?.classDayTimes)\n\n\t\t// set classes\n\t\tclassSchedule.value = _course?.value?.classes?.items\n\t})\t\n\t\n\t// #region UI text\n\tconst lastClass = computed(() => {\n\t\tlet numClass = classSchedule.value.length\n\t\tif(!numClass) {\n\t\t\tlet dates:ClassType[] = []\n\t\t\tdates = scheduleCreation()\n\t\t\treturn dates.length == 0 ? \"\" : dates[dates.length - 1].date\n\t\t}\n\t\telse {\n\t\t\treturn classSchedule.value[numClass -1].date\n\t\t}\n\t});\n\t\n\n\tconst numClasses = computed(() => {\n\t\tlet dayCount = 0;\n\t\tdays?.value?.forEach(day => {\n\t\t\tif(day.value == true){\n\t\t\t\tdayCount++\n\t\t\t}\n\t\t})\n\t\treturn ((_course?.value?.classRepeatCount || 0) / (_course?.value?.classRepeatInterval || 1)) * dayCount\n\t})\n\n\tconst numClassesAdd = computed(() => {\n\t\tlet dates:ClassType[] = []\n\t\tdates = scheduleCreation()\n\t\treturn dates.length\n\t})\n\n\tconst generateScheduleButtonLabel = computed(() => {\n\t\tif(classSchedule.value.length) return \"Add to Class Schedule\"\n\t\telse return \"Create Class Schedule\"\n\t})\n\t// #endregion\n\n\n\t// #region class schedule generator\n\tconst dateToAdd = ref(\"\")\n\tconst startTimeToAdd = ref(\"\")\n\tconst endTimeToAdd = ref(\"\")\n\tconst classSchedule = ref([])\n\n\tconst days = ref([\n\t\t{id: 0, name: \"Sunday\", value: false, startTime: \"\", endTime: \"\"},\n\t\t{id: 1, name: \"Monday\", value: false, startTime: \"\", endTime: \"\"},\n\t\t{id: 2, name: \"Tuesday\", value: false, startTime: \"\", endTime: \"\"},\n\t\t{id: 3, name: \"Wednesday\", value: false, startTime: \"\", endTime: \"\"},\n\t\t{id: 4, name: \"Thursday\", value: false, startTime: \"\", endTime: \"\"},\n\t\t{id: 5, name: \"Friday\", value: false, startTime: \"\", endTime: \"\"},\n\t\t{id: 6, name: \"Saturday\", value: false, startTime: \"\", endTime: \"\"}\n\t])\n\n\tconst daysHeld = computed(() => {\n\t\treturn days.value.filter((day) => {\n\t\t\treturn day.value\n\t\t}).map((selectedDay) => {\n\t\t\treturn selectedDay.name\n\t\t})\n\t})\n\t\n\tconst dayNames:TDayOfWeek[] = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n\n\tlet timeRecurringOptions = [\n\t\t{label: 1, value: 1},\n\t\t{label: 2, value: 2},\n\t\t{label: 3, value: 3}\n\t]\n\tlet timeDurationOptions = [\n\t\t{label: 1, value: 1},\n\t\t{label: 2, value: 2},\n\t\t{label: 3, value: 3},\n\t\t{label: 4, value: 4},\n\t\t{label: 5, value: 5},\n\t\t{label: 6, value: 6},\n\t\t{label: 7, value: 7},\n\t\t{label: 8, value: 8},\n\t\t{label: 9, value: 9},\n\t\t{label: 10, value: 10}\n\t]\n\n\tlet timePeriodOptions = [\n\t\t{label: \"Week\", value: \"Week\"},\n\t\t{label: \"Month\", value: \"Month\"}\n\t]\n\n\tlet timeChoices = timeOptions();\n\n\t/**\n\t * Create the drop-down selections for time every 15 minutes. Value of the option is in ISO Time format.\n\t */\n\tfunction timeOptions() {\n var options = []\n const hours = ['06','07','08','09','10','11','12','13','14','15','16','17','18','19','20','21']\n const minutes = ['00','15','30','45']\n for(const hour of hours){\n for(const minute of minutes){\n let twelveTime = parseInt(hour) % 12\n if(twelveTime === 0) twelveTime = 12\n let amPm = parseInt(hour) > 11 ? 'PM': 'AM'\n\n options.push({ value: `${hour}:${minute}:00.000`, label: `${twelveTime}:${minute} ${amPm}`})\n }\n }\n return options\n }\n /**\n\t* Creates a schedule of classes based on user choices by first finding any date in a recurring week,\n\t* finding the beginning of that week, then adjusting forward for the chosen days\n\t* @return {Array} array of objects which contains the date, day, startTIme and endTime\n */\n function scheduleCreation(){\n\t\tlet dates:ClassType[] = []\n\t\tlet recurranceDay = 0\n\t\tlet recurranceMonth = 0\n\t\tlet beginDate = new Date(_course?.value?.firstClassDate);\t\n\n\t\tif(_course.value.classRepeatType == \"Week\"){\n\t\t\trecurranceDay = 7\n\t\t\trecurranceMonth = 0\n\n\t\t}\n\t\telse if(_course.value.classRepeatType == \"Month\"){\n\t\t\trecurranceDay = 0\n\t\t\trecurranceMonth = 1\n\t\t}\n\n\t\tfor(let i = 0 ; i < (_course?.value?.classRepeatCount || 0) ; i += (_course?.value?.classRepeatInterval || 1)){\n\t\t\tlet beginningOfWeek = new Date(\n\t\t\t\tbeginDate.getFullYear(), \n\t\t\t\tbeginDate.getMonth() + (recurranceMonth * i), \n\t\t\t\tbeginDate.getDate() + (recurranceDay * i) + 1\n\t\t\t)\n\t\t\tlet firstDay = beginningOfWeek.getDate() - beginningOfWeek.getDay();\n\t\t\tbeginningOfWeek.setDate(firstDay)\n\n\t\t\tdays.value.forEach(day => {\n\n\t\t\t\tif(day.value == true && beginDate <= new Date(beginningOfWeek.getFullYear(), beginningOfWeek.getMonth(), beginningOfWeek.getDate() + day.id)){\n\t\t\t\t\tlet classDate = new Date(\n\t\t\t\t\t\tbeginningOfWeek.getFullYear(),\n\t\t\t\t\t\tbeginningOfWeek.getMonth(),\n\t\t\t\t\t\tbeginningOfWeek.getDate()+ (day.id)\n\t\t\t\t\t)\n\n\t\t\t\t\tlet newClass = {} as ClassType\n\t\t\t\t\tObject.assign(newClass, {\n\t\t\t\t\t\tdate: classDate.toISOString().split('T')[0],\n\t\t\t\t\t\tday: dayNames[classDate.getDay()],\n\t\t\t\t\t\tstartTime: day.startTime,\n\t\t\t\t\t\tendTime: day.endTime\n\t\t\t\t\t})\n\n\t\t\t\t\t// check for exisitng class in schedule\n\t\t\t\t\tlet classExists = classSchedule.value.findIndex((_class) => {\n\t\t\t\t\t\treturn _class.date == newClass.date &&\n\t\t\t\t\t\t\t_class.startTime == newClass.startTime && \n\t\t\t\t\t\t\t_class.endTime == newClass.endTime\n\t\t\t\t\t})\n\n\t\t\t\t\tif(classExists < 0 ) dates.push(newClass)\n\t\t\t\t}\t\t\t\t\n\t\t\t})\n\t\t}\n\n\t\treturn dates\n }\n\n\t/**\n\t* runs the scheduler function and assigns it to the display variable, classSchedule\n\t*/\n\tfunction assignSchedule() {\n\t\tlet dates = scheduleCreation()\n\t\tif(dates.length) {\n\t\t\tdates.forEach((date) => {\n\t\t\t\tclassSchedule.value.push(date)\n\t\t\t})\n\t\t}\n\t\tclassSchedule.value.sort( (d1:any, d2:any) => (d1.date < d2.date)?-1:(d1.date > d2.date)?1:0)\n\n\t\t// update time of day field\n\t\tlet startTime = parseInt(classSchedule?.value[0]?.startTime?.split(\":\")[0] || \"00\")\n\t\tlet timeOfDay = ''\n\t\tif(startTime < 12) timeOfDay = 'Morning'\n\t\telse if(startTime >= 12 && startTime < 17) timeOfDay = \"Afternoon\"\n\t\telse timeOfDay = \"Evening\"\n\t\t_course.value.timeOfDay = timeOfDay\n\t}\n\n\t/**\n\t* removes the specified date from the schedule\n */\n async function removeDate(dateRemoved:ClassType, index:number){\n\n\t\t// remove from screen\n\t\tclassSchedule.value.splice(index, 1)\n\n\t\tif(dateRemoved.id) {\n\t\t\t// show confirmation\t\t\t\n\t\t\t\n\t\t\t// delete from database \n\t\t\ttry {\n\t\t\t\tlet input = {\n\t\t\t\t\tid: dateRemoved.id\n\t\t\t\t}\n\t\t\t\tawait api(deleteClass, {input})\n\t\t\t}\n\t\t\tcatch(error) {\n\t\t\t\tconsole.log(error)\n\t\t\t}\n\t\t}\n }\n\t/**\n\t* adds a date to the schedule\n */\t\n async function addNewDate(){\n\t\tlet newDate = new Date(dateToAdd.value)\n\t\tlet newClass = {} as ClassType\n\t\tObject.assign(newClass, {\n\t\t\tdate: newDate.toISOString().split('T')[0], \n\t\t\tday: dayNames[newDate.getDay()],\n\t\t\tstartTime: startTimeToAdd.value,\n\t\t\tendTime: endTimeToAdd.value\n\t\t})\n\n\t\t// check for exisitng class in schedule\n\t\tlet classExists = classSchedule.value.findIndex((_class) => {\n\t\t\treturn _class.date == newClass.date &&\n\t\t\t\t_class.startTime == newClass.startTime && \n\t\t\t\t_class.endTime == newClass.endTime\n\t\t})\n\n\t\tif(classExists < 0 ){\n\t\t\tclassSchedule.value.push(newClass)\n\t\t\tclassSchedule.value.sort( (d1:any, d2:any) => (d1.date < d2.date)?-1:(d1.date > d2.date)?1:0)\n\t\t}\n } \n\t// #endregion\n\n\n\t// #region save changes\n\n\t/**\n\t * To save the changes made on the scheduling tab\n\t * @function save\n\t */\n\tasync function save() {\n\t\ttry {\n\n\t\t\t// get sub of instructor so they can edit course notes\n\t\t\tlet instructorSub = teachingArtists.value.find((ta) => {\n\t\t\t\treturn ta.id === _course.value.instructorId\n\t\t\t})?.sub\n\t\t\t\n\n\t\t\tlet input = {\n\t\t\t\tid: _course.value.id,\n\t\t\t\tfirstClassDate: _course.value.firstClassDate,\n\t\t\t\tclassRepeatCount: _course.value.classRepeatCount,\n\t\t\t\tclassRepeatType: _course.value.classRepeatType,\n\t\t\t\tclassRepeatInterval: _course.value.classRepeatInterval,\n\t\t\t\tinstructorId: _course.value.instructorId == '' ? null : _course.value.instructorId,\n\t\t\t\tinstructorSub: instructorSub,\n\t\t\t\tassistantId: _course.value.assistantId,\n\t\t\t\tclassDayTimes: JSON.stringify(days.value),\n\t\t\t\ttimeOfDay: _course.value.timeOfDay,\n\t\t\t\tstartTime: classSchedule.value[0]?.startTime,\n\t\t\t\tstartDate: classSchedule.value[0]?.date,\n\t\t\t\tendTime: classSchedule.value[0]?.endTime,\n\t\t\t\tendDate: classSchedule.value[classSchedule.value.length - 1]?.date,\n\t\t\t\tdayOfWeek: daysHeld.value.join(\", \")\n\t\t\t}\n\n\t\t\tlet res:any = await api(updateCourse, { input } )\n\n\t\t\tif(res.errors) {\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\t// batch create courses\n\t\t\tlet classes = classSchedule.value.filter((_class) => {\n\t\t\t\treturn !_class.id\n\t\t\t})\n\t\t\t.map((_class) => {\n\t\t\t\treturn {\n\t\t\t\t\tcourseId: _course.value.id,\n\t\t\t\t\tdate: _class.date,\n\t\t\t\t\tday: _class.day,\n\t\t\t\t\tstartTime: _class.startTime,\n\t\t\t\t\tendTime: _class.endTime\n\t\t\t\t}\n\t\t\t})\n\t\t\tif(classes.length > 0) {\n\t\t\t\tres = await api(batchCreateClasses, {classes})\n\t\n\t\t\t\tif(res.errors) {\n\t\t\t\t\tlet error = res.errors[0].message\n\t\t\t\t\tthrow error\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tdateToAdd.value = ''\n\t\t\tstartTimeToAdd.value = ''\n\t\t\tendTimeToAdd.value = ''\n\t\t\tawait props.refreshCourse(true)\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t}\n\t// #endregion\n\n\n\t// #region teaching artists\n\tlet teachingArtistsOptions = ref<{label: string, value: string}[]>([])\n\tlet teachingArtists = ref([])\n\n\tlet teachingArtistsPronouns = computed(() => {\n\t\treturn !_course.value.instructorId ? '' : teachingArtists.value.find((ta) => {\n\t\t\treturn ta.id === _course.value.instructorId\n\t\t})?.pronouns\n\t})\n\n\tlet teachingAssistantsPronouns = computed(() => {\n\t\treturn !_course.value.assistantId ? '' : teachingArtists.value.find((ta) => {\n\t\t\treturn ta.id === _course.value.assistantId\n\t\t})?.pronouns\n\t})\n\tasync function getTeachingArtists() {\n\t\tlet input = {\n\t\t\tisInstructor: 1\n\t\t}\n\t\tlet res: any = await api(byInstructor, input)\n\t\tteachingArtists.value = res?.data?.byInstructor?.items\n\n\t\tteachingArtistsOptions.value = teachingArtists.value.map((ta) => {\n\t\t\treturn {\n\t\t\t\tvalue: ta.id,\n\t\t\t\tlabel: ta.firstName + \" \" + ta.lastName\n\t\t\t}\n\t\t})\n\n\t}\n\tgetTeachingArtists()\n\t// #endregion\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_checkbox = _resolveComponent(\"tw-checkbox\")!\n const _component_ArrowRightIconMini = _resolveComponent(\"ArrowRightIconMini\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_XMarkIconMini = _resolveComponent(\"XMarkIconMini\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_tw_input, {\n modelValue: _course.value.firstClassDate,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_course.value.firstClassDate) = $event)),\n label: \"This Course's first class is on\",\n required: true,\n type: \"date\",\n name: \"start-date\",\n id: \"start-date\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_tw_select, {\n class: \"w-16 flex-none\",\n options: _unref(timeRecurringOptions),\n modelValue: _course.value.classRepeatInterval,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_course.value.classRepeatInterval) = $event))\n }, null, 8, [\"options\", \"modelValue\"]),\n _createVNode(_component_tw_select, {\n class: \"w-30\",\n options: _unref(timePeriodOptions),\n modelValue: _course.value.classRepeatType,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_course.value.classRepeatType) = $event))\n }, null, 8, [\"options\", \"modelValue\"]),\n _hoisted_6,\n _createVNode(_component_tw_select, {\n class: \"w-20\",\n options: _unref(timeDurationOptions),\n modelValue: _course.value.classRepeatCount,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_course.value.classRepeatCount) = $event))\n }, null, 8, [\"options\", \"modelValue\"]),\n _createElementVNode(\"p\", _hoisted_7, _toDisplayString(_course.value.classRepeatType) + \"(s) \", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(days.value, (day) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"flex justify-start space-x-2 items-center\",\n key: day.name\n }, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_tw_checkbox, {\n label: day.name,\n modelValue: day.value,\n \"onUpdate:modelValue\": ($event: any) => ((day.value) = $event),\n id: day.name,\n ref_for: true,\n ref: day.name\n }, null, 8, [\"label\", \"modelValue\", \"onUpdate:modelValue\", \"id\"])\n ]),\n _hoisted_11,\n _createVNode(_component_tw_select, {\n options: _unref(timeChoices),\n modelValue: day.startTime,\n \"onUpdate:modelValue\": ($event: any) => ((day.startTime) = $event),\n placeholder: \"Select...\",\n class: \"w-24 md:w-32 flex-none\"\n }, null, 8, [\"options\", \"modelValue\", \"onUpdate:modelValue\"]),\n _hoisted_12,\n _createVNode(_component_tw_select, {\n options: _unref(timeChoices),\n modelValue: day.endTime,\n \"onUpdate:modelValue\": ($event: any) => ((day.endTime) = $event),\n placeholder: \"Select...\",\n class: \"w-24 md:w-32 flex-none\"\n }, null, 8, [\"options\", \"modelValue\", \"onUpdate:modelValue\"])\n ]))\n }), 128)),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", _hoisted_13, [\n _createTextVNode(\" This course will have \"),\n _createElementVNode(\"span\", _hoisted_14, _toDisplayString(numClasses.value), 1),\n _createTextVNode(\" classes. The last class will be held on \"),\n _createElementVNode(\"span\", _hoisted_15, _toDisplayString(_ctx.$filters.formatDate(lastClass.value)), 1)\n ])\n ], 512), [\n [_vShow, classSchedule.value.length < 1]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", _hoisted_16, [\n _createTextVNode(\" This will add \"),\n _createElementVNode(\"span\", _hoisted_17, _toDisplayString(numClassesAdd.value), 1),\n _createTextVNode(\" classes to this course. \")\n ])\n ], 512), [\n [_vShow, classSchedule.value.length > 0]\n ])\n ])\n ]),\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-brand w-42 px-4\",\n onClick: assignSchedule\n }, {\n icon_right: _withCtx(() => [\n _createVNode(_component_ArrowRightIconMini)\n ]),\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(generateScheduleButtonLabel.value) + \" \", 1)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"div\", null, [\n _hoisted_19,\n (classSchedule.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(classSchedule.value, (_class, idx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: idx,\n class: \"sm:border-r-2 sm:pr-1 py-1 col-span-1 row-span-1 flex justify-between items-start space-x-1\"\n }, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"p\", _hoisted_23, _toDisplayString(_ctx.$filters.formatDate(_class.date)), 1),\n _createElementVNode(\"p\", _hoisted_24, _toDisplayString(_ctx.$filters.convertTime(_class.startTime)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"p\", _hoisted_26, _toDisplayString(_class.day), 1),\n _createElementVNode(\"p\", _hoisted_27, _toDisplayString(_ctx.$filters.convertTime(_class.endTime)), 1)\n ])\n ]),\n _createVNode(_component_XMarkIconMini, {\n class: \"flex-none w-5 h-5 cursor-pointer text-black hover:text-red-500 -mt-0.5\",\n onClick: ($event: any) => (removeDate(_class, idx))\n }, null, 8, [\"onClick\"])\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", {\n disabled: !classSchedule.value.length,\n class: \"float-right flex space-x-1 mt-4 xl:mt-2 -mb-4 link text-sm font-bold font-gotham\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (addNewDate()))\n }, [\n _hoisted_29,\n _createVNode(_component_ArrowRightIconMini, { class: \"h-5 w-5\" })\n ], 8, _hoisted_28),\n _createElementVNode(\"div\", _hoisted_30, [\n _createVNode(_component_tw_input, {\n modelValue: dateToAdd.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((dateToAdd).value = $event)),\n label: \"Add a class date\",\n type: \"date\",\n name: \"add-date\",\n disabled: !classSchedule.value.length,\n id: \"add-date\",\n class: \"w-full\"\n }, null, 8, [\"modelValue\", \"disabled\"]),\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"p\", {\n class: _normalizeClass([{'opacity-50': !classSchedule.value.length}, \"block text-sm font-medium font-gotham text-gray-700 mr-2 md:mx-2 pb-2\"])\n }, \" from \", 2),\n _createVNode(_component_tw_select, {\n options: _unref(timeChoices),\n modelValue: startTimeToAdd.value,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((startTimeToAdd).value = $event)),\n disabled: !classSchedule.value.length,\n placeholder: \"Select...\",\n class: \"w-full 2xl:flex-none 2xl:w-32\"\n }, null, 8, [\"options\", \"modelValue\", \"disabled\"]),\n _createElementVNode(\"p\", {\n class: _normalizeClass([{'opacity-50': !classSchedule.value.length}, \"block text-sm font-medium font-gotham text-gray-700 mx-2 pb-2\"])\n }, \" to \", 2),\n _createVNode(_component_tw_select, {\n options: _unref(timeChoices),\n modelValue: endTimeToAdd.value,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((endTimeToAdd).value = $event)),\n disabled: !classSchedule.value.length,\n placeholder: \"Select...\",\n class: \"w-full 2xl:flex-none 2xl:w-32\"\n }, null, 8, [\"options\", \"modelValue\", \"disabled\"])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n _createElementVNode(\"div\", _hoisted_33, [\n _createVNode(_component_tw_select, {\n label: \"Teaching artist\",\n options: _unref(teachingArtistsOptions),\n modelValue: _course.value.instructorId,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_course.value.instructorId) = $event)),\n clearable: \"\",\n help: _unref(teachingArtistsPronouns)\n }, null, 8, [\"options\", \"modelValue\", \"help\"]),\n _createVNode(_component_tw_select, {\n label: \"Teaching assistant\",\n options: _unref(teachingArtistsOptions),\n modelValue: _course.value.assistantId,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_course.value.assistantId) = $event)),\n clearable: \"\",\n help: _unref(teachingAssistantsPronouns)\n }, null, 8, [\"options\", \"modelValue\", \"help\"]),\n _createVNode(_component_tw_select, {\n label: \"Time of Day\",\n options: _unref(VL_TIME_OF_DAY_OPTIONS),\n modelValue: _course.value.timeOfDay,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_course.value.timeOfDay) = $event)),\n clearable: \"\"\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _createVNode(_component_tw_button, {\n onClick: save,\n class: \"btn-base btn-brand mt-3\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./ClassScheduler.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ClassScheduler.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"p-6\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"course-links\",\n class: \"mb-1 block text-sm font-bold font-gotham text-gray-700 uppercase\"\n}, \" Course Links \", -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"teaching-artist-notes\",\n class: \"mb-1 block text-sm font-bold font-gotham text-gray-700 uppercase mt-8\"\n}, \" Notes \", -1)\n\nimport {\n\t\tupdateCourse\n\t} from '../mutations'\n\n\t// API\n\timport api from '@/utilities/api'\n\t\n\timport { \n\t\tCourse as CourseType\n\t} from '@/API'\n\n\t// quill\n\timport { \n\t\tQuillEditor\n\t} from '@vueup/vue-quill'\n\n\t// vue\n\timport {\n\t\tref,\n\t\tonMounted\n\t} from 'vue'\n\t\n\t\n\t// name the component\n\tconst __default__ = { name: \"ConfirmationLetterSettings\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n course: { default: () => {return {} as CourseType} }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\t// Mutations\n\t\n\n\t// const showSave = ref(false)\n\n\tconst editorOptions = ref({\n\t\ttheme: 'snow'\n\t})\n\t\n\t// function showSaveButton(){\n\t// \tshowSave.value = true\n\t// }\n\n\tconst _course = ref({} as CourseType)\n\n\tonMounted(() => {\n\t\t_course.value = props.course\n\t})\n\n\t/**\n\t * To save the changes made on the Confirmation Letter tab\n\t */\n\tasync function confirmationLetterSaveChanges(){\n\t\ttry {\n\t\t\tlet input = {\n\t\t\t\tid: _course.value.id,\n\t\t\t\tconfirmationNotes: _course.value.confirmationNotes,\n\t\t\t\tconfirmationLinks: _course.value.confirmationLinks\n\t\t\t}\n\t\t\tlet res = await api(updateCourse, { input } )\n\n\t\t\tif(res.errors){\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\t// showSave.value = false\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_tw_button, {\n onClick: confirmationLetterSaveChanges,\n class: \"btn-base btn-brand mb-4\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n }),\n _hoisted_2,\n _createVNode(_unref(QuillEditor), {\n class: \"h-52\",\n id: \"course-links\",\n name: \"course-links\",\n options: editorOptions.value,\n \"content-type\": \"html\",\n content: _course.value.confirmationLinks,\n \"onUpdate:content\": _cache[0] || (_cache[0] = ($event: any) => ((_course.value.confirmationLinks) = $event))\n }, null, 8, [\"options\", \"content\"]),\n _hoisted_3,\n _createVNode(_unref(QuillEditor), {\n class: \"h-52\",\n id: \"teaching-artist-notes\",\n name: \"teaching-artist-notes\",\n options: editorOptions.value,\n \"content-type\": \"html\",\n content: _course.value.confirmationNotes,\n \"onUpdate:content\": _cache[1] || (_cache[1] = ($event: any) => ((_course.value.confirmationNotes) = $event))\n }, null, 8, [\"options\", \"content\"])\n ]))\n}\n}\n\n})","import script from \"./ConfirmationLetterSettings.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ConfirmationLetterSettings.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, withModifiers as _withModifiers, createTextVNode as _createTextVNode, unref as _unref, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"p-6 space-y-6\" }\nconst _hoisted_2 = { class: \"grid grid-cols-8 gap-6\" }\nconst _hoisted_3 = { class: \"col-span-2\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h4\", { class: \"text-sm font-bold text-gray-700 font-gotham uppercase mb-6\" }, \" Course Photo \", -1)\nconst _hoisted_5 = { class: \"flex flex-col justify-start\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = { class: \"p-16\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 block text-sm font-medium text-gray-900\" }, \" Drop file here or click to choose \", -1)\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex w-full justify-start\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"block text-xs mt-1 font-medium text-gray-700 text-center w-56\" }, \" Accepted files types: .jpg, .gif, .png. Max file size: 20 MB. \")\n], -1)\nconst _hoisted_11 = { class: \"col-span-3 space-y-6\" }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"add-date\",\n class: \"text-sm font-bold text-gray-700 font-gotham uppercase\"\n}, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-sm text-red-500\" }, \"*\"),\n /*#__PURE__*/_createTextVNode(\" Open Online Registration Date & Time (Required) \")\n], -1)\nconst _hoisted_13 = { class: \"flex justify-start space-x-2 items-center\" }\nconst _hoisted_14 = { class: \"col-span-3\" }\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"course-description\",\n class: \"text-sm font-bold text-gray-700 font-gotham uppercase\"\n}, \" Course Description \", -1)\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"supply-list\",\n class: \"text-sm font-bold text-gray-700 font-gotham uppercase\"\n}, \" Supply List \", -1)\n\nimport { \n\t\tonMounted,\n\t\tref\n\t} from \"vue\"\n\n\t// amplify\n\timport { \n\t\tStorage\n\t} from \"aws-amplify\"\n\n\t// api\n\timport {\n\t\tCourse as CourseType,\n\t\tRootCourse as RootCourseType,\n\t\tTerm as TermType\n\t} from '@/API'\n\n\timport {\n\t\tupdateCourse\n\t} from '../mutations'\n\n\timport {\n\t\tlistRootCourses,\n\t\tlistTerms\n\t} from '../queries'\n\n\timport api from '@/utilities/api'\n\timport queryAll from \"@/utilities/queryAll.js\"\n\n\t// quill\n\timport { \n\t\tQuillEditor\n\t} from '@vueup/vue-quill'\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"OnlineRegistration\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n course: { default: () => {return {} as CourseType} }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\t// vue\n\t\n\n\tconst _course = ref({} as CourseType)\n\t\n\tconst loading = ref(false)\n\tconst dateToStart = ref(\"\")\n\tconst timeToStart = ref(\"\")\n\tconst s3PhotoUrl = ref(\"\")\n\tlet timeChoices = ref(timeOptions())\n\n\tfunction timeOptions() {\n var options = []\n const hours = ['06','07','08','09','10','11','12','13','14','15','16','17','18','19','20']\n const minutes = ['00','15','30','45']\n for(const hour of hours){\n for(const minute of minutes){\n let twelveTime = parseInt(hour) % 12\n if(twelveTime === 0) twelveTime = 12\n let amPm = parseInt(hour) > 11 ? 'PM': 'AM'\n\n options.push({ value: `${hour}:${minute}:00.000`, label: `${twelveTime}:${minute} ${amPm}`})\n }\n }\n return options\n }\n\n\tconst editorOptions = ref({\n\t\ttheme: 'snow'\n\t})\n\n\t// #region file upload\n\tconst removeImage = () => {\n\t\tcourseImage.value = undefined\n\t\tfile.value = File\n\t\tfileInput.value = null\n\t\ts3PhotoUrl.value = \"\"\n\t\t_course.value.image = \"\"\n\t}\n\n\tconst triggerImageUpload = () => {\n\t\tif (!imageUploadRef?.value) return\n\t\timageUploadRef.value.click()\n\t}\n\n\tconst courseImage = ref()\n\tconst imageUploadRef = ref()\n\tconst drop = ref(null)\n\tconst isOver = ref(false)\n\tconst file = ref(File)\n\tconst fileInput = ref(null)\n\tonMounted( async () => { \n try{\n\t\t\t// add drag and drop event listeners\n drop.value?.addEventListener(\"dragover\", () => {\n isOver.value = true\n })\n drop.value?.addEventListener(\"drop\", (e) => {\n isOver.value = false\n fileUpload(e)\n })\n drop.value?.addEventListener(\"dragleave\", () => {\n isOver.value = false\n })\n\t\t\t\n\t\t\t_course.value = {...props.course}\n\n\t\t\t// format registration open time\n\t\t\tlet openDate = _course.value.registrationOpenTime?.split('T')[0] \n\t\t\tlet openTime = _course.value.registrationOpenTime?.split('T')[1].split('-')[0]\n\t\t\tdateToStart.value = openDate\n\t\t\ttimeToStart.value = openTime\n\n\t\t\t// get s3 image URL\n\t\t\tif(_course.value.image) {\n\t\t\t\ts3PhotoUrl.value = await Storage.get(_course.value.image)\n\t\t\t}\n }\n\t\tcatch(e) {\n console.log(e)\n }\n })\n\n\t/**\n * Validates file type and reads file\n * @function fileUpload\n * @param {Object} e - drop event\n */\n function fileUpload(e: any){\n try {\n isOver.value = false\n fileInput.value = e.target.files || e.dataTransfer.files\n file.value = fileInput.value['0']\n\t\t\t\n const re = new RegExp(/^.+\\.(jpg|jpeg|gif|png)$/, 'g')\n const acceptedFileType = re.test(file.value.name.toLowerCase())\n if(!acceptedFileType){\n alert(\"Unaccepted file type\")\n\t\t\t\tthrow(\"Unaccepted file type\")\n }\n\t\t\tconst reader = new FileReader()\n\t\t\treader.readAsDataURL(file.value)\n\t\t\treader.onload = e => {\n\t\t\t\tcourseImage.value = e?.target?.result\n\t\t\t}\n }\n\t\tcatch(err) {\n console.log(err)\n }\n }\n\t// #endregion\n\n\t// #region save changes\n\t// const showSave = ref(false)\n\n\t// function showSaveButton(){\n\t// \tshowSave.value = true\n\t// }\n\n\t/**\n\t * To save the changes made on the online registration tab\n\t * @function save\n\t */\n\tasync function save() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\t// upload image to s3\n\t\t\tif(courseImage.value) {\n\t\t\t\tlet currentTstamp = Date.now()\n\t\t\t\tvar fileName = file.value.name\n\t\t\t\tlet s3Key = 'courseImages/' + currentTstamp + '/' + fileName\n\t\t\t\tawait Storage.put(s3Key, file.value)\n\t\t\t\t_course.value.image = s3Key\n\t\t\t}\n\n\t\t\t// determine offset\n\t\t\tlet registrationDate = new Date(dateToStart.value)\n\t\t\tconst offsetGmt = getTimezoneOffset(registrationDate, \"America/Chicago\")\n\t\t\tlet offset\n\t\t\tif(offsetGmt === 'GMT-5') offset = '-05:00'\n\t\t\telse if(offsetGmt === 'GMT-6') offset = '-06:00'\n\t\t\telse offset = '-05:00'\n\n\t\t\tlet input = {\n\t\t\t\tid: _course.value.id,\n\t\t\t\ttermId: _course.value.termId,\n\t\t\t\trootCourseId: _course.value.rootCourseId,\n\t\t\t\tdescription: _course.value.description,\n\t\t\t\tsupplyList: _course.value.supplyList,\n\t\t\t\timage: _course.value.image,\n\t\t\t\timageDescription: _course.value.imageDescription,\n\t\t\t\tregistrationOpenTime: `${dateToStart.value}T${timeToStart.value}${offset}` // format registration open time\n\t\t\t}\n\n\t\t\t// update course\n\t\t\tawait api(updateCourse, { input })\n\n\t\t\t// showSave.value = false\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tfunction getTimezoneOffset(date:Date, loc:string) {\n\t\treturn new Intl.DateTimeFormat('en-US', { timeZone: loc, timeZoneName: \"shortOffset\" })\n\t\t\t.formatToParts(date)\n\t\t\t.filter(e => e.type === \"timeZoneName\")[0].value\n\t}\n\t// #endregion\n\n\tconst terms = ref([])\n\tconst termOptions = ref<{label: string, value: string}[]>([])\n\tconst fetchTerms = async () => {\n\t\tterms.value = await queryAll(listTerms, {}, \"listTerms\")\n\n\t\ttermOptions.value = terms.value.map((term:TermType) => {\n\t\t\treturn {\n\t\t\t\tlabel: String(term.name),\n\t\t\t\tvalue: term.id\n\t\t\t}\n\t\t})\n\t}\n\n\tconst rootCourses = ref([])\n\tconst rootCourseOptions = ref<{label: string, value: string}[]>([])\n\tconst fetchRootCourses = async () => {\n\t\trootCourses.value = await queryAll(listRootCourses, {}, \"listRootCourses\")\n\n\t\trootCourseOptions.value = rootCourses.value.map((rootCourse:RootCourseType) => {\n\t\t\treturn {\n\t\t\t\tlabel: String(rootCourse.name),\n\t\t\t\tvalue: rootCourse.id\n\t\t\t}\n\t\t})\n\t}\n\n\tfetchTerms()\n\tfetchRootCourses()\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_DocumentArrowUpIcon = _resolveComponent(\"DocumentArrowUpIcon\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _withDirectives(_createElementVNode(\"div\", _hoisted_5, [\n (courseImage.value)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: courseImage.value,\n class: \"object-cover h-56 w-56\"\n }, null, 8, _hoisted_6))\n : (s3PhotoUrl.value)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: s3PhotoUrl.value,\n class: \"object-cover h-56 w-56\"\n }, null, 8, _hoisted_7))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", { class: \"flex justify-center w-56 items-center divide-x mt-4\" }, [\n _createElementVNode(\"button\", {\n onClick: removeImage,\n class: \"text-gray-500 font-bold pr-2\"\n }, \" Remove \"),\n _createElementVNode(\"button\", {\n onClick: triggerImageUpload,\n class: \"text-brand-500 font-bold pl-2\"\n }, \" Change \")\n ])\n ], 512), [\n [_vShow, courseImage.value || s3PhotoUrl.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", {\n class: \"stealthFileContainer\",\n ref_key: \"drop\",\n ref: drop,\n onDragover: _cache[1] || (_cache[1] = _withModifiers(() => {}, [\"prevent\"])),\n onDrop: _cache[2] || (_cache[2] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n _createElementVNode(\"label\", {\n for: \"FileUpload\",\n class: _normalizeClass([{'border-solid' : !file.value, 'border-dashed' : file.value}, \"h-56 w-56 flex-none fileContainer relative border-2 border-gray-300 rounded-sm text-center hover:border-gray-400 cursor-pointer box-content flex justify-start align-middle\"])\n }, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_DocumentArrowUpIcon, {\n \"aria-hidden\": \"true\",\n class: \"mx-auto h-12 w-12 text-brand-500\"\n }),\n _hoisted_9\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"h-full w-full absolute top-0 left-0 text-white text-3xl p-16\", {'bg-gray-400 opacity-100 bg-opacity-90 rounded-sm z-20': isOver.value, 'z-0 opacity-0 ': !isOver.value}])\n }, \" Drop file here \", 2),\n _createElementVNode(\"input\", {\n type: \"file\",\n id: \"FileUpload\",\n name: \"upload\",\n accept: \".jpg, .gif, .png, .pdf\",\n onChange: _cache[0] || (_cache[0] = ($event: any) => (fileUpload($event))),\n class: \"hidden h-56 w-56\",\n ref_key: \"imageUploadRef\",\n ref: imageUploadRef\n }, null, 544)\n ], 2),\n _hoisted_10\n ], 544), [\n [_vShow, !courseImage.value && !s3PhotoUrl.value]\n ]),\n _createVNode(_component_tw_input, {\n label: \"Course Photo Description\",\n class: \"mt-10\",\n placeholder: \"Alt text for photo\",\n modelValue: _course.value.imageDescription,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_course.value.imageDescription) = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", null, [\n _hoisted_12,\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_tw_input, {\n modelValue: dateToStart.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((dateToStart).value = $event)),\n type: \"date\",\n name: \"add-date\",\n id: \"add-date\",\n class: \"w-52\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_select, {\n options: _unref(timeChoices),\n modelValue: timeToStart.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((timeToStart).value = $event)),\n class: \"w-38\"\n }, null, 8, [\"options\", \"modelValue\"])\n ])\n ]),\n _createVNode(_component_tw_select, {\n label: \"Term\",\n id: \"term\",\n required: \"\",\n options: termOptions.value,\n modelValue: _course.value.termId,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_course.value.termId) = $event)),\n class: \"w-full\"\n }, null, 8, [\"options\", \"modelValue\"]),\n _createVNode(_component_tw_select, {\n label: \"Root Course\",\n id: \"root-course\",\n options: rootCourseOptions.value,\n modelValue: _course.value.rootCourseId,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_course.value.rootCourseId) = $event)),\n class: \"w-full\"\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_tw_button, {\n disabled: loading.value,\n loading: loading.value,\n class: \"btn-base btn-brand w-36 md:w-40\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (save()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_15,\n _createVNode(_unref(QuillEditor), {\n class: \"h-52\",\n id: \"course-description\",\n name: \"course-description\",\n \"content-type\": \"html\",\n options: editorOptions.value,\n content: _course.value.description,\n \"onUpdate:content\": _cache[9] || (_cache[9] = ($event: any) => ((_course.value.description) = $event))\n }, null, 8, [\"options\", \"content\"])\n ]),\n _createElementVNode(\"div\", null, [\n _hoisted_16,\n _createVNode(_unref(QuillEditor), {\n id: \"supply-list\",\n name: \"supply-list\",\n class: \"h-52\",\n \"content-type\": \"html\",\n options: editorOptions.value,\n content: _course.value.supplyList,\n \"onUpdate:content\": _cache[10] || (_cache[10] = ($event: any) => ((_course.value.supplyList) = $event))\n }, null, 8, [\"options\", \"content\"])\n ])\n ]))\n}\n}\n\n})","import script from \"./OnlineRegistration.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./OnlineRegistration.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","/* tslint:disable */\n/* eslint-disable */\n// This file was automatically generated and should not be edited.\n\nexport type CreateClassInput = {\n id?: string | null,\n courseId: string,\n date?: string | null,\n day?: string | null,\n startTime?: string | null,\n endTime?: string | null,\n};\n\nexport type Class = {\n __typename: \"Class\",\n id: string,\n courseId: string,\n course?: Course | null,\n attendance?: ModelAttendanceConnection | null,\n createdAt: string,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n updatedAt: string,\n};\n\nexport type Course = {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n assistant?: Student | null,\n classes?: ModelClassConnection | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n instructor?: Student | null,\n termId?: string | null,\n term?: Term | null,\n registrations?: ModelRegistrationConnection | null,\n rootCourseId?: string | null,\n rootCourse?: RootCourse | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n};\n\nexport type Student = {\n __typename: \"Student\",\n id: string,\n registrations?: ModelRegistrationConnection | null,\n children?: ModelRelatedStudentConnection | null,\n parents?: ModelRelatedStudentConnection | null,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n};\n\nexport type ModelRegistrationConnection = {\n __typename: \"ModelRegistrationConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Registration = {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n course?: Course | null,\n studentId: string,\n student?: Student | null,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n};\n\nexport enum RegistrationStatus {\n Dropped = \"Dropped\",\n Pending = \"Pending\",\n Registered = \"Registered\",\n Transferred = \"Transferred\",\n Waitlisted = \"Waitlisted\",\n}\n\n\nexport type ModelRelatedStudentConnection = {\n __typename: \"ModelRelatedStudentConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type RelatedStudent = {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n parent?: Student | null,\n child?: Student | null,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n};\n\nexport type ModelClassConnection = {\n __typename: \"ModelClassConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Term = {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n};\n\nexport type RootCourse = {\n __typename: \"RootCourse\",\n id: string,\n courses?: ModelCourseConnection | null,\n latestTermId?: string | null,\n latestTerm?: Term | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n};\n\nexport type ModelCourseConnection = {\n __typename: \"ModelCourseConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelAttendanceConnection = {\n __typename: \"ModelAttendanceConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Attendance = {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n student?: Student | null,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n};\n\nexport type UpdateAttendanceInput = {\n id: string,\n status?: string | null,\n};\n\nexport type CreateAttendanceInput = {\n id?: string | null,\n classId: string,\n studentId: string,\n createdAt?: string | null,\n status?: string | null,\n};\n\nexport type ModelAttendanceConditionInput = {\n classId?: ModelIDInput | null,\n studentId?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n status?: ModelStringInput | null,\n and?: Array< ModelAttendanceConditionInput | null > | null,\n or?: Array< ModelAttendanceConditionInput | null > | null,\n not?: ModelAttendanceConditionInput | null,\n};\n\nexport type ModelIDInput = {\n ne?: string | null,\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n contains?: string | null,\n notContains?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n size?: ModelSizeInput | null,\n};\n\nexport enum ModelAttributeTypes {\n binary = \"binary\",\n binarySet = \"binarySet\",\n bool = \"bool\",\n list = \"list\",\n map = \"map\",\n number = \"number\",\n numberSet = \"numberSet\",\n string = \"string\",\n stringSet = \"stringSet\",\n _null = \"_null\",\n}\n\n\nexport type ModelSizeInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n};\n\nexport type ModelStringInput = {\n ne?: string | null,\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n contains?: string | null,\n notContains?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n size?: ModelSizeInput | null,\n};\n\nexport type DeleteAttendanceInput = {\n id: string,\n};\n\nexport type ModelClassConditionInput = {\n courseId?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n date?: ModelStringInput | null,\n day?: ModelStringInput | null,\n endTime?: ModelStringInput | null,\n startTime?: ModelStringInput | null,\n and?: Array< ModelClassConditionInput | null > | null,\n or?: Array< ModelClassConditionInput | null > | null,\n not?: ModelClassConditionInput | null,\n};\n\nexport type UpdateClassInput = {\n id: string,\n courseId?: string | null,\n createdAt?: string | null,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n};\n\nexport type DeleteClassInput = {\n id: string,\n};\n\nexport type CreateCourseInput = {\n id?: string | null,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt?: string | null,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n};\n\nexport type ModelCourseConditionInput = {\n assistantId?: ModelIDInput | null,\n instructorSub?: ModelStringInput | null,\n instructorId?: ModelIDInput | null,\n termId?: ModelIDInput | null,\n rootCourseId?: ModelIDInput | null,\n ageLevel?: ModelStringInput | null,\n classDayTimes?: ModelStringInput | null,\n classRepeatCount?: ModelIntInput | null,\n classRepeatInterval?: ModelIntInput | null,\n classRepeatType?: ModelStringInput | null,\n confirmationLinks?: ModelStringInput | null,\n confirmationNotes?: ModelStringInput | null,\n createdAt?: ModelStringInput | null,\n createdBy?: ModelStringInput | null,\n dayOfWeek?: ModelStringInput | null,\n description?: ModelStringInput | null,\n donationAmount?: ModelIntInput | null,\n endDate?: ModelStringInput | null,\n endTime?: ModelStringInput | null,\n firstClassDate?: ModelStringInput | null,\n image?: ModelStringInput | null,\n imageDescription?: ModelStringInput | null,\n isOpenArtsOrTuition?: ModelIntInput | null,\n location?: ModelStringInput | null,\n medium?: ModelStringInput | null,\n minimumRegistrations?: ModelIntInput | null,\n name?: ModelStringInput | null,\n numAvailable?: ModelIntInput | null,\n numDropped?: ModelIntInput | null,\n numRegistered?: ModelIntInput | null,\n numSeats?: ModelIntInput | null,\n numTransferred?: ModelIntInput | null,\n numWaitlisted?: ModelIntInput | null,\n openArtsConfig?: ModelStringInput | null,\n proClassId?: ModelStringInput | null,\n qbClass?: ModelStringInput | null,\n qbItem?: ModelStringInput | null,\n registrationOpenTime?: ModelStringInput | null,\n registrationSlug?: ModelStringInput | null,\n showInSearch?: ModelIntInput | null,\n skillLevel?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n startTime?: ModelStringInput | null,\n status?: ModelStringInput | null,\n studio?: ModelStringInput | null,\n suggestedContribution?: ModelStringInput | null,\n supplyList?: ModelStringInput | null,\n timeOfDay?: ModelStringInput | null,\n tuitionAmount?: ModelIntInput | null,\n updatedAt?: ModelStringInput | null,\n updatedBy?: ModelStringInput | null,\n allCourses?: ModelIntInput | null,\n and?: Array< ModelCourseConditionInput | null > | null,\n or?: Array< ModelCourseConditionInput | null > | null,\n not?: ModelCourseConditionInput | null,\n};\n\nexport type ModelIntInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n};\n\nexport type UpdateCourseInput = {\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt?: string | null,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n};\n\nexport type DeleteCourseInput = {\n id: string,\n};\n\nexport type CreateEmailInput = {\n id?: string | null,\n studentId: string,\n body?: string | null,\n createdAt?: string | null,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n};\n\nexport type ModelEmailConditionInput = {\n studentId?: ModelIDInput | null,\n body?: ModelStringInput | null,\n createdAt?: ModelStringInput | null,\n sentAt?: ModelStringInput | null,\n status?: ModelStringInput | null,\n subject?: ModelStringInput | null,\n to?: ModelStringInput | null,\n and?: Array< ModelEmailConditionInput | null > | null,\n or?: Array< ModelEmailConditionInput | null > | null,\n not?: ModelEmailConditionInput | null,\n};\n\nexport type email = {\n __typename: \"email\",\n id: string,\n studentId: string,\n student?: Student | null,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n};\n\nexport type UpdateEmailInput = {\n id: string,\n studentId?: string | null,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n};\n\nexport type DeleteEmailInput = {\n id: string,\n createdAt: string,\n};\n\nexport type CreateExportInput = {\n id?: string | null,\n type: string,\n createdAt?: string | null,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n};\n\nexport type ModelExportConditionInput = {\n type?: ModelStringInput | null,\n exportTable?: ModelStringInput | null,\n fieldMapping?: ModelStringInput | null,\n file?: ModelStringInput | null,\n name?: ModelStringInput | null,\n query?: ModelStringInput | null,\n recordIdList?: ModelStringInput | null,\n status?: ModelStringInput | null,\n user?: ModelStringInput | null,\n and?: Array< ModelExportConditionInput | null > | null,\n or?: Array< ModelExportConditionInput | null > | null,\n not?: ModelExportConditionInput | null,\n};\n\nexport type Export = {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n};\n\nexport type UpdateExportInput = {\n id: string,\n type?: string | null,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name?: string | null,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n};\n\nexport type DeleteExportInput = {\n id: string,\n createdAt: string,\n};\n\nexport type CreateRegistrationInput = {\n id?: string | null,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt?: string | null,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n};\n\nexport type ModelRegistrationConditionInput = {\n courseId?: ModelIDInput | null,\n studentId?: ModelIDInput | null,\n amount?: ModelFloatInput | null,\n createdAt?: ModelStringInput | null,\n createdBy?: ModelStringInput | null,\n billToAddress?: ModelStringInput | null,\n lastName?: ModelStringInput | null,\n studentName?: ModelStringInput | null,\n status?: ModelRegistrationStatusInput | null,\n paymentStatus?: ModelStringInput | null,\n statusUpdatedAt?: ModelStringInput | null,\n sub?: ModelStringInput | null,\n quickbooksToken?: ModelStringInput | null,\n updatedBy?: ModelStringInput | null,\n allRegistrations?: ModelIntInput | null,\n and?: Array< ModelRegistrationConditionInput | null > | null,\n or?: Array< ModelRegistrationConditionInput | null > | null,\n not?: ModelRegistrationConditionInput | null,\n};\n\nexport type ModelFloatInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n};\n\nexport type ModelRegistrationStatusInput = {\n eq?: RegistrationStatus | null,\n ne?: RegistrationStatus | null,\n};\n\nexport type UpdateRegistrationInput = {\n id: string,\n courseId?: string | null,\n studentId?: string | null,\n amount?: number | null,\n createdAt?: string | null,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status?: RegistrationStatus | null,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub?: string | null,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n};\n\nexport type DeleteRegistrationInput = {\n id: string,\n};\n\nexport type CreateRegistrationReservationInput = {\n id?: string | null,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt?: string | null,\n};\n\nexport type ModelRegistrationReservationConditionInput = {\n courseId?: ModelIDInput | null,\n studentId?: ModelIDInput | null,\n messageDuplicationId?: ModelStringInput | null,\n createdAt?: ModelStringInput | null,\n and?: Array< ModelRegistrationReservationConditionInput | null > | null,\n or?: Array< ModelRegistrationReservationConditionInput | null > | null,\n not?: ModelRegistrationReservationConditionInput | null,\n};\n\nexport type RegistrationReservation = {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n};\n\nexport type UpdateRegistrationReservationInput = {\n id: string,\n courseId?: string | null,\n studentId?: string | null,\n messageDuplicationId?: string | null,\n createdAt?: string | null,\n};\n\nexport type DeleteRegistrationReservationInput = {\n id: string,\n};\n\nexport type CreateRootCourseInput = {\n id?: string | null,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n};\n\nexport type ModelRootCourseConditionInput = {\n latestTermId?: ModelIDInput | null,\n latestTermName?: ModelStringInput | null,\n ageLevel?: ModelStringInput | null,\n createdBy?: ModelStringInput | null,\n description?: ModelStringInput | null,\n image?: ModelStringInput | null,\n imageDescription?: ModelStringInput | null,\n isOpenArtsOrTuition?: ModelIntInput | null,\n location?: ModelStringInput | null,\n medium?: ModelStringInput | null,\n name?: ModelStringInput | null,\n openArtsConfig?: ModelStringInput | null,\n skillLevel?: ModelStringInput | null,\n studio?: ModelStringInput | null,\n supplyList?: ModelStringInput | null,\n tuitionAmount?: ModelIntInput | null,\n updatedBy?: ModelStringInput | null,\n allRootCourses?: ModelIntInput | null,\n and?: Array< ModelRootCourseConditionInput | null > | null,\n or?: Array< ModelRootCourseConditionInput | null > | null,\n not?: ModelRootCourseConditionInput | null,\n};\n\nexport type UpdateRootCourseInput = {\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n};\n\nexport type DeleteRootCourseInput = {\n id: string,\n};\n\nexport type CreateRelatedStudentInput = {\n childId: string,\n parentId: string,\n sub?: string | null,\n id?: string | null,\n};\n\nexport type ModelRelatedStudentConditionInput = {\n childId?: ModelIDInput | null,\n parentId?: ModelIDInput | null,\n sub?: ModelStringInput | null,\n and?: Array< ModelRelatedStudentConditionInput | null > | null,\n or?: Array< ModelRelatedStudentConditionInput | null > | null,\n not?: ModelRelatedStudentConditionInput | null,\n};\n\nexport type UpdateRelatedStudentInput = {\n childId?: string | null,\n parentId?: string | null,\n sub?: string | null,\n id: string,\n};\n\nexport type DeleteRelatedStudentInput = {\n id: string,\n};\n\nexport type CreateStudentInput = {\n id?: string | null,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n};\n\nexport type ModelStudentConditionInput = {\n address1?: ModelStringInput | null,\n address2?: ModelStringInput | null,\n city?: ModelStringInput | null,\n country?: ModelStringInput | null,\n createdBy?: ModelStringInput | null,\n dob?: ModelStringInput | null,\n education?: ModelStringInput | null,\n email?: ModelStringInput | null,\n emergencyContactFirstName?: ModelStringInput | null,\n emergencyContactLastName?: ModelStringInput | null,\n emergencyContactPhone?: ModelStringInput | null,\n emergencyContactEmail?: ModelStringInput | null,\n emergencyContactRelationship?: ModelStringInput | null,\n ethnicity?: ModelStringInput | null,\n firstName?: ModelStringInput | null,\n gender?: ModelStringInput | null,\n income?: ModelStringInput | null,\n isInstructor?: ModelIntInput | null,\n isMainAccount?: ModelIntInput | null,\n lastActivity?: ModelStringInput | null,\n lastLogin?: ModelStringInput | null,\n lastName?: ModelStringInput | null,\n middleName?: ModelStringInput | null,\n notes?: ModelStringInput | null,\n optInEmails?: ModelIntInput | null,\n phoneHome?: ModelStringInput | null,\n phoneMobile?: ModelStringInput | null,\n phoneWork?: ModelStringInput | null,\n phoneWorkExt?: ModelStringInput | null,\n postal?: ModelStringInput | null,\n proClassId?: ModelStringInput | null,\n pronouns?: ModelStringInput | null,\n relationshipToAccount?: ModelStringInput | null,\n state?: ModelStringInput | null,\n status?: ModelStringInput | null,\n sub?: ModelStringInput | null,\n updatedBy?: ModelStringInput | null,\n allStudents?: ModelIntInput | null,\n and?: Array< ModelStudentConditionInput | null > | null,\n or?: Array< ModelStudentConditionInput | null > | null,\n not?: ModelStudentConditionInput | null,\n};\n\nexport type UpdateStudentInput = {\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n};\n\nexport type DeleteStudentInput = {\n id: string,\n};\n\nexport type CreateTermInput = {\n id?: string | null,\n createdAt?: string | null,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n};\n\nexport type ModelTermConditionInput = {\n createdAt?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n name?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n isActive?: ModelIntInput | null,\n and?: Array< ModelTermConditionInput | null > | null,\n or?: Array< ModelTermConditionInput | null > | null,\n not?: ModelTermConditionInput | null,\n};\n\nexport type UpdateTermInput = {\n id: string,\n createdAt?: string | null,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n};\n\nexport type DeleteTermInput = {\n id: string,\n};\n\nexport type CreateSystemInput = {\n id?: string | null,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n};\n\nexport type ModelSystemConditionInput = {\n confirmationCancellationPolicy?: ModelStringInput | null,\n confirmationIntroduction?: ModelStringInput | null,\n confirmationWaitlist?: ModelStringInput | null,\n courseSearchOpening?: ModelStringInput | null,\n courseSearchTitle?: ModelStringInput | null,\n qbOauthToken?: ModelStringInput | null,\n qbAccounts?: ModelStringInput | null,\n qbClasses?: ModelStringInput | null,\n qbDepositToAccount?: ModelStringInput | null,\n qbDonationItem?: ModelStringInput | null,\n qbDonationItemClass?: ModelStringInput | null,\n qbItems?: ModelStringInput | null,\n and?: Array< ModelSystemConditionInput | null > | null,\n or?: Array< ModelSystemConditionInput | null > | null,\n not?: ModelSystemConditionInput | null,\n};\n\nexport type System = {\n __typename: \"System\",\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n createdAt: string,\n updatedAt: string,\n};\n\nexport type UpdateSystemInput = {\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n};\n\nexport type DeleteSystemInput = {\n id: string,\n};\n\nexport type CreateSelectListInput = {\n id?: string | null,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n};\n\nexport type ModelSelectListConditionInput = {\n category?: ModelStringInput | null,\n key?: ModelStringInput | null,\n name?: ModelStringInput | null,\n sortIndex?: ModelIntInput | null,\n and?: Array< ModelSelectListConditionInput | null > | null,\n or?: Array< ModelSelectListConditionInput | null > | null,\n not?: ModelSelectListConditionInput | null,\n};\n\nexport type SelectList = {\n __typename: \"SelectList\",\n id: string,\n options?: ModelSelectListOptionConnection | null,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n};\n\nexport type ModelSelectListOptionConnection = {\n __typename: \"ModelSelectListOptionConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type SelectListOption = {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n};\n\nexport type UpdateSelectListInput = {\n id: string,\n category?: string | null,\n key?: string | null,\n name?: string | null,\n sortIndex?: number | null,\n};\n\nexport type DeleteSelectListInput = {\n id: string,\n};\n\nexport type CreateSelectListOptionInput = {\n id?: string | null,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n};\n\nexport type ModelSelectListOptionConditionInput = {\n selectListId?: ModelIDInput | null,\n deleted?: ModelBooleanInput | null,\n label?: ModelStringInput | null,\n sortIndex?: ModelIntInput | null,\n value?: ModelStringInput | null,\n and?: Array< ModelSelectListOptionConditionInput | null > | null,\n or?: Array< ModelSelectListOptionConditionInput | null > | null,\n not?: ModelSelectListOptionConditionInput | null,\n};\n\nexport type ModelBooleanInput = {\n ne?: boolean | null,\n eq?: boolean | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n};\n\nexport type UpdateSelectListOptionInput = {\n id: string,\n selectListId?: string | null,\n deleted?: boolean | null,\n label?: string | null,\n sortIndex?: number | null,\n value?: string | null,\n};\n\nexport type DeleteSelectListOptionInput = {\n id: string,\n};\n\nexport type ModelAttendanceFilterInput = {\n id?: ModelIDInput | null,\n classId?: ModelIDInput | null,\n studentId?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n status?: ModelStringInput | null,\n and?: Array< ModelAttendanceFilterInput | null > | null,\n or?: Array< ModelAttendanceFilterInput | null > | null,\n not?: ModelAttendanceFilterInput | null,\n};\n\nexport enum ModelSortDirection {\n ASC = \"ASC\",\n DESC = \"DESC\",\n}\n\n\nexport type ModelClassFilterInput = {\n id?: ModelIDInput | null,\n courseId?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n date?: ModelStringInput | null,\n day?: ModelStringInput | null,\n endTime?: ModelStringInput | null,\n startTime?: ModelStringInput | null,\n and?: Array< ModelClassFilterInput | null > | null,\n or?: Array< ModelClassFilterInput | null > | null,\n not?: ModelClassFilterInput | null,\n};\n\nexport type ModelStringKeyConditionInput = {\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n};\n\nexport type ModelCourseFilterInput = {\n id?: ModelIDInput | null,\n assistantId?: ModelIDInput | null,\n instructorSub?: ModelStringInput | null,\n instructorId?: ModelIDInput | null,\n termId?: ModelIDInput | null,\n rootCourseId?: ModelIDInput | null,\n ageLevel?: ModelStringInput | null,\n classDayTimes?: ModelStringInput | null,\n classRepeatCount?: ModelIntInput | null,\n classRepeatInterval?: ModelIntInput | null,\n classRepeatType?: ModelStringInput | null,\n confirmationLinks?: ModelStringInput | null,\n confirmationNotes?: ModelStringInput | null,\n createdAt?: ModelStringInput | null,\n createdBy?: ModelStringInput | null,\n dayOfWeek?: ModelStringInput | null,\n description?: ModelStringInput | null,\n donationAmount?: ModelIntInput | null,\n endDate?: ModelStringInput | null,\n endTime?: ModelStringInput | null,\n firstClassDate?: ModelStringInput | null,\n image?: ModelStringInput | null,\n imageDescription?: ModelStringInput | null,\n isOpenArtsOrTuition?: ModelIntInput | null,\n location?: ModelStringInput | null,\n medium?: ModelStringInput | null,\n minimumRegistrations?: ModelIntInput | null,\n name?: ModelStringInput | null,\n numAvailable?: ModelIntInput | null,\n numDropped?: ModelIntInput | null,\n numRegistered?: ModelIntInput | null,\n numSeats?: ModelIntInput | null,\n numTransferred?: ModelIntInput | null,\n numWaitlisted?: ModelIntInput | null,\n openArtsConfig?: ModelStringInput | null,\n proClassId?: ModelStringInput | null,\n qbClass?: ModelStringInput | null,\n qbItem?: ModelStringInput | null,\n registrationOpenTime?: ModelStringInput | null,\n registrationSlug?: ModelStringInput | null,\n showInSearch?: ModelIntInput | null,\n skillLevel?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n startTime?: ModelStringInput | null,\n status?: ModelStringInput | null,\n studio?: ModelStringInput | null,\n suggestedContribution?: ModelStringInput | null,\n supplyList?: ModelStringInput | null,\n timeOfDay?: ModelStringInput | null,\n tuitionAmount?: ModelIntInput | null,\n updatedAt?: ModelStringInput | null,\n updatedBy?: ModelStringInput | null,\n allCourses?: ModelIntInput | null,\n and?: Array< ModelCourseFilterInput | null > | null,\n or?: Array< ModelCourseFilterInput | null > | null,\n not?: ModelCourseFilterInput | null,\n};\n\nexport type ModelIntKeyConditionInput = {\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n};\n\nexport type SearchableCourseFilterInput = {\n id?: SearchableIDFilterInput | null,\n assistantId?: SearchableIDFilterInput | null,\n instructorSub?: SearchableStringFilterInput | null,\n instructorId?: SearchableIDFilterInput | null,\n termId?: SearchableIDFilterInput | null,\n rootCourseId?: SearchableIDFilterInput | null,\n ageLevel?: SearchableStringFilterInput | null,\n classDayTimes?: SearchableStringFilterInput | null,\n classRepeatCount?: SearchableIntFilterInput | null,\n classRepeatInterval?: SearchableIntFilterInput | null,\n classRepeatType?: SearchableStringFilterInput | null,\n confirmationLinks?: SearchableStringFilterInput | null,\n confirmationNotes?: SearchableStringFilterInput | null,\n createdAt?: SearchableStringFilterInput | null,\n createdBy?: SearchableStringFilterInput | null,\n dayOfWeek?: SearchableStringFilterInput | null,\n description?: SearchableStringFilterInput | null,\n donationAmount?: SearchableIntFilterInput | null,\n endDate?: SearchableStringFilterInput | null,\n endTime?: SearchableStringFilterInput | null,\n firstClassDate?: SearchableStringFilterInput | null,\n image?: SearchableStringFilterInput | null,\n imageDescription?: SearchableStringFilterInput | null,\n isOpenArtsOrTuition?: SearchableIntFilterInput | null,\n location?: SearchableStringFilterInput | null,\n medium?: SearchableStringFilterInput | null,\n minimumRegistrations?: SearchableIntFilterInput | null,\n name?: SearchableStringFilterInput | null,\n numAvailable?: SearchableIntFilterInput | null,\n numDropped?: SearchableIntFilterInput | null,\n numRegistered?: SearchableIntFilterInput | null,\n numSeats?: SearchableIntFilterInput | null,\n numTransferred?: SearchableIntFilterInput | null,\n numWaitlisted?: SearchableIntFilterInput | null,\n openArtsConfig?: SearchableStringFilterInput | null,\n proClassId?: SearchableStringFilterInput | null,\n qbClass?: SearchableStringFilterInput | null,\n qbItem?: SearchableStringFilterInput | null,\n registrationOpenTime?: SearchableStringFilterInput | null,\n registrationSlug?: SearchableStringFilterInput | null,\n showInSearch?: SearchableIntFilterInput | null,\n skillLevel?: SearchableStringFilterInput | null,\n startDate?: SearchableStringFilterInput | null,\n startTime?: SearchableStringFilterInput | null,\n status?: SearchableStringFilterInput | null,\n studio?: SearchableStringFilterInput | null,\n suggestedContribution?: SearchableStringFilterInput | null,\n supplyList?: SearchableStringFilterInput | null,\n timeOfDay?: SearchableStringFilterInput | null,\n tuitionAmount?: SearchableIntFilterInput | null,\n updatedAt?: SearchableStringFilterInput | null,\n updatedBy?: SearchableStringFilterInput | null,\n allCourses?: SearchableIntFilterInput | null,\n and?: Array< SearchableCourseFilterInput | null > | null,\n or?: Array< SearchableCourseFilterInput | null > | null,\n not?: SearchableCourseFilterInput | null,\n};\n\nexport type SearchableIDFilterInput = {\n ne?: string | null,\n gt?: string | null,\n lt?: string | null,\n gte?: string | null,\n lte?: string | null,\n eq?: string | null,\n match?: string | null,\n matchPhrase?: string | null,\n matchPhrasePrefix?: string | null,\n multiMatch?: string | null,\n exists?: boolean | null,\n wildcard?: string | null,\n regexp?: string | null,\n range?: Array< string | null > | null,\n};\n\nexport type SearchableStringFilterInput = {\n ne?: string | null,\n gt?: string | null,\n lt?: string | null,\n gte?: string | null,\n lte?: string | null,\n eq?: string | null,\n match?: string | null,\n matchPhrase?: string | null,\n matchPhrasePrefix?: string | null,\n multiMatch?: string | null,\n exists?: boolean | null,\n wildcard?: string | null,\n regexp?: string | null,\n range?: Array< string | null > | null,\n};\n\nexport type SearchableIntFilterInput = {\n ne?: number | null,\n gt?: number | null,\n lt?: number | null,\n gte?: number | null,\n lte?: number | null,\n eq?: number | null,\n range?: Array< number | null > | null,\n};\n\nexport type SearchableCourseSortInput = {\n field?: SearchableCourseSortableFields | null,\n direction?: SearchableSortDirection | null,\n};\n\nexport enum SearchableCourseSortableFields {\n id = \"id\",\n assistantId = \"assistantId\",\n instructorSub = \"instructorSub\",\n instructorId = \"instructorId\",\n termId = \"termId\",\n rootCourseId = \"rootCourseId\",\n ageLevel = \"ageLevel\",\n classDayTimes = \"classDayTimes\",\n classRepeatCount = \"classRepeatCount\",\n classRepeatInterval = \"classRepeatInterval\",\n classRepeatType = \"classRepeatType\",\n confirmationLinks = \"confirmationLinks\",\n confirmationNotes = \"confirmationNotes\",\n createdAt = \"createdAt\",\n createdBy = \"createdBy\",\n dayOfWeek = \"dayOfWeek\",\n description = \"description\",\n donationAmount = \"donationAmount\",\n endDate = \"endDate\",\n endTime = \"endTime\",\n firstClassDate = \"firstClassDate\",\n image = \"image\",\n imageDescription = \"imageDescription\",\n isOpenArtsOrTuition = \"isOpenArtsOrTuition\",\n location = \"location\",\n medium = \"medium\",\n minimumRegistrations = \"minimumRegistrations\",\n name = \"name\",\n numAvailable = \"numAvailable\",\n numDropped = \"numDropped\",\n numRegistered = \"numRegistered\",\n numSeats = \"numSeats\",\n numTransferred = \"numTransferred\",\n numWaitlisted = \"numWaitlisted\",\n openArtsConfig = \"openArtsConfig\",\n proClassId = \"proClassId\",\n qbClass = \"qbClass\",\n qbItem = \"qbItem\",\n registrationOpenTime = \"registrationOpenTime\",\n registrationSlug = \"registrationSlug\",\n showInSearch = \"showInSearch\",\n skillLevel = \"skillLevel\",\n startDate = \"startDate\",\n startTime = \"startTime\",\n status = \"status\",\n studio = \"studio\",\n suggestedContribution = \"suggestedContribution\",\n supplyList = \"supplyList\",\n timeOfDay = \"timeOfDay\",\n tuitionAmount = \"tuitionAmount\",\n updatedAt = \"updatedAt\",\n updatedBy = \"updatedBy\",\n allCourses = \"allCourses\",\n}\n\n\nexport enum SearchableSortDirection {\n asc = \"asc\",\n desc = \"desc\",\n}\n\n\nexport type SearchableCourseAggregationInput = {\n name: string,\n type: SearchableAggregateType,\n field: SearchableCourseAggregateField,\n};\n\nexport enum SearchableAggregateType {\n terms = \"terms\",\n avg = \"avg\",\n min = \"min\",\n max = \"max\",\n sum = \"sum\",\n}\n\n\nexport enum SearchableCourseAggregateField {\n id = \"id\",\n assistantId = \"assistantId\",\n instructorSub = \"instructorSub\",\n instructorId = \"instructorId\",\n termId = \"termId\",\n rootCourseId = \"rootCourseId\",\n ageLevel = \"ageLevel\",\n classDayTimes = \"classDayTimes\",\n classRepeatCount = \"classRepeatCount\",\n classRepeatInterval = \"classRepeatInterval\",\n classRepeatType = \"classRepeatType\",\n confirmationLinks = \"confirmationLinks\",\n confirmationNotes = \"confirmationNotes\",\n createdAt = \"createdAt\",\n createdBy = \"createdBy\",\n dayOfWeek = \"dayOfWeek\",\n description = \"description\",\n donationAmount = \"donationAmount\",\n endDate = \"endDate\",\n endTime = \"endTime\",\n firstClassDate = \"firstClassDate\",\n image = \"image\",\n imageDescription = \"imageDescription\",\n isOpenArtsOrTuition = \"isOpenArtsOrTuition\",\n location = \"location\",\n medium = \"medium\",\n minimumRegistrations = \"minimumRegistrations\",\n name = \"name\",\n numAvailable = \"numAvailable\",\n numDropped = \"numDropped\",\n numRegistered = \"numRegistered\",\n numSeats = \"numSeats\",\n numTransferred = \"numTransferred\",\n numWaitlisted = \"numWaitlisted\",\n openArtsConfig = \"openArtsConfig\",\n proClassId = \"proClassId\",\n qbClass = \"qbClass\",\n qbItem = \"qbItem\",\n registrationOpenTime = \"registrationOpenTime\",\n registrationSlug = \"registrationSlug\",\n showInSearch = \"showInSearch\",\n skillLevel = \"skillLevel\",\n startDate = \"startDate\",\n startTime = \"startTime\",\n status = \"status\",\n studio = \"studio\",\n suggestedContribution = \"suggestedContribution\",\n supplyList = \"supplyList\",\n timeOfDay = \"timeOfDay\",\n tuitionAmount = \"tuitionAmount\",\n updatedAt = \"updatedAt\",\n updatedBy = \"updatedBy\",\n allCourses = \"allCourses\",\n}\n\n\nexport type SearchableCourseConnection = {\n __typename: \"SearchableCourseConnection\",\n items: Array,\n nextToken?: string | null,\n total?: number | null,\n aggregateItems: Array,\n};\n\nexport type SearchableAggregateResult = {\n __typename: \"SearchableAggregateResult\",\n name: string,\n result?: SearchableAggregateGenericResult | null,\n};\n\nexport type SearchableAggregateGenericResult = SearchableAggregateScalarResult | SearchableAggregateBucketResult\n\n\nexport type SearchableAggregateScalarResult = {\n __typename: \"SearchableAggregateScalarResult\",\n value: number,\n};\n\nexport type SearchableAggregateBucketResult = {\n __typename: \"SearchableAggregateBucketResult\",\n buckets?: Array | null,\n};\n\nexport type SearchableAggregateBucketResultItem = {\n __typename: \"SearchableAggregateBucketResultItem\",\n key: string,\n doc_count: number,\n};\n\nexport type ModelEmailFilterInput = {\n id?: ModelIDInput | null,\n studentId?: ModelIDInput | null,\n body?: ModelStringInput | null,\n createdAt?: ModelStringInput | null,\n sentAt?: ModelStringInput | null,\n status?: ModelStringInput | null,\n subject?: ModelStringInput | null,\n to?: ModelStringInput | null,\n and?: Array< ModelEmailFilterInput | null > | null,\n or?: Array< ModelEmailFilterInput | null > | null,\n not?: ModelEmailFilterInput | null,\n};\n\nexport type ModelEmailConnection = {\n __typename: \"ModelEmailConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelemailFilterInput = {\n id?: ModelIDInput | null,\n studentId?: ModelIDInput | null,\n body?: ModelStringInput | null,\n createdAt?: ModelStringInput | null,\n sentAt?: ModelStringInput | null,\n status?: ModelStringInput | null,\n subject?: ModelStringInput | null,\n to?: ModelStringInput | null,\n and?: Array< ModelemailFilterInput | null > | null,\n or?: Array< ModelemailFilterInput | null > | null,\n not?: ModelemailFilterInput | null,\n};\n\nexport type ModelemailConnection = {\n __typename: \"ModelemailConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelExportFilterInput = {\n id?: ModelIDInput | null,\n type?: ModelStringInput | null,\n createdAt?: ModelStringInput | null,\n exportTable?: ModelStringInput | null,\n fieldMapping?: ModelStringInput | null,\n file?: ModelStringInput | null,\n name?: ModelStringInput | null,\n query?: ModelStringInput | null,\n recordIdList?: ModelStringInput | null,\n status?: ModelStringInput | null,\n user?: ModelStringInput | null,\n and?: Array< ModelExportFilterInput | null > | null,\n or?: Array< ModelExportFilterInput | null > | null,\n not?: ModelExportFilterInput | null,\n};\n\nexport type ModelExportConnection = {\n __typename: \"ModelExportConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelRegistrationFilterInput = {\n id?: ModelIDInput | null,\n courseId?: ModelIDInput | null,\n studentId?: ModelIDInput | null,\n amount?: ModelFloatInput | null,\n createdAt?: ModelStringInput | null,\n createdBy?: ModelStringInput | null,\n billToAddress?: ModelStringInput | null,\n lastName?: ModelStringInput | null,\n studentName?: ModelStringInput | null,\n status?: ModelRegistrationStatusInput | null,\n paymentStatus?: ModelStringInput | null,\n statusUpdatedAt?: ModelStringInput | null,\n sub?: ModelStringInput | null,\n quickbooksToken?: ModelStringInput | null,\n updatedBy?: ModelStringInput | null,\n allRegistrations?: ModelIntInput | null,\n and?: Array< ModelRegistrationFilterInput | null > | null,\n or?: Array< ModelRegistrationFilterInput | null > | null,\n not?: ModelRegistrationFilterInput | null,\n};\n\nexport type ModelIDKeyConditionInput = {\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n};\n\nexport type ModelRegistrationReservationFilterInput = {\n id?: ModelIDInput | null,\n courseId?: ModelIDInput | null,\n studentId?: ModelIDInput | null,\n messageDuplicationId?: ModelStringInput | null,\n createdAt?: ModelStringInput | null,\n and?: Array< ModelRegistrationReservationFilterInput | null > | null,\n or?: Array< ModelRegistrationReservationFilterInput | null > | null,\n not?: ModelRegistrationReservationFilterInput | null,\n};\n\nexport type ModelRegistrationReservationConnection = {\n __typename: \"ModelRegistrationReservationConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelRootCourseFilterInput = {\n id?: ModelIDInput | null,\n latestTermId?: ModelIDInput | null,\n latestTermName?: ModelStringInput | null,\n ageLevel?: ModelStringInput | null,\n createdBy?: ModelStringInput | null,\n description?: ModelStringInput | null,\n image?: ModelStringInput | null,\n imageDescription?: ModelStringInput | null,\n isOpenArtsOrTuition?: ModelIntInput | null,\n location?: ModelStringInput | null,\n medium?: ModelStringInput | null,\n name?: ModelStringInput | null,\n openArtsConfig?: ModelStringInput | null,\n skillLevel?: ModelStringInput | null,\n studio?: ModelStringInput | null,\n supplyList?: ModelStringInput | null,\n tuitionAmount?: ModelIntInput | null,\n updatedBy?: ModelStringInput | null,\n allRootCourses?: ModelIntInput | null,\n and?: Array< ModelRootCourseFilterInput | null > | null,\n or?: Array< ModelRootCourseFilterInput | null > | null,\n not?: ModelRootCourseFilterInput | null,\n};\n\nexport type ModelRootCourseConnection = {\n __typename: \"ModelRootCourseConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelRelatedStudentFilterInput = {\n childId?: ModelIDInput | null,\n parentId?: ModelIDInput | null,\n sub?: ModelStringInput | null,\n and?: Array< ModelRelatedStudentFilterInput | null > | null,\n or?: Array< ModelRelatedStudentFilterInput | null > | null,\n not?: ModelRelatedStudentFilterInput | null,\n};\n\nexport type ModelStudentFilterInput = {\n id?: ModelIDInput | null,\n address1?: ModelStringInput | null,\n address2?: ModelStringInput | null,\n city?: ModelStringInput | null,\n country?: ModelStringInput | null,\n createdBy?: ModelStringInput | null,\n dob?: ModelStringInput | null,\n education?: ModelStringInput | null,\n email?: ModelStringInput | null,\n emergencyContactFirstName?: ModelStringInput | null,\n emergencyContactLastName?: ModelStringInput | null,\n emergencyContactPhone?: ModelStringInput | null,\n emergencyContactEmail?: ModelStringInput | null,\n emergencyContactRelationship?: ModelStringInput | null,\n ethnicity?: ModelStringInput | null,\n firstName?: ModelStringInput | null,\n gender?: ModelStringInput | null,\n income?: ModelStringInput | null,\n isInstructor?: ModelIntInput | null,\n isMainAccount?: ModelIntInput | null,\n lastActivity?: ModelStringInput | null,\n lastLogin?: ModelStringInput | null,\n lastName?: ModelStringInput | null,\n middleName?: ModelStringInput | null,\n notes?: ModelStringInput | null,\n optInEmails?: ModelIntInput | null,\n phoneHome?: ModelStringInput | null,\n phoneMobile?: ModelStringInput | null,\n phoneWork?: ModelStringInput | null,\n phoneWorkExt?: ModelStringInput | null,\n postal?: ModelStringInput | null,\n proClassId?: ModelStringInput | null,\n pronouns?: ModelStringInput | null,\n relationshipToAccount?: ModelStringInput | null,\n state?: ModelStringInput | null,\n status?: ModelStringInput | null,\n sub?: ModelStringInput | null,\n updatedBy?: ModelStringInput | null,\n allStudents?: ModelIntInput | null,\n and?: Array< ModelStudentFilterInput | null > | null,\n or?: Array< ModelStudentFilterInput | null > | null,\n not?: ModelStudentFilterInput | null,\n};\n\nexport type ModelStudentConnection = {\n __typename: \"ModelStudentConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type SearchableStudentFilterInput = {\n id?: SearchableIDFilterInput | null,\n address1?: SearchableStringFilterInput | null,\n address2?: SearchableStringFilterInput | null,\n city?: SearchableStringFilterInput | null,\n country?: SearchableStringFilterInput | null,\n createdBy?: SearchableStringFilterInput | null,\n dob?: SearchableStringFilterInput | null,\n education?: SearchableStringFilterInput | null,\n email?: SearchableStringFilterInput | null,\n emergencyContactFirstName?: SearchableStringFilterInput | null,\n emergencyContactLastName?: SearchableStringFilterInput | null,\n emergencyContactPhone?: SearchableStringFilterInput | null,\n emergencyContactEmail?: SearchableStringFilterInput | null,\n emergencyContactRelationship?: SearchableStringFilterInput | null,\n ethnicity?: SearchableStringFilterInput | null,\n firstName?: SearchableStringFilterInput | null,\n gender?: SearchableStringFilterInput | null,\n income?: SearchableStringFilterInput | null,\n isInstructor?: SearchableIntFilterInput | null,\n isMainAccount?: SearchableIntFilterInput | null,\n lastActivity?: SearchableStringFilterInput | null,\n lastLogin?: SearchableStringFilterInput | null,\n lastName?: SearchableStringFilterInput | null,\n middleName?: SearchableStringFilterInput | null,\n notes?: SearchableStringFilterInput | null,\n optInEmails?: SearchableIntFilterInput | null,\n phoneHome?: SearchableStringFilterInput | null,\n phoneMobile?: SearchableStringFilterInput | null,\n phoneWork?: SearchableStringFilterInput | null,\n phoneWorkExt?: SearchableStringFilterInput | null,\n postal?: SearchableStringFilterInput | null,\n proClassId?: SearchableStringFilterInput | null,\n pronouns?: SearchableStringFilterInput | null,\n relationshipToAccount?: SearchableStringFilterInput | null,\n state?: SearchableStringFilterInput | null,\n status?: SearchableStringFilterInput | null,\n sub?: SearchableStringFilterInput | null,\n updatedBy?: SearchableStringFilterInput | null,\n allStudents?: SearchableIntFilterInput | null,\n createdAt?: SearchableStringFilterInput | null,\n updatedAt?: SearchableStringFilterInput | null,\n and?: Array< SearchableStudentFilterInput | null > | null,\n or?: Array< SearchableStudentFilterInput | null > | null,\n not?: SearchableStudentFilterInput | null,\n};\n\nexport type SearchableStudentSortInput = {\n field?: SearchableStudentSortableFields | null,\n direction?: SearchableSortDirection | null,\n};\n\nexport enum SearchableStudentSortableFields {\n id = \"id\",\n address1 = \"address1\",\n address2 = \"address2\",\n city = \"city\",\n country = \"country\",\n createdBy = \"createdBy\",\n dob = \"dob\",\n education = \"education\",\n email = \"email\",\n emergencyContactFirstName = \"emergencyContactFirstName\",\n emergencyContactLastName = \"emergencyContactLastName\",\n emergencyContactPhone = \"emergencyContactPhone\",\n emergencyContactEmail = \"emergencyContactEmail\",\n emergencyContactRelationship = \"emergencyContactRelationship\",\n ethnicity = \"ethnicity\",\n firstName = \"firstName\",\n gender = \"gender\",\n income = \"income\",\n isInstructor = \"isInstructor\",\n isMainAccount = \"isMainAccount\",\n lastActivity = \"lastActivity\",\n lastLogin = \"lastLogin\",\n lastName = \"lastName\",\n middleName = \"middleName\",\n notes = \"notes\",\n optInEmails = \"optInEmails\",\n phoneHome = \"phoneHome\",\n phoneMobile = \"phoneMobile\",\n phoneWork = \"phoneWork\",\n phoneWorkExt = \"phoneWorkExt\",\n postal = \"postal\",\n proClassId = \"proClassId\",\n pronouns = \"pronouns\",\n relationshipToAccount = \"relationshipToAccount\",\n state = \"state\",\n status = \"status\",\n sub = \"sub\",\n updatedBy = \"updatedBy\",\n allStudents = \"allStudents\",\n createdAt = \"createdAt\",\n updatedAt = \"updatedAt\",\n}\n\n\nexport type SearchableStudentAggregationInput = {\n name: string,\n type: SearchableAggregateType,\n field: SearchableStudentAggregateField,\n};\n\nexport enum SearchableStudentAggregateField {\n id = \"id\",\n address1 = \"address1\",\n address2 = \"address2\",\n city = \"city\",\n country = \"country\",\n createdBy = \"createdBy\",\n dob = \"dob\",\n education = \"education\",\n email = \"email\",\n emergencyContactFirstName = \"emergencyContactFirstName\",\n emergencyContactLastName = \"emergencyContactLastName\",\n emergencyContactPhone = \"emergencyContactPhone\",\n emergencyContactEmail = \"emergencyContactEmail\",\n emergencyContactRelationship = \"emergencyContactRelationship\",\n ethnicity = \"ethnicity\",\n firstName = \"firstName\",\n gender = \"gender\",\n income = \"income\",\n isInstructor = \"isInstructor\",\n isMainAccount = \"isMainAccount\",\n lastActivity = \"lastActivity\",\n lastLogin = \"lastLogin\",\n lastName = \"lastName\",\n middleName = \"middleName\",\n notes = \"notes\",\n optInEmails = \"optInEmails\",\n phoneHome = \"phoneHome\",\n phoneMobile = \"phoneMobile\",\n phoneWork = \"phoneWork\",\n phoneWorkExt = \"phoneWorkExt\",\n postal = \"postal\",\n proClassId = \"proClassId\",\n pronouns = \"pronouns\",\n relationshipToAccount = \"relationshipToAccount\",\n state = \"state\",\n status = \"status\",\n sub = \"sub\",\n updatedBy = \"updatedBy\",\n allStudents = \"allStudents\",\n createdAt = \"createdAt\",\n updatedAt = \"updatedAt\",\n}\n\n\nexport type SearchableStudentConnection = {\n __typename: \"SearchableStudentConnection\",\n items: Array,\n nextToken?: string | null,\n total?: number | null,\n aggregateItems: Array,\n};\n\nexport type ModelTermFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n name?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n isActive?: ModelIntInput | null,\n and?: Array< ModelTermFilterInput | null > | null,\n or?: Array< ModelTermFilterInput | null > | null,\n not?: ModelTermFilterInput | null,\n};\n\nexport type ModelTermConnection = {\n __typename: \"ModelTermConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelSystemFilterInput = {\n id?: ModelIDInput | null,\n confirmationCancellationPolicy?: ModelStringInput | null,\n confirmationIntroduction?: ModelStringInput | null,\n confirmationWaitlist?: ModelStringInput | null,\n courseSearchOpening?: ModelStringInput | null,\n courseSearchTitle?: ModelStringInput | null,\n qbOauthToken?: ModelStringInput | null,\n qbAccounts?: ModelStringInput | null,\n qbClasses?: ModelStringInput | null,\n qbDepositToAccount?: ModelStringInput | null,\n qbDonationItem?: ModelStringInput | null,\n qbDonationItemClass?: ModelStringInput | null,\n qbItems?: ModelStringInput | null,\n and?: Array< ModelSystemFilterInput | null > | null,\n or?: Array< ModelSystemFilterInput | null > | null,\n not?: ModelSystemFilterInput | null,\n};\n\nexport type ModelSystemConnection = {\n __typename: \"ModelSystemConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelSelectListFilterInput = {\n id?: ModelIDInput | null,\n category?: ModelStringInput | null,\n key?: ModelStringInput | null,\n name?: ModelStringInput | null,\n sortIndex?: ModelIntInput | null,\n and?: Array< ModelSelectListFilterInput | null > | null,\n or?: Array< ModelSelectListFilterInput | null > | null,\n not?: ModelSelectListFilterInput | null,\n};\n\nexport type ModelSelectListConnection = {\n __typename: \"ModelSelectListConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelSelectListOptionFilterInput = {\n id?: ModelIDInput | null,\n selectListId?: ModelIDInput | null,\n deleted?: ModelBooleanInput | null,\n label?: ModelStringInput | null,\n sortIndex?: ModelIntInput | null,\n value?: ModelStringInput | null,\n and?: Array< ModelSelectListOptionFilterInput | null > | null,\n or?: Array< ModelSelectListOptionFilterInput | null > | null,\n not?: ModelSelectListOptionFilterInput | null,\n};\n\nexport type ModelSubscriptionAttendanceFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n classId?: ModelSubscriptionIDInput | null,\n studentId?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n status?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionAttendanceFilterInput | null > | null,\n or?: Array< ModelSubscriptionAttendanceFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionIDInput = {\n ne?: string | null,\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n contains?: string | null,\n notContains?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n in?: Array< string | null > | null,\n notIn?: Array< string | null > | null,\n};\n\nexport type ModelSubscriptionStringInput = {\n ne?: string | null,\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n contains?: string | null,\n notContains?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n in?: Array< string | null > | null,\n notIn?: Array< string | null > | null,\n};\n\nexport type ModelSubscriptionCourseFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n assistantId?: ModelSubscriptionIDInput | null,\n instructorId?: ModelSubscriptionIDInput | null,\n termId?: ModelSubscriptionIDInput | null,\n rootCourseId?: ModelSubscriptionIDInput | null,\n ageLevel?: ModelSubscriptionStringInput | null,\n classDayTimes?: ModelSubscriptionStringInput | null,\n classRepeatCount?: ModelSubscriptionIntInput | null,\n classRepeatInterval?: ModelSubscriptionIntInput | null,\n classRepeatType?: ModelSubscriptionStringInput | null,\n confirmationLinks?: ModelSubscriptionStringInput | null,\n confirmationNotes?: ModelSubscriptionStringInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n createdBy?: ModelSubscriptionStringInput | null,\n dayOfWeek?: ModelSubscriptionStringInput | null,\n description?: ModelSubscriptionStringInput | null,\n donationAmount?: ModelSubscriptionIntInput | null,\n endDate?: ModelSubscriptionStringInput | null,\n endTime?: ModelSubscriptionStringInput | null,\n firstClassDate?: ModelSubscriptionStringInput | null,\n image?: ModelSubscriptionStringInput | null,\n imageDescription?: ModelSubscriptionStringInput | null,\n isOpenArtsOrTuition?: ModelSubscriptionIntInput | null,\n location?: ModelSubscriptionStringInput | null,\n medium?: ModelSubscriptionStringInput | null,\n minimumRegistrations?: ModelSubscriptionIntInput | null,\n name?: ModelSubscriptionStringInput | null,\n numAvailable?: ModelSubscriptionIntInput | null,\n numDropped?: ModelSubscriptionIntInput | null,\n numRegistered?: ModelSubscriptionIntInput | null,\n numSeats?: ModelSubscriptionIntInput | null,\n numTransferred?: ModelSubscriptionIntInput | null,\n numWaitlisted?: ModelSubscriptionIntInput | null,\n openArtsConfig?: ModelSubscriptionStringInput | null,\n proClassId?: ModelSubscriptionStringInput | null,\n qbClass?: ModelSubscriptionStringInput | null,\n qbItem?: ModelSubscriptionStringInput | null,\n registrationOpenTime?: ModelSubscriptionStringInput | null,\n registrationSlug?: ModelSubscriptionStringInput | null,\n showInSearch?: ModelSubscriptionIntInput | null,\n skillLevel?: ModelSubscriptionStringInput | null,\n startDate?: ModelSubscriptionStringInput | null,\n startTime?: ModelSubscriptionStringInput | null,\n status?: ModelSubscriptionStringInput | null,\n studio?: ModelSubscriptionStringInput | null,\n suggestedContribution?: ModelSubscriptionStringInput | null,\n supplyList?: ModelSubscriptionStringInput | null,\n timeOfDay?: ModelSubscriptionStringInput | null,\n tuitionAmount?: ModelSubscriptionIntInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n updatedBy?: ModelSubscriptionStringInput | null,\n allCourses?: ModelSubscriptionIntInput | null,\n and?: Array< ModelSubscriptionCourseFilterInput | null > | null,\n or?: Array< ModelSubscriptionCourseFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionIntInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n in?: Array< number | null > | null,\n notIn?: Array< number | null > | null,\n};\n\nexport type ModelSubscriptionEmailFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n studentId?: ModelSubscriptionIDInput | null,\n body?: ModelSubscriptionStringInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n sentAt?: ModelSubscriptionStringInput | null,\n status?: ModelSubscriptionStringInput | null,\n subject?: ModelSubscriptionStringInput | null,\n to?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionEmailFilterInput | null > | null,\n or?: Array< ModelSubscriptionEmailFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionExportFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n type?: ModelSubscriptionStringInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n exportTable?: ModelSubscriptionStringInput | null,\n fieldMapping?: ModelSubscriptionStringInput | null,\n file?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n query?: ModelSubscriptionStringInput | null,\n recordIdList?: ModelSubscriptionStringInput | null,\n status?: ModelSubscriptionStringInput | null,\n user?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionExportFilterInput | null > | null,\n or?: Array< ModelSubscriptionExportFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionRegistrationFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n courseId?: ModelSubscriptionIDInput | null,\n studentId?: ModelSubscriptionIDInput | null,\n amount?: ModelSubscriptionFloatInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n createdBy?: ModelSubscriptionStringInput | null,\n billToAddress?: ModelSubscriptionStringInput | null,\n lastName?: ModelSubscriptionStringInput | null,\n studentName?: ModelSubscriptionStringInput | null,\n status?: ModelSubscriptionStringInput | null,\n paymentStatus?: ModelSubscriptionStringInput | null,\n statusUpdatedAt?: ModelSubscriptionStringInput | null,\n quickbooksToken?: ModelSubscriptionStringInput | null,\n updatedBy?: ModelSubscriptionStringInput | null,\n allRegistrations?: ModelSubscriptionIntInput | null,\n and?: Array< ModelSubscriptionRegistrationFilterInput | null > | null,\n or?: Array< ModelSubscriptionRegistrationFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionFloatInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n in?: Array< number | null > | null,\n notIn?: Array< number | null > | null,\n};\n\nexport type ModelSubscriptionRegistrationReservationFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n courseId?: ModelSubscriptionIDInput | null,\n studentId?: ModelSubscriptionIDInput | null,\n messageDuplicationId?: ModelSubscriptionStringInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionRegistrationReservationFilterInput | null > | null,\n or?: Array< ModelSubscriptionRegistrationReservationFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionRootCourseFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n latestTermId?: ModelSubscriptionIDInput | null,\n latestTermName?: ModelSubscriptionStringInput | null,\n ageLevel?: ModelSubscriptionStringInput | null,\n createdBy?: ModelSubscriptionStringInput | null,\n description?: ModelSubscriptionStringInput | null,\n image?: ModelSubscriptionStringInput | null,\n imageDescription?: ModelSubscriptionStringInput | null,\n isOpenArtsOrTuition?: ModelSubscriptionIntInput | null,\n location?: ModelSubscriptionStringInput | null,\n medium?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n openArtsConfig?: ModelSubscriptionStringInput | null,\n skillLevel?: ModelSubscriptionStringInput | null,\n studio?: ModelSubscriptionStringInput | null,\n supplyList?: ModelSubscriptionStringInput | null,\n tuitionAmount?: ModelSubscriptionIntInput | null,\n updatedBy?: ModelSubscriptionStringInput | null,\n allRootCourses?: ModelSubscriptionIntInput | null,\n and?: Array< ModelSubscriptionRootCourseFilterInput | null > | null,\n or?: Array< ModelSubscriptionRootCourseFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionRelatedStudentFilterInput = {\n childId?: ModelSubscriptionIDInput | null,\n parentId?: ModelSubscriptionIDInput | null,\n and?: Array< ModelSubscriptionRelatedStudentFilterInput | null > | null,\n or?: Array< ModelSubscriptionRelatedStudentFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionTermFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n endDate?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n startDate?: ModelSubscriptionStringInput | null,\n isActive?: ModelSubscriptionIntInput | null,\n and?: Array< ModelSubscriptionTermFilterInput | null > | null,\n or?: Array< ModelSubscriptionTermFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionSystemFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n confirmationCancellationPolicy?: ModelSubscriptionStringInput | null,\n confirmationIntroduction?: ModelSubscriptionStringInput | null,\n confirmationWaitlist?: ModelSubscriptionStringInput | null,\n courseSearchOpening?: ModelSubscriptionStringInput | null,\n courseSearchTitle?: ModelSubscriptionStringInput | null,\n qbOauthToken?: ModelSubscriptionStringInput | null,\n qbAccounts?: ModelSubscriptionStringInput | null,\n qbClasses?: ModelSubscriptionStringInput | null,\n qbDepositToAccount?: ModelSubscriptionStringInput | null,\n qbDonationItem?: ModelSubscriptionStringInput | null,\n qbDonationItemClass?: ModelSubscriptionStringInput | null,\n qbItems?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionSystemFilterInput | null > | null,\n or?: Array< ModelSubscriptionSystemFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionSelectListFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n category?: ModelSubscriptionStringInput | null,\n key?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n sortIndex?: ModelSubscriptionIntInput | null,\n and?: Array< ModelSubscriptionSelectListFilterInput | null > | null,\n or?: Array< ModelSubscriptionSelectListFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionSelectListOptionFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n selectListId?: ModelSubscriptionIDInput | null,\n deleted?: ModelSubscriptionBooleanInput | null,\n label?: ModelSubscriptionStringInput | null,\n sortIndex?: ModelSubscriptionIntInput | null,\n value?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionSelectListOptionFilterInput | null > | null,\n or?: Array< ModelSubscriptionSelectListOptionFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionBooleanInput = {\n ne?: boolean | null,\n eq?: boolean | null,\n};\n\nexport type BatchCreateClassesMutationVariables = {\n classes?: Array< CreateClassInput | null > | null,\n};\n\nexport type BatchCreateClassesMutation = {\n batchCreateClasses?: Array< {\n __typename: \"Class\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n attendance?: {\n __typename: \"ModelAttendanceConnection\",\n nextToken?: string | null,\n } | null,\n createdAt: string,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n updatedAt: string,\n } | null > | null,\n};\n\nexport type BatchUpdateAttendanceMutationVariables = {\n attendance?: Array< UpdateAttendanceInput | null > | null,\n};\n\nexport type BatchUpdateAttendanceMutation = {\n batchUpdateAttendance?: Array< {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null > | null,\n};\n\nexport type CreateAttendanceMutationVariables = {\n input: CreateAttendanceInput,\n condition?: ModelAttendanceConditionInput | null,\n};\n\nexport type CreateAttendanceMutation = {\n createAttendance?: {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateAttendanceMutationVariables = {\n input: UpdateAttendanceInput,\n condition?: ModelAttendanceConditionInput | null,\n};\n\nexport type UpdateAttendanceMutation = {\n updateAttendance?: {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteAttendanceMutationVariables = {\n input: DeleteAttendanceInput,\n condition?: ModelAttendanceConditionInput | null,\n};\n\nexport type DeleteAttendanceMutation = {\n deleteAttendance?: {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateClassMutationVariables = {\n input: CreateClassInput,\n condition?: ModelClassConditionInput | null,\n};\n\nexport type CreateClassMutation = {\n createClass?: {\n __typename: \"Class\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n attendance?: {\n __typename: \"ModelAttendanceConnection\",\n nextToken?: string | null,\n } | null,\n createdAt: string,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateClassMutationVariables = {\n input: UpdateClassInput,\n condition?: ModelClassConditionInput | null,\n};\n\nexport type UpdateClassMutation = {\n updateClass?: {\n __typename: \"Class\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n attendance?: {\n __typename: \"ModelAttendanceConnection\",\n nextToken?: string | null,\n } | null,\n createdAt: string,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteClassMutationVariables = {\n input: DeleteClassInput,\n condition?: ModelClassConditionInput | null,\n};\n\nexport type DeleteClassMutation = {\n deleteClass?: {\n __typename: \"Class\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n attendance?: {\n __typename: \"ModelAttendanceConnection\",\n nextToken?: string | null,\n } | null,\n createdAt: string,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateCourseMutationVariables = {\n input: CreateCourseInput,\n condition?: ModelCourseConditionInput | null,\n};\n\nexport type CreateCourseMutation = {\n createCourse?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n assistant?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n instructor?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n termId?: string | null,\n term?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n rootCourseId?: string | null,\n rootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n};\n\nexport type UpdateCourseMutationVariables = {\n input: UpdateCourseInput,\n condition?: ModelCourseConditionInput | null,\n};\n\nexport type UpdateCourseMutation = {\n updateCourse?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n assistant?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n instructor?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n termId?: string | null,\n term?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n rootCourseId?: string | null,\n rootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n};\n\nexport type DeleteCourseMutationVariables = {\n input: DeleteCourseInput,\n condition?: ModelCourseConditionInput | null,\n};\n\nexport type DeleteCourseMutation = {\n deleteCourse?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n assistant?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n instructor?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n termId?: string | null,\n term?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n rootCourseId?: string | null,\n rootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n};\n\nexport type CreateEmailMutationVariables = {\n input: CreateEmailInput,\n condition?: ModelEmailConditionInput | null,\n};\n\nexport type CreateEmailMutation = {\n createEmail?: {\n __typename: \"email\",\n id: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateEmailMutationVariables = {\n input: UpdateEmailInput,\n condition?: ModelEmailConditionInput | null,\n};\n\nexport type UpdateEmailMutation = {\n updateEmail?: {\n __typename: \"email\",\n id: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteEmailMutationVariables = {\n input: DeleteEmailInput,\n condition?: ModelEmailConditionInput | null,\n};\n\nexport type DeleteEmailMutation = {\n deleteEmail?: {\n __typename: \"email\",\n id: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateExportMutationVariables = {\n input: CreateExportInput,\n condition?: ModelExportConditionInput | null,\n};\n\nexport type CreateExportMutation = {\n createExport?: {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateExportMutationVariables = {\n input: UpdateExportInput,\n condition?: ModelExportConditionInput | null,\n};\n\nexport type UpdateExportMutation = {\n updateExport?: {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteExportMutationVariables = {\n input: DeleteExportInput,\n condition?: ModelExportConditionInput | null,\n};\n\nexport type DeleteExportMutation = {\n deleteExport?: {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateRegistrationMutationVariables = {\n input: CreateRegistrationInput,\n condition?: ModelRegistrationConditionInput | null,\n};\n\nexport type CreateRegistrationMutation = {\n createRegistration?: {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateRegistrationMutationVariables = {\n input: UpdateRegistrationInput,\n condition?: ModelRegistrationConditionInput | null,\n};\n\nexport type UpdateRegistrationMutation = {\n updateRegistration?: {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteRegistrationMutationVariables = {\n input: DeleteRegistrationInput,\n condition?: ModelRegistrationConditionInput | null,\n};\n\nexport type DeleteRegistrationMutation = {\n deleteRegistration?: {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateRegistrationReservationMutationVariables = {\n input: CreateRegistrationReservationInput,\n condition?: ModelRegistrationReservationConditionInput | null,\n};\n\nexport type CreateRegistrationReservationMutation = {\n createRegistrationReservation?: {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateRegistrationReservationMutationVariables = {\n input: UpdateRegistrationReservationInput,\n condition?: ModelRegistrationReservationConditionInput | null,\n};\n\nexport type UpdateRegistrationReservationMutation = {\n updateRegistrationReservation?: {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteRegistrationReservationMutationVariables = {\n input: DeleteRegistrationReservationInput,\n condition?: ModelRegistrationReservationConditionInput | null,\n};\n\nexport type DeleteRegistrationReservationMutation = {\n deleteRegistrationReservation?: {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateRootCourseMutationVariables = {\n input: CreateRootCourseInput,\n condition?: ModelRootCourseConditionInput | null,\n};\n\nexport type CreateRootCourseMutation = {\n createRootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n courses?: {\n __typename: \"ModelCourseConnection\",\n nextToken?: string | null,\n } | null,\n latestTermId?: string | null,\n latestTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateRootCourseMutationVariables = {\n input: UpdateRootCourseInput,\n condition?: ModelRootCourseConditionInput | null,\n};\n\nexport type UpdateRootCourseMutation = {\n updateRootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n courses?: {\n __typename: \"ModelCourseConnection\",\n nextToken?: string | null,\n } | null,\n latestTermId?: string | null,\n latestTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteRootCourseMutationVariables = {\n input: DeleteRootCourseInput,\n condition?: ModelRootCourseConditionInput | null,\n};\n\nexport type DeleteRootCourseMutation = {\n deleteRootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n courses?: {\n __typename: \"ModelCourseConnection\",\n nextToken?: string | null,\n } | null,\n latestTermId?: string | null,\n latestTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateRelatedStudentMutationVariables = {\n input: CreateRelatedStudentInput,\n condition?: ModelRelatedStudentConditionInput | null,\n};\n\nexport type CreateRelatedStudentMutation = {\n createRelatedStudent?: {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n parent?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n child?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateRelatedStudentMutationVariables = {\n input: UpdateRelatedStudentInput,\n condition?: ModelRelatedStudentConditionInput | null,\n};\n\nexport type UpdateRelatedStudentMutation = {\n updateRelatedStudent?: {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n parent?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n child?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteRelatedStudentMutationVariables = {\n input: DeleteRelatedStudentInput,\n condition?: ModelRelatedStudentConditionInput | null,\n};\n\nexport type DeleteRelatedStudentMutation = {\n deleteRelatedStudent?: {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n parent?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n child?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateStudentMutationVariables = {\n input: CreateStudentInput,\n condition?: ModelStudentConditionInput | null,\n};\n\nexport type CreateStudentMutation = {\n createStudent?: {\n __typename: \"Student\",\n id: string,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n children?: {\n __typename: \"ModelRelatedStudentConnection\",\n nextToken?: string | null,\n } | null,\n parents?: {\n __typename: \"ModelRelatedStudentConnection\",\n nextToken?: string | null,\n } | null,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateStudentMutationVariables = {\n input: UpdateStudentInput,\n condition?: ModelStudentConditionInput | null,\n};\n\nexport type UpdateStudentMutation = {\n updateStudent?: {\n __typename: \"Student\",\n id: string,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n children?: {\n __typename: \"ModelRelatedStudentConnection\",\n nextToken?: string | null,\n } | null,\n parents?: {\n __typename: \"ModelRelatedStudentConnection\",\n nextToken?: string | null,\n } | null,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteStudentMutationVariables = {\n input: DeleteStudentInput,\n condition?: ModelStudentConditionInput | null,\n};\n\nexport type DeleteStudentMutation = {\n deleteStudent?: {\n __typename: \"Student\",\n id: string,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n children?: {\n __typename: \"ModelRelatedStudentConnection\",\n nextToken?: string | null,\n } | null,\n parents?: {\n __typename: \"ModelRelatedStudentConnection\",\n nextToken?: string | null,\n } | null,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateTermMutationVariables = {\n input: CreateTermInput,\n condition?: ModelTermConditionInput | null,\n};\n\nexport type CreateTermMutation = {\n createTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateTermMutationVariables = {\n input: UpdateTermInput,\n condition?: ModelTermConditionInput | null,\n};\n\nexport type UpdateTermMutation = {\n updateTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteTermMutationVariables = {\n input: DeleteTermInput,\n condition?: ModelTermConditionInput | null,\n};\n\nexport type DeleteTermMutation = {\n deleteTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateSystemMutationVariables = {\n input: CreateSystemInput,\n condition?: ModelSystemConditionInput | null,\n};\n\nexport type CreateSystemMutation = {\n createSystem?: {\n __typename: \"System\",\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateSystemMutationVariables = {\n input: UpdateSystemInput,\n condition?: ModelSystemConditionInput | null,\n};\n\nexport type UpdateSystemMutation = {\n updateSystem?: {\n __typename: \"System\",\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteSystemMutationVariables = {\n input: DeleteSystemInput,\n condition?: ModelSystemConditionInput | null,\n};\n\nexport type DeleteSystemMutation = {\n deleteSystem?: {\n __typename: \"System\",\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateSelectListMutationVariables = {\n input: CreateSelectListInput,\n condition?: ModelSelectListConditionInput | null,\n};\n\nexport type CreateSelectListMutation = {\n createSelectList?: {\n __typename: \"SelectList\",\n id: string,\n options?: {\n __typename: \"ModelSelectListOptionConnection\",\n nextToken?: string | null,\n } | null,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateSelectListMutationVariables = {\n input: UpdateSelectListInput,\n condition?: ModelSelectListConditionInput | null,\n};\n\nexport type UpdateSelectListMutation = {\n updateSelectList?: {\n __typename: \"SelectList\",\n id: string,\n options?: {\n __typename: \"ModelSelectListOptionConnection\",\n nextToken?: string | null,\n } | null,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteSelectListMutationVariables = {\n input: DeleteSelectListInput,\n condition?: ModelSelectListConditionInput | null,\n};\n\nexport type DeleteSelectListMutation = {\n deleteSelectList?: {\n __typename: \"SelectList\",\n id: string,\n options?: {\n __typename: \"ModelSelectListOptionConnection\",\n nextToken?: string | null,\n } | null,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type CreateSelectListOptionMutationVariables = {\n input: CreateSelectListOptionInput,\n condition?: ModelSelectListOptionConditionInput | null,\n};\n\nexport type CreateSelectListOptionMutation = {\n createSelectListOption?: {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type UpdateSelectListOptionMutationVariables = {\n input: UpdateSelectListOptionInput,\n condition?: ModelSelectListOptionConditionInput | null,\n};\n\nexport type UpdateSelectListOptionMutation = {\n updateSelectListOption?: {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type DeleteSelectListOptionMutationVariables = {\n input: DeleteSelectListOptionInput,\n condition?: ModelSelectListOptionConditionInput | null,\n};\n\nexport type DeleteSelectListOptionMutation = {\n deleteSelectListOption?: {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type GetAttendanceQueryVariables = {\n id: string,\n};\n\nexport type GetAttendanceQuery = {\n getAttendance?: {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type ListAttendancesQueryVariables = {\n id?: string | null,\n filter?: ModelAttendanceFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListAttendancesQuery = {\n listAttendances?: {\n __typename: \"ModelAttendanceConnection\",\n items: Array< {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AttendancesByClassIdQueryVariables = {\n classId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelAttendanceFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AttendancesByClassIdQuery = {\n attendancesByClassId?: {\n __typename: \"ModelAttendanceConnection\",\n items: Array< {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetClassQueryVariables = {\n id: string,\n};\n\nexport type GetClassQuery = {\n getClass?: {\n __typename: \"Class\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n attendance?: {\n __typename: \"ModelAttendanceConnection\",\n nextToken?: string | null,\n } | null,\n createdAt: string,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type ListClassesQueryVariables = {\n id?: string | null,\n filter?: ModelClassFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListClassesQuery = {\n listClasses?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n courseId: string,\n createdAt: string,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ClassesByCourseIdAndDateQueryVariables = {\n courseId: string,\n date?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelClassFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ClassesByCourseIdAndDateQuery = {\n classesByCourseIdAndDate?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n courseId: string,\n createdAt: string,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ClassesByDateQueryVariables = {\n date: string,\n startTime?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelClassFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ClassesByDateQuery = {\n classesByDate?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n courseId: string,\n createdAt: string,\n date?: string | null,\n day?: string | null,\n endTime?: string | null,\n startTime?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetCourseQueryVariables = {\n id: string,\n};\n\nexport type GetCourseQuery = {\n getCourse?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n assistant?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n instructor?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n termId?: string | null,\n term?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n rootCourseId?: string | null,\n rootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n};\n\nexport type ListCoursesQueryVariables = {\n id?: string | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListCoursesQuery = {\n listCourses?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type InstructorCoursesSortNameQueryVariables = {\n instructorId: string,\n name?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type InstructorCoursesSortNameQuery = {\n instructorCoursesSortName?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type InstructorCoursesSortStatusQueryVariables = {\n instructorId: string,\n status?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type InstructorCoursesSortStatusQuery = {\n instructorCoursesSortStatus?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type InstructorCoursesSortStartDateQueryVariables = {\n instructorId: string,\n startDate?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type InstructorCoursesSortStartDateQuery = {\n instructorCoursesSortStartDate?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type InstructorCoursesSortEndDateQueryVariables = {\n instructorId: string,\n endDate?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type InstructorCoursesSortEndDateQuery = {\n instructorCoursesSortEndDate?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type InstructorCoursesSortRegCountQueryVariables = {\n instructorId: string,\n numRegistered?: ModelIntKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type InstructorCoursesSortRegCountQuery = {\n instructorCoursesSortRegCount?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type CoursesByTermQueryVariables = {\n termId: string,\n name?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type CoursesByTermQuery = {\n coursesByTerm?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type CoursesByRootCourseIdAndStartDateQueryVariables = {\n rootCourseId: string,\n startDate?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type CoursesByRootCourseIdAndStartDateQuery = {\n coursesByRootCourseIdAndStartDate?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllCoursesSortUpdatedAtQueryVariables = {\n allCourses: number,\n updatedAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllCoursesSortUpdatedAtQuery = {\n allCoursesSortUpdatedAt?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllCoursesSortNameQueryVariables = {\n allCourses: number,\n name?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllCoursesSortNameQuery = {\n allCoursesSortName?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllCoursesSortStatusQueryVariables = {\n allCourses: number,\n status?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllCoursesSortStatusQuery = {\n allCoursesSortStatus?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllCoursesSortStartDateQueryVariables = {\n allCourses: number,\n startDate?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllCoursesSortStartDateQuery = {\n allCoursesSortStartDate?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllCoursesSortEndDateQueryVariables = {\n allCourses: number,\n endDate?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllCoursesSortEndDateQuery = {\n allCoursesSortEndDate?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllCoursesSortRegCountQueryVariables = {\n allCourses: number,\n numRegistered?: ModelIntKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllCoursesSortRegCountQuery = {\n allCoursesSortRegCount?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllCoursesSortWaitListCountQueryVariables = {\n allCourses: number,\n numWaitlisted?: ModelIntKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllCoursesSortWaitListCountQuery = {\n allCoursesSortWaitListCount?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllCoursesSortAvailableCountQueryVariables = {\n allCourses: number,\n numAvailable?: ModelIntKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllCoursesSortAvailableCountQuery = {\n allCoursesSortAvailableCount?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllCoursesSortIsOpenArtsQueryVariables = {\n allCourses: number,\n isOpenArtsOrTuition?: ModelIntKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllCoursesSortIsOpenArtsQuery = {\n allCoursesSortIsOpenArts?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type SearchCoursesQueryVariables = {\n filter?: SearchableCourseFilterInput | null,\n sort?: Array< SearchableCourseSortInput | null > | null,\n limit?: number | null,\n nextToken?: string | null,\n from?: number | null,\n aggregates?: Array< SearchableCourseAggregationInput | null > | null,\n};\n\nexport type SearchCoursesQuery = {\n searchCourses?: {\n __typename: \"SearchableCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null >,\n nextToken?: string | null,\n total?: number | null,\n aggregateItems: Array< {\n __typename: \"SearchableAggregateResult\",\n name: string,\n result: ( {\n __typename: \"SearchableAggregateScalarResult\",\n value: number,\n } | {\n __typename: \"SearchableAggregateBucketResult\",\n buckets?: Array< {\n __typename: string,\n key: string,\n doc_count: number,\n } | null > | null,\n }\n ) | null,\n } | null >,\n } | null,\n};\n\nexport type GetEmailQueryVariables = {\n id: string,\n createdAt: string,\n};\n\nexport type GetEmailQuery = {\n getEmail?: {\n __typename: \"email\",\n id: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type ListEmailsQueryVariables = {\n id?: string | null,\n createdAt?: ModelStringKeyConditionInput | null,\n filter?: ModelEmailFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListEmailsQuery = {\n listEmails?: {\n __typename: \"ModelEmailConnection\",\n items: Array< {\n __typename: \"email\",\n id: string,\n studentId: string,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type EmailsByStudentIdQueryVariables = {\n studentId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelemailFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type EmailsByStudentIdQuery = {\n emailsByStudentId?: {\n __typename: \"ModelemailConnection\",\n items: Array< {\n __typename: \"email\",\n id: string,\n studentId: string,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetExportQueryVariables = {\n id: string,\n createdAt: string,\n};\n\nexport type GetExportQuery = {\n getExport?: {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type ListExportsQueryVariables = {\n id?: string | null,\n createdAt?: ModelStringKeyConditionInput | null,\n filter?: ModelExportFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListExportsQuery = {\n listExports?: {\n __typename: \"ModelExportConnection\",\n items: Array< {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ExportByTypeQueryVariables = {\n type: string,\n name?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelExportFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ExportByTypeQuery = {\n exportByType?: {\n __typename: \"ModelExportConnection\",\n items: Array< {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ExportByTypeSortedByCreatedAtQueryVariables = {\n type: string,\n createdAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelExportFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ExportByTypeSortedByCreatedAtQuery = {\n exportByTypeSortedByCreatedAt?: {\n __typename: \"ModelExportConnection\",\n items: Array< {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetRegistrationQueryVariables = {\n id: string,\n};\n\nexport type GetRegistrationQuery = {\n getRegistration?: {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type ListRegistrationsQueryVariables = {\n id?: string | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListRegistrationsQuery = {\n listRegistrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RegistrationsByCourseIdAndLastNameQueryVariables = {\n courseId: string,\n lastName?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RegistrationsByCourseIdAndLastNameQuery = {\n registrationsByCourseIdAndLastName?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RegistrationsByCourseIdAndCreatedAtQueryVariables = {\n courseId: string,\n createdAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RegistrationsByCourseIdAndCreatedAtQuery = {\n registrationsByCourseIdAndCreatedAt?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RegistrationsByCourseIdAndStatusQueryVariables = {\n courseId: string,\n status?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RegistrationsByCourseIdAndStatusQuery = {\n registrationsByCourseIdAndStatus?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RegistrationsByStudentIdAndCreatedAtQueryVariables = {\n studentId: string,\n createdAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RegistrationsByStudentIdAndCreatedAtQuery = {\n registrationsByStudentIdAndCreatedAt?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RegistrationsByStudentIdAndCourseIdQueryVariables = {\n studentId: string,\n courseId?: ModelIDKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RegistrationsByStudentIdAndCourseIdQuery = {\n registrationsByStudentIdAndCourseId?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RegistrationsBySubSortCreatedAtQueryVariables = {\n sub: string,\n createdAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RegistrationsBySubSortCreatedAtQuery = {\n registrationsBySubSortCreatedAt?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RegistrationsBySubSortStatusQueryVariables = {\n sub: string,\n status?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RegistrationsBySubSortStatusQuery = {\n registrationsBySubSortStatus?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllRegistrationsSortCreatedAtQueryVariables = {\n allRegistrations: number,\n createdAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllRegistrationsSortCreatedAtQuery = {\n allRegistrationsSortCreatedAt?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n studentId: string,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetRegistrationReservationQueryVariables = {\n id: string,\n};\n\nexport type GetRegistrationReservationQuery = {\n getRegistrationReservation?: {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type ListRegistrationReservationsQueryVariables = {\n id?: string | null,\n filter?: ModelRegistrationReservationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListRegistrationReservationsQuery = {\n listRegistrationReservations?: {\n __typename: \"ModelRegistrationReservationConnection\",\n items: Array< {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RegistrationReservationsByCourseIdAndCreatedAtQueryVariables = {\n courseId: string,\n createdAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationReservationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RegistrationReservationsByCourseIdAndCreatedAtQuery = {\n registrationReservationsByCourseIdAndCreatedAt?: {\n __typename: \"ModelRegistrationReservationConnection\",\n items: Array< {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RegistrationReservationsByStudentIdAndCreatedAtQueryVariables = {\n studentId: string,\n createdAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationReservationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RegistrationReservationsByStudentIdAndCreatedAtQuery = {\n registrationReservationsByStudentIdAndCreatedAt?: {\n __typename: \"ModelRegistrationReservationConnection\",\n items: Array< {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetRootCourseQueryVariables = {\n id: string,\n};\n\nexport type GetRootCourseQuery = {\n getRootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n courses?: {\n __typename: \"ModelCourseConnection\",\n nextToken?: string | null,\n } | null,\n latestTermId?: string | null,\n latestTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type ListRootCoursesQueryVariables = {\n id?: string | null,\n filter?: ModelRootCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListRootCoursesQuery = {\n listRootCourses?: {\n __typename: \"ModelRootCourseConnection\",\n items: Array< {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RootCoursesByLatestTermQueryVariables = {\n latestTermId: string,\n name?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRootCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RootCoursesByLatestTermQuery = {\n rootCoursesByLatestTerm?: {\n __typename: \"ModelRootCourseConnection\",\n items: Array< {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllRootCoursesSortNameQueryVariables = {\n allRootCourses: number,\n name?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRootCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllRootCoursesSortNameQuery = {\n allRootCoursesSortName?: {\n __typename: \"ModelRootCourseConnection\",\n items: Array< {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type AllRootCoursesSortTermQueryVariables = {\n allRootCourses: number,\n latestTermName?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRootCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type AllRootCoursesSortTermQuery = {\n allRootCoursesSortTerm?: {\n __typename: \"ModelRootCourseConnection\",\n items: Array< {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetRelatedStudentQueryVariables = {\n id: string,\n};\n\nexport type GetRelatedStudentQuery = {\n getRelatedStudent?: {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n parent?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n child?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type ListRelatedStudentsQueryVariables = {\n filter?: ModelRelatedStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListRelatedStudentsQuery = {\n listRelatedStudents?: {\n __typename: \"ModelRelatedStudentConnection\",\n items: Array< {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RelatedStudentsByChildIdQueryVariables = {\n childId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRelatedStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RelatedStudentsByChildIdQuery = {\n relatedStudentsByChildId?: {\n __typename: \"ModelRelatedStudentConnection\",\n items: Array< {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type RelatedStudentsByParentIdQueryVariables = {\n parentId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRelatedStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type RelatedStudentsByParentIdQuery = {\n relatedStudentsByParentId?: {\n __typename: \"ModelRelatedStudentConnection\",\n items: Array< {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetStudentQueryVariables = {\n id: string,\n};\n\nexport type GetStudentQuery = {\n getStudent?: {\n __typename: \"Student\",\n id: string,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n children?: {\n __typename: \"ModelRelatedStudentConnection\",\n nextToken?: string | null,\n } | null,\n parents?: {\n __typename: \"ModelRelatedStudentConnection\",\n nextToken?: string | null,\n } | null,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type ListStudentsQueryVariables = {\n id?: string | null,\n filter?: ModelStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListStudentsQuery = {\n listStudents?: {\n __typename: \"ModelStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ByEmailQueryVariables = {\n email: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ByEmailQuery = {\n byEmail?: {\n __typename: \"ModelStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ByInstructorQueryVariables = {\n isInstructor: number,\n firstName?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ByInstructorQuery = {\n byInstructor?: {\n __typename: \"ModelStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type StudentByProClassIdQueryVariables = {\n proClassId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type StudentByProClassIdQuery = {\n studentByProClassId?: {\n __typename: \"ModelStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type StudentBySubQueryVariables = {\n sub: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type StudentBySubQuery = {\n studentBySub?: {\n __typename: \"ModelStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type StudentSortFirstNameQueryVariables = {\n allStudents: number,\n firstName?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type StudentSortFirstNameQuery = {\n studentSortFirstName?: {\n __typename: \"ModelStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type StudentSortLastNameQueryVariables = {\n allStudents: number,\n lastName?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type StudentSortLastNameQuery = {\n studentSortLastName?: {\n __typename: \"ModelStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type StudentSortEmailQueryVariables = {\n allStudents: number,\n email?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type StudentSortEmailQuery = {\n studentSortEmail?: {\n __typename: \"ModelStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type StudentSortDOBQueryVariables = {\n allStudents: number,\n dob?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelStudentFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type StudentSortDOBQuery = {\n studentSortDOB?: {\n __typename: \"ModelStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type SearchStudentsQueryVariables = {\n filter?: SearchableStudentFilterInput | null,\n sort?: Array< SearchableStudentSortInput | null > | null,\n limit?: number | null,\n nextToken?: string | null,\n from?: number | null,\n aggregates?: Array< SearchableStudentAggregationInput | null > | null,\n};\n\nexport type SearchStudentsQuery = {\n searchStudents?: {\n __typename: \"SearchableStudentConnection\",\n items: Array< {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n total?: number | null,\n aggregateItems: Array< {\n __typename: \"SearchableAggregateResult\",\n name: string,\n result: ( {\n __typename: \"SearchableAggregateScalarResult\",\n value: number,\n } | {\n __typename: \"SearchableAggregateBucketResult\",\n buckets?: Array< {\n __typename: string,\n key: string,\n doc_count: number,\n } | null > | null,\n }\n ) | null,\n } | null >,\n } | null,\n};\n\nexport type GetTermQueryVariables = {\n id: string,\n};\n\nexport type GetTermQuery = {\n getTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type ListTermsQueryVariables = {\n id?: string | null,\n filter?: ModelTermFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListTermsQuery = {\n listTerms?: {\n __typename: \"ModelTermConnection\",\n items: Array< {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ActiveTermsQueryVariables = {\n isActive: number,\n name?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelTermFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ActiveTermsQuery = {\n activeTerms?: {\n __typename: \"ModelTermConnection\",\n items: Array< {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetSystemQueryVariables = {\n id: string,\n};\n\nexport type GetSystemQuery = {\n getSystem?: {\n __typename: \"System\",\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type ListSystemsQueryVariables = {\n id?: string | null,\n filter?: ModelSystemFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListSystemsQuery = {\n listSystems?: {\n __typename: \"ModelSystemConnection\",\n items: Array< {\n __typename: \"System\",\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetSelectListQueryVariables = {\n id: string,\n};\n\nexport type GetSelectListQuery = {\n getSelectList?: {\n __typename: \"SelectList\",\n id: string,\n options?: {\n __typename: \"ModelSelectListOptionConnection\",\n nextToken?: string | null,\n } | null,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type ListSelectListsQueryVariables = {\n id?: string | null,\n filter?: ModelSelectListFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListSelectListsQuery = {\n listSelectLists?: {\n __typename: \"ModelSelectListConnection\",\n items: Array< {\n __typename: \"SelectList\",\n id: string,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type SelectListsByCategoryQueryVariables = {\n category: string,\n sortIndex?: ModelIntKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelSelectListFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type SelectListsByCategoryQuery = {\n selectListsByCategory?: {\n __typename: \"ModelSelectListConnection\",\n items: Array< {\n __typename: \"SelectList\",\n id: string,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type SelectListsByKeyQueryVariables = {\n key: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelSelectListFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type SelectListsByKeyQuery = {\n selectListsByKey?: {\n __typename: \"ModelSelectListConnection\",\n items: Array< {\n __typename: \"SelectList\",\n id: string,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetSelectListOptionQueryVariables = {\n id: string,\n};\n\nexport type GetSelectListOptionQuery = {\n getSelectListOption?: {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type ListSelectListOptionsQueryVariables = {\n id?: string | null,\n filter?: ModelSelectListOptionFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListSelectListOptionsQuery = {\n listSelectListOptions?: {\n __typename: \"ModelSelectListOptionConnection\",\n items: Array< {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type SelectListOptionsBySelectListIdAndSortIndexQueryVariables = {\n selectListId: string,\n sortIndex?: ModelIntKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelSelectListOptionFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type SelectListOptionsBySelectListIdAndSortIndexQuery = {\n selectListOptionsBySelectListIdAndSortIndex?: {\n __typename: \"ModelSelectListOptionConnection\",\n items: Array< {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type OnCreateAttendanceSubscriptionVariables = {\n filter?: ModelSubscriptionAttendanceFilterInput | null,\n};\n\nexport type OnCreateAttendanceSubscription = {\n onCreateAttendance?: {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateAttendanceSubscriptionVariables = {\n filter?: ModelSubscriptionAttendanceFilterInput | null,\n};\n\nexport type OnUpdateAttendanceSubscription = {\n onUpdateAttendance?: {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteAttendanceSubscriptionVariables = {\n filter?: ModelSubscriptionAttendanceFilterInput | null,\n};\n\nexport type OnDeleteAttendanceSubscription = {\n onDeleteAttendance?: {\n __typename: \"Attendance\",\n id: string,\n classId: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n createdAt: string,\n status?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateCourseSubscriptionVariables = {\n filter?: ModelSubscriptionCourseFilterInput | null,\n};\n\nexport type OnCreateCourseSubscription = {\n onCreateCourse?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n assistant?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n instructor?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n termId?: string | null,\n term?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n rootCourseId?: string | null,\n rootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n};\n\nexport type OnUpdateCourseSubscriptionVariables = {\n filter?: ModelSubscriptionCourseFilterInput | null,\n};\n\nexport type OnUpdateCourseSubscription = {\n onUpdateCourse?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n assistant?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n instructor?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n termId?: string | null,\n term?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n rootCourseId?: string | null,\n rootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n};\n\nexport type OnDeleteCourseSubscriptionVariables = {\n filter?: ModelSubscriptionCourseFilterInput | null,\n};\n\nexport type OnDeleteCourseSubscription = {\n onDeleteCourse?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n assistant?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n instructor?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n termId?: string | null,\n term?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n rootCourseId?: string | null,\n rootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n latestTermId?: string | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n};\n\nexport type OnCreateEmailSubscriptionVariables = {\n filter?: ModelSubscriptionEmailFilterInput | null,\n};\n\nexport type OnCreateEmailSubscription = {\n onCreateEmail?: {\n __typename: \"email\",\n id: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateEmailSubscriptionVariables = {\n filter?: ModelSubscriptionEmailFilterInput | null,\n};\n\nexport type OnUpdateEmailSubscription = {\n onUpdateEmail?: {\n __typename: \"email\",\n id: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteEmailSubscriptionVariables = {\n filter?: ModelSubscriptionEmailFilterInput | null,\n};\n\nexport type OnDeleteEmailSubscription = {\n onDeleteEmail?: {\n __typename: \"email\",\n id: string,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n body?: string | null,\n createdAt: string,\n sentAt?: string | null,\n status?: string | null,\n subject?: string | null,\n to?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateExportSubscriptionVariables = {\n filter?: ModelSubscriptionExportFilterInput | null,\n};\n\nexport type OnCreateExportSubscription = {\n onCreateExport?: {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateExportSubscriptionVariables = {\n filter?: ModelSubscriptionExportFilterInput | null,\n};\n\nexport type OnUpdateExportSubscription = {\n onUpdateExport?: {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteExportSubscriptionVariables = {\n filter?: ModelSubscriptionExportFilterInput | null,\n};\n\nexport type OnDeleteExportSubscription = {\n onDeleteExport?: {\n __typename: \"Export\",\n id: string,\n type: string,\n createdAt: string,\n exportTable?: string | null,\n fieldMapping?: string | null,\n file?: string | null,\n name: string,\n query?: string | null,\n recordIdList?: Array< string | null > | null,\n status?: string | null,\n user?: string | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateRegistrationSubscriptionVariables = {\n filter?: ModelSubscriptionRegistrationFilterInput | null,\n sub?: string | null,\n};\n\nexport type OnCreateRegistrationSubscription = {\n onCreateRegistration?: {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateRegistrationSubscriptionVariables = {\n filter?: ModelSubscriptionRegistrationFilterInput | null,\n sub?: string | null,\n};\n\nexport type OnUpdateRegistrationSubscription = {\n onUpdateRegistration?: {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteRegistrationSubscriptionVariables = {\n filter?: ModelSubscriptionRegistrationFilterInput | null,\n sub?: string | null,\n};\n\nexport type OnDeleteRegistrationSubscription = {\n onDeleteRegistration?: {\n __typename: \"Registration\",\n id: string,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n assistantId?: string | null,\n instructorSub?: string | null,\n instructorId?: string | null,\n termId?: string | null,\n rootCourseId?: string | null,\n ageLevel?: string | null,\n classDayTimes?: string | null,\n classRepeatCount?: number | null,\n classRepeatInterval?: number | null,\n classRepeatType?: string | null,\n confirmationLinks?: string | null,\n confirmationNotes?: string | null,\n createdAt: string,\n createdBy?: string | null,\n dayOfWeek?: string | null,\n description?: string | null,\n donationAmount?: number | null,\n endDate?: string | null,\n endTime?: string | null,\n firstClassDate?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n minimumRegistrations?: number | null,\n name?: string | null,\n numAvailable?: number | null,\n numDropped?: number | null,\n numRegistered?: number | null,\n numSeats?: number | null,\n numTransferred?: number | null,\n numWaitlisted?: number | null,\n openArtsConfig?: string | null,\n proClassId?: string | null,\n qbClass?: string | null,\n qbItem?: string | null,\n registrationOpenTime?: string | null,\n registrationSlug?: string | null,\n showInSearch?: number | null,\n skillLevel?: string | null,\n startDate?: string | null,\n startTime?: string | null,\n status?: string | null,\n studio?: string | null,\n suggestedContribution?: string | null,\n supplyList?: string | null,\n timeOfDay?: string | null,\n tuitionAmount?: number | null,\n updatedAt?: string | null,\n updatedBy?: string | null,\n allCourses?: number | null,\n } | null,\n studentId: string,\n student?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n amount?: number | null,\n createdAt: string,\n createdBy?: string | null,\n billToAddress?: string | null,\n lastName?: string | null,\n studentName?: string | null,\n status: RegistrationStatus,\n paymentStatus?: string | null,\n statusUpdatedAt?: string | null,\n sub: string,\n quickbooksToken?: string | null,\n updatedBy?: string | null,\n allRegistrations?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateRegistrationReservationSubscriptionVariables = {\n filter?: ModelSubscriptionRegistrationReservationFilterInput | null,\n};\n\nexport type OnCreateRegistrationReservationSubscription = {\n onCreateRegistrationReservation?: {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateRegistrationReservationSubscriptionVariables = {\n filter?: ModelSubscriptionRegistrationReservationFilterInput | null,\n};\n\nexport type OnUpdateRegistrationReservationSubscription = {\n onUpdateRegistrationReservation?: {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteRegistrationReservationSubscriptionVariables = {\n filter?: ModelSubscriptionRegistrationReservationFilterInput | null,\n};\n\nexport type OnDeleteRegistrationReservationSubscription = {\n onDeleteRegistrationReservation?: {\n __typename: \"RegistrationReservation\",\n id: string,\n courseId: string,\n studentId: string,\n messageDuplicationId?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateRootCourseSubscriptionVariables = {\n filter?: ModelSubscriptionRootCourseFilterInput | null,\n};\n\nexport type OnCreateRootCourseSubscription = {\n onCreateRootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n courses?: {\n __typename: \"ModelCourseConnection\",\n nextToken?: string | null,\n } | null,\n latestTermId?: string | null,\n latestTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateRootCourseSubscriptionVariables = {\n filter?: ModelSubscriptionRootCourseFilterInput | null,\n};\n\nexport type OnUpdateRootCourseSubscription = {\n onUpdateRootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n courses?: {\n __typename: \"ModelCourseConnection\",\n nextToken?: string | null,\n } | null,\n latestTermId?: string | null,\n latestTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteRootCourseSubscriptionVariables = {\n filter?: ModelSubscriptionRootCourseFilterInput | null,\n};\n\nexport type OnDeleteRootCourseSubscription = {\n onDeleteRootCourse?: {\n __typename: \"RootCourse\",\n id: string,\n courses?: {\n __typename: \"ModelCourseConnection\",\n nextToken?: string | null,\n } | null,\n latestTermId?: string | null,\n latestTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n latestTermName?: string | null,\n ageLevel?: string | null,\n createdBy?: string | null,\n description?: string | null,\n image?: string | null,\n imageDescription?: string | null,\n isOpenArtsOrTuition?: number | null,\n location?: string | null,\n medium?: string | null,\n name?: string | null,\n openArtsConfig?: string | null,\n skillLevel?: string | null,\n studio?: string | null,\n supplyList?: string | null,\n tuitionAmount?: number | null,\n updatedBy?: string | null,\n allRootCourses?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateRelatedStudentSubscriptionVariables = {\n filter?: ModelSubscriptionRelatedStudentFilterInput | null,\n sub?: string | null,\n};\n\nexport type OnCreateRelatedStudentSubscription = {\n onCreateRelatedStudent?: {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n parent?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n child?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateRelatedStudentSubscriptionVariables = {\n filter?: ModelSubscriptionRelatedStudentFilterInput | null,\n sub?: string | null,\n};\n\nexport type OnUpdateRelatedStudentSubscription = {\n onUpdateRelatedStudent?: {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n parent?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n child?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteRelatedStudentSubscriptionVariables = {\n filter?: ModelSubscriptionRelatedStudentFilterInput | null,\n sub?: string | null,\n};\n\nexport type OnDeleteRelatedStudentSubscription = {\n onDeleteRelatedStudent?: {\n __typename: \"RelatedStudent\",\n childId: string,\n parentId: string,\n parent?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n child?: {\n __typename: \"Student\",\n id: string,\n address1?: string | null,\n address2?: string | null,\n city?: string | null,\n country?: string | null,\n createdBy?: string | null,\n dob?: string | null,\n education?: string | null,\n email?: string | null,\n emergencyContactFirstName?: string | null,\n emergencyContactLastName?: string | null,\n emergencyContactPhone?: string | null,\n emergencyContactEmail?: string | null,\n emergencyContactRelationship?: string | null,\n ethnicity?: string | null,\n firstName?: string | null,\n gender?: string | null,\n income?: string | null,\n isInstructor?: number | null,\n isMainAccount?: number | null,\n lastActivity?: string | null,\n lastLogin?: string | null,\n lastName?: string | null,\n middleName?: string | null,\n notes?: string | null,\n optInEmails?: number | null,\n phoneHome?: string | null,\n phoneMobile?: string | null,\n phoneWork?: string | null,\n phoneWorkExt?: string | null,\n postal?: string | null,\n proClassId?: string | null,\n pronouns?: string | null,\n relationshipToAccount?: string | null,\n state?: string | null,\n status?: string | null,\n sub?: string | null,\n updatedBy?: string | null,\n allStudents?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n sub?: string | null,\n id: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateTermSubscriptionVariables = {\n filter?: ModelSubscriptionTermFilterInput | null,\n};\n\nexport type OnCreateTermSubscription = {\n onCreateTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateTermSubscriptionVariables = {\n filter?: ModelSubscriptionTermFilterInput | null,\n};\n\nexport type OnUpdateTermSubscription = {\n onUpdateTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteTermSubscriptionVariables = {\n filter?: ModelSubscriptionTermFilterInput | null,\n};\n\nexport type OnDeleteTermSubscription = {\n onDeleteTerm?: {\n __typename: \"Term\",\n id: string,\n createdAt: string,\n endDate?: string | null,\n name?: string | null,\n startDate?: string | null,\n isActive?: number | null,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateSystemSubscriptionVariables = {\n filter?: ModelSubscriptionSystemFilterInput | null,\n};\n\nexport type OnCreateSystemSubscription = {\n onCreateSystem?: {\n __typename: \"System\",\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateSystemSubscriptionVariables = {\n filter?: ModelSubscriptionSystemFilterInput | null,\n};\n\nexport type OnUpdateSystemSubscription = {\n onUpdateSystem?: {\n __typename: \"System\",\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteSystemSubscriptionVariables = {\n filter?: ModelSubscriptionSystemFilterInput | null,\n};\n\nexport type OnDeleteSystemSubscription = {\n onDeleteSystem?: {\n __typename: \"System\",\n id: string,\n confirmationCancellationPolicy?: string | null,\n confirmationIntroduction?: string | null,\n confirmationWaitlist?: string | null,\n courseSearchOpening?: string | null,\n courseSearchTitle?: string | null,\n qbOauthToken?: string | null,\n qbAccounts?: string | null,\n qbClasses?: string | null,\n qbDepositToAccount?: string | null,\n qbDonationItem?: string | null,\n qbDonationItemClass?: string | null,\n qbItems?: string | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateSelectListSubscriptionVariables = {\n filter?: ModelSubscriptionSelectListFilterInput | null,\n};\n\nexport type OnCreateSelectListSubscription = {\n onCreateSelectList?: {\n __typename: \"SelectList\",\n id: string,\n options?: {\n __typename: \"ModelSelectListOptionConnection\",\n nextToken?: string | null,\n } | null,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateSelectListSubscriptionVariables = {\n filter?: ModelSubscriptionSelectListFilterInput | null,\n};\n\nexport type OnUpdateSelectListSubscription = {\n onUpdateSelectList?: {\n __typename: \"SelectList\",\n id: string,\n options?: {\n __typename: \"ModelSelectListOptionConnection\",\n nextToken?: string | null,\n } | null,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteSelectListSubscriptionVariables = {\n filter?: ModelSubscriptionSelectListFilterInput | null,\n};\n\nexport type OnDeleteSelectListSubscription = {\n onDeleteSelectList?: {\n __typename: \"SelectList\",\n id: string,\n options?: {\n __typename: \"ModelSelectListOptionConnection\",\n nextToken?: string | null,\n } | null,\n category: string,\n key: string,\n name: string,\n sortIndex?: number | null,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnCreateSelectListOptionSubscriptionVariables = {\n filter?: ModelSubscriptionSelectListOptionFilterInput | null,\n};\n\nexport type OnCreateSelectListOptionSubscription = {\n onCreateSelectListOption?: {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnUpdateSelectListOptionSubscriptionVariables = {\n filter?: ModelSubscriptionSelectListOptionFilterInput | null,\n};\n\nexport type OnUpdateSelectListOptionSubscription = {\n onUpdateSelectListOption?: {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n\nexport type OnDeleteSelectListOptionSubscriptionVariables = {\n filter?: ModelSubscriptionSelectListOptionFilterInput | null,\n};\n\nexport type OnDeleteSelectListOptionSubscription = {\n onDeleteSelectListOption?: {\n __typename: \"SelectListOption\",\n id: string,\n selectListId: string,\n deleted?: boolean | null,\n label: string,\n sortIndex?: number | null,\n value: string,\n createdAt: string,\n updatedAt: string,\n } | null,\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_3 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle h-105 sm:max-w-5xl sm:w-full sm:p-6\" }\nconst _hoisted_4 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_5 = { class: \"mt-54 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport api from '@/utilities/api' // api\n\n\timport { \n\t\tsearchStudents,\n\t\tgetStudent,\n\t\tregistrationsByStudentIdAndCourseId\n\t} from '../queries'\n\n\timport {\n\t\tcreateRegistration,\n\t\tcreateRegistrationReservation\n\t} from '../mutations'\n\n\timport { // types\n\t\tCourse as CourseType,\n\t\tSearchStudentsQueryVariables,\n\t\tSearchableSortDirection,\n\t\tSearchableStudentSortableFields\n\t} from \"@/API\"\n\n\timport { // ui\n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\timport { // vue\n\t\tuseDebounceFn\n\t} from \"@vueuse/core\"\n\n\timport {\n\t\tref\n\t} from 'vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"RegisterStudentModal\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n courseName: {\n type: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tcourseId: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\trefreshData: {\n\t\t\ttype: Function,\n\t\t\tdefault: () => {return}\n\t\t},\n\t\tcourse: {\n\t\t\ttype: Object,\n\t\t\tdefault: {} as CourseType\n\t\t}\n\t},\n emits: ['closeModal','showNotification'],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\t\n\n\t//Notification\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\n\t\n\tconst isLoading = ref(false)\n\tconst selectedStudent = ref(null)\n\tconst studentOptions = ref([])\n\n\tasync function registerStudent() {\n\t\tlet student\n\t\ttry {\n\t\t\tisLoading.value = true\n\n\t\t\t// check for existing registration record\n\t\t\tlet res: any = await api(registrationsByStudentIdAndCourseId, { \n\t\t\t\tstudentId: selectedStudent.value,\n\t\t\t\tcourseId: {eq: props?.courseId}\n\t\t\t})\n\t\t\tlet registrations = res.data.registrationsByStudentIdAndCourseId.items\n\n\t\t\tif(registrations.length) {\n\t\t\t\tthrow \"This student already has a registration created for this course.\"\n\t\t\t}\n\n\t\t\t// get student\n\t\t\tres = await api(getStudent, { id: selectedStudent.value})\n\t\t\tstudent = res.data.getStudent\n\n\t\t\tconst now = new Date().toISOString()\n\t\t\t\n\t\t\t// create registration reservation to avoid queue issues if student is registered before course registration opens\n\t\t\tconst messageDuplicationId = selectedStudent.value + props.courseId + now\n\t\t\tawait api(createRegistrationReservation, { \n\t\t\t\tinput: {\n\t\t\t\t\tcourseId: props.courseId,\n\t\t\t\t\tstudentId: selectedStudent.value,\n\t\t\t\t\tmessageDuplicationId\n\t\t\t\t}\n\t\t\t})\n\n\t\t\t// create registration\n\t\t\tawait api(createRegistration, { \n\t\t\t\tinput: {\n\t\t\t\t\tcourseId: props.courseId,\n\t\t\t\t\tstudentId: selectedStudent.value,\n\t\t\t\t\tlastName: student.lastName,\n\t\t\t\t\tpaymentStatus: \"Payment Pending\",\n\t\t\t\t\tsub: student.sub,\n\t\t\t\t\tstatus: \"Registered\",\n\t\t\t\t\tstatusUpdatedAt: now,\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tnotificationTitle.value = 'Success'\n\t\t\tnotificationSubtitle.value = `Registered ${student.firstName} ${student.lastName} for ${props.courseName}`\n\t\t\tnotificationIcon.value = 0\n\n\t\t\tawait props.refreshData()\n\t\t\temit('showNotification', {\n\t\t\t\tnotificationTitle: notificationTitle.value ,\n\t\t\t\tnotificationSubtitle: notificationSubtitle.value,\n\t\t\t\tnotificationIcon: notificationIcon.value,\n\t\t\t})\n\t\t\temit('closeModal', false)\n\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tlet error = ''\n\t\t\tif(!student?.sub) {\n\t\t\t\terror = \"Selected student does not have an account\"\n\t\t\t}\n\t\t\telse {\n\t\t\t\terror = String(e)\n\t\t\t}\n\t\t\tnotificationSubtitle.value = `Could not register ${student.firstName} ${student.lastName}. Error: ${error}.`\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\n\t// #region search\n\t/**\n \t* Search through student records and display records with matching criteria\n \t* @param {any} text - The criteria being searched for\n \t*/\n\tconst searchMethod = useDebounceFn(async (text: string) => {\n\n\t\ttry {\n\t\t\tlet input: SearchStudentsQueryVariables = {\n\t\t\t\tfilter: {\n\t\t\t\t\tand: [\n\t\t\t\t\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\tsort: [{\n\t\t\t\t\tdirection: SearchableSortDirection.asc, \n\t\t\t\t\tfield: SearchableStudentSortableFields.firstName\n\t\t\t\t}]\n\t\t\t}\n\t\t\t// and multiple words together\n\t\t\ttext.split(' ').forEach(word => {\n\t\t\t\tinput.filter?.and?.push ({\n\t\t\t\t\tor: [\n\t\t\t\t\t\t{ firstName: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ lastName: { matchPhrasePrefix: word } },\n\t\t\t\t\t\t{ email: { matchPhrasePrefix: word } }\n\t\t\t\t\t]\n\t\t\t\t})\n\t\t\t})\n\n\t\t\tconst response: any = await api(searchStudents, input)\n\t\t\tlet items = response?.data?.searchStudents?.items\n\n\t\t\tstudentOptions.value = items.map((student: any) => {\n\t\t\t\treturn {\n\t\t\t\t\tlabel: `${student.firstName} ${student.lastName} ${student.sub ? ('(' + (student.email ?? 'No email') + ')' ) : \"(No account)\"}`,\n\t\t\t\t\tvalue: student.id\n\t\t\t\t}\n\t\t\t})\n\t\t\t\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t}, 500)\n\t// #endregion\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n\n return (_openBlock(), _createBlock(_unref(TransitionRoot), { as: \"template\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_2,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Register a Student \")\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"font-bold mb-3\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.courseName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_select, {\n modelValue: selectedStudent.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((selectedStudent).value = $event)),\n placeholder: \"Type to search...\",\n options: studentOptions.value,\n label: \"Student to Register\",\n searchable: \"\",\n \"search-method\": _unref(searchMethod),\n name: \"student-id\",\n id: \"student-id\"\n }, null, 8, [\"modelValue\", \"options\", \"search-method\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_tw_button, {\n class: \"btn-base uppercase\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (emit('closeModal', false)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n disabled: !selectedStudent.value || isLoading.value,\n loading: isLoading.value,\n onClick: registerStudent,\n class: \"btn-base btn-brand\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Register Selected Student \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"])\n ]),\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[2] || (_cache[2] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./RegisterStudentModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RegisterStudentModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, unref as _unref, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, Transition as _Transition, Teleport as _Teleport, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"table-action-menu\",\n class: \"relative\"\n}, null, -1)\nconst _hoisted_2 = [\"href\"]\nconst _hoisted_3 = [\"href\"]\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Open options\", -1)\nconst _hoisted_6 = { class: \"py-1\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport { \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems\n\t} from '@headlessui/vue'\n\n\t// API\n\timport api from '@/utilities/api'\n\timport { Course, Registration } from '@/API';\n\n\t// Queries\n\timport {\n\t\tregistrationsByCourseIdAndCreatedAt,\n\t\tgetCourse,\n\t\tlistSystems,\n\t\tregistrationsByCourseIdAndStatus\n\t} from '../queries'\n\n\t// Vue\n\timport {\n\t\tref,\n\t\tcomputed\n\t} from 'vue'\n\n\t// Mutations\n\timport { \n\t\tupdateRegistration\n\t} from '../../mutations';\n\timport { \n\t\tupdateCourse\n\t} from '../mutations';\n\n\t// Components\n\timport RegisterStudentModal from './RegisterStudentModal.vue'\n\n\t//#endregion\n\n\t//eslint-disable-next-line\n\t\n\t// name the component\n\tconst __default__ = { name: \"CourseRegistrations\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tcourseId: {\n\t\t\ttype: String\n\t\t},\n\t\trefreshCourse: {\n\t\t\ttype: Function,\n\t\t\tdefault: () => {return}\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\t//#region Imports\n\n\t// Headless UI\n\t\n\n\tconst registrations = ref([])\n\tconst query = ref(registrationsByCourseIdAndCreatedAt)\n\tconst queryName = ref(\"registrationsByCourseIdAndCreatedAt\")\n\tconst sortDirection = ref(\"ASC\")\n\tconst course = ref()\n\tconst isLoading = ref(false)\n\n\t//#region startup\n\tasync function getData() {\n\t\ttry {\n\t\t\tisLoading.value = true\n\t\t\tconst response: any = await api(query.value, { courseId: props.courseId, sortDirection: sortDirection.value })\n\t\t\tregistrations.value = response.data[queryName.value].items\n\t\t\t// const response: any = await api(registrationsByCourseIdAndLastName, { courseId: props.courseId })\n\t\t\t// registrations.value = response.data.registrationsByCourseIdAndLastName.items\n\t\t\tconst courseRaw: any = await api(getCourse, { id: props.courseId })\n\t\t\tcourse.value = courseRaw.data.getCourse\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\n\tgetData()\n\t//#endregion\n\n\t//#region table actions\n\tconst tableActions = [\n\t\t{ label: 'Email Selected Students...', method: emailSelectedStudents },\n\t\t{ label: 'Register Selected Students', method: registerSelectedStudents },\n\t\t{ label: 'Waitlist Selected Students', method: waitlistSelectedStudents },\n\t\t{ label: 'Drop Selected Students', method: dropSelectedStudents },\n\t\t{ label: 'Export Selected Registrations...', method: exportSelectedStudents }\n\t]\n\n\t//#region email\n\tconst emailModalOpen = ref(false);\n\tconst registerStudentModalOpen = ref(false);\n\tconst numRecordsEmail = ref(0);\n\tconst emailData = ref([]);\n\n\tasync function registerSelectedStudents(selectedRows: Array){\n\t\tfor (const i of selectedRows) {\n\t\t\tawait api(updateRegistration, { input: { id: i, status: \"Registered\" } })\n\n\t\t\t// Get student data\n\t\t\t// const student = res.data.updateRegistration.student\n\n\t\t\t// Get system info\n\t\t\t// const systemRes = await api(listSystems)\n\t\t\t// const system = systemRes.data.listSystems.items[0]\n\n\t\t\t// // get global details\n\t\t\t// let header = \"Hyde Park Arts Center
5020 S Cornell Ave
Chicao, IL, 60615
(773) 324-5520\"\n\t\t\t// let confirmationIntroduction = system.confirmationIntroduction\n\t\t\t// let confirmationCancellationPolicy = system.confirmationCancellationPolicy\n\t\t\t\t\n\t\t\t// // get course details\n\t\t\t// let confirmationLinks = course.value?.confirmationLinks\n\t\t\t// let confirmationNotes = course.value?.confirmationNotes\n\t\t\t// let studio = course.value?.studio\n\t\t\t// let startDate = course.value?.startDate\n\t\t\t// let startTime = course.value?.startTime\n\t\t\t// let endDate = course.value?.endDate\n\t\t\t// let endTime = course.value?.endTime\n\t\t\t// let courseName = course.value?.name\n\t\t\t// let studentName = student.firstName + \" \" + student.lastName\n\t\t\t\t\n\t\t\t// let data = generateTemplate(header, confirmationIntroduction, confirmationCancellationPolicy, confirmationLinks, confirmationNotes, studio, startDate, startTime, endDate, endTime, courseName, studentName)\n\n\t\t\t// // Email student\n\t\t\t// const input = {\n\t\t\t// \tstudentId: student.id,\n\t\t\t// \tbody: data,\n\t\t\t// \tsubject: \"You've Been Registered\",\n\t\t\t// \tto: student.email,\n\t\t\t// \tsentAt: new Date(Date.now()),\n\t\t\t// \tstatus: 'Pending'\n\t\t\t// }\n\n\t\t\t// await api(createEmail, {input})\n\t\t}\n\t\tawait getData()\n\t\t// await updateCounts()\n\t\tawait props.refreshCourse()\n\t}\n\n\tasync function waitlistSelectedStudents(selectedRows: Array){\n\t\tfor (const i of selectedRows) {\n\t\t\tawait api(updateRegistration, { input: { id: i, status: \"Waitlisted\" } })\n\t\t}\n\t\tawait getData()\n\t\t// await updateCounts()\n\t\tawait props.refreshCourse()\n\t}\n\n\tasync function dropSelectedStudents(selectedRows: Array){\n\t\tfor (const i of selectedRows) {\n\t\t\tawait api(updateRegistration, { input: { id: i, status: \"Dropped\" } })\n\t\t}\n\t\tawait getData()\n\t\t// await updateCounts()\n\t\tawait props.refreshCourse()\n\t}\n\n\t// async function updateCounts() {\n\t// \tconst numRegistered = registrations.value.filter((reg) => {return reg?.status === 'Registered'}).length\n\t// \tconst numWaitlisted = registrations.value.filter((reg) => {return reg?.status === 'Waitlisted'}).length\n\t// \tconst numDropped = registrations.value.filter((reg) => {return reg?.status === 'Dropped'}).length\n\t// \tlet numAvailable = course.value?.numSeats - numRegistered\n\t// \tif(numAvailable < 0) numAvailable = 0\n\t// \tconst input = {\n\t// \t\tid: props.courseId,\n\t// \t\tnumRegistered: numRegistered,\n\t// \t\tnumWaitlisted: numWaitlisted,\n\t// \t\tnumDropped: numDropped,\n\t// \t\tnumAvailable: numAvailable\n\t// \t}\n\t// \tawait api(updateCourse, { input })\n\t// }\n\n\tfunction emailSelectedStudents(selectedRows: Array){\n\t\tnumRecordsEmail.value = selectedRows.length\n\t\temailModalOpen.value = true\n\t\temailData.value = selectedRows as any\n\t}\n\t//#endregion\n\t\n\t//#endregion\n\n\t//#region notification\n\tconst notificationTitle = ref('Success')\n\tconst notificationSubtitle = ref('')\n\tconst notificationIcon = ref(0)\n\tconst notificationType = ref('')\n\tconst showNotification = ref(false)\n\t// const showNotification = computed(() => {\n\t// \treturn notificationType.value ? true : false\n\t// })\n\n\t// const notificationSubtitle = computed(() => {\n\t// \tif(notificationType.value === 'email')\n\t// \t\treturn 'All selected student(s) are being emailed in the background.'\n\t// \telse\t\n\t// \t\treturn ''\n\t// })\n\tfunction showEmailNotification(type:string) {\n\t\tnotificationType.value = type\n\t\tnotificationIcon.value = 0\n\t\tnotificationTitle.value = 'Success'\n\t\tnotificationSubtitle.value = 'All selected student(s) are being emailed in the background.'\n\t\tshowNotification.value = true\n\t}\n\t//#endregion\n\n\t// #region Sorting\n\n\t/**\n\t * To sort based on the selected column\n\t * @param {string} _sortDirection - The current sort direction\n\t * @param _query - The query to be used\n\t * @param _queryName - The query name \n\t */\n\tasync function sortMethod(_sortDirection: string, _query: any, _queryName: string){\n\t\tregistrations.value.length = 0\n\t\tsortDirection.value = _sortDirection\n\t\tquery.value = _query\n\t\tqueryName.value = _queryName\n\t\tgetData()\n\t}\n\n\t// #endregion\n\n\tfunction registerNewStudent() {\n\t\tregisterStudentModalOpen.value = true\n\t}\n\n\tasync function showRegistrationNotification(payload:any) {\n\t\tnotificationTitle.value = payload.notificationTitle\n\t\tnotificationSubtitle.value = payload.notificationSubtitle\n\t\tnotificationIcon.value = payload.notificationIcon\n\t\tshowNotification.value = true\n\n\t\t// await updateCounts()\n\t\tawait props.refreshCourse()\n\t}\n\n\t// function generateTemplate(header, confirmationIntroduction, confirmationCancellationPolicy, confirmationLinks, confirmationNotes, studio, startDate, startTime, endDate, endTime, courseName, studentName){\n\t// \t// let sent = new Date().toLocaleString();\n\n\t// \t// Hardcoded Values for Dev\n\t// \t// confirmationIntroduction = \"All students will be expected to adhere to the art Center's most up-to-date health and safety guidelines.
Refund or class credit request must be submitted at least one week prior to the first class session. Refunds are subject to a $30 cancellation fee for tuition-based classes, and refunds for Open Arts class contributions are subject to a 5% cancellation fee. In the event that in-person classes or studio sessions are no longer possible due to COV-19, they will either move online or be refunded. If a student does not meet the community health requirements (full vaccination), they will not qualify for a refund.\" \n\t// \t// confirmationCancellationPolicy = \"Refund or class credit request must be submitted at least one week prior to the first class session. Refunds are subject to a $30 cancellation fee for tuition-based classes, and refunds for Open Arts class contributions are subject to a 5% cancellation fee. In the event that in-person classes or studio sessions are no longer possible due to COVID-19, they will either move online or be refunded. If a student does not meet the community health requirements (full vaccination), they will not qualify for a refund.\" \n\t// \t// confirmationLinks = \"Join Zoom Meeting
https://zoom.com\" \n\t// \t// studio = \"Room 1234\" \n\t// \t// startDate = \"07/14/2023\" \n\t// \t// startTime = \"9:00 AM\" \n\t// \t// endDate = \"12/14/2023\" \n\t// \t// endTime = \"10:00 AM\" \n\t// \t// courseName = \"Sculpture Basics\" \n\t// \t// studentName = \"John Smith\" \n\t// \t// transactionAmount = \"99.99\" \n\t// \t// transactionDescription = \"Tuition\" \n\t// \t// transactionDate = \"06/30/2023\" \n\t// \t// header = \"Hyde Park Arts Center
5020 S Cornell Ave
Chicao, IL, 60615
(773) 324-5520\" \n\n\t// \t//Conversions to fix formatting\n\t// \t//Convert Time\n\t// \tstartTime = convertTime(startTime)\n\t// \tendTime = convertTime(endTime)\n\t\t\n\t// \treturn ` \n\t// \t \n\t// \t\t \n\t// \t\t\t \n\t// \t\t\t \n\t// \t\t\t\n\t// \t\t\t\t${header}\n\t// \t\t\t \n\t// \t\t \n\n\t// \t\t\n\t// \t\t\t

\n\t// \t\t\t\tDear ${ studentName }:\n\t// \t\t\t

\n\t// \t\t\t

\n\t// \t\t\t\t${ confirmationIntroduction.replace('{{course_name}}', courseName) }\n\t// \t\t\t

\n\t// \t\t\t

\n\t// \t\t\t\tClasses\n\t// \t\t\t

\n\t// \t\t\t\n\t// \t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\n\t// \t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\t\n\t// \t\t\t\t\n\t// \t\t\t
ClassLocationStart DateEnd DateStart TimeEnd Time
${ courseName }${ studio }${ startDate }${ endDate }${ startTime }${ endTime }
\n\t// \t\t\t
\n\t// \t\t\t\t

\n\t// \t\t\t\t\tTRANSFER AND CANCELLATION POLICY:\n\t// \t\t\t\t

\n\t// \t\t\t\t

\n\t// \t\t\t\t\t${ confirmationCancellationPolicy || '' }\n\t// \t\t\t\t

\n\t// \t\t\t\t

\n\t// \t\t\t\t\tINFORMATION LINKS:\n\t// \t\t\t\t

\n\t// \t\t\t\t

\n\t// \t\t\t\t\t${ confirmationLinks || '' }\n\t// \t\t\t\t

\n\t// \t\t\t
\n\t// \t\t\n\t// \t`\n\t// }\n\n\t// function convertTime(time: string|null|undefined){\n\t// \tif(!time) return ''\n\t\t\n\t// \tlet hours = Number(time.split(\":\")[0])\n\t// \tlet minutes = time.split(\":\")[1]\n\n\t// \t// Determine AM/PM\n\t// \tlet timeOfDay = hours < 12 ? 'AM' : 'PM'\n\t\t\n\t// \t// Convert to 12 hour time\n\t// \thours = hours < 13 ? hours === 0 ? 12 : hours : hours - 12\n\n\t// \treturn `${hours}:${minutes} ${timeOfDay}`\t\t\n\t// }\n\n\t//#region export\n\tconst exportModalOpen = ref(false);\n\tconst numRecordsExport = ref('');\n\tconst exportData = ref([]);\n\tconst exportAll = ref(false)\n\n\tfunction exportSelectedStudents(selectedRows: Array){\n\t\tnumRecordsExport.value = selectedRows.length\n\t\texportModalOpen.value = true\n\t\texportData.value = selectedRows\n\t}\n\n\tfunction exportAllRegistrations() {\n\t\texportAll.value = true\n\t\texportModalOpen.value = true\n\t}\n\t//#endregion\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_EllipsisVerticalIcon = _resolveComponent(\"EllipsisVerticalIcon\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_email_modal = _resolveComponent(\"email-modal\")!\n const _component_tw_export = _resolveComponent(\"tw-export\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true),\n _hoisted_1,\n _createVNode(_component_tw_table, {\n class: \"-mt-4\",\n loading: isLoading.value,\n data: registrations.value,\n placeholder: \"No registered students to display\",\n checkable: true,\n \"multi-row-actions\": tableActions,\n \"default-sort\": {prop: 'createdAt', order: 'ASC'}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"studentName\",\n header: \"Student/Child Name\",\n width: \"44\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"First Name\",\n width: \"34\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.student.firstName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"lastName\",\n header: \"Last Name\",\n width: \"30\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Status\",\n width: \"30\",\n sortable: \"\",\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(registrationsByCourseIdAndStatus), 'registrationsByCourseIdAndStatus') }\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status || \"No Status\"), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"createdAt\",\n header: \"Registered At\",\n width: \"60\",\n sortable: \"\",\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(registrationsByCourseIdAndCreatedAt), 'registrationsByCourseIdAndCreatedAt') }\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatTimestampSeconds(row.createdAt)), 1)\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"updatedAt\",\n header: \"Updated At\",\n width: \"60\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatTimestamp(row.updatedAt)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Email\",\n width: \"52\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"a\", {\n class: \"link font-bold font-gotham\",\n href: 'mailto:' + row.student.email\n }, _toDisplayString(row.student.email), 9, _hoisted_2)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Age\",\n width: \"14\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.age(row.student.dob)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Pronouns\",\n width: \"36\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.student.pronouns), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Phone\",\n width: \"34\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"a\", {\n class: \"link font-bold font-gotham\",\n href: 'tel:' + row.student.phoneMobile\n }, _toDisplayString(row.student.phoneMobile), 9, _hoisted_3)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Address\",\n width: \"50\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.student.address1), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_4,\n _createVNode(_unref(Menu), {\n as: \"div\",\n class: \"relative inline-block text-left\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_unref(MenuButton), { class: \"flex items-center rounded-full text-gray-400 hover:text-gray-600 focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2 focus:ring-offset-gray-100\" }, {\n default: _withCtx(() => [\n _hoisted_5,\n _createVNode(_component_EllipsisVerticalIcon, {\n class: \"h-5 w-5\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _: 1\n })\n ]),\n (_openBlock(), _createBlock(_Teleport, { to: \"#table-action-menu\" }, [\n _createVNode(_Transition, {\n \"enter-active-class\": \"transition ease-out duration-100\",\n \"enter-from-class\": \"transform opacity-0 scale-95\",\n \"enter-to-class\": \"transform opacity-100 scale-100\",\n \"leave-active-class\": \"transition ease-in duration-75\",\n \"leave-from-class\": \"transform opacity-100 scale-100\",\n \"leave-to-class\": \"transform opacity-0 scale-95\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(MenuItems), { class: \"absolute right-0 z-30 mt-14 w-64 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_unref(MenuItem), null, {\n default: _withCtx(({ active }) => [\n _createElementVNode(\"a\", {\n onClick: registerNewStudent,\n href: \"#\",\n class: _normalizeClass([active ? 'bg-gray-100 text-gray-900' : 'text-gray-700', 'block px-4 py-2 text-sm'])\n }, \"Register a Student...\", 2)\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n ]),\n _: 1\n })\n ]),\n default: _withCtx(({row}) => [\n _hoisted_7,\n _createVNode(_component_router_link, {\n to: {name: 'StudentDetails', params:{id: row.student.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_8\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"loading\", \"data\"]),\n (emailModalOpen.value)\n ? (_openBlock(), _createBlock(_component_email_modal, {\n key: 1,\n show: emailModalOpen.value,\n \"num-records-email\": numRecordsEmail.value,\n table: 'registration',\n data: emailData.value,\n onCloseEmailModal: _cache[1] || (_cache[1] = (value) => emailModalOpen.value = value),\n onEmailSuccess: _cache[2] || (_cache[2] = (value) => showEmailNotification(value))\n }, null, 8, [\"show\", \"num-records-email\", \"data\"]))\n : _createCommentVNode(\"\", true),\n (registerStudentModalOpen.value)\n ? (_openBlock(), _createBlock(RegisterStudentModal, {\n key: 2,\n show: registerStudentModalOpen.value,\n \"course-name\": course.value.name,\n \"course-id\": course.value.id,\n \"refresh-data\": getData,\n course: course.value,\n onShowNotification: showRegistrationNotification,\n onCloseModal: _cache[3] || (_cache[3] = (value) => registerStudentModalOpen.value = value)\n }, null, 8, [\"show\", \"course-name\", \"course-id\", \"course\"]))\n : _createCommentVNode(\"\", true),\n (exportModalOpen.value)\n ? (_openBlock(), _createBlock(_component_tw_export, {\n key: 3,\n show: exportModalOpen.value,\n table: \"registration\",\n \"num-records-export\": numRecordsExport.value,\n data: exportData.value,\n all: exportAll.value,\n onCloseExportModal: _cache[4] || (_cache[4] = (value) => exportModalOpen.value = value)\n }, null, 8, [\"show\", \"num-records-export\", \"data\", \"all\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./CourseRegistrations.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CourseRegistrations.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, vShow as _vShow, createVNode as _createVNode, withDirectives as _withDirectives, unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"font-bold font-gotham\" }\nconst _hoisted_2 = { class: \"font-bold font-gotham\" }\nconst _hoisted_3 = { class: \"font-bold font-gotham\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_6 = [\"onClick\"]\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"span\", null, \"View or Take Attendance\", -1)\nconst _hoisted_8 = [\n _hoisted_7\n]\n\nimport { \n\t\tclassesByCourseIdAndDate,\n\t\tattendancesByClassId,\n\t\tregistrationsByCourseIdAndCreatedAt\n\t} from '../queries'\n\n\t// Mutations\n\timport {\n\t\tcreateAttendance,\n\t\tupdateAttendance\n\t} from '../mutations'\n\n\t// API\n\timport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\timport { \n\t\tClass as ClassType,\n\t} from \"@/API\"\n\timport api from \"@/utilities/api\"\n\n\t// Vue\n\timport {\n\t\tref\n\t} from 'vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"CourseAttendance\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tcourseId: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\t// Queries\n\tconst classes = ref([]);\n\tconst limit = 100\n\tconst isLoading = ref(false)\n\tconst sortDirection = ref(\"ASC\")\n\tconst query = ref(classesByCourseIdAndDate)\n\tconst queryName = ref('classesByCourseIdAndDate')\n\tconst nextToken = ref(null)\n\tconst filter = ref({})\n\tconst loading = ref(false)\n\n\t//eslint-disable-next-line\n\t\n\t\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t*/\n\tasync function getData(reset:boolean = false) {\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tcourseId: props.courseId,\n\t\t\tfilter: filter.value,\n\t\t\tsortDirection: sortDirection.value\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry{\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\n\t\t\t// tally attendance\n\t\t\titems.forEach((item) => {\n\t\t\t\tlet allNull = item.attendance.items.every((a:any) => {return a.status === null})\n\t\t\t\tlet onTime = item.attendance.items.filter((a:any) => {return a.status === \"On Time\"}).length\n\t\t\t\tlet late = item.attendance.items.filter((a:any) => {return a.status === \"Excused\"}).length\n\t\t\t\tlet absent = item.attendance.items.filter((a:any) => {return a.status === \"Absent\"}).length\n\t\t\t\titem.onTime = onTime\n\t\t\t\titem.late = late\n\t\t\t\titem.absent = absent\n\t\t\t\titem.allNull = allNull\n\t\t\t});\n\n\t\t\tif(reset) classes.value = items\n\t\t\telse classes.value = [...classes.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\n\t/**\n\t * To sort based on the selected column\n\t * @param {string} _sortDirection - The current sort direction\n\t * @param _query - The query to be used\n\t * @param _queryName - The query name \n\t*/\n\tasync function sortMethod(_sortDirection: string, _query: any, _queryName: string){\n\t\tclasses.value.length = 0\n\t\tsortDirection.value = _sortDirection\n\t\tquery.value = _query\n\t\tqueryName.value = _queryName\n\t\tgetData(true)\n\t}\n\n\n\tconst attendanceModalOpen = ref(false)\n\tconst classDate = ref('')\n\tconst classID = ref('')\n\n\t/**\n\t * Display the attendance modal for the selected class\n\t * @param {object} row - The active class record\n\t*/\n\tasync function showModal(row: any){\n\t\tclassID.value = row.id\n\t\tclassDate.value = row.date\n\t\tawait createAttendanceRecords()\n\t\tattendanceModalOpen.value = true\n\t}\n\n\t/**\n\t * Create any missing attendance records for class\n\t*/\n\tasync function createAttendanceRecords(){\n\t\ttry{\n\t\t\tloading.value = true\n\t\t\t// Get list of current attendance records for class\n\t\t\tlet res: any = await api(attendancesByClassId, { classId: classID.value })\n\t\t\tconst attendanceRecords = res.data.attendancesByClassId.items\n\n\t\t\t// Get list of registered students for course\n\t\t\tres = await api(registrationsByCourseIdAndCreatedAt, {courseId: props.courseId})\n\t\t\tconst registrations = res.data.registrationsByCourseIdAndCreatedAt.items\n\n\t\t\tfor(const registration of registrations){\n\t\t\t\tif(registration.status == 'Registered'){\n\t\t\t\t\t// Make sure registered student doesn't already have an existing attendance record for this class\n\t\t\t\t\tconst exists = attendanceRecords.some(a => a.studentId === registration.studentId)\n\t\t\t\t\t\n\t\t\t\t\tif(!exists){\n\t\t\t\t\t\t// Create new attendance record\n\t\t\t\t\t\tconst input = {\n\t\t\t\t\t\t\tclassId: classID.value,\n\t\t\t\t\t\t\tstudentId: registration.studentId\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tawait api(createAttendance, {input})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(registration.status === \"Dropped\") { // update attendance\n\t\t\t\t\t// Make sure dropped student already have an existing attendance record for this class\n\t\t\t\t\tconst attendance = attendanceRecords.find(a => a.studentId === registration.studentId)\n\t\t\t\t\tif(attendance) {\n\t\t\t\t\t\tconst input = {\n\t\t\t\t\t\t\tid: attendance.id,\n\t\t\t\t\t\t\tregistrationStatus: registration.status\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tawait api(updateAttendance, {input})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tgetData(true)\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_full_loading = _resolveComponent(\"tw-full-loading\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_UserIconMini = _resolveComponent(\"UserIconMini\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_attendance_modal = _resolveComponent(\"attendance-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _withDirectives(_createVNode(_component_tw_full_loading, null, null, 512), [\n [_vShow, loading.value]\n ]),\n _createVNode(_component_tw_table, {\n class: \"-mt-4\",\n data: classes.value,\n placeholder: \"No classes to display\",\n loading: isLoading.value,\n \"default-sort\": {prop: 'date', order: 'ASC'}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"date\",\n header: \"Class Date\",\n width: \"40\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(classesByCourseIdAndDate), 'classesByCourseIdAndDate') }\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatDate(row.date)), 1)\n ]),\n _: 1\n }, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n header: \"Start Time\",\n width: \"40\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.convertTime(row.startTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"End Time\",\n width: \"40\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.convertTime(row.endTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"On Time\",\n width: \"33\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"flex justify-start space-x-1 items-center\", [row.allNull ? 'text-gray-400' : 'text-brand4-500']])\n }, [\n _createVNode(_component_UserIconMini, { class: \"h-4 w-4\" }),\n _createElementVNode(\"span\", _hoisted_1, _toDisplayString(row.allNull ? \"—\" : row.onTime), 1)\n ], 2)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Excused\",\n width: \"33\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"flex justify-start space-x-1 items-center\", [row.allNull ? 'text-gray-400' : 'text-brand3-500']])\n }, [\n _createVNode(_component_UserIconMini, { class: \"h-4 w-4\" }),\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString(row.allNull ? \"—\" : row.late), 1)\n ], 2)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Absent\",\n width: \"33\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"flex justify-start space-x-1 items-center\", [row.allNull ? 'text-gray-400' : 'text-red-500']])\n }, [\n _createVNode(_component_UserIconMini, { class: \"h-4 w-4\" }),\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(row.allNull ? \"—\" : row.absent), 1)\n ], 2)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, { width: \"105\" }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 sticky right-0\",\n width: \"44\"\n }, {\n header: _withCtx(() => [\n _hoisted_4\n ]),\n default: _withCtx(({row}) => [\n _hoisted_5,\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: ($event: any) => (showModal(row)),\n class: \"link font-gotham font-bold\"\n }, _hoisted_8, 8, _hoisted_6)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\", \"loading\"]),\n (attendanceModalOpen.value)\n ? (_openBlock(), _createBlock(_component_attendance_modal, {\n key: 0,\n show: attendanceModalOpen.value,\n \"course-id\": props.courseId,\n \"class-id\": classID.value,\n \"class-date\": classDate.value,\n onCloseAttendanceModal: _cache[0] || (_cache[0] = (value) => {attendanceModalOpen.value = value; getData(true)})\n }, null, 8, [\"show\", \"course-id\", \"class-id\", \"class-date\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./CourseAttendance.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CourseAttendance.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"p-6 space-y-6\" }\n\nimport {\n\t\tupdateCourse\n\t} from '../mutations'\n\n\t// API\n\timport api from '@/utilities/api'\n\t\n\timport { \n\t\tCourse as CourseType\n\t} from '@/API'\n\timport { listSystems } from '../queries'\n\n\timport { \n\t\tSystem as SystemType\n\t} from '@/API'\n\n\t// vue\n\timport {\n\t\tref,\n\t\tonMounted\n\t} from 'vue'\n\t\n\t// name the component\n\tconst __default__ = { name: \"QuickbooksSettings\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n course: { default: () => {return {} as CourseType} }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\t// Mutations\n\tconst system = ref({} as SystemType)\n\t\n\n\t// const showSave = ref(false)\n\tconst loading = ref(false)\n\n\tconst classId = ref(null)\n\tconst itemId = ref(null)\n\t// function showSaveButton(){\n\t// \tshowSave.value = true\n\t// }\n\n\tconst _course = ref({} as CourseType)\n\n\tonMounted(() => {\n\t\t_course.value = props.course\n\t\tclassId.value = JSON.parse(_course?.value?.qbClass || \"{}\")?.Id\n\t\titemId.value = JSON.parse(_course?.value?.qbItem || \"{}\")?.Id\n\t\tgetData()\n\t})\n\n\tconst classes = ref([])\n\tconst classOptions = ref([])\n\tconst items = ref([])\n\tconst itemOptions = ref([])\n\tasync function getData() {\n\t\tloading.value = true\n\t\ttry {\n\t\t\tconst listSys:any = await api(listSystems)\n\t\t\tsystem.value = listSys?.data?.listSystems.items[0]\n\n\t\t\tclasses.value = JSON.parse(system?.value?.qbClasses || \"[]\")\n\t\t\tclassOptions.value = classes.value.map((_class) => {\n\t\t\t\treturn {\n\t\t\t\t\tlabel: _class.Name,\n\t\t\t\t\tvalue: _class.Id\n\t\t\t\t}\n\t\t\t})\n\t\t\titems.value = JSON.parse(system?.value?.qbItems || \"[]\")\n\t\t\titemOptions.value = items.value.map((item) => {\n\t\t\t\treturn {\n\t\t\t\t\tlabel: item.Name,\n\t\t\t\t\tvalue: item.Id\n\t\t\t\t}\n\t\t\t})\n\t\t\t\n\t\t} \n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\t/**\n\t * To save the changes made on the Confirmation Letter tab\n\t */\n\tasync function save(){\n\t\ttry {\n\t\t\tlet _class = classes.value.find((_class) => {\n\t\t\t\treturn _class.Id == classId.value\n\t\t\t})\n\t\t\tlet item = items.value.find((item) => {\n\t\t\t\treturn item.Id == itemId.value\n\t\t\t})\n\t\t\tlet input = {\n\t\t\t\tid: _course.value.id,\n\t\t\t\tqbClass: JSON.stringify(_class),\n\t\t\t\tqbItem: JSON.stringify(item),\n\t\t\t}\n\t\t\tlet res = await api(updateCourse, { input } )\n\n\t\t\tif(res.errors){\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\t// showSave.value = false\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_tw_select, {\n label: \"QuickBooks Item\",\n class: \"w-64\",\n modelValue: itemId.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((itemId).value = $event)),\n options: itemOptions.value\n }, null, 8, [\"modelValue\", \"options\"]),\n _createVNode(_component_tw_select, {\n label: \"QuickBooks Class\",\n class: \"w-64\",\n modelValue: classId.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((classId).value = $event)),\n options: classOptions.value\n }, null, 8, [\"modelValue\", \"options\"]),\n _createVNode(_component_tw_button, {\n onClick: save,\n class: \"btn-base btn-brand\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./QuickbooksSettings.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./QuickbooksSettings.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Teleport as _Teleport, toDisplayString as _toDisplayString, vShow as _vShow, createElementVNode as _createElementVNode, withDirectives as _withDirectives, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, unref as _unref, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"max-w-screen-2xl py-4 mx-auto px-4 sm:px-6 md:px-8 flex justify-between items-start md:items-center flex-col md:flex-row sticky top-18\" }\nconst _hoisted_2 = { class: \"flex justify-start gap-2 md:gap-4 items-center\" }\nconst _hoisted_3 = { class: \"h-7 rounded-full bg-gray-300 animate-pulse w-60\" }\nconst _hoisted_4 = { class: \"card mb-8 -mt-2\" }\nconst _hoisted_5 = { class: \"grid grid-cols-2 divide-y md:divide-x md:divide-y-0\" }\nconst _hoisted_6 = { class: \"col-span-2 md:col-span-1 pb-8 md:pb-0 md:pr-8\" }\nconst _hoisted_7 = { class: \"grid grid-cols-2 gap-6\" }\nconst _hoisted_8 = { class: \"col-span-1\" }\nconst _hoisted_9 = { class: \"col-span-1\" }\nconst _hoisted_10 = { class: \"col-span-1\" }\nconst _hoisted_11 = { class: \"col-span-1\" }\nconst _hoisted_12 = { class: \"col-span-1\" }\nconst _hoisted_13 = { class: \"col-span-1\" }\nconst _hoisted_14 = { class: \"col-span-1\" }\nconst _hoisted_15 = { class: \"col-span-1\" }\nconst _hoisted_16 = { class: \"col-span-1\" }\nconst _hoisted_17 = { class: \"col-span-1 items-center flex\" }\nconst _hoisted_18 = { key: 1 }\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"h-4 rounded-full bg-gray-300 animate-pulse w-1/2\" }, null, -1)\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-3 h-6 rounded-full bg-gray-300 animate-pulse w-full\" }, null, -1)\nconst _hoisted_21 = [\n _hoisted_19,\n _hoisted_20\n]\nconst _hoisted_22 = { class: \"col-span-2 md:col-span-1 pt-8 md:pt-0 md:pl-8\" }\nconst _hoisted_23 = { class: \"grid grid-cols-5 gap-4 mb-3\" }\nconst _hoisted_24 = { class: \"col-span-2 lg:col-span-1\" }\nconst _hoisted_25 = { class: \"col-span-2 lg:col-span-1\" }\nconst _hoisted_26 = { class: \"col-span-2 lg:col-span-1\" }\nconst _hoisted_27 = { class: \"col-span-2 lg:col-span-1\" }\nconst _hoisted_28 = { class: \"col-span-2 lg:col-span-1\" }\nconst _hoisted_29 = { class: \"space-y-3 row-span-1 pt-8\" }\nconst _hoisted_30 = { class: \"sm:hidden\" }\nconst _hoisted_31 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"tabs\",\n class: \"sr-only\"\n}, \"Select a tab\", -1)\nconst _hoisted_32 = [\"value\", \"selected\"]\nconst _hoisted_33 = { class: \"card p-0\" }\nconst _hoisted_34 = { class: \"hidden sm:block\" }\nconst _hoisted_35 = { class: \"border-b border-gray-200\" }\nconst _hoisted_36 = {\n class: \"isolate flex border-gray-200 overflow-x-scroll\",\n \"aria-label\": \"Tabs\"\n}\nconst _hoisted_37 = [\"onClick\", \"aria-current\"]\nconst _hoisted_38 = {\n key: 0,\n class: \"flex gap-4 justify-start items-center mt-8\"\n}\nconst _hoisted_39 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_40 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_41 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-md sm:w-full sm:p-6\" }\nconst _hoisted_42 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_43 = { class: \"text-sm pt-5 leading-6 font-medium text-coolGray-600\" }\nconst _hoisted_44 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport { \n\t\tVL_LOCATION_OPTIONS\n\t} from '@/utilities/valueLists.js'\n\n\t// Vue\n\timport {\n\t\tonMounted, \n\t\tref\n\t} from 'vue'\t\n\timport api from '@/utilities/api'\n\n\t//Router\n\timport{\n\t\tuseRouter,\n\t\tuseRoute\n\t} from 'vue-router'\n\n\t//Queries\n\timport { \n\t\tgetCourse\n\t} from './queries'\n\n\t//Mutations\n\timport {\n\t\tcreateCourse,\n\t\tdeleteCourse as _deleteCourse,\n\t\tupdateCourse\n\t} from './mutations'\n\n\t//Data Models\n\timport {\n\t\tCourse,\n\t\t// Student,\n\t\t// Term\n\t} from '@/API'\n\n\t// components\n\timport { \n\t\tDialog, \n\t\tDialogTitle,\n\t\tDialogOverlay,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\timport CourseTuitionSettings from './components/CourseTuitionSettings.vue'\n\timport ClassScheduler from './components/ClassScheduler.vue'\n\timport ConfirmationLetterSettings from './components/ConfirmationLetterSettings.vue'\n\timport OnlineRegistration from \"./components/OnlineRegistration.vue\"\n\timport CourseRegistrations from \"./components/CourseRegistrations.vue\"\n\timport CourseAttendance from './components/CourseAttendance.vue'\n\timport QuickbooksSettings from \"./components/QuickbooksSettings.vue\"\n\n\t// store\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\n\timport { \n\t\tuserStore\n\t} from '@/store/userStore'\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"CourseDetails\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tid: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tedit: {\n\t\t\ttype: String,\n\t\t\tdefault: \"0\"\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\tconst _valueListStore = valueListStore()\n\tconst store = userStore()\n\n\t\n\n\t//Local Vars\n\tconst course = ref({} as Course)\n\tconst loading = ref(false)\n\tconst router = useRouter()\n\tconst route = useRoute()\n\tconst isEditMode = ref(route.name === 'NewCourse' ? true : false)\n\tconst medium = ref([])\n\tconst numSeatsInput = ref(null)\n\n\tconst showConfirmation = ref(false)\n\tconst confirmationTitle = ref(\"\")\n\tconst confirmationDetails = ref(\"\")\n\tconst confirmationButtonLabel = ref(\"\")\n\tconst confirmationCancelButtonLabel = ref(\"Cancel\")\n\tconst confirmationConfirmAction = ref()\n\n\tfunction openDeleteModal() {\n\t\tconfirmationTitle.value = \"Delete Course?\"\n\t\tconfirmationDetails.value = \"Are you sure you want to delete this course? This course and all of its details will be permanently lost.\"\n\t\tshowConfirmation.value = true\n\t\tconfirmationButtonLabel.value = \"Delete\"\n\t\tconfirmationCancelButtonLabel.value = \"Cancel\"\n\t\tconfirmationConfirmAction.value = () => confirmDelete()\n\t}\n\n\tfunction openCancelModal() {\n\t\tconfirmationTitle.value = \"Discard Course Changes?\"\n\t\tconfirmationDetails.value = \"Are you sure you want to discard your changes? All unsaved changes will be lost.\"\n\t\tshowConfirmation.value = true\n\t\tconfirmationButtonLabel.value = \"Discard Changes\"\n\t\tconfirmationCancelButtonLabel.value = \"Keep Editing\"\n\t\tconfirmationConfirmAction.value = () => cancelEdits()\n\t}\n\n\tconst courseStatusOptions = ref([\n\t\t{ value: 'Draft', label: 'Draft' },\n\t\t{ value: 'Registering', label: 'Registering' },\n\t\t{ value: 'Underway', label: 'Underway' },\n\t\t{ value: 'Archived', label: 'Archived' }\n\t])\n\n\tconst tabs = ref([\n\t\t{ name: 'Registrations', href:'#', current: true },\n\t\t{ name: 'Scheduling', href:'#', current: false },\n\t\t{ name: 'Tuition', href:'#', current: false },\n\t\t{ name: 'Online Registration', href:'#', current: false },\n\t\t{ name: 'Confirmation Letter', href:'#', current: false },\n\t\t{ name: 'Attendance', href:'#', current: false },\n\t\t{ name: 'QuickBooks', href:'#', current: false },\n\t])\n\tconst selectedTab = ref(0)\n\n\tasync function getData(showMessageModal = false) {\n\t\ttry {\n\t\t\tif(showMessageModal){\n\t\t\t\tlet message = [\"Success\", \"Changes have been saved.\", \"0\"]\n\t\t\t\tshowMessage(message)\n\t\t\t}\n\n\t\t\tloading.value = true\t\t\t\n\t\t\tconst response: any = await api(getCourse, { id: props.id })\n\t\t\tcourse.value = response?.data?.getCourse || {}\n\t\t\tif(!course.value.id && route.name != 'NewCourse') router.push({name: 'NewCourse'})\n\t\t\t\n\t\t\tif(course.value.showInSearch == 1) course.value.showInSearch = true\n\t\t\telse course.value.showInSearch = false\n\n\t\t\tmedium.value = !course?.value?.medium ? [] : course?.value?.medium?.split(\", \")\n\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally{\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\t/**\n\t * Switch between tabs\n\t * @param {number} i - The index for the current tab\n\t */\n\tfunction changeTab(i: number) {\n\t\tselectedTab.value = i\n\t\ttabs.value.forEach(tab => {tab.current = false})\n\t\ttabs.value[i].current = true\n\t}\n\n\t/**\n\t * Toggle Edit Mode\n\t */\n\tfunction toggleEditMode() {\n\t\tisEditMode.value = !isEditMode.value\n\t}\n\n\t/**\n\t * Cancel Edits\n\t */\n\tfunction cancelEdits() {\n\t\tif(!course.value?.id) {\n\t\t\t// route to course list\n\t\t\trouter.push({name: 'Courses'})\n\t\t\treturn\n\t\t}\n\t\tgetData()\n\t\ttoggleEditMode()\n\t\tshowConfirmation.value = false\n\t}\n\n\t/**\n\t * save Data\n\t */\n\tasync function saveData() {\n\t\ttry {\n\t\t\t\n\t\t\tloading.value = true\n\n\t\t\t// check for required fields\n\t\t\tconst isValid = validateForm()\n\t\t\tif(!isValid) return\n\n\t\t\tif(course.value.showInSearch) course.value.showInSearch = 1\n\t\t\telse course.value.showInSearch = 0\n\n\t\t\t// format medium\n\t\t\tcourse.value.medium = medium.value.join(\", \")\n\n\t\t\t// add updated by\n\t\t\tcourse.value.updatedBy = store.user.firstName + \" \" + store.user.lastName\n\n\t\t\t// // add counts\n\t\t\t// course.value.numRegistered = course.value?.registrations?.items.filter((reg) => {return reg?.status === 'Registered'}).length\n\t\t\t// course.value.numWaitlisted = course.value?.registrations?.items.filter((reg) => {return reg?.status === 'Waitlisted'}).length\n\t\t\t// course.value.numDropped = course.value?.registrations?.items.filter((reg) => {return reg?.status === 'Dropped'}).length\n\t\t\tcourse.value.numAvailable = course.value?.numSeats - course.value?.numRegistered\n\t\t\tif(course.value.numAvailable < 0) course.value.numAvailable = 0\n\n\t\t\tvar courseInput = {\n\t\t\t\tinput: course.value\n\t\t\t}\n\n\t\t\tdelete courseInput.input.createdAt\n\t\t\tdelete courseInput.input.updatedAt\n\t\t\tdelete courseInput.input.term\n\t\t\tdelete courseInput.input.instructor\n\t\t\tdelete courseInput.input.assistant\n\t\t\tdelete courseInput.input.classes\n\t\t\tdelete courseInput.input.rootCourse\n\t\t\tdelete courseInput.input.registrations\n\n\t\t\tlet courseDetailsRes\n\t\t\tif(!course.value.id) {\n\t\t\t\t// add created and updated by\n\t\t\t\tcourse.value.createdBy = store.user.firstName + \" \" + store.user.lastName\n\t\t\t\tcourse.value.updatedBy = store.user.firstName + \" \" + store.user.lastName\n\n\t\t\t\tconst response: any = await api(createCourse, courseInput)\n\t\t\t\tcourseDetailsRes = response?.data?.createCourse || {}\n\t\t\t\trouter.push({name: 'CourseDetails', params:{id: courseDetailsRes.id}})\n\t\t\t}\n\t\t\telse {\n\t\t\t\tlet input = {\n\t\t\t\t\tid: course.value.id,\n\t\t\t\t\tname: course.value.name,\n\t\t\t\t\tstatus: course.value.status,\n\t\t\t\t\tlocation: course.value.location,\n\t\t\t\t\tstudio: course.value.studio,\n\t\t\t\t\tageLevel: course.value.ageLevel,\n\t\t\t\t\tskillLevel: course.value.skillLevel,\n\t\t\t\t\tnumSeats: course.value.numSeats,\n\t\t\t\t\tminimumRegistrations: course.value.minimumRegistrations,\n\t\t\t\t\tmedium: course.value.medium,\n\t\t\t\t\tshowInSearch: course.value.showInSearch,\n\t\t\t\t\t// numRegistered: course.value.numRegistered,\n\t\t\t\t\t// numWaitlisted: course.value.numWaitlisted,\n\t\t\t\t\t// numDropped: course.value.numDropped,\n\t\t\t\t\tnumAvailable: course.value.numAvailable\n\t\t\t\t}\n\n\t\t\t\tcourseInput.input = input\n\n\t\t\t\tconst response: any = await api(updateCourse, courseInput)\n\t\t\t\tcourseDetailsRes = response?.data?.updateCourse || {}\n\t\t\t}\n\t\t\tcourse.value = courseDetailsRes\n\t\t\ttoggleEditMode()\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tfunction validateForm() {\n\t\t// !!(a & b & c) is the same as non-shortcircuited &&\n\t\t// & is bitwise-and\n\t\treturn !!(\n\t\t\tnumSeatsInput?.value?.validate()\n\t\t)\n\t}\n\n\t/**\n\t * Confirm Delete\n\t */\n\tfunction confirmDelete() { \n\t\tdeleteCourse()\n\t\tshowConfirmation.value = false\n\t}\n\n\t/**\n\t * Delete Course\n\t */\n\tasync function deleteCourse() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tlet input = {id: course.value.id}\n\t\t\t\n\t\t\t//Delete Course\n\t\t\tconst response: any = await api(_deleteCourse, {input})\n\t\t\tlet courseDetailsRes = response?.data?.updateCourse || {}\n\t\t\t//Route to course list\n\t\t\trouter.push({name: 'Courses'})\n\t\t}\n\t\tcatch(error) {\n\t\t\tconsole.log(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\t\n\n\tonMounted(async () => {\n\t\tif(route.name != 'NewCourse') {\n\t\t\tawait getData()\n\t\t\tif(props.edit == 1) {\n\t\t\t\ttoggleEditMode()\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tisEditMode.value = true\n\t\t\tcourse.value.status = \"Draft\"\n\t\t\tcourse.value.name = \"New Course\"\n\t\t\tcourse.value.showInSearch = true\n\n\t\t\t// add default class schedule values\n\t\t\tcourse.value.classRepeatCount = 10\n\t\t\tcourse.value.classRepeatInterval = 1\n\t\t\tcourse.value.classRepeatType = \"Week\"\n\n\t\t\t// add default tuition values\n\t\t}\n\t})\n\n\t//#region Notification\n\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\n\t// eslint-disable-next-line \n\tfunction showMessage (message: string[]){\n\t\tnotificationTitle.value = message[0]\n\t\tnotificationSubtitle.value = message[1]\n\t\tnotificationIcon.value = parseInt(message[2])\n\t\tshowNotification.value = true\n\t}\n\n\t//#endregion\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_ArrowTopRightOnSquareIcon = _resolveComponent(\"ArrowTopRightOnSquareIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_data_display = _resolveComponent(\"data-display\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_checkbox = _resolveComponent(\"tw-checkbox\")!\n const _component_UserIconOutline = _resolveComponent(\"UserIconOutline\")!\n const _component_description_list_item = _resolveComponent(\"description-list-item\")!\n const _component_UserCircleIconOutline = _resolveComponent(\"UserCircleIconOutline\")!\n const _component_AcademicCapIcon = _resolveComponent(\"AcademicCapIcon\")!\n const _component_CalendarDaysIcon = _resolveComponent(\"CalendarDaysIcon\")!\n const _component_ListBulletIcon = _resolveComponent(\"ListBulletIcon\")!\n const _component_SquaresPlusIcon = _resolveComponent(\"SquaresPlusIcon\")!\n const _component_PencilIconOutline = _resolveComponent(\"PencilIconOutline\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#notification\" }, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true)\n ])),\n (_openBlock(), _createBlock(_Teleport, { to: \"#page-title\" }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _withDirectives(_createElementVNode(\"h1\", { class: \"title\" }, _toDisplayString(course.value?.name), 513), [\n [_vShow, !loading.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_3, null, 512), [\n [_vShow, loading.value]\n ]),\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(course.value?.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(course.value?.status), 1)\n ]),\n _: 1\n }, 8, [\"color\"])\n ]),\n _createElementVNode(\"div\", null, [\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (toggleEditMode())),\n class: \"btn-base btn-brand w-30 mr-3\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Edit \")\n ]),\n _: 1\n }, 512), [\n [_vShow, !isEditMode.value]\n ]),\n (props.id)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: {name: 'CourseRegistrationDetails', params: {courseId: props.id}},\n class: \"w-65\",\n target: \"_blank\"\n }, {\n default: _withCtx(() => [\n _withDirectives(_createVNode(_component_tw_button, { class: \"btn-base btn-brand\" }, {\n icon_right: _withCtx(() => [\n _createVNode(_component_ArrowTopRightOnSquareIcon)\n ]),\n default: _withCtx(() => [\n _createTextVNode(\" View Registration Page \")\n ]),\n _: 1\n }, 512), [\n [_vShow, !isEditMode.value]\n ])\n ]),\n _: 1\n }, 8, [\"to\"]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: openCancelModal,\n loading: loading.value,\n disabled: loading.value,\n class: \"btn-base btn-white w-30 mr-3\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]), [\n [_vShow, isEditMode.value]\n ]),\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: saveData,\n loading: loading.value,\n disabled: loading.value,\n class: \"btn-base btn-brand w-30\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(course.value.id ? 'Save' : 'Create'), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]), [\n [_vShow, isEditMode.value]\n ])\n ])\n ])\n ])),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Name\",\n value: course.value?.name,\n editing: isEditMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_input, {\n modelValue: course.value.name,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((course.value.name) = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Status\",\n value: course.value?.status,\n editing: isEditMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_select, {\n modelValue: course.value.status,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((course.value.status) = $event)),\n options: courseStatusOptions.value\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Location\",\n value: course.value?.location,\n editing: isEditMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_select, {\n options: _unref(VL_LOCATION_OPTIONS),\n modelValue: course.value.location,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((course.value.location) = $event))\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Studio\",\n value: course.value?.studio,\n editing: isEditMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_input, {\n modelValue: course.value.studio,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((course.value.studio) = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Age Level\",\n value: course.value?.ageLevel,\n editing: isEditMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_select, {\n modelValue: course.value.ageLevel,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((course.value.ageLevel) = $event)),\n options: _unref(_valueListStore).valueList.ageLevel\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Skill Level\",\n value: course.value?.skillLevel,\n editing: isEditMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_select, {\n modelValue: course.value.skillLevel,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((course.value.skillLevel) = $event)),\n options: _unref(_valueListStore).valueList.skillLevel\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: isEditMode.value ? '' : 'Number Of Seats',\n value: course.value?.numSeats,\n editing: isEditMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_input, {\n modelValue: course.value.numSeats,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((course.value.numSeats) = $event)),\n label: \"Number Of Seats\",\n validation: \"Number of seats required\",\n required: \"\",\n ref_key: \"numSeatsInput\",\n ref: numSeatsInput\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"label\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Minimum Registrations\",\n value: course.value?.minimumRegistrations,\n editing: isEditMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_input, {\n modelValue: course.value.minimumRegistrations,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((course.value.minimumRegistrations) = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Medium\",\n value: course.value?.medium,\n editing: isEditMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_select, {\n modelValue: medium.value,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((medium).value = $event)),\n name: \"medium\",\n id: \"medium\",\n multiple: \"\",\n options: _unref(_valueListStore).valueList.medium\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n (!loading.value)\n ? (_openBlock(), _createBlock(_component_tw_checkbox, {\n key: 0,\n class: \"uppercase items-end\",\n disabled: !isEditMode.value,\n label: \"Show in Registration Search\",\n modelValue: course.value.showInSearch,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((course.value.showInSearch) = $event))\n }, null, 8, [\"disabled\", \"modelValue\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_18, _hoisted_21))\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Registered\",\n value: course.value?.numRegistered ?? '0',\n \"value-class\": \"font-bold font-gotham text-3xl text-brand-500\"\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Available\",\n value: course.value?.numAvailable ?? '0',\n \"value-class\": \"font-bold font-gotham text-3xl text-brand-500\"\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Waitlisted\",\n value: course.value?.numWaitlisted ?? '0',\n \"value-class\": \"font-bold font-gotham text-3xl text-brand-500\"\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_27, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Dropped\",\n value: course.value?.numDropped ?? '0',\n \"value-class\": \"font-bold font-gotham text-3xl text-brand-500\"\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Transferred\",\n value: course.value?.numTransferred ?? '0',\n \"value-class\": \"font-bold font-gotham text-3xl text-brand-500\"\n }, null, 8, [\"loading\", \"value\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _createVNode(_component_description_list_item, {\n label: \"Instructor\",\n \"max-length\": 13,\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_UserIconOutline, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.instructor?.firstName ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(((course.value?.instructor?.firstName || \"\") + \" \" + (course.value?.instructor?.lastName || \"\")).trim() || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n label: \"Assistant\",\n \"max-length\": 13,\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_UserCircleIconOutline, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.assistant?.firstName ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(((course.value?.assistant?.firstName || \"\") + \" \" + (course.value?.assistant?.lastName || \"\")).trim() || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n label: \"Term\",\n \"max-length\": 13,\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_AcademicCapIcon, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.term?.name ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(course.value?.term?.name || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n label: \"Dates\",\n \"max-length\": 13,\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_CalendarDaysIcon, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n (course.value?.startDate && course.value?.endDate)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.startDate ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(new Date(course.value?.startDate + \"T23:59:59.999\").toLocaleDateString('en-US', {month: 'short', day: 'numeric'})) + \" - \" + _toDisplayString(new Date(course.value?.endDate + \"T23:59:59.999\").toLocaleDateString('en-US', {month: 'short', day: 'numeric'})), 3))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n label: \"Classes\",\n \"max-length\": 13,\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_ListBulletIcon, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.classDayTimes ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(course.value?.classes?.items?.length || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n label: \"Created\",\n \"max-length\": 13,\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_SquaresPlusIcon, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.createdAt ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(_ctx.$filters.formatTimestamp(course.value?.createdAt) || \"—\") + \" by \" + _toDisplayString(course.value.createdBy || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"]),\n _createVNode(_component_description_list_item, {\n label: \"Last Modified\",\n \"max-length\": 13,\n loading: loading.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_PencilIconOutline, { class: \"h-6 w-6\" })\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"font-bold font-gotham\", [course.value?.updatedAt ? 'text-gray-900' : 'text-gray-300']])\n }, _toDisplayString(_ctx.$filters.formatTimestamp(course.value?.updatedAt) || \"—\") + \" by \" + _toDisplayString(course.value.updatedBy || \"—\"), 3)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _hoisted_31,\n _createElementVNode(\"select\", {\n id: \"tabs\",\n name: \"tabs\",\n class: \"block w-full rounded-none border-gray-300 focus:border-brand-500 focus:ring-brand-500 mb-4\",\n onChange: _cache[12] || (_cache[12] = (e) => changeTab(e.target.value))\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tabs.value, (tab, i) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: tab.name,\n value: i,\n selected: tab.current\n }, _toDisplayString(tab.name), 9, _hoisted_32))\n }), 128))\n ], 32)\n ]),\n _createElementVNode(\"div\", _hoisted_33, [\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"div\", _hoisted_35, [\n _createElementVNode(\"nav\", _hoisted_36, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tabs.value, (tab, i) => {\n return (_openBlock(), _createElementBlock(\"p\", {\n onClick: ($event: any) => (changeTab(i)),\n key: tab.name,\n class: _normalizeClass([\n\t\t\t\t\t\t\ttab.current ? 'text-brand-500' : 'cursor-pointer border-transparent text-black hover:bg-gray-50 hover:font-bold',\n\t\t\t\t\t\t\t'border-r border-gray-200 group relative py-4 px-4 text-center text-sm font-medium whitespace-nowrap font-sm uppercase text-gray-500'\n\t\t\t\t\t\t]),\n \"aria-current\": tab.current ? 'page' : undefined\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(tab.name), 1),\n _createElementVNode(\"span\", {\n \"aria-hidden\": \"true\",\n class: _normalizeClass([tab.current ? 'bg-brand-500' : 'bg-transparent', 'absolute inset-x-0 bottom-0 h-0.5'])\n }, null, 2)\n ], 10, _hoisted_37))\n }), 128))\n ])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _withDirectives(_createElementVNode(\"div\", null, [\n (course.value.id)\n ? (_openBlock(), _createBlock(CourseRegistrations, {\n key: 0,\n \"course-id\": course.value.id,\n \"refresh-course\": getData\n }, null, 8, [\"course-id\"]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, tabs.value[0].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n (course.value.id)\n ? (_openBlock(), _createBlock(ClassScheduler, {\n key: course.value,\n course: course.value,\n \"refresh-course\": getData\n }, null, 8, [\"course\"]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, tabs.value[1].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n (course.value.id)\n ? (_openBlock(), _createBlock(CourseTuitionSettings, {\n key: 0,\n course: course.value\n }, null, 8, [\"course\"]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, tabs.value[2].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n (course.value.id)\n ? (_openBlock(), _createBlock(OnlineRegistration, {\n key: 0,\n course: course.value\n }, null, 8, [\"course\"]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, tabs.value[3].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n (course.value.id)\n ? (_openBlock(), _createBlock(ConfirmationLetterSettings, {\n key: 0,\n course: course.value\n }, null, 8, [\"course\"]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, tabs.value[4].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createVNode(CourseAttendance, {\n \"course-id\": props.id\n }, null, 8, [\"course-id\"])\n ], 512), [\n [_vShow, tabs.value[5].current]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n (course.value.id)\n ? (_openBlock(), _createBlock(QuickbooksSettings, {\n key: 0,\n course: course.value\n }, null, 8, [\"course\"]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, tabs.value[6].current]\n ])\n ])\n ]),\n (course.value.id)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_38, [\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: openDeleteModal,\n class: \"btn-base btn-red w-30\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Delete \")\n ]),\n _: 1\n }, 512), [\n [_vShow, isEditMode.value]\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: showConfirmation.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_39, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_40,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_41, [\n _createElementVNode(\"div\", _hoisted_42, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(confirmationTitle.value), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"p\", _hoisted_43, _toDisplayString(confirmationDetails.value), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_44, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-white\",\n onClick: _cache[13] || (_cache[13] = ($event: any) => (showConfirmation.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(confirmationCancelButtonLabel.value), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-red uppercase\",\n onClick: confirmationConfirmAction.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(confirmationButtonLabel.value), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"])\n ], 64))\n}\n}\n\n})","import script from \"./CourseDetails.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CourseDetails.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import Courses from \"./CoursesMain.vue\"\nimport CourseDetails from \"./courseDetails/CourseDetails.vue\"\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"Courses\",\n\t\tpath: \"/courses\",\n\t\tcomponent: Courses\n\t},\n\tcourseDetailsRoute: {\n\t\tname: \"CourseDetails\",\n\t\tpath: \"/courses/:id/:edit?\",\n\t\tcomponent: CourseDetails,\n },\n\tnav: {\n\t\tname: \"Courses\",\n\t\tto: \"Courses\",\n\t\tposition: 1,\n\t\tshow: true\n\t},\n\tmodule: \"courses\",\n\tauth: ['admin']\n}\n\nexport { config }","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n\t{\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t}\n\t}\n];\n","const VL_LOCATION_OPTIONS = [\n\t{label: \"In-person\", value: \"In-person\" },\n\t{label: \"Online\", value: \"Online\"}\n]\n\nconst VL_TIME_OF_DAY_OPTIONS = [\n\t{label: \"Morning\", value: \"Morning\" },\n\t{label: \"Afternoon\", value: \"Afternoon\"},\n\t{label: \"Evening\", value: \"Evening\"}\n]\n\nconst VL_COUNTRY_OPTIONS = [ \n { id: 229, label: \"United States\", value: \"US\"}, \n { id: 0, label: \"Afghanistan\", value: \"AF\"}, \n { id: 1, label: \"Åland Islands\", value: \"AX\"}, \n { id: 2, label: \"Albania\", value: \"AL\"}, \n { id: 3, label: \"Algeria\", value: \"DZ\"}, \n { id: 4, label: \"American Samoa\", value: \"AS\"}, \n { id: 5, label: \"AndorrA\", value: \"AD\"}, \n { id: 6, label: \"Angola\", value: \"AO\"}, \n { id: 7, label: \"Anguilla\", value: \"AI\"}, \n { id: 8, label: \"Antarctica\", value: \"AQ\"}, \n { id: 9, label: \"Antigua and Barbuda\", value: \"AG\"}, \n { id: 10, label: \"Argentina\", value: \"AR\"}, \n { id: 11, label: \"Armenia\", value: \"AM\"}, \n { id: 12, label: \"Aruba\", value: \"AW\"}, \n { id: 13, label: \"Australia\", value: \"AU\"}, \n { id: 14, label: \"Austria\", value: \"AT\"}, \n { id: 15, label: \"Azerbaijan\", value: \"AZ\"}, \n { id: 16, label: \"Bahamas\", value: \"BS\"}, \n { id: 17, label: \"Bahrain\", value: \"BH\"}, \n { id: 18, label: \"Bangladesh\", value: \"BD\"}, \n { id: 19, label: \"Barbados\", value: \"BB\"}, \n { id: 20, label: \"Belarus\", value: \"BY\"}, \n { id: 21, label: \"Belgium\", value: \"BE\"}, \n { id: 22, label: \"Belize\", value: \"BZ\"}, \n { id: 23, label: \"Benin\", value: \"BJ\"}, \n { id: 24, label: \"Bermuda\", value: \"BM\"}, \n { id: 25, label: \"Bhutan\", value: \"BT\"}, \n { id: 26, label: \"Bolivia\", value: \"BO\"}, \n { id: 27, label: \"Bosnia and Herzegovina\", value: \"BA\"}, \n { id: 28, label: \"Botswana\", value: \"BW\"}, \n { id: 29, label: \"Bouvet Island\", value: \"BV\"}, \n { id: 30, label: \"Brazil\", value: \"BR\"}, \n { id: 31, label: \"British Indian Ocean Territory\", value: \"IO\"}, \n { id: 32, label: \"Brunei Darussalam\", value: \"BN\"}, \n { id: 33, label: \"Bulgaria\", value: \"BG\"}, \n { id: 34, label: \"Burkina Faso\", value: \"BF\"}, \n { id: 35, label: \"Burundi\", value: \"BI\"}, \n { id: 36, label: \"Cambodia\", value: \"KH\"}, \n { id: 37, label: \"Cameroon\", value: \"CM\"}, \n { id: 38, label: \"Canada\", value: \"CA\"}, \n { id: 39, label: \"Cape Verde\", value: \"CV\"}, \n { id: 40, label: \"Cayman Islands\", value: \"KY\"}, \n { id: 41, label: \"Central African Republic\", value: \"CF\"}, \n { id: 42, label: \"Chad\", value: \"TD\"}, \n { id: 43, label: \"Chile\", value: \"CL\"}, \n { id: 44, label: \"China\", value: \"CN\"}, \n { id: 45, label: \"Christmas Island\", value: \"CX\"}, \n { id: 46, label: \"Cocos (Keeling) Islands\", value: \"CC\"}, \n { id: 47, label: \"Colombia\", value: \"CO\"}, \n { id: 48, label: \"Comoros\", value: \"KM\"}, \n { id: 49, label: \"Congo\", value: \"CG\"}, \n { id: 50, label: \"Congo, The Democratic Republic of the\", value: \"CD\"}, \n { id: 51, label: \"Cook Islands\", value: \"CK\"}, \n { id: 52, label: \"Costa Rica\", value: \"CR\"}, \n { id: 53, label: \"Cote D\\\"Ivoire\", value: \"CI\"}, \n { id: 54, label: \"Croatia\", value: \"HR\"}, \n { id: 55, label: \"Cuba\", value: \"CU\"}, \n { id: 56, label: \"Cyprus\", value: \"CY\"}, \n { id: 57, label: \"Czech Republic\", value: \"CZ\"}, \n { id: 58, label: \"Denmark\", value: \"DK\"}, \n { id: 59, label: \"Djibouti\", value: \"DJ\"}, \n { id: 60, label: \"Dominica\", value: \"DM\"}, \n { id: 61, label: \"Dominican Republic\", value: \"DO\"}, \n { id: 62, label: \"Ecuador\", value: \"EC\"}, \n { id: 63, label: \"Egypt\", value: \"EG\"}, \n { id: 64, label: \"El Salvador\", value: \"SV\"}, \n { id: 65, label: \"Equatorial Guinea\", value: \"GQ\"}, \n { id: 66, label: \"Eritrea\", value: \"ER\"}, \n { id: 67, label: \"Estonia\", value: \"EE\"}, \n { id: 68, label: \"Ethiopia\", value: \"ET\"}, \n { id: 69, label: \"Falkland Islands (Malvinas)\", value: \"FK\"}, \n { id: 70, label: \"Faroe Islands\", value: \"FO\"}, \n { id: 71, label: \"Fiji\", value: \"FJ\"}, \n { id: 72, label: \"Finland\", value: \"FI\"}, \n { id: 73, label: \"France\", value: \"FR\"}, \n { id: 74, label: \"French Guiana\", value: \"GF\"}, \n { id: 75, label: \"French Polynesia\", value: \"PF\"}, \n { id: 76, label: \"French Southern Territories\", value: \"TF\"}, \n { id: 77, label: \"Gabon\", value: \"GA\"}, \n { id: 78, label: \"Gambia\", value: \"GM\"}, \n { id: 79, label: \"Georgia\", value: \"GE\"}, \n { id: 80, label: \"Germany\", value: \"DE\"}, \n { id: 81, label: \"Ghana\", value: \"GH\"}, \n { id: 82, label: \"Gibraltar\", value: \"GI\"}, \n { id: 83, label: \"Greece\", value: \"GR\"}, \n { id: 84, label: \"Greenland\", value: \"GL\"}, \n { id: 85, label: \"Grenada\", value: \"GD\"}, \n { id: 86, label: \"Guadeloupe\", value: \"GP\"}, \n { id: 87, label: \"Guam\", value: \"GU\"}, \n { id: 88, label: \"Guatemala\", value: \"GT\"}, \n { id: 89, label: \"Guernsey\", value: \"GG\"}, \n { id: 90, label: \"Guinea\", value: \"GN\"}, \n { id: 91, label: \"Guinea-Bissau\", value: \"GW\"}, \n { id: 92, label: \"Guyana\", value: \"GY\"}, \n { id: 93, label: \"Haiti\", value: \"HT\"}, \n { id: 94, label: \"Heard Island and Mcdonald Islands\", value: \"HM\"}, \n { id: 95, label: \"Holy See (Vatican City State)\", value: \"VA\"}, \n { id: 96, label: \"Honduras\", value: \"HN\"}, \n { id: 97, label: \"Hong Kong\", value: \"HK\"}, \n { id: 98, label: \"Hungary\", value: \"HU\"}, \n { id: 99, label: \"Iceland\", value: \"IS\"}, \n { id: 100, label: \"India\", value: \"IN\"}, \n { id: 101, label: \"Indonesia\", value: \"ID\"}, \n { id: 102, label: \"Iran, Islamic Republic Of\", value: \"IR\"}, \n { id: 103, label: \"Iraq\", value: \"IQ\"}, \n { id: 104, label: \"Ireland\", value: \"IE\"}, \n { id: 105, label: \"Isle of Man\", value: \"IM\"}, \n { id: 106, label: \"Israel\", value: \"IL\"}, \n { id: 107, label: \"Italy\", value: \"IT\"}, \n { id: 108, label: \"Jamaica\", value: \"JM\"}, \n { id: 109, label: \"Japan\", value: \"JP\"}, \n { id: 110, label: \"Jersey\", value: \"JE\"}, \n { id: 111, label: \"Jordan\", value: \"JO\"}, \n { id: 112, label: \"Kazakhstan\", value: \"KZ\"}, \n { id: 113, label: \"Kenya\", value: \"KE\"}, \n { id: 114, label: \"Kiribati\", value: \"KI\"}, \n { id: 115, label: \"Korea, Democratic People\\\"S Republic of\", value: \"KP\"}, \n { id: 116, label: \"Korea, Republic of\", value: \"KR\"}, \n { id: 117, label: \"Kuwait\", value: \"KW\"}, \n { id: 118, label: \"Kyrgyzstan\", value: \"KG\"}, \n { id: 119, label: \"Lao People\\\"S Democratic Republic\", value: \"LA\"}, \n { id: 120, label: \"Latvia\", value: \"LV\"}, \n { id: 121, label: \"Lebanon\", value: \"LB\"}, \n { id: 122, label: \"Lesotho\", value: \"LS\"}, \n { id: 123, label: \"Liberia\", value: \"LR\"}, \n { id: 124, label: \"Libyan Arab Jamahiriya\", value: \"LY\"}, \n { id: 125, label: \"Liechtenstein\", value: \"LI\"}, \n { id: 126, label: \"Lithuania\", value: \"LT\"}, \n { id: 127, label: \"Luxembourg\", value: \"LU\"}, \n { id: 128, label: \"Macao\", value: \"MO\"}, \n { id: 129, label: \"Macedonia, The Former Yugoslav Republic of\", value: \"MK\"}, \n { id: 130, label: \"Madagascar\", value: \"MG\"}, \n { id: 131, label: \"Malawi\", value: \"MW\"}, \n { id: 132, label: \"Malaysia\", value: \"MY\"}, \n { id: 133, label: \"Maldives\", value: \"MV\"}, \n { id: 134, label: \"Mali\", value: \"ML\"}, \n { id: 135, label: \"Malta\", value: \"MT\"}, \n { id: 136, label: \"Marshall Islands\", value: \"MH\"}, \n { id: 137, label: \"Martinique\", value: \"MQ\"}, \n { id: 138, label: \"Mauritania\", value: \"MR\"}, \n { id: 139, label: \"Mauritius\", value: \"MU\"}, \n { id: 140, label: \"Mayotte\", value: \"YT\"}, \n { id: 141, label: \"Mexico\", value: \"MX\"}, \n { id: 142, label: \"Micronesia, Federated States of\", value: \"FM\"}, \n { id: 143, label: \"Moldova, Republic of\", value: \"MD\"}, \n { id: 144, label: \"Monaco\", value: \"MC\"}, \n { id: 145, label: \"Mongolia\", value: \"MN\"}, \n { id: 146, label: \"Montserrat\", value: \"MS\"}, \n { id: 147, label: \"Morocco\", value: \"MA\"}, \n { id: 148, label: \"Mozambique\", value: \"MZ\"}, \n { id: 149, label: \"Myanmar\", value: \"MM\"}, \n { id: 150, label: \"Namibia\", value: \"NA\"}, \n { id: 151, label: \"Nauru\", value: \"NR\"}, \n { id: 152, label: \"Nepal\", value: \"NP\"}, \n { id: 153, label: \"Netherlands\", value: \"NL\"}, \n { id: 154, label: \"Netherlands Antilles\", value: \"AN\"}, \n { id: 155, label: \"New Caledonia\", value: \"NC\"}, \n { id: 156, label: \"New Zealand\", value: \"NZ\"}, \n { id: 157, label: \"Nicaragua\", value: \"NI\"}, \n { id: 158, label: \"Niger\", value: \"NE\"}, \n { id: 159, label: \"Nigeria\", value: \"NG\"}, \n { id: 160, label: \"Niue\", value: \"NU\"}, \n { id: 161, label: \"Norfolk Island\", value: \"NF\"}, \n { id: 162, label: \"Northern Mariana Islands\", value: \"MP\"}, \n { id: 163, label: \"Norway\", value: \"NO\"}, \n { id: 164, label: \"Oman\", value: \"OM\"}, \n { id: 165, label: \"Pakistan\", value: \"PK\"}, \n { id: 166, label: \"Palau\", value: \"PW\"}, \n { id: 167, label: \"Palestinian Territory, Occupied\", value: \"PS\"}, \n { id: 168, label: \"Panama\", value: \"PA\"}, \n { id: 169, label: \"Papua New Guinea\", value: \"PG\"}, \n { id: 170, label: \"Paraguay\", value: \"PY\"}, \n { id: 171, label: \"Peru\", value: \"PE\"}, \n { id: 172, label: \"Philippines\", value: \"PH\"}, \n { id: 173, label: \"Pitcairn\", value: \"PN\"}, \n { id: 174, label: \"Poland\", value: \"PL\"}, \n { id: 175, label: \"Portugal\", value: \"PT\"}, \n { id: 176, label: \"Puerto Rico\", value: \"PR\"}, \n { id: 177, label: \"Qatar\", value: \"QA\"}, \n { id: 178, label: \"Reunion\", value: \"RE\"}, \n { id: 179, label: \"Romania\", value: \"RO\"}, \n { id: 180, label: \"Russian Federation\", value: \"RU\"}, \n { id: 181, label: \"RWANDA\", value: \"RW\"}, \n { id: 182, label: \"Saint Helena\", value: \"SH\"}, \n { id: 183, label: \"Saint Kitts and Nevis\", value: \"KN\"}, \n { id: 184, label: \"Saint Lucia\", value: \"LC\"}, \n { id: 185, label: \"Saint Pierre and Miquelon\", value: \"PM\"}, \n { id: 186, label: \"Saint Vincent and the Grenadines\", value: \"VC\"}, \n { id: 187, label: \"Samoa\", value: \"WS\"}, \n { id: 188, label: \"San Marino\", value: \"SM\"}, \n { id: 189, label: \"Sao Tome and Principe\", value: \"ST\"}, \n { id: 190, label: \"Saudi Arabia\", value: \"SA\"}, \n { id: 191, label: \"Senegal\", value: \"SN\"}, \n { id: 192, label: \"Serbia and Montenegro\", value: \"CS\"}, \n { id: 193, label: \"Seychelles\", value: \"SC\"}, \n { id: 194, label: \"Sierra Leone\", value: \"SL\"}, \n { id: 195, label: \"Singapore\", value: \"SG\"}, \n { id: 196, label: \"Slovakia\", value: \"SK\"}, \n { id: 197, label: \"Slovenia\", value: \"SI\"}, \n { id: 198, label: \"Solomon Islands\", value: \"SB\"}, \n { id: 199, label: \"Somalia\", value: \"SO\"}, \n { id: 200, label: \"South Africa\", value: \"ZA\"}, \n { id: 201, label: \"South Georgia and the South Sandwich Islands\", value: \"GS\"}, \n { id: 202, label: \"Spain\", value: \"ES\"}, \n { id: 203, label: \"Sri Lanka\", value: \"LK\"}, \n { id: 204, label: \"Sudan\", value: \"SD\"}, \n { id: 205, label: \"Surilabel\", value: \"SR\"}, \n { id: 206, label: \"Svalbard and Jan Mayen\", value: \"SJ\"}, \n { id: 207, label: \"Swaziland\", value: \"SZ\"}, \n { id: 208, label: \"Sweden\", value: \"SE\"}, \n { id: 209, label: \"Switzerland\", value: \"CH\"}, \n { id: 210, label: \"Syrian Arab Republic\", value: \"SY\"}, \n { id: 211, label: \"Taiwan, Province of China\", value: \"TW\"}, \n { id: 212, label: \"Tajikistan\", value: \"TJ\"}, \n { id: 213, label: \"Tanzania, United Republic of\", value: \"TZ\"}, \n { id: 214, label: \"Thailand\", value: \"TH\"}, \n { id: 215, label: \"Timor-Leste\", value: \"TL\"}, \n { id: 216, label: \"Togo\", value: \"TG\"}, \n { id: 217, label: \"Tokelau\", value: \"TK\"}, \n { id: 218, label: \"Tonga\", value: \"TO\"}, \n { id: 219, label: \"Trinidad and Tobago\", value: \"TT\"}, \n { id: 220, label: \"Tunisia\", value: \"TN\"}, \n { id: 221, label: \"Turkey\", value: \"TR\"}, \n { id: 222, label: \"Turkmenistan\", value: \"TM\"}, \n { id: 223, label: \"Turks and Caicos Islands\", value: \"TC\"}, \n { id: 224, label: \"Tuvalu\", value: \"TV\"}, \n { id: 225, label: \"Uganda\", value: \"UG\"}, \n { id: 226, label: \"Ukraine\", value: \"UA\"}, \n { id: 227, label: \"United Arab Emirates\", value: \"AE\"}, \n { id: 228, label: \"United Kingdom\", value: \"GB\"}, \n { id: 230, label: \"United States Minor Outlying Islands\", value: \"UM\"}, \n { id: 231, label: \"Uruguay\", value: \"UY\"}, \n { id: 232, label: \"Uzbekistan\", value: \"UZ\"}, \n { id: 233, label: \"Vanuatu\", value: \"VU\"}, \n { id: 234, label: \"Venezuela\", value: \"VE\"}, \n { id: 235, label: \"Viet Nam\", value: \"VN\"}, \n { id: 236, label: \"Virgin Islands, British\", value: \"VG\"}, \n { id: 237, label: \"Virgin Islands, U.S.\", value: \"VI\"}, \n { id: 238, label: \"Wallis and Futuna\", value: \"WF\"}, \n { id: 239, label: \"Western Sahara\", value: \"EH\"}, \n { id: 240, label: \"Yemen\", value: \"YE\"}, \n { id: 241, label: \"Zambia\", value: \"ZM\"}, \n { id: 242, label: \"Zimbabwe\", value: \"ZW\"} \n]\n \nexports.VL_COUNTRY_OPTIONS = VL_COUNTRY_OPTIONS\nexports.VL_LOCATION_OPTIONS = VL_LOCATION_OPTIONS\nexports.VL_TIME_OF_DAY_OPTIONS = VL_TIME_OF_DAY_OPTIONS\n","import { Nav } from '@/types' // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const nav: Nav = { \n name: config.nav.name, \n to: {name: config.nav.to},\n position: config.nav.position,\n show: config.nav.show,\n\tmodule: config.module,\n\tauth: config.auth\n}","export const studentBySub = /* GraphQL */ `\n query StudentBySub(\n $sub: String!\n $sortDirection: ModelSortDirection\n $filter: ModelStudentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n studentBySub(\n sub: $sub\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n address1\n address2\n city\n country\n createdBy\n dob\n education\n email\n ethnicity\n firstName\n gender\n income\n isInstructor\n lastActivity\n lastLogin\n lastName\n middleName\n notes\n phoneHome\n phoneMobile\n phoneWork\n phoneWorkExt\n postal\n pronouns\n relationshipToAccount\n state\n status\n sub\n updatedBy\n allStudents\n createdAt\n updatedAt\n emergencyContactFirstName\n emergencyContactLastName\n emergencyContactPhone\n }\n nextToken\n }\n }\n`;","export const updateStudent = /* GraphQL */ `\n mutation UpdateStudent(\n $input: UpdateStudentInput!\n $condition: ModelStudentConditionInput\n ) {\n updateStudent(input: $input, condition: $condition) {\n id\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_3 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full sm:p-6\" }\nconst _hoisted_4 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_5 = { class: \"p-6 justify-left space-y-4\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"subtitle\" }, \" Personal Information \", -1)\nconst _hoisted_7 = { class: \"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 items-end\" }\nconst _hoisted_8 = { classs: \"relative\" }\nconst _hoisted_9 = {\n key: 2,\n class: \"absolute top-0 right-0\"\n}\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"subtitle\" }, \" Contact Information \", -1)\nconst _hoisted_11 = { class: \"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 items-end\" }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-1 hidden md:flex\" }, null, -1)\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-2 hidden md:flex\" }, null, -1)\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-2 hidden md:flex\" }, null, -1)\nconst _hoisted_15 = { class: \"col-span-1 flex gap-2 items-end\" }\nconst _hoisted_16 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport { \n\t\tref\n\t} from 'vue'\n\timport { VL_COUNTRY_OPTIONS } from '@/utilities/valueLists.js'\n\timport api from '@/utilities/api'\n\n\timport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\t// Store\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\timport { userStore } from '@/store/userStore'\n\timport { Student as StudentType } from \"@/API\"\n\timport { updateStudent } from './mutations'\n\timport HouseholdIncomeInfoChip from '@/components/Badges/HouseholdIncomeInfoChip.vue'\n\t\n\t\n\t// name the component\n\tconst __default__ = { name: 'MigrateAccountDetails' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n student: { default: undefined }\n },\n emits: ['close'],\n setup(__props: any, { emit }) {\n\nconst props = __props;\n\n\t// vue\n\tconst _valueListStore = valueListStore()\n\tconst loading = ref(false)\n\n\t// component code below\n\tconst pronounOptions = ref(_valueListStore.valueList.pronouns)\n\tconst genderOptions = ref(_valueListStore.valueList.gender)\n\tconst countryOptions = ref(VL_COUNTRY_OPTIONS)\n\tconst ethnicityOptions = ref(_valueListStore.valueList.ethnicity)\n\tconst educationOptions = ref(_valueListStore.valueList.education)\n\tconst incomeOptions = ref(_valueListStore.valueList.income)\n\n\t\n\t\n\n\tconst store = userStore()\n\tconst user = ref({\n\t\tid: store.user.id,\n\t\tphoneHome: store.user.phoneHome,\n\t\tphoneWork: store.user.phoneWork,\n\t\tphoneWorkExt: store.user.phoneWorkExt,\n\t\tphoneMobile: store.user.phoneMobile,\n\t\taddress1: store.user.address1,\n\t\taddress2: store.user.address2,\n\t\tcity: store.user.city,\n\t\tstate: store.user.state,\n\t\tpostal: store.user.postal,\n\t\tcountry: store.user.country,\n\t\tfirstName: store.user.firstName,\n\t\tmiddleName: store.user.middleName,\n\t\tlastName: store.user.lastName,\n\t\tgender: store.user.gender,\n\t\tpronouns: store.user.pronouns,\n\t\tethnicity: store.user.ethnicity,\n\t\teducation: store.user.education,\n\t\tincome: store.user.income,\n\t\tdob: store.user.dob\n\t})\n\n\t//eslint-disable-next-line\n\t\n\n\tconst formData =ref({\n\t\tpersonalInformation : [\n\t\t\t{fieldType: \"input\", id: \"first-name\", type: \"text\", label: \"First Name\", field: \"firstName\", required: true, value: user.value.firstName, isValid:true, validation:'Please enter the account holder\\'s first name.'},\n\t\t\t{fieldType: \"input\", id: \"middle-name\", type: \"text\", label: \"Middle Name or Initial\", field: \"middleName\", required: false, value: user.value.middleName, isValid:true, validation:''},\n\t\t\t{fieldType: \"input\", id: \"last-name\", type: \"text\", label: \"Last Name\", field: \"lastName\", required: true, value: user.value.lastName, isValid:true, validation:'Please enter the account holder\\'s last name.'},\n\t\t\t{options: genderOptions, fieldType: \"select\", id: \"gender\", type: \"text\", label: \"Gender\", field: \"gender\", required: true, value: user.value.gender, isValid:true, validation:''},\n\t\t\t{options: pronounOptions, fieldType: \"select\", id: \"pronouns\", type: \"text\", label: \"Pronouns\", field: \"pronouns\", required: true, value: user.value.pronouns, isValid:true, validation:''},\n\t\t\t{options: ethnicityOptions, fieldType: \"select\", id: \"ethnicity\", type: \"text\", label: \"Ethnicity\", field: \"ethnicity\", required: true, value: user.value.ethnicity, isValid:true, validation:''},\n\t\t\t{options: educationOptions, fieldType: \"select\", id: \"hightest-level-of-education\", type: \"text\", label: \"Highest Level of Education\", field: \"education\", required: true, value: user.value.education, isValid:true, validation:''},\n\t\t\t{options: incomeOptions, fieldType: \"select\", id: \"household-income\", type: \"text\", label: \"Household Information\", field: \"income\", required: true, value: user.value.income, isValid:true, validation:''},\n\t\t\t{fieldType: \"input\", id: \"date-of-birth\", type: \"date\", label: \"Date of Birth\", field: \"dob\", required: true, value: user.value.dob, isValid:true, validation:'Please enter the account holder\\'s date of birth'},\n\t\t],\n\t\tcontactInformation : {\n\t\t\tphoneHome:{value: user.value.phoneHome, isValid:true, validation:''},\n\t\t\tphoneWork:{value: user.value.phoneWork, isValid:true, validation:''},\n\t\t\tphoneWorkExt:{value: user.value.phoneWorkExt, isValid:true, validation:''},\n\t\t\tphoneMobile: {value: user.value.phoneMobile, isValid:true, validation:'Please enter your primary phone.',id: \"primary-phone\"},\n\t\t\taddressLine1: {value: user.value.address1 , isValid:true, validation:''},\n\t\t\taddressLine2: {value: user.value.address2, isValid:true, validation:''},\n\t\t\taddressCity: {value: user.value.city, isValid:true, validation:''},\n\t\t\taddressState: {value: user.value.state, isValid:true, validation:''},\n\t\t\taddressPostalCode: {value: user.value.postal, isValid:true, validation:'Postal code required.',id: \"postal-code\"},\n\t\t\taddressCountry: {value: user.value.country, isValid:true, validation:''},\n\t\t}\n\t})\t\n\n\tasync function updateAccount() {\n\t\tloading.value = true\n\n\t\tif(!validateForm()) {\n\t\t\tloading.value = false\n\t\t\treturn \n\t\t}\n\n\t\ttry {\n\t\t\t//default attributes\n\t\t\tlet given_name = formData.value.personalInformation[0].value\n\t\t\tlet middle_name = formData.value.personalInformation[1].value\n\t\t\tlet family_name = formData.value.personalInformation[2].value\n\t\t\tlet gender = formData.value.personalInformation[3].value\n\t\t\tlet pronouns = formData.value.personalInformation[4].value\n\t\t\tlet ethnicity = formData.value.personalInformation[5].value\n\t\t\tlet highest_education = formData.value.personalInformation[6].value\n\t\t\tlet household_income = formData.value.personalInformation[7].value\n\t\t\tlet birthdate = formData.value.personalInformation[8].value\n\n\t\t\tlet address = formData.value.contactInformation.addressLine1.value\n\t\t\tlet address_line_2 = formData.value.contactInformation.addressLine2.value\n\t\t\tlet address_city = formData.value.contactInformation.addressCity.value\n\t\t\tlet address_country = formData.value.contactInformation.addressCountry.value\n\t\t\tlet address_postal = formData.value.contactInformation.addressPostalCode.value\n\t\t\tlet address_state = formData.value.contactInformation.addressState.value\n\t\t\tlet phone_mobile = formData.value.contactInformation.phoneMobile.value\n\t\t\tlet phone_work = formData.value.contactInformation.phoneWork.value\n\t\t\tlet phone_work_ext = formData.value.contactInformation.phoneWorkExt.value\n\t\t\tlet phone_number = '+1' + formData.value.contactInformation.phoneMobile.value.replace('(', '').replace(')', '').replaceAll(' ', '').replaceAll('-', '')\n\t\t\t\n\t\t\t\n\t\t\tlet input = {\n\t\t\t\tid: user.value.id,\n\t\t\t\tfirstName: given_name,\n\t\t\t\tmiddleName:middle_name,\n\t\t\t\tlastName: family_name,\n\t\t\t\tgender: gender,\n\t\t\t\tpronouns: pronouns,\n\t\t\t\tethnicity: ethnicity,\n\t\t\t\teducation:highest_education,\n\t\t\t\tincome:household_income,\n\t\t\t\tdob: birthdate,\n\t\t\t\tphoneHome: phone_number ,\n\t\t\t\tphoneMobile: phone_mobile,\n\t\t\t\taddress1: address,\n\t\t\t\taddress2: address_line_2,\n\t\t\t\tcity: address_city,\n\t\t\t\tstate: address_state,\n\t\t\t\tpostal: address_postal,\n\t\t\t\tcountry: address_country\n\t\t\t}\n\t\t\tif(!input.middleName) delete input.middleName\n\t\t\tif(!input.phoneHome) delete input.phoneHome\n\t\t\tif(!input.address1) delete input.address1\n\t\t\tif(!input.address2) delete input.address2\n\t\t\tif(!input.city) delete input.city\n\t\t\tif(!input.state) delete input.state\n\t\t\tif(!input.country) delete input.country\n\n\t\t\tlet res: any = await api(updateStudent, { input })\n\n\t\t\t// if(res.errors){\n\t\t\t// \tlet error = res.errors[0].message\n\t\t\t// \tthrow error\n\t\t\t// }\n\n\t\t\t// update store\n\t\t\tObject.assign(store.user, input)\n\n\t\t\t\n\t\t\t\n\t\t} \n\t\tcatch (error: any) {\n\t\t\tconsole.log(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t\temit('close', false)\n\t\t}\n\t}\n\n\tfunction validateForm() {\n\t\tlet isValid = true\n\t\n\n\t\t// validate fields\n\t\tif(!validateFields()) {\n\t\t\tisValid = false\n\t\t}\n\n\t\treturn isValid\n\t}\n\n\tfunction validateFields() {\n\t\tlet isValid = true\n\n\t\tlet requiredFields = formData.value.personalInformation.filter((field) => {\n\t\t\treturn field.required\n\t\t})\n\n\t\tlet id = null\n\t\tfor(const field of requiredFields) {\n\t\t\tif (!field.value) {\n\t\t\t\tfield.isValid = false\n\t\t\t\tisValid = false\n\t\t\t\tif(id === null) id = field.id\n\t\t\t}\n\t\t}\n\t\t// primary phone\n\t\tif(!formData.value.contactInformation.phoneMobile.value) {\n\t\t\tformData.value.contactInformation.phoneMobile.isValid = false\n\t\t\tisValid = false\n\t\t\tif(id === null) id = formData.value.contactInformation.phoneMobile.id\n\t\t}\n\t\t// postal\n\t\tif(!formData.value.contactInformation.addressPostalCode.value) {\n\t\t\tformData.value.contactInformation.addressPostalCode.isValid = false\n\t\t\tisValid = false\n\t\t\tif(id === null) id = formData.value.contactInformation.addressPostalCode.id\n\t\t}\n\n\t\tif(id !== null) document.getElementById(id)?.focus()\n\n\t\t//verify age\n\t\tlet dob = new Date( formData.value.personalInformation[8].value)\n let _age:number = age(dob)\n\n\t\tif(_age < 13) {\n\t\t\tformData.value.personalInformation[8].isValid = false\n\t\t\tformData.value.personalInformation[8].validation = \"The account holder must be at least 13 years old.\"\n\t\t\tif(id === null) document.getElementById(formData.value.personalInformation[8].id)?.focus()\n\t\t\tisValid = false\n\t\t}\n\n\t\treturn isValid\n\t}\n\n\tfunction age(dob: Date) { \n\t\tvar diff_ms = Date.now() - dob.getTime();\n\t\tvar age_dt = new Date(diff_ms); \n\t\treturn Math.abs(age_dt.getUTCFullYear() - 1970);\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createBlock(_unref(TransitionRoot), { as: \"template\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_2,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Update Account \")\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"font-bold\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Please confirm your account information and fill in any missing required fields. \")\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formData.value.personalInformation, (field) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-span-1\",\n key: field.field\n }, [\n _createElementVNode(\"div\", _hoisted_8, [\n (field.fieldType === 'input')\n ? (_openBlock(), _createBlock(_component_tw_input, {\n key: 0,\n modelValue: field.value,\n \"onUpdate:modelValue\": ($event: any) => ((field.value) = $event),\n ref_for: true,\n ref: 'formData.personalInformation' + field.field,\n label: field.label,\n required: field.required,\n validation: field.validation,\n \"is-valid\": field.isValid,\n type: field.type,\n name: field.id,\n id: field.id\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"label\", \"required\", \"validation\", \"is-valid\", \"type\", \"name\", \"id\"]))\n : (field.fieldType === 'select')\n ? (_openBlock(), _createBlock(_component_tw_select, {\n key: 1,\n modelValue: field.value,\n \"onUpdate:modelValue\": ($event: any) => ((field.value) = $event),\n options: field.options,\n required: field.required,\n label: field.label,\n name: field.id,\n id: field.id,\n \"validation-error\": field.validation,\n valid: field.isValid\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"options\", \"required\", \"label\", \"name\", \"id\", \"validation-error\", \"valid\"]))\n : _createCommentVNode(\"\", true),\n (field.id == 'household-income')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(HouseholdIncomeInfoChip)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128))\n ]),\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.phoneMobile.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formData.value.contactInformation.phoneMobile.value) = $event)),\n class: \"col-span-1\",\n label: \"Primary Phone\",\n type: \"tel\",\n name: \"primary-phone\",\n id: \"primary-phone\",\n validation: formData.value.contactInformation.phoneMobile.validation,\n \"is-valid\": formData.value.contactInformation.phoneMobile.isValid,\n required: \"\"\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.phoneHome.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formData.value.contactInformation.phoneHome.value) = $event)),\n label: \"Secondary Phone\",\n class: \"col-span-1\",\n type: \"tel\",\n name: \"secondary-phone\",\n id: \"secondary-phone\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_12,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.addressLine1.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formData.value.contactInformation.addressLine1.value) = $event)),\n class: \"col-span-1\",\n label: \"Address Line 1\",\n type: \"text\",\n name: \"addressLine1\",\n id: \"addressLine1\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_13,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.addressLine2.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formData.value.contactInformation.addressLine2.value) = $event)),\n class: \"col-span-1\",\n label: \"Address Line 2\",\n type: \"text\",\n name: \"addressLine2\",\n id: \"addressLine2\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_14,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.addressCity.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formData.value.contactInformation.addressCity.value) = $event)),\n label: \"City\",\n type: \"text\",\n name: \"addressCity\",\n id: \"addressCity\",\n class: \"col-span-1\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_tw_input, {\n class: \"w-3/5\",\n modelValue: formData.value.contactInformation.addressState.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formData.value.contactInformation.addressState.value) = $event)),\n label: \"State / Province / Region\",\n type: \"text\",\n name: \"addressState\",\n id: \"addressState\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n class: \"w-2/5\",\n modelValue: formData.value.contactInformation.addressPostalCode.value,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formData.value.contactInformation.addressPostalCode.value) = $event)),\n label: \"Postal Code\",\n type: \"text\",\n name: \"addressState\",\n id: \"postal-code\",\n validation: formData.value.contactInformation.addressPostalCode.validation,\n \"is-valid\": formData.value.contactInformation.addressPostalCode.isValid,\n required: \"\"\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"])\n ]),\n _createVNode(_component_tw_select, {\n modelValue: formData.value.contactInformation.addressCountry.value,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formData.value.contactInformation.addressCountry.value) = $event)),\n class: \"\",\n options: countryOptions.value,\n label: \"Country\",\n name: \"addressCountry\",\n id: \"addressCountry\"\n }, null, 8, [\"modelValue\", \"options\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-brand uppercase\",\n onClick: updateAccount\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Update \")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./MigrateAccountDetails.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MigrateAccountDetails.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"onSubmit\"]\nconst _hoisted_2 = { class: \"space-y-8\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title\" }, \" Log in to Your Account \", -1)\nconst _hoisted_4 = { class: \"text-sm mt-2\" }\nconst _hoisted_5 = { class: \"text-red-600 w-full justify-center text-sm h-16 py-2 items-end flex\" }\nconst _hoisted_6 = { class: \"text-center mt-2\" }\n\nimport {\n\t\tref\t\n\t} from 'vue'\n\n\timport { \n\t\tAuth\n\t} from 'aws-amplify'\n\n\timport { \n\t\tuseRouter,\n\t\tuseRoute\n\t} from 'vue-router'\n\n\t// api\n\timport api from '@/utilities/api'\n\timport {\n\t\tStudent\n\t} from \"@/API\"\n\timport { \n\t\tstudentBySub\n\t} from '../queries'\n\n\t// Store\n\timport { \n\t\tuserStore \n\t} from '@/store/userStore'\n\n\timport MigrateAccountDetails from '../../accountCreation/MigrateAccountDetails.vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'LoginForm' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// vue\n\tconst router = useRouter()\n\tconst route = useRoute()\n\tconst store = userStore()\n\tconst _student = ref({} as Student)\n\t// component code below\n\tconst login = ref({\n\t\temail: {\n\t\t\tvalue: \"\",\n\t\t\tisValid: true,\n\t\t\tvalidationMessage: \"Please enter your email.\"\n\t\t},\n\t\tpassword: {\n\t\t\tvalue: \"\",\n\t\t\tisValid: true,\n\t\t\tvalidationMessage: \"Please enter your password.\"\n\t\t},\n\t})\n\tconst loading = ref(false)\n\tconst showMigrateAccountDetails = ref(false)\n\tconst message = ref('')\n\n\tfunction validate() {\n\t\tlet isFormValid = true\n\t\tlet eReg = /^[\\w-.+_]+@([\\w-]+\\.)+[\\w-]{2,4}$/\n\n\t\t// validate email\n\t\tif(!login.value.email.value) {\n\t\t\tlogin.value.email.validationMessage = \"Please enter your email.\"\n\t\t\tlogin.value.email.isValid = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse if (!eReg.exec(login.value.email.value)) {\n\t\t\tlogin.value.email.validationMessage = \"Invalid email format.\"\n\t\t\tlogin.value.email.isValid = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse {\n\t\t\tlogin.value.email.isValid = true\n\t\t}\n\t\t\n\t\t// validate password\n\t\tif(!login.value.password.value){\n\t\t\tlogin.value.password.isValid = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse {\n\t\t\t\n\t\t\tlogin.value.password.isValid = true\n\t\t}\n\t\tif(!login.value.email.isValid) document.getElementById('email')?.focus()\n\t\telse if(!login.value.password.isValid) document.getElementById('password')?.focus()\n\n\t\treturn isFormValid\n\t}\n\n\tasync function signIn() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tmessage.value = \"\"\n\t\t\tif(!validate()) return\n\t\t\t\n\t\t\tlet user = await Auth.signIn(login.value.email.value, login.value.password.value)\n\n\t\t\tlet studentID = user.attributes.sub\n\t\t\tawait storeUser(studentID)\n\n\t\t\t// handle redirect\n\t\t\tif(route.query.redirect) {\n\t\t\t\trouter.push({path: route.query.redirect})\n\t\t\t}\n\t\t\telse {\n\t\t\t\t// if account is migrated, ask for remaining details\n\t\t\t\t// get student record\n\t\t\t\tlet fieldsMissing = false\n\t\t\t\tif(!_student.value.firstName ||\n\t\t\t\t!_student.value.lastName ||\n\t\t\t\t!_student.value.gender ||\n\t\t\t\t!_student.value.pronouns ||\n\t\t\t\t!_student.value.ethnicity ||\n\t\t\t\t!_student.value.education ||\n\t\t\t\t!_student.value.income ||\n\t\t\t\t!_student.value.dob ||\n\t\t\t\t!_student.value.phoneMobile ||\n\t\t\t\t!_student.value.postal\n\t\t\t\t) {\n\t\t\t\t\tfieldsMissing = true\n\t\t\t\t}\n\t\t\t\t// if(_student.value.createdAt.includes(\"2023-08-08\")) fieldsMissing = true\n\t\t\t\tif(fieldsMissing) {\n\t\t\t\t\tshowMigrateAccountDetails.value = true\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\trouter.push({name: 'Dashboard'})\n\t\t\t\t}\n\t\t\t}\n\t\t} \n\t\tcatch (error:any) {\n\t\t\tif(String(error).includes('PasswordResetRequiredException')) {\n\t\t\t\trouter.push({name: 'ResetPasswordRequested', params: {email: login.value.email.value}})\n\t\t\t}\n\t\t\telse if(String(error).includes('UserNotConfirmedException')) {\n\t\t\t\tresendConfirmationCode()\n\t\t\t\trouter.push({name: 'AccountConfirmation', params: {email: login.value.email.value}})\n\t\t\t}\n\t\t\telse if(String(error).includes('Incorrect username or password')) {\n\t\t\t\tmessage.value = \"Invalid email or password.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('UserNotFoundException')) {\n\t\t\t\tmessage.value = 'Invalid email or password. If you are logging into our new site for the first time, please use the \"Forgot password?\" button below to reset your password.'\n\t\t\t}\n\t\t\telse if(String(error).includes('Password attempts exceeded')) {\n\t\t\t\tmessage.value = \"Password attempts exceeded. Please try again later or reset your password using the 'Forgot password' button.\"\n\t\t\t}\n\t\t\telse {\n\t\t\t\tmessage.value = \"There was an issue with logging into your account. Please try again or contact us for assistance.\"\n\t\t\t}\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tasync function resendConfirmationCode() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tmessage.value = \"\"\n\n\t\t\tlet username = login.value.email.value\n\t\t\t\n\t\t\tawait Auth.resendSignUp(username)\n\t\t}\n\t\tcatch (error) {\n\t\t\tif(String(error).includes('LimitExceededException')) {\n\t\t\t\tmessage.value = \"Password reset attempts exceeded. Please try again later.\"\n\t\t\t}\n\n\t\t\tconsole.log(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tfunction closeModal() {\n\t\tshowMigrateAccountDetails.value = false\n\t\trouter.push({name: 'Dashboard'})\n\t}\n\n\tasync function storeUser(studentID: string) {\n\t\tlet input = {\n\t\t\tsub: studentID,\n\t\t\tfilter: {\n\t\t\t\tisMainAccount: {\n\t\t\t\t\teq: 1\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\tconst response:any = await api(studentBySub, input)\n\t\t\tlet student:Student = response.data.studentBySub.items[0]\n\t\t\tstore.user = student\n\t\t\t_student.value = student\n\t\t}\n\t\tcatch(error) {\n\t\t\tconsole.log('Error:', error)\n\t\t}\n\t}\n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"form\", {\n class: \"flex flex-col justify-between h-full\",\n onSubmit: _withModifiers(signIn, [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _hoisted_3,\n _createElementVNode(\"p\", _hoisted_4, [\n _createTextVNode(\" Or \"),\n _createVNode(_component_router_link, {\n to: {name: 'CreateAccount'},\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create an Account \")\n ]),\n _: 1\n })\n ])\n ]),\n _createVNode(_component_tw_input, {\n modelValue: login.value.email.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((login.value.email.value) = $event)),\n label: \"Email\",\n type: \"text\",\n name: \"email\",\n id: \"email\",\n validation: login.value.email.validationMessage,\n \"is-valid\": login.value.email.isValid\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n modelValue: login.value.password.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((login.value.password.value) = $event)),\n label: \"Password\",\n type: \"password\",\n name: \"password\",\n id: \"password\",\n validation: login.value.password.validationMessage,\n \"is-valid\": login.value.password.isValid\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"])\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(message.value), 1),\n _createVNode(_component_tw_button, {\n onClick: signIn,\n class: \"btn-base btn-brand w-full\",\n disabled: loading.value,\n loading: loading.value,\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Log In \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_router_link, {\n to: {name: 'ResetPassword'},\n class: \"link w-full h-9 text-sm mx-auto\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Forgot password? \")\n ]),\n _: 1\n })\n ])\n ])\n ], 40, _hoisted_1),\n (showMigrateAccountDetails.value)\n ? (_openBlock(), _createBlock(MigrateAccountDetails, {\n key: 0,\n show: showMigrateAccountDetails.value,\n student: _student.value,\n onClose: closeModal\n }, null, 8, [\"show\", \"student\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./LoginForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LoginForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex flex-col justify-between h-full\" }\nconst _hoisted_2 = { class: \"space-y-8\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title\" }, \" Reset Your Password \", -1)\nconst _hoisted_4 = { class: \"text-sm mt-2\" }\nconst _hoisted_5 = { class: \"space-y-6\" }\nconst _hoisted_6 = { class: \"space-y-8\" }\nconst _hoisted_7 = { class: \"text-sm space-y-2\" }\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = { class: \"font-bold font-gotham\" }\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Your new password must contain: \"),\n /*#__PURE__*/_createElementVNode(\"ul\", { class: \"list-disc pl-8\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \" At least 6 characters \")\n ])\n], -1)\nconst _hoisted_11 = { class: \"text-red-600 w-full justify-center text-sm h-16 py-2 items-end flex\" }\nconst _hoisted_12 = { class: \"text-center mt-2\" }\nconst _hoisted_13 = { class: \"flex flex-col justify-between h-full\" }\nconst _hoisted_14 = { class: \"space-y-8\" }\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title\" }, \" Success \", -1)\nconst _hoisted_16 = { class: \"text-sm mt-2\" }\n\nimport { \n\t\tcomputed,\n\t\tref\n\t} from 'vue'\n\n\t// amplify\n\timport { \n\t\tAuth \n\t} from 'aws-amplify'\n\n\t// vue router\n\timport {\n\t\tuseRoute,\n\t\tuseRouter\n\t} from 'vue-router'\n\n\t// component code below\n\t\n\t// name the component\n\tconst __default__ = { name: 'ResetPasswordForm' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// vue\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\n\n\tconst currentRoute = computed( () => {\n return route.name\n })\n\t\n\tconst login = ref({\n\t\temail: {\n\t\t\tvalue: currentRoute.value === 'ResetPasswordRequested' ? String(route.params.email) : '',\n\t\t\tisValid: true,\n\t\t\tvalidationMessage: \"Please enter your email.\"\n\t\t},\n\t\tpassword: {\n\t\t\tvalue: \"\",\n\t\t\tisValid: true,\n\t\t\tvalidationMessage: \"Please enter a new password.\"\n\t\t},\n\t\tpasswordConfirm: {\n\t\t\tvalue: \"\",\n\t\t\tisValid: true,\n\t\t\tvalidationMessage: \"Please confirm your new password.\"\n\t\t},\n\t})\n\tconst loading = ref(false)\n\tconst showPassword = ref(false)\n\tconst showCode = ref(currentRoute.value === 'ResetPasswordRequested' ? true : false)\n\tconst message = ref('')\n\tconst code = ref('')\n\tconst changeSuccessful = ref(false)\n\n\tconst submitButton = computed(() => {\n\t\treturn showCode.value ? 'Resend Code' : 'Submit'\n\t})\n\n\tfunction validateEmail() {\n\t\tlet isFormValid = true\n\t\tlet eReg = /^[\\w-.+_]+@([\\w-]+\\.)+[\\w-]{2,4}$/\n\n\t\t// validate email\n\t\tif(!login.value.email.value) {\n\t\t\tlogin.value.email.validationMessage = \"Please enter your email.\"\n\t\t\tlogin.value.email.isValid = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('email')?.focus()\n\t\t}\n\t\telse if (!eReg.exec(login.value.email.value)) {\n\t\t\tlogin.value.email.validationMessage = \"Invalid email format.\"\n\t\t\tlogin.value.email.isValid = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('email')?.focus()\n\t\t}\n\t\telse {\n\t\t\tlogin.value.email.isValid = true\n\t\t}\n\t\t\n\t\treturn isFormValid\n\t}\n\n\tfunction validatePassword() {\n\t\tlet isFormValid = true\n\t\t// let lowercaseRE = /([a-z])/g\n\t\t// let numberRE = /[0-9]/\n\t\t// let uppercaseRE = /[A-Z]/\n\t\t// let specialRE = /[!@#$%^&*()-=_+]/\n\n\t\t// validate code\n\t\tif(!code.value && !showPassword.value) {\n\t\t\tmessage.value = \"Please enter your verification code.\"\n\t\t\tisFormValid = false\n\t\t}\n\n\t\t// validate password\n\t\tif(!login.value.password.value) {\n\t\t\tlogin.value.password.validationMessage = \"Please enter a new password.\"\n\t\t\tlogin.value.password.isValid = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse {\n\t\t\tlogin.value.password.isValid = true\n\t\t}\n\n\t\tif(!login.value.passwordConfirm.value) {\n\t\t\tlogin.value.passwordConfirm.validationMessage = \"Please confirm your new password.\"\n\t\t\tlogin.value.passwordConfirm.isValid = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse if(login.value.password.value !== login.value.passwordConfirm.value) {\n\t\t\tlogin.value.passwordConfirm.validationMessage = \"Password does not match.\"\n\t\t\tlogin.value.passwordConfirm.isValid = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse {\n\t\t\tlogin.value.passwordConfirm.isValid = true\n\t\t}\n\n\t\t// if(login.value.passwordConfirm?.value?.match(lowercaseRE)?.length < 3 || login.value.passwordConfirm.value?.match(lowercaseRE) == null) { \n\t\t// \tmessage.value = \"Your password must contain at least three lowercase letters.\"\n\t\t// \tisFormValid = false\n\t\t// }\n\t\t// if(!uppercaseRE.exec(login.value.passwordConfirm.value)) { \n\t\t// \tmessage.value = \"Your password must contain at least one uppercase letter.\"\n\t\t// \tisFormValid = false\n\t\t// }\n\t\t// if(!numberRE.exec(login.value.passwordConfirm.value)) { \n\t\t// \tmessage.value = \"Your password must contain at least one numerical character.\"\n\t\t// \tisFormValid = false\n\t\t// }\n\t\t// if(!specialRE.exec(login.value.passwordConfirm.value)) { \n\t\t// \tmessage.value = \"Your password must contain at least one special character.\"\n\t\t// \tisFormValid = false\n\t\t// }\n\t\tif(login.value.passwordConfirm.value?.length < 8) { \n\t\t\tmessage.value = \"Your password must be at least 8 characters.\"\n\t\t\tisFormValid = false\n\t\t}\n\n\n\t\tif(!login.value.password.isValid) document.getElementById('password')?.focus()\n\t\telse if(!login.value.passwordConfirm.isValid) document.getElementById('confirm-password')?.focus()\n\n\t\treturn isFormValid\n\t}\n\n\tasync function reset() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tmessage.value = \"\"\n\n\t\t\tif(!validateEmail()) return\n\n\t\t\tlet username = login.value.email.value\n\t\t\t\n\t\t\tawait Auth.forgotPassword(username)\n\t\t\tshowCode.value = true\n\t\t}\n\t\tcatch (error) {\n\t\t\tif(String(error).includes('LimitExceededException')) {\n\t\t\t\tmessage.value = \"Password reset attempts exceeded. Please try again later.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('UserNotFoundException')) {\n\t\t\t\t// create account with email supplied - migration from proclass\n\t\t\t\t// have the presignup lambda trigger handle it\n\t\t\t\tshowPassword.value = true\n\t\t\t}\n\t\t\telse if(String(error).includes('Cannot reset password for the user as there is no registered/verified email')){\n\t\t\t\tmessage.value = \"Password cannot be reset. Your account has not been confirmed. Please return to the log in screen and log in again.\"\n\t\t\t}\n\n\t\t\tconsole.log(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tasync function createMigratedUser() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\t// validate\n\t\t\tif(!validateEmail()) return\n\t\t\tif(!validatePassword()) return\n\n\t\t\tlet username = login.value.email.value\n\t\t\tlet email = login.value.email.value\n\t\t\tlet password = login.value.password.value\n\t\t\t\n\t\t\t// create cognito user\n\t\t\tconst { user } = await Auth.signUp({\n\t\t\t\tusername,\n\t\t\t\tpassword,\n\t\t\t\tattributes: {\n\t\t\t\t\temail,\n\t\t\t\t\t'custom:migrated': \"1\",\n\t\t\t\t},\n\t\t\t\tautoSignIn: { // optional - enables auto sign in after user is confirmed\n\t\t\t\t\tenabled: false,\n\t\t\t\t}\n\t\t\t});\n\t\n\t\t\trouter.push({name: 'AccountConfirmation', params: {email: email}})\n\t\t}\n\t\tcatch(e) {\n\t\t\t// email not found in database\n\t\t\tconsole.log(e)\n\n\t\t\tif(String(e).includes('No existing user found.')) {\n\t\t\t\tmessage.value = \"No account found with that email. Please create a new account.\"\n\t\t\t}\n\t\t}\n\t\tfinally{\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tasync function confirmCode() {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tmessage.value = \"\"\n\n\t\t\tif(!validatePassword()) return\n\n\t\t\tlet username = login.value.email.value\n\t\t\tlet password = login.value.passwordConfirm.value\n\t\t\tawait Auth.forgotPasswordSubmit(username, code.value, password)\n\t\t\tshowCode.value = false\n\t\t\tchangeSuccessful.value = true\n\t\t}\n\t\tcatch (error) {\n\t\t\tif(String(error).includes('CodeMismatchException')) {\n\t\t\t\tmessage.value = \"Invalid verification code provided. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('InvalidPasswordException')) {\n\t\t\t\tmessage.value = \"New password does not satisfy requirements. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('ExpiredCodeException')) {\n\t\t\t\tmessage.value = \"Verification code has expired. Please resend the code using the button below and try again.\"\n\t\t\t}\n\t\t\tconsole.log(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\t\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_confirmation_code = _resolveComponent(\"tw-confirmation-code\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _withDirectives(_createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _hoisted_3,\n _createElementVNode(\"p\", _hoisted_4, [\n _createTextVNode(\" Or \"),\n _createVNode(_component_router_link, {\n to: {name: 'Login' },\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Return to the Login Screen \")\n ]),\n _: 1\n })\n ])\n ]),\n _withDirectives(_createVNode(_component_tw_input, {\n modelValue: login.value.email.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((login.value.email.value) = $event)),\n label: \"Email\",\n type: \"text\",\n name: \"email\",\n ref: \"login.email\",\n id: \"email\",\n validation: login.value.email.validationMessage,\n \"is-valid\": login.value.email.isValid\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]), [\n [_vShow, !showCode.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_tw_input, {\n modelValue: login.value.password.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((login.value.password.value) = $event)),\n label: \"New Password\",\n type: \"password\",\n name: \"password\",\n id: \"password\",\n validation: login.value.password.validationMessage,\n \"is-valid\": login.value.password.isValid\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n modelValue: login.value.passwordConfirm.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((login.value.passwordConfirm.value) = $event)),\n label: \"Confirm New Password\",\n type: \"password\",\n name: \"confirm-password\",\n id: \"confirm-password\",\n validation: login.value.passwordConfirm.validationMessage,\n \"is-valid\": login.value.passwordConfirm.isValid\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"])\n ], 512), [\n [_vShow, showPassword.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n (currentRoute.value === 'ResetPasswordRequested')\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_8, \" You must update your password before logging in. \"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", null, [\n _createTextVNode(\"An email has been sent to \"),\n _createElementVNode(\"span\", _hoisted_9, _toDisplayString(login.value.email.value), 1),\n _createTextVNode(\" containing a verification code. Please enter the code and a new password below to finishing updating your password.\")\n ])\n ]),\n _createVNode(_component_tw_confirmation_code, {\n modelValue: code.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((code).value = $event))\n }, null, 8, [\"modelValue\"]),\n _hoisted_10,\n _createVNode(_component_tw_input, {\n modelValue: login.value.password.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((login.value.password.value) = $event)),\n label: \"New Password\",\n type: \"password\",\n name: \"password\",\n id: \"password\",\n validation: login.value.password.validationMessage,\n \"is-valid\": login.value.password.isValid\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n modelValue: login.value.passwordConfirm.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((login.value.passwordConfirm.value) = $event)),\n label: \"Confirm New Password\",\n type: \"password\",\n name: \"confirm-password\",\n id: \"confirm-password\",\n validation: login.value.passwordConfirm.validationMessage,\n \"is-valid\": login.value.passwordConfirm.isValid\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"])\n ], 512), [\n [_vShow, showCode.value && !showPassword.value]\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_11, _toDisplayString(message.value), 1),\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: confirmCode,\n disabled: loading.value,\n loading: loading.value,\n class: \"btn-base btn-brand w-full mb-4\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Submit \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"]), [\n [_vShow, showCode.value]\n ]),\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: reset,\n class: _normalizeClass([\"btn-base w-full\", [showCode.value ? 'btn-white' : 'btn-brand']]),\n disabled: loading.value,\n loading: loading.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(submitButton.value), 1)\n ]),\n _: 1\n }, 8, [\"class\", \"disabled\", \"loading\"]), [\n [_vShow, !showPassword.value]\n ]),\n _withDirectives(_createVNode(_component_tw_button, {\n onClick: createMigratedUser,\n class: \"btn-brand btn-base w-full\",\n disabled: loading.value,\n loading: loading.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Submit \")\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"]), [\n [_vShow, showPassword.value]\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_router_link, {\n to: {name: 'Login'},\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n })\n ])\n ])\n ], 512), [\n [_vShow, !changeSuccessful.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", null, [\n _hoisted_15,\n _createElementVNode(\"p\", _hoisted_16, [\n _createTextVNode(\" Your password has been successfully updated. Please \"),\n _createVNode(_component_router_link, {\n to: {name: 'Login' },\n class: \"link\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Return to the Login Screen \")\n ]),\n _: 1\n }),\n _createTextVNode(\" to log in again. \")\n ])\n ])\n ])\n ], 512), [\n [_vShow, changeSuccessful.value]\n ])\n ], 64))\n}\n}\n\n})","import script from \"./ResetPasswordForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ResetPasswordForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, createElementBlock as _createElementBlock } from \"vue\"\nimport _imports_0 from '@/assets/images/hyde-park-art-center-logo.png'\nimport _imports_1 from '@/assets/images/HPAC_Horizontal_Cyan_RGB_72dpi_trans.jpg'\n\n\nconst _hoisted_1 = { class: \"flex py-8 md:py-40 mx-auto justify-center\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex items-center md:px-4\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"h-96 mt-4 w-auto m-auto hidden md:inline-block\",\n src: _imports_0,\n alt: \"Hyde Park Art Center Logo\"\n })\n], -1)\nconst _hoisted_3 = { class: \"transition ease-linear md:pl-16 md:ml-12 border-0 md:border-l border-brand-500 w-full px-4 md:w-128\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"h-8 my-8 w-auto m-auto block md:hidden\",\n src: _imports_1,\n alt: \"Hyde Park Art Center Logo\"\n}, null, -1)\nconst _hoisted_5 = {\n key: 2,\n class: \"h-full w-80 items-center\"\n}\n\nimport { \n\t\tAuth\n\t} from 'aws-amplify'\n\n\timport { \n\t\tCognitoUserSession\n\t} from 'amazon-cognito-identity-js';\n\n\t// API\n\timport api from '@/utilities/api'\n\timport {\n\t\tStudent\n\t} from \"@/API\"\n\timport { \n\t\tstudentBySub\n\t} from './queries'\n\n\t// vue\n\timport {\n\t\tref,\n\t\tcomputed,\n\t\tonBeforeMount\n\t} from 'vue'\n\n\t// router\n\timport {\n\t\tuseRoute,\n\t\tuseRouter\n\t} from 'vue-router'\n\n\t// Store\n\timport { \n\t\tuserStore \n\t} from '@/store/userStore'\n\n\t// components\n\timport LoginForm from './components/LoginForm.vue'\n\timport ResetPasswordForm from './components/ResetPasswordForm.vue'\n\n \n\t// name the component\n\tconst __default__ = { name: 'LoginMain' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\t// amplify\n\tconst currentRoute = computed( () => {\n return useRoute().name\n })\n\n\tconst router = useRouter()\n\tconst store = userStore()\n\n\tconst user = ref(null)\n\tconst loading = ref(true)\n\n\tonBeforeMount( async () => {\n\t\tloading.value = true\n\t\ttry {\n\t\t\t//check for existing login & reroute\n\t\t\tuser.value = await Auth.currentSession()\n\t\t\tlet accessToken = user.value.getAccessToken()\n\t\t\tif(user.value && accessToken) {\n\t\t\t\tlet studentID = accessToken.payload.sub\n\t\t\t\tstoreUser(studentID)\n\t\t\t\trouter.push({name: \"Dashboard\"})\n\t\t\t}\n\t\t}\n\t\tcatch(e) {\n\t\t\tuser.value = null\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally{\n\t\t\tloading.value = false\n\t\t}\n\t})\n\n\tasync function storeUser(studentID: string) {\n\t\tlet input = {\n\t\t\tsub: studentID,\n\t\t\tfilter: {\n\t\t\t\tisMainAccount: {\n\t\t\t\t\teq: 1\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\tconst response:any = await api(studentBySub, input)\n\t\t\tlet student:Student = response.data.studentBySub.items[0]\n\t\t\tstore.user = student\n\t\t}\n\t\tcatch(error) {\n\t\t\tconsole.log('Error:', error)\n\t\t}\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_loading = _resolveComponent(\"tw-loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n (currentRoute.value == 'Login')\n ? (_openBlock(), _createBlock(LoginForm, { key: 0 }))\n : (currentRoute.value == 'ResetPassword' || currentRoute.value == 'ResetPasswordRequested')\n ? (_openBlock(), _createBlock(ResetPasswordForm, { key: 1 }))\n : (loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_tw_loading)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","import script from \"./LoginMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LoginMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\nimport Login from './LoginMain.vue'\nimport AuthLayout from '@/layouts/AuthLayout.vue'\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"Login\",\n\t\tpath: \"/\",\n\t\tcomponent: Login,\n\t\tlayout: AuthLayout\n\t}\n}\n\nexport { config }","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n {\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tlayout: config.mainRoute.layout\n\t\t}\n },\n\t// other routes below\n\t{\n\t\tpath: '/reset-password',\n\t\tname: 'ResetPassword',\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: { \n\t\t\tlayout: config.mainRoute.layout\n\t\t}\n\t},\n\t{\n\t\tpath: '/reset-password-requested?email=:email',\n\t\tname: 'ResetPasswordRequested',\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: { \n\t\t\tlayout: config.mainRoute.layout\n\t\t},\n\t\tprops: true\n\t},\n];","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./MainLayout.vue?vue&type=style&index=0&id=5fe04862&lang=css\"","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n\t{\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t}\n\t},\n\t// course detail route\n\t{ \n\t\tpath: config.courseDetailRoute.path,\n\t\tname: config.courseDetailRoute.name,\n\t\tcomponent: config.courseDetailRoute.component,\n\t\tprops: config.courseDetailRoute.props,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t}\n\t}\n];\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Teleport as _Teleport, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, unref as _unref, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"table-action-menu\",\n class: \"relative\"\n}, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"h1\", { class: \"title\" }, \" Settings \", -1)\nconst _hoisted_3 = { class: \"overflow-hidden card p-0 h-full mt-6\" }\nconst _hoisted_4 = { class: \"divide-y divide-gray-200 lg:grid lg:grid-cols-12 lg:divide-y-0 lg:divide-x\" }\nconst _hoisted_5 = { class: \"lg:col-span-2\" }\nconst _hoisted_6 = { class: \"space-y-1\" }\nconst _hoisted_7 = [\"onClick\", \"aria-current\"]\n\nimport { route } from './routes'\n\n\timport { \n\t\tref\n\t} from 'vue'\n\n\timport { \n\t\tuseRouter\n\t} from 'vue-router'\n\n\t//set up subroutes\n\t\n\t// name the component\n\tconst __default__ = { name: 'SettingsMain' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\tconst router = useRouter()\n\tlet currentRoute = ref('')\n\tconst childRoutes:any = ref([])\n\tchildRoutes.value = route[0].children?.filter(route => {return !route.meta?.hide})\n\n\n\tfunction setModule(childRoute: any){\n\t\tcurrentRoute.value = childRoute.name\n\t\trouter.push({name: childRoute.name})\n\t}\n\t// setModule(childRoutes.value[0])\n\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\n\t// eslint-disable-next-line \n\tfunction showMessage (message: string[]){\n\t\tnotificationTitle.value = message[0]\n\t\tnotificationSubtitle.value = message[1]\n\t\tnotificationIcon.value = parseInt(message[2])\n\t\tshowNotification.value = true\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n (_openBlock(), _createBlock(_Teleport, { to: \"#notification\" }, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true)\n ])),\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"aside\", _hoisted_5, [\n _createElementVNode(\"nav\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(childRoutes.value, (item) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n onClick: ($event: any) => (setModule(item)),\n key: item.name,\n class: _normalizeClass([item.name == _unref(currentRoute) ? 'w-full border-brand-500 bg-brand-100 text-brand-500 hover:bg-brand-100 hover:text-brand-300' : 'w-full border-transparent text-gray-900 hover:bg-brand-100 hover:text-gray-900', 'group flex items-center border-l-4 px-3 py-2 text-sm font-medium']),\n \"aria-current\": item.name == _unref(currentRoute) ? 'page' : undefined\n }, _toDisplayString(item.meta.title), 11, _hoisted_7))\n }), 128))\n ])\n ]),\n _createVNode(_component_router_view, {\n onShowMessage: showMessage,\n class: \"col-span-10\"\n })\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./Settings.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Settings.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import Settings from './Settings.vue'\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"Settings\",\n\t\tpath: \"/settings\",\n\t\tcomponent: Settings,\n\t},\n\tnav: {\n\t\tname: \"Settings\",\n\t\tto: \"RootCourses\",\n\t\tposition: 4,\n\t\tshow: true\n\t},\n\tmodule: \"settings\",\n\tauth: ['admin']\n}\n\nexport { config }","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./TwSlider.vue?vue&type=style&index=0&id=30e128f8&scoped=true&lang=css\"","import { Nav } from '@/types' // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const nav: Nav = { \n name: config.nav.name, \n to: {name: config.nav.to},\n position: config.nav.position,\n show: config.nav.show,\n\tmodule: config.module,\n\tauth: config.auth\n}\n","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n {\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t}\n },\n\t// course details route\n\t{\n\t\tpath: config.courseDetailsRoute.path,\n\t\tname: config.courseDetailsRoute.name,\n\t\tcomponent: config.courseDetailsRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t},\n\t\tprops: true\n },\n\t{\n\t\tpath: \"/courses/new-course\",\n\t\tname: \"NewCourse\",\n\t\tcomponent: config.courseDetailsRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t}\n },\n];","import { defineStore } from 'pinia'\nimport { useStorage } from '@vueuse/core'\n\nexport const adminFiltersStore = defineStore('adminFilters', {\n\t// a function that returns a fresh state\n\tstate: () => ({\n\t\tappliedFilters: useStorage('adminFilters', {\n\t\t\tcourseList: {\n\t\t\t\tsearchText:'',\n\t\t\t\tsortField: 'startDate',\n\t\t\t\tsortDirection: 'DESC',\n\t\t\t\tqueryName: null,\n\t\t\t\tquery: null,\n\t\t\t\tfilters: [[],[],[],[],[],[]]\n\t\t\t},\n\t\t\tstudentList: {\n\t\t\t\tsearchText:'',\n\t\t\t\tsortField: 'firstName',\n\t\t\t\tsortDirection: 'ASC',\n\t\t\t\tqueryName: null,\n\t\t\t\tquery: null,\n\t\t\t\tfilters: [[]]\n\t\t\t}\n\t\t})\n\t}),\n\t\n\t// optional getters\n\tgetters: {\n\n\t},\n\n\t// optional actions\n\tactions: {\n\n\t}\n})","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./EmailModal.vue?vue&type=style&index=0&id=515035a0&scoped=true&lang=css\"","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Teleport as _Teleport, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, vShow as _vShow, withDirectives as _withDirectives, createStaticVNode as _createStaticVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"mx-auto py-8 px-4 sm:px-6 lg:px-8 max-w-screen-2xl space-y-4\" }\nconst _hoisted_2 = { class: \"w-full sm:w-2/3 xl:w-1/2\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"title\" }, \" Create an Account \", -1)\nconst _hoisted_4 = { class: \"text-sm mt-2\" }\nconst _hoisted_5 = /*#__PURE__*/_createStaticVNode(\"

Welcome to Hyde Park Art Center! By creating an account you will be able to register for courses, see your history of courses, and more.

Families are able to share accounts. Simply add a new adult or child for each student looking to take a class after creating an account.

Demographic info helps us understand our community better, so we can better meet your needs, and helps us keep our vital programs accessible (thanks, funders!). We keep all information private and never share identifiable info with others.

Please call 773.324.5520 for assitance.

\", 1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"subtitle\" }, \" Personal Information \", -1)\nconst _hoisted_7 = { class: \"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 items-end\" }\nconst _hoisted_8 = { class: \"relative\" }\nconst _hoisted_9 = {\n key: 2,\n class: \"absolute top-0 right-0\"\n}\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"subtitle\" }, \" Contact Information \", -1)\nconst _hoisted_11 = { class: \"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 items-end\" }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-1 hidden md:flex\" }, null, -1)\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-2 hidden md:flex\" }, null, -1)\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-2 hidden md:flex\" }, null, -1)\nconst _hoisted_15 = { class: \"col-span-1 flex gap-2 items-end\" }\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"subtitle\" }, \" Emergency Contact Information \", -1)\nconst _hoisted_17 = { class: \"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 items-end\" }\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"col-span-1 hidden md:flex\" }, null, -1)\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"subtitle\" }, \" Account Information \", -1)\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-full sm:w-2/3 xl:w-1/2 space-y-4\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm\" }, \" Enter and confirm your email address below. You will use your email address to log into your account. \")\n], -1)\nconst _hoisted_21 = { class: \"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6\" }\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm w-full sm:w-120\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Enter and confirm a secure password below. Your new password must contain: \"),\n /*#__PURE__*/_createElementVNode(\"ul\", { class: \"list-disc pl-8\" }, [\n /*#__PURE__*/_createElementVNode(\"li\", null, \" At least 8 characters \")\n ])\n], -1)\nconst _hoisted_23 = { class: \"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4\" }\nconst _hoisted_24 = { class: \"grid grid-cols-3 gap-4 pt-8\" }\nconst _hoisted_25 = { class: \"col-span-3 md:col-span-1\" }\n\nimport { \n\t\tref\n\t} from 'vue'\n\timport { VL_COUNTRY_OPTIONS } from '@/utilities/valueLists.js'\n\timport { Auth } from 'aws-amplify';\n\timport { useRouter, } from 'vue-router'\n\n\t// Store\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\timport HouseholdIncomeInfoChip from '@/components/Badges/HouseholdIncomeInfoChip.vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"CreateAccount\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// vue\n\tconst _valueListStore = valueListStore()\n\tconst router = useRouter()\n\tconst loading = ref(false)\n\n\t// component code below\n\tconst pronounOptions = ref(_valueListStore.valueList.pronouns)\n\tconst genderOptions = ref(_valueListStore.valueList.gender)\n\tconst countryOptions = ref(VL_COUNTRY_OPTIONS)\n\tconst ethnicityOptions = ref(_valueListStore.valueList.ethnicity)\n\tconst educationOptions = ref(_valueListStore.valueList.education)\n\tconst incomeOptions = ref(_valueListStore.valueList.income)\n\tconst _pronouns = ref([])\n\tconst _ethnicity = ref([])\n\t\n\n\tconst formData =ref({\n\t\tpersonalInformation : [\n\t\t\t{fieldType: \"input\", id: \"first-name\", type: \"text\", label: \"First Name\", field: \"firstName\", required: true, value: \"\", isValid:true, validation:'Please enter the account holder\\'s first name.'},\n\t\t\t{fieldType: \"input\", id: \"middle-name\", type: \"text\", label: \"Middle Name or Initial\", field: \"middleName\", required: false, value: \"\", isValid:true, validation:''},\n\t\t\t{fieldType: \"input\", id: \"last-name\", type: \"text\", label: \"Last Name\", field: \"lastName\", required: true, value: \"\", isValid:true, validation:'Please enter the account holder\\'s last name.'},\n\t\t\t{options: genderOptions, fieldType: \"select\", id: \"gender\", type: \"text\", label: \"Gender\", field: \"gender\", required: true, value: \"\", isValid:true, validation:''},\n\t\t\t{options: pronounOptions, fieldType: \"select\", id: \"pronouns\", type: \"text\", label: \"Pronouns\", field: \"pronouns\", required: true, value: _pronouns, isValid:true, validation:'', multiple:true},\n\t\t\t{options: ethnicityOptions, fieldType: \"select\", id: \"ethnicity\", type: \"text\", label: \"Ethnicity\", field: \"ethnicity\", required: true, value: _ethnicity, isValid:true, validation:'', multiple:true},\n\t\t\t{options: educationOptions, fieldType: \"select\", id: \"hightest-level-of-education\", type: \"text\", label: \"Highest Level of Education\", field: \"education\", required: true, value: \"\", isValid:true, validation:''},\n\t\t\t{options: incomeOptions, fieldType: \"select\", id: \"household-income\", type: \"text\", label: \"Household Information\", field: \"income\", required: true, value: \"\", isValid:true, validation:''},\n\t\t\t{fieldType: \"input\", id: \"date-of-birth\", type: \"date\", label: \"Date of Birth\", field: \"dob\", required: true, value: \"\", isValid:true, validation:'Please enter the account holder\\'s date of birth'},\n\t\t],\n\t\tcontactInformation : {\n\t\t\tphoneHome:{value: \"\", isValid:true, validation:''},\n\t\t\tphoneWork:{value: \"\", isValid:true, validation:''},\n\t\t\tphoneWorkExt:{value: \"\", isValid:true, validation:''},\n\t\t\tphoneMobile: {value: \"\", isValid:true, validation:'Please enter your primary phone.',id: \"primary-phone\"},\n\t\t\taddressLine1: {value: \"\", isValid:true, validation:''},\n\t\t\taddressLine2: {value: \"\", isValid:true, validation:''},\n\t\t\taddressCity: {value: \"\", isValid:true, validation:''},\n\t\t\taddressState: {value: \"\", isValid:true, validation:''},\n\t\t\taddressPostalCode: {value: \"\", isValid:true, validation:'Postal code required.',id: \"postal-code\"},\n\t\t\taddressCountry: {value: \"\", isValid:true, validation:''},\n\t\t\temergencyContactFirstName:{value: \"\", isValid:true, validation:''},\n\t\t\temergencyContactLastName:{value: \"\", isValid:true, validation:''},\n\t\t\temergencyContactPhone:{value: \"\", isValid:true, validation:''},\n\t\t\temergencyContactEmail:{value: \"\", isValid:true, validation:''},\n\t\t\temergencyContactRelationship:{value: \"\", isValid:true, validation:''},\n\t\t},\n\t\taccountInformation : {\n\t\t\temail:{value: \"\", isValid:true, validation:''},\n\t\t\temailConfirmation:{value: \"\", isValid:true, validation:''},\n\t\t\toptInEmails:{value: false, isValid: true, validation: ''},\n\t\t\tpassword:{value: \"\", isValid:true, validation:''},\n\t\t\tpasswordConfirmation:{value: \"\", isValid:true, validation:''},\n\t\t}\n\t})\n\n\t// #region notification\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\t// #endregion\n\n\tconst emailValidationMessage = ref(\"Please enter your email.\")\n\tconst confirmEmailValidationMessage = ref(\"Please confirm your email.\")\n\tconst passwordValidationMessage = ref('Please enter a password.')\n\tconst confirmPasswordValidationMessage = ref('Please confirm your password.')\n\tconst passwordError = ref('')\n\tconst hasError = ref(false)\n\n\tasync function createAccount() {\n\t\tloading.value = true\n\n\t\tif(!validateForm()) {\n\t\t\tloading.value = false\n\t\t\treturn \n\t\t}\n\n\t\ttry {\n\t\t\t//default attributes\n\t\t\tlet given_name = formData.value.personalInformation[0].value\n\t\t\tlet middle_name = formData.value.personalInformation[1].value\n\t\t\tlet family_name = formData.value.personalInformation[2].value\n\t\t\tlet gender = formData.value.personalInformation[3].value\n\t\t\tlet pronouns = _pronouns.value.join(\", \")\n\t\t\tlet ethnicity = _ethnicity.value.join(\", \")\n\t\t\tlet highest_education = formData.value.personalInformation[6].value\n\t\t\tlet household_income = formData.value.personalInformation[7].value\n\t\t\tlet birthdate = formData.value.personalInformation[8].value\n\n\t\t\tlet address = formData.value.contactInformation.addressLine1.value\n\t\t\tlet address_line_2 = formData.value.contactInformation.addressLine2.value\n\t\t\tlet address_city = formData.value.contactInformation.addressCity.value\n\t\t\tlet address_country = formData.value.contactInformation.addressCountry.value\n\t\t\tlet address_postal = formData.value.contactInformation.addressPostalCode.value\n\t\t\tlet address_state = formData.value.contactInformation.addressState.value\n\t\t\tlet phone_mobile = formData.value.contactInformation.phoneMobile.value\n\t\t\tlet phone_work = formData.value.contactInformation.phoneWork.value\n\t\t\tlet phone_work_ext = formData.value.contactInformation.phoneWorkExt.value\n\t\t\tlet phone_number = '+1' + formData.value.contactInformation.phoneMobile.value.replace('(', '').replace(')', '').replaceAll(' ', '').replaceAll('-', '')\n\n\t\t\tlet emergencyContactFirstName = formData.value.contactInformation.emergencyContactFirstName.value\n\t\t\tlet emergencyContactLastName = formData.value.contactInformation.emergencyContactLastName.value\n\t\t\tlet emergencyContactPhone = '+1' + formData.value.contactInformation.emergencyContactPhone.value.replace('(', '').replace(')', '').replaceAll(' ', '').replaceAll('-', '')\n\t\t\tlet emergencyContactEmail = formData.value.contactInformation.emergencyContactEmail.value\n\t\t\tlet emergencyContactRelationship = formData.value.contactInformation.emergencyContactRelationship.value\n\t\t\t\n\t\t\tlet username = formData.value.accountInformation.email.value\n\t\t\tlet email = formData.value.accountInformation.email.value\n\t\t\tlet password = formData.value.accountInformation.password.value\n\t\t\tlet optInEmails = formData.value.accountInformation.optInEmails.value\n\t\t\t\n\t\t\t// create cognito user\n\t\t\tconst { user } = await Auth.signUp({\n\t\t\t\tusername,\n\t\t\t\tpassword,\n\t\t\t\tattributes: {\n\t\t\t\t\t//default attributes\n\t\t\t\t\temail,\n\t\t\t\t\tphone_number, \n\t\t\t\t\taddress,\n\t\t\t\t\tbirthdate,\n\t\t\t\t\tgiven_name,\n\t\t\t\t\tfamily_name, \n\t\t\t\t\tmiddle_name,\n\t\t\t\t\tgender,\n\t\t\t\t\t//custom attributes\n\t\t\t\t\t'custom:address_line_2': address_line_2,\n\t\t\t\t\t'custom:address_city': address_city,\n\t\t\t\t\t'custom:address_country': address_country,\n\t\t\t\t\t'custom:address_state': address_state,\n\t\t\t\t\t'custom:address_postal': address_postal,\n\t\t\t\t\t'custom:ethnicity': ethnicity,\n\t\t\t\t\t'custom:pronouns': pronouns,\n\t\t\t\t\t'custom:highest_education': highest_education,\n\t\t\t\t\t'custom:household_income': household_income,\n\t\t\t\t\t'custom:phone_mobile': phone_mobile, \n\t\t\t\t\t'custom:phone_work': phone_work,\n\t\t\t\t\t'custom:phone_work_ext': phone_work_ext,\n\t\t\t\t\t'custom:e_contact_first_name': emergencyContactFirstName,\n\t\t\t\t\t'custom:e_contact_last_name': emergencyContactLastName,\n\t\t\t\t\t'custom:e_contact_phone': emergencyContactPhone,\n\t\t\t\t\t'custom:e_contact_email': emergencyContactEmail,\n\t\t\t\t\t'custom:e_contact_relation': emergencyContactRelationship,\n\t\t\t\t\t'custom:opt_in_emails': optInEmails ? \"1\" : \"0\",\n\t\t\t\t},\n\t\t\t\tautoSignIn: { // optional - enables auto sign in after user is confirmed\n\t\t\t\t\tenabled: false,\n\t\t\t\t}\n\t\t\t});\n\n\t\t\trouter.push({name: 'AccountConfirmation', params: {email: email}})\n\t\t} \n\t\tcatch (error: any) {\n\t\t\tif(String(error).includes('InvalidPasswordException')) {\n\t\t\t\tpasswordError.value = \"Password does not satisfy requirements. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('NotAuthorizedException')) {\n\t\t\t\tpasswordError.value = \"Your current password is not correct. Please try again.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('UsernameExistsException')) {\n\t\t\t\tpasswordError.value = \"An account with the given email already exists. Please log in using your existing email.\"\n\t\t\t}\n\t\t\telse if(String(error).includes('LimitExceededException')) {\n\t\t\t\tpasswordError.value = \"Change password attempts exceeded. Please try again later.\"\n\t\t\t}\n\t\t\thasError.value = true\n\t\t\tconsole.log(error)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tfunction validateForm() {\n\t\tlet isValid = true\n\t\tformData.value.accountInformation.email.isValid = true\n\t\tformData.value.accountInformation.emailConfirmation.isValid = true\n\t\tformData.value.accountInformation.password.isValid = true\n\t\tformData.value.accountInformation.passwordConfirmation.isValid = true\n\t\thasError.value = false\n\n\t\t// validate fields\n\t\tif(!validateFields()) {\n\t\t\tisValid = false\n\t\t}\n\t\t\n\t\t// validate email\n\t\tif(!validateEmail()) {\n\t\t\tisValid = false\n\t\t}\n\n\t\t// validate password\n\t\tif(!validatePassword()) {\n\t\t\tisValid = false\n\t\t}\n\n\t\treturn isValid\n\t}\n\t\n\tfunction validatePassword() {\n\t\tlet isFormValid = true\n\t\t// let lowercaseRE = /([a-z])/g\n\t\t// let numberRE = /[0-9]/\n\t\t// let uppercaseRE = /[A-Z]/\n\t\t// let specialRE = /[!@#$%^&*()-=_+]/\n\n\t\tlet password = formData.value.accountInformation.password.value\n\t\tlet passwordConfirmation = formData.value.accountInformation.passwordConfirmation.value\n\n\t\t// validate password\n\t\tif(!password) {\n\t\t\tpasswordValidationMessage.value = \"Please enter a password.\"\n\t\t\tformData.value.accountInformation.password.isValid = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse {\n\t\t\tformData.value.accountInformation.password.isValid = true\n\t\t}\n\n\t\tif(!passwordConfirmation) {\n\t\t\tconfirmPasswordValidationMessage.value = \"Please confirm your password.\"\n\t\t\tformData.value.accountInformation.passwordConfirmation.isValid = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse if(password !== passwordConfirmation) {\n\t\t\tconfirmPasswordValidationMessage.value = \"Password does not match.\"\n\t\t\tformData.value.accountInformation.passwordConfirmation.isValid = false\n\t\t\tisFormValid = false\n\t\t}\n\t\telse {\n\t\t\tformData.value.accountInformation.passwordConfirmation.isValid = true\n\t\t}\n\t\t// if(password?.match(lowercaseRE)?.length < 3 || password?.match(lowercaseRE) == null) { \n\t\t// \tpasswordError.value = \"Your password must contain at least three lowercase letters.\"\n\t\t// \tpasswordValidationMessage.value = \"Password does not satisfy requirements\"\n\t\t// \tformData.value.accountInformation.password.isValid = false\n\t\t// \tisFormValid = false\n\t\t// \thasError.value = true\n\t\t// }\n\t\t// if(!uppercaseRE.exec(password)) { \n\t\t// \tpasswordError.value = \"Your password must contain at least one uppercase letter.\"\n\t\t// \tpasswordValidationMessage.value = \"Password does not satisfy requirements\"\n\t\t// \tformData.value.accountInformation.password.isValid = false\n\t\t// \tisFormValid = false\n\t\t// \thasError.value = true\n\t\t// }\n\t\t// if(!numberRE.exec(password)) { \n\t\t// \tpasswordError.value = \"Your password must contain at least one numerical character.\"\n\t\t// \tpasswordValidationMessage.value = \"Password does not satisfy requirements\"\n\t\t// \tformData.value.accountInformation.password.isValid = false\n\t\t// \tisFormValid = false\n\t\t// \thasError.value = true\n\t\t// }\n\t\t// if(!specialRE.exec(password)) { \n\t\t// \tpasswordError.value = \"Your password must contain at least one special character.\"\n\t\t// \tpasswordValidationMessage.value = \"Password does not satisfy requirements\"\n\t\t// \tformData.value.accountInformation.password.isValid = false\n\t\t// \tisFormValid = false\n\t\t// \thasError.value = true\n\t\t// }\n\t\tif(password?.length < 8) { \n\t\t\tpasswordError.value = \"Your password must be at least 8 characters.\"\n\t\t\tpasswordValidationMessage.value = \"Password does not satisfy requirements\"\n\t\t\tformData.value.accountInformation.password.isValid = false\n\t\t\tisFormValid = false\n\t\t\thasError.value = true\n\t\t}\n\n\t\tif(!formData.value.accountInformation.password.isValid) document.getElementById('password')?.focus()\n\t\telse if(!formData.value.accountInformation.passwordConfirmation.isValid) document.getElementById('confirm-password')?.focus()\n\n\t\treturn isFormValid\n\n\t}\n\n\tfunction validateEmail(){\n\t\tlet isFormValid = true\n\t\tlet eReg = /^[\\w-.+_]+@([\\w-]+\\.)+[\\w-]{2,4}$/\n\n\t\tlet email = formData.value.accountInformation.email.value\n\t\tlet emailConfirmation = formData.value.accountInformation.emailConfirmation.value\n\t\tlet optInEmails = formData.value.accountInformation.optInEmails.value\n\n\t\t// validate email\n\t\tif(!email) {\n\t\t\temailValidationMessage.value = \"Please enter your email.\"\n\t\t\tformData.value.accountInformation.email.isValid = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('email')?.focus()\n\t\t}\n\t\telse if(!eReg.exec(email)) {\n\t\t\temailValidationMessage.value = \"Invalid email format.\"\n\t\t\tformData.value.accountInformation.email.isValid = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('email')?.focus()\n\t\t}\n\t\telse if(!emailConfirmation) {\n\t\t\tconfirmEmailValidationMessage.value = \"Please confirm your email.\"\n\t\t\tformData.value.accountInformation.emailConfirmation.isValid = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('confirm-email')?.focus()\n\t\t}\n\t\telse if(email !== emailConfirmation) {\n\t\t\tconfirmEmailValidationMessage.value = \"Email does not match.\"\n\t\t\tformData.value.accountInformation.emailConfirmation.isValid = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('confirm-email')?.focus()\n\t\t}\n\t\telse if(!optInEmails){\n\t\t\tformData.value.accountInformation.optInEmails.isValid = false\n\t\t\tisFormValid = false\n\t\t\tdocument.getElementById('opt-in-email')?.focus()\n\t\t}\n\t\t\n\t\telse {\n\t\t\tformData.value.accountInformation.email.isValid = true\n\t\t\tformData.value.accountInformation.emailConfirmation.isValid = true\n\t\t}\n\t\t\n\t\treturn isFormValid\n\t}\n\n\tfunction validateFields() {\n\t\tlet isValid = true\n\n\t\tlet requiredFields = formData.value.personalInformation.filter((field) => {\n\t\t\treturn field.required\n\t\t})\n\n\t\tlet id = null\n\t\tfor(const field of requiredFields) {\n\t\t\tif (!field.value) {\n\t\t\t\tfield.isValid = false\n\t\t\t\tisValid = false\n\t\t\t\tif(id === null) id = field.id\n\t\t\t}\n\t\t}\n\t\t// primary phone\n\t\tif(!formData.value.contactInformation.phoneMobile.value) {\n\t\t\tformData.value.contactInformation.phoneMobile.isValid = false\n\t\t\tisValid = false\n\t\t\tif(id === null) id = formData.value.contactInformation.phoneMobile.id\n\t\t}\n\t\t// postal\n\t\tif(!formData.value.contactInformation.addressPostalCode.value) {\n\t\t\tformData.value.contactInformation.addressPostalCode.isValid = false\n\t\t\tisValid = false\n\t\t\tif(id === null) id = formData.value.contactInformation.addressPostalCode.id\n\t\t}\n\n\t\tif(id !== null) document.getElementById(id)?.focus()\n\n\t\t//verify age\n\t\tlet dob = new Date( formData.value.personalInformation[8].value)\n let _age:number = age(dob)\n\n\t\tif(_age < 13) {\n\t\t\tformData.value.personalInformation[8].isValid = false\n\t\t\tformData.value.personalInformation[8].validation = \"The account holder must be at least 13 years old.\"\n\t\t\tif(id === null) document.getElementById(formData.value.personalInformation[8].id)?.focus()\n\t\t\tisValid = false\n\t\t}\n\n\t\treturn isValid\n\t}\n\n\tfunction age(dob: Date) { \n\t\tvar diff_ms = Date.now() - dob.getTime();\n\t\tvar age_dt = new Date(diff_ms); \n\t\treturn Math.abs(age_dt.getUTCFullYear() - 1970);\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_checkbox = _resolveComponent(\"tw-checkbox\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_openBlock(), _createBlock(_Teleport, { to: \"#notification\" }, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true)\n ])),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _hoisted_3,\n _createElementVNode(\"p\", _hoisted_4, [\n _createTextVNode(\" Or \"),\n _createVNode(_component_router_link, {\n to: '/',\n class: \"text-brand-500 hover:text-brand-300\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Return to the log in page \")\n ]),\n _: 1\n })\n ]),\n _hoisted_5\n ]),\n _hoisted_6,\n _createElementVNode(\"div\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formData.value.personalInformation, (field) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col-span-1\",\n key: field.field\n }, [\n _createElementVNode(\"div\", _hoisted_8, [\n (field.fieldType === 'input')\n ? (_openBlock(), _createBlock(_component_tw_input, {\n key: 0,\n modelValue: field.value,\n \"onUpdate:modelValue\": ($event: any) => ((field.value) = $event),\n ref_for: true,\n ref: 'formData.personalInformation' + field.field,\n label: field.label,\n required: field.required,\n validation: field.validation,\n \"is-valid\": field.isValid,\n type: field.type,\n name: field.id,\n id: field.id\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"label\", \"required\", \"validation\", \"is-valid\", \"type\", \"name\", \"id\"]))\n : (field.fieldType === 'select')\n ? (_openBlock(), _createBlock(_component_tw_select, {\n key: 1,\n modelValue: field.value,\n \"onUpdate:modelValue\": ($event: any) => ((field.value) = $event),\n options: field.options,\n required: field.required,\n label: field.label,\n name: field.id,\n id: field.id,\n \"validation-error\": field.validation,\n valid: field.isValid,\n multiple: field.multiple\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"options\", \"required\", \"label\", \"name\", \"id\", \"validation-error\", \"valid\", \"multiple\"]))\n : _createCommentVNode(\"\", true),\n (field.id == 'household-income')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(HouseholdIncomeInfoChip)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128))\n ]),\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.phoneMobile.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formData.value.contactInformation.phoneMobile.value) = $event)),\n class: \"col-span-1\",\n label: \"Primary Phone\",\n type: \"tel\",\n name: \"primary-phone\",\n id: \"primary-phone\",\n validation: formData.value.contactInformation.phoneMobile.validation,\n \"is-valid\": formData.value.contactInformation.phoneMobile.isValid,\n required: \"\"\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"]),\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.phoneHome.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formData.value.contactInformation.phoneHome.value) = $event)),\n label: \"Secondary Phone\",\n class: \"col-span-1\",\n type: \"tel\",\n name: \"secondary-phone\",\n id: \"secondary-phone\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_12,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.addressLine1.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formData.value.contactInformation.addressLine1.value) = $event)),\n class: \"col-span-1\",\n label: \"Address Line 1\",\n type: \"text\",\n name: \"addressLine1\",\n id: \"addressLine1\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_13,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.addressLine2.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formData.value.contactInformation.addressLine2.value) = $event)),\n class: \"col-span-1\",\n label: \"Address Line 2\",\n type: \"text\",\n name: \"addressLine2\",\n id: \"addressLine2\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_14,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.addressCity.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formData.value.contactInformation.addressCity.value) = $event)),\n label: \"City\",\n type: \"text\",\n name: \"addressCity\",\n id: \"addressCity\",\n class: \"col-span-1\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_tw_input, {\n class: \"w-3/5\",\n modelValue: formData.value.contactInformation.addressState.value,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formData.value.contactInformation.addressState.value) = $event)),\n label: \"State / Province / Region\",\n type: \"text\",\n name: \"addressState\",\n id: \"addressState\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n class: \"w-2/5\",\n modelValue: formData.value.contactInformation.addressPostalCode.value,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formData.value.contactInformation.addressPostalCode.value) = $event)),\n label: \"Postal Code\",\n type: \"text\",\n name: \"addressState\",\n id: \"postal-code\",\n validation: formData.value.contactInformation.addressPostalCode.validation,\n \"is-valid\": formData.value.contactInformation.addressPostalCode.isValid,\n required: \"\"\n }, null, 8, [\"modelValue\", \"validation\", \"is-valid\"])\n ]),\n _createVNode(_component_tw_select, {\n modelValue: formData.value.contactInformation.addressCountry.value,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formData.value.contactInformation.addressCountry.value) = $event)),\n class: \"\",\n options: countryOptions.value,\n label: \"Country\",\n name: \"addressCountry\",\n id: \"addressCountry\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _hoisted_16,\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.emergencyContactFirstName.value,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((formData.value.contactInformation.emergencyContactFirstName.value) = $event)),\n class: \"col-span-1\",\n label: \"First Name\",\n type: \"text\",\n name: \"emergency-contact-first-name\",\n id: \"emergency-contact-first-name\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.emergencyContactLastName.value,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((formData.value.contactInformation.emergencyContactLastName.value) = $event)),\n label: \"Last Name\",\n class: \"col-span-1\",\n type: \"text\",\n name: \"emergency-contact-last-name\",\n id: \"emergency-contact-last-name\"\n }, null, 8, [\"modelValue\"]),\n _hoisted_18,\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.emergencyContactPhone.value,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((formData.value.contactInformation.emergencyContactPhone.value) = $event)),\n class: \"col-span-1\",\n label: \"Primary Phone\",\n type: \"text\",\n name: \"emergency-contact-phone\",\n id: \"emergency-contact-phone\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.emergencyContactEmail.value,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((formData.value.contactInformation.emergencyContactEmail.value) = $event)),\n class: \"col-span-1\",\n label: \"Email\",\n type: \"text\",\n name: \"emergency-contact-email\",\n id: \"emergency-contact-email\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n modelValue: formData.value.contactInformation.emergencyContactRelationship.value,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((formData.value.contactInformation.emergencyContactRelationship.value) = $event)),\n class: \"col-span-1\",\n label: \"Relationship To\",\n type: \"text\",\n name: \"emergency-contact-relationship\",\n id: \"emergency-contact-relationship\"\n }, null, 8, [\"modelValue\"])\n ]),\n _hoisted_19,\n _hoisted_20,\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_tw_input, {\n modelValue: formData.value.accountInformation.email.value,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((formData.value.accountInformation.email.value) = $event)),\n required: true,\n \"is-valid\": formData.value.accountInformation.email.isValid,\n validation: emailValidationMessage.value,\n label: \"Email\",\n type: \"text\",\n name: \"email\",\n id: \"email\"\n }, null, 8, [\"modelValue\", \"is-valid\", \"validation\"]),\n _createVNode(_component_tw_input, {\n modelValue: formData.value.accountInformation.emailConfirmation.value,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((formData.value.accountInformation.emailConfirmation.value) = $event)),\n \"is-valid\": formData.value.accountInformation.emailConfirmation.isValid,\n validation: confirmEmailValidationMessage.value,\n required: true,\n label: \"Confirm Email\",\n type: \"text\",\n name: \"confirm-email\",\n id: \"confirm-email\"\n }, null, 8, [\"modelValue\", \"is-valid\", \"validation\"])\n ]),\n _createVNode(_component_tw_checkbox, {\n id: \"opt-in-email\",\n class: \"py-6\",\n label: \"I agree to receive email communications from Hyde Park Art Center\",\n description: \"This includes updates for registered courses.\",\n required: \"\",\n modelValue: formData.value.accountInformation.optInEmails.value,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((formData.value.accountInformation.optInEmails.value) = $event)),\n \"is-valid\": formData.value.accountInformation.optInEmails.isValid\n }, null, 8, [\"modelValue\", \"is-valid\"]),\n _hoisted_22,\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_component_tw_input, {\n modelValue: formData.value.accountInformation.password.value,\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => ((formData.value.accountInformation.password.value) = $event)),\n \"is-valid\": formData.value.accountInformation.password.isValid,\n validation: passwordValidationMessage.value,\n required: true,\n label: \"Password\",\n type: \"password\",\n name: \"password\",\n id: \"password\"\n }, null, 8, [\"modelValue\", \"is-valid\", \"validation\"]),\n _createVNode(_component_tw_input, {\n modelValue: formData.value.accountInformation.passwordConfirmation.value,\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => ((formData.value.accountInformation.passwordConfirmation.value) = $event)),\n \"is-valid\": formData.value.accountInformation.passwordConfirmation.isValid,\n validation: confirmPasswordValidationMessage.value,\n required: true,\n label: \"Confirm Password\",\n type: \"password\",\n name: \"confirm-password\",\n id: \"confirm-password\"\n }, null, 8, [\"modelValue\", \"is-valid\", \"validation\"])\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_tw_button, {\n onClick: createAccount,\n loading: loading.value,\n disabled: loading.value,\n class: \"btn-base btn-brand w-full\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create Account \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ]),\n _withDirectives(_createElementVNode(\"div\", { class: \"text-red-600 w-full sm:w-120 justify-center text-sm h-16 items-end flex\" }, _toDisplayString(passwordError.value), 513), [\n [_vShow, hasError.value]\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./CreateAccount.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CreateAccount.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\nimport CreateAccount from './CreateAccount.vue'\nimport AuthLayout from '@/layouts/AuthLayout.vue'\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"CreateAccount\",\n\t\tpath: \"/create-account\",\n\t\tcomponent: CreateAccount,\n\t\tlayout: AuthLayout\n\t}\n}\n\nexport { config }","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n {\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tlayout: config.mainRoute.layout\n\t\t}\n }\n\t// other routes below\n];","import { API, graphqlOperation, Auth} from 'aws-amplify'\nimport { GRAPHQL_AUTH_MODE } from '@aws-amplify/api'\n\nexport default async function (operation: string, variables = {}) {\n\n\tlet user = null\n\tlet accessToken = null\n\t// check for logged in user\n\ttry{\n\t\tuser = await Auth.currentSession()\n\t\taccessToken = user.getAccessToken()\n\t}\n\tcatch(e) {\n\t\tconsole.log(e)\n\t}\n\n let result\n try {\n\t\t// run query or mutation\n\t\tif(user && accessToken) {\n\t\t\tresult = await API.graphql(graphqlOperation(operation, variables))\n\t\t}\n\t\telse {\n\t\t\tresult = await API.graphql({\n\t\t\t\tquery: operation,\n\t\t\t\tvariables: variables,\n\t\t\t\tauthMode: GRAPHQL_AUTH_MODE.AWS_IAM\n\t\t\t})\n\t\t}\n\t\t\n }\n catch(err){\n\t\tconsole.log(err)\n\t\t// if logged out, refresh token or log out\n\t\tresult = err\n\t\tthrow err\n }\n\n return result\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bg-brand2-500 w-full text-white text-center py-6 z-10 text-sm\" }\nconst _hoisted_2 = { class: \"font-regular\" }\n\nimport { \n\t\tcomputed\n\t} from 'vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'TwFooter' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\tconst copyright = computed(()=>{\n\t\tlet year = new Date().getFullYear()\n\t\tlet text = \"© \" + year + \" Hyde Park Art Center. All Rights Reserved.\"\n\t\treturn text\n\t})\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(copyright.value), 1)\n ]))\n}\n}\n\n})","import script from \"./TwFooter.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwFooter.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"page-title\",\n class: \"bg-blueGray-50 sticky top-16 z-10 shadow\"\n}, null, -1)\nconst _hoisted_2 = { class: \"flex bg-blueGray-100\" }\nconst _hoisted_3 = { class: \"flex flex-col w-0 flex-1\" }\nconst _hoisted_4 = { class: \"flex-1 relative focus:outline-none\" }\nconst _hoisted_5 = { class: \"py-6 min-h-screen\" }\nconst _hoisted_6 = { class: \"max-w-screen-2xl mx-auto px-4 sm:px-6 md:px-8 min-h-full\" }\nconst _hoisted_7 = { class: \"min-h-full\" }\n\nimport EventBus from '@/events'\n\timport { ref, onMounted, onBeforeUnmount } from 'vue'\n\n\t\n\n\t// name the component\n\tconst __default__ = { \n\t\tname: 'MainLayout'\n\t}\n\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\tconst scrollingDisabled = ref(false) \n\n\tasync function handleScroll(){\n\t\tconst scrollPosition = window.innerHeight + Math.ceil(window.scrollY);\n\t\tconst offsetHeight = document.documentElement.offsetHeight;\n\t\tif (scrollPosition >= offsetHeight) {\n\t\t\tscrollingDisabled.value = true\n\t\t\tEventBus.trigger('infinite-scroll', null)\n\t\t} \n\t}\n\n\tonMounted(() => {\n\t\tdocument.addEventListener('scroll', () => {\n\t\t\thandleScroll()\n\t\t}, {\n\t\t\tcapture: true,\n\t\t\tpassive: true\n\t\t})\n\n\t\tEventBus.on('infinite-scroll-end', () =>{\n\t\t\tscrollingDisabled.value = false\n\t\t})\n\t})\n\t\t\n\tonBeforeUnmount(() => {\n\t\tdocument.removeEventListener('scroll', handleScroll)\n\t\tEventBus.off('infinite-scroll-end', null)\n\t})\n\n\t\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_navbar = _resolveComponent(\"tw-navbar\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_tw_navbar, { id: \"page-heading\" }),\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"main\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ])\n ])\n ])\n ])\n ])\n ], 64))\n}\n}\n\n})","import script from \"./MainLayout.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MainLayout.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./MainLayout.vue?vue&type=style&index=0&id=5fe04862&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createCommentVNode as _createCommentVNode, createVNode as _createVNode, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { id: \"notification\" }, null, -1)\n\nimport { API } from 'aws-amplify'\n\timport api from '@/utilities/api'\n\timport { GRAPHQL_AUTH_MODE } from '@aws-amplify/api'\n\timport { \n\t\tlistSelectLists,\n\t\tlistSystems\n\t} from \"./queries\"\n\timport { \n\t\tSelectList as SelectListType,\n\t\tSystem as SystemType,\n\t} from \"@/API\"\n\n\t// amplify\n\timport { \n\t\tAuth\n\t} from 'aws-amplify'\n\n\timport { \n\t\tCognitoUserSession,\n\t\tCognitoAccessToken\n\t} from 'amazon-cognito-identity-js';\n\n\t// components\n\timport TwFooter from '@/components/Footer/TwFooter.vue'\n\timport MainLayout from './layouts/MainLayout.vue'\n\n\t// vue\n import {\n\t\tcomputed,\n\t\tonMounted,\n\t\tref\n\t} from 'vue';\n\n\t// router\n import {\n\t\tuseRoute\n\t} from 'vue-router'\n\n\t// Store\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\timport { \n\t\tsystemStore\n\t} from '@/store/systemStore'\n\timport { \n\t\tappliedFiltersStore\n\t} from '@/store/appliedFiltersStore'\n\t\n\n\tconst isLoaded = true\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\n\t// api\n\t// import queryAll from \"@/utilities/queryAll.js\"\n\tconst _valueListStore = valueListStore()\n\tconst _systemStore = systemStore()\n\n\tconst route = useRoute()\n\tconst layout = computed(() => {\n\t\treturn route.meta.layout || MainLayout\n\t})\n\n\n\tconst selectLists = ref([])\n\tconst system = ref({} as SystemType)\n\tconst user = ref(null)\n\tlet accessToken:CognitoAccessToken = {} as CognitoAccessToken\n\tlet res:any\n\n\tonMounted(async () => {\n\t\t// check for logged in user\n\t\ttry{\n\t\t\tuser.value = await Auth.currentSession()\n\t\t\taccessToken = user.value.getAccessToken()\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\n\t\t// load value lists\n\t\ttry {\n\t\t\tif(user.value && accessToken) {\n\t\t\t\tres = await api(listSelectLists)\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tres = await API.graphql({\n\t\t\t\t\tquery: listSelectLists,\n\t\t\t\t\tvariables: {},\n\t\t\t\t\tauthMode: GRAPHQL_AUTH_MODE.AWS_IAM\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tselectLists.value = res.data.listSelectLists.items\n\n\t\t\tselectLists.value.forEach((list) => {\n\t\t\t\tlet key = list.key\n\t\t\t\tlet sortedList = list?.options?.items?.sort((a, b) => {\n\t\t\t\t\treturn ( a?.sortIndex ?? 0 ) - ( b?.sortIndex ?? 0 )\n\t\t\t\t})\n\n\t\t\t\t_valueListStore.valueList[key] = sortedList?.map((option) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tvalue: option?.label,\n\t\t\t\t\t\tlabel: option?.label\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\t\n\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\n\t\t// load dynamic text\n\t\ttry {\n\t\t\tif(user.value && accessToken) {\n\t\t\t\tres = await api(listSystems)\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tres = await API.graphql({\n\t\t\t\t\tquery: listSystems,\n\t\t\t\t\tvariables: {},\n\t\t\t\t\tauthMode: GRAPHQL_AUTH_MODE.AWS_IAM\n\t\t\t\t})\n\t\t\t}\n\t\t\tsystem.value = res.data.listSystems.items[0]\n\t\t\tObject.assign(_systemStore.system, system.value)\n\n\t\t}\n\t\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\n\t})\n\n\tconst filterStore = appliedFiltersStore()\n\n\twindow.addEventListener('beforeunload', () => {\n\t\t// Clear filters in store\n\t\t// filterStore.$reset()\n\t\tfilterStore.appliedFilters.courseSearch[0] = ''\n\t\tfilterStore.appliedFilters.courseSearch[1] = []\n\t\tfilterStore.appliedFilters.courseSearch[2] = []\n\t\tfilterStore.appliedFilters.courseSearch[3] = []\n\t\tfilterStore.appliedFilters.courseSearch[4] = []\n\t})\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n isLoaded\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(layout.value), { key: 0 }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_component_router_view, {\n key: _ctx.$route.fullPath\n }))\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(TwFooter)\n ], 64))\n}\n}\n\n})","import script from \"./App.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createRouter, createWebHistory } from 'vue-router'\n// import { Route } from '@/types' // must be imported since file contains an export statement\nimport { Auth } from 'aws-amplify'\nimport * as VueRouter from 'vue-router'\n\n// Import all of the resource routes files\nfunction loadRoutes() {\n const context = require.context('@/modules', true, /routes.ts$/i)\n return context.keys()\n .map(context) // import module\n .map((m: any) => m.route) // get `default` export from each resolved module\n}\n\n// Define the routes\nconst routes: VueRouter.RouteRecordRaw[] = []\nconst resourceRoutes = loadRoutes();\n\nresourceRoutes.forEach((moduleRoutes) => {\n moduleRoutes.forEach((route: VueRouter.RouteRecordRaw) => {\n routes.push(route)\n })\n});\n\n// Create the router instance and pass the `routes` option\nexport const router = createRouter({\n history: createWebHistory(), // use history mode\n routes, // short for `routes: routes`,\n\tscrollBehavior() {\n\t\t// always scroll to top\n\t\treturn { top: 0 }\n\t},\n})\n\nrouter.beforeEach(async (to: any, from: any, next: any) => {\n const user = await authenticate()\n\n\t// check for player profile session\n\tconst groups = user?.signInUserSession?.accessToken?.payload[\"cognito:groups\"]\n\tconst isStudent = groups?.includes('student')\n\tconst isInstructor = groups?.includes('instructor')\n\tconst isAdmin = groups?.includes('admin')\n\n\t// prevent student and instructor sessions from accessing other routes\n\tif((isInstructor) && to.meta?.auth?.includes('admin') && !isAdmin) {\n\t\tnext({ name: 'InstructorCourses' })\n\t}\n\telse if((isStudent) && to.meta?.auth?.includes('admin') && !isAdmin) {\n\t\tnext({ name: 'CourseSearch' })\n\t}\n\n\t// prevent unathenticated users from accessing other routes besides login or signup\n else if (to.name !== 'Login' && \n\t\tto.name !== 'AdminLogin' && \n\t\tto.name !== 'CreateAccount' && \n\t\tto.name !== 'AccountConfirmation' && \n\t\tto.name !== 'ResetPassword' && \n\t\tto.name !== 'ResetPasswordRequested' && \n\t\tto.name !== 'CourseSearch' && \n\t\tto.name !== 'CourseRegistrationDetails' && \n\t\t!user) {\n\t\tnext({ name: 'Login', query: { redirect: to.fullPath } })\n\t}\n\t// let user through to requested route\n else {\n\t\tnext()\n\t}\n});\n\nasync function authenticate(){\n try {\n const user = await Auth.currentAuthenticatedUser()\n return user\n }\n catch(e) {\n return false\n }\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, vShow as _vShow, withDirectives as _withDirectives, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"text-sm font-bold text-gray-500 font-gotham uppercase\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"truncate w-full\"\n}\nconst _hoisted_3 = { key: 2 }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"h-4 rounded-full bg-gray-300 animate-pulse w-1/2\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 h-6 rounded-full bg-gray-300 animate-pulse w-full\" }, null, -1)\nconst _hoisted_6 = [\n _hoisted_4,\n _hoisted_5\n]\n\nimport {computed} from \"vue\"\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'DataDisplay',\n props: { \n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tloading: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tediting: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: '—'\n\t\t},\n\t\tvalue: {\n\t\t\ttype: [ String, Number ],\n\t\t\tdefault: null\n\t\t},\n\t\tvalueClass: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tbadge: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\tconst placeholderValue = computed(()=> {\n\t\tlet value: string|number = props.value ?? props.placeholder\n\t\tif( (!value && (!(value === 0))) || (String(value).includes(\"undefined\")) ){\n\t\t\treturn null\n\t\t}\n\t\telse{\n\t\t\treturn value\n\t\t}\n\t\t\n\t})\n\n\t\n\t\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _withDirectives(_createElementVNode(\"div\", null, [\n _createElementVNode(\"dt\", _hoisted_1, _toDisplayString(props.label), 1),\n (_ctx.$slots.custom)\n ? (_openBlock(), _createElementBlock(\"dd\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"custom\")\n ]))\n : (!__props.editing)\n ? (_openBlock(), _createElementBlock(\"dd\", {\n key: 1,\n class: _normalizeClass([[__props.valueClass, !props.value ? 'text-gray-300' : 'text-gray-900'], \"text-lg font-bold font-gotham truncate w-full\"])\n }, _toDisplayString(placeholderValue.value), 3))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n ], 512), [\n [_vShow, !__props.loading]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, _hoisted_6, 512), [\n [_vShow, __props.loading]\n ])\n ], 64))\n}\n}\n\n})","import script from \"./DataDisplay.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DataDisplay.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, createStaticVNode as _createStaticVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"grid grid-cols-12 gap-2\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"text-brand-500\",\n \"aria-hidden\": \"true\"\n}\nconst _hoisted_3 = { class: \"text-gray-600 text-sm\" }\nconst _hoisted_4 = {\n key: 1,\n class: \"animate-pulse grid grid-cols-2 gap-2\"\n}\nconst _hoisted_5 = /*#__PURE__*/_createStaticVNode(\"
\", 2)\nconst _hoisted_7 = [\n _hoisted_5\n]\n\nimport {\n\t\tcomputed\n\t} from 'vue'\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'DescriptionListItem',\n props: { \n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tloading: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tmaxLength: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: '—'\n\t\t},\n\t\tvalue: {\n\t\t\ttype: [ String, Number ],\n\t\t\tdefault: null\n\t\t},\n\t\tvalueClass: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\t\n\n\tconst labelColSpan = computed(() => {\n\t\treturn Math.floor(props.maxLength / 3) \n\t})\n\tconst valueColSpan = computed(() => {\n\t\treturn 12 - labelColSpan.value\n\t})\n\n\nreturn (_ctx: any,_cache: any) => {\n return (!__props.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"flex justify-start items-center gap-2\", ['col-span-' + labelColSpan.value, 'xl:col-span-' + Number(labelColSpan.value - 1)]])\n }, [\n (_ctx.$slots.icon && !__props.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"icon\")\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(__props.label), 1)\n ], 2),\n (_ctx.$slots.default)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([__props.valueClass, 'col-span-' + valueColSpan.value, 'xl:col-span-' + Number(valueColSpan.value + 1)])\n }, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 2))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _hoisted_7))\n}\n}\n\n})","import script from \"./DescriptionListItem.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DescriptionListItem.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"circle\", {\n cx: \"4\",\n cy: \"4\",\n r: \"3\"\n}, null, -1)\nconst _hoisted_2 = [\n _hoisted_1\n]\n\n\n\n\t//eslint-disable-next-line\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TwBadge',\n props: { \n\t\tcolor: {\n\t\t\ttype: String,\n\t\t\tdefault: 'brand'\n\t\t},\n\t\tdot: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tlarge: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\t\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass([\"inline-flex items-center justify-left rounded-full py-1.5 font-bold font-gotham\", [\n\t\t\t`bg-${__props.color}-500 text-white`, \n\t\t\t__props.large ? 'px-3 text-sm' : 'px-2.5 text-xs',\n\t\t]])\n }, [\n (__props.dot)\n ? (_openBlock(), _createElementBlock(\"svg\", {\n key: 0,\n class: _normalizeClass([\"-ml-0.5 mr-1.5 h-2 w-2\", `text-${__props.color}-400`]),\n fill: \"currentColor\",\n viewBox: \"0 0 8 8\"\n }, _hoisted_2, 2))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ], 2))\n}\n}\n\n})","import script from \"./TwBadge.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwBadge.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = [\"disabled\"]\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = { key: 2 }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"animate-spin -ml-1 mr-3 h-5 w-5 text-white\",\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\"\n}, [\n /*#__PURE__*/_createElementVNode(\"circle\", {\n class: \"opacity-25\",\n cx: \"12\",\n cy: \"12\",\n r: \"10\",\n stroke: \"currentColor\",\n \"stroke-width\": \"4\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n class: \"opacity-75\",\n fill: \"rgba(0, 174, 239)\",\n d: \"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n })\n], -1)\nconst _hoisted_5 = [\n _hoisted_4\n]\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TwButton',\n props: { \n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tloading: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\trounded: {\n type: Boolean,\n default: false\n }\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\t//eslint-disable-next-line\n \n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n type: \"button\",\n class: _normalizeClass([\"button\", { 'rounded-full': __props.rounded }]),\n disabled: __props.disabled\n }, [\n (_ctx.$slots.icon)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: _normalizeClass([\"btn-icon\", {'mx-0': !_ctx.$slots.default}]),\n \"aria-hidden\": \"true\"\n }, [\n _renderSlot(_ctx.$slots, \"icon\")\n ], 2))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.default && !__props.loading)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.default && __props.loading)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, _hoisted_5))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.icon_right)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 3,\n class: _normalizeClass([\"btn-icon btn-icon-right\", {'mx-0': !_ctx.$slots.default}]),\n \"aria-hidden\": \"true\"\n }, [\n _renderSlot(_ctx.$slots, \"icon_right\")\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 10, _hoisted_1))\n}\n}\n\n})","import script from \"./TwButton.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwButton.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3696efdb\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"relative flex items-start\" }\nconst _hoisted_2 = { class: \"flex h-5 items-center\" }\nconst _hoisted_3 = [\"value\", \"id\", \"disabled\", \"aria-describedby\", \"checked\", \"name\"]\nconst _hoisted_4 = { class: \"ml-3 text-sm\" }\nconst _hoisted_5 = [\"for\"]\nconst _hoisted_6 = {\n key: 0,\n class: \"text-sm text-red-500\"\n}\n\nimport { \n\t\tnextTick,\n\t\tonMounted,\n\t\twatch,\n\t\tref\n\t} from 'vue'\n\n\t\n //name the component\n const __default__ = {name: \"TwCheckBox\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: { \n\t\tmodelValue: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: null\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tdescription: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tid: {\n\t\t\ttype: String,\n\t\t\tdefault: 'Checkbox'\n\t\t},\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tisValid: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t}\n\t},\n emits: [\n\t\t'update:modelValue'\n\t],\n setup(__props, { expose: __expose, emit }) {\n\nconst props = __props;\n\n\n\t\n\n\tonMounted(() => {\n\t\t// check checkbox if initial value is true\n\t\tif(props.modelValue){\n\t\t\tconst checkbox = document.getElementById(\n\t\t\t\tprops.id,\n\t\t\t) as HTMLInputElement;\n\t\t\tcheckbox.checked = true;\n\t\t}\n\t})\n\n\t\n\n\tconst onInput = async() => {\n\t\tconst checkbox = document.getElementById(\n\t\t\tprops.id,\n\t\t) as HTMLInputElement;\n\n\t\temit('update:modelValue', checkbox?.checked);\n\t\tawait nextTick()\n\t\tvalidate()\n\t\treturn\n\t}\n\n\t// input validation\n const valid = ref(props.isValid)\n\twatch(props, () => {\n valid.value = props.isValid;\n })\n\tfunction validate(){\n if(props.required && !props.modelValue ){\n valid.value = false\n\t\t\treturn false\n }\n else if(props.required && props.modelValue){\n valid.value = true\n\t\t\treturn true\n }\n\t\treturn true\n }\n\t__expose({\n\t\tvalid,\n\t\tvalidate\n\t})\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"input\", {\n value: __props.modelValue,\n id: __props.id,\n disabled: __props.disabled,\n \"aria-describedby\": __props.description ? 'checkbox-description' : 'checkbox-label',\n checked: __props.modelValue,\n class: _normalizeClass([{\n\t\t\t\t\t'invalid': !valid.value,\n\t\t\t\t\t'opacity-50': __props.disabled\n\t\t\t\t}, \"h-6 w-6 border-gray-300 text-brand-500 focus:ring-brand-500\"]),\n onInput: onInput,\n name: __props.name,\n type: \"checkbox\"\n }, null, 42, _hoisted_3)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"label\", {\n for: __props.id,\n id: \"checkbox-label\",\n class: \"font-bold font-gotham text-gray-700\"\n }, [\n (__props.required)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, \"* \"))\n : _createCommentVNode(\"\", true),\n _createTextVNode(_toDisplayString(__props.label), 1)\n ], 8, _hoisted_5),\n (__props.description)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 0,\n id: \"checkbox-description\",\n class: _normalizeClass([{'pl-2.5': __props.required}, \"text-gray-600\"])\n }, _toDisplayString(__props.description), 3))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","import script from \"./TwCheckbox.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwCheckbox.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TwCheckbox.vue?vue&type=style&index=0&id=3696efdb&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3696efdb\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, vShow as _vShow, withModifiers as _withModifiers, withDirectives as _withDirectives, createBlock as _createBlock, renderList as _renderList, Fragment as _Fragment, Transition as _Transition, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9f0f2788\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"text-sm text-red-500\"\n}\nconst _hoisted_2 = { class: \"mt-1 relative\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"text-sm text-red-500\"\n}\nconst _hoisted_4 = { class: \"mt-1 relative\" }\nconst _hoisted_5 = { class: \"flex\" }\nconst _hoisted_6 = { class: \"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none\" }\nconst _hoisted_7 = [\"disabled\", \"onClick\"]\nconst _hoisted_8 = [\"id\"]\n\nimport {\n\t\tref,\n\t\tcomputed,\n\t\twatch,\n\t\tnextTick,\n\t\tPropType\n\t} from 'vue'\n\t\n\timport {\n\t\tCombobox,\n\t\tComboboxButton,\n\t\tComboboxInput,\n\t\tComboboxLabel,\n\t\tComboboxOption,\n\t\tComboboxOptions,\n\t\tListbox,\n\t\tListboxButton,\n\t\tListboxLabel,\n\t\tListboxOption,\n\t\tListboxOptions,\n\t\tTransitionRoot\n\t} from '@headlessui/vue'\n\n\timport {\n\t\tCheckIcon,\n\t\tChevronUpDownIcon\n\t} from '@heroicons/vue/24/solid'\nimport { XMarkIcon } from '@heroicons/vue/20/solid';\n\t// #endregion\n\n\n\t// #region setup\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TwSelect',\n props: {\n\t\tmodelValue: {\n\t\t\ttype: [String, Number, Array, Object],\n\t\t\tdefault: null\n\t\t},\n\t\tclearable: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tfilterable: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tfilterPlaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: \"Type to filter list...\"\n\t\t},\n\t\thelp: {\n type: String,\n default: ''\n },\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tmultiple: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tnoResultsPlaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: \"Nothing found.\"\n\t\t},\n\t\toptions: {\n\t\t\ttype: Array as PropType>,\n\t\t\tdefault: () => []\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: \"None selected\"\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\trequiredError: {\n\t\t\ttype: String,\n\t\t\tdefault: \"This field is required.\"\n\t\t},\n\t\tsearchable: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tsearchMethod: {\n\t\t\ttype: Function,\n\t\t\tdefault: () => {return}\n\t\t},\n\t\tsearchPlaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: \"Type to search...\"\n\t\t},\n\t\tvalid: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\tvalidationError: {\n\t\t\ttype: String,\n\t\t\tdefault: \"This field is not valid.\"\n\t\t}\n\t},\n emits: [\n\t\t'update:modelValue'\n\t],\n setup(__props, { expose: __expose, emit }) {\n\nconst props = __props;\n\n// #region imports\n\t\n\n\t\n\t// #endregion\n\n\n\t// #region editing model value\n\t/**\n\t * Text to display in the select box. Formats multiple selections as a comma separated string.\n\t * @yields {string}\n\t */\n\tconst modelLabel = computed(() =>{\n\t\tif(Array.isArray(props.modelValue)){\n\t\t\tlet selectedOptions: any = []\n\t\t\tprops.modelValue.forEach(value =>{\n\t\t\t\tconst selectedOption: any = props.options.find((option: any) => {\n\t\t\t\t\treturn option.value === value\n\t\t\t\t})\n\t\t\t\tselectedOptions.push(selectedOption?.label)\n\t\t\t})\n\t\t\treturn selectedOptions.join(', ')\n\t\t}\n\t\telse{\n\t\t\tconst selectedOption: any = props.options.find((option: any) => {\n\t\t\t\treturn option.value === props.modelValue\n\t\t\t})\n\t\t\treturn selectedOption?.label || null\n\t\t}\n\t})\n\n\t/**\n\t * Updates the bound value of the select menu\n\t * @function onSelect\n\t * @param {Object} option - the selected option of the select menu\n\t */\n\tasync function onSelect(value: any) {\n\t\temit('update:modelValue', value)\n\t\tawait nextTick()\n\t\tvalidate()\n\t\treturn\n\t}\n\n\t/**\n\t * Clears the selected value\n\t * @function clear\n\t */\n\tasync function clear() {\n\t\t// array\n\t\tif(Array.isArray(props.modelValue)) {\n\t\t\temit('update:modelValue', [])\n\t\t}\n\t\t// object\n\t\telse if(typeof props.modelValue === 'object' && props.modelValue !== null) {\n\t\t\temit('update:modelValue', {})\n\t\t}\n\t\t// else\n\t\telse {\n\t\t\temit('update:modelValue', '')\n\t\t}\n\t\tawait nextTick()\n\t\treturn\n\t}\n\t// #endregion\n\n\t// #region validation\n\tconst _valid = ref(props.valid)\n\twatch(props, () => {\n\t\t_valid.value = props.valid\n });\n\tfunction validate() {\n\t\tif((props.required && !props.modelValue)) {\n\t\t\t_valid.value = false\n\t\t}\n\t\telse if(props.required && props.modelValue) {\n\t\t\t_valid.value = true\n\t\t}\n\t}\n\t// #endregion\n\n\n\t// #region filtering\n\tconst query = ref('')\n\n\tfunction updateQuery(e) {\n\t\tquery.value = e.target.value\n\t\tif(props.searchable) {\n\t\t\tprops.searchMethod(query.value)\n\t\t}\n\t}\n\n\tconst _placeholder = ref(props.placeholder)\n\n\t/**\n * Updates the placeholder text when filtering or searching and the combobox is focused\n * @function setPlaceholder\n */\n\tfunction setPlaceholder() {\n\t\tif(props.filterable) _placeholder.value = props.filterPlaceholder\n\t\telse if(props.searchable) _placeholder.value = props.searchPlaceholder\n\t}\n\n\t/**\n * Clears the placeholder text when focus is lost on the combobox\n * @function setPlaceholder\n */\n\tfunction clearPlaceholder() {\n\t\t_placeholder.value = props.placeholder\n\t}\n\n\t/**\n\t * List of options filtered by filter text\n\t * @yields {array}\n\t */\n\tconst filteredOptions = computed(() => {\n\t\treturn query.value === '' ? props.options : props.options.filter((option: any) => {\n\t\t\treturn !props.filterable || !query.value || option.label.toLowerCase().replace(/\\s+/g, '').includes(query.value.toLowerCase().replace(/\\s+/g, '')) == true\n\t\t})\n\t})\n\n\t/**\n\t * If no options remain when filtered by filter text\n\t * @yields {boolean}\n\t */\n\tconst noFilteredOptions = computed(() => {\n\t\treturn filteredOptions.value.length === 0 && query.value !== ''\n\t})\n\t// #endregion\n\n\t__expose({\n\t\tvalidate\n\t})\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_XCircleIcon = _resolveComponent(\"XCircleIcon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (__props.searchable || __props.filterable)\n ? (_openBlock(), _createBlock(_unref(Combobox), {\n key: 0,\n as: \"div\",\n \"model-value\": __props.modelValue,\n multiple: __props.multiple,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = value => onSelect(value))\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(ComboboxLabel), { class: \"block text-sm font-bold font-gotham text-gray-700 uppercase\" }, {\n default: _withCtx(() => [\n (__props.required)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_1, \" * \"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(__props.label), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_unref(ComboboxInput), {\n id: \"comboBoxInput\",\n class: _normalizeClass([\"relative w-full border border-gray-300 py-2 pl-3 pr-10 text-left shadow-sm focus:border-brand-500 focus:outline-none focus:ring-1 focus:ring-brand-500 sm:text-sm\", {\n\t\t\t\t\t\t'bg-gray-200 cursor-not-allowed pointer-events-none': __props.disabled, \n\t\t\t\t\t\t'bg-white cursor-default': !__props.disabled,\n\t\t\t\t\t\t'border-0 pr-10 text-red-900 ring-1 ring-inset ring-red-300 placeholder:text-red-300 focus:ring-2 focus:ring-inset focus:ring-red-500': !_valid.value\n\t\t\t\t\t}]),\n onFocus: setPlaceholder,\n onBlur: clearPlaceholder,\n autocomplete: \"none\",\n onChange: _cache[0] || (_cache[0] = ($event: any) => (updateQuery($event))),\n \"display-value\": (v) => modelLabel.value,\n placeholder: _placeholder.value\n }, null, 8, [\"class\", \"display-value\", \"placeholder\"]),\n _createVNode(_unref(ComboboxButton), { class: \"absolute inset-y-0 right-0 flex items-center px-2 focus:outline-none\" }, {\n default: _withCtx(() => [\n (__props.clearable)\n ? _withDirectives((_openBlock(), _createBlock(_component_XCircleIcon, {\n key: 0,\n class: \"h-5 w-5 text-red-500 hover:text-red-700 pointer-events-auto\",\n \"aria-hidden\": \"true\",\n onClick: _withModifiers(clear, [\"stop\"])\n }, null, 8, [\"onClick\"])), [\n [_vShow, !__props.disabled && modelLabel.value]\n ])\n : _createCommentVNode(\"\", true),\n _withDirectives(_createVNode(_unref(ChevronUpDownIcon), {\n class: \"h-5 w-5 text-gray-400\",\n \"aria-hidden\": \"true\"\n }, null, 512), [\n [_vShow, !__props.disabled]\n ])\n ]),\n _: 1\n }),\n _createVNode(_unref(TransitionRoot), {\n leave: \"transition ease-in duration-100\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\",\n onAfterLeave: _cache[1] || (_cache[1] = ($event: any) => (query.value = ''))\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(ComboboxOptions), { class: \"absolute z-20 mt-1 w-full bg-white shadow-lg max-h-60 py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm\" }, {\n default: _withCtx(() => [\n _withDirectives(_createElementVNode(\"div\", {\n as: \"template\",\n class: \"relative cursor-default select-none py-2 px-4 text-gray-700\"\n }, _toDisplayString(__props.noResultsPlaceholder), 513), [\n [_vShow, noFilteredOptions.value]\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList((__props.filterable ? filteredOptions.value : __props.options), (option) => {\n return (_openBlock(), _createBlock(_unref(ComboboxOption), {\n as: \"template\",\n key: option.value,\n value: option.value\n }, {\n default: _withCtx(({ active, selected }) => [\n _createElementVNode(\"li\", {\n class: _normalizeClass([active ? 'text-white bg-brand-500' : 'text-gray-900', 'cursor-default select-none relative py-2 pl-3 pr-9'])\n }, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([selected ? 'font-semibold' : 'font-normal', 'block truncate'])\n }, _toDisplayString(option.label), 3),\n selected\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: _normalizeClass([active ? 'text-white' : 'text-brand-500', 'absolute inset-y-0 right-0 flex items-center pr-4'])\n }, [\n _createVNode(_unref(CheckIcon), {\n class: \"h-5 w-5\",\n \"aria-hidden\": \"true\"\n })\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"model-value\", \"multiple\"]))\n : (_openBlock(), _createBlock(_unref(Listbox), {\n key: 1,\n as: \"div\",\n \"model-value\": __props.modelValue,\n multiple: __props.multiple,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = value => onSelect(value))\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(ListboxLabel), { class: \"block text-sm font-bold font-gotham text-gray-700 uppercase\" }, {\n default: _withCtx(() => [\n (__props.required)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \" * \"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(__props.label), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_unref(ListboxButton), {\n id: \"listBoxButton\",\n class: _normalizeClass([\"min-w-0 relative w-full border border-gray-300 py-2 pl-3 pr-10 text-left shadow-sm focus:border-brand-500 focus:outline-none focus:ring-1 focus:ring-brand-500 sm:text-sm\", {\n\t\t\t\t\t\t\t'bg-gray-200 cursor-not-allowed pointer-events-none': __props.disabled, \n\t\t\t\t\t\t\t'bg-white cursor-default': !__props.disabled,\n\t\t\t\t\t\t\t'invalid': !_valid.value\n\t\t\t\t\t\t}])\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"block truncate\", {'text-gray-600': !modelLabel.value}])\n }, _toDisplayString(modelLabel.value || _placeholder.value), 3),\n _createElementVNode(\"span\", _hoisted_6, [\n _withDirectives(_createVNode(_unref(ChevronUpDownIcon), {\n class: \"h-5 w-5 text-gray-400\",\n \"aria-hidden\": \"true\"\n }, null, 512), [\n [_vShow, !__props.disabled]\n ])\n ])\n ]),\n _: 1\n }, 8, [\"class\"]),\n (__props.clearable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n disabled: __props.disabled || !modelLabel.value,\n type: \"button\",\n onClick: _withModifiers(clear, [\"stop\"]),\n class: \"relative -ml-px inline-flex items-center gap-x-1.5 px-2 py-2 text-sm font-semibold ring-1 ring-inset ring-gray-300 hover:bg-gray-50 text-gray-400 hover:text-red-500\"\n }, [\n _createVNode(_unref(XMarkIcon), {\n class: \"-ml-0.5 h-5 w-5\",\n \"aria-hidden\": \"true\"\n })\n ], 8, _hoisted_7))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(_Transition, {\n \"leave-active-class\": \"transition ease-in duration-100\",\n \"leave-from-class\": \"opacity-100\",\n \"leave-to-class\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(ListboxOptions), { class: \"absolute z-30 mt-1 w-full bg-white shadow-lg max-h-60 py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.options, (option) => {\n return (_openBlock(), _createBlock(_unref(ListboxOption), {\n as: \"template\",\n key: option.value,\n value: option.value\n }, {\n default: _withCtx(({ active, selected }) => [\n _createElementVNode(\"li\", {\n class: _normalizeClass([active ? 'text-white bg-brand-500' : 'text-gray-900', 'cursor-default select-none relative py-2 pl-3 pr-9'])\n }, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([selected ? 'font-semibold' : 'font-normal', 'block truncate text-xs md:text-sm'])\n }, _toDisplayString(option.label), 3),\n selected\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: _normalizeClass([active ? 'text-white' : 'text-brand-500', 'absolute inset-y-0 right-0 flex items-center pr-4'])\n }, [\n _createVNode(_unref(CheckIcon), {\n class: \"h-5 w-5\",\n \"aria-hidden\": \"true\"\n })\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]),\n _: 2\n }, 1032, [\"value\"]))\n }), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"model-value\", \"multiple\"])),\n _withDirectives(_createElementVNode(\"p\", {\n class: \"mt-2 text-sm text-gray-500\",\n id: `help-${__props.label}`\n }, _toDisplayString(__props.help), 9, _hoisted_8), [\n [_vShow, _valid.value && __props.help || !_valid.value && !__props.validationError]\n ]),\n _withDirectives(_createElementVNode(\"p\", { class: \"mt-2 text-sm text-red-600\" }, _toDisplayString(props.required && !props.modelValue ? __props.requiredError : __props.validationError), 513), [\n [_vShow, !_valid.value]\n ])\n ]))\n}\n}\n\n})","import script from \"./TwSelect.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwSelect.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TwSelect.vue?vue&type=style&index=0&id=9f0f2788&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-9f0f2788\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderSlot as _renderSlot, vShow as _vShow, withDirectives as _withDirectives, unref as _unref, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1d87b4a1\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex justify-between\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"text-sm text-red-500\"\n}\nconst _hoisted_4 = [\"id\"]\nconst _hoisted_5 = { class: \"mt-1 flex relative shadow-sm\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"inline-flex items-center px-3 rounded-l-md border border-r-0 border-gray-300 bg-gray-50 text-gray-500 sm:text-sm\"\n}\nconst _hoisted_7 = { class: \"flex relative w-full\" }\nconst _hoisted_8 = { class: \"flex absolute inset-y-0 left-0\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"pl-3 flex items-center pointer-events-none\"\n}\nconst _hoisted_10 = {\n class: \"h-5 w-5 text-gray-400\",\n \"aria-hidden\": \"true\"\n}\nconst _hoisted_11 = [\"id\"]\nconst _hoisted_12 = { class: \"text-gray-500 sm:text-sm\" }\nconst _hoisted_13 = [\"aria-required\", \"autocapitalize\", \"autocomplete\", \"autocompletetype\", \"x-autocompletetype\", \"type\", \"maxlength\", \"name\", \"min\", \"id\", \"placeholder\", \"value\", \"disabled\"]\nconst _hoisted_14 = { class: \"flex absolute inset-y-0 right-0\" }\nconst _hoisted_15 = [\"id\"]\nconst _hoisted_16 = { class: \"text-gray-500 sm:text-sm\" }\nconst _hoisted_17 = { class: \"pr-3 flex items-center pointer-events-none\" }\nconst _hoisted_18 = {\n key: 1,\n class: \"inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 text-gray-500 sm:text-sm\"\n}\nconst _hoisted_19 = [\"id\"]\n\nimport { \n\t\tExclamationCircleIcon\n\t} from '@heroicons/vue/20/solid'\n\n import {\n\t\tref,\n\t\tnextTick,\n\t\tonMounted,\n\t\tuseSlots,\n\t\twatch\n\t} from \"vue\";\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TwInput',\n props: {\n\t\tmodelValue: {\n\t\t\ttype: [String, Number],\n\t\t\tdefault: null\n\t\t},\n\t\tautocomplete: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tautocapitalize: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tautocompletetype: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\txAutocompletetype: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\thelp: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\thint: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tid: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tmaxlength: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'text'\n\t\t},\n\t\tvalidation: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tisValid: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tmin: {\n\t\t\ttype: String,\n\t\t\tdefault: null\n\t\t}\n\n\t},\n emits: [\n 'update:modelValue'\n ],\n setup(__props, { expose: __expose, emit }) {\n\nconst props = __props;\n\n\t\n\n \n\n const slots = useSlots()\n\n // padding for inline input elements\n const leadingInlinePadding = ref('none')\n const trailingInlinePadding = ref('none')\n let leadingInlineWidth = 0\n let trailingInlineWidth = 0\n onMounted(() => {\n const leadingEl = document.getElementById(`leading-inline-${props.label}`)\n if(leadingEl) {\n\t\t\tleadingInlineWidth = leadingEl?.offsetWidth || 24\n leadingInlinePadding.value = String(Math.ceil(leadingInlineWidth / 4) + 1 + ( slots.icon ? 8 : 0 ) )\n }\n\n const trailingEl = document.getElementById(`trailing-inline-${props.label}`)\n if(trailingEl) {\n trailingInlineWidth = trailingEl.offsetWidth || 24\n trailingInlinePadding.value = String(Math.ceil(trailingInlineWidth / 4) + 1 + ( !valid.value ? 8 : 0 ) )\n }\n })\n\n // update modeled value\n const onInput = async ({ target }: any) => {\n emit('update:modelValue', target.value);\n await nextTick()\n validate()\n return\n };\n\n // input validation\n const valid = ref(props.isValid)\n\twatch(props, () => {\n valid.value = props.isValid;\n });\n function validate(){\n if(props.required && !props.modelValue ){\n valid.value = false\n\t\t\treturn false\n }\n else if(props.required && props.modelValue){\n valid.value = true\n\t\t\treturn true\n }\n\t\treturn true\n }\n\t__expose({\n\t\tvalid,\n\t\tvalidate\n\t})\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n for: __props.id,\n class: _normalizeClass([{'opacity-50 cursor-not-allowed': __props.disabled}, \"block text-sm font-bold font-gotham text-gray-700 uppercase\"])\n }, [\n (__props.required)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, \"* \"))\n : _createCommentVNode(\"\", true),\n _createTextVNode(_toDisplayString(__props.label), 1)\n ], 10, _hoisted_2),\n (__props.hint)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n class: \"text-sm text-gray-500\",\n id: `hint-${__props.label}`\n }, _toDisplayString(__props.hint), 9, _hoisted_4))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_ctx.$slots.leading_addon)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n _createElementVNode(\"span\", null, [\n _renderSlot(_ctx.$slots, \"leading_addon\")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.$slots.icon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"span\", _hoisted_10, [\n _renderSlot(_ctx.$slots, \"icon\")\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.leading_inline)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n id: `leading-inline-${__props.label}`,\n class: \"pl-3 flex items-center pointer-events-none\"\n }, [\n _createElementVNode(\"span\", _hoisted_12, [\n _renderSlot(_ctx.$slots, \"leading_inline\")\n ])\n ], 8, _hoisted_11))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"input\", {\n \"aria-required\": __props.required,\n autocapitalize: __props.autocapitalize,\n autocomplete: __props.autocomplete,\n autocompletetype: __props.autocompletetype,\n \"x-autocompletetype\": __props.xAutocompletetype,\n type: __props.type ?? 'text',\n maxlength: __props.maxlength,\n name: __props.label,\n min: __props.min ?? '',\n id: __props.id,\n class: _normalizeClass([\"flex-1 min-w-0 block focus:ring-brand-500 focus:border-brand-500 w-full sm:text-sm border-gray-300\", [{\n\t\t\t\t\t\t\t'invalid ': !valid.value,\n\t\t\t\t\t\t\t'opacity-50 cursor-not-allowed': __props.disabled\n\t\t\t\t\t\t},\n\t\t\t\t\t\t_ctx.$slots.leading_inline ? `pl-${leadingInlinePadding.value}` : '',\n\t\t\t\t\t\t_ctx.$slots.trailing_inline ? `pr-${trailingInlinePadding.value}` : '',\n\t\t\t\t\t]]),\n placeholder: __props.placeholder,\n onInput: onInput,\n value: __props.modelValue,\n disabled: __props.disabled\n }, null, 42, _hoisted_13),\n _createElementVNode(\"div\", _hoisted_14, [\n _withDirectives(_createElementVNode(\"div\", {\n id: `trailing-inline-${__props.label}`,\n class: \"pr-3 flex items-center pointer-events-none\"\n }, [\n _createElementVNode(\"span\", _hoisted_16, [\n _renderSlot(_ctx.$slots, \"trailing_inline\")\n ])\n ], 8, _hoisted_15), [\n [_vShow, _ctx.$slots.trailing_inline && valid.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_unref(ExclamationCircleIcon), {\n class: \"h-5 w-5 text-red-500\",\n \"aria-hidden\": \"true\"\n })\n ], 512), [\n [_vShow, !valid.value]\n ])\n ])\n ]),\n (_ctx.$slots.trailing_addon)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, [\n _createElementVNode(\"span\", null, [\n _renderSlot(_ctx.$slots, \"trailing_addon\")\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _withDirectives(_createElementVNode(\"p\", {\n class: \"mt-2 text-sm text-gray-500\",\n id: `help-${__props.label}`\n }, _toDisplayString(__props.help), 9, _hoisted_19), [\n [_vShow, (valid.value && __props.help) || (__props.help && !valid.value && !__props.validation)]\n ]),\n _withDirectives(_createElementVNode(\"p\", { class: \"mt-1 text-sm text-red-600 -mb-6\" }, _toDisplayString(__props.validation), 513), [\n [_vShow, !valid.value && __props.validation]\n ])\n ]))\n}\n}\n\n})","import script from \"./TwInput.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwInput.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TwInput.vue?vue&type=style&index=0&id=1d87b4a1&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1d87b4a1\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, withKeys as _withKeys, vModelText as _vModelText, withDirectives as _withDirectives, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex justify-center\" }\nconst _hoisted_2 = { class: \"flex justifiy-between gap-2\" }\nconst _hoisted_3 = [\"onPaste\", \"onKeyup\", \"onUpdate:modelValue\"]\n\nimport {\n\t\tref,\n\t\tnextTick\n\t} from \"vue\";\n\n\t//eslint-disable-next-line\n\t\n\t// name the component\n\tconst __default__ = { name: 'TwConfirmationCode' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tmodelValue: {\n type: String,\n default: null\n }\n\t},\n emits: [\n 'update:modelValue'\n ],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\t\n\n\t\n\n\tconst code = ref([null,null,null,null,null,null]);\n\n\tfunction handleLeft(e: any) {\n\t\tconst previousInput = e.target.previousElementSibling\n\t\tif (!previousInput) return\n\t\tpreviousInput.focus()\n\t\treturn\n\t}\n\n\tfunction handleRight(e: any) {\n\t\tconst nextInput = e.target.nextElementSibling\n\t\tif (!nextInput) return\n\t\tnextInput.focus()\n\t\treturn\n\t}\n\n\tasync function handleBackspace(e: any,i: number) {\n\t\tif(i === 0) return\n\t\tconst input = e.target\n\t\tconst sibling = input.previousElementSibling\n\t\t\n\t\tif (input.value) {\n\t\t\tinput.value = ''\n\t\t\tcode.value[i] = null\n\t\t}\n\t\tif(sibling.value) {\n\t\t\tsibling.focus()\n\t\t\tsibling.value = ''\n\t\t\tcode.value[i-1] = null\n\t\t}\n\t\temit('update:modelValue', code.value.join(''));\n await nextTick()\n\n\t\treturn\n\t}\n\n\tasync function handlePaste(e: any,i: number) {\n\t\tif(i > 0) return\n\t\te.preventDefault()\n\t\tconst paste = e.clipboardData.getData('text')\n\t\tfor(let i = 0; i < code.value.length ; i++) {\n\t\t\tcode.value[i] = paste.charAt(i) || ''\n\t\t}\n\n\t\temit('update:modelValue', code.value.join(''));\n await nextTick()\n\t}\n\n\t// update modeled value\n\tconst onInput = async ({ target }: any) => {\n emit('update:modelValue', code.value.join(''));\n await nextTick()\n\n\t\tconst input = target\n\t\tconst nextInput = input?.nextElementSibling\n\t\tif (nextInput && input.value) {\n\t\t\tnextInput.focus()\n\t\t\tif (nextInput.value) {\n\t\t\t\tnextInput.select()\n\t\t\t}\n\t\t}\n\n return\n }\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(code.value, (item, index) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: index,\n type: \"tel\",\n maxlength: \"1\",\n pattern: \"[0-9]\",\n onInput: onInput,\n onPaste: (e) => {handlePaste(e, index)},\n onKeyup: [\n _withKeys((e) => {handleBackspace(e, index)}, [\"backspace\"]),\n _cache[0] || (_cache[0] = _withKeys((e) => {handleLeft(e)}, [\"left\"])),\n _cache[1] || (_cache[1] = _withKeys((e) => {handleRight(e)}, [\"right\"]))\n ],\n \"onUpdate:modelValue\": ($event: any) => ((code.value[index]) = $event),\n class: \"focus:ring-brand-500 focus:border-brand-500 border-gray-300 flex-none w-13 h-13 text-center text-xl min-w-0\"\n }, null, 40, _hoisted_3)), [\n [_vModelText, code.value[index]]\n ])\n }), 128))\n ])\n ]))\n}\n}\n\n})","import script from \"./TwConfirmationCode.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwConfirmationCode.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, resolveComponent as _resolveComponent, renderList as _renderList, Fragment as _Fragment, vShow as _vShow, withDirectives as _withDirectives, vModelCheckbox as _vModelCheckbox, createBlock as _createBlock, createTextVNode as _createTextVNode, Transition as _Transition, vModelText as _vModelText, renderSlot as _renderSlot } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-center justify-between\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"mt-2 text-sm text-gray-700\"\n}\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"fixed inset-0 bg-black bg-opacity-25\" }, null, -1)\nconst _hoisted_4 = { class: \"fixed inset-0 z-40 flex\" }\nconst _hoisted_5 = { class: \"flex items-center justify-between px-4\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-lg font-medium text-gray-900\" }, \" Filters \", -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Close menu\", -1)\nconst _hoisted_8 = { class: \"mt-4\" }\nconst _hoisted_9 = { class: \"-mx-2 -my-3 flow-root\" }\nconst _hoisted_10 = { class: \"font-medium text-gray-900\" }\nconst _hoisted_11 = { class: \"ml-6 flex items-center\" }\nconst _hoisted_12 = { class: \"mt-4\" }\nconst _hoisted_13 = [\"id\", \"checked\", \"indeterminate\", \"onChange\"]\nconst _hoisted_14 = [\"for\"]\nconst _hoisted_15 = { class: \"space-y-6 pt-4\" }\nconst _hoisted_16 = [\"id\", \"name\", \"value\", \"onUpdate:modelValue\"]\nconst _hoisted_17 = [\"for\"]\nconst _hoisted_18 = {\n key: 1,\n \"aria-labelledby\": \"filter-heading\"\n}\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"h2\", {\n id: \"filter-heading\",\n class: \"sr-only\"\n}, \" Filters \", -1)\nconst _hoisted_20 = { class: \"flex items-center justify-between\" }\nconst _hoisted_21 = { class: \"flext items-center justify-center text-sm font-medium text-gray-700\" }\nconst _hoisted_22 = { class: \"space-y-2 divide-y divide-gray-200\" }\nconst _hoisted_23 = { class: \"px-3 w-40\" }\nconst _hoisted_24 = [\"id\", \"checked\", \"indeterminate\", \"onChange\"]\nconst _hoisted_25 = [\"for\"]\nconst _hoisted_26 = { class: \"space-y-2 pt-3 px-3\" }\nconst _hoisted_27 = [\"id\", \"name\", \"value\", \"onUpdate:modelValue\"]\nconst _hoisted_28 = [\"for\"]\nconst _hoisted_29 = {\n key: 0,\n class: \"w-full\"\n}\nconst _hoisted_30 = { class: \"relative mt-6 flex items-center\" }\nconst _hoisted_31 = { class: \"absolute items-center left-0 pl-1.5\" }\nconst _hoisted_32 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"search-text\",\n class: \"sr-only\"\n}, \" Search \", -1)\nconst _hoisted_33 = [\"placeholder\"]\nconst _hoisted_34 = { class: \"mt-4 flex flex-col\" }\nconst _hoisted_35 = { class: \"-my-2 -mx-4 sm:-mx-6 lg:-mx-8\" }\nconst _hoisted_36 = { class: \"inline-block w-full py-2 align-middle md:px-6 lg:px-8\" }\nconst _hoisted_37 = { class: \"overflow-x-scroll shadow ring-1 ring-gray-200\" }\nconst _hoisted_38 = [\"id\"]\nconst _hoisted_39 = { class: \"w-full divide-y divide-gray-200 table-fixed\" }\nconst _hoisted_40 = { class: \"bg-gray-50 font-gotham\" }\nconst _hoisted_41 = {\n key: 0,\n scope: \"col\",\n class: \"items-center w-16 sticky z-0 left-0 bg-gray-50\"\n}\nconst _hoisted_42 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"absolute inset-y-0 right-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_43 = [\"checked\", \"indeterminate\"]\nconst _hoisted_44 = {\n key: 0,\n class: \"divide-y divide-gray-200 bg-white\"\n}\nconst _hoisted_45 = {\n key: 0,\n class: \"items-center w-16 sticky z-0 left-0 bg-white\"\n}\nconst _hoisted_46 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"absolute inset-y-0 right-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_47 = {\n key: 0,\n class: \"absolute inset-y-0 left-0 w-0.5 bg-brand-500\"\n}\nconst _hoisted_48 = [\"value\"]\nconst _hoisted_49 = {\n class: \"text-center w-full p-4\",\n colspan: \"100%\"\n}\nconst _hoisted_50 = {\n key: 1,\n class: \"divide-y divide-gray-200 bg-white\"\n}\nconst _hoisted_51 = {\n colspan: \"100%\",\n class: \"text-center whitespace-nowrap px-3 py-4 text-sm text-gray-500\"\n}\nconst _hoisted_52 = {\n class: \"text-center w-full p-4\",\n colspan: \"100%\"\n}\n\nimport {\n\t\tref,\n\t\tcomputed\n\t} from 'vue'\n\t\n\timport {\n\t\tDialog,\n\t\tDialogPanel,\n\t\tDisclosure,\n\t\tDisclosureButton,\n\t\tDisclosurePanel,\n\t\tPopover,\n\t\tPopoverButton,\n\t\tPopoverGroup,\n\t\tPopoverPanel,\n\t\tTransitionChild,\n\t\tTransitionRoot\n\t} from '@headlessui/vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'TwTable' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tdata: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => {return []}\n\t\t},\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t},\n\t\ttitleClass:{\n\t\t\ttype: String, \n\t\t\tdefault: \"\"\n\t\t},\t\n\t\tdescription: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t},\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: \"No Data\"\n\t\t},\n\t\tloading: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tcheckable: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\trowActions: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => {return []}\n\t\t},\n\t\tmultiRowActions: {\n\t\t\ttype: Array, \n\t\t\tdefault: () => {return []}\n\t\t},\n\t\tsearchable:{\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tsearchFunction:{\n\t\t\ttype: Function,\n\t\t\tdefault: () => {return}\n\t\t},\n\t\tsearchPlaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: \"Search...\"\n\t\t},\n\t\tsearchValue: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tfilterable:{\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tfilterFunction:{\n\t\t\ttype: Function,\n\t\t\tdefault: () => {return}\n\t\t},\n\t\tfilters:{\n\t\t\ttype: Array[{label: String, options: Array[{value: String, label: String, selected: Boolean}]}],\n\t\t\tdefault: () => {return []}\n\t\t},\n\t\tdefaultSort: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {return {prop: null, order: 'ASC'}}\n\t\t},\n\t\ttableIndex: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0\n\t\t}\n\t},\n setup(__props, { expose: __expose }) {\n\nconst props = __props;\n\n\t\n\n\t\n\tconst selectedRows = ref([])\n\tconst indeterminate = computed(()=> selectedRows.value.length > 0 && selectedRows.value.length < props.data.length)\n\tconst searchInput = ref(props.searchValue)\n\n\n\t// #region filters\n\tconst filterOpen = ref(true)\n\n\t/**\n\t * The value of options selected for each filter\n\t * @yields {array}\n\t */\n\tconst filterOptionsSelected = ref(props.filters.map((filter) => {return filter.value ?? []}))\n\n\t/**\n\t * The number of options selected for each filter\n\t * @yields {array}\n\t */\n\tconst numFilterOptionsSelected = computed(() => {\n\t\treturn filterOptionsSelected.value.map((options:[]) => {\n\t\t\treturn options.length\n\t\t})\n\t})\n\n\t/**\n\t * If the selected options for each filter is mixed checked/unchecked\n\t * @yields {array}\n\t */\n\tconst filtersIndeterminate = computed(() => {\n\t\treturn filterOptionsSelected.value.map((options:[], i:number) => {\n\t\t\treturn options.length > 0 && options.length < props.filters[i].options.length\n\t\t})\n\t})\n\n\t/**\n\t * Generates text to indicate how many filters are applied\n\t * @yields {String}\n\t */\n\tconst filtersApplied = computed(() => {\n\t\tlet numFiltersApplied = filterOptionsSelected.value.filter((options:[]) => {\n\t\t\treturn options?.length > 0\n\t\t}).length\n\n\t\treturn `${numFiltersApplied || 'No'} Filter${numFiltersApplied !== 1 ? 's' : ''} Applied`\n\t})\n\n\t/**\n\t * Runs filter function specified in the fitlers prop after selecting/deselecting all\n\t * @function selectAll\n\t * @param {Object} event - The event being fired\n\t * @param {Number} filterIndex - The index of the filter being selected\n\t */\n\tfunction selectAll(event:any, filterIndex:number) {\n\t\tfilterOptionsSelected.value[filterIndex] = event.target.checked ? props.filters[filterIndex].options.map((o:{value:string,label:string}) => o.value) : []\n\t\tdoFiltering()\n\t}\n\n\t/**\n\t * Runs filter function specified in the fitlers prop. Function parameter in parent component is a 2d array of selected options\n\t * @function doFiltering\n\t */\n\tfunction doFiltering() {\n\t\tprops.filterFunction(filterOptionsSelected.value)\n\t}\n\t// #endregion\n\n\t__expose({\n\t\tfilterOptionsSelected\n\t})\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_XMarkIcon = _resolveComponent(\"XMarkIcon\")!\n const _component_ChevronDownIconMini = _resolveComponent(\"ChevronDownIconMini\")!\n const _component_FunnelIconMini = _resolveComponent(\"FunnelIconMini\")!\n const _component_MagnifyingGlassIcon = _resolveComponent(\"MagnifyingGlassIcon\")!\n const _component_tw_table_dropdown = _resolveComponent(\"tw-table-dropdown\")!\n const _component_tw_table_header = _resolveComponent(\"tw-table-header\")!\n const _component_tw_table_row = _resolveComponent(\"tw-table-row\")!\n const _component_tw_loading = _resolveComponent(\"tw-loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h1\", {\n class: _normalizeClass(__props.titleClass || 'title')\n }, _toDisplayString(__props.title), 3),\n (__props.description)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_2, _toDisplayString(__props.description), 1))\n : _createCommentVNode(\"\", true)\n ]),\n (__props.filterable)\n ? (_openBlock(), _createBlock(_unref(TransitionRoot), {\n key: 0,\n as: \"template\",\n show: filterOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"relative z-40 sm:hidden\",\n onClose: _cache[2] || (_cache[2] = ($event: any) => (filterOpen.value = false))\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"transition-opacity ease-linear duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"transition-opacity ease-linear duration-300\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"transition ease-in-out duration-300 transform\",\n \"enter-from\": \"translate-x-full\",\n \"enter-to\": \"translate-x-0\",\n leave: \"transition ease-in-out duration-300 transform\",\n \"leave-from\": \"translate-x-0\",\n \"leave-to\": \"translate-x-full\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogPanel), { class: \"relative ml-auto flex h-full w-full max-w-xs flex-col overflow-y-auto bg-white py-4 pb-6 shadow-xl\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"-mr-2 flex h-10 w-10 items-center justify-center bg-white p-2 text-gray-400 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-brand-500\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (filterOpen.value = false))\n }, [\n _hoisted_7,\n _createVNode(_component_XMarkIcon, {\n class: \"h-6 w-6\",\n \"aria-hidden\": \"true\"\n })\n ])\n ]),\n _createElementVNode(\"form\", _hoisted_8, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.filters, (filter, filterIndex) => {\n return (_openBlock(), _createBlock(_unref(Disclosure), {\n as: \"div\",\n key: filter.label,\n class: \"border-t border-gray-200 px-4 py-6\"\n }, {\n default: _withCtx(({ filterOpen }) => [\n _createElementVNode(\"h3\", _hoisted_9, [\n _createVNode(_unref(DisclosureButton), { class: \"flex w-full items-center justify-between bg-white px-2 py-3 text-sm text-gray-400\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(filter.label), 1),\n _withDirectives(_createElementVNode(\"span\", { class: \"ml-1.5 bg-brand-500 py-0.5 px-1.5 text-xs font-semibold tabular-nums text-white\" }, _toDisplayString(numFilterOptionsSelected.value[filterIndex]), 513), [\n [_vShow, numFilterOptionsSelected.value[filterIndex] > 0]\n ])\n ]),\n _createElementVNode(\"span\", _hoisted_11, [\n _createVNode(_component_ChevronDownIconMini, {\n class: _normalizeClass([filterOpen ? '-rotate-180' : 'rotate-0', 'h-5 w-5 transform']),\n \"aria-hidden\": \"true\"\n }, null, 8, [\"class\"])\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _createVNode(_unref(DisclosurePanel), { class: \"space-y-2 divide-y divide-gray-200\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"input\", {\n id: `filter-all-mobile-${filter.label}`,\n type: \"checkbox\",\n checked: filtersIndeterminate.value[filterIndex] || filterOptionsSelected.value[filterIndex].length === filter.options.length,\n indeterminate: filtersIndeterminate.value[filterIndex],\n onChange: (e) => selectAll(e, filterIndex),\n class: \"h-4 w-4 border-gray-300 text-brand-500 focus:ring-brand-500\"\n }, null, 40, _hoisted_13),\n _createElementVNode(\"label\", {\n for: `filter-all-mobile-${filter.label}`,\n class: \"ml-3 whitespace-nowrap pr-6 text-sm font-medium text-gray-900\"\n }, \" Select All \", 8, _hoisted_14)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(filter.options, (option, optionIdx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: option.value + '-mobile',\n class: \"flex items-center\"\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n id: `filter-mobile-${filter.label}-${optionIdx}`,\n name: `${filter.label}`,\n value: option.value,\n \"onUpdate:modelValue\": ($event: any) => ((filterOptionsSelected.value[filterIndex]) = $event),\n onChange: _cache[1] || (_cache[1] = ($event: any) => (doFiltering())),\n type: \"checkbox\",\n class: \"h-4 w-4 border-gray-300 text-brand-500 focus:ring-brand-500\"\n }, null, 40, _hoisted_16), [\n [_vModelCheckbox, filterOptionsSelected.value[filterIndex]]\n ]),\n _createElementVNode(\"label\", {\n for: `filter-mobile-${filter.label}-${optionIdx}`,\n class: \"ml-3 text-sm font-medium text-gray-900\"\n }, _toDisplayString(option.label), 9, _hoisted_17)\n ]))\n }), 128))\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]))\n : _createCommentVNode(\"\", true),\n (__props.filterable)\n ? (_openBlock(), _createElementBlock(\"section\", _hoisted_18, [\n _hoisted_19,\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"flex items-center group text-sm font-medium text-gray-700 sm:hidden\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (filterOpen.value = true))\n }, [\n _createVNode(_component_FunnelIconMini, {\n class: \"inline h-5 w-5 mr-1 text-gray-400 group-hover:text-gray-500\",\n \"aria-hidden\": \"true\"\n }),\n _createTextVNode(\" \" + _toDisplayString(filtersApplied.value), 1)\n ]),\n _createVNode(_unref(PopoverGroup), { class: \"hidden sm:flex sm:items-baseline sm:space-x-8\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_FunnelIconMini, {\n class: \"inline h-5 w-5 mr-1 text-gray-400\",\n \"aria-hidden\": \"true\"\n }),\n _createTextVNode(\" \" + _toDisplayString(filtersApplied.value), 1)\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.filters, (filter, filterIndex) => {\n return (_openBlock(), _createBlock(_unref(Popover), {\n as: \"div\",\n key: filter.label,\n id: `desktop-menu-${filterIndex}`,\n class: \"relative inline-block text-left\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_unref(PopoverButton), { class: \"group inline-flex items-center justify-center text-sm font-medium text-gray-700 hover:text-gray-900\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(filter.label), 1),\n _withDirectives(_createElementVNode(\"span\", { class: \"ml-1.5 bg-brand-500 py-0.5 px-1.5 text-xs font-semibold tabular-nums text-white\" }, _toDisplayString(numFilterOptionsSelected.value[filterIndex]), 513), [\n [_vShow, numFilterOptionsSelected.value[filterIndex] > 0]\n ]),\n _createVNode(_component_ChevronDownIconMini, {\n class: \"-mr-1 ml-1 h-5 w-5 flex-shrink-0 text-gray-400 group-hover:text-gray-500\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _: 2\n }, 1024)\n ]),\n _createVNode(_Transition, {\n \"enter-active-class\": \"transition ease-out duration-100\",\n \"enter-from-class\": \"transform opacity-0 scale-95\",\n \"enter-to-class\": \"transform opacity-100 scale-100\",\n \"leave-active-class\": \"transition ease-in duration-75\",\n \"leave-from-class\": \"transform opacity-100 scale-100\",\n \"leave-to-class\": \"transform opacity-0 scale-95\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(PopoverPanel), { class: \"absolute right-0 z-10 mt-2 origin-top-right bg-white py-3 shadow-2xl ring-1 ring-black ring-opacity-5 focus:outline-none\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"form\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"input\", {\n id: `filter-all-${filter.label}`,\n type: \"checkbox\",\n checked: filtersIndeterminate.value[filterIndex] || filterOptionsSelected.value[filterIndex].length === filter.options.length,\n indeterminate: filtersIndeterminate.value[filterIndex],\n onChange: (e) => selectAll(e, filterIndex),\n class: \"h-6 w-6 border-gray-300 text-brand-500 focus:ring-brand-500\"\n }, null, 40, _hoisted_24),\n _createElementVNode(\"label\", {\n for: `filter-all-${filter.label}`,\n class: \"ml-3 whitespace-nowrap pr-6 text-sm font-medium text-gray-900\"\n }, \" Select All \", 8, _hoisted_25)\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(filter.options, (option, optionIdx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: option.value,\n class: \"flex items-center\"\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n id: `filter-${filter.label}-${optionIdx}`,\n name: `${filter.label}[]`,\n value: option.value,\n \"onUpdate:modelValue\": ($event: any) => ((filterOptionsSelected.value[filterIndex]) = $event),\n onChange: _cache[4] || (_cache[4] = ($event: any) => (doFiltering())),\n type: \"checkbox\",\n class: \"h-6 w-6 border-gray-300 text-brand-500 focus:ring-brand-500\"\n }, null, 40, _hoisted_27), [\n [_vModelCheckbox, filterOptionsSelected.value[filterIndex]]\n ]),\n _createElementVNode(\"label\", {\n for: `filter-${filter.label}-${optionIdx}`,\n class: \"ml-3 whitespace-nowrap pr-6 text-sm font-medium text-gray-900\"\n }, _toDisplayString(option.label), 9, _hoisted_28)\n ]))\n }), 128))\n ])\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"id\"]))\n }), 128))\n ]),\n _: 1\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (__props.searchable)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_29, [\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_component_MagnifyingGlassIcon, {\n class: \"h-5 w-5 text-gray-400\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _hoisted_32,\n _withDirectives(_createElementVNode(\"input\", {\n type: \"text\",\n name: \"search-text\",\n id: \"search\",\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((searchInput).value = $event)),\n placeholder: __props.searchPlaceholder,\n onInput: _cache[6] || (_cache[6] = ($event: any) => (__props.searchFunction(searchInput.value))),\n class: \"block border-gray-300 pl-8 pr-12 shadow-sm focus:border-brand-500 focus:ring-brand-500 sm:text-sm placeholder:italic w-full\"\n }, null, 40, _hoisted_33), [\n [_vModelText, searchInput.value]\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"div\", _hoisted_35, [\n _createElementVNode(\"div\", _hoisted_36, [\n _createElementVNode(\"div\", _hoisted_37, [\n _createElementVNode(\"div\", {\n id: 'table-checkbox-menu' + __props.tableIndex,\n class: \"relative\"\n }, null, 8, _hoisted_38),\n _createElementVNode(\"table\", _hoisted_39, [\n _createElementVNode(\"thead\", _hoisted_40, [\n _createElementVNode(\"tr\", null, [\n (__props.checkable)\n ? (_openBlock(), _createElementBlock(\"th\", _hoisted_41, [\n _hoisted_42,\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n class: \"absolute left-4 top-1/2 -mt-2 h-4 w-4 border-gray-300 text-brand-500 focus:ring-brand-500 sm:left-3\",\n checked: indeterminate.value || (selectedRows.value.length === __props.data.length && __props.data.length > 0),\n indeterminate: indeterminate.value,\n onChange: _cache[7] || (_cache[7] = ($event: any) => (selectedRows.value=$event.target.checked ? __props.data.map((r) => r.id) : []))\n }, null, 40, _hoisted_43),\n (selectedRows.value.length > 0)\n ? (_openBlock(), _createBlock(_component_tw_table_dropdown, {\n key: 0,\n class: \"py-3 -mr-11 pr-4 z-10 top-0\",\n items: __props.multiRowActions,\n position: \"left\",\n \"teleport-to\": '#table-checkbox-menu' + __props.tableIndex,\n data: __props.data,\n \"selected-table-rows\": selectedRows.value\n }, {\n icon: _withCtx(() => [\n _createVNode(_component_ChevronDownIconMini)\n ]),\n _: 1\n }, 8, [\"items\", \"teleport-to\", \"data\", \"selected-table-rows\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_tw_table_header, { \"default-sort\": __props.defaultSort }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"default-sort\"])\n ])\n ]),\n (__props.data.length>0)\n ? (_openBlock(), _createElementBlock(\"tbody\", _hoisted_44, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.data, (row, i) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: JSON.stringify(row)\n }, [\n (__props.checkable)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_45, [\n _hoisted_46,\n (selectedRows.value.includes(row.id))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_47))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n class: \"absolute left-4 top-1/2 -mt-2 h-4 w-4 border-gray-300 text-brand-500 focus:ring-brand-500 sm:left-3\",\n value: row.id,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((selectedRows).value = $event))\n }, null, 8, _hoisted_48), [\n [_vModelCheckbox, selectedRows.value]\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_tw_table_row, {\n row: {...row, index: i}\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 2\n }, 1032, [\"row\"])\n ]))\n }), 128)),\n _withDirectives(_createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", _hoisted_49, [\n _createVNode(_component_tw_loading)\n ])\n ], 512), [\n [_vShow, __props.loading]\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"tbody\", _hoisted_50, [\n _withDirectives(_createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", _hoisted_51, _toDisplayString(__props.placeholder), 1)\n ], 512), [\n [_vShow, !__props.loading]\n ]),\n _withDirectives(_createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", _hoisted_52, [\n _createVNode(_component_tw_loading)\n ])\n ], 512), [\n [_vShow, __props.loading]\n ])\n ]))\n ])\n ])\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./TwTable.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwTable.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./TwLoading.vue?vue&type=template&id=e2e93580\"\nconst script = {}\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createBlock as _createBlock, createTextVNode as _createTextVNode, createVNode as _createVNode, createCommentVNode as _createCommentVNode, unref as _unref, Transition as _Transition, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '@/assets/images/hyde-park-art-center-logo.png'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-25f204ac\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"mx-auto max-w-screen-2xl px-4 sm:px-6 lg:px-8\" }\nconst _hoisted_2 = { class: \"flex h-16 justify-between\" }\nconst _hoisted_3 = { class: \"flex\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex flex-shrink-0 items-center\" }, [\n /*#__PURE__*/_createElementVNode(\"a\", {\n href: \"https://www.hydeparkart.org/\",\n target: \"_blank\"\n }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n class: \"block h-8 w-auto\",\n src: _imports_0,\n alt: \"Hyde Park Art Center Logo\"\n })\n ])\n], -1))\nconst _hoisted_5 = { class: \"hidden sm:ml-6 sm:flex sm:space-x-8 mt-4\" }\nconst _hoisted_6 = { class: \"-mt-4\" }\nconst _hoisted_7 = { class: \"hidden sm:ml-6 sm:flex sm:items-center uppercase\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"mt-2 font-normal text-sm py-2 divide-x flex divide-gray-400\"\n}\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"uppercase\" }, \"My Account\", -1))\nconst _hoisted_10 = { class: \"px-4 py-2 border-b text-sm lowercase\" }\nconst _hoisted_11 = { class: \"-mr-2 flex items-center sm:hidden\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Open main menu\", -1))\nconst _hoisted_13 = { class: \"space-y-1 pb-3 pt-2\" }\nconst _hoisted_14 = { class: \"border-t border-gray-200 pb-3 pt-4\" }\nconst _hoisted_15 = { key: 0 }\nconst _hoisted_16 = {\n key: 1,\n class: \"mt-3 space-y-1\"\n}\n\nimport { Disclosure, DisclosureButton, DisclosurePanel, Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue'\n\timport { Bars3Icon, XMarkIcon } from '@heroicons/vue/24/outline'\n\n\t// vue\n\timport {\n\t\tonBeforeMount,\n\t\tref\n\t} from 'vue'\n\n\t// router\n\timport {\n\t\tuseRouter\n\t} from 'vue-router'\n\n\t// Store\n\timport { \n\t\tuserStore\n\t} from '@/store/userStore'\n\timport { \n\t\tappliedFiltersStore\n\t} from '@/store/appliedFiltersStore'\n\n\timport { \n\t\tadminFiltersStore\n\t} from '@/store/adminFiltersStore'\n\t\n\t// amplify\n\timport {\n\t\tAuth \n\t} from 'aws-amplify'\n\n\timport { \n\t\tCognitoUserSession\n\t} from 'amazon-cognito-identity-js';\n\n\timport EventBus from '@/events'\n\n\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TwNavbar',\n emits: [\n\t\t'on-navigate'\n\t],\n setup(__props, { emit }) {\n\n\t// tailwind\n\t\n\n\tconst router = useRouter()\n\tconst store = userStore()\n\tconst _adminFiltersStore = adminFiltersStore()\n\n\t// Check for logged in user\n\tconst user = ref(null)\n\tconst userGroups = ref([])\n\tconst navigation = ref([])\n\n\tonBeforeMount( async () => {\n try {\n\t\t\tuser.value = await Auth.currentSession()\n\t\t\tif(user.value && user.value.getAccessToken()) {\n\t\t\t\tuserGroups.value = user.value.getIdToken().payload['cognito:groups']\n\t\t\t}\n }\n catch(e) {\n\t\t\tuser.value = null\n console.log(e)\n }\n\n\t\t// Load file path of all modules named Nav.vue\n\t\tconst moduleContext = require.context('@/modules', true, /Nav.ts$/i)\n\n\t\t// Import each component\n\t\tconst modules = moduleContext.keys()\n\t\t\t.map(moduleContext)\n\t\t\t.map(m => m.nav)\n\n\t\t//Sort them based on the position data prop\n\t\tnavigation.value = modules.filter( m => {\n\t\t\treturn m.show && // hidden?\n\t\t\t( userGroups.value.some((group) => { return m?.auth?.includes(group) }) || // nav auth groups includes user's group?\n\t\t\t!m?.auth || // no auth on nav?\n\t\t\t(m?.auth?.includes('public')) ) // show to everyone?\n\t\t}).sort((a,b)=>{\n\t\t\tlet aPos = a.position\n\t\t\tlet bPos = b.position\n\t\t\tif(aPos < bPos){\n\t\t\t\treturn -1\n\t\t\t}else if(aPos > bPos){\n\t\t\t\treturn 1\n\t\t\t}else{\n\t\t\t\treturn 0\n\t\t\t}\n\t\t})\n \n });\n\n\tconst filterStore = appliedFiltersStore()\n\n\tasync function signOut() {\n try {\n // clear user in store\n\t\t\tstore.$reset()\n\n\t\t\t_adminFiltersStore.appliedFilters.courseList = {\n\t\t\t\tsearchText:'',\n\t\t\t\tsortField: 'startDate',\n\t\t\t\tsortDirection: 'DESC',\n\t\t\t\tqueryName: null,\n\t\t\t\tquery: null,\n\t\t\t\tfilters: [[],[],[],[],[],[]]\n\t\t\t}\n\t\t\t_adminFiltersStore.appliedFilters.studentList = {\n\t\t\t\tsearchText:'',\n\t\t\t\tsortField: 'firstName',\n\t\t\t\tsortDirection: 'ASC',\n\t\t\t\tqueryName: null,\n\t\t\t\tquery: null,\n\t\t\t\tfilters: [[]]\n\t\t\t}\n\n\t\t\t// clear filters in CourseSearch component in case it is mounted\n\t\t\tEventBus.trigger('logout', null)\n\n\t\t\t// Clear filters in store\n\t\t\t// filterStore.$reset()\n\t\t\tfilterStore.appliedFilters.courseSearch[0] = ''\n\t\t\tfilterStore.appliedFilters.courseSearch[1] = []\n\t\t\tfilterStore.appliedFilters.courseSearch[2] = []\n\t\t\tfilterStore.appliedFilters.courseSearch[3] = []\n\t\t\tfilterStore.appliedFilters.courseSearch[4] = []\n\n\t\t\t// clear cognito token\n await Auth.signOut()\n\n\t\t\trouter.push({name: 'Login'})\n } catch (error) {\n console.log('error signing out: ', error)\n }\n }\n\n\tfunction navigate(){\n\t\temit('on-navigate')\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createBlock(_unref(Disclosure), {\n as: \"nav\",\n class: \"bg-white border-b border-brand-500 sticky top-0 z-20\"\n }, {\n default: _withCtx(({ open }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(navigation.value, (item) => {\n return (_openBlock(), _createBlock(_component_router_link, {\n onClick: navigate,\n key: item.name,\n to: item.to,\n class: _normalizeClass([\"triangle relative font-gotham\", [_ctx.$route.meta.module == item.module ? 'text-white bg-brand-500 triangle-static' : 'hover:text-white hover:bg-brand-500', 'uppercase justify-center flex items-center px-2 py-2 font-normal text-sm']])\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"to\", \"class\"]))\n }), 128))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n (!user.value || !user.value.accessToken)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, [\n _createVNode(_component_router_link, {\n to: {name: 'Login'},\n class: \"hover:text-brand-300 pr-4\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Login\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, {\n to: {name: 'CreateAccount'},\n class: \"hover:text-brand-300 pl-4\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Create Account\")\n ]),\n _: 1\n })\n ]))\n : (_openBlock(), _createBlock(_unref(Menu), {\n key: 1,\n as: \"div\",\n class: \"relative ml-3\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createVNode(_unref(MenuButton), { class: \"flex rounded-full bg-white text-sm focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2\" }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n })\n ]),\n _createVNode(_Transition, {\n \"enter-active-class\": \"transition ease-out duration-200\",\n \"enter-from-class\": \"transform opacity-0 scale-95\",\n \"enter-to-class\": \"transform opacity-100 scale-100\",\n \"leave-active-class\": \"transition ease-in duration-75\",\n \"leave-from-class\": \"transform opacity-100 scale-100\",\n \"leave-to-class\": \"transform opacity-0 scale-95\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(MenuItems), { class: \"absolute right-0 z-10 mt-2 w-auto origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_10, _toDisplayString(_unref(store).user.email), 1),\n _createVNode(_unref(MenuItem), null, {\n default: _withCtx(({ active }) => [\n _createVNode(_component_router_link, {\n to: {name: 'EmailPassword'},\n class: _normalizeClass([active ? 'bg-gray-100' : '', 'block px-4 py-2 text-sm text-gray-700'])\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Account Settings \")\n ]),\n _: 2\n }, 1032, [\"class\"])\n ]),\n _: 1\n }),\n _createVNode(_unref(MenuItem), null, {\n default: _withCtx(({ active }) => [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: signOut,\n class: _normalizeClass([active ? 'bg-gray-100' : '', 'block px-4 py-2 text-sm text-gray-700'])\n }, \"Log Out\", 2)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_unref(DisclosureButton), { class: \"inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-brand-500\" }, {\n default: _withCtx(() => [\n _hoisted_12,\n (!open)\n ? (_openBlock(), _createBlock(_unref(Bars3Icon), {\n key: 0,\n class: \"block h-6 w-6\",\n \"aria-hidden\": \"true\"\n }))\n : (_openBlock(), _createBlock(_unref(XMarkIcon), {\n key: 1,\n class: \"block h-6 w-6\",\n \"aria-hidden\": \"true\"\n }))\n ]),\n _: 2\n }, 1024)\n ])\n ])\n ]),\n _createVNode(_unref(DisclosurePanel), { class: \"sm:hidden\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_13, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(navigation.value, (item) => {\n return (_openBlock(), _createBlock(_component_router_link, {\n onClick: navigate,\n key: item.name,\n to: item.to\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DisclosureButton), {\n as: \"a\",\n href: \"#\",\n class: _normalizeClass([\"block border-l-4 border-transparent py-2 pl-3 pr-4 text-base font-medium text-gray-500 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700\", {'block border-l-4 border-brand-500 bg-brand-50 py-2 pl-3 pr-4 text-base font-medium text-brand-700': _ctx.$route.meta.module == item.module}])\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.name), 1)\n ]),\n _: 2\n }, 1032, [\"class\"])\n ]),\n _: 2\n }, 1032, [\"to\"]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n (!user.value || !user.value.accessToken)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createVNode(_component_router_link, {\n to: {name: 'Login'},\n class: \"block px-4 py-2 text-base font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-800\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DisclosureButton), null, {\n default: _withCtx(() => [\n _createTextVNode(\" Login \")\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, {\n to: {name: 'CreateAccount'},\n class: \"block px-4 py-2 text-base font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-800\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DisclosureButton), null, {\n default: _withCtx(() => [\n _createTextVNode(\" Create Account \")\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createVNode(_component_router_link, {\n to: {name: 'EmailPassword'},\n class: \"block px-4 py-2 text-base font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-800\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DisclosureButton), null, {\n default: _withCtx(() => [\n _createTextVNode(\" Account Settings \")\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_unref(DisclosureButton), {\n as: \"a\",\n href: \"#\",\n class: \"block px-4 py-2 text-base font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-800\",\n onClick: signOut\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Log Out \")\n ]),\n _: 1\n })\n ]))\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./TwNavbar.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwNavbar.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TwNavbar.vue?vue&type=style&index=0&id=25f204ac&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-25f204ac\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, vModelText as _vModelText, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, withDirectives as _withDirectives, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-30e128f8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"min\", \"max\"]\n\nimport {\n\t\tcomputed,\n\t\tref,\n\t\tonMounted\n\t} from 'vue'\n\n\tinterface openArtsMessage {\n\t\tactive: boolean,\n\t\tmessage: string,\n\t\tprice: number\n\t}\n\t\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TwSlider',\n props: {\n tuitionMessageData: { default: () => {return []} },\n defaultDonationAmount: { default: 0 }\n },\n setup(__props: any, { expose: __expose }) {\n\nconst props = __props;\n\n\n\t// Vue\n\t\n\n\tconst donationAmount = ref(0)\n\tconst donationMessage = ref('Enter any amount or use the slider below to adjust the amount.')\n\tconst style = ref('')\n\tconst sortedDonationAmounts = computed(() => {\n\t\tlet mutableData = [...props.tuitionMessageData]\n\t\treturn mutableData.sort((a,b) => {\n\t\t\treturn a.price - b.price\n\t\t})\n\t})\n\n\tconst min = computed(() => {\n\t\treturn sortedDonationAmounts?.value[0]?.price || 0\n\t})\n\n\tconst max = computed(() => {\n\t\treturn sortedDonationAmounts?.value[sortedDonationAmounts?.value?.length - 1]?.price || 200\n\t})\n\n\n\tonMounted(() => {\n\t\tdonationAmount.value = props?.defaultDonationAmount ?? 0\n\t\tsetDonationMessage()\n\t})\n\n\tfunction setDonationMessage() {\n\t\tif((String(donationAmount.value).charAt(0) == \"0\")){\n\t\t\tdonationAmount.value = parseInt(String(donationAmount.value) , 10)\n\t\t}\n\t\t// update slider\n\t\tlet value = (donationAmount.value - min.value) / (max.value - min.value) * 100\n\t\tstyle.value = `background: linear-gradient(to right, #00AEEF 0%, #00AEEF ${value}%, #BAE6FD ${value}%, #BAE6FD 100%);`\n\n\t\tif(!donationAmount.value){\n\t\t\tdonationAmount.value = 0\n\t\t}\n\n\t\t// entered amount is greater than max suggestion\n\t\tif(Number(sortedDonationAmounts.value[sortedDonationAmounts.value.length - 1]?.price) < donationAmount.value){\n\t\t\tdonationMessage.value = sortedDonationAmounts.value[sortedDonationAmounts.value.length - 1].message\n\t\t\treturn\n\t\t}\n\n\t\t// update message\n\t\tfor(let i = 0; i < sortedDonationAmounts.value.length; i++){\n\t\t\t// entered amount is greater than a suggested amount\n\t\t\tif(Number(sortedDonationAmounts.value[i].price) > donationAmount.value){\n\t\t\t\tif(donationAmount.value != 0 && i==1 && (Number(sortedDonationAmounts.value[0].price) == 0)){\n\t\t\t\t\tdonationMessage.value = sortedDonationAmounts.value[i]?.message\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tdonationMessage.value = sortedDonationAmounts.value[i-1]?.message\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t}\n\t\t\t// entered amount is equal to a suggested amount\n\t\t\telse if(Number(sortedDonationAmounts.value[i].price) == donationAmount.value){\n\t\t\t\tdonationMessage.value = sortedDonationAmounts.value[i].message\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t}\n\n\t__expose({\n\t\tdonationAmount,\n\t\tsetDonationMessage\n })\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_tw_input, {\n modelValue: donationAmount.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((donationAmount).value = $event)),\n label: \"Donation Amount\",\n required: true,\n type: \"number\",\n min: \"0\",\n onInput: setDonationMessage,\n placeholder: \"Enter a donation amount...\",\n name: \"donationAmount\",\n id: \"donation-amount\",\n help: donationMessage.value\n }, {\n leading_inline: _withCtx(() => [\n _createTextVNode(\" $ \")\n ]),\n _: 1\n }, 8, [\"modelValue\", \"help\"]),\n _withDirectives(_createElementVNode(\"input\", {\n style: _normalizeStyle(style.value),\n id: \"donation-range\",\n type: \"range\",\n min: min.value,\n max: max.value,\n class: \"slider mt-6 w-full h-2 appearance-none cursor-pointer\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((donationAmount).value = $event)),\n onInput: setDonationMessage\n }, null, 44, _hoisted_1), [\n [_vModelText, donationAmount.value]\n ])\n ], 64))\n}\n}\n\n})","import script from \"./TwSlider.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwSlider.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TwSlider.vue?vue&type=style&index=0&id=30e128f8&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-30e128f8\"]])\n\nexport default __exports__","","import { render } from \"./TwDropdown.vue?vue&type=template&id=2af804d6\"\nconst script = {}\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_3 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full sm:p-6\" }\nconst _hoisted_4 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_5 = { class: \"text-sm pt-5 leading-6 font-medium text-coolGray-600\" }\nconst _hoisted_6 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay, \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\n // Vue\n // import {\n\t// \tref\n\t// } from 'vue'\n\n //eslint-disable-next-line\n \n\t// name the component\n\tconst __default__ = { name: \"StudentNotesModal\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: { \n\t\tstudentName: {\n type: String\n },\n studentNotes: {\n type: String\n }\n\t},\n emits: ['closeNotesModal'],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n // Components\n\t\n\n // const notesModalOpen = ref(true)\n\n \n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createBlock(_unref(TransitionRoot), { as: \"template\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_2,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Notes \")\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"font-bold\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.studentName), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(__props.studentNotes), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-brand uppercase\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('closeNotesModal', false)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Close \")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./StudentNotesModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StudentNotesModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export const createEmail = /* GraphQL */ `\n mutation CreateEmail(\n $input: CreateEmailInput!\n $condition: ModelEmailConditionInput\n ) {\n createEmail(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const updateAttendance = /* GraphQL */ `\n mutation UpdateAttendance(\n $input: UpdateAttendanceInput!\n $condition: ModelAttendanceConditionInput\n ) {\n updateAttendance(input: $input, condition: $condition) {\n id\n status\n updatedAt\n }\n }\n`;","export const getStudent = /* GraphQL */ `\n query GetStudent($id: ID!) {\n getStudent(id: $id) {\n email\n }\n }\n`;\n\nexport const getRegistration = /* GraphQL */ `\n query GetRegistration($id: ID!) {\n getRegistration(id: $id) {\n id\n studentId\n student {\n email\n }\n }\n }\n`;\n\nexport const registrationsByCourseIdAndLastName = /* GraphQL */ `\n query RegistrationsByCourseIdAndLastName(\n $courseId: ID!\n $lastName: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsByCourseIdAndLastName(\n courseId: $courseId\n lastName: $lastName\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n\t items {\n id\n courseId\n studentId\n student{\n firstName\n lastName\n email\n dob\n pronouns\n phoneMobile\n address1\n }\n createdAt\n lastName\n\t\tstatus\n sub\n updatedAt\n }\n nextToken\n }\n }\n`;\n\nexport const attendancesByClassId = /* GraphQL */ `\n query AttendancesByClassId(\n $classId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelAttendanceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n attendancesByClassId(\n classId: $classId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n classId\n studentId\n student{\n firstName\n lastName\n }\n createdAt\n status\n\t\tregistrationStatus\n updatedAt\n }\n nextToken\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, vShow as _vShow, withDirectives as _withDirectives, normalizeClass as _normalizeClass, resolveComponent as _resolveComponent, vModelText as _vModelText, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-515035a0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1))\nconst _hoisted_3 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full sm:p-6\" }\nconst _hoisted_4 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dt\", { class: \"text-sm font-bold text-gray-500 font-gotham uppercase\" }, \" From \", -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"dd\", { class: \"text-sm font-gotham w-full text-gray-900\" }, \" no-reply@hydeparkart.org \", -1))\nconst _hoisted_7 = [\n _hoisted_5,\n _hoisted_6\n]\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h-4 rounded-full bg-gray-300 animate-pulse w-1/2\" }, null, -1))\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 h-6 rounded-full bg-gray-300 animate-pulse w-full\" }, null, -1))\nconst _hoisted_10 = [\n _hoisted_8,\n _hoisted_9\n]\nconst _hoisted_11 = { class: \"flex mt-3\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"flex-1 text-sm font-bold font-gotham text-gray-500 uppercase\" }, \" To \", -1))\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h-4 rounded-full bg-gray-300 animate-pulse w-1/2\" }, null, -1))\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 h-6 rounded-full bg-gray-300 animate-pulse w-full\" }, null, -1))\nconst _hoisted_15 = [\n _hoisted_13,\n _hoisted_14\n]\nconst _hoisted_16 = { class: \"mt-3\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h-4 rounded-full bg-gray-300 animate-pulse w-1/2\" }, null, -1))\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 h-6 rounded-full bg-gray-300 animate-pulse w-full\" }, null, -1))\nconst _hoisted_19 = [\n _hoisted_17,\n _hoisted_18\n]\nconst _hoisted_20 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-sm text-red-500\" }, \"*\", -1))\nconst _hoisted_21 = { class: \"mt-3\" }\nconst _hoisted_22 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"h-4 rounded-full bg-gray-300 animate-pulse w-1/2\" }, null, -1))\nconst _hoisted_23 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 h-6 rounded-full bg-gray-300 animate-pulse w-full\" }, null, -1))\nconst _hoisted_24 = [\n _hoisted_22,\n _hoisted_23\n]\nconst _hoisted_25 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport { \n\t\tExclamationCircleIcon\n\t} from '@heroicons/vue/20/solid'\n\n\t// API\n\timport api from \"@/utilities/api\"\n\n\t// Components\n\timport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay, \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\t// Mutations\n\timport {\n\t\tcreateEmail\n\t} from './mutations'\n\n\t// Queries\n\timport {\n\t\tgetStudent,\n\t\tgetRegistration\n\t} from './queries'\n\n\t// Vue\n\timport {\n\t\tref,\n\t\tonMounted\n\t} from 'vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"EmailModal\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: { \n\t\tnumRecordsEmail: {\n type: Number,\n\t\t\tdefault: 0\n },\n table: {\n type: String\n },\n\t\tdata: {\n\t\t\ttype: Array\n\t\t}\n\t},\n emits: ['closeEmailModal', 'emailSuccess'],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\tonMounted(() => {\n\t\tgetData()\n\t})\n\n\tconst sendEmailTo = ref([])\n\tconst sendEmailToSingleLine = ref('')\n\tconst usersReceivingEmail = ref([])\n\tconst isLoading = ref(true)\n\tconst showAll = ref(false)\n\n\tasync function getData(){\n\t\tlet query = getStudent\n\t\tif(props.table == 'registration')\n\t\t\tquery = getRegistration\n\n\t\ttry{\n\t\t\tfor(const row of props.data){\n\t\t\t\tconst input = {\n\t\t\t\t\tid: row\n\t\t\t\t}\n\t\t\t\tconst res = await api(query, input)\n\t\t\t\tconst email = props.table == 'registration' ? res.data.getRegistration?.student.email : res.data.getStudent?.email\n\n\t\t\t\tconst user = {\n\t\t\t\t\tid: row,\n\t\t\t\t\temail: email\n\t\t\t\t}\n\n\t\t\t\t// usersReceivingEmail.value.push(user)\n\t\t\t\t// sendEmailTo.value.push(email)\n\t\t\t\tsendEmailTo.value.push(user)\n\t\t\t}\n\n\t\t\tsendEmailToSingleLine.value = sendEmailTo.value.map(u => u.email).join(', ')\n\t\t\tisLoading.value = false\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t}\n\n\n //eslint-disable-next-line\n \n\n\t\n\n\tconst emailBody = ref({value: '', isValid:true})\n\tconst emailSubject = ref({value: '', isValid:true})\n\n\tasync function sendEmail(){\n\n\t\tif(!validateFields()){\n\t\t\treturn \n\t\t}\n\n\t\ttry{\n\t\t\tfor(const user of sendEmailTo.value){\n\n\t\t\t\tconst input = {\n\t\t\t\t\tstudentId: user.id,\n\t\t\t\t\tbody: emailBody.value.value,\n\t\t\t\t\tsubject: emailSubject.value.value,\n\t\t\t\t\tto: user.email,\n\t\t\t\t\tsentAt: new Date(Date.now()),\n\t\t\t\t\tstatus: 'Pending'\n\t\t\t\t}\n\n\t\t\t\tawait api(createEmail, {input})\n\t\t\t}\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\n\t\temit('emailSuccess', 'email')\n\t\temit('closeEmailModal', false)\n\t}\n\n\tfunction validateFields(){\n\t\tlet isValid = true\n\t\tlet requiredFields = [\n emailBody.value, \n\t\t\temailSubject.value, \n ]\n\t\tfor(let item in requiredFields){\n\t\t\tlet val = requiredFields[item].value\n\t\t\tif (!val || val == null){\n\t\t\t\trequiredFields[item].isValid = false\n\t\t\t\twindow.scrollTo(0,0)\n\t\t\t\tisValid=false\n\t\t\t}\n\t\t}\n\n\t\treturn isValid\n\t}\n\n\tfunction validate(reference: any){\n if(!reference.value || reference.value == null ){\n reference.isValid = false\n }\n else{\n\t\t\treference.isValid = true\n\t\t}\n }\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createBlock(_unref(TransitionRoot), { as: \"template\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_2,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Email Students \")\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"font-bold mb-3\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Send email to \" + _toDisplayString(__props.numRecordsEmail) + \" student(s) \", 1)\n ]),\n _: 1\n }),\n _withDirectives(_createElementVNode(\"div\", null, _hoisted_7, 512), [\n [_vShow, !isLoading.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, _hoisted_10, 512), [\n [_vShow, isLoading.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"a\", {\n href: \"#\",\n class: \"float-right text-brand-500 font-bold\",\n onClick: _cache[0] || (_cache[0] = () => showAll.value = !showAll.value)\n }, \" See all \")\n ]),\n _createElementVNode(\"p\", {\n id: \"email-to\",\n class: _normalizeClass([showAll.value ? '' : 'truncate', \"text-sm font-gotham w-full text-gray-900 overflow-y-auto min-h-full\"])\n }, _toDisplayString(sendEmailTo.value.length > 0 ? sendEmailToSingleLine.value : 'No user selected to receive email'), 3)\n ], 512), [\n [_vShow, !isLoading.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, _hoisted_15, 512), [\n [_vShow, isLoading.value]\n ]),\n _withDirectives(_createVNode(_component_tw_input, {\n required: \"\",\n label: \"Subject\",\n class: \"mt-3\",\n placeholder: \"Add email subject...\",\n modelValue: emailSubject.value.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((emailSubject.value.value) = $event)),\n \"is-valid\": emailSubject.value.isValid,\n onInput: _cache[2] || (_cache[2] = ($event: any) => (validate(emailSubject.value)))\n }, null, 8, [\"modelValue\", \"is-valid\"]), [\n [_vShow, !isLoading.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_16, _hoisted_19, 512), [\n [_vShow, isLoading.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", null, [\n _createElementVNode(\"label\", {\n for: \"email-body\",\n class: _normalizeClass([!emailSubject.value.isValid ? 'mt-9' : '', \"mt-3 block text-sm font-bold font-gotham text-gray-700 uppercase mb-1\"])\n }, [\n _hoisted_20,\n _createTextVNode(\" Body (Required) \")\n ], 2),\n _withDirectives(_createElementVNode(\"textarea\", {\n id: \"email-body\",\n name: \"EmailBody\",\n rows: \"5\",\n placeholder: \"Add email body...\",\n class: _normalizeClass([!emailBody.value.isValid ? 'invalid' : 'border-gray-300', \"flex-1 min-w-0 block focus:ring-brand-500 focus:border-brand-500 w-full sm:text-sm\"]),\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((emailBody.value.value) = $event)),\n onInput: _cache[4] || (_cache[4] = ($event: any) => (validate(emailBody.value)))\n }, null, 34), [\n [_vModelText, emailBody.value.value]\n ])\n ], 512), [\n [_vShow, !isLoading.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_21, _hoisted_24, 512), [\n [_vShow, isLoading.value]\n ])\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_tw_button, {\n class: \"btn-base uppercase\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (emit('closeEmailModal', false)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n onClick: sendEmail,\n class: \"btn-base btn-brand\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Send Email \")\n ]),\n _: 1\n })\n ], 512), [\n [_vShow, !isLoading.value]\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./EmailModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./EmailModal.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./EmailModal.vue?vue&type=style&index=0&id=515035a0&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-515035a0\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, vModelRadio as _vModelRadio, openBlock as _openBlock, createElementBlock as _createElementBlock, withDirectives as _withDirectives, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_3 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full sm:p-6\" }\nconst _hoisted_4 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_5 = [\"id\", \"name\", \"checked\", \"onUpdate:modelValue\", \"onChange\"]\nconst _hoisted_6 = [\"id\", \"name\", \"checked\", \"onUpdate:modelValue\", \"onChange\"]\nconst _hoisted_7 = [\"id\", \"name\", \"checked\", \"onUpdate:modelValue\", \"onChange\"]\nconst _hoisted_8 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport api from \"@/utilities/api\"\n\timport { Attendance as AttendanceType } from \"@/API\"\n\n\t// Components\n\timport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay, \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\t// Mutations\n\timport {\n\t\tupdateAttendance\n\t} from './mutations'\n\n\t// Queries\n\timport {\n\t\tattendancesByClassId\n\t} from './queries'\n\n\t// Vue\n\timport {\n\t\tref,\n\t\tonMounted\n\t} from 'vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"AttendanceModal\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tclassId: {\n\t\t\ttype: String\n\t\t},\n\t\tclassDate: {\n\t\t\ttype: String\n\t\t}\n\t},\n emits: ['closeAttendanceModal'],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\t// API\n\tonMounted(() => {\n\t\tgetData()\n\t})\n\n\n\tconst isLoading = ref(true)\n\n\t//eslint-disable-next-line\n\t\n\n\n\t//#region startup\n\tconst registrations = ref([])\n\n\tasync function getData() {\n\t\ttry {\n\t\t\tconst response: any = await api(attendancesByClassId, { classId: props.classId })\n\n\t\t\tregistrations.value = response.data.attendancesByClassId.items.filter((attendance: any) => {return attendance.registrationStatus != 'Dropped'})\n\n\t\t\tisLoading.value = false\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t}\n\n\t\n\n\tfunction updateStatus(id: string, status: string){\n\t\tlet i = registrations.value.findIndex(r => r.id === id)\n\t\tregistrations.value[i].status = status\n\t}\n\n\tasync function submitAttendance(){\n\t\tfor(const registration of registrations.value){\n\t\t\t\n\t\t\ttry{\n\t\t\t\tconst input = {\n\t\t\t\t\tid: registration.id,\n\t\t\t\t\tstatus: registration.status\n\t\t\t\t}\n\n\t\t\t\tawait api(updateAttendance, {input})\n\t\t\t}\n\t\t\tcatch(e){\n\t\t\t\tconsole.log('Error:', e)\n\t\t\t}\n\t\t}\n\n\t\temit('closeAttendanceModal', false)\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createBlock(_unref(TransitionRoot), { as: \"template\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_2,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Attendance \")\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"font-bold\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(props.classDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table, {\n data: registrations.value,\n placeholder: 'No attendance to display'\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n header: \"First Name\",\n \"class-name\": \"w-34 md:w-50\",\n \"header-class-name\": \"w-34 md:w-50\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(row.student.firstName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Last Name\",\n \"class-name\": \"w-34 md:w-50\",\n \"header-class-name\": \"w-34 md:w-50\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(row.student.lastName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"On Time\",\n \"class-name\": \"w-34 md:w-50\",\n \"header-class-name\": \"w-34 md:w-50\"\n }, {\n default: _withCtx(({row}) => [\n _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n id: 'attendance-on-time-' + row.id,\n key: 'attendance-on-time-' + row.id,\n type: \"radio\",\n name: 'attendance-' + row.id,\n value: \"On Time\",\n checked: row.status == 'On Time',\n \"onUpdate:modelValue\": ($event: any) => ((row.status) = $event),\n class: \"h-5 w-5 border-gray-300 text-brand-500 focus:ring-brand-500\",\n onChange: ($event: any) => (updateStatus(row.id, 'On Time'))\n }, null, 40, _hoisted_5)), [\n [_vModelRadio, row.status]\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Excused\",\n \"class-name\": \"w-34 md:w-50\",\n \"header-class-name\": \"w-34 md:w-50\"\n }, {\n default: _withCtx(({row}) => [\n _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n id: 'attendance-late-' + row.id,\n key: 'attendance-late-' + row.id,\n type: \"radio\",\n name: 'attendance-' + row.id,\n value: \"Excused\",\n checked: row.status == 'Excused',\n \"onUpdate:modelValue\": ($event: any) => ((row.status) = $event),\n class: \"h-5 w-5 border-gray-300 text-brand-500 focus:ring-brand-500\",\n onChange: ($event: any) => (updateStatus(row.id, 'Excused'))\n }, null, 40, _hoisted_6)), [\n [_vModelRadio, row.status]\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Absent\",\n \"class-name\": \"w-34 md:w-50\",\n \"header-class-name\": \"w-34 md:w-50\"\n }, {\n default: _withCtx(({row}) => [\n _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n id: 'attendance-absent-' + row.id,\n key: 'attendance-absent-' + row.id,\n type: \"radio\",\n name: 'attendance-' + row.id,\n value: \"Absent\",\n checked: row.status == 'Absent',\n \"onUpdate:modelValue\": ($event: any) => ((row.status) = $event),\n class: \"h-5 w-5 border-gray-300 text-brand-500 focus:ring-brand-500\",\n onChange: ($event: any) => (updateStatus(row.id, 'Absent'))\n }, null, 40, _hoisted_7)), [\n [_vModelRadio, row.status]\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_tw_button, {\n class: \"btn-base uppercase\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('closeAttendanceModal', false)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n onClick: submitAttendance,\n class: \"btn-base btn-brand\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save \")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./AttendanceModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AttendanceModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_3 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full sm:p-6\" }\nconst _hoisted_4 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_5 = [\"innerHTML\"]\nconst _hoisted_6 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay, \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\n // Vue\n // import {\n\t// \tref\n\t// } from 'vue'\n\n //eslint-disable-next-line\n \n\t// name the component\n\tconst __default__ = { name: \"EmailDisplayModal\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: { \n\t\tsubject: {\n type: String\n },\n body: {\n type: String\n }\n\t},\n emits: ['closeEmailDisplayModal'],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n // Components\n\t\n\n // const notesModalOpen = ref(true)\n\n \n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createBlock(_unref(TransitionRoot), { as: \"template\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_2,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.subject), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"p\", {\n class: \"text-sm pt-5 leading-6 font-medium text-coolGray-600\",\n innerHTML: __props.body\n }, null, 8, _hoisted_5)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-brand uppercase\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('closeEmailDisplayModal', false)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Close \")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./EmailDisplayModal.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./EmailDisplayModal.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4ebca459\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n id: \"loading\",\n class: \"modal justify-center flex text-center items-center\"\n}\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"w-full flex justify-center items-center\" }, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n class: \"text-center animate-spin h-12 w-12 text-black\",\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\"\n }, [\n /*#__PURE__*/_createElementVNode(\"circle\", {\n class: \"opacity-25\",\n cx: \"12\",\n cy: \"12\",\n r: \"10\",\n stroke: \"white\",\n \"stroke-width\": \"4\"\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n class: \"opacity-100\",\n fill: \"white\",\n d: \"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n })\n ])\n], -1))\nconst _hoisted_3 = { class: \"mt-4 font-bold tracking-wide text-white drop-shadow-lg text-3xl\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ])\n ])\n ])\n ]))\n}","\n\n\nexport default {\n name: 'FullScreenLoading',\n setup(){\n return { }\n }\n};\n","import { render } from \"./FullScreenLoading.vue?vue&type=template&id=4ebca459&scoped=true&ts=true\"\nimport script from \"./FullScreenLoading.vue?vue&type=script&lang=ts\"\nexport * from \"./FullScreenLoading.vue?vue&type=script&lang=ts\"\n\nimport \"./FullScreenLoading.vue?vue&type=style&index=0&id=4ebca459&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4ebca459\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, Transition as _Transition, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = {\n \"aria-live\": \"assertive\",\n class: \"fixed inset-0 flex items-end px-6 py-2 pointer-events-none sm:items-start z-50\"\n}\nconst _hoisted_2 = { class: \"w-full flex flex-col items-center space-y-4 sm:items-end\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"rounded-none bg-white border border-gray-200 max-w-md w-full shadow-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden\"\n}\nconst _hoisted_4 = { class: \"p-4\" }\nconst _hoisted_5 = { class: \"flex items-start\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"flex-shrink-0\"\n}\nconst _hoisted_7 = {\n key: 1,\n class: \"flex-shrink-0\"\n}\nconst _hoisted_8 = { class: \"ml-3 w-0 flex-1\" }\nconst _hoisted_9 = { class: \"font-bold text-gray-900\" }\nconst _hoisted_10 = { class: \"text-gray-500\" }\nconst _hoisted_11 = { class: \"ml-4 flex flex-shrink-0\" }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Close\", -1)\n\nimport {\n\t\tref \n\t} from 'vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"TwNotification\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tduration: {\n\t\t\ttype: Number,\n\t\t\tdefault: 5000\n\t\t},\n\t\ticon: {\n\t\t\ttype: Number,\n\t\t\tdefault: 1,\n\t\t},\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t},\n\t\tsubtitle: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t}\n\t},\n emits: [\n\t\t'close'\n\t],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\t\n\n\t\n\n\tconst show = ref(true);\n\n\tsetTimeout(() => {\n\t\tclose()\n\t}, props.duration)\n\n\tfunction close() {\n\t\tshow.value = false\n\t\temit('close')\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_CheckCircleIcon = _resolveComponent(\"CheckCircleIcon\")!\n const _component_ExclamationCircleIcon = _resolveComponent(\"ExclamationCircleIcon\")!\n const _component_XMarkIcon = _resolveComponent(\"XMarkIcon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_Transition, {\n \"enter-active-class\": \"transform ease-out duration-300 transition\",\n \"enter-from-class\": \"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2\",\n \"enter-to-class\": \"translate-y-0 opacity-100 sm:translate-x-0\",\n \"leave-active-class\": \"transition ease-in duration-100\",\n \"leave-from-class\": \"opacity-100\",\n \"leave-to-class\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n (show.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (__props.icon == 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(_component_CheckCircleIcon, {\n class: \"h-8 w-8 text-green-500\",\n \"aria-hidden\": \"true\"\n })\n ]))\n : _createCommentVNode(\"\", true),\n (__props.icon == 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createVNode(_component_ExclamationCircleIcon, {\n class: \"h-8 w-8 text-red-500\",\n \"aria-hidden\": \"true\"\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"p\", _hoisted_9, _toDisplayString(__props.title), 1),\n _createElementVNode(\"p\", _hoisted_10, _toDisplayString(__props.subtitle), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"button\", {\n type: \"button\",\n onClick: close,\n class: \"inline-flex rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2\"\n }, [\n _hoisted_12,\n _createVNode(_component_XMarkIcon, {\n class: \"h-5 w-5\",\n \"aria-hidden\": \"true\"\n })\n ])\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./TwNotification.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwNotification.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import script from \"./TwTableDropdown.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./TwTableDropdown.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","class Event{\n events: any;\n\n constructor(){\n this.events = {};\n }\n\n on(eventName: string, fn: any) {\n this.events[eventName] = this.events[eventName] || [];\n this.events[eventName].push(fn);\n }\n\n off(eventName: string, fn: any) {\n if (this.events[eventName]) {\n for (let i = 0; i < this.events[eventName].length; i++) {\n if (this.events[eventName][i] === fn) {\n this.events[eventName].splice(i, 1);\n break;\n }\n }\n }\n }\n\n trigger(eventName: string, data: any) {\n if (this.events[eventName]) {\n this.events[eventName].forEach(function(fn: any) {\n fn(data);\n });\n }\n }\n}\n\nexport default new Event();","\n\n","import script from \"./TwTableColumn.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./TwTableColumn.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\n\n\n\t// eslint-disable-next-line no-unused-vars\n\t\n\t// name the component\n\tconst __default__ = { name: 'TwTableRow' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\trow: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {return {}}\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\t\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\")\n}\n}\n\n})","import script from \"./TwTableRow.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwTableRow.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\n\n\n\t// eslint-disable-next-line no-unused-vars\n\t\n\t// name the component\n\tconst __default__ = { name: 'TwTableHeader' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tdefaultSort: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {return {prop: null, order: 'ASC'}}\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\t\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", { ref: \"column\" })\n}\n}\n\n})","import script from \"./TwTableHeader.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwTableHeader.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export const createExport = /* GraphQL */ `\n mutation CreateExport(\n $input: CreateExportInput!\n $condition: ModelExportConditionInput\n ) {\n createExport(input: $input, condition: $condition) {\n id\n name\n }\n }\n`;\n\nexport const updateExport = /* GraphQL */ `\n mutation UpdateExport(\n $input: UpdateExportInput!\n $condition: ModelExportConditionInput\n ) {\n updateExport(input: $input, condition: $condition) {\n\t\tid\n type\n createdAt\n exportTable\n fieldMapping\n file\n name\n query\n recordIdList\n status\n user\n updatedAt\n }\n }\n`;","export const exportByType = /* GraphQL */ `\n query ExportByType(\n $type: String!\n $name: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelExportFilterInput\n $limit: Int\n $nextToken: String\n ) {\n exportByType(\n type: $type\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n type\n createdAt\n exportTable\n fieldMapping\n file\n name\n query\n recordIdList\n status\n user\n updatedAt\n }\n nextToken\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, normalizeClass as _normalizeClass, vShow as _vShow, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_3 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full sm:p-6\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"absolute top-0 left-0 w-full h-full z-50 bg-white bg-opacity-75\"\n}\nconst _hoisted_5 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_6 = { class: \"grid grid-cols-3 gap-4 grid-flow-row my-4 gap-y-8\" }\nconst _hoisted_7 = { class: \"col-span-1\" }\nconst _hoisted_8 = { class: \"col-span-1\" }\nconst _hoisted_9 = { class: \"col-span-1 flex items-end\" }\nconst _hoisted_10 = { class: \"col-span-1\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"block text-sm font-bold font-gotham text-gray-700 uppercase mb-1\" }, \" Available Fields \", -1)\nconst _hoisted_12 = { class: \"col-span-1 overflow-visible h-120 max-h-120 overflow-y-scroll border-gray-300 border\" }\nconst _hoisted_13 = { class: \"min-w-full divide-y divide-gray-300\" }\nconst _hoisted_14 = { class: \"max-h-120\" }\nconst _hoisted_15 = { class: \"w-full\" }\nconst _hoisted_16 = [\"onClick\"]\nconst _hoisted_17 = { class: \"col-span-1 space-y-2 flex justify-center flex-col items-center\" }\nconst _hoisted_18 = { class: \"col-span-1\" }\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"block text-sm font-bold font-gotham text-gray-700 uppercase mb-1\" }, \" Export Order \", -1)\nconst _hoisted_20 = { class: \"overflow-visible h-120 max-h-120 overflow-y-scroll border-gray-300 border\" }\nconst _hoisted_21 = { class: \"min-w-full divide-y divide-gray-300\" }\nconst _hoisted_22 = { class: \"max-h-120\" }\nconst _hoisted_23 = { class: \"w-full\" }\nconst _hoisted_24 = [\"onClick\"]\nconst _hoisted_25 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport api from \"@/utilities/api\"\n\t// Components\n\timport { \n\t\tDialog, \n\t\tDialogTitle, \n\t\tDialogDescription, \n\t\tDialogOverlay, \n\t\tTransitionChild,\n\t\tTransitionRoot\n\t} from '@headlessui/vue'\n\timport { Auth } from 'aws-amplify';\n\t// Mutations\n\timport { \n\t\tcreateExport,\n\t\tupdateExport\n\t} from './mutations'\n\n\timport { \n\t\texportByType\n\t} from './queries'\n\t\n\t// Value Lists\n\timport { \n\t\tSTUDENT_EXPORT_FIELDS,\n\t\tREGISTRTATION_EXPORT_FIELDS,\n\t\tCOURSE_EXPORT_FIELDS\n\t} from '@/utilities/exportFields.js'\n\n\t// Vue\n\timport {\n\t\tcomputed, \n\t\tonMounted, \n\t\tref\n\t} from 'vue'\t\n\n\timport {\n\t\tExport as ExportType\n\t} from '@/API'\n\n\timport queryAll from \"@/utilities/queryAll.js\"\n\n\t// XLSX\n\timport * as XLSX from 'xlsx/xlsx.mjs'\n\n\tinterface ExportField {\n\t\tavailableField: boolean\n\t\tlabel: string\n\t\tselected: boolean\n\t\tvalue: string\n\t}\n\t\n\t// name the component\n\tconst __default__ = { name: \"TwExport\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tall: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tnumRecordsExport: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0\n\t\t},\n\t\ttable: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\tshow: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\tdata: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => {return []}\n\t\t}\n\t},\n emits: ['closeExportModal'],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\t//#region imports\n\n\t// API\n\t\n\t\n\t//#endregion\n\t\n\tconst loading = ref(false)\n\n\tconst srcColToDbExportMap = ref([]);\n\tlet columnOptions = ref([])\n\tconst savedExportOptions = ref([])\n\tconst isModified = ref(false)\n\tconst exportName = ref('')\n\tconst exportNameValid = ref(true)\n\t\n\tonMounted(async () => {\n\t\tlet table = properCase(props.table.toString())\n\t\t\n\t\tlet today = new Date()\n\t\tlet day = today.getDate()\n\t\tlet month = today.getMonth()\n\t\tlet year = today.getFullYear()\n\t\tlet date = `${month+1}-${day}-${year}`\n\n\t\t// export\n\t\texportName.value = `${table} Export ${date}`\n\n\t\tif(props.table === 'student') {\n\t\t\tcolumnOptions.value = STUDENT_EXPORT_FIELDS\n\t\t}\n\t\telse if(props.table === 'registration') {\n\t\t\tcolumnOptions.value = REGISTRTATION_EXPORT_FIELDS\n\t\t}\n\t\telse if(props.table === 'course'){\n\t\t\tcolumnOptions.value = COURSE_EXPORT_FIELDS\n\t\t}\n\t\tclearAll()\n\t\tisModified.value = false\n\t\tawait getExports()\n\t})\n\n\n\n\n\t/**\n\t * Toggles dynamic css after selecting a row\n\t * @param {number} index The selected row's index position\n\t * @param {string} side Which column the field is being selected on\n\t * @function selectForExport\n\t */\n\tfunction selectRow(index: number, side: string){\n\t\tif(side === 'left')\n\t\t\tcolumnOptions.value[index].selected = !columnOptions.value[index].selected\n\t\telse\n\t\t\tsrcColToDbExportMap.value[index].selected = !srcColToDbExportMap.value[index].selected\n\t}\n\n\t/**\n\t * Determine if the selected options already exists within the export array\n\t * @param {object} option The selected export option\n\t */\n\tfunction containsOption(option: object) {\n\treturn srcColToDbExportMap.value.some(item => item === option);\n\t}\n\n\t/**\n\t * Moves the selected field(s) to either Available Fields or Export Order\n\t * @function move\n\t */\n\tfunction move(){\n\t\tisModified.value = true\n\t\tcolumnOptions.value.map(option =>{\n\t\t\tif(option.selected && !containsOption(option)){\n\t\t\t\tsrcColToDbExportMap.value.push(option)\n\t\t\t\toption.availableField = !option.availableField\n\t\t\t\toption.selected = !option.selected\n\t\t\t}\n\t\t\telse if(option.selected){\n\t\t\t\toption.availableField = !option.availableField\n\t\t\t\toption.selected = !option.selected\n\t\t\t\tlet index = srcColToDbExportMap.value.findIndex(item => item === option)\n\t\t\t\tsrcColToDbExportMap.value.splice(index, 1)\n\t\t\t}\n\t\t})\n\t}\n\n\t/**\n\t * Moves all fields to the Export Order side\n\t * @function moveAll\n\t */\n\tfunction moveAll(){\n\t\tisModified.value = true\n\t\tcolumnOptions.value.map(option => {\n\t\t\toption.availableField = false\n\t\t})\n\n\t\tsrcColToDbExportMap.value = columnOptions.value\n\t}\n\n\t/**\n\t * Moves all fields to the Available Fields side\n\t * @function clearAll\n\t */\n\tfunction clearAll(){\n\t\tisModified.value = true\n\t\tfor(let i = 0; i < columnOptions.value.length; i++){\n\t\t\t\n\t\t\tcolumnOptions.value[i].selected = false\n\t\t\tcolumnOptions.value[i].availableField = true\n\t\t}\n\n\t\tsrcColToDbExportMap.value = []\n\t}\n\n\tconst selectedExport = ref({} as ExportType)\n\tconst saveButtonLabel = computed(() => {\n\t\tif(selectedExport.value?.id) return \"Update Export Settings\"\n\t\treturn \"Save Export Settings\"\n\t})\n\t/**\n\t * Determines what type of export to run\n\t * @function clientExport\n\t*/\n\tasync function exportData(){\n\n\t\tif(props.numRecordsExport <= 500 && !props.all) {\n\t\t\tloading.value = true\n\t\t\tawait clientExport()\n\t\t\tloading.value = false\n\t\t\temit('closeExportModal', false)\n\n\t\t}\n\t\t// else{\n\t\t// \tserverExport()\n\t\t// \temit('closeExportModal', false)\n\t\t// }\n\t\t\n\t}\n\n\t/**\n\t * Capitalize the first letter of each word\n\t * @param {string} value String value needing to have first letter of each word capitalized\n\t * @function properCase\n\t */\n\tfunction properCase(value: string){\n\t\t// return value.charAt(0).toUpperCase() + value.slice(1);\n\t\treturn value.replace(/\\b\\w/g, char => char.toUpperCase())\n\t}\n\n\t/**\n\t * Export data on client side\n\t * @function clientExport\n\t */\n\tasync function clientExport(){\n\n\t\t// build query\n\t\tlet fieldList = srcColToDbExportMap.value.map(field =>{\n\t\t\treturn field.value\n\t\t}).join('\\n')\n\n\t\tlet query = ''\n\t\tlet queryName = ''\n\t\tif(props.table === 'student') {\n\t\t\tquery = `\n\t\t\t\tquery GetStudent($id: ID!) {\n\t\t\t\t\tgetStudent(id: $id) {\n\t\t\t\t\t\t${fieldList}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t`;\n\t\t\tqueryName = 'getStudent'\n\t\t}\n\t\telse if(props.table === 'registration'){\n\t\t\tquery = `\n\t\t\t\tquery GetRegistration($id: ID!) {\n\t\t\t\t\tgetRegistration(id: $id) {\n\t\t\t\t\t\t${fieldList}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t`;\n\t\t\tqueryName = 'getRegistration'\n\t\t}\n\t\telse if(props.table === 'course'){\n\t\t\tquery = `\n\t\t\t\tquery GetCourse($id: ID!) {\n\t\t\t\t\tgetCourse(id: $id) {\n\t\t\t\t\t\t${fieldList}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t`;\n\t\t\tqueryName = 'getCourse'\n\t\t}\n\t\t\n\n\t\t// query for all in found set & bulid export object\n\t\tlet exportData = []\n\t\tlet headers = []\n\t\tfor(const field of srcColToDbExportMap.value){\n\t\t\theaders.push(field.label)\n\t\t}\n\t\t\n\t\texportData.push(headers)\n\n\t\tfor(const row of props.data){\n\t\t\tconst input = {\n\t\t\t\tid: row\n\t\t\t}\n\t\t\n\t\t\tconst res = await api(query, input)\n\t\t\t// let exportRow = []\n\t\t\tlet exportRows:string[][] = []\n\t\t\t// for(const field of srcColToDbExportMap.value){\n\t\t\tfor(let k = 0; k < srcColToDbExportMap.value.length; k++) {\n\t\t\t\tconst field = srcColToDbExportMap.value[k]\n\t\t\t\tlet path = field.value.replace(/\\{/g, \".\").replace(/\\}/g, \"\").replace(/\\(.*\\)/g, \"\")\n\t\t\t\tlet col = resolve(path, res.data[queryName])\n\t\t\t\tif(Array.isArray(col)) {\n\t\t\t\t\tfor(let i = 0; i < col.length; i++) {\n\t\t\t\t\t\tif(!exportRows[i]) exportRows.push(exportRows.length ? [...exportRows[0]] : [])\n\t\t\t\t\t}\n\t\t\t\t\tfor(let j = 0; j < col.length; j++) {\n\t\t\t\t\t\texportRows[j].push(col[j])\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif(!exportRows[0]) exportRows.push([])\n\t\t\t\t\texportRows.forEach(row => {\n\t\t\t\t\t\trow.push(col)\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(exportRows.length) {\n\t\t\t\tfor(let i = 0; i < exportRows.length; i++) {\n\t\t\t\t\texportData.push(exportRows[i])\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\t// let today = new Date()\n\t\t// let day = today.getDay()\n\t\t// let month = today.getMonth()\n\t\t// let year = today.getFullYear()\n\t\t// let date = `${month}-${day}-${year}`\n\t\t// let table = properCase(props.table.toString())\n\n\t\t// export\n\t\tlet fileName = `${exportName.value}.xlsx`\n\t\tlet worksheetName = \"Export\";\n\n\t\t// if(typeof console !== 'undefined') console.log(new Date());\n\t\tlet workbook = XLSX.utils.book_new()\n\t\tlet worksheet = XLSX.utils.aoa_to_sheet(exportData);\n\n\t\t// add worksheet to workbook\n\t\tXLSX.utils.book_append_sheet(workbook, worksheet, worksheetName);\n\n\t\t// write workbook\n\t\t// if(typeof console !== 'undefined') console.log(new Date());\n\t\tXLSX.writeFile(workbook, fileName);\n\t\t// if(typeof console !== 'undefined') console.log(new Date());\n\t}\n\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\n\t/**\n\t * Export data using server side Lambda\n\t * @function serverExport\n\t*/\n\t// async function serverExport(){\n\t// \t// create export record\n\t// \tconst user = await Auth.currentAuthenticatedUser()\n\t// \tconst input = {\n\t// \t\ttype: 'd',\n\t// \t\tname: new Date().getTime(),\n\t// \t\tfieldMapping: JSON.stringify(srcColToDbExportMap.value),\n\t// \t\tstatus: 'processing',\n\t// \t\tuser: user.username,\n\t// \t\trecordIdList: ['all'],\n\t// \t\texportTable: 'registration'\n\t// \t\t// query: JSON.stringify(props.query)\n\t// \t}\n\n\t// \ttry{\n\t// \t\tconst res = await api(createExport, {input})\n\t// \t\tnotificationTitle.value = 'Success'\n\t// \t\tnotificationSubtitle.value = 'Your export has started running in the background. You will be able to download the file under the Exports screen when it is complete.'\n\t// \t\tnotificationIcon.value = 0\n\t// \t\tshowNotification.value = true\n\t// \t}\n\t// \tcatch(e) {\n\t// \t\tconsole.log(e)\n\t// \t}\n\n\t// }\n\n\tfunction resolve(path:string, obj:any) {\n\t\treturn path.split('.').reduce(function(prev, curr) {\n\t\t\tif(Array.isArray(prev)) {\n\t\t\t\treturn prev ? prev.map(item => {return item[curr]}) : null\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn prev ? prev[curr] : null\n\t\t\t}\n\t\t}, obj || self)\n\t}\n\n\t// function resolveRelatedItems(path:string, obj:any) {\n\t// \treturn path.split('.').reduce(function(prev, curr) {\n\t// \t\tif(prev == 'items') {\n\t// \t\t\treturn\n\t// \t\t}\n\t// \t\treturn prev ? prev[curr] : null\n\t// \t}, obj || self)\n\t// }\n\n\tasync function getExports() {\n\t\t// load saved exports\n\t\tlet res:any = await queryAll(exportByType, {type: 's-' + props.table}, \"exportByType\")\n\t\tsavedExportOptions.value = res.map((_export:ExportType) => {\n\t\t\treturn {\n\t\t\t\tlabel: _export.name,\n\t\t\t\tvalue: _export\n\t\t\t}\n\t\t})\n\t}\n\n\n\tasync function save() {\n\t\t// validate\n\t\texportNameValid.value = true\n\t\tif(!exportName.value) {\n\t\t\texportNameValid.value = false\n\t\t\treturn\n\t\t}\n\n\t\t\n\t\tlet input = {\n\t\t\ttype: 's-' + props.table,\n\t\t\tname: exportName.value,\n\t\t\tfieldMapping: JSON.stringify(srcColToDbExportMap.value),\n\t\t\texportTable: 'registration'\n\t\t}\n\t\t\n\t\ttry {\n\t\t\t// update if existing import selected\n\t\t\tif(selectedExport.value?.id) {\n\t\t\t\tinput.id = selectedExport.value?.id\n\t\t\t\tinput.createdAt = selectedExport.value?.createdAt\n\t\t\t\tconst res = await api(updateExport, {input})\n\t\t\t\tawait getExports()\n\t\t\t\tselectedExport.value = res?.data?.updateExport\n\t\t\t\tnotificationTitle.value = 'Success'\n\t\t\t\tnotificationSubtitle.value = 'Your export settings have been updated.'\n\t\t\t\tnotificationIcon.value = 0\n\t\t\t\tshowNotification.value = true\n\t\t\t}\n\t\t\t// create otherwise\n\t\t\telse {\n\t\t\t\tconst res = await api(createExport, {input})\n\t\t\t\tnotificationTitle.value = 'Success'\n\t\t\t\tnotificationSubtitle.value = 'Your export settings have been saved.'\n\t\t\t\tnotificationIcon.value = 0\n\t\t\t\tshowNotification.value = true\n\t\t\t\tawait getExports()\n\t\t\t}\n\n\t\t\t\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\n\t\treturn\n\t}\n\n\tfunction setImport() {\n\t\tif(selectedExport.value?.id) {\n\t\t\texportName.value = selectedExport.value.name\n\t\t\tclearAll()\n\t\t\tJSON.parse(selectedExport.value.fieldMapping || \"[]\").forEach((field:any) => {\n\t\t\t\t// find index and select field\n\t\t\t\tlet index = columnOptions.value.findIndex((col:any) => {\n\t\t\t\t\treturn col.value === field.value\n\t\t\t\t})\n\t\t\t\tif(index > -1) selectRow(index, 'left')\n\t\t\t})\n\t\t\t// move selected fields\n\t\t\tmove()\n\t\t}\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_loading = _resolveComponent(\"tw-loading\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: true\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n open: true,\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_2,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n (loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_tw_loading)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 font-gotham uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Export \" + _toDisplayString(__props.table) + \"s \", 1)\n ]),\n _: 1\n }),\n _createVNode(_unref(DialogDescription), {\n as: \"h3\",\n class: \"block mb-8 font-bold text-gray-500 text-sm\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Exporting \" + _toDisplayString(__props.all ? 'all' : __props.numRecordsExport) + \" \" + _toDisplayString(__props.table) + \"s \", 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_tw_select, {\n modelValue: selectedExport.value,\n \"onUpdate:modelValue\": [\n _cache[1] || (_cache[1] = ($event: any) => ((selectedExport).value = $event)),\n setImport\n ],\n label: \"Existing Export\",\n clearable: \"\",\n options: savedExportOptions.value\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_tw_input, {\n modelValue: exportName.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((exportName).value = $event)),\n required: \"\",\n validation: \"Please provide a name for this export.\",\n isValid: exportNameValid.value,\n label: \"Export Name\"\n }, null, 8, [\"modelValue\", \"isValid\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_tw_button, {\n onClick: save,\n disabled: !isModified.value,\n class: \"btn-base btn-brand w-full\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(saveButtonLabel.value), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"table\", _hoisted_13, [\n _createElementVNode(\"tbody\", _hoisted_14, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(columnOptions), (col, i) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"tr\", { key: col }, [\n _createElementVNode(\"td\", _hoisted_15, [\n _createElementVNode(\"button\", {\n onClick: ($event: any) => (selectRow(i, 'left')),\n class: _normalizeClass([{'bg-brand-500 text-white' : col.selected}, \"rounded-none hover:bg-brand-300 min-w-full text-left px-3 py-1 text-sm\"])\n }, _toDisplayString(col.label), 11, _hoisted_16)\n ])\n ])), [\n [_vShow, col.availableField]\n ])\n }), 128))\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_tw_button, {\n onClick: move,\n class: \"btn-base btn-brand w-40\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Move Selected \")\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n onClick: moveAll,\n class: \"btn-base btn-brand w-40\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Move All \")\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n onClick: clearAll,\n class: \"btn-base btn-brand w-40\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Clear All \")\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"table\", _hoisted_21, [\n _createElementVNode(\"tbody\", _hoisted_22, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(srcColToDbExportMap.value, (col, i) => {\n return (_openBlock(), _createElementBlock(\"tr\", { key: col }, [\n _createElementVNode(\"td\", _hoisted_23, [\n _createElementVNode(\"button\", {\n onClick: ($event: any) => (selectRow(i, 'right')),\n class: _normalizeClass([{'bg-brand-500 text-white' : col.selected}, \"rounded-none hover:bg-brand-300 min-w-full text-left px-3 py-1 text-sm\"])\n }, _toDisplayString(col.label), 11, _hoisted_24)\n ])\n ]))\n }), 128))\n ])\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_tw_button, {\n class: \"btn-base uppercase\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (emit('closeExportModal', false)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n onClick: exportData,\n class: \"btn-base btn-brand uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Export \")\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ], 64))\n}\n}\n\n})","import script from \"./TwExport.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TwExport.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","/* eslint-disable */\n// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.\n\nconst awsmobile = {\n \"aws_project_region\": \"us-east-1\",\n \"aws_cloud_logic_custom\": [\n {\n \"name\": \"courseRegistrationQueue\",\n \"endpoint\": \"https://n0qayffxq8.execute-api.us-east-1.amazonaws.com/prod\",\n \"region\": \"us-east-1\"\n },\n {\n \"name\": \"quickbooks\",\n \"endpoint\": \"https://vvxdaf9z8i.execute-api.us-east-1.amazonaws.com/prod\",\n \"region\": \"us-east-1\"\n }\n ],\n \"aws_appsync_graphqlEndpoint\": \"https://vbdfsj7lbbcpdbrpl3i4a7ntei.appsync-api.us-east-1.amazonaws.com/graphql\",\n \"aws_appsync_region\": \"us-east-1\",\n \"aws_appsync_authenticationType\": \"AMAZON_COGNITO_USER_POOLS\",\n \"aws_cognito_identity_pool_id\": \"us-east-1:42c5f6d0-ac8a-4765-a44a-cd954bb53bc3\",\n \"aws_cognito_region\": \"us-east-1\",\n \"aws_user_pools_id\": \"us-east-1_CKjO32c3q\",\n \"aws_user_pools_web_client_id\": \"7qb2duvs1gb8r248jvh1vlgg2i\",\n \"oauth\": {},\n \"aws_cognito_username_attributes\": [\n \"EMAIL\"\n ],\n \"aws_cognito_social_providers\": [],\n \"aws_cognito_signup_attributes\": [\n \"EMAIL\"\n ],\n \"aws_cognito_mfa_configuration\": \"OFF\",\n \"aws_cognito_mfa_types\": [\n \"SMS\"\n ],\n \"aws_cognito_password_protection_settings\": {\n \"passwordPolicyMinLength\": 8,\n \"passwordPolicyCharacters\": []\n },\n \"aws_cognito_verification_mechanisms\": [\n \"EMAIL\"\n ],\n \"aws_user_files_s3_bucket\": \"courseregistrationportal120918-prod\",\n \"aws_user_files_s3_bucket_region\": \"us-east-1\"\n};\n\n\nexport default awsmobile;\n","/* eslint-disable */\nimport { createApp } from 'vue'\nimport App from './App.vue'\nimport { createPinia } from 'pinia'\n\nimport { router } from './router/index'\nimport './assets/css/index.css'\nimport '@vueup/vue-quill/dist/vue-quill.snow.css'\n\n// import global components\nimport DataDisplay from '@/components/DataDisplay/DataDisplay.vue'\nimport DescriptionListItem from '@/components/DataDisplay/DescriptionListItem.vue'\nimport TwBadge from '@/components/Badges/TwBadge.vue'\nimport TwButton from '@/components/Buttons/TwButton.vue'\nimport TwCheckbox from '@/components/Checkboxes/TwCheckbox.vue'\nimport TwSelect from '@/components/SelectMenus/TwSelect.vue'\nimport TwInput from '@/components/InputGroups/TwInput.vue'\nimport TwConfirmationCode from '@/components/InputGroups/TwConfirmationCode.vue'\nimport TwTable from '@/components/Tables/TwTable.vue'\nimport TwLoading from '@/components/Loading/TwLoading.vue'\nimport TwNavbar from '@/components/Navbar/TwNavbar.vue'\nimport TwSlider from '@/components/Slider/TwSlider.vue'\nimport TwDropdown from '@/components/Dropdowns/TwDropdown.vue'\nimport StudentNotesModal from '@/components/Modals/StudentNotesModal.vue'\nimport EmailModal from '@/components/Modals/EmailModal.vue'\nimport AttendanceModal from '@/components/Modals/AttendanceModal.vue'\nimport EmailDisplayModal from '@/components/Modals/EmailDisplayModal.vue'\nimport TwFullLoading from '@/components/Loading/FullScreenLoading.vue'\nimport TwNotification from '@/components/Notifications/TwNotification.vue'\nimport TwTableDropdown from '@/components/Tables/TwTableDropdown.vue'\nimport TwTableColumn from '@/components/Tables/TwTableColumn.vue'\nimport TwTableRow from '@/components/Tables/TwTableRow.vue'\nimport TwTableHeader from '@/components/Tables/TwTableHeader.vue'\nimport TwExport from '@/components/Export/TwExport.vue'\nimport { Amplify } from 'aws-amplify';\nimport awsconfig from './aws-exports';\nAmplify.configure(awsconfig);\n\nAmplify.configure({\n\tAPI: {\n\t\tendpoints: [\n\t\t {\n\t\t\tname: \"courseRegistrationQueue\",\n\t\t\tendpoint: process.env.VUE_APP_REGISTRATION_QUEUE_API_ENDPOINT,\n\t\t },\n\t\t {\n\t\t\tname: \"quickbooks\",\n\t\t\tendpoint: process.env.VUE_APP_QUICKBOOKS_API_ENDPOINT,\n\t\t },\n\t\t],\n\t}\n})\n\n// import icons from Tailwind's Hero Icons\nimport {\n BarsArrowUpIcon,\n\tUserIcon,\n\tHomeIcon,\n ExclamationCircleIcon,\n\tCheckCircleIcon as CheckCircleIcon,\n\tFlagIcon as SolidFlagIcon,\n\tPencilIcon,\n PlusSmallIcon,\n\tUserCircleIcon,\n\tChevronDownIcon as ChevronDownIcon,\n\tCheckIcon,\n\tEllipsisVerticalIcon,\n\tMagnifyingGlassIcon,\n\tDocumentTextIcon,\n\tBarsArrowDownIcon\n} from '@heroicons/vue/24/solid'\n\nimport { \n\tChevronDownIcon as ChevronDownIconMini, \n\tFunnelIcon as FunnelIconMini, \n\tChevronUpIcon as ChevronUpIconMini,\n\tArrowTopRightOnSquareIcon as ArrowTopRightOnSquareIconMini,\n\tArrowRightIcon as ArrowRightIconMini,\n\tXMarkIcon as XMarkIconMini,\n\tExclamationTriangleIcon as ExclamationTriangleIconMini,\n\tCheckCircleIcon as CheckCircleIconMini,\n\tArrowPathIcon as ArrowPathIconMini,\n\tUserIcon as UserIconMini,\n\tPencilIcon as PencilIconMini\n} from '@heroicons/vue/20/solid'\n\nimport { \n\tXCircleIcon, \n\tChevronRightIcon,\n\tChevronLeftIcon,\n\tXMarkIcon, \n\tDocumentIcon,\n\tSquaresPlusIcon,\n\tPencilIcon as PencilIconOutline,\n\tComputerDesktopIcon,\n\tTrashIcon,\n\tArrowTopRightOnSquareIcon,\n\tCurrencyDollarIcon,\n\tUserIcon as UserIconOutline,\n\tUserCircleIcon as UserCircleIconOutline,\n\tAcademicCapIcon,\n\tCalendarDaysIcon,\n\tListBulletIcon,\n\tDocumentArrowUpIcon,\n\tClipboardDocumentIcon\n} from '@heroicons/vue/24/outline'\n// import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'\n\nconst pinia = createPinia()\n// pinia.use(piniaPluginPersistedstate)\n\nexport function extractErrorMessage(e: any){\n\tvar message = ''\n\ttry{\n\t \tif(e.errors) message = e.errors[0].message\n\t\telse if(e.response.data.message) message = e.response.data.message\n\t\telse if(e.message) message = e.message\n\t\telse if(e.data) message = e.data.message\n\t\telse message = e\n\t}\n\tcatch(syntaxError){\n\t\tmessage = e\n\t}\n\treturn message\n}\n\n/**\n * Capitalize the first letter of each word\n * @param {string} value String value needing to have first letter of each word capitalized\n * @function properCase\n */\nexport function properCase(value: string){\n\treturn value.replace(/\\b\\w/g, char => char.toUpperCase())\n}\n\n// extend types\ndeclare module '@vue/runtime-core' {\n\tinterface ComponentCustomProperties {\n\t $filters: {\n\t\tage: (date: string|null|undefined) => number | string,\n\t\tformatDate: (date: string|null|undefined) => number | string,\n\t\tformatTime: (time: string|null|undefined) => number | string,\n\t\tformatTimeShort: (time: string|null|undefined, time2: string|null|undefined) => number | string,\n\t\tformatTimestamp: (date: string|null|undefined) => number | string,\n\t\tformatTimestampSeconds: (date: string|null|undefined) => number | string,\n\t\tformatUSD:(amount: number) => string,\n\t\tconvertIsoToLocal: (isoString: string|null|undefined, timezone: string) => string | undefined,\n\t\tgetTime: (date: string|null|undefined) => number | string,\n\t\tconvertTime: (time: string|null|undefined) => number | string,\n\t },\n\t badgeColor: (str: string) => string\n\t}\n}\n\nconst app = createApp(App)\n\n// Set up global filters\napp.config.globalProperties.$filters = {\n\tage(date: string|null|undefined) {\n\t\tif(!date) return ''\n\t\tlet today = new Date();\n\t\tlet birthDate = new Date(date)\n\t\tlet age = today.getFullYear() - birthDate.getFullYear()\n\t\tlet month = today.getMonth() - birthDate.getMonth()\n\t\t// If birthday hasn't happened yet this year => Subtract a year\n\t\tif(month < 0 || (month === 0 && today.getDate() < birthDate.getDate())) age--\n\t\treturn age\n\t},\n\tformatDate(date: string|null|undefined){\n\t\tif(!date) return ''\n\t\tlet formattedDate = new Date(date).toLocaleDateString(\"en-us\", {timeZone: 'UTC'})\n\t\treturn formattedDate\n\t},\n\tformatTime(time: string|null|undefined){\n\t\tif(!time) return ''\n\t\tlet split = time.split(\":\")\n\t\tlet hour = parseInt(split[0])\n\t\tlet minute = split[1]\n\t\t\n\t\tlet timeOfDay = hour < 12 ? 'AM' : 'PM'\n\t\thour = hour <= 12 ? hour === 0 ? 12 : hour : hour - 12\n\t\treturn `${hour}:${minute} ${timeOfDay}`\n\t},\n\tformatTimeShort(time: string|null|undefined, time2: string|null|undefined){\n\t\tif(!time || !time2) return ''\n\t\tlet hyphen = '\\u2010'\n\t\tlet split = time.split(\":\")\n\t\tlet hour = parseInt(split[0])\n\t\tlet minute = split[1]\n\t\tminute = minute == '00' ? '' : `:${minute}`\n\t\tlet timeOfDay = hour < 12 ? 'AM' : 'PM'\n\t\thour = hour <= 12 ? hour === 0 ? 12 : hour : hour - 12\n\n\t\tlet split2 = time2.split(\":\")\n\t\tlet hour2 = parseInt(split2[0])\n\t\tlet minute2 = split2[1]\n\t\tminute2 = minute2 == '00' ? '' : `:${minute2}`\n\t\tlet timeOfDay2 = hour2 < 12 ? 'AM' : 'PM'\n\t\thour2 = hour2 <= 12 ? hour2 === 0 ? 12 : hour2 : hour2 - 12\n\n\t\tif(timeOfDay == timeOfDay2) {\n\t\t\treturn `${hour}${minute} ${hyphen} ${hour2}${minute2} ${timeOfDay}`\n\t\t}\n\t\telse {\n\t\t\treturn `${hour}${minute} ${timeOfDay} ${hyphen} ${hour2}${minute2} ${timeOfDay2}`\n\t\t}\n\t\t\n\t},\n\tformatTimestamp(date: string|null|undefined){\n\t\tif(!date) return ''\n\t\tlet _date = new Date(date)\n\t\tlet day = _date.getDate()\n\t\tlet month = _date.getMonth()\n\t\tlet year = _date.getFullYear()\n\t\tlet hours = _date.getHours()\n\t\tlet minutes = String(_date.getMinutes()).padStart(2, \"0\")\n\n\t\t// Determine AM/PM\n\t\tlet timeOfDay = hours < 12 ? 'AM' : 'PM'\n\t\t\n\t\t// Convert to 12 hour time\n\t\thours = hours < 13 ? hours === 0 ? 12 : hours : hours - 12\n\n\t\t// Get full month name from month number\n\t\tlet newDate = new Date()\n\t\tnewDate.setMonth(month )\n\t\tlet monthFull = newDate.toLocaleString([], { month: 'long' })\n\n\t\treturn `${monthFull} ${day}, ${year} at ${hours}:${minutes} ${timeOfDay}`\t\t\n\t},\n\tformatTimestampSeconds(date: string|null|undefined){\n\t\tif(!date) return ''\n\t\tlet _date = new Date(date)\n\t\tlet day = _date.getDate()\n\t\tlet month = _date.getMonth()\n\t\tlet year = _date.getFullYear()\n\t\tlet hours = _date.getHours()\n\t\tlet minutes = String(_date.getMinutes()).padStart(2, \"0\")\n\t\tlet seconds = String(_date.getSeconds()).padStart(2, \"0\")\n\t\tlet miliseconds = String(_date.getMilliseconds()).padStart(2, \"0\")\n\n\t\t// Determine AM/PM\n\t\tlet timeOfDay = hours < 12 ? 'AM' : 'PM'\n\t\t\n\t\t// Convert to 12 hour time\n\t\thours = hours < 13 ? hours === 0 ? 12 : hours : hours - 12\n\n\t\t// Get full month name from month number\n\t\tlet newDate = new Date()\n\t\tnewDate.setMonth(month )\n\t\tlet monthFull = newDate.toLocaleString([], { month: 'long' })\n\n\t\treturn `${monthFull} ${day}, ${year} at ${hours}:${minutes}:${seconds}:${miliseconds} ${timeOfDay}`\t\t\n\t},\n\tformatUSD(amount: number) {\n const formatter = new Intl.NumberFormat('en-US', {style: 'currency', currency: 'USD'})\n return formatter.format(amount)\n },\n\tconvertIsoToLocal(isoString: string|null|undefined, timezone: string) {\n\t\tif(!isoString) return\n\t\t\n\t\tconst options: Intl.DateTimeFormatOptions = {\n\t\t timeZone: timezone,\n\t\t year: 'numeric',\n\t\t month: '2-digit',\n\t\t day: '2-digit',\n\t\t hour: '2-digit',\n\t\t minute: '2-digit',\n\t\t second: '2-digit',\n\t\t hour12: true\n\t\t};\n\t \n\t\tconst localString = new Date(isoString).toLocaleString('en-US', options);\n\t\treturn localString;\n\t},\n\tgetTime(date: string|null|undefined){\n\t\tif(!date) return ''\n\t\tlet _date = new Date(date)\n\t\tlet hours = _date.getHours()\n\t\tlet minutes = String(_date.getMinutes()).padStart(2, \"0\")\n\n\t\t// Determine AM/PM\n\t\tlet timeOfDay = hours < 12 ? 'AM' : 'PM'\n\t\t\n\t\t// Convert to 12 hour time\n\t\thours = hours < 13 ? hours === 0 ? 12 : hours : hours - 12\n\n\t\treturn `${hours}:${minutes} ${timeOfDay}`\t\t\n\t},\n\tconvertTime(time: string|null|undefined){\n\t\tif(!time) return ''\n\t\t\n\t\tlet hours = Number(time.split(\":\")[0])\n\t\tlet minutes = time.split(\":\")[1]\n\n\t\t// Determine AM/PM\n\t\tlet timeOfDay = hours < 12 ? 'AM' : 'PM'\n\t\t\n\t\t// Convert to 12 hour time\n\t\thours = hours < 13 ? hours === 0 ? 12 : hours : hours - 12\n\n\t\treturn `${hours}:${minutes} ${timeOfDay}`\t\t\n\t}\n}\n\n/**\n * Determines the bagde color based on text string\n * @param {String} str - The text string displayed on the badge\n */\napp.config.globalProperties.badgeColor = (str: string) => {\n\tif(str === \"Draft\" || str === \"No Status\" || str === \"Dropped\" || str === \"Payment Failed\") {\n\t\treturn \"brand3\" // Orange\n\t}\n\telse if(str === \"Registering\" || str === \"Returning Student\" || str === \"Waitlisted\") {\n\t\treturn \"brand\" // Blue\n\t}\n\telse if(str === \"Underway\" || str === \"New Account\" || str === \"Registered\" || str === \"Payment Successful\") {\n\t\treturn \"brand4\" // Green\n\t}\n\telse if(str === \"Archived\" || str === \"New Registration\" || str === \"Transfered\") {\n\t\treturn \"brand2\" // Purple\n\t}\n\telse if(str === \"Pending\" || str === \"Payment Pending\") {\n\t\treturn \"yellow\" // Purple\n\t}\n\telse if(str === \"Cancelled\") {\n\t\treturn \"red\"\n\t}\n\telse {\n\t\treturn \"\"\n\t}\n}\n\n\n// Register icons globally\napp.component('BarsArrowUpIcon', BarsArrowUpIcon)\napp.component('CheckCircleIcon', CheckCircleIcon)\napp.component('ChevronDownIconMini', ChevronDownIconMini)\napp.component('ChevronUpIconMini', ChevronUpIconMini)\napp.component('ChevronRightIcon', ChevronRightIcon)\napp.component('ChevronLeftIcon', ChevronLeftIcon)\napp.component('ArrowRightIconMini', ArrowRightIconMini)\napp.component('SolidFlagIcon', SolidFlagIcon)\napp.component('CheckIcon', CheckIcon)\napp.component('ExclamationCircleIcon', ExclamationCircleIcon)\napp.component('HomeIcon', HomeIcon)\napp.component('PencilIcon', PencilIcon)\napp.component('PlusSmIcon', PlusSmallIcon)\napp.component('UserIcon', UserIcon)\napp.component('UserCircleIcon', UserCircleIcon)\napp.component('XCircleIcon', XCircleIcon)\napp.component('XMarkIcon', XMarkIcon)\napp.component('FunnelIconMini', FunnelIconMini)\napp.component('MagnifyingGlassIcon', MagnifyingGlassIcon)\napp.component('EllipsisVerticalIcon', EllipsisVerticalIcon)\napp.component('DocumentTextIconSolid', DocumentTextIcon)\napp.component('DocumentIcon', DocumentIcon)\napp.component('SquaresPlusIcon', SquaresPlusIcon)\napp.component('PencilIconOutline', PencilIconOutline)\napp.component('ComputerDesktopIcon', ComputerDesktopIcon)\napp.component('TrashIcon', TrashIcon)\napp.component('ArrowTopRightOnSquareIcon', ArrowTopRightOnSquareIcon)\napp.component('ArrowTopRightOnSquareIconMini', ArrowTopRightOnSquareIconMini)\napp.component('BarsArrowDownIcon', BarsArrowDownIcon)\napp.component('CurrencyDollarIcon', CurrencyDollarIcon)\napp.component('UserIconOutline', UserIconOutline)\napp.component('UserCircleIconOutline', UserCircleIconOutline)\napp.component('ListBulletIcon', ListBulletIcon)\napp.component('CalendarDaysIcon', CalendarDaysIcon)\napp.component('AcademicCapIcon', AcademicCapIcon)\napp.component('DocumentArrowUpIcon', DocumentArrowUpIcon)\napp.component('XMarkIconMini', XMarkIconMini)\napp.component('ExclamationTriangleIconMini', ExclamationTriangleIconMini)\napp.component('CheckCircleIconMini', CheckCircleIconMini)\napp.component('ClipboardDocumentIcon', ClipboardDocumentIcon)\napp.component('ArrowPathIconMini', ArrowPathIconMini)\napp.component('UserIconMini', UserIconMini)\napp.component('PencilIconMini', PencilIconMini)\n\n\n// In another component use, directly in the template\n\n// Register global components\napp.component(\"data-display\", DataDisplay)\napp.component(\"description-list-item\", DescriptionListItem)\napp.component(\"tw-badge\", TwBadge)\napp.component(\"tw-button\", TwButton)\napp.component(\"tw-checkbox\", TwCheckbox)\napp.component(\"tw-input\", TwInput)\napp.component(\"tw-confirmation-code\", TwConfirmationCode)\napp.component(\"tw-loading\", TwLoading)\napp.component(\"tw-full-loading\", TwFullLoading)\napp.component(\"tw-table\", TwTable)\napp.component(\"tw-select\", TwSelect)\napp.component(\"tw-navbar\", TwNavbar)\napp.component(\"tw-notification\", TwNotification)\napp.component(\"tw-table-dropdown\", TwTableDropdown)\napp.component(\"tw-table-column\", TwTableColumn)\napp.component(\"tw-table-row\", TwTableRow)\napp.component(\"tw-table-header\", TwTableHeader)\napp.component(\"tw-export\", TwExport)\napp.component(\"tw-slider\", TwSlider)\napp.component(\"tw-dropdown\", TwDropdown)\napp.component(\"student-notes-modal\", StudentNotesModal)\napp.component(\"email-modal\", EmailModal)\napp.component(\"attendance-modal\", AttendanceModal)\napp.component(\"email-display-modal\", EmailDisplayModal)\n\napp.use(pinia)\napp.use(router)\napp.mount('#app')\n","import { defineStore } from 'pinia'\nimport { useStorage } from '@vueuse/core'\n\nexport const systemStore = defineStore('system', {\n\t// a function that returns a fresh state\n\tstate: () => ({\n\t\tsystem: useStorage('system', {\n\t\t\tid: \"\",\n\t\t\tconfirmationIntroduction: \"\",\n\t\t\tconfirmationCancellationPolicy: \"\",\n\t\t\tcourseSearchOpening: \"\",\n\t\t\tcourseSearchTitle: \"\"\n\t\t})\n\t}),\n\t\n\t// optional getters\n\tgetters: {\n\n\t},\n\n\t// optional actions\n\tactions: {\n\n\t}\n})","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ConfirmationLetter.vue?vue&type=style&index=0&id=559d4005&scoped=true&lang=css\"","var map = {\n\t\"./accountConfirmation/routes.ts\": \"8f7e\",\n\t\"./accountCreation/routes.ts\": \"cad4\",\n\t\"./courseSearch/routes.ts\": \"b284\",\n\t\"./courses/routes.ts\": \"bf86\",\n\t\"./dashboard/routes.ts\": \"3730\",\n\t\"./instructors/routes.ts\": \"711a\",\n\t\"./login/routes.ts\": \"a381\",\n\t\"./myAccount/routes.ts\": \"7c8f\",\n\t\"./settings/routes.ts\": \"e310\",\n\t\"./studentCourses/routes.ts\": \"9695\",\n\t\"./students/routes.ts\": \"f4ed\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"d6b2\";","export const registrationsBySubSortCreatedAt = /* GraphQL */ `\n query RegistrationsBySubSortCreatedAt(\n $sub: String!\n $createdAt: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n registrationsBySubSortCreatedAt(\n sub: $sub\n createdAt: $createdAt\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n courseId\n course {\n id\n name\n ageLevel\n status\n skillLevel\n medium\n termId\n\t\t image\n\t\t imageDescription\n term {\n id\n name\n }\n instructorId\n instructor {\n firstName\n lastName\n pronouns\n }\n assistantId\n assistant {\n firstName\n lastName\n pronouns\n }\n classes {\n\t\t\titems {\n\t\t\t\tcourseId\n\t\t\t\tdate\n\t\t\t\tday\n\t\t\t\tstartTime\n\t\t\t\tendTime\n\t\t\t}\n }\n }\n studentId\n createdAt\n sub\n status\n\t\tstatusUpdatedAt\n updatedAt\n }\n nextToken\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { vShow as _vShow, createElementVNode as _createElementVNode, withDirectives as _withDirectives, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createVNode as _createVNode, unref as _unref, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment } from \"vue\"\nimport _imports_0 from '@/assets/images/hyde-park-art-center-logo.png'\n\n\nconst _hoisted_1 = { class: \"card xl:flex\" }\nconst _hoisted_2 = { class: \"items-center flex flex-col justify-between xl:items-start\" }\nconst _hoisted_3 = [\"src\", \"alt\"]\nconst _hoisted_4 = { class: \"w-56 h-56 bg-gray-100 border-gray-300 border flex justify-center items-center\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: _imports_0,\n class: \"h-40\"\n}, null, -1)\nconst _hoisted_6 = [\n _hoisted_5\n]\nconst _hoisted_7 = { class: \"w-56 h-56 animate-pulse bg-gray-300\" }\nconst _hoisted_8 = { class: \"w-full mt-6 xl:pl-6 xl:mt-0\" }\nconst _hoisted_9 = { class: \"flex justify-between items-center\" }\nconst _hoisted_10 = { class: \"subtitle tuncate\" }\nconst _hoisted_11 = { class: \"font-bold font-gotham\" }\nconst _hoisted_12 = { key: 2 }\nconst _hoisted_13 = { class: \"flex items-center justify-start gap-2 z-0 w-6 h-6 py-2\" }\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"border bg-white rounded-lg py-2 px-4 shadow-xl mt-3 mr-3 max-w-xl space-y-4 z-50 text-gray-900\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", null, \" Your registration is being processed and it's status will be updated shortly. \")\n], -1)\nconst _hoisted_15 = {\n key: 3,\n class: \"text-xs text-black pl-4\"\n}\nconst _hoisted_16 = { class: \"w-full xl:space-x-6 mt-4 xl:flex\" }\nconst _hoisted_17 = { class: \"grid grid-cols-2 gap-6 w-full xl:w-1/2\" }\nconst _hoisted_18 = { class: \"col-span-1\" }\nconst _hoisted_19 = { class: \"col-span-1\" }\nconst _hoisted_20 = { class: \"col-span-1\" }\nconst _hoisted_21 = { class: \"col-span-1\" }\nconst _hoisted_22 = { class: \"col-span-1\" }\nconst _hoisted_23 = { class: \"col-span-1\" }\nconst _hoisted_24 = {\n key: 0,\n class: \"grid grid-cols-2 xl:grid-cols-3 gap-x-6 grid-flow-col grid-rows-6 w-full mt-6 xl:mt-0 xl:w-1/2\"\n}\nconst _hoisted_25 = { class: \"flex w-full justify-between -mb-1\" }\nconst _hoisted_26 = { class: \"font-bold font-gotham text-sm\" }\nconst _hoisted_27 = { class: \"text-xs\" }\nconst _hoisted_28 = { class: \"flex w-full justify-between text-xs\" }\nconst _hoisted_29 = { class: \"text-gray-700\" }\nconst _hoisted_30 = { class: \"text-gray-700\" }\n\nimport {\n\t\tonMounted, \n\t\tref\n\t} from 'vue'\n\n\timport { Storage } from \"aws-amplify\"\n\timport {\n\t\tRegistration as RegistrationType\n\t} from '@/API'\n\n\timport { Popover, PopoverButton, PopoverPanel, TransitionRoot } from '@headlessui/vue'\n\timport { QuestionMarkCircleIcon as QuestionMarkCircleIconMini } from \"@heroicons/vue/20/solid\"\n\t\n\t// name the component\n\tconst __default__ = { name: \"MyCourseCard\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n registration: { default: () => {return {} as RegistrationType} }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\t// vue\n\t\n\tconst _registration = ref({} as RegistrationType)\n const studentIsRegistered = ref(false)\n\tconst courseImage = ref({ loaded: false, url: \"\"})\n const loading = ref(true)\n const instructorFullName = ref(\"\")\n const assistantFullName = ref(\"\")\n\tconst today = ref(new Date().getTime())\n\tconst hasInstructor = ref(true)\n\tconst hover = ref(false)\n\tonMounted(async () => {\n\t\t_registration.value = {...props.registration}\n\n if(_registration?.value?.status == 'Registered'){\n studentIsRegistered.value = true\n }\n else{\n studentIsRegistered.value = false\n }\n\n\t\t// get s3 url\n\t\tgetImageURL()\n\n //Define Instructor Name Concat\n let instructorFirstName = _registration?.value?.course?.instructor?.firstName\n let instructorLastName = _registration?.value?.course?.instructor?.lastName\n let instructorPronouns = _registration?.value?.course?.instructor?.pronouns\n\t\tif((instructorFirstName == null || instructorFirstName == undefined) && (instructorLastName == null || instructorLastName == undefined) && (instructorPronouns == null || instructorPronouns == undefined)){\n\t\t\thasInstructor.value = false\n\t\t}\n\t\telse{\n\t\t\tinstructorFullName.value = instructorFirstName + \" \" + instructorLastName + \" (\" + instructorPronouns + \")\"\n\t\t}\n\n\n //Define Assistant Name Concat\n let assistantFirstName = _registration?.value?.course?.assistant?.firstName\n let assistantLastName = _registration?.value?.course?.assistant?.lastName\n let assistantPronouns = _registration?.value?.course?.assistant?.pronouns\n assistantFullName.value = assistantFirstName + \" \" + assistantLastName + \" (\" + assistantPronouns + \")\"\n \n\t})\t\n\n\tasync function getImageURL(){\n\t\ttry{\n\t\t\tconst config = {\n\t\t\t\tvalidateObjectExistence: true\n\t\t\t}\n\t\t\tconst courseImageURL = await Storage.get(_registration?.value?.course?.image, config)\n\t\t\tcourseImage.value.url = courseImageURL\n\t\t\tcourseImage.value.loaded = true\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_CheckCircleIconMini = _resolveComponent(\"CheckCircleIconMini\")!\n const _component_ExclamationTriangleIconMini = _resolveComponent(\"ExclamationTriangleIconMini\")!\n const _component_data_display = _resolveComponent(\"data-display\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _withDirectives(_createElementVNode(\"img\", {\n class: \"object-cover w-56 h-56 border border-gray-200\",\n src: courseImage.value.url,\n alt: _registration.value?.course?.imageDescription\n }, null, 8, _hoisted_3), [\n [_vShow, !loading.value && courseImage.value.loaded]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_4, _hoisted_6, 512), [\n [_vShow, !loading.value && !courseImage.value.loaded]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_7, null, 512), [\n [_vShow, loading.value]\n ]),\n (_registration.value?.course?.id)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: {name: 'CourseRegistrationDetails', params: {courseId: _registration.value?.course?.id }}\n }, {\n default: _withCtx(() => [\n (studentIsRegistered.value)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 0,\n class: \"btn-base btn-white w-56 mt-4\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" See Course Page \")\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"to\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"h2\", _hoisted_10, _toDisplayString(_registration.value?.course?.name), 1),\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(_registration.value?.course?.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_registration.value?.course?.status == 'Registering' ? 'Upcoming' : _registration.value?.course?.status), 1)\n ]),\n _: 1\n }, 8, [\"color\"])\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"flex space-x-1 items-center\", [\n\t\t\t\t\t{'text-brand3-500' : _registration.value?.status == 'Pending' || _registration.value?.status == 'Dropped'},\n\t\t\t\t\t{'text-brand4-500' : _registration.value?.status == 'Registered'},\n\t\t\t\t\t{'text-red-500' : _registration.value?.status == 'Waitlisted'},\n\t\t\t\t\t{'text-brand2-500' : _registration.value?.status == 'Transferred'}\n\t\t\t\t]])\n }, [\n _createElementVNode(\"p\", _hoisted_11, _toDisplayString(_registration.value?.status), 1),\n (_registration.value?.status == 'Registered')\n ? (_openBlock(), _createBlock(_component_CheckCircleIconMini, {\n key: 0,\n class: \"flex-none h-5 w-5\"\n }))\n : (_openBlock(), _createBlock(_component_ExclamationTriangleIconMini, {\n key: 1,\n class: \"flex-none h-5 w-5\"\n })),\n (_registration.value?.status == 'Pending')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createVNode(_unref(Popover), { class: \"h-6 relative\" }, {\n default: _withCtx(() => [\n _createVNode(_unref(PopoverButton), {\n class: \"outline-none cursor-default z-0 w-8 h-6\",\n onMouseover: _cache[0] || (_cache[0] = ($event: any) => (hover.value = true)),\n onMouseleave: _cache[1] || (_cache[1] = ($event: any) => (hover.value = false))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_unref(QuestionMarkCircleIconMini), { class: \"z-0 h-5 w-5 text-gray-500\" })\n ])\n ]),\n _: 1\n }),\n _createVNode(_unref(PopoverPanel), {\n class: \"absolute z-10 w-96 left-full top-1/2 transform -translate-x-full\",\n static: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(TransitionRoot), {\n show: hover.value,\n enter: \"transition-opacity duration-75\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"transition-opacity duration-150\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _hoisted_14\n ]),\n _: 1\n }, 8, [\"show\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_registration.value?.statusUpdatedAt)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_15, \" Status updated on \" + _toDisplayString(_ctx.$filters.formatTimestamp(_registration.value?.statusUpdatedAt)), 1))\n : _createCommentVNode(\"\", true)\n ], 2),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Term\",\n value: _registration.value?.course?.term?.name ?? '-'\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Medium\",\n value: _registration.value?.course?.medium ?? '-'\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Skill Level\",\n value: _registration.value?.course?.skillLevel ?? '-'\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_data_display, {\n loading: loading.value,\n label: \"Age Level\",\n value: _registration.value?.course?.ageLevel ?? '-'\n }, null, 8, [\"loading\", \"value\"])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n (hasInstructor.value)\n ? (_openBlock(), _createBlock(_component_data_display, {\n key: 0,\n loading: loading.value,\n label: \"Teaching Artist\",\n value: hasInstructor.value ? instructorFullName.value : '-'\n }, null, 8, [\"loading\", \"value\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n (_ctx.registration?.course?.assistant?.id)\n ? (_openBlock(), _createBlock(_component_data_display, {\n key: 0,\n loading: loading.value,\n label: \"Assistant\",\n value: assistantFullName.value ?? '-'\n }, null, 8, [\"loading\", \"value\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n (studentIsRegistered.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_registration.value?.course?.classes?.items, (_class, idx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: idx,\n class: \"sm:border-r-2 sm:pr-6 py-1 col-span-1 row-span-1 flex justify-between items-start space-x-1\"\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"w-full\", {'opacity-30' : new Date(_class?.date).getTime() < today.value}])\n }, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"p\", _hoisted_26, _toDisplayString(_ctx.$filters.formatDate(_class?.date)), 1),\n _createElementVNode(\"p\", _hoisted_27, _toDisplayString(_ctx.$filters.convertTime(_class?.startTime)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"p\", _hoisted_29, _toDisplayString(_class?.day), 1),\n _createElementVNode(\"p\", _hoisted_30, _toDisplayString(_ctx.$filters.convertTime(_class?.endTime)), 1)\n ])\n ], 2)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./MyCourseCard.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyCourseCard.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"card text-center\"\n}\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"p\", null, \" You have not registered for any courses. Click the button below to search and register for courses. \", -1)\nconst _hoisted_3 = { class: \"space-y-6\" }\nconst _hoisted_4 = [\"v-show\"]\n\nimport EventBus from '@/events'\n\timport { userStore } from '@/store/userStore'\n\timport { ref, onMounted, onBeforeUnmount } from 'vue'\n\timport {\n\t\tRegistration\n\t} from '@/API'\n\timport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\timport {\n\t\tregistrationsBySubSortCreatedAt\n\t}from './queries'\n\timport MyCourseCard from './components/MyCourseCard.vue'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'StudentCoursesMain' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// component code below\n\tconst store = userStore()\n\n\t// #region infinite scroll setup\n\t// onMounted( () => {\n\t// \ttry{\n\t// \t\tEventBus.on('infinite-scroll', async () => {\n\t// \t\t\tif(nextToken.value) await getData(false)\n\t// \t\t\tEventBus.trigger('infinite-scroll-end', null)\n\t// \t\t})\n\t// \t}\n\t// \tcatch(e){\n\t// \t\tconsole.log(e)\n\t// \t}\n\t// })\n\t\n\t// onBeforeUnmount( () => {\n\t// \tEventBus.off('infinite-scroll', null)\n\t// })\n\t// #endregion\n\n\t// #variable declaration\n\tconst nextToken = ref(null)\n\tconst isLoading = ref(true)\n\tconst data = ref([])\n\tconst sortDirection = ref(\"DESC\")\n\tconst query = ref(registrationsBySubSortCreatedAt)\n\tconst queryName = ref(\"registrationsBySubSortCreatedAt\")\n\tconst limit = ref(100)\n\tconst filter = ref({})\n\n\t// #endregion\n\n\t// #Function declaration\n\tasync function getData(reset:boolean = false){\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit.value,\n\t\t\tfilter: filter.value,\n\t\t\tsub: store.user.sub,\n\t\t\tsortDirection: sortDirection.value\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry {\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\n\t\t\tif(reset) data.value = items\n\t\t\telse data.value = [...data.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\tgetData()\n\t// #endregion\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (data.value.length == 0 && !isLoading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createVNode(_component_router_link, {\n to: {name: 'CourseSearch'},\n class: \"w-65\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_button, { class: \"btn-base btn-brand mt-6\" }, {\n default: _withCtx(() => [\n _createTextVNode(\" Course Search \")\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(data.value, (registration, idx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: idx + '-',\n \"v-show\": data.value.length > 0\n }, [\n (registration.id)\n ? (_openBlock(), _createBlock(MyCourseCard, {\n key: 0,\n registration: registration\n }, null, 8, [\"registration\"]))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_4))\n }), 128))\n ])\n ], 64))\n}\n}\n\n})","import script from \"./StudentCoursesMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StudentCoursesMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import StudentCoursesMain from \"./StudentCoursesMain.vue\"\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"MyCourses\",\n\t\tpath: \"/my-courses\",\n\t\tcomponent: StudentCoursesMain\n\t},\n\tnav: {\n\t\tname: \"My Courses\",\n\t\tto: \"MyCourses\",\n\t\tposition: 2,\n\t\tshow: true\n\t},\n\tmodule: \"mycourses\",\n\tauth: ['student'] \n}\n\nexport { config }\n","export const listSelectLists = /* GraphQL */ `\n\tquery ListSelectLists {\n\t\tlistSelectLists {\n\t\t\titems {\n\t\t\t\tcategory\n\t\t\t\tid\n\t\t\t\tsortIndex\n\t\t\t\tname\n\t\t\t\tkey\n\t\t\t\toptions {\n\t\t\t\t\titems {\n\t\t\t\t\t\tlabel\n\t\t\t\t\t\tsortIndex\n\t\t\t\t\t\tselectListId\n\t\t\t\t\t\tid\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n`;\n\nexport const listSystems = /* GraphQL */ `\n query ListSystems(\n $id: ID\n $filter: ModelSystemFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listSystems(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n confirmationIntroduction\n confirmationCancellationPolicy\n\t\tconfirmationWaitlist\n\t\tcourseSearchOpening\n\t\tcourseSearchTitle\n\t\tqbOauthToken\n\t\tqbAccounts\n\t\tqbItems\n\t\tqbDonationItem\n\t\tqbDepositToAccount\n\t\tqbClasses\n\t\tqbDonationItemClass\n }\n nextToken\n }\n }\n`;\n\nexport const allRootCoursesSortName = /* GraphQL */ `\n query AllRootCoursesSortName(\n $allRootCourses: Int!\n $name: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRootCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allRootCoursesSortName(\n allRootCourses: $allRootCourses\n name: $name\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n latestTermId\n latestTermName\n medium\n name\n skillLevel\n }\n nextToken\n }\n }\n`;\nexport const allRootCoursesSortTerm = /* GraphQL */ `\n query AllRootCoursesSortTerm(\n $allRootCourses: Int!\n $latestTermName: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRootCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allRootCoursesSortTerm(\n allRootCourses: $allRootCourses\n latestTermName: $latestTermName\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n\t\tid\n latestTermId\n latestTermName\n medium\n name\n skillLevel\n }\n nextToken\n }\n }\n`;\n\nexport const getRootCourse = /* GraphQL */ `\n query GetRootCourse($id: ID!) {\n getRootCourse(id: $id) {\n id\n courses(sortDirection: DESC) {\n\t\titems {\n\t\t\tid\n\t\t\tname\n\t\t\tstatus\n\t\t\tterm {\n\t\t\t\tname\n\t\t\t}\n\t\t\tdayOfWeek\n\t\t\ttimeOfDay\n\t\t\tstudio\n\t\t\tnumRegistered\n\t\t}\n nextToken\n }\n createdBy\n updatedBy\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n description\n supplyList\n medium\n name\n skillLevel\n studio\n location\n ageLevel\n createdAt\n updatedAt\n }\n }\n`;\n\nexport const getCourse = /* GraphQL */ `\n query GetCourse($id: ID!) {\n getCourse(id: $id) {\n id\n instructorId\n termId\n assistantId\n rootCourseId\n createdAt\n updatedAt\n createdBy\n updatedBy\n registrationSlug\n firstClassDate\n classRepeatCount\n classRepeatInterval\n classRepeatType\n classDayTimes\n isOpenArtsOrTuition\n tuitionAmount\n openArtsConfig\n image\n imageDescription\n registrationOpenTime\n description\n supplyList\n confirmationLinks\n confirmationNotes\n dayOfWeek\n endDate\n medium\n name\n numAvailable\n numRegistered\n numWaitlisted\n numDropped\n numTransferred\n skillLevel\n startDate\n status\n studio\n timeOfDay\n suggestedContribution\n allCourses\n location\n ageLevel\n numSeats\n showInSearch\n donationAmount\n minimumRegistrations\n }\n }\n`;\n\nexport const listTerms = /* GraphQL */ `\n query ListTerms(\n $id: ID\n $filter: ModelTermFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listTerms(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n name\n\t\tstartDate\n\t\tendDate\n\t\tisActive\n }\n nextToken\n }\n }\n`;\n\nexport const byInstructor = /* GraphQL */ `\n query ByInstructor(\n $isInstructor: Int!\n $firstName: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelStudentFilterInput\n $limit: Int\n $nextToken: String\n ) {\n byInstructor(\n isInstructor: $isInstructor\n firstName: $firstName\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n firstName\n lastName\n pronouns\n\t\tdob\n\t\temail\n\t\tsub\n }\n nextToken\n }\n }\n`;\n\nexport const getTerm = /* GraphQL */ `\n query GetTerm($id: ID!) {\n getTerm(id: $id) {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n }\n }\n`;","export const createSystem = /* GraphQL */ `\n mutation CreateSystem(\n $input: CreateSystemInput!\n $condition: ModelSystemConditionInput\n ) {\n createSystem(input: $input, condition: $condition) {\n id\n confirmationIntroduction\n confirmationCancellationPolicy\n\t courseSearchTitle\n\t courseSearchOpening\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateSystem = /* GraphQL */ `\n mutation UpdateSystem(\n $input: UpdateSystemInput!\n $condition: ModelSystemConditionInput\n ) {\n updateSystem(input: $input, condition: $condition) {\n id\n confirmationIntroduction\n confirmationCancellationPolicy\n\t courseSearchTitle\n\t courseSearchOpening\n createdAt\n updatedAt\n }\n }\n`;\n\nexport const createCourse = /* GraphQL */ `\n mutation CreateCourse(\n $input: CreateCourseInput!\n $condition: ModelCourseConditionInput\n ) {\n createCourse(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const createSelectListOption = /* GraphQL */ `\n mutation CreateSelectListOption(\n $input: CreateSelectListOptionInput!\n $condition: ModelSelectListOptionConditionInput\n ) {\n createSelectListOption(input: $input, condition: $condition) {\n id\n selectListId\n sortIndex\n value\n label\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const deleteSelectListOption = /* GraphQL */ `\n mutation DeleteSelectListOption(\n $input: DeleteSelectListOptionInput!\n $condition: ModelSelectListOptionConditionInput\n ) {\n deleteSelectListOption(input: $input, condition: $condition) {\n id\n selectListId\n sortIndex\n value\n label\n deleted\n createdAt\n updatedAt\n }\n }\n`;\nexport const updateSelectListOption = /* GraphQL */ `\n\tmutation UpdateSelectListOption(\n\t\t$input: UpdateSelectListOptionInput!\n\t\t$condition: ModelSelectListOptionConditionInput\n\t) {\n\t\tupdateSelectListOption(input: $input, condition: $condition) {\n\t\t\tid\n\t\t\tselectListId\n\t\t\tsortIndex\n\t\t\tvalue\n\t\t\tlabel\n\t\t\tdeleted\n\t\t\tcreatedAt\n\t\t\tupdatedAt\n\t\t}\n\t}\n`;\n\nexport const createRootCourse = /* GraphQL */ `\n mutation CreateRootCourse(\n $input: CreateRootCourseInput!\n $condition: ModelRootCourseConditionInput\n ) {\n createRootCourse(input: $input, condition: $condition) {\n id\n }\n }\n`;\nexport const updateRootCourse = /* GraphQL */ `\n mutation UpdateRootCourse(\n $input: UpdateRootCourseInput!\n $condition: ModelRootCourseConditionInput\n ) {\n updateRootCourse(input: $input, condition: $condition) {\n id\n }\n }\n`;\n\nexport const updateTerm = /* GraphQL */ `\n mutation UpdateTerm(\n $input: UpdateTermInput!\n $condition: ModelTermConditionInput\n ) {\n updateTerm(input: $input, condition: $condition) {\n id\n isActive\n }\n }\n`;\nexport const createTerm = /* GraphQL */ `\n mutation CreateTerm(\n $input: CreateTermInput!\n $condition: ModelTermConditionInput\n ) {\n createTerm(input: $input, condition: $condition) {\n id\n name\n createdAt\n isActive\n startDate\n endDate\n updatedAt\n }\n }\n`;\n\nexport const deleteTerm = /* GraphQL */ `\n mutation DeleteTerm(\n $input: DeleteTermInput!\n $condition: ModelTermConditionInput\n ) {\n deleteTerm(input: $input, condition: $condition) {\n id\n createdAt\n endDate\n name\n startDate\n isActive\n updatedAt\n }\n }\n`;","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, normalizeClass as _normalizeClass, withModifiers as _withModifiers, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"space-y-4\" }\nconst _hoisted_2 = { class: \"flex flex-col lg:flex-row gap-5\" }\nconst _hoisted_3 = { class: \"flex-grow\" }\nconst _hoisted_4 = { class: \"grid grid-cols-4 gap-5 items-end\" }\nconst _hoisted_5 = { class: \"row-span-2 col-span-4 md:col-span-2 lg:col-span-1\" }\nconst _hoisted_6 = { class: \"flex flex-col items-center\" }\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = { class: \"p-8\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 block text-sm font-medium text-gray-900\" }, \" Drop file here or click to choose \", -1)\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex w-full justify-center\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"block text-xs mt-1 font-medium text-gray-700 text-center w-56\" }, \" Accepted files types: .jpg, .gif, .png. Max file size: 20 MB. \")\n], -1)\nconst _hoisted_11 = { class: \"col-span-4 md:col-span-2 lg:col-span-1\" }\nconst _hoisted_12 = { class: \"col-span-4 md:col-span-2 lg:col-span-1\" }\nconst _hoisted_13 = { class: \"col-span-4 md:col-span-2 lg:col-span-1\" }\nconst _hoisted_14 = { class: \"col-span-4 md:col-span-2 lg:col-span-1\" }\nconst _hoisted_15 = { class: \"col-span-4 md:col-span-2 lg:col-span-1\" }\nconst _hoisted_16 = { class: \"col-span-4 md:col-span-2 lg:col-span-1\" }\nconst _hoisted_17 = { class: \"col-span-full\" }\nconst _hoisted_18 = { class: \"mt-8\" }\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"course-description\",\n class: \"mb-1 block text-sm font-bold font-gotham text-gray-700 uppercase\"\n}, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-sm text-red-500\" }, \"* \"),\n /*#__PURE__*/_createTextVNode(\"Course Description \")\n], -1)\nconst _hoisted_20 = { class: \"mt-8\" }\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"supply-list\",\n class: \"mb-1 block text-sm font-bold font-gotham text-gray-700 uppercase\"\n}, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"text-sm text-red-500\" }, \"* \"),\n /*#__PURE__*/_createTextVNode(\"Supply List \")\n], -1)\nconst _hoisted_22 = { class: \"flex gap-4 w-full\" }\n\nimport { \n\t\tVL_LOCATION_OPTIONS\n\t} from '@/utilities/valueLists.js'\n\n\timport { \n\t\tStorage\n\t} from 'aws-amplify'\n\n\t// vue\n\timport { \n\t\tref,\n\t\tcomputed,\n\t\tonMounted\n\t} from 'vue'\n\n\t// api\n\timport { \n\t\tRootCourse as RootCourseType\n\t} from '@/API'\n\n\timport { \n\t\tcreateRootCourse\n\t} from \"../../../mutations\"\n\n\t// store\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\n\timport { \n\t\tuserStore\n\t} from '@/store/userStore'\n\n\t// quill\n\timport { \n\t\tQuillEditor\n\t} from '@vueup/vue-quill'\n\t\n\n\timport api from '@/utilities/api'\n\n\t\n //name the component\n const __default__ = {name: \"RootCourseCreator\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n emits: [\n\t\t'close'\n\t],\n setup(__props, { emit }) {\n\n\tconst _valueListStore = valueListStore()\n\tconst store = userStore()\n\t\n\n\tconst rootCourse = ref({} as RootCourseType)\n\tconst medium = ref([])\n\tconst courseImage = ref()\n\tconst invalid = computed(() => {\n\t\treturn \t!rootCourse.value.name ||\n\t\t\t\t// !rootCourse.value.imageDescription ||\n\t\t\t\t!rootCourse.value.location ||\n\t\t\t\t!rootCourse.value.ageLevel ||\n\t\t\t\t!medium.value ||\n\t\t\t\t!rootCourse.value.studio ||\n\t\t\t\t!rootCourse.value.skillLevel ||\n\t\t\t\t!rootCourse.value.description ||\n\t\t\t\t!rootCourse.value.supplyList\n\t})\n\n\n\tconst editorOptions = ref({\n\t\ttheme: 'snow'\n\t})\n\n\tconst imageUploadRef = ref()\n\n\tconst removeImage = () => {\n\t\tcourseImage.value = undefined\n\t\tfile.value = File\n\t\tfileInput.value = null\n\t}\n\n\tconst triggerImageUpload = () => {\n\t\tif (!imageUploadRef?.value) return\n\t\timageUploadRef.value.click()\n\t}\n\n\tconst loading = ref(false)\n\tconst saveNewCourse = async () => {\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\t// format medium\n\t\t\trootCourse.value.medium = medium.value.join(\", \")\n\n\t\t\t// add updated and createdby\n\t\t\trootCourse.value.createdBy = store.user.firstName + \" \" + store.user.lastName\n\t\t\trootCourse.value.updatedBy = store.user.firstName + \" \" + store.user.lastName\n\n\t\t\t// upload image to s3\n\t\t\tvar fileName = file.value.name\n\t\t\tlet s3Key = 'courseImages/' + fileName\n\t\t\tawait Storage.put(s3Key, file.value)\n\t\t\trootCourse.value.image = s3Key\n\n\t\t\t// create course\n\t\t\tawait api(createRootCourse, { input: rootCourse.value })\n\t\t\temit('close', true)\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\n const drop = ref(null)\n const isOver = ref(false)\n const file = ref(File)\n const fileInput = ref(null)\n\tonMounted( async () => { \n try{\n drop.value?.addEventListener(\"dragover\", () => {\n isOver.value = true\n })\n drop.value?.addEventListener(\"drop\", (e) => {\n isOver.value = false\n fileUpload(e)\n })\n drop.value?.addEventListener(\"dragleave\", () => {\n isOver.value = false\n })\n\n }\n\t\tcatch(e) {\n console.log(e)\n }\n })\n\n\t/**\n * Validates file type and reads file\n * @function fileUpload\n * @param {Object} e - drop event\n */\n function fileUpload(e: any){\n try {\n isOver.value = false\n fileInput.value = e.target.files || e.dataTransfer.files\n file.value = fileInput.value['0']\n\t\t\t\n const re = new RegExp(/^.+\\.(jpg|jpeg|gif|png)$/, 'g')\n const acceptedFileType = re.test(file.value.name.toLowerCase())\n if(!acceptedFileType){\n alert(\"Unaccepted file type\")\n\t\t\t\tthrow(\"Unaccepted file type\")\n }\n\t\t\tconst reader = new FileReader()\n\t\t\treader.readAsDataURL(file.value)\n\t\t\treader.onload = e => {\n\t\t\t\tcourseImage.value = e?.target?.result\n\t\t\t}\n }\n\t\tcatch(err) {\n console.log(err)\n }\n }\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_DocumentArrowUpIcon = _resolveComponent(\"DocumentArrowUpIcon\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_tw_input, {\n label: \"Root Course Name\",\n modelValue: rootCourse.value.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((rootCourse.value.name) = $event)),\n required: \"\"\n }, null, 8, [\"modelValue\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _withDirectives(_createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"img\", {\n src: courseImage.value,\n class: \"object-cover h-40 w-40\"\n }, null, 8, _hoisted_7),\n _createElementVNode(\"div\", { class: \"flex justify-center items-center divide-x mt-4\" }, [\n _createElementVNode(\"button\", {\n onClick: removeImage,\n class: \"text-gray-500 font-bold pr-2\"\n }, \" Remove \"),\n _createElementVNode(\"button\", {\n onClick: triggerImageUpload,\n class: \"text-brand-500 font-bold pl-2\"\n }, \" Change \")\n ])\n ], 512), [\n [_vShow, courseImage.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", {\n class: \"stealthFileContainer\",\n ref_key: \"drop\",\n ref: drop,\n onDragover: _cache[2] || (_cache[2] = _withModifiers(() => {}, [\"prevent\"])),\n onDrop: _cache[3] || (_cache[3] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n _createElementVNode(\"label\", {\n for: \"FileUpload\",\n class: _normalizeClass([{'border-solid' : !file.value, 'border-dashed' : file.value}, \"h-40 w-40 flex-none fileContainer mx-auto relative border-2 border-gray-300 rounded-sm text-center hover:border-gray-400 cursor-pointer box-content flex justify-center align-middle\"])\n }, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_DocumentArrowUpIcon, {\n \"aria-hidden\": \"true\",\n class: \"mx-auto h-12 w-12 text-brand-500\"\n }),\n _hoisted_9\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"h-full w-full absolute top-0 left-0 text-white text-3xl p-10\", {'bg-gray-400 opacity-100 bg-opacity-90 rounded-sm z-20': isOver.value, 'z-0 opacity-0 ': !isOver.value}])\n }, \" Drop file here \", 2),\n _createElementVNode(\"input\", {\n type: \"file\",\n id: \"FileUpload\",\n name: \"upload\",\n accept: \".jpg, .gif, .png, .pdf\",\n onChange: _cache[1] || (_cache[1] = ($event: any) => (fileUpload($event))),\n class: \"hidden h-40 w-40\",\n ref_key: \"imageUploadRef\",\n ref: imageUploadRef\n }, null, 544)\n ], 2),\n _hoisted_10\n ], 544), [\n [_vShow, !courseImage.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_tw_input, {\n label: \"Photo Description\",\n modelValue: rootCourse.value.imageDescription,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((rootCourse.value.imageDescription) = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_tw_select, {\n modelValue: rootCourse.value.location,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((rootCourse.value.location) = $event)),\n label: \"Location\",\n name: \"location\",\n id: \"location\",\n options: _unref(VL_LOCATION_OPTIONS),\n required: \"\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_tw_select, {\n modelValue: rootCourse.value.ageLevel,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((rootCourse.value.ageLevel) = $event)),\n label: \"Age Level\",\n name: \"age-level\",\n id: \"age-level\",\n options: _unref(_valueListStore).valueList.ageLevel,\n required: \"\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_tw_select, {\n modelValue: medium.value,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((medium).value = $event)),\n label: \"Medium\",\n name: \"medium\",\n id: \"medium\",\n multiple: \"\",\n options: _unref(_valueListStore).valueList.medium,\n required: \"\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_tw_input, {\n label: \"Studio\",\n modelValue: rootCourse.value.studio,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((rootCourse.value.studio) = $event)),\n required: \"\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_tw_select, {\n modelValue: rootCourse.value.skillLevel,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((rootCourse.value.skillLevel) = $event)),\n label: \"Skill Level\",\n name: \"skill-level\",\n id: \"skill-level\",\n options: _unref(_valueListStore).valueList.skillLevel,\n required: \"\"\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createVNode(_unref(QuillEditor), {\n class: \"h-28\",\n id: \"course-description\",\n name: \"course-description\",\n options: editorOptions.value,\n \"content-type\": \"html\",\n content: rootCourse.value.description,\n \"onUpdate:content\": _cache[10] || (_cache[10] = ($event: any) => ((rootCourse.value.description) = $event))\n }, null, 8, [\"options\", \"content\"])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _hoisted_21,\n _createVNode(_unref(QuillEditor), {\n id: \"supply-list\",\n name: \"supply-list\",\n class: \"h-28\",\n options: editorOptions.value,\n \"content-type\": \"html\",\n content: rootCourse.value.supplyList,\n \"onUpdate:content\": _cache[11] || (_cache[11] = ($event: any) => ((rootCourse.value.supplyList) = $event))\n }, null, 8, [\"options\", \"content\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-white w-28 flex-none\",\n onClick: _cache[12] || (_cache[12] = ($event: any) => (emit('close'))),\n loading: loading.value,\n disabled: loading.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]),\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-brand w-62 flex-none\",\n onClick: saveNewCourse,\n loading: loading.value,\n disabled: loading.value || invalid.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create Root Course \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ]))\n}\n}\n\n})","import script from \"./RootCourseCreator.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RootCourseCreator.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"px-6 py-4 border-b flex flex-col lg:flex-row justify-between items-start gap-4\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Root Courses \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-full\" }, \" Use the root courses to find all offerings of a course grouped together. From the root course details, you can create a new course from an existing course, which will bring over the common information. \")\n], -1)\nconst _hoisted_3 = { class: \"mx-4 sm:mx-0\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\nconst _hoisted_7 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_9 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full sm:p-6\" }\nconst _hoisted_10 = { class: \"sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_11 = { class: \"mt-8\" }\n\nimport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\timport { \n\t\tRootCourse as RootCourseType\n\t} from \"@/API\"\n\n\timport { \n\t\tallRootCoursesSortName, \n\t\tallRootCoursesSortTerm\n\t} from '../queries'\n\n\t// Components\n\timport RootCourseCreator from \"./RootCourses/components/RootCourseCreator.vue\"\n\n\timport { \n\t\tDialog, \n\t\tDialogTitle,\n\t\tDialogOverlay, \n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\t// vue\n\timport { \n\t\tref\n\t} from 'vue'\n\t\n\t\n //name the component\n const __default__ = {name: \"RootCourses\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// api\n\tconst courseCreationDialogOpen = ref(false)\n\n\tconst close = (refresh:boolean = false) => {\n\t\tcourseCreationDialogOpen.value = false\n\t\tif(refresh) getData(true)\n\t}\n\n\n\t// #region get data\n\tconst filter = ref({})\n\tconst isLoading = ref(false)\n\tconst limit = 100\n\tconst nextToken = ref(null)\n\tconst query = ref(allRootCoursesSortName)\n\tconst queryName = ref(\"allRootCoursesSortName\")\n\tconst rootCourses = ref([])\n\tconst sortDirection = ref(\"ASC\")\n\n\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t */\n\tasync function getData(reset:boolean = false) {\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tallRootCourses: 1,\n\t\t\tfilter: filter.value,\n\t\t\tsortDirection: sortDirection.value\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry{\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\n\t\t\tif(reset) rootCourses.value = items\n\t\t\telse rootCourses.value = [...rootCourses.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\t// #endregion\n\n\t//#region sorting and filters\n\t/**\n\t * To sort based on the selected column\n\t * @param {string} _sortDirection - The current sort direction\n\t * @param _query - The query to be used\n\t * @param _queryName - The query name \n\t */\n\tasync function sortMethod(_sortDirection: string, _query: any, _queryName: string){\n\t\trootCourses.value.length = 0\n\t\tsortDirection.value = _sortDirection\n\t\tquery.value = _query\n\t\tqueryName.value = _queryName\n\t\tgetData(true)\n\t}\n\t// #endregion\n\n\tgetData()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-brand w-80\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (courseCreationDialogOpen.value = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create New Root Course \")\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_tw_table, {\n class: \"-mt-4\",\n loading: isLoading.value,\n data: rootCourses.value,\n \"default-sort\": {prop: 'name', order: 'ASC'}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"name\",\n header: \"Name\",\n width: \"72\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allRootCoursesSortName), 'allRootCoursesSortName') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"latestTermName\",\n header: \"Latest Term Offered\",\n width: \"64\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(allRootCoursesSortTerm), 'allRootCoursesSortTerm') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"medium\",\n width: \"65\",\n header: \"Medium\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"skillLevel\",\n width: \"64\",\n header: \"Skill Level\"\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_4\n ]),\n default: _withCtx(({row}) => [\n _hoisted_5,\n _createVNode(_component_router_link, {\n to: {name: 'RootCoursesDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_6\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"loading\", \"data\"])\n ]),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: courseCreationDialogOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_8,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"title\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create New Root Course \")\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(RootCourseCreator, { onClose: close })\n ])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}\n}\n\n})","import script from \"./RootCourses.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RootCourses.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, vShow as _vShow, withModifiers as _withModifiers, withDirectives as _withDirectives, unref as _unref } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"px-6 py-4 border-b\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Root Courses \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-full md:w-3/4\" }, \" Use the course catalog to find all offerings of a course grouped together. From the root course details, you can create a new course from an existing course, which will bring over the common information. \")\n], -1)\nconst _hoisted_2 = { class: \"px-6 py-4\" }\nconst _hoisted_3 = { class: \"flex justify-between items-center\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Return to root courses list\", -1)\nconst _hoisted_5 = { class: \"flex justify-end items-center gap-4\" }\nconst _hoisted_6 = {\n key: 1,\n class: \"text-xl font-semibold mt-8 mb-4\"\n}\nconst _hoisted_7 = { class: \"grid grid-cols-10 gap-6\" }\nconst _hoisted_8 = { class: \"col-span-2\" }\nconst _hoisted_9 = [\"src\"]\nconst _hoisted_10 = [\"src\"]\nconst _hoisted_11 = {\n key: 2,\n class: \"flex justify-center w-56 items-center divide-x mt-4\"\n}\nconst _hoisted_12 = { class: \"p-8\" }\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"mt-2 block text-sm font-medium text-gray-900\" }, \" Drop file here or click to choose \", -1)\nconst _hoisted_14 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex w-full justify-start\" }, [\n /*#__PURE__*/_createElementVNode(\"span\", { class: \"block text-xs mt-1 font-medium text-gray-700 text-center w-48\" }, \" Accepted files types: .jpg, .gif, .png. Max file size: 20 MB. \")\n], -1)\nconst _hoisted_15 = { class: \"col-span-8 grid grid-cols-6 gap-6\" }\nconst _hoisted_16 = { class: \"col-span-2\" }\nconst _hoisted_17 = { class: \"col-span-2\" }\nconst _hoisted_18 = { class: \"col-span-2\" }\nconst _hoisted_19 = { class: \"col-span-2\" }\nconst _hoisted_20 = { class: \"col-span-2\" }\nconst _hoisted_21 = { class: \"col-span-2\" }\nconst _hoisted_22 = { class: \"col-span-3 text-xs\" }\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Created \", -1)\nconst _hoisted_24 = { class: \"font-bold\" }\nconst _hoisted_25 = { class: \"col-span-3 text-xs\" }\nconst _hoisted_26 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Last Modified \", -1)\nconst _hoisted_27 = { class: \"font-bold\" }\nconst _hoisted_28 = { class: \"mt-8\" }\nconst _hoisted_29 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"course-description\",\n class: \"text-sm font-bold text-gray-700 font-gotham uppercase\"\n}, \" Course Description \", -1)\nconst _hoisted_30 = [\"innerHTML\"]\nconst _hoisted_31 = { class: \"mt-8\" }\nconst _hoisted_32 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"supply-list\",\n class: \"text-sm font-bold text-gray-700 font-gotham uppercase\"\n}, \" Supply List \", -1)\nconst _hoisted_33 = [\"innerHTML\"]\nconst _hoisted_34 = { class: \"mt-4\" }\nconst _hoisted_35 = /*#__PURE__*/_createElementVNode(\"h4\", { class: \"px-6 text-sm font-bold text-gray-700 font-gotham uppercase\" }, \" Courses \", -1)\nconst _hoisted_36 = [\"onClick\"]\nconst _hoisted_37 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_38 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_39 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\nconst _hoisted_40 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_41 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_42 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-md sm:w-full sm:p-6\" }\nconst _hoisted_43 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_44 = { class: \"text-sm pt-5 leading-6 font-medium text-coolGray-600\" }\nconst _hoisted_45 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\n\nimport { \n\t\tVL_LOCATION_OPTIONS\n\t} from '@/utilities/valueLists.js'\n\n\t// quill\n\timport { \n\t\tQuillEditor\n\t} from '@vueup/vue-quill'\n\n\t// api\n\timport api from '@/utilities/api'\n\timport {\n\t\tCourse as CourseType,\n\t\tRootCourse as RootCourseType\n\t} from \"@/API\"\n\n\timport { \n\t\tgetRootCourse,\n\t\tgetCourse\n\t} from '../queries'\n\n\timport {\n\t\tcreateCourse,\n\t\tupdateRootCourse\n\t} from '../mutations'\n\n\t// vue\n\timport {\n\t\tonMounted,\n\t\tref\n\t} from \"vue\"\n\n\t// amplify\n\timport {\n\t\tStorage\n\t} from \"aws-amplify\"\n\n\t// rtouer\n\timport {\n\t\tuseRouter\n\t} from 'vue-router'\n\n\t// components\n\timport { \n\t\tDialog, \n\t\tDialogTitle,\n\t\tDialogOverlay,\n\t\tTransitionRoot, \n\t\tTransitionChild\n\t} from '@headlessui/vue'\n\n\t// store\n\timport { \n\t\tvalueListStore\n\t} from '@/store/valueListStore'\n\n\timport { \n\t\tuserStore\n\t} from '@/store/userStore'\n\t\n\t// component code below\n\t\n\t// name the component\n\tconst __default__ = { name: \"RootCoursesDetails\" }\n\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tid: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\t\n\n\tconst _valueListStore = valueListStore()\n\tconst store = userStore()\n\tconst router = useRouter()\n\n\t//Local Vars\n\tconst rootCourse = ref({} as RootCourseType)\n\tconst loading = ref(false)\n\tconst editMode = ref(false)\n\tconst medium = ref([])\n\tconst s3PhotoUrl = ref(\"\")\n\n\tconst showConfirmation = ref(false)\n\tconst confirmationTitle = ref(\"\")\n\tconst confirmationDetails = ref(\"\")\n\tconst confirmationButtonLabel = ref(\"\")\n\tconst confirmationCancelButtonLabel = ref(\"Cancel\")\n\tconst confirmationConfirmAction = ref()\n\n\tconst editorOptions = ref({\n\t\ttheme: 'snow'\n\t})\n\n\tconst courseImage = ref()\n\tconst imageUploadRef = ref()\n\tconst drop = ref(null)\n\tconst isOver = ref(false)\n\tconst file = ref(File)\n\tconst fileInput = ref(null)\n\tonMounted(async () => {\n\t\t// add drag and drop event listeners\n\t\tdrop.value?.addEventListener(\"dragover\", () => {\n\t\t\tisOver.value = true\n\t\t})\n\t\tdrop.value?.addEventListener(\"drop\", (e) => {\n\t\t\tisOver.value = false\n\t\t\tfileUpload(e)\n\t\t})\n\t\tdrop.value?.addEventListener(\"dragleave\", () => {\n\t\t\tisOver.value = false\n\t\t})\n\n\t\tawait getData()\n\t})\n\n\tconst removeImage = () => {\n\t\tcourseImage.value = undefined\n\t\tfile.value = File\n\t\tfileInput.value = null\n\t\ts3PhotoUrl.value = \"\"\n\t\trootCourse.value.image = \"\"\n\t\tif(document.getElementById(\"FileUpload\")){\n\t\t\tdocument.getElementById(\"FileUpload\").value = \"\"\n\t\t}\n\t\t\n\t}\n\n\tconst triggerImageUpload = () => {\n\t\tif (!imageUploadRef?.value) return\n\t\timageUploadRef.value.click()\n\t}\n\n\t/**\n * Validates file type and reads file\n * @function fileUpload\n * @param {Object} e - drop event\n */\n function fileUpload(e: any){\n try {\n isOver.value = false\n fileInput.value = e.target.files || e.dataTransfer.files\n file.value = fileInput.value['0']\n\t\t\t\n const re = new RegExp(/^.+\\.(jpg|jpeg|gif|png)$/, 'g')\n const acceptedFileType = re.test(file.value.name.toLowerCase())\n if(!acceptedFileType){\n alert(\"Unaccepted file type\")\n\t\t\t\tthrow(\"Unaccepted file type\")\n }\n\t\t\tconst reader = new FileReader()\n\t\t\treader.readAsDataURL(file.value)\n\t\t\treader.onload = e => {\n\t\t\t\tcourseImage.value = e?.target?.result\n\t\t\t}\n }\n\t\tcatch(err) {\n console.log(err)\n }\n }\n\n\tasync function createNewCourse(courseId: string|null) {\n\t\tlet input = {} as CourseType\n\t\tlet res:any \n\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tif(courseId) {\n\t\t\t\tlet course = {} as CourseType\n\t\t\t\t// get full course details\n\t\t\t\tres = await api(getCourse, { id: courseId })\n\t\t\t\tcourse = res?.data?.getCourse || {}\n\n\t\t\t\t// duplicate course\n\t\t\t\tlet input = course\n\t\t\t\tdelete input.id\n\t\t\t\tdelete input.termId\n\t\t\t\tdelete input.createdAt\n\t\t\t\tdelete input.updatedAt\n\t\t\t\tdelete input.numAvailable\n\t\t\t\tdelete input.numDropped\n\t\t\t\tdelete input.numRegistered\n\t\t\t\tdelete input.numSeats\n\t\t\t\tdelete input.numTransferred\n\t\t\t\tdelete input.numWaitlisted\n\t\t\t\tdelete input.registrationOpenTime\n\n\t\t\t\tinput.name = input.name + \" (Copy)\"\n\t\t\t}\t\n\t\t\telse {\n\t\t\t\tinput.name = rootCourse.value.name + \" (Copy)\"\n\t\t\t\tinput.rootCourseId = rootCourse.value.id\n\t\t\t\tinput.ageLevel = rootCourse.value.ageLevel\n\t\t\t\tinput.image = rootCourse.value.image\n\t\t\t\tinput.imageDescription = rootCourse.value.imageDescription\n\t\t\t\tinput.location = rootCourse.value.location\n\t\t\t\tinput.medium = medium.value.join(\", \"),\n\t\t\t\tinput.studio = rootCourse.value.studio\n\t\t\t\tinput.skillLevel = rootCourse.value.skillLevel\n\t\t\t\tinput.description = rootCourse.value.description\n\t\t\t\tinput.supplyList = rootCourse.value.supplyList\n\t\t\t\tinput.openArtsConfig = rootCourse.value.openArtsConfig\n\t\t\t}\n\n\t\t\t// set status as draft\n\t\t\tinput.status = \"Draft\"\n\t\t\tinput.showInSearch = 1\n\n\t\t\t// add created and updated by\n\t\t\tinput.createdBy = store.user.firstName + \" \" + store.user.lastName\n\t\t\tinput.updatedBy = store.user.firstName + \" \" + store.user.lastName\n\t\t\tinput.startDate = new Date().toISOString().split('T')[0]\n\t\t\tinput.endDate = new Date().toISOString().split('T')[0]\n\t\t\tres = await api(createCourse, { input })\n\n\t\t\t// nav to new coures\n\t\t\trouter.push({name: \"CourseDetails\", params: {id: res.data.createCourse.id, edit: \"1\"}})\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally{\n\t\t\tloading.value = false\n\t\t}\n\t\t\n\t}\n\n\t/**\n\t * To save the changes made to the root course\n\t * @function save\n\t*/\n\tasync function save() {\n\t\ttry {\n\t\t\tloading.value = true\n\n\t\t\t// upload image to s3\n\t\t\tif(courseImage.value) {\n\t\t\t\tvar fileName = file.value.name\n\t\t\t\tlet s3Key = 'courseImages/' + fileName\n\t\t\t\tawait Storage.put(s3Key, file.value)\n\t\t\t\trootCourse.value.image = s3Key\n\t\t\t}\n\n\t\t\tlet input = {\n\t\t\t\tid: rootCourse.value.id,\n\t\t\t\tdescription: rootCourse.value.description,\n\t\t\t\tsupplyList: rootCourse.value.supplyList,\n\t\t\t\timage: rootCourse.value.image,\n\t\t\t\timageDescription: rootCourse.value.imageDescription,\n\t\t\t\tmedium: medium.value.join(\", \"),\n\t\t\t\tupdatedBy: store.user.firstName + \" \" + store.user.lastName,\n\t\t\t\tlocation: rootCourse.value.location,\n\t\t\t\tageLevel: rootCourse.value.ageLevel,\n\t\t\t\tstudio: rootCourse.value.studio,\n\t\t\t\tskillLevel: rootCourse.value.skillLevel,\n\t\t\t\tname: rootCourse.value.name\n\t\t\t}\n\n\t\t\t// update root course\n\t\t\tawait api(updateRootCourse, { input })\n\n\t\t\t// batch update active courses related to the root course\n\t\t\t/**\n\t\t\t * TODO - create custom resolver and call mutation here\n\t\t\t */\n\n\t\t\ttoggleEditMode()\n\t\t\tgetData()\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tfunction openCancelModal() {\n\t\tconfirmationTitle.value = \"Discard Root Course Changes?\"\n\t\tconfirmationDetails.value = \"Are you sure you want to discard your changes? All unsaved changes will be lost.\"\n\t\tshowConfirmation.value = true\n\t\tconfirmationButtonLabel.value = \"Discard Changes\"\n\t\tconfirmationCancelButtonLabel.value = \"Keep Editing\"\n\t\tconfirmationConfirmAction.value = () => cancelEdits()\n\t}\n\n\tasync function getData() {\n\t\ttry {\n\t\t\tloading.value = true\t\t\t\n\t\t\tconst response: any = await api(getRootCourse, { id: props.id })\n\t\t\trootCourse.value = response?.data?.getRootCourse || {}\n\n\t\t\tmedium.value = !rootCourse?.value?.medium ? [] : rootCourse?.value?.medium?.split(\", \")\n\n\t\t\tif(rootCourse.value.image) {\n\t\t\t\ts3PhotoUrl.value = await Storage.get(rootCourse.value.image)\n\t\t\t}\n\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally{\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\n\t/**\n\t * Toggle Edit Mode\n\t */\n\tfunction toggleEditMode() {\n\t\teditMode.value = !editMode.value\n\t}\n\n\t/**\n\t * Cancel Edits\n\t */\n\tfunction cancelEdits() {\n\t\tgetData()\n\t\ttoggleEditMode()\n\t\tshowConfirmation.value = false\n\t\tcourseImage.value = undefined\n\t\tif(document.getElementById(\"FileUpload\")){\n\t\t\tdocument.getElementById(\"FileUpload\").value = \"\"\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_ChevronLeftIcon = _resolveComponent(\"ChevronLeftIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_DocumentArrowUpIcon = _resolveComponent(\"DocumentArrowUpIcon\")!\n const _component_data_display = _resolveComponent(\"data-display\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_router_link, {\n to: {name: 'RootCourses'},\n class: \"font-bold flex justify-start items-center\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronLeftIcon, { class: \"inline h-4\" }),\n _hoisted_4\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_5, [\n (editMode.value)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 0,\n loading: loading.value,\n disabled: loading.value,\n class: \"btn-base btn-white\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (openCancelModal()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n (editMode.value)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 1,\n loading: loading.value,\n disabled: loading.value,\n class: \"btn-base btn-brand\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (save()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n : (_openBlock(), _createBlock(_component_tw_button, {\n key: 2,\n class: \"btn-base btn-brand\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (toggleEditMode()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Edit \")\n ]),\n _: 1\n })),\n _createVNode(_component_tw_button, {\n loading: loading.value,\n disabled: editMode.value || loading.value,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (createNewCourse(null))),\n class: \"btn-base btn-brand\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create New Course... \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ]),\n _createElementVNode(\"div\", null, [\n (editMode.value)\n ? (_openBlock(), _createBlock(_component_tw_input, {\n key: 0,\n class: \"mt-5 mb-3.5\",\n modelValue: rootCourse.value.name,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((rootCourse.value.name) = $event))\n }, null, 8, [\"modelValue\"]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_6, _toDisplayString(rootCourse.value.name), 1))\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n (courseImage.value && editMode.value)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: courseImage.value,\n class: \"object-cover h-44 w-44\"\n }, null, 8, _hoisted_9))\n : _createCommentVNode(\"\", true),\n ((editMode.value && (!courseImage.value && s3PhotoUrl.value)) || (!editMode.value))\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n src: s3PhotoUrl.value,\n class: \"object-cover h-44 w-44\"\n }, null, 8, _hoisted_10))\n : _createCommentVNode(\"\", true),\n (editMode.value && (courseImage.value || s3PhotoUrl.value))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createElementVNode(\"button\", {\n onClick: removeImage,\n class: \"text-gray-500 font-bold pr-2\"\n }, \" Remove \"),\n _createElementVNode(\"button\", {\n onClick: triggerImageUpload,\n class: \"text-brand-500 font-bold pl-2\"\n }, \" Change \")\n ]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createElementVNode(\"div\", {\n class: \"stealthFileContainer\",\n ref_key: \"drop\",\n ref: drop,\n onDragover: _cache[6] || (_cache[6] = _withModifiers(() => {}, [\"prevent\"])),\n onDrop: _cache[7] || (_cache[7] = _withModifiers(() => {}, [\"prevent\"]))\n }, [\n _createElementVNode(\"label\", {\n for: \"FileUpload\",\n class: _normalizeClass([{'border-solid' : !file.value, 'border-dashed' : file.value}, \"h-44 w-44 flex-none fileContainer relative border-2 border-gray-300 rounded-sm text-center hover:border-gray-400 cursor-pointer box-content flex justify-start align-middle\"])\n }, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_DocumentArrowUpIcon, {\n \"aria-hidden\": \"true\",\n class: \"mx-auto h-12 w-12 text-brand-500\"\n }),\n _hoisted_13\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"h-full w-full absolute top-0 left-0 text-white text-3xl p-8\", {'bg-gray-400 opacity-100 bg-opacity-90 rounded-sm z-20': isOver.value, 'z-0 opacity-0 ': !isOver.value}])\n }, \" Drop file here \", 2),\n _createElementVNode(\"input\", {\n type: \"file\",\n id: \"FileUpload\",\n name: \"upload\",\n accept: \".jpg, .gif, .png, .pdf\",\n onChange: _cache[5] || (_cache[5] = ($event: any) => (fileUpload($event))),\n class: \"hidden h-44 w-44\",\n ref_key: \"imageUploadRef\",\n ref: imageUploadRef\n }, null, 544)\n ], 2),\n _hoisted_14\n ], 544), [\n [_vShow, !courseImage.value && !s3PhotoUrl.value && editMode.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_data_display, {\n label: \"Course Photo Description\",\n loading: loading.value,\n value: rootCourse.value.imageDescription,\n editing: editMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_input, {\n class: \"-mb-1.75\",\n modelValue: rootCourse.value.imageDescription,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((rootCourse.value.imageDescription) = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(_component_data_display, {\n label: \"Location\",\n loading: loading.value,\n value: rootCourse.value.location,\n editing: editMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_select, {\n class: \"-mb-1.75\",\n options: _unref(VL_LOCATION_OPTIONS),\n modelValue: rootCourse.value.location,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((rootCourse.value.location) = $event))\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_data_display, {\n label: \"Age Level\",\n loading: loading.value,\n value: rootCourse.value.ageLevel,\n editing: editMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_select, {\n class: \"-mb-1.75\",\n options: _unref(_valueListStore).valueList.ageLevel,\n modelValue: rootCourse.value.ageLevel,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((rootCourse.value.ageLevel) = $event))\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_data_display, {\n label: \"Medium\",\n loading: loading.value,\n value: rootCourse.value.medium,\n editing: editMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_select, {\n modelValue: medium.value,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((medium).value = $event)),\n name: \"medium\",\n id: \"medium\",\n multiple: \"\",\n options: _unref(_valueListStore).valueList.medium\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_data_display, {\n label: \"Studio\",\n loading: loading.value,\n value: rootCourse.value.studio,\n editing: editMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_input, {\n modelValue: rootCourse.value.studio,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((rootCourse.value.studio) = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createVNode(_component_data_display, {\n label: \"Skill Level\",\n loading: loading.value,\n value: rootCourse.value.skillLevel,\n editing: editMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_select, {\n options: _unref(_valueListStore).valueList.skillLevel,\n modelValue: rootCourse.value.skillLevel,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((rootCourse.value.skillLevel) = $event))\n }, null, 8, [\"options\", \"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"p\", _hoisted_22, [\n _hoisted_23,\n _createElementVNode(\"span\", _hoisted_24, _toDisplayString(_ctx.$filters.formatTimestamp(rootCourse.value.createdAt) || \"—\") + \" by \" + _toDisplayString(rootCourse.value.createdBy || \"—\"), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_25, [\n _hoisted_26,\n _createElementVNode(\"span\", _hoisted_27, _toDisplayString(_ctx.$filters.formatTimestamp(rootCourse.value.updatedAt) || \"—\") + \" by \" + _toDisplayString(rootCourse.value.updatedBy || \"—\"), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_28, [\n _hoisted_29,\n _withDirectives(_createElementVNode(\"div\", null, [\n _createVNode(_unref(QuillEditor), {\n class: \"h-52\",\n id: \"course-description\",\n name: \"course-description\",\n \"content-type\": \"html\",\n options: editorOptions.value,\n content: rootCourse.value.description,\n \"onUpdate:content\": _cache[14] || (_cache[14] = ($event: any) => ((rootCourse.value.description) = $event))\n }, null, 8, [\"options\", \"content\"])\n ], 512), [\n [_vShow, editMode.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", {\n class: \"text-sm pre rich-text\",\n innerHTML: rootCourse.value.description\n }, null, 8, _hoisted_30), [\n [_vShow, !editMode.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_31, [\n _hoisted_32,\n _withDirectives(_createElementVNode(\"div\", null, [\n _createVNode(_unref(QuillEditor), {\n id: \"supply-list\",\n name: \"supply-list\",\n class: \"h-52\",\n \"content-type\": \"html\",\n options: editorOptions.value,\n content: rootCourse.value.supplyList,\n \"onUpdate:content\": _cache[15] || (_cache[15] = ($event: any) => ((rootCourse.value.supplyList) = $event))\n }, null, 8, [\"options\", \"content\"])\n ], 512), [\n [_vShow, editMode.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", {\n class: \"text-sm pre rich-text\",\n innerHTML: rootCourse.value.supplyList\n }, null, 8, _hoisted_33), [\n [_vShow, !editMode.value]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_34, [\n _hoisted_35,\n _createVNode(_component_tw_table, {\n loading: loading.value,\n placeholder: \"No courses to display\",\n \"default-sort\": {prop: 'startDate', order: 'ASC'},\n data: rootCourse.value?.courses?.items\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"name\",\n header: \"Name\",\n width: \"60\",\n \"class-name\": \"pl-6\",\n \"header-class-name\": \"pl-6\",\n align: \"left\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"status\",\n header: \"Status\",\n width: \"40\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Term\",\n width: \"28\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(row?.term?.name || \"—\"), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"dayOfWeek\",\n header: \"Day\",\n width: \"18\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"timeOfDay\",\n header: \"Time\",\n width: \"24\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"studio\",\n header: \"Studio\",\n width: \"20\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numRegistered\",\n header: \"Reg\",\n width: \"14\"\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"w-44 sticky z-10 right-9 bg-white\",\n \"header-class-name\": \"bg-gray-50 w-44 sticky right-9\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", {\n class: \"link\",\n onClick: ($event: any) => (createNewCourse(row.id))\n }, \"Create new course from...\", 8, _hoisted_36)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_37\n ]),\n default: _withCtx(({row}) => [\n _hoisted_38,\n _createVNode(_component_router_link, {\n to: {name: 'CourseDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_39\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"loading\", \"data\"])\n ]),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: showConfirmation.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_40, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_41,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_42, [\n _createElementVNode(\"div\", _hoisted_43, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(confirmationTitle.value), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"p\", _hoisted_44, _toDisplayString(confirmationDetails.value), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_45, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-white\",\n onClick: _cache[16] || (_cache[16] = ($event: any) => (showConfirmation.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(confirmationCancelButtonLabel.value), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-red uppercase\",\n onClick: confirmationConfirmAction.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(confirmationButtonLabel.value), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}\n}\n\n})","import script from \"./RootCoursesDetails.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RootCoursesDetails.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"px-6 py-4 border-b\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Instructors \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-full md:w-3/4\" }, \" Manage teaching artist and teaching assistants' accounts. \")\n], -1)\nconst _hoisted_2 = { class: \"mx-4 sm:mx-0\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\n\timport { \n\t\tStudent as StudentType\n\t} from \"@/API\"\n\n\timport { \n\t\tbyInstructor,\n\t} from '../queries'\n\n\t// vue\n\timport { \n\t\tref\n\t} from 'vue'\n\n\t// #region get data\n\t\n //name the component\n const __default__ = {name: \"InstructorSettings\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// api\n\tconst filter = ref({})\n\tconst isLoading = ref(false)\n\tconst limit = 300\n\tconst nextToken = ref(null)\n\tconst query = ref(byInstructor)\n\tconst queryName = ref(\"byInstructor\")\n\tconst instructors = ref([])\n\tconst sortDirection = ref(\"ASC\")\n\n\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t */\n\tasync function getData(reset:boolean = false) {\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tisInstructor: 1,\n\t\t\tfilter: filter.value,\n\t\t\tsortDirection: sortDirection.value\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry{\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\n\t\t\tif(reset) instructors.value = items\n\t\t\telse instructors.value = [...instructors.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\t// #endregion\n\n\t//#region sorting and filters\n\t/**\n\t * To sort based on the selected column\n\t * @param {string} _sortDirection - The current sort direction\n\t * @param _query - The query to be used\n\t * @param _queryName - The query name \n\t */\n\tasync function sortMethod(_sortDirection: string, _query: any, _queryName: string){\n\t\tinstructors.value.length = 0\n\t\tsortDirection.value = _sortDirection\n\t\tquery.value = _query\n\t\tqueryName.value = _queryName\n\t\tgetData(true)\n\t}\n\t// #endregion\n\n\tgetData()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_tw_table, {\n class: \"-mt-4\",\n loading: isLoading.value,\n data: instructors.value,\n \"default-sort\": {prop: 'firstName', order: 'ASC'}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"firstName\",\n header: \"First Name\",\n width: \"34\",\n sortable: true,\n \"sort-method\": ( sortDirection ) => { sortMethod(sortDirection, _unref(byInstructor), 'byInstructor') }\n }, null, 8, [\"sort-method\"]),\n _createVNode(_component_tw_table_column, {\n prop: \"lastName\",\n header: \"Last Name\",\n width: \"34\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Age\",\n width: \"20\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.age(row.dob)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"pronouns\",\n header: \"Pronouns\",\n width: \"48\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"email\",\n header: \"Email\",\n width: \"52\"\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_3\n ]),\n default: _withCtx(({row}) => [\n _hoisted_4,\n _createVNode(_component_router_link, {\n to: {name: 'StudentDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_5\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"loading\", \"data\"])\n ])\n ]))\n}\n}\n\n})","import script from \"./Instructors.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Instructors.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"border border-gray-300 flex items-center justify-between cursor-text py-2 shadow px-1\" }\nconst _hoisted_2 = { class: \"flex items-center justify-left\" }\nconst _hoisted_3 = { class: \"w-10 flex text-gray-400 cursor-grab\" }\n\nimport { \n\t\tref \n\t} from 'vue';\n\n\t// api\n\timport { \n\t\tSelectListOption \n\t} from \"@/API\"\n\n\t// tailwind\n\timport {\n\t\tEllipsisVerticalIcon,\n\t\tXMarkIcon \n\t} from '@heroicons/vue/20/solid'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'SelectListOption' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n selectListOption: {},\n deleteOption: { type: Function },\n changeOptionLabel: { type: Function }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\t// vue\n\tconst inputRef = ref(null)\n\n\t\n\n\tconst onInputchange = () => {\n\t\tif (!inputRef.value) return;\n\t\tconst input = inputRef.value;\n\t\tconst newLabel = input.innerText.trim()\n\n\t\tif (newLabel !== props.selectListOption.label.trim()) {\n\t\t\t// Input value was changed\n\t\t\tprops.changeOptionLabel(props.selectListOption.id, newLabel)\n\t\t}\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_unref(EllipsisVerticalIcon), { class: \"text-brand-500 -ml-1 h-5\" }),\n _createVNode(_unref(EllipsisVerticalIcon), { class: \"text-brand-500 -ml-3.5 h-5\" })\n ]),\n _createElementVNode(\"div\", {\n class: \"outline-none pr-4 whitespace-pre\",\n ref_key: \"inputRef\",\n ref: inputRef,\n contenteditable: \"\",\n onFocusout: onInputchange\n }, _toDisplayString(props.selectListOption.label), 545)\n ]),\n _createElementVNode(\"div\", {\n class: \"w-5 text-gray-400 hover:text-gray-800 transition-all duration-100 cursor-pointer\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (props.deleteOption(props.selectListOption.id)))\n }, [\n _createVNode(_unref(XMarkIcon))\n ])\n ]))\n}\n}\n\n})","import script from \"./SelectListOption.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SelectListOption.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5ecf46ea\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"text-sm font-bold\" }\nconst _hoisted_2 = { class: \"bg-white flex-none\" }\n\nimport SelectListOption from \"./SelectListOption.vue\"\n\n\t// api\n\timport api from \"@/utilities/api\"\n\n\timport { \n\t\tSelectList as SelectList\n\t} from \"@/API\"\n\n\timport { \n\t\tcreateSelectListOption, \n\t\tdeleteSelectListOption, \n\t\tupdateSelectListOption\n\t} from \"../mutations\"\n\n\t// vue\n\timport {\n\t\tref\n\t} from \"vue\"\n\n\t// other\n\timport isNil from \"lodash/isNil\"\n\timport draggable from 'vuedraggable'\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'SelectList' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n selectList: {},\n reloadSelectLists: { type: Function }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\t// components\n\t\n\n\tconst dragging = ref(false)\n\n\tconst optionsList = ref(props.selectList?.options?.items\n\t\t.map(item => ({ id: item?.id, name: item?.label, item }))\n\t\t.sort((a, b) => {\n\t\t\tif (!a?.item?.sortIndex || !b?.item?.sortIndex) { return 0 }\n\t\t\treturn a.item?.sortIndex - b.item?.sortIndex\n\t\t})\n\t)\n\n\tconst recalculateList = () => {\n\t\tif (!props.selectList?.options?.items) return undefined\n\t\toptionsList.value = props.selectList?.options?.items\n\t\t\t.map(item => ({ id: item?.id, name: item?.label, item }))\n\t\t\t.sort((a, b) => {\n\t\t\t\tif (!a?.item?.sortIndex || !b?.item?.sortIndex) { return 0 }\n\t\t\t\treturn a.item?.sortIndex - b.item?.sortIndex\n\t\t\t})\n\t}\n\n\tconst createOption = async () => {\n\t\tconst input = {\n\t\t\tselectListId: props.selectList.id,\n\t\t\tsortIndex: optionsList.value?.length ?? 0,\n\t\t\tlabel: \" \",\n\t\t\tvalue: \" \",\n\t\t}\n\t\tawait api(createSelectListOption, { input })\n\t\tawait props.reloadSelectLists()\n\t\trecalculateList()\n\t}\n\n\tconst deleteOption = async (selectListOptionId: string) => {\n\t\t// Modify locally for reactivity\n\t\tconst listCopy = optionsList.value // Clone array to assign\n\t\tconst optionListIndex = listCopy?.findIndex(item => item?.id === selectListOptionId)\n\n\t\t// Return if invalid deletion\n\t\tif (optionListIndex === undefined) return\n\t\tif (!listCopy) return\n\n\t\tlistCopy.splice(optionListIndex, 1)\n\n\t\tapi(deleteSelectListOption, { input: { id: selectListOptionId } })\n\n\t\tconst modifiedOptions = optionsList?.value?.slice(optionListIndex) // Options moved left by deletion\n\t\tlet idx = 0\n\t\tfor (const modifiedOption of modifiedOptions ?? []) {\n\t\t\tif (isNil(listCopy[optionListIndex + idx].item?.sortIndex)) return\n\t\t\tlistCopy[optionListIndex + idx]!.item!.sortIndex = optionListIndex + idx\n\t\t\tapi(updateSelectListOption, { input: { id: modifiedOption.id, sortIndex: optionListIndex + idx } })\n\t\t\tidx++\n\t\t}\n\n\t\toptionsList.value = listCopy\n\t}\n\n\tconst changeOptionLabel = async (id: string, label: string) => {\n\t\tconst optionIndexInList = optionsList?.value?.findIndex(option => option?.id === id)\n\t\tif (optionIndexInList === -1 || optionIndexInList === undefined) return\n\t\tif (!optionsList.value) return\n\t\tconst camalize = (str: string) => {\n\t\t\treturn str.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, function (match, chr) {\n\t\t\t\treturn chr.toUpperCase()\n\t\t\t})\n\t\t}\n\t\tconst camelizedLabel = camalize(label)\n\n\t\toptionsList.value[optionIndexInList]!.item!.label = label\n\t\toptionsList.value[optionIndexInList]!.item!.value = camelizedLabel\n\n\t\tapi(updateSelectListOption, { input: { id, label, value: camelizedLabel } })\n\t}\n\n\n\tconst onOptionDropped = async (ev: any) => {\n\t\tif (!optionsList.value) return\n\t\tif (ev.oldIndex == ev.newIndex) return\n\n\t\tconst optionMovedRight = ev.newIndex > ev.oldIndex\n\n\t\tconst droppedOption = optionsList.value[ev.newIndex]\n\t\tconst modifiedOptions = optionMovedRight ? // Options moved from drop \n\t\t\toptionsList.value.slice(ev.oldIndex, ev.newIndex)\n\t\t\t: optionsList.value.slice(ev.newIndex + 1, ev.oldIndex + 1)\n\n\n\t\tfor (const modifiedOption of modifiedOptions) {\n\t\t\tif (modifiedOption.item?.sortIndex === undefined || modifiedOption.item?.sortIndex === null) return\n\n\t\t\tconst optionIndexInList = optionsList?.value?.findIndex(option => option?.id === modifiedOption.id)\n\n\t\t\toptionsList.value[optionIndexInList]!.item!.sortIndex = optionMovedRight ?\n\t\t\t\tmodifiedOption.item.sortIndex - 1\n\t\t\t\t: modifiedOption.item.sortIndex + 1\n\n\t\t\tapi(updateSelectListOption, {\n\t\t\t\tinput: {\n\t\t\t\t\tid: modifiedOption.id,\n\t\t\t\t\tsortIndex: optionMovedRight ?\n\t\t\t\t\t\tmodifiedOption.item.sortIndex - 1\n\t\t\t\t\t\t: modifiedOption.item.sortIndex + 1\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\n\t\tapi(updateSelectListOption, { input: { id: droppedOption.id, sortIndex: ev.newIndex } })\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"p\", _hoisted_1, _toDisplayString(_ctx.selectList.name), 1),\n _createVNode(_unref(draggable), {\n list: optionsList.value,\n \"ghost-class\": \"ghost\",\n onStart: _cache[0] || (_cache[0] = ($event: any) => (dragging.value = true)),\n onEnd: onOptionDropped,\n \"item-key\": \"id\",\n class: \"flex flex-wrap flex-col gap-3 py-2 md:w-1/2 lg:w-1/2\"\n }, {\n item: _withCtx(({\n\t\t\t\t\telement\n\t\t\t\t}) => [\n _createElementVNode(\"div\", _hoisted_2, [\n (element.item)\n ? (_openBlock(), _createBlock(SelectListOption, {\n key: 0,\n dragging: dragging.value,\n \"select-list-option\": element.item,\n \"delete-option\": deleteOption,\n \"change-option-label\": changeOptionLabel\n }, null, 8, [\"dragging\", \"select-list-option\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"list\"]),\n _createVNode(_component_tw_button, {\n class: \"btn-brand btn-base\",\n onClick: createOption\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Add Option \")\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./SelectList.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SelectList.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SelectList.vue?vue&type=style&index=0&id=5ecf46ea&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5ecf46ea\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createVNode as _createVNode, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"px-6 py-4 border-b\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Drop Down Values \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm\" }, \" Edit system-wide values for controlling drop down lists. Click and drag the blue dots to reorder the options of a list. \")\n], -1)\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { class: \"text-xl font-bold font-gotham mb-4\" }\nconst _hoisted_4 = { class: \"space-y-6\" }\n\nimport SelectList from \"./SelectList.vue\"\n\n\t// api\n\timport api from \"@/utilities/api\"\n\n\timport { \n\t\tSelectList as SelectListType\n\t} from \"@/API\"\n\n\timport { \n\t\tlistSelectLists\n\t} from \"../queries\"\n\n\t// vue\n\timport {\n\t\tcomputed,\n\t\tonMounted,\n\t\tref\n\t} from \"vue\"\n\n\t\n\t// name the component\n\tconst __default__ = { name: 'DropDownValue' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// components\n\tconst selectLists = ref([])\n\tconst loaded = ref(false);\n\n\tconst reloadSelectLists = async () => await api(listSelectLists).then((queryRes: any) => {\n\t\tselectLists.value = queryRes.data.listSelectLists.items\n\t\tloaded.value = true\n\t})\n\n\tconst categories = computed(() => {\n\t\tlet res:any = []\n\t\tconst categoriesSet = new Set(selectLists.value.map((list) => {return list.category}))\n\n\t\tcategoriesSet.forEach(category => {\n\t\t\tlet obj = {\n\t\t\t\tname: category,\n\t\t\t\tlists: selectLists.value.filter((list) => { return list.category === category}).sort((a:any,b:any) => { return a.name.localeCompare(b.name) })\n\t\t\t}\n\t\t\tres.push(obj)\n\t\t})\n\t\tres = res.sort((a:any,b:any) => {return a.name.localeCompare(b.name)})\n\n\t\treturn res\n\t})\n\n\tonMounted(() => reloadSelectLists())\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_loading = _resolveComponent(\"tw-loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n (loaded.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(categories.value, (category) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: category.name,\n class: \"px-6 py-4\"\n }, [\n _createElementVNode(\"h3\", _hoisted_3, _toDisplayString(category.name), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(category.lists, (selectList) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: selectList.key\n }, [\n _createVNode(SelectList, {\n \"select-list\": selectList,\n \"reload-select-lists\": reloadSelectLists\n }, null, 8, [\"select-list\"])\n ]))\n }), 128))\n ])\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createBlock(_component_tw_loading, {\n key: 1,\n class: \"py-24 px-6\"\n }))\n ]))\n}\n}\n\n})","import script from \"./DropDownValues.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DropDownValues.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"px-6 py-4 border-b\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Quickbooks \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-full md:w-3/4\" }, \" Configure settings for your QuickBooks account. \")\n], -1)\nconst _hoisted_2 = { class: \"p-6\" }\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = { class: \"flex space-x-2 mb-6\" }\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"p\", null, \"QuickBooks Connected\", -1)\nconst _hoisted_6 = { class: \"space-y-6\" }\nconst _hoisted_7 = { class: \"flex justify-start gap-4 items-center mt-6 mb-2 w-full pt-2 border-t\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-lg font-bold font-gotham\" }, \" Available Accounts \", -1)\nconst _hoisted_9 = { class: \"font-medium font-gotham text-sm\" }\nconst _hoisted_10 = { class: \"text-sm\" }\nconst _hoisted_11 = { class: \"flex justify-start gap-4 items-center mt-6 mb-2 w-full pt-2 border-t\" }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-lg font-bold font-gotham\" }, \" Available Items \", -1)\nconst _hoisted_13 = { class: \"font-medium font-gotham text-sm\" }\nconst _hoisted_14 = { class: \"text-sm\" }\nconst _hoisted_15 = { class: \"flex justify-start gap-4 items-center mt-6 mb-2 w-full pt-2 border-t\" }\nconst _hoisted_16 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-lg font-bold font-gotham\" }, \" Available Classes \", -1)\nconst _hoisted_17 = { class: \"font-medium font-gotham text-sm\" }\nconst _hoisted_18 = { class: \"flex justify-between items-center mt-6 mb-2 w-full pt-2 border-t\" }\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"h2\", { class: \"text-lg font-bold font-gotham\" }, \" Developer Info \", -1)\nconst _hoisted_20 = { class: \"grid grid-cols-2 gap-6\" }\nconst _hoisted_21 = { class: \"col-span-2 md:col-span-1\" }\nconst _hoisted_22 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-bold font-gotham font-mono\" }, \" Access Token Expires \", -1)\nconst _hoisted_23 = { class: \"font-mono text-xs max-w-full truncate\" }\nconst _hoisted_24 = { class: \"col-span-2 md:col-span-1\" }\nconst _hoisted_25 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"font-bold font-gotham font-mono\" }, \" Refresh Token Expires \", -1)\nconst _hoisted_26 = { class: \"font-mono text-xs max-w-full truncate\" }\n\nimport {\n\t\tuseRoute,\n\t\tuseRouter\n\t} from \"vue-router\"\n\n\timport {\n\t\tref,\n\t\tonMounted,\n onBeforeMount,\n nextTick\n\t} from \"vue\"\n\timport { Auth, API } from 'aws-amplify'\n\n\timport { getOauthURL, refreshOauthIfExpired } from '@/utilities/quickbooks'\n\timport { listSystems } from '../queries'\n\timport {\n\t\tcreateSystem,\n\t\tupdateSystem\n\t} from '../mutations'\n\n\t// api\n\timport { \n\t\tSystem as SystemType\n\t} from '@/API'\n\n\timport api from '@/utilities/api'\n\t\n\t// name the component\n\tconst __default__ = { name: 'QuickbooksSettings' }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// component code below\n\tconst itemId = ref(null)\n\tconst classId = ref(null)\n\tconst depositToAccountId = ref(null)\n\tconst accountOptions = ref([])\n\tconst route = useRoute()\n\tconst router = useRouter()\n\tconst loading = ref(false)\n\tconst accountsLoading = ref(false)\n\tconst itemsLoading = ref(false)\n\tconst classesLoading = ref(false)\n\tconst system = ref({} as SystemType)\n\n\tasync function connectToQuickbooks() {\n\t\tloading.value = true\n\t\tconst oauthURL = await getOauthURL(`${window.location.protocol}//${window.location.host}/settings/quickbooks-settings`)\n\t\twindow.location.replace(oauthURL)\n\t\tloading.value = false\n\t}\n\n\tasync function refreshTokens() {\n\t\tloading.value = true\n\t\tawait refreshOauthIfExpired(true)\n\t\tawait getData()\n\t\tloading.value = false\n\t}\n\n\tasync function refreshAccounts() {\n\t\ttry {\n\t\t\taccountsLoading.value = true\n\t\t\tconst myInit = {\n\t\t\t\theaders: {\n\t\t\t\t\tAuthorization: `Bearer ${(await Auth.currentSession())\n\t\t\t\t\t\t.getIdToken()\n\t\t\t\t\t\t.getJwtToken()}`\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst res = await API.get(\"quickbooks\", \"/quickbooks/accounts\", myInit)\n\t\t\tgetData()\n\n\t\t\tnotificationTitle.value = 'Success'\n\t\t\tnotificationSubtitle.value = 'QuickBooks accounts synced'\n\t\t\tnotificationIcon.value = 0\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tnotificationSubtitle.value = 'There was an error syncing the Quickbooks accounts. Error: ' + e\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tfinally {\n\t\t\taccountsLoading.value = false\n\t\t}\n\t}\n\n\tasync function refreshItems() {\n\t\ttry {\n\t\t\titemsLoading.value = true\n\t\t\tconst myInit = {\n\t\t\t\theaders: {\n\t\t\t\t\tAuthorization: `Bearer ${(await Auth.currentSession())\n\t\t\t\t\t\t.getIdToken()\n\t\t\t\t\t\t.getJwtToken()}`\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst res = await API.get(\"quickbooks\", \"/quickbooks/items\", myInit)\n\t\t\tgetData()\n\n\t\t\tnotificationTitle.value = 'Success'\n\t\t\tnotificationSubtitle.value = 'QuickBooks items synced'\n\t\t\tnotificationIcon.value = 0\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tnotificationSubtitle.value = 'There was an error syncing the Quickbooks items. Error: ' + e\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tfinally {\n\t\t\titemsLoading.value = false\n\t\t}\n\n\t\t\n\t}\n\n\tasync function refreshClasses() {\n\t\ttry {\n\t\t\tclassesLoading.value = true\n\t\t\tconst myInit = {\n\t\t\t\theaders: {\n\t\t\t\t\tAuthorization: `Bearer ${(await Auth.currentSession())\n\t\t\t\t\t\t.getIdToken()\n\t\t\t\t\t\t.getJwtToken()}`\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst res = await API.get(\"quickbooks\", \"/quickbooks/classes\", myInit)\n\t\t\tgetData()\n\n\t\t\tnotificationTitle.value = 'Success'\n\t\t\tnotificationSubtitle.value = 'QuickBooks classes synced'\n\t\t\tnotificationIcon.value = 0\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tnotificationSubtitle.value = 'There was an error syncing the Quickbooks classes. Error: ' + e\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tfinally {\n\t\t\tclassesLoading.value = false\n\t\t}\n\t}\n\n\tconst showNotification = ref(false)\n\tconst notificationIcon = ref(0)\n\tconst notificationTitle = ref('')\n\tconst notificationSubtitle = ref('')\n\tconst oauthToken = ref(null)\n\tconst accounts = ref([])\n\tconst classes = ref([])\n\tconst classOptions = ref([])\n\tconst items = ref([])\n\tconst itemOptions = ref([])\n\tasync function getData() {\n\t\tloading.value = true\n\t\ttry {\n\t\t\tconst listSys:any = await api(listSystems)\n\t\t\tsystem.value = listSys?.data?.listSystems.items[0]\n\t\t\tif(!system.value) {\n\t\t\t\tconst input = {}\n\t\t\t\tconst createSys:any = await api(createSystem, { input })\n\t\t\t\tsystem.value = createSys.data.createSystem\n\t\t\t}\n\t\t\toauthToken.value = JSON.parse(system?.value?.qbOauthToken || \"{}\")\n\n\t\t\taccounts.value = JSON.parse(system?.value?.qbAccounts || \"[]\")\n\t\t\taccountOptions.value = accounts.value.map((account) => {\n\t\t\t\treturn {\n\t\t\t\t\tlabel: account.Name,\n\t\t\t\t\tvalue: account.Id\n\t\t\t\t}\n\t\t\t})\n\t\t\tdepositToAccountId.value = JSON.parse(system?.value?.qbDepositToAccount || \"{}\")?.Id\n\n\t\t\tclasses.value = JSON.parse(system?.value?.qbClasses || \"[]\")\n\t\t\tclassOptions.value = classes.value.map((_class) => {\n\t\t\t\treturn {\n\t\t\t\t\tlabel: _class.Name,\n\t\t\t\t\tvalue: _class.Id\n\t\t\t\t}\n\t\t\t})\n\t\t\tclassId.value = JSON.parse(system?.value?.qbDonationItemClass || \"{}\")?.Id\n\n\t\t\titems.value = JSON.parse(system?.value?.qbItems || \"[]\")\n\t\t\titemOptions.value = items.value.map((item) => {\n\t\t\t\treturn {\n\t\t\t\t\tlabel: item.Name,\n\t\t\t\t\tvalue: item.Id\n\t\t\t\t}\n\t\t\t})\n\t\t\titemId.value = JSON.parse(system?.value?.qbDonationItem || \"{}\")?.Id\n\t\t} \n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tonBeforeMount(async () => {\n\t\tawait getData()\n\t})\n\n\tonMounted(async () => {\n\t\tloading.value = true\n\t\t\n\t\t// exchange the oauth code for tokens\n\t\tif(route.fullPath.includes(\"code\")) {\n\t\t\ttry {\n\t\t\t\t// grab the realm id\n\t\t\t\tconst realmId = route.query.realmId\n\t\t\t\tconst myInit = {\n\t\t\t\t\theaders: {\n\t\t\t\t\t\tAuthorization: `Bearer ${(await Auth.currentSession())\n\t\t\t\t\t\t\t.getIdToken()\n\t\t\t\t\t\t\t.getJwtToken()}`\n\t\t\t\t\t},\n\t\t\t\t\tbody: {\n\t\t\t\t\t\tredirectUri: route.fullPath\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tconst res = await API.post(\"quickbooks\", \"/quickbooks/callback\", myInit)\n\t\n\t\t\t\tlet { token } = res\n\t\t\t\ttoken = JSON.parse(token)\n\t\n\t\t\t\tlet tokenParsed = {\n\t\t\t\t\taccess_token: token.access_token,\n\t\t\t\t\trefresh_token: token.refresh_token,\n\t\t\t\t\ttoken_type: token.token_type, \n\t\t\t\t\texpires_in: Number(token.expires_in),\n\t\t\t\t\tx_refresh_token_expires_in: Number(token.x_refresh_token_expires_in),\n\t\t\t\t\tregistered: new Date(),\n\t\t\t\t\trealm_id: realmId\n\t\t\t\t}\n\n\t\t\t\t// save to db\n\t\t\t\t/**\n\t\t\t\t * TODO - move to lambda\n\t\t\t\t */\n\t\t\t\ttry{\n\t\t\t\t\tloading.value = true\n\t\t\t\t\tlet input = {\n\t\t\t\t\t\tid: system.value.id,\n\t\t\t\t\t\tqbOauthToken: JSON.stringify(tokenParsed)\n\t\t\t\t\t}\n\t\t\t\t\tawait api(updateSystem, { input })\n\n\t\t\t\t\t// go to Quickbooks route to remove url params for QB callback\n\t\t\t\t\trouter.push({name: 'Quickbooks'})\n\t\t\t\t\t\t\n\t\t\t\t\tnotificationTitle.value = 'Success'\n\t\t\t\t\tnotificationSubtitle.value = 'QuickBooks connected successfully'\n\t\t\t\t\tnotificationIcon.value = 0\n\t\t\t\t\tshowNotification.value = true\n\n\t\t\t\t\tgetData()\n\t\t\n\t\t\t\t}\n\t\t\t\tcatch(e) {\n\t\t\t\t\tconsole.log(e)\n\t\t\t\t}\n\t\t\t\tfinally {\n\t\t\t\t\tloading.value = false\n\t\t\t\t}\n\t\t\t} \n\t\t\tcatch (e) {\n\t\t\t\trouter.push({name: 'Quickbooks'})\n\t\t\t\tconsole.error(\"There was an error fetching the oauth URL\", e)\n\t\t\t\tnotificationTitle.value = 'Error'\n\t\t\t\tnotificationSubtitle.value = 'There was an error connecting to QuickBooks'\n\t\t\t\tnotificationIcon.value = 1\n\t\t\t\tshowNotification.value = true\n\t\t\t}\n\t\t}\n\t\tloading.value = false\n\t})\n\n\t/**\n\t * To save the changes made on the Confirmation Letter tab\n\t */\n\tasync function save(){\n\t\ttry {\n\t\t\tawait nextTick()\n\t\t\tlet account = accounts.value.find((account) => {\n\t\t\t\treturn account.Id == depositToAccountId.value\n\t\t\t})\n\t\t\tlet item = items.value.find((item) => {\n\t\t\t\treturn item.Id == itemId.value\n\t\t\t})\n\t\t\tlet _class = classes.value.find((_class) => {\n\t\t\t\treturn _class.Id == classId.value\n\t\t\t})\n\t\t\tlet input = {\n\t\t\t\tid: system.value.id,\n\t\t\t\tqbDepositToAccount: JSON.stringify(account),\n\t\t\t\tqbDonationItem: JSON.stringify(item),\n\t\t\t\tqbDonationItemClass: JSON.stringify(_class)\n\t\t\t}\n\t\t\tlet res = await api(updateSystem, { input } )\n\n\t\t\tif(res.errors){\n\t\t\t\tlet error = res.errors[0].message\n\t\t\t\tthrow error\n\t\t\t}\n\n\t\t\tnotificationTitle.value = 'Success'\n\t\t\tnotificationSubtitle.value = 'QuickBooks settings updated'\n\t\t\tnotificationIcon.value = 0\n\t\t\tshowNotification.value = true\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t\tnotificationTitle.value = 'Error'\n\t\t\tnotificationSubtitle.value = 'There was an error updating the Open Arts QuickBooks item. Error: ' + e\n\t\t\tnotificationIcon.value = 1\n\t\t\tshowNotification.value = true\n\t\t}\n\t}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_CheckCircleIcon = _resolveComponent(\"CheckCircleIcon\")!\n const _component_tw_select = _resolveComponent(\"tw-select\")!\n const _component_ArrowPathIconMini = _resolveComponent(\"ArrowPathIconMini\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n subtitle: notificationSubtitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"subtitle\", \"icon\"]))\n : _createCommentVNode(\"\", true),\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n (!oauthToken.value?.access_token)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 0,\n loading: loading.value,\n disabled: loading.value,\n onClick: connectToQuickbooks,\n class: \"btn-brand btn-base\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Connect to quickbooks \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(_component_CheckCircleIcon, { class: \"text-brand4-500 w-5 h-5\" })\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_tw_select, {\n \"onUpdate:modelValue\": [\n save,\n _cache[1] || (_cache[1] = ($event: any) => ((depositToAccountId).value = $event))\n ],\n label: \"Deposit To Account\",\n class: \"w-80\",\n modelValue: depositToAccountId.value,\n options: accountOptions.value\n }, null, 8, [\"modelValue\", \"options\"]),\n _createVNode(_component_tw_select, {\n \"onUpdate:modelValue\": [\n save,\n _cache[2] || (_cache[2] = ($event: any) => ((itemId).value = $event))\n ],\n label: \"Open Arts Donation Item\",\n class: \"w-80\",\n modelValue: itemId.value,\n options: itemOptions.value\n }, null, 8, [\"modelValue\", \"options\"]),\n _createVNode(_component_tw_select, {\n \"onUpdate:modelValue\": [\n save,\n _cache[3] || (_cache[3] = ($event: any) => ((classId).value = $event))\n ],\n label: \"Open Arts Donation Class\",\n class: \"w-80\",\n modelValue: classId.value,\n options: classOptions.value\n }, null, 8, [\"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createVNode(_component_tw_button, {\n disabled: accountsLoading.value,\n onClick: refreshAccounts,\n class: \"btn-white btn-sm w-52\"\n }, {\n icon_right: _withCtx(() => [\n _createVNode(_component_ArrowPathIconMini, {\n class: _normalizeClass({'animate-spin': accountsLoading.value})\n }, null, 8, [\"class\"])\n ]),\n default: _withCtx(() => [\n _createTextVNode(\" Sync Accounts \")\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(accounts.value, (account) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: account.Id\n }, [\n _createElementVNode(\"span\", _hoisted_9, _toDisplayString(account.Name), 1),\n _createElementVNode(\"span\", _hoisted_10, \" (\" + _toDisplayString(account.AccountType) + \")\", 1)\n ]))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createVNode(_component_tw_button, {\n disabled: itemsLoading.value,\n onClick: refreshItems,\n class: \"btn-white btn-sm w-40\"\n }, {\n icon_right: _withCtx(() => [\n _createVNode(_component_ArrowPathIconMini, {\n class: _normalizeClass({'animate-spin': itemsLoading.value})\n }, null, 8, [\"class\"])\n ]),\n default: _withCtx(() => [\n _createTextVNode(\" Sync Items \")\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(items.value, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.Id\n }, [\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(item.Name), 1),\n _createElementVNode(\"span\", _hoisted_14, \" (\" + _toDisplayString(item.Type) + \")\", 1)\n ]))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_15, [\n _hoisted_16,\n _createVNode(_component_tw_button, {\n disabled: classesLoading.value,\n onClick: refreshClasses,\n class: \"btn-white btn-sm w-40\"\n }, {\n icon_right: _withCtx(() => [\n _createVNode(_component_ArrowPathIconMini, {\n class: _normalizeClass({'animate-spin': classesLoading.value})\n }, null, 8, [\"class\"])\n ]),\n default: _withCtx(() => [\n _createTextVNode(\" Sync Classes \")\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(classes.value, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.Id\n }, [\n _createElementVNode(\"span\", _hoisted_17, _toDisplayString(item.Name), 1)\n ]))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_18, [\n _hoisted_19,\n _createVNode(_component_tw_button, {\n loading: loading.value,\n disabled: loading.value,\n onClick: refreshTokens,\n class: \"btn-brand btn-base w-64\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Manually Refresh Tokens \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ])),\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _hoisted_22,\n _createElementVNode(\"div\", _hoisted_23, _toDisplayString(new Date(new Date(oauthToken.value?.registered).getTime() + (oauthToken.value?.expires_in * 1000))), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _hoisted_25,\n _createElementVNode(\"div\", _hoisted_26, _toDisplayString(new Date(new Date(oauthToken.value?.registered).getTime() + (oauthToken.value?.x_refresh_token_expires_in * 1000))), 1)\n ])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./Quickbooks.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Quickbooks.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, vShow as _vShow, vModelText as _vModelText, normalizeClass as _normalizeClass, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-559d4005\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"px-6 py-4 border-b flex flex-col lg:flex-row justify-between items-start gap-4\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Confirmation Letter \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-ful\" }, \" The confirmation letter introduction and cancellation policy will be used across all courses. \")\n], -1))\nconst _hoisted_3 = { class: \"w-full px-6 py-4\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"uppercase font-semibold\" }, \" Introduction \", -1))\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = [\"innerHTML\"]\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"mt-1 ml-3 text-gray-500\" }, \"Insert: \", -1))\nconst _hoisted_8 = {\n key: 0,\n class: \"p-3 text-red-500 bg-white border border-t-0 invalid\"\n}\nconst _hoisted_9 = {\n key: 1,\n class: \"h-54 w-80 items-center\"\n}\nconst _hoisted_10 = { class: \"h-64\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"uppercase font-semibold mt-4\" }, \" Cancellation Policy \", -1))\nconst _hoisted_12 = {\n key: 0,\n class: \"h-48\"\n}\nconst _hoisted_13 = {\n key: 1,\n class: \"h-54 w-80 items-center\"\n}\nconst _hoisted_14 = { class: \"mt-4\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"course-description\",\n class: \"mb-1 block text-sm font-bold font-gotham text-gray-700 uppercase\"\n}, \" Wailist Confirmation \", -1))\n\nimport { computed, ref } from 'vue';\n\timport api from \"@/utilities/api\"\n\timport { System } from '@/API'\n\timport { listSystems } from '../queries';\n\timport { createSystem, updateSystem } from '../mutations';\n\n\t// Quill\n\timport { \n\t\tQuillEditor\n\t} from '@vueup/vue-quill'\n\t//#endregion\n\n\n\t\n //name the component\n const __default__ = {name: \"ConfirmationLetter\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n emits: ['showMessage'],\n setup(__props, { emit }) {\n\n\n\t//#region Imports\n\tconst confirmationIntroductionHasFocus = ref(false)\n\tconst settings = ref('')\n\tconst loading = ref(false)\n\t\n\tconst isValid = ref({confirmationIntroduction: true, confirmationCancellationPolicy: true})\n\tconst editorOptions = ref({\n\t\ttheme: 'snow'\n\t})\n\n\t//HTML rendered version of Introduction message text for when textarea loses focus\n\tconst confirmationIntroductionRendered = computed(() => {\n\t\tlet text = settings.value?.confirmationIntroduction || null\n\t\tif (text == null){\n\t\t\treturn \"\"\n\t\t}\n\t\tlet badge = 'Course Name'\n\t\ttext = text.replaceAll('\\n', '
')\n\t\ttext = text.replaceAll('{{course_name}}', badge)\n\n\t\treturn text\n\t})\n\n\tfunction setFocus (id: string){\n\t\tconfirmationIntroductionHasFocus.value = id == 'confirmationIntroduction'? true : false\n\t\tif(confirmationIntroductionHasFocus.value){\n\t\t\tdocument.getElementById('confirmationIntroduction')?.focus()\n\t\t}\n\t}\n\n\n\tfunction insertElement(currentField: string, value: string){\n\t\t//get as element to find cursor position\n\t\tlet el = document.getElementById(currentField) as HTMLInputElement\n\t\tlet text = el.value\n\t\tlet end = el.selectionEnd || 0;\n\t\ttext = text.substring(0, end) + \"{{\" + value + \"}}\" + text.substring(end, text.length)\n\t\tel.value = text\n\t\tsettings.value[currentField] = text\n\t\tsaveEdit()\n\t}\n\n\tasync function saveEdit(){\n\t\ttry{\n\t\t\tsetFocus('')\n\t\t\tisValid.value.confirmationIntroduction = true\n\t\t\tif(!validateTags('confirmationIntroduction')){\n\t\t\t\tisValid.value.confirmationIntroduction = false\n\t\t\t\tlet message = [\"Error\", \"Tags are not formatted correctly. The letter has not been saved.\", \"1\"]\n\t\t\t\temit('showMessage', message)\n\t\t\t\treturn\n\t\t\t}\n\t\t\tconst input = settings.value\n\t\t\tawait api(updateSystem, { input })\n\t\t\tlet message = [\"Success\", \"Changes have been saved.\", \"0\"]\n\t\t\temit('showMessage', message)\n\t\t} \n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t}\n\t}\n\n\tfunction validateTags(currentField: string){\n\t\t//look for signs of bad tag syntax\n\t\tlet text = settings.value[currentField]\n\t\tlet isValid = true\n\t\tlet openCount = (text.match(/{/g))?.length\n\t\tlet closeCount = (text.match(/}/g))?.length\n\t\tif (openCount%2 != 0){//even number of opening braces\n\t\t\tisValid = false\n\t\t}\n\t\telse if(closeCount%2 != 0){//even number of closing braces\n\t\t\tisValid = false\n\t\t}\n\t\telse if(openCount != closeCount){//equal number of opening and closing braces\n\t\t\tisValid = false\n\t\t}\n\t\treturn isValid\n\t}\n\n\t// load system record or create\n\t(async () => {\n\t\tloading.value = true\n\t\tconst input = {\n\t\t\tlimit: 1\n\t\t}\n\t\ttry{\n\t\t\t\n\t\t\tconst listSys:any = await api(listSystems, input)\n\t\t\tconst items = listSys.data.listSystems != null ? listSys.data.listSystems.items : null\n\t\t\tif( items == null || items.length < 1 ){\n\t\t\t\tconst input = {}\n\t\t\t\tconst createSys:any = await api(createSystem, { input })\n\t\t\t\tsettings.value = createSys.data.createSystem\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsettings.value = items[0]\n\t\t\t}\n\t\t} \n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t}finally{\n\t\t\tloading.value = false\n\t\t}\n\t})()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_loading = _resolveComponent(\"tw-loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-brand w-40\",\n loading: loading.value,\n disabled: loading.value,\n onClick: saveEdit\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n (!loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _withDirectives(_createElementVNode(\"textarea\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((settings.value.confirmationIntroduction) = $event)),\n id: \"confirmationIntroduction\",\n onFocusin: _cache[1] || (_cache[1] = ($event: any) => (setFocus('confirmationIntroduction'))),\n onFocusout: saveEdit,\n class: _normalizeClass([\"w-full border-coolGray-300 transition-all\", {invalid: !isValid.value.confirmationIntroduction}]),\n rows: \"8\"\n }, null, 34), [\n [_vShow, confirmationIntroductionHasFocus.value],\n [_vModelText, settings.value.confirmationIntroduction]\n ]),\n _withDirectives(_createElementVNode(\"div\", {\n class: _normalizeClass([\"h-54 border border-coolGray-300 bg-white pl-3 pt-2 overflow-y-scroll\", {invalid: !isValid.value.confirmationIntroduction}]),\n onClick: _cache[2] || (_cache[2] = ($event: any) => (setFocus('confirmationIntroduction'))),\n innerHTML: confirmationIntroductionRendered.value\n }, null, 10, _hoisted_6), [\n [_vShow, !confirmationIntroductionHasFocus.value]\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"flex h-12 bg-white border border-coolGray-300 space-x-2 pt-2\", {invalid: !isValid.value.confirmationIntroduction}])\n }, [\n _hoisted_7,\n _createVNode(_component_tw_button, {\n class: \"btn-sm mb-2\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (insertElement('confirmationIntroduction', 'course_name')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Course Name \")\n ]),\n _: 1\n })\n ], 2),\n (!isValid.value.confirmationIntroduction)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, \" Please ensure there are two opening and closing curly brackets around each inserted tag before leaving this page or your changes will not be applied. \"))\n : _createCommentVNode(\"\", true)\n ]))\n : (loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(_component_tw_loading)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_10, [\n _hoisted_11,\n (!loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createVNode(_unref(QuillEditor), {\n id: \"confirmationCancellationPolicy\",\n name: \"confirmationCancellationPolicy\",\n options: editorOptions.value,\n \"content-type\": \"html\",\n content: settings.value.confirmationCancellationPolicy,\n \"onUpdate:content\": _cache[4] || (_cache[4] = ($event: any) => ((settings.value.confirmationCancellationPolicy) = $event)),\n onFocusout: saveEdit\n }, null, 8, [\"options\", \"content\"])\n ]))\n : (loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createVNode(_component_tw_loading)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _hoisted_15,\n _createVNode(_unref(QuillEditor), {\n class: \"h-52\",\n id: \"registration-message\",\n options: editorOptions.value,\n \"content-type\": \"html\",\n content: settings.value.confirmationWaitlist,\n \"onUpdate:content\": _cache[5] || (_cache[5] = ($event: any) => ((settings.value.confirmationWaitlist) = $event))\n }, null, 8, [\"options\", \"content\"])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./ConfirmationLetter.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ConfirmationLetter.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ConfirmationLetter.vue?vue&type=style&index=0&id=559d4005&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src755584613/src/course-registration-portal/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-559d4005\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, vShow as _vShow, withCtx as _withCtx, createVNode as _createVNode, withDirectives as _withDirectives, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"px-6 py-4 border-b flex flex-col lg:flex-row justify-between items-start gap-4\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Registration \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-full\" }, \" Edit the title and message that appears on the course registration search page. \")\n], -1)\nconst _hoisted_3 = { class: \"w-full px-6 py-4\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"space-y-6\"\n}\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"label\", {\n for: \"course-description\",\n class: \"mb-1 block text-sm font-bold font-gotham text-gray-700 uppercase\"\n}, \" Registration Message \", -1)\nconst _hoisted_6 = {\n key: 1,\n class: \"h-54 w-80 items-center\"\n}\n\nimport { \n\t\tref\n\t} from 'vue'\n\n\t// api\n\timport { \n\t\tSystem as SystemType\n\t} from '@/API'\n\n\timport { listSystems } from '../queries';\n\n\timport {\n\t\tcreateSystem,\n\t\tupdateSystem\n\t} from '../mutations';\n\n\t// quill\n\timport { \n\t\tQuillEditor\n\t} from '@vueup/vue-quill'\n\n\timport api from '@/utilities/api'\n\n\t\n //name the component\n const __default__ = {name: \"RegistrationSettings\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// vue\n\tconst editorOptions = ref({\n\t\ttheme: 'snow'\n\t})\n\n\tconst loading = ref(false)\n\tconst showSave = ref(false)\n\tconst system = ref({} as SystemType)\n\n\tasync function getData() {\n\t\tloading.value = true\n\t\ttry {\n\t\t\t\n\t\t\tconst listSys:any = await api(listSystems)\n\t\t\tsystem.value = listSys?.data?.listSystems.items[0]\n\t\t\tif(!system.value) {\n\t\t\t\tconst input = {}\n\t\t\t\tconst createSys:any = await api(createSystem, { input })\n\t\t\t\tsystem.value = createSys.data.createSystem\n\t\t\t}\n\t\t} \n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\tasync function save() {\n\t\ttry{\n\t\t\tloading.value = true\n\t\t\tlet input = {\n\t\t\t\tid: system.value.id,\n\t\t\t\tcourseSearchOpening: system.value.courseSearchOpening,\n\t\t\t\tcourseSearchTitle: system.value.courseSearchTitle,\n\t\t\t}\n\t\t\tawait api(updateSystem, { input })\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t\tshowSave.value = false\n\t\t}\n\t}\n\n\tgetData()\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_tw_loading = _resolveComponent(\"tw-loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", null, [\n _withDirectives(_createVNode(_component_tw_button, {\n class: \"btn-base btn-brand w-40\",\n loading: loading.value,\n disabled: loading.value,\n onClick: save\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save Changes \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]), [\n [_vShow, showSave.value]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n (!loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_tw_input, {\n label: \"Registration Title\",\n modelValue: system.value.courseSearchTitle,\n \"onUpdate:modelValue\": [\n _cache[0] || (_cache[0] = ($event: any) => ((system.value.courseSearchTitle) = $event)),\n _cache[1] || (_cache[1] = ($event: any) => (showSave.value = true))\n ]\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", null, [\n _hoisted_5,\n _createVNode(_unref(QuillEditor), {\n onTextChange: _cache[2] || (_cache[2] = ($event: any) => (showSave.value = true)),\n class: \"h-52\",\n id: \"registration-message\",\n options: editorOptions.value,\n \"content-type\": \"html\",\n content: system.value.courseSearchOpening,\n \"onUpdate:content\": _cache[3] || (_cache[3] = ($event: any) => ((system.value.courseSearchOpening) = $event))\n }, null, 8, [\"options\", \"content\"])\n ])\n ]))\n : (loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(_component_tw_loading)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","import script from \"./Registration.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Registration.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"px-6 py-4 border-b flex flex-col lg:flex-row justify-between items-start gap-4\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Terms \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-full\" }, \" View and create terms for courses. \")\n], -1)\nconst _hoisted_3 = { class: \"mx-4 sm:mx-0\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Is Active\", -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\nconst _hoisted_8 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_10 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-sm sm:w-full sm:p-6\" }\nconst _hoisted_11 = { class: \"sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_12 = { class: \"mt-8 space-y-6 w-full\" }\nconst _hoisted_13 = { class: \"flex justify-between items-center gap-4\" }\n\nimport {\n\t\tTerm as TermType\n\t} from '@/API'\n\n\timport {\n\t\tlistTerms\n\t} from '../queries'\n\n\timport {\n\t\tcreateTerm,\n\t\tupdateTerm\n\t} from '../mutations'\n\t\n\timport queryAll from \"@/utilities/queryAll.js\"\n\timport api from '@/utilities/api'\n\n\t// vue\n\timport {\n\t\tref\n\t} from \"vue\"\n\n\t// components\n\timport { \n\t\tDialog, \n\t\tDialogTitle,\n\t\tDialogOverlay, \n\t\tTransitionRoot, \n\t\tTransitionChild,\n\t\tSwitch\n\t} from '@headlessui/vue'\n\n\t// component code below\n\n\t\n //name the component\n const __default__ = {name: \"TermSettings\"}\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\t// api\n\tconst newTermDialogOpen = ref(false)\n\tconst isLoading = ref(false)\n\tconst termName = ref('')\n\tconst startDate = ref('')\n\tconst endDate = ref('')\n\tconst terms = ref([])\n\tconst fetchTerms = async () => {\n\t\ttry {\n\t\t\tisLoading.value = true\n\t\t\tlet res:any = await queryAll(listTerms, {}, \"listTerms\")\n\t\t\tterms.value = res.map((term:TermType) => {\n\t\t\t\tlet _term = {...term}\n\t\t\t\t_term.isActive = _term.isActive == 1 ? true : false\n\t\t\t\treturn _term\n\t\t\t})\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\n\t/**\n\t * Cancel \n\t */\n\tfunction cancel() {\n\t\tnewTermDialogOpen.value = false\n\t\ttermName.value = \"\"\n\t\tstartDate.value = \"\"\n\t\tendDate.value = \"\"\n\t}\n\n\tasync function createNewTerm() {\n\t\ttry {\n\t\t\tisLoading.value = true\n\t\t\tconst input = {\n\t\t\t\tname: termName.value,\n\t\t\t\tstartDate: startDate.value,\n\t\t\t\tendDate: endDate.value,\n\t\t\t\tisActive: 1\n\t\t\t}\n\t\t\tawait api(createTerm, { input })\n\t\t\tawait fetchTerms()\n\t\t}\n\t\tcatch(error){\n\t\t\tconsole.log('Error:', error)\n\t\t}\n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t\tcancel()\n\t\t}\n\t}\n\n\tasync function updateTermActive(value: boolean, row: TermType) {\n\t\tconst input = {\n\t\t\tid: row.id,\n\t\t\tisActive: value ? 1 : 0\n\t\t}\n\n\t\ttry{\n\t\t\tawait api(updateTerm, { input })\n\t\t\trow.isActive = value\n\t\t}\n\t\tcatch(error){\n\t\t\tconsole.log('Error:', error)\n\t\t}\n\t}\n\n\tfetchTerms()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", null, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-brand w-80\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (newTermDialogOpen.value = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create New Term \")\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_tw_table, {\n class: \"-mt-4\",\n loading: isLoading.value,\n data: terms.value,\n \"default-sort\": {prop: 'name', order: 'ASC'}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"name\",\n header: \"Name\",\n width: \"72\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"startDate\",\n width: \"65\",\n header: \"Start Date\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.startDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"endDate\",\n width: \"64\",\n header: \"End Date\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.endDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"isActive\",\n width: \"64\",\n header: \"Active\"\n }, {\n default: _withCtx(({row}) => [\n (_openBlock(), _createBlock(_unref(Switch), {\n \"onUpdate:modelValue\": [( value ) => updateTermActive(value, row), ($event: any) => ((row.isActive) = $event)],\n modelValue: row.isActive,\n id: 'switch-' + row.id,\n key: 'switch-' + row.id,\n class: _normalizeClass([row.isActive ? 'bg-brand-500' : 'bg-gray-200', 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2'])\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _createElementVNode(\"span\", {\n \"aria-hidden\": \"true\",\n class: _normalizeClass([row.isActive ? 'translate-x-5' : 'translate-x-0', 'pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out'])\n }, null, 2)\n ]),\n _: 2\n }, 1032, [\"onUpdate:modelValue\", \"modelValue\", \"id\", \"class\"]))\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_5\n ]),\n default: _withCtx(({row}) => [\n _hoisted_6,\n _createVNode(_component_router_link, {\n to: {name: 'TermDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_7\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"loading\", \"data\"])\n ]),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: newTermDialogOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_9,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"title\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create New Term \")\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_tw_input, {\n label: \"Term Name\",\n modelValue: termName.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((termName).value = $event)),\n required: \"\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n label: \"Start Date\",\n modelValue: startDate.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((startDate).value = $event)),\n required: \"\",\n type: \"date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n label: \"End Date\",\n modelValue: endDate.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((endDate).value = $event)),\n required: \"\",\n type: \"date\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(_component_tw_button, {\n onClick: cancel,\n loading: isLoading.value,\n disabled: isLoading.value,\n class: \"w-full btn-base btn-white\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]),\n _createVNode(_component_tw_button, {\n onClick: createNewTerm,\n loading: isLoading.value,\n disabled: isLoading.value,\n class: \"w-full btn-base btn-brand\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}\n}\n\n})","import script from \"./Terms.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Terms.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"px-6 py-4 border-b flex flex-col lg:flex-row justify-between items-start gap-4\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", null, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" List of Registrations \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-full\" })\n ])\n], -1)\nconst _hoisted_2 = { class: \"mx-4 sm:mx-0\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport { \n\t\tMenu, \n\t\tMenuButton, \n\t\tMenuItem, \n\t\tMenuItems\n\t} from '@headlessui/vue'\n\n\t// Vue\n\timport {\n\t\tref,\n\t\tcomputed,\n\t\tonMounted,\n\t\tonBeforeUnmount\n\t} from 'vue'\n\n\t// API\n\timport queryUntilLimitReached from '@/utilities/queryUntilLimitReached'\n\timport { Registration } from '@/API';\n\n\timport { allRegistrationsSortCreatedAt } from '../../dashboard/queries'\n\timport EventBus from '@/events'\n\t\n\t// const showNotification = ref(false)\n\t\n\t// name the component\n\tconst __default__ = { name: \"RegistrationsMain\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\n\t// Components\n\tconst notificationTitle = ref('Success')\n\tconst notificationIcon = ref(0)\n\t// const notificationSubtitle = ref('')\n\tconst notificationType = ref('')\n\n\tconst showNotification = computed(() => {\n\t\treturn notificationType.value ? true : false\n\t})\n\n\t// #region infinite scroll setup\n\tonMounted( () => {\n\t\tEventBus.on('infinite-scroll', async () => {\n\t\t\tif(nextToken.value) await getData(false)\n\t\t\tEventBus.trigger('infinite-scroll-end', null)\n\t\t})\n\t})\n\t\n\tonBeforeUnmount( () => {\n\t\tEventBus.off('infinite-scroll', null)\n\t})\n\t// #endregion\n\n\n\t// #region get data\n\tconst filter = ref({})\n\tconst isLoading = ref(false)\n\tconst limit = 100\n\tconst nextToken = ref(null)\n\tconst query = ref(allRegistrationsSortCreatedAt)\n\tconst queryName = ref(\"allRegistrationsSortCreatedAt\")\n\tconst registrations = ref([])\n\tconst sortDirection = ref(\"DESC\")\n\n\t/**\n\t * Loads data based on the current sorting and filtering options\n\t * @param {boolean} reset - Determines if the next token is used or not\n\t */\n\tasync function getData(reset:boolean = false) {\n\t\tisLoading.value = true\n\t\tconst input = {\n\t\t\tlimit: limit,\n\t\t\tallRegistrations: 1,\n\t\t\tfilter: filter.value,\n\t\t\tsortDirection: sortDirection.value\n\t\t}\n\t\tif(reset) nextToken.value = null\n\n\t\ttry{\t\t\n\t\t\tlet items:any = []\n\t\t\tlet newNextToken:string|null\n\t\t\t[items , newNextToken] = await queryUntilLimitReached(query.value, nextToken.value, input, queryName.value)\n\t\t\tnextToken.value = newNextToken\n\n\t\t\tif(reset) registrations.value = items\n\t\t\telse registrations.value = [...registrations.value, ...items]\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t} \n\t\tfinally {\n\t\t\tisLoading.value = false\n\t\t}\n\t}\n\t// #endregion\n\n\n\t// #region search\n\t/**\n \t* Search through student records and display records with matching criteria\n \t* @param {any} text - The criteria being searched for\n \t*/\n\tfunction searchMethod(text: any){\n\t\tconsole.log('Searching For', text)\n\n\t\t// TO-DO\t\n\t}\n\t// #endregion\n\n\t//#region sorting and filters\n\t/**\n\t * To sort based on the selected column\n\t * @param {string} _sortDirection - The current sort direction\n\t * @param _query - The query to be used\n\t * @param _queryName - The query name \n\t */\n\tasync function sortMethod(_sortDirection: string, _query: any, _queryName: string){\n\t\tregistrations.value.length = 0\n\t\tsortDirection.value = _sortDirection\n\t\tquery.value = _query\n\t\tqueryName.value = _queryName\n\t\tgetData(true)\n\t}\n\n\n\tconst tableActions = [\n\t\t{ label: 'Export Selected Registrations...', method: exportSelectedStudents }\n\t]\n\n\t//#region export\n\tconst exportModalOpen = ref(false);\n\tconst numRecordsExport = ref('');\n\tconst exportData = ref([]);\n\tconst exportAll = ref(false)\n\n\tfunction exportSelectedStudents(selectedRows: Array){\n\t\tnumRecordsExport.value = selectedRows.length\n\t\texportModalOpen.value = true\n\t\texportData.value = selectedRows\n\t}\n\n\tfunction exportAllRegistrations() {\n\t\texportAll.value = true\n\t\texportModalOpen.value = true\n\t}\n\t//#endregion\n\n\t\n\tgetData()\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_notification = _resolveComponent(\"tw-notification\")!\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n const _component_tw_export = _resolveComponent(\"tw-export\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n (showNotification.value)\n ? (_openBlock(), _createBlock(_component_tw_notification, {\n key: 0,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (showNotification.value = false)),\n title: notificationTitle.value,\n duration: 8000,\n icon: notificationIcon.value\n }, null, 8, [\"title\", \"icon\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_tw_table, {\n class: \"-mt-4\",\n data: registrations.value,\n \"default-sort\": {prop: 'firstName', order: 'ASC'},\n checkable: true,\n \"multi-row-actions\": tableActions,\n loading: isLoading.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n header: \"First Name\",\n width: \"34\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(row.student.firstName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"lastName\",\n header: \"Last Name\",\n width: \"30\"\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Course\",\n width: \"52\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", null, _toDisplayString(row.course.name), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Status\",\n width: \"30\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status || \"No Status\"), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"paymentStatus\",\n header: \"Payment Status\",\n width: \"44\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n class: \"cursor-pointer\",\n title: [row.qbPaymentStatus, row.qbPaymentError].filter(Boolean).join('\\n'),\n color: _ctx.badgeColor(row.paymentStatus || 'No Status')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.paymentStatus || 'No Status'), 1)\n ]),\n _: 2\n }, 1032, [\"title\", \"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"createdAt\",\n header: \"Registered At\",\n width: \"60\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatTimestampSeconds(row.createdAt)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n width: \"24\",\n prop: \"amount\",\n \"header-class-name\": \"text-right\",\n \"class-name\": \"text-right\",\n header: \"Amount\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatUSD(row.amount)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n default: _withCtx(({row}) => [\n _hoisted_3,\n _createVNode(_component_router_link, {\n to: {name: 'StudentDetails', params:{id: row.student.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_4\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\", \"loading\"])\n ]),\n (exportModalOpen.value)\n ? (_openBlock(), _createBlock(_component_tw_export, {\n key: 1,\n show: exportModalOpen.value,\n table: \"registration\",\n \"num-records-export\": numRecordsExport.value,\n data: exportData.value,\n all: exportAll.value,\n onCloseExportModal: _cache[1] || (_cache[1] = (value) => exportModalOpen.value = value)\n }, null, 8, [\"show\", \"num-records-export\", \"data\", \"all\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./RegistrationsMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RegistrationsMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, unref as _unref } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"px-6 py-4 border-b\" }, [\n /*#__PURE__*/_createElementVNode(\"h2\", { class: \"subtitle\" }, \" Terms \"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-sm w-full md:w-3/4\" }, \" View and create terms for courses. \")\n], -1)\nconst _hoisted_2 = { class: \"px-6 py-4\" }\nconst _hoisted_3 = { class: \"flex justify-between items-center\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Return to terms list\", -1)\nconst _hoisted_5 = { class: \"flex justify-end items-center gap-4\" }\nconst _hoisted_6 = {\n key: 1,\n class: \"text-xl font-semibold mt-8 mb-4\"\n}\nconst _hoisted_7 = { class: \"grid grid-cols-10 gap-6\" }\nconst _hoisted_8 = { class: \"col-span-3\" }\nconst _hoisted_9 = { class: \"col-span-3\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"col-span-4\"\n}\nconst _hoisted_11 = {\n key: 1,\n class: \"col-span-4\"\n}\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"dt\", { class: \"text-sm font-bold text-gray-500 font-gotham uppercase\" }, \" Active? \", -1)\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"Is Active\", -1)\nconst _hoisted_14 = { class: \"col-span-5 text-xs\" }\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Created \", -1)\nconst _hoisted_16 = { class: \"font-bold\" }\nconst _hoisted_17 = { class: \"col-span-5 text-xs\" }\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Last Modified \", -1)\nconst _hoisted_19 = { class: \"font-bold\" }\nconst _hoisted_20 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_22 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-md sm:w-full sm:p-6\" }\nconst _hoisted_23 = { class: \"text-center sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_24 = { class: \"text-sm pt-5 leading-6 font-medium text-coolGray-600\" }\nconst _hoisted_25 = { class: \"mt-5 sm:mt-10 sm:flex sm:flex-row justify-end space-x-4\" }\nconst _hoisted_26 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_27 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_28 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-sm sm:w-full sm:p-6\" }\nconst _hoisted_29 = { class: \"sm:mt-0 sm:text-left mb-10\" }\nconst _hoisted_30 = { class: \"mt-8 space-y-6 w-full\" }\nconst _hoisted_31 = { class: \"flex justify-between items-center gap-4\" }\n\nimport api from '@/utilities/api'\n\timport {\n\t\tTerm as TermType\n\t} from \"@/API\"\n\n\t// Queries\n\timport { \n\t\tgetTerm\n\t} from '../queries'\n\n\t// Mutations\n\timport {\n\t\tcreateTerm,\n\t\tupdateTerm,\n\t\tdeleteTerm as _deleteTerm\n\t} from '../mutations'\n\n\t// Vue\n\timport {\n\t\tonMounted,\n\t\tref\n\t} from \"vue\"\n\n\t// Router\n\timport {\n\t\tuseRouter\n\t} from 'vue-router'\n\n\t// Components\n\timport { \n\t\tDialog, \n\t\tDialogTitle,\n\t\tDialogOverlay,\n\t\tTransitionRoot, \n\t\tTransitionChild,\n\t\tSwitch\n\t} from '@headlessui/vue'\n\t//#endregion\n\t\n\t// component code below\n\t\n\t// name the component\n\tconst __default__ = { name: \"TermDetails\" }\n\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n\t\tid: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t}\n\t},\n setup(__props) {\n\nconst props = __props;\n\n\n\t//#region Imports\n\t// API\n\t\n\n\tconst router = useRouter()\n\n\t//Local Vars\n\tconst term = ref({} as TermType)\n\tconst newTerm = ref({} as TermType)\n\tconst loading = ref(false)\n\tconst editMode = ref(false)\n\n\tconst showConfirmation = ref(false)\n\tconst confirmationTitle = ref(\"\")\n\tconst confirmationDetails = ref(\"\")\n\tconst confirmationButtonLabel = ref(\"\")\n\tconst confirmationCancelButtonLabel = ref(\"Cancel\")\n\tconst confirmationConfirmAction = ref()\n\tconst newTermDialogOpen = ref(false)\n\n\tonMounted(async () => {\n\t\tawait getData()\n\t})\n\n\t/**\n\t * To create a new term\n\t * @function createNewTerm\n\t*/\n\tasync function createNewTerm(){\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tconst input = {\n\t\t\t\tname: newTerm.value.name,\n\t\t\t\tstartDate: newTerm.value.startDate,\n\t\t\t\tendDate: newTerm.value.endDate,\n\t\t\t\tisActive: 1\n\t\t\t}\n\t\t\tawait api(createTerm, { input })\n\n\t\t\t// Navigate to terms list\n\t\t\trouter.push({name: \"Terms\"})\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t\tcancel()\n\t\t}\t\t\n\t}\n\n\t/**\n\t * To save the changes made to the term\n\t * @function save\n\t*/\n\tasync function save(){\n\t\ttry {\n\t\t\tloading.value = true\n\n\t\t\tlet input = {\n\t\t\t\tid: term.value.id,\n\t\t\t\tname: term.value.name,\n\t\t\t\tstartDate: term.value.startDate,\n\t\t\t\tendDate: term.value.endDate,\n\t\t\t\tisActive: term.value.isActive\n\t\t\t}\n\n\t\t\t// Update term\n\t\t\tawait api(updateTerm, { input })\n\n\t\t\ttoggleEditMode()\n\t\t\tgetData()\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\t/**\n\t * To open the confirm cancel modal\n\t * @function openCancelModal\n\t*/\n\tfunction openCancelModal(){\n\t\tconfirmationTitle.value = \"Discard Term Changes?\"\n\t\tconfirmationDetails.value = \"Are you sure you want to discard your changes? All unsaved changes will be lost.\"\n\t\tshowConfirmation.value = true\n\t\tconfirmationButtonLabel.value = \"Discard Changes\"\n\t\tconfirmationCancelButtonLabel.value = \"Keep Editing\"\n\t\tconfirmationConfirmAction.value = () => cancelEdits()\n\t}\n\n\t/**\n\t * To open the confirm delete modal\n\t * @function openDeleteModal\n\t*/\n\tfunction openDeleteModal(){\n\t\tconfirmationTitle.value = \"Delete Course?\"\n\t\tconfirmationDetails.value = \"Are you sure you want to delete this course? This course and all of its details will be permanently lost.\"\n\t\tshowConfirmation.value = true\n\t\tconfirmationButtonLabel.value = \"Delete\"\n\t\tconfirmationCancelButtonLabel.value = \"Cancel\"\n\t\tconfirmationConfirmAction.value = () => confirmDelete()\n\t}\n\n\t/**\n\t * To confirm deletion\n\t * @function confirmDelete\n\t*/\n\tfunction confirmDelete(){ \n\t\tdeleteTerm()\n\t\tshowConfirmation.value = false\n\t}\n\n\t/**\n\t * To delete the term\n\t * @function deleteTerm\n\t*/\n\tasync function deleteTerm(){\n\t\ttry {\n\t\t\tloading.value = true\n\t\t\tconst input = {id: term.value.id}\n\t\t\t\n\t\t\t//Delete term\n\t\t\tawait api(_deleteTerm, {input})\n\t\n\t\t\t//Route to course list\n\t\t\trouter.push({name: 'Terms'})\n\t\t}\n\t\tcatch(e) {\n\t\t\tconsole.log('Error:', e)\n\t\t}\n\t\tfinally {\n\t\t\tloading.value = false\n\t\t}\n\t}\t\n\n\t/**\n\t * To get the term details\n\t * @function getData\n\t*/\n\tasync function getData(){\n\t\ttry {\n\t\t\tloading.value = true\t\t\t\n\t\t\tconst res: any = await api(getTerm, { id: props.id })\n\t\t\tterm.value = res?.data?.getTerm || {}\n\t\t}\n\t\tcatch(e){\n\t\t\tconsole.log(e)\n\t\t}\n\t\tfinally{\n\t\t\tloading.value = false\n\t\t}\n\t}\n\n\t/**\n\t * To toggle edit mode\n\t * @function toggleEditMode\n\t*/\n\tfunction toggleEditMode(){\n\t\teditMode.value = !editMode.value\n\t}\n\n\t/**\n\t * To cancel the changes made and close the edit modal\n\t * @function cancelEdits\n\t*/\n\tfunction cancelEdits(){\n\t\tgetData()\n\t\ttoggleEditMode()\n\t\tshowConfirmation.value = false\n\t}\n\n\t/**\n\t * To cancel and close the create modal\n\t * @function cancel\n\t*/\n\tfunction cancel(){\n\t\tgetData()\n\t\tnewTermDialogOpen.value = false\n\t\tnewTerm.value.name = ''\n\t\tnewTerm.value.startDate = ''\n\t\tnewTerm.value.endDate = ''\n\t}\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_ChevronLeftIcon = _resolveComponent(\"ChevronLeftIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_button = _resolveComponent(\"tw-button\")!\n const _component_tw_input = _resolveComponent(\"tw-input\")!\n const _component_data_display = _resolveComponent(\"data-display\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_router_link, {\n to: {name: 'Terms'},\n class: \"font-bold flex justify-start items-center\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronLeftIcon, { class: \"inline h-4\" }),\n _hoisted_4\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_5, [\n (editMode.value)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 0,\n loading: loading.value,\n disabled: loading.value,\n class: \"btn-base btn-white\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (openCancelModal()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n (editMode.value)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 1,\n loading: loading.value,\n disabled: loading.value,\n class: \"btn-base btn-brand\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (save()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Save \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n (editMode.value)\n ? (_openBlock(), _createBlock(_component_tw_button, {\n key: 2,\n loading: loading.value,\n disabled: loading.value,\n class: \"btn-base btn-red\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (openDeleteModal()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Delete \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]))\n : (_openBlock(), _createBlock(_component_tw_button, {\n key: 3,\n class: \"btn-base btn-brand\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (toggleEditMode()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Edit \")\n ]),\n _: 1\n }))\n ])\n ]),\n _createElementVNode(\"div\", null, [\n (editMode.value)\n ? (_openBlock(), _createBlock(_component_tw_input, {\n key: 0,\n class: \"mt-5 mb-3.5\",\n modelValue: term.value.name,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((term.value.name) = $event))\n }, null, 8, [\"modelValue\"]))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_6, _toDisplayString(term.value.name), 1))\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(_component_data_display, {\n label: \"Start Date\",\n loading: loading.value,\n value: term.value.startDate,\n editing: editMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_input, {\n class: \"-mb-1.75\",\n modelValue: term.value.startDate,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((term.value.startDate) = $event)),\n type: \"date\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_data_display, {\n label: \"End Date\",\n loading: loading.value,\n value: term.value.endDate,\n editing: editMode.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_input, {\n class: \"-mb-1.75\",\n modelValue: term.value.endDate,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((term.value.endDate) = $event)),\n type: \"date\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"loading\", \"value\", \"editing\"])\n ]),\n (!editMode.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createVNode(_component_data_display, {\n label: \"Active?\",\n loading: loading.value,\n value: term.value.isActive ? 'Yes' : 'No'\n }, null, 8, [\"loading\", \"value\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _hoisted_12,\n (_openBlock(), _createBlock(_unref(Switch), {\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ( value ) => term.value.isActive = value ? 1 : 0),\n id: 'switch-' + term.value.id,\n key: 'switch-' + term.value.id,\n class: _normalizeClass([term.value.isActive ? 'bg-brand-500' : 'bg-gray-200', 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-brand-500 focus:ring-offset-2'])\n }, {\n default: _withCtx(() => [\n _hoisted_13,\n _createElementVNode(\"span\", {\n \"aria-hidden\": \"true\",\n class: _normalizeClass([term.value.isActive ? 'translate-x-5' : 'translate-x-0', 'pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out'])\n }, null, 2)\n ]),\n _: 1\n }, 8, [\"id\", \"class\"]))\n ])),\n _createElementVNode(\"p\", _hoisted_14, [\n _hoisted_15,\n _createElementVNode(\"span\", _hoisted_16, _toDisplayString(_ctx.$filters.formatTimestamp(term.value.createdAt) || \"—\"), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_17, [\n _hoisted_18,\n _createElementVNode(\"span\", _hoisted_19, _toDisplayString(_ctx.$filters.formatTimestamp(term.value.updatedAt) || \"—\"), 1)\n ])\n ])\n ]),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: showConfirmation.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_21,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"text-2xl leading-6 font-bold text-brand-500 uppercase\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(confirmationTitle.value), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"p\", _hoisted_24, _toDisplayString(confirmationDetails.value), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-white\",\n onClick: _cache[8] || (_cache[8] = ($event: any) => (showConfirmation.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(confirmationCancelButtonLabel.value), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_button, {\n class: \"btn-base btn-red uppercase\",\n onClick: confirmationConfirmAction.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(confirmationButtonLabel.value), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: newTermDialogOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_26, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_27,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n _createVNode(_unref(DialogTitle), {\n as: \"h1\",\n class: \"title\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create New Term \")\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_30, [\n _createVNode(_component_tw_input, {\n label: \"Term Name\",\n modelValue: newTerm.value.name,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((newTerm.value.name) = $event)),\n required: \"\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n label: \"Start Date\",\n modelValue: newTerm.value.startDate,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((newTerm.value.startDate) = $event)),\n required: \"\",\n type: \"date\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_tw_input, {\n label: \"End Date\",\n modelValue: newTerm.value.endDate,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((newTerm.value.endDate) = $event)),\n required: \"\",\n type: \"date\"\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_component_tw_button, {\n onClick: cancel,\n loading: loading.value,\n disabled: loading.value,\n class: \"w-full btn-base btn-white\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Cancel \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]),\n _createVNode(_component_tw_button, {\n onClick: createNewTerm,\n loading: loading.value,\n disabled: loading.value,\n class: \"w-full btn-base btn-brand\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Create \")\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ])\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n}\n}\n\n})","import script from \"./TermDetails.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TermDetails.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\nimport RootCourses from \"./components/RootCourses.vue\"\nimport RootCoursesDetails from \"./components/RootCoursesDetails.vue\"\nimport InstructorsSettings from \"./components/Instructors.vue\"\nimport DropDownValues from \"./components/DropDownValues.vue\"\nimport QuickbooksSettings from \"./components/Quickbooks.vue\"\nimport ConfirmationLetter from \"./components/ConfirmationLetter.vue\"\nimport Registration from \"./components/Registration.vue\"\nimport TermSettings from \"./components/Terms.vue\"\nimport Registrations from \"./components/RegistrationsMain.vue\"\nimport TermDetails from './components/TermDetails.vue'\n\nexport const route: Route[] = [\n\t// main route\n\t{\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t},\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tname: 'RootCourses',\n\t\t\t\tpath: '/settings/root-courses',\n\t\t\t\tcomponent: RootCourses,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Root Courses\",\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'RootCoursesDetails',\n\t\t\t\tpath: '/settings/root-courses/:id',\n\t\t\t\tcomponent: RootCoursesDetails,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\thide: true,\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t\tprops: true\n\t\t\t},\t\t\n\t\t\t{\n\t\t\t\tname: 'Instructors',\n\t\t\t\tpath: '/settings/instructors-settings',\n\t\t\t\tcomponent: InstructorsSettings,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Instructors\",\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t},\t\t\t\n\t\t\t{\n\t\t\t\tname: 'DropDownValues',\n\t\t\t\tpath: '/settings/drop-down-values',\n\t\t\t\tcomponent: DropDownValues,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Drop Down Values\",\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t},\t\t\t\n\t\t\t{\n\t\t\t\tname: 'Quickbooks',\n\t\t\t\tpath: '/settings/quickbooks-settings',\n\t\t\t\tcomponent: QuickbooksSettings,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Quickbooks\",\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t},\t\t\t\n\t\t\t{\n\t\t\t\tname: 'ConfirmationLetter',\n\t\t\t\tpath: '/settings/confirmation-letter',\n\t\t\t\tcomponent: ConfirmationLetter,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Confirmation Letter\",\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Registration',\n\t\t\t\tpath: '/settings/registration',\n\t\t\t\tcomponent: Registration,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Registration\",\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Terms',\n\t\t\t\tpath: '/settings/terms',\n\t\t\t\tcomponent: TermSettings,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"Terms\",\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'TermDetails',\n\t\t\t\tpath: '/settings/terms/:id',\n\t\t\t\tcomponent: TermDetails,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\thide: true,\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t\tprops: true\n\t\t\t},\t\n\t\t\t{\n\t\t\t\tname: 'RegistrationsMain',\n\t\t\t\tpath: '/settings/registrations',\n\t\t\t\tcomponent: Registrations,\n\t\t\t\tmeta: {\n\t\t\t\t\tmodule: config.module,\n\t\t\t\t\ttitle: \"List of Registrations\",\n\t\t\t\t\tauth: config.auth\n\t\t\t\t},\n\t\t\t}\n\t\t]\n }\n];\n","import { Nav } from '@/types' // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const nav: Nav = { \n name: config.nav.name, \n to: {name: config.nav.to},\n position: config.nav.position,\n show: config.nav.show,\n\tmodule: config.module,\n\tauth: config.auth\n}","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./TwSelect.vue?vue&type=style&index=0&id=9f0f2788&scoped=true&lang=css\"","import { Route } from \"@/types\" // must be imported since file contains an export statement\nimport { config } from \"./config\"\n\nexport const route: Route[] = [\n\t// main route\n {\n\t\tpath: config.mainRoute.path,\n\t\tname: config.mainRoute.name,\n\t\tcomponent: config.mainRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t}\n },\n\t// student details route\n\t{\n\t\tpath: config.studentDetailsRoute.path,\n\t\tname: config.studentDetailsRoute.name,\n\t\tcomponent: config.studentDetailsRoute.component,\n\t\tmeta: {\n\t\t\tmodule: config.module,\n\t\t\tauth: config.auth\n\t\t},\n props: true\n\t}\n];","export const listClasses = /* GraphQL */ `\n query ListClasses(\n $id: ID\n $filter: ModelClassFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listClasses(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n courseId\n date\n day\n endTime\n startTime\n }\n nextToken\n }\n }\n`;\nexport const classesByDate = /* GraphQL */ `\n query ClassesByDate(\n $date: AWSDate!\n $startTime: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelClassFilterInput\n $limit: Int\n $nextToken: String\n ) {\n classesByDate(\n date: $date\n startTime: $startTime\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n courseId\n course {\n\t\t id\n name\n studio\n startTime\n endTime\n }\n createdAt\n date\n day\n endTime\n startTime\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const getCourse = /* GraphQL */ `\n query GetCourse($id: ID!) {\n getCourse(id: $id) {\n id\n name\n studio\n }\n }\n`;\nexport const listCourses = /* GraphQL */ `\n query ListCourses(\n $id: ID\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listCourses(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n endDate\n medium\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numWaitlisted\n skillLevel\n startDate\n\t\t\t\tupdatedAt\n studio\n\t\t\t\tstatus\n\t\t\t\tdayOfWeek\n\t\t\t\ttimeOfDay\n }\n nextToken\n }\n }\n`;\nexport const allCoursesSortUpdatedAt = /* GraphQL */ `\n query AllCoursesSortUpdatedAt(\n $allCourses: Int!\n $updatedAt: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortUpdatedAt(\n allCourses: $allCourses\n updatedAt: $updatedAt\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n endDate\n medium\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numWaitlisted\n skillLevel\n startDate\n\t\tupdatedAt\n studio\n\t\tstatus\n\t\tstartTime\n\t\tendTime\n\t\tdayOfWeek\n\t\ttimeOfDay\n\t\tallCourses\n }\n nextToken\n }\n }\n`;\nexport const listRegistrations = /* GraphQL */ `\n query ListRegistrations(\n $id: ID\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listRegistrations(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n courseId\n studentId\n amount\n createdAt\n createdBy\n lastName\n status\n statusUpdatedAt\n sub\n quickbooksToken\n updatedBy\n allRegistrations\n updatedAt\n }\n nextToken\n }\n }\n`;\nexport const allCoursesSortAvailableCount = /* GraphQL */ `\n query AllCoursesSortAvailableCount(\n $allCourses: Int!\n $numAvailable: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortAvailableCount(\n allCourses: $allCourses\n numAvailable: $numAvailable\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n endDate\n medium\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numWaitlisted\n skillLevel\n startDate\n\t\tupdatedAt\n studio\n\t\tstatus\n\t\tstartTime\n\t\tendTime\n\t\tdayOfWeek\n\t\ttimeOfDay\n\t\tallCourses\n }\n nextToken\n }\n }\n`;\nexport const allCoursesSortWaitListCount = /* GraphQL */ `\n query AllCoursesSortWaitListCount(\n $allCourses: Int!\n $numWaitlisted: ModelIntKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allCoursesSortWaitListCount(\n allCourses: $allCourses\n numWaitlisted: $numWaitlisted\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n endDate\n medium\n name\n numAvailable\n numDropped\n numRegistered\n numSeats\n numWaitlisted\n skillLevel\n startDate\n\t\tupdatedAt\n studio\n\t\tstatus\n\t\tstartTime\n\t\tendTime\n\t\tdayOfWeek\n\t\ttimeOfDay\n\t\tallCourses\n }\n nextToken\n }\n }\n`;\nexport const allRegistrationsSortCreatedAt = /* GraphQL */ `\n query AllRegistrationsSortCreatedAt(\n $allRegistrations: Int!\n $createdAt: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelRegistrationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n allRegistrationsSortCreatedAt(\n allRegistrations: $allRegistrations\n createdAt: $createdAt\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n courseId\n\t\tcourse {\n\t\t\tname\n\t\t}\n studentId\n\t\tstudent {\n\t\t\tid\n\t\t\tfirstName\n\t\t\tlastName\n\t\t}\n amount\n createdAt\n createdBy\n lastName\n status\n\t\tpaymentStatus\n\t\tqbPaymentStatus\n\t\tqbPaymentError\n statusUpdatedAt\n sub\n quickbooksToken\n updatedBy\n allRegistrations\n updatedAt\n }\n nextToken\n }\n }\n`;\n","module.exports = __webpack_public_path__ + \"img/HPAC_Horizontal_Cyan_RGB_72dpi_trans.fa2d46a0.jpg\";","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport { Class, Course } from '@/API'\n\timport api from '@/utilities/api';\n\timport { onMounted, ref } from 'vue';\n\timport { classesByDate } from '../queries';\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"ClassesScheduledToday\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n limit: {}\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\tconst allClasses = ref>([])\n\n\t\n\n\tasync function getClassesToday() {\n\t\ttry {\n\t\t\tconst currentDate = new Date().toISOString().split('T')[0]\n\t\t\tconst classes: any = await api(classesByDate, { limit: props.limit, date: currentDate })\n\t\t\tallClasses.value = classes.data.classesByDate.items ?? []\n\t\t} catch (e) {\n\t\t\tconsole.error(e)\n\t\t}\n\t}\n\t\n\tonMounted(() => { getClassesToday() })\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createBlock(_component_tw_table, {\n title: \"Classes Scheduled Today\",\n \"title-class\": \"subtitle-black mt-10 uppercase\",\n placeholder: \"No classes scheduled today\",\n \"default-sort\": {prop: 'startDate', order: 'ASC'},\n data: allClasses.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n header: \"Name\",\n \"class-name\": \"w-60\",\n \"header-class-name\": \"w-60\",\n align: \"left\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(row.course?.name || \"—\"), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, { header: \"Start Time\" }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatTime(row.startTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, { header: \"End Time\" }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatTime(row.endTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, { header: \"Studio\" }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(row.course?.studio || \"—\"), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_1\n ]),\n default: _withCtx(({row}) => [\n _hoisted_2,\n (row.course?.id)\n ? (_openBlock(), _createBlock(_component_router_link, {\n key: 0,\n to: {name: 'CourseDetails', params:{id: row.course?.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_3\n ]),\n _: 2\n }, 1032, [\"to\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]))\n}\n}\n\n})","import script from \"./ClassesScheduledToday.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ClassesScheduledToday.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport { onMounted, ref } from 'vue';\n\timport api from '@/utilities/api'\n\timport { allCoursesSortAvailableCount } from '../queries';\n\timport { Course } from '@/API';\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"CoursesWithOpenSeats\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n limit: {}\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\t\n\n\tconst coursesWithOpenSeats = ref>([])\n\n\tasync function getCoursesWithOpenSeats(){\n\t\ttry {\n\t\t\tconst courses: any = await api(allCoursesSortAvailableCount, { limit: props.limit, allCourses: 1, sortDirection: 'DESC' })\n\t\t\tcoursesWithOpenSeats.value = courses.data.allCoursesSortAvailableCount.items ?? []\n\t\t} catch (e) {\n\t\t\tconsole.error(e)\n\t\t\t}\n\t}\n\n\tonMounted(() => { getCoursesWithOpenSeats() })\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createBlock(_component_tw_table, {\n title: \"Courses With Open Seats\",\n \"title-class\": \"subtitle-black mt-10 uppercase\",\n \"default-sort\": {prop: 'startDate', order: 'ASC'},\n data: coursesWithOpenSeats.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"name\",\n header: \"Name\",\n \"class-name\": \"w-60\",\n \"header-class-name\": \"w-60\",\n align: \"left\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"status\",\n header: \"Status\",\n \"class-name\": \"w-34\",\n \"header-class-name\": \"w-34\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"startDate\",\n header: \"start date\",\n width: \"34\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.startDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"endDate\",\n header: \"end date\",\n width: \"30\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.endDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"dayOfWeek\",\n header: \"Day\",\n \"class-name\": \"w-18\",\n \"header-class-name\": \"w-18\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"startTime\",\n header: \"Time\",\n width: \"24\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$filters.formatTime(row.startTime)), 1),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$filters.formatTime(row.endTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"medium\",\n header: \"Medium\",\n \"class-name\": \"w-44\",\n \"header-class-name\": \"w-44\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"skillLevel\",\n header: \"Skill Level\",\n \"class-name\": \"w-40\",\n \"header-class-name\": \"w-40\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"studio\",\n header: \"Studio\",\n \"class-name\": \"w-20\",\n \"header-class-name\": \"w-20\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numRegistered\",\n header: \"Reg\",\n width: \"13\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numWaitlisted\",\n header: \"Wl\",\n width: \"14\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numAvailable\",\n header: \"Av\",\n width: \"14\"\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_1\n ]),\n default: _withCtx(({row}) => [\n _hoisted_2,\n _createVNode(_component_router_link, {\n to: {name: 'CourseDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_3\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]))\n}\n}\n\n})","import script from \"./CoursesWithOpenSeats.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CoursesWithOpenSeats.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport { onMounted, ref } from 'vue';\n\timport { allCoursesSortWaitListCount } from '../queries'\n\timport { Course } from '@/API'\n\timport api from '@/utilities/api';\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"CoursesWithWaitlistedStudents\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n limit: {}\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\tconst coursesWithWaitlisted = ref>([])\n\n\t\n\n\tasync function getCoursesWithWaitlisted(){\n\t\ttry {\n\t\t\tconst courses: any = await api(allCoursesSortWaitListCount, { limit: props.limit, allCourses: 1, sortDirection: 'DESC' })\n\t\t\tcoursesWithWaitlisted.value = courses.data.allCoursesSortWaitListCount.items ?? []\n\t\t} catch(e) {\n\t\t\tconsole.error(e)\n\t\t}\n\t}\n\n\tonMounted(() => { getCoursesWithWaitlisted() })\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createBlock(_component_tw_table, {\n title: \"Courses With Waitlisted Students\",\n \"title-class\": \"subtitle-black mt-10 uppercase\",\n \"default-sort\": {prop: 'startDate', order: 'ASC'},\n data: coursesWithWaitlisted.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"name\",\n header: \"Name\",\n \"class-name\": \"w-60\",\n \"header-class-name\": \"w-60\",\n align: \"left\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"status\",\n header: \"Status\",\n \"class-name\": \"w-34\",\n \"header-class-name\": \"w-34\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"startDate\",\n header: \"start date\",\n width: \"34\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.startDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"endDate\",\n header: \"end date\",\n width: \"30\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.endDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"dayOfWeek\",\n header: \"Day\",\n \"class-name\": \"w-18\",\n \"header-class-name\": \"w-18\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"startTime\",\n header: \"Time\",\n width: \"24\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$filters.formatTime(row.startTime)), 1),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$filters.formatTime(row.endTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"medium\",\n header: \"Medium\",\n \"class-name\": \"w-44\",\n \"header-class-name\": \"w-44\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"skillLevel\",\n header: \"Skill Level\",\n \"class-name\": \"w-40\",\n \"header-class-name\": \"w-40\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"studio\",\n header: \"Studio\",\n \"class-name\": \"w-20\",\n \"header-class-name\": \"w-20\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numRegistered\",\n header: \"Reg\",\n width: \"13\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numWaitlisted\",\n header: \"Wl\",\n width: \"14\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numAvailable\",\n header: \"Av\",\n width: \"14\"\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_1\n ]),\n default: _withCtx(({row}) => [\n _hoisted_2,\n _createVNode(_component_router_link, {\n to: {name: 'CourseDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_3\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]))\n}\n}\n\n})","import script from \"./CoursesWithWaitlistedStudents.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CoursesWithWaitlistedStudents.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport { onMounted, ref } from 'vue';\n\timport { Course } from '@/API'\n\timport { allCoursesSortUpdatedAt } from '../queries';\n\timport api from '@/utilities/api';\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"RecentlyEditedCourses\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n limit: {}\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\t\n\n\tconst coursesEdited = ref>([])\n\n\tasync function getCoursesEdited(){\n\t\ttry {\n\t\t\tconst courses: any = await api(allCoursesSortUpdatedAt, { limit: props.limit, allCourses: 1, sortDirection: 'DESC' })\n\t\t\tcoursesEdited.value = courses.data.allCoursesSortUpdatedAt.items ?? []\n\t\t} catch(e) {\n\t\t\tconsole.error(e)\n\t\t}\n\t}\n\n\t/**\n\t * Apply the proper badge background color based on status\n\t * @param {Object} rowData - The data for each row from the column slot \n\t */\n\tfunction badgeBackground(rowData: { status: string }){\n\t\tif(rowData.status == \"Draft\"){\n\t\t\treturn \"brand3\"\n\t\t}else if(rowData.status == \"Registering\"){\n\t\t\treturn \"brand\"\n\t\t}else if(rowData.status == \"Archived\"){\n\t\t\treturn \"brand2\"\n\t\t}else if(rowData.status == \"Cancelled\"){\n\t\t\treturn \"red\"\n\t\t}else{\n\t\t\treturn \"brand4\"\n\t\t}\n\t}\n\n\tonMounted(() => { getCoursesEdited() } )\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createBlock(_component_tw_table, {\n title: \"Recently Edited Courses\",\n \"title-class\": \"subtitle-black mt-10 uppercase\",\n \"default-sort\": {prop: 'startDate', order: 'ASC'},\n data: coursesEdited.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n prop: \"name\",\n header: \"Name\",\n \"class-name\": \"w-60\",\n \"header-class-name\": \"w-60\",\n align: \"left\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"status\",\n header: \"Status\",\n \"class-name\": \"w-34\",\n \"header-class-name\": \"w-34\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: badgeBackground(row)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"startDate\",\n header: \"start date\",\n width: \"34\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.startDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"endDate\",\n header: \"end date\",\n width: \"30\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatDate(row.endDate)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"dayOfWeek\",\n header: \"Day\",\n \"class-name\": \"w-18\",\n \"header-class-name\": \"w-18\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"startTime\",\n header: \"Time\",\n width: \"24\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$filters.formatTime(row.startTime)), 1),\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$filters.formatTime(row.endTime)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"medium\",\n header: \"Medium\",\n \"class-name\": \"w-44\",\n \"header-class-name\": \"w-44\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"skillLevel\",\n header: \"Skill Level\",\n \"class-name\": \"w-40\",\n \"header-class-name\": \"w-40\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"studio\",\n header: \"Studio\",\n \"class-name\": \"w-20\",\n \"header-class-name\": \"w-20\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numRegistered\",\n header: \"Reg\",\n width: \"13\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numWaitlisted\",\n header: \"Wl\",\n width: \"14\"\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"numAvailable\",\n header: \"Av\",\n width: \"14\"\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n header: _withCtx(() => [\n _hoisted_1\n ]),\n default: _withCtx(({row}) => [\n _hoisted_2,\n _createVNode(_component_router_link, {\n to: {name: 'CourseDetails', params:{id: row.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_3\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]))\n}\n}\n\n})","import script from \"./RecentlyEditedCourses.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RecentlyEditedCourses.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"2xl:invisible absolute inset-y-0 left-0 w-0.5 bg-gray-200\" }, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"sr-only\" }, \"View\", -1)\n\nimport { onMounted, ref } from 'vue';\n\timport { Registration } from '@/API';\n\timport { allRegistrationsSortCreatedAt } from '../queries'\n\timport api from '@/utilities/api';\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"RecentQuickbooks\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n props: {\n limit: {}\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\t\n\n\tconst registrationRecords = ref>([])\n\n\tasync function getRegistrationRecords(){\n\t\ttry {\n\t\t\tconst records: any = await api(allRegistrationsSortCreatedAt, { limit: props.limit, allRegistrations: 1, sortDirection: 'DESC' })\n\t\t\tregistrationRecords.value = records.data.allRegistrationsSortCreatedAt.items ?? []\n\t\t} catch(e) {\n\t\t\tconsole.error(e)\n\t\t}\n\t}\n\n\tonMounted(() => { getRegistrationRecords() })\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tw_table_column = _resolveComponent(\"tw-table-column\")!\n const _component_tw_badge = _resolveComponent(\"tw-badge\")!\n const _component_ChevronRightIcon = _resolveComponent(\"ChevronRightIcon\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_tw_table = _resolveComponent(\"tw-table\")!\n\n return (_openBlock(), _createBlock(_component_tw_table, {\n title: \"Quickbooks (Registrations)\",\n \"title-class\": \"subtitle-black mt-10 uppercase\",\n \"default-sort\": {prop: 'startDate', order: 'ASC'},\n data: registrationRecords.value\n }, {\n default: _withCtx(() => [\n _createVNode(_component_tw_table_column, {\n header: \"First Name\",\n width: \"34\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", null, _toDisplayString(row.student.firstName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Last Name\",\n width: \"34\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", null, _toDisplayString(row.student.lastName), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n header: \"Course\",\n width: \"72\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"div\", null, _toDisplayString(row.course.name), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"status\",\n header: \"Status\",\n width: \"30\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.status)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.status), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"paymentStatus\",\n header: \"Payment Status\",\n width: \"44\"\n }, {\n default: _withCtx(({row}) => [\n _createVNode(_component_tw_badge, {\n color: _ctx.badgeColor(row.paymentStatus || 'No Status')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(row.paymentStatus || 'No Status'), 1)\n ]),\n _: 2\n }, 1032, [\"color\"])\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"createdAt\",\n header: \"Created At\",\n width: \"56\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatTimestamp(row.createdAt)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"updatedAt\",\n header: \"Updated At\",\n width: \"56\"\n }, {\n default: _withCtx(({row}) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$filters.formatTimestamp(row.updatedAt)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n prop: \"amount\",\n header: \"Amount\",\n \"header-class-name\": \"text-right\",\n \"class-name\": \"text-right\"\n }, {\n default: _withCtx(({row}) => [\n _createTextVNode(_toDisplayString(_ctx.$filters.formatUSD(row.amount)), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_tw_table_column, {\n \"class-name\": \"bg-white w-11 sticky z-0 right-0\",\n \"header-class-name\": \"bg-gray-50 w-11 sticky right-0\"\n }, {\n default: _withCtx(({row}) => [\n _hoisted_1,\n _createVNode(_component_router_link, {\n to: {name: 'StudentDetails', params:{id: row.student.id}},\n class: \"text-gray-500 hover:text-brand-900 flex justify-end\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ChevronRightIcon, { class: \"h-5\" }),\n _hoisted_2\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"data\"]))\n}\n}\n\n})","import script from \"./RecentQuickbooks.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./RecentQuickbooks.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, resolveComponent as _resolveComponent, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"title\" }\nconst _hoisted_2 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_4 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-7xl sm:w-full sm:p-6\" }\nconst _hoisted_5 = { class: \"text-center sm:mt-0 sm:text-left\" }\nconst _hoisted_6 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_8 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-7xl sm:w-full sm:p-6\" }\nconst _hoisted_9 = { class: \"text-center sm:mt-0 sm:text-left\" }\nconst _hoisted_10 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_11 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_12 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-7xl sm:w-full sm:p-6\" }\nconst _hoisted_13 = { class: \"text-center sm:mt-0 sm:text-left\" }\nconst _hoisted_14 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_15 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_16 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-7xl sm:w-full sm:p-6\" }\nconst _hoisted_17 = { class: \"text-center sm:mt-0 sm:text-left\" }\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"button\", { class: \"float-right mt-12 text-brand-500 font-bold\" }, \" See all... \", -1)\nconst _hoisted_19 = { class: \"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0\" }\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"hidden sm:inline-block sm:align-middle sm:h-screen\",\n \"aria-hidden\": \"true\"\n}, \"​\", -1)\nconst _hoisted_21 = { class: \"relative inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-7xl sm:w-full sm:p-6\" }\nconst _hoisted_22 = { class: \"text-center sm:mt-0 sm:text-left\" }\n\nimport ClassesScheduledToday from './components/ClassesScheduledToday.vue'\n\timport CoursesWithOpenSeats from './components/CoursesWithOpenSeats.vue';\n\timport CoursesWithWaitlistedStudents from './components/CoursesWithWaitlistedStudents.vue'\n\timport RecentlyEditedCourses from './components/RecentlyEditedCourses.vue'\n\timport RecentQuickbooks from './components/RecentQuickbooks.vue';\n\n\timport { ref } from 'vue';\n\timport { \n\t\tDialog, \n\t\tDialogOverlay, \n\t\tTransitionChild,\n\t\tTransitionRoot\n\t} from '@headlessui/vue'\n\n\n\t\n\t// name the component\n\tconst __default__ = { name: \"DashboardMain\" }\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup(__props) {\n\n\tconst classesScheduledTodayOpen = ref(false);\n\tconst coursesWithOpenSeatsOpen = ref(false);\n\tconst coursesWithWaitlistedStudentsOpen = ref(false);\n\tconst recentlyEditedCoursesOpen = ref(false);\n\tconst recentQuickbooksOpen = ref(false);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"h1\", _hoisted_1, _toDisplayString(_ctx.$route.name), 1),\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (classesScheduledTodayOpen.value = true)),\n class: \"float-right mt-12 text-brand-500 font-bold\"\n }, \" See all... \"),\n _createVNode(ClassesScheduledToday, { limit: 5 }),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: classesScheduledTodayOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n onClose: _cache[1] || (_cache[1] = ($event: any) => (classesScheduledTodayOpen.value = false)),\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto bg-transparent\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_3,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(ClassesScheduledToday)\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createElementVNode(\"button\", {\n onClick: _cache[2] || (_cache[2] = ($event: any) => (recentlyEditedCoursesOpen.value = true)),\n class: \"float-right mt-12 text-brand-500 font-bold\"\n }, \" See all... \"),\n _createVNode(RecentlyEditedCourses, { limit: 5 }),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: recentlyEditedCoursesOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n onClose: _cache[3] || (_cache[3] = ($event: any) => (recentlyEditedCoursesOpen.value = false)),\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto bg-transparent\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_7,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(RecentlyEditedCourses)\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createElementVNode(\"button\", {\n onClick: _cache[4] || (_cache[4] = ($event: any) => (coursesWithOpenSeatsOpen.value = true)),\n class: \"float-right mt-12 text-brand-500 font-bold\"\n }, \" See all... \"),\n _createVNode(CoursesWithOpenSeats, { limit: 5 }),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: coursesWithOpenSeatsOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n onClose: _cache[5] || (_cache[5] = ($event: any) => (coursesWithOpenSeatsOpen.value = false)),\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto bg-transparent\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_11,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(CoursesWithOpenSeats)\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createElementVNode(\"button\", {\n onClick: _cache[6] || (_cache[6] = ($event: any) => (coursesWithWaitlistedStudentsOpen.value = true)),\n class: \"float-right mt-12 text-brand-500 font-bold\"\n }, \" See all... \"),\n _createVNode(CoursesWithWaitlistedStudents, { limit: 5 }),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: coursesWithWaitlistedStudentsOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n onClose: _cache[7] || (_cache[7] = ($event: any) => (coursesWithWaitlistedStudentsOpen.value = false)),\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto bg-transparent\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_15,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(CoursesWithWaitlistedStudents)\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"]),\n _createVNode(_component_router_link, { to: {name: 'RegistrationsMain'} }, {\n default: _withCtx(() => [\n _hoisted_18\n ]),\n _: 1\n }),\n _createVNode(RecentQuickbooks, { limit: 5 }),\n _createVNode(_unref(TransitionRoot), {\n as: \"template\",\n show: recentQuickbooksOpen.value\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(Dialog), {\n onClose: _cache[8] || (_cache[8] = ($event: any) => (recentQuickbooksOpen.value = false)),\n as: \"div\",\n class: \"fixed z-50 inset-0 overflow-y-auto bg-transparent\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0\",\n \"enter-to\": \"opacity-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100\",\n \"leave-to\": \"opacity-0\"\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(DialogOverlay), { class: \"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity\" })\n ]),\n _: 1\n }),\n _hoisted_20,\n _createVNode(_unref(TransitionChild), {\n as: \"template\",\n enter: \"ease-out duration-300\",\n \"enter-from\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\",\n \"enter-to\": \"opacity-100 translate-y-0 sm:scale-100\",\n leave: \"ease-in duration-200\",\n \"leave-from\": \"opacity-100 translate-y-0 sm:scale-100\",\n \"leave-to\": \"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(RecentQuickbooks)\n ])\n ])\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"show\"])\n ], 64))\n}\n}\n\n})","import script from \"./DashboardMain.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DashboardMain.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { HomeIcon } from '@heroicons/vue//24/outline'\nimport Dashboard from './DashboardMain.vue'\n\nconst config = {\n\tmainRoute: {\n\t\tname: \"Dashboard\",\n\t\tpath: \"/dashboard\",\n\t\tcomponent: Dashboard\n\t},\n\tnav: {\n\t\tname: \"Dashboard\",\n\t\tto: \"Dashboard\",\n\t\tposition: 0,\n\t\tshow: true\t\t\n\t},\n\tmodule: \"dashboard\",\n\tauth: ['admin']\n}\n\nexport { config }"],"sourceRoot":""}