{"version":3,"sources":["../node_modules/graphql-ruby-client/dist/sync sync","apolloClient.js","resources/types.js","resources/users/actions.js","actions.js","bulkImport/queries.js","hooks/useTranslate.js","hooks/useMenuAnchor.js","hooks/useStylesUtil.js","ui/PopoverList.js","ui/datagrid/ContractsCell.js","ui/DateText.js","ui/DataTable/DataTableProvider.js","ui/DataTable/DataTableHeader.js","hooks/useId.js","ui/DataTable/DataTablePagination.js","ui/DataTable/DataTable.js","ui/icons/SortIcon.js","ui/fields/SearchField.js","hooks/useDataTable.js","resources/users/roles.js","authProvider.js","hooks/useHistory.js","ui/NotificationProvider.js","hooks/useNotification.js","hooks/useCurrentUser.js","hooks/useDataList.js","ui/FiltersDropdown.js","ui/FiltersPanel.js","hooks/usePersistentFilters.js","hooks/useFilters.js","ui/DataList.js","ui/datagrid/FilterButton.js","ui/datagrid/GroupsCell.js","theme/settings.js","ui/datagrid/LessonsCompletedCell.js","ui/Link.js","ui/datagrid/OrganizationCell.js","ui/fields/OrgTypeSelector.js","ui/TranslateText.js","ui/datagrid/UserCell.js","ui/VideoCard.js","ui/VideoModal.js","hooks/useModalOpen.js","ui/datagrid/VideoModalButton.js","ui/datagrid/VideosCell.js","ui/datagrid/columnTypes.js","ui/buttons/CreateButton.js","ui/buttons/CSVButton.js","hooks/useCSVDownload.js","ui/buttons/DownloadCSVButton.js","hooks/useContactQueries.js","hooks/useContractQueries.js","hooks/useOrgQueries.js","organizations/ExportOrgsButton.js","ui/filters/FilterByOrganizationType.js","ui/filters/FilterByOption.js","ui/filters/FilterByStatus.js","hooks/usePermissions.js","organizations/OrganizationsList.js","i18n/countryCodes.js","ui/Divider.js","ui/ExternalLink.js","ui/FormatMessage.js","theme/MuiTypography.js","theme/MuiAutocomplete.js","theme/MuiAppBar.js","theme/MuiBreadcrumbs.js","theme/MuiButton.js","theme/MuiCard.js","theme/MuiDialog.js","theme/MuiForm.js","theme/MuiIconButton.js","theme/MuiInput.js","theme/MuiLink.js","theme/MuiList.js","theme/MuiMenu.js","theme/MuiPaper.js","theme/MuiSelect.js","theme/MuiSwitch.js","theme/MuiSnackbar.js","theme/MuiTable.js","theme/MuiToolbar.js","theme/index.js","hooks/useStyles.js","ui/BreadcrumbNav.js","ui/icons/ChevronDown.js","hooks/useSwitchUser.js","ui/buttons/LogoutButton.js","ui/UserAccount.js","ui/UserAccountMenu.js","ui/OrganizationSearchList.js","hooks/useOrgList.js","ui/ActiveOrgSelector.js","ui/CurrentUserWatcher.js","ui/icons/ExternalLink.js","hooks/useCommunityLink.js","ui/Menu.js","ui/SingeOrgMessage.js","ui/Layout.js","ui/Loading.js","ui/icons/InfoIcon.js","ui/icons/CheckMarkIcon.js","ui/icons/CautionIcon.js","ui/icons/WarningIcon.js","ui/icons/FlagIcon.js","ui/NotificationIcon.js","ui/Notification.js","ui/PageHeader.js","ui/withActiveOrg.js","ui/icons/UncheckedIcon.js","ui/icons/CheckedIcon.js","hooks/useGroupsList.js","ui/fields/GroupMembershipInput.js","ui/fields/LastActiveField.js","ui/fields/OrgSelectField.js","ui/form/FormActions.js","ui/form/FormActionsBar.js","ui/form/Form.js","ui/form/FormFieldbox.js","ui/form/FormMetaField.js","ui/form/FormRow.js","ui/icons/ArrowDropDownIcon.js","ui/icons/DragNDropIcon.js","ui/icons/GroupIcon.js","systemMessage/SystemMessage.js","systemMessage/actions.js","hooks/useFormStyles.js","ui/buttons/DeleteButton.js","hooks/useFormValidation.js","ui/AutocompleteInput.js","ui/CountryCodeInput.js","ui/FieldDisplay.js","ui/TextInput.js","ui/ImageInput.js","ui/SelectInput.js","organizations/OrganizationFields.js","ui/NotFound.js","organizations/OrganizationEdit.js","ui/ConfirmDialog.js","ui/DateInput.js","hooks/useLinkedDateValidation.js","contracts/ContractActivationFields.js","ui/SwitchInput.js","contracts/ContractAutoExpireFields.js","contracts/ContractDetailFields.js","ui/buttons/ExportCSVButton.js","contracts/ContractInvitableEmailImport.js","contracts/ContractInvitableCount.js","contracts/ContractInviteRequestsFields.js","contracts/ContractPLLFields.js","contracts/ContractOrganization.js","hooks/useContractDefaultSettings.js","contracts/ContractSettingsFields.js","contracts/ContractForm.js","ui/ConfirmLeaveMessage.js","organizations/OrganizationCreate.js","resources/CreatePage.js","hooks/useContractsList.js","resources/users/userContractFields.js","ui/RequestShortcodeButton.js","ui/fields/StatusField.js","users/UserAddToContractBtn.js","users/UserContracts.js","ui/withCurrentUser.js","resources/users/userFields.js","ui/SeatLimitWarning.js","resources/users/CreateUserActions.js","resources/users/create.js","resources/EditPage.js","resources/users/actionsBar.js","resources/users/edit.js","resources/users/queries.js","queries.js","bulkImport/actions.js","dataProvider.js","login/LoginPage.js","login/index.js","middleware/form.js","middleware/googleTagManager.js","i18n/en.js","systemMessage/reducers.js","reducer.js","store.js","bulkImport/csv-validator.js","bulkImport/BulkImportActions.js","bulkImport/BulkUploadField.js","bulkImport/BulkImportMeta.js","bulkImport/BulkImport.js","logbook/Logbook.js","ui/fields/OrgTypeField.js","ui/filters/FilterById.js","ui/filters/FilterByOrganization.js","contracts/ContractsList.js","contracts/ContractCreate.js","contracts/ContractEdit.js","insights/TalksTable.js","insights/ThroughLines.js","insights/NominateButton.js","ui/StatsBlock.js","insights/UserStatItem.js","insights/UserCohortStats.js","insights/UserStats.js","insights/VideoDeepLinkModal.js","ui/filters/FilterByContract.js","ui/filters/FilterByGroup.js","ui/filters/FilterByPurchased.js","ui/PageTitle.js","ui/Tabs.js","insights/Insights.js","ui/filters/FilterByBoolean.js","ui/filters/FilterByValue.js","lessonRatings/LessonRatingsStats.js","lessonRatings/LessonRatingsTable.js","lessonRatings/LessonRatings.js","organizations/OrganizationDashboard.js","customRoutes.js","groups/ExportGroupsButton.js","groups/GroupForm.js","groups/GroupCreate.js","ui/buttons/ConfirmButton.js","groups/GroupEdit.js","groups/GroupsList.js","ui/buttons/BulkActionButton.js","hooks/useBulkAction.js","ui/BulkUpdate.js","groups/ManageGroupsModal.js","users/bulk-actions/BulkAddGroups.js","users/bulk-actions/BulkDeleteUsers.js","users/bulk-actions/BulkCancelInvites.js","users/bulk-actions/BulkCopyEmails.js","users/bulk-actions/BulkInviteUsers.js","users/bulk-actions/UserBulkActions.js","hooks/useSavedSettings.js","ui/buttons/CustomizeButton.js","users/InviteAllUsersBtn.js","ui/filters/FilterByRole.js","users/UsersList.js","App.js","index.js","assets/errorIcon.svg","assets/TED-Masterclass-logo.svg","assets/TEDMasterclass.dark.svg","bulkImport/users-guide.csv"],"names":["webpackEmptyContext","req","e","Error","code","keys","resolve","module","exports","id","options","uri","credentials","authLink","setContext","_","headers","token","localStorage","getItem","authorization","httpLink","ApolloLink","split","operation","variables","file","logo","inviteEmailFooterImage","createUploadLink","BatchHttpLink","cable","ActionCable","createConsumer","process","wsLink","ActionCableLink","link","query","definition","getMainDefinition","kind","ApolloClient","concat","cache","InMemoryCache","restore","USERS","ORGS","GROUPS","basePath","resource","networkErrorNotifcation","notification","body","level","basicFetchMeta","fetch","onSuccess","toLowerCase","onFailure","creatUserSuccessMsg","deleteResourceAction","message","record","redirect","crudDeleteAction","crudDelete","messageTxt","meta","redirectTo","refresh","queries","inviteNow","contractId","saveUsers","gql","parseInt","context","hasUpload","parseResponse","data","result","useTranslate","useContext","TranslationContext","useMenuAnchor","useState","undefined","anchorEl","setAnchorEl","closeMenu","openMenu","currentTarget","isOpen","Boolean","menuProps","open","onClose","useStylesUtil","makeStyles","borderRadius0","borderRadius","border1","border","bold","fontWeight","mr2","marginLeft","mlauto","p0","padding","p3","p4","px4","paddingRight","paddingLeft","p5","pb3","paddingBottom","pt3","paddingTop","m0","margin","m5","ml4","mr_3","marginRight","mr_2","mr4","mb2","marginBottom","mb3","mb4","mb6","mb10","mt0","marginTop","mt2","mt4","mt10","minW25ch","minWidth","w100","width","h100","height","flex","display","flexCol","flexDirection","maxWidth1k","maxWidth","itemsCenter","alignItems","justifyCenter","justifyContent","justifyStart","justifyContentEnd","popover","visuallyHidden","position","clip","overflow","fontNormal","textCenter","textAlign","textLight","color","gray3","gray4","purple","red","redBorder","borderColor","lineHeight1","lineHeight","PopoverList","label","list","renderItem","classes","translate","length","aria-describedby","onClick","className","Popover","anchorOrigin","vertical","horizontal","transformOrigin","List","map","item","idx","ListItem","key","disabled","defaultProps","ContractLink","name","component","RouterLink","to","ContractsCell","contracts","dateFormatter","value","format","fallback","date","moment","Date","isValid","DateText","DataTableContext","createContext","DataTableProvider","children","props","page","setPage","perPage","setPerPage","sortField","setSortField","sortOrder","setSortOrder","state","total","setTotal","Provider","HeaderCell","sortable","heading","active","order","TableCell","sortDirection","data-field","TableSortLabel","direction","DataTableHeader","columns","TableHead","TableRow","col","idCounter","useId","prefix","uniqId","useStyles","theme","root","backgroundColor","palette","secondary","lightAlt","spacer","perPageLabel","PageList","Pagination","count","Math","ceil","boundaryCount","onChange","RowsPerPage","onPageSizeChange","labelId","selectId","input","InputBase","rows","MenuItem","Typography","variant","DataTablePagination","rowsPerPageOptions","Toolbar","target","from","min","DataGridFooter","useGridSlotComponentProps","apiRef","pageCount","_get","pageSize","current","setPageSize","Number","DataTable","DataTableRow","Paper","TableContainer","Table","aria-labelledby","TableBody","React","cloneElement","colSpan","SortIconInvert","viewBox","rest","SvgIcon","fill","d","transform","transform-origin","SortIcon","seachIcon","main","labelText","background","common","white","SearchInput","compose","reduxForm","form","REDUX_FORM_NAME","enableReinitialize","destroyOnUnmount","values","q","filterValues","setFilters","enhance","placeholder","source","controlRoot","htmlFor","allowEmpty","TextInput","InputProps","endAdornment","InputAdornment","Input","useDataTable","USER_ROLE","maxLv","ADMIN_ROLE","SUPER_ROLE","TED_ROLE","ROLE_PERMISSIONS","ROLES","getRoleLevelMax","roleName","role","find","r","getRoleId","isTEDAdmin","user","CHECK_CURRENT_USER","LOGIN_REQUEST_MUTATION","loginRequest","email","password","client","mutate","mutation","err","login","params","a","username","loginAdmin","jwt","Promise","reject","setItem","GET_CURRENT_USER","fetchPolicy","logout","type","removeItem","clearStore","AUTH_ERROR","authCheck","AUTH_LOGIN","AUTH_LOGOUT","status","AUTH_CHECK","AUTH_GET_PERMISSIONS","permissions","getPermissions","HistoryContext","useHistory","NotificationContext","connect","dispatch","showNotification","args","formatApolloError","error","JSON","parse","stringify","graphQLErrors","networkError","originalMessage","join","useNotification","showGraphQLError","useGQLNotifications","successMsg","onError","onCompleted","UPDATE_ACTIVE_ORG","useChangeActiveOrg","useApolloClient","useMutation","reFetchObservableQueries","useCurrentUser","useQuery","loading","useDataList","filter","preFilter","dataTable","activeOrgId","skip","refetch","useEffect","FiltersDropdown","filterList","onSelect","filterKey","FiltersPanel","activeFilters","onRemove","updateFilter","utilClasses","clsx","Grid","container","FilterField","IconButton","size","title","filterFieldProps","usePersistentFilters","setFilter","history","loaded","setLoaded","currentSearch","searchParams","URLSearchParams","defaultFilter","get","window","push","Object","set","delete","search","toString","useFilters","filters","setActive","applied","shown","noFilters","Array","isArray","nextFilter","setSearchFilter","f","includes","DataListContext","fontSize","letterSpacing","DataListTable","BulkActions","checkboxSelection","CreateButton","CustomizeButton","dataGrid","ExportButton","ListFooter","onSelectionChange","sortModel","showSearch","searchText","elevation","style","rowCount","sortingMode","onSortModelChange","field","sort","toUpperCase","paginationMode","onPageChange","console","log","onSelectionModelChange","selectionModel","selectedId","x","components","Footer","ColumnSortedAscendingIcon","ColumnSortedDescendingIcon","disableColumnMenu","disableColumnReorder","disableSelectionOnClick","disableColumnFilter","DataList","FilterButton","entries","GroupsCell","groups","text","memo","black","gray","primary","light","dark","contrastText","info","success","caution","shaded","default","contrastThreshold","tonalOffset","buttonStyles","borderLight","borderDisabled","bgGradient","boxShadow","dropDown","maxHeight","selectedBG","hoverBg","typography","fontFamily","baseFontSize","display1","round","bar","completed","LessonsCompletedCell","lessonsCompleted","data-test","floor","getSearchString","queryParams","reduce","acc","Link","OrganiztionCell","org_types_enum","corp","edu","tedx","st_leaders","ted2020","org_types","OrgTypeSelector","choices","optionText","TextField","select","TranslateText","UserCell","firstName","lastName","data-tracking-id","formatSuhheading","createdAt","toLocaleDateString","titleId","url","videoKey","md5","startTime","setStarttime","player","setPlayer","timeCode","setTimecode","subscribeToStateChange","currentTime","usePlayerTimecode","savedTime","CardHeader","subheader","action","playsInline","autoPlay","src","ref","p","parseFloat","VideoModal","disableBackdropClick","useModalOpen","setOpen","closeModal","openModal","VideoModalButton","GET_USER_VIDEOS","table","VideoTable","userId","skeletons","videos","Skeleton","b","VideosCell","Header","headerName","headerText","baseCol","renderHeader","center","headerAlign","align","valueFormatter","renderCell","row","getData","lastActive","organizationType","organizationName","userOrganizationName","organizationContracts","organizationId","translatedField","fieldName","timestampString","button","icon","Icon","PlusCircle","float","CSVButton","CircularProgress","GetApp","getHeaders","fields","formatCSVData","warn","formatValue","cell","replace","formatCell","formatRow","useCSVdownload","filename","startDownload","csvData","document","createElement","href","URL","createObjectURL","Blob","setAttribute","download","appendChild","click","removeChild","downloadCSV","DownloadCSVButton","listKey","useLazyQuery","called","inProgress","useCSVDownload","CREATE_CONTACT","UPDATE_CONTACT","formatContactData","graphTypeInt","INVITE_REQUEST_FIELDS","GET_CONTRACT","CREATE_CONTRACT","UPDATE_CONTRACT","GET_CONTRACT_DATALIST","refetchQueriesCreate","formatContractData","seats","usersActiveForDays","GET_ORGANIZATION","DELETE_ORG","CREATE_ORG","UPDATE_ORG","GET_ORG_DATALIST","val","isNaN","formatOrgData","parentId","useOrgMutation","mutateArgs","ExportOrgsButton","contractsCount","FilterByOrganizationType","FilterByOption","optionLabel","optionValue","selected","getValue","o","uniqueList","Set","option","FilterByStatus","usePermissions","adminReadonly","organization","allowed","rule","canCreateOrgs","canEditOrgs","canViewOrgs","canCreateGroups","canEditGroups","canViewGroups","canCreateUsers","canEditUsers","canCancelUsers","canDeleteUsers","canViewUsers","canViewLessonRatings","isEduOrg","isTedAdmin","cols","OrganizationsList","region","withStyles","borderBottom","borderLeft","borderRight","ExternalLink","styles","textDecoration","lines","MuiTypographyLegacy","headline","subheading","MuiAutocomplete","popupIndicator","clearIndicator","inputRoot","flexWrap","boxSizing","listbox","popper","MuiAppBar","colorPrimary","MuiBreadcrumbs","separator","MuiButton","textTransform","outlined","contained","containedSecondary","MuiCard","MuiCardHeader","content","MuiCardContent","MuiCardActionArea","focusHighlight","MuiDialog","paperWidthSm","MuiDialogActions","spacing","MuiDialogContent","MuiDialogContentText","MuiDialogTitle","MuiFormControl","marginNormal","MuiFormHelperText","verticalAlign","errorIcon","MuiFormLabel","MuiIconButton","transition","opacity","MuiInput","cursor","formControl","inputTypeSearch","MuiInputLabel","top","left","shrink","MuiInputAdornment","positionEnd","MuiLink","MuiList","MuiListItem","gutters","MuiMenuItem","MuiPaper","elevation1","elevation2","elevation8","MuiSelect","backgroundImage","MuiSwitch","switchBase","MuiSnackbarContent","borderTop","transitionDelay","flexGrow","MuiSnackbar","anchorOriginTopCenter","MuiTable","MuiTableCell","head","MuiTableHead","MuiTableRow","MuiTableSortLabel","MuiToolbar","settings","overrides","MuiTypography","h1","h4","h5","h6","subtitle1","body1","caption","MuiButtonBase","disableRipple","disableTouchRipple","focusRipple","disableUnderline","square","themeLegacy","createMuiTheme","appTheme","legacyTheme","createLegacyMuiTheme","paths","users","pathname","organizations","crumbtrails","path","trail","GET_USER_ORGANIZATION","useBreadcrumbTrail","activeOrg","userOrgPath","userPath","matchPath","useUserOrganizationCrumb","activeOrgPath","BreadcrumbNav","pathnames","Breadcrumbs","aria-label","ChevronDown","stroke","strokeLinecap","strokeLinejoin","strokeWidth","SWITCH_USER","useSwitchUser","updateActiveOrg","switchUserMutation","switchUser","admin","nextUser","activeOrganizationId","onResetStore","resetStore","userLogout","userLogoutAction","activeItem","avatar","iconwrap","listItem","textPrimary","UserAccount","dense","ListItemAvatar","Avatar","ListItemText","sortByOrgName","localeCompare","divider","menuBox","linkBtn","iconBtn","iconUser","GET_CURRENT_USER_ACCOUNT","UserAccountMenu","useSwtichUser","currentUser","associatedUsers","_uniq","paper","nextPath","OrganizationSearchList","orgList","onSelectOrg","filterText","setFilterText","popoverRoot","popoverPaper","PaperProps","selectText","searchRoot","searchInput","startAdornment","positionStart","searchIcon","listWrap","MenuList","disablePadding","overflowY","overflowX","ALL_ORGS_QUERY","useOrgListFormatting","displayName","formatList","includeAll","orgs","allOrganizations","useOrgList","ActiveOrgSelector","anchor","useRef","getOrgList","useLazyOrgList","multiOrg","changeActiveOrg","buttonText","chevron","right","bottom","refreshView","pointerEvents","GET_COMMNITY_LINK","useCommunityLink","NavListItem","forwardRef","NavLink","innerRef","hasCount","externalLink","externalLinkIcon","rel","GET_MENU_COUNTS","CountItem","OrgNav","NavList","communityLink","Menu","selectList","skeleton","selectItem","OrgSelectDialog","shouldTranslate","scroll","animation","SingeOrgMessage","createStyles","zIndex","minHeight","userAccount","drawer","flexShrink","Layout","AppBar","alt","ThemedLayout","legacy","ThemeProvider","CssBaseline","Loading","isRequired","Labeled","LinearProgress","InfoIcon","cx","cy","pure","muiName","CheckMarkIcon","CautionIcon","WarningIcon","FlagIcon","typeIcon","warning","NotificationIcon","classnames","wrap","infoWrap","successWrap","cautionWrap","warningWrap","infoIcon","successIcon","cautionIcon","warningIcon","formatMessage","messageArgs","NoficationMessage","errors","formatGraphQL","messageBox","messageTitle","skipTranslate","NoficationContent","undo","undoable","NotificationBox","safe","hideNotification","complete","SnackbarContent","close","closeIcon","NotificationBar","componentWillMount","setOpenState","componentWillReceiveProps","nextProps","setState","handleRequestClose","handleExited","this","contentProps","Snackbar","onExited","ContentProps","snackbar","autoHideDuration","Component","Notification","toast","getNotification","PageHeader","deleteAction","editAction","extraAction","translateTitle","pageTitle","editButton","deleteButton","withActiveOrg","Wrapped","UncheckedIcon","y","rx","fillRule","CheckedIcon","ALL_GROUPS_QUERY","useGroupsList","groupList","isLoading","MenuOption","Checkbox","checkBox","checkedIcon","uncheckedIcon","checked","indexOf","chips","chip","outline","chipDisabled","chipIcon","wdith","dropdown","whiteSpace","addField","formData","group","SelectArrayInput","helperText","renderValue","selectedIds","autoWidth","MenuProps","getContentAnchorEl","PopoverClasses","isInteger","DateField","day","month","year","OrgSelectField","excludeIds","parentOrganization","OrgSelect","defaultValue","SelectProps","displayEmpty","FormActions","beforeSubmit","onCancel","handleSubmit","invalid","reset","save","savePage","saving","saveText","cancel","SaveButton","submit","submitIcon","submitOnEnter","handleSubmitWithRedirect","userToolbar","FormActionsBar","ExtraActions","StandardActions","actionsBox","actionsExtraBox","actionsStandardBox","pxToRem","Form","actionProps","actionsBarClasses","childProps","editing","formField","formChildren","Children","child","onSubmit","initialValues","getDefaultValues","keepDirtyOnReinitialize","desc","MetaBox","MetaContent","FormRow","fieldBox","FormFieldbox","ArrowDropDown","DragNDropIcon","xlinkHref","mask","GroupIcon","SystemMessageActions","actions","DialogActions","autoClose","SystemMessage","keepMounted","DialogTitle","disableTypography","DialogContent","DialogContentText","FormatMessage","StyledSystemMessage","ehance","systemMessage","useFormStyles","fieldRoot","fieldValue","fullField","halfField","primaryBlock","primaryLabel","dangerText","dangerBtn","popupText","confirmRemoveText","unit","DeleteButton","onDelete","confirm","setConfirm","cautionBtn","EMAIL_REGEX","futureDate","today","setUTCHours","testDate","isFutureDate","positive","useFormValidation","useFormContext","messages","required","maxLength","max","fieldErrors","fieldError","AutoCompleteInput","validate","renderInput","control","render","Autocomplete","newValue","rules","countryList","countryCodes","USA","country","CountryCodeInput","AutocompleteInput","fullWidth","getOptionLabel","renderOption","FieldDisplay","useFromStyles","fieldLabel","register","inputRef","ImageFieldDisplay","image","ImageInput","ImageDisplay","inputProps","accept","safeValue","SelectInput","Select","choice","OrganizationFields","address1","address2","countryCode","city","postalCode","administrativeArea","logoPath","toolbar","goBack","go","NotFound","OrganizationAddress","OrganizationView","address","OrganizationEditForm","formMethods","useForm","updateOrganization","DeleteOrgButton","refetchQueries","awaitRefetchQueries","deleteOrganization","OrganizationEdit","setEditing","useGetOrg","editMode","ConfirmDialog","cancelLabel","extraClasses","confirmLabel","onConfirm","DatePicker","DateInput","as","disableToolbar","KeyboardButtonProps","formatDate","Intl","DateTimeFormat","isDate","getTime","normalizedDateTime","dateString","test","substr","isMoment","toISOString","normalizedDateString","comparisons","gt","gte","lt","lte","useLinkedDateValidation","linked","operator","getValues","watch","trigger","linkedValue","linkedDate","ContractActivationFields","activationDate","afterStartDate","SwitchInput","offLabel","onLabel","onBlur","FormControlLabel","Switch","GET_EXPIRING_USERS","ExpiringUsersWarning","invitedBeforeDaysAgo","expiringUsers","Alert","severity","smart_count","ContractAutoExpireFields","autoUsersInactive","clearErrors","watchEnabled","watchUsersActiveForDays","number","ContractDetailFields","contract","invoiceNumber","startDate","endDate","statusNote","add","ExportCSVButton","exportCSV","CREATE_INVITABLE_EMAIL_IMPORT","EXPORT_CSV","InvitableEmailImportModal","createImportJob","autoFocus","ContractInvitableEmailImport","INVITABLE_EMAILS_COUNT","ContractInvitableCount","toLocaleString","ContractInviteRequestsFields","inviteRequestDisabledText","inviteRequestsEnabled","inviteRequestEmailsRequired","inviteRequestIntroText","inviteRequestType","inviteEmailFooterImagePath","isEnabled","requireEmails","multiline","labelBase","emptyContact","phone","DELETE_CONTACT","ContactForm","isEmail","pattern","RemoveContact","ContactBlock","ContractPLLFields","saved","contacts","deleteContact","startingContacts","setContacts","contact","slice","removeContact","ContractOrganization","GET_CONTRACT_SETTINGS","emailText","replaceAll","useContractDefaultSettings","obj","setings","filtered","prop","talkUploads","communityAccess","inviteEmailIntro","inviteEmailOutro","CREATE_WELCOME_PREVIEW","modalTitle","SettingRow","Field","EmailPreviewButton","show","setShow","createPreview","handleClose","intro","outro","dividers","frameBorder","srcDoc","WelcomeEmailSettings","useFieldDefault","fieldKey","setValue","dirtyFields","formState","isEmpty","isDirty","ContractSettingDefaults","defaultSettings","ContractSettingsFields","ContractFields","newOrg","ContractForm","submitText","noValidate","withRouter","Message","allowTranstion","setAllowTranstion","blockedTx","setBlockedTx","unBlock","block","location","Page1","setOrg","countyCode","Page2","org","setError","setData","setLoading","createCombined","orgMutation","contractMutation","all","c","contactMutations","useCombinedCreateOrg","createOganization","confirmCancel","OrganizationCreate","setCompleted","Redirect","CreatePage","CreateController","controllerProps","ALL_CONTRACTS_QUERY","useContractsList","allContracts","LinkedContractField","ids","helpText","UserContractFields","fieldProps","FormDataConsumer","GET_LOGIN_SHORTCODE","wrapper","buttonProgress","RequestShortcodeButton","getShortCode","shortcode","StatusField","viewType","enabled","DisabledInput","GET_USER_CONTRACTS","ADD_USER_TO_CONTRACT","ContractsList","justify","RadioGroup","Radio","ContractSelector","addToContract","data-test-selected","data-test-confirm","UserAddToContractBtn","UserContracts","withCurrentUser","LastActiveField","fieldData","progressField","progressLabel","formatRoleNames","LinkedGroupField","UserFields","hidden","maxLevel","userOrgId","hiddenField","GET_AVAILABLE_SEATS","SeatLimitWarning","setAvailable","availableSeats","overLimit","CreateUserActions","createUser","createUserAction","resetAction","showNotificationAction","invite","setIntiveNow","isSaving","btn","thickness","CRUD_CREATE","payload","CREATE","UserCreate","setContractId","available","EditPage","AfterForm","canDelete","canEdit","formatTitle","confirmAction","withState","items","onClickConfirm","onClickCancel","EditController","UserActions","resetPassword","resendInvite","resendInviteAction","deleteResource","data-track-id","host","userTitle","startUndoable","UserActionsBar","previousData","CRUD_UPDATE","UPDATE","updateUserAction","userQueryFields","statuses","pending","inactive","GET_ONE","response","groupIds","customDataProivderQueries","fetchType","introspectionOptions","include","customQueryBuilder","introspection","pagination","offsetPagination","queryBuilder","raSimpleQuery","resourceTypeName","dataProviderClient","buildGraphQLProvider","buildQuery","card","resetLink","Login","ssoPath","decodeURIComponent","RegExp","encodeURIComponent","Card","logoDark","LoginForm","listPages","formMiddleware","previousLocation","next","LOCATION_CHANGE","skipFormReset","isEqual","resetForm","destroy","changeListParams","eventsMap","event","validCSV","valid","gtm","GoogleTagManager","gtmMiddleware","createMiddleware","englishMessages","days","ra","navigation","page_rows_per_page","page_range_info","contractStatus","cycleCount","daysSinceSubmitted","entryId","filterBy","hasComment","inactiveWeeks","invitedBeforeWeeksAgo","lessonId","lessonRating","purchasePlatform","purchaseStatus","rating","registrationCountry","registrationPlatform","selectOrg","submittedDaysAgo","menu","help","review","resources","new_org","new_user","ariaLabel","community","ui","addToGroups","currentOrgText","export","exportFiltered","exportStarted","inviteAll","inviteAllSuccess","inviteAllConfirmTitle","inviteAllConfirmMsg","cancelInvite","viewEmails","na","select_account","switch_account_success","switch_account_failure","undefied","null","invited","contact_ted_btn","loginTitle","filterOrgNames","allOrgs","pleaseSelectOrg","noCrossOrgStats","copyToClipboard","import","validate_file_start","guide_help","guide_text","reject_file","accept_file","validate_file","upload_text","duplicate","error_row","error_missing","first_name","last_name","missingColumn","wrong_header","auth","denied","unknown","validation","future_date","seat_limit","noActiveOrg","selectOrgLabel","graphQL","userGroups","super_admin","ted_admin","must_enable","new_org_title","single","plural","create_confirm_cancel_title","create_confirm_cancel_text","create_button","create_confirm_cancel_yes","create_confirm_cancel_no","create","confirm_set_auto_expire","confirm_delete_org","detail","seats_text","orgTypeShort","primaryContact","related_org","seats_new","seatsAvailableShort","seats_label","liscense","types","null_short","corp_short","edu_short","st_leaders_short","tedx_short","ted2020_short","org_deleted","org_created","org_updated","confirm_create_inactive","orgType","videosGreaterThan","emailPlain","groupIdsHelp","invitedAt","progress","totalLessonsCompleted","video_counts","edit","course_progress","last_active","partner","save_and_invite","invite_single","save_label","save_and_invite_label","confirm_delete","reset_password_success","reset_password_error","resend_invite_success","resend_invite_bulk_success","resend_invite_error","bulk_import_success","bulk_import_error","create_success","create_only_success","update_success","bulk_import_missing_name","bulk_import_missing_email","cancelled","cancelled_bulk","delete_many","copy_emails_title","copy_emails_success","add_new","remove_warning","remove_confirm","throughlines","submitted","activation_title","activation_desc","add_user","autoExpire_title","autoExpire_desc","communityAccess_title","communityAccess_desc","details_title","details_desc","email_list_import","email_list_import_confirm_text","email_list_import_title","email_list_import_success","filterLabel","inviteEmail_title","inviteEmail_desc","inviteRequests_title","inviteRequests_desc","settings_desc","settings_title","talkUploads_title","talkUploads_desc","insights","userBox","available_count","used","used_count","invited_count","active_count","average","average_count","completed_count","total_count","seeAll","lessonRatings","titleSingle","comment","updatedAt","overall","not_purchased","purchased","refunded","contract_name","inviteRequestRoleRequired","lessonsCompletedAverage","organizationSelect","usersCount","delete_confirm","delete_success","talks","entryUrl","bulk_cancel_invite","bulk_copy_emails","bulk_delete_users","bulk_resend_invite","cancel_invite_confirm","cancel_invite_success","cancel_invite_bulk_confirm","cancel_invite_bulk_success","expirationWarning","invite_bulk_confirm","invite_bulk_success","missing_name","smartCount","video","errorTitle","dateCompare_gt","dateCompare_gte","dateCompare_lt","dateCompare_lte","minLength","minValue","maxValue","inValidDate","inavlidDateField","oneOf","regex","headerCell","avilable_slash_total_seats","contractName","groupSize","nameEmail","organizationType_short","pll","videosCount","educator","non_educator","tedx_organizer","tedx_speaker","initialState","combineReducers","i18n","i18nReducer","routing","rootSaga","reduxDevTools","__REDUX_DEVTOOLS_EXTENSION__","serialize","trace","resettableAppReducer","reducer","USER_LOGOUT","dataProvider","adminSaga","authProvider","i18nProvider","fork","sagaMiddleware","createSagaMiddleware","middleware","applyMiddleware","routerMiddleware","store","createStore","run","validateRow","last","v","cidx","duplicatesInColumn","prevIndex","duplicates","validateUnique","unique","h","validateRowData","validateData","config","validateRows","findDuplicates","dupes","BulkImportActions","bulkImport","bulkImportAction","onSave","FormHelperText","formatErrors","BulkUploadField","acceptFile","handleDrop","rejectFile","uploadText","dropZone","multiple","onDrop","files","getRootProps","getInputProps","isDragAccept","isDragReject","classNames","dropZoneReject","dropZoneAccept","afterDrop","csvUpload","csvUploadAction","validateCSV","validateCSVFile","BulkImportMeta","guideFile","BulkImport","setFile","trim","csvFile","Papa","results","LOGBOOK_SUBSCRIPTION","LOGBOOK_COLLECTION","LogbookEntry","entry","timestamp","tabIndex","LogbookTable","subscribeToMore","unsubscribe","updateQuery","prev","subscriptionData","logbookEntrySaved","logbook","collection","useLogBookSubscription","LogbookList","OrgTypeField","short","FilterById","FilterByOrganization","PrimaryContact","ContractDataRow","singleOrgFilters","ContractsCreate","match","defaultValues","goToContracts","useCombinedCreateContract","createContract","ContractEditForm","updateCominbed","mutations","useCombinedUpdateContract","updateContract","ContractEdit","useGetContract","EXPORT_VIDEOS_CSV","GET_TALKS","TalksTable","EXPORT_USERS_CSV","GET_THROUGHLINES","throughline","formatThroughline","ThroughLines","statCard","statList","listDisplayType","statItem","statLabel","statValue","statActions","StatList","StatListItem","StatLabel","CustomLabel","isValidElement","StatsBlock","Actions","CardContent","gutterBottom","CardActions","UserStatItem","GET_ORG_STATS","GET_CONTRACT_STATS","UserCohortStats","useNotifcation","GET_USERS_STATS","UserStatsBlock","GET_TALK","VideoDeepLinkModal","videoId","FilterByContract","FilterByGroup","FilterByPurchased","PageTitle","Tabs","sections","tabListProps","initial","TabContext","TabList","Tab","TabPanel","purchaseFilter","orgFilters","Insights","tedAdminFilters","useInsightFilters","booleanLabel","FilterByBoolean","FilterByValue","integer","GET_LESSON_RATINGS_TOTALS","LessonRatingsStats","GET_LESSON_RATINGS","valueGetter","EXPORT_LESSONS_CSV","LessonRatingsTable","LessonRatings","StatHeading","StatValue","DashboardCard","GET_DASHBOARD","OrganizationCard","ContractsCard","UsersCard","InsightsCard","averageLessonsCompleted","throughlinesCount","OrganizationDashboard","loadingUser","PrivateRoute","Route","ssoRedirect","setTimeout","assign","exact","Logbook","ContractCreate","EXPORT_GROUPS","ExportGroupsButton","NameField","GroupForm","SecondaryAction","CREATE_GROUP","GroupCreate","createGroup","ConfirmButton","Button","Dialog","DELETE_GROUP","UPDATE_GROUP","DeleteGroupButton","deleteLabel","deleteGroup","GroupEdit","groupName","updateGroup","GroupFormPopover","onKeyDown","stopPropagation","GroupCreateButton","GET_GROUPS_DATALIST","GroupsList","BulkActionButton","Tooltip","PlusIcon","formatErrorMessages","reason","useBulkAction","setErrors","useCallback","mergeData","updates","mergeVars","errorPolicy","allSettled","BulkUpdate","confirmMsg","selectedRows","bulkUpdate","btnLabel","ManageGroupsModal","setSelected","FormGroup","i","UPDATE_USER_GROUPS","mergeGroupIds","g","BulkAddGroups","DELETE_USER","BulkDeleteUsers","emails","UserXIcon","BulkCancelInvites","CancelIcon","BulkCopyEmails","MailIcon","copy","INVITE_USER","BulkInviteUsers","SendIcon","collapse","UserBulkActions","Collapse","in","tedAdminCols","adminCols","useSavedSettings","columnsByRole","savedColumns","userListCols","saveUserListCols","useSavedUserListCols","buttonIcon","CustomizeMenuList","onAdd","edge","CustomizeMenu","COUNT_ALL_USERS","INVITE_ALL_USERS","InviteAllSystemMessage","getUsersCount","InviteAllUsersBtn","inviteAllUsers","FilterByRole","GET_USERS_DATALIST","userFilters","baseColumns","tedAminColumns","UsersList","saveCustomize","useCustomize","activeCols","customize","columnKeys","showCols","UploadIcon","createHashHistory","App","Admin","appLayout","customRoutes","loginPage","LoginPage","Resource","AppLoading","generateClassName","createGenerateClassName","productionPrefix","AppWithProviders","setStore","buildDataProvider","initDataProvider","utils","MomentUtils","StylesProvider","ReactDOM","getElementById"],"mappings":"oFAAA,SAASA,EAAoBC,GAC5B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBF,EAAM,KAEjD,MADAC,EAAEE,KAAO,mBACHF,EAEPF,EAAoBK,KAAO,WAAa,MAAO,IAC/CL,EAAoBM,QAAUN,EAC9BO,EAAOC,QAAUR,EACjBA,EAAoBS,GAAK,M,07ECGzB,IAAMC,EAAU,CACdC,IAAK,WACLC,YAAa,WAgBTC,EAAWC,aAba,SAACC,EAAD,GAAqB,IAAfC,EAAc,EAAdA,QAE5BC,EAAQC,aAAaC,QAAQ,SAGnC,MAAO,CACLH,QAAQ,EAAD,GACFA,EADE,CAELI,cAAeH,EAAK,iBAAaA,GAAU,SAY3CI,EAAWC,aAAWC,OALM,SAAAC,GAAS,OACzCA,EAAUC,UAAUC,MACpBF,EAAUC,UAAUE,MACpBH,EAAUC,UAAUG,yBAIpBC,2BAAiBnB,GACjB,IAAIoB,IAAcpB,IAIdqB,EAAQC,IAAYC,eAAZ,UACTC,gCADS,wBACyChB,aAAaC,QAChE,WAGEgB,EAAS,IAAIC,kBAAgB,CAAEL,UAY/BM,EAAOf,aAAWC,OARgB,SAAC,GAAe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D,oBCA3CD,EAAOC,QAAU,IAA0B,yC","file":"static/js/main.a8611009.chunk.js","sourcesContent":["function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = 1028;","import { InMemoryCache } from \"apollo-cache-inmemory\";\nimport { ApolloClient } from \"apollo-client\";\nimport { ApolloLink } from \"apollo-link\";\nimport { BatchHttpLink } from \"apollo-link-batch-http\";\nimport { createUploadLink } from \"apollo-upload-client\";\nimport { setContext } from \"apollo-link-context\";\nimport { getMainDefinition } from \"apollo-utilities\";\n\nimport ActionCable from \"actioncable\";\nimport { ActionCableLink } from \"graphql-ruby-client\";\n\nconst options = {\n uri: \"/graphql\",\n credentials: \"include\"\n};\n\nexport const addAuthHeaders = (_, { headers }) => {\n // get the authentication token from local storage if it exists\n const token = localStorage.getItem(\"token\");\n\n // return the headers to the context so httpLink can read them\n return {\n headers: {\n ...headers,\n authorization: token ? `Bearer ${token}` : \"\"\n }\n };\n};\n\nconst authLink = setContext(addAuthHeaders);\n\nexport const splitUploadContext = operation =>\n operation.variables.file ||\n operation.variables.logo ||\n operation.variables.inviteEmailFooterImage;\n\nconst httpLink = ApolloLink.split(\n splitUploadContext,\n createUploadLink(options),\n new BatchHttpLink(options)\n);\n\n// Create a WebSocket link:\nconst cable = ActionCable.createConsumer(\n `${process.env.REACT_APP_ACTION_CABLE}/cable?token=${localStorage.getItem(\n \"token\"\n )}`\n);\nconst wsLink = new ActionCableLink({ cable });\n\n// using the ability to split links, you can send data to each link\n// depending on what kind of operation is being sent\nexport const hasSubscriptionOperation = ({ query }) => {\n const definition = getMainDefinition(query);\n return (\n definition.kind === \"OperationDefinition\" &&\n definition.operation === \"subscription\"\n );\n};\n\nconst link = ApolloLink.split(hasSubscriptionOperation, wsLink, httpLink);\n\nexport default new ApolloClient({\n link: authLink.concat(link),\n cache: new InMemoryCache().restore({})\n});\n","export const USERS = \"users\";\nexport const ORGS = \"organizations\";\nexport const GROUPS = \"groups\";\n\nexport const resourceTypeName = resource => {\n switch (resource) {\n case USERS:\n return \"User\";\n\n case ORGS:\n return \"Organization\";\n\n case GROUPS:\n return \"Group\";\n\n default:\n throw new Error(`Unknown resource ${resource}`);\n }\n};\n","import { CREATE, CRUD_CREATE, CRUD_UPDATE, UPDATE } from \"react-admin\";\nimport { USERS } from \"resources/types\";\n\nconst basePath = `/${USERS}`;\nconst resource = USERS;\n\nexport const RESET_PASSWORD = \"RESET_PASSWORD\";\nexport const RESEND_INVITE = \"RESEND_INVITE\";\nexport const RESEND_MANY_INVITES = \"RESEND_MANY_INVITES\";\n\nexport const CANCEL_PENDING_INVITES = \"CANCEL_PENDING_INVITES\";\nexport const RESEND_PENDING_INVITES = \"RESEND_PENDING_INVITES\";\n\nexport const networkErrorNotifcation = {\n notification: {\n body: \"ra.notification.http_error\",\n level: \"warning\"\n }\n};\n\nexport const basicFetchMeta = fetch => ({\n resource,\n fetch,\n onSuccess: {\n notification: {\n body: `resources.users.notification.${fetch.toLowerCase()}_success`,\n level: \"info\"\n },\n basePath\n },\n onFailure: {\n notification: {\n body: `resources.users.notification.${fetch.toLowerCase()}_error`,\n level: \"warning\"\n }\n }\n});\n\nexport const resetPassword = (_, data) => ({\n type: RESET_PASSWORD,\n payload: { email: data.email, host: \"localhost\" },\n meta: basicFetchMeta(RESET_PASSWORD)\n});\n\nexport const resendInviteAction = id => ({\n type: RESEND_INVITE,\n payload: { id },\n meta: basicFetchMeta(RESEND_INVITE)\n});\n\nexport const creatUserSuccessMsg = {\n body: `resources.users.notification.create_success`,\n level: \"info\"\n};\n\nexport const createUserAction = ({ notification, ...data }) => ({\n type: CRUD_CREATE,\n payload: { data },\n meta: {\n fetch: CREATE,\n resource,\n onSuccess: {\n notification: notification || creatUserSuccessMsg,\n basePath,\n redirectTo: basePath\n },\n onFailure: networkErrorNotifcation\n }\n});\n\nexport const updateUserAction = ({ data, previousData }) => {\n return {\n type: CRUD_UPDATE,\n payload: { id: data.id, data, previousData },\n meta: {\n resource,\n fetch: UPDATE,\n onSuccess: {\n notification: {\n body: \"resources.users.notification.update_success\",\n level: \"info\"\n },\n redirectTo: \"show\",\n basePath,\n refresh: false\n },\n onFailure: networkErrorNotifcation\n }\n };\n};\n","import { crudDelete, crudDeleteMany } from \"ra-core\";\n\nexport * from \"bulkImport/actions\";\nexport * from \"resources/users/actions\";\nexport * from \"systemMessage/actions\";\n\nexport const deleteResourceAction = ({\n basePath,\n message,\n record,\n redirect,\n resource\n}) => {\n const crudDeleteAction = crudDelete(\n resource,\n record.id,\n record,\n basePath,\n redirect\n );\n const messageTxt = message || `resources.${resource}.notification.delete`;\n return {\n ...crudDeleteAction,\n meta: {\n ...crudDeleteAction.meta,\n onSuccess: {\n notification: {\n body: messageTxt,\n level: \"info\"\n },\n basePath,\n redirectTo: basePath,\n refresh: true\n }\n }\n };\n};\n\nexport const deleteManyResourceAction = ({\n basePath,\n ids,\n message,\n resource,\n refresh = false\n}) => {\n const messageTxt =\n message || `resources.${resource}.notification.delete_many`;\n const crudDeleteManyAction = crudDeleteMany(resource, ids, basePath);\n return {\n ...crudDeleteManyAction,\n meta: {\n ...crudDeleteManyAction.meta,\n onSuccess: {\n ...crudDeleteManyAction.meta.onSuccess,\n notification: {\n body: messageTxt,\n level: \"info\"\n },\n refresh\n }\n }\n };\n};\n","import gql from \"graphql-tag\";\nimport { BULK_IMPORT } from \"actions\";\nimport { USERS } from \"resources/types\";\n\nexport const bulkImportUsers = ({\n file,\n inviteNow,\n contractId,\n saveUsers\n}) => ({\n query: gql`\n mutation BulkImportUsers(\n $file: File!\n $contractId: Int!\n $saveUsers: Boolean\n $inviteNow: Boolean\n ) {\n result: createUserImport(\n file: $file\n contractId: $contractId\n saveUsers: $saveUsers\n inviteNow: $inviteNow\n ) {\n responseMessage\n }\n }\n `,\n variables: {\n file,\n inviteNow,\n contractId: parseInt(contractId, 10),\n saveUsers\n },\n context: {\n hasUpload: true\n },\n parseResponse: ({ data = {} }) => {\n const { result = {} } = data;\n return { data: result };\n }\n});\n\nconst queries = {\n [USERS]: bulkImportUsers\n};\n\nexport default (fetchType, resource, params) => {\n if (fetchType !== BULK_IMPORT) {\n return false;\n }\n\n return queries[resource] && queries[resource](params);\n};\n","import { useContext } from \"react\";\nimport { TranslationContext } from \"react-admin\";\n\nconst useTranslate = () => {\n return useContext(TranslationContext);\n};\n\nexport default useTranslate;\n","import { useState } from \"react\";\n\nconst useMenuAnchor = () => {\n const [anchorEl, setAnchorEl] = useState(undefined);\n const closeMenu = () => setAnchorEl(undefined);\n const openMenu = ({ currentTarget }) => setAnchorEl(currentTarget);\n\n return {\n anchorEl,\n setAnchorEl,\n closeMenu,\n openMenu,\n isOpen: Boolean(anchorEl),\n menuProps: {\n open: Boolean(anchorEl),\n anchorEl,\n onClose: closeMenu\n }\n };\n};\n\nexport default useMenuAnchor;\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useStylesUtil = makeStyles({\n borderRadius0: {\n borderRadius: 0\n },\n border1: {\n border: \"1px solid rgba(0, 0, 0, 0.12)\"\n },\n bold: {\n fontWeight: 700\n },\n mr2: {\n marginLeft: 8\n },\n mlauto: {\n marginLeft: \"auto\"\n },\n p0: {\n padding: 0\n },\n p3: {\n padding: 12\n },\n p4: {\n padding: 16\n },\n px4: {\n paddingRight: 16,\n paddingLeft: 16\n },\n p5: {\n padding: 20\n },\n pb3: {\n paddingBottom: 12\n },\n pt3: {\n paddingTop: 12\n },\n m0: {\n margin: 0\n },\n m5: {\n margin: 20\n },\n ml4: {\n marginLeft: 16\n },\n mr_3: {\n marginRight: -12\n },\n mr_2: {\n marginRight: -8\n },\n mr4: {\n marginRight: 16\n },\n mb2: {\n marginBottom: 8\n },\n mb3: {\n marginBottom: 12\n },\n mb4: {\n marginBottom: 16\n },\n mb6: {\n marginBottom: 24\n },\n mb10: {\n marginBottom: 40\n },\n mt0: {\n marginTop: 0\n },\n mt2: {\n marginTop: 8\n },\n mt4: {\n marginTop: 16\n },\n mt10: {\n marginTop: 40\n },\n minW25ch: {\n minWidth: \"25ch\"\n },\n w100: {\n width: \"100%\"\n },\n h100: {\n height: \"100%\"\n },\n flex: {\n display: \"flex\"\n },\n flexCol: {\n display: \"flex\",\n flexDirection: \"column\"\n },\n maxWidth1k: {\n maxWidth: 1000\n },\n itemsCenter: {\n display: \"flex\",\n alignItems: \"center\"\n },\n justifyCenter: {\n display: \"flex\",\n justifyContent: \"center\"\n },\n justifyStart: {\n display: \"flex\",\n justifyContent: \"flex-start\"\n },\n justifyContentEnd: {\n display: \"flex\",\n justifyContent: \"flex-end\"\n },\n popover: {\n padding: 20,\n maxWidth: 340\n },\n visuallyHidden: {\n position: \"absolute !important\",\n clip: \"rect(1px, 1px, 1px, 1px)\",\n padding: 0,\n border: 0,\n height: 1,\n width: 1,\n overflow: \"hidden\"\n },\n fontNormal: {\n fontWeight: 400\n },\n textCenter: {\n textAlign: \"center\"\n },\n textLight: {\n color: \"#606F7B\"\n },\n gray3: {\n color: \"#637381\"\n },\n gray4: {\n color: \"#D3D3D3\"\n },\n purple: {\n color: \"#5866c0\"\n },\n red: {\n color: \"#bf0711\"\n },\n redBorder: {\n borderColor: \"#de3618\"\n },\n lineHeight1: {\n lineHeight: 1\n }\n});\n\nexport default useStylesUtil;\n","import React from \"react\";\n// import _get from \"lodash.get\";\n\nimport Button from \"@material-ui/core/Button\";\nimport List from \"@material-ui/core/List\";\nimport ListItem from \"@material-ui/core/ListItem\";\nimport Popover from \"@material-ui/core/Popover\";\n\nimport useTranslate from \"hooks/useTranslate\";\nimport useMenuAnchor from \"hooks/useMenuAnchor\";\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nexport const PopoverList = ({ id, label, list, renderItem }) => {\n const classes = useStylesUtil();\n const { translate } = useTranslate();\n const { menuProps, openMenu } = useMenuAnchor();\n\n if (!list.length) {\n return ;\n }\n\n return (\n
\n \n \n \n {list.map((item, idx) => (\n \n {(renderItem && renderItem(item)) || item}\n \n ))}\n \n \n
\n );\n};\n\nPopoverList.defaultProps = {\n list: []\n};\n\nexport default PopoverList;\n","import React from \"react\";\nimport { Link as RouterLink } from \"react-router-dom\";\nimport _get from \"lodash.get\";\n\nimport Link from \"@material-ui/core/Link\";\n\nimport PopoverList from \"ui/PopoverList\";\n\nconst ContractLink = ({ id, name }) => (\n \n {name}\n \n);\n\nconst ContractsCell = ({ id, contracts }) => (\n \n);\n\nContractsCell.defaultProps = {\n contracts: []\n};\n\nexport default ContractsCell;\n","import React from \"react\";\nimport _get from \"lodash.get\";\nimport moment from \"moment\";\n\nexport const dateFormatter = (value, format = \"MM/DD/YY\", fallback = \"-\") => {\n const date = moment(new Date(value));\n return value && date.isValid() ? date.format(format) : fallback;\n};\n\nconst DateText = ({ date, format, fallback }) => (\n <>{dateFormatter(date, format, fallback)}\n);\n\nexport default DateText;\n","import React, { useState, createContext } from \"react\";\n\nexport const DataTableContext = createContext();\n\nconst DataTableProvider = ({ children, ...props }) => {\n const [page, setPage] = useState(1);\n const [perPage, setPerPage] = useState(10);\n const [sortField, setSortField] = useState(props.sortField || null);\n const [sortOrder, setSortOrder] = useState(props.sortOrder || \"ASC\");\n const [total, setTotal] = useState(0);\n\n const state = {\n page,\n setPage,\n perPage,\n setPerPage,\n sortField,\n setSortField,\n sortOrder,\n setSortOrder,\n total,\n setTotal\n };\n\n return (\n \n {children}\n \n );\n};\n\nexport default DataTableProvider;\n","import React, { useContext } from \"react\";\n\nimport TableCell from \"@material-ui/core/TableCell\";\nimport TableHead from \"@material-ui/core/TableHead\";\nimport TableRow from \"@material-ui/core/TableRow\";\nimport TableSortLabel from \"@material-ui/core/TableSortLabel\";\n\nimport { DataTableContext } from \"./DataTableProvider\";\n\nimport useTranslate from \"hooks/useTranslate\";\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nconst HeaderCell = ({ sortable, id, label }) => {\n const { visuallyHidden } = useStylesUtil();\n const { translate } = useTranslate();\n const { sortField, setSortField, sortOrder, setSortOrder } = useContext(\n DataTableContext\n );\n const heading = label || translate(`headerCell.${id}`);\n const active = id === sortField;\n const order = sortOrder.toLowerCase();\n\n const changeSort = () => {\n if (sortField === id) {\n setSortOrder(order === \"asc\" ? \"DESC\" : \"ASC\");\n return;\n }\n\n setSortOrder(\"ASC\");\n setSortField(id);\n };\n\n if (sortable === false) {\n return {heading};\n }\n\n return (\n \n \n {heading}\n {active && (\n {`ui.sort${order}Aria`}\n )}\n \n \n );\n};\n\nconst DataTableHeader = ({ columns }) => (\n \n \n {columns.map(col => (\n \n ))}\n \n \n);\n\nexport default DataTableHeader;\n","import { useState } from \"react\";\n\nconst idCounter = {};\n\n/**\n * Taken from: https://github.com/lodash/lodash/blob/3f585df05c68464acbdb63ff3c34ac9efed2a517/uniqueId.js#L20\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n */\nfunction uniqId(prefix = \"tmca\") {\n if (!idCounter[prefix]) {\n idCounter[prefix] = 0;\n }\n\n const id = ++idCounter[prefix];\n if (prefix === \"tmca\") {\n return `${id}`;\n }\n\n return `${prefix}${id}`;\n}\n\nexport const useId = () => {\n const [id] = useState(uniqId(\"tmca-\"));\n\n return id;\n};\n\nexport default useId;\n","import React, { useContext } from \"react\";\nimport _get from \"lodash.get\";\n// import clsx from \"clsx\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport { useGridSlotComponentProps } from \"@material-ui/data-grid\";\n\nimport InputBase from \"@material-ui/core/InputBase\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport Select from \"@material-ui/core/Select\";\nimport Toolbar from \"@material-ui/core/Toolbar\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport Pagination from \"@material-ui/lab/Pagination\";\n\nimport { DataTableContext } from \"./DataTableProvider\";\n\nimport useId from \"hooks/useId\";\nimport useTranslate from \"hooks/useTranslate\";\n\nconst useStyles = makeStyles(theme => ({\n root: {\n position: \"relative\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n backgroundColor: theme.palette.secondary.lightAlt,\n padding: 12\n },\n spacer: {\n height: \"100%\",\n width: 190\n },\n perPageLabel: {\n marginLeft: 8\n }\n}));\n\nconst PageList = () => {\n const { page, perPage, setPage, total } = useContext(DataTableContext);\n\n return (\n setPage(value)}\n />\n );\n};\n\nconst RowsPerPage = ({ options, perPage, onPageSizeChange, label }) => {\n const { translate } = useTranslate();\n const classes = useStyles();\n const labelId = useId();\n const selectId = useId();\n\n if (!options || options.length < 2) {\n return <>;\n }\n\n return (\n
\n }\n value={perPage}\n onChange={onPageSizeChange}\n id={selectId}\n labelId={labelId}\n >\n {options.map(rows => (\n \n {rows}\n \n ))}\n \n \n {translate(label)}\n \n
\n );\n};\n\nRowsPerPage.defaultProps = {\n options: [10, 25, 50, 100],\n label: \"ra.navigation.page_rows_per_page\"\n};\n\nconst DataTablePagination = ({ rowsPerPageOptions }) => {\n const classes = useStyles();\n const { page, perPage, setPerPage, total } = useContext(DataTableContext);\n const { translate } = useTranslate();\n\n return (\n \n setPerPage(parseInt(e.target.value, 10))}\n />\n \n {translate(\"ra.navigation.page_range_info\", {\n from: Math.min(total, (page - 1) * perPage + 1),\n to: Math.min(total, page * perPage),\n total\n })}\n \n {(total > perPage && ) ||
}\n \n );\n};\n\nexport default DataTablePagination;\n\nexport const DataGridFooter = ({ page, setPage }) => {\n const { state, apiRef } = useGridSlotComponentProps();\n const classes = useStyles();\n const { translate } = useTranslate();\n\n const pageCount = _get(state, \"pagination.pageCount\", 1);\n const pageSize = _get(state, \"pagination.pageSize\", 25);\n const total = _get(state, \"pagination.rowCount\", 25);\n\n return (\n \n {\n apiRef.current.setPageSize(Number(e.target.value));\n }}\n />\n \n {translate(\"ra.navigation.page_range_info\", {\n from: Math.min(total, (page - 1) * pageSize + 1),\n to: Math.min(total, page * pageSize),\n total\n })}\n \n {(total > pageSize && (\n {\n setPage(page);\n }}\n />\n )) ||
}\n \n );\n};\n","import React from \"react\";\n\nimport Paper from \"@material-ui/core/Paper\";\nimport Table from \"@material-ui/core/Table\";\nimport TableBody from \"@material-ui/core/TableBody\";\nimport TableCell from \"@material-ui/core/TableCell\";\nimport TableContainer from \"@material-ui/core/TableContainer\";\nimport TableRow from \"@material-ui/core/TableRow\";\n\nimport DataTableHeader from \"./DataTableHeader\";\nimport DataTablePagination from \"./DataTablePagination\";\n\nconst DataTable = ({ columns, data, DataTableRow }) => (\n \n \n \n \n \n {data && (\n <>\n {DataTableRow &&\n data.map(record =>\n React.cloneElement(DataTableRow, {\n ...record,\n key: record.id\n })\n )}\n \n )}\n {!data && (\n \n {\"table.noRows\"}\n \n )}\n \n
\n
\n \n
\n);\nDataTable.defaultProps = {\n columns: [],\n data: []\n};\n\nexport default DataTable;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst SortIcon = ({ viewBox, ...rest }) => (\n \n \n \n);\n\nexport const SortIconInvert = ({ viewBox, ...rest }) => (\n \n \n \n);\n\nexport default SortIcon;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport compose from \"recompose/compose\";\nimport { Field, reduxForm } from \"redux-form\";\nimport { TextInput, REDUX_FORM_NAME } from \"react-admin\";\n\nimport SearchIcon from \"@material-ui/icons/Search\";\nimport InputAdornment from \"@material-ui/core/InputAdornment\";\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport Input from \"@material-ui/core/Input\";\n\nconst useStyles = makeStyles(theme => ({\n seachIcon: {\n color: theme.palette.secondary.main\n },\n labelText: {\n position: \"absolute !important\",\n height: 1,\n width: 1,\n overflow: \"hidden\",\n clip: \"rect(1px, 1px, 1px, 1px)\"\n },\n root: {\n alignItems: \"center\",\n border: \"1px solid #E3E8EA\",\n borderRadius: 2,\n background: theme.palette.common.white\n }\n}));\n\nexport const SearchField = ({ placeholder, source }) => {\n const { seachIcon, labelText, controlRoot, ...rest } = useStyles();\n return (\n <>\n \n \n \n \n ),\n classes: rest\n }}\n name={source}\n record={{}}\n id={\"searchText\"}\n />\n \n );\n};\n\nSearchField.propTypes = {\n classes: PropTypes.object,\n translate: PropTypes.func\n};\n\nexport const onSearchFieldChange = (values, _, props) => {\n const { q } = values || {};\n const { filterValues, setFilters } = props || {};\n return setFilters && setFilters({ ...filterValues, q: q });\n};\n\nconst enhance = compose(\n reduxForm({\n form: REDUX_FORM_NAME,\n enableReinitialize: true,\n destroyOnUnmount: false, // do not destroy to preserve state across navigation\n onChange: onSearchFieldChange\n })\n);\n\nexport default enhance(SearchField);\n\nexport const SearchInput = props => {\n const classes = useStyles();\n return (\n \n \n \n }\n classes={{ root: classes.root }}\n {...props}\n />\n );\n};\n","import { useContext } from \"react\";\n\nimport { DataTableContext } from \"ui/DataTable/DataTableProvider\";\n\n// This allows context to be more easily shimmed in Enzyme shallow testing.\n/* istanbul ignore next core react function */\nconst useDataTable = () => useContext(DataTableContext);\n\nexport default useDataTable;\n","export const USER_ROLE = { name: \"user\", id: 0, level: 0, maxLv: 0 };\nexport const ADMIN_ROLE = { name: \"admin\", id: 1, level: 1, maxLv: 1 };\nexport const SUPER_ROLE = { name: \"super_admin\", id: 2, level: 2, maxLv: 1 };\nexport const TED_ROLE = { name: \"ted_admin\", id: 3, level: 3, maxLv: 3 };\n\nexport const CAN_ACCESS_COMMUNITY = \"can_access_community\";\n\nexport const CAN_CANCEL_USERS = \"can_cancel_users\";\nexport const CAN_CREATE_USERS = \"can_create_users\";\nexport const CAN_DELETE_USERS = \"can_delete_users\";\nexport const CAN_EDIT_USERS = \"can_edit_users\";\nexport const CAN_VIEW_USERS = \"can_view_users\";\n\nexport const CAN_CREATE_ORGS = \"can_create_orgs\";\nexport const CAN_DELETE_ORGS = \"can_delete_orgs\";\nexport const CAN_EDIT_ORGS = \"can_edit_orgs\";\nexport const CAN_VIEW_ORGS = \"can_view_orgs\";\n\nexport const CAN_CREATE_GROUPS = \"can_create_groups\";\nexport const CAN_DELETE_GROUPS = \"can_delete_groups\";\nexport const CAN_EDIT_GROUPS = \"can_edit_groups\";\nexport const CAN_VIEW_GROUPS = \"can_view_groups\";\n\nexport const CAN_VIEW_LESSON_RATINGS = \"can_view_lesson_ratings\";\n\nexport const TED_ADMIN = \"is_ted_admin\";\n\nexport const ROLE_PERMISSIONS = {\n [USER_ROLE.name]: [],\n [ADMIN_ROLE.name]: [CAN_VIEW_GROUPS, CAN_EDIT_USERS, CAN_VIEW_USERS],\n [SUPER_ROLE.name]: [\n CAN_ACCESS_COMMUNITY,\n CAN_CREATE_GROUPS,\n CAN_CREATE_USERS,\n CAN_CANCEL_USERS,\n CAN_DELETE_GROUPS,\n CAN_EDIT_GROUPS,\n CAN_EDIT_USERS,\n CAN_VIEW_GROUPS,\n CAN_VIEW_ORGS,\n CAN_VIEW_USERS\n ],\n [TED_ROLE.name]: [\n CAN_ACCESS_COMMUNITY,\n CAN_CREATE_GROUPS,\n CAN_CREATE_ORGS,\n CAN_CANCEL_USERS,\n CAN_CREATE_USERS,\n CAN_DELETE_USERS,\n CAN_DELETE_GROUPS,\n CAN_DELETE_ORGS,\n CAN_EDIT_GROUPS,\n CAN_EDIT_ORGS,\n CAN_EDIT_USERS,\n CAN_VIEW_GROUPS,\n CAN_VIEW_ORGS,\n CAN_VIEW_USERS,\n CAN_VIEW_LESSON_RATINGS,\n TED_ADMIN\n ]\n};\n\nexport const ROLES = [USER_ROLE, ADMIN_ROLE, SUPER_ROLE, TED_ROLE];\n\nexport const getPermissions = roleName =>\n (roleName && ROLE_PERMISSIONS[roleName]) || [];\n\nexport const getRoleLevel = roleName => {\n const role = ROLES.find(r => r.name === roleName);\n return role && role.level;\n};\n\nexport const getRoleLevelMax = roleName => {\n const role = ROLES.find(r => r.name === roleName);\n return role && role.maxLv;\n};\n\nexport const getRoleId = roleName => {\n const role = ROLES.find(r => r.name === roleName);\n return role && role.id;\n};\n\nexport const isTEDAdmin = user =>\n user && user.role && user.role === TED_ROLE.name;\n\nexport default ROLES;\n","import {\n AUTH_LOGIN,\n AUTH_LOGOUT,\n AUTH_ERROR,\n AUTH_CHECK,\n AUTH_GET_PERMISSIONS\n} from \"react-admin\";\nimport { GET_CURRENT_USER } from \"hooks/useCurrentUser\";\nimport { getPermissions } from \"resources/users/roles\";\nimport gql from \"graphql-tag\";\nimport client from \"apolloClient\";\nimport _get from \"lodash.get\";\n\nexport const CHECK_CURRENT_USER = gql`\n query CheckCurrentUser {\n user: loggedInUserQuery {\n id\n role\n email\n }\n }\n`;\n\nexport const LOGIN_REQUEST_MUTATION = gql`\n mutation LoginAdmin($email: String, $password: String) {\n loginAdmin(email: $email, password: $password) {\n id\n jwt\n role\n organizationId\n }\n }\n`;\n\n/**\n * Makes a loginAdmin mutation request to the API.\n *\n * @param {String} email Login email address.\n * @param {String} password Login password.\n * @returns {Promise} API result object with id, email, jwt and validationSummary.\n */\nexport const loginRequest = (email, password) => {\n try {\n return client.mutate({\n mutation: LOGIN_REQUEST_MUTATION,\n variables: {\n email,\n password\n }\n });\n } catch (err) {\n throw new Error(err);\n }\n};\n\n/**\n * Authenticates the provided email and password.\n * A successful check will return an empty resolved Promise and set a JWT that is\n * then sent with every addtional network request. (see dataProvider.js)\n * A failed check will return a rejected Promise containing an error message string.\n *\n * @param {*} params Object containing the input username and password.\n * @param {String} password Login password.\n * @returns {Promise} Empty on resolved or error message on reject.\n */\nexport const login = async params => {\n const { username, password } = params;\n const {\n data: {\n loginAdmin: { jwt, role }\n }\n } = await loginRequest(username, password);\n\n if (!jwt || !role || role === \"user\") {\n return Promise.reject(\"auth.invalid\");\n }\n\n localStorage.setItem(\"token\", jwt);\n localStorage.setItem(\"role\", role);\n\n try {\n await client.query({\n query: GET_CURRENT_USER,\n fetchPolicy: \"network-only\"\n });\n } catch (error) {\n return Promise.reject(\"auth.invalid\");\n }\n\n return Promise.resolve(true);\n};\n\n/**\n * Logs the user out and returns a promise containing\n * a logout message response based on the type.\n *\n * @param {String} Auth type contstant from React-Admin.\n */\nexport const logout = type => {\n localStorage.removeItem(\"token\");\n localStorage.removeItem(\"role\");\n client.clearStore();\n\n if (type === AUTH_ERROR) {\n return Promise.reject(\"auth.denied\");\n }\n return Promise.resolve(\"auth.logout\");\n};\n\nexport const authCheck = async () => {\n if (!localStorage.getItem(\"token\")) {\n return Promise.reject(false);\n }\n\n try {\n const data = await client.query({\n query: CHECK_CURRENT_USER,\n fetchPolicy: \"network-only\"\n });\n const id = _get(data, \"data.user.id\", -1);\n\n return id > 0 ? Promise.resolve(true) : Promise.reject(false);\n } catch (error) {\n return Promise.reject(false);\n }\n};\n\n/**\n * Authenticattion provider expected by React-Admin.\n */\nexport default (type, params) => {\n if (type === AUTH_LOGIN) {\n return login(params);\n }\n\n if (type === AUTH_LOGOUT) {\n return logout();\n }\n\n if (type === AUTH_ERROR) {\n const { status } = params;\n if (status === 401 || status === 403) {\n return logout(AUTH_ERROR);\n }\n return Promise.resolve(true);\n }\n\n if (type === AUTH_CHECK) {\n return authCheck();\n }\n\n if (type === AUTH_GET_PERMISSIONS) {\n const roleName = localStorage.getItem(\"role\");\n const permissions = getPermissions(roleName);\n return roleName ? Promise.resolve(permissions) : Promise.reject([]);\n }\n\n return Promise.reject(\"auth.unkown\");\n};\n","import { useContext, createContext } from \"react\";\n\nexport const HistoryContext = createContext();\n\nexport const useHistory = () => {\n return useContext(HistoryContext);\n};\n\nexport default useHistory;\n","import React, { createContext } from \"react\";\nimport { connect } from \"react-redux\";\nimport { showNotification } from \"react-admin\";\n\nexport const NotificationContext = createContext();\n\nconst NotificationProvider = ({ children, dispatch }) => {\n const onShowNotification = (message, type, args) => {\n dispatch(showNotification(message, type, args));\n };\n\n return (\n \n {children}\n \n );\n};\n\nexport default connect()(NotificationProvider);\n","import { useContext } from \"react\";\nimport { NotificationContext } from \"ui/NotificationProvider\";\nimport _get from \"lodash.get\";\n\nexport const formatApolloError = e => {\n const error = JSON.parse(JSON.stringify(e));\n const message = _get(error, \"message\");\n const graphQLErrors = _get(error, \"graphQLErrors\");\n const networkError = _get(error, \"networkError.result.error.message\");\n\n return {\n graphQLErrors,\n networkError,\n originalMessage: message,\n message:\n networkError ||\n (graphQLErrors && graphQLErrors.map(({ message }) => message).join(\"\")) ||\n message\n };\n};\n\nconst useNotification = () => {\n const { showNotification } = useContext(NotificationContext);\n\n const showGraphQLError = ({ graphQLErrors, networkError }) => {\n if (networkError) {\n const message = `${networkError} ${_get(\n networkError,\n \"result.error.message\",\n \"\"\n )}`;\n showNotification(message, \"warning\");\n return;\n }\n\n if (graphQLErrors) {\n showNotification(\"errors.graphql\", \"warning\", {\n graphQLErrors\n });\n return;\n }\n };\n\n return {\n showNotification,\n showGraphQLError\n };\n};\n\nexport default useNotification;\n\nexport const useGQLNotifications = args => {\n const { showGraphQLError, showNotification } = useNotification();\n const successMsg = _get(args, \"successMsg\");\n\n return {\n onError: showGraphQLError,\n onCompleted: () => {\n successMsg && showNotification(successMsg, \"success\");\n }\n };\n};\n","import { useEffect, useRef } from \"react\";\nimport gql from \"graphql-tag\";\nimport _get from \"lodash.get\";\nimport { useQuery, useMutation, useApolloClient } from \"@apollo/react-hooks\";\n\nimport { logout } from \"authProvider\";\n\nimport useHistory from \"hooks/useHistory\";\nimport useNotification from \"hooks/useNotification\";\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const GET_CURRENT_USER = gql`\n query GetCurrentUser {\n user: loggedInUserQuery {\n id\n role\n firstName\n lastName\n email\n adminReadonly\n activeOrgId: activeOrganizationId\n activeOrg: activeOrganization {\n id\n name\n }\n organizationId\n organization {\n id\n organizationType\n }\n }\n }\n`;\n\nexport const UPDATE_ACTIVE_ORG = gql`\n mutation updateActiveOrg($id: Int!, $activeOrganizationId: Int) {\n user: updateUser(id: $id, activeOrganizationId: $activeOrganizationId) {\n id\n activeOrgId: activeOrganizationId\n activeOrg: activeOrganization {\n id\n name\n }\n }\n }\n`;\n\n// const invalidUser = user =>\n// !user || !user.id || !user.role || user.role === \"user\";\n\nexport const useLogout = () => {\n const { translate } = useTranslate();\n const client = useApolloClient();\n const history = useHistory();\n const { showNotification } = useNotification();\n\n const logoutUser = async () => {\n client.stop();\n const message = await logout();\n showNotification(translate(message), \"warning\");\n history.push(`/login`);\n };\n\n return logoutUser;\n};\n\nexport const useCurrentUser = () => {\n // const logoutUser = useLogout();\n const { loading, error, data } = useQuery(GET_CURRENT_USER, {\n // onCompleted: ({ user }) => {\n // if (invalidUser(user)) {\n // logoutUser();\n // }\n // }\n });\n const currentUser = _get(data, \"user\", {});\n\n return { ...currentUser, loading, error };\n};\n\nexport const useChangeActiveOrg = args => {\n const client = useApolloClient();\n const [changeActiveOrg] = useMutation(UPDATE_ACTIVE_ORG, {\n onCompleted: () => {\n client.reFetchObservableQueries();\n },\n ...args\n });\n\n return changeActiveOrg;\n};\n\nexport default useCurrentUser;\n","import { useEffect } from \"react\";\nimport { useQuery } from \"@apollo/react-hooks\";\nimport _get from \"lodash.get\";\n\nimport useDataTable from \"hooks/useDataTable\";\nimport useCurrentUser from \"hooks/useCurrentUser\";\n\nconst useDataList = ({ query, filter, preFilter }) => {\n const {\n page,\n perPage,\n sortField,\n sortOrder,\n setTotal,\n ...dataTable\n } = useDataTable();\n const { activeOrgId } = useCurrentUser();\n const { loading, error, data, refetch } = useQuery(query, {\n fetchPolicy: \"network-only\",\n skip: activeOrgId === -1,\n variables: {\n activeOrgId,\n page,\n perPage,\n sortField,\n sortOrder,\n filter: { ...filter, ...preFilter }\n }\n });\n\n const list = _get(data, \"list\", []);\n const total = _get(data, \"total.count\", 0);\n\n useEffect(() => {\n setTotal(total);\n }, [total, setTotal]);\n\n return {\n ...dataTable,\n error,\n list,\n loading,\n page,\n perPage,\n refetch,\n sortField,\n sortOrder,\n total\n };\n};\n\nexport default useDataList;\n","import React from \"react\";\n\nimport Button from \"@material-ui/core/Button\";\nimport IconFilter from \"@material-ui/icons/FilterList\";\nimport Menu from \"@material-ui/core/Menu\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\n\nimport useMenuAnchor from \"hooks/useMenuAnchor\";\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const FiltersDropdown = ({ className, filterList, onSelect }) => {\n const { translate } = useTranslate();\n const { closeMenu, menuProps, openMenu } = useMenuAnchor();\n\n if (!filterList || !filterList.length) {\n return <>;\n }\n\n return (\n <>\n \n\n \n {filterList.map(({ props: { filterKey, label } }) => (\n {\n closeMenu();\n onSelect(filterKey);\n }}\n >\n {translate(label || `filters.${filterKey}`)}\n \n ))}\n \n \n );\n};\n\nexport default FiltersDropdown;\n","import React from \"react\";\nimport clsx from \"clsx\";\nimport _get from \"lodash.get\";\n\nimport Paper from \"@material-ui/core/Paper\";\nimport IconButton from \"@material-ui/core/IconButton\";\nimport IconRemove from \"@material-ui/icons/HighlightOff\";\nimport Grid from \"@material-ui/core/Grid\";\n\nimport useTranslate from \"hooks/useTranslate\";\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nexport const FiltersPanel = ({\n activeFilters,\n filter,\n onRemove,\n updateFilter\n}) => {\n const utilClasses = useStylesUtil();\n const { translate } = useTranslate();\n\n if (activeFilters.length < 1) {\n return <>;\n }\n\n return (\n \n
\n \n {activeFilters.map(FilterField => {\n const key = FilterField.props.filterKey;\n const value =\n filter && typeof filter[key] !== \"undefined\"\n ? filter[key]\n : undefined;\n const label = _get(FilterField, \"props.label\", `filters.${key}`);\n\n return (\n \n {\n onRemove(key);\n }}\n title={\"ra.action.remove_filter\"}\n >\n \n \n {React.cloneElement(FilterField, {\n filterKey: key,\n updateFilter,\n filterFieldProps: {\n id: `lesson-filter-${key}`,\n label: translate(label),\n value,\n onChange: ({ target }) => {\n updateFilter(key, target.value);\n }\n }\n })}\n \n );\n })}\n \n
\n \n );\n};\n\nFiltersPanel.defaultProps = {\n activeFilters: [],\n filter: {},\n classes: {\n root: \"root\"\n }\n};\n\nexport default FiltersPanel;\n","import { useEffect, useState } from \"react\";\nimport _get from \"lodash.get\";\n\nimport useHistory from \"hooks/useHistory\";\n\nconst usePersistentFilters = ({ filter, setFilter }) => {\n const history = useHistory();\n const [loaded, setLoaded] = useState(false);\n\n useEffect(() => {\n if (loaded) {\n return;\n }\n\n const currentSearch = _get(history, \"location.search\");\n const searchParams = new URLSearchParams(currentSearch);\n const defaultFilter = JSON.parse(searchParams.get(\"filter\"));\n\n if (!!defaultFilter) {\n setFilter(defaultFilter);\n }\n\n setLoaded(true);\n }, [setFilter, loaded, setLoaded]);\n\n useEffect(() => {\n if (typeof window === \"undefined\" || !loaded) {\n return;\n }\n\n const currentSearch = _get(history, \"location.search\");\n const push = _get(history, \"push\", () => undefined);\n\n let searchParams = new URLSearchParams(currentSearch);\n\n if (Object.keys(filter).length) {\n searchParams.set(\"filter\", JSON.stringify(filter));\n } else {\n searchParams.delete(\"filter\");\n }\n\n const search = searchParams.toString();\n\n if (search !== currentSearch) {\n push({\n search\n });\n }\n }, [filter, loaded]);\n};\n\nexport default usePersistentFilters;\n","import React, { useState } from \"react\";\nimport _get from \"lodash.get\";\n\nimport FiltersDropdown from \"ui/FiltersDropdown\";\nimport FiltersPanel from \"ui/FiltersPanel\";\n\nimport usePersistentFilters from \"hooks/usePersistentFilters\";\n\nconst useFilters = ({ filters }) => {\n const [filter, setFilter] = useState({});\n const [active, setActive] = useState([]);\n const applied = Object.keys(filter);\n const shown = [...active, ...applied];\n const noFilters = !Array.isArray(filters) || filters.length < 1;\n\n usePersistentFilters({ filter, setFilter });\n\n const setSearchFilter = e => {\n if (e.target.value) {\n setFilter({ ...filter, q: e.target.value });\n } else {\n const { q, ...nextFilter } = filter;\n setFilter(nextFilter);\n }\n };\n\n const updateFilter = (key, value) => {\n if (!key) {\n return;\n }\n\n if (value !== undefined) {\n setFilter({ ...filter, [key]: value });\n setActive([...active, key]);\n } else {\n const { [key]: removedKey, ...nextFilter } = filter;\n setFilter(nextFilter);\n }\n };\n\n const Dropdown = ({ className }) => {\n if (noFilters) {\n return null;\n }\n\n return (\n setActive([...active, key])}\n filterList={filters.filter(\n f => !shown.includes(_get(f, \"props.filterKey\"))\n )}\n />\n );\n };\n\n const Panel = () => {\n if (noFilters) {\n return null;\n }\n\n return (\n {\n updateFilter(key, undefined);\n setActive(active.filter(f => f !== key));\n }}\n updateFilter={updateFilter}\n activeFilters={filters.filter(f =>\n shown.includes(_get(f, \"props.filterKey\"))\n )}\n />\n );\n };\n\n return {\n active,\n filter,\n setFilter,\n setSearchFilter,\n updateFilter,\n FiltersDropdown: Dropdown,\n FiltersPanel: Panel\n };\n};\n\nexport default useFilters;\n","import React, { createContext } from \"react\";\nimport clsx from \"clsx\";\nimport _get from \"lodash.get\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport Paper from \"@material-ui/core/Paper\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport { DataGrid } from \"@material-ui/data-grid\";\n\nimport DataTable from \"ui/DataTable/DataTable\";\nimport DataTableProvider from \"ui/DataTable/DataTableProvider\";\nimport { DataGridFooter } from \"ui/DataTable/DataTablePagination\";\nimport SortIcon, { SortIconInvert } from \"ui/icons/SortIcon\";\nimport { SearchInput } from \"ui/fields/SearchField\";\n\nimport useDataList from \"hooks/useDataList\";\nimport useFilters from \"hooks/useFilters\";\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nexport const DataListContext = createContext();\n\nconst useStyles = makeStyles({\n root: {\n position: \"relative\",\n background: \"#fff\",\n\n \"& .MuiDataGrid-columnsContainer\": {\n color: \"#637381\"\n },\n \"& .MuiDataGrid-colCellWrapper\": {\n background: \"#F5F6F9\"\n },\n \"& .MuiDataGrid-colCell\": {\n fontSize: 14,\n fontWeight: 700,\n letterSpacing: \"-0.5px\"\n },\n \"& .MuiDataGrid-colCellSortable .MuiIconButton-root\": {\n color: \"#637381\",\n width: 24,\n height: 24\n },\n \"& .MuiDataGrid-sortIcon\": {\n width: 14,\n height: 14\n },\n \"& .MuiDataGrid-iconSeparator\": {\n display: \"none\"\n }\n }\n});\n\nexport const DataListTable = ({\n BulkActions,\n checkboxSelection,\n columns,\n CreateButton,\n CustomizeButton,\n dataGrid,\n filters,\n preFilter,\n DataTableRow,\n ExportButton,\n ListFooter,\n onSelectionChange,\n title,\n query,\n sortModel,\n showSearch,\n searchText\n}) => {\n const classes = useStyles();\n const utilClasses = useStylesUtil();\n\n const {\n filter,\n setSearchFilter,\n updateFilter,\n FiltersDropdown,\n FiltersPanel\n } = useFilters({ filters });\n\n const {\n list,\n total,\n refetch,\n page,\n setPage,\n perPage,\n setPerPage,\n setSortOrder,\n setSortField,\n loading\n } = useDataList({\n filter,\n preFilter,\n query\n });\n\n return (\n \n \n {BulkActions && React.cloneElement(BulkActions, { refetch })}\n
\n {title}\n {CreateButton && React.cloneElement(CreateButton)}\n\n \n {CustomizeButton && React.cloneElement(CustomizeButton)}\n \n {showSearch !== false && (\n \n )}\n
\n
\n\n \n\n {dataGrid && (\n \n
\n {\n const field = _get(sortModel, \"0.field\");\n const sort = _get(sortModel, \"0.sort\");\n if (field && sort) {\n setSortField(field);\n setSortOrder(sort.toUpperCase());\n }\n }}\n rowsPerPageOptions={[10, 25, 50, 100]}\n paginationMode=\"server\"\n onPageChange={({ page }) => setPage(page)}\n pageSize={perPage}\n onPageSizeChange={({ pageSize }) => setPerPage(pageSize)}\n onError={props => console.log(\"error\", props)}\n loading={loading}\n onSelectionModelChange={({ selectionModel }) => {\n onSelectionChange({\n rows: selectionModel\n .map(selectedId =>\n list.find(({ id }) => id === parseInt(selectedId, 10))\n )\n .filter(x => x)\n });\n }}\n components={{\n Footer: () => (\n \n ),\n ColumnSortedAscendingIcon: SortIcon,\n ColumnSortedDescendingIcon: SortIconInvert\n }}\n disableColumnMenu\n disableColumnReorder\n disableSelectionOnClick\n disableColumnFilter\n checkboxSelection={checkboxSelection}\n />\n
\n
\n )}\n {!dataGrid && (\n \n )}\n\n {ListFooter && React.cloneElement(ListFooter)}\n {ExportButton && React.cloneElement(ExportButton, { filter })}\n \n \n );\n};\n\nconst DataList = ({ sortOrder, sortField, ...props }) => (\n \n \n \n);\n\nexport default DataList;\n","import React, { useContext } from \"react\";\nimport _get from \"lodash.get\";\n\nimport Button from \"@material-ui/core/Button\";\nimport { DataListContext } from \"ui/DataList\";\n\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nexport const FilterButton = ({ children, filter }) => {\n const { updateFilter } = useContext(DataListContext);\n const classes = useStylesUtil();\n\n return (\n \n Object.entries(filter).map(([key, value]) => {\n updateFilter(key, value);\n })\n }\n >\n {children}\n \n );\n};\n\nexport default FilterButton;\n","import React, { memo } from \"react\";\nimport EllipsisText from \"react-ellipsis-text\";\n\nexport const GroupsCell = ({ groups }) => (\n name)\n .sort()\n .join(\", \")}\n length={30}\n />\n);\n\nGroupsCell.defaultProps = {\n groups: []\n};\n\nexport default memo(GroupsCell);\n","export { default as errorIcon } from \"assets/errorIcon.svg\";\n\nexport const palette = {\n common: {\n black: \"#000\",\n white: \"#fff\",\n gray: \"#B6B6B6\"\n },\n primary: {\n light: \"#606F7B\",\n main: \"#1C1C1C\",\n dark: \"#1C1C1C\",\n contrastText: \"#fff\"\n },\n secondary: {\n lightAlt: \"#F4F6F8\",\n light: \"#F5F8FC\",\n main: \"#5866c0\",\n dark: \"#5866c0\"\n },\n error: {\n light: \"#fdf3f0\",\n main: \"#fead9a\",\n dark: \"#bf0711\",\n border: \"#de3618\",\n contrastText: \"#000\"\n },\n info: {\n light: \"#eef9f9\",\n main: \"#b7ecec\",\n border: \"#47c1bf\",\n dark: \"#00848e\"\n },\n success: {\n light: \"#eff7ed\",\n main: \"#bbe5b3\",\n border: \"#50b83c\",\n dark: \"#108043\"\n },\n caution: {\n light: \"#fdf7e3\",\n main: \"#ffea8a\",\n border: \"#eec200\",\n dark: \"#8a6116\"\n },\n background: {\n shaded: \"#EFF1F3\",\n default: \"#FAFAFA\",\n disabled: \"#F9FAFB\"\n },\n text: {\n primary: \"#2A2A2A\",\n secondary: \"#7F7F7F\",\n light: \"#606F7B\",\n disabled: \"#919EAB\"\n },\n contrastThreshold: 3,\n tonalOffset: 0.2\n};\n\nexport const spacing = 8;\n\nexport const buttonStyles = {\n disabled: \"#DFE3E8\",\n border: \"1px solid #DAE1E7\",\n borderColor: \"#DAE1E7\",\n borderLight: \"1px solid #E3E8EA\",\n borderDisabled: \"1px solid #DFE3E8\",\n bgGradient: \"linear-gradient(-180deg, #FFFFFF 0%, #F9FAFB 100%)\",\n boxShadow: \"0 1px 0 0 rgba(22,29,37,0.05)\"\n};\n\nexport const dropDown = {\n maxHeight: 346,\n boxShadow: \"0 0 0 1px rgba(6,44,82,0.10), 0 2px 16px 0 rgba(33,43,54,0.08)\",\n borderRadius: 3,\n selectedBG: \"#DAE1E7\",\n border: \"#ECECEC\",\n hoverBg: \"#F6F6F6\"\n};\n\nconst baseFontSize = 14;\n\n// Inter is imported into the root app via the `typeface-inter` package.\nexport const typography = {\n fontFamily: [\"Inter\", \"sans-serif\"].join(\",\"),\n fontSize: baseFontSize,\n title: {\n fontSize: baseFontSize * 2,\n fontWeight: 700\n },\n display1: {\n fontSize: Math.round(baseFontSize * 1.14),\n lineHeight: 24 / 16,\n fontWeight: 600,\n color: palette.text.primary\n }\n};\n\nexport default {\n buttonStyles,\n dropDown,\n palette,\n typography\n};\n","import React from \"react\";\nimport { palette } from \"theme/settings\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nexport const core = 7;\n\nconst useStyles = makeStyles({\n root: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n paddingTop: 4,\n paddingBottom: 4,\n width: 120\n },\n bar: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n width: \"100%\",\n backgroundColor: palette.background.shaded\n },\n completed: {\n display: \"block\",\n height: 16,\n backgroundColor: palette.secondary.main\n },\n label: {\n display: \"block\",\n paddingLeft: 4,\n paddingRight: 4,\n textAlign: \"center\",\n color: palette.text.light\n }\n});\n\nexport const LessonsCompletedCell = ({ lessonsCompleted }) => {\n const classes = useStyles();\n const completed = Math.min(lessonsCompleted, core);\n\n return (\n
\n \n \n \n {`${completed}/${core} `}\n
\n );\n};\n\nexport default LessonsCompletedCell;\n","import React from \"react\";\nimport { Link as RouterLink } from \"react-router-dom\";\nimport MuiLink from \"@material-ui/core/Link\";\n\nexport const getSearchString = queryParams =>\n new URLSearchParams(\n Object.entries(queryParams).reduce(\n (acc, [key, value]) => ({\n ...acc,\n [key]: JSON.stringify(value)\n }),\n {}\n )\n ).toString();\n\nconst Link = ({ to, queryParams, ...props }) => (\n \n);\n\nexport default Link;\n","import React from \"react\";\n\nimport Link from \"ui/Link\";\n\nconst OrganiztionCell = ({ id, name, fallback }) => (\n {name || fallback}\n);\n\nOrganiztionCell.defaultProps = {\n fallback: \"[ no name ]\"\n};\n\nexport default OrganiztionCell;\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport { SelectInput } from \"react-admin\";\n\nimport TextField from \"@material-ui/core/TextField\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\n\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const org_types_enum = {\n corp: 0,\n edu: 1,\n tedx: 2,\n st_leaders: 3,\n ted2020: 4\n};\n\nexport const org_types = Object.keys(org_types_enum);\n\nexport const getOrgTypeId = type => _get(org_types_enum, type);\n\nconst OrgTypeSelector = ({ source, ...props }) => {\n const { translate } = useTranslate();\n const choices = Object.keys(org_types_enum).map(type => ({\n id: org_types_enum[type],\n type\n }));\n\n if (source) {\n return (\n \n translate(`resources.organizations.types.${type}`)\n }\n {...props}\n />\n );\n }\n\n const label = \"Type of Organization\";\n\n return (\n \n {choices.map(({ id, type }) => (\n \n {translate(`resources.organizations.types.${type}`)}\n \n ))}\n \n );\n};\n\nexport default OrgTypeSelector;\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport useTranslate from \"hooks/useTranslate\";\n\nconst TranslateText = ({ text }) => {\n const { translate } = useTranslate();\n return <>{translate(text)};\n};\n\nexport default TranslateText;\n","import React from \"react\";\nimport clsx from \"clsx\";\nimport { Link as RouterLink } from \"react-router-dom\";\n\nimport Link from \"@material-ui/core/Link\";\n\nimport EllipsisText from \"react-ellipsis-text\";\n\nimport useStylesUtil from \"hooks/useStylesUtil\";\nimport useTranslate from \"hooks/useTranslate\";\n\nconst UserCell = ({ id, firstName, lastName, email }) => {\n const { translate } = useTranslate();\n const classes = useStylesUtil();\n const name =\n firstName || lastName\n ? `${firstName} ${lastName}`\n : translate(\"users.missing_name\");\n\n return (\n
\n \n \n \n {email && }\n
\n );\n};\n\nexport default UserCell;\n","import React, { memo, useEffect, useState } from \"react\";\nimport md5 from \"js-md5\";\n\nimport Paper from \"@material-ui/core/Paper\";\nimport CardHeader from \"@material-ui/core/CardHeader\";\n\nimport { Player, BigPlayButton } from \"video-react\";\nimport \"video-react/dist/video-react.css\";\n\nconst formatSuhheading = ({ user, createdAt }) => {\n let name = false;\n\n if (user) {\n const { email, firstName, lastName } = user;\n name = `${firstName} ${lastName} (${email}) - `;\n }\n\n return (name || \"\") + new Date(createdAt).toLocaleDateString(\"en-US\");\n};\n\n// It is difficult to test this.\n// The primary functionality here is actualy for react-video.\nexport const usePlayerTimecode = player => {\n const [timeCode, setTimecode] = useState(0);\n\n useEffect(() => {\n const updateTime = ({ currentTime }) => {\n setTimecode(currentTime);\n };\n\n player && player.subscribeToStateChange(updateTime);\n }, [player]);\n\n return timeCode;\n};\n\nexport const VideoCard = ({\n createdAt,\n children,\n title,\n titleId,\n url,\n user\n}) => {\n const videoKey = md5(`${(user && user.id) || 0}-${url}`);\n const [startTime, setStarttime] = useState(0);\n const [player, setPlayer] = useState();\n const timeCode = usePlayerTimecode(player);\n\n useEffect(() => {\n const savedTime = localStorage.getItem(videoKey);\n savedTime && setStarttime(savedTime);\n }, [videoKey]);\n\n useEffect(() => {\n localStorage.setItem(videoKey, timeCode);\n }, [timeCode, videoKey]);\n\n return (\n \n \n setPlayer(p)}\n startTime={parseFloat(startTime)}\n >\n \n \n \n );\n};\n\nexport default memo(VideoCard);\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport Dialog from \"@material-ui/core/Dialog\";\nimport IconButton from \"@material-ui/core/IconButton\";\n\nimport XIcon from \"react-feather/dist/icons/x\";\n\nimport VideoCard from \"ui/VideoCard\";\n\nexport const VideoModal = ({ isOpen, onClose, ...props }) => (\n \n \n \n \n \n \n \n);\n\nexport default VideoModal;\n","import { useState } from \"react\";\n\nconst useModalOpen = active => {\n const [isOpen, setOpen] = useState(active);\n const closeModal = () => setOpen(false);\n const openModal = () => setOpen(true);\n\n return {\n isOpen,\n closeModal,\n openModal\n };\n};\n\nexport default useModalOpen;\n","import React from \"react\";\nimport clsx from \"clsx\";\nimport _get from \"lodash.get\";\n\nimport Button from \"@material-ui/core/Button\";\n\nimport VideoModal from \"ui/VideoModal\";\n\nimport useModalOpen from \"hooks/useModalOpen\";\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nexport const VideoModalButton = ({ active, ...props }) => {\n const classes = useStylesUtil();\n const { isOpen, closeModal, openModal } = useModalOpen(active);\n const title = _get(props, \"title\") || \"(no title)\";\n return (\n <>\n \n {title}\n \n \n \n );\n};\n\nexport default VideoModalButton;\n","import React from \"react\";\nimport gql from \"graphql-tag\";\nimport _get from \"lodash.get\";\nimport { useQuery } from \"@apollo/react-hooks\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Button from \"@material-ui/core/Button\";\nimport Popover from \"@material-ui/core/Popover\";\nimport Skeleton from \"@material-ui/lab/Skeleton\";\nimport Table from \"@material-ui/core/Table\";\nimport TableCell from \"@material-ui/core/TableCell\";\nimport TableRow from \"@material-ui/core/TableRow\";\n\nimport DateText from \"ui/DateText\";\nimport VideoModalBtn from \"ui/datagrid/VideoModalButton\";\n\nimport useMenuAnchor from \"hooks/useMenuAnchor\";\n\nexport const GET_USER_VIDEOS = gql`\n query getUserVideos($id: Int!) {\n user: User(id: $id) {\n email\n firstName\n lastName\n videos {\n id\n title\n url\n createdAt\n }\n }\n }\n`;\n\nconst useStyles = makeStyles({\n table: {\n margin: 20,\n\n \"& .MuiTableCell-root\": {\n padding: 8\n }\n }\n});\n\nexport const VideoTable = ({ count, userId }) => {\n const classes = useStyles();\n const { loading, data } = useQuery(GET_USER_VIDEOS, {\n skip: !userId,\n variables: {\n id: userId\n }\n });\n const skeletons = [...Array(Math.min(count, 10))];\n const user = _get(data, \"user\", {});\n const videos = _get(data, \"user.videos\", []);\n\n return (\n \n {loading && skeletons.map((_, idx) => )}\n {!loading &&\n videos\n .sort((a, b) => new Date(b.createdAt) - new Date(a.createdAt))\n .map(({ id, createdAt, ...props }) => (\n \n \n \n \n \n \n \n \n ))}\n \n );\n};\n\nexport const VideosCell = ({ count, userId }) => {\n const { menuProps, openMenu } = useMenuAnchor();\n\n return (\n <>\n \n \n \n \n \n );\n};\n\nVideosCell.defaultProps = {\n count: 0\n};\n\nexport default VideosCell;\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport Button from \"@material-ui/core/Button\";\nimport ContractsCell from \"ui/datagrid/ContractsCell\";\nimport { dateFormatter } from \"ui/DateText\";\nimport FilterButton from \"ui/datagrid/FilterButton\";\nimport GroupsCell from \"ui/datagrid/GroupsCell\";\nimport LessonsCompletedCell from \"ui/datagrid/LessonsCompletedCell\";\nimport Link from \"ui/Link\";\nimport OrganiztionCell from \"ui/datagrid/OrganizationCell\";\nimport { org_types_enum } from \"ui/fields/OrgTypeSelector\";\nimport TranslateText from \"ui/TranslateText\";\nimport UserCell from \"ui/datagrid/UserCell\";\nimport VideosCell from \"ui/datagrid/VideosCell\";\n\nexport const Header = ({ field, headerName, ...props }) => {\n const headerText = _get(props, \"colDef.headerName\", headerName);\n return ;\n};\n\nexport const baseCol = {\n renderHeader: Header\n};\n\nexport const center = {\n headerAlign: \"center\",\n align: \"center\"\n};\n\nexport const date = {\n width: 140,\n renderHeader: Header,\n valueFormatter: ({ value }) => dateFormatter(value, undefined, \"N/A\")\n};\n\nexport const contracts = {\n width: 128,\n headerName: \"contracts.single\",\n renderHeader: Header,\n renderCell: ({ row: data }) => (\n \n )\n};\n\nexport const getData = key => params => _get(params, `row.${key}`);\n\nexport const groups = {\n type: \"string\",\n width: 160,\n sortable: false,\n renderHeader: Header,\n renderCell: ({ row: data }) => \n};\n\nexport const lastActive = {\n width: 140,\n renderHeader: Header,\n renderCell: ({ row: data }) => {\n const lastActive = _get(data, \"lastActive\");\n if (lastActive) {\n return <>{dateFormatter(lastActive * 1000)};\n }\n\n return ;\n }\n};\n\nexport const lessonsCompleted = {\n width: 144,\n renderHeader: Header,\n renderCell: ({ row: data }) => (\n \n )\n};\n\nexport const name = {\n type: \"string\",\n width: 240,\n headerName: \"headerCell.nameEmail\",\n renderHeader: Header,\n renderCell: ({ row: data }) => (\n \n )\n};\n\nexport const organizationType = {\n type: \"string\",\n headerName: \"headerCell.organizationType_short\",\n renderHeader: Header,\n width: 160,\n renderCell: ({ row: data }) => {\n const organizationType =\n _get(data, \"organizationType\") ||\n _get(data, \"organization.organizationType\");\n\n if (!organizationType) {\n return ;\n }\n\n return (\n \n \n \n );\n }\n};\n\n// export const organization = {\n// type: \"string\",\n// headerName: \"resources.organizations.single\",\n// renderHeader: Header,\n// width: 160,\n// sortable: false,\n// valueFormatter: params => _get(params, \"organization.name\", \"\")\n// };\n\nexport const organizationName = {\n type: \"string\",\n headerName: \"headerCell.organizationName\",\n renderHeader: Header,\n width: 200,\n renderCell: ({ row: data }) => \n};\n\nexport const userOrganizationName = {\n ...organizationName,\n renderCell: ({ row: data }) => (\n \n )\n};\n\nexport const organizationContracts = {\n width: 128,\n headerName: \"headerCell.contractsCount\",\n renderHeader: Header,\n renderCell: ({ row: data }) => {\n const contracts = Array.isArray(_get(data, \"contracts\"))\n ? _get(data, \"contracts\")\n : [];\n\n const props = contracts.length\n ? {\n component: Link,\n to: `/contracts`,\n queryParams: { filter: { organizationId: _get(data, \"id\") } }\n }\n : { disabled: true };\n\n return ;\n }\n};\n\nexport const translatedField = {\n type: \"string\",\n width: 100,\n renderHeader: Header,\n renderCell: props => {\n const fieldName = _get(props, \"field\");\n const value = _get(props, `row.${fieldName}`);\n\n return value ? : \"-\";\n }\n};\n\nexport const role = {\n type: \"string\",\n width: 140,\n renderHeader: Header,\n renderCell: ({ row: data }) => (\n \n )\n};\n\nexport const status = {\n type: \"string\",\n width: 80,\n renderHeader: Header,\n renderCell: ({ row: data }) => (\n \n )\n};\n\nexport const timestamp = {\n width: 140,\n renderHeader: Header,\n valueFormatter: params => {\n const value = _get(params, \"value\");\n return value ? dateFormatter(value * 1000) : \"-\";\n }\n};\n\nexport const timestampString = {\n width: 140,\n renderHeader: Header,\n valueFormatter: params => dateFormatter(parseInt(_get(params, \"value\"), 10))\n};\n\n// export const textField = (fieldKey) => ({\n// type: \"string\",\n// renderHeader: Header,\n// width: 160,\n// sortable: false,\n// renderCell: ({ row: data }) => _get(data, fieldKey) || \"\")\n// });\n\nexport const videos = {\n width: 120,\n headerAlign: \"center\",\n align: \"center\",\n renderHeader: Header,\n renderCell: ({ row: data }) => (\n \n )\n};\n","import React from \"react\";\n\nimport { Link } from \"react-router-dom\";\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport Button from \"@material-ui/core/Button\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport PlusCircle from \"react-feather/dist/icons/plus-circle\";\n\nconst useStyles = makeStyles(theme => ({\n button: {\n color: theme.palette.secondary.main,\n padding: \"10px 14px\"\n },\n icon: {\n width: 22,\n height: 22,\n marginRight: 8\n }\n}));\n\nexport const CreateButton = ({ Icon, text, ...props }) => {\n const classes = useStyles();\n\n return (\n \n );\n};\n\nCreateButton.defaultProps = {\n Icon: PlusCircle\n};\n\nexport default CreateButton;\n","import React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport _get from \"lodash.get\";\n\nimport Button from \"@material-ui/core/Button\";\nimport GetApp from \"@material-ui/icons/GetApp\";\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\n\nimport useTranslate from \"hooks/useTranslate\";\n\nconst useStyles = makeStyles({\n root: {\n float: \"right\",\n marginLeft: \"auto\"\n },\n icon: {\n marginLeft: \"0.25em\",\n width: \"0.8em\",\n height: \"0.8em\"\n }\n});\n\nexport const CSVButton = ({ filter, name, loading, ...props }) => {\n const classes = useStyles();\n const { translate } = useTranslate();\n const label = Object.keys(filter).length ? \"ui.exportFiltered\" : \"ui.export\";\n const Icon = loading ? CircularProgress : GetApp;\n\n return (\n \n );\n};\n\nCSVButton.defaultProps = {\n filter: {}\n};\n\nexport default CSVButton;\n","import _get from \"lodash.get\";\nimport { useEffect } from \"react\";\n\nconst EOL = \"\\r\\n\";\nconst FIELD_SEPARATOR = \",\";\n\nexport const formatDateCSV = date => new Date(date).toLocaleDateString();\n\nexport const formatTimestampCSV = date =>\n new Date(parseInt(date, 10)).toLocaleDateString();\n\nconst formatCell = data => {\n if (data === 0) {\n return \"0\";\n }\n\n if (typeof data === \"boolean\") {\n return data ? \"TRUE\" : \"FALSE\";\n }\n\n if (typeof data === \"string\") {\n return `\"${data.replace(/\"/g, '\"\"')}\"`;\n }\n\n return data;\n};\n\nconst formatRow = (data, fields) => {\n if (typeof data !== \"object\") {\n console.warn(`CSV rows must be objects`, data);\n return Object.keys(fields)\n .map(() => \"\")\n .join(\",\");\n }\n\n const row = Object.keys(fields).map(key => {\n const format = _get(fields, `${key}.format`);\n if (typeof format === \"function\") {\n return format(data);\n }\n\n const value = _get(data, key);\n const formatValue = _get(fields, `${key}.formatValue`);\n if (typeof formatValue === \"function\") {\n return formatValue(value);\n }\n\n const fallback = _get(fields, `${key}.default`);\n\n return fallback ? value || fallback : value;\n });\n\n return row.map(cell => formatCell(cell)).join(FIELD_SEPARATOR);\n};\n\nconst getHeaders = fields =>\n typeof fields === \"object\"\n ? Object.values(fields).map(({ label }) => label)\n : \"\";\n\nconst downloadCSV = ({ filename, csvData }) => {\n if (typeof window === \"undefined\") {\n return;\n }\n\n let link = document.createElement(\"a\");\n link.href = URL.createObjectURL(\n new Blob([csvData], { type: \"text/csv;charset=utf-8;\" })\n );\n\n link.setAttribute(\"visibility\", \"hidden\");\n link.download = `${filename}.csv`;\n\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n};\n\nexport const formatCSVData = ({ data, fields }) => {\n const rows =\n Array.isArray(data) && typeof fields === \"object\"\n ? data.map(row => formatRow(row, fields))\n : [];\n return [getHeaders(fields), ...rows].join(EOL);\n};\n\nconst useCSVdownload = ({ data, fields, filename, startDownload }) => {\n if (typeof fields !== \"object\") {\n console.warn(`You must provide fields as an object.`, fields);\n }\n\n const csvData = formatCSVData({ data, fields });\n\n useEffect(() => {\n if (csvData && startDownload) {\n downloadCSV({ filename, csvData });\n }\n }, [startDownload, csvData]);\n};\n\nexport default useCSVdownload;\n","import React from \"react\";\nimport _get from \"lodash.get\";\nimport { useLazyQuery } from \"@apollo/react-hooks\";\n\nimport CSVButton from \"ui/buttons/CSVButton\";\n\nimport useCurrentUser from \"hooks/useCurrentUser\";\nimport { useGQLNotifications } from \"hooks/useNotification\";\nimport useCSVDownload from \"hooks/useCSVDownload\";\n\nconst DownloadCSVButton = ({\n query,\n fields,\n listKey,\n filename,\n name,\n variables\n}) => {\n const [getData, { loading, data, called }] = useLazyQuery(query, {\n ...useGQLNotifications(),\n fetchPolicy: \"network-only\"\n });\n const { activeOrgId } = useCurrentUser();\n const inProgress = called && loading;\n\n useCSVDownload({\n data: _get(data, listKey),\n fields,\n filename,\n startDownload: called && !!data\n });\n\n return (\n \n getData({\n variables: { activeOrgId, page: 1, perPage: 100000, ...variables }\n })\n }\n />\n );\n};\n\nDownloadCSVButton.defaultProps = {\n listKey: \"list\"\n};\n\nexport default DownloadCSVButton;\n","import gql from \"graphql-tag\";\nimport { graphTypeInt } from \"hooks/useOrgQueries\";\n\nexport const CREATE_CONTACT = gql`\n mutation createContact(\n $firstName: String!\n $lastName: String!\n $email: String!\n $phone: String\n $primary: Boolean!\n $contractId: Int!\n ) {\n contact: createContact(\n firstName: $firstName\n lastName: $lastName\n email: $email\n phone: $phone\n primary: $primary\n contractId: $contractId\n ) {\n id\n firstName\n lastName\n email\n phone\n primary\n contractId\n }\n }\n`;\n\nexport const UPDATE_CONTACT = gql`\n mutation updateContact(\n $id: Int!\n $firstName: String!\n $lastName: String!\n $email: String!\n $phone: String\n $primary: Boolean!\n ) {\n contact: updateContact(\n id: $id\n firstName: $firstName\n lastName: $lastName\n email: $email\n phone: $phone\n primary: $primary\n ) {\n id\n firstName\n lastName\n email\n phone\n primary\n contractId\n }\n }\n`;\n\nexport const formatContactData = ({ contractId, id, primary, ...data }) => ({\n ...data,\n id: graphTypeInt(id),\n primary: !!primary,\n contractId: graphTypeInt(contractId)\n});\n","import { useState } from \"react\";\nimport _get from \"lodash.get\";\nimport gql from \"graphql-tag\";\nimport { useQuery, useMutation, useApolloClient } from \"@apollo/react-hooks\";\nimport useNotification from \"hooks/useNotification\";\n\nimport { graphTypeInt } from \"hooks/useOrgQueries\";\nimport {\n CREATE_CONTACT,\n UPDATE_CONTACT,\n formatContactData\n} from \"hooks/useContactQueries\";\n\nexport const INVITE_REQUEST_FIELDS = gql`\n fragment InviteRequestFields on Contract {\n inviteEmailFooterImagePath\n inviteRequestType\n inviteRequestsEnabled\n inviteRequestEmailsRequired\n inviteRequestIntroText\n inviteRequestDisabledText\n inviteRequestRoleRequired\n }\n`;\n\nexport const GET_CONTRACT = gql`\n ${INVITE_REQUEST_FIELDS}\n query getContract($id: Int!) {\n contract: Contract(id: $id) {\n __typename\n activationDate\n availableSeats\n autoUsersInactive\n communityAccess\n contacts {\n id\n firstName\n lastName\n email\n phone\n primary\n }\n endDate\n id\n invoiceNumber\n inviteEmailIntro\n inviteEmailOutro\n ...InviteRequestFields\n name\n organizationId\n organization {\n id\n name\n }\n seats\n startDate\n status\n talkUploads\n usersActiveForDays\n }\n }\n`;\n\nexport const CREATE_CONTRACT = gql`\n ${INVITE_REQUEST_FIELDS}\n mutation createContract(\n $organizationId: Int!\n $activationDate: String\n $startDate: String\n $endDate: String\n $seats: Int\n $status: String\n $statusNote: String\n $invoiceNumber: String\n $autoUsersInactive: Boolean\n $usersActiveForDays: Int\n $talkUploads: Boolean\n $communityAccess: Boolean\n $inviteEmailIntro: String\n $inviteEmailOutro: String\n $inviteEmailFooterImage: File\n $inviteRequestsEnabled: Boolean\n $inviteRequestEmailsRequired: Boolean\n $inviteRequestType: String\n $inviteRequestIntroText: String\n $inviteRequestDisabledText: String\n $inviteRequestRoleRequired: Boolean\n ) {\n contract: createContract(\n organizationId: $organizationId\n activationDate: $activationDate\n startDate: $startDate\n endDate: $endDate\n seats: $seats\n status: $status\n statusNote: $statusNote\n invoiceNumber: $invoiceNumber\n autoUsersInactive: $autoUsersInactive\n usersActiveForDays: $usersActiveForDays\n talkUploads: $talkUploads\n communityAccess: $communityAccess\n inviteEmailIntro: $inviteEmailIntro\n inviteEmailOutro: $inviteEmailOutro\n inviteEmailFooterImage: $inviteEmailFooterImage\n inviteRequestsEnabled: $inviteRequestsEnabled\n inviteRequestEmailsRequired: $inviteRequestEmailsRequired\n inviteRequestType: $inviteRequestType\n inviteRequestIntroText: $inviteRequestIntroText\n inviteRequestDisabledText: $inviteRequestDisabledText\n inviteRequestRoleRequired: $inviteRequestRoleRequired\n ) {\n activationDate\n autoUsersInactive\n communityAccess\n endDate\n id\n invoiceNumber\n inviteEmailIntro\n inviteEmailOutro\n ...InviteRequestFields\n organizationId\n organization {\n id\n name\n organizationType\n }\n primaryContact {\n firstName\n lastName\n email\n }\n seats\n startDate\n status\n statusNote\n talkUploads\n usersActiveForDays\n }\n }\n`;\n\nexport const UPDATE_CONTRACT = gql`\n ${INVITE_REQUEST_FIELDS}\n mutation updateContract(\n $id: Int!\n $activationDate: String\n $startDate: String\n $endDate: String\n $seats: Int\n $status: String\n $statusNote: String\n $invoiceNumber: String\n $autoUsersInactive: Boolean\n $usersActiveForDays: Int\n $talkUploads: Boolean\n $communityAccess: Boolean\n $inviteEmailIntro: String\n $inviteEmailOutro: String\n $inviteRequestsEnabled: Boolean\n $inviteRequestEmailsRequired: Boolean\n $inviteEmailFooterImage: File\n $inviteRequestType: String\n $inviteRequestIntroText: String\n $inviteRequestDisabledText: String\n $inviteRequestRoleRequired: Boolean\n ) {\n contract: updateContract(\n id: $id\n activationDate: $activationDate\n startDate: $startDate\n endDate: $endDate\n seats: $seats\n status: $status\n statusNote: $statusNote\n invoiceNumber: $invoiceNumber\n autoUsersInactive: $autoUsersInactive\n usersActiveForDays: $usersActiveForDays\n talkUploads: $talkUploads\n communityAccess: $communityAccess\n inviteEmailIntro: $inviteEmailIntro\n inviteEmailOutro: $inviteEmailOutro\n inviteRequestsEnabled: $inviteRequestsEnabled\n inviteRequestEmailsRequired: $inviteRequestEmailsRequired\n inviteRequestType: $inviteRequestType\n inviteEmailFooterImage: $inviteEmailFooterImage\n inviteRequestIntroText: $inviteRequestIntroText\n inviteRequestDisabledText: $inviteRequestDisabledText\n inviteRequestRoleRequired: $inviteRequestRoleRequired\n ) {\n activationDate\n communityAccess\n endDate\n id\n invoiceNumber\n inviteEmailIntro\n inviteEmailOutro\n ...InviteRequestFields\n organizationId\n organization {\n id\n name\n organizationType\n }\n primaryContact {\n firstName\n lastName\n email\n }\n status\n seats\n startDate\n talkUploads\n autoUsersInactive\n usersActiveForDays\n }\n }\n`;\n\nexport const GET_CONTRACT_DATALIST = gql`\n query contractsDataList(\n $page: Int\n $perPage: Int\n $sortField: String\n $sortOrder: String\n $filter: Filter\n ) {\n list: allContracts(\n page: $page\n perPage: $perPage\n sortField: $sortField\n sortOrder: $sortOrder\n filter: $filter\n ) {\n activationDate\n availableSeats\n endDate\n id\n invoiceNumber\n name\n organizationId\n organization {\n id\n name\n organizationType\n }\n primaryContact {\n firstName\n lastName\n email\n }\n status\n seats\n startDate\n }\n total: _allContractsMeta(page: $page, perPage: $perPage, filter: $filter) {\n count\n }\n }\n`;\n\nconst refetchQueriesCreate = [\n \"getMenuCounts\",\n \"allContracts\",\n \"contractsDataList\"\n];\n\nexport const formatContractData = args => {\n const {\n inviteEmailFooterImage,\n organizationId,\n seats,\n usersActiveForDays,\n ...data\n } = args || {};\n\n return {\n ...data,\n organizationId: graphTypeInt(organizationId),\n seats: graphTypeInt(seats),\n usersActiveForDays: graphTypeInt(usersActiveForDays),\n inviteEmailFooterImage: _get(inviteEmailFooterImage, \"[0]\")\n };\n};\n\nconst useContractMutation = props => {\n const { mutation, message, onError, onCompleted, ...rest } = props;\n const { showGraphQLError, showNotification } = useNotification();\n\n const [mutate, ...mutateArgs] = useMutation(mutation, {\n onCompleted: args => {\n showNotification(message, \"info\");\n onCompleted && onCompleted(args);\n },\n onError: args => {\n showGraphQLError(args);\n onError && onError();\n },\n ...rest\n });\n\n const formattedMutation = args =>\n mutate({\n ...args,\n variables: formatContractData(args.variables)\n });\n\n return [formattedMutation, ...mutateArgs];\n};\n\nexport const useCreateContract = props =>\n useContractMutation({\n mutation: CREATE_CONTRACT,\n message: \"contract_created\",\n refetchQueries: refetchQueriesCreate,\n awaitRefetchQueries: true,\n ...props\n });\n\nexport const useUpdateContract = props =>\n useContractMutation({\n mutation: UPDATE_CONTRACT,\n message: \"contract_updated\",\n ...props\n });\n\nexport const useGetContract = id => {\n const { data, ...rest } = useQuery(GET_CONTRACT, {\n skip: !id,\n variables: { id: parseInt(id, 10) },\n fetchPolicy: \"network-only\"\n });\n const { contract } = data || {};\n\n return {\n data: contract,\n ...rest\n };\n};\n\nexport const useCombinedUpdateContract = ({ onCompleted, onError } = {}) => {\n const [error, setError] = useState();\n const [data, setData] = useState();\n const [loading, setLoading] = useState(false);\n const client = useApolloClient();\n const { showGraphQLError, showNotification } = useNotification();\n\n const updateCominbed = async ({ contacts, ...contract }) => {\n setError(undefined);\n setData(undefined);\n\n try {\n const contractMutation = client.mutate({\n mutation: UPDATE_CONTRACT,\n variables: formatContractData(contract)\n });\n\n const contactMutations = contacts.map(c =>\n client.mutate({\n mutation: c.id ? UPDATE_CONTACT : CREATE_CONTACT,\n variables: formatContactData({ ...c, contractId: contract.id })\n })\n );\n\n const mutations = await Promise.all([\n ...contactMutations,\n contractMutation\n ]);\n\n showNotification(\"contracts.update_success\", \"success\");\n onCompleted && onCompleted(mutations);\n setData(mutations);\n } catch (error) {\n onError && onError(error);\n setError(error);\n showGraphQLError(error);\n }\n\n setLoading(false);\n };\n\n return [updateCominbed, { loading, error, data }];\n};\n\nexport const useCombinedCreateContract = ({ onCompleted, onError } = {}) => {\n const [error, setError] = useState();\n const [data, setData] = useState();\n const [loading, setLoading] = useState(false);\n const client = useApolloClient();\n const { showGraphQLError, showNotification } = useNotification();\n\n const createCombined = async ({ contacts, ...formData }) => {\n setError(undefined);\n setData(undefined);\n\n try {\n const contractMutation = await client.mutate({\n mutation: CREATE_CONTRACT,\n variables: formatContractData(formData),\n refetchQueries: refetchQueriesCreate\n });\n\n const {\n data: { contract }\n } = contractMutation;\n\n const contactMutations = await Promise.all(\n contacts.map(c =>\n client.mutate({\n mutation: CREATE_CONTACT,\n variables: formatContactData({ ...c, contractId: contract.id })\n })\n )\n );\n\n const data = {\n ...contract,\n contacts: contactMutations.map(({ data: { contact } }) => contact)\n };\n showNotification(\"contracts.create_success\", \"success\");\n onCompleted && onCompleted(data);\n setData(data);\n } catch (error) {\n onError && onError(error);\n setError(error);\n showGraphQLError(error);\n }\n\n setLoading(false);\n };\n\n return [createCombined, { loading, error, data }];\n};\n","import { useState } from \"react\";\nimport gql from \"graphql-tag\";\nimport { useQuery, useMutation, useApolloClient } from \"@apollo/react-hooks\";\nimport useNotification from \"hooks/useNotification\";\n\nimport { CREATE_CONTACT, formatContactData } from \"hooks/useContactQueries\";\nimport { CREATE_CONTRACT, formatContractData } from \"hooks/useContractQueries\";\n\nexport const GET_ORGANIZATION = gql`\n query GetOrganization($id: Int!) {\n organization: Organization(id: $id) {\n address1\n address2\n administrativeArea\n city\n countryCode\n id\n name\n organizationType\n parentOrganization {\n id\n name\n }\n postalCode\n logoPath\n }\n }\n`;\n\nexport const DELETE_ORG = gql`\n mutation deleteOrganization($id: Int!) {\n organization: deleteOrganization(id: $id) {\n id\n }\n }\n`;\n\nexport const CREATE_ORG = gql`\n mutation createOrganization(\n $name: String!\n $address1: String\n $address2: String\n $city: String\n $postalCode: String\n $administrativeArea: String\n $countryCode: String\n $organizationType: Int\n $parentId: Int\n ) {\n organization: createOrganization(\n name: $name\n address1: $address1\n address2: $address2\n city: $city\n postalCode: $postalCode\n administrativeArea: $administrativeArea\n countryCode: $countryCode\n organizationType: $organizationType\n parentId: $parentId\n ) {\n id\n }\n }\n`;\n\nexport const UPDATE_ORG = gql`\n mutation updateOrganization(\n $id: Int!\n $name: String!\n $address1: String\n $address2: String\n $city: String\n $postalCode: String\n $administrativeArea: String\n $countryCode: String\n $organizationType: Int\n $parentId: Int\n $logo: File\n ) {\n updateOrganization(\n id: $id\n name: $name\n address1: $address1\n address2: $address2\n city: $city\n postalCode: $postalCode\n administrativeArea: $administrativeArea\n countryCode: $countryCode\n organizationType: $organizationType\n parentId: $parentId\n logo: $logo\n ) {\n address1\n address2\n administrativeArea\n city\n countryCode\n id\n name\n organizationType\n parentOrganization {\n id\n name\n }\n postalCode\n logoPath\n }\n }\n`;\n\nexport const GET_ORG_DATALIST = gql`\n query allOrganizations(\n $page: Int\n $perPage: Int\n $sortField: String\n $sortOrder: String\n $filter: Filter\n ) {\n list: allOrganizations(\n page: $page\n perPage: $perPage\n sortField: $sortField\n sortOrder: $sortOrder\n filter: $filter\n ) {\n id\n name\n organizationType\n contracts {\n id\n status\n }\n status\n }\n total: _allOrganizationsMeta(\n page: $page\n perPage: $perPage\n filter: $filter\n ) {\n count\n }\n }\n`;\n\nconst refetchQueriesCreate = [\"ALL_ORGS_QUERY\", \"getMenuCounts\"];\n\nexport const graphTypeInt = data => {\n const val = parseInt(data, 10);\n return isNaN(val) ? data : val;\n};\n\nexport const formatOrgData = ({\n id,\n organizationType,\n parentId,\n logo,\n ...data\n}) => ({\n ...data,\n id: graphTypeInt(id),\n organizationType: graphTypeInt(organizationType),\n parentId: graphTypeInt(parentId),\n logo: logo[0] || undefined\n});\n\nconst useOrgMutation = props => {\n const { mutation, message, onError, onCompleted, ...rest } = props || {};\n const { showGraphQLError, showNotification } = useNotification();\n\n const [mutate, ...mutateArgs] = useMutation(mutation, {\n onCompleted: args => {\n showNotification(\n `resources.organizations.notification.${message}`,\n \"success\"\n );\n onCompleted && onCompleted(args);\n },\n onError: args => {\n showGraphQLError(args);\n onError && onError();\n },\n ...rest\n });\n\n const formattedMutation = args =>\n mutate({\n ...args,\n variables: formatOrgData(args.variables || {})\n });\n\n return [formattedMutation, ...mutateArgs];\n};\n\nexport const useCreateOrg = props =>\n useOrgMutation({\n mutation: CREATE_ORG,\n message: \"org_created\",\n refetchQueries: refetchQueriesCreate,\n awaitRefetchQueries: true,\n ...props\n });\n\nexport const useUpdateOrg = props =>\n useOrgMutation({\n mutation: UPDATE_ORG,\n message: \"org_updated\",\n ...props\n });\n\nexport const useDeleteOrg = props =>\n useOrgMutation({\n mutation: DELETE_ORG,\n message: \"org_deleted\",\n refetchQueries: refetchQueriesCreate,\n awaitRefetchQueries: true,\n ...props\n });\n\nexport const useGetOrg = id =>\n useQuery(GET_ORGANIZATION, {\n skip: id === false,\n variables: { id: parseInt(id, 10) }\n });\n\nexport const useCombinedCreateOrg = ({ onCompleted, onError } = {}) => {\n const [error, setError] = useState();\n const [data, setData] = useState();\n const [loading, setLoading] = useState(false);\n const client = useApolloClient();\n const { showGraphQLError, showNotification } = useNotification();\n\n const createCombined = async ({\n org,\n contract: { contacts, ...formData }\n }) => {\n setError(undefined);\n setData(undefined);\n\n try {\n const orgMutation = await client.mutate({\n mutation: CREATE_ORG,\n variables: formatOrgData(org),\n refetchQueries: refetchQueriesCreate\n });\n\n const {\n data: { organization }\n } = orgMutation;\n\n const contractMutation = await client.mutate({\n mutation: CREATE_CONTRACT,\n variables: formatContractData({\n ...formData,\n organizationId: organization.id\n }),\n refetchQueries: [\"getMenuCounts\", \"contractsDataList\"]\n });\n\n const {\n data: { contract }\n } = contractMutation;\n\n const contactMutations = await Promise.all(\n contacts.map(c =>\n client.mutate({\n mutation: CREATE_CONTACT,\n variables: formatContactData({ ...c, contractId: contract.id })\n })\n )\n );\n\n const data = {\n ...contract,\n organization,\n contacts: contactMutations.map(({ data: { contact } }) => contact)\n };\n\n showNotification(\n `resources.organizations.notification.org_created`,\n \"success\"\n );\n\n onCompleted && onCompleted(data);\n setData(data);\n } catch (error) {\n onError && onError(error);\n setError(error);\n showGraphQLError(error);\n }\n\n setLoading(false);\n };\n\n return [createCombined, { loading, error, data }];\n};\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport DownloadCSVButton from \"ui/buttons/DownloadCSVButton\";\n\nimport { GET_ORG_DATALIST } from \"hooks/useOrgQueries\";\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const ExportOrgsButton = ({ filter }) => {\n const { translate } = useTranslate();\n\n return (\n \n Array.isArray(contracts) ? contracts.length : 0\n },\n organizationType: {\n label: translate(`headerCell.organizationType`),\n formatValue: type =>\n translate(`resources.organizations.types.${type}_short`)\n },\n status: {\n label: translate(`headerCell.status`),\n formatValue: status => translate(`ui.status.${status}`)\n }\n }}\n />\n );\n};\n\nexport default ExportOrgsButton;\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport OrgTypeSelector from \"ui/fields/OrgTypeSelector\";\n\nconst FilterByOrganizationType = ({ filterFieldProps }) => {\n const value = _get(filterFieldProps, \"value\", \"\");\n\n return ;\n};\n\nFilterByOrganizationType.defaultProps = {\n filterFieldProps: {}\n};\n\nexport default FilterByOrganizationType;\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport TextField from \"@material-ui/core/TextField\";\n\nimport useTranslate from \"hooks/useTranslate\";\n\nconst FilterByOption = ({\n InputProps,\n filterFieldProps,\n options,\n optionLabel,\n optionValue,\n style\n // emptyLabel\n}) => {\n const { translate } = useTranslate();\n const selected = _get(filterFieldProps, \"value\", \"\");\n const getLabel = o =>\n typeof optionLabel === \"function\"\n ? optionLabel({ value: o, translate })\n : o;\n const getValue = o =>\n typeof optionValue === \"function\" ? optionValue(o) : o;\n\n const uniqueList = [...new Set(options.map(getValue))].map(value =>\n options.find(o => getValue(o) === value)\n );\n\n return (\n \n {/* {emptyLabel && {emptyLabel}} */}\n {uniqueList.map(option => (\n \n {getLabel(option)}\n \n ))}\n \n );\n};\n\nFilterByOption.defaultProps = {\n filterFieldProps: {},\n options: []\n};\n\nexport default FilterByOption;\n","import React from \"react\";\n\nimport FilterByOption from \"ui/filters/FilterByOption\";\n\nconst FilterByStatus = props => (\n translate(`ui.status.${value}`)}\n {...props}\n />\n);\n\nexport default FilterByStatus;\n","import _get from \"lodash.get\";\nimport useCurrentUser from \"hooks/useCurrentUser\";\nimport { ROLE_PERMISSIONS } from \"resources/users/roles\";\n\nimport {\n TED_ADMIN,\n CAN_CREATE_GROUPS,\n CAN_CANCEL_USERS,\n CAN_CREATE_USERS,\n CAN_DELETE_USERS,\n CAN_VIEW_USERS,\n CAN_CREATE_ORGS,\n CAN_EDIT_GROUPS,\n CAN_EDIT_ORGS,\n CAN_EDIT_USERS,\n CAN_VIEW_GROUPS,\n CAN_VIEW_ORGS,\n CAN_VIEW_LESSON_RATINGS\n} from \"resources/users/roles\";\n\nexport * from \"resources/users/roles\";\n\nconst usePermissions = () => {\n const {\n role,\n adminReadonly,\n loading,\n error,\n organization\n } = useCurrentUser();\n const permissions = (role && ROLE_PERMISSIONS[role]) || [];\n\n const allowed = rule => permissions.includes(rule);\n\n const canCreateOrgs = allowed(CAN_CREATE_ORGS) && !adminReadonly;\n const canEditOrgs = allowed(CAN_EDIT_ORGS) && !adminReadonly;\n const canViewOrgs = allowed(CAN_VIEW_ORGS);\n\n const canCreateGroups = allowed(CAN_CREATE_GROUPS) && !adminReadonly;\n const canEditGroups = allowed(CAN_EDIT_GROUPS) && !adminReadonly;\n const canViewGroups = allowed(CAN_VIEW_GROUPS);\n\n const canCreateUsers = allowed(CAN_CREATE_USERS) && !adminReadonly;\n const canEditUsers = allowed(CAN_EDIT_USERS) && !adminReadonly;\n const canCancelUsers = allowed(CAN_CANCEL_USERS) && !adminReadonly;\n const canDeleteUsers = allowed(CAN_DELETE_USERS) && !adminReadonly;\n const canViewUsers = allowed(CAN_VIEW_USERS);\n\n const canViewLessonRatings = allowed(CAN_VIEW_LESSON_RATINGS);\n\n const isEduOrg = _get(organization, \"organizationType\") === \"edu\";\n const isTedAdmin = allowed(TED_ADMIN);\n\n return {\n permissions,\n adminReadonly,\n canViewLessonRatings,\n canCancelUsers,\n canCreateGroups,\n canCreateOrgs,\n canCreateUsers,\n canDeleteUsers,\n canEditGroups,\n canEditOrgs,\n canEditUsers,\n canViewGroups,\n canViewOrgs,\n canViewUsers,\n isTedAdmin,\n isEduOrg,\n loading,\n error\n };\n};\n\nexport default usePermissions;\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport * as cols from \"ui/datagrid/columnTypes\";\nimport CreateButton from \"ui/buttons/CreateButton\";\nimport DataList from \"ui/DataList\";\nimport ExportOrgsButton from \"./ExportOrgsButton\";\n\nimport FilterByOrganizationType from \"ui/filters/FilterByOrganizationType\";\nimport FilterByStatus from \"ui/filters/FilterByStatus\";\n\nimport useTranslate from \"hooks/useTranslate\";\nimport usePermissions from \"hooks/usePermissions\";\n\nimport { GET_ORG_DATALIST } from \"hooks/useOrgQueries\";\n\nconst columns = [\n { field: \"name\", ...cols.organizationName },\n { field: \"contracts\", ...cols.organizationContracts },\n { field: \"organizationType\", ...cols.organizationType },\n { field: \"status\", ...cols.status }\n];\n\nconst filters = [\n ,\n \n];\n\nconst OrganizationsList = ({ query }) => {\n const { translate } = useTranslate();\n const { canCreateOrgs } = usePermissions();\n\n return (\n }\n CreateButton={\n canCreateOrgs && (\n \n )\n }\n filters={filters}\n title={translate(\"resources.organizations.plural\")}\n searchText={\"Search organizations\"}\n query={query}\n dataGrid\n />\n );\n};\n\nOrganizationsList.defaultProps = {\n query: GET_ORG_DATALIST\n};\n\nexport default OrganizationsList;\n","export default [\n {\n name: \"Afghanistan\",\n \"alpha-2\": \"AF\",\n \"alpha-3\": \"AFG\",\n \"country-code\": \"004\",\n \"iso_3166-2\": \"ISO 3166-2:AF\",\n region: \"Asia\",\n \"sub-region\": \"Southern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"034\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Åland Islands\",\n \"alpha-2\": \"AX\",\n \"alpha-3\": \"ALA\",\n \"country-code\": \"248\",\n \"iso_3166-2\": \"ISO 3166-2:AX\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Albania\",\n \"alpha-2\": \"AL\",\n \"alpha-3\": \"ALB\",\n \"country-code\": \"008\",\n \"iso_3166-2\": \"ISO 3166-2:AL\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Algeria\",\n \"alpha-2\": \"DZ\",\n \"alpha-3\": \"DZA\",\n \"country-code\": \"012\",\n \"iso_3166-2\": \"ISO 3166-2:DZ\",\n region: \"Africa\",\n \"sub-region\": \"Northern Africa\",\n \"intermediate-region\": \"\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"015\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"American Samoa\",\n \"alpha-2\": \"AS\",\n \"alpha-3\": \"ASM\",\n \"country-code\": \"016\",\n \"iso_3166-2\": \"ISO 3166-2:AS\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Andorra\",\n \"alpha-2\": \"AD\",\n \"alpha-3\": \"AND\",\n \"country-code\": \"020\",\n \"iso_3166-2\": \"ISO 3166-2:AD\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Angola\",\n \"alpha-2\": \"AO\",\n \"alpha-3\": \"AGO\",\n \"country-code\": \"024\",\n \"iso_3166-2\": \"ISO 3166-2:AO\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Middle Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"017\"\n },\n {\n name: \"Anguilla\",\n \"alpha-2\": \"AI\",\n \"alpha-3\": \"AIA\",\n \"country-code\": \"660\",\n \"iso_3166-2\": \"ISO 3166-2:AI\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Antarctica\",\n \"alpha-2\": \"AQ\",\n \"alpha-3\": \"ATA\",\n \"country-code\": \"010\",\n \"iso_3166-2\": \"ISO 3166-2:AQ\",\n region: \"\",\n \"sub-region\": \"\",\n \"intermediate-region\": \"\",\n \"region-code\": \"\",\n \"sub-region-code\": \"\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Antigua and Barbuda\",\n \"alpha-2\": \"AG\",\n \"alpha-3\": \"ATG\",\n \"country-code\": \"028\",\n \"iso_3166-2\": \"ISO 3166-2:AG\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Argentina\",\n \"alpha-2\": \"AR\",\n \"alpha-3\": \"ARG\",\n \"country-code\": \"032\",\n \"iso_3166-2\": \"ISO 3166-2:AR\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Armenia\",\n \"alpha-2\": \"AM\",\n \"alpha-3\": \"ARM\",\n \"country-code\": \"051\",\n \"iso_3166-2\": \"ISO 3166-2:AM\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Aruba\",\n \"alpha-2\": \"AW\",\n \"alpha-3\": \"ABW\",\n \"country-code\": \"533\",\n \"iso_3166-2\": \"ISO 3166-2:AW\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Australia\",\n \"alpha-2\": \"AU\",\n \"alpha-3\": \"AUS\",\n \"country-code\": \"036\",\n \"iso_3166-2\": \"ISO 3166-2:AU\",\n region: \"Oceania\",\n \"sub-region\": \"Australia and New Zealand\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"053\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Austria\",\n \"alpha-2\": \"AT\",\n \"alpha-3\": \"AUT\",\n \"country-code\": \"040\",\n \"iso_3166-2\": \"ISO 3166-2:AT\",\n region: \"Europe\",\n \"sub-region\": \"Western Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"155\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Azerbaijan\",\n \"alpha-2\": \"AZ\",\n \"alpha-3\": \"AZE\",\n \"country-code\": \"031\",\n \"iso_3166-2\": \"ISO 3166-2:AZ\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Bahamas\",\n \"alpha-2\": \"BS\",\n \"alpha-3\": \"BHS\",\n \"country-code\": \"044\",\n \"iso_3166-2\": \"ISO 3166-2:BS\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Bahrain\",\n \"alpha-2\": \"BH\",\n \"alpha-3\": \"BHR\",\n \"country-code\": \"048\",\n \"iso_3166-2\": \"ISO 3166-2:BH\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Bangladesh\",\n \"alpha-2\": \"BD\",\n \"alpha-3\": \"BGD\",\n \"country-code\": \"050\",\n \"iso_3166-2\": \"ISO 3166-2:BD\",\n region: \"Asia\",\n \"sub-region\": \"Southern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"034\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Barbados\",\n \"alpha-2\": \"BB\",\n \"alpha-3\": \"BRB\",\n \"country-code\": \"052\",\n \"iso_3166-2\": \"ISO 3166-2:BB\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Belarus\",\n \"alpha-2\": \"BY\",\n \"alpha-3\": \"BLR\",\n \"country-code\": \"112\",\n \"iso_3166-2\": \"ISO 3166-2:BY\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Belgium\",\n \"alpha-2\": \"BE\",\n \"alpha-3\": \"BEL\",\n \"country-code\": \"056\",\n \"iso_3166-2\": \"ISO 3166-2:BE\",\n region: \"Europe\",\n \"sub-region\": \"Western Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"155\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Belize\",\n \"alpha-2\": \"BZ\",\n \"alpha-3\": \"BLZ\",\n \"country-code\": \"084\",\n \"iso_3166-2\": \"ISO 3166-2:BZ\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Central America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"013\"\n },\n {\n name: \"Benin\",\n \"alpha-2\": \"BJ\",\n \"alpha-3\": \"BEN\",\n \"country-code\": \"204\",\n \"iso_3166-2\": \"ISO 3166-2:BJ\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Bermuda\",\n \"alpha-2\": \"BM\",\n \"alpha-3\": \"BMU\",\n \"country-code\": \"060\",\n \"iso_3166-2\": \"ISO 3166-2:BM\",\n region: \"Americas\",\n \"sub-region\": \"Northern America\",\n \"intermediate-region\": \"\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"021\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Bhutan\",\n \"alpha-2\": \"BT\",\n \"alpha-3\": \"BTN\",\n \"country-code\": \"064\",\n \"iso_3166-2\": \"ISO 3166-2:BT\",\n region: \"Asia\",\n \"sub-region\": \"Southern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"034\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Bolivia (Plurinational State of)\",\n \"alpha-2\": \"BO\",\n \"alpha-3\": \"BOL\",\n \"country-code\": \"068\",\n \"iso_3166-2\": \"ISO 3166-2:BO\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Bonaire, Sint Eustatius and Saba\",\n \"alpha-2\": \"BQ\",\n \"alpha-3\": \"BES\",\n \"country-code\": \"535\",\n \"iso_3166-2\": \"ISO 3166-2:BQ\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Bosnia and Herzegovina\",\n \"alpha-2\": \"BA\",\n \"alpha-3\": \"BIH\",\n \"country-code\": \"070\",\n \"iso_3166-2\": \"ISO 3166-2:BA\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Botswana\",\n \"alpha-2\": \"BW\",\n \"alpha-3\": \"BWA\",\n \"country-code\": \"072\",\n \"iso_3166-2\": \"ISO 3166-2:BW\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Southern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"018\"\n },\n {\n name: \"Bouvet Island\",\n \"alpha-2\": \"BV\",\n \"alpha-3\": \"BVT\",\n \"country-code\": \"074\",\n \"iso_3166-2\": \"ISO 3166-2:BV\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Brazil\",\n \"alpha-2\": \"BR\",\n \"alpha-3\": \"BRA\",\n \"country-code\": \"076\",\n \"iso_3166-2\": \"ISO 3166-2:BR\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"British Indian Ocean Territory\",\n \"alpha-2\": \"IO\",\n \"alpha-3\": \"IOT\",\n \"country-code\": \"086\",\n \"iso_3166-2\": \"ISO 3166-2:IO\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Brunei Darussalam\",\n \"alpha-2\": \"BN\",\n \"alpha-3\": \"BRN\",\n \"country-code\": \"096\",\n \"iso_3166-2\": \"ISO 3166-2:BN\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Bulgaria\",\n \"alpha-2\": \"BG\",\n \"alpha-3\": \"BGR\",\n \"country-code\": \"100\",\n \"iso_3166-2\": \"ISO 3166-2:BG\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Burkina Faso\",\n \"alpha-2\": \"BF\",\n \"alpha-3\": \"BFA\",\n \"country-code\": \"854\",\n \"iso_3166-2\": \"ISO 3166-2:BF\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Burundi\",\n \"alpha-2\": \"BI\",\n \"alpha-3\": \"BDI\",\n \"country-code\": \"108\",\n \"iso_3166-2\": \"ISO 3166-2:BI\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Cabo Verde\",\n \"alpha-2\": \"CV\",\n \"alpha-3\": \"CPV\",\n \"country-code\": \"132\",\n \"iso_3166-2\": \"ISO 3166-2:CV\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Cambodia\",\n \"alpha-2\": \"KH\",\n \"alpha-3\": \"KHM\",\n \"country-code\": \"116\",\n \"iso_3166-2\": \"ISO 3166-2:KH\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Cameroon\",\n \"alpha-2\": \"CM\",\n \"alpha-3\": \"CMR\",\n \"country-code\": \"120\",\n \"iso_3166-2\": \"ISO 3166-2:CM\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Middle Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"017\"\n },\n {\n name: \"Canada\",\n \"alpha-2\": \"CA\",\n \"alpha-3\": \"CAN\",\n \"country-code\": \"124\",\n \"iso_3166-2\": \"ISO 3166-2:CA\",\n region: \"Americas\",\n \"sub-region\": \"Northern America\",\n \"intermediate-region\": \"\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"021\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Cayman Islands\",\n \"alpha-2\": \"KY\",\n \"alpha-3\": \"CYM\",\n \"country-code\": \"136\",\n \"iso_3166-2\": \"ISO 3166-2:KY\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Central African Republic\",\n \"alpha-2\": \"CF\",\n \"alpha-3\": \"CAF\",\n \"country-code\": \"140\",\n \"iso_3166-2\": \"ISO 3166-2:CF\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Middle Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"017\"\n },\n {\n name: \"Chad\",\n \"alpha-2\": \"TD\",\n \"alpha-3\": \"TCD\",\n \"country-code\": \"148\",\n \"iso_3166-2\": \"ISO 3166-2:TD\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Middle Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"017\"\n },\n {\n name: \"Chile\",\n \"alpha-2\": \"CL\",\n \"alpha-3\": \"CHL\",\n \"country-code\": \"152\",\n \"iso_3166-2\": \"ISO 3166-2:CL\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"China\",\n \"alpha-2\": \"CN\",\n \"alpha-3\": \"CHN\",\n \"country-code\": \"156\",\n \"iso_3166-2\": \"ISO 3166-2:CN\",\n region: \"Asia\",\n \"sub-region\": \"Eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"030\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Christmas Island\",\n \"alpha-2\": \"CX\",\n \"alpha-3\": \"CXR\",\n \"country-code\": \"162\",\n \"iso_3166-2\": \"ISO 3166-2:CX\",\n region: \"Oceania\",\n \"sub-region\": \"Australia and New Zealand\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"053\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Cocos (Keeling) Islands\",\n \"alpha-2\": \"CC\",\n \"alpha-3\": \"CCK\",\n \"country-code\": \"166\",\n \"iso_3166-2\": \"ISO 3166-2:CC\",\n region: \"Oceania\",\n \"sub-region\": \"Australia and New Zealand\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"053\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Colombia\",\n \"alpha-2\": \"CO\",\n \"alpha-3\": \"COL\",\n \"country-code\": \"170\",\n \"iso_3166-2\": \"ISO 3166-2:CO\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Comoros\",\n \"alpha-2\": \"KM\",\n \"alpha-3\": \"COM\",\n \"country-code\": \"174\",\n \"iso_3166-2\": \"ISO 3166-2:KM\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Congo\",\n \"alpha-2\": \"CG\",\n \"alpha-3\": \"COG\",\n \"country-code\": \"178\",\n \"iso_3166-2\": \"ISO 3166-2:CG\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Middle Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"017\"\n },\n {\n name: \"Congo (Democratic Republic of the)\",\n \"alpha-2\": \"CD\",\n \"alpha-3\": \"COD\",\n \"country-code\": \"180\",\n \"iso_3166-2\": \"ISO 3166-2:CD\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Middle Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"017\"\n },\n {\n name: \"Cook Islands\",\n \"alpha-2\": \"CK\",\n \"alpha-3\": \"COK\",\n \"country-code\": \"184\",\n \"iso_3166-2\": \"ISO 3166-2:CK\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Costa Rica\",\n \"alpha-2\": \"CR\",\n \"alpha-3\": \"CRI\",\n \"country-code\": \"188\",\n \"iso_3166-2\": \"ISO 3166-2:CR\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Central America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"013\"\n },\n {\n name: \"Côte d'Ivoire\",\n \"alpha-2\": \"CI\",\n \"alpha-3\": \"CIV\",\n \"country-code\": \"384\",\n \"iso_3166-2\": \"ISO 3166-2:CI\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Croatia\",\n \"alpha-2\": \"HR\",\n \"alpha-3\": \"HRV\",\n \"country-code\": \"191\",\n \"iso_3166-2\": \"ISO 3166-2:HR\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Cuba\",\n \"alpha-2\": \"CU\",\n \"alpha-3\": \"CUB\",\n \"country-code\": \"192\",\n \"iso_3166-2\": \"ISO 3166-2:CU\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Curaçao\",\n \"alpha-2\": \"CW\",\n \"alpha-3\": \"CUW\",\n \"country-code\": \"531\",\n \"iso_3166-2\": \"ISO 3166-2:CW\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Cyprus\",\n \"alpha-2\": \"CY\",\n \"alpha-3\": \"CYP\",\n \"country-code\": \"196\",\n \"iso_3166-2\": \"ISO 3166-2:CY\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Czechia\",\n \"alpha-2\": \"CZ\",\n \"alpha-3\": \"CZE\",\n \"country-code\": \"203\",\n \"iso_3166-2\": \"ISO 3166-2:CZ\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Denmark\",\n \"alpha-2\": \"DK\",\n \"alpha-3\": \"DNK\",\n \"country-code\": \"208\",\n \"iso_3166-2\": \"ISO 3166-2:DK\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Djibouti\",\n \"alpha-2\": \"DJ\",\n \"alpha-3\": \"DJI\",\n \"country-code\": \"262\",\n \"iso_3166-2\": \"ISO 3166-2:DJ\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Dominica\",\n \"alpha-2\": \"DM\",\n \"alpha-3\": \"DMA\",\n \"country-code\": \"212\",\n \"iso_3166-2\": \"ISO 3166-2:DM\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Dominican Republic\",\n \"alpha-2\": \"DO\",\n \"alpha-3\": \"DOM\",\n \"country-code\": \"214\",\n \"iso_3166-2\": \"ISO 3166-2:DO\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Ecuador\",\n \"alpha-2\": \"EC\",\n \"alpha-3\": \"ECU\",\n \"country-code\": \"218\",\n \"iso_3166-2\": \"ISO 3166-2:EC\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Egypt\",\n \"alpha-2\": \"EG\",\n \"alpha-3\": \"EGY\",\n \"country-code\": \"818\",\n \"iso_3166-2\": \"ISO 3166-2:EG\",\n region: \"Africa\",\n \"sub-region\": \"Northern Africa\",\n \"intermediate-region\": \"\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"015\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"El Salvador\",\n \"alpha-2\": \"SV\",\n \"alpha-3\": \"SLV\",\n \"country-code\": \"222\",\n \"iso_3166-2\": \"ISO 3166-2:SV\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Central America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"013\"\n },\n {\n name: \"Equatorial Guinea\",\n \"alpha-2\": \"GQ\",\n \"alpha-3\": \"GNQ\",\n \"country-code\": \"226\",\n \"iso_3166-2\": \"ISO 3166-2:GQ\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Middle Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"017\"\n },\n {\n name: \"Eritrea\",\n \"alpha-2\": \"ER\",\n \"alpha-3\": \"ERI\",\n \"country-code\": \"232\",\n \"iso_3166-2\": \"ISO 3166-2:ER\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Estonia\",\n \"alpha-2\": \"EE\",\n \"alpha-3\": \"EST\",\n \"country-code\": \"233\",\n \"iso_3166-2\": \"ISO 3166-2:EE\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Eswatini\",\n \"alpha-2\": \"SZ\",\n \"alpha-3\": \"SWZ\",\n \"country-code\": \"748\",\n \"iso_3166-2\": \"ISO 3166-2:SZ\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Southern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"018\"\n },\n {\n name: \"Ethiopia\",\n \"alpha-2\": \"ET\",\n \"alpha-3\": \"ETH\",\n \"country-code\": \"231\",\n \"iso_3166-2\": \"ISO 3166-2:ET\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Falkland Islands (Malvinas)\",\n \"alpha-2\": \"FK\",\n \"alpha-3\": \"FLK\",\n \"country-code\": \"238\",\n \"iso_3166-2\": \"ISO 3166-2:FK\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Faroe Islands\",\n \"alpha-2\": \"FO\",\n \"alpha-3\": \"FRO\",\n \"country-code\": \"234\",\n \"iso_3166-2\": \"ISO 3166-2:FO\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Fiji\",\n \"alpha-2\": \"FJ\",\n \"alpha-3\": \"FJI\",\n \"country-code\": \"242\",\n \"iso_3166-2\": \"ISO 3166-2:FJ\",\n region: \"Oceania\",\n \"sub-region\": \"Melanesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"054\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Finland\",\n \"alpha-2\": \"FI\",\n \"alpha-3\": \"FIN\",\n \"country-code\": \"246\",\n \"iso_3166-2\": \"ISO 3166-2:FI\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"France\",\n \"alpha-2\": \"FR\",\n \"alpha-3\": \"FRA\",\n \"country-code\": \"250\",\n \"iso_3166-2\": \"ISO 3166-2:FR\",\n region: \"Europe\",\n \"sub-region\": \"Western Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"155\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"French Guiana\",\n \"alpha-2\": \"GF\",\n \"alpha-3\": \"GUF\",\n \"country-code\": \"254\",\n \"iso_3166-2\": \"ISO 3166-2:GF\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"French Polynesia\",\n \"alpha-2\": \"PF\",\n \"alpha-3\": \"PYF\",\n \"country-code\": \"258\",\n \"iso_3166-2\": \"ISO 3166-2:PF\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"French Southern Territories\",\n \"alpha-2\": \"TF\",\n \"alpha-3\": \"ATF\",\n \"country-code\": \"260\",\n \"iso_3166-2\": \"ISO 3166-2:TF\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Gabon\",\n \"alpha-2\": \"GA\",\n \"alpha-3\": \"GAB\",\n \"country-code\": \"266\",\n \"iso_3166-2\": \"ISO 3166-2:GA\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Middle Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"017\"\n },\n {\n name: \"Gambia\",\n \"alpha-2\": \"GM\",\n \"alpha-3\": \"GMB\",\n \"country-code\": \"270\",\n \"iso_3166-2\": \"ISO 3166-2:GM\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Georgia\",\n \"alpha-2\": \"GE\",\n \"alpha-3\": \"GEO\",\n \"country-code\": \"268\",\n \"iso_3166-2\": \"ISO 3166-2:GE\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Germany\",\n \"alpha-2\": \"DE\",\n \"alpha-3\": \"DEU\",\n \"country-code\": \"276\",\n \"iso_3166-2\": \"ISO 3166-2:DE\",\n region: \"Europe\",\n \"sub-region\": \"Western Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"155\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Ghana\",\n \"alpha-2\": \"GH\",\n \"alpha-3\": \"GHA\",\n \"country-code\": \"288\",\n \"iso_3166-2\": \"ISO 3166-2:GH\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Gibraltar\",\n \"alpha-2\": \"GI\",\n \"alpha-3\": \"GIB\",\n \"country-code\": \"292\",\n \"iso_3166-2\": \"ISO 3166-2:GI\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Greece\",\n \"alpha-2\": \"GR\",\n \"alpha-3\": \"GRC\",\n \"country-code\": \"300\",\n \"iso_3166-2\": \"ISO 3166-2:GR\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Greenland\",\n \"alpha-2\": \"GL\",\n \"alpha-3\": \"GRL\",\n \"country-code\": \"304\",\n \"iso_3166-2\": \"ISO 3166-2:GL\",\n region: \"Americas\",\n \"sub-region\": \"Northern America\",\n \"intermediate-region\": \"\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"021\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Grenada\",\n \"alpha-2\": \"GD\",\n \"alpha-3\": \"GRD\",\n \"country-code\": \"308\",\n \"iso_3166-2\": \"ISO 3166-2:GD\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Guadeloupe\",\n \"alpha-2\": \"GP\",\n \"alpha-3\": \"GLP\",\n \"country-code\": \"312\",\n \"iso_3166-2\": \"ISO 3166-2:GP\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Guam\",\n \"alpha-2\": \"GU\",\n \"alpha-3\": \"GUM\",\n \"country-code\": \"316\",\n \"iso_3166-2\": \"ISO 3166-2:GU\",\n region: \"Oceania\",\n \"sub-region\": \"Micronesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"057\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Guatemala\",\n \"alpha-2\": \"GT\",\n \"alpha-3\": \"GTM\",\n \"country-code\": \"320\",\n \"iso_3166-2\": \"ISO 3166-2:GT\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Central America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"013\"\n },\n {\n name: \"Guernsey\",\n \"alpha-2\": \"GG\",\n \"alpha-3\": \"GGY\",\n \"country-code\": \"831\",\n \"iso_3166-2\": \"ISO 3166-2:GG\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"Channel Islands\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"830\"\n },\n {\n name: \"Guinea\",\n \"alpha-2\": \"GN\",\n \"alpha-3\": \"GIN\",\n \"country-code\": \"324\",\n \"iso_3166-2\": \"ISO 3166-2:GN\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Guinea-Bissau\",\n \"alpha-2\": \"GW\",\n \"alpha-3\": \"GNB\",\n \"country-code\": \"624\",\n \"iso_3166-2\": \"ISO 3166-2:GW\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Guyana\",\n \"alpha-2\": \"GY\",\n \"alpha-3\": \"GUY\",\n \"country-code\": \"328\",\n \"iso_3166-2\": \"ISO 3166-2:GY\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Haiti\",\n \"alpha-2\": \"HT\",\n \"alpha-3\": \"HTI\",\n \"country-code\": \"332\",\n \"iso_3166-2\": \"ISO 3166-2:HT\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Heard Island and McDonald Islands\",\n \"alpha-2\": \"HM\",\n \"alpha-3\": \"HMD\",\n \"country-code\": \"334\",\n \"iso_3166-2\": \"ISO 3166-2:HM\",\n region: \"Oceania\",\n \"sub-region\": \"Australia and New Zealand\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"053\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Holy See\",\n \"alpha-2\": \"VA\",\n \"alpha-3\": \"VAT\",\n \"country-code\": \"336\",\n \"iso_3166-2\": \"ISO 3166-2:VA\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Honduras\",\n \"alpha-2\": \"HN\",\n \"alpha-3\": \"HND\",\n \"country-code\": \"340\",\n \"iso_3166-2\": \"ISO 3166-2:HN\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Central America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"013\"\n },\n {\n name: \"Hong Kong\",\n \"alpha-2\": \"HK\",\n \"alpha-3\": \"HKG\",\n \"country-code\": \"344\",\n \"iso_3166-2\": \"ISO 3166-2:HK\",\n region: \"Asia\",\n \"sub-region\": \"Eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"030\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Hungary\",\n \"alpha-2\": \"HU\",\n \"alpha-3\": \"HUN\",\n \"country-code\": \"348\",\n \"iso_3166-2\": \"ISO 3166-2:HU\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Iceland\",\n \"alpha-2\": \"IS\",\n \"alpha-3\": \"ISL\",\n \"country-code\": \"352\",\n \"iso_3166-2\": \"ISO 3166-2:IS\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"India\",\n \"alpha-2\": \"IN\",\n \"alpha-3\": \"IND\",\n \"country-code\": \"356\",\n \"iso_3166-2\": \"ISO 3166-2:IN\",\n region: \"Asia\",\n \"sub-region\": \"Southern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"034\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Indonesia\",\n \"alpha-2\": \"ID\",\n \"alpha-3\": \"IDN\",\n \"country-code\": \"360\",\n \"iso_3166-2\": \"ISO 3166-2:ID\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Iran (Islamic Republic of)\",\n \"alpha-2\": \"IR\",\n \"alpha-3\": \"IRN\",\n \"country-code\": \"364\",\n \"iso_3166-2\": \"ISO 3166-2:IR\",\n region: \"Asia\",\n \"sub-region\": \"Southern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"034\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Iraq\",\n \"alpha-2\": \"IQ\",\n \"alpha-3\": \"IRQ\",\n \"country-code\": \"368\",\n \"iso_3166-2\": \"ISO 3166-2:IQ\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Ireland\",\n \"alpha-2\": \"IE\",\n \"alpha-3\": \"IRL\",\n \"country-code\": \"372\",\n \"iso_3166-2\": \"ISO 3166-2:IE\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Isle of Man\",\n \"alpha-2\": \"IM\",\n \"alpha-3\": \"IMN\",\n \"country-code\": \"833\",\n \"iso_3166-2\": \"ISO 3166-2:IM\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Israel\",\n \"alpha-2\": \"IL\",\n \"alpha-3\": \"ISR\",\n \"country-code\": \"376\",\n \"iso_3166-2\": \"ISO 3166-2:IL\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Italy\",\n \"alpha-2\": \"IT\",\n \"alpha-3\": \"ITA\",\n \"country-code\": \"380\",\n \"iso_3166-2\": \"ISO 3166-2:IT\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Jamaica\",\n \"alpha-2\": \"JM\",\n \"alpha-3\": \"JAM\",\n \"country-code\": \"388\",\n \"iso_3166-2\": \"ISO 3166-2:JM\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Japan\",\n \"alpha-2\": \"JP\",\n \"alpha-3\": \"JPN\",\n \"country-code\": \"392\",\n \"iso_3166-2\": \"ISO 3166-2:JP\",\n region: \"Asia\",\n \"sub-region\": \"Eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"030\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Jersey\",\n \"alpha-2\": \"JE\",\n \"alpha-3\": \"JEY\",\n \"country-code\": \"832\",\n \"iso_3166-2\": \"ISO 3166-2:JE\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"Channel Islands\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"830\"\n },\n {\n name: \"Jordan\",\n \"alpha-2\": \"JO\",\n \"alpha-3\": \"JOR\",\n \"country-code\": \"400\",\n \"iso_3166-2\": \"ISO 3166-2:JO\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Kazakhstan\",\n \"alpha-2\": \"KZ\",\n \"alpha-3\": \"KAZ\",\n \"country-code\": \"398\",\n \"iso_3166-2\": \"ISO 3166-2:KZ\",\n region: \"Asia\",\n \"sub-region\": \"Central Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"143\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Kenya\",\n \"alpha-2\": \"KE\",\n \"alpha-3\": \"KEN\",\n \"country-code\": \"404\",\n \"iso_3166-2\": \"ISO 3166-2:KE\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Kiribati\",\n \"alpha-2\": \"KI\",\n \"alpha-3\": \"KIR\",\n \"country-code\": \"296\",\n \"iso_3166-2\": \"ISO 3166-2:KI\",\n region: \"Oceania\",\n \"sub-region\": \"Micronesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"057\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Korea (Democratic People's Republic of)\",\n \"alpha-2\": \"KP\",\n \"alpha-3\": \"PRK\",\n \"country-code\": \"408\",\n \"iso_3166-2\": \"ISO 3166-2:KP\",\n region: \"Asia\",\n \"sub-region\": \"Eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"030\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Korea (Republic of)\",\n \"alpha-2\": \"KR\",\n \"alpha-3\": \"KOR\",\n \"country-code\": \"410\",\n \"iso_3166-2\": \"ISO 3166-2:KR\",\n region: \"Asia\",\n \"sub-region\": \"Eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"030\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Kuwait\",\n \"alpha-2\": \"KW\",\n \"alpha-3\": \"KWT\",\n \"country-code\": \"414\",\n \"iso_3166-2\": \"ISO 3166-2:KW\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Kyrgyzstan\",\n \"alpha-2\": \"KG\",\n \"alpha-3\": \"KGZ\",\n \"country-code\": \"417\",\n \"iso_3166-2\": \"ISO 3166-2:KG\",\n region: \"Asia\",\n \"sub-region\": \"Central Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"143\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Lao People's Democratic Republic\",\n \"alpha-2\": \"LA\",\n \"alpha-3\": \"LAO\",\n \"country-code\": \"418\",\n \"iso_3166-2\": \"ISO 3166-2:LA\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Latvia\",\n \"alpha-2\": \"LV\",\n \"alpha-3\": \"LVA\",\n \"country-code\": \"428\",\n \"iso_3166-2\": \"ISO 3166-2:LV\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Lebanon\",\n \"alpha-2\": \"LB\",\n \"alpha-3\": \"LBN\",\n \"country-code\": \"422\",\n \"iso_3166-2\": \"ISO 3166-2:LB\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Lesotho\",\n \"alpha-2\": \"LS\",\n \"alpha-3\": \"LSO\",\n \"country-code\": \"426\",\n \"iso_3166-2\": \"ISO 3166-2:LS\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Southern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"018\"\n },\n {\n name: \"Liberia\",\n \"alpha-2\": \"LR\",\n \"alpha-3\": \"LBR\",\n \"country-code\": \"430\",\n \"iso_3166-2\": \"ISO 3166-2:LR\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Libya\",\n \"alpha-2\": \"LY\",\n \"alpha-3\": \"LBY\",\n \"country-code\": \"434\",\n \"iso_3166-2\": \"ISO 3166-2:LY\",\n region: \"Africa\",\n \"sub-region\": \"Northern Africa\",\n \"intermediate-region\": \"\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"015\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Liechtenstein\",\n \"alpha-2\": \"LI\",\n \"alpha-3\": \"LIE\",\n \"country-code\": \"438\",\n \"iso_3166-2\": \"ISO 3166-2:LI\",\n region: \"Europe\",\n \"sub-region\": \"Western Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"155\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Lithuania\",\n \"alpha-2\": \"LT\",\n \"alpha-3\": \"LTU\",\n \"country-code\": \"440\",\n \"iso_3166-2\": \"ISO 3166-2:LT\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Luxembourg\",\n \"alpha-2\": \"LU\",\n \"alpha-3\": \"LUX\",\n \"country-code\": \"442\",\n \"iso_3166-2\": \"ISO 3166-2:LU\",\n region: \"Europe\",\n \"sub-region\": \"Western Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"155\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Macao\",\n \"alpha-2\": \"MO\",\n \"alpha-3\": \"MAC\",\n \"country-code\": \"446\",\n \"iso_3166-2\": \"ISO 3166-2:MO\",\n region: \"Asia\",\n \"sub-region\": \"Eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"030\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Macedonia (the former Yugoslav Republic of)\",\n \"alpha-2\": \"MK\",\n \"alpha-3\": \"MKD\",\n \"country-code\": \"807\",\n \"iso_3166-2\": \"ISO 3166-2:MK\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Madagascar\",\n \"alpha-2\": \"MG\",\n \"alpha-3\": \"MDG\",\n \"country-code\": \"450\",\n \"iso_3166-2\": \"ISO 3166-2:MG\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Malawi\",\n \"alpha-2\": \"MW\",\n \"alpha-3\": \"MWI\",\n \"country-code\": \"454\",\n \"iso_3166-2\": \"ISO 3166-2:MW\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Malaysia\",\n \"alpha-2\": \"MY\",\n \"alpha-3\": \"MYS\",\n \"country-code\": \"458\",\n \"iso_3166-2\": \"ISO 3166-2:MY\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Maldives\",\n \"alpha-2\": \"MV\",\n \"alpha-3\": \"MDV\",\n \"country-code\": \"462\",\n \"iso_3166-2\": \"ISO 3166-2:MV\",\n region: \"Asia\",\n \"sub-region\": \"Southern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"034\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Mali\",\n \"alpha-2\": \"ML\",\n \"alpha-3\": \"MLI\",\n \"country-code\": \"466\",\n \"iso_3166-2\": \"ISO 3166-2:ML\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Malta\",\n \"alpha-2\": \"MT\",\n \"alpha-3\": \"MLT\",\n \"country-code\": \"470\",\n \"iso_3166-2\": \"ISO 3166-2:MT\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Marshall Islands\",\n \"alpha-2\": \"MH\",\n \"alpha-3\": \"MHL\",\n \"country-code\": \"584\",\n \"iso_3166-2\": \"ISO 3166-2:MH\",\n region: \"Oceania\",\n \"sub-region\": \"Micronesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"057\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Martinique\",\n \"alpha-2\": \"MQ\",\n \"alpha-3\": \"MTQ\",\n \"country-code\": \"474\",\n \"iso_3166-2\": \"ISO 3166-2:MQ\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Mauritania\",\n \"alpha-2\": \"MR\",\n \"alpha-3\": \"MRT\",\n \"country-code\": \"478\",\n \"iso_3166-2\": \"ISO 3166-2:MR\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Mauritius\",\n \"alpha-2\": \"MU\",\n \"alpha-3\": \"MUS\",\n \"country-code\": \"480\",\n \"iso_3166-2\": \"ISO 3166-2:MU\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Mayotte\",\n \"alpha-2\": \"YT\",\n \"alpha-3\": \"MYT\",\n \"country-code\": \"175\",\n \"iso_3166-2\": \"ISO 3166-2:YT\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Mexico\",\n \"alpha-2\": \"MX\",\n \"alpha-3\": \"MEX\",\n \"country-code\": \"484\",\n \"iso_3166-2\": \"ISO 3166-2:MX\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Central America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"013\"\n },\n {\n name: \"Micronesia (Federated States of)\",\n \"alpha-2\": \"FM\",\n \"alpha-3\": \"FSM\",\n \"country-code\": \"583\",\n \"iso_3166-2\": \"ISO 3166-2:FM\",\n region: \"Oceania\",\n \"sub-region\": \"Micronesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"057\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Moldova (Republic of)\",\n \"alpha-2\": \"MD\",\n \"alpha-3\": \"MDA\",\n \"country-code\": \"498\",\n \"iso_3166-2\": \"ISO 3166-2:MD\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Monaco\",\n \"alpha-2\": \"MC\",\n \"alpha-3\": \"MCO\",\n \"country-code\": \"492\",\n \"iso_3166-2\": \"ISO 3166-2:MC\",\n region: \"Europe\",\n \"sub-region\": \"Western Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"155\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Mongolia\",\n \"alpha-2\": \"MN\",\n \"alpha-3\": \"MNG\",\n \"country-code\": \"496\",\n \"iso_3166-2\": \"ISO 3166-2:MN\",\n region: \"Asia\",\n \"sub-region\": \"Eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"030\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Montenegro\",\n \"alpha-2\": \"ME\",\n \"alpha-3\": \"MNE\",\n \"country-code\": \"499\",\n \"iso_3166-2\": \"ISO 3166-2:ME\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Montserrat\",\n \"alpha-2\": \"MS\",\n \"alpha-3\": \"MSR\",\n \"country-code\": \"500\",\n \"iso_3166-2\": \"ISO 3166-2:MS\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Morocco\",\n \"alpha-2\": \"MA\",\n \"alpha-3\": \"MAR\",\n \"country-code\": \"504\",\n \"iso_3166-2\": \"ISO 3166-2:MA\",\n region: \"Africa\",\n \"sub-region\": \"Northern Africa\",\n \"intermediate-region\": \"\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"015\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Mozambique\",\n \"alpha-2\": \"MZ\",\n \"alpha-3\": \"MOZ\",\n \"country-code\": \"508\",\n \"iso_3166-2\": \"ISO 3166-2:MZ\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Myanmar\",\n \"alpha-2\": \"MM\",\n \"alpha-3\": \"MMR\",\n \"country-code\": \"104\",\n \"iso_3166-2\": \"ISO 3166-2:MM\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Namibia\",\n \"alpha-2\": \"NA\",\n \"alpha-3\": \"NAM\",\n \"country-code\": \"516\",\n \"iso_3166-2\": \"ISO 3166-2:NA\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Southern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"018\"\n },\n {\n name: \"Nauru\",\n \"alpha-2\": \"NR\",\n \"alpha-3\": \"NRU\",\n \"country-code\": \"520\",\n \"iso_3166-2\": \"ISO 3166-2:NR\",\n region: \"Oceania\",\n \"sub-region\": \"Micronesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"057\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Nepal\",\n \"alpha-2\": \"NP\",\n \"alpha-3\": \"NPL\",\n \"country-code\": \"524\",\n \"iso_3166-2\": \"ISO 3166-2:NP\",\n region: \"Asia\",\n \"sub-region\": \"Southern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"034\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Netherlands\",\n \"alpha-2\": \"NL\",\n \"alpha-3\": \"NLD\",\n \"country-code\": \"528\",\n \"iso_3166-2\": \"ISO 3166-2:NL\",\n region: \"Europe\",\n \"sub-region\": \"Western Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"155\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"New Caledonia\",\n \"alpha-2\": \"NC\",\n \"alpha-3\": \"NCL\",\n \"country-code\": \"540\",\n \"iso_3166-2\": \"ISO 3166-2:NC\",\n region: \"Oceania\",\n \"sub-region\": \"Melanesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"054\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"New Zealand\",\n \"alpha-2\": \"NZ\",\n \"alpha-3\": \"NZL\",\n \"country-code\": \"554\",\n \"iso_3166-2\": \"ISO 3166-2:NZ\",\n region: \"Oceania\",\n \"sub-region\": \"Australia and New Zealand\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"053\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Nicaragua\",\n \"alpha-2\": \"NI\",\n \"alpha-3\": \"NIC\",\n \"country-code\": \"558\",\n \"iso_3166-2\": \"ISO 3166-2:NI\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Central America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"013\"\n },\n {\n name: \"Niger\",\n \"alpha-2\": \"NE\",\n \"alpha-3\": \"NER\",\n \"country-code\": \"562\",\n \"iso_3166-2\": \"ISO 3166-2:NE\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Nigeria\",\n \"alpha-2\": \"NG\",\n \"alpha-3\": \"NGA\",\n \"country-code\": \"566\",\n \"iso_3166-2\": \"ISO 3166-2:NG\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Niue\",\n \"alpha-2\": \"NU\",\n \"alpha-3\": \"NIU\",\n \"country-code\": \"570\",\n \"iso_3166-2\": \"ISO 3166-2:NU\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Norfolk Island\",\n \"alpha-2\": \"NF\",\n \"alpha-3\": \"NFK\",\n \"country-code\": \"574\",\n \"iso_3166-2\": \"ISO 3166-2:NF\",\n region: \"Oceania\",\n \"sub-region\": \"Australia and New Zealand\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"053\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Northern Mariana Islands\",\n \"alpha-2\": \"MP\",\n \"alpha-3\": \"MNP\",\n \"country-code\": \"580\",\n \"iso_3166-2\": \"ISO 3166-2:MP\",\n region: \"Oceania\",\n \"sub-region\": \"Micronesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"057\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Norway\",\n \"alpha-2\": \"NO\",\n \"alpha-3\": \"NOR\",\n \"country-code\": \"578\",\n \"iso_3166-2\": \"ISO 3166-2:NO\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Oman\",\n \"alpha-2\": \"OM\",\n \"alpha-3\": \"OMN\",\n \"country-code\": \"512\",\n \"iso_3166-2\": \"ISO 3166-2:OM\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Pakistan\",\n \"alpha-2\": \"PK\",\n \"alpha-3\": \"PAK\",\n \"country-code\": \"586\",\n \"iso_3166-2\": \"ISO 3166-2:PK\",\n region: \"Asia\",\n \"sub-region\": \"Southern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"034\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Palau\",\n \"alpha-2\": \"PW\",\n \"alpha-3\": \"PLW\",\n \"country-code\": \"585\",\n \"iso_3166-2\": \"ISO 3166-2:PW\",\n region: \"Oceania\",\n \"sub-region\": \"Micronesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"057\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Palestine, State of\",\n \"alpha-2\": \"PS\",\n \"alpha-3\": \"PSE\",\n \"country-code\": \"275\",\n \"iso_3166-2\": \"ISO 3166-2:PS\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Panama\",\n \"alpha-2\": \"PA\",\n \"alpha-3\": \"PAN\",\n \"country-code\": \"591\",\n \"iso_3166-2\": \"ISO 3166-2:PA\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Central America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"013\"\n },\n {\n name: \"Papua New Guinea\",\n \"alpha-2\": \"PG\",\n \"alpha-3\": \"PNG\",\n \"country-code\": \"598\",\n \"iso_3166-2\": \"ISO 3166-2:PG\",\n region: \"Oceania\",\n \"sub-region\": \"Melanesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"054\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Paraguay\",\n \"alpha-2\": \"PY\",\n \"alpha-3\": \"PRY\",\n \"country-code\": \"600\",\n \"iso_3166-2\": \"ISO 3166-2:PY\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Peru\",\n \"alpha-2\": \"PE\",\n \"alpha-3\": \"PER\",\n \"country-code\": \"604\",\n \"iso_3166-2\": \"ISO 3166-2:PE\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Philippines\",\n \"alpha-2\": \"PH\",\n \"alpha-3\": \"PHL\",\n \"country-code\": \"608\",\n \"iso_3166-2\": \"ISO 3166-2:PH\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Pitcairn\",\n \"alpha-2\": \"PN\",\n \"alpha-3\": \"PCN\",\n \"country-code\": \"612\",\n \"iso_3166-2\": \"ISO 3166-2:PN\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Poland\",\n \"alpha-2\": \"PL\",\n \"alpha-3\": \"POL\",\n \"country-code\": \"616\",\n \"iso_3166-2\": \"ISO 3166-2:PL\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Portugal\",\n \"alpha-2\": \"PT\",\n \"alpha-3\": \"PRT\",\n \"country-code\": \"620\",\n \"iso_3166-2\": \"ISO 3166-2:PT\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Puerto Rico\",\n \"alpha-2\": \"PR\",\n \"alpha-3\": \"PRI\",\n \"country-code\": \"630\",\n \"iso_3166-2\": \"ISO 3166-2:PR\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Qatar\",\n \"alpha-2\": \"QA\",\n \"alpha-3\": \"QAT\",\n \"country-code\": \"634\",\n \"iso_3166-2\": \"ISO 3166-2:QA\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Réunion\",\n \"alpha-2\": \"RE\",\n \"alpha-3\": \"REU\",\n \"country-code\": \"638\",\n \"iso_3166-2\": \"ISO 3166-2:RE\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Romania\",\n \"alpha-2\": \"RO\",\n \"alpha-3\": \"ROU\",\n \"country-code\": \"642\",\n \"iso_3166-2\": \"ISO 3166-2:RO\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Russian Federation\",\n \"alpha-2\": \"RU\",\n \"alpha-3\": \"RUS\",\n \"country-code\": \"643\",\n \"iso_3166-2\": \"ISO 3166-2:RU\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Rwanda\",\n \"alpha-2\": \"RW\",\n \"alpha-3\": \"RWA\",\n \"country-code\": \"646\",\n \"iso_3166-2\": \"ISO 3166-2:RW\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Saint Barthélemy\",\n \"alpha-2\": \"BL\",\n \"alpha-3\": \"BLM\",\n \"country-code\": \"652\",\n \"iso_3166-2\": \"ISO 3166-2:BL\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Saint Helena, Ascension and Tristan da Cunha\",\n \"alpha-2\": \"SH\",\n \"alpha-3\": \"SHN\",\n \"country-code\": \"654\",\n \"iso_3166-2\": \"ISO 3166-2:SH\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Saint Kitts and Nevis\",\n \"alpha-2\": \"KN\",\n \"alpha-3\": \"KNA\",\n \"country-code\": \"659\",\n \"iso_3166-2\": \"ISO 3166-2:KN\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Saint Lucia\",\n \"alpha-2\": \"LC\",\n \"alpha-3\": \"LCA\",\n \"country-code\": \"662\",\n \"iso_3166-2\": \"ISO 3166-2:LC\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Saint Martin (French part)\",\n \"alpha-2\": \"MF\",\n \"alpha-3\": \"MAF\",\n \"country-code\": \"663\",\n \"iso_3166-2\": \"ISO 3166-2:MF\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Saint Pierre and Miquelon\",\n \"alpha-2\": \"PM\",\n \"alpha-3\": \"SPM\",\n \"country-code\": \"666\",\n \"iso_3166-2\": \"ISO 3166-2:PM\",\n region: \"Americas\",\n \"sub-region\": \"Northern America\",\n \"intermediate-region\": \"\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"021\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Saint Vincent and the Grenadines\",\n \"alpha-2\": \"VC\",\n \"alpha-3\": \"VCT\",\n \"country-code\": \"670\",\n \"iso_3166-2\": \"ISO 3166-2:VC\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Samoa\",\n \"alpha-2\": \"WS\",\n \"alpha-3\": \"WSM\",\n \"country-code\": \"882\",\n \"iso_3166-2\": \"ISO 3166-2:WS\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"San Marino\",\n \"alpha-2\": \"SM\",\n \"alpha-3\": \"SMR\",\n \"country-code\": \"674\",\n \"iso_3166-2\": \"ISO 3166-2:SM\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Sao Tome and Principe\",\n \"alpha-2\": \"ST\",\n \"alpha-3\": \"STP\",\n \"country-code\": \"678\",\n \"iso_3166-2\": \"ISO 3166-2:ST\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Middle Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"017\"\n },\n {\n name: \"Saudi Arabia\",\n \"alpha-2\": \"SA\",\n \"alpha-3\": \"SAU\",\n \"country-code\": \"682\",\n \"iso_3166-2\": \"ISO 3166-2:SA\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Senegal\",\n \"alpha-2\": \"SN\",\n \"alpha-3\": \"SEN\",\n \"country-code\": \"686\",\n \"iso_3166-2\": \"ISO 3166-2:SN\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Serbia\",\n \"alpha-2\": \"RS\",\n \"alpha-3\": \"SRB\",\n \"country-code\": \"688\",\n \"iso_3166-2\": \"ISO 3166-2:RS\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Seychelles\",\n \"alpha-2\": \"SC\",\n \"alpha-3\": \"SYC\",\n \"country-code\": \"690\",\n \"iso_3166-2\": \"ISO 3166-2:SC\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Sierra Leone\",\n \"alpha-2\": \"SL\",\n \"alpha-3\": \"SLE\",\n \"country-code\": \"694\",\n \"iso_3166-2\": \"ISO 3166-2:SL\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Singapore\",\n \"alpha-2\": \"SG\",\n \"alpha-3\": \"SGP\",\n \"country-code\": \"702\",\n \"iso_3166-2\": \"ISO 3166-2:SG\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Sint Maarten (Dutch part)\",\n \"alpha-2\": \"SX\",\n \"alpha-3\": \"SXM\",\n \"country-code\": \"534\",\n \"iso_3166-2\": \"ISO 3166-2:SX\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Slovakia\",\n \"alpha-2\": \"SK\",\n \"alpha-3\": \"SVK\",\n \"country-code\": \"703\",\n \"iso_3166-2\": \"ISO 3166-2:SK\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Slovenia\",\n \"alpha-2\": \"SI\",\n \"alpha-3\": \"SVN\",\n \"country-code\": \"705\",\n \"iso_3166-2\": \"ISO 3166-2:SI\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Solomon Islands\",\n \"alpha-2\": \"SB\",\n \"alpha-3\": \"SLB\",\n \"country-code\": \"090\",\n \"iso_3166-2\": \"ISO 3166-2:SB\",\n region: \"Oceania\",\n \"sub-region\": \"Melanesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"054\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Somalia\",\n \"alpha-2\": \"SO\",\n \"alpha-3\": \"SOM\",\n \"country-code\": \"706\",\n \"iso_3166-2\": \"ISO 3166-2:SO\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"South Africa\",\n \"alpha-2\": \"ZA\",\n \"alpha-3\": \"ZAF\",\n \"country-code\": \"710\",\n \"iso_3166-2\": \"ISO 3166-2:ZA\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Southern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"018\"\n },\n {\n name: \"South Georgia and the South Sandwich Islands\",\n \"alpha-2\": \"GS\",\n \"alpha-3\": \"SGS\",\n \"country-code\": \"239\",\n \"iso_3166-2\": \"ISO 3166-2:GS\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"South Sudan\",\n \"alpha-2\": \"SS\",\n \"alpha-3\": \"SSD\",\n \"country-code\": \"728\",\n \"iso_3166-2\": \"ISO 3166-2:SS\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Spain\",\n \"alpha-2\": \"ES\",\n \"alpha-3\": \"ESP\",\n \"country-code\": \"724\",\n \"iso_3166-2\": \"ISO 3166-2:ES\",\n region: \"Europe\",\n \"sub-region\": \"Southern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"039\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Sri Lanka\",\n \"alpha-2\": \"LK\",\n \"alpha-3\": \"LKA\",\n \"country-code\": \"144\",\n \"iso_3166-2\": \"ISO 3166-2:LK\",\n region: \"Asia\",\n \"sub-region\": \"Southern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"034\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Sudan\",\n \"alpha-2\": \"SD\",\n \"alpha-3\": \"SDN\",\n \"country-code\": \"729\",\n \"iso_3166-2\": \"ISO 3166-2:SD\",\n region: \"Africa\",\n \"sub-region\": \"Northern Africa\",\n \"intermediate-region\": \"\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"015\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Suriname\",\n \"alpha-2\": \"SR\",\n \"alpha-3\": \"SUR\",\n \"country-code\": \"740\",\n \"iso_3166-2\": \"ISO 3166-2:SR\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Svalbard and Jan Mayen\",\n \"alpha-2\": \"SJ\",\n \"alpha-3\": \"SJM\",\n \"country-code\": \"744\",\n \"iso_3166-2\": \"ISO 3166-2:SJ\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Sweden\",\n \"alpha-2\": \"SE\",\n \"alpha-3\": \"SWE\",\n \"country-code\": \"752\",\n \"iso_3166-2\": \"ISO 3166-2:SE\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Switzerland\",\n \"alpha-2\": \"CH\",\n \"alpha-3\": \"CHE\",\n \"country-code\": \"756\",\n \"iso_3166-2\": \"ISO 3166-2:CH\",\n region: \"Europe\",\n \"sub-region\": \"Western Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"155\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Syrian Arab Republic\",\n \"alpha-2\": \"SY\",\n \"alpha-3\": \"SYR\",\n \"country-code\": \"760\",\n \"iso_3166-2\": \"ISO 3166-2:SY\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Taiwan, Province of China\",\n \"alpha-2\": \"TW\",\n \"alpha-3\": \"TWN\",\n \"country-code\": \"158\",\n \"iso_3166-2\": \"ISO 3166-2:TW\",\n region: \"Asia\",\n \"sub-region\": \"Eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"030\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Tajikistan\",\n \"alpha-2\": \"TJ\",\n \"alpha-3\": \"TJK\",\n \"country-code\": \"762\",\n \"iso_3166-2\": \"ISO 3166-2:TJ\",\n region: \"Asia\",\n \"sub-region\": \"Central Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"143\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Tanzania, United Republic of\",\n \"alpha-2\": \"TZ\",\n \"alpha-3\": \"TZA\",\n \"country-code\": \"834\",\n \"iso_3166-2\": \"ISO 3166-2:TZ\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Thailand\",\n \"alpha-2\": \"TH\",\n \"alpha-3\": \"THA\",\n \"country-code\": \"764\",\n \"iso_3166-2\": \"ISO 3166-2:TH\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Timor-Leste\",\n \"alpha-2\": \"TL\",\n \"alpha-3\": \"TLS\",\n \"country-code\": \"626\",\n \"iso_3166-2\": \"ISO 3166-2:TL\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Togo\",\n \"alpha-2\": \"TG\",\n \"alpha-3\": \"TGO\",\n \"country-code\": \"768\",\n \"iso_3166-2\": \"ISO 3166-2:TG\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Western Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"011\"\n },\n {\n name: \"Tokelau\",\n \"alpha-2\": \"TK\",\n \"alpha-3\": \"TKL\",\n \"country-code\": \"772\",\n \"iso_3166-2\": \"ISO 3166-2:TK\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Tonga\",\n \"alpha-2\": \"TO\",\n \"alpha-3\": \"TON\",\n \"country-code\": \"776\",\n \"iso_3166-2\": \"ISO 3166-2:TO\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Trinidad and Tobago\",\n \"alpha-2\": \"TT\",\n \"alpha-3\": \"TTO\",\n \"country-code\": \"780\",\n \"iso_3166-2\": \"ISO 3166-2:TT\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Tunisia\",\n \"alpha-2\": \"TN\",\n \"alpha-3\": \"TUN\",\n \"country-code\": \"788\",\n \"iso_3166-2\": \"ISO 3166-2:TN\",\n region: \"Africa\",\n \"sub-region\": \"Northern Africa\",\n \"intermediate-region\": \"\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"015\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Turkey\",\n \"alpha-2\": \"TR\",\n \"alpha-3\": \"TUR\",\n \"country-code\": \"792\",\n \"iso_3166-2\": \"ISO 3166-2:TR\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Turkmenistan\",\n \"alpha-2\": \"TM\",\n \"alpha-3\": \"TKM\",\n \"country-code\": \"795\",\n \"iso_3166-2\": \"ISO 3166-2:TM\",\n region: \"Asia\",\n \"sub-region\": \"Central Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"143\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Turks and Caicos Islands\",\n \"alpha-2\": \"TC\",\n \"alpha-3\": \"TCA\",\n \"country-code\": \"796\",\n \"iso_3166-2\": \"ISO 3166-2:TC\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Tuvalu\",\n \"alpha-2\": \"TV\",\n \"alpha-3\": \"TUV\",\n \"country-code\": \"798\",\n \"iso_3166-2\": \"ISO 3166-2:TV\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Uganda\",\n \"alpha-2\": \"UG\",\n \"alpha-3\": \"UGA\",\n \"country-code\": \"800\",\n \"iso_3166-2\": \"ISO 3166-2:UG\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Ukraine\",\n \"alpha-2\": \"UA\",\n \"alpha-3\": \"UKR\",\n \"country-code\": \"804\",\n \"iso_3166-2\": \"ISO 3166-2:UA\",\n region: \"Europe\",\n \"sub-region\": \"Eastern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"151\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"United Arab Emirates\",\n \"alpha-2\": \"AE\",\n \"alpha-3\": \"ARE\",\n \"country-code\": \"784\",\n \"iso_3166-2\": \"ISO 3166-2:AE\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"United Kingdom of Great Britain and Northern Ireland\",\n \"alpha-2\": \"GB\",\n \"alpha-3\": \"GBR\",\n \"country-code\": \"826\",\n \"iso_3166-2\": \"ISO 3166-2:GB\",\n region: \"Europe\",\n \"sub-region\": \"Northern Europe\",\n \"intermediate-region\": \"\",\n \"region-code\": \"150\",\n \"sub-region-code\": \"154\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"United States of America\",\n \"alpha-2\": \"US\",\n \"alpha-3\": \"USA\",\n \"country-code\": \"840\",\n \"iso_3166-2\": \"ISO 3166-2:US\",\n region: \"Americas\",\n \"sub-region\": \"Northern America\",\n \"intermediate-region\": \"\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"021\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"United States Minor Outlying Islands\",\n \"alpha-2\": \"UM\",\n \"alpha-3\": \"UMI\",\n \"country-code\": \"581\",\n \"iso_3166-2\": \"ISO 3166-2:UM\",\n region: \"Oceania\",\n \"sub-region\": \"Micronesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"057\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Uruguay\",\n \"alpha-2\": \"UY\",\n \"alpha-3\": \"URY\",\n \"country-code\": \"858\",\n \"iso_3166-2\": \"ISO 3166-2:UY\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Uzbekistan\",\n \"alpha-2\": \"UZ\",\n \"alpha-3\": \"UZB\",\n \"country-code\": \"860\",\n \"iso_3166-2\": \"ISO 3166-2:UZ\",\n region: \"Asia\",\n \"sub-region\": \"Central Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"143\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Vanuatu\",\n \"alpha-2\": \"VU\",\n \"alpha-3\": \"VUT\",\n \"country-code\": \"548\",\n \"iso_3166-2\": \"ISO 3166-2:VU\",\n region: \"Oceania\",\n \"sub-region\": \"Melanesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"054\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Venezuela (Bolivarian Republic of)\",\n \"alpha-2\": \"VE\",\n \"alpha-3\": \"VEN\",\n \"country-code\": \"862\",\n \"iso_3166-2\": \"ISO 3166-2:VE\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"South America\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"005\"\n },\n {\n name: \"Viet Nam\",\n \"alpha-2\": \"VN\",\n \"alpha-3\": \"VNM\",\n \"country-code\": \"704\",\n \"iso_3166-2\": \"ISO 3166-2:VN\",\n region: \"Asia\",\n \"sub-region\": \"South-eastern Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"035\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Virgin Islands (British)\",\n \"alpha-2\": \"VG\",\n \"alpha-3\": \"VGB\",\n \"country-code\": \"092\",\n \"iso_3166-2\": \"ISO 3166-2:VG\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Virgin Islands (U.S.)\",\n \"alpha-2\": \"VI\",\n \"alpha-3\": \"VIR\",\n \"country-code\": \"850\",\n \"iso_3166-2\": \"ISO 3166-2:VI\",\n region: \"Americas\",\n \"sub-region\": \"Latin America and the Caribbean\",\n \"intermediate-region\": \"Caribbean\",\n \"region-code\": \"019\",\n \"sub-region-code\": \"419\",\n \"intermediate-region-code\": \"029\"\n },\n {\n name: \"Wallis and Futuna\",\n \"alpha-2\": \"WF\",\n \"alpha-3\": \"WLF\",\n \"country-code\": \"876\",\n \"iso_3166-2\": \"ISO 3166-2:WF\",\n region: \"Oceania\",\n \"sub-region\": \"Polynesia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"009\",\n \"sub-region-code\": \"061\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Western Sahara\",\n \"alpha-2\": \"EH\",\n \"alpha-3\": \"ESH\",\n \"country-code\": \"732\",\n \"iso_3166-2\": \"ISO 3166-2:EH\",\n region: \"Africa\",\n \"sub-region\": \"Northern Africa\",\n \"intermediate-region\": \"\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"015\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Yemen\",\n \"alpha-2\": \"YE\",\n \"alpha-3\": \"YEM\",\n \"country-code\": \"887\",\n \"iso_3166-2\": \"ISO 3166-2:YE\",\n region: \"Asia\",\n \"sub-region\": \"Western Asia\",\n \"intermediate-region\": \"\",\n \"region-code\": \"142\",\n \"sub-region-code\": \"145\",\n \"intermediate-region-code\": \"\"\n },\n {\n name: \"Zambia\",\n \"alpha-2\": \"ZM\",\n \"alpha-3\": \"ZMB\",\n \"country-code\": \"894\",\n \"iso_3166-2\": \"ISO 3166-2:ZM\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n },\n {\n name: \"Zimbabwe\",\n \"alpha-2\": \"ZW\",\n \"alpha-3\": \"ZWE\",\n \"country-code\": \"716\",\n \"iso_3166-2\": \"ISO 3166-2:ZW\",\n region: \"Africa\",\n \"sub-region\": \"Sub-Saharan Africa\",\n \"intermediate-region\": \"Eastern Africa\",\n \"region-code\": \"002\",\n \"sub-region-code\": \"202\",\n \"intermediate-region-code\": \"014\"\n }\n];\n","import React from \"react\";\nimport { withStyles } from \"@material-ui/core/styles\";\n\nexport const Divider = ({ classes }) =>
;\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n root: {\n marginTop: 8 * 3,\n marginBottom: 8 * 3,\n border: theme.buttonStyles.borderDisabled,\n borderBottom: 0,\n borderLeft: 0,\n borderRight: 0\n }\n});\n\nexport default withStyles(styles, { name: \"Divider\" })(Divider);\n","import React from \"react\";\nimport Typography from \"@material-ui/core/Typography\";\nimport { withStyles } from \"@material-ui/core/styles\";\n\nexport const ExternalLink = ({ classes, children, styles, ...props }) => (\n \n {children}\n \n);\n\nExternalLink.defaultProps = {\n classes: {\n link: \"link\"\n }\n};\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n link: {\n fontWeight: 700,\n textDecoration: \"none\",\n color: theme.palette.text.primary,\n\n \"&:hover, &:active, &:focus\": {\n color: theme.palette.secondary.main,\n textDecoration: \"underline\"\n }\n }\n});\n\nexport default withStyles(styles, { name: \"ExternalLink\" })(ExternalLink);\n","import React, { Fragment } from \"react\";\nimport { translate } from \"react-admin\";\n\nexport const Message = ({ translate, message }) => {\n const lines = translate(message).split(\"\\n\");\n return (\n <>\n {lines.map((item, idx) => (\n \n {item}\n {idx !== lines.length - 1 &&
}\n
\n ))}\n \n );\n};\n\nexport default translate(Message);\n","import { typography } from \"./settings\";\n\nexport const MuiTypography = {\n h1: {\n fontSize: 24,\n lineHeight: 30 / 24,\n fontWeight: 900\n },\n h4: {\n fontSize: 18,\n lineHeight: 1.11,\n fontWeight: 600\n },\n h5: {\n fontSize: 16,\n lineHeight: 24 / 16,\n fontWeight: 600\n },\n h6: {\n fontSize: 14,\n lineHeight: 22 / 14,\n fontWeight: 700,\n letterSpacing: \"-0.4px\"\n },\n subtitle1: {\n fontSize: 16,\n lineHeight: 24 / 16,\n marginTop: 16,\n fontWeight: 500\n },\n body1: {\n fontSize: 14,\n lineHeight: 22 / 14,\n fontWeight: 500,\n letterSpacing: \"-0.4px\"\n },\n caption: {\n fontSize: 14,\n lineHeight: 20 / 14,\n color: \"#637381\"\n }\n};\n\n// https://material-ui.com/guides/migration-v3/#typography\nexport const MuiTypographyLegacy = {\n title: {\n margin: 0,\n padding: 0\n },\n headline: {\n fontSize: typography.fontSize * 1.29,\n lineHeight: 1.11,\n fontWeight: 600\n },\n subheading: {\n fontSize: typography.fontSize,\n marginTop: 16\n }\n};\n","import { buttonStyles, dropDown, palette } from \"./settings\";\n\nexport const MuiAutocomplete = {\n endAdornment: {\n position: \"static\"\n },\n popupIndicator: {\n width: 24,\n height: 24\n },\n root: {\n width: \"100%\"\n },\n clearIndicator: {\n width: 24,\n height: 24\n },\n inputRoot: {\n border: 0,\n fontSize: 14,\n lineHeight: 22 / 14,\n fontWeight: 700,\n padding: \"0\",\n width: \"auto\",\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n \"$root$hasPopupIcon &, $root$hasClearIcon &\": {\n paddingRight: 0\n },\n\n \"$root.outlined &\": {\n paddingLeft: 12,\n boxSizing: \"border-box\",\n height: 36,\n border: buttonStyles.border,\n borderRadius: \"3px\"\n }\n },\n listbox: {\n width: \"100%\",\n padding: 0\n },\n popper: {\n position: \"relative\"\n },\n option: {\n fontSize: 14,\n lineHeight: 22 / 14,\n padding: \"7px 12px\",\n borderBottom: `1px solid ${dropDown.border}`,\n\n '&[aria-selected=\"true\"]': {\n backgroundColor: dropDown.selectedBG\n },\n \"&:active\": {\n backgroundColor: dropDown.selectedBG\n }\n }\n};\n","import { palette } from \"./settings\";\n\nexport const MuiAppBar = {\n colorPrimary: {\n backgroundColor: \"#21292F\",\n color: palette.common.white\n }\n};\n","export const MuiBreadcrumbs = {\n root: {\n paddingTop: 12,\n paddingBottom: 12\n },\n separator: {\n marginLeft: 6,\n marginRight: 6,\n color: \"#51677B\"\n }\n};\n","import { buttonStyles, palette } from \"./settings\";\n\nexport const MuiButton = {\n root: {\n textTransform: \"none\",\n fontWeight: 400,\n borderRadius: 3,\n \"&:hover\": {\n backgroundColor: \"transparent\",\n color: palette.secondary.main,\n textDecoration: \"underline\"\n }\n },\n outlined: {\n background: buttonStyles.bgGradient,\n boxShadow: buttonStyles.boxShadow,\n border: buttonStyles.border,\n\n \"&$colorInherit\": {\n background: \"transparent\",\n borderColor: palette.text.light\n },\n\n \".caution &:hover\": {\n color: palette.caution.dark\n },\n\n \".error &:hover\": {\n color: palette.error.dark\n }\n },\n contained: {\n boxShadow: \"none\",\n minWidth: 168\n },\n containedSecondary: {\n \"&:hover\": {\n color: palette.common.white\n }\n }\n};\n","export const MuiCard = {\n root: {\n background: \"#fff\",\n border: \"1px solid #DAE1E7\",\n borderRadius: 10\n }\n};\n\nexport const MuiCardHeader = {\n root: {\n padding: 24\n },\n content: {\n maxWidth: \"100%\",\n overflow: \"hidden\"\n }\n};\n\nexport const MuiCardContent = {\n root: {\n padding: 24,\n\n \"&:last-child\": {\n paddingBottom: 24\n }\n }\n};\n\nexport const MuiCardActionArea = {\n focusHighlight: {\n backgroundColor: \"#fff\"\n }\n};\n","import { spacing } from \"./settings\";\n\nexport const MuiDialog = {\n paperWidthSm: {\n maxWidth: 640,\n width: \"100%\"\n }\n};\n\nexport const MuiDialogActions = {\n root: {\n justifyContent: \"flex-start\",\n paddingLeft: spacing * 7.5 - spacing,\n paddingBottom: spacing * 2.5\n }\n};\n\nexport const MuiDialogContent = {\n root: {\n paddingLeft: spacing * 7.5,\n paddingBottom: spacing * 2\n }\n};\n\nexport const MuiDialogContentText = {\n root: {\n marginTop: spacing * 1.5\n }\n};\n\nexport const MuiDialogTitle = {\n root: {\n paddingBottom: 2,\n paddingTop: spacing * 2 + 2,\n paddingLeft: spacing * 7.5\n }\n};\n","import { errorIcon, spacing, palette, typography } from \"./settings\";\n\nexport const MuiFormControl = {\n root: {\n padding: spacing\n },\n marginNormal: {\n marginTop: 0,\n marginBottom: 0\n }\n};\n\nexport const MuiFormHelperText = {\n root: {\n color: \"#637381\",\n fontSize: 13,\n lineHeight: 20 / 13,\n marginTop: spacing * 0.5,\n\n \"&$error\": {\n fontSize: typography.fontSize,\n color: palette.error.dark,\n\n \"&::before\": {\n content: \"''\",\n display: \"inline-block\",\n verticalAlign: \"middle\",\n width: spacing * 2,\n height: spacing * 2,\n background: `center center no-repeat url(${errorIcon})`,\n marginRight: spacing * 0.5\n }\n }\n }\n};\n\nexport const MuiFormLabel = {\n root: {\n fontSize: typography.fontSize,\n \"&$disabled, &$error\": {\n color: \"inherit\"\n }\n }\n};\n","import { palette } from \"./settings\";\n\nexport const MuiIconButton = {\n root: {\n flex: \"0 0 auto\",\n width: 48,\n color: palette.text.primary,\n height: 48,\n padding: 0,\n fontSize: 24,\n textAlign: \"center\",\n transition: \"background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms\",\n borderRadius: \"50%\",\n\n \"&$disabled\": {\n color: palette.text.disabled,\n opacity: 0.5\n }\n }\n};\n","import { buttonStyles, palette, spacing, typography } from \"./settings\";\n\nexport const MuiInput = {\n root: {\n border: buttonStyles.border,\n borderRadius: \"3px\",\n\n \"&$disabled\": {\n color: palette.text.disabled,\n backgroundColor: palette.background.disabled,\n border: buttonStyles.borderDisabled,\n cursor: \"not-allowed\"\n },\n\n \"&$error\": {\n backgroundColor: palette.error.light,\n borderColor: palette.error.border,\n color: palette.error.dark\n }\n },\n formControl: {\n \"label + &\": {\n marginTop: spacing * 3\n }\n },\n input: {\n boxSizing: \"border-box\",\n height: 34,\n paddingTop: 8,\n paddingLeft: 12,\n paddingBottom: 8,\n paddingRight: 12,\n border: 0,\n\n \"&#password\": {\n height: 34\n }\n },\n inputTypeSearch: {\n color: palette.secondary.main\n }\n};\n\nexport const MuiInputLabel = {\n root: {\n fontSize: typography.fontSize,\n\n \"&$error\": {\n color: palette.error.dark\n }\n },\n formControl: {\n top: spacing,\n left: spacing\n },\n shrink: {\n transform: \"scale(1)\"\n }\n};\n\nexport const MuiInputAdornment = {\n positionEnd: {\n paddingRight: 16\n }\n};\n","import { palette } from \"./settings\";\n\nexport const MuiLink = {\n root: {\n fontWeight: 700,\n color: palette.primary.main,\n\n \"&:hover\": {\n color: palette.secondary.main\n }\n }\n};\n","import { dropDown, typography } from \"./settings\";\n\nexport const MuiList = {\n root: {\n fontFamily: typography.fontFamily\n },\n padding: {\n padding: 10\n }\n};\n\nexport const MuiListItem = {\n root: {\n paddingTop: 9,\n paddingBottom: 9,\n margin: \"8px 0\",\n borderRadius: 4,\n fontWeight: 400\n },\n gutters: {\n paddingLeft: 10,\n paddingRight: 10\n },\n button: {\n \"&:hover\": {\n backgroundColor: dropDown.hoverBg,\n fontWeight: 500\n },\n \"&.active\": {\n backgroundColor: dropDown.selectedBG,\n fontWeight: 500\n }\n }\n};\n","import { dropDown } from \"./settings\";\n\nexport const MuiMenuItem = {\n root: {\n paddingTop: 8,\n paddingBottom: 8,\n margin: 0,\n borderRadius: 0,\n fontWeight: 400,\n borderBottom: `1px solid ${dropDown.border}`,\n fontSize: 14,\n lineHeight: 22 / 14,\n\n \"&$selected\": {\n backgroundColor: dropDown.selectedBG,\n fontWeight: 500\n },\n\n \"&$selected:hover\": {\n backgroundColor: dropDown.hoverBg,\n fontWeight: 500\n }\n }\n};\n","export const MuiPaper = {\n root: {\n borderColor: \"#eee\"\n },\n elevation1: {\n boxShadow: \"none\",\n backgroundColor: \"transparent\"\n },\n elevation2: {\n boxShadow: \"0 0 0 1px rgba(63,63,68,0.05), 0 1px 3px 0 rgba(63,63,68,0.15)\"\n },\n elevation8: {\n boxShadow:\n \"0px 5px 5px rgba(0, 0, 0, 0.05), 0px 8px 10px rgba(0, 0, 0, 0.07), 0px 3px 14px rgba(0, 0, 0, 0.06)\"\n }\n};\n","import { buttonStyles, palette } from \"./settings\";\n\nexport const MuiSelect = {\n select: {\n color: palette.secondary.main,\n backgroundImage: buttonStyles.bgGradient,\n boxShadow: buttonStyles.boxShadow,\n padding: 8,\n fontSize: 14,\n\n \"&$disabled\": {\n color: palette.text.disabled,\n backgroundColor: palette.background.disabled,\n cursor: \"not-allowed\",\n\n \"& ~ $icon\": {\n color: palette.text.disabled\n }\n }\n },\n icon: {\n color: \"#637381\"\n }\n};\n","export const MuiSwitch = {\n switchBase: {\n height: \"auto\",\n width: \"auto\"\n }\n};\n","import { buttonStyles, palette, spacing } from \"./settings\";\n\nexport const MuiSnackbarContent = {\n root: {\n position: \"relative\",\n display: \"flex\",\n flexWrap: \"initial\",\n alignItems: \"flex-start\",\n padding: spacing * 2,\n background: buttonStyles.bgGradient,\n boxShadow:\n \"inset 0 0 0 0 transparent, 0 0 0 1px rgba(63,63,68,.05), 0 1px 3px 0 rgba(63,63,68,.15)\",\n borderTop: `3px solid ${palette.text.light}`,\n borderRadius: \"0 0 3px 3px\",\n margin: spacing,\n transition: \"box-shadow .2s cubic-bezier(.64,0,.35,1)\",\n transitionDelay: \".1s\",\n backgroundColor: palette.secondary.lightAlt,\n color: palette.text.primary,\n \"@media (min-width: 0)\": {\n minWidth: 288,\n maxWidth: 568,\n borderRadius: \"0 0 3px 3px\",\n flexGrow: \"initial\"\n }\n },\n message: {\n padding: 0,\n display: \"flex\",\n alignItems: \"flex-start\",\n justifyContent: \"flex-start\",\n width: \"100%\"\n },\n action: {\n margin: 0,\n marginTop: spacing * -1,\n padding: 0,\n paddingLeft: 0\n }\n};\n\nexport const MuiSnackbar = {\n anchorOriginTopCenter: {\n top: \"64px !important\"\n }\n};\n","import { palette, typography } from \"./settings\";\n\nexport const MuiTable = {\n root: {\n background: palette.common.white,\n fontFamily: \"Inter !important\"\n }\n};\n\nexport const MuiTableCell = {\n head: {\n fontWeight: 700,\n fontSize: typography.fontSize,\n color: palette.text.light,\n border: 0\n }\n};\n\nexport const MuiTableHead = {\n root: {\n backgroundColor: palette.secondary.lightAlt\n }\n};\n\nexport const MuiTableRow = {\n root: {\n \"&$hover:hover\": {\n backgroundColor: palette.secondary.light\n },\n \"&:last-of-type td\": {\n borderBottom: 0\n }\n }\n};\n\nexport const MuiTableSortLabel = {\n root: {\n \"&:active, &:focus, &:hover\": {\n color: \"inherit\"\n }\n },\n active: {\n color: \"inherit\"\n }\n};\n","export const MuiToolbar = {\n gutters: {\n paddingLeft: 20,\n paddingRight: 20,\n \"@media (min-width: 0px)\": {\n paddingLeft: 20,\n paddingRight: 20\n }\n }\n};\n","import settings from \"./settings\";\nimport { MuiTypographyLegacy, MuiTypography } from \"./MuiTypography\";\nimport { MuiAutocomplete } from \"./MuiAutocomplete\";\nimport * as overrides from \"./overrides\";\n\nconst theme = {\n ...settings,\n overrides: { ...overrides, MuiTypography, MuiAutocomplete },\n props: {\n MuiButtonBase: {\n disableRipple: true,\n disableTouchRipple: true,\n focusRipple: false\n },\n MuiInput: {\n disableUnderline: true\n },\n MuiPaper: {\n square: true,\n elevation: 0\n },\n MuiInputLabel: {\n shrink: true\n }\n }\n};\n\nexport const themeLegacy = {\n ...theme,\n overrides: { ...overrides, MuiTypography: MuiTypographyLegacy }\n};\n\nexport default theme;\n","import { makeStyles, createMuiTheme } from \"@material-ui/core/styles\";\nimport { createMuiTheme as createLegacyMuiTheme } from \"@ra-shim/material-ui/core\";\nimport appTheme, { themeLegacy } from \"theme\";\n\nconst useStyles = styles => makeStyles(styles);\n\nexport const theme = createMuiTheme(appTheme);\nexport const legacyTheme = createLegacyMuiTheme(themeLegacy);\n\nexport default useStyles;\n","import React from \"react\";\nimport { Link as RouterLink, matchPath } from \"react-router-dom\";\nimport gql from \"graphql-tag\";\nimport _get from \"lodash.get\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport Breadcrumbs from \"@material-ui/core/Breadcrumbs\";\nimport Link from \"@material-ui/core/Link\";\n\nimport useHistory from \"hooks/useHistory\";\nimport { useQuery } from \"@apollo/react-hooks\";\nimport useCurrentUser from \"hooks/useCurrentUser\";\n\nconst useStyles = makeStyles({\n link: {\n color: \"#51677B\",\n fontWeight: 400,\n letterSpacing: \"-0.6px\",\n fontSize: 12,\n lineHeight: 20 / 12,\n\n \"&:hover\": {\n color: \"#51677B\",\n textDecoration: \"underline\"\n }\n }\n});\n\nexport const paths = {\n users: {\n pathname: \"/users\",\n label: \"Users\"\n },\n contracts: {\n pathname: \"/contracts\",\n label: \"Contracts\"\n },\n organizations: {\n pathname: \"/organizations\",\n label: \"Organizations\"\n }\n};\n\nconst crumbtrails = [\n {\n path: \"/users/:param\",\n trail: [paths.users]\n },\n {\n path: \"/contracts/:param\",\n trail: [paths.contracts]\n },\n {\n path: \"/organizations/create\",\n trail: [paths.organizations]\n }\n];\n\nconst GET_USER_ORGANIZATION = gql`\n query getUserOrganization($id: Int!) {\n user: User(id: $id) {\n id\n organization {\n id\n name\n }\n }\n }\n`;\n\nconst useUserOrganizationCrumb = pathname => {\n const { activeOrg } = useCurrentUser();\n const userPath = matchPath(pathname, \"/users/:id\");\n const userId = _get(userPath, \"params.id\", false);\n\n const { data } = useQuery(GET_USER_ORGANIZATION, {\n skip: activeOrg || !userId,\n variables: {\n id: parseInt(userId, 10)\n }\n });\n const id = _get(data, \"user.organization.id\");\n const name = _get(data, \"user.organization.name\");\n return id\n ? [\n {\n label: name,\n pathname: `/organizations/${id}`\n }\n ]\n : [];\n};\n\nconst useBreadcrumbTrail = () => {\n const { activeOrg } = useCurrentUser();\n const history = useHistory();\n const pathname = _get(history, \"location.pathname\");\n const userOrgPath = useUserOrganizationCrumb(pathname);\n\n const activeOrgPath = activeOrg\n ? [{ label: _get(activeOrg, \"name\"), pathname: \"/dashboard\" }]\n : [];\n\n const active = crumbtrails.find(({ path }) => matchPath(pathname, path));\n const trail = _get(active, \"trail\", []);\n\n return [...activeOrgPath, ...userOrgPath, ...trail];\n};\n\nconst BreadcrumbNav = () => {\n const classes = useStyles();\n const pathnames = useBreadcrumbTrail();\n\n return (\n \n {pathnames.map(({ pathname, label }) => (\n \n {label}\n \n ))}\n <> \n \n );\n};\n\nexport default BreadcrumbNav;\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ChevronDown = props => (\n \n \n \n);\n\nexport default ChevronDown;\n","import gql from \"graphql-tag\";\nimport _get from \"lodash.get\";\nimport { useMutation, useApolloClient } from \"@apollo/react-hooks\";\n\nimport { TED_ROLE } from \"resources/users/roles\";\n\nimport { UPDATE_ACTIVE_ORG } from \"hooks/useCurrentUser\";\n\nconst SWITCH_USER = gql`\n mutation SwitchUser($id: Int!) {\n user: switchUser(userId: $id, admin: true) {\n jwt\n role\n id\n activeOrganizationId\n organizationId\n }\n }\n`;\n\nexport const useSwitchUser = () => {\n const client = useApolloClient();\n const [updateActiveOrg] = useMutation(UPDATE_ACTIVE_ORG);\n const [switchUserMutation, { loading, error }] = useMutation(SWITCH_USER);\n\n const switchUser = async id => {\n const { data } = await switchUserMutation({\n variables: { id, admin: true }\n });\n const nextUser = _get(data, \"user\", {});\n const { jwt, role, organizationId, activeOrganizationId } = nextUser;\n\n if (!jwt || !role || role === \"user\") {\n throw new Error(\"ui.switch_account_failure\");\n }\n\n localStorage.setItem(\"token\", jwt);\n localStorage.setItem(\"role\", role);\n\n if (!TED_ROLE.name && !activeOrganizationId) {\n try {\n await updateActiveOrg({\n variables: {\n id: nextUser.id,\n activeOrganizationId: organizationId\n }\n });\n } catch (error) {\n console.error(\"updateActiveOrg\", error);\n }\n }\n\n try {\n // Refetching all active queries to force a refresh.\n // https://www.apollographql.com/docs/react/v2.6/api/apollo-client/#ApolloClient.resetStore\n const reset = await new Promise(resolve => {\n client.onResetStore(() => resolve(\"store reset\"));\n client.resetStore();\n });\n } catch (error) {\n console.error(\"resetStore\", error);\n }\n\n return nextUser;\n };\n\n return { switchUser, loading, error };\n};\n\nexport default useSwitchUser;\n","import React from \"react\";\nimport compose from \"recompose/compose\";\nimport { connect } from \"react-redux\";\nimport { translate, userLogout as userLogoutAction } from \"react-admin\";\n\nimport Button from \"@material-ui/core/Button\";\n\nexport const LogoutButton = ({ translate, userLogout, className }) => (\n \n);\n\nexport const mapDispatchToProps = dispatch => ({\n userLogout: () => dispatch(userLogoutAction(\"/login\"))\n});\n\nconst enhance = compose(\n translate,\n connect(\n undefined,\n mapDispatchToProps\n )\n);\n\nexport default enhance(LogoutButton);\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport clsx from \"clsx\";\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport Avatar from \"@material-ui/core/Avatar\";\nimport ListItemAvatar from \"@material-ui/core/ListItemAvatar\";\nimport ListItem from \"@material-ui/core/ListItem\";\nimport ListItemText from \"@material-ui/core/ListItemText\";\n\nimport UserIcon from \"react-feather/dist/icons/user\";\n\nimport useTranslate from \"hooks/useTranslate\";\n\nconst useStyles = makeStyles(theme => ({\n activeItem: {\n backgroundColor: theme.dropDown.selectedBG,\n color: theme.palette.text.primary,\n opacity: 1\n },\n disabled: {\n \"&.activeItem\": {\n opacity: 1\n }\n },\n avatar: {\n width: 28,\n height: 28,\n border: `1px solid ${theme.dropDown.selectedBG}`,\n color: \"#51677B\",\n backgroundColor: theme.palette.common.white\n },\n iconwrap: {\n minWidth: 0,\n paddingRight: 14\n },\n listItem: {\n \"&:hover\": {\n backgroundColor: theme.dropDown.hoverBg\n }\n },\n textPrimary: {\n fontWeight: 700,\n marginTop: 0\n }\n}));\n\nexport const UserAccount = ({ active, id, organization, role, onClick }) => {\n const classes = useStyles();\n const { translate } = useTranslate();\n\n return (\n onClick(id)}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport default UserAccount;\n","import React, { useState } from \"react\";\nimport { Link as RouterLink, Redirect } from \"react-router-dom\";\nimport { useQuery } from \"@apollo/react-hooks\";\nimport _uniq from \"lodash.uniq\";\nimport _get from \"lodash.get\";\nimport gql from \"graphql-tag\";\n\nimport clsx from \"clsx\";\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport Button from \"@material-ui/core/Button\";\nimport Divider from \"@material-ui/core/Divider\";\nimport List from \"@material-ui/core/List\";\nimport ListItem from \"@material-ui/core/ListItem\";\n\nimport Popover from \"@material-ui/core/Popover\";\n\nimport ChevronDown from \"ui/icons/ChevronDown\";\n\nimport { isTEDAdmin } from \"resources/users/roles\";\n\nimport useMenuAnchor from \"hooks/useMenuAnchor\";\nimport useSwtichUser from \"hooks/useSwitchUser\";\nimport useHistory from \"hooks/useHistory\";\n\nimport LogoutButton from \"ui/buttons/LogoutButton\";\nimport UserAccount from \"ui/UserAccount\";\n\nconst sortByOrgName = (a, b) =>\n a.organization.name.localeCompare(b.organization.name);\n\nconst useStyles = makeStyles({\n padding: {\n padding: 0\n },\n divider: {\n marginBottom: 14\n },\n menuBox: {\n padding: 10,\n border: \"1px solid #ECECEC\",\n borderRadius: 4\n },\n linkBtn: {\n justifyContent: \"flex-start\",\n width: \"100%\",\n padding: \"5px 20px\",\n margin: \"4px 0\",\n\n \"&:hover\": {\n color: \"inherit\",\n textDecoration: \"underline\",\n background: \"none\"\n }\n },\n iconBtn: {\n borderRadius: 5,\n padding: 10,\n marginLeft: 10,\n marginRight: 0,\n fontSize: 14,\n lineHeight: 14 / 22,\n fontWeight: 700,\n color: \"#fff\",\n\n \"&:hover, &.active\": {\n color: \"inherit\",\n textDecoration: \"none\",\n background: \"rgba(0, 0, 0, 0.3)\"\n }\n },\n iconUser: {\n marginRight: -2\n }\n});\n\nexport const GET_CURRENT_USER_ACCOUNT = gql`\n query GetCurrentUserAccount {\n user: loggedInUserQuery {\n id\n role\n email\n adminReadonly\n activeOrgId: activeOrganizationId\n activeOrg: activeOrganization {\n id\n name\n }\n organization {\n id\n name\n }\n associatedUsers {\n id\n role\n organization {\n id\n name\n }\n }\n }\n }\n`;\n\nexport const UserAccountMenu = ({ className }) => {\n const classes = useStyles();\n const history = useHistory();\n const { isOpen, menuProps, openMenu, closeMenu } = useMenuAnchor();\n const { data } = useQuery(GET_CURRENT_USER_ACCOUNT);\n const { switchUser } = useSwtichUser();\n\n const currentUser = _get(data, \"user\", {});\n const associatedUsers = _get(currentUser, \"associatedUsers\", []);\n const users = _uniq(associatedUsers, \"id\");\n return (\n
\n \n {_get(currentUser, \"organization.name\", \"\")}\n \n \n \n {users.length > 1 && (\n <>\n \n {users\n .sort(sortByOrgName)\n .filter(({ role }) => role !== \"user\")\n .map(user => (\n {\n closeMenu();\n const nextUser = await switchUser(user.id);\n const nextPath = isTEDAdmin(nextUser)\n ? \"/organizations\"\n : \"/dashboard\";\n history.push(nextPath);\n }}\n {...user}\n />\n ))}\n \n \n \n )}\n \n {currentUser.email}\n \n \n \n
\n );\n};\n\nUserAccountMenu.defaultProps = {\n currentUser: {}\n};\n\nexport default UserAccountMenu;\n","import React, { useState } from \"react\";\n\nimport Input from \"@material-ui/core/Input\";\nimport InputAdornment from \"@material-ui/core/InputAdornment\";\nimport MenuList from \"@material-ui/core/MenuList\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport Popover from \"@material-ui/core/Popover\";\nimport Typography from \"@material-ui/core/Typography\";\nimport SearchIcon from \"@material-ui/icons/Search\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const OrganizationSearchList = ({\n selectedId,\n onClose,\n orgList,\n onSelectOrg,\n ...props\n}) => {\n const classes = useStyles();\n const [filterText, setFilterText] = useState();\n const options = filterText\n ? orgList.filter(({ name }) =>\n name.toLowerCase().includes(filterText.toLowerCase())\n )\n : orgList;\n\n const { translate } = useTranslate();\n\n return (\n \n \n {translate(\"filters.selectOrg\")}\n \n \n \n \n }\n onChange={e => {\n setFilterText(e.currentTarget.value);\n }}\n placeholder={\"Search organizations\"}\n />\n
\n \n {options.map(({ id, name }) => (\n {\n onClose && onClose();\n setFilterText(undefined);\n if (id !== selectedId) {\n onSelectOrg(id);\n }\n }}\n >\n {name}\n \n ))}\n \n
\n
\n \n );\n};\n\nexport default OrganizationSearchList;\n\nconst useStyles = makeStyles({\n popoverRoot: {\n background: \"rgba(0, 0, 0, 0.25)\"\n },\n popoverPaper: {\n padding: 22,\n fontSize: 14,\n lineHeight: 22 / 14,\n letterSpacing: -0.4,\n borderRadius: 4,\n boxShadow:\n \"0px 3px 3px rgba(0, 0, 0, 0.05), 0px 3px 4px rgba(0, 0, 0, 0.07), 0px 1px 8px rgba(0, 0, 0, 0.06)\",\n border: \"1px solid #ECECEC\",\n overflowY: \"hidden\"\n },\n selectText: {\n fontWeight: 700,\n color: \"#637381\"\n },\n searchRoot: {\n marginTop: 14,\n marginBottom: 8,\n width: \"100%\"\n },\n searchIcon: {\n marginLeft: 12,\n marginRight: -8,\n color: \"#637381\"\n },\n listWrap: {\n height: 243,\n overflowX: \"hidden\",\n overflowY: \"auto\"\n },\n spacer: {\n height: 44\n }\n});\n","import gql from \"graphql-tag\";\nimport { useQuery, useLazyQuery } from \"@apollo/react-hooks\";\nimport { TED_ROLE } from \"resources/users/roles\";\n\nimport useCurrentUser from \"hooks/useCurrentUser\";\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const ALL_ORGS_QUERY = gql`\n query ALL_ORGS_QUERY {\n allOrganizations(sortOrder: \"ASC\", sortField: \"name\", perPage: 10000) {\n id\n name\n }\n }\n`;\n\nconst useOrgListFormatting = () => {\n const { translate } = useTranslate();\n const { role, id } = useCurrentUser();\n const options = {\n skip: !id,\n displayName: \"ALL_ORGS_QUERY\",\n variables: { currentUser: id }\n };\n\n const formatList = ({ data, includeAll }) => {\n const orgs =\n (data && Array.isArray(data.allOrganizations) && data.allOrganizations) ||\n [];\n return includeAll && role === TED_ROLE.name\n ? [{ id: null, name: translate(\"ui.allOrgs\") }, ...orgs]\n : orgs;\n };\n return { options, formatList };\n};\n\nexport const useLazyOrgList = ({ includeAll } = {}) => {\n const { options, formatList } = useOrgListFormatting();\n const [getOrgList, { loading, data, error }] = useLazyQuery(\n ALL_ORGS_QUERY,\n options\n );\n return {\n getOrgList,\n orgList: formatList({ data, includeAll }),\n loading,\n error\n };\n};\n\nconst useOrgList = ({ includeAll } = {}) => {\n const { options, formatList } = useOrgListFormatting();\n const { loading, error, data } = useQuery(ALL_ORGS_QUERY, options);\n\n return { orgList: formatList({ data, includeAll }), loading, error };\n};\n\nexport default useOrgList;\n","import React, { useEffect, useRef, useState } from \"react\";\n\nimport Button from \"@material-ui/core/Button\";\nimport ChevronDown from \"ui/icons/ChevronDown\";\nimport Divider from \"@material-ui/core/Divider\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport OrganizationSearchList from \"ui/OrganizationSearchList\";\n\nimport useCurrentUser, { useChangeActiveOrg } from \"hooks/useCurrentUser\";\nimport { useLazyOrgList } from \"hooks/useOrgList\";\n\nexport const ActiveOrgSelector = () => {\n const classes = useStyles();\n const anchor = useRef();\n const [anchorEl, setAnchorEl] = useState(undefined);\n const closeMenu = () => setAnchorEl(undefined);\n const { id: userId, activeOrgId } = useCurrentUser();\n const { getOrgList, orgList, loading } = useLazyOrgList({\n includeAll: true\n });\n const multiOrg = orgList.length > 1;\n const changeActiveOrg = useChangeActiveOrg();\n const selected = orgList.find(({ id }) => id === activeOrgId);\n\n useEffect(() => {\n getOrgList();\n }, [userId, getOrgList]);\n\n if (!selected || !selected.name || loading) {\n return
;\n }\n\n return (\n
\n {!multiOrg && (\n {selected.name}\n )}\n\n {multiOrg && (\n <>\n setAnchorEl(anchor.current)}\n >\n {selected.name}\n \n \n {\n changeActiveOrg({\n variables: { id: userId, activeOrganizationId: id }\n });\n }}\n />\n \n )}\n \n
\n );\n};\n\nexport default ActiveOrgSelector;\n\nconst useStyles = makeStyles({\n root: {\n position: \"relative\",\n padding: 10,\n height: 84,\n display: \"flex\",\n alignItems: \"flex-start\",\n justifyContent: \"center\",\n flexDirection: \"column\"\n },\n buttonText: {\n fontWeight: 700,\n lineHeight: 22 / 14,\n width: \"100%\",\n justifyContent: \"center\"\n },\n chevron: {\n marginLeft: \"auto\"\n },\n divider: {\n position: \"absolute\",\n left: 0,\n right: 0,\n bottom: 0\n }\n});\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { refreshView } from \"react-admin\";\n\nimport useCurrentUser from \"hooks/useCurrentUser\";\n\n// This is a terrible hack to force refreshes\n// of react-admin when there are changes in the current user.\n// This can be removed once we fully migrate to apollo.\nconst CurrentUserWatcher = ({ dispatch }) => {\n const { activeOrgId, id } = useCurrentUser();\n\n useEffect(() => {\n dispatch(refreshView());\n }, [activeOrgId, id, dispatch]);\n\n return (\n

\n activeOrgId: {activeOrgId} - user: {id}\n

\n );\n};\n\nexport default connect()(CurrentUserWatcher);\n","import React from \"react\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nconst ExternalLink = ({ color, ...props }) => (\n \n \n \n);\n\nExternalLink.defaultProps = {\n color: \"currentColor\"\n};\n\nexport default ExternalLink;\n","import gql from \"graphql-tag\";\nimport _get from \"lodash.get\";\n\nimport { useQuery } from \"@apollo/react-hooks\";\n\nexport const welcomeUrl = \"/community_welcome\";\nexport const membersUrl = \"https://members.ted.com/\";\n\nexport const GET_COMMNITY_LINK = gql`\n query getCommunityLink {\n user: loggedInUserQuery {\n id\n communityAccess\n externalId\n }\n }\n`;\n\nconst useCommunityLink = () => {\n const { data } = useQuery(GET_COMMNITY_LINK);\n\n if (!_get(data, \"user.communityAccess\", false)) {\n return null;\n }\n\n return _get(data, \"user.externalId\") ? membersUrl : welcomeUrl;\n};\n\nexport default useCommunityLink;\n","import React from \"react\";\nimport { NavLink } from \"react-router-dom\";\nimport gql from \"graphql-tag\";\nimport _get from \"lodash.get\";\n\nimport Divider from \"@material-ui/core/Divider\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport List from \"@material-ui/core/List\";\nimport ListItem from \"@material-ui/core/ListItem\";\n\nimport ActiveOrgSelector from \"ui/ActiveOrgSelector\";\nimport CurrentUserWatcher from \"ui/CurrentUserWatcher\";\nimport ExternalLinkIcon from \"ui/icons/ExternalLink\";\n\nimport useTranslate from \"hooks/useTranslate\";\nimport useCommunityLink from \"hooks/useCommunityLink\";\nimport useCurrentUser from \"hooks/useCurrentUser\";\nimport usePermissions from \"hooks/usePermissions\";\nimport { useQuery } from \"@apollo/react-hooks\";\n\nimport { ORGS, USERS, GROUPS } from \"resources\";\n\nexport const NavListItem = ({ text, children, ...props }) => (\n (\n \n ))}\n {...props}\n >\n {text}\n {children}\n \n);\n\nconst useStyles = makeStyles({\n hasCount: {\n justifyContent: \"space-between\"\n },\n spacer: {\n opacity: 0,\n marginTop: \"auto\"\n },\n externalLink: {\n fontWeight: 400\n },\n externalLinkIcon: {\n color: \"#9A9A9A\",\n width: 16,\n height: 16,\n marginLeft: 4\n },\n list: {\n display: \"flex\",\n flexDirection: \"column\",\n height: \"calc(100vh - 148px)\"\n }\n});\n\nexport const ExternalLink = ({ text, ...props }) => {\n const { externalLink, externalLinkIcon } = useStyles();\n return (\n \n {text} \n \n );\n};\n\nexport const GET_MENU_COUNTS = gql`\n query getMenuCounts($filter: Filter, $userId: Int) {\n User(id: $userId) {\n id\n }\n orgs: _allOrganizationsMeta {\n count\n }\n contracts: _allContractsMeta(filter: $filter) {\n count\n }\n }\n`;\n\nconst CountItem = ({ to, label, count }) => {\n const { hasCount } = useStyles();\n\n return (\n 0 ? hasCount : undefined}>\n {label}\n {count > 0 ? {count} : null}\n \n );\n};\n\nexport const OrgNav = () => {\n const { translate } = useTranslate();\n const { activeOrgId, id: userId } = useCurrentUser();\n const { data } = useQuery(GET_MENU_COUNTS, {\n variables: { filter: { organizationId: activeOrgId }, userId },\n skip: userId < 1\n });\n\n return (\n <>\n {!activeOrgId && (\n \n )}\n {activeOrgId > 0 && }\n \n \n \n );\n};\n\nexport const NavList = () => {\n const { list, spacer } = useStyles();\n const { translate } = useTranslate();\n const {\n canViewGroups,\n canViewOrgs,\n canViewUsers,\n canViewLessonRatings\n } = usePermissions();\n const communityLink = useCommunityLink();\n\n return (\n \n {canViewOrgs && }\n {canViewGroups && (\n \n )}\n {canViewUsers && (\n \n )}\n {(canViewGroups || canViewUsers) && }\n\n \n {canViewLessonRatings && (\n \n )}\n\n \n {communityLink && (\n \n )}\n \n \n \n );\n};\n\n/* istanbul ignore next Don't test React core. */\nexport const Menu = () => (\n <>\n \n \n \n \n);\n\nexport default Menu;\n","import React from \"react\";\nimport _get from \"lodash.get\";\nimport { TED_ROLE } from \"resources/users/roles\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport List from \"@material-ui/core/List\";\nimport ListItem from \"@material-ui/core/ListItem\";\nimport ListItemText from \"@material-ui/core/ListItemText\";\nimport Skeleton from \"@material-ui/lab/Skeleton\";\n\nimport { StyledSystemMessage as SystemMessage } from \"systemMessage/SystemMessage\";\n\nimport { palette } from \"theme/settings\";\n\nimport useCurrentUser, { useChangeActiveOrg } from \"hooks/useCurrentUser\";\nimport useOrgList from \"hooks/useOrgList\";\n\nconst useStyles = makeStyles({\n selectList: {\n paddingLeft: 60,\n paddingRight: 60\n },\n skeleton: {\n height: 30,\n marginTop: 10,\n marginBottom: 10\n },\n selectItem: {\n borderColor: palette.caution.border,\n border: \"1px solid\",\n color: palette.caution.dark,\n fontWeight: 700,\n\n \"&:hover\": {\n background: \"transparent\"\n }\n }\n});\n\nexport const OrgSelectDialog = ({ onSelect }) => {\n const classes = useStyles();\n const { loading, orgList } = useOrgList({\n includeAll: true\n });\n\n return (\n \n {loading && (\n
\n \n \n \n
\n )}\n {!loading && (\n \n {orgList.map(({ id, name }) => (\n onSelect(id)}\n >\n \n \n ))}\n \n )}\n \n );\n};\n\nexport const SingeOrgMessage = () => {\n const { id, role, activeOrgId, loading } = useCurrentUser();\n const changeActiveOrg = useChangeActiveOrg();\n const selectActiveOrg = activeOrganizationId => {\n changeActiveOrg({\n variables: {\n id,\n activeOrganizationId\n }\n });\n };\n\n const showSelectOrg = !loading && role !== TED_ROLE.name && !activeOrgId;\n\n return showSelectOrg ? : <>;\n};\n\nexport default SingeOrgMessage;\n","import React from \"react\";\n\nimport { theme, legacyTheme } from \"hooks/useStyles\";\nimport logo from \"assets/TED-Masterclass-logo.svg\";\n\nimport {\n ThemeProvider,\n createStyles,\n makeStyles\n} from \"@material-ui/core/styles\";\nimport { MuiThemeProvider } from \"@ra-shim/material-ui/core\";\n\nimport AppBar from \"@material-ui/core/AppBar\";\nimport Toolbar from \"@material-ui/core/Toolbar\";\n\nimport CssBaseline from \"@material-ui/core/CssBaseline\";\n\nimport { Notification } from \"ui\";\nimport BreadcrumbNav from \"ui/BreadcrumbNav\";\nimport UserAccountMenu from \"ui/UserAccountMenu\";\nimport { Menu } from \"./Menu\";\nimport SingeOrgMessage from \"ui/SingeOrgMessage\";\nimport SystemMessage from \"systemMessage/SystemMessage\";\n\nconst useStyles = makeStyles(({ palette }) =>\n createStyles({\n root: {\n display: \"flex\",\n zIndex: 1,\n minHeight: \"calc(100vh - 64px)\",\n backgroundColor: palette.background.default,\n position: \"relative\",\n minWidth: 960,\n width: \"100%\"\n },\n logo: {\n width: 170\n },\n userAccount: {\n marginLeft: \"auto\",\n color: \"#fff\"\n },\n drawer: {\n position: \"fixed\",\n top: 64,\n left: 0,\n bottom: 0,\n height: \"calc(100vh - 64px)\",\n width: 200,\n flexShrink: 0,\n backgroundColor: palette.background.default,\n borderRight: `1px solid ${palette.divider}`,\n zIndex: 20\n },\n content: {\n display: \"flex\",\n flexDirection: \"column\",\n flexGrow: 1,\n padding: \"12px 40px\",\n marginTop: 64,\n marginLeft: 200,\n position: \"relative\"\n }\n })\n);\n\nexport const Layout = ({ children }) => {\n const classes = useStyles();\n\n return (\n <>\n \n \n \"TED\n \n \n \n
\n \n
\n \n
{children}
\n \n \n \n
\n
\n \n );\n};\n\nconst ThemedLayout = ({ theme: appTheme, legacyTheme: legacy, ...props }) => (\n \n \n \n \n \n \n);\n\nThemedLayout.defaultProps = {\n theme,\n legacyTheme\n};\n\nexport default ThemedLayout;\n","import React from \"react\";\nimport { Labeled, LinearProgress } from \"react-admin\";\n\nexport const Loading = ({ label, source, isRequired }) => (\n \n \n \n);\n\nexport default Loading;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet InfoIcon = ({ color, ...rest }) => (\n \n \n \n \n);\n\nInfoIcon.defaultProps = {\n color: \"currentColor\"\n};\n\nInfoIcon = pure(InfoIcon);\nInfoIcon.muiName = \"SvgIcon\";\n\nexport default InfoIcon;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet CheckMarkIcon = ({ color, ...rest }) => (\n \n \n \n \n);\n\nCheckMarkIcon.defaultProps = {\n color: \"currentColor\"\n};\n\nCheckMarkIcon = pure(CheckMarkIcon);\nCheckMarkIcon.muiName = \"SvgIcon\";\n\nexport default CheckMarkIcon;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet CautionIcon = ({ color, ...rest }) => (\n \n \n \n \n);\n\nCautionIcon.defaultProps = {\n color: \"currentColor\"\n};\n\nCautionIcon = pure(CautionIcon);\nCautionIcon.muiName = \"SvgIcon\";\n\nexport default CautionIcon;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet WarningIcon = ({ color, ...rest }) => (\n \n \n \n \n);\n\nWarningIcon.defaultProps = {\n color: \"currentColor\"\n};\n\nWarningIcon = pure(WarningIcon);\nWarningIcon.muiName = \"SvgIcon\";\n\nexport default WarningIcon;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet FlagIcon = ({ color, ...rest }) => (\n \n \n \n \n);\n\nFlagIcon.defaultProps = {\n color: \"currentColor\"\n};\n\nFlagIcon = pure(FlagIcon);\nFlagIcon.muiName = \"SvgIcon\";\n\nexport default FlagIcon;\n","import React from \"react\";\nimport { withStyles } from \"@material-ui/core/styles\";\nimport classnames from \"classnames\";\n\nimport InfoIcon from \"./icons/InfoIcon\";\nimport CheckMarkIcon from \"./icons/CheckMarkIcon\";\nimport CautionIcon from \"./icons/CautionIcon\";\nimport WarningIcon from \"./icons/WarningIcon\";\nimport FlagIcon from \"./icons/FlagIcon\";\n\nconst typeIcon = {\n success: CheckMarkIcon,\n caution: CautionIcon,\n info: InfoIcon,\n warning: WarningIcon\n};\n\nexport const NotificationIcon = ({ className, classes, type }) => {\n const Icon = typeIcon[type] || FlagIcon;\n\n return (\n \n \n \n );\n};\n\nNotificationIcon.defaultProps = {\n classes: {\n wrap: \"wrap\",\n infoWrap: \"infoWrap\",\n successWrap: \"successWrap\",\n cautionWrap: \"cautionWrap\",\n warningWrap: \"warningWrap\",\n icon: \"icon\",\n infoIcon: \"infoIcon\",\n successIcon: \"successIcon\",\n cautionIcon: \"cautionIcon\",\n warningIcon: \"warningIcon\"\n }\n};\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n wrap: {\n position: \"relative\",\n display: \"block\",\n width: \"1.5em\",\n height: \"1.5em\",\n minWidth: 20,\n\n \"&::after\": {\n content: '\"\"',\n position: \"absolute\",\n zIndex: 1,\n top: \"-.4rem\",\n bottom: \"-.4rem\",\n left: \"-.4rem\",\n right: \"-.4rem\",\n borderRadius: \"50%\",\n backgroundColor: theme.buttonStyles.disabled\n }\n },\n infoWrap: {\n \"&::after\": {\n backgroundColor: theme.palette.info.main\n }\n },\n successWrap: {\n \"&::after\": {\n backgroundColor: theme.palette.success.main\n }\n },\n cautionWrap: {\n \"&::after\": {\n backgroundColor: theme.palette.caution.main\n }\n },\n warningWrap: {\n \"&::after\": {\n backgroundColor: theme.palette.error.main\n }\n },\n icon: {\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n fill: theme.palette.primary.light,\n color: theme.palette.common.white,\n zIndex: 2\n },\n infoIcon: {\n fill: theme.palette.info.border\n },\n successIcon: {\n fill: theme.palette.success.border\n },\n cautionIcon: {\n fill: theme.palette.caution.border\n },\n warningIcon: {\n fill: theme.palette.error.border\n }\n});\n\nexport default withStyles(styles, { name: \"NotificationIcon\" })(\n NotificationIcon\n);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport compose from \"recompose/compose\";\nimport classnames from \"classnames\";\n\nimport SnackbarContent from \"@material-ui/core/SnackbarContent\";\nimport Snackbar from \"@material-ui/core/Snackbar\";\nimport IconButton from \"@material-ui/core/IconButton\";\nimport CloseIcon from \"@material-ui/icons/Close\";\nimport Button from \"@material-ui/core/Button\";\nimport { withStyles } from \"@material-ui/core/styles\";\n\nimport {\n hideNotification,\n getNotification,\n translate,\n undo,\n complete\n} from \"react-admin\";\n\nimport NotificationIcon from \"./NotificationIcon\";\n\nconst formatGraphQL = ({ graphQLErrors: errors }) => {\n if (!errors) {\n return false;\n }\n\n return {\n message: \"errors.graphQL\",\n list: errors.map(({ message }) => message),\n messageArgs: {}\n };\n};\n\nconst formatMessage = ({ messageArgs, message, ...props }) => {\n const { list, translate, ...args } = messageArgs || {};\n\n // This isn't the best, but Apollo Client returns a hard-coded `GraphQL error: ` string.\n // https://github.com/apollographql/apollo-client/blob/v2.6.8/packages/apollo-client/src/errors/ApolloError.ts#L20\n return {\n ...props,\n message: message.replace(\"GraphQL error:\", \"Error:\"),\n messageArgs: args,\n list: list && list.map(error => error)\n };\n};\n\nexport const NoficationMessage = ({ classes, notification, translate }) => {\n if (!notification) {\n return <>;\n }\n\n const { message, messageArgs, list } =\n formatGraphQL(notification) || formatMessage(notification);\n\n return (\n
\n

\n {translate(message, messageArgs)}\n

\n {list && (\n
    \n {list.map((error, idx) => (\n
  • \n {!messageArgs.skipTranslate && translate(error)}\n {!!messageArgs.skipTranslate && error}\n
  • \n ))}\n
\n )}\n
\n );\n};\n\nNoficationMessage.defaultProps = {\n classes: {\n messageBox: \"messageBox\",\n messageTitle: \"messageTitle\"\n }\n};\n\nexport const NoficationContent = ({\n classes,\n notification,\n translate,\n undo\n}) => (\n <>\n \n \n {notification.undoable && (\n \n {translate(\"ra.action.undo\")}\n \n )}\n \n);\n\nNoficationContent.defaultProps = {\n classes: {\n undo: \"undo\"\n }\n};\n\nexport const NotificationBox = ({\n className,\n classes,\n type,\n message,\n translate,\n ...props\n}) => {\n const { hideNotification, complete, undo, ...safe } = props;\n\n return (\n \n }\n {...safe}\n />\n );\n};\n\nNotificationBox.defaultProps = {\n notification: {},\n classes: {\n close: \"close\",\n undo: \"undo\",\n closeIcon: \"closeIcon\",\n messageBox: \"messageBox\",\n messageTitle: \"messageTitle\",\n info: \"info\",\n success: \"success\",\n caution: \"caution\",\n warning: \"warning\"\n }\n};\n\nexport class NotificationBar extends React.Component {\n state = {\n open: false\n };\n\n componentWillMount = () => {\n this.setOpenState(this.props);\n };\n\n componentWillReceiveProps = nextProps => {\n this.setOpenState(nextProps);\n };\n\n setOpenState = ({ notification }) => {\n this.setState({\n open: !!notification\n });\n };\n\n handleRequestClose = () => {\n this.setState({\n open: false\n });\n };\n\n handleExited = () => {\n const { notification, hideNotification, complete } = this.props;\n if (notification && notification.undoable) {\n complete();\n }\n hideNotification();\n };\n\n render() {\n const { classes, className, translate, notification, ...rest } = this.props;\n const { hideNotification, complete, undo, ...safe } = rest;\n const contentProps = { classes, translate, notification };\n\n if (!notification) {\n return <>;\n }\n\n return (\n }\n onExited={this.handleExited}\n onClose={this.handleRequestClose}\n ContentProps={{\n className: classnames(\n classes[notification.type],\n classes.snackbar,\n className\n )\n }}\n action={[\n \n \n \n ]}\n {...safe}\n autoHideDuration={notification.type === \"error\" ? null : undefined}\n />\n );\n }\n}\n\nNotificationBar.defaultProps = {\n autoHideDuration: 5000,\n classes: {\n close: \"close\",\n undo: \"undo\",\n closeIcon: \"closeIcon\",\n messageBox: \"messageBox\",\n messageTitle: \"messageTitle\",\n info: \"info\",\n success: \"success\",\n caution: \"caution\",\n warning: \"warning\"\n }\n};\n\nexport const Notification = ({ toast, ...props }) => {\n if (!toast) {\n return ;\n }\n\n return ;\n};\n\nNotification.defaultProps = {\n toast: true\n};\n\n/* istanbul ignore next getNotification is part of react-admin core. */\nconst mapStateToProps = state => ({\n notification: getNotification(state)\n});\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n close: {\n margin: 0,\n padding: 8,\n width: \"auto\",\n height: \"auto\",\n color: theme.palette.primary.light\n },\n undo: {\n margin: 8 * -0.5,\n marginLeft: \"auto\",\n padding: 8 * 0.5,\n minHeight: 0,\n lineHeight: 1.6,\n color: theme.palette.primary.light\n },\n closeIcon: {\n width: 20,\n height: 20\n },\n messageBox: {\n paddingLeft: 20,\n lineHeight: 1.4\n },\n messageTitle: {\n fontWeight: 600,\n margin: 0,\n padding: 0\n },\n info: {\n background: theme.palette.info.light,\n borderColor: theme.palette.info.border\n },\n success: {\n background: theme.palette.success.light,\n borderColor: theme.palette.success.border\n },\n caution: {\n background: theme.palette.caution.light,\n borderColor: theme.palette.caution.border\n },\n warning: {\n background: theme.palette.error.light,\n borderColor: theme.palette.error.border\n }\n});\n\nexport const StyledNotification = withStyles(styles, { name: \"Notification\" })(\n Notification\n);\n\nexport default compose(\n translate,\n withStyles(styles, { name: \"Notification\" }),\n connect(mapStateToProps, {\n complete,\n hideNotification,\n undo\n })\n)(Notification);\n","import React from \"react\";\nimport compose from \"recompose/compose\";\n\nimport { withStyles } from \"@material-ui/core/styles\";\nimport Typography from \"@material-ui/core/Typography\";\nimport Button from \"@material-ui/core/Button\";\n\nimport { translate } from \"react-admin\";\n\nexport const PageHeader = ({\n classes,\n deleteAction,\n editAction,\n extraAction,\n title,\n translate,\n translateTitle\n}) => (\n
\n \n {(translateTitle && translate(title)) || title}\n \n {editAction && (\n \n {translate(\"ra.action.edit\")}\n \n )}\n {deleteAction && (\n \n {translate(\"ra.action.delete\")}\n \n )}\n {extraAction && React.cloneElement(extraAction)}\n
\n);\n\nPageHeader.defaultProps = {\n translateTitle: true\n};\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n root: {\n display: \"flex\",\n alignItems: \"center\",\n paddingBottom: 8 * 2.5,\n borderBottom: theme.buttonStyles.border,\n marginBottom: 8 * 3\n },\n pageTitle: {\n marginRight: 8 * 2\n },\n editButton: {\n padding: 0,\n minWidth: 8 * 10,\n minHeight: 8 * 3,\n marginRight: 8 * 2\n },\n deleteButton: {\n marginLeft: 8 * 0.5,\n textDecoration: \"underline\",\n color: theme.palette.error.dark,\n \"&:hover\": {\n color: theme.palette.error.dark,\n textDecoration: \"none\"\n }\n }\n});\n\nconst enhance = compose(withStyles(styles, { name: \"PageHeader\" }), translate);\n\nexport default enhance(PageHeader);\n","import React from \"react\";\nimport useCurrentUser from \"hooks/useCurrentUser\";\n\nconst withActiveOrg = Wrapped => props => {\n const { activeOrg, activeOrgId } = useCurrentUser();\n return ;\n};\n\nexport default withActiveOrg;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet UncheckedIcon = ({ viewBox, ...rest }) => (\n \n \n \n);\n\nUncheckedIcon = pure(UncheckedIcon);\nUncheckedIcon.muiName = \"SvgIcon\";\n\nexport default UncheckedIcon;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet CheckedIcon = ({ viewBox, ...rest }) => (\n \n \n \n \n \n \n);\n\nCheckedIcon = pure(CheckedIcon);\nCheckedIcon.muiName = \"SvgIcon\";\n\nexport default CheckedIcon;\n","import gql from \"graphql-tag\";\nimport _get from \"lodash.get\";\nimport { useQuery } from \"@apollo/react-hooks\";\n\nimport useCurrentUser from \"hooks/useCurrentUser\";\n\nconst ALL_GROUPS_QUERY = gql`\n query ALL_GROUPS_QUERY($organizationId: Int) {\n allGroups(\n sortOrder: \"ASC\"\n sortField: \"name\"\n perPage: 1000\n filter: { organizationId: $organizationId }\n ) {\n id\n name\n organizationId\n }\n }\n`;\n\nconst useGroupsList = () => {\n const { activeOrgId } = useCurrentUser();\n const { loading, error, data } = useQuery(ALL_GROUPS_QUERY, {\n variables: {\n organizationId: activeOrgId\n }\n });\n return { groupList: _get(data, \"allGroups\", []), isLoading: loading, error };\n};\n\nexport default useGroupsList;\n","import React from \"react\";\nimport clsx from \"clsx\";\nimport { addField } from \"ra-core\";\n\nimport Checkbox from \"@material-ui/core/Checkbox\";\nimport X from \"@material-ui/icons/Clear\";\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport { SelectArrayInput } from \"react-admin\";\n\nimport UncheckedIcon from \"ui/icons/UncheckedIcon\";\nimport CheckedIcon from \"ui/icons/CheckedIcon\";\nimport Loading from \"ui/Loading\";\n\nimport useGroupsList from \"hooks/useGroupsList\";\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const MenuOption = ({ record, value }) => {\n const classes = useStyles();\n const { name, id } = record || {};\n const selected = Array.isArray(value) ? value : [];\n\n return (\n <>\n }\n icon={}\n checked={selected.indexOf(id) > -1}\n />\n {name}\n \n );\n};\n\nexport const GroupMembershipInput = ({\n formData,\n disabled,\n input,\n record,\n ...props\n}) => {\n const classes = useStyles();\n const { translate } = useTranslate();\n const { groupList, isLoading } = useGroupsList();\n const { organizationId } = formData || {};\n const choices = organizationId\n ? groupList.filter(group => group.organizationId === organizationId)\n : groupList;\n\n if (isLoading) {\n return (\n \n );\n }\n\n if (!choices || choices.length < 1) {\n return <>;\n }\n\n const SelectedItems = selectedIds => {\n const chips = choices.filter(group => selectedIds.includes(group.id));\n return (\n
\n {chips.map((group, idx) => (\n \n {group.name}\n {disabled && idx < chips.length - 1 && \",\"}\n {!disabled && }\n
\n ))}\n
\n );\n };\n\n return (\n }\n meta={{ helperText: translate(\"resources.users.fields.groupIdsHelp\") }}\n input={input}\n options={{\n renderValue: SelectedItems,\n autoWidth: false,\n classes: {\n select: classes.select\n },\n MenuProps: {\n anchorOrigin: {\n vertical: \"top\",\n horizontal: \"left\"\n },\n transformOrigin: {\n vertical: \"top\",\n horizontal: \"left\"\n },\n getContentAnchorEl: null,\n PopoverClasses: {\n paper: classes.dropdown\n }\n }\n }}\n choices={choices}\n disabled={disabled}\n {...props}\n />\n );\n};\n\nconst useStyles = makeStyles(theme => ({\n chips: {\n margin: \"-4px -2px\"\n },\n chip: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n backgroundColor: \"#DFE3E8\",\n color: theme.palette.text.primary,\n padding: 4,\n borderRadius: 3,\n margin: 4,\n outline: \"none\",\n pointerEvents: \"none\"\n },\n chipDisabled: {\n color: theme.palette.text.disabled,\n border: \"none\",\n backgroundColor: \"transparent\"\n },\n chipIcon: {\n marginLeft: 8,\n color: theme.palette.text.light,\n\n \"$chipDisabled &\": {\n display: \"none\"\n }\n },\n checkBox: {\n width: 16,\n height: 16,\n marginRight: 8\n },\n uncheckedIcon: {\n boxShadow: \"0 1px 0 0 rgba(22,29,37,0.05)\",\n color: \"#DAE1E7\",\n height: 16,\n wdith: 16\n },\n checkedIcon: {\n boxShadow:\n \"0 1px 1px 0 rgba(97,121,133,0.05), 0 1px 1px 0 rgba(64,82,88,0.03)\",\n color: theme.palette.secondary.main,\n height: 16,\n wdith: 16\n },\n dropdown: {\n ...theme.dropDown\n },\n select: {\n whiteSpace: \"normal\",\n minHeight: 37,\n padding: 4\n }\n}));\n\nexport default addField(GroupMembershipInput);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { DateField } from \"react-admin\";\nimport { translate } from \"ra-core\";\n\nexport const LastActive = ({ translate, record = {}, source, className }) => {\n const { lastActive = false } = record;\n\n if (!lastActive || !Number.isInteger(lastActive)) {\n return {translate(\"ui.inactive\")};\n }\n\n return (\n \n );\n};\n\nLastActive.propTypes = {\n translate: PropTypes.func,\n record: PropTypes.object,\n source: PropTypes.string\n};\n\nexport default translate(LastActive);\n","import React from \"react\";\n\nimport { SelectInput } from \"react-admin\";\nimport TextField from \"@material-ui/core/TextField\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\n\nimport { Loading } from \"ui\";\nimport useOrgList from \"hooks/useOrgList\";\nimport { Menu } from \"@material-ui/core\";\n\nexport const OrgSelectField = ({ disabled, excludeIds, ...props }) => {\n const { orgList, loading } = useOrgList({ includeAll: false });\n\n if (loading) {\n return ;\n }\n\n return (\n !o.parentOrganization && !excludeIds.includes(o.id)\n )}\n disabled={orgList.length < 2 ? true : disabled}\n {...props}\n />\n );\n};\n\nOrgSelectField.defaultProps = {\n excludeIds: []\n};\n\nexport default OrgSelectField;\n\nexport const OrgSelect = ({ excludeIds, defaultValue, ...props }) => {\n const { orgList, loading } = useOrgList({ includeAll: false });\n\n if (loading) {\n return ;\n }\n\n const choices = orgList.filter(\n o => !o.parentOrganization && !excludeIds.includes(o.id)\n );\n\n return (\n \n {choices.map(({ id, name }) => (\n \n {name}\n \n ))}\n \n );\n};\n\nOrgSelect.defaultProps = {\n excludeIds: []\n};\n","import React from \"react\";\nimport compose from \"recompose/compose\";\nimport { connect } from \"react-redux\";\nimport { reset } from \"redux-form\";\n\nimport { withStyles } from \"@material-ui/core/styles\";\nimport Button from \"@material-ui/core/Button\";\n\nimport { translate, SaveButton, REDUX_FORM_NAME } from \"react-admin\";\n\nexport const FormActions = ({\n beforeSubmit,\n classes,\n onCancel,\n form,\n handleSubmit,\n invalid,\n record,\n reset,\n save,\n savePage,\n saving,\n saveText,\n translate\n}) => {\n const onSubmit = redirect => {\n return handleSubmit(values => {\n if (typeof beforeSubmit === \"function\") {\n beforeSubmit();\n }\n\n if (savePage) {\n return savePage({ values, record });\n }\n\n return save(values, redirect);\n });\n };\n\n return (\n <>\n {\n if (form) {\n reset(form);\n }\n if (typeof onCancel === \"function\") {\n onCancel();\n }\n }}\n className={classes.cancel}\n >\n {translate(`ra.action.cancel`)}\n \n \n \n );\n};\n\nFormActions.defaultProps = {\n saveText: \"ra.action.save\",\n form: REDUX_FORM_NAME,\n classes: {\n userToolbar: \"userToolbar\",\n cancel: \"cancel\",\n submit: \"submit\",\n submitIcon: \"submitIcon\"\n }\n};\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n userToolbar: {\n display: \"block\",\n overflow: \"hidden\",\n minHeight: 0\n },\n cancel: {},\n submit: {\n marginLeft: 8\n },\n submitIcon: {\n display: \"none\"\n }\n});\n\nconst enhance = compose(\n connect(null, { reset }),\n translate,\n withStyles(styles, { name: \"FormActions\" })\n);\n\nexport default enhance(FormActions);\n","import React from \"react\";\nimport compose from \"recompose/compose\";\n\nimport { withStyles } from \"@material-ui/core/styles\";\n\nexport const FormActionsBar = ({\n ExtraActions,\n StandardActions,\n classes,\n ...props\n}) => {\n if (!StandardActions && !ExtraActions) {\n return <>;\n }\n return (\n
\n
\n {ExtraActions && (\n
\n \n
\n )}\n {StandardActions && (\n
\n \n
\n )}\n
\n
\n );\n};\n\nFormActionsBar.defaultProps = {\n classes: {\n root: \"root\",\n actionsBox: \"actionsBox\",\n actionsExtraBox: \"actionsExtraBox\",\n actionsStandardBox: \"actionsStandardBox\"\n }\n};\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n root: {\n display: \"flex\",\n justifyContent: \"flex-end\",\n marginTop: 8 * 3,\n maxWidth: 960 + 290 + 8\n },\n actionsBox: {\n display: \"flex\",\n width: \"100%\",\n justifyContent: \"space-between\",\n maxWidth: `calc(100% - ${theme.typography.pxToRem(290 + 8)})`,\n paddingRight: 8 * 2.5,\n paddingLeft: 8 * 2.5\n },\n actionsExtraBox: {\n marginRight: \"auto\"\n },\n actionsStandardBox: {\n marginLeft: \"auto\"\n }\n});\n\nconst enhance = compose(withStyles(styles, { name: \"FormActionsBar\" }));\n\nexport default enhance(FormActionsBar);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport compose from \"recompose/compose\";\nimport { reduxForm } from \"redux-form\";\n\nimport { withStyles } from \"@material-ui/core/styles\";\n\nimport { getDefaultValues, translate, REDUX_FORM_NAME } from \"react-admin\";\nimport FormActions from \"./FormActions\";\nimport FormActionsBar from \"./FormActionsBar\";\n\nexport const Form = props => {\n const { actionProps, classes, actionsBarClasses, children, ...rest } = props;\n const childProps = {\n editing: props.editing,\n basePath: props.basePath,\n input: props.input,\n record: props.record,\n resource: props.resource,\n className: classes.formField\n };\n\n const formChildren = React.Children.map(children, child =>\n React.cloneElement(child, { ...childProps, ...child.props })\n );\n\n return (\n
\n
{formChildren}
\n \n \n );\n};\n\nForm.defaultProps = {\n StandardActions: FormActions,\n classes: {\n root: \"root\",\n content: \"content\",\n formField: \"formField\"\n }\n};\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n root: {\n fontFamily: theme.typography.fontFamily\n },\n content: {},\n formField: {}\n});\n\nexport const mapStateToProps = (state, props) => ({\n form: props.form || REDUX_FORM_NAME,\n initialValues: getDefaultValues(state, props),\n saving: props.saving || state.admin.saving\n});\n\nconst enhance = compose(\n connect(mapStateToProps),\n translate, // Must be before reduxForm so that it can be used in validation\n reduxForm({\n destroyOnUnmount: true,\n enableReinitialize: true,\n keepDirtyOnReinitialize: true\n }),\n withStyles(styles, { name: \"Form\" })\n);\n\nexport default enhance(Form);\n","import React from \"react\";\nimport classnames from \"classnames\";\nimport { withStyles } from \"@material-ui/core/styles\";\n\nexport const Fieldbox = ({ classes, className, ...props }) => (\n
\n {props.children}\n
\n);\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n root: {\n display: \"flex\",\n flexWrap: \"wrap\",\n background: theme.palette.common.white,\n padding: 8 * 1.5,\n borderRadius: 3,\n boxShadow: \"0 0 0 1px rgba(63,63,68,0.05), 0 1px 3px 0 rgba(63,63,68,0.15)\"\n }\n});\n\nexport default withStyles(styles, { name: \"Fieldbox\" })(Fieldbox);\n","import React from \"react\";\nimport compose from \"recompose/compose\";\n\nimport { withStyles } from \"@material-ui/core/styles\";\nimport Paper from \"@material-ui/core/Paper\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport { translate } from \"react-admin\";\n\nexport const FormMetaField = ({ classes, title, children, translate }) => (\n \n {title && (\n {translate(title)}\n )}\n {children}\n \n);\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n root: {\n padding: 0,\n margin: 0,\n background: \"transparent\"\n },\n heading: {}\n});\n\nconst enhance = compose(\n translate,\n withStyles(styles, { name: \"FormMetaField\" })\n);\n\nexport default enhance(FormMetaField);\n","import React, { cloneElement } from \"react\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Paper from \"@material-ui/core/Paper\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport FormFieldbox from \"ui/form/FormFieldbox\";\nimport useTranslate from \"hooks/useTranslate\";\n\nconst useStyles = makeStyles({\n root: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n marginTop: 24,\n marginBottom: 24\n },\n title: {\n marginTop: 0\n },\n meta: {\n width: 290 + 30,\n paddingRight: 30,\n background: \"transparent\"\n },\n desc: {\n marginTop: 12\n },\n content: {\n width: `calc(100% - ${290 + 30}px)`,\n maxWidth: 960\n }\n});\n\nexport const MetaBox = ({ title, desc, MetaContent }) => {\n const { translate } = useTranslate();\n const classes = useStyles();\n\n return (\n \n {title && (\n \n {translate(title)}\n \n )}\n {desc && (\n \n {translate(desc)}\n \n )}\n {MetaContent && cloneElement(MetaContent)}\n \n );\n};\n\nexport const FormRow = ({ children, fieldBox, ...props }) => {\n const classes = useStyles();\n\n return (\n
\n \n
\n {!!children && fieldBox && {children}}\n {!fieldBox && children}\n
\n
\n );\n};\n\nFormRow.defaultProps = {\n fieldBox: true\n};\n\nexport default FormRow;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet ArrowDropDown = ({ viewBox, ...rest }) => (\n \n \n \n);\n\nArrowDropDown = pure(ArrowDropDown);\nArrowDropDown.muiName = \"SvgIcon\";\n\nexport default ArrowDropDown;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet DragNDropIcon = ({ viewBox, color, ...rest }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nDragNDropIcon.defaultProps = {\n color: \"currentColor\"\n};\n\nDragNDropIcon = pure(DragNDropIcon);\nDragNDropIcon.muiName = \"SvgIcon\";\n\nexport default DragNDropIcon;\n","import React from \"react\";\nimport pure from \"recompose/pure\";\nimport SvgIcon from \"@material-ui/core/SvgIcon\";\n\nlet GroupIcon = ({ viewBox, ...rest }) => (\n \n \n \n \n \n \n \n \n);\n\nGroupIcon = pure(GroupIcon);\nGroupIcon.muiName = \"SvgIcon\";\n\nexport default GroupIcon;\n","import React from \"react\";\nimport compose from \"recompose/compose\";\nimport classnames from \"classnames\";\nimport { connect } from \"react-redux\";\nimport { makeStyles, withStyles } from \"@material-ui/core/styles\";\n\nimport Typography from \"@material-ui/core/Typography\";\n\nimport Button from \"@material-ui/core/Button\";\n\nimport Dialog from \"@material-ui/core/Dialog\";\nimport DialogActions from \"@material-ui/core/DialogActions\";\nimport DialogContent from \"@material-ui/core/DialogContent\";\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\n\nimport useTranslate from \"../hooks/useTranslate\";\n\nimport { hideSystemMessageAction } from \"actions\";\n\nimport { FormatMessage, NotificationIcon } from \"ui\";\n\nexport const SystemMessageActions = ({\n classes,\n actions,\n dispatch,\n translate\n}) => (\n \n {actions.map(({ action, autoClose = true, onClick, label }, idx) => (\n {\n action && dispatch(action);\n onClick && onClick(dispatch);\n autoClose && dispatch(hideSystemMessageAction());\n }}\n variant=\"outlined\"\n color=\"inherit\"\n >\n {translate(label)}\n \n ))}\n \n);\n\nSystemMessageActions.defaultProps = {\n actions: [],\n classes: {\n actionsBox: \"actionsBox\",\n button: \"button\"\n }\n};\n\nexport const SystemMessage = ({\n actions,\n classes,\n children,\n dispatch,\n open,\n message,\n title,\n useTranslate: shouldTranslate,\n variant,\n disableBackdropClick,\n onClose,\n scroll\n}) => {\n const { translate } = useTranslate();\n\n return (\n \n \n {title && (\n \n \n {shouldTranslate === false ? title : translate(title)}\n \n \n )}\n {message && (\n \n \n \n \n \n )}\n {actions && (\n \n )}\n {!actions && children}\n \n );\n};\n\nSystemMessage.defaultProps = {\n disableBackdropClick: true,\n variant: \"warning\",\n classes: {\n root: \"root\",\n paper: \"paper\",\n icon: \"icon\",\n button: \"button\",\n actionsBox: \"actionsBox\",\n warning: \"warning\",\n caution: \"caution\"\n }\n};\n\n/* istanbul ignore next Style Block is covered by Material-UI. */\nconst styles = theme => ({\n paper: {\n position: \"relative\",\n borderTop: \"3px solid\",\n color: theme.palette.text.primary\n },\n icon: {\n \"$paper &\": {\n position: \"absolute\",\n top: 8 * 2,\n left: 8 * 2\n }\n },\n button: {\n minWidth: 145,\n marginRight: 8 * 2,\n\n \"$caution &:hover\": {\n color: theme.palette.caution.dark\n },\n \"$warning &:hover\": {\n color: theme.palette.error.dark\n }\n },\n actionsBox: {\n justifyContent: \"center\",\n paddingLeft: 0,\n paddingRight: 0\n },\n warning: {\n \"&$paper\": {\n borderColor: theme.palette.error.border,\n background: theme.palette.error.light,\n overflow: \"visible\"\n }\n },\n caution: {\n \"&$paper\": {\n borderColor: theme.palette.caution.border,\n background: theme.palette.caution.light,\n overflow: \"visible\"\n }\n }\n});\n\nexport const useSystemMessageStyles = makeStyles({\n button: {\n minWidth: 145,\n marginRight: 16,\n background: \"transparent\"\n }\n});\n\nexport const StyledSystemMessage = withStyles(styles, {\n name: \"SystemMessage\"\n})(SystemMessage);\n\nexport const mapStateToProps = ({ systemMessage }) => systemMessage;\n\nconst ehance = compose(\n withStyles(styles, { name: \"SystemMessage\" }),\n connect(mapStateToProps)\n);\n\nexport default ehance(SystemMessage);\n","export const SHOW_SYSTEM_MESSAGE = \"SHOW_SYSTEM_MESSAGE\";\nexport const HIDE_SYSTEM_MESSAGE = \"HIDE_SYSTEM_MESSAGE\";\n\nexport const showSystemMessageAction = payload => ({\n type: SHOW_SYSTEM_MESSAGE,\n payload\n});\n\nexport const hideSystemMessageAction = () => ({\n type: HIDE_SYSTEM_MESSAGE\n});\n\nexport const confirmAction = ({\n message,\n items,\n onConfirm,\n onClickConfirm,\n confirmLabel,\n onCancel,\n onClickCancel,\n cancelLabel,\n useTranslate,\n variant\n}) => {\n return {\n type: SHOW_SYSTEM_MESSAGE,\n payload: {\n title: message || \"ra.message.are_you_sure\",\n message: items,\n variant: variant || \"caution\",\n actions: [\n {\n onClick: onClickConfirm,\n action: onConfirm,\n label: confirmLabel || \"ra.boolean.true\"\n },\n {\n onClick: onClickCancel,\n action: onCancel,\n label: cancelLabel || \"ra.boolean.false\"\n }\n ],\n useTranslate\n }\n };\n};\n","import { makeStyles } from \"@material-ui/core/styles\";\n\nconst useFormStyles = makeStyles(theme => ({\n fieldRoot: {\n lineHeight: \"1.43\",\n padding: 8\n },\n fieldValue: {\n display: \"block\",\n color: theme.palette.text.light,\n padding: 8 * 1.75,\n paddingTop: 8,\n paddingBottom: 0\n },\n fullField: {\n width: `100%`\n },\n halfField: {\n display: \"inline-flex\",\n width: `50%`\n },\n primaryBlock: {\n position: \"relative\",\n borderTop: `2px solid ${theme.palette.secondary.main}`,\n paddingTop: \"2em\"\n },\n primaryLabel: {\n position: \"absolute\",\n top: 8,\n left: 20\n },\n dangerText: {\n color: theme.palette.error.dark,\n textDecoration: \"underline\",\n \"&:hover\": {\n textDecoration: \"none\",\n color: theme.palette.error.dark\n }\n },\n dangerBtn: {\n backgroundColor: theme.palette.error.light,\n border: `1px solid ${theme.palette.error.border}`,\n\n \"&:hover\": {\n color: \"inherit\",\n backgroundColor: theme.palette.error.light,\n textDecoration: \"underline\"\n }\n }\n}));\n\nexport default useFormStyles;\n\nexport const usePopupStyles = makeStyles(theme => ({\n popupText: {\n width: \"100%\",\n display: \"flex\",\n justifyContent: \"flex-end\"\n },\n confirmRemoveText: {\n marginBottom: theme.spacing.unit * 2\n }\n}));\n","import React, { useState } from \"react\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\n\nimport Button from \"@material-ui/core/Button\";\nimport DialogActions from \"@material-ui/core/DialogActions\";\n\nimport { StyledSystemMessage as SystemMessage } from \"systemMessage/SystemMessage\";\n\nimport useTranslate from \"hooks/useTranslate\";\nimport useFormStyles from \"hooks/useFormStyles\";\n\nconst useStyles = makeStyles(theme => ({\n actionsBox: {\n justifyContent: \"center\",\n padding: 12,\n\n \"& button\": {\n minWidth: 145,\n margin: \"0 8px\"\n }\n }\n}));\n\nexport const DeleteButton = ({ onDelete, ...props }) => {\n const [confirm, setConfirm] = useState(false);\n const { dangerText } = useFormStyles();\n const styles = useStyles();\n const classes = { ...styles, dangerText };\n const onClose = () => setConfirm(false);\n const { translate } = useTranslate();\n\n return (\n <>\n setConfirm(true)}\n {...props}\n >\n {translate(\"ra.action.delete\")}\n \n \n \n \n {translate(\"ra.action.confirm\")}\n \n \n {translate(\"ra.action.cancel\")}\n \n \n \n \n );\n};\n\nexport default DeleteButton;\n","import useTranslate from \"./useTranslate\";\nimport { useFormContext } from \"react-hook-form\";\nimport _get from \"lodash.get\";\n\nconst EMAIL_REGEX = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\n// This is based on the `validate` property in\n// https://react-hook-form.com/api#register\n\nconst isFutureDate = value => {\n const today = new Date().setUTCHours(0, 0, 0, 0);\n const testDate = new Date(value).setUTCHours(0, 0, 0, 0);\n return !isNaN(testDate) && testDate >= today;\n};\n\nconst futureDate = date => isFutureDate(date);\n\nconst positive = value => parseInt(value, 10) > 0;\n\nconst useFormValidation = () => {\n const { errors } = useFormContext();\n const { translate } = useTranslate();\n\n const messages = {\n futureDate: translate(\"validation.futureDate\"),\n positive: translate(\"validation.positive\")\n };\n\n const required = {\n value: true,\n message: translate(\"validation.required\")\n };\n\n const maxLength = value => ({\n value,\n message: translate(\"validation.maxLength\", { max: value })\n });\n\n const email = {\n value: EMAIL_REGEX,\n message: translate(\"validation.email\")\n };\n\n const fieldErrors = fieldName => {\n const fieldError = _get(errors, fieldName, false);\n if (!errors || !fieldError) {\n return {};\n }\n\n return {\n error: true,\n helperText: messages[fieldError.type] || fieldError.message || \"\"\n };\n };\n\n return {\n email,\n futureDate,\n required,\n maxLength,\n positive,\n fieldErrors\n };\n};\n\nexport default useFormValidation;\n","import React from \"react\";\nimport { useFormContext, Controller } from \"react-hook-form\";\n\nimport Autocomplete from \"@material-ui/lab/Autocomplete\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\n\nconst AutoCompleteInput = ({\n defaultValue,\n name,\n validate,\n renderInput,\n formatValue,\n ...props\n}) => {\n const { control } = useFormContext();\n const { fieldErrors } = useFormValidation();\n const { required } = validate || {};\n\n return (\n (\n onChange(newValue)}\n value={value || null}\n renderInput={params =>\n renderInput({ ...params, ...fieldErrors(name) })\n }\n required={!!required}\n {...props}\n />\n )}\n name={name}\n rules={validate}\n control={control}\n defaultValue={defaultValue}\n />\n );\n};\n\nexport default AutoCompleteInput;\n","import React from \"react\";\nimport countryCodes from \"i18n/countryCodes\";\nimport _get from \"lodash.get\";\n\nimport TextField from \"@material-ui/core/TextField\";\n\nimport AutocompleteInput from \"ui/AutocompleteInput\";\n\nconst countryList = countryCodes.map(option => ({\n code: option[\"alpha-2\"],\n label: option.name\n}));\n\nexport const USA = countryList.find(country => country.code === \"US\");\n\nconst CountryCodeInput = ({\n className,\n defaultValue,\n label,\n validate,\n ...props\n}) => (\n _get(option, \"label\")}\n renderOption={option => {_get(option, \"label\")}}\n renderInput={params => (\n \n )}\n defaultValue={\n countryList.find(country => country.code === defaultValue) || USA\n }\n {...props}\n />\n);\n\nCountryCodeInput.defaultProps = {\n options: countryList\n};\n\nexport default CountryCodeInput;\n","import React from \"react\";\nimport useFromStyles from \"hooks/useFormStyles\";\n\nexport const FieldDisplay = ({ label, value, children }) => {\n const classes = useFromStyles();\n\n return (\n
\n {label}\n {value && {value}}\n {!!children && {children}}\n
\n );\n};\n\nexport default FieldDisplay;\n","import React from \"react\";\nimport { useFormContext } from \"react-hook-form\";\n\nimport TextField from \"@material-ui/core/TextField\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\n\nconst TextInput = ({ name, validate, ...props }) => {\n const { errors, register } = useFormContext();\n const { fieldErrors } = useFormValidation(errors);\n\n const { required } = validate || {};\n\n return (\n \n );\n};\n\nexport default TextInput;\n","import React from \"react\";\n\nimport FieldDisplay from \"ui/FieldDisplay\";\nimport TextInput from \"ui/TextInput\";\n\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nexport const ImageFieldDisplay = ({ image, label }) => {\n const classes = useStylesUtil();\n return (\n \n {image ? (\n \n ) : (\n \"-\"\n )}\n \n );\n};\n\nconst ImageInput = ({ editing, label, image, ...props }) => {\n const ImageDisplay = ;\n\n if (!editing) {\n return ImageDisplay;\n }\n\n return (\n <>\n {!!image ? ImageDisplay : null}\n \n \n );\n};\n\nexport default ImageInput;\n","import React from \"react\";\nimport { useFormContext, Controller } from \"react-hook-form\";\n\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport TextField from \"@material-ui/core/TextField\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\n\nconst safeValue = value => (value === undefined || value === null ? \"\" : value);\n\nconst SelectInput = ({\n defaultValue,\n name,\n label,\n validate,\n choices,\n optionText,\n optionValue,\n Select,\n ...props\n}) => {\n const { errors, control } = useFormContext();\n const { fieldErrors } = useFormValidation(errors);\n const { required } = validate || {};\n\n const MuiTextFieldSelect = ({ onChange, value }) => (\n \n {choices.map((choice, idx) => (\n \n {(optionText && optionText(choice)) || choice}\n \n ))}\n \n );\n\n const CustomSelect = ({ onChange, value }) =>\n React.cloneElement(Select, {\n onChange,\n value: safeValue(value),\n required: !!required,\n label,\n ...fieldErrors(name),\n ...props\n });\n\n return (\n \n );\n};\n\nSelectInput.defaultProps = {\n choices: []\n};\n\nexport default SelectInput;\n","import React from \"react\";\nimport _get from \"lodash.get\";\n\nimport CountryCodeInput from \"ui/CountryCodeInput\";\nimport ImageInput from \"ui/ImageInput\";\nimport { OrgSelect } from \"ui/fields/OrgSelectField\";\nimport SelectInput from \"ui/SelectInput\";\nimport TextInput from \"ui/TextInput\";\n\nimport FormRow from \"ui/form/FormRow\";\nimport OrgTypeSelector, { getOrgTypeId } from \"ui/fields/OrgTypeSelector\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\nimport useFormStyles from \"hooks/useFormStyles\";\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const OrganizationFields = ({ organization }) => {\n const { maxLength, required } = useFormValidation();\n const classes = useFormStyles();\n\n const {\n name,\n address1,\n address2,\n countryCode,\n city,\n postalCode,\n administrativeArea,\n organizationType,\n logoPath\n } = organization || {};\n\n return (\n <>\n \n \n \n \n \n
\n \n
\n \n \n }\n defaultValue={_get(organization, \"parentOrganization.id\")}\n />\n }\n defaultValue={getOrgTypeId(organizationType)}\n />\n \n \n );\n};\n\nexport default OrganizationFields;\n\nexport const OrganizationFormMeta = props => {\n const { translate } = useTranslate();\n\n return (\n \n );\n};\n","import React from \"react\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Button from \"@material-ui/core/Button\";\nimport HotTub from \"@material-ui/icons/HotTub\";\n\nimport useTranslate from \"hooks/useTranslate\";\n\nconst useStyles = makeStyles({\n container: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n height: \"100%\"\n },\n icon: {\n width: \"9em\",\n height: \"9em\"\n },\n message: {\n textAlign: \"center\",\n fontFamily: \"Roboto, sans-serif\",\n opacity: 0.5,\n margin: \"0 1em\"\n },\n toolbar: {\n textAlign: \"center\",\n marginTop: \"2em\"\n }\n});\n\n/* istanbul ignore next default browser behavior. */\nconst goBack = () => {\n typeof window !== \"undefined\" && window.history.go(-1);\n};\n\nconst NotFound = () => {\n const classes = useStyles();\n const { translate } = useTranslate();\n\n return (\n
\n
\n \n

{translate(\"ra.page.not_found\")}

\n
{translate(\"ra.message.not_found\")}.
\n
\n
\n \n
\n
\n );\n};\n\nexport default NotFound;\n","import React, { useState } from \"react\";\nimport _get from \"lodash.get\";\nimport clsx from \"clsx\";\nimport { useForm, FormProvider } from \"react-hook-form\";\nimport countryCodes from \"i18n/countryCodes\";\n\nimport Button from \"@material-ui/core/Button\";\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\nimport Paper from \"@material-ui/core/Paper\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport DeleteButton from \"ui/buttons/DeleteButton\";\nimport OrganizationFields from \"./OrganizationFields\";\nimport NotFound from \"ui/NotFound\";\n\nimport { ImageFieldDisplay } from \"ui/ImageInput\";\nimport FieldDisplay from \"ui/FieldDisplay\";\nimport FormRow from \"ui/form/FormRow\";\n\nimport usePermissions from \"hooks/usePermissions\";\nimport useTranslate from \"hooks/useTranslate\";\nimport useStylesUtil from \"hooks/useStylesUtil\";\nimport { useDeleteOrg, useUpdateOrg, useGetOrg } from \"hooks/useOrgQueries\";\n\nexport const OrganizationAddress = ({\n address1,\n address2,\n city,\n administrativeArea: state,\n postalCode,\n countryCode\n}) => {\n const country = countryCodes.find(({ \"alpha-2\": code }) => {\n return countryCode && code === countryCode;\n });\n return (\n <>\n {address1}\n {address1 &&
}\n {address2}\n {address2 &&
}\n {city} {state} {postalCode}\n {(city || state || postalCode) &&
}\n {country && country.name}\n \n );\n};\n\nexport const OrganizationView = ({\n id,\n name,\n parentOrganization,\n logoPath,\n ...address\n}) => {\n const { translate } = useTranslate();\n\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const OrganizationEditForm = ({ organization, onCancel }) => {\n const classes = useStylesUtil();\n const { translate } = useTranslate();\n const formMethods = useForm();\n const [updateOrganization] = useUpdateOrg({\n onCompleted: onCancel\n });\n\n const onSubmit = ({ countryCode, ...data }) => {\n updateOrganization({\n variables: { ...data, id: organization.id, countryCode: countryCode.code }\n });\n };\n\n return (\n \n
\n \n \n \n\n
\n {\n formMethods.reset();\n onCancel();\n }}\n variant=\"outlined\"\n >\n Cancel\n \n \n
\n \n
\n );\n};\n\nexport const DeleteOrgButton = ({ id, onCompleted }) => {\n const [deleteOrganization] = useDeleteOrg({ onCompleted });\n\n return (\n deleteOrganization({ variables: { id } })} />\n );\n};\n\nconst OrganizationEdit = ({ id, history }) => {\n const [editing, setEditing] = useState(false);\n const classes = useStylesUtil();\n const { loading, data } = useGetOrg(id);\n const { canEditOrgs } = usePermissions();\n\n if (!id || (!loading && !_get(data, \"organization.id\"))) {\n return ;\n }\n\n if (loading) {\n return ;\n }\n\n const organization = _get(data, \"organization\");\n const editMode = canEditOrgs ? editing : false;\n\n return (\n \n
\n \n {_get(organization, \"name\")}\n {canEditOrgs && (\n <>\n setEditing(true)}\n className={clsx(classes.ml4, classes.mr4)}\n >\n Edit\n \n history.push(`/organizations`)}\n />\n \n )}\n \n
\n\n {editMode && (\n setEditing(false)}\n />\n )}\n {!editMode && }\n
\n );\n};\n\nexport default OrganizationEdit;\n","import React from \"react\";\nimport clsx from \"clsx\";\nimport { palette } from \"theme/settings\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Button from \"@material-ui/core/Button\";\nimport Dialog from \"@material-ui/core/Dialog\";\nimport DialogActions from \"@material-ui/core/DialogActions\";\nimport DialogContent from \"@material-ui/core/DialogContent\";\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport NotificationIcon from \"ui/NotificationIcon\";\n\nimport useTranslate from \"../hooks/useTranslate\";\n\nconst useStyles = makeStyles({\n paper: {\n position: \"relative\",\n borderTop: \"3px solid\",\n color: palette.text.primary\n },\n icon: {\n \"$paper &\": {\n position: \"absolute\",\n top: 8 * 2,\n left: 8 * 2\n }\n },\n button: {\n minWidth: 145,\n marginRight: 8 * 2,\n\n \"$caution &:hover\": {\n color: palette.caution.dark\n },\n \"$warning &:hover\": {\n color: palette.error.dark\n }\n },\n actionsBox: {\n justifyContent: \"center\",\n paddingLeft: 0,\n paddingRight: 0\n },\n warning: {\n \"&$paper\": {\n borderColor: palette.error.border,\n background: palette.error.light,\n overflow: \"visible\"\n }\n },\n caution: {\n \"&$paper\": {\n borderColor: palette.caution.border,\n background: palette.caution.light,\n overflow: \"visible\"\n }\n }\n});\n\nexport const ConfirmDialog = ({\n cancelLabel,\n classes: extraClasses,\n confirmLabel,\n message,\n onCancel,\n onConfirm,\n title,\n variant,\n setOpen,\n isOpen,\n ...props\n}) => {\n const classes = useStyles();\n const { translate } = useTranslate();\n\n return (\n \n \n {title && (\n \n {title}\n \n )}\n {message && (\n \n {message}\n \n )}\n \n \n {cancelLabel || translate(\"ra.action.cancel\")}\n \n \n {confirmLabel || translate(\"ra.action.confirm\")}\n \n \n \n );\n};\n\nexport default ConfirmDialog;\n","import React from \"react\";\nimport { useFormContext, Controller } from \"react-hook-form\";\n\nimport { KeyboardDatePicker } from \"@material-ui/pickers\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\n\nconst DatePicker = React.forwardRef((props, ref) => (\n \n));\n\nconst DateInput = ({ defaultValue, name, label, validate, ...props }) => {\n const { control } = useFormContext();\n const { fieldErrors } = useFormValidation();\n const { required, ...rules } = validate || {};\n\n return (\n \n }\n defaultValue={defaultValue}\n />\n );\n};\n\nDateInput.defaultProps = {};\n\nexport default DateInput;\n","import { useEffect } from \"react\";\n\nimport useTranslate from \"./useTranslate\";\nimport { useFormContext } from \"react-hook-form\";\nimport _get from \"lodash.get\";\n\nimport moment from \"moment\";\n\nconst formatDate = date => new Intl.DateTimeFormat(\"en-US\").format(date);\n\nconst isDate = date => !isNaN(date.getTime());\n\n// Date values can be any one of:\n// strings, dates, or moment objects. yay. :D\nconst normalizedDateString = value => {\n if (/^[0-9]{4}-[0-9]{2}-[0-9]{2}/.test(value)) {\n return value.substr(0, 10);\n }\n\n if (moment.isMoment(value)) {\n return value.format(\"yyyy-MM-DD\");\n }\n\n if (isDate(value)) {\n return value.toISOString().substr(0, 10);\n }\n\n return undefined;\n};\n\n// Normalize to a consistent DateTime value for\n// comparison and formatting.\nconst normalizedDateTime = value => {\n const dateString = normalizedDateString(value);\n return new Date(`${dateString}T00:00:00.000-05:00`);\n};\n\nconst comparisons = {\n gt: (a, b) => a > b,\n gte: (a, b) => a >= b,\n lt: (a, b) => a < b,\n lte: (a, b) => a <= b\n};\n\nconst useLinkedDateValidation = ({ name, linked, operator }) => {\n const { getValues, watch, trigger } = useFormContext();\n const { translate } = useTranslate();\n const linkedValue = watch(linked);\n\n // Trigger a validation for the target field\n // if the linked value changes.\n useEffect(() => {\n if (linkedValue) {\n trigger(name);\n }\n }, [linkedValue, name, trigger]);\n\n const compareDates = value => {\n const linkedDate = normalizedDateTime(getValues(linked));\n const date = normalizedDateTime(value);\n\n if (!isDate(date)) {\n return translate(\"validation.invalidDate\");\n }\n\n if (!isDate(linkedDate)) {\n return translate(\"validation.inavlidDateField\", { fieldName: linked });\n }\n\n const key = Object.keys(comparisons).includes(operator) ? operator : \"gte\";\n const message = `validation.dateCompare_${key}`;\n\n return (\n comparisons[key](date, linkedDate) ||\n translate(message, { date: formatDate(linkedDate) })\n );\n };\n\n return compareDates;\n};\n\nexport default useLinkedDateValidation;\n","import React from \"react\";\n\nimport FormRow from \"ui/form/FormRow\";\nimport DateInput from \"ui/DateInput\";\n\nimport useLinkedDateValidation from \"hooks/useLinkedDateValidation\";\nimport useFormValidation from \"hooks/useFormValidation\";\nimport useFormStyles from \"hooks/useFormStyles\";\nimport useTranslate from \"hooks/useTranslate\";\n\nconst ContractActivationFields = ({ editing, activationDate }) => {\n const afterStartDate = useLinkedDateValidation({\n name: \"activationDate\",\n linked: \"startDate\",\n operator: \"gte\"\n });\n const { required } = useFormValidation();\n const classes = useFormStyles();\n const { translate } = useTranslate();\n\n return (\n \n \n \n );\n};\n\nContractActivationFields.defaultProps = {};\n\nexport default ContractActivationFields;\n","import React from \"react\";\nimport _get from \"lodash.get\";\nimport { useFormContext, Controller } from \"react-hook-form\";\n\nimport Switch from \"@material-ui/core/Switch\";\nimport FormControlLabel from \"@material-ui/core/FormControlLabel\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\n\nconst SwitchInput = ({\n defaultValue,\n offLabel,\n onLabel,\n name,\n validate,\n ...props\n}) => {\n const { errors, control } = useFormContext();\n const { fieldErrors } = useFormValidation(errors);\n\n return (\n (\n {\n const checked = !!_get(e, \"target.checked\", defaultValue);\n onChange(checked);\n if (typeof props.onChange === \"function\") {\n props.onChange(checked);\n }\n }}\n // Force boolean to prevent switching between\n // controlled and uncontrolled on \"undefined\" or \"null\" values.\n checked={!!value}\n />\n }\n label={value ? onLabel : offLabel}\n {...fieldErrors(name)}\n {...props}\n />\n )}\n control={control}\n defaultValue={defaultValue}\n />\n );\n};\n\nSwitchInput.defaultProps = {\n onLabel: \"On\",\n offLabel: \"Off\"\n};\n\nexport default SwitchInput;\n","import React from \"react\";\nimport _get from \"lodash.get\";\nimport gql from \"graphql-tag\";\nimport { useFormContext } from \"react-hook-form\";\nimport { useQuery } from \"@apollo/react-hooks\";\n\nimport InputAdornment from \"@material-ui/core/InputAdornment\";\nimport Alert from \"@material-ui/lab/Alert\";\n\nimport FormRow from \"ui/form/FormRow\";\nimport TextInput from \"ui/TextInput\";\nimport SwitchInput from \"ui/SwitchInput\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\nimport useFormStyles from \"hooks/useFormStyles\";\nimport useTranslate from \"hooks/useTranslate\";\n\nconst GET_EXPIRING_USERS = gql`\n query GetExpiringUsers($invitedBeforeDaysAgo: Int!, $contractId: Int!) {\n users: _allUsersMeta(\n filter: {\n invitedBeforeDaysAgo: $invitedBeforeDaysAgo\n contractId: $contractId\n }\n ) {\n count\n }\n }\n`;\n\nexport const ExpiringUsersWarning = ({ usersActiveForDays, contractId }) => {\n const { translate } = useTranslate();\n const invitedBeforeDaysAgo = parseInt(usersActiveForDays, 10);\n const { data } = useQuery(GET_EXPIRING_USERS, {\n skip: isNaN(usersActiveForDays) || !contractId,\n variables: { invitedBeforeDaysAgo, contractId: parseInt(contractId, 10) }\n });\n const expiringUsers = _get(data, \"users.count\", 0);\n\n if (expiringUsers < 1) {\n return null;\n }\n\n return (\n \n {translate(\"users.expirationWarning\", {\n users: translate(\"users.smartCount\", { smart_count: expiringUsers })\n })}\n \n );\n};\n\nconst ContractAutoExpireFields = ({\n editing,\n id,\n autoUsersInactive,\n usersActiveForDays\n}) => {\n const { watch, clearErrors } = useFormContext();\n const watchEnabled = watch(\"autoUsersInactive\", autoUsersInactive);\n const watchUsersActiveForDays = watch(\n \"usersActiveForDays\",\n usersActiveForDays\n );\n const { required, positive } = useFormValidation();\n const classes = useFormStyles();\n const { translate } = useTranslate();\n\n return (\n \n {editing && usersActiveForDays !== watchUsersActiveForDays && (\n \n )}\n {\n if (!checked) {\n clearErrors(\"usersActiveForDays\");\n }\n }}\n defaultValue={autoUsersInactive}\n />\n {watchEnabled && (\n \n {translate(\"days\")}\n \n )\n }}\n defaultValue={usersActiveForDays}\n />\n )}\n \n );\n};\n\nContractAutoExpireFields.defaultProps = {\n autoUsersInactive: false\n};\n\nexport default ContractAutoExpireFields;\n","import React from \"react\";\n\nimport moment from \"moment\";\n\nimport FormRow from \"ui/form/FormRow\";\nimport DateInput from \"ui/DateInput\";\nimport TextInput from \"ui/TextInput\";\nimport SelectInput from \"ui/SelectInput\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\nimport useFormStyles from \"hooks/useFormStyles\";\nimport useTranslate from \"hooks/useTranslate\";\n\nconst ContractDetailFields = ({ editing, ...contract }) => {\n const { maxLength, required } = useFormValidation();\n const classes = useFormStyles();\n const { translate } = useTranslate();\n\n const {\n invoiceNumber,\n seats,\n status,\n startDate,\n endDate,\n statusNote\n } = contract;\n\n return (\n \n \n \n translate(`ui.status.${status}`)}\n className={classes.fullField}\n defaultValue={status || \"\"}\n disabled={!editing}\n />\n \n \n \n \n );\n};\n\nContractDetailFields.defaultProps = {};\n\nexport default ContractDetailFields;\n","import React from \"react\";\nimport { useMutation } from \"@apollo/react-hooks\";\nimport _get from \"lodash.get\";\n\nimport CSVButton from \"ui/buttons/CSVButton\";\nimport { useGQLNotifications } from \"hooks/useNotification\";\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const ExportCSVButton = ({ filter, mutation, name }) => {\n const { translate } = useTranslate();\n const [exportCSV] = useMutation(mutation, {\n ...useGQLNotifications({ successMsg: translate(\"ui.exportStarted\") })\n });\n\n return (\n {\n exportCSV({ variables: { filter } });\n }}\n />\n );\n};\n\nExportCSVButton.defaultProps = {\n filter: {}\n};\n\nexport default ExportCSVButton;\n","import React from \"react\";\nimport _get from \"lodash.get\";\nimport gql from \"graphql-tag\";\nimport { useMutation } from \"@apollo/react-hooks\";\nimport { useForm } from \"react-hook-form\";\n\nimport Alert from \"@material-ui/lab/Alert\";\nimport Button from \"@material-ui/core/Button\";\nimport Dialog from \"@material-ui/core/Dialog\";\nimport DialogActions from \"@material-ui/core/DialogActions\";\nimport DialogContent from \"@material-ui/core/DialogContent\";\nimport FormRow from \"ui/form/FormRow\";\nimport TextField from \"@material-ui/core/TextField\";\n\nimport ExportCSVButton from \"ui/buttons/ExportCSVButton\";\n\nimport { useGQLNotifications } from \"hooks/useNotification\";\nimport useTranslate from \"hooks/useTranslate\";\nimport useModalOpen from \"hooks/useModalOpen\";\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nexport const CREATE_INVITABLE_EMAIL_IMPORT = gql`\n mutation CreateInvitableEmailImport($file: File!, $contractId: Int!) {\n createInvitableEmailImport(file: $file, contractId: $contractId) {\n id\n jobId\n responseMessage\n }\n }\n`;\n\nconst EXPORT_CSV = gql`\n mutation exportInvitableEmails($filter: Filter) {\n exportInvitableEmails(filter: $filter) {\n jobId\n status\n }\n }\n`;\n\nexport const InvitableEmailImportModal = ({ closeModal, contractId }) => {\n const { translate } = useTranslate();\n const [createImportJob] = useMutation(CREATE_INVITABLE_EMAIL_IMPORT, {\n ...useGQLNotifications({\n successMsg: translate(\"contracts.email_list_import_success\")\n })\n });\n const { register, getValues, trigger, errors } = useForm();\n const classes = useStylesUtil();\n const fieldError = !!_get(errors, \"allowedEmails\")\n ? translate(\"validation.required\")\n : undefined;\n\n return (\n
\n \n {translate(\"contracts.email_list_import_confirm_text\")}\n \n \n \n \n \n \n {\n const result = await trigger(\"allowedEmails\");\n if (result) {\n createImportJob({\n variables: {\n file: getValues(\"allowedEmails\")[0],\n contractId\n }\n });\n closeModal();\n }\n }}\n >\n Import\n \n \n
\n );\n};\n\nconst ContractInvitableEmailImport = ({ contractId }) => {\n const { translate } = useTranslate();\n const { isOpen, openModal, closeModal } = useModalOpen();\n\n if (!contractId) {\n return null;\n }\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default ContractInvitableEmailImport;\n","import React from \"react\";\nimport _get from \"lodash.get\";\nimport clsx from \"clsx\";\nimport gql from \"graphql-tag\";\nimport { useQuery } from \"@apollo/react-hooks\";\n\nimport Alert from \"@material-ui/lab/Alert\";\n\nimport { useGQLNotifications } from \"hooks/useNotification\";\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nconst INVITABLE_EMAILS_COUNT = gql`\n query getInvitableEmailsCount($filter: Filter) {\n emails: _allInvitableEmailsMeta(filter: $filter) {\n count\n }\n }\n`;\n\nconst ContractInvitableCount = ({ contractId }) => {\n const classes = useStylesUtil();\n const { data } = useQuery(INVITABLE_EMAILS_COUNT, {\n ...useGQLNotifications(),\n fetchPolicy: \"network-only\",\n skip: !contractId,\n variables: {\n filter: { contractId }\n }\n });\n const className = clsx(classes.m5, classes.w100);\n const count = _get(data, \"emails.count\");\n\n if (!contractId) {\n return (\n \n A list of allowed users will need to be uploaded after the contract has\n been created.\n \n );\n }\n\n if (count) {\n return (\n \n {count.toLocaleString()} email addresses are allowed.\n \n );\n }\n\n return (\n \n This contract has no allowed email addresses. Direct sign-ups will not\n work until at least one address is added.\n \n );\n};\n\nexport default ContractInvitableCount;\n","import React from \"react\";\nimport _get from \"lodash.get\";\nimport { useFormContext } from \"react-hook-form\";\n\nimport ContractInvitableEmailImport from \"./ContractInvitableEmailImport\";\nimport ContractInvitableCount from \"./ContractInvitableCount\";\n\nimport FormRow from \"ui/form/FormRow\";\nimport ImageInput from \"ui/ImageInput\";\nimport TextInput from \"ui/TextInput\";\nimport SelectInput from \"ui/SelectInput\";\nimport SwitchInput from \"ui/SwitchInput\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\nimport useFormStyles from \"hooks/useFormStyles\";\nimport useTranslate from \"hooks/useTranslate\";\n\nconst ContractInviteRequestsFields = ({\n editing,\n id,\n inviteRequestDisabledText,\n inviteRequestsEnabled,\n inviteRequestEmailsRequired,\n inviteRequestIntroText,\n inviteRequestType,\n inviteEmailFooterImagePath\n}) => {\n const { watch } = useFormContext();\n const isEnabled = watch(\"inviteRequestsEnabled\", inviteRequestsEnabled);\n const requireEmails = watch(\n \"inviteRequestEmailsRequired\",\n inviteRequestEmailsRequired\n );\n const { required } = useFormValidation();\n const classes = useFormStyles();\n const { translate } = useTranslate();\n\n return (\n <>\n \n \n\n {isEnabled && (\n <>\n {requireEmails && }\n \n translate(`inviteRequestType.${type}`)}\n label={translate(\"fields.inviteRequestType\")}\n className={classes.fullField}\n validate={{\n required\n }}\n disabled={!editing}\n defaultValue={inviteRequestType}\n />\n \n \n \n \n \n )}\n \n {isEnabled && requireEmails && (\n \n )}\n \n );\n};\n\nContractInviteRequestsFields.defaultProps = {\n inviteRequestsEnabled: false\n};\n\nexport default ContractInviteRequestsFields;\n","import React, { useState } from \"react\";\nimport gql from \"graphql-tag\";\nimport { useMutation } from \"@apollo/react-hooks\";\nimport clsx from \"clsx\";\nimport { useFormContext } from \"react-hook-form\";\n\nimport PlusCircle from \"react-feather/dist/icons/plus-circle\";\n\nimport Button from \"@material-ui/core/Button\";\nimport Popover from \"@material-ui/core/Popover\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport FormFieldBox from \"ui/form/FormFieldbox\";\nimport FormRow from \"ui/form/FormRow\";\nimport TextInput from \"ui/TextInput\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\nimport useMenuAnchor from \"hooks/useMenuAnchor\";\nimport useTranslate from \"hooks/useTranslate\";\nimport useFormStyles from \"hooks/useFormStyles\";\nimport useStylesUtil from \"hooks/useStylesUtil\";\n\nconst labelBase = \"resources.contacts.fields\";\n\nconst emptyContact = {\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phone: \"\"\n};\n\nconst DELETE_CONTACT = gql`\n mutation deleteContact($id: Int!) {\n deleteContact(id: $id) {\n id\n }\n }\n`;\n\nexport const ContactForm = ({ editing, idx, primary, ...rest }) => {\n const { register } = useFormContext();\n const { maxLength, required, email: isEmail } = useFormValidation();\n const { translate } = useTranslate();\n const { w100 } = useStylesUtil();\n const classes = useFormStyles();\n const isRequired = primary ? required : undefined;\n const { id, firstName, lastName, email, phone } = rest;\n\n return (\n
\n {id && (\n \n )}\n \n \n \n \n \n
\n );\n};\n\nexport const RemoveContact = ({ onRemove }) => {\n const { dangerBtn, dangerText } = useFormStyles();\n const { mr4, mb4, justifyContentEnd, w100, popover } = useStylesUtil();\n const { translate } = useTranslate();\n const { closeMenu, menuProps, openMenu } = useMenuAnchor();\n\n return (\n
\n \n \n \n {translate(\"resources.contacts.remove_warning\")}\n \n \n {translate(\"resources.contacts.remove_confirm\")}\n \n \n \n
\n );\n};\n\nexport const ContactBlock = ({ idx, primary, onRemove, ...props }) => {\n const { translate } = useTranslate();\n const { mb6 } = useStylesUtil();\n\n return (\n \n {primary && (\n \n {translate(\"resources.contacts.fields.primary\")}\n \n )}\n \n {props.editing && onRemove && }\n \n );\n};\n\nconst ContractPLLFields = ({ editing, contacts: saved }) => {\n const { translate } = useTranslate();\n const [deleteContact] = useMutation(DELETE_CONTACT, {\n onError: error => console.log(\"error!\", error)\n });\n const startingContacts = saved && saved.length > 0 ? saved : [emptyContact];\n const [contacts, setContacts] = useState(startingContacts);\n\n const addContact = () => {\n setContacts([...contacts, { ...emptyContact }]);\n };\n\n const removeContact = ({ id, idx }) => {\n if (id) {\n deleteContact({ variables: { id } });\n }\n setContacts([...contacts.slice(0, idx), ...contacts.slice(idx + 1)]);\n };\n\n return (\n \n {contacts.map((contact, idx) => (\n removeContact({ id: contact.id, idx }))}\n {...contact}\n editing={editing}\n />\n ))}\n {editing && (\n \n )}\n \n );\n};\n\nexport default ContractPLLFields;\n","import React from \"react\";\nimport _get from \"lodash.get\";\nimport gql from \"graphql-tag\";\nimport { useFormContext } from \"react-hook-form\";\n\nimport FormRow from \"ui/form/FormRow\";\nimport { OrgSelect } from \"ui/fields/OrgSelectField\";\nimport SelectInput from \"ui/SelectInput\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\nimport useFormStyles from \"hooks/useFormStyles\";\nimport useTranslate from \"hooks/useTranslate\";\n\nexport const GET_ORG_NAME = gql`\n query GetOrganizationName($id: Int!) {\n organization: Organization(id: $id) {\n id\n name\n }\n }\n`;\n\nconst ContractOrganization = ({ organizationId }) => {\n const { required } = useFormValidation();\n const { translate } = useTranslate();\n const classes = useFormStyles();\n\n return (\n \n \n }\n disabled={!!organizationId}\n defaultValue={organizationId || \"\"}\n />\n \n );\n};\n\nexport default ContractOrganization;\n","import _get from \"lodash.get\";\nimport gql from \"graphql-tag\";\nimport { useQuery } from \"@apollo/react-hooks\";\n\nimport { org_types } from \"ui/fields/OrgTypeSelector\";\n\nconst GET_CONTRACT_SETTINGS = gql`\n query GetContractSettings($id: Int!) {\n settings: allContracts(\n page: 1\n perPage: 1\n sortField: \"createdAt\"\n sortOrder: \"DESC\"\n filter: { organizationId: $id }\n ) {\n id\n inviteEmailIntro\n inviteEmailOutro\n talkUploads\n communityAccess\n }\n organization: Organization(id: $id) {\n id\n name\n organizationType\n }\n }\n`;\n\nconst intro = `Good news! %orgName% and TED are joining forces to provide you and your colleagues an opportunity to identify, develop, and share your best ideas in the form of short, TED-style talks.\\n\\nThis email is your exclusive invitation to enroll in TED Masterclass for Orgs.`;\n\nconst outro = `That’s it! Keep an eye out for additional information regarding this program sent by your administrators at %orgName%.`;\n\nconst emailText = (value, name) => {\n const text = typeof value === \"string\" ? value : \"\";\n return text.replaceAll(\"%orgName%\", name);\n};\n\nconst removeNull = obj =>\n Object.entries(obj).reduce(\n (filtered, [prop, value]) => ({\n ...filtered,\n ...(value !== null ? { [prop]: value } : {})\n }),\n {}\n );\n\nconst useContractDefaultSettings = ({\n organizationId,\n organizationName,\n organizationType\n}) => {\n const { data, loading, error } = useQuery(GET_CONTRACT_SETTINGS, {\n skip: !organizationId,\n variables: {\n id: organizationId\n },\n fetchPolicy: \"network-only\"\n });\n\n const type = _get(\n data,\n \"organization.organizationType\",\n org_types[organizationType]\n );\n const name = _get(data, \"organization.name\", organizationName || \"%orgName%\");\n const setings = removeNull(_get(data, \"settings[0]\", {}));\n\n return {\n data: {\n talkUploads: null,\n communityAccess: null,\n inviteEmailIntro: emailText(intro, name),\n inviteEmailOutro: emailText(outro, name),\n ...setings\n },\n loading,\n error\n };\n};\n\nexport default useContractDefaultSettings;\n","import React, { useState, useEffect } from \"react\";\nimport _get from \"lodash.get\";\nimport gql from \"graphql-tag\";\nimport { useMutation } from \"@apollo/react-hooks\";\nimport { useFormContext } from \"react-hook-form\";\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Button from \"@material-ui/core/Button\";\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\nimport Dialog from \"@material-ui/core/Dialog\";\nimport DialogContent from \"@material-ui/core/DialogContent\";\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\nimport Divider from \"@material-ui/core/Divider\";\nimport Grid from \"@material-ui/core/Grid\";\nimport IconButton from \"@material-ui/core/IconButton\";\nimport Paper from \"@material-ui/core/Paper\";\nimport Typography from \"@material-ui/core/Typography\";\n\nimport XIcon from \"react-feather/dist/icons/x\";\n\nimport FormRow from \"ui/form/FormRow\";\nimport SwitchInput from \"ui/SwitchInput\";\nimport TextInput from \"ui/TextInput\";\n\nimport useFormValidation from \"hooks/useFormValidation\";\nimport useContractDefaultSettings from \"hooks/useContractDefaultSettings\";\nimport useFormStyles from \"hooks/useFormStyles\";\nimport useTranslate from \"hooks/useTranslate\";\n\nconst CREATE_WELCOME_PREVIEW = gql`\n mutation CreateWelcomePreview($intro: String!, $outro: String!) {\n preview: createWelcomePreview(intro: $intro, outro: $outro) {\n subject\n body\n }\n }\n`;\n\nconst useStyles = makeStyles({\n divider: {\n width: \"100%\",\n marginTop: 10,\n marginBottom: 10\n },\n modalTitle: {\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n paddingLeft: 24\n }\n});\n\nexport const SettingRow = ({ title, desc, Field, children }) => (\n \n \n {title}\n \n {desc}\n \n \n \n {Field && React.cloneElement(Field)}\n \n {children}\n \n);\n\nexport const EmailPreviewButton = ({ getValues, mutation }) => {\n const classes = useStyles();\n const [show, setShow] = useState(false);\n const [createPreview, { data, loading }] = useMutation(mutation);\n const body = _get(data, \"preview.body\");\n const handleClose = () => setShow(false);\n\n return (\n <>\n {\n setShow(true);\n const {\n inviteEmailIntro: intro,\n inviteEmailOutro: outro\n } = getValues();\n createPreview({\n variables: { intro, outro }\n });\n }}\n disabled={loading}\n >\n {loading && }\n Preview Email\n \n \n \n Invitation Email Preview\n \n \n \n \n \n